/* GM5: sample-site inspired white/purple PC homepage */
.gm5-header, .gm5-app { display:none; }
@media (min-width:1025px) {
  .gm5-header, .gm5-app { font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif; color:#222941; }
  .gm5-container { width:calc(100% - 84px); max-width:1360px; margin-left:auto; margin-right:auto; box-sizing:border-box; }
  .gm5-header *, .gm5-app *, .gm5-header *::before, .gm5-header *::after, .gm5-app *::before, .gm5-app *::after { box-sizing:border-box; }
  .gm5-header a, .gm5-app a { text-decoration:none; color:inherit; }
  .gm5-header { display:block!important; background:#fff; position:relative; z-index:24; box-shadow:0 2px 11px rgba(72,65,127,.055); }
  .gm5-header ~ .header-wrap, .gm5-header ~ .menu-wrap { display:none!important; }
  .gm5-utility { background:#fcfcff; border-bottom:1px solid #eef0f6; min-height:31px; }
  .gm5-utility-row { min-height:31px; display:flex; align-items:center; justify-content:space-between; gap:15px; color:#788099; font-size:12px; }
  .gm5-utility-left, .gm5-account { display:flex; align-items:center; gap:12px; white-space:nowrap; }
  .gm5-account a:hover, .gm5-utility-left a:hover { color:#6f61ff; }
  .gm5-mainbar { background:#fff; }
  .gm5-mainbar-row { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
  .gm5-logo { display:flex; align-items:center; gap:12px; min-width:250px; }
  .gm5-logo-copy { display:flex; flex-direction:column; }
  .gm5-logo-copy strong { font-size:28px; line-height:1; letter-spacing:-1px; color:#5f5cff; font-weight:900; }
  .gm5-logo-copy small { font-size:13px; color:#6a748f; margin-top:5px; }
  .gm5-nav { display:flex; align-items:center; justify-content:center; gap:24px; flex:1; }
  .gm5-nav a { font-size:14px; font-weight:700; color:#2d3550; }
  .gm5-nav a:hover { color:#6458ff; }
  .gm5-cta { min-width:155px; padding:12px 18px; border-radius:12px; background:linear-gradient(135deg,#655cff,#6e7aff); color:#fff!important; display:flex; flex-direction:column; justify-content:center; box-shadow:0 8px 20px rgba(105,101,253,.18); }
  .gm5-cta strong { font-size:17px; line-height:1.1; font-weight:800; }
  .gm5-cta span { font-size:12px; opacity:.92; margin-top:3px; }

  .gm5-content-wrap { float:none!important; display:block!important; background:#fff!important; position:relative!important; margin:0!important; padding:0!important; clear:both!important; width:100%!important; }
  .gm5-content-wrap > .wrap { width:100%!important; max-width:none!important; }
  .gm5-content-wrap .side-wrap { display:none!important; }
  .gm5-content-wrap > .wrap > .content { border:0!important; padding:0!important; margin:0!important; width:100%!important; float:none!important; min-width:0!important; max-width:none!important; }
  .gm5-content-wrap .gm5-legacy-home { display:none!important; }
  .gm5-app { display:block!important; background:#fff; }

  .gm5-hero { padding:18px 0 0; background:linear-gradient(180deg,#f8f9ff 0%, #f6f4ff 100%); border-top:1px solid #f2f3f8; }
  .gm5-hero-inside { display:grid; grid-template-columns: 1.05fr 0.95fr; gap:18px; align-items:center; }
  .gm5-hero-copy { padding:22px 0 26px; }
  .gm5-hero-eyebrow { margin:0 0 10px; color:#4d5775; font-size:18px; font-weight:700; }
  .gm5-hero h1 { margin:0; font-size:34px; line-height:1.18; letter-spacing:-1.3px; color:#1d2237; font-weight:900; }
  .gm5-hero h1 span { color:#5f60ff; }
  .gm5-hero-desc { margin:14px 0 0; color:#66708d; font-size:16px; line-height:1.6; max-width:520px; }
  .gm5-hero-photo-wrap { position:relative; height:205px; border-radius:20px; overflow:hidden; background:linear-gradient(135deg,#f7f5ff,#f9f4ff); box-shadow:0 16px 36px rgba(117,110,180,.12); }
  .gm5-hero-photo { position:absolute; inset:0; background:url('/layouts/default/image/gm5/hero.jpg') center center/cover no-repeat; transform:scale(.93); }
  .gm5-hero-photo-wrap:after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(239,241,250,.36) 0%, rgba(255,255,255,0) 48%, rgba(0,0,0,.02) 100%); }
  .gm5-hero-script { position:absolute; right:34px; top:34px; margin:0; color:#fff; font-size:16px; line-height:1.7; z-index:2; text-align:right; text-shadow:0 2px 8px rgba(0,0,0,.22); }

  .gm5-search { margin-top:-14px; position:relative; z-index:3; display:grid; grid-template-columns:1fr 1fr 1fr 1.28fr 180px; gap:10px; align-items:stretch; padding:12px; background:#fff; border:1px solid #e8eaf4; border-radius:18px; box-shadow:0 14px 34px rgba(86,92,154,.11); }
  .gm5-search-field { position:relative; min-height:74px; display:flex; align-items:center; gap:11px; padding:12px 14px; border:1px solid #e0e5f0; border-radius:14px; background:#fff; cursor:pointer; }
  .gm5-search-field:hover, .gm5-search-field:focus-within { border-color:#9a90ff; box-shadow:0 0 0 4px rgba(111,96,255,.08); }
  .gm5-search-ico { color:#5a65ff; font-size:18px; flex-shrink:0; }
  .gm5-search-labels { min-width:0; display:flex; flex-direction:column; gap:6px; flex:1; }
  .gm5-search-labels > b { color:#29314b; font-size:14px; line-height:1.2; font-weight:800; }
  .gm5-search-labels > span { color:#6d7792; font-size:13px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .gm5-select-arrow { color:#9aa2b6; font-size:14px; }
  .gm5-native-select, .gm5-search-labels input { position:absolute; inset:0; width:100%; height:100%; border:0; background:transparent; opacity:0; cursor:pointer; }
  .gm5-keyword-box .gm5-search-labels input { opacity:1; position:static; height:22px; margin-top:0; padding:0; background:transparent; color:#6d7792; font-size:13px; outline:none; cursor:text; }
  .gm5-keyword-box .gm5-select-arrow { display:none; }
  .gm5-search-button { min-height:74px; border:0; border-radius:14px; background:linear-gradient(135deg,#5f62ff,#6a77ff); color:#fff; font-size:18px; font-weight:800; cursor:pointer; box-shadow:0 8px 18px rgba(90,101,255,.18); }

  .gm5-content { padding-top:18px; padding-bottom:34px; }
  .gm5-quickbar { display:flex; align-items:flex-start; gap:14px; margin-bottom:16px; }
  .gm5-quick-group { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
  .gm5-quick-group strong { display:flex; align-items:center; gap:6px; font-size:15px; color:#28304a; white-space:nowrap; }
  .gm5-chip-list { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
  .gm5-chip-list a { display:inline-flex; align-items:center; justify-content:center; height:30px; padding:0 12px; border-radius:999px; background:#fff; border:1px solid #e2e6ef; color:#666f87; font-size:12px; }
  .gm5-chip-list a:hover, .gm5-chip-list .gm5-chip-current { background:#6a60ff; border-color:#6a60ff; color:#fff; }
  .gm5-quick-divider { width:1px; align-self:stretch; background:#eceef5; }

  .gm5-promo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:26px; }
  .gm5-promo { min-height:92px; border-radius:16px; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; box-shadow:0 4px 14px rgba(65,74,126,.05); }
  .gm5-promo strong { display:block; font-size:17px; line-height:1.3; color:#2d3550; }
  .gm5-promo small { display:block; margin-top:5px; color:#6f7890; font-size:13px; line-height:1.45; }
  .gm5-promo-art, .gm5-promo-icon { font-size:16px; font-weight:900; color:#7650f4; white-space:nowrap; }
  .gm5-promo-icon i { font-size:32px; opacity:.72; }
  .gm5-promo-welcome { background:linear-gradient(135deg,#efe8ff,#f9efff); }
  .gm5-promo-premium { background:linear-gradient(135deg,#eef5ff,#f3f5ff); }
  .gm5-promo-nearby { background:linear-gradient(135deg,#ffeef3,#fff4f7); }
  .gm5-promo-business { background:linear-gradient(135deg,#eef4ff,#f3f7ff); }

  .gm5-section { margin-bottom:28px; }
  .gm5-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:14px; }
  .gm5-section-title { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
  .gm5-section-title h2 { margin:0; font-size:26px; line-height:1.15; color:#1f263c; font-weight:900; letter-spacing:-0.7px; }
  .gm5-section-title span { color:#8b93a8; font-size:14px; }
  .gm5-section-head > a { color:#7a8298; font-size:13px; font-weight:700; }

  .gm5-featured-grid { display:grid; grid-template-columns:repeat(5, 1fr); gap:14px; }
  .gm5-card { border:1px solid #e4e8f2; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 4px 14px rgba(58,63,96,.05); }
  .gm5-card-image { position:relative; display:block; height:170px; background:#eae7f5; overflow:hidden; }
  .gm5-card-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s; }
  .gm5-card:hover .gm5-card-image img { transform:scale(1.03); }
  .gm5-photo-placeholder { position:absolute; inset:0; display:grid; place-items:center; color:#746b87; font-size:13px; }
  .gm5-card-badge { position:absolute; left:12px; top:12px; border-radius:999px; padding:6px 10px; font-size:11px; line-height:1; font-weight:900; color:#fff; }
  .gm5-badge-gold { background:linear-gradient(135deg,#f0b336,#d78a18); }
  .gm5-badge-pink { background:linear-gradient(135deg,#ff6ea9,#ff5b88); }
  .gm5-area-float { position:absolute; right:12px; top:12px; border-radius:999px; padding:6px 10px; font-size:12px; background:rgba(255,255,255,.92); color:#484f67; font-weight:800; box-shadow:0 2px 8px rgba(30,36,62,.08); }
  .gm5-card-content { padding:14px 14px 16px; }
  .gm5-card-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .gm5-card-title { font-size:18px; line-height:1.25; color:#252c44; display:block; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .gm5-card-title a:hover { color:#5f60ff; }
  .gm5-card-area { flex-shrink:0; display:inline-flex; height:25px; align-items:center; padding:0 10px; border-radius:999px; background:#f2f4fa; color:#66718a; font-size:12px; font-weight:800; }
  .gm5-card-submeta { margin-top:10px; display:flex; flex-wrap:wrap; gap:6px; }
  .gm5-card-submeta span { display:inline-flex; align-items:center; height:26px; padding:0 9px; border-radius:999px; background:#f8f9fd; border:1px solid #edf0f7; color:#616b86; font-size:12px; }
  .gm5-card-address { margin-top:10px; color:#6e768b; font-size:13px; line-height:1.5; min-height:39px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .gm5-card-address i { color:#8a91a4; margin-right:5px; }
  .gm5-card-actions { margin-top:12px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .gm5-card-actions a { display:flex; align-items:center; justify-content:center; height:34px; border-radius:10px; font-size:12px; font-weight:800; color:#535f7c; background:#f7f8fc; border:1px solid #eaedf5; }
  .gm5-card-actions a:hover { color:#5f61ff; border-color:#d9deff; background:#f3f4ff; }

  .gm5-duo { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  .gm5-mini-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
  .gm5-small-card { border:1px solid #e5e9f3; border-radius:14px; overflow:hidden; background:#fff; display:flex!important; flex-direction:column; }
  .gm5-small-picture { position:relative; height:92px; display:block; background:#ece7f9; }
  .gm5-small-picture img { width:100%; height:100%; object-fit:cover; display:block; }
  .gm5-rank, .gm5-new { position:absolute; left:10px; top:10px; min-width:28px; height:28px; padding:0 7px; border-radius:999px; display:flex; align-items:center; justify-content:center; background:#f2b23a; color:#fff; font-size:12px; font-style:normal; font-weight:900; }
  .gm5-new { background:#7a61ff; }
  .gm5-small-card strong { padding:10px 10px 0; font-size:14px; color:#2a314a; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .gm5-small-desc { padding:5px 10px 12px; color:#7b8499; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  .gm5-lower { display:grid; grid-template-columns:1fr 1.05fr 1fr; gap:18px; }
  .gm5-list-section ul { margin:0; padding:0; list-style:none; border-top:1px solid #e9ecf5; }
  .gm5-list-section li { border-bottom:1px solid #edf1f7; }
  .gm5-list-section li a { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 4px; color:#58627d; font-size:13px; }
  .gm5-list-section li span { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .gm5-list-section li time { flex-shrink:0; color:#9da5b7; }
  .gm5-no-post { margin:0; padding:15px 4px; color:#7b849b; font-size:13px; }
  .gm5-event { min-height:174px; border-radius:18px; background:linear-gradient(135deg,#ffe5f0,#fff0f6); display:flex; align-items:center; justify-content:space-between; padding:24px; overflow:hidden; position:relative; }
  .gm5-event-text b { display:block; font-size:28px; line-height:1.2; color:#e24984; }
  .gm5-event-text strong { display:block; margin-top:10px; color:#885d74; font-size:15px; line-height:1.45; }
  .gm5-event-button { display:inline-flex; align-items:center; gap:7px; margin-top:14px; height:38px; padding:0 18px; border-radius:999px; background:#ff5f97; color:#fff; font-size:13px; font-weight:800; }
  .gm5-event-decoration { font-size:88px; color:#f5b7d3; opacity:.82; }
  .gm5-empty { padding:34px; text-align:center; border:1px dashed #dce1ee; border-radius:16px; color:#7c859b; font-size:14px; background:#fbfbff; }

  .gm5-content-wrap ~ .container-wrap { background:#fbfcff!important; border-top:1px solid #edf0f6; margin-top:12px; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright { max-width:1360px; margin:0 auto; padding:18px 42px 26px!important; display:flex; align-items:flex-start; gap:20px; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo { flex:0 0 auto; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo img { width:auto; height:40px; object-fit:contain; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info { display:flex; flex-direction:column; gap:8px; color:#697389!important; font-size:13px!important; line-height:1.75!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > a { color:#5d65ff!important; font-weight:700; margin-right:14px; display:inline-block; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > span,
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info ul,
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info ul span { font-size:13px!important; color:#697389!important; line-height:1.75!important; margin:0; padding:0; list-style:none; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info ul { display:block; }

  @media (max-width:1380px) {
    .gm5-featured-grid { grid-template-columns:repeat(4,1fr); }
  }
  @media (max-width:1240px) {
    .gm5-container { width:calc(100% - 48px); }
    .gm5-nav { gap:16px; }
    .gm5-hero h1 { font-size:30px; }
    .gm5-search { grid-template-columns:1fr 1fr 1fr 1.1fr 160px; }
    .gm5-featured-grid { grid-template-columns:repeat(3,1fr); }
    .gm5-mini-grid { grid-template-columns:repeat(4,1fr); }
  }
}
@media (max-width:1024px) {
  .gm5-header, .gm5-app { display:none!important; }
}


/* ========= V6 COMPACT PREMIUM REFINEMENT · PC homepage only ========= */
@media (min-width:1025px) {
  /* Reduce website width and place the brand farther from the left edge. */
  .gm5-container { max-width:1220px; width:calc(100% - 96px); }
  .gm5-utility { min-height:29px; }
  .gm5-utility-row { min-height:29px; font-size:13px; }
  .gm5-mainbar-row { min-height:76px; gap:15px; }
  .gm5-logo { min-width:222px; gap:8px; }
  .gm5-logo-mark { width:39px; height:37px; }
  .gm5-logo-copy strong { font-size:27px; letter-spacing:-1.1px; }
  .gm5-logo-copy small { font-size:12px; margin-top:4px; color:#777e99; }
  .gm5-nav { gap:7px; justify-content:space-around; align-self:stretch; }
  .gm5-nav>a { display:inline-flex; gap:6px; align-items:center; justify-content:center; padding:12px 3px 11px; font-size:15px; font-weight:800; color:#2c314a; position:relative; white-space:nowrap; }
  .gm5-nav>a:after { content:''; position:absolute; left:12%; right:12%; height:2px; bottom:6px; border-radius:2px; background:linear-gradient(90deg,#a176fb,#5c70f7); transform:scaleX(0); transition:transform .18s; }
  .gm5-nav>a:hover:after, .gm5-nav>a:focus-visible:after { transform:scaleX(1); }
  .gm5-nav>a:hover { color:#6657df; }
  .gm5-nav-icon { width:27px; height:27px; border-radius:9px; background:linear-gradient(135deg,#f1eafe,#eaf0ff); display:inline-flex; align-items:center; justify-content:center; color:#7760ed; flex-shrink:0; border:1px solid #ebe6fc; font-size:13px; }
  .gm5-nav>a:hover .gm5-nav-icon { background:linear-gradient(140deg,#8268f9,#6478fa); color:white; border-color:transparent; }
  .gm5-cta { min-width:142px; padding:10px 15px; border-radius:11px; box-shadow:0 5px 15px rgba(105,101,253,.15); }
  .gm5-cta strong { font-size:16px; }
  .gm5-cta span { font-size:12px; }

  /* Tighten the hero/search band, keep the wide photograph naturally framed. */
  .gm5-hero { padding-top:13px; }
  .gm5-hero-inside { gap:18px; grid-template-columns:1.08fr .92fr; }
  .gm5-hero-copy { padding:14px 0 14px; }
  .gm5-hero-eyebrow { font-size:15px; margin:0 0 8px; }
  .gm5-hero h1 { font-size:32px; line-height:1.17; letter-spacing:-1.2px; }
  .gm5-hero-desc { margin:10px 0 0; font-size:15px; line-height:1.5; }
  .gm5-hero-photo-wrap { height:177px; border-radius:16px; box-shadow:0 8px 23px rgba(117,110,180,.095); }
  .gm5-hero-photo { transform:scale(.97); }
  .gm5-hero-script { right:21px; top:20px; font-size:15px; }
  .gm5-search { margin-top:-6px; padding:9px; gap:8px; border-radius:14px; grid-template-columns:1fr 1fr 1fr 1.25fr 140px; box-shadow:0 8px 23px rgba(86,92,154,.10); }
  .gm5-search-field { min-height:61px; gap:8px; padding:9px 11px; border-radius:10px; }
  .gm5-search-labels { gap:5px; }
  .gm5-search-labels>b { font-size:14px; }
  .gm5-search-labels>span, .gm5-keyword-box .gm5-search-labels input { font-size:14px; }
  .gm5-search-ico { font-size:16px; }
  .gm5-search-button { min-height:61px; border-radius:10px; font-size:16px; font-weight:900; }
  .gm5-search-button i { margin-right:5px; font-size:14px; }
  .gm5-field-disabled { opacity:.75; }
  .gm5-field-disabled .gm5-native-select { cursor:not-allowed; }

  /* Keep the two quick-link rows and colorful information banners compact. */
  .gm5-content { padding-top:16px; padding-bottom:23px; }
  .gm5-quickbar { gap:11px; margin-bottom:15px; }
  .gm5-quick-group { gap:8px; }
  .gm5-quick-group strong { font-size:15px; }
  .gm5-chip-list { gap:6px; }
  .gm5-chip-list a { height:28px; padding:0 11px; font-size:13px; }
  .gm5-promo-grid { gap:10px; margin-bottom:22px; }
  .gm5-promo { min-height:82px; padding:13px 16px; border-radius:13px; }
  .gm5-promo strong { font-size:16px; }
  .gm5-promo small { font-size:13px; margin-top:4px; }
  .gm5-promo-art { font-size:13px; }
  .gm5-promo-icon i { font-size:29px; }

  /* Upmarket photo cards: smaller picture, glossy premium badge, re-styled region. */
  .gm5-section { margin-bottom:23px; }
  .gm5-section-head { margin-bottom:12px; }
  .gm5-section-title h2 { font-size:22px; letter-spacing:-.5px; display:flex; align-items:center; gap:8px; }
  .gm5-section-ico { font-size:17px; }
  .gm5-section-ico-pink { color:#ee619a; }
  .gm5-section-ico-gold { color:#e6ad34; }
  .gm5-section-ico-purple { color:#7967ef; }
  .gm5-section-title span { font-size:14px; }
  .gm5-featured-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
  .gm5-card { border-radius:14px; border:1px solid #e7eaf3; box-shadow:0 4px 12px rgba(58,63,96,.055); transition:transform .2s,box-shadow .2s; }
  .gm5-card:hover { transform:translateY(-3px); box-shadow:0 9px 21px rgba(66,62,126,.11); }
  .gm5-card-image { height:130px; }
  .gm5-card-badge { left:9px; top:9px; padding:7px 10px; border-radius:6px 6px 11px 6px; font-size:12px; line-height:1; letter-spacing:.25px; box-shadow:0 3px 8px rgba(20,18,30,.22); }
  .gm5-card-badge i { font-size:11px; margin-right:4px; }
  .gm5-badge-gold { color:#ffe4a4; background:linear-gradient(110deg,#121e39,#323448 54%,#6a472d); border:1px solid #c69d59; text-shadow:0 1px 1px #212438; }
  .gm5-badge-pink { color:#fff; background:linear-gradient(110deg,#b061de,#6f55d9); border:1px solid #c8b2ff; }
  .gm5-area-float { right:9px; bottom:9px; top:auto; padding:5px 9px; border-radius:7px; font-size:12px; background:rgba(247,246,255,.92); color:#6550c7; border:1px solid rgba(255,255,255,.85); box-shadow:0 2px 6px rgba(37,32,62,.11); backdrop-filter:blur(5px); }
  .gm5-area-float i { font-size:11px; margin-right:3px; }
  .gm5-card-content { padding:11px 11px 12px; }
  .gm5-card-heading { align-items:baseline; gap:5px; }
  .gm5-card-title { font-size:17px; line-height:1.35; }
  .gm5-card-views { color:#9198a8; font-size:12px; line-height:1.2; white-space:nowrap; flex-shrink:0; }
  .gm5-card-views i { font-size:12px; }
  .gm5-card-submeta { margin-top:8px; gap:5px; flex-wrap:nowrap; overflow:hidden; }
  .gm5-card-submeta span { font-size:13px; padding:0 8px; height:24px; white-space:nowrap; }
  .gm5-card-submeta .gm5-type-pill { background:#edf0ff; color:#6759d6; border-color:#e9eafd; }
  .gm5-card-submeta .gm5-nationality-pill { background:#f7f8fd; color:#5e6c86; }
  .gm5-card-address { font-size:13px; line-height:1.4; min-height:36px; margin-top:8px; color:#737a8c; }
  .gm5-card-actions { margin-top:9px; gap:6px; }
  .gm5-card-actions a { height:30px; font-size:13px; border-radius:7px; }
  .gm5-card-actions a:first-child { color:#6554d0; background:#f5f3ff; border-color:#e7e2fc; }

  .gm5-duo { gap:19px; }
  .gm5-mini-grid { gap:8px; }
  .gm5-small-card { border-radius:11px; }
  .gm5-small-picture { height:72px; }
  .gm5-small-card strong { padding:7px 8px 0; font-size:14px; }
  .gm5-small-desc { padding:4px 8px 9px; font-size:13px; }
  .gm5-lower { gap:15px; }
  .gm5-list-section li a { padding:10px 3px; font-size:13px; }
  .gm5-event { min-height:140px; padding:19px; border-radius:14px; }
  .gm5-event-text b { font-size:22px; }
  .gm5-event-text strong { font-size:14px; margin-top:7px; }
  .gm5-event-button { margin-top:10px; height:32px; font-size:13px; }
  .gm5-event-decoration { font-size:65px; }

  /* Footer: actual bottom.php renders .container-wrap as the sibling after .gm5-content-wrap. */
  .gm5-content-wrap ~ .container-wrap { background:linear-gradient(180deg,#fbfbff 0%,#f7f8ff 100%)!important; border-top:1px solid #e7e7f3!important; padding:0!important; margin:0!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright { max-width:1220px!important; width:calc(100% - 96px)!important; margin:0 auto!important; padding:21px 0 24px!important; display:grid!important; grid-template-columns:190px minmax(0,1fr)!important; align-items:start!important; gap:24px!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo { padding:7px 0 0!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo img { max-width:155px!important; height:auto!important; max-height:48px!important; object-fit:contain!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info { width:auto!important; display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; gap:6px 19px!important; align-items:center!important; font-size:13px!important; line-height:1.6!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info>a { margin:0!important; color:#555f88!important; font-weight:800!important; font-size:14px!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info>a:hover { color:#6a55ee!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info>span { flex-basis:100%!important; font-size:13px!important; color:#858ca3!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info>ul { flex-basis:100%!important; width:100%!important; margin:7px 0 0!important; padding:12px 0 0!important; border-top:1px solid #e5e7f1!important; list-style:none!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info>ul span { display:block!important; color:#747c92!important; font-size:13px!important; line-height:1.65!important; }
}
@media (min-width:1025px) and (max-width:1300px) {
  .gm5-container { width:calc(100% - 54px); }
  .gm5-nav { gap:3px; }
  .gm5-nav>a { font-size:14px; gap:4px; }
  .gm5-nav-icon { width:23px; height:23px; font-size:12px; }
  .gm5-logo { min-width:205px; }
  .gm5-logo-copy strong { font-size:25px; }
  .gm5-cta { min-width:124px; padding:9px 11px; }
  .gm5-cta span { font-size:11px; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright { width:calc(100% - 54px)!important; }
}
@media (min-width:1025px) and (max-width:1130px) {
  .gm5-logo { min-width:178px; }
  .gm5-logo-copy small { font-size:11px; }
  .gm5-mainbar-row { gap:8px; }
  .gm5-nav>a { font-size:13px; }
  .gm5-nav-icon { width:20px; height:20px; }
  .gm5-featured-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .gm5-search { grid-template-columns:1fr 1fr 1fr 1.15fr 128px; gap:6px; }
  .gm5-search-field { padding:8px; }
}


/* ========= V7 PREMIUM VISUAL TUNE ========= */
@media (min-width:1025px) {
  @keyframes gm5spin { 0% { transform:rotate(0deg);} 100% {transform:rotate(360deg);} }
  .gm5-container { max-width:1240px; width:calc(100% - 88px); }
  .gm5-mainbar-row { min-height:82px; gap:18px; }
  .gm5-logo { min-width:250px; margin-left:10px; gap:10px; }
  .gm5-logo-mark { width:42px; height:40px; }
  .gm5-logo-copy strong { font-size:29px; }
  .gm5-logo-copy small { font-size:13px; }
  .gm5-nav { gap:10px; justify-content:center; }
  .gm5-nav>a { padding:12px 6px 11px; font-size:16px; }
  .gm5-nav-icon { width:29px; height:29px; font-size:14px; border-radius:10px; }

  .gm5-hero { padding-top:16px; }
  .gm5-hero-inside { grid-template-columns: 1.02fr .98fr; gap:24px; }
  .gm5-hero-copy { padding:18px 0 20px; }
  .gm5-hero-eyebrow { font-size:16px; }
  .gm5-hero h1 { font-size:34px; }
  .gm5-hero-desc { font-size:16px; max-width:560px; }
  .gm5-hero-photo-wrap { height:220px; border-radius:18px; background:linear-gradient(135deg,#f2efff,#ece8ff); overflow:hidden; }
  .gm5-hero-photo { transform:none; background-position:center 26%; }
  .gm5-hero-photo-wrap:before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.02) 0%, rgba(255,255,255,.03) 24%, rgba(255,255,255,0) 55%, rgba(37,18,52,.12) 100%); z-index:1; }
  .gm5-hero-script { z-index:2; right:26px; top:28px; font-size:16px; }

  .gm5-search { margin-top:-10px; padding:12px; gap:10px; border-radius:18px; grid-template-columns:1fr 1fr 1fr 1.28fr 150px; }
  .gm5-search-field { min-height:66px; gap:10px; padding:10px 12px; border-radius:14px; background:linear-gradient(180deg,#ffffff 0%, #fbfbff 100%); border:1px solid #e4e6f3; box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 2px 9px rgba(98,103,173,.04); }
  .gm5-search-field:hover, .gm5-search-field:focus-within { border-color:#b8afff; box-shadow:0 0 0 4px rgba(111,96,255,.08), inset 0 1px 0 rgba(255,255,255,.92); }
  .gm5-search-labels>b { font-size:15px; color:#28304d; }
  .gm5-search-labels>span, .gm5-keyword-box .gm5-search-labels input { font-size:14px; color:#697493; }
  .gm5-keyword-box .gm5-search-labels input::placeholder { color:#9ea6bb; }
  .gm5-search-ico { width:34px; height:34px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(140deg,#f1ecff,#edf3ff); color:#6f63f0; border:1px solid #ece8ff; }
  .gm5-search-button { min-height:66px; font-size:17px; border-radius:14px; }

  .gm5-quick-group strong { font-size:16px; }
  .gm5-chip-list a { font-size:13px; }
  .gm5-promo strong { font-size:17px; }
  .gm5-promo small { font-size:13px; }

  .gm5-section-title h2 { font-size:24px; }
  .gm5-section-title span { font-size:15px; }
  .gm5-card-image { height:122px; }
  .gm5-card-badge { left:10px; top:10px; padding:7px 11px; border-radius:7px 7px 12px 7px; font-size:12px; }
  .gm5-badge-gold { background:linear-gradient(125deg,#1c2237 0%, #424868 55%, #a77a38 100%); }
  .gm5-area-float { top:10px; right:10px; bottom:auto; border-radius:999px; padding:6px 10px; background:rgba(255,255,255,.95); color:#5646c4; box-shadow:0 3px 8px rgba(37,32,62,.12); }
  .gm5-card-title { font-size:18px; }
  .gm5-card-views { font-size:13px; }
  .gm5-card-submeta span { font-size:13px; height:25px; }
  .gm5-card-address { font-size:13px; }
  .gm5-card-actions a { font-size:13px; }

  .gm5-small-card strong, .gm5-list-section li a, .gm5-no-post, .gm5-small-desc { font-size:14px; }
  .gm5-event-text strong { font-size:16px; }
}


/* GM8 - full-width panoramic three-slide carousel; premium+country flag badges. */
@media (min-width:1025px) {
 .gm5-hero { padding:17px 0 0; border:0; background:linear-gradient(180deg,#f7f4ff 0%,#fcfbff 100%); }
 .gm5-hero-stage { position:relative; height:275px; border-radius:19px; overflow:hidden; isolation:isolate; background:#272139; box-shadow:0 13px 31px rgba(53,48,105,.13); outline-offset:4px; }
 .gm5-hero-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .75s ease,visibility .75s; pointer-events:none; }
 .gm5-hero-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; }
 .gm5-hero-slide img { display:block; position:absolute; width:100%; height:100%; object-fit:cover; object-position:center; }
 .gm5-hero-slide-copy { position:absolute; left:82px; top:50%; transform:translateY(-50%); width:min(590px, 64%); z-index:2; color:#fff; }
 .gm5-hero-slide .gm5-hero-eyebrow { color:rgba(255,255,255,.90); font-size:15px; margin-bottom:10px; font-weight:650; }
 .gm5-hero-slide h1 { color:#fff; font-size:32px; line-height:1.26; letter-spacing:-.9px; margin:0; text-shadow:0 2px 12px rgba(0,0,0,.17); }
 .gm5-hero-slide h1 span { color:#d9c4ff; }
 .gm5-hero-slide .gm5-hero-desc { color:rgba(255,255,255,.88); font-size:14px; margin-top:13px; max-width:570px; text-shadow:0 1px 4px rgba(0,0,0,.10); }
 .gm5-hero-slide-light .gm5-hero-slide-copy, .gm5-hero-slide-light h1 { color:#212342; text-shadow:none; }
 .gm5-hero-slide-light .gm5-hero-eyebrow { color:#525773; }
 .gm5-hero-slide-light .gm5-hero-desc { color:#5b6482; text-shadow:none; }
 .gm5-hero-slide-light h1 span { color:#6657e0; }
 .gm5-hero-arrow { position:absolute; z-index:5; top:48%; width:37px; height:37px; border:1px solid rgba(255,255,255,.5); border-radius:50%; background:rgba(255,255,255,.91); color:#554bd0; display:flex; align-items:center; justify-content:center; font-size:15px; cursor:pointer; box-shadow:0 3px 13px rgba(12,11,37,.15); transition:transform .2s,background .2s; }
 .gm5-hero-arrow:hover { transform:translateY(-2px); background:#fff; }
 .gm5-hero-prev { left:17px; } .gm5-hero-next { right:17px; }
 .gm5-hero-pagination { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); z-index:6; display:flex; align-items:center; gap:7px; padding:5px 9px; border-radius:999px; background:rgba(20,17,47,.28); }
 .gm5-hero-pagination button { appearance:none; border:0; background:rgba(255,255,255,.63); height:7px; width:7px; border-radius:999px; cursor:pointer; padding:0; transition:width .25s,background .25s; }
 .gm5-hero-pagination button.is-active { width:24px; background:#fff; }
 .gm5-hero-pagination button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
 .gm5-search { margin-top:-9px; }
 .gm5-card-image { height:132px; }
 .gm5-card-topbadges { position:absolute; z-index:4; top:9px; left:9px; display:flex; align-items:center; gap:5px; max-width:calc(100% - 78px); }
 .gm5-card-topbadges .gm5-card-badge { position:static; display:inline-flex; align-items:center; justify-content:center; gap:4px; padding:6px 8px; min-height:26px; font-size:11px; letter-spacing:.15px; background:linear-gradient(115deg,#202439,#3e3b4d 52%,#8c6634); color:#ffe9b3; border:1px solid rgba(221,179,107,.9); border-radius:7px; text-shadow:none; box-shadow:0 2px 7px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.16); }
 .gm5-card-topbadges .gm5-card-badge i { font-size:11px; margin:0; color:#f6ca7d; }
 .gm5-card-topbadges .gm5-badge-pink { background:#6e57c6; border-color:#a08af0; color:#fff; }
 .gm5-flag-badge { width:30px; min-width:30px; height:26px; display:inline-flex; align-items:center; justify-content:center; border-radius:7px; border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.94); box-shadow:0 2px 8px rgba(25,21,58,.22); }
 .gm5-flag-badge img { position:static; display:block; width:20px!important; height:14px!important; object-fit:cover; border-radius:2px; border:1px solid rgba(60,60,80,.11); }
 .gm5-area-float { top:9px; right:9px; bottom:auto; max-width:74px; height:26px; display:flex; align-items:center; justify-content:center; color:#5f4ed1; background:rgba(255,255,255,.96); border-radius:7px; border:1px solid rgba(255,255,255,.9); font-size:12px; font-weight:800; padding:3px 7px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .gm5-card-address { color:#69748b; }
 @media(max-width:1280px) {
   .gm5-hero-stage { height:252px; }
   .gm5-hero-slide-copy { left:68px; width:62%; }
   .gm5-hero-slide h1 { font-size:28px; }
   .gm5-card-topbadges .gm5-card-badge { font-size:10.5px; }
 }
}
@media(prefers-reduced-motion:reduce) {
 .gm5-hero-slide { transition:none!important; }
 .gm5-hero-arrow { transition:none!important; }
}

@media(min-width:1025px) and (max-width:1120px) {
 .gm5-container { width:calc(100% - 30px); }
 .gm5-mainbar-row { gap:9px; }
 .gm5-logo { min-width:218px; margin-left:0; gap:7px; }
 .gm5-logo-copy strong { font-size:26px; }
 .gm5-logo-copy small { font-size:12px; }
 .gm5-nav { gap:3px; }
 .gm5-nav>a { gap:3px; padding:10px 2px; font-size:14px; }
 .gm5-nav-icon { width:24px; height:24px; font-size:12px; }
 .gm5-cta { min-width:122px; padding:9px; }
 .gm5-cta strong { font-size:15px; }
 .gm5-cta span { font-size:12px; }
}


/* ========= GM9 hero fit, premium-badge, inline nation, footer refresh ========= */
@media (min-width:1025px) {
  @keyframes gm9Shimmer { 0%{transform:translateX(-120%) skewX(-24deg);opacity:0;} 18%{opacity:.65;} 55%{transform:translateX(170%) skewX(-24deg);opacity:0;} 100%{transform:translateX(170%) skewX(-24deg);opacity:0;} }
  @keyframes gm9Glow { 0%,100%{ box-shadow:0 8px 18px rgba(43,37,87,.18), inset 0 1px 0 rgba(255,255,255,.22);} 50%{ box-shadow:0 11px 26px rgba(70,51,122,.26), inset 0 1px 0 rgba(255,255,255,.3);} }

  .gm5-hero-stage { height:318px; border-radius:22px; background:linear-gradient(135deg,#f4efff 0%, #efe9fb 100%); }
  .gm5-hero-slide { background:linear-gradient(120deg,#f4efff 0%,#faf8ff 54%,#f0ecff 100%); }
  .gm5-hero-slide::before { content:""; position:absolute; inset:-10px; background-image:var(--gm5-slide); background-size:cover; background-position:center; filter:blur(22px) saturate(1.02); opacity:.25; transform:scale(1.06); }
  .gm5-hero-slide::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(248,244,255,.97) 0%, rgba(248,244,255,.92) 28%, rgba(248,244,255,.38) 58%, rgba(248,244,255,.08) 84%, rgba(248,244,255,.18) 100%); z-index:1; }
  .gm5-hero-slide img { z-index:0; width:100%; height:100%; object-fit:contain; object-position:right center; }
  .gm5-hero-slide-copy { left:62px; width:min(470px, 42%); z-index:2; color:#252b48; }
  .gm5-hero-slide .gm5-hero-eyebrow { color:#5c6286; font-size:15px; }
  .gm5-hero-slide h1 { color:#1d2342; text-shadow:none; font-size:36px; line-height:1.24; }
  .gm5-hero-slide h1 span, .gm5-hero-slide-light h1 span { color:#6454e7; }
  .gm5-hero-slide .gm5-hero-desc, .gm5-hero-slide-light .gm5-hero-desc { color:#646f89; text-shadow:none; font-size:15px; max-width:400px; }
  .gm5-hero-slide-light .gm5-hero-slide-copy, .gm5-hero-slide-light h1, .gm5-hero-slide-light .gm5-hero-eyebrow { color:inherit; }
  .gm5-hero-arrow { top:auto; bottom:18px; width:40px; height:40px; background:rgba(255,255,255,.92); border:1px solid rgba(112,93,242,.14); box-shadow:0 10px 25px rgba(49,42,112,.13); }
  .gm5-hero-prev { left:auto; right:74px; } .gm5-hero-next { right:22px; }
  .gm5-hero-pagination { left:auto; transform:none; right:124px; bottom:22px; background:rgba(255,255,255,.76); backdrop-filter:blur(7px); box-shadow:0 8px 22px rgba(49,42,112,.1); }
  .gm5-hero-pagination button { background:#cfcaf4; } .gm5-hero-pagination button.is-active { background:#6d59ea; }

  .gm5-card-topbadges { top:11px; left:11px; max-width:calc(100% - 96px); }
  .gm5-card-topbadges .gm5-card-badge { position:relative; overflow:hidden; gap:6px; padding:8px 14px 8px 12px; min-height:32px; font-size:12px; border-radius:999px; border:1px solid rgba(232,205,139,.9); background:linear-gradient(128deg,#241f32 0%,#433447 43%,#946f38 100%); color:#fff2c8; animation:gm9Glow 2.8s ease-in-out infinite; }
  .gm5-card-topbadges .gm5-card-badge::after { content:""; position:absolute; top:-14px; bottom:-14px; width:34px; left:0; background:linear-gradient(90deg,rgba(255,255,255,0) 0%, rgba(255,255,255,.52) 50%, rgba(255,255,255,0) 100%); animation:gm9Shimmer 3.4s ease-in-out infinite; }
  .gm5-card-topbadges .gm5-card-badge i { font-size:11px; color:#ffd77f; position:relative; z-index:1; }
  .gm5-card-topbadges .gm5-card-badge em { font-style:normal; font-weight:800; letter-spacing:.2px; position:relative; z-index:1; }
  .gm5-card-topbadges .gm5-badge-pink { background:linear-gradient(125deg,#684de4 0%,#8c78ff 100%); border-color:#c3b6ff; color:#fff; }
  .gm5-area-float { top:11px; right:11px; min-width:54px; height:32px; padding:0 12px; border-radius:999px; font-size:13px; font-weight:800; color:#5445bf; background:rgba(255,255,255,.97); border:1px solid rgba(134,118,255,.18); box-shadow:0 8px 20px rgba(48,42,104,.12); }

  .gm5-card-submeta { gap:10px; align-items:center; }
  .gm5-card-submeta .gm5-type-pill { background:#f4f5fb; color:#55607a; border-color:#eceff7; }
  .gm5-card-submeta .gm5-manager-meta { display:inline-flex; align-items:center; gap:6px; padding:0; height:auto; background:transparent; border:0; border-radius:0; color:#5b6782; font-size:13px; font-weight:700; }
  .gm5-inline-flag { width:20px; height:14px; object-fit:cover; border-radius:2px; border:1px solid rgba(61,65,99,.14); box-shadow:none; }

  .gm5-content-wrap ~ .container-wrap { position:relative; margin-top:22px; padding:0 0 30px; background:linear-gradient(180deg,#f7f4ff 0%, #f2eefc 100%)!important; border-top:1px solid #ece7fa; overflow:hidden; }
  .gm5-content-wrap ~ .container-wrap::before { content:""; position:absolute; inset:-120px auto auto -140px; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(159,125,255,.18) 0%, rgba(159,125,255,0) 68%); }
  .gm5-content-wrap ~ .container-wrap::after { content:""; position:absolute; right:-110px; bottom:-150px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle, rgba(121,177,255,.14) 0%, rgba(121,177,255,0) 70%); }
  .gm5-content-wrap ~ .container-wrap .footer-copyright { position:relative; z-index:1; max-width:1220px!important; width:calc(100% - 88px)!important; margin:28px auto 0!important; padding:26px 30px 28px!important; grid-template-columns:220px minmax(0,1fr)!important; gap:28px!important; border-radius:24px; background:rgba(255,255,255,.84); backdrop-filter:blur(10px); box-shadow:0 16px 44px rgba(74,61,142,.10); border:1px solid rgba(228,223,247,.95); }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo { position:relative; padding:4px 0 0 0!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo::after { content:"건마나라"; display:block; margin-top:10px; font-size:29px; line-height:1; font-weight:900; letter-spacing:-1px; color:#6657e0; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo::before { content:"전국 건전 마사지 & 스웨디시 정보 플랫폼"; display:block; position:absolute; left:0; top:58px; font-size:13px; font-weight:600; color:#8a90a7; width:210px; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .logo img { max-width:54px!important; max-height:54px!important; border-radius:16px; box-shadow:0 8px 22px rgba(103,87,227,.16); }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info { padding-top:2px; gap:10px 16px!important; align-items:flex-start!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > a { display:inline-flex; align-items:center; height:36px; padding:0 14px; border-radius:999px; background:#fff; border:1px solid #eae6f8; color:#555f88!important; box-shadow:0 4px 12px rgba(55,45,120,.04); }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > a:hover { background:#f7f5ff; border-color:#d7d0ff; color:#6454e7!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > span { margin-top:2px; font-size:13px!important; color:#737b93!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > ul { margin-top:10px!important; padding:16px 0 0!important; border-top:1px solid #ebe7f6!important; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright .info > ul span { color:#6f7790!important; line-height:1.82!important; font-size:13px!important; }
}
@media (min-width:1025px) and (max-width:1280px) {
  .gm5-hero-stage { height:300px; }
  .gm5-hero-slide-copy { left:48px; width:min(430px, 42%); }
  .gm5-hero-slide h1 { font-size:31px; }
  .gm5-content-wrap ~ .container-wrap .footer-copyright { width:calc(100% - 54px)!important; }
}


/* GM9 FINAL — exact-fit AI-woman hero, emblem badge, unified legal footer */
.gm9-footer { display:none; }
@media (min-width:1025px) {
  /* Hero image is always fully visible; never crop it with cover or zoom. */
  .gm5-hero-stage { height:322px; background:#f7f1ff; }
  .gm5-hero-slide { background:linear-gradient(100deg,#f7f3ff,#f3eafb 60%,#f5f0fb); }
  .gm5-hero-slide::before { content:none!important; }
  .gm5-hero-slide img { display:block; max-width:none; width:100%; height:100%; object-fit:contain!important; object-position:right center; transform:none!important; }
  .gm5-hero-slide::after { background:linear-gradient(90deg,rgba(247,243,255,.99) 0%,rgba(247,243,255,.95) 26%,rgba(247,243,255,.66) 43%,rgba(247,243,255,.05) 71%,rgba(247,243,255,0) 100%); }
  .gm5-hero-slide-copy { left:58px; width:44%; max-width:465px; }
  .gm5-hero-slide h1 { font-size:32px; line-height:1.25; }
  .gm5-hero-slide .gm5-hero-desc { max-width:410px; font-size:15px; }
  .gm5-hero-pagination { right:139px; }
  /* Emblem/ribbon rather than a clickable-looking pill. Uses only CSS and smooth, subtle sheen. */
  @keyframes gm9BadgeSheen { 0%,32% { left:-42%; opacity:0;} 48% {opacity:.45;} 78%,100%{left:135%;opacity:0;} }
  @keyframes gm9BadgePulse { 0%,100%{filter:drop-shadow(0 3px 4px rgba(25,17,44,.21));} 50%{filter:drop-shadow(0 5px 7px rgba(150,102,36,.36));} }
  .gm5-card-topbadges { top:8px; left:9px; max-width:calc(100% - 81px); }
  .gm5-card-topbadges .gm5-card-badge { position:relative; display:flex; align-items:center; gap:5px; min-height:38px; padding:7px 11px 10px; border:1px solid rgba(239,207,136,.8); border-radius:5px; clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%); background:linear-gradient(115deg,#201b34 0%,#463444 55%,#86602c 100%); color:#fff1c8; box-shadow:none!important; animation:gm9BadgePulse 3.4s ease-in-out infinite; font-size:12px; letter-spacing:.35px; }
  .gm5-card-topbadges .gm5-card-badge::before { content:""; position:absolute; inset:3px 4px 7px; border:1px solid rgba(251,226,174,.48); border-radius:2px; pointer-events:none; }
  .gm5-card-topbadges .gm5-card-badge::after { content:""; position:absolute; top:-12px; bottom:-12px; width:20px; left:-42%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent); animation:gm9BadgeSheen 5.5s ease-in-out infinite; }
  .gm5-card-topbadges .gm5-card-badge i { font-size:13px; color:#f2c978; z-index:1; }
  .gm5-card-topbadges .gm5-card-badge em { z-index:1; font-size:11px; line-height:1.2; }
  .gm5-card-topbadges .gm5-badge-pink { color:#fff; border-color:#c3a8ff; background:linear-gradient(110deg,#6651db,#977ce7); }
  /* Inline manager nation — no separate floating nationality card on the photo. */
  .gm5-card-submeta { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; overflow:visible; }
  .gm5-card-submeta .gm5-manager-meta { display:inline-flex; align-items:center; gap:6px; min-height:25px; line-height:1.3; background:transparent!important; color:#65708b; border:0!important; font-size:13px; font-weight:700; padding:0; box-shadow:none!important; }
  .gm5-inline-flag { display:block; width:20px; height:14px; object-fit:cover; border:1px solid #d9deeb; border-radius:2px; box-shadow:none!important; }
  .gm5-area-float { top:9px; right:9px; bottom:auto; min-height:32px; font-size:13px; }
  /* Original site footer content remains in DOM for native scripts, but hidden ONLY on GM9 PC home. */
  .gm5-content-wrap ~ .container-wrap:has(.footer-copyright),
  .gm5-content-wrap ~ .container-wrap { display:none!important; }
  /* A proper, full-width footer with clear information hierarchy and no raised/floating card. */
  .gm9-footer { display:block!important; position:relative; margin:28px 0 0; background:linear-gradient(180deg,#fdfcff 0%,#f5f2ff 100%); border-top:1px solid #ece8fa; color:#37405b; font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif; }
  .gm9-footer, .gm9-footer * { box-sizing:border-box; }
  .gm9-footer a { color:inherit; text-decoration:none; }
  .gm9-footer-topline { height:3px; background:linear-gradient(90deg,#e3dcff,#9879ff 48%,#e3edff 100%); }
  .gm9-footer-inner { max-width:1240px; width:calc(100% - 88px); margin:0 auto; padding:30px 0 24px; }
  .gm9-footer-main { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-bottom:25px; }
  .gm9-footer-brand { min-width:0; }
  .gm9-footer-logo { display:inline-flex; align-items:center; gap:10px; }
  .gm9-footer-logo svg { flex:0 0 auto; }
  .gm9-footer-logo span { font-size:26px; line-height:1.2; font-weight:900; letter-spacing:-1px; color:#6753df; }
  .gm9-footer-brand p { margin:8px 0 0; color:#7c849b; font-size:16px; }
  .gm9-footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; }
  .gm9-footer-links a { display:inline-flex; align-items:center; gap:9px; padding:10px 13px; min-height:42px; background:#fff; border:1px solid #e7e2f8; border-radius:11px; color:#56617f; font-size:16px; font-weight:700; transition:background .15s,border-color .15s,color .15s; }
  .gm9-footer-links a i { font-size:16px; color:#8068ed; }
  .gm9-footer-links a:hover { background:#f8f5ff; border-color:#c9bcff; color:#6753df; }
  .gm9-footer-details { padding:20px 0 18px; border-top:1px solid #e4e1f0; }
  .gm9-footer-details p { font-size:16px; line-height:1.6; margin:0 0 7px; color:#64708b; }
  .gm9-footer-details strong { font-weight:750; color:#46536e; margin-right:7px; }
  .gm9-footer-divider { display:inline-block; height:14px; border-left:1px solid #d5d7e6; margin:0 12px; vertical-align:-2px; }
  .gm9-footer-notice { padding-top:8px; }
  .gm9-footer-notice i { color:#8a76dd; margin-right:5px; }
  .gm9-footer-copyright { padding-top:18px; border-top:1px solid #e5e2f2; color:#8991a7; font-size:16px; }
}
@media (min-width:1025px) and (max-width:1280px) {
  .gm5-hero-stage { height:295px; }
  .gm5-hero-slide-copy { left:50px; max-width:415px; width:43%; }
  .gm5-hero-slide h1 { font-size:29px; }
  .gm9-footer-inner { width:calc(100% - 55px); }
  .gm9-footer-links a { font-size:16px; padding:9px 10px; }
}
@media (min-width:1025px) and (max-width:1090px) {
  .gm9-footer-main { align-items:flex-start; }
  .gm9-footer-links { max-width:475px; }
}
@media (prefers-reduced-motion:reduce) {
  .gm5-card-topbadges .gm5-card-badge, .gm5-card-topbadges .gm5-card-badge::after { animation:none!important; }
}


/* ================================================================
   GEONMANARA PC V10 — compact hero / attached premium ribbon
   Changes are isolated to the PC homepage. All V9 hero images,
   slider controls, data/region labels, nationality & footer remain.
   ================================================================ */
@media (min-width:1025px) {
  /* Reduce only the hero's height: the AI woman and full photograph
     remain uncropped and proportional, including each rolling slide. */
  .gm5-hero-stage { height:288px; }
  .gm5-hero-slide img {
    object-fit:contain!important;
    object-position:right center!important;
    transform:none!important;
  }
  .gm5-hero-slide-copy { width:44%; }
  .gm5-hero-slide h1 { font-size:31px; line-height:1.22; }

  /* Corner-attached prestige label, rather than a detached button.
     The right-hand pennant edge subtly tapers into the image. */
  .gm5-card-topbadges {
    top:0!important;
    left:0!important;
    right:auto!important;
    max-width:calc(100% - 77px);
    filter:drop-shadow(0 3px 4px rgba(24,18,42,.24));
  }
  .gm5-card-topbadges .gm5-card-badge {
    position:relative;
    left:0!important;
    top:0!important;
    right:auto!important;
    bottom:auto!important;
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    height:32px;
    min-height:32px;
    margin:0;
    padding:0 23px 0 11px;
    border:0!important;
    border-radius:0!important;
    clip-path:polygon(0 0,100% 0,calc(100% - 10px) 50%,100% 100%,0 100%);
    background:linear-gradient(110deg,#292438 0%,#4c4058 57%,#94764e 100%);
    color:#fff0ca;
    box-shadow:none!important;
    letter-spacing:.35px;
    text-shadow:0 1px 2px rgba(12,9,24,.36);
    animation:none!important;
  }
  .gm5-card-topbadges .gm5-card-badge::before {
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:auto;
    height:2px;
    border:0;
    border-radius:0;
    background:linear-gradient(90deg,#c79d5f,#fbe5b3 55%,#aa8551);
    pointer-events:none;
  }
  .gm5-card-topbadges .gm5-card-badge::after {
    content:"";
    position:absolute;
    left:-65%;
    top:0;
    bottom:0;
    width:26px;
    background:linear-gradient(90deg,transparent,rgba(255,251,232,.26),transparent);
    animation:gm10RibbonGlint 7.5s ease-in-out infinite;
    pointer-events:none;
  }
  .gm5-card-topbadges .gm5-card-badge i {
    color:#f4d59a;
    font-size:12px;
    margin:0;
    flex:0 0 auto;
    position:relative;
    z-index:1;
  }
  .gm5-card-topbadges .gm5-card-badge em {
    color:#fff0cc;
    font-size:12.5px;
    line-height:1;
    font-weight:800;
    letter-spacing:.35px;
    position:relative;
    z-index:1;
  }
  .gm5-card-topbadges .gm5-badge-pink {
    background:linear-gradient(105deg,#51408e,#8061c8 72%,#ab96e6);
  }
  @keyframes gm10RibbonGlint {
    0%,60% { left:-65%; opacity:0; }
    69% { opacity:.4; }
    82%,100% { left:145%; opacity:0; }
  }
}
@media (min-width:1025px) and (max-width:1280px) {
  .gm5-hero-stage { height:270px; }
  .gm5-hero-slide h1 { font-size:29px; }
}
@media (prefers-reduced-motion:reduce) {
  .gm5-card-topbadges .gm5-card-badge::after { animation:none!important; }
}


/* ===========================================================
   GEONMANARA PC V11: partner entry / compact footer / CTA / quickbars
   Applies to desktop main only (V10 baseline) and reuses V9 footer.
   =========================================================== */
@media (min-width:1025px) {
  /* Bring back the original partner-page entry for authorized accounts. */
  .gm5-header .gm5-utility-row { min-height:34px; }
  .gm5-header .gm5-utility { min-height:34px; }
  .gm5-header .gm5-account { gap:12px; }
  .gm5-header .gm5-account .gm5-partner-page {
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    min-height:28px; padding:5px 11px; border:1px solid #dcd6ff;
    border-radius:8px; color:#6350d5; background:#f5f2ff;
    font-size:14px; font-weight:800; line-height:1.2; white-space:nowrap;
    transition:background .18s,border-color .18s,color .18s;
  }
  .gm5-header .gm5-account .gm5-partner-page i { font-size:13px; color:#7962ea; }
  .gm5-header .gm5-account .gm5-partner-page:hover,
  .gm5-header .gm5-account .gm5-partner-page:focus-visible {
    background:#ece5ff; border-color:#b6a5fd; color:#4f3cbb;
  }

  /* Business registration: an unmistakable warm CTA, distinct from blue/violet Search. */
  .gm5-header .gm5-cta {
    display:inline-flex!important; flex-direction:row!important;
    align-items:center; justify-content:center; gap:10px;
    min-width:166px; min-height:55px; padding:9px 15px;
    background:linear-gradient(120deg,#e45283 0%,#ef6674 100%)!important;
    border:1px solid rgba(217,55,103,.28); border-radius:12px;
    color:#fff!important; text-decoration:none;
    box-shadow:0 6px 17px rgba(224,75,121,.21)!important;
    transition:filter .18s,box-shadow .18s,transform .18s;
    white-space:nowrap;
  }
  .gm5-header .gm5-cta > i {
    display:inline-flex; flex:0 0 auto; align-items:center;
    justify-content:center; width:30px; height:30px;
    border:1px solid rgba(255,255,255,.38); border-radius:8px;
    background:rgba(255,255,255,.16); font-size:16px; color:#fff;
  }
  .gm5-header .gm5-cta .gm5-cta-copy {
    display:flex!important; flex-direction:column; align-items:flex-start;
    gap:3px; margin:0!important; opacity:1!important;
    color:#fff!important;
  }
  .gm5-header .gm5-cta .gm5-cta-copy strong { font-size:17px; line-height:1.1; font-weight:850; color:#fff!important; }
  .gm5-header .gm5-cta .gm5-cta-copy small { display:block; color:rgba(255,255,255,.96); font-size:12px; line-height:1.2; font-weight:600; }
  .gm5-header .gm5-cta:hover,
  .gm5-header .gm5-cta:focus-visible { filter:brightness(1.045); box-shadow:0 8px 21px rgba(224,75,121,.30)!important; transform:translateY(-1px); }

  /* Every category is a single continuous horizontal row.
     Region and theme each get their own full-width track for readability. */
  .gm5-app .gm5-quickbar {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    gap:8px; margin-bottom:15px;
  }
  .gm5-app .gm5-quick-divider { display:none!important; }
  .gm5-app .gm5-quick-group {
    display:flex!important; flex-direction:row!important;
    flex-wrap:nowrap!important; align-items:center; width:100%; min-width:0;
    gap:12px; margin:0;
  }
  .gm5-app .gm5-quick-group > strong {
    flex:0 0 86px; justify-content:flex-start; font-size:15px; white-space:nowrap;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list {
    display:flex!important; flex:1 1 auto; min-width:0;
    flex-wrap:nowrap!important; align-items:center; gap:5px;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list a {
    flex:0 0 auto; white-space:nowrap; font-size:14px;
    height:30px; padding:0 10px;
    line-height:1; transition:background .16s,border-color .16s,color .16s;
  }
  /* Regional controls retain their existing neutral outline-chip style. */
  .gm5-app .gm5-quick-region .gm5-chip-list a { background:#fff; border:1px solid #e2e7f2; color:#596785; border-radius:999px; }
  .gm5-app .gm5-quick-region .gm5-chip-list a:hover { background:#f1eeff; border-color:#b8a9f4; color:#6451d9; }
  .gm5-app .gm5-quick-region .gm5-chip-list a.gm5-chip-current { background:#6961f6; color:#fff; border-color:#6961f6; }

  /* Themes are soft, squarer lavender tiles (not the same buttons as regions). */
  .gm5-app .gm5-quick-theme { background:#faf8ff; border:1px solid #eee9ff; border-radius:11px; padding:6px 9px; }
  .gm5-app .gm5-quick-theme > strong { flex-basis:77px; color:#6651c9; }
  .gm5-app .gm5-quick-theme > strong i { color:#8d6bea; }
  .gm5-app .gm5-quick-theme .gm5-chip-list { gap:7px; }
  .gm5-app .gm5-quick-theme .gm5-chip-list a {
    background:#f0eafd; border:1px solid #e4dafa; color:#6b57b6;
    border-radius:8px; padding:0 12px; height:31px; font-weight:750;
  }
  .gm5-app .gm5-quick-theme .gm5-chip-list a:hover {
    background:#e6dcff; border-color:#c6b2f5; color:#5940b5;
  }
  .gm5-app .gm5-quick-theme .gm5-chip-list a.gm5-chip-current {
    background:linear-gradient(125deg,#8a6af1,#a57bee);
    border-color:#8868ee; color:#fff;
  }

  /* Footer: same legal copy and brand design, less empty vertical space. */
  .gm9-footer { margin-top:13px!important; }
  .gm9-footer-inner { padding:15px 0 13px!important; }
  .gm9-footer-topline { height:2px; }
  .gm9-footer-main { gap:16px; padding-bottom:13px!important; }
  .gm9-footer-logo svg { width:36px; height:34px; }
  .gm9-footer-logo span { font-size:23px; }
  .gm9-footer-brand p { margin:3px 0 0; font-size:14px; }
  .gm9-footer-links { gap:7px; }
  .gm9-footer-links a { min-height:34px; padding:7px 11px; border-radius:9px; font-size:14px; gap:7px; }
  .gm9-footer-links a i { font-size:14px; }
  .gm9-footer-details { padding:11px 0 10px!important; }
  .gm9-footer-details p { margin:0 0 3px!important; font-size:14px; line-height:1.55; }
  .gm9-footer-notice { padding-top:4px!important; }
  .gm9-footer-copyright { padding-top:10px!important; font-size:14px; }
}
@media (min-width:1025px) and (max-width:1220px) {
  .gm5-header .gm5-cta { min-width:143px; padding:8px 9px; gap:6px; }
  .gm5-header .gm5-cta > i { width:26px; height:26px; }
  .gm5-header .gm5-cta .gm5-cta-copy strong { font-size:16px; }
  .gm5-header .gm5-cta .gm5-cta-copy small { font-size:11px; }
  .gm5-app .gm5-quick-group { gap:8px; }
  .gm5-app .gm5-quick-group > strong { flex-basis:77px; font-size:14px; }
  .gm5-app .gm5-quick-group .gm5-chip-list { gap:4px; }
  .gm5-app .gm5-quick-group .gm5-chip-list a { font-size:13px; padding:0 7px; }
  .gm5-app .gm5-quick-theme > strong { flex-basis:72px; }
  .gm5-app .gm5-quick-theme .gm5-chip-list { gap:5px; }
  .gm5-app .gm5-quick-theme .gm5-chip-list a { padding:0 9px; }
  .gm9-footer-links a { padding:6px 9px; }
}


/* =====================================================
   GEONMANARA PC V12 — Brand lock-up / aligned quick rows / prestige emblem
   Scoped to the existing PC-only header and main page.
   ===================================================== */
@media (min-width:1025px) {
  /* Distinctive unified header/footer logo, optimized for legible Korean letters. */
  .gm5-header .gm5-logo {
    display:inline-flex; align-items:center; gap:9px; min-width:246px; margin-left:0;
    text-decoration:none;
  }
  .gm5-header .gm12-brand-mark {
    display:block; flex:0 0 auto; width:48px!important; height:48px!important;
    object-fit:contain; filter:drop-shadow(0 3px 5px rgba(104,77,207,.14));
  }
  .gm5-header .gm12-brand-copy {
    display:flex; flex-direction:column; gap:4px; justify-content:center;
    min-width:0;
  }
  .gm5-header .gm12-brand-copy strong {
    display:block; font-size:30px; font-weight:900; line-height:1.05;
    letter-spacing:-1.45px; white-space:nowrap;
    background:linear-gradient(115deg,#4c39b4 0%,#6756e8 47%,#9b70eb 100%);
    background-clip:text; -webkit-background-clip:text; color:transparent;
    -webkit-text-fill-color:transparent;
    text-shadow:0 5px 14px rgba(106,75,212,.065);
  }
  .gm5-header .gm12-brand-copy small {
    display:block; font-size:12px; line-height:1.28; color:#6e7794;
    letter-spacing:-.3px; white-space:nowrap; margin:0;
  }
  .gm5-header .gm5-mainbar-row { gap:13px; }
  /* Exactly +1 typographic point vs V11's 16px = +1.333 CSS px. */
  .gm5-header .gm5-nav { gap:7px; flex:1 1 auto; }
  .gm5-header .gm5-nav > a { font-size:17.333px; font-weight:800; gap:6px; padding:12px 4px; letter-spacing:-.4px; }
  .gm5-header .gm5-nav-icon { width:29px; height:29px; font-size:14px; }

  /* Lock the two popular-link rows to the same start X and baseline. */
  .gm5-app .gm5-quickbar {
    display:grid!important; grid-template-columns:minmax(0,1fr);
    row-gap:6px; align-items:stretch; margin-bottom:16px;
  }
  .gm5-app .gm5-quick-group.gm5-quick-region,
  .gm5-app .gm5-quick-group.gm5-quick-theme {
    display:grid!important; grid-template-columns:100px minmax(0,1fr)!important;
    align-items:center!important; column-gap:12px!important;
    padding:6px 10px!important; min-height:44px; margin:0;
    border-radius:10px; width:100%; box-sizing:border-box;
  }
  .gm5-app .gm5-quick-group.gm5-quick-region {
    border:1px solid #edf0f9; background:#fff;
  }
  .gm5-app .gm5-quick-group.gm5-quick-theme {
    border:1px solid #ebe5ff; background:#f9f7ff;
  }
  .gm5-app .gm5-quick-group > strong {
    display:flex; align-items:center; gap:7px; margin:0!important;
    min-width:0; width:auto; flex:none; white-space:nowrap;
    font-size:15px; line-height:1.3; letter-spacing:-.2px;
  }
  .gm5-app .gm5-quick-region > strong { color:#252d48; }
  .gm5-app .gm5-quick-theme > strong { color:#6951ce; }
  .gm5-app .gm5-quick-group .gm5-chip-list {
    display:flex!important; flex-wrap:nowrap!important; align-items:center;
    justify-content:flex-start; width:100%; min-width:0; margin:0!important;
    padding:0!important; gap:6px;
    overflow-x:auto; overflow-y:hidden; scrollbar-width:none;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list::-webkit-scrollbar { display:none; }
  .gm5-app .gm5-quick-theme .gm5-chip-list { gap:8px; }
  .gm5-app .gm5-quick-group .gm5-chip-list a {
    display:inline-flex; align-items:center; justify-content:center;
    height:30px; flex:0 0 auto; line-height:1; white-space:nowrap;
  }
  /* Keep regional and thematic chip treatments clearly different. */
  .gm5-app .gm5-quick-region .gm5-chip-list a { border-radius:999px; }
  .gm5-app .gm5-quick-theme .gm5-chip-list a {
    border-radius:8px; background:#eee9ff; border-color:#ded5fb;
    color:#664bb7; font-weight:800;
  }

  /* Top-corner metal-enamel prestige insignia: attached ribbon + moving gold sheen.
     Purely decorative animation; the badge is NOT a button. */
  .gm5-app .gm5-card-image { isolation:isolate; }
  .gm5-app .gm5-card-topbadges {
    top:0!important; left:0!important; right:auto!important;
    position:absolute!important; z-index:5; margin:0;
    display:flex; max-width:calc(100% - 77px); min-height:38px;
    overflow:visible!important;
    filter:drop-shadow(0 3px 4px rgba(15,12,27,.34));
    animation:gm12EmblemShadow 4.8s ease-in-out infinite;
  }
  .gm5-app .gm5-card-topbadges .gm5-card-badge {
    position:relative!important; left:0!important; top:0!important;
    right:auto!important; bottom:auto!important;
    display:inline-flex!important;
    justify-content:flex-start; align-items:center;
    width:auto; min-height:38px; height:38px;
    padding:0 23px 0 11px!important; margin:0;
    clip-path:polygon(0 0,100% 0,calc(100% - 10px) 50%,100% 100%,0 100%);
    border:none!important; border-top:2px solid #f4cf79!important;
    border-radius:0!important;
    overflow:hidden; isolation:isolate;
    color:#fff1c5;
    background:linear-gradient(105deg,#1a1632 0%,#39274d 25%,#76522e 49%,#b8883e 62%,#493050 82%,#201832 100%)!important;
    background-size:260% 100%!important;
    text-shadow:0 1px 2px rgba(19,10,36,.5);
    box-shadow:none!important;
    animation:gm12MetalSweep 7s ease-in-out infinite!important;
  }
  .gm5-app .gm5-card-topbadges .gm5-card-badge::before {
    content:""; position:absolute; left:0; right:0; top:auto; bottom:0;
    height:2px; border:0; border-radius:0;
    background:linear-gradient(90deg,#a87f36,#ffeab6 50%,#b28b49);
    opacity:.83; pointer-events:none;
  }
  .gm5-app .gm5-card-topbadges .gm5-card-badge::after {
    content:""; position:absolute; top:-14px; bottom:-14px; left:-75%;
    width:35%; background:linear-gradient(105deg,transparent,rgba(255,247,218,.12) 20%,rgba(255,255,245,.74) 50%,rgba(255,247,218,.1) 80%,transparent);
    transform:skewX(-25deg); opacity:0;
    animation:gm12Glint 4.7s ease-in-out infinite!important;
    pointer-events:none;
  }
  .gm5-app .gm5-card-topbadges .gm5-card-badge i {
    position:relative; z-index:1; display:inline-block;
    color:#ffe2a0!important; font-size:15px!important; margin:0 6px 0 0!important;
    text-shadow:0 0 8px rgba(250,209,112,.35);
    animation:gm12CrownGlow 3s ease-in-out infinite;
  }
  .gm5-app .gm5-card-topbadges .gm12-crown {
    position:relative; z-index:1; display:block; flex:0 0 auto;
    width:17px; height:17px; margin-right:6px;
    color:#ffe1a0; filter:drop-shadow(0 0 5px rgba(248,208,105,.32));
    animation:gm12CrownGlow 3s ease-in-out infinite;
  }
  .gm5-app .gm5-card-topbadges .gm5-card-badge em {
    position:relative; z-index:1; display:inline-block;
    color:#fff3cf!important; font-size:12.6px!important; font-style:normal;
    font-weight:900!important; letter-spacing:.8px; line-height:1;
  }
  /* A tiny star on the trailing ribbon edge adds a jewelry-like detail. */
  .gm5-app .gm5-card-topbadges::after {
    content:"✦"; position:absolute; z-index:6; right:8px; top:11px;
    font-size:10px; line-height:1; color:#ffdea0;
    text-shadow:0 0 6px #ffdb83;
    pointer-events:none; animation:gm12Twinkle 2.6s ease-in-out infinite;
  }
  /* Non-premium/new-entry label retains its own purple identity. */
  .gm5-app .gm5-card-topbadges .gm5-badge-pink {
    background:linear-gradient(120deg,#4b3389,#8c6fea,#55419e)!important;
    border-top-color:#d6c9ff!important;
    animation:none!important;
  }
  @keyframes gm12MetalSweep {
    0%,100% {background-position:0% 50%;}
    52% {background-position:95% 50%;}
  }
  @keyframes gm12Glint {
    0%,39% {left:-75%;opacity:0;}
    48% {opacity:.45;}
    63% {left:125%;opacity:0;}
    100% {left:125%;opacity:0;}
  }
  @keyframes gm12CrownGlow {
    0%,100% {filter:brightness(1);transform:translateY(0);}
    50% {filter:brightness(1.23);transform:translateY(-1px);}
  }
  @keyframes gm12Twinkle {
    0%,100% {opacity:.5;transform:scale(.85);}
    48% {opacity:1;transform:scale(1.22);}
  }
  @keyframes gm12EmblemShadow {
    0%,100% {filter:drop-shadow(0 3px 4px rgba(15,12,27,.3));}
    50% {filter:drop-shadow(0 4px 8px rgba(157,105,41,.46));}
  }

  /* Footer uses exactly the same lotus file and refined typography as header. */
  .gm9-footer .gm9-footer-brand { display:flex; flex-direction:column; gap:2px; }
  .gm9-footer .gm12-footer-logo { display:inline-flex; align-items:center; gap:8px; }
  .gm9-footer .gm12-footer-logo .gm12-brand-mark {
    width:43px!important; height:43px!important; object-fit:contain;
    display:block; flex:0 0 auto; filter:drop-shadow(0 2px 4px rgba(104,77,207,.11));
  }
  .gm9-footer .gm12-footer-logo span {
    font-size:25px; line-height:1.1; font-weight:900; letter-spacing:-1.1px;
    background:linear-gradient(110deg,#4e3db9,#6756e8,#9570df);
    background-clip:text; -webkit-background-clip:text; color:transparent;
    -webkit-text-fill-color:transparent;
  }
  .gm9-footer .gm9-footer-brand p { font-size:13px; margin:0; padding-left:51px; color:#747d9b; }
}
/* Medium desktop: preserve the exact 1pt increase over V11's 14px. */
@media (min-width:1025px) and (max-width:1300px) {
  .gm5-header .gm5-logo { min-width:218px; gap:6px; }
  .gm5-header .gm12-brand-mark { width:41px!important; height:41px!important; }
  .gm5-header .gm12-brand-copy strong { font-size:26px; }
  .gm5-header .gm12-brand-copy small { font-size:11px; }
  .gm5-header .gm5-nav { gap:3px; }
  .gm5-header .gm5-nav > a { font-size:15.333px; gap:4px; padding:10px 2px; letter-spacing:-.48px; }
  .gm5-header .gm5-nav-icon { width:24px; height:24px; font-size:12px; }
  .gm5-app .gm5-quick-group.gm5-quick-region,
  .gm5-app .gm5-quick-group.gm5-quick-theme { grid-template-columns:90px minmax(0,1fr)!important; column-gap:8px!important; }
  .gm5-app .gm5-quick-group .gm5-chip-list a { padding:0 8px; font-size:13px; }
}
/* Compact desktop: V11 was 13px here; raise by 1pt while fitting the header. */
@media (min-width:1025px) and (max-width:1130px) {
  .gm5-header .gm5-logo { min-width:189px; gap:4px; }
  .gm5-header .gm12-brand-mark { width:36px!important; height:36px!important; }
  .gm5-header .gm12-brand-copy strong { font-size:23px; }
  .gm5-header .gm12-brand-copy small { font-size:10.5px; letter-spacing:-.5px; }
  .gm5-header .gm5-mainbar-row { gap:6px; }
  .gm5-header .gm5-nav { gap:1px; }
  .gm5-header .gm5-nav > a { font-size:14.333px; gap:2px; padding:8px 1px; letter-spacing:-.48px; }
  .gm5-header .gm5-nav-icon { width:21px; height:21px; font-size:11px; }
  .gm5-app .gm5-quick-group.gm5-quick-region,
  .gm5-app .gm5-quick-group.gm5-quick-theme { grid-template-columns:84px minmax(0,1fr)!important; }
}
@media (prefers-reduced-motion:reduce) {
  .gm5-app .gm5-card-topbadges,
  .gm5-app .gm5-card-topbadges .gm5-card-badge,
  .gm5-app .gm5-card-topbadges .gm5-card-badge i,
  .gm5-app .gm5-card-topbadges .gm12-crown,
  .gm5-app .gm5-card-topbadges .gm5-card-badge::after,
  .gm5-app .gm5-card-topbadges::after { animation:none!important; }
}


/* ===== V13 brand / premium / quickbar polish ===== */
@media (min-width:1025px) {
  /* logo: move away from lotus-like look */
  .gm12-brand-mark { object-fit:contain; filter: drop-shadow(0 8px 18px rgba(112,88,235,.16)); }
  .gm5-header .gm5-logo { gap:12px; }
  .gm5-header .gm5-logo-mark { width:46px; height:46px; }
  .gm5-header .gm5-logo-copy strong { letter-spacing:-1.2px; color:#5c51e6; }
  .gm5-header .gm5-logo-copy small { color:#7b82a0; }
  .gm9-footer-logo { gap:12px; }
  .gm9-footer-logo img { width:50px; height:50px; }

  /* header/footer brand text proportions */
  .gm9-footer-brand p { margin:10px 0 0; }
  .gm9-footer-details > p:first-child { white-space:nowrap; font-size:14px; }
  .gm9-footer-details .gm9-footer-divider {
    display:inline-block; width:5px; height:5px; margin:0 10px; border-radius:50%; background:#c7cce0; vertical-align:middle;
  }

  /* align quick region/theme rows */
  .gm5-app .gm5-quickbar { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
  .gm5-app .gm5-quick-divider { display:none; }
  .gm5-app .gm5-quick-group { min-width:0; display:flex; align-items:center; gap:14px; }
  .gm5-app .gm5-quick-group strong {
    flex:0 0 96px; min-width:96px; max-width:96px; margin:0; display:inline-flex; align-items:center; gap:8px; justify-content:flex-start;
    font-size:27px; letter-spacing:-.2px;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list { flex:1 1 auto; min-width:0; }
  .gm5-app .gm5-quick-theme .gm5-chip-list { justify-content:flex-start; }

  /* premium all visible in 5-column wrapping grid */
  .gm5-featured-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }

  /* diagonal premium badge that matches area pill */
  .gm5-card-topbadges { top:12px; left:-7px; max-width:none; overflow:visible; }
  .gm5-card-topbadges .gm5-card-badge {
    position:relative; display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 14px 0 12px; border-radius:10px;
    background:linear-gradient(135deg,#251d38 0%,#4c3a51 46%,#ad7c32 100%); color:#fff4d1; border:1px solid rgba(247,214,139,.85);
    box-shadow:0 8px 20px rgba(21,16,37,.28); overflow:hidden; transform:rotate(-12deg); transform-origin:left center; 
    animation:gm13BadgeFloat 3.3s ease-in-out infinite;
  }
  .gm5-card-topbadges .gm5-card-badge::before {
    content:''; position:absolute; inset:2px; border-radius:8px; border:1px solid rgba(255,236,191,.28); pointer-events:none;
  }
  .gm5-card-topbadges .gm5-card-badge::after {
    content:''; position:absolute; top:-18px; bottom:-18px; left:-28px; width:26px; transform:rotate(12deg);
    background:linear-gradient(90deg,transparent 0%, rgba(255,255,255,.62) 45%, transparent 100%); animation:gm13BadgeShine 2.7s linear infinite;
  }
  .gm5-card-topbadges .gm12-crown { width:14px; height:14px; color:#f7cd74; filter:drop-shadow(0 1px 0 rgba(0,0,0,.18)); position:relative; z-index:2; }
  .gm5-card-topbadges .gm5-card-badge em { position:relative; z-index:2; font-size:11px; font-weight:900; letter-spacing:.85px; }
  .gm5-card-topbadges .gm5-badge-pink { background:linear-gradient(135deg,#7245f0 0%,#9f6cff 100%); border-color:#d4c0ff; color:#fff; }
  @keyframes gm13BadgeFloat {
    0%,100% { transform:rotate(-12deg) translateY(0); }
    50% { transform:rotate(-12deg) translateY(-2px); }
  }
  @keyframes gm13BadgeShine {
    0% { left:-42px; opacity:0; }
    12% { opacity:1; }
    50% { left:108%; opacity:.92; }
    100% { left:108%; opacity:0; }
  }

  /* match with area badge */
  .gm5-area-float {
    top:11px; right:11px; bottom:auto; padding:7px 12px; border-radius:999px; font-size:12px; background:rgba(255,255,255,.96);
    color:#5f52d9; border:1px solid rgba(223,216,255,.95); box-shadow:0 8px 18px rgba(49,38,108,.10);
  }

  /* footer tighter but single-line company info */
  .gm5-content-wrap ~ .container-wrap .footer-copyright { padding:22px 26px 24px!important; }
  .gm9-footer-details { display:flex; flex-direction:column; gap:10px; }
  .gm9-footer-notice { margin-top:0!important; }
}
@media (min-width:1025px) and (max-width:1240px) {
  .gm5-app .gm5-quick-group strong { flex-basis:88px; min-width:88px; max-width:88px; font-size:25px; }
  .gm9-footer-details > p:first-child { white-space:normal; }
}


/* ==============================================================
  GMN V14: restore classic two horizontal quick rows, new GM logo,
  premium CARD FRAME (no outside ribbon). Desktop homepage only.
  ============================================================== */
@media (min-width:1025px) {
  /* V13 accidentally forced a 2-column 1fr/1fr grid and enlarged headings to 27px.
     Restore the V12 single-column / 2-row layout with aligned chip start. */
  .gm5-app .gm5-quickbar {
    display:flex!important; flex-direction:column!important;
    align-items:stretch!important; justify-content:flex-start!important;
    gap:6px!important; margin-bottom:15px!important;
    grid-template-columns:none!important;
  }
  .gm5-app .gm5-quick-divider { display:none!important; }
  .gm5-app .gm5-quick-group.gm5-quick-region,
  .gm5-app .gm5-quick-group.gm5-quick-theme {
    display:grid!important; grid-template-columns:100px minmax(0,1fr)!important;
    align-items:center!important; width:100%!important;
    min-width:0!important; min-height:42px!important;
    column-gap:12px!important; row-gap:0!important;
    margin:0!important; padding:5px 11px!important;
    border-radius:10px!important;
  }
  .gm5-app .gm5-quick-group.gm5-quick-region { background:#fff!important; border:1px solid #e9edf6!important; }
  .gm5-app .gm5-quick-group.gm5-quick-theme { background:#faf8ff!important; border:1px solid #ece6ff!important; }
  .gm5-app .gm5-quick-group > strong,
  .gm5-app .gm5-quick-group.gm5-quick-region > strong,
  .gm5-app .gm5-quick-group.gm5-quick-theme > strong {
    display:inline-flex!important; align-items:center!important;
    font-size:15px!important; line-height:1.25!important;
    font-weight:800!important; letter-spacing:-.2px!important;
    width:auto!important; min-width:0!important; max-width:none!important;
    flex:none!important; gap:7px!important; white-space:nowrap!important;
    margin:0!important; padding:0!important;
  }
  .gm5-app .gm5-quick-region > strong { color:#28304A!important; }
  .gm5-app .gm5-quick-theme > strong { color:#6c51c8!important; }
  .gm5-app .gm5-quick-group .gm5-chip-list {
    display:flex!important; align-items:center!important; justify-content:flex-start!important;
    flex:1 1 auto!important; width:100%!important; min-width:0!important;
    gap:6px!important; padding:0!important; margin:0!important;
    flex-wrap:nowrap!important; overflow-x:auto!important; overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list::-webkit-scrollbar { display:none; }
  .gm5-app .gm5-quick-group .gm5-chip-list a {
    flex:0 0 auto!important; white-space:nowrap!important;
    font-size:13px!important; height:29px!important; padding:0 10px!important;
  }
  .gm5-app .gm5-quick-region .gm5-chip-list a { border-radius:999px!important; }
  .gm5-app .gm5-quick-theme .gm5-chip-list a {
    border-radius:8px!important; background:#f0eaff!important;
    color:#6c55b9!important; border-color:#e1d7fb!important;
  }
  .gm5-app .gm5-quick-theme .gm5-chip-list a.gm5-chip-current {
    background:linear-gradient(130deg,#8a6cf2,#a481f5)!important;
    color:#fff!important; border-color:#8a6cf2!important;
  }

  /* New brand: eight-sided GM initial monogram, no flower/lotus motif. */
  .gm5-header .gm12-brand-mark,
  .gm9-footer .gm12-brand-mark {
    object-fit:contain!important;
    filter:drop-shadow(0 3px 5px rgba(80,67,168,.16))!important;
  }
  .gm5-header .gm14-wordmark,
  .gm9-footer .gm14-wordmark {
    display:inline-flex!important; align-items:center!important; gap:0!important;
    background:none!important; -webkit-text-fill-color:initial!important;
    text-shadow:none!important; white-space:nowrap!important;
    letter-spacing:-1.15px!important;
  }
  .gm5-header .gm14-wordmark > span:first-child,
  .gm9-footer .gm14-wordmark > span:first-child {
    color:#6855EB!important; -webkit-text-fill-color:#6855EB!important;
  }
  .gm5-header .gm14-wordmark > span:last-child,
  .gm9-footer .gm14-wordmark > span:last-child {
    color:#293050!important; -webkit-text-fill-color:#293050!important;
  }
  .gm5-header .gm5-logo { gap:10px!important; }
  .gm9-footer .gm9-footer-logo { gap:10px!important; }
  .gm9-footer .gm9-footer-logo .gm14-footer-wordmark { font-size:25px!important; font-weight:900!important; }

  /* Premium is now a CARD TYPE, not a protruding photo sticker. */
  .gm5-app .gm5-featured-grid { grid-template-columns:repeat(5,minmax(0,1fr))!important; }
  .gm5-app .gm14-premium-card {
    position:relative!important; overflow:hidden!important;
    border:1px solid #cbb27c!important; border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 2px 10px rgba(63,47,91,.06),0 0 0 1px rgba(229,207,154,.12)!important;
    transition:transform .2s ease,box-shadow .2s ease!important;
  }
  .gm5-app .gm14-premium-card:hover {
    transform:translateY(-2px)!important;
    box-shadow:0 10px 25px rgba(66,51,91,.13),0 0 0 1px rgba(207,174,98,.18)!important;
  }
  .gm5-app .gm14-premium-head {
    position:relative; isolation:isolate; overflow:hidden;
    height:33px; padding:0 12px; display:flex; align-items:center;
    gap:7px; color:#ffe7b1;
    background:linear-gradient(105deg,#24253f 0%,#343149 68%,#554334 100%);
    border-bottom:1px solid #d9b46d;
    font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;
    pointer-events:none;
  }
  .gm5-app .gm14-premium-head::before {
    content:''; position:absolute; top:-20px; bottom:-20px; left:-50%; width:38px;
    transform:skewX(-24deg);
    background:linear-gradient(90deg,transparent,rgba(255,239,195,.23),rgba(255,255,240,.48),transparent);
    animation:gm14GoldGlide 6s ease-in-out infinite; z-index:0;
  }
  .gm5-app .gm14-premium-head::after {
    content:'✦'; position:absolute; right:11px; top:6px; font-size:13px; color:#e8c378;
    opacity:.7; animation:gm14StarPulse 3.6s ease-in-out infinite; z-index:1;
  }
  .gm5-app .gm14-premium-gem {
    position:relative; z-index:2; display:inline-flex; align-items:center;
    justify-content:center; width:23px; height:23px; flex:0 0 23px;
    color:#ffe09b; border:1px solid rgba(243,204,124,.6);
    border-radius:7px; background:rgba(255,216,143,.10);
    box-shadow:inset 0 1px 3px rgba(255,255,255,.13);
  }
  .gm5-app .gm14-premium-label {
    position:relative; z-index:2; font-size:13px; font-weight:900;
    letter-spacing:1px; line-height:1; color:#ffe4a1;
  }
  .gm5-app .gm14-premium-tier {
    position:relative; z-index:2; margin-left:2px;
    font-size:11px; font-weight:650; letter-spacing:1px;
    color:rgba(239,210,151,.67);
  }
  .gm5-app .gm14-premium-card .gm5-card-image {
    height:122px!important; border-radius:0!important;
  }
  .gm5-app .gm14-premium-card .gm5-area-float {
    position:absolute!important; top:9px!important; right:9px!important; bottom:auto!important;
    color:#6252b8!important; background:rgba(255,255,255,.96)!important;
    padding:5px 10px!important; border-radius:9px!important;
    border:1px solid #dcd5f3!important; box-shadow:0 2px 7px rgba(50,47,76,.13)!important;
    font-size:12px!important;
  }
  @keyframes gm14GoldGlide {
    0%,28% {left:-52%;opacity:0;} 42% {opacity:.55;} 65% {left:115%;opacity:0;} 100% {left:115%;opacity:0;}
  }
  @keyframes gm14StarPulse {0%,100%{opacity:.36;transform:scale(.85)}50%{opacity:.9;transform:scale(1.13)}}
}
@media (min-width:1025px) and (max-width:1300px) {
  .gm5-app .gm5-quick-group.gm5-quick-region,
  .gm5-app .gm5-quick-group.gm5-quick-theme {
    grid-template-columns:90px minmax(0,1fr)!important;
    padding:5px 8px!important; column-gap:8px!important;
  }
  .gm5-app .gm5-quick-group .gm5-chip-list a {padding:0 8px!important; font-size:13px!important;}
}
@media (prefers-reduced-motion:reduce) {
  .gm5-app .gm14-premium-head::before,
  .gm5-app .gm14-premium-head::after {animation:none!important;}
}
