/* Vegas411 2026 redesign (Tonight in Vegas). Shared by /preview/home and /preview/post. */

/* Layout: the Strip's changeable-letter marquee leads the page (what's on tonight, in Vegas time),
   then news, a red "Plan your trip" field, text-first sections, the Mixtape column, a sign-scale footer. */
:root {
  color-scheme: dark;
  --night: #0e0c0b;
  --surface: #1a1714;
  --surface-2: #24201c;
  --ink: #f6f1e7;
  --muted: #bdb3a5;
  --panel: #fff3d1;
  --letter: #17110c;
  --sign-red: #e2232e;
  --sign-red-ink: #fff6ec;
  --bulb: #ffcf5a;
  --bulb-off: #6e5a2c;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1280px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.top { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
/* Logo on its white pill, as on the live site. */
.top__logo { display: block; line-height: 0; flex-shrink: 0; background: #ffffff; border-radius: 999px; padding: 6px 12px; border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
.top__logo img { height: 52px; width: auto; display: block; }
.top__nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 16px; }
.top__nav a { color: var(--muted); transition: color .15s; }
.top__nav a:hover { color: var(--ink); }
.top__search { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.top__search svg { width: 20px; height: 20px; }

/* Hero: marquee + lead story */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; padding-block: 8px 56px; }

.marquee { --b: 12px; position: relative; padding: 22px; background: var(--letter); border-radius: 6px; }
.marquee::before {
  content: ""; position: absolute; inset: 7px; border-radius: 4px; pointer-events: none;
  background-image:
    radial-gradient(circle, var(--bulb) 0 4.5px, transparent 5px),
    radial-gradient(circle, var(--bulb-off) 0 4.5px, transparent 5px);
  background-size: 24px 24px, 24px 24px;
  background-position: 0 0, 12px 12px;
  -webkit-mask: linear-gradient(#000 0 0) top/100% 12px no-repeat, linear-gradient(#000 0 0) bottom/100% 12px no-repeat, linear-gradient(#000 0 0) left/12px 100% no-repeat, linear-gradient(#000 0 0) right/12px 100% no-repeat;
          mask: linear-gradient(#000 0 0) top/100% 12px no-repeat, linear-gradient(#000 0 0) bottom/100% 12px no-repeat, linear-gradient(#000 0 0) left/12px 100% no-repeat, linear-gradient(#000 0 0) right/12px 100% no-repeat;
  animation: chase 1.1s steps(2) infinite;
}
@keyframes chase { to { background-position: 12px 0, 24px 12px; } }
.marquee__panel { position: relative; background: var(--panel); color: var(--letter); border-radius: 3px; padding: 18px 20px 14px; }
.marquee__title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 56px); line-height: .92; letter-spacing: .01em; text-transform: uppercase; }
.marquee__clock { margin-top: 10px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.marquee__clock b { font-weight: 700; }
.tabs { display: flex; gap: 8px; margin: 16px 0 6px; flex-wrap: wrap; }
.tab { font: 700 15px/1 var(--text); padding: 10px 14px; border: 0; border-radius: 999px; background: #eadfbe; color: var(--letter); cursor: pointer; transition: background-color .15s, transform .1s; }
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--letter); color: var(--panel); }
.board { list-style: none; margin: 0; padding: 0; }
.board li + li { border-top: 2px solid #e6d9b3; }
.row { display: grid; grid-template-columns: 44px 72px minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 7px 2px; transition: background-color .15s; }
.row__thumb { grid-row: 1 / span 2; width: 44px; height: 44px; object-fit: cover; border-radius: 3px; background: #eadfbe; }
.row:hover { background: #fbe9b8; }
.row__time { font-family: var(--display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.row__show { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }
.row__time { grid-column: 2; grid-row: 1 / span 2; }
.row__show { grid-column: 3; grid-row: 1; align-self: end; }
.row__venue { grid-column: 3; grid-row: 2; align-self: start; font-size: 14px; color: #5d4f3d; }
.row__when { grid-column: 4; grid-row: 1 / span 2; justify-self: end; font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row__when.is-live { color: var(--sign-red); }
.row__tix { margin-left: 6px; color: var(--sign-red); font-weight: 700; }
.ad-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--letter); color: var(--panel); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.row--sponsored { background: #f8e3a6; }
.row--sponsored .row__thumb { display: grid; place-items: center; background: var(--letter); color: var(--bulb); font-family: var(--display); font-weight: 900; font-size: 18px; }
.adband { padding-block: 0 64px; }
.adband__label { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.adslot { display: grid; place-items: center; width: 100%; max-width: 970px; aspect-ratio: 970 / 250; margin: 0 auto; background: var(--surface); border-radius: 4px; color: var(--muted); text-align: center; font-size: 15px; }
.adslot b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--ink); }
.guide--partner .guide__title::after { content: ""; }
.guide__price { margin-top: 4px; font-weight: 700; }
.jcard__sponsor { font-size: 14px; font-weight: 600; color: #5d4f3d; }
.feat-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sign-red); color: var(--sign-red-ink); font-size: 12px; font-weight: 700; }
.row--featured { background: var(--letter); color: var(--panel); border-radius: 4px; }
.row--featured:hover { background: #2a2119; }
.row--featured .row__venue { color: #d9cba8; }
.row--featured .row__when { color: var(--bulb); }
.row__cta { display: inline-block; margin-left: 8px; color: var(--bulb); font-weight: 700; }
.feat { padding-block: 0 64px; }
.feat__card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--surface); border-radius: 6px; overflow: hidden; }
.feat__card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feat__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.feat__name { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4vw, 56px); line-height: .9; text-transform: uppercase; }
.feat__tagline { font-size: 18px; font-weight: 600; color: var(--bulb); }
.feat__desc { margin: 0; color: var(--ink); }
.feat__dates { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feat__dates li { padding: 7px 11px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.btn { align-self: start; margin-top: 6px; background: var(--sign-red); color: var(--sign-red-ink); font-weight: 700; padding: 12px 20px; border-radius: 999px; transition: transform .1s, background-color .15s; }
.btn:hover { background: #c81d27; }
.btn:active { transform: scale(.97); }
.ours { padding-block: 0 72px; }
.ours__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.show img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: transform .2s ease; }
.show:hover img { transform: translateY(-4px); }
.show__name { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.show__tag { margin-top: 4px; font-size: 15px; color: var(--muted); }
.show__next { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--bulb); }
.jcard__sponsor b { color: var(--sign-red); }

.row__when.is-done { color: #9a8b74; }
.board-panel .row { animation: flip .5s cubic-bezier(.2,.7,.2,1) both; }
.board-panel .row:nth-child(2) { animation-delay: .06s } .board-panel .row:nth-child(3) { animation-delay: .12s }
.board-panel .row:nth-child(4) { animation-delay: .18s } .board-panel .row:nth-child(5) { animation-delay: .24s }
.board-panel .row:nth-child(6) { animation-delay: .30s } .board-panel .row:nth-child(n+7) { animation-delay: .36s }
@keyframes flip { from { transform: rotateX(-70deg); opacity: .2; } to { transform: none; opacity: 1; } }
.board-panel li { perspective: 600px; }
.board-more { margin-top: 6px; font: 700 15px/1 var(--text); padding: 10px 14px; border: 0; border-radius: 999px; background: #eadfbe; color: var(--letter); cursor: pointer; }
.board-more:hover { background: #e2d3a6; }
.marquee__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-weight: 700; font-size: 15px; }
.marquee__foot a { border-bottom: 2px solid currentColor; }

.lead__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.lead__cat { margin-top: 18px; color: var(--bulb); font-weight: 700; font-size: 15px; }
.lead__title { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: .98; }
.lead__dek { margin: 12px 0 0; color: var(--ink); max-width: 46ch; }
.lead__meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.lead a:hover .lead__title { color: var(--bulb); }
.lead__more { display: grid; gap: 14px; margin-top: 24px; }
.hero__main { display: grid; gap: 24px; min-width: 0; }
.hero-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--surface); border-radius: 6px; overflow: hidden; color: inherit; text-decoration: none; }
.hero-feat[hidden], .hero-fill[hidden], .hero-fill .more[hidden] { display: none; }
.hero-fill { display: grid; gap: 14px; }
.hero-fill__title { margin: 0; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; }
.hero-feat img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.hero-feat__body { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.hero-feat .feat__tagline { margin: 0; font-size: 16px; }
.hero-feat .feat__dates { margin: 0; gap: 6px; }
.hero-feat .feat__dates li { padding: 5px 9px; font-size: 13px; }
.hero-feat__name { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.2vw, 34px); line-height: .95; text-transform: uppercase; margin: 0; }
.hero-feat .btn { align-self: start; margin-top: auto; padding: 10px 18px; }
.hero-feat:hover .hero-feat__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.more { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; }
.more img { width: 104px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.more__cat { color: var(--bulb); font-weight: 700; font-size: 14px; }
.more__title { margin-top: 2px; font-size: 17px; font-weight: 700; line-height: 1.25; }
.more:hover .more__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Just in */
.sec-title { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: .95; text-transform: uppercase; }
.justin { padding-block: 0 64px; }
.justin__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 24px; }
.story img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; transition: transform .3s ease; }
.story__media { overflow: hidden; border-radius: 4px; }
.story:hover img { transform: scale(1.035); }
.story__cat { margin-top: 12px; color: var(--bulb); font-weight: 700; font-size: 14px; }
.story__title { margin-top: 4px; font-size: 18px; line-height: 1.25; font-weight: 700; }
.story:hover .story__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Plan your trip: a whole field of sign red */
.trip { background: var(--sign-red); color: var(--sign-red-ink); padding-block: 52px 60px; }
.trip__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.trip__head p { margin: 0; max-width: 40ch; font-size: 16px; }
.trip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; margin-top: 24px; }
.guide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: transform .2s ease; }
.guide:hover img { transform: translateY(-4px); }
.guide__title { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.3; }

/* Around town: text-first columns */
.town { padding-block: 64px; }
.town__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; margin-top: 28px; }
.col__name { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--bulb); }
.col__name a:hover { color: var(--ink); }
.col__lead { display: block; margin-top: 12px; }
.col__lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.col__lead span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 8px; font-weight: 700; font-size: 16px; line-height: 1.3; min-height: calc(3 * 1.3em); }
.col li span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: calc(3 * 1.35em); }
.col__lead:hover span { color: var(--bulb); }
.col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.col li a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; font-size: 15px; line-height: 1.35; }
.col li img { margin: 0; width: 72px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 3px; }
.col li a:hover { color: var(--bulb); }

/* Vegas Mix Tape column, set as a cassette J-card */
.mix { padding-block: 0 56px; }
.jcard { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); background: var(--panel); color: var(--letter); border-radius: 6px; overflow: hidden; }
.jcard__media { display: block; min-height: 0; }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; min-height: 0; max-height: none; }
.jcard__name a:hover { color: var(--sign-red); }
.jcard__earlier { padding: 16px 22px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.jcard .tape { background: #f6e6bb; color: var(--letter); padding: 8px; gap: 10px; grid-template-columns: 64px minmax(0, 1fr); }
.jcard .tape:hover { background: #efd9a0; transform: none; }
.jcard .tape img { width: 64px; }
.jcard .tape__vol { color: var(--letter); font-size: 17px; }
.jcard .tape__date { font-family: var(--text); font-weight: 600; font-size: 12px; color: #6e5f49; margin-left: 4px; text-transform: none; }
.jcard .tape__tracks { color: #3c3125; }
.jcard__body { padding: 16px 22px; display: flex; flex-direction: column; gap: 6px; }
.jcard__name { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.6vw, 38px); line-height: .88; text-transform: uppercase; }
.jcard__by { font-weight: 600; color: #5d4f3d; }
.jcard__side { font-weight: 700; font-size: 15px; color: var(--sign-red); }
.jcard ul { list-style: none; margin: 0; padding: 0; }
.jcard li { padding: 3px 0; border-top: 2px solid #e6d9b3; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.05; text-transform: uppercase; }
.jcard__cta { align-self: start; margin-top: 2px; font-size: 14px; padding: 9px 14px !important; background: var(--letter); color: var(--panel); font-weight: 700; padding: 12px 18px; border-radius: 999px; transition: transform .1s, background-color .15s; }
.jcard__cta:hover { background: var(--sign-red); color: var(--sign-red-ink); }
.jcard__cta:active { transform: scale(.97); }
.mix__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.mix__head p { margin: 0; max-width: 52ch; color: var(--muted); }
.tapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.tape { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--surface); border-radius: 6px; padding: 10px; transition: background-color .15s, transform .15s; }
.tape:hover { background: var(--surface-2); transform: translateY(-2px); }
.tape img { width: 72px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.tape__vol { font-family: var(--display); font-weight: 900; font-size: 18px; line-height: .95; text-transform: uppercase; color: var(--bulb); }
.tape__tracks { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 2px; font-size: 13px; line-height: 1.35; }
.tape__date { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Footer: the name at sign scale */
.foot { background: var(--surface); padding-block: 56px 28px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.foot h2 { font-size: 16px; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot li { margin-bottom: 8px; break-inside: avoid; }
.foot li a { color: var(--muted); }
.foot li a:hover { color: var(--bulb); }
.foot__name { margin-top: 32px; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 12vw, 160px); line-height: .8; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; }
.foot__note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.reveal { transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.reveal.pre { opacity: .001; transform: translateY(16px); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .justin__grid, .town__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tapes { grid-template-columns: 1fr; }
  .jcard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .jcard__earlier { grid-column: 1 / -1; padding: 0 16px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jcard__earlier .jcard__side { grid-column: 1 / -1; }
  .ours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Narrow screens: the section links become a swipeable row under the logo, always visible. */
  .top { flex-wrap: wrap; row-gap: 10px; }
  .top__search { margin-left: auto; }
  .top__nav { order: 3; flex: 0 0 100%; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 15px; white-space: nowrap; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__logo { padding: 4px 8px; }
  .top__logo img { height: 40px; }
  .marquee { padding: 16px; }
  .marquee::before { inset: 5px; }
  .marquee__panel { padding: 14px 12px 10px; }
  .row { grid-template-columns: 44px 58px minmax(0, 1fr); gap: 0 10px; padding: 8px 0; }
  .row__thumb { grid-row: 1 / span 3; width: 44px; height: 44px; align-self: start; }
  .row__time { grid-column: 2; grid-row: 1 / span 3; align-self: start; font-size: 16px; padding-top: 2px; }
  .row__show { grid-column: 3; grid-row: 1; font-size: 19px; }
  .row__venue { grid-column: 3; grid-row: 2; font-size: 13px; }
  .row__when { grid-column: 3; grid-row: 3; justify-self: start; font-size: 13px; }
  .justin__grid { grid-template-columns: 1fr; }
  .more { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .more img { width: 112px; }
  .more__title { font-size: 17px; }
  .story { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; }
  .story img { aspect-ratio: 1; }
  .story__cat { margin-top: 0; }
  .story__title { font-size: 16px; }
  .trip { padding-block: 40px 48px; }
  .adslot { max-width: 300px; aspect-ratio: 300 / 250; }
  .feat__card { grid-template-columns: 1fr; }
  .feat__body { padding: 20px; }
  .ours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .show__name { font-size: 20px; }
  .trip__grid { gap: 22px 14px; }
  .guide__title { font-size: 16px; }
  .town__grid { grid-template-columns: 1fr; gap: 40px; }
  .jcard { grid-template-columns: 1fr; }
  .jcard__earlier { padding: 0 16px 16px; grid-template-columns: 1fr; }
  .jcard img { min-height: 0; max-height: 180px; aspect-ratio: auto; }
  .jcard__body { padding: 14px 16px; }
  .jcard li { font-size: 16px; }
  .tapes { grid-template-columns: 1fr; gap: 12px; }
  .tape { grid-template-columns: 64px minmax(0, 1fr); }
  .tape img { width: 64px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee::before, .board-panel .row { animation: none; }
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  .story img, .guide img { transition: none; }
}


/* Logged-in account menu in the header (preview/_user-menu) */
.top__user { position: relative; }
.top__user summary { list-style: none; cursor: pointer; display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.top__user summary::-webkit-details-marker { display: none; }
.top__user summary img { width: 44px; height: 44px; object-fit: cover; display: block; }
.top__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; padding: 8px; background: var(--surface-2); border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); display: grid; }
.top__menu-name { margin: 4px 10px 6px; font-size: 13px; color: var(--muted); }
.top__menu a, .top__menu button { display: block; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 600 15px/1.2 var(--text); text-align: left; cursor: pointer; }
.top__menu a:hover, .top__menu button:hover { background: var(--surface); color: var(--bulb); }
.top__menu form { margin: 0; }
@media (max-width: 1000px) {
  .top__user { margin-left: auto; }
  .top__user + .top__search { margin-left: 0; }
}

/* Site-wide news ticker (partials/promo-ticker, admin at /admin/ticker): live rules, recoloured for the 2026 palette */
/* Site-wide rotating news ticker — admin-managed; accent/speed via inline CSS vars */
/* Zero vertical space here so pages WITHOUT a ticker get no gap (the partial still leaves
   whitespace, so :empty is unreliable — all spacing lives on .vz-ticker instead). */
.vz-ticker-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.vz-ticker {
    --vzt-accent: #4ddc82;
    --vzt-speed: 34s;
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #0b1020, #111a33);
    border: 1px solid rgba(120, 180, 255, .22);
    border-radius: 10px;
    overflow: hidden;
    margin: 14px 0 6px;
    font-size: 13.5px;
}
.vz-ticker__badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 3px 0 0 var(--vzt-accent);
    padding: 11px 14px 11px 16px;
    white-space: nowrap;
}
.vz-ticker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vzt-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vzt-accent) 25%, transparent);
    animation: vztPulse 2s infinite;
}
.vz-ticker__track {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;              /* so the marquee can be vertically centered in the bar */
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.vz-ticker__marquee {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;            /* keep intrinsic width so it overflows & scrolls, not squished */
    white-space: nowrap;
    gap: 30px;
    padding-left: 30px;
    animation: vztMarquee var(--vzt-speed) linear infinite;
}
.vz-ticker:hover .vz-ticker__marquee { animation-play-state: paused; }
.vz-ticker__seg {
    position: relative;
    color: #dfe8ff;
    text-decoration: none;
    font-weight: 600;
}
.vz-ticker__seg:hover { color: #fff; text-decoration: underline; }
.vz-ticker__seg:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -17px;
    opacity: .38;
    font-weight: 400;
}
.vz-ticker__seg--pinned { color: var(--vzt-accent); }
.vz-ticker__seg--pinned:hover { color: var(--vzt-accent); }
.vz-ticker__close {
    flex: none;
    align-self: stretch;          /* match bar height instead of dictating it */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .08);
    color: #9fb2d8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.vz-ticker__close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
@keyframes vztPulse {
    0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--vzt-accent) 25%, transparent); }
    50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--vzt-accent) 6%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
    .vz-ticker__marquee { animation: none; }
    .vz-ticker__dot { animation: none; }
}.vz-ticker-wrap { max-width: var(--max); padding: 0 var(--gutter); }
.vz-ticker { background: var(--surface); border: 0; border-radius: 6px; margin: 4px 0 18px; font-size: 14px; }
.vz-ticker__badge { background: var(--surface-2); color: var(--ink); box-shadow: inset 3px 0 0 var(--vzt-accent); }
.vz-ticker__seg { color: var(--ink); }
.vz-ticker__seg:hover { color: var(--bulb); }
.vz-ticker__close { color: var(--muted); }

/* Header "More" sections menu (preview/_nav). The panel lives outside the nav and is placed by its script. */
.top__more { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; transition: color .15s; }
.top__more:hover, .top__more[aria-expanded="true"] { color: var(--ink); }
.top__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.top__more-menu { position: fixed; z-index: 60; width: 400px; padding: 8px; background: var(--surface-2); border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.top__more-menu[hidden] { display: none; }
.top__more-menu a { display: block; padding: 10px; border-radius: 6px; color: var(--ink); font-size: 15px; font-weight: 600; }
.top__more-menu a:hover { background: var(--surface); color: var(--bulb); }
@media (max-width: 1000px) {
  .top__more { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
  .top__more[aria-expanded="true"] { background: var(--bulb); color: var(--letter); }
  .top__more-menu { left: 16px; right: 16px; width: auto; max-height: 70vh; overflow-y: auto; }
  .top__more-menu a { padding: 12px; }
}

/* Phone ☰ + full-screen sections sheet (preview/_nav). Desktop keeps the bar + More dropdown. */
.top__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); place-items: center; cursor: pointer; }
.top__sheet { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain; background: var(--night); padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); }
.top__sheet[hidden] { display: none; }
.sheet-open, .sheet-open body { overflow: hidden; }
.top__sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.top__sheet-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--bulb); }
.top__sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.top__sheet-main { display: grid; margin-top: 8px; }
.top__sheet-main a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--surface-2); font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.top__sheet-main a:active, .top__sheet-more a:active { color: var(--bulb); }
.top__sheet-sub { margin: 24px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.top__sheet-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.top__sheet-more a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; }
.top__sheet-search { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 24px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 700; }
@media (max-width: 1000px) {
  .top { column-gap: 10px; }
  .top__logo { margin-right: auto; }
  .top .top__user, .top .top__search { margin-left: 0; }
  .top__user { order: 1; }
  .top__burger, .top .top__search { order: 2; }
  .top__burger { display: grid; }
  .top__nav .top__more, .top__more-menu { display: none !important; }
}
