/* Self-hosted subsets: VG Sans is a renamed subset of Pretendard v1.3.9; licenses in fonts/*-OFL.txt. */
@font-face { font-family: 'VG Sans'; font-style: normal; font-weight: 45 920; font-display: swap; src: url('/assets/fonts/vg-sans.aad7e611fe.woff2') format('woff2'); }
@font-face { font-family: 'Black Han Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/black-han-sans.689d081b7c.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/archivo-black.dec569b9e4.woff2') format('woff2'); }

:root {
  --night: #07091A;
  --panel: #10132B;
  --line: rgba(255, 194, 74, .28);
  --gold: #FFC24A;
  --bulb: #FFE29A;
  --plum: #190A2E;
  --ink: #F4F5FC;
  --muted: #C2C6E2;
  --official: #7FE0C3;
  --mine: #FFC24A;
  --check: #FF9AA8;
  --display: 'Black Han Sans', 'Archivo Black', sans-serif;
  --body: 'VG Sans', 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #3a3f6b var(--night); }
body { background: var(--night); color: var(--ink); font: 400 16px/1.65 var(--body); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 2px; border-radius: 4px; }
.display { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }

/* Marketing page */
.teaser { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 28px 20px 32px; }
.lat { font-family: 'Archivo Black', sans-serif; letter-spacing: -.02em; }
.player { position: relative; width: min(100%, 980px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0a0d24 url(/assets/photos/strip-2024.6ad61f032a.webp) center 58% / cover no-repeat; box-shadow: 0 12px 28px rgba(0, 0, 0, .4); }
.enter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(100%, 360px); min-height: 56px; padding: 0 24px; border-radius: 28px; background: var(--gold); color: var(--night); font: 800 18px var(--body); text-decoration: none; transition: background-color .2s, transform .2s; }
.enter svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.enter:hover { background: var(--bulb); transform: translateX(2px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Guide page */
.guide { background: var(--night); }
.cover-hero { --bg: linear-gradient(180deg, rgba(7, 9, 26, .08) 22%, rgba(7, 9, 26, .72) 58%, var(--night) 100%), url(/assets/photos/strip-2024.6ad61f032a.webp); --bg-sm: linear-gradient(180deg, rgba(7, 9, 26, .08) 22%, rgba(7, 9, 26, .72) 58%, var(--night) 100%), url(/assets/photos/w800/strip-2024.b2382e01aa.webp); position: relative; height: 216px; display: flex; align-items: flex-end; padding: 0 16px 18px; background-image: var(--bg-sm); background-position: 50% 62%; background-size: cover; background-repeat: no-repeat; }
.hero-text { width: 100%; max-width: 1180px; margin: 0 auto; }
.cover-hero h1 { font-size: clamp(36px, 6vw, 58px); }
.cover-hero h1 .lat { color: var(--gold); }
.cover-hero p { margin-top: 6px; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.top { position: sticky; top: 0; z-index: 12; padding: 10px 12px 8px; background: var(--night); }
.search { position: relative; max-width: 1180px; margin: 0 auto; }
.search > svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 44px; border-radius: 12px; border: 1.5px solid #3a3f6b; background: var(--panel); color: var(--ink); font: 500 16px var(--body); caret-color: var(--gold); transition: border-color .2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; border-color: var(--gold); }
.search input::-webkit-search-cancel-button { display: none; }
.clear { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.clear:hover { color: var(--ink); }
.clear svg { width: 18px; height: 18px; }

.layout { max-width: 1212px; margin: 0 auto; }
.chips { position: sticky; top: 64px; z-index: 11; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 12px 10px; background: var(--night); border-bottom: 1px solid var(--line); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 13px; border-radius: 18px; border: 1px solid #3a3f6b; background: transparent; color: var(--ink); font: 600 14px var(--body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); font-weight: 800; }
.chip.empty { opacity: .45; }
.cn { display: none; }

.wrap { min-width: 0; padding: 14px 12px 56px; }
.mq { position: relative; isolation: isolate; padding: 22px 24px; border-radius: 14px; background-color: var(--plum); box-shadow: 0 0 18px rgba(255, 194, 74, .28); }
.mq::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 0 60px 14px rgba(255, 194, 74, .6), inset 0 0 40px rgba(255, 194, 74, .24); animation: mq-breathe 1.8s ease-in-out infinite; pointer-events: none; }
.bulbs, .bulb { position: absolute; inset: 3px; pointer-events: none; }
.bulbs { z-index: 1; background-image: radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 0px 0, 0px 100%, 100% 0px, 0 0px; }
.bulbs.d2 { background-image: radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 10px 0, -10px 100%, 100% 10px, 0 -10px; }
.bulbs.d3 { background-image: radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px), radial-gradient(circle, #6E4C1E 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 20px 0, -20px 100%, 100% 20px, 0 -20px; }
.bulb { z-index: 2; opacity: 0; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 9px var(--gold)); animation: mq-chase .75s steps(1) infinite; }
.bulb.b1 { background-image: radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 0px 0, 0px 100%, 100% 0px, 0 0px; }
.bulb.b2 { background-image: radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 10px 0, -10px 100%, 100% 10px, 0 -10px; animation-delay: .25s; }
.bulb.b3 { background-image: radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px), radial-gradient(circle, #FFF6D2 0 3.6px, transparent 4.2px); background-size: 30px 14px, 30px 14px, 14px 30px, 14px 30px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-position: 20px 0, -20px 100%, 100% 20px, 0 -20px; animation-delay: .5s; }
.mq h2, .mq-list { position: relative; z-index: 3; }
@keyframes mq-chase { 0% { opacity: 1; } 33.34%, 100% { opacity: 0; } }
@keyframes mq-breathe { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes mq-sign { 0%, 21% { color: #FFF6D2; text-shadow: 0 1px 1px rgba(0, 0, 0, .55), 0 0 10px rgba(255, 194, 74, .55); } 27%, 100% { color: var(--gold); text-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 0 6px rgba(255, 194, 74, .25); } }
@keyframes mq-row { 0%, 21% { background-color: rgba(255, 194, 74, .12); } 27%, 100% { background-color: transparent; } }
.mq-list a { animation: mq-row 4s linear infinite; }
.mq-list a b { animation: mq-sign 4s linear infinite; }
.mq-list a:nth-child(2), .mq-list a:nth-child(2) b { animation-delay: 1s; }
.mq-list a:nth-child(3), .mq-list a:nth-child(3) b { animation-delay: 2s; }
.mq-list a:nth-child(4), .mq-list a:nth-child(4) b { animation-delay: 3s; }
.slot { display: grid; grid-template-columns: minmax(0, 1fr) 60px; column-gap: 14px; margin-top: 12px; padding: 14px 10px 12px 14px; border-radius: 14px; background: linear-gradient(180deg, #2A1147, var(--plum)); }
.slot-head { grid-column: 1; grid-row: 1; }
.slot-head h2 { font-size: 23px; color: var(--gold); }
.slot-body { display: contents; }
.reels { grid-column: 1; grid-row: 2; margin-top: 10px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 6px; padding: 7px; border-radius: 10px; background: #0B0618; box-shadow: inset 0 0 0 2px var(--gold), inset 0 3px 10px rgba(0, 0, 0, .7); transition: box-shadow .2s; }
.reel-col { min-width: 0; }
.reel-col > span { display: block; margin-bottom: 4px; text-align: center; font-size: 12.5px; font-weight: 700; color: #F1E3C8; }
.reel { position: relative; height: 68px; overflow: hidden; border-radius: 6px; background: linear-gradient(180deg, #C9C3B2 0, #FFF9EA 24%, #FFF9EA 76%, #C9C3B2 100%); }
.strip { will-change: transform; }
.sym { height: 68px; padding: 0 4px; display: flex; align-items: center; justify-content: center; text-align: center; font: 400 19px/1.08 var(--display); color: #1B0B30; }
.lever { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: stretch; width: 60px; min-height: 150px; padding: 0; border: 0; background: transparent; cursor: grab; touch-action: none; --hub: 62%; }
.lever:active { cursor: grabbing; }
.lever:disabled { cursor: default; }
.lever i { position: absolute; display: block; }
.axle { right: 50%; left: -14px; top: var(--hub); height: 15px; margin-top: -7.5px; border-radius: 2px 0 0 2px; background: linear-gradient(180deg, #3b3e4c 0, #c9ccd8 16%, #fff 30%, #aab0c1 52%, #5a5e6e 78%, #2c2e39 100%); box-shadow: 0 5px 8px rgba(0, 0, 0, .45); }
.hub { left: 50%; top: var(--hub); width: 25px; height: 25px; margin: -12.5px 0 0 -12.5px; border-radius: 50%; background: conic-gradient(from 20deg, #fbfcff, #80859a 18%, #e9ebf3 34%, #5f6377 52%, #f6f7fb 68%, #777c90 84%, #fbfcff); box-shadow: 0 0 0 1.5px #2c2e39, inset 0 0 3px rgba(255, 255, 255, .8), 0 5px 9px rgba(0, 0, 0, .5); }
.arm { left: 50%; top: var(--hub); width: 8px; height: 100px; margin-left: -4px; margin-top: -100px; transform-origin: 50% 100%; transform: scale(var(--arm-w, 1), var(--arm-y, .62)); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #30323e 0, #9da2b4 16%, #fff 34%, #d3d6e2 48%, #777c8f 70%, #e4e6ef 86%, #3c3f4c 100%); }
.collar { left: 50%; top: var(--hub); width: 12px; height: 9px; margin: -4.5px 0 0 -6px; border-radius: 2px; transform: translateY(var(--collar-y, -47px)) scale(var(--ball-s, 1)); background: linear-gradient(90deg, #3a3c49 0, #b4b8c8 22%, #fff 40%, #8b90a3 72%, #33353f 100%); }
.bolt { left: 50%; top: var(--hub); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, #8f94a6 55%, #2f313c); }
.ball { left: 50%; top: var(--hub); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; transform: translateY(var(--ball-y, -62px)) scale(var(--ball-s, 1)); background: radial-gradient(circle at 50% 118%, rgba(255, 120, 120, .75) 0, rgba(255, 120, 120, 0) 44%), radial-gradient(circle at 36% 30%, #FF7D86 0, #EE1F36 34%, #B60A22 66%, #5F0210 100%); box-shadow: 0 var(--shadow, 5px) calc(var(--shadow, 5px) * 1.6) rgba(0, 0, 0, .55), inset -2px -3px 5px rgba(50, 0, 8, .55); }
.ball::after { content: ""; position: absolute; left: 21%; top: 13%; width: 36%; height: 25%; border-radius: 50%; transform: rotate(-24deg); background: radial-gradient(ellipse at center, #fff 0, rgba(255, 255, 255, .85) 34%, rgba(255, 255, 255, 0) 74%); }
.slot-out { grid-column: 1 / -1; min-height: 2.9em; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: #FFF1D2; }
.slot-out a { font-weight: 800; color: var(--gold); text-underline-offset: 3px; white-space: nowrap; }
.slot.spinning .reels { box-shadow: inset 0 0 0 2px var(--bulb), inset 0 3px 10px rgba(0, 0, 0, .7), 0 0 20px rgba(255, 194, 74, .55); }
.slot.hit .reels { animation: slot-win .42s steps(1) 3; }
.slot.hit .sym { animation: sym-pop .46s cubic-bezier(.16, 1, .3, 1); }
@keyframes slot-win { 0% { box-shadow: inset 0 0 0 3px #fff, 0 0 30px var(--gold), 0 0 60px rgba(255, 194, 74, .65); } 50% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 6px rgba(255, 194, 74, .3); } }
@keyframes sym-pop { 0% { transform: scale(.86); } 55% { transform: scale(1.1); } 100% { transform: scale(1); } }
.mq h2 { margin: 2px 8px 6px; font: 700 14px var(--body); color: var(--bulb); }
.mq-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 46px; padding: 7px 8px; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .2s; }
.mq-list a:hover { background: rgba(255, 194, 74, .1); }
.mq-note { position: relative; z-index: 3; margin: 8px 8px 0; font-size: 13.5px; font-weight: 600; color: #FFD9DF; }
.mq-note a { color: inherit; text-underline-offset: 3px; }
.mq b { font: 400 26px/1.1 var(--display); color: var(--gold); text-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 0 6px rgba(255, 194, 74, .25); transition: text-shadow .25s; }
.mq-list a:hover b, .mq-list a:focus-visible b { color: #FFF6D2; text-shadow: 0 1px 1px rgba(0, 0, 0, .55), 0 0 10px rgba(255, 194, 74, .55); }
.mq b.lat { font-family: 'Archivo Black', sans-serif; font-size: 25px; }
html:lang(en) :is(.home, .events) .mq-list b {
  font: 750 clamp(1rem, 1.8vw, 1.375rem)/1.14 var(--body);
  text-wrap: balance;
}
.mq span { font-size: 13.5px; font-weight: 600; color: #F1E3C8; text-align: right; }

.topic { margin-top: 36px; scroll-margin-top: 124px; }
.band { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 104px; padding: 14px 16px; border-radius: 14px; background-image: var(--bg-sm, var(--bg)); background-size: cover; background-repeat: no-repeat; font-weight: 400; }
.band .display { font-size: 34px; color: #fff; }
.band .n { padding: 2px 9px; border-radius: 11px; background: var(--gold); color: var(--night); font: 800 13px/1.5 var(--body); white-space: nowrap; }
.posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.post { display: flex; flex-direction: column; min-width: 0; padding: 18px; border-radius: 14px; background: var(--panel); overflow: hidden; scroll-margin-top: 130px; }
.post .cover { width: calc(100% + 36px); max-width: none; height: 148px; margin: -18px -18px 14px; object-fit: cover; display: block; }
.post h3 { font-size: 18.5px; font-weight: 800; line-height: 1.4; text-wrap: balance; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--gold); }
.lead { margin-top: 6px; }
.post ul, .post ol { margin: 8px 0 0 20px; color: var(--muted); }
.post li { margin-top: 3px; }
.post li::marker { color: var(--gold); font-weight: 700; }
.note { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.warn, .mine-note { margin: 14px -18px 0; padding: 11px 18px; font-size: 14.5px; }
.warn { background: rgba(255, 154, 168, .15); color: #FFD9DF; }
.mine-note { background: rgba(255, 194, 74, .14); color: #FFE7B5; }
.warn + .mine-note, .mine-note + .warn { margin-top: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--muted); }
.meta a { text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 5px; font-size: 13px; font-weight: 800; color: var(--night); }
.official { background: var(--official); }
.mine { background: var(--mine); }
.general { background: #D6D9EE; }
.check { background: var(--check); }
table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 10px 4px 0; border-bottom: 1px solid var(--line); }
td { padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); vertical-align: top; color: var(--muted); }
td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
mark { background: var(--gold); color: var(--night); border-radius: 2px; }
.none { margin-top: 24px; padding: 26px 18px; border-radius: 14px; background: var(--panel); text-align: center; }
.none b { display: block; font-size: 17px; margin-bottom: 4px; }
.none button { margin-top: 12px; min-height: 40px; padding: 0 16px; border: 1px solid var(--gold); border-radius: 10px; background: transparent; color: var(--gold); font: 700 14.5px var(--body); cursor: pointer; }
.count { margin-top: 2px; font-size: 14px; color: var(--muted); }
.count + .topic, .picks[hidden] ~ .topic:first-of-type { margin-top: 16px; }
.credits { margin-top: 36px; font-size: 12.5px; color: var(--muted); }
.credits summary { cursor: pointer; min-height: 36px; font-weight: 700; }
.credits li { margin: 3px 0 0 16px; }
[hidden] { display: none !important; }

@media (min-width: 720px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post.wide { grid-column: 1 / -1; }
  .post .cover { height: 190px; }
  .band { min-height: 132px; padding: 18px 22px; background-image: var(--bg); }
  .cover-hero { background-image: var(--bg); }
  .band .display { font-size: 42px; }
}
@media (min-width: 1000px) {
  .cover-hero { height: 340px; padding: 0 16px 26px; background-position: 0 0, 50% 54%; }
  .top { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 28px; padding: 0 16px; }
  .chips { position: sticky; top: 86px; align-self: start; flex-direction: column; gap: 2px; overflow: visible; padding: 24px 0 0; border-bottom: 0; background: transparent; }
  .chip { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; font-size: 15px; text-align: left; }
  .chip:hover { background: var(--panel); }
  .chip[aria-pressed="true"]:hover { background: var(--gold); }
  .cn { display: inline; font-size: 13px; font-weight: 600; opacity: .72; font-variant-numeric: tabular-nums; }
  .wrap { padding: 24px 0 72px; }
  .mq { padding: 24px 28px; }
  .mq-list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .mq-list a { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; border-top: 0; border-left: 1px solid var(--line); }
  .mq-list a:first-child { border-left: 0; }
  .mq-list span { text-align: left; }
  .slot { grid-template-columns: minmax(0, 1fr) 70px; column-gap: 20px; padding: 18px 16px 14px 22px; }
  .axle { left: -20px; }
  .reel, .sym { height: 84px; }
  .sym { font-size: 24px; }
  .slot-out { min-height: 0; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .mq::before, .bulb, .mq-list a, .mq-list a b, .slot.hit .reels, .slot.hit .sym { animation: none; }
  .mq::before { opacity: .8; }
  .bulb.b1 { opacity: 1; }
}

/* The masthead holds site-wide preferences; the second row contains only destinations. */
.vg-masthead, .site-nav {
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--night);
}
.vg-masthead { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid #292b3c; }
.vg-masthead .brand { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; min-height: 44px; color: var(--gold); font-size: clamp(21px, 3vw, 32px); line-height: 1; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.vg-masthead .brand::before { content: ""; width: .82em; height: 1.05em; background: currentColor; clip-path: polygon(50% 0,60% 38%,100% 50%,60% 59%,50% 100%,40% 60%,0 50%,40% 41%); }
.vg-languages { display: grid; flex: none; align-items: center; color: #c2c6e2; }
.vg-languages .language-globe { grid-area: 1 / 1; width: 17px; height: 17px; margin-inline-start: 5px; pointer-events: none; }
.vg-languages a { grid-area: 1 / 1; display: flex; align-items: center; min-width: 5.5rem; min-height: 44px; padding: 0 5px 0 29px; border: 0; border-radius: 4px; background: transparent; color: inherit; font-family: var(--body); font-size: 14px; font-weight: 550; line-height: 1.2; text-decoration: none; cursor: pointer; }
.vg-languages a[hidden] { display: none; }
.vg-languages:is(:hover, :focus-within) { color: #ffe29a; }
.vg-languages a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav { display: flex; gap: 28px; align-items: stretch; border-bottom: 1px solid #343342; }
.site-nav a { display: grid; place-items: center; min-height: 46px; padding-inline: 4px; border-block: 2px solid transparent; color: var(--muted); font: 650 15px/1.2 var(--body); text-align: center; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
html:lang(en) { --display: 'Archivo Black', sans-serif; }
@media (max-width: 640px) {
  .vg-masthead { padding-block: 8px; padding-inline: 12px; gap: 8px; }
  .vg-masthead .brand { gap: 5px; }
  /* Phones: the destinations row becomes a fixed bottom tab bar in thumb reach (PRODUCT.md: one-handed).
     Bar height 67 px = 6 + 54 + 6 padding and rows + 1 border; labels never wrap, so the height holds and the body
     padding keeps the page end above it. "Things to do" needs 71.5 px; each tab gets 73 px at 320 px wide. */
  body:has(> .site-nav) { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .site-nav { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -6px 18px rgba(0, 0, 0, .45); }
  .site-nav a { display: grid; grid-template-rows: 30px auto; justify-items: center; align-content: center; row-gap: 3px; min-height: 54px; padding-inline: 2px; border: 0; font-size: 12px; line-height: 1.15; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
  .site-nav a::before { content: ""; grid-area: 1 / 1; width: 52px; height: 30px; border-radius: 15px; transition: background-color .2s; }
  .site-nav a::after { content: ""; grid-area: 1 / 1; align-self: center; width: 22px; height: 22px; background: currentColor; -webkit-mask: no-repeat center / contain var(--tab-icon); mask: no-repeat center / contain var(--tab-icon); }
  .site-nav a[aria-current="page"] { font-weight: 800; }
  .site-nav a[aria-current="page"]::before { background: rgba(255, 194, 74, .16); }
  .site-nav a:active::before { background: rgba(255, 194, 74, .24); }
  /* Every page lists the tabs in the same order: home, essentials, things to do, food. */
  .site-nav a:nth-child(1) { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.2 12 4.5l8 6.7'/%3E%3Cpath d='M6.5 9.5v10h4v-5h3v5h4v-10'/%3E%3C/svg%3E"); }
  .site-nav a:nth-child(2) { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5c2.8-1 5.4-.7 8 1 2.6-1.7 5.2-2 8-1v13c-2.8-1-5.4-.7-8 1-2.6-1.7-5.2-2-8-1z'/%3E%3Cpath d='M12 6.5v13'/%3E%3C/svg%3E"); }
  .site-nav a:nth-child(3) { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v4a2 2 0 0 0 0 4v4H3v-4a2 2 0 0 0 0-4z'/%3E%3Cpath d='M15 6.5v2m0 2.5v2m0 2.5v2'/%3E%3C/svg%3E"); }
  .site-nav a:nth-child(4) { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5v17'/%3E%3Cpath d='M4.5 3.5v5a2.5 2.5 0 0 0 5 0v-5'/%3E%3Cpath d='M17 20.5v-17c-2.2 1.2-3.2 3.8-3.2 7.2 0 1.6.9 2.6 3.2 2.6'/%3E%3C/svg%3E"); }
}
@media (max-width: 360px) {
  .vg-masthead { gap: 6px; }
  .vg-masthead .brand { gap: 4px; font-size: 18px; }
}

/* home doors */
.doors { display: grid; gap: 10px; width: min(100%, 980px); }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 112px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background-color: var(--panel); background-size: cover; background-position: center; text-decoration: none; transition: transform .28s cubic-bezier(.16, 1, .3, 1), border-color .2s; }
.door b { font: 400 26px/1.1 var(--display); color: var(--gold); }
.door span { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.door:hover { transform: translateY(-2px); border-color: var(--gold); }
@media (min-width: 760px) { .doors { grid-template-columns: repeat(3, 1fr); } .door { min-height: 168px; } }
@media (prefers-reduced-motion: reduce) { .door { transition: none; } }
video.player { display: block; background: #0a0d24; object-fit: cover; }
.teaser .credits { width: min(100%, 980px); margin-top: 4px; }

/* Google Maps button (all pages): opens the Maps app on phones that have it */
.map-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px 0 10px; border: 1px solid var(--gold); border-radius: 18px; color: var(--gold); font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.map-btn::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); }
.map-btn:hover { background: var(--gold); color: var(--night); }
.map-btn.sm { min-height: 44px; padding: 0 10px 0 8px; font-size: 13px; }

/* Place card (events + food): photo, name, one line, pills. Everything else opens under 자세히. */
.post.spot { padding: 0; }
.spot-ph { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #0f1230; overflow: hidden; }
.spot-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot-ph figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 3px 10px; border-radius: 12px; background: rgba(7, 9, 26, .8); color: #E6E8F5; font-size: 13px; font-weight: 700; line-height: 1.4; }
.spot-body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 12px; }
.post.spot h3 { font-size: 19px; line-height: 1.35; }
.spot h3 .en { display: block; margin-top: 1px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.spot .lead { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: #D9DCEE; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(255, 255, 255, .08); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.pill.go { background: rgba(127, 224, 195, .14); color: var(--official); }
.pill.late, .pill.mine { background: rgba(255, 194, 74, .16); color: var(--bulb); }
.pill.free { background: rgba(127, 224, 195, .14); color: var(--official); }
.pill.q { background: rgba(255, 154, 168, .16); color: #FFD9DF; }
.spot-foot { position: relative; margin-top: auto; padding-top: 14px; }
.spot-foot > .map-btn { float: left; }
.more > summary { display: flex; align-items: center; gap: 6px; width: fit-content; min-height: 44px; margin-left: auto; padding: 0 4px 0 10px; border-radius: 18px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .2s; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 4px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.more > summary:hover { color: var(--ink); }
.more[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.more-body { margin-top: 12px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .09); }
.more-body .warn, .more-body .mine-note { margin: 12px 0 0; padding: 9px 12px; border-radius: 8px; }
.more-body .meta { padding-top: 12px; }
.post.info .spot-foot > .more > summary { margin-left: 0; padding-left: 0; }

/* Fix run 2026-11-15: content pages only (body.guide); the intro page, slot, and marquee do not use these. */
.guide :is(.facts dt, .facts small, .from, .meta), .guide .credits { font-size: 13px; }
.guide .credits summary { display: flex; align-items: center; min-height: 44px; }
.vg-else { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.vg-else a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; background: rgba(255, 194, 74, .14); color: var(--gold); font-size: 15px; font-weight: 700; text-decoration: none; }
.vg-else a:hover { background: var(--gold); color: var(--night); }
#to-top { position: fixed; right: 14px; bottom: 18px; z-index: 20; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(16, 19, 43, .94); color: var(--gold); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
#to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#to-top:hover { background: var(--gold); color: var(--night); }
/* Phones: the button floats 12 px above the 67 px bottom tab bar. Tapping the current tab also scrolls up (site.js). */
@media (max-width: 640px) { #to-top { bottom: calc(79px + env(safe-area-inset-bottom)); } }

/* Compact place rows below 600 px: 96 px square photo left; name, line, and pills right. Map button and 자세히 stay visible. */
@media (max-width: 599px) {
  .post.spot:has(> .spot-ph) { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px; }
  .post.spot > .spot-ph { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 10px; }
  .post.spot:has(> .spot-ph) > .spot-body { padding: 0; }
  .post.spot:has(> .spot-ph) .more-body { margin-left: -108px; }
  .spot-ph figcaption { left: 4px; right: 4px; bottom: 4px; max-width: none; padding: 1px 5px; border-radius: 6px; font-size: 13px; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .post.spot h3 { font-size: 17px; }
  .spot .lead { margin-top: 4px; font-size: 15px; line-height: 1.5; }
  .post.spot .pills { margin-top: 8px; }
  .post.spot .spot-foot { padding-top: 8px; }
}
.guide .fchip { min-height: 44px; }

/* Title row; on short landscape screens it also holds the nearby shortcut (travel.js). */
.hero-text, .trip-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; }
.hero-copy { flex: 1 1 24rem; min-width: 0; }
.hero-copy p { text-wrap: pretty; }
.guide .cover-hero { height: auto; min-height: clamp(240px, 25vw, 340px); padding-block: 48px 24px; }
.trip-heading { padding-block: 6px 20px; }
.trip-heading h1 { font-size: clamp(30px, 5vw, 46px); }
.vg-nearby button { min-height: 44px; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--panel); color: var(--ink); font: inherit; }

.vg-nearby { border-block: 1px solid var(--line); padding: 4px 0; margin-top: 12px; }
.vg-nearby summary { padding: 12px 2px; min-height: 44px; color: var(--gold); font-weight: 700; cursor: pointer; }
.vg-nearby-shortcut { display: none; }
@media (orientation: landscape) and (max-height: 540px) {
  .guide .cover-hero:has(.vg-nearby-shortcut) { min-height: min(200px, 52svh); padding-block: 18px 12px; }
  .vg-nearby-shortcut { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--gold); border-radius: 8px; background: var(--night); color: var(--gold); font: 700 14px var(--body); cursor: pointer; }
  .vg-nearby { scroll-margin-top: 124px; }
}
.vg-nearby p { margin: 8px 0; color: var(--muted); }
.vg-nearby button { cursor: pointer; }
.vg-nearby button:disabled { opacity: .65; }
.vg-distances { list-style: none; padding: 0; margin: 6px 0 12px; }
.vg-distances a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; }
.vg-distances span { color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.teaser.intro { min-height: calc(88svh - 80px); width: min(100%, 1020px); margin: 0 auto; padding-block: clamp(24px, 6vw, 72px) 32px; }
@media (max-width: 640px) {
  /* First screen at 390 x 700 above the 67 px tab bar: title, then the whole marquee (tests/local.spec.mjs, phone fit). */
  .guide .cover-hero { min-height: 0; padding-block: 40px 12px; }
  .guide .wrap { padding-top: 10px; }
  .trip-heading { align-items: start; flex-direction: column; padding-bottom: 12px; }
  .mq { padding: 17px 14px 15px; }
  .mq h2 { margin: 0 4px 4px; line-height: 1.3; }
  .mq-list a { align-items: center; min-height: 44px; padding-block: 4px; }
  .mq b { font-size: 20px; }
  .mq b.lat { font-size: 19px; }
  .mq span { font-size: 13px; }
  .mq:has(> .mq-note) { padding-bottom: 22px; }
  .mq-note { margin: 4px 8px 0; font-size: 12.5px; line-height: 1.35; }
  html[lang="en"] .guide #picks .mq-list { grid-template-columns: minmax(0, 1fr); }
  html[lang="en"] .guide #picks .mq-list a b { word-break: normal; }
  .spot-body h3 a, .post h3 > a, .meta a, .credits summary { display: inline-flex; align-items: center; min-height: 44px; }
  .credits summary { display: list-item; align-content: center; }
}
/* Short phones (360 x 640, 320 x 568): the marquees still end above the tab bar (tests/local.spec.mjs, phone fit).
   Two marquee columns with 44 px rows, name over hint, and a shorter hero. */
@media (max-width: 640px) and (max-height: 680px) {
  .mq { padding-block: 12px 10px; }
  .mq-list, html[lang="en"] .guide #picks .mq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .mq-list a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 3px 4px; }
  .mq h2 { margin-bottom: 2px; }
  .mq b, .mq b.lat { font-size: 16px; }
  html:lang(en) :is(.home, .events) .mq-list b { font-size: 15px; }
  .mq span { font-size: 12px; line-height: 1.15; text-align: start; text-wrap: balance; }
  .mq-note { margin-top: 2px; }
  .guide .cover-hero { padding-block: 10px 8px; }
  .events .cover-hero { padding-block: 4px; }
  .guide .cover-hero h1 { font-size: 28px; }
  .guide .wrap { padding-top: 6px; }
}
/* Landscape phones: the intro video caps at 44 % of the screen height, so Enter is on the first screen. */
@media (orientation: landscape) and (max-height: 540px) {
  .teaser.intro { justify-content: flex-start; gap: 12px; padding-block: 12px 20px; }
  .teaser.intro .player { width: min(100%, calc(44svh * 16 / 9), 980px); }
}
