/* GrowMap 새 화면(v2). 시안 5에서 가져옴. */

  :root {
    --bg: #FFFFFF; --soft: #F4F5F7; --line: #E9EBEE;
    --ink: #17191C; --ink2: #4E5560; --ink3: #8B929C;
    --ok: #0E9F6E;
    --heat: #EE5A2B;
    --r: 16px;
    --shadow: 0 1px 2px rgba(23,25,28,.06), 0 6px 20px rgba(23,25,28,.10);
  }
  * { box-sizing: border-box; margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body { background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; font-feature-settings: "tnum"; -webkit-font-smoothing: antialiased; }
  button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--soft); }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  [hidden] { display: none !important; }
  svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

  .app { max-width: 1120px; margin: 0 auto; padding-bottom: 84px; }
  .bar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; }
  .logo { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
  .logo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #F2A31B, #DC2B3F); }
  .bar .login { font-weight: 600; font-size: 14px; color: var(--ink2); padding: 8px 4px; }


  /* 파트너 광고판 */
  .board { display: flex; align-items: center; height: 44px; background: var(--ink); color: #fff; overflow: hidden; }
  .board .lab { flex: none; height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 14px 0 20px; font-weight: 700; font-size: 12px; color: #F5C56B; background: var(--ink); position: relative; z-index: 1; box-shadow: 12px 0 14px var(--ink); }
  .board .lab::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
  .board .run { display: flex; flex: none; animation: run 36s linear infinite; }
  .board:hover .run { animation-play-state: paused; }
  @keyframes run { to { transform: translateX(-50%); } }
  .board a { flex: none; display: flex; align-items: baseline; gap: 8px; padding: 0 26px; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
  .board a small { font-weight: 500; font-size: 12px; color: #A9AFB8; letter-spacing: 0; }

  /* 첫 장면 */
  .stage { position: relative; display: block; width: 100%; height: min(64vh, 520px); overflow: hidden; color: #fff; background: var(--ink); }
  .stage img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
  .stage img.on { opacity: 1; }
  .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,25,28,.55) 0%, rgba(23,25,28,0) 30%, rgba(23,25,28,0) 40%, rgba(23,25,28,.86) 100%); }
  .stage .segs { position: absolute; z-index: 2; left: 16px; right: 16px; top: 12px; display: flex; gap: 4px; }
  .stage .segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
  .stage .segs i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
  .stage .segs i.done::after { width: 100%; }
  .stage .segs i.now::after { animation: fill 4.5s linear forwards; }
  @keyframes fill { to { width: 100%; } }
  .stage .top { position: absolute; z-index: 2; left: 20px; top: 28px; font-weight: 700; font-size: 14px; }
  .stage .txt { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 22px; }
  .stage .big { font-weight: 800; font-size: clamp(104px, 31vw, 168px); line-height: .86; letter-spacing: -.05em; margin-left: -4px; }
  .stage .big sup { font-size: .42em; font-weight: 700; vertical-align: top; position: relative; top: .1em; }
  .stage h1 { font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin-top: 10px; }
  .stage p { font-size: 15px; opacity: .92; margin-top: 2px; word-break: keep-all; }
  .stage .live { color: #6EE7B7; font-size: 13px; margin-top: 8px; }
  .maphead { padding: 30px 20px 6px; }
  .maphead h2 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
  .maphead p { color: var(--ink2); margin-top: 4px; word-break: keep-all; }

  /* 지도 */
  .map { position: relative; padding: 14px 0 34px; background: radial-gradient(120% 90% at 50% 0%, #1B2342 0%, #0B0F1E 70%); overflow: hidden; }
  .mapin { position: relative; width: 100%; aspect-ratio: 1000 / 520; }
  .mapin svg.sky { overflow: visible; }
  .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .map path { fill: #1C2440; }

  .star { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; }
  .star > * { position: absolute; pointer-events: none; }
  .star .halo { width: calc(var(--s) * 2); height: calc(var(--s) * 2); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 70%, transparent) 0%, color-mix(in srgb, var(--c) 22%, transparent) 38%, transparent 68%); animation: breathe calc(var(--d) * 1.7) ease-in-out infinite alternate; }
  .star .ray { width: calc(var(--s) * 3.4); height: 1.5px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 60%, #fff) 35%, #fff 50%, color-mix(in srgb, var(--c) 60%, #fff) 65%, transparent); animation: glint var(--d) ease-in-out infinite; animation-delay: var(--dl); }
  .star .ray.v { transform: rotate(90deg); animation-name: glintv; }
  .star .ray.x { width: calc(var(--s) * 1.5); height: 1px; opacity: .7; transform: rotate(45deg); animation-name: glintx; animation-duration: calc(var(--d) * 1.3); }
  .star .ray.y { width: calc(var(--s) * 1.5); height: 1px; opacity: .7; transform: rotate(-45deg); animation-name: glinty; animation-duration: calc(var(--d) * 1.3); }
  .star .g { width: var(--s); height: var(--s); filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px var(--c)) drop-shadow(0 0 16px var(--c)); animation: spark var(--d) ease-in-out infinite; animation-delay: var(--dl); }
  .star .core { inset: 0; background: radial-gradient(circle, #fff 0 30%, color-mix(in srgb, var(--c) 45%, #fff) 70%); clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%); }
  /* 반짝: 대부분은 잔잔하다가 한 번씩 번쩍 */
  @keyframes spark { 0%, 100% { transform: scale(.78) rotate(0deg); opacity: .85; } 42% { transform: scale(.9) rotate(6deg); opacity: .9; } 50% { transform: scale(1.5) rotate(0deg); opacity: 1; } 58% { transform: scale(.92) rotate(-6deg); opacity: .9; } }
  @keyframes glint { 0%, 100% { transform: scaleX(.35); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }
  @keyframes glintv { 0%, 100% { transform: rotate(90deg) scaleX(.35); opacity: .35; } 50% { transform: rotate(90deg) scaleX(1); opacity: 1; } }
  @keyframes glintx { 0%, 100% { transform: rotate(45deg) scaleX(.2); opacity: 0; } 50% { transform: rotate(45deg) scaleX(1); opacity: .75; } }
  @keyframes glinty { 0%, 100% { transform: rotate(-45deg) scaleX(.2); opacity: 0; } 50% { transform: rotate(-45deg) scaleX(1); opacity: .75; } }
  @keyframes breathe { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.15); opacity: 1; } }
  .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px rgba(255,255,255,.8); }
  .star.hit .halo { animation: hit 1.1s ease-out; }
  .star.hit .g { animation: hitg 1.1s ease-out; }
  @keyframes hit { 0% { transform: scale(1); } 25% { transform: scale(2.6); opacity: 1; } 100% { transform: scale(1); } }
  @keyframes hitg { 0% { transform: scale(1); } 25% { transform: scale(2.2) rotate(45deg); } 100% { transform: scale(1); } }
  .dust.tw { animation: dtw 2.4s ease-in-out infinite; box-shadow: 0 0 4px #fff; }
  @keyframes dtw { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.6); } }
  .dust { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .35; }

  /* 응원이 날아가는 장면 */
  .fly { position: fixed; inset: 0; z-index: 40; background: radial-gradient(120% 80% at 50% 20%, #1B2342 0%, #080B17 75%); color: #fff; display: grid; grid-template-rows: 1fr auto 1fr; animation: fin .25s ease-out; }
  .fly.out { opacity: 0; transition: opacity .35s; }
  @keyframes fin { from { opacity: 0; } }
  .fly svg { grid-row: 2; width: 100%; display: block; overflow: visible; }
  .fly .land { fill: #1C2440; }
  .fly .arc { fill: none; stroke: url(#arcg); stroke-width: 2.2; stroke-linecap: round; }
  .fly .comet { fill: #fff; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--c)); }
  .fly .me { fill: #fff; opacity: .9; }
  .fly .dest { fill: var(--c); }
  .fly .ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
  .fly.boom .ring { animation: ring 1s ease-out forwards; }
  .fly.boom .ring.r2 { animation-delay: .18s; }
  @keyframes ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(6); } }
  .fly text { fill: #fff; font-size: 11px; font-weight: 600; opacity: .8; }
  .fly .cap { grid-row: 3; align-self: start; text-align: center; padding: 26px 24px 0; }
  .fly .cap b { display: block; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.04em; color: var(--c); }
  .fly .cap span { display: block; margin-top: 10px; font-weight: 700; font-size: 18px; }
  .fly .cap small { display: block; margin-top: 4px; color: #A9AFB8; font-size: 14px; }
  .fly .cap { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
  .fly.boom .cap { opacity: 1; transform: none; }
  .chip { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 7px; border-radius: 13px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: 13px; white-space: nowrap; transition: transform .15s; }
  .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
  .chip[aria-pressed="true"] { background: var(--ink); color: #fff; z-index: 3; transform: translate(-50%, -50%) scale(1.12); }

  .peek { position: relative; z-index: 4; display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; margin: -22px 16px 0; padding: 10px 14px 10px 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); width: calc(100% - 32px); }
  .peek .ph { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
  .peek b { font-weight: 700; font-size: 16px; display: block; }
  .peek small { color: var(--ink3); font-size: 13px; }
  .live { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; font-size: 12px; }
  .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .live.off { color: var(--ink3); }
  .deg { font-weight: 800; letter-spacing: -.04em; color: var(--c); }
  .peek .deg { font-size: 30px; }

  .sec { padding: 28px 20px 0; }
  .sec h1 { font-weight: 800; font-size: 24px; line-height: 1.3; letter-spacing: -.03em; word-break: keep-all; }
  .sec h2 { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
  .sec p.lede { color: var(--ink2); margin-top: 6px; word-break: keep-all; }

  .cards { display: flex; gap: 12px; overflow-x: auto; padding: 14px 20px 6px; margin: 0 -20px; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 62%; max-width: 250px; scroll-snap-align: start; }
  .card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
  .tag { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 7px; border-radius: 13px; background: #fff; font-weight: 700; font-size: 13px; }
  .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
  .card b { display: block; font-weight: 700; margin-top: 10px; }
  .card small { color: var(--ink3); font-size: 13px; }

  .rank { list-style: none; padding: 0; margin-top: 8px; }
  .rank button { display: grid; grid-template-columns: 22px 44px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 11px 0; }
  .rank li + li { border-top: 1px solid var(--line); }
  .rank .n { color: var(--ink3); font-weight: 600; font-size: 14px; text-align: center; }
  .rank .ph { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
  .rank b { font-weight: 600; display: block; }
  .rank small { color: var(--ink3); font-size: 13px; }
  .rank .deg { font-size: 20px; }

  /* 가게 */
  .hero { position: relative; aspect-ratio: 4 / 3; max-height: 420px; width: 100%; overflow: hidden; }
  .round { position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
  .name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .name h1 { font-size: 26px; }
  .badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 6px; border-radius: 12px; background: #E8F7F1; color: #08714E; font-weight: 600; font-size: 12px; }
  .badge svg { width: 14px; height: 14px; stroke-width: 2.4; }
  .where { color: var(--ink3); margin-top: 2px; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .stag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 11px; background: color-mix(in srgb, var(--sc) 14%, #fff); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
  .stag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sc); }
  .whatbig { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 10px 0 4px; word-break: keep-all; }
  .peek .stag { margin: 3px 0 2px; }
  .peek small.what { display: block; color: var(--ink); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .secpick { border: 0; padding: 0; margin: 0 0 12px; }
  .secpick legend { font-size: 14px; margin-bottom: 6px; }
  .secpick > div { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
  .secpick label input { position: absolute; opacity: 0; pointer-events: none; }
  .secpick label span { display: inline-block; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
  .secpick label input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
  .secpick label input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

  .gauge { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--soft); }
  .gauge .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
  .gauge .deg { font-size: 60px; line-height: .95; transition: color .5s; }
  .gauge .deg sup { font-size: .5em; font-weight: 700; vertical-align: top; position: relative; top: .1em; }
  .gauge .say { text-align: right; font-size: 14px; color: var(--ink2); word-break: keep-all; max-width: 13em; }
  .gauge .say .live { display: flex; justify-content: flex-end; margin-bottom: 2px; }
  .ruler { position: relative; height: 6px; border-radius: 3px; margin-top: 18px; background: linear-gradient(90deg, #3A78C2, #F2A31B 40%, #EE5A2B 70%, #DC2B3F); }
  .ruler i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); transform: translate(-50%, -50%); transition: left .5s; }
  .ruler-l { display: flex; justify-content: space-between; color: var(--ink3); font-size: 12px; margin-top: 8px; }

  .why { margin-top: 12px; }
  .ax { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 0; }
  .ax + .ax { border-top: 1px solid var(--line); }
  .ax b { font-weight: 600; }
  .ax b span { color: var(--ink3); font-weight: 500; font-size: 13px; margin-left: 6px; }
  .ax .v { font-weight: 700; }
  .ax small { grid-column: 1 / -1; color: var(--ink3); font-size: 13px; }
  .ax .t { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--soft); margin-top: 7px; }
  .ax .t i { display: block; height: 100%; border-radius: 2px; background: var(--ink); transition: width .5s; }
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; border-radius: var(--r); overflow: hidden; }
  .grid3 div { aspect-ratio: 1; position: relative; }
  .grid3 span { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 9px; background: rgba(23,25,28,.62); color: #fff; font-size: 11px; font-weight: 600; }

  .cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .cta div { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
  .btn { height: 52px; border-radius: 14px; font-weight: 700; font-size: 16px; text-align: center; background: var(--soft); }
  .btn.k { background: var(--ink); color: #fff; }
  .btn:active { transform: scale(.98); }
  .fine { color: var(--ink3); font-size: 12px; margin-top: 10px; word-break: keep-all; }

  /* 피드 */
  .post { padding: 18px 0 6px; }
  .post + .post { border-top: 8px solid var(--soft); }
  .post header { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 0 20px; }
  .post .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
  .post header b { font-weight: 700; display: block; line-height: 1.3; }
  .post header small { color: var(--ink3); font-size: 13px; }
  .post header .deg { font-size: 20px; }
  .post .pic { aspect-ratio: 1; margin-top: 12px; position: relative; }
  .post .pic span { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 12px; background: rgba(23,25,28,.62); color: #fff; font-size: 12px; font-weight: 600; }
  .post .pic span svg { width: 13px; height: 13px; stroke-width: 2.4; }
  .post p { padding: 12px 20px 0; word-break: keep-all; }
  .post footer { display: flex; gap: 4px; padding: 6px 12px 0; }
  .post footer button { display: flex; align-items: center; gap: 6px; padding: 10px 8px; font-weight: 600; font-size: 14px; color: var(--ink2); }

  /* 응원 창 */
  .veil { position: fixed; inset: 0; background: rgba(23,25,28,.5); display: grid; align-items: end; z-index: 20; }
  .sheet { background: #fff; border-radius: 24px 24px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); max-width: 560px; width: 100%; margin: 0 auto; animation: up .22s cubic-bezier(.2,.8,.2,1); }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
  .sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
  .sheet h2 { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
  .sheet .lede { color: var(--ink3); font-size: 14px; margin-top: 2px; }
  .opt { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 14px; margin-top: 10px; border-radius: var(--r); background: var(--soft); }
  .opt .ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; }
  .opt b { font-weight: 700; display: block; }
  .opt small { color: var(--ink2); font-size: 13px; word-break: keep-all; display: block; }
  .opt .go { height: 36px; padding: 0 14px; border-radius: 18px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; white-space: nowrap; }
  .opt .go[disabled] { background: var(--line); color: var(--ink3); }
  .packs { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
  .packs button { height: 54px; line-height: 1.25; border-radius: 12px; background: #fff; font-weight: 700; text-align: center; font-size: 14px; }
  .packs button small { display: block; color: var(--ink3); font-weight: 500; font-size: 12px; }
  .toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 22px; z-index: 30; white-space: nowrap; box-shadow: var(--shadow); }

  /* 아래 메뉴 */
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .tabs div { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
  .tabs button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--ink3); }
  .tabs button[aria-current="page"] { color: var(--ink); }
  .tabs .add svg { width: 40px; height: 40px; padding: 9px; border-radius: 14px; background: var(--ink); color: #fff; stroke-width: 2.2; }
  .empty { padding: 90px 30px; text-align: center; color: var(--ink3); }
  .empty b { display: block; color: var(--ink); font-size: 18px; font-weight: 700; margin-bottom: 4px; }

  @media (min-width: 900px) {
    .home { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 36px; align-items: start; padding: 8px 20px 0; }
    .home .left { position: sticky; top: 12px; }
    .stage { height: 460px; border-radius: 24px; margin: 14px 20px 0; width: calc(100% - 40px); }
    .board { border-radius: 14px; margin: 0 20px; }
    .maphead { padding: 0 0 12px; }
    .home { margin-top: 34px; }
    .map { border-radius: 20px; padding: 26px 10px 54px; }
    .peek { margin: -40px 20px 0; width: calc(100% - 40px); }
    .cards { flex-wrap: wrap; overflow: visible; margin: 0; padding: 14px 0 0; }
    .card { flex: 0 0 calc(50% - 6px); max-width: none; }
    .home .sec { padding: 0 0 0; } .home .sec + .sec { padding-top: 30px; }
    .shop { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 8px 20px 0; align-items: start; }
    .shop .hero { border-radius: 20px; position: sticky; top: 12px; aspect-ratio: 1; max-height: none; }
    .shop .sec { padding: 0; } .shop .sec + .sec { padding-top: 28px; }
    .feed { max-width: 520px; margin: 0 auto; }
  }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

  /* 실제 앱 전용 추가 */
  .sheet form { display: grid; gap: 10px; margin-top: 14px; }
  .sheet label.f { display: grid; gap: 4px; font-weight: 600; font-size: 13px; color: var(--ink2); }
  .sheet input[type=email], .sheet input[type=text] { height: 50px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
  .sheet input:focus { outline: none; border-color: var(--ink); }
  .sheet label.c { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 14px; color: var(--ink2); }
  .sheet label.c input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 1px; }
  .sheet a { color: var(--ink); }
  .sheet .btn { width: 100%; }
  .sheet .hint { font-size: 13px; color: var(--ink3); }
  .sheet .dev { font-size: 13px; padding: 8px 12px; border-radius: 10px; background: #FFF6DB; color: #7A5B00; }
  .links { display: grid; gap: 8px; margin-top: 12px; }
  .links button { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px; border-radius: var(--r); background: var(--soft); width: 100%; }
  .links b { font-weight: 700; word-break: keep-all; }
  .links small { color: var(--ink3); font-size: 13px; grid-column: 1; }
  .links span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 700; font-size: 14px; }
  .cmts { max-height: 44vh; overflow: auto; margin-top: 10px; }
  .gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--line); font-weight: 700; }
  .or { text-align: center; color: var(--ink3); font-size: 13px; margin: 12px 0 4px; }
  .pic.vid video { display: block; width: 100%; max-height: 72vh; background: #000; }
  .c.all { font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  details.cmore, details.more { margin: 6px 0 10px; }
  details.cmore summary, details.more summary { cursor: pointer; color: var(--muted, #5f6b63); font-size: 14px; padding: 6px 0; }
  .a2hs { font-size: 13px; color: var(--muted, #5f6b63); line-height: 1.6; }
  .rcpt table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
  .rcpt th, .rcpt td { text-align: left; vertical-align: top; padding: 7px 4px; border-top: 1px solid var(--line); }
  .rcpt th { width: 38%; font-weight: 600; color: var(--muted, #5f6b63); }
  @media print { body > *:not(#veil) { display: none !important; } #veil, #veil .sheet { position: static !important; background: #fff !important; box-shadow: none !important; max-height: none !important; } #veil [data-print] { display: none !important; } }
  .cmts p { padding: 10px 0; border-top: 1px solid var(--line); word-break: keep-all; }
  .cmts p b { font-weight: 700; margin-right: 6px; }
  .cmts .fanmk { display: inline-flex; vertical-align: -2px; margin: 0 6px 0 -2px; color: var(--apple, #c0392b); }
  .cmts .fanmk svg { width: 14px; height: 14px; }
  .numcard { margin: 12px 20px 0; padding: 26px 20px; border-radius: var(--r); background: var(--soft); font-weight: 800; font-size: 30px; letter-spacing: -.03em; }
  .post footer button[aria-pressed="true"] { color: #DC2B3F; }
  .post footer button[aria-pressed="true"] svg { fill: currentColor; }
  .mecard { margin: 24px 20px 0; padding: 20px; border-radius: var(--r); background: var(--soft); }
  .mecard b { display: block; font-weight: 800; font-size: 20px; }
  .mecard p { color: var(--ink2); margin-top: 4px; word-break: keep-all; }
  .mecard .btn { margin-top: 14px; width: 100%; background: #fff; display: grid; place-items: center; text-decoration: none; color: var(--ink); }
  .mecard .btn.k { background: var(--ink); color: #fff; }
  .board a small { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }

  /* 메인: 지도가 주인공 (형 지시 11/13) */
  .mapwrap { position: relative; }
  .map { padding: 22px 0 46px; }
  .maptxt { padding: 0 20px 6px; color: #fff; position: relative; z-index: 2; }
  .maptxt h1 { font-weight: 800; font-size: 26px; line-height: 1.25; letter-spacing: -.03em; word-break: keep-all; }
  .maptxt p { color: #B9C0D4; font-size: 14px; margin-top: 6px; word-break: keep-all; max-width: 26em; }
  .mapin { width: 112%; margin-left: -6%; }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 6px 20px 0; color: #B9C0D4; font-size: 12px; position: relative; z-index: 2; }
  .legend span { display: inline-flex; align-items: center; gap: 6px; }
  .lg { display: inline-block; background: #FFE08A; clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%); }
  .lg.s { width: 9px; height: 9px; background: #9DB8FF; } .lg.b { width: 17px; height: 17px; background: #FFB45A; }
  .lg.sh { width: 22px; height: 2px; clip-path: none; border-radius: 1px; background: linear-gradient(90deg, transparent, #fff); transform: rotate(-24deg); }
  .star .lb { top: calc(50% + var(--s) / 2 + 9px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; color: #E7EAF3; text-shadow: 0 1px 3px #000, 0 0 8px #0B0F1E; opacity: 0; transition: opacity .2s; }
  .star .lb b { font-weight: 800; color: var(--c); }
  .star .lb.on, .star[aria-pressed="true"] .lb, .star:hover .lb { opacity: 1; }
  .star[aria-pressed="true"] { z-index: 3; }
  .live.hotl { color: #DC2B3F; }
  .below .sec h2 { font-size: 18px; font-weight: 700; }
  .card { flex: 0 0 40%; max-width: 168px; }
  .card b { font-size: 14px; margin-top: 8px; } .card small { font-size: 12px; }
  .rank button { grid-template-columns: 18px 36px 1fr auto; padding: 8px 0; gap: 10px; }
  .rank .ph { width: 36px; height: 36px; } .rank b { font-size: 14px; } .rank small { font-size: 12px; } .rank .deg { font-size: 17px; }
  .rank li.more { display: none; } .rank.open li.more { display: block; }
  .allbtn { width: 100%; height: 44px; margin-top: 8px; border-radius: 12px; background: var(--soft); font-weight: 600; font-size: 14px; text-align: center; color: var(--ink2); }
  @media (min-width: 900px) {
    .mapwrap { padding: 14px 20px 0; }
    .map { border-radius: 24px; padding: 0 0 56px; }
    .maptxt { position: absolute; left: 34px; top: 30px; padding: 0; }
    .maptxt h1 { font-size: 34px; }
    .mapin { width: 100%; margin-left: 0; }
    .legend { position: absolute; left: 34px; bottom: 22px; padding: 0; }
    .star .lb { font-size: 12px; }
    .peek { position: absolute; right: 44px; bottom: 26px; width: 380px; margin: 0; }
    .below { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 44px; padding: 6px 20px 0; align-items: start; }
    .below .sec { padding: 26px 0 0; }
    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .card { max-width: none; }
  }

  /* 전용 아이콘 색: 별은 금빛, 사과는 붉은빛 */
  .post footer button[aria-pressed="true"] { color: #E08A00; }
  .opt .ic { color: var(--ink); }
  .opt .ic svg { width: 24px; height: 24px; }
  .opt:nth-of-type(1) .ic { color: #E08A00; } .opt:nth-of-type(1) .ic svg { fill: currentColor; }
  .opt:nth-of-type(2) .ic { color: #DC2B3F; }
  .tabs .add svg { stroke: none; }

  /* 메인 지도를 더 화려하게: 오로라, 은하수, 별자리 선 */
  .map { background: radial-gradient(90% 70% at 78% 18%, rgba(120,70,220,.32), transparent 60%), radial-gradient(70% 60% at 12% 82%, rgba(20,150,170,.24), transparent 62%), radial-gradient(60% 50% at 50% 55%, rgba(255,150,70,.10), transparent 70%), linear-gradient(180deg, #131A3A 0%, #090C1B 78%); }
  .map::before { content: ""; position: absolute; inset: -30%; pointer-events: none; background: conic-gradient(from 210deg at 60% 40%, transparent 0 18%, rgba(90,200,255,.13) 26%, rgba(170,110,255,.16) 34%, transparent 46%, rgba(255,170,90,.09) 62%, transparent 74%); filter: blur(46px); animation: aurora 26s ease-in-out infinite alternate; }
  .map::after { content: ""; position: absolute; left: -20%; right: -20%; top: 34%; height: 34%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(190,205,255,.085) 45%, rgba(255,235,210,.07) 55%, transparent); transform: rotate(-16deg); filter: blur(12px); }
  @keyframes aurora { from { transform: translate(-4%, -2%) rotate(-4deg) scale(1); } to { transform: translate(5%, 3%) rotate(6deg) scale(1.12); } }
  .map path { fill: #1B2347; }
  .mapin svg.sky path { filter: drop-shadow(0 0 10px rgba(110,140,255,.20)); }
  .mapin { position: relative; z-index: 1; } .maptxt, .legend { z-index: 2; }
  .maptxt h1 { background: linear-gradient(100deg, #fff 0%, #fff 38%, #FFE3A8 50%, #fff 62%, #fff 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
  @keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .chips span { height: 28px; padding: 0 11px; border-radius: 14px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: #E7EAF3; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
  .lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .lines path, .map .lines path { fill: none; stroke: rgba(255,236,190,.3); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawl 1.6s ease-out forwards; filter: none; }
  @keyframes drawl { to { stroke-dashoffset: 0; } }
  .memap .lines path { stroke: rgba(255,214,130,.8); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255,190,90,.8)); }
  .star .halo { width: calc(var(--s) * 2.5); height: calc(var(--s) * 2.5); }
  .star.dim { opacity: .28; } .star.dim .ray, .star.dim .halo { display: none; } .star.dim .g { animation: none; transform: scale(.5); }
  .home { position: absolute; transform: translate(-50%, -50%); z-index: 2; width: max-content; height: 22px; padding: 0 9px; border-radius: 11px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 18px rgba(255,255,255,.6); }
  /* 나: 내 별자리 */
  .memap { padding-bottom: 26px; }
  .mebody { padding: 0 20px; max-width: 760px; margin: 0 auto; }
  .mehead { display: flex; align-items: center; gap: 8px; padding-top: 20px; }
  .mehead b { font-weight: 800; font-size: 22px; letter-spacing: -.03em; } .mehead .login { margin-left: auto; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; }
  .stats div { padding: 14px 6px; border-radius: 14px; background: var(--soft); text-align: center; }
  .stats b { display: block; font-weight: 800; font-size: 22px; letter-spacing: -.03em; } .stats span { font-size: 12px; color: var(--ink3); word-break: keep-all; }
  .sec.me { padding: 26px 0 0; } .sec.me h2 { font-size: 18px; font-weight: 700; }
  .sec.me .rank button { grid-template-columns: 36px 1fr auto; } .sec.me .rank button[disabled] { cursor: default; }
  .tagp { height: 26px; padding: 0 10px; border-radius: 13px; background: #EEF1FF; color: #3346B8; font-weight: 700; font-size: 12px; display: inline-grid; place-items: center; white-space: nowrap; }
  .ph.star4 { background: #FFF3D6; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); border-radius: 0; }
  .mebody .mecard { margin: 26px 0 0; }
  @media (min-width: 900px) { .peek { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); } .memap { padding-bottom: 40px; } }

  /* 메인 지도를 더 크게 + 움직임 (형 지시 11/13) */
  body { overflow-x: hidden; }
  .board a em { font-style: normal; font-weight: 700; font-size: 10px; padding: 2px 6px; border-radius: 6px; border: 1px solid #A9AFB8; color: #A9AFB8; align-self: center; }
  .mapscroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; position: relative; z-index: 1; padding: 34px 0 30px; margin: -20px 0 -22px; }
  .mapscroll::-webkit-scrollbar { display: none; }
  .mapscroll .mapin { width: 190%; margin-left: 0; translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -12px); transition: translate .5s ease-out; animation: drift 22s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate(-.6%, .5%) scale(1); } to { transform: translate(.6%, -.5%) scale(1.025); } }
  .mapscroll .mapin svg.sky { animation: landin 1.8s cubic-bezier(.2,.7,.2,1) backwards; transform-origin: 50% 50%; }
  @keyframes landin { from { opacity: 0; transform: scale(1.12); } }
  .mapscroll .star { animation: starin .9s cubic-bezier(.2,1.5,.4,1) backwards; animation-delay: calc(var(--i) * 90ms + .5s); }
  @keyframes starin { from { opacity: 0; scale: 0; } 60% { opacity: 1; scale: 1.5; } to { scale: 1; } }
  .mapscroll .dust:not(.tw) { animation: floaty 40s linear infinite alternate; animation-duration: 40s !important; animation-delay: 0s !important; }
  @keyframes floaty { from { translate: 0 0; } to { translate: -40px -18px; } }
  .star .lb.on { animation: lbin .6s ease-out backwards; animation-delay: calc(var(--i) * 90ms + 1s); }
  @keyframes lbin { from { opacity: 0; } }
  @media (min-width: 900px) {
    .mapwrap { width: min(100vw - 40px, calc((100vh - 270px) / .52), 1800px); min-width: min(100vw - 40px, 1080px); margin-left: 50%; transform: translateX(-50%); padding: 14px 0 0; }
    .mapscroll { overflow: visible; padding: 0; margin: 0; }
    .mapscroll .mapin { width: 100%; }
    .maptxt h1 { font-size: 40px; }
  }

  /* 넓은 화면: 메인 지도가 화면 양끝과 아래 메뉴 바로 위까지 가득 (형 지시 11/13) */
  @media (min-width: 900px) {
    .mapwrap:has(#mapscroll) { width: 100vw; min-width: 0; margin-left: 50%; transform: translateX(-50%); padding: 0; }
    .mapwrap:has(#mapscroll) .map { border-radius: 0; padding: 0; height: calc(100vh - 172px); min-height: 460px; }
    #mapscroll { position: absolute; inset: 0; overflow: hidden; padding: 0; margin: 0; }
    #mapscroll .mapin { position: absolute; --mw: max(100vw, calc((100vh - 172px) / .52)); width: var(--mw); left: calc(50% - var(--mw) / 2); top: calc(50% - var(--mw) * .252); }
    .mapwrap:has(#mapscroll) .maptxt { left: max(40px, calc(50vw - 540px)); top: 36px; }
    .mapwrap:has(#mapscroll) .legend { left: max(40px, calc(50vw - 540px)); bottom: 24px; }
    .mapwrap:has(#mapscroll) .peek { right: max(40px, calc(50vw - 540px)); bottom: 24px; }
    .board { margin: 0 20px 12px; }
  }

  /* 공식 파트너 띠를 지도 위에 얹는다 (형 지시 11/13) */
  .map .board { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 52px; margin: 0; border-radius: 0; background: linear-gradient(180deg, rgba(6,8,20,.78), rgba(6,8,20,.34)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,224,150,.22); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
  .map .board .lab { background: #070A16; box-shadow: 16px 0 18px #070A16; font-size: 13px; padding-left: 20px; text-shadow: 0 0 14px rgba(245,197,107,.7); }
  .map .board .run { animation-duration: 44s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .map .board a { font-size: 16px; padding: 0 34px; }
  .map .board a small { color: #C9CEDB; font-size: 13px; }
  .map .board a + a::before { content: ""; width: 5px; height: 5px; margin-right: 34px; margin-left: -34px; background: #F5C56B; transform: rotate(45deg); align-self: center; flex: none; }
  .map.hasboard { padding-top: 74px; }
  @media (min-width: 900px) {
    .map.hasboard { padding-top: 0; }
    .mapwrap:has(#mapscroll) .map { height: calc(100vh - 116px); }
    #mapscroll .mapin { --mw: max(100vw, calc((100vh - 116px) / .52)); }
    .mapwrap:has(#mapscroll) .maptxt { top: 88px; }
    .map .board { height: 56px; } .map .board a { font-size: 18px; } .map .board .lab { padding-left: max(40px, calc(50vw - 540px)); }
  }

  /* 지도 옮기기·확대 (형 지시 11/13) */
  #mapscroll { overflow: hidden; position: relative; height: calc(190vw * .52); padding: 0; margin: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
  #mapscroll.dragging { cursor: grabbing; }
  #mapscroll .mapin { position: absolute; left: 0; top: 0; width: 190%; transition: none; }
  #mapscroll .mapin.anim { transition: translate .45s cubic-bezier(.2,.7,.2,1), scale .45s cubic-bezier(.2,.7,.2,1); }
  #mapscroll .star { scale: var(--ks, 1); }
  .zoomer { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 4; display: grid; gap: 6px; }
  .zoomer button { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 22px; font-weight: 500; line-height: 1; text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .zoomer button:hover { background: rgba(255,255,255,.22); }
  .legend .zh { opacity: .75; }
  @media (min-width: 900px) {
    #mapscroll { position: absolute; inset: 0; height: auto; }
    #mapscroll .mapin { --mw: max(100vw, calc((100vh - 116px) / .52)); width: var(--mw); left: calc(50% - var(--mw) / 2); top: calc(50% - var(--mw) * .252); }
    .zoomer { right: max(40px, calc(50vw - 540px)); }
  }

  .nointro .star, .nointro svg.sky, .nointro .star .lb.on { animation: none !important; }
  .nointro .lines path { animation: none !important; stroke-dashoffset: 0; }

  /* 순위별 별 (형 지시 11/13): 1등은 크게, 아래 순위는 작게 반짝인다 */
  .star.t1 { z-index: 2; }
  .star.t1 .halo { width: calc(var(--s) * 3.2); height: calc(var(--s) * 3.2); }
  .star.t1::before { content: ""; position: absolute; width: calc(var(--s) * 1.9); height: calc(var(--s) * 1.9); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 70%, #fff); opacity: 0; animation: crown 2.8s ease-out infinite; pointer-events: none; }
  @keyframes crown { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
  .star.t1 .ray { width: calc(var(--s) * 4.2); height: 2px; }
  .star.t3 .ray.x, .star.t3 .ray.y { display: none; }
  .star.t4 .halo { width: calc(var(--s) * 2.2); height: calc(var(--s) * 2.2); opacity: .7; }
  .star.t4 .ray.x, .star.t4 .ray.y { display: none; }
  .star.t4 .ray { width: calc(var(--s) * 2.4); height: 1px; }
  .star.t4 .g { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px var(--c)); }
  .star.t1 .lb { font-size: 13px; }
  .star .lb .rk { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; background: #F5C56B; color: #17191C; font-size: 10px; font-weight: 800; text-shadow: none; vertical-align: 1px; }
  .zoomed .star .lb { opacity: 1; }
  @media (min-width: 900px) {
    /* 배치 조율: 지도를 화면보다 조금 크게 깔아 남극 쪽 빈 곳을 줄이고, 가게 카드는 아래 가운데로 */
    #mapscroll .mapin { --mw: max(100vw, calc((100vh - 116px) / .52 * 1.14)); top: calc(50% - var(--mw) * .26); }
    .mapwrap:has(#mapscroll) .peek { right: auto; left: 50%; bottom: 22px; width: 400px; margin-left: -200px; }
    .mapwrap:has(#mapscroll) .legend { bottom: 26px; max-width: calc(50vw - 260px); }
    .zoomer { top: auto; bottom: 26px; transform: none; display: flex; }
    .star.t1 .lb { font-size: 15px; } .star.t2 .lb { font-size: 13px; }
  }

  /* ── 지구본 (형 지시 11/13) ── */
  .globe { position: relative; z-index: 1; height: 96vw; max-height: 560px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; overflow: hidden; }
  .globe.dragging { cursor: grabbing; }
  .globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .gstars { position: absolute; inset: 0; }
  .gstars .star { left: 0; top: 0; scale: var(--ks, 1); transition: opacity .2s; }
  .cats, .regions { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .cats::-webkit-scrollbar, .regions::-webkit-scrollbar { display: none; }
  .cats { margin-top: 12px; }
  .cats button, .regions button { flex: none; height: 32px; padding: 0 13px; border-radius: 16px; font-size: 13px; font-weight: 600; color: #D6DBEA; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); white-space: nowrap; }
  .cats button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
  .regions { position: relative; z-index: 2; padding: 4px 20px 2px; }
  .regions button { background: none; border-color: transparent; color: #AEB6CC; }
  .regions button:hover { color: #fff; background: rgba(255,255,255,.08); }
  .viewsw { position: absolute; right: 14px; top: 64px; z-index: 4; display: flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .viewsw button { height: 28px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 700; color: #C9CEDB; }
  .viewsw button[aria-pressed="true"] { background: #fff; color: var(--ink); }
  .map.hasboard .maptxt { padding-right: 20px; }
  .map.hasboard .maptxt h1 { padding-right: 120px; }
  .v3d .zoomer { top: auto; bottom: 86px; transform: none; }
  .fly.g3 { display: block; }
  .fly.g3 canvas, .fly.g3 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .fly.g3 .cap { position: absolute; left: 0; right: 0; bottom: 12vh; padding-top: 0; }
  @media (min-width: 900px) {
    .v3d .globe { position: absolute; inset: 0; height: auto; max-height: none; }
    .mapwrap.v3d .maptxt { top: 96px; max-width: min(460px, 36vw); }
    .mapwrap.v3d .maptxt h1 { font-size: 44px; line-height: 1.18; padding-right: 0; }
    .mapwrap.v3d .maptxt p { font-size: 15px; }
    .mapwrap.v3d .peek { left: max(40px, calc(50vw - 540px)); right: auto; bottom: 112px; width: min(420px, 34vw); margin: 0; }
    .regions { position: absolute; left: max(28px, calc(50vw - 552px)); bottom: 58px; padding: 0; max-width: 60vw; }
    .mapwrap:has(.globe) { width: 100vw; min-width: 0; margin-left: 50%; transform: translateX(-50%); padding: 0; }
    .mapwrap:has(.globe) .map { border-radius: 0; padding: 0; height: calc(100vh - 116px); min-height: 520px; }
    .mapwrap:has(.globe) .maptxt { left: max(40px, calc(50vw - 540px)); }
    .mapwrap:has(.globe) .legend { left: max(40px, calc(50vw - 540px)); bottom: 22px; max-width: none; }
    .viewsw { right: max(40px, calc(50vw - 540px)); top: 76px; }
    .v3d .zoomer { bottom: 26px; }
    .mapwrap.v2d .regions { left: auto; right: max(120px, calc(50vw - 460px)); bottom: 30px; max-width: 34vw; }
  }

  .gstars .star .lb.on { animation: none; }
  @media (min-width: 900px) {
    .mapwrap.v3d .maptxt::before { content: ""; position: absolute; inset: -50px -110px -50px -70px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 35% 50%, rgba(7,9,22,.86), rgba(7,9,22,.5) 45%, rgba(7,9,22,0) 72%); }
  }

  /* 움직이는 제목, 유성, 숫자, 종류 칩 (형 지시 11/13) */
  .maptxt h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; animation: none; }
  .rot { display: inline-block; color: #FFD98A; text-shadow: 0 0 26px rgba(255,200,110,.45); transition: transform .26s ease-in, opacity .26s ease-in; }
  .rot.out { transform: translateY(-.45em); opacity: 0; }
  .rot.in { animation: rotin .5s cubic-bezier(.2,1.3,.4,1); }
  @keyframes rotin { from { transform: translateY(.5em); } }
  .chips b { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
  .cats button { display: inline-flex; align-items: center; gap: 6px; }
  .cats button i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .cats button.empty { opacity: .55; }
  .peek.swap { animation: swap .5s cubic-bezier(.2,1.2,.4,1); }
  @keyframes swap { from { transform: translateY(10px) scale(.98); } }
  .meteor { position: absolute; z-index: 1; top: -4%; width: 190px; height: 1.5px; border-radius: 1px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); filter: drop-shadow(0 0 6px rgba(160,190,255,.9)); transform-origin: 100% 50%; animation: meteor 9s linear infinite; }
  .meteor.m1 { left: 18%; animation-delay: 1.2s; } .meteor.m2 { left: 46%; animation-delay: 4.6s; animation-duration: 11s; width: 260px; } .meteor.m3 { left: 4%; animation-delay: 7.4s; animation-duration: 13s; }
  @keyframes meteor { 0% { opacity: 0; transform: rotate(32deg) translateX(-10vw); } 3% { opacity: 1; } 11% { opacity: 1; } 14%, 100% { opacity: 0; transform: rotate(32deg) translateX(80vh); } }
  .card, .rank li { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .card:hover { transform: translateY(-4px); }
  @media (min-width: 900px) {
    .mapwrap.v3d .maptxt h1 { font-size: 46px; }
    .mapwrap.v3d .cats { flex-wrap: wrap; overflow: visible; max-width: min(500px, 38vw); }
    .mapwrap.v3d .cats button { height: 30px; padding: 0 11px; font-size: 12.5px; }
    .mapwrap.v3d .maptxt { top: 84px; max-width: min(500px, 38vw); }
    .mapwrap.v3d .peek { bottom: 104px; }
  }
  @media (prefers-reduced-motion: reduce) { .meteor { display: none; } }

  .chips span { gap: 4px; }

  /* 깔끔하게 (형 지시 11/13): 숫자는 한 줄, 종류는 한 줄 + 더 보기, 설명 줄은 안내 한마디만 */
  .stats3 { display: flex; gap: 22px; margin-top: 16px; color: #AEB6CC; font-size: 13px; }
  .stats3 span { display: inline-flex; align-items: baseline; gap: 6px; }
  .stats3 b { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .cats { margin-top: 18px; flex-wrap: nowrap; }
  .cats .morec { background: none; border-style: dashed; color: #C9CEDB; }
  .legend { color: #8F97AE; }
  .catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; max-height: 56vh; overflow: auto; }
  .catgrid button { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--soft); font-weight: 600; font-size: 14px; }
  .catgrid button i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .catgrid button span { flex: 1; text-align: left; }
  .catgrid button small { color: var(--ink3); font-weight: 600; }
  .catgrid button[aria-pressed="true"] { background: var(--ink); color: #fff; } .catgrid button[aria-pressed="true"] small { color: #C9CEDB; }
  .map::before { opacity: .7; }
  .regions button { height: 28px; padding: 0 10px; font-size: 12.5px; }
  @media (min-width: 900px) {
    .mapwrap.v3d .cats { flex-wrap: nowrap; overflow-x: auto; max-width: min(520px, 40vw); }
    .mapwrap.v3d .maptxt { top: 104px; }
    .mapwrap.v3d .maptxt p { margin-top: 12px; }
    .mapwrap.v3d .peek { bottom: 96px; }
    .regions { bottom: 50px; }
    .mapwrap:has(.globe) .legend, .mapwrap:has(#mapscroll) .legend { bottom: 20px; }
  }

  /* 제목 덩어리를 작게 (형 지시 11/13) */
  .maptxt h1 { font-size: 23px; line-height: 1.22; }
  .maptxt p { font-size: 13px; margin-top: 6px; }
  .stats3 { margin-top: 12px; gap: 18px; font-size: 12px; }
  .stats3 b { font-size: 17px; }
  .cats { margin-top: 14px; }
  .cats button { height: 30px; padding: 0 11px; font-size: 12.5px; }
  @media (min-width: 900px) {
    .maptxt h1, .mapwrap.v3d .maptxt h1 { font-size: 32px; line-height: 1.2; }
    .mapwrap.v3d .maptxt p, .maptxt p { font-size: 14px; margin-top: 8px; }
    .mapwrap.v3d .maptxt { top: 108px; max-width: min(440px, 34vw); }
    .mapwrap.v3d .cats { max-width: min(440px, 34vw); }
  }

  /* 종류 칩을 더 작게 (형 지시 11/13) */
  .cats { margin-top: 12px; gap: 5px; }
  .cats button, .mapwrap.v3d .cats button { height: 25px; padding: 0 9px; border-radius: 13px; font-size: 11.5px; font-weight: 600; gap: 5px; }
  .cats button i { width: 5px; height: 5px; }

  /* 펼친 지도도 지구본과 같은 틀로 (형 지시 11/13): 왼쪽에 글·가게 카드·지역, 오른쪽에 지도, 아래 줄 정렬 */
  @media (min-width: 900px) {
    .mapwrap.v2d .maptxt { top: 108px; max-width: min(440px, 34vw); }
    .mapwrap.v2d .cats { flex-wrap: nowrap; overflow-x: auto; max-width: min(440px, 34vw); }
    .mapwrap.v2d .peek { left: max(40px, calc(50vw - 540px)); right: auto; bottom: 96px; width: min(420px, 34vw); margin: 0; }
    .mapwrap.v2d .regions { left: max(28px, calc(50vw - 552px)); right: auto; bottom: 50px; max-width: 60vw; }
    .mapwrap.v2d .legend { left: max(40px, calc(50vw - 540px)); bottom: 20px; max-width: none; }
    .mapwrap.v2d #mapscroll { left: 33%; right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%); mask-image: linear-gradient(90deg, transparent, #000 7%); }
    .mapwrap.v2d #mapscroll .mapin { --mw: 67vw; width: 67vw; left: 0; top: calc(50% - 67vw * .26); }
  }
  @media (min-width: 900px) {
    .mapwrap.v2d:has(#mapscroll) .peek { left: max(40px, calc(50vw - 540px)); right: auto; bottom: 96px; width: min(420px, 34vw); margin: 0; }
    .mapwrap.v2d:has(#mapscroll) .maptxt { top: 108px; }
  }
  /* 종류 줄이 지도 쪽에서 잘리지 않게: 넓은 화면에서는 칸 안에서 다음 줄로 넘긴다 */
  @media (min-width: 900px) {
    .mapwrap.v3d .cats, .mapwrap.v2d .cats { flex-wrap: wrap; overflow: visible; max-width: min(440px, 32vw); }
  }
  /* 펼친 지도는 글 칸이 끝난 뒤에서 시작한다(겹침 방지) */
  @media (min-width: 900px) {
    .mapwrap.v2d #mapscroll { left: 40%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%); mask-image: linear-gradient(90deg, transparent, #000 10%); }
    .mapwrap.v2d #mapscroll .mapin { --mw: 60vw; width: 60vw; top: calc(50% - 60vw * .26); }
  }

  /* ── 색 톤 통일 (형 지시 11/13): 화면 전체를 지도와 같은 밤하늘 바탕으로. 카드·창만 흰색으로 떠 있다 ── */
  :root { --bg: #090C1B; --soft: #141932; --line: #232A47; --ink: #F3F5FB; --ink2: #BCC3D8; --ink3: #8891AD; --gold: #F5C56B; }
  .sheet, .peek, .toast, .tag, .round { --bg: #FFFFFF; --soft: #F4F5F7; --line: #E9EBEE; --ink: #17191C; --ink2: #4E5560; --ink3: #8B929C; color: var(--ink); }
  body { background: var(--bg); color: var(--ink); }
  .toast { background: #fff; color: #17191C; }
  .tabs { background: rgba(9,12,27,.9); border-top-color: var(--line); }
  .tabs .add svg { background: #fff; color: #090C1B; }
  .cta { background: rgba(9,12,27,.94); border-top-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .btn { color: var(--ink); }
  .btn.k, .mecard .btn.k { background: #fff; color: #090C1B; }
  .mecard .btn { background: var(--line); color: var(--ink); }
  .sheet .btn.k, .sheet .opt .go, .catgrid button[aria-pressed="true"] { background: #17191C; color: #fff; }
  .logo::before { background: linear-gradient(135deg, #FFE08A, #FF8460); }
  .badge { background: rgba(60,200,150,.16); color: #7BE3BE; }
  .live { color: #6EE7B7; } .live.off { color: var(--ink3); }
  .peek .live { color: #0E9F6E; } .peek .live.off { color: #8B929C; } .peek .live.hotl { color: #D63A3E; }
  .tagp { background: rgba(120,140,255,.18); color: #B9C4FF; }
  .ph.star4 { background: var(--gold); }
  .ax .t i { background: linear-gradient(90deg, #FFE08A, #FF8460); }
  .ruler i { background: #090C1B; border-color: #fff; }
  .post footer button[aria-pressed="true"] { color: var(--gold); }
  .numcard { color: var(--gold); }
  .map::after, .map { border-bottom: 0; }
  .mapwrap .map { background: radial-gradient(90% 70% at 78% 18%, rgba(120,70,220,.30), transparent 60%), radial-gradient(70% 60% at 12% 82%, rgba(20,150,170,.20), transparent 62%), radial-gradient(60% 50% at 50% 55%, rgba(255,150,70,.08), transparent 70%), linear-gradient(180deg, #131A3A 0%, #090C1B 82%); }
  .below .sec h2, .sec h2 { color: var(--ink); }
  .rank .n { color: var(--ink3); }
  .allbtn { color: var(--ink2); }
  .sheet input[type=email], .sheet input[type=text] { background: #fff; color: #17191C; }
  .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { background: #fff; color: #090C1B; }
  .home { color: #090C1B; }

  /* ── 색을 넣고 이음매를 없앤다 (형 지시 11/13): 화면 전체가 하나의 하늘. 위는 깊은 남색, 내려갈수록 보라·자주빛 ── */
  :root { --bg: #1B1A57; --soft: rgba(255,255,255,.09); --line: rgba(255,255,255,.14); --ink: #FFFFFF; --ink2: #D5D4F2; --ink3: #A7A6D6; }
  .sheet, .peek, .toast, .tag, .round { --bg: #FFFFFF; --soft: #F4F5F7; --line: #E9EBEE; --ink: #17191C; --ink2: #4E5560; --ink3: #8B929C; }
  html { background: #151A4C; }
  body { background: linear-gradient(180deg, #151A4C 0, #1F1D63 520px, #33267A 1100px, #4E2F86 1700px, #6B3A8C 2500px, #7E4390 100%); background-repeat: no-repeat; min-height: 100vh; }
  .bar { position: relative; z-index: 5; }
  /* 지도 칸은 자기 바탕을 갖지 않는다. 뒤의 하늘이 그대로 비치고 색 구름만 얹는다 */
  .mapwrap .map { background: radial-gradient(60% 55% at 80% 22%, rgba(150,90,255,.42), transparent 70%), radial-gradient(55% 50% at 10% 78%, rgba(40,190,220,.24), transparent 70%), radial-gradient(45% 40% at 55% 95%, rgba(255,120,170,.20), transparent 72%); overflow: visible; }
  .mapwrap .map::before { opacity: .9; }
  .mapwrap .map::after { display: none; }
  #mapscroll, .globe { overflow: hidden; }
  .map path, .mapin svg.sky path { fill: rgba(190,200,255,.17); filter: none; }
  .map .board { background: rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,224,150,.28); box-shadow: none; }
  .map .board .lab { background: #1D1E60; box-shadow: 16px 0 18px #1D1E60; }
  .mapwrap.v3d .maptxt::before { background: none; }
  .tabs { background: rgba(38,28,104,.82); border-top-color: rgba(255,255,255,.12); }
  .cta { background: rgba(38,28,104,.9); border-top-color: rgba(255,255,255,.12); }
  .btn.k, .mecard .btn.k, .tabs .add svg { color: #241C66; }
  .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { color: #241C66; }
  .mecard .btn { background: rgba(255,255,255,.14); }
  .gauge, .stats div, .mecard, .numcard, .allbtn { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.10); }
  .post + .post { border-top: 1px solid rgba(255,255,255,.12); }
  .rank li + li, .ax + .ax { border-top-color: rgba(255,255,255,.12); }
  .ax .t { background: rgba(255,255,255,.12); }
  .ruler i { background: #2A2070; }
  img { background: rgba(255,255,255,.08); }
  .below { position: relative; }
  .fly { background: radial-gradient(120% 80% at 50% 20%, #2B2A80 0%, #161A52 75%); }
  .fly .land { fill: rgba(190,200,255,.17); }
  .memap { border-radius: 0; }

  /* 지도 칸과 아래 목록 사이 이음매 없애기: 색 구름·오로라·지구 빛이 칸 아래쪽에서 서서히 사라진다 */
  .mapwrap .map { background: none; }
  .mapwrap .map::after { display: block; content: ""; position: absolute; inset: 0; left: 0; right: 0; top: 0; height: auto; transform: none; filter: none; pointer-events: none; z-index: 0;
    background: radial-gradient(60% 55% at 80% 24%, rgba(150,90,255,.42), transparent 70%), radial-gradient(55% 50% at 10% 70%, rgba(40,190,220,.24), transparent 70%), radial-gradient(45% 40% at 52% 62%, rgba(255,120,170,.16), transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
  .mapwrap .map::before { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 55%, transparent 92%); }
  .globe canvas, .globe .dust { -webkit-mask-image: linear-gradient(180deg, #000 91%, transparent 100%); mask-image: linear-gradient(180deg, #000 91%, transparent 100%); }
  .globe .dust { -webkit-mask-image: none; mask-image: none; }
  .below { margin-top: -6px; }

  /* ── 색 다시 (형 지시 11/13): 보라·분홍을 빼고 깊은 남색 + 금빛 하나로. 촌스럽지 않게 차분하게 ── */
  :root { --bg: #0E2147; --soft: rgba(255,255,255,.07); --line: rgba(255,255,255,.12); --ink: #FFFFFF; --ink2: #CBD5E8; --ink3: #93A2BF; --gold: #F2C97D; }
  .sheet, .peek, .toast, .tag, .round { --bg: #FFFFFF; --soft: #F4F5F7; --line: #E9EBEE; --ink: #17191C; --ink2: #4E5560; --ink3: #8B929C; }
  html { background: #0A1A3B; }
  body { background: linear-gradient(180deg, #0A1A3B 0, #0D2046 620px, #10264E 1400px, #132A54 100%); background-repeat: no-repeat; }
  .mapwrap .map::after { background: radial-gradient(58% 55% at 78% 26%, rgba(60,130,255,.30), transparent 70%), radial-gradient(50% 48% at 8% 72%, rgba(40,190,200,.13), transparent 70%); }
  .mapwrap .map::before { background: conic-gradient(from 210deg at 60% 40%, transparent 0 20%, rgba(90,190,255,.10) 30%, rgba(80,140,255,.12) 40%, transparent 54%); opacity: .8; }
  .map path, .mapin svg.sky path { fill: rgba(170,200,255,.15); }
  .map .board { background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(242,201,125,.26); }
  .map .board .lab { background: #0C1D41; box-shadow: 16px 0 18px #0C1D41; color: var(--gold); }
  .map .board a + a::before { background: var(--gold); }
  .rot { color: var(--gold); text-shadow: 0 0 24px rgba(242,201,125,.35); }
  .tabs { background: rgba(10,26,59,.86); border-top-color: rgba(255,255,255,.10); }
  .cta { background: rgba(10,26,59,.92); border-top-color: rgba(255,255,255,.10); }
  .btn.k, .mecard .btn.k, .tabs .add svg, .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { color: #0A1A3B; }
  .gauge, .stats div, .mecard, .numcard, .allbtn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
  .ruler i { background: #0E2147; }
  .ax .t i { background: linear-gradient(90deg, #F2C97D, #F08A5D); }
  .logo::before { background: linear-gradient(135deg, #F2C97D, #F08A5D); }
  .star .lb .rk { background: var(--gold); color: #0A1A3B; }
  .tagp { background: rgba(110,160,255,.18); color: #B7CEFF; }
  .fly { background: radial-gradient(120% 80% at 50% 20%, #12305F 0%, #081530 75%); }
  .fly .land { fill: rgba(170,200,255,.15); }
  .memap .lines path { stroke: rgba(242,201,125,.85); filter: drop-shadow(0 0 4px rgba(242,201,125,.7)); }
  .mehere { position: absolute; transform: translate(-50%, -50%); z-index: 2; width: max-content; height: 22px; padding: 0 9px; border-radius: 11px; background: #fff; color: #17191C; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 18px rgba(255,255,255,.6); }

  /* ══ 오렌지 90 · 블랙 10 (형 지시 11/13) ══ 바탕은 오렌지, 검정은 지구·띠·버튼·아래 메뉴에만 */
  :root { --bg: #FF6A1A; --soft: rgba(20,17,15,.08); --line: rgba(20,17,15,.16); --ink: #14110F; --ink2: rgba(20,17,15,.78); --ink3: rgba(20,17,15,.58); --gold: #14110F; --or: #FF6A1A; }
  .sheet, .toast, .tag, .round { --bg: #FFFFFF; --soft: #F4F5F7; --line: #E9EBEE; --ink: #17191C; --ink2: #4E5560; --ink3: #8B929C; }
  .peek { --ink: #FFFFFF; --ink2: rgba(255,255,255,.8); --ink3: rgba(255,255,255,.62); background: #14110F; color: #fff; box-shadow: 0 10px 30px rgba(20,17,15,.28); }
  html { background: #FF6A1A; }
  body { background: linear-gradient(180deg, #FF6417 0, #FF711E 700px, #FF7B24 100%); background-repeat: no-repeat; color: var(--ink); }
  .logo::before { background: #14110F; }
  .bar .login { color: var(--ink); }
  /* 지도 칸: 색 구름 대신 밝은 빛 한 줄기만 */
  .mapwrap .map::after { background: radial-gradient(52% 55% at 74% 34%, rgba(255,214,140,.55), transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
  .mapwrap .map::before { display: none; }
  .map .board { background: #14110F; border-bottom: 0; }
  .map .board .lab { background: #14110F; box-shadow: 16px 0 18px #14110F; color: #FF8A3D; text-shadow: none; }
  .map .board a { color: #fff; } .map .board a + a::before { background: #FF8A3D; }
  .maptxt, .maptxt h1 { color: var(--ink); }
  .rot { color: #fff; text-shadow: none; }
  .maptxt p { color: var(--ink2); }
  .stats3 { color: var(--ink2); } .stats3 b { color: var(--ink); }
  .cats button, .regions button { color: var(--ink); background: rgba(20,17,15,.07); border-color: rgba(20,17,15,.2); }
  .regions button { background: none; border-color: transparent; color: var(--ink2); } .regions button:hover { background: rgba(20,17,15,.1); color: var(--ink); }
  .cats .morec { background: none; color: var(--ink2); }
  .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { background: #14110F; color: #fff; border-color: #14110F; }
  .viewsw { background: rgba(20,17,15,.1); border-color: rgba(20,17,15,.2); } .viewsw button { color: var(--ink2); }
  .zoomer button { background: #14110F; border-color: #14110F; color: #fff; } .zoomer button:hover { background: #2B221C; }
  .legend { color: var(--ink3); }
  .dust { background: #fff !important; }
  .meteor { background: linear-gradient(90deg, rgba(255,255,255,0), #fff); filter: none; }
  /* 펼친 지도: 땅은 검정 기운, 별은 흰빛 */
  .map path, .mapin svg.sky path { fill: rgba(20,17,15,.16); }
  .lines path, .map .lines path { stroke: rgba(20,17,15,.3); }
  #mapscroll .star .lb, .memap .star .lb { color: var(--ink); text-shadow: 0 0 6px rgba(255,160,90,.9); } #mapscroll .star .lb b, .memap .star .lb b { color: var(--ink); }
  #mapscroll .star .halo, .memap .star .halo { background: radial-gradient(circle, rgba(255,255,255,.75) 0%, rgba(255,255,255,.25) 40%, transparent 68%); }
  #mapscroll .star .g, .memap .star .g { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px rgba(255,255,255,.8)); }
  .memap .lines path { stroke: #14110F; filter: none; }
  .star .lb .rk { background: #FF8A3D; color: #14110F; }
  .gstars .star .lb { color: #fff; text-shadow: 0 1px 3px #000; } .gstars .star .lb b { color: #FFD66E; }
  /* 본문 */
  .deg { color: var(--ink) !important; }
  .peek .deg { color: #FF8A3D !important; } .peek .live, .peek .live.hotl { color: #FF8A3D; } .peek .live.off { color: rgba(255,255,255,.6); }
  .tag { color: #14110F; } .tag::before { background: #FF6A1A !important; }
  .live { color: var(--ink); } .live.off { color: var(--ink3); }
  .badge { background: #14110F; color: #fff; }
  .gauge, .stats div, .mecard, .numcard, .allbtn { background: rgba(20,17,15,.08); border: 1px solid rgba(20,17,15,.1); }
  .numcard { color: var(--ink); }
  .ruler { background: linear-gradient(90deg, rgba(20,17,15,.14), #14110F); } .ruler i { background: #fff; border-color: #14110F; }
  .ax .t { background: rgba(20,17,15,.12); } .ax .t i { background: #14110F; }
  .rank li + li, .ax + .ax, .post + .post { border-top-color: rgba(20,17,15,.16); }
  .post footer button { color: var(--ink2); } .post footer button[aria-pressed="true"] { color: #fff; }
  .post .av { box-shadow: 0 0 0 2px #FF6A1A, 0 0 0 4px #14110F; }
  .btn { background: rgba(20,17,15,.1); color: var(--ink); }
  .btn.k, .mecard .btn.k { background: #14110F; color: #fff; }
  .mecard .btn { background: rgba(20,17,15,.1); color: var(--ink); }
  .tagp { background: #14110F; color: #fff; }
  .ph.star4 { background: #14110F; }
  img { background: rgba(20,17,15,.1); }
  .tabs { background: #14110F; border-top: 0; } .tabs button { color: rgba(255,255,255,.55); } .tabs button[aria-current="page"] { color: #fff; }
  .tabs .add svg { background: #FF6A1A; color: #14110F; }
  .cta { background: #14110F; border-top: 0; } .cta .btn { background: rgba(255,255,255,.14); color: #fff; } .cta .btn.k { background: #FF6A1A; color: #14110F; }
  .toast { background: #14110F; color: #fff; }
  .sheet .btn.k, .sheet .opt .go, .catgrid button[aria-pressed="true"] { background: #14110F; color: #fff; }
  .opt:nth-of-type(1) .ic, .opt:nth-of-type(2) .ic { color: #FF6A1A; }
  .fly { background: radial-gradient(120% 80% at 50% 20%, #FF7B24 0%, #F2560C 80%); color: #14110F; }
  .fly .land { fill: rgba(20,17,15,.18); } .fly text { fill: #14110F; } .fly .cap b { color: #14110F; } .fly .cap small { color: rgba(20,17,15,.7); }
  .fly.g3 text { fill: #fff; }
  .mehere { background: #14110F; color: #fff; box-shadow: 0 0 0 4px rgba(20,17,15,.18); }

  /* ══ 블랙 80 · 파스텔 오렌지 20, 조명 느낌 (형 지시 11/13) ══ 따뜻한 검정 바탕에 살구빛 조명이 번지고, 강조는 파스텔 오렌지만 */
  :root { --bg: #0E0C0B; --soft: rgba(255,214,190,.07); --line: rgba(255,214,190,.14); --ink: #FFF6EF; --ink2: rgba(255,240,230,.74); --ink3: rgba(255,232,218,.5); --gold: #FFC29C; --or: #FFB48A; }
  .sheet, .toast, .tag, .round { --bg: #FFFFFF; --soft: #F6F2EF; --line: #ECE5E0; --ink: #1A1513; --ink2: #5A4F49; --ink3: #94877F; }
  .peek { --ink: #1A1513; --ink2: #5A4334; --ink3: rgba(40,26,18,.62); background: linear-gradient(135deg, #FFD9C2, #FFBE98); color: #1A1513; box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 18px 50px rgba(255,150,90,.28); }
  html { background: #0E0C0B; }
  /* 조명: 위 오른쪽에서 큰 살구빛, 왼쪽 아래에서 약한 빛, 아래로 갈수록 은은한 바닥 조명 */
  body { color: var(--ink); background-color: #0E0C0B; background-repeat: no-repeat;
    background-image: radial-gradient(900px 620px at 72% 300px, rgba(255,160,105,.26), transparent 70%), radial-gradient(700px 520px at 6% 620px, rgba(255,190,150,.10), transparent 72%), radial-gradient(1100px 700px at 50% 1500px, rgba(255,150,100,.10), transparent 72%), linear-gradient(180deg, #100D0C 0, #0C0A09 100%); }
  .logo::before { background: linear-gradient(135deg, #FFD9C2, #FF9E6B); box-shadow: 0 0 12px rgba(255,160,110,.8); }
  .bar .login { color: var(--ink2); }
  .mapwrap .map::after { background: radial-gradient(46% 52% at 68% 46%, rgba(255,170,115,.34), transparent 72%), radial-gradient(40% 40% at 12% 22%, rgba(255,205,175,.10), transparent 72%); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 98%); mask-image: linear-gradient(180deg, #000 60%, transparent 98%); }
  .mapwrap .map::before { display: none; }
  .map .board { background: rgba(255,214,190,.05); border-bottom: 1px solid rgba(255,190,150,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .map .board .lab { background: #120F0D; box-shadow: 16px 0 18px #120F0D; color: #FFC29C; text-shadow: 0 0 14px rgba(255,170,120,.6); }
  .map .board a { color: var(--ink); } .map .board a + a::before { background: #FFB48A; }
  .maptxt, .maptxt h1 { color: var(--ink); }
  .rot { color: #FFC29C; text-shadow: 0 0 28px rgba(255,160,110,.55); }
  .maptxt p { color: var(--ink2); }
  .stats3 { color: var(--ink3); } .stats3 b { color: var(--ink); }
  .cats button { color: var(--ink2); background: rgba(255,214,190,.06); border-color: rgba(255,214,190,.16); }
  .regions button { background: none; border-color: transparent; color: var(--ink3); } .regions button:hover { background: rgba(255,214,190,.1); color: var(--ink); }
  .cats .morec { background: none; color: var(--ink3); }
  .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { background: #FFC29C; color: #1A1513; border-color: #FFC29C; box-shadow: 0 0 18px rgba(255,160,110,.45); }
  .viewsw { background: rgba(255,214,190,.07); border-color: rgba(255,214,190,.16); } .viewsw button { color: var(--ink3); }
  .zoomer button { background: rgba(255,214,190,.09); border-color: rgba(255,214,190,.2); color: var(--ink); } .zoomer button:hover { background: rgba(255,214,190,.18); }
  .legend { color: var(--ink3); }
  .dust { background: #FFE9DC !important; }
  .meteor { background: linear-gradient(90deg, rgba(255,220,200,0), #FFE1CF); filter: drop-shadow(0 0 6px rgba(255,170,120,.8)); }
  .map path, .mapin svg.sky path { fill: rgba(255,200,170,.11); }
  .lines path, .map .lines path { stroke: rgba(255,200,170,.3); }
  #mapscroll .star .lb, .memap .star .lb, .gstars .star .lb { color: var(--ink); text-shadow: 0 1px 3px #000, 0 0 8px #0E0C0B; }
  #mapscroll .star .lb b, .memap .star .lb b, .gstars .star .lb b { color: #FFC29C; }
  #mapscroll .star .halo, .memap .star .halo { background: radial-gradient(circle, color-mix(in srgb, var(--c) 70%, transparent) 0%, color-mix(in srgb, var(--c) 22%, transparent) 38%, transparent 68%); }
  #mapscroll .star .g, .memap .star .g { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px var(--c)) drop-shadow(0 0 16px var(--c)); }
  .memap .lines path { stroke: rgba(255,194,156,.85); filter: drop-shadow(0 0 4px rgba(255,160,110,.7)); }
  .star .lb .rk { background: #FFC29C; color: #1A1513; }
  .deg { color: var(--c, #FFC29C) !important; }
  .peek .deg { color: #1A1513 !important; } .peek .live, .peek .live.hotl { color: #B5461A; } .peek .live.off { color: rgba(40,26,18,.55); }
  .tag { color: #1A1513; } .tag::before { background: #FF9E6B !important; }
  .live { color: #FFC29C; } .live.off { color: var(--ink3); }
  .badge { background: rgba(255,194,156,.16); color: #FFD2B8; }
  /* 카드에 테두리 빛(조명 받은 느낌) */
  .gauge, .stats div, .mecard, .numcard, .allbtn { background: linear-gradient(160deg, rgba(255,214,190,.09), rgba(255,214,190,.03)); border: 1px solid rgba(255,214,190,.13); box-shadow: 0 1px 0 rgba(255,235,220,.10) inset; }
  .numcard { color: #FFC29C; }
  .ruler { background: linear-gradient(90deg, rgba(255,214,190,.16), #FFD9C2 55%, #FF9E6B); } .ruler i { background: #0E0C0B; border-color: #FFF6EF; }
  .ax .t { background: rgba(255,214,190,.12); } .ax .t i { background: linear-gradient(90deg, #FFD9C2, #FF9E6B); box-shadow: 0 0 10px rgba(255,160,110,.5); }
  .rank li + li, .ax + .ax, .post + .post { border-top-color: rgba(255,214,190,.12); }
  .post footer button { color: var(--ink2); } .post footer button[aria-pressed="true"] { color: #FFC29C; }
  .post .av { box-shadow: 0 0 0 2px #0E0C0B, 0 0 0 4px #FFB48A; }
  .card .ph { box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(255,214,190,.10); }
  .btn { background: rgba(255,214,190,.1); color: var(--ink); }
  .btn.k, .mecard .btn.k { background: linear-gradient(135deg, #FFD9C2, #FFB48A); color: #1A1513; box-shadow: 0 8px 26px rgba(255,150,95,.28); }
  .mecard .btn { background: rgba(255,214,190,.1); color: var(--ink); }
  .tagp { background: rgba(255,194,156,.16); color: #FFD2B8; }
  .ph.star4 { background: #FFC29C; }
  img { background: rgba(255,214,190,.07); }
  .tabs { background: rgba(14,12,11,.82); border-top: 1px solid rgba(255,214,190,.1); } .tabs button { color: var(--ink3); } .tabs button[aria-current="page"] { color: var(--ink); }
  .tabs .add svg { background: linear-gradient(135deg, #FFD9C2, #FFA574); color: #1A1513; box-shadow: 0 0 22px rgba(255,150,95,.5); }
  .cta { background: rgba(14,12,11,.9); border-top: 1px solid rgba(255,214,190,.1); } .cta .btn { background: rgba(255,214,190,.1); color: var(--ink); } .cta .btn.k { background: linear-gradient(135deg, #FFD9C2, #FFB48A); color: #1A1513; }
  .toast { background: #FFF6EF; color: #1A1513; }
  .sheet .btn.k, .sheet .opt .go, .catgrid button[aria-pressed="true"] { background: #1A1513; color: #fff; box-shadow: none; }
  .opt:nth-of-type(1) .ic, .opt:nth-of-type(2) .ic { color: #F08A52; }
  .fly { background: radial-gradient(90% 60% at 50% 38%, rgba(255,160,105,.30), transparent 70%), #0E0C0B; color: var(--ink); }
  .fly .land { fill: rgba(255,200,170,.12); } .fly text, .fly.g3 text { fill: #FFF6EF; } .fly .cap b { color: #FFC29C; } .fly .cap small { color: var(--ink3); }
  .mehere { background: #FFC29C; color: #1A1513; box-shadow: 0 0 0 4px rgba(255,194,156,.2), 0 0 18px rgba(255,160,110,.6); }

  /* ══ 흰색 + 파스텔 오렌지 (형 지시 11/13) ══ 흰 바탕에 살구빛 조명, 지구는 살구빛 공, 강조는 오렌지 */
  :root { --bg: #FFFFFF; --soft: #FFF3EC; --line: #F6E3D8; --ink: #2A1D16; --ink2: #6B574C; --ink3: #A8958A; --gold: #F0834A; --or: #F0834A; }
  .sheet, .toast, .tag, .round, .peek { --bg: #FFFFFF; --soft: #FFF3EC; --line: #F6E3D8; --ink: #2A1D16; --ink2: #6B574C; --ink3: #A8958A; }
  html { background: #FFFFFF; }
  body { color: var(--ink); background-color: #FFFFFF; background-repeat: no-repeat;
    background-image: radial-gradient(900px 640px at 72% 320px, rgba(255,176,128,.34), transparent 70%), radial-gradient(700px 520px at 4% 640px, rgba(255,214,190,.42), transparent 72%), radial-gradient(1100px 700px at 50% 1500px, rgba(255,200,170,.26), transparent 72%), linear-gradient(180deg, #FFFDFB 0, #FFF8F3 100%); }
  .logo::before { background: linear-gradient(135deg, #FFC29C, #F0834A); box-shadow: 0 0 12px rgba(240,131,74,.5); }
  .bar .login { color: var(--ink2); }
  .mapwrap .map::after { background: radial-gradient(46% 52% at 68% 46%, rgba(255,170,115,.26), transparent 72%), radial-gradient(40% 40% at 12% 22%, rgba(255,214,190,.34), transparent 72%); }
  .map .board { background: rgba(255,255,255,.6); border-bottom: 1px solid #F6E3D8; }
  .map .board .lab { background: #FFFAF6; box-shadow: 16px 0 18px #FFFAF6; color: #E0703A; text-shadow: none; }
  .map .board a { color: var(--ink); } .map .board a + a::before { background: #F6A77B; }
  .maptxt, .maptxt h1 { color: var(--ink); }
  .rot { color: #EE7A3E; text-shadow: none; }
  .maptxt p { color: var(--ink2); }
  .stats3 { color: var(--ink3); } .stats3 b { color: var(--ink); }
  .cats button { color: var(--ink2); background: rgba(255,255,255,.75); border-color: #F3DDD0; }
  .regions button { background: none; border-color: transparent; color: var(--ink3); } .regions button:hover { background: #FFEDE2; color: var(--ink); }
  .cats .morec { background: none; color: var(--ink3); border-color: #EBCFBF; }
  .cats button[aria-pressed="true"], .viewsw button[aria-pressed="true"] { background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(240,131,74,.35); }
  .viewsw { background: rgba(255,255,255,.75); border-color: #F3DDD0; } .viewsw button { color: var(--ink3); }
  .zoomer button { background: #fff; border-color: #F3DDD0; color: var(--ink); box-shadow: 0 6px 18px rgba(200,120,80,.16); } .zoomer button:hover { background: #FFF3EC; }
  .legend { color: var(--ink3); }
  .dust { background: #F6A77B !important; }
  .meteor { background: linear-gradient(90deg, rgba(246,167,123,0), #F6A77B); filter: none; }
  .map path, .mapin svg.sky path { fill: rgba(246,150,100,.2); }
  .lines path, .map .lines path { stroke: rgba(240,131,74,.4); }
  #mapscroll .star .lb, .memap .star .lb { color: var(--ink); text-shadow: 0 0 6px #fff, 0 0 10px #fff; }
  #mapscroll .star .lb b, .memap .star .lb b { color: #E0703A; }
  #mapscroll .star .core, .memap .star .core { background: radial-gradient(circle, #fff 0 22%, var(--c) 60%); }
  #mapscroll .star .g, .memap .star .g { filter: drop-shadow(0 0 2px var(--c)) drop-shadow(0 0 8px var(--c)); }
  #mapscroll .star .ray, .memap .star .ray { background: linear-gradient(90deg, transparent, var(--c) 35%, #fff 50%, var(--c) 65%, transparent); }
  .memap .lines path { stroke: #F0834A; filter: none; }
  /* 살구빛 지구 위의 별은 흰빛 */
  .gstars .star { --c: #FFFFFF !important; }
  .gstars .star .lb { color: #2A1D16; text-shadow: 0 0 6px rgba(255,255,255,.95), 0 0 12px rgba(255,255,255,.8); } .gstars .star .lb b { color: #B8481A; }
  .gstars .star .g { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 18px rgba(255,255,255,.9)); }
  .star .lb .rk { background: #F0834A; color: #fff; }
  .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px rgba(240,131,74,.9); } .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #fff; }
  .deg { color: var(--c, #E0703A) !important; }
  .peek { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #F6E3D8, 0 18px 46px rgba(210,120,70,.2); }
  .peek .deg { color: #E0703A !important; } .peek .live, .peek .live.hotl { color: #E0703A; } .peek .live.off { color: var(--ink3); }
  .tag { color: var(--ink); } .tag::before { background: #F0834A !important; }
  .live { color: #E0703A; } .live.off { color: var(--ink3); }
  .badge { background: #FFEDE2; color: #C2551F; }
  .gauge, .stats div, .mecard, .numcard, .allbtn { background: #fff; border: 1px solid #F6E3D8; box-shadow: 0 10px 30px rgba(210,120,70,.10); }
  .numcard { color: #E0703A; }
  .ruler { background: linear-gradient(90deg, #FFE9DC, #FFB48A 55%, #F0834A); } .ruler i { background: #fff; border-color: #2A1D16; }
  .ax .t { background: #FFEDE2; } .ax .t i { background: linear-gradient(90deg, #FFC29C, #F0834A); box-shadow: none; }
  .rank li + li, .ax + .ax, .post + .post { border-top-color: #F6E3D8; }
  .post footer button { color: var(--ink2); } .post footer button[aria-pressed="true"] { color: #E0703A; }
  .post .av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #F6A77B; }
  .card .ph { box-shadow: 0 14px 34px rgba(210,120,70,.18); }
  .btn { background: #FFEDE2; color: var(--ink); }
  .btn.k, .mecard .btn.k { background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; box-shadow: 0 8px 24px rgba(240,131,74,.35); }
  .mecard .btn { background: #FFEDE2; color: var(--ink); }
  .tagp { background: #FFEDE2; color: #C2551F; }
  .ph.star4 { background: #F6A77B; }
  img { background: #FFEDE2; }
  .tabs { background: rgba(255,255,255,.9); border-top: 1px solid #F6E3D8; } .tabs button { color: var(--ink3); } .tabs button[aria-current="page"] { color: #E0703A; }
  .tabs .add svg { background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; box-shadow: 0 8px 22px rgba(240,131,74,.45); }
  .cta { background: rgba(255,255,255,.94); border-top: 1px solid #F6E3D8; } .cta .btn { background: #FFEDE2; color: var(--ink); } .cta .btn.k { background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; }
  .toast { background: #2A1D16; color: #fff; }
  .sheet .btn.k, .sheet .opt .go, .catgrid button[aria-pressed="true"] { background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; }
  .opt:nth-of-type(1) .ic, .opt:nth-of-type(2) .ic { color: #F0834A; }
  .veil { background: rgba(60,35,20,.35); }
  .fly { background: radial-gradient(90% 60% at 50% 38%, rgba(255,176,128,.5), transparent 70%), #FFFBF8; color: var(--ink); }
  .fly .land { fill: rgba(246,150,100,.22); } .fly text { fill: #2A1D16; } .fly.g3 text { fill: #2A1D16; } .fly .cap b { color: #E0703A; } .fly .cap small { color: var(--ink3); }
  .mehere { background: #2A1D16; color: #fff; box-shadow: 0 0 0 4px rgba(240,131,74,.25); }

  /* 지구본을 더 연하게, 빛은 더 강하게 (형 지시 11/13). 연한 지구 위의 별은 오렌지빛 */
  .gstars .star { --c: initial; }
  body:not(.gnavy) .gstars .star { --c: #F0834A !important; }
  body:not(.gnavy) .gstars .star .core { background: radial-gradient(circle, #fff 0 22%, #F0834A 62%); }
  body:not(.gnavy) .gstars .star .g { filter: drop-shadow(0 0 2px #F0834A) drop-shadow(0 0 9px rgba(240,131,74,.9)); }
  body:not(.gnavy) .gstars .star .ray { background: linear-gradient(90deg, transparent, #F0834A 35%, #fff 50%, #F0834A 65%, transparent); }
  body:not(.gnavy) .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #F0834A; }
  .gstars .star .lb { color: #2A1D16; text-shadow: 0 0 6px #fff, 0 0 12px #fff; } .gstars .star .lb b { color: #C2551F; }
  .mapwrap .map::after { background: radial-gradient(44% 52% at 66% 50%, rgba(255,160,105,.42), transparent 72%), radial-gradient(40% 40% at 12% 22%, rgba(255,214,190,.34), transparent 72%); }
  /* 네이비 지구(비교용): 별은 다시 금빛·흰빛으로 빛난다 */
  body.gnavy .gstars .star .lb { color: #fff; text-shadow: 0 1px 3px rgba(10,20,50,.9), 0 0 8px rgba(10,20,50,.8); } body.gnavy .gstars .star .lb b { color: #FFD2B3; }
  body.gnavy .gstars .star { --c: #FFD9B8 !important; }
  body.gnavy .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #fff; }
  body.gnavy .gstars .star .g { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 9px #FFC29C) drop-shadow(0 0 18px #FFA574); }

  body.gnavy .fly.g3 text { fill: #fff; paint-order: stroke; stroke: rgba(10,20,50,.6); stroke-width: 3px; }

  /* 지구를 연한 파스텔 블루로 (형 지시 11/13): 그 위의 별은 살구·오렌지빛, 이름표는 짙은 글씨 */
  body.gnavy .gstars .star { --c: #F0834A !important; }
  body.gnavy .gstars .star .core { background: radial-gradient(circle, #fff 0 26%, #F6A77B 64%); }
  body.gnavy .gstars .star .g { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px #F6A77B) drop-shadow(0 0 16px rgba(240,131,74,.7)); }
  body.gnavy .gstars .star .ray { background: linear-gradient(90deg, transparent, #F6A77B 35%, #fff 50%, #F6A77B 65%, transparent); }
  body.gnavy .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #F0834A; }
  body.gnavy .gstars .star .lb { color: #23305A; text-shadow: 0 0 6px #fff, 0 0 12px rgba(255,255,255,.9); } body.gnavy .gstars .star .lb b { color: #C2551F; }
  body.gnavy .fly.g3 text { fill: #23305A; stroke: rgba(255,255,255,.85); }

  /* 지구는 살구·오렌지, 둘레의 선과 별똥별만 네이비 (형 지시 11/13) */
  html body .gstars .star { --c: #FFFFFF !important; }
  html body .gstars .star .core { background: radial-gradient(circle, #fff 0 40%, #FFF3EA 70%); }
  html body .gstars .star .g { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 18px rgba(255,255,255,.9)); }
  html body .gstars .star .ray { background: linear-gradient(90deg, transparent, rgba(255,255,255,.8) 35%, #fff 50%, rgba(255,255,255,.8) 65%, transparent); }
  html body .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #1E3A7A; }
  html body .gstars .star .lb { color: #2A1D16; text-shadow: 0 0 6px #fff, 0 0 12px rgba(255,255,255,.9); } html body .gstars .star .lb b { color: #1E3A7A; }
  html body .fly.g3 text { fill: #2A1D16; stroke: rgba(255,255,255,.85); }
  .lines path, .map .lines path { stroke: rgba(30,58,122,.5); }
  .memap .lines path { stroke: #1E3A7A; filter: none; }
  .meteor { background: linear-gradient(90deg, rgba(30,58,122,0), #1E3A7A); filter: none; }
  .star.t1::before { border-color: #1E3A7A; }

  /* 별도 네이비 (형 지시 11/13): 연한 살구빛 지구 위에서 또렷하게 */
  html body .gstars .star, #mapscroll .star, .memap .star { --c: #1E3A7A !important; }
  html body .gstars .star .core, #mapscroll .star .core, .memap .star .core { background: #1E3A7A; }
  html body .gstars .star .g, #mapscroll .star .g, .memap .star .g { filter: drop-shadow(0 0 6px rgba(30,58,122,.45)); }
  html body .gstars .star .ray, #mapscroll .star .ray, .memap .star .ray { background: linear-gradient(90deg, transparent, rgba(30,58,122,.75) 40%, #1E3A7A 50%, rgba(30,58,122,.75) 60%, transparent); }
  html body .gstars .star .halo, #mapscroll .star .halo, .memap .star .halo { background: radial-gradient(circle, rgba(30,58,122,.22) 0%, rgba(30,58,122,.08) 42%, transparent 68%); }
  html body .gstars .star .lb b, #mapscroll .star .lb b, .memap .star .lb b { color: #1E3A7A; }
  .star .lb .rk { background: #1E3A7A; color: #fff; }
  .star[aria-pressed="true"], html body .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #1E3A7A; }
  .dust { background: #1E3A7A !important; opacity: .18 !important; }
  /* 위 규칙이 앞선 연한-지구용 규칙에 밀려 지구본 별에 안 먹던 것을 바로잡는다 */
  html body:not(.zz) .gstars .star { --c: #1E3A7A !important; }
  html body:not(.zz) .gstars .star .core { background: #1E3A7A; }
  html body:not(.zz) .gstars .star .g { filter: drop-shadow(0 0 6px rgba(30,58,122,.45)); }
  html body:not(.zz) .gstars .star .ray { background: linear-gradient(90deg, transparent, rgba(30,58,122,.75) 40%, #1E3A7A 50%, rgba(30,58,122,.75) 60%, transparent); }
  html body:not(.zz) .gstars .star .halo { background: radial-gradient(circle, rgba(30,58,122,.22) 0%, rgba(30,58,122,.08) 42%, transparent 68%); }
  html body:not(.zz) .gstars .star .lb { color: #2A1D16; text-shadow: 0 0 6px #fff, 0 0 12px rgba(255,255,255,.9); }
  html body:not(.zz) .gstars .star .lb b { color: #1E3A7A; }
  html body:not(.zz) .gstars .star[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #1E3A7A; }

  /* 공식 파트너 신청 창 */
  .map .board .lab { cursor: pointer; border: 0; font-family: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(224,112,58,.5); }
  .map .board a[data-partner-open] { cursor: pointer; }
  .ptsteps { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: pt; display: grid; gap: 8px; }
  .ptsteps li { counter-increment: pt; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; padding: 12px 14px; border-radius: 14px; background: var(--soft); }
  .ptsteps li::before { content: counter(pt); grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 50%; background: #1E3A7A; color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
  .ptsteps b { font-weight: 700; } .ptsteps span { grid-column: 2; font-size: 14px; color: var(--ink2); word-break: keep-all; }
  .ptfacts { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 6px; font-size: 14px; }
  .ptfacts li { padding-left: 16px; position: relative; word-break: keep-all; } .ptfacts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: #F0834A; transform: rotate(45deg); }
  .contract { max-height: 38vh; overflow: auto; margin: 10px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; line-height: 1.65; }
  .contract h3 { font-size: 14px; font-weight: 700; margin-top: 12px; } .contract h3:first-child { margin-top: 0; } .contract p { color: var(--ink2); word-break: keep-all; }
  .sheet form .btn { margin-top: 2px; }
  .bankbox { margin: 14px 0 16px; padding: 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
  .bankbox b { font-weight: 700; } .bankbox p { font-size: 14px; color: var(--ink2); margin-top: 4px; word-break: keep-all; }
  .bankbox dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 8px; font-size: 14px; } .bankbox dt { color: var(--ink3); } .bankbox dd { margin: 0; font-weight: 700; }
  .sheet { max-height: 92vh; overflow: auto; }
  /* 지도 칸의 장식이 옆으로 삐져나와 화면이 가로로 밀리던 것을 막는다 */
  html, body { overflow-x: clip; }
  .mapwrap { overflow-x: clip; }

  @keyframes up { from { transform: translateY(40px); } }   /* 창이 반투명하게 멈춰 보이지 않게: 투명도는 움직이지 않는다 */

  /* ── 올리기 · 알림 · 가게 관리 · 설정 (2026-11-13: 옛 화면 없이 새 화면 안에서) ── */
  .pane { max-width: 620px; margin: 0 auto; padding: 28px 20px 40px; }
  .pane h1 { font-weight: 800; font-size: 26px; letter-spacing: -.03em; word-break: keep-all; }
  .pane .lede { color: var(--ink2); margin-top: 6px; word-break: keep-all; }
  .pane form { display: grid; gap: 14px; margin-top: 20px; }
  .pane label.f, .sheet label.f { display: grid; gap: 6px; font-weight: 600; font-size: 13px; color: var(--ink2); }
  .pane input[type=text], .pane textarea, .pane select, .sheet textarea, .sheet select, .sheet input[type=date] { border-radius: 12px; border: 1.5px solid #F0DDD1; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%; }
  .pane input[type=text], .pane select, .sheet select, .sheet input[type=date] { height: 50px; padding: 0 14px; }
  .pane textarea, .sheet textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
  .pane input:focus, .pane textarea:focus, .pane select:focus, .sheet textarea:focus, .sheet select:focus { outline: none; border-color: #F0834A; }
  .pane .btn { width: 100%; }
  .sheet input[type=file] { font: inherit; font-size: 14px; color: var(--ink2); }
  /* 사진 고르는 칸 */
  .shot { display: block; cursor: pointer; }
  .shot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .shot .ph { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 190px; padding: 22px; border-radius: 18px; border: 1.5px dashed #F3B694; background: #FFF7F2; color: var(--ink2); text-align: center; overflow: hidden; position: relative; }
  .shot .ph svg { width: 30px; height: 30px; color: #F0834A; }
  .shot .ph b { font-size: 16px; color: var(--ink); }
  .shot .ph small { font-size: 13px; color: var(--ink3); word-break: keep-all; max-width: 22em; }
  .shot .ph.has { padding: 0; border-style: solid; border-color: #F6E3D8; background: #fff; }
  .shot .ph.has img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
  .shot .ph.has em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 16px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 4px 14px rgba(120,70,40,.18); }
  .shot input:focus-visible + .ph { outline: 2px solid #1E3A7A; outline-offset: 2px; }
  /* 알림·링크·약속 목록 */
  .notes { list-style: none; margin: 18px 0 0; padding: 0; }
  .notes li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 0; }
  .notes li + li { border-top: 1px solid #F6E3D8; }
  .notes li > span:not(.ic):not(.two) { min-width: 0; grid-column: auto; }
  .notes li > span:first-child:not(.ic) { grid-column: 1 / 3; }
  .notes .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #FFEDE2; color: #E0702F; }
  .notes .ic svg { width: 20px; height: 20px; }
  .notes b { display: block; font-size: 15px; word-break: keep-all; }
  .notes small { display: block; color: var(--ink2); font-size: 13px; word-break: keep-all; overflow: hidden; text-overflow: ellipsis; }
  .notes time { display: block; color: var(--ink3); font-size: 12px; margin-top: 2px; }
  .notes .two { display: flex; gap: 6px; }
  .mini { display: inline-grid; place-items: center; height: 34px; padding: 0 13px; border-radius: 17px; font-weight: 700; font-size: 13px; white-space: nowrap; background: linear-gradient(135deg, #FFB48A, #F0834A); color: #fff; text-decoration: none; }
  .mini.g { background: #FFEDE2; color: var(--ink); }
  /* 내 가게 도구 */
  .tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
  .tools button { text-align: left; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #F6E3D8; box-shadow: 0 6px 20px rgba(210,120,70,.08); }
  .tools b { display: block; font-size: 15px; word-break: keep-all; }
  .tools small { display: block; color: var(--ink3); font-size: 12px; margin-top: 2px; word-break: keep-all; }
  @media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }
  /* 설정 */
  .setlist > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; }
  .setlist > div + div { border-top: 1px solid #F6E3D8; }
  .setlist b { display: block; font-size: 15px; }
  .setlist small { display: block; color: var(--ink3); font-size: 13px; word-break: break-all; }
  /* 가입: 응원하러 왔는지, 가게를 올릴 건지 */
  .seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .seg2 label { position: relative; display: block; cursor: pointer; }
  .seg2 input { position: absolute; opacity: 0; }
  .seg2 span { display: block; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #F0DDD1; background: #fff; }
  .seg2 b { display: block; font-size: 15px; word-break: keep-all; }
  .seg2 small { display: block; color: var(--ink3); font-size: 12px; margin-top: 2px; word-break: keep-all; }
  .seg2 input:checked + span { border-color: #F0834A; background: #FFF4EC; }
  .seg2 input:focus-visible + span { outline: 2px solid #1E3A7A; outline-offset: 2px; }
  .shopf { display: grid; gap: 10px; }
  .shopf[hidden] { display: none; }

  /* ── 전문가 상담 · 문의 대화 ── */
  .backlink { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--ink2); margin: -6px 0 14px -4px; padding: 6px 4px; }
  .backlink svg { width: 18px; height: 18px; }
  .xlist { display: grid; gap: 12px; margin-top: 20px; }
  @media (min-width: 700px) { .pane:has(.xlist) { max-width: 860px; } .xlist { grid-template-columns: 1fr 1fr; } }
  .xcard { display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #F6E3D8; box-shadow: 0 10px 30px rgba(210,120,70,.10); }
  .xcard header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .xcard header b { font-size: 17px; letter-spacing: -.02em; }
  .xcard .xk { color: var(--ink2); font-size: 14px; }
  .xcard .xfee { color: var(--ink3); font-size: 13px; word-break: keep-all; }
  .xcard .btn { height: 44px; font-size: 15px; margin-top: 6px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: #FFEDE2; color: #A8501F; }
  .textbtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #1E3A7A; text-align: left; padding: 6px 0; word-break: keep-all; }
  .textbtn svg { width: 20px; height: 20px; flex: none; }
  .tools.one { grid-template-columns: 1fr; }
  .chat { display: grid; gap: 8px; margin-top: 14px; max-height: 44vh; overflow: auto; padding: 2px; }
  .chat p { display: grid; justify-items: start; gap: 2px; }
  .chat p span { max-width: 84%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #F4F5F7; word-break: break-word; }
  .chat p.me { justify-items: end; }
  .chat p.me span { border-radius: 16px 16px 4px 16px; background: #FFE6D8; }
  .chat time { font-size: 11px; color: var(--ink3); padding: 0 4px; }

  /* ── 전문가 가격표 · 회원 혜택 · 두 가지 별 ── */
  .pane .fine { margin-top: 8px; }
  .sortf { margin-top: 16px; max-width: 320px; }
  .rates { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
  .rate { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink2); }
  .rate b { font-size: 14px; color: var(--ink); }
  .rate.none { color: var(--ink3); }
  .st5 { display: inline-flex; gap: 1px; }
  .st5 svg { width: 14px; height: 14px; color: #E6DAD2; fill: currentColor; stroke: none; }
  .st5.c svg.on { color: #F0834A; }   /* 상담 별: 주황 */
  .st5.d svg.on { color: #1E3A7A; }   /* 거래 별: 남색 */
  .ptable { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 4px 0 0; border-top: 1px solid #F6E3D8; }
  .ptable dt, .ptable dd { padding: 8px 0; border-bottom: 1px solid #F6E3D8; font-size: 14px; margin: 0; }
  .ptable dt { color: var(--ink2); word-break: keep-all; }
  .ptable dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
  .ptable .hi { color: #C2571C; }
  .bnf { display: grid; gap: 4px; justify-items: start; padding: 14px; border-radius: 14px; background: #F3F6FC; border: 1px solid #DCE4F3; margin-top: 6px; }
  .bnf b { font-size: 14px; color: #1E3A7A; }
  .bnf small { font-size: 13px; color: var(--ink2); word-break: keep-all; }
  .bnf .mini { margin-top: 6px; background: #1E3A7A; }
  .bnf code, .notes code { font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px dashed #9FB3DC; color: #1E3A7A; margin-top: 4px; }
  .notes code { margin: 0; font-size: 13px; }
  .bnf.lock { background: #FAFAFB; border-color: var(--line); }
  .bnf.lock b { color: var(--ink); }
  .xact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
  .xact .btn { margin: 0; }
  .xact .btn:only-child { grid-column: 1 / -1; }
  .xact .btn:not(.k) { background: #FFEDE2; color: var(--ink); }
  .badge.warn { background: #FFF1D6; color: #8A5A00; }
  .textbtn.warn { color: #B4232C; font-size: 14px; margin-top: 4px; }
  .stt { display: block; font-size: 14px; }
  .stt.c { color: #C2571C; } .stt.d { color: #1E3A7A; }
  .starpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
  .starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .starpick label { cursor: pointer; padding: 2px; }
  .starpick svg { width: 34px; height: 34px; color: #E6DAD2; fill: currentColor; stroke: none; display: block; }
  .starpick.c input:checked ~ label svg, .starpick.c label:hover svg, .starpick.c label:hover ~ label svg { color: #F0834A; }
  .starpick.d input:checked ~ label svg, .starpick.d label:hover svg, .starpick.d label:hover ~ label svg { color: #1E3A7A; }
  .starpick input:focus-visible + label { outline: 2px solid #1E3A7A; outline-offset: 2px; border-radius: 6px; }
  .cmts .rate { display: flex; margin-bottom: 2px; }
  .sheet label.row2 { grid-template-columns: 1fr 130px; align-items: center; }
  .money { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink2); }
  .money input { width: 100%; text-align: right; }
  .seg2 label.wide { grid-column: 1 / -1; }

  /* ── 사기 가게 거르기: 새 가게 · 확인 중 · 주인 확인 ── */
  .badge.new { background: #EEF2FA; color: #1E3A7A; }
  .notice { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #EEF2FA; color: #1E3A7A; font-size: 14px; word-break: keep-all; }
  .notice.warn { background: #FFF1D6; color: #7A4E00; }
  .sec .textbtn + .textbtn { display: flex; margin-top: 6px; }
  .links small { word-break: keep-all; }

  /* ── 확인 단계: 무엇을 확인했고 무엇을 확인 안 했는지 ── */
  .trust { margin-top: 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #F6E3D8; box-shadow: 0 8px 24px rgba(210,120,70,.08); }
  .trust > b { display: flex; align-items: center; gap: 7px; font-size: 16px; letter-spacing: -.02em; }
  .trust > b svg { width: 20px; height: 20px; flex: none; }
  .trust.lv0 > b { color: var(--ink3); }
  .trust.lv1 > b { color: #C2571C; }
  .trust.lv2 > b, .trust.lv3 > b { color: #1E3A7A; }
  .trust dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0 0; }
  .trust dt { font-size: 13px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
  .trust dd { margin: 0; font-size: 14px; word-break: keep-all; }
  .trust .fine { margin-top: 12px; padding-top: 10px; border-top: 1px solid #F6E3D8; }
  .ptsteps li.done b { color: #1E3A7A; }
  .ptsteps li.now { background: #FFF4EC; border-radius: 10px; padding: 10px 12px; margin-left: -12px; }
  .ptsteps li.now b { color: #C2571C; }
  .notes a { color: #1E3A7A; word-break: break-all; }

  /* 사업자 정보·유의 문구(어느 화면에서나 맨 아래) */
  .legalnote { margin: 40px 20px 0; padding: 14px 0 4px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 11.5px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
  .legalnote p + p { margin-top: 4px; }
  .legalnote a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  /* 가입 창의 개인정보 수집 안내문(길면 안에서 넘겨 본다) */
  .sheet pre.cpre { margin: 2px 0; padding: 12px 14px; max-height: 136px; overflow: auto; border-radius: 12px; background: var(--soft); color: var(--ink2); font: inherit; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: keep-all; }
