@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");
/* WARNING — no @media print or @page rules in this file.
   The certificate PDF is rendered by a headless browser from a page that links site.css, so any
   print rule lands on the certificate and shows up nowhere else. A stray one shifted certificates
   17mm right and cropped [ GOLDEN TICKET ]. Print styling belongs on the page that needs it. */
/* FWA site stylesheet — shared by every public page. Rules: Geist for content, Geist Mono for chrome; 11px mono caps +0.05em labels; cards 6px + hairline, controls 4px, buttons 2px, no pills. */

:root{
  --header-h:66px;
  --black:#000;
  --yellow:#ffca00;   /* the one accent — the verified bar's yellow */
  --ink:#161616;
  --field:#f3f4f6;
  --card:#fff;
  --line:#e4e6ea;
  --mute:#6b7280;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --radius:6px;
  --gap:clamp(14px,1.4vw,24px);
  --pad:clamp(16px,3vw,48px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}
body{font-family:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--field);color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* A select's own focus ring hugs the text and reads as a browser default. The ring goes on
   the bracketed control around it instead, in the site's own colour. */
.control select:focus{outline:none}
.control:focus-within{outline:2px solid var(--ink);outline-offset:2px}

/* ---------- header ---------- */
.top{background:var(--black);color:#fff;position:sticky;top:0;z-index:20}
.top .row{display:flex;align-items:center;gap:clamp(14px,2.5vw,40px);padding:8px var(--pad);min-height:66px}
@media (max-width:860px){.adslot{display:none}}
.logo{display:flex;align-items:center;color:#fff;--logo-inner:#000;flex:none}
.logo svg{height:37.5px;width:auto;display:block}
footer .logo svg{height:40px}
nav.primary{display:flex;gap:clamp(12px,2vw,28px);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
/* An item never breaks between its // and its label; the nav shrinks its gaps instead, and
   below 1200px the ad slot gives way so seven items always fit on one line. */
nav.primary a{opacity:.7;white-space:nowrap}
nav.primary{flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow:hidden}
nav.primary a::before{content:"// "}
nav.primary a:hover{opacity:1}
/* "new since your last visit": the count after a nav or drawer label, in the yellow so it reads
   as a flag rather than part of the name; a yellow dot on the phone menu button when any is set */
nav.primary a .since,#drawer nav a .since{margin-left:6px;color:var(--yellow);font-weight:500}
/* the dot sits to the left of the menu button, the NEW tag's yellow, and clears as the counts do */
.menu-btn{position:relative}
.menu-btn.has-new::before{content:"";position:absolute;top:50%;left:-10px;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:var(--yellow)}
/* a card new since the reader's last visit: a small mark in the kicker line */
.card .new{display:inline-block;margin-left:8px;padding:1px 6px;background:var(--yellow);color:#000;font-family:var(--mono);font-size:9px;font-weight:500;letter-spacing:.08em;border-radius:2px;vertical-align:1px}
/* Current page: full white against the nav's 70% default. */
nav.primary a[aria-current="page"]{opacity:1;color:#fff}
/* The header ad slot. Renamed from `.ad`, which was too short a name to claim in a shared file. */
/* Supporters — the "i" beside the header ad, and its dialog. Injected by site.js on every page. */
.adgroup{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.adgroup .adslot{margin-left:0}
.sup-btn{width:22px;height:22px;padding:0;border:0;background:none;color:#fff;opacity:.6;cursor:pointer;flex:none;display:grid;place-items:center}
.sup-btn:hover{opacity:1}
.sup-btn svg{width:20px;height:20px;display:block}
.sup-btn[hidden]{display:none}
/* FWAi report on the home page and dossiers — the same dialog rules as /judging, so the report
   opens centred and at the same size everywhere. The dialog is transparent because the report
   brings its own white sheet; margin:auto restores the centring *{margin:0} strips. */
#dlg{margin:auto;border:0;border-radius:0;padding:0;max-width:900px;width:calc(100% - 32px);color:var(--ink);background:transparent}
#dlg::backdrop{background:rgba(0,0,0,.5)}
@media (max-width:720px){#dlg{width:calc(100% - 16px);max-height:92vh;overflow:auto}}
.sup-dlg{margin:auto;border:0;padding:0;background:transparent;max-width:min(92vw,440px)}   /* margin:auto restores centring lost to the * reset */
.sup-dlg::backdrop{background:rgba(0,0,0,.55)}
.sup-box{position:relative;background:var(--card);color:var(--ink);border:1px solid var(--ink);border-radius:var(--radius);padding:28px 28px 24px}
.sup-close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:22px;line-height:1;cursor:pointer;color:var(--mute)}
.sup-close:hover{color:var(--ink)}
.sup-h{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin:0 0 14px}
.sup-p{font-size:15px;line-height:1.55;color:#374151;margin:0 0 16px}
.sup-join{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.sup-join a{text-decoration:underline;text-underline-offset:3px}
.sup-list{list-style:none;margin:0;padding:0}
.sup-list li{padding:9px 0;border-top:1px solid var(--line);font-weight:600;letter-spacing:-.01em}
.sup-list li:first-child{border-top:0}
.sup-list a:hover{text-decoration:underline;text-underline-offset:3px}
/* 1200–1500px: the ad stays, the nav gives up gap first, then a point of size — never an item */
@media (max-width:1500px){nav.primary{gap:14px}.top .row{gap:clamp(12px,1.6vw,24px)}}
@media (max-width:1360px){nav.primary{gap:10px;font-size:11px;letter-spacing:.03em}}
/* between the ad going and the drawer arriving, the nav tightens so seven items still fit */
@media (max-width:1000px){nav.primary{gap:10px;font-size:11px;letter-spacing:.03em}.top .row{gap:14px}.logo svg{height:32px}}
@media (max-width:800px){nav.primary{gap:8px;letter-spacing:0}.logo svg{height:28px}}
.adslot{margin-left:auto;display:block;width:227.5px;height:50px;flex:none}
/* below 1200px seven nav items need the width the ad takes — after the base rule, so it wins
   on pages with a bare .adslot as well as the wrapped .adgroup */
@media (max-width:1200px){.adgroup,.adslot{display:none}}
.adslot img{display:block;width:227.5px;height:50px}
.adslot[hidden]{display:none}
/* The search box takes the spare width of the toolbar, up to a sensible measure, rather than
   sitting at a fixed 220px that a query like SHADER DEVELOPMENT STUDIO overflows. */
.search{background:#fff;border:1px solid #d1d5db;border-radius:4px;display:flex;align-items:center;gap:8px;padding:0 12px;height:36px;flex:1 1 220px;min-width:220px;max-width:460px;color:#6b7280;font-family:var(--mono);font-size:11px;letter-spacing:.05em}
.search input{background:none;border:0;color:var(--ink);font:inherit;width:100%;outline:0;text-transform:uppercase}
.search input::placeholder{color:#9ca3af;text-transform:uppercase}
.menu-btn{display:none;background:none;border:0;color:#fff;margin-left:auto;padding:8px}
.menu-btn svg{display:block}   /* inline svg sits on the text baseline, which reads as top-aligned */

/* ---------- toolbar ---------- */
.toolbar[hidden]{display:none}
.toolbar{background:var(--card);border-bottom:1px solid var(--line)}
.toolbar .row{display:flex;align-items:center;gap:12px;padding:14px var(--pad);flex-wrap:wrap}
.control{position:relative}
/* The real <select> stays for state and accessibility fallbacks; the list below is ours,
   because a native option list can't be padded in Chrome. */
.sr-select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.dd-btn{font:inherit;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink);background:none;border:0;padding:0 18px 0 0;cursor:pointer;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center}
.dd-list{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:max(100%,220px);
  background:var(--card);border:1px solid var(--ink);border-radius:4px;padding:6px;
  box-shadow:0 8px 24px rgba(0,0,0,.14)}
.dd-list[hidden]{display:none}
.dd-opt{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink);padding:9px 14px;border-radius:3px;cursor:pointer;white-space:nowrap}
.dd-opt:hover,.dd-opt:focus{background:var(--field);outline:none}
.dd-opt.on{background:var(--black);color:#fff}
.control[hidden]{display:none}   /* the attribute alone loses to display:flex */
.control{display:flex;align-items:center;gap:0;font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.05em;color:#374151;text-transform:uppercase;border:1px solid #d1d5db;border-radius:4px;background:#fff;padding:0 10px;height:36px}
.control::before{content:"[ "}
.control::after{content:" ]"}
.control span{margin-right:.6em}
.control select{font:inherit;font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);border:0;padding:0 18px 0 0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center;appearance:none;cursor:pointer}
.nowline{margin-left:auto;}
#alog-opener:not([hidden])~.nowline{margin-left:16px}
.nowline{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#374151}
.nowline[hidden]{display:none}
.nowline .livedot{color:inherit;margin-left:0}
/* Audio Log opener beside the live-judging line; audio-log.js resets the button chrome and
   fills the text — size and colour come from .mono/.muted so it matches the count beside it */
#alog-opener{margin-left:auto;cursor:pointer;white-space:nowrap;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#374151}
#alog-opener:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
#alog-opener[hidden]{display:none}
.wview .built-to{margin-top:6px}
.wview .built-to:empty{display:none}
.nowline:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
/* a brief flash when the number actually changes — movement that means something */
.nowline.tick{animation:nowtick .7s ease-out}
@keyframes nowtick{0%{color:#15803d}100%{color:#374151}}
@media (prefers-reduced-motion:reduce){.nowline.tick{animation:none}}
.pager[hidden]{display:none}
.pager{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--mute);font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.pager button{background:none;border:0;padding:8px;color:var(--ink);border-radius:4px}
.pager button:hover{background:var(--field)}

/* ---------- layout ---------- */
/* Home-page layout only. Named for the page it belongs to: a generic .page in a
   stylesheet shared by a dozen pages is a collision waiting to happen. */
.home-layout[hidden]{display:none}
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(260px,22vw,340px);gap:var(--gap);padding:var(--gap) var(--pad) clamp(40px,6vw,96px)}
@media (max-width:1100px){.home-layout{grid-template-columns:minmax(0,1fr)}}

.gridcol{min-width:0}
/* [ Fetch_next > ] under the winners grid — the desktop twin of the mobile sections' button */
.grid-more{display:block;width:100%;margin-top:var(--gap);padding:13px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}
.grid-more:hover{border-color:var(--ink)}
.grid-more[hidden]{display:none}
.grid{display:grid;align-content:start;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));grid-auto-rows:auto;grid-auto-flow:dense;gap:var(--gap)}

/* ---------- cards ---------- */
.card{background:var(--card);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line)}
.card .thumb{position:relative;aspect-ratio:4/3;background:#222;overflow:hidden}
.card .thumb img,.card .thumb .ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.date{font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--mute);text-transform:uppercase}
.title{font-weight:600;font-size:clamp(16px,1vw,19px);letter-spacing:-.02em;line-height:1.25;margin-top:6px}
.desc{font-size:14px;line-height:1.5;color:#374151;margin-top:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card.hero .desc{-webkit-line-clamp:8;font-size:clamp(15px,.9vw,18px);line-height:1.55}
.by a{text-decoration:underline;text-decoration-color:#c9ccd2;text-underline-offset:3px}
.by a:hover{color:var(--ink);text-decoration-color:currentColor}
.by{font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--mute);text-transform:uppercase;margin-top:2px}
.foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px;min-height:34px}
.title .ext.off{font-family:var(--mono);font-size:10px;letter-spacing:.05em;color:var(--mute);text-decoration:none;cursor:default;vertical-align:2px}
.offline{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.offline .off-label{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#b91c1c}
.offline .off-url{display:flex;flex-direction:column;gap:3px}
.offline .off-url .k{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
.offline code{font-family:var(--mono);font-size:12px;color:var(--ink);word-break:break-all;user-select:all}
.title .ext{font-size:.8em;color:var(--mute);vertical-align:1px}
.title a:hover .ext{color:inherit}
.flags{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}
.gold{background:#ffca00;color:#000;border-radius:2px;padding:3px 8px}
.jury{color:#374151;border:1px solid var(--line);border-radius:2px;padding:3px 8px}
.fwai{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#374151}
.fwai .rep{background:var(--black);color:#fff;border:0;border-radius:2px;padding:5px 8px;font:inherit;cursor:pointer;line-height:1}
.fwai .rep:hover{background:#333}
.tag{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;color:#374151}
.like{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:4px;padding:5px 10px;font-family:var(--mono);font-size:11px;font-weight:500;color:#374151;transition:background .15s,color .15s}
.like svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.like.on{background:var(--black);color:#fff;border-color:var(--black)}
.like.on svg{fill:#fff}

/* a winner at its own address — /w/<slug> */
.stage[hidden]{display:none}   /* the attribute alone loses to .stage{display:block} */
.stage{display:block;padding:var(--gap) var(--pad) clamp(48px,6vw,96px);max-width:1100px;margin:0 auto}
.wview .thumb{aspect-ratio:4/3}
.wview .body{padding:clamp(22px,2.5vw,34px)}
.wview .title{font-size:clamp(26px,2.4vw,40px);letter-spacing:-.03em;margin-top:6px}
.wview .framed-line{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin-top:6px}
.wview .framed-line:empty{display:none}
.wview .loom-line{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin-top:6px}
.wview .loom-line a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.wview .loom-line:empty{display:none}
/* the FWAi verdict on the dossier: same line as the home hero, above the foot with the score and the report link */
.wview .verdict{font-family:var(--mono);font-size:12px;letter-spacing:.03em;line-height:1.6;color:#374151;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.wview .verdict b{font-weight:500;color:var(--ink)}
.wview .verdict+.wfoot{margin-top:14px;padding-top:0;border-top:0}
.wview .legacy-note{font-family:var(--mono);font-size:11px;letter-spacing:.03em;text-transform:none;color:var(--mute);margin-top:6px}
.wview .wdesc{font-size:16px;line-height:1.6;color:#374151;margin-top:16px;max-width:62ch}
.wview .wfoot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.relbox{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}
.relbox h2{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin-bottom:12px}
.relbox h2::before{content:"[ "}.relbox h2::after{content:" ]"}
.rel{display:flex;gap:14px;align-items:baseline;padding:11px 0;border-top:1px solid var(--line);color:inherit}
.rel:first-of-type{border-top:0}
.rel .k{font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--mute);flex:none;width:17ch}
.rel .t{font-weight:600;letter-spacing:-.01em}
.rwho{display:block;font-weight:400;font-size:12px;color:var(--mute);margin-top:2px}
.rel:hover .t{text-decoration:underline;text-underline-offset:3px}
.title .ext{text-decoration:none}
@media (max-width:720px){.stage{padding:var(--gap) var(--pad) 40px}.wview{border:0;border-radius:var(--radius);overflow:hidden}.rel{flex-direction:column;gap:4px}.rel .k{min-width:0}}

/* Wide screens. The media is sized from the height actually available — never letterboxed,
   never cropped — and it is a definite width, so the grid can give the rest of the row to the
   other columns and both outer edges stay flush with the bar. */
@media (min-width:1400px){
  .stage{max-width:none;padding-bottom:var(--gap)}
  .wview.wide{--media-h:calc(100vh - var(--header-h) - var(--gap)*3 - 33px);--hero-h:min(49.5vw, var(--media-h));
    display:grid;
    grid-template-columns:auto minmax(300px,1fr);
    grid-template-rows:auto minmax(0,1fr) auto;
    grid-template-areas:"bar bar" "media body" "media tiles";
    column-gap:var(--gap);row-gap:var(--gap);
    /* the grid is exactly as tall as bar + gap + hero, so the right-hand rows must fit inside it */
    height:calc(var(--hero-h) + 33px + var(--gap));
    background:none;border:0;border-radius:0;overflow:visible}
  .wview.wide .vbar{grid-area:bar;border-radius:var(--radius)}

  .wview.wide .thumb{grid-area:media;justify-self:start;align-self:start;
    width:min(66vw, calc(var(--media-h) * 4 / 3));height:auto;aspect-ratio:4/3;
    border-radius:var(--radius);border:1px solid var(--line);background:#111;overflow:hidden}
  .wview.wide .slide img{object-fit:cover}
  .wview.wide .slide.video-slide{background:#000}
  .wview.wide .slide.video-slide iframe{position:absolute;inset:0;width:100%;height:100%}

  /* The details panel ends where its text ends; the tiles use the space beneath it. */
  /* The details take whatever height the hero leaves above the tiles; only very long text scrolls. */
  .wview.wide .body{grid-area:body;align-self:stretch;min-height:0;overflow-y:auto;background:var(--card);
    border:1px solid var(--line);border-radius:var(--radius)}
  .wview.wide .wdesc{max-width:none}
  .wview.wide .wfoot{flex-direction:column;align-items:stretch;gap:12px}
  .wview.wide .wfoot .btn{text-align:center}

  /* Two-column band: tiles are sized by height — a fixed share of the hero — and sit bottom-right,
     so the details column can take the full remaining width and never scrolls at normal lengths. */
  .tiles{grid-area:tiles;align-self:end;display:grid;grid-template-columns:auto auto;
    justify-content:end;gap:var(--gap)}
  .tiles .tile{width:auto;height:calc(var(--hero-h) * .18);aspect-ratio:4/3}
  .tiles .tile.vid{grid-column:1/-1;justify-self:end;height:calc(var(--hero-h) * .12);aspect-ratio:3/1}
  .tile{position:relative;padding:0;width:100%;aspect-ratio:4/3;border:1px solid var(--line);
    border-radius:var(--radius);overflow:hidden;background:#111;cursor:pointer}
  .tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .tile:hover{border-color:var(--ink)}
  .tile:hover img{opacity:.85}
  .vidtile{position:absolute;inset:0;display:grid;place-items:center;background:#000}
  .vidtile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
  .vidtile svg{position:relative;width:22px;height:22px;fill:#fff;filter:drop-shadow(0 1px 4px rgba(0,0,0,.6))}
}

/* Very wide: the tiles take a column of their own, flush with the bar's right edge. */
@media (min-width:1750px){
  /* Three columns share the row, so the hero takes a smaller share of the width. */
  .wview.wide .thumb{width:min(52vw, calc(var(--media-h) * 4 / 3))}
  /* The tiles column is a fixed share of the width and its tiles divide the hero's height
     between them — so the column is the same height whatever mix of 4:3 and 16:9 it holds.
     Deriving the width from "two 4:3 plus one 16:9" broke the moment the video became the
     active slide and the tiles were three 4:3 images instead. */
  .wview.wide{--hero-h:min(39vw, var(--media-h));
    grid-template-columns:auto minmax(340px,1fr) clamp(200px,14vw,340px);
    grid-template-rows:auto minmax(0,1fr);
    grid-template-areas:"bar bar bar" "media body tiles"}
  .wview.wide .body{align-self:start;overflow:visible}
  .tiles{display:flex;flex-direction:column;gap:var(--gap);align-self:stretch;height:100%}
  .tiles .tile{flex:1 1 0;min-height:0;width:100%;height:auto;aspect-ratio:auto}
  .tiles .tile.vid{aspect-ratio:auto}
}

/* hero: verified bar — the FWA of the Day ribbon as a header strip */
.vbar{display:flex;align-items:center;gap:12px;background:#ffca00;color:#000;padding:9px 14px}
.vbar svg{height:15px;width:auto;color:#000;--logo-inner:#ffca00;flex:none}
.vbar.year{background:#367089;color:#fff}
.vbar.year svg{color:#fff;--logo-inner:#367089}
.vbar span{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spec{margin-top:10px;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#374151;line-height:1.9}
.card.hero{border-color:var(--black)}

/* hero: latest winner spans 2×2 */
.card.hero{grid-column:span 2;grid-row:span 2}
/* FWA of the Year — the award blue, #367089 (year_cert_colour's default); white on it is 5.5:1 */
.yearchip{display:inline-block;background:#367089;color:#fff;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;padding:4px 8px;border-radius:2px}
.year-line{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin-top:6px}
.year-line.win{color:#367089;font-weight:500}
.year-band{grid-column:1/-1;display:flex;align-items:center;gap:18px;background:#367089;color:#fff;border-radius:var(--radius);padding:12px 18px 12px 12px;min-width:0}
.year-band[hidden]{display:none}
.yb-thumb{flex:none;width:120px;aspect-ratio:4/3;border-radius:4px;overflow:hidden;background:#2a5a6e;border:1px solid rgba(255,255,255,.35)}
.yb-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.yb-txt{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.yb-k{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em}
.yb-title{font-size:20px;font-weight:600;letter-spacing:-.01em;color:#fff;overflow-wrap:anywhere}
.yb-title:hover{text-decoration:underline;text-underline-offset:4px}
.yb-by{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.8)}
.yb-go{flex:none;display:flex;flex-direction:column;gap:8px;align-items:flex-end;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;white-space:nowrap}
.yb-go a{color:#fff}
.yb-go a:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:720px){
  #m-winners>.year-band{margin:var(--gap) 0;gap:12px;padding:12px;text-decoration:none}
  #m-winners>.year-band:active{filter:brightness(.92)}
  #m-winners .yb-thumb{width:96px}
  #m-winners .yb-title{font-size:17px}
  #m-winners .yb-go{flex-direction:row;flex-wrap:wrap;gap:6px 16px;align-items:flex-start;width:100%}
}
/* The Loom in the hero card: in the facts zone — after the description and the FWAi verdict,
   before the foot — not under the carousel, where even inset and labelled it competed with the
   winner's image. The mono line first, then the cloth with a hairline frame; the verdict's rule
   above and the foot's rule below are the separators. Drawn, not boxed: not a second Framed strip. */
.lm-wrap{margin-top:14px}
.lm-ui{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 8px;min-height:24px}
.lm-wrap .lm-ui:empty{display:none}
.lm-band{height:32px;overflow:hidden;background:#111;cursor:pointer;border:1px solid var(--line);border-radius:3px}
.lm-band .lm-canvas{width:100%;height:100%;display:block}
.card.hero .verdict+.lm-wrap{margin-top:12px}
.card.hero .lm-wrap+.foot{margin-top:14px}
.lm-line{appearance:none;background:none;border:0;padding:4px 0;color:var(--ink);font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;text-decoration:none;text-align:left}
.lm-line:hover{text-decoration:underline;text-underline-offset:3px}
.lm-line.lm-added{color:var(--ink);cursor:default}
.lm-line.lm-added:hover{text-decoration:none}
a.lm-line.lm-added{cursor:pointer}
a.lm-line.lm-added:hover{text-decoration:underline}
.lm-pick{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:4px 0 6px;width:100%}
.lm-q{flex-basis:100%;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.lm-first{flex-basis:100%;font-family:var(--mono);font-size:11px;letter-spacing:.03em;color:var(--mute)}
.lm-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lm-sw{appearance:none;width:28px;height:28px;border-radius:4px;border:2px solid rgba(0,0,0,.12);cursor:pointer;padding:0}
.lm-sw:hover,.lm-sw:focus-visible{border-color:var(--ink);outline:2px solid var(--yellow);outline-offset:1px}
.lm-wild{position:relative;width:28px;height:28px;border-radius:4px;border:2px dashed rgba(0,0,0,.35);display:grid;place-items:center;color:var(--ink);font-family:var(--mono);font-size:16px;line-height:1;cursor:pointer;overflow:hidden}
.lm-wild input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.lm-cancel{appearance:none;background:none;border:0;color:var(--mute);font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;margin-left:auto}
.lm-cancel:hover{color:var(--ink)}
.lm-err{flex-basis:100%;font-family:var(--mono);font-size:11px;letter-spacing:.03em;color:#b91c1c}
@media (max-width:720px){
  .mrow .lm-wrap{margin:12px 14px 0}
  .mrow .lm-band{height:36px}
  .lm-sw,.lm-wild{width:44px;height:44px}   /* full tap size */
  .lm-pick{gap:10px}
}
/* FWA Framed strip — one line, full width, the thumb square and small enough never to give the
   answer away. Black like the panels; yellow only for the number. */
.framed-strip{grid-column:1/-1;display:flex;align-items:center;gap:14px;background:var(--black);color:#fff;border-radius:var(--radius);padding:10px 14px 10px 10px;text-decoration:none;min-width:0}
.framed-strip[hidden]{display:none}
.framed-strip:hover .fs-line{text-decoration:underline;text-underline-offset:3px}
/* a hairline rim keeps a dark crop from vanishing into the black strip */
.fs-thumb{flex:none;width:52px;height:52px;border-radius:4px;overflow:hidden;background:#222;border:1px solid rgba(255,255,255,.35);box-sizing:border-box}
.fs-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.fs-thumb.ph{background:repeating-linear-gradient(45deg,#1a1a1a 0 6px,#222 6px 12px)}
.fs-txt{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.fs-n{color:var(--yellow);font-weight:500}
/* overflow-wrap:anywhere would override the non-breaking spaces and drop a lone ] — off. iOS text
   autosizing inflated the mono line on phones, which is what ran it out of room — off too. */
.fs-line{color:#e5e7eb;overflow-wrap:normal}
.framed-strip{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.framed-strip[data-state="new"] .fs-line,.framed-strip[data-state="playing"] .fs-line{color:#fff}
.fs-go{flex:none;color:#9ca3af;font-size:20px;line-height:1;padding-right:2px}
/* phones: the whole strip is the tap target, so the › goes and the text gets its width */
@media (max-width:720px){#mobile .framed-strip{margin:0 0 var(--gap);gap:12px;padding:10px 12px 10px 10px}#m-winners>.framed-strip{margin:var(--gap) 0}#mobile .fs-txt{letter-spacing:.03em}#mobile .fs-go{display:none}#mobile .fs-thumb{width:46px;height:46px}}
.card.hero .thumb{aspect-ratio:4/3}
.card.hero .body{padding:24px 28px 28px}
/* The hero's type scales with the width: at 1440 it is what it was; at 2000+ the title and
   description are meaningfully larger. The image is 4:3 and can't take the room, so the text does.
   Desktop only — the hero isn't drawn under 720px. */
.card.hero .title{font-size:clamp(22px,2vw,38px);letter-spacing:-.03em}
.card.hero .spec{font-size:clamp(11px,.62vw,13px)}
/* Anchored to the foot: on a wide screen the row's slack sits between the description and the
   verdict, so the verdict reads as the card's closing line and the space as a pause before it. */
.card.hero .verdict{margin-top:auto;font-family:var(--mono);font-size:clamp(11px,.66vw,13px);letter-spacing:.03em;line-height:1.6;color:#374151;padding-top:14px;border-top:1px solid var(--line)}
.card.hero .verdict b{font-weight:500;color:var(--ink)}
.card.hero .verdict+.foot{margin-top:0}   /* the foot's own auto margin would take half the slack */
.card.hero .by{font-size:12px}
/* FWA of the Day ribbon — native PNG size, never scaled */
.ribbon{position:absolute;top:0;left:0;width:118px;height:118px;pointer-events:none;z-index:2}
.ribbon img{display:block;width:118px;height:118px}
.video-slide{background:#000}
.video-slide iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Corner play badge and the centre play on a video slide: the same translucent-circle language
   as the arrows, so a card's controls read as one family. */
.play{position:absolute;z-index:3;bottom:12px;right:12px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(0,0,0,.42);color:#fff;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;cursor:pointer;transition:background .18s}
.play:hover{background:rgba(0,0,0,.72);border-color:rgba(255,255,255,.5)}
.play svg{width:10px;height:10px;fill:#fff;margin-left:2px}
.arrow[hidden]{display:none}
.badge{position:absolute;top:16px;left:16px;background:rgba(0,0,0,.82);color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em;padding:9px 14px;border-radius:999px;display:flex;gap:8px;align-items:center;backdrop-filter:blur(6px)}
.badge svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2}
@media (max-width:560px){.card.hero{grid-column:span 1;grid-row:span 1}}

/* image slides */
.slides{position:absolute;inset:0}
.slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease}
.slide.on{pointer-events:auto}
.slide.on{opacity:1}
.slide img,.slide .ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
a.slide{display:block;cursor:pointer}
.bigplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.45);color:#fff;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:grid;place-items:center;cursor:pointer;transition:background .18s,transform .18s}
.bigplay:hover{background:rgba(0,0,0,.75);border-color:rgba(255,255,255,.6);transform:translate(-50%,-50%) scale(1.04)}
.bigplay svg{width:18px;height:18px;fill:#fff;margin-left:3px}
/* Slide arrows: small, dark, translucent circles with a thin chevron — present on hover,
   quiet enough not to compete with the work. */
.arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(0,0,0,.42);color:#fff;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;opacity:0;transition:opacity .18s,background .18s;cursor:pointer}
.arrow:hover{background:rgba(0,0,0,.72);border-color:rgba(255,255,255,.5)}
.arrow svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.arrow.prev{left:12px}.arrow.next{right:12px}
.thumb:hover .arrow,.thumb:focus-within .arrow{opacity:1}
@media (hover:none){.arrow{opacity:.85}}
.dots{position:absolute;z-index:2;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.dots i{width:6px;height:6px;border-radius:1px;background:rgba(255,255,255,.5)}
.dots i.on{background:#fff}
.card.hero .dots{bottom:18px}
.card.hero .arrow{width:36px;height:36px}
.card.hero .arrow svg{width:13px;height:13px}
.card.hero .arrow svg{width:18px;height:18px}
.card.hero .dots i{width:8px;height:8px}
@media (prefers-reduced-motion:reduce){.slide{transition:none}}

/* placeholder tiles (replace .ph with <img>) */
.ph{display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:-.03em;color:#fff;text-align:center;padding:8%;font-size:clamp(20px,3vw,56px);line-height:1;text-shadow:0 2px 20px rgba(0,0,0,.25)}
.title a:hover{text-decoration:underline;text-underline-offset:4px}
.pager button:disabled{opacity:.3;pointer-events:none}

/* ---------- sidebar ---------- */
aside{display:flex;flex-direction:column;gap:var(--gap);position:sticky;top:calc(var(--header-h) + var(--gap));max-height:calc(100vh - var(--header-h) - var(--gap)*2);align-self:start}
.panel{background:var(--black);color:#fff;border-radius:var(--radius);padding:clamp(22px,2vw,32px)}
.panel h2{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;margin-bottom:18px;color:#fff}
.panel h2::before{content:"[ "}
.panel h2::after{content:" ]"}
.panel .date{color:#a3a3a3}
.panel h3{font-size:16px;font-weight:600;letter-spacing:-.01em;margin:10px 0 8px}
.panel p{color:#c7c7c7;font-size:14px;line-height:1.55}
.panel .rule{border-top:1px solid #333;margin:20px 0 16px}
.panel .mini{display:flex;justify-content:space-between;font-size:13px;color:#a3a3a3}
.panel .mini b{color:#fff;font-weight:700;letter-spacing:.04em}
.panel h2 a:hover{text-decoration:underline;text-underline-offset:5px}
.panel.wire{flex:1;display:flex;flex-direction:column;min-height:0}
@media (max-width:1100px){.panel.wire{max-height:560px}}
.wire-list{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:#444 transparent;margin:0 -6px;padding:0 6px}
/* The thumb floats rather than sitting in its own column: in a narrow sidebar a 76px column
   left the text tall and thin with empty space under the image. Floated, the title and body
   wrap beneath it and use the width. */
.wire-item{display:block;padding:16px 0;border-top:1px solid #2a2a2a}
.wire-item::after{content:"";display:block;clear:both}
.wire-item>a>.mini{float:left;margin:2px 12px 6px 0}
.wire-item .txt{overflow-wrap:anywhere}
.ed-item .txt,.wire-item .txt{overflow-wrap:anywhere}
.wire-item:first-child{border-top:0;padding-top:0}
.wire-meta{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;margin-bottom:8px;flex-wrap:wrap}
.wire-meta .date{white-space:normal}
.wtag{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;color:#fff;white-space:nowrap}
/* overflow:hidden makes the title its own block beside the float, so a long title wraps in a
   tidy column rather than tucking its last line under the image. The body below still flows
   under the thumb and uses the full width. */
.wire-item h3{margin:0 0 6px;font-size:15px;font-weight:600;letter-spacing:-.01em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.wire-item h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.wire-item p{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wire-by{color:#a3a3a3;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-top:8px}
.wire-more{display:block;margin-top:16px;padding-top:14px;border-top:1px solid #333;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#fff}
.wire-more:hover{text-decoration:underline;text-underline-offset:4px}

.cta{display:block;width:100%;margin-top:20px;background:#fff;color:#000;border:0;border-radius:2px;padding:13px;font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.cta:hover{background:#e5e7eb}
@media (max-width:1100px){aside{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start;position:static;max-height:none}}

/* ---------- footer ---------- */
footer{background:var(--black);color:#fff;padding:clamp(40px,5vw,72px) var(--pad) 32px}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:var(--gap)}
footer h4{font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.05em;margin-bottom:16px}
footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;color:#c7c7c7;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
footer ul a::before{content:"// "}
footer ul a:hover{color:#fff}
footer .tagline{color:#a3a3a3;margin-top:14px;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
footer .social{display:flex;gap:10px}
footer .social a{width:40px;height:40px;border-radius:4px;background:#1c1c1c;display:grid;place-items:center;font-family:var(--mono);font-size:11px;font-weight:500}
footer .copy{border-top:1px solid #222;margin-top:40px;padding-top:24px;text-align:center;color:#8a8a8a;font-family:var(--mono);font-size:11px;letter-spacing:.05em}
/* FWAi keeps its lower-case i wherever the surrounding text is uppercased: wrap the i in .fwai-i.
   The footer line below needs no transform at all. */
.fwai-i{text-transform:none}
/* no text-transform: the i in FWAi stays lower case, as on the mark */
footer .fwai-line{display:block;margin-top:10px;font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:#8a8a8a;text-decoration:none}
footer .fwai-line:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media (max-width:800px){footer .cols{grid-template-columns:1fr 1fr}}
/* the header hands over to the drawer at 760 — seven items don't fit below that — while the
   page layout keeps its 720 breakpoint */
@media (max-width:760px){nav.primary{display:none}.menu-btn{display:block}}

/* ---------- mobile ---------- */
#mobile[hidden]{display:none!important}   /* the attribute alone loses to the media query's display:block */
#mobile{display:none}
@media (max-width:720px){
  .toolbar,.home-layout{display:none!important}
  #mobile{display:block;padding:0 var(--pad) 0}
  .top .row{min-height:56px;padding:6px var(--pad)}
  .logo svg{height:26px}
  .adslot{display:none}

  .msec{padding:26px 0 4px}
  .msec+.msec{border-top:1px solid var(--line)}
  .msec h2{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#374151;margin-bottom:14px}
  .msec h2::before{content:"[ "}.msec h2::after{content:" ]"}
  .mlist{display:flex;flex-direction:column;gap:14px}
  .more{display:block;width:100%;margin:18px 0 6px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:13px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);cursor:pointer}
  .more:hover{background:var(--field)}
  .more[hidden]{display:none}
  .mnote{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);padding:4px 0 10px}

  /* Each winner is a card — the same white box, hairline and 6px radius as the Framed strip and
     the judging cards — so each reads as its own thing rather than running into the next. The
     image fills the card's top edge to edge; the verified bar on the newest winner is its top strip. */
  .mrow{display:block;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding-bottom:14px}
  .mrow .thumb{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#222}
  .mrow .thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .mrow .vbar{border-radius:0}
  .mrow .title a{color:inherit}
  .mrow .date{margin:12px 14px 0}
  .mrow .title{margin:4px 14px 0}
  .mrow .by{margin:0 14px}
  .mrow .flags{margin:8px 14px 0}
  /* live judging ledger: a processing queue, not a gallery */
  .ledger{background:var(--black);color:#d1d5db;border-radius:var(--radius);padding:4px 14px;font-family:var(--mono);font-size:11.5px;letter-spacing:.03em;text-transform:uppercase}
  .lrow{display:block;color:inherit;padding:12px 0;border-bottom:1px solid #262626;text-decoration:none}
  .lrow:last-child{border-bottom:0}
  .l1{display:flex;justify-content:space-between;align-items:center;gap:8px}
  .lflag{color:#fff;font-weight:500;display:inline-flex;align-items:center;gap:6px}
  .lflag.live{color:#22c55e}
  .lflag.live i{width:6px;height:6px;border-radius:50%;background:#22c55e;animation:lblink 1.1s steps(1) infinite}
  @keyframes lblink{50%{opacity:0}}
  @media (prefers-reduced-motion:reduce){.lflag.live i{animation:none}}
  .lflag.won{color:var(--yellow)}
  .lid{color:#6b7280}
  .lname{font-family:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:none;letter-spacing:-.01em;font-size:15px;font-weight:600;color:#fff;margin:5px 0 6px;overflow-wrap:anywhere}
  .lk{color:#9ca3af;line-height:1.7}
  .lbar{color:#e5e7eb;white-space:nowrap;letter-spacing:0}
  .ledger .mnote{color:#9ca3af;padding:12px 0}
  .mwire{display:block;color:inherit;padding-bottom:14px;border-bottom:1px solid var(--line)}
  .mwire::after{content:"";display:block;clear:both}
  .mwire>.mini{float:left;margin:2px 12px 6px 0}
  .mwire .txt{display:block;overflow-wrap:anywhere}

  .mwire:last-child{border-bottom:0}
  .mwire .title{font-size:15px;margin-top:6px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}   /* same three-line ceiling as the desktop rows */
  .mwire .by{margin-top:4px}
  .mwire p{font-size:14px;line-height:1.5;color:#374151;margin-top:6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

  footer{padding:32px var(--pad) 28px}
  footer .cols{display:none}
  .mfoot{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:center;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
  .mfoot a{color:#c7c7c7}
  footer .copy{margin-top:22px;padding-top:20px}
}
@media (min-width:721px){.mfoot{display:none}}

/* drawer */
.drawer{position:fixed;inset:0;z-index:40;display:none}
.drawer[open]{display:block}
.drawer .scrim{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.drawer .sheet:focus{outline:none}
.drawer .sheet{position:absolute;top:0;right:0;bottom:0;width:min(84vw,320px);background:var(--black);color:#fff;padding:14px var(--pad) 28px;display:flex;flex-direction:column;overflow-y:auto}
.drawer nav{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.drawer nav a{font-family:var(--mono);font-size:13px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;padding:14px 0;border-bottom:1px solid #222}
.drawer nav a::before{content:"// "}
.drawer nav a{color:#9ca3af}
.drawer nav a[aria-current="page"]{color:#fff}
.drawer .cta{margin-top:8px;margin-bottom:22px}
.drawer .dad-head{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#9ca3af;margin:0 0 10px}
.drawer .dad-head[hidden]{display:none}
.drawer .dad{display:block}
.drawer .dad-head{margin-top:28px}
.drawer .dad img{display:block;width:100%;height:auto;max-width:273px;aspect-ratio:455/100;object-fit:contain;object-position:left;border-radius:2px}
.drawer .spacer{flex:1}
.mstate{display:flex;align-items:center;gap:0;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;margin-top:10px}
.mscore{font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--mute)}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- live judging indicators (shared) ---------- */
/* Canonical block — INTEGRATION.md §2. Do not edit without updating that doc.
   Both dots sit AFTER their label. Four states: live, queued, winner, closed. */
nav.primary a.live::after,
.drawer nav a.live::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c55e;margin-left:8px;vertical-align:1px;box-shadow:0 0 0 0 rgba(34,197,94,.55);animation:live 1.8s ease-out infinite}

.livedot{color:#15803d;margin-left:8px}
.livedot::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c55e;margin-left:6px;vertical-align:1px;box-shadow:0 0 0 0 rgba(34,197,94,.55);animation:live 1.8s ease-out infinite}

.queueddot{color:#a16207;margin-left:8px}
.queueddot::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#eab308;margin-left:6px;vertical-align:1px;box-shadow:0 0 0 0 rgba(234,179,8,.55);animation:live 1.8s ease-out infinite}

.wonflag{margin-left:8px;color:var(--ink)}

.closedflag{color:var(--mute);margin-left:8px}
.closedflag::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#c9ccd2;margin-left:6px;vertical-align:1px}

@keyframes live{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
@media (prefers-reduced-motion:reduce){nav.primary a.live::after,.drawer nav a.live::after,.livedot::after,.queueddot::after{animation:none}}

/* ---------- sidebar "Latest" panel (editorial + artwork) ---------- */
.panel.ed{flex:none}
/* Latest shows two rows; anything beyond scrolls inside the panel, matching the Wire.
   Height is two rows of 76px thumb + padding, so a third row shows as a cut edge — the cue that there's more. */
#ed-latest{max-height:206px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#444 transparent;margin-right:-6px;padding-right:6px}
.more.side{display:block;width:100%;margin:14px 0 4px;flex:none;padding:11px;background:none;border:1px solid #333;border-radius:4px;color:#d1d5db;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}
.more.side:hover{border-color:#fff;color:#fff}
.more.side[hidden]{display:none}
/* Same treatment as the Wire rows: the thumb floats so the by-line flows under it and uses the
   width; the kicker and title keep a clean column beside the thumb (overflow:hidden = their own
   block), so a long title wraps tidily rather than tucking its last line under the image. */
.ed-item{display:block;padding:14px 0;border-top:1px solid #2a2a2a;color:inherit}
.ed-item::after{content:"";display:block;clear:both}
.ed-item>.mini{float:left;margin:2px 12px 6px 0}
.ed-item:first-child{border-top:0;padding-top:0}
.mini{position:relative;display:block;width:76px;aspect-ratio:4/3;border-radius:4px;flex:none;overflow:hidden;background:#222}
.mini img{display:block;width:100%;height:100%;object-fit:cover}
.mini.ph{display:grid;place-items:center}
.mini svg{width:18px;height:18px;fill:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.6))}
.mini.vid:not(.ph) svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.mini.ph svg{fill:#6b7280;filter:none}
.ed-item .txt{display:block;overflow-wrap:anywhere}
.ed-item .k{display:block;overflow:hidden;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#a3a3a3}
/* three lines at most: the piece's page carries the full title; the sidebar needs enough to recognise it */
.lm-mini canvas{width:100%;height:100%;display:block;background:#111}
.ed-item h3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:6px 0 0;font-size:15px;font-weight:600;letter-spacing:-.01em;color:#fff;line-height:1.3}
.ed-item:hover h3{text-decoration:underline;text-underline-offset:4px}
.ed-item .who{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#a3a3a3;margin-top:6px}

/* ---------- shared utilities (for /submit, /judging, /s/<token>) ---------- */
.mono{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}
.mono.muted{color:var(--mute)}
.bracket::before{content:"[ "}.bracket::after{content:" ]"}
.slash::before{content:"// "}
.btn{display:inline-block;background:var(--black);color:#fff;border:0;border-radius:2px;padding:13px 20px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;text-align:center}
.btn:hover{background:#333}
.btn.light{background:#fff;color:#000;border:1px solid var(--line)}
.btn.light:hover{background:var(--field)}
.btn:disabled{opacity:.4;cursor:default}
.field{font:inherit;font-size:14px;color:var(--ink);background:#fff;border:1px solid #d1d5db;border-radius:4px;padding:10px 12px;width:100%}
.field:focus{outline:2px solid #2563eb;outline-offset:1px;border-color:#2563eb}
textarea.field{min-height:120px;resize:vertical}
.label{display:block;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:#374151;margin-bottom:6px}
.wrap{max-width:1100px;margin:0 auto;padding:var(--gap) var(--pad) clamp(40px,6vw,96px)}
.wrap.narrow{max-width:720px}
.h1{font-weight:600;font-size:clamp(22px,1.8vw,28px);letter-spacing:-.03em;line-height:1.2}
.h2{font-weight:600;font-size:clamp(16px,1vw,19px);letter-spacing:-.02em;line-height:1.25}
.prose{font-size:15px;line-height:1.55;color:#374151;max-width:66ch}
.fwai-score{font-family:var(--mono);font-weight:500;font-size:clamp(28px,3vw,44px);letter-spacing:-.02em}
