  :root{
    --bg:#e9f1fb; --bg2:#dfeaf9; --surface:#ffffff; --surface-2:#f4f8fe;
    --ink:#15203f; --muted:#5a6b8c; --line:#d6e2f3;
    --g1:#6d28a3; --g2:#b1209a; --g3:#ef3e36; --g4:#f79a2b;
    --globe:#1f6fe0; --accent:#e4322b; --accent-ink:#ffffff;
    --poster-navy:#0b1159; --poster-amp:#d71955;
    --poster-world:linear-gradient(95deg,#f6233d,#f8351d 18%,#fd7204 40%,#fd9802 56%,#1f9982 78%,#3e34b0);
    --logo-chip:transparent; --shadow:0 18px 50px -22px rgba(21,33,63,.35);
    --ring:rgba(228,50,43,.35);
    --maxw:1080px;
  }
  @media (prefers-color-scheme:dark){
    :root{
      --bg:#0a1120; --bg2:#0c1426; --surface:#131d33; --surface-2:#0f1830;
      --ink:#eaf1fc; --muted:#9aabce; --line:#243350;
      --g1:#9a53d6; --g2:#e04bc0; --g3:#ff6a5f; --g4:#ffb454;
      --globe:#5aa0ff; --accent:#ff6259; --accent-ink:#160a09;
      --poster-navy:#e3eaff; --poster-amp:#ff5f8a;
      --poster-world:linear-gradient(95deg,#ff5a70,#ff6a48 18%,#ff9433 40%,#ffb838 56%,#3fd0b0 78%,#8b7cff);
      --logo-chip:#ffffff; --shadow:0 20px 60px -26px rgba(0,0,0,.7);
      --ring:rgba(255,98,89,.4);
    }
  }
  :root[data-theme="light"]{
    --bg:#e9f1fb; --bg2:#dfeaf9; --surface:#ffffff; --surface-2:#f4f8fe;
    --ink:#15203f; --muted:#5a6b8c; --line:#d6e2f3;
    --g1:#6d28a3; --g2:#b1209a; --g3:#ef3e36; --g4:#f79a2b;
    --globe:#1f6fe0; --accent:#e4322b; --accent-ink:#ffffff;
    --poster-navy:#0b1159; --poster-amp:#d71955;
    --poster-world:linear-gradient(95deg,#f6233d,#f8351d 18%,#fd7204 40%,#fd9802 56%,#1f9982 78%,#3e34b0);
    --logo-chip:transparent; --shadow:0 18px 50px -22px rgba(21,33,63,.35); --ring:rgba(228,50,43,.35);
  }
  :root[data-theme="dark"]{
    --bg:#0a1120; --bg2:#0c1426; --surface:#131d33; --surface-2:#0f1830;
    --ink:#eaf1fc; --muted:#9aabce; --line:#243350;
    --g1:#9a53d6; --g2:#e04bc0; --g3:#ff6a5f; --g4:#ffb454;
    --globe:#5aa0ff; --accent:#ff6259; --accent-ink:#160a09;
    --poster-navy:#e3eaff; --poster-amp:#ff5f8a;
    --poster-world:linear-gradient(95deg,#ff5a70,#ff6a48 18%,#ff9433 40%,#ffb838 56%,#3fd0b0 78%,#8b7cff);
    --logo-chip:#ffffff; --shadow:0 20px 60px -26px rgba(0,0,0,.7); --ring:rgba(255,98,89,.4);
  }

  *{box-sizing:border-box}
  /* The hidden attribute must win even over classes that set display (.btn etc). */
  [hidden]{display:none !important}
  html{scroll-behavior:smooth; scroll-padding-top:74px}
  body{
    margin:0; background:
      radial-gradient(120% 80% at 85% -10%, rgba(177,32,154,.10), transparent 60%),
      radial-gradient(90% 70% at -5% 0%, rgba(31,111,224,.12), transparent 55%),
      var(--bg);
    color:var(--ink);
    /* Latin first, then the faces that carry Korean, Thai and Chinese so the
       translated pages render in a proper local face rather than a fallback. */
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,
      "Apple SD Gothic Neo","Noto Sans Thai","Thonburi","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
    line-height:1.6; -webkit-font-smoothing:antialiased;
  }
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px}
  a{color:inherit}
  h1,h2,h3{text-wrap:balance; line-height:1.12; margin:0}
  section{padding:72px 0}
  .eyebrow{font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; font-weight:700; color:var(--muted)}
  .lead{color:var(--muted); font-size:1.06rem; max-width:60ch}

  /* Header */
  header{position:sticky; top:0; z-index:50; backdrop-filter:saturate(1.2) blur(10px);
    background:color-mix(in srgb, var(--bg) 82%, transparent); border-bottom:1px solid var(--line)}
  .nav{display:flex; align-items:center; gap:16px; height:64px}
  .brand{font-weight:900; letter-spacing:.02em; font-size:.95rem; display:flex; align-items:center; gap:8px; white-space:nowrap; text-decoration:none; color:var(--ink)}
  /* The wordmark is navy-on-white artwork, so on the dark theme it needs a
     light chip behind it or the "Taste" script sinks into the header. */
  .logomark{background:var(--logo-chip); border-radius:8px; padding:2px}
  .brand .logomark{width:34px; height:34px; flex:none; display:block}
  .footbrand{display:flex; align-items:center; gap:11px; margin-bottom:14px}
  .footbrand .logomark{width:44px; height:44px; flex:none; display:block}
  .footbrand .footwm{font-weight:900; font-size:1.15rem; line-height:1; letter-spacing:.005em}
  .footbrand .footwm small{display:block; font-weight:700; font-size:.6rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-top:4px}
  /* The event's full name is a wide brand, so the row is tight on a laptop:
     the links never break mid-label and the gap gives before they do. */
  .navlinks{display:flex; gap:clamp(12px,1.4vw,20px); margin-left:8px}
  .navlinks a{font-size:.92rem; font-weight:600; color:var(--muted); text-decoration:none; transition:color .15s; white-space:nowrap}
  .navlinks a:hover{color:var(--ink)}
  .nav .spacer{flex:1}
  .btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:800; border-radius:999px; padding:12px 22px; border:1px solid transparent; cursor:pointer; text-decoration:none; font-size:.95rem; transition:transform .12s, box-shadow .2s, background .2s}
  .btn:focus-visible{outline:3px solid var(--ring); outline-offset:2px}
  .btn-primary{background:var(--accent); color:var(--accent-ink); box-shadow:0 10px 26px -12px var(--accent)}
  .btn-primary:hover{transform:translateY(-1px)}
  /* The song contest entry CTA — a third button that reads as its own thing. */
  .btn-sing{background:linear-gradient(115deg,var(--g1),var(--g2) 52%,var(--g3)); color:#fff; box-shadow:0 10px 26px -12px var(--g2)}
  .btn-sing:hover{transform:translateY(-1px)}
  .btn-ghost{background:var(--surface); color:var(--ink); border-color:var(--line)}
  .btn-ghost:hover{border-color:var(--muted)}
  .nav .btn{padding:9px 18px}
  .hamb{display:none; border:1px solid var(--line); background:var(--surface); border-radius:12px; width:42px;height:42px; cursor:pointer; align-items:center; justify-content:center}
  .hamb span{display:block;width:18px;height:2px;background:var(--ink);position:relative}
  .hamb span::before,.hamb span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--ink)}
  .hamb span::before{top:-6px}.hamb span::after{top:6px}

  /* Hero */
  .hero{position:relative; overflow:hidden; padding:64px 0 40px}
  .blob{position:absolute; border-radius:50%; filter:blur(60px); opacity:.5; pointer-events:none; z-index:0}
  .blob.b1{width:420px;height:420px;background:radial-gradient(circle,var(--g2),transparent 70%);top:-120px;right:-80px}
  .blob.b2{width:360px;height:360px;background:radial-gradient(circle,var(--globe),transparent 70%);bottom:-140px;left:-100px}
  .hero .wrap{position:relative; z-index:1}
  .kicker{display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:.8rem; letter-spacing:.02em;
    color:var(--ink); background:var(--surface); border:1px solid var(--line); padding:7px 14px; border-radius:999px}
  .kicker::before{content:"🌏"}
  .display{
    font-weight:900; letter-spacing:-.02em; margin:20px 0 6px;
    font-size:clamp(2.4rem,5.4vw,3.9rem); line-height:1; color:var(--poster-navy);
  }
  .display .l1{display:block}
  /* The wordmark follows the invitation: "2026 Busan" in navy over "Global
     Chuseok Festival" carrying the poster's rainbow, with the event's theme
     below in a small wide-tracked line whose ampersand is red. Colours are
     sampled from the poster artwork itself. */
  .display .world{background:var(--poster-world);
    -webkit-background-clip:text; background-clip:text; color:transparent}
  .theme{
    margin:14px 0 0; font-weight:900; color:var(--poster-navy);
    font-size:clamp(.82rem,1.6vw,1.1rem); letter-spacing:.2em; text-transform:uppercase;
  }
  .theme .amp{color:var(--poster-amp)}
  /* The Korean, Chinese and Thai wordmarks are only a few characters wide, so
     the six poster stops crowd into them; fewer, wider stops keep the same
     rainbow reading cleanly. */
  html[data-lang="ko"] .display .world,
  html[data-lang="zh"] .display .world,
  html[data-lang="th"] .display .world{
    background:linear-gradient(95deg,#f6233d,#fd7204 38%,#1f9982 72%,#3e34b0);
    -webkit-background-clip:text; background-clip:text;
  }
  /* Wide letter-tracking is a Latin device: it breaks Chinese spacing and pulls
     Thai glyph clusters apart, so the subtitle line tightens up in both. */
  html[data-lang="zh"] .theme,
  html[data-lang="th"] .theme{letter-spacing:.06em}
  /* Thai stacks vowels and tone marks above and below the line, so the tight
     headline leading of the English design clips them. */
  html[data-lang="th"] body{line-height:1.75}
  html[data-lang="th"] h1,
  html[data-lang="th"] h2,
  html[data-lang="th"] h3{line-height:1.35}
  html[data-lang="th"] .display{line-height:1.25}
  @media (max-width:560px){ .theme{letter-spacing:.12em} }
  .tagline{font-size:clamp(1.1rem,2.4vw,1.5rem); font-weight:800; margin:14px 0 6px}
  .hero .lead{margin-top:10px}
  .cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
  .factbar{display:flex; flex-wrap:wrap; gap:10px; margin-top:26px}
  .fact{display:flex; align-items:center; gap:9px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px 14px; font-weight:600; font-size:.92rem; box-shadow:var(--shadow)}
  .fact b{font-weight:800}
  .fact .ic{font-size:1.05rem}

  /* Hero poster */
  .hero-copy{position:relative; z-index:2}
  /* mobile / tablet: the poster sits under the copy, centred */
  .heroart{margin:36px auto 0; max-width:420px; border-radius:20px; overflow:hidden;
    border:1px solid var(--line); background:var(--surface); box-shadow:0 28px 60px -26px rgba(16,25,50,.55)}
  .heroart img{display:block; width:100%; height:auto}
  @media (min-width:1060px){
    /* desktop: copy on the left, the poster large on the right */
    .hero .wrap{display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:48px; align-items:center}
    .hero-copy{max-width:640px}
    .heroart{margin:0; max-width:none}
  }

  /* Marquee */
  .marquee{margin-top:34px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:12px 0; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
  .marquee ul{display:flex; gap:38px; list-style:none; margin:0; padding:0; white-space:nowrap; width:max-content; animation:scroll 26s linear infinite}
  .marquee li{font-weight:800; letter-spacing:.02em; color:var(--muted); font-size:1rem}
  .marquee li::before{content:"◆"; color:var(--g3); margin-right:38px; font-size:.7rem; vertical-align:middle}
  @keyframes scroll{to{transform:translateX(-50%)}}
  @media (prefers-reduced-motion:reduce){.marquee ul{animation:none}}

  /* Sections */
  .sec-head{margin-bottom:34px}
  .sec-head h2{font-size:clamp(1.6rem,3.6vw,2.4rem); font-weight:900; letter-spacing:-.01em; margin-top:8px}
  .grid{display:grid; gap:18px}
  .cards-3{grid-template-columns:repeat(3,1fr)}
  .cards-2{grid-template-columns:repeat(2,1fr)}
  .cards-4{grid-template-columns:repeat(4,1fr)}
  .card{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px; box-shadow:var(--shadow)}
  .hl{display:flex; gap:14px; align-items:flex-start}
  .hl .emoji{font-size:1.7rem; line-height:1; filter:saturate(1.1)}
  .hl h3{font-size:1.08rem; font-weight:800; margin-bottom:4px}
  .hl p{margin:0; color:var(--muted); font-size:.95rem}

  /* Food gallery */
  .foodgrid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px}
  .dish{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:14px 12px 12px; text-align:center; box-shadow:var(--shadow); transition:transform .16s, border-color .16s}
  .dish:hover{transform:translateY(-5px); border-color:color-mix(in srgb,var(--accent) 40%, var(--line))}
  .dish svg{width:100%; height:auto; max-width:116px; display:block; margin:0 auto}
  .dish figcaption{margin:8px 0 0; font-weight:800; font-size:.92rem; line-height:1.2}
  .dish .flag{font-size:1.05rem; margin-right:5px}
  .dish small{display:block; color:var(--muted); font-weight:700; font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; margin-top:3px}
  .foodnote{margin-top:22px; color:var(--muted); font-size:.9rem; text-align:center; text-wrap:balance}
  .foodnote a{color:var(--accent); font-weight:800; text-decoration:none}
  @media (max-width:900px){ .foodgrid{grid-template-columns:repeat(3,1fr)} }
  @media (max-width:560px){ .foodgrid{grid-template-columns:repeat(2,1fr)} }

  /* Timeline */
  .timeline{display:grid; gap:14px}
  .tl{display:grid; grid-template-columns:150px 1fr; gap:20px; align-items:start; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px; box-shadow:var(--shadow); position:relative; overflow:hidden}
  .tl::before{content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:linear-gradient(var(--g1),var(--g3))}
  .tl .time{font-weight:900; font-size:1.05rem; font-variant-numeric:tabular-nums; color:var(--ink)}
  .tl .time small{display:block; color:var(--muted); font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; margin-top:4px}
  .tl h3{font-size:1.15rem; font-weight:800; margin-bottom:8px}
  .tl ul{margin:6px 0 0; padding-left:18px; color:var(--muted)}
  .tl ul li{margin:3px 0}

  /* Location */
  .loc{display:grid; grid-template-columns:1.1fr 1fr; gap:22px; align-items:center}
  .loc .card{padding:26px}
  .loc h3{font-size:1.3rem; font-weight:900; margin-bottom:6px}
  .mapcard{aspect-ratio:16/11; border-radius:18px; border:1px solid var(--line); box-shadow:var(--shadow); position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; text-align:center; padding:20px;
    background:
      radial-gradient(60% 60% at 30% 20%, color-mix(in srgb,var(--globe) 22%,transparent), transparent 70%),
      radial-gradient(60% 60% at 80% 90%, color-mix(in srgb,var(--g2) 22%,transparent), transparent 70%),
      var(--surface-2)}
  .mapcard .pin{font-size:2.4rem}
  .mapcard b{display:block; font-weight:900; font-size:1.1rem; margin-top:6px}
  .mapcard span{color:var(--muted); font-weight:600}

  /* Registration */
  #register{background:linear-gradient(180deg,transparent, color-mix(in srgb,var(--globe) 6%, transparent))}
  .typecards{margin:26px 0 6px}
  .tc{cursor:pointer; text-align:left; transition:border-color .15s, transform .12s; border-width:1.5px}
  .tc:hover{transform:translateY(-2px)}
  .tc:disabled{cursor:not-allowed; opacity:.58; filter:grayscale(.35)}
  .tc:disabled:hover{transform:none}
  .tc .emoji{font-size:1.8rem}
  .tc h3{font-size:1.1rem; font-weight:900; margin:10px 0 4px}
  .tc p{margin:0; color:var(--muted); font-size:.92rem}
  .tc .pick{margin-top:14px; font-weight:800; font-size:.85rem; color:var(--accent); display:inline-flex; align-items:center; gap:6px}

  form{margin-top:30px; background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:26px; box-shadow:var(--shadow)}
  .fgrid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
  .field{display:flex; flex-direction:column; gap:6px}
  .field.full{grid-column:1/-1}
  label{font-weight:700; font-size:.9rem}
  label .req{color:var(--accent)}
  input,select,textarea{font:inherit; color:var(--ink); background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:12px 14px; width:100%}
  input:focus,select:focus,textarea:focus{outline:2px solid var(--ring); outline-offset:1px; border-color:transparent}
  textarea{resize:vertical; min-height:90px}
  .seg{display:flex; gap:8px; flex-wrap:wrap}
  .seg label{flex:1; min-width:120px; display:flex; align-items:center; gap:8px; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; cursor:pointer; font-weight:700; background:var(--surface-2)}
  .seg input{width:auto}
  .seg label:has(input:disabled){cursor:not-allowed; opacity:.58}
  .seg label:has(input:checked){border-color:var(--accent); background:color-mix(in srgb,var(--accent) 10%, var(--surface))}
  .cond{display:none}
  .cond.on{display:grid}
  .consent{display:flex; gap:10px; align-items:flex-start; margin-top:4px}
  .consent input{width:auto; margin-top:5px}
  .consent small{color:var(--muted)}
  .formactions{display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:8px}
  .hint{color:var(--muted); font-size:.86rem}

  /* Video upload (song contest entry) */
  input[type=file]{padding:10px 12px; cursor:pointer}
  input[type=file]::file-selector-button{font:inherit; font-weight:800; margin-right:12px; padding:8px 14px; border:0; border-radius:9px; cursor:pointer; color:#fff; background:var(--accent)}
  .upload{display:flex; flex-direction:column; gap:8px; margin-top:2px}
  .uptrack{height:8px; border-radius:999px; background:var(--surface-2); border:1px solid var(--line); overflow:hidden}
  .upfill{display:block; height:100%; width:0; border-radius:999px; background:linear-gradient(90deg,var(--g1),var(--g3)); transition:width .2s}
  .upnote{color:var(--muted); font-size:.86rem}
  .upnote.err{color:var(--accent); font-weight:700}

  /* Success */
  .success{display:none; margin-top:20px; border:1.5px solid color-mix(in srgb,var(--g4) 55%, var(--line)); background:color-mix(in srgb,var(--g4) 10%, var(--surface)); border-radius:18px; padding:22px}
  .success.on{display:block}
  .success h3{font-weight:900; font-size:1.15rem; margin-bottom:6px}
  .summary{white-space:pre-wrap; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.85rem; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px; margin:14px 0; max-height:240px; overflow:auto}

  footer{border-top:1px solid var(--line); padding:44px 0 60px; background:var(--surface)}
  .foot{display:grid; grid-template-columns:1.4fr 1fr; gap:26px}
  .credits b{display:block; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:8px}
  .chips{display:flex; flex-wrap:wrap; gap:8px}
  .chip{border:1px solid var(--line); background:var(--surface-2); border-radius:999px; padding:6px 12px; font-size:.82rem; font-weight:700}
  .contact a{font-weight:800; color:var(--accent); text-decoration:none}
  .fineprint{color:var(--muted); font-size:.82rem; margin-top:26px; border-top:1px solid var(--line); padding-top:18px}

  /* The header collapses earlier than the rest of the layout: the event's full
     name plus seven links, the language button and Register need about 1120px
     on one line, so the hamburger takes over below that. */
  @media (max-width:1120px){
    .navlinks{display:none; position:absolute; top:64px; left:0; right:0; flex-direction:column; gap:0; background:var(--surface); border-bottom:1px solid var(--line); padding:6px 20px 14px}
    .navlinks.open{display:flex}
    .navlinks a{padding:11px 0; border-bottom:1px solid var(--line)}
    .hamb{display:flex}
    .nav .btn.desk{display:none}
  }
  @media (max-width:1000px){
    .cards-3{grid-template-columns:1fr}
    .cards-4{grid-template-columns:repeat(2,1fr)}
    .loc{grid-template-columns:1fr}
    .foot{grid-template-columns:1fr}
  }
  @media (max-width:620px){
    .fgrid{grid-template-columns:1fr}
    .tl{grid-template-columns:1fr}
    .tl::before{width:100%; height:5px; bottom:auto}
    .cards-2{grid-template-columns:1fr}
    .cards-4{grid-template-columns:1fr}
  }
  /* ---------- Photography ---------- */
  img{max-width:100%; display:block}
  figure{margin:0}
  .ph{position:relative; overflow:hidden; background:var(--surface-2)}
  .ph img{width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.7,.3,1)}

  /* Photo cards (about / highlights / registration types) */
  .card.hasimg{padding:0; overflow:hidden; display:flex; flex-direction:column}
  .card.hasimg .ph{aspect-ratio:3/2}
  .card.hasimg .cardbody{padding:18px 20px 20px; display:flex; gap:13px; align-items:flex-start; flex:1}
  .card.hasimg:hover .ph img,.tc:hover .ph img{transform:scale(1.06)}
  .card.hasimg .emoji{font-size:1.55rem; line-height:1.1}
  .tc.hasimg .cardbody{display:flex; flex-direction:column; align-items:flex-start}
  .tc.hasimg h3{margin:6px 0 4px}
  .tc.hasimg .pick{margin-top:auto; padding-top:12px}

  /* Full-width photo band */
  .band{padding:0}
  .bandfig{margin:0; position:relative; border-radius:22px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow)}
  .bandfig img{width:100%; height:auto; aspect-ratio:16/7; object-fit:cover}
  .bandfig .bandvid{display:block; width:100%; height:auto; aspect-ratio:16/9; background:#000}
  .bandfig .bandvid[hidden]{display:none}
  .bandfig figcaption{position:absolute; left:0; right:0; bottom:0; padding:26px 24px 20px; color:#fff;
    background:linear-gradient(transparent, rgba(8,12,26,.28) 32%, rgba(8,12,26,.82))}
  .bandfig.hasvideo figcaption{position:static; padding:16px 24px 18px; background:#11182c}
  .bandfig figcaption b{display:block; font-size:clamp(1.05rem,2.6vw,1.5rem); font-weight:900; line-height:1.2; text-wrap:balance}
  .bandfig figcaption span{display:block; margin-top:5px; font-weight:700; font-size:.85rem; opacity:.85}
  @media (max-width:620px){ .bandfig img{aspect-ratio:4/3} }

  /* Timeline photos */
  .tl{grid-template-columns:140px 1fr 210px}
  .tlpic{border-radius:14px; overflow:hidden; aspect-ratio:4/3; border:1px solid var(--line)}
  @media (max-width:900px){ .tl{grid-template-columns:130px 1fr} .tlpic{display:none} }
  @media (max-width:620px){ .tl{grid-template-columns:1fr} }

  /* Dish photos */
  .dish{padding:0; overflow:hidden}
  .dish .ph{aspect-ratio:4/3}
  .dish:hover .ph img{transform:scale(1.07)}
  .dish figcaption{padding:11px 10px 13px}

  /* Location photos */
  .mapcard{padding:0; display:block; aspect-ratio:16/11}
  .mapcard img{width:100%; height:100%; object-fit:cover}
  .mapcard .pinbar{position:absolute; left:0; right:0; bottom:0; padding:22px 18px 15px; color:#fff; text-align:left;
    background:linear-gradient(transparent, rgba(8,12,26,.3) 35%, rgba(8,12,26,.85))}
  .mapcard .pinbar b{display:block; font-weight:900; font-size:1.05rem; margin:0}
  .mapcard .pinbar span{color:rgba(255,255,255,.82); font-weight:600; font-size:.88rem}

  /* Photo credits */
  .credits-photos{margin-top:22px; border-top:1px solid var(--line); padding-top:16px}
  .credits-photos summary{cursor:pointer; font-weight:800; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
  .credits-photos summary:hover{color:var(--ink)}
  .credits-photos ul{list-style:none; margin:12px 0 0; padding:0; columns:2; column-gap:26px; font-size:.76rem; color:var(--muted); line-height:1.5}
  .credits-photos li{break-inside:avoid; margin-bottom:5px}
  .credits-photos li b{display:inline; font-weight:800; font-size:inherit; letter-spacing:normal;
    text-transform:none; color:var(--ink); margin:0}
  .credits-photos a{color:var(--muted); text-decoration:underline; text-underline-offset:2px}
  .credits-photos a:hover{color:var(--accent)}
  @media (max-width:620px){ .credits-photos ul{columns:1} }

  @media (prefers-reduced-motion:reduce){ .ph img{transition:none} }

  /* ---------- Multi-page shell ---------- */
  /* The nav is shared by every page, so it marks where you are. */
  .navlinks a[aria-current="page"]{color:var(--ink); position:relative}
  .navlinks a[aria-current="page"]::after{content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
    border-radius:2px; background:linear-gradient(90deg,var(--g2),var(--g3))}
  @media (max-width:1000px){
    .navlinks a[aria-current="page"]::after{display:none}
    .navlinks a[aria-current="page"]{color:var(--accent)}
  }

  /* Page header — the compact hero every inner page opens with */
  .pagehead{padding:52px 0 8px}
  .pagehead .kicker{margin-bottom:14px}
  .pagehead h1{font-size:clamp(2rem,4.6vw,3.1rem); font-weight:900; letter-spacing:-.02em; margin:0 0 12px}
  .pagehead .lead{font-size:1.08rem}
  .crumbs{display:flex; align-items:center; gap:8px; font-size:.82rem; font-weight:700; color:var(--muted); margin-bottom:16px}
  .crumbs a{color:var(--muted); text-decoration:none}
  .crumbs a:hover{color:var(--accent)}
  .crumbs span{opacity:.5}

  /* "Where to next" strip at the foot of every inner page */
  .next{border-top:1px solid var(--line); padding:34px 0 66px}
  .nextgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:16px}
  .nextcard{display:block; text-decoration:none; background:var(--surface); border:1px solid var(--line);
    border-radius:16px; padding:16px 18px; transition:border-color .15s, transform .12s}
  .nextcard:hover{transform:translateY(-2px); border-color:color-mix(in srgb,var(--accent) 40%, var(--line))}
  .nextcard b{display:block; font-weight:800; font-size:1rem}
  .nextcard span{color:var(--muted); font-size:.88rem}
  @media (max-width:760px){ .nextgrid{grid-template-columns:1fr} }

  /* Home page section teasers */
  .teaser{display:block; text-decoration:none; color:inherit; background:var(--surface); border:1px solid var(--line);
    border-radius:18px; overflow:hidden; box-shadow:var(--shadow); transition:transform .14s, border-color .15s}
  .teaser:hover{transform:translateY(-4px); border-color:color-mix(in srgb,var(--accent) 40%, var(--line))}
  .teaser .ph{aspect-ratio:16/10}
  .teaser:hover .ph img{transform:scale(1.06)}
  .teaser .tbody{padding:18px 20px 20px}
  .teaser h3{font-size:1.1rem; font-weight:900; margin:0 0 5px}
  .teaser p{margin:0; color:var(--muted); font-size:.93rem}
  .teaser .go{display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-weight:800; font-size:.85rem; color:var(--accent)}

  /* ---------- Song contest ---------- */
  .steps{counter-reset:step; display:grid; gap:14px}
  .step{display:grid; grid-template-columns:44px 1fr; gap:16px; align-items:start; background:var(--surface);
    border:1px solid var(--line); border-radius:16px; padding:20px 22px; box-shadow:var(--shadow)}
  .step::before{counter-increment:step; content:counter(step); display:flex; align-items:center; justify-content:center;
    width:44px; height:44px; border-radius:50%; font-weight:900; color:#fff; font-size:1.05rem;
    background:linear-gradient(135deg,var(--g1),var(--g3))}
  .step h3{font-size:1.05rem; font-weight:800; margin:9px 0 4px}
  .step p{margin:0; color:var(--muted); font-size:.95rem}

  /* The aims lists on the About page: the same quiet rhythm as .rules, with a
     neutral marker instead of the song contest's musical note. */
  .aims{list-style:none; margin:0; padding:0; display:grid; gap:10px}
  .aims li{display:grid; grid-template-columns:16px 1fr; gap:12px; align-items:start; color:var(--muted); font-size:.96rem}
  .aims li::before{content:"◆"; color:var(--g3); font-size:.7rem; line-height:2.2}

  .rules{list-style:none; margin:0; padding:0; display:grid; gap:10px}
  .rules li{display:grid; grid-template-columns:22px 1fr; gap:12px; align-items:start; color:var(--muted); font-size:.96rem}
  .rules li::before{content:"♪"; color:var(--g3); font-weight:900; font-size:1.05rem; line-height:1.5}
  .rules b{color:var(--ink); font-weight:800}

  /* Weighted judging criteria: the label on the left, its share of the 100
     points on the right, one rule per line. */
  .scores{list-style:none; margin:0; padding:0; display:grid; gap:12px}
  .scores li{display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center;
    padding-bottom:12px; border-bottom:1px solid var(--line); color:var(--muted); font-size:.96rem}
  .scores li:last-child{padding-bottom:0; border-bottom:0}
  .scores b{color:var(--ink); font-weight:800}
  .scores small{display:block; font-size:.86rem; margin-top:3px}
  .scores .pts{font-weight:900; color:var(--g3); font-size:1.15rem; font-variant-numeric:tabular-nums}

  .prizes{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
  .prize{background:var(--surface); border:1.5px solid var(--line); border-radius:18px; padding:22px; text-align:center; box-shadow:var(--shadow)}
  .prize .medal{font-size:2rem; line-height:1}
  .prize h3{font-size:1.05rem; font-weight:900; margin:10px 0 4px}
  .prize p{margin:0; color:var(--muted); font-size:.9rem}
  @media (max-width:760px){ .prizes{grid-template-columns:1fr} }


  /* ---------- Contest card set (the shareable K-POP contest promo cards) ---------- */
  /* The cards carry their text as artwork, so the page states the same facts in
     real HTML above them; this strip is the save-and-share version. */
  .cardset{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
  .cardset .sc{margin:0; border-radius:18px; overflow:hidden; border:1.5px solid var(--line); box-shadow:var(--shadow); background:var(--surface-2)}
  .cardset .sc img{display:block; width:100%; height:auto}
  @media (max-width:900px){ .cardset{grid-template-columns:repeat(2,1fr); gap:12px} }
  @media (max-width:520px){ .cardset{grid-template-columns:1fr} }


  /* ---------- Language switch (EN · 한국어 · Tiếng Việt · 中文 · ไทย) ---------- */
  /* Five languages are too many for a row of pills in the header, so the
     switch is a globe button that opens the list; i18n.js keeps the button
     labelled with the current language's own code. */
  .langsw{position:relative; flex:none}
  .langnow{display:inline-flex; align-items:center; gap:6px; appearance:none; font:inherit;
    font-size:.8rem; font-weight:800; line-height:1; white-space:nowrap; padding:9px 13px;
    color:var(--ink); background:var(--surface); border:1px solid var(--line);
    border-radius:999px; cursor:pointer; transition:border-color .15s}
  .langnow:hover{border-color:var(--muted)}
  .langnow[aria-expanded="true"]{border-color:var(--accent)}
  .langmenu{position:absolute; top:calc(100% + 8px); right:0; z-index:60; min-width:170px;
    display:flex; flex-direction:column; gap:2px; padding:6px;
    background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow)}
  .langbtn{appearance:none; border:0; background:transparent; color:var(--muted); font:inherit;
    font-size:.86rem; font-weight:700; line-height:1.2; white-space:nowrap; text-align:left;
    padding:10px 12px; border-radius:10px; cursor:pointer; transition:background .15s, color .15s}
  .langbtn:hover{color:var(--ink); background:color-mix(in srgb, var(--ink) 7%, transparent)}
  .langbtn[aria-pressed="true"]{background:var(--accent); color:var(--accent-ink)}
  .langnow:focus-visible,.langbtn:focus-visible{outline:3px solid var(--ring); outline-offset:2px}
  /* Korean glosses printed next to the English are for readers of the English
     page; in any translated language they are noise. */
  html:not([data-lang="en"]) .gloss{display:none}
  @media (max-width:420px){
    .nav{gap:10px}
    .langnow{padding:9px 11px; font-size:.74rem}
  }

  /* ---------- Lucky draw ---------- */
  /* Hero band: every audience member gets a draw number just by registering. */
  .drawband{display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:18px;
    background:linear-gradient(115deg, color-mix(in srgb,var(--g1) 10%, var(--surface)), color-mix(in srgb,var(--g3) 12%, var(--surface)));
    border:1.5px solid color-mix(in srgb,var(--g2) 45%, var(--line)); border-radius:18px; padding:15px 18px; box-shadow:var(--shadow)}
  .drawband .draw-ic{font-size:1.9rem; line-height:1}
  .drawband .draw-copy{flex:1; min-width:220px}
  .drawband .draw-title{display:block; font-weight:900; font-size:1.02rem; line-height:1.35}
  .drawband .draw-em{background:linear-gradient(92deg,var(--g2),var(--g3)); -webkit-background-clip:text; background-clip:text; color:transparent}
  .drawband .draw-sub{display:block; color:var(--muted); font-weight:600; font-size:.88rem; margin-top:2px}
  .drawband .btn{padding:10px 18px; flex:none}
  /* The single wide "Lucky Draw" card in the take-part section. */
  .card.drawwide{margin-top:18px; align-items:center}
  .card.drawwide .btn{margin-left:auto; flex:none}
  @media (max-width:620px){ .card.drawwide{flex-wrap:wrap} .card.drawwide .btn{margin-left:0} }

  /* ---------- Ticket (registration success + /ticket) ---------- */
  /* The QR sits on solid white with padding on every theme: the padding is the
     quiet zone scanners need, and a dark surface behind the SVG would invert
     the contrast the decoder expects. */
  .qrbox{background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px; width:min(230px,72vw); margin:14px auto}
  .qrbox svg{display:block; width:100%; height:auto}
  .qrbox:empty{display:none}
  .btn-kakao{background:#fee500; color:#191919; box-shadow:0 10px 26px -14px rgba(0,0,0,.45)}
  .btn-kakao:hover{transform:translateY(-1px)}
  .ticket-body{display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px;
    background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:26px 20px; margin:16px 0 14px}
  .ticket-label{font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; font-weight:800; color:var(--muted)}
  .ticket-no{font-weight:900; font-variant-numeric:tabular-nums; letter-spacing:.02em; line-height:1.05;
    font-size:clamp(2.5rem,9vw,3.6rem); margin:2px 0 14px;
    background:linear-gradient(92deg,var(--g1),var(--g2) 55%,var(--g3)); -webkit-background-clip:text; background-clip:text; color:transparent}
  .ticket-note{border:1.5px dashed color-mix(in srgb,var(--g4) 60%, var(--line)); background:color-mix(in srgb,var(--g4) 8%, var(--surface));
    border-radius:14px; padding:12px 16px; font-size:.92rem; font-weight:600; margin:14px 0}
  .ticket-mailed{font-weight:700; font-size:.92rem; margin:12px 0 0}

  /* /ticket — the compact shell the QR opens into (no shared header/footer). */
  .tkbar{display:flex; align-items:center; gap:12px; height:60px; padding:0 18px; border-bottom:1px solid var(--line);
    background:color-mix(in srgb, var(--bg) 82%, transparent)}
  .tkbar .spacer{flex:1}
  .tkmain{max-width:560px; margin:0 auto; padding:26px 18px 70px}
  .tkcard{background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:28px 22px; box-shadow:var(--shadow); text-align:center}
  .tkcard h1{font-size:1.5rem; font-weight:900; margin:6px 0 14px}
  .tk-status{display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:.9rem; border-radius:999px;
    padding:7px 14px; border:1.5px solid var(--line); background:var(--surface-2); color:var(--muted)}
  .tk-status.in{border-color:color-mix(in srgb,#22b573 55%, var(--line)); background:color-mix(in srgb,#22b573 12%, var(--surface)); color:#1a9a5a}
  .tk-facts{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:18px 0 0; text-align:left}
  .tk-facts>div{background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:9px 13px}
  .tk-facts dt{font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; font-weight:800; color:var(--muted)}
  .tk-facts dd{margin:2px 0 0; font-weight:700; overflow-wrap:anywhere}
  .tk-event{margin:16px 0; font-weight:700; font-size:.92rem}
  .tk-staff{margin-top:18px; border-top:1px solid var(--line); padding-top:16px}
  .tk-staff b{display:block; margin-bottom:8px; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
  .tk-error{padding:16px 0 6px}
  .tk-error .emoji{font-size:2rem; display:block; margin-bottom:8px}
  .tk-error b{display:block; font-size:1.1rem; font-weight:900; margin-bottom:4px}
  @media (max-width:420px){ .tk-facts{grid-template-columns:1fr} }
