/* emyugaming.com: the studio's page, MultiVerse Tactics' guide (site/hub.js) and the public guides (tools/site-guides.mjs).
   The look is the game's home hub (index.html #startOv, src/ui/start.css and src/ui/hub.css; the owner's revamp of
   2026-10-18): Overwatch's clarity with the anime's art. Dark navy panels on hairlines, chamfered cards (clip-path
   corners), slanted buttons and tags, orange for the one thing to do (Play), the display face italic and upper case for
   headings (Saira Semi Condensed), Barlow for text. One dark theme; a narrower block at 1100 px and a phone block at
   760 px (16 px gutters, no sideways scroll). */
:root {
  --bg: #070b18; --bg2: #0a1022; --panel: #0e1533; --panel2: #10172e; --card: #121a3a; --card2: #172150;
  --line: #2a3766; --line2: #3b4b86; --hair: #ffffff10;
  --fg: #eef1ff; --text: #c8cff2; --dim: #9aa6d6; --dim2: #6f7ba8;
  --acc: #ff9f1c; --acc2: #ffb547; --ink: #160c00;
  --gold: #ffc94a; --ki: #3fd6ff; --link: #8fd8ff; --foe: #ff6a5a; --good: #5ee08a; --vf: #ff4655; --dc: #5865f2;
  --cut: 14px; --cut-sm: 8px; --slant: 12px;
  --display: "Saira Semi Condensed", "Arial Narrow", system-ui, sans-serif; --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --navH: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navH) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ki); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .005em; }
em { font-style: inherit; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 48px); }
.dim { color: var(--dim); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--acc); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.eyebrow { margin: 0 0 10px; font: 800 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--acc2); }
.empty { color: var(--dim); padding: 24px 0; }
/* the shapes: a chamfered card (two corners cut), a slanted button or tag */
.cham { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* ── buttons: Play's slanted orange; the rest slanted navy ── */
.btn { --s: var(--slant); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 calc(22px + var(--s)); border: 0; border-radius: 0;
  font: 800 1.02rem/1 var(--display); font-style: italic; letter-spacing: .03em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap;
  clip-path: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%); transition: filter .15s, background .15s, color .15s, transform .15s; }
.btn:focus-visible { outline-offset: -4px; outline-color: #fff; }
.btn.sm { --s: 10px; min-height: 38px; padding: 0 calc(14px + var(--s)); font-size: .9rem; }
.btn.lg { min-height: 54px; font-size: 1.18rem; padding: 0 calc(26px + var(--s)); }
.btn.primary { background: var(--acc); color: var(--ink); box-shadow: 0 6px 24px #ff9f1c4d; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: #1a2346; color: #dfe4ff; }
.btn.ghost:hover { background: #243063; color: #fff; }
.btn.vfBtn { background: var(--vf); color: #fff; }
.btn.vfBtn:hover { filter: brightness(1.08); }
.btn.discord { margin-top: 28px; background: var(--dc); color: #fff; }
.btn.discord:hover { filter: brightness(1.1); }
.dcIc { width: 1.15em; height: 1.15em; flex: none; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ── the top notice (notice.js): one slim line over the header, the Next update card's title and a link to the Updates tab ── */
.notice { position: relative; z-index: 31; background: linear-gradient(90deg, #2a1806, #0e1533 45%, #0e1533 70%, #2a1806); border-bottom: 1px solid #ff9f1c55; font-size: .92rem; }
.notice[hidden] { display: none; }
.noticeIn { display: flex; align-items: center; gap: 14px; max-width: 1440px; margin: 0 auto; padding: 7px 56px 7px clamp(16px, 3vw, 48px); min-height: 42px; }
.noticeTag { flex: none; padding: 4px 18px; background: var(--acc); color: var(--ink); font: 800 .78rem/1.2 var(--display); font-style: italic; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); animation: noticePulse 2.4s ease-in-out infinite; }
@keyframes noticePulse { 50% { filter: brightness(1.18); } }
.noticeText { flex: 1 1 auto; min-width: 0; color: var(--fg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.noticeLink { flex: none; color: var(--acc2); font-weight: 700; white-space: nowrap; }
.noticeLink:hover { color: #ffd9a0; }
.noticeX { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: #0e1533; color: var(--dim); font-size: .95rem; line-height: 1; }
.noticeX:hover { color: #fff; background: #243063; }

/* ── the bar on top ── */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; min-height: var(--navH); padding: 8px clamp(16px, 3vw, 48px);
  background: linear-gradient(180deg, #070b18f2, #090e1ee0); border-bottom: 1px solid #2a3560; box-shadow: 0 6px 24px #0008; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none !important; }
.brandMark { display: grid; place-items: center; width: 40px; height: 40px; font: 800 1rem/1 var(--display); font-style: italic; color: var(--ink); background: var(--acc);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.brandName { font: 800 1.3rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
.brandName b { font-weight: inherit; color: var(--acc2); }
.navLinks { display: flex; gap: 2px; margin-left: auto; }
.navLinks a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; color: #c9d4e6; font: 800 .85rem/1 var(--display); font-style: italic; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; }
.navLinks a:hover { color: #fff; border-bottom-color: var(--acc); }
.navLinks .discordLink { color: #9aa5ff; }
.navLinks .discordLink:hover { color: #d6daff; border-bottom-color: var(--dc); }

/* ── arrival: the mission over the featured game's art ── */
/* the key art the hero's whole width (the owner, 2026-10-18: "a lot bigger… characters on the left and right, no open space"):
   the fighters stand at both sides, the title and Play centred in the lower middle over a soft shade */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; min-height: clamp(600px, calc(100vh - var(--navH) - 110px), 900px); padding: 0 0 80px; background: var(--bg); }
.heroFeature { position: absolute; inset: 0; margin: 0; z-index: -1; }
.heroPoster { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }   /* anchored at the top: the painted title is never cut; a short window crops the sea under the shade */
.heroFeature::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 50% 74%, #070b18e6 0%, #070b18a6 45%, transparent 100%), linear-gradient(0deg, #070b18 0%, #070b18cc 14%, transparent 46%), linear-gradient(180deg, #070b1899 0%, transparent 14%); }
.heroFeature figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* kept for its microdata; the art and the title say it */
.featureKicker { display: block; }
.heroFeature strong, .heroFeature figcaption span[itemprop] { display: block; }
.heroIn { position: relative; }
.heroCopy { max-width: 780px; margin: 0 auto; text-align: center; }
@media (min-width: 761px) { .heroCopy > .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }   /* over the art the painted logo names the game; the line stays for readers and the phone */
.hero h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: .92; letter-spacing: -.005em; text-shadow: 0 4px 28px #000, 0 2px 6px #000c; }
.hero h1 em { color: var(--acc); }
.lede { max-width: 58ch; margin: 18px auto 0; text-shadow: 0 2px 10px #000; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--text); }
.heroCtas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; justify-content: center; }
.jump { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; }
.jumpLbl { margin-right: 4px; font: 800 .74rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.jump a { padding: 7px 16px; background: #10172ecc; border: 0; color: #dfe4ff; font: 700 .86rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, color .15s; }
.jump a:hover { background: var(--acc); color: var(--ink); }
.heroFacts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 18px 0 0; color: #b6c0e2; font-size: .85rem; }
.heroFacts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; background: var(--acc); transform: skewX(-18deg); }

/* ── sections ── */
.secHead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.secHead h2, .secHead h3 { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.secHead h2 em, .secHead h3 em { color: var(--acc2); }
.secHead p { margin: 0; color: var(--dim); font-size: .92rem; }
.subH { font: 800 .82rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 26px 0 12px; }
.subH.sm { margin: 18px 0 8px; }
.subH:first-child { margin-top: 0; }
.secHead .subH { margin: 0; font-size: .95rem; color: var(--fg); }
.note { color: var(--dim); font-size: .92rem; margin: 0 0 18px; max-width: 86ch; }
.note b { color: var(--fg); }
.note.count { margin: -6px 0 14px; font-size: .85rem; }
.coin { display: inline-block; width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc94a 45%, #c98a12); box-shadow: inset 0 0 0 1px #8a5a0866; vertical-align: -.08em; margin-right: 6px; }

/* ── the games: two tabs and what's coming ── */
.games { position: relative; z-index: 2; margin-top: -64px; }
.gameRow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .82fr); gap: 16px; align-items: stretch; }
.gameCards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gameCard { --acc-c: var(--acc); position: relative; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); text-align: left; padding: 0; min-height: 188px; border: 0; background: var(--panel2); color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: box-shadow .15s, background .15s; }
.gameCard.vf { --acc-c: var(--vf); }
.gameCard::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }   /* the frame over the art */
.gameCard:hover { background: #131c3a; }
.gameCard:hover::before { box-shadow: inset 0 0 0 1px #5a6aa8; }
.gameCard.on::before { box-shadow: inset 0 0 0 3px var(--acc-c); }
.gameCard.on { background: linear-gradient(120deg, color-mix(in srgb, var(--acc-c) 16%, transparent), var(--panel2) 60%); }
.gameCard:focus-visible { outline-offset: -6px; outline-color: #fff; }
.gameCard.on::after { content: "Selected"; position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 16px; background: var(--acc-c); color: var(--ink); font: 800 .74rem/1.2 var(--display); font-style: italic; letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.gameCard.vf.on::after { color: #fff; }
.gcArt { position: relative; display: block; overflow: hidden; background: #0d1122; }
.gcArt img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: transform .5s; }
.gcArt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--panel2)); }
.gameCard.on .gcArt::after { background: linear-gradient(90deg, transparent 55%, #1b1d2e); }
.gcArt .gcLogo { position: absolute; z-index: 1; left: 8%; bottom: 8%; width: 74%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px #000c); }
.gameCard:hover .gcArt > img:first-child { transform: scale(1.05); }
.vfArt { display: flex; align-items: center; justify-content: center; gap: 0; padding: 10px 4%; background: radial-gradient(80% 120% at 50% 100%, #ff465540, transparent 70%), linear-gradient(135deg, #1a0d18, #0d1a22); }
.vfArt img { width: 44%; height: auto; margin: 0 -6%; object-fit: contain; filter: drop-shadow(0 10px 18px #0009); }
.vfArt img:nth-child(2) { position: relative; z-index: 1; width: 52%; transform: translateY(-6%); }
.gameCard:hover .vfArt img:first-child { transform: none; }
.gcBody { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 18px 14px; min-width: 0; }
.gcKicker { font: 700 .72rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.gcTitle { font: 800 clamp(1.45rem, 2vw, 1.9rem)/1 var(--display); font-style: italic; text-transform: uppercase; }
.gcText { color: var(--text); font-size: .9rem; line-height: 1.45; }
.gcFoot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.gcStats { color: var(--dim); font-size: .84rem; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px 4px 12px; background: #5ee08a1f; color: var(--good); font: 800 .74rem/1.2 var(--display); font-style: italic; letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .35; } }
.gameSoon { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px; background: repeating-linear-gradient(135deg, #0e1533 0 14px, #0c1230 14px 28px); box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.soonTag { padding: 4px 16px; background: #243063; color: var(--acc2); font: 800 .72rem/1.2 var(--display); font-style: italic; letter-spacing: .08em; text-transform: uppercase; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.gameSoon h3 { font: 800 1.35rem/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.gameSoon p { margin: 0; color: var(--text); font-size: .9rem; line-height: 1.45; }
.soonLink { margin-top: auto; color: var(--acc2); font: 800 .9rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; }

/* ── a game's panel ── */
.gamePanel { margin-top: 36px; padding: 0 0 8px; animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.panelHead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px; align-items: stretch; margin-bottom: 18px; padding: 26px 28px; background: linear-gradient(120deg, #121b40, #0b1129 70%); box-shadow: inset 0 0 0 1px var(--line);
  border-top: 3px solid var(--acc); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.vfPanel .panelHead { border-top-color: var(--vf); grid-template-columns: 1fr; }
.phMain { min-width: 0; display: flex; flex-direction: column; }
.panelHead h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: .95; }
.panelLede { max-width: 64ch; margin: 10px 0 0; color: var(--text); }
.panelCtas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.vfEyebrow { color: var(--vf); }
.comingNext { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.comingNext .eyebrow { margin-bottom: 4px; }
.cnItem { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #0a1022; color: var(--fg); text-align: left; border: 0; text-decoration: none !important;
  box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm)); transition: box-shadow .15s, background .15s; }
.cnItem:hover { box-shadow: inset 0 0 0 1px var(--acc); background: linear-gradient(120deg, #ff9f1c1f, #0a1022); }
.cnTxt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.cnItem b { font-weight: 600; font-size: .93rem; line-height: 1.3; }
.cnItem small { color: var(--dim); font-size: .8rem; line-height: 1.35; }
.cnItem img { flex: none; width: 52px; height: 52px; object-fit: cover; object-position: 50% 15%; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.cnTag { padding: 3px 12px; background: var(--acc); color: var(--ink); font: 800 .68rem/1.2 var(--display); font-style: italic; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.cnTag.soon { background: #6a3cff; color: #fff; }
.cnGo { color: var(--acc2); font-weight: 700; }
.cnSoon { display: flex; flex-direction: column; gap: 8px; }

/* the guide's tabs: slanted, the open one orange; they stay under the header while the section scrolls */
.tabs { position: sticky; top: var(--navH); z-index: 20; display: flex; gap: 6px; margin: 0 0 20px; padding: 10px 0; background: linear-gradient(180deg, var(--bg) 80%, #070b1800); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; padding: 0 22px; background: #141d3d; color: #c8cff2;
  font: 800 .95rem/1 var(--display); font-style: italic; letter-spacing: .04em; text-transform: uppercase; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .15s, color .15s; }
.tab:hover { background: #1f2a55; color: #fff; }
.tab.on { background: var(--acc); color: var(--ink); }
.tab:focus-visible { outline-offset: -4px; outline-color: #fff; }
.tabN { font: 700 .78rem/1 var(--body); font-style: normal; padding: 3px 7px; background: #0a102299; color: var(--dim); }
.tabN:empty { display: none; }
.tab.on .tabN { background: #160c0026; color: var(--ink); }
.tabBody { animation: rise .25s ease-out; scroll-margin-top: calc(var(--navH) + 74px); }   /* under the header and the stuck tabs */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { flex: 1 1 240px; position: relative; }
.search input, .select select, .fb input, .fb select, .fb textarea { width: 100%; min-height: 44px; background: #080e1d; border: 1px solid #344976; border-radius: 0; padding: 10px 14px; outline: none; transition: border-color .15s; }
.search input { padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa6d6' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px 50%; }
.search input:focus, .select select:focus, .fb input:focus, .fb select:focus, .fb textarea:focus { border-color: var(--ki); }
.select select { min-width: 200px; appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa6d6' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.seg { display: inline-flex; gap: 4px; }
.seg button { min-height: 40px; border: 0; padding: 0 16px; background: #141d3d; color: #c8cff2; font: 800 .88rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .15s, color .15s; }
.seg button:hover { background: #1f2a55; color: #fff; }
.seg button.on { background: var(--acc); color: var(--ink); }
.seg button:focus-visible { outline-offset: -4px; outline-color: #fff; }

/* the tier letters */
.tier, .chTier, .rgT { display: inline-grid; place-items: center; width: 28px; height: 26px; font: 800 .95rem/1 var(--display); font-style: italic; color: var(--ink); flex: none; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.tS { background: linear-gradient(135deg, #ff8a7a, #ff4a4a); color: #fff; }
.tA { background: linear-gradient(135deg, #ffc46a, #ff9a1a); }
.tB { background: linear-gradient(135deg, #ffe58a, #ffc94a); }
.tC { background: linear-gradient(135deg, #8af0b0, #3fc77a); }
.tD { background: linear-gradient(135deg, #a8e2ff, #5ab2e8); }
.tNone { background: #ffffff1a; color: var(--dim); }

/* ── champions ── */
.costGroup { margin-bottom: 28px; }
.costH { display: flex; align-items: center; gap: 6px; font: 800 1.15rem/1 var(--display); font-style: italic; text-transform: uppercase; color: var(--c); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.costH .coin { margin-right: 2px; }
.champGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.champ { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 0 12px; text-align: left; border: 0; background: var(--panel2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: box-shadow .15s, transform .15s; }
.champ::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.champ:hover { transform: translateY(-2px); }
.champ:hover::after { box-shadow: inset 0 0 0 2px var(--c); }
.champ:focus-visible { outline-offset: -4px; }
.chPic { position: relative; display: block; aspect-ratio: 5 / 6; background: radial-gradient(90% 70% at 50% 30%, color-mix(in srgb, var(--c) 35%, transparent), #0d1122); border-bottom: 3px solid var(--c); overflow: hidden; }
.chPic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s; }   /* the portraits carry their label at the foot: the frame stops above it */
.champ:hover .chPic img { transform: scale(1.05); }
.noPic .chPic::after, .chPic:empty::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 2rem var(--display); color: #ffffff30; }
.chCost { position: absolute; left: 0; top: 8px; display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 10px 0 8px; font: 800 .82rem/1 var(--display); font-style: italic; background: var(--c); color: #0b0e1a; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.chTier { position: absolute; right: 6px; top: 8px; width: 26px; height: 22px; font-size: .78rem; }
.chName { padding: 0 10px; font-weight: 700; font-size: .94rem; line-height: 1.2; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chTraits { display: flex; gap: 3px; padding: 0 10px; flex-wrap: wrap; }
.chT .tIco { width: 20px; height: 20px; }
.tIco { width: 22px; height: 22px; object-fit: contain; flex: none; }
.tEmoji { display: inline-grid; place-items: center; font-size: .8rem; background: #ffffff10; }
.chStats { display: flex; gap: 10px; padding: 0 10px; font-size: .8rem; color: var(--dim); font-variant-numeric: tabular-nums; }

/* ── the tier list ── */
.tierRows { display: flex; flex-direction: column; gap: 10px; }
.tierRow { display: grid; grid-template-columns: 84px 1fr; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.tierLetter { display: grid; place-items: center; font: 800 2.3rem/1 var(--display); font-style: italic; color: #0b0e1a; background: var(--t); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 12px; }
.tierRow.word .tierLetter { font-size: 1.05rem; color: var(--fg); text-transform: uppercase; }   /* the rows named by a word: New (unrated), Soon (previews) */
.tierChamps { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
.tierChamp { display: flex; flex-direction: column; align-items: center; width: 88px; gap: 3px; padding: 4px 0 6px; border: 0; background: transparent; color: var(--fg); transition: background .15s; }
.tierChamp:hover { background: #1a2346; }
.tierChamp:focus-visible { outline-offset: -2px; }
.tcPic { width: 66px; height: 66px; overflow: hidden; background: #0d1122; box-shadow: inset 0 0 0 2px var(--c); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.tcPic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; padding: 2px; }
.tcName { font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.15; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcNum { font-size: .72rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.tcNum i { font-style: normal; color: var(--fg); }

/* ── items ── */
.itemLayout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.iIco { width: 40px; height: 40px; object-fit: cover; flex: none; }
.iIco.sm { width: 28px; height: 28px; }
.iIco.xs { width: 20px; height: 20px; }
.iEmoji { display: inline-grid; place-items: center; background: #ffffff10; font-size: 1.2rem; }
.compRow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.compBtn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 0; background: var(--panel2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; font-weight: 700; text-align: center; line-height: 1.15;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: box-shadow .15s, background .15s; }
.compBtn em { font-style: normal; font-weight: 400; color: var(--dim); font-size: .7rem; }
.compBtn:hover { box-shadow: inset 0 0 0 1px #5a6aa8; background: #131c3a; }
.compBtn.sel { box-shadow: inset 0 0 0 2px var(--acc); }
.recipeGrid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; max-width: 640px; }
.rgCorner, .rgHead, .rgCell { aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.rgHead { background: #ffffff06; }
.rgHead .iIco { width: 70%; height: 70%; }
.rgCell { border: 0; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); padding: 0; transition: transform .12s, box-shadow .12s; }
.rgCell .iIco { width: 80%; height: 80%; }
.rgCell.diag { background: #ff9f1c12; }
.rgCell:hover { transform: scale(1.08); box-shadow: inset 0 0 0 1px #5a6aa8; z-index: 1; }
.rgCell.lit { box-shadow: inset 0 0 0 2px #ff9f1c88; }
.rgCell.sel { box-shadow: inset 0 0 0 3px var(--acc), 0 6px 18px -6px var(--acc); z-index: 2; }
.rgCell.empty { background: transparent; box-shadow: none; }
.rgT { position: absolute; right: -3px; top: -3px; width: 20px; height: 17px; font-size: .62rem; }
.itemDetail { position: sticky; top: calc(var(--navH) + 76px); padding: 20px; background: linear-gradient(180deg, #121b40, #0b1129); box-shadow: inset 0 0 0 1px var(--line2); border-top: 3px solid var(--acc); min-height: 240px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.idHead { display: flex; align-items: center; gap: 14px; }
.idHead > div { flex: 1; }
.idHead .eyebrow { margin-bottom: 6px; }
.idHead h3 { font: 800 1.45rem/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.idIco { width: 64px; height: 64px; }
.idFrom { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.idComp { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: #0a102299; box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; font-weight: 600; }
.idComp .iIco { width: 26px; height: 26px; }
.plus { color: var(--dim); font-weight: 700; }
.idText { margin: 14px 0 0; color: var(--text); }
.idLift { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: .82rem; color: var(--dim); }
.idLift b { color: var(--fg); font-variant-numeric: tabular-nums; }
.idLift .avg { flex-basis: 100%; }
.idLift .avg b { color: var(--acc2); }
.idBuilds { display: flex; flex-direction: column; gap: 6px; max-height: 280px; overflow: auto; }
.idBuild { display: flex; align-items: center; gap: 8px; padding: 5px; border: 0; background: #0a102299; color: var(--fg); text-align: left; font-size: .86rem; box-shadow: inset 0 0 0 1px transparent; }
.idBuild:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.idBuild .iIco { width: 32px; height: 32px; }
.listH { font: 800 1.15rem/1 var(--display); font-style: italic; text-transform: uppercase; margin: 8px 0 12px; }
.itemCols { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; margin-bottom: 26px; }
.itemRow { display: flex; gap: 12px; align-items: flex-start; padding: 12px; text-align: left; border: 0; background: var(--panel2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); transition: box-shadow .15s; }
.itemRow:hover { box-shadow: inset 0 0 0 1px var(--acc); }
.itemRow > .iIco { width: 46px; height: 46px; }
.irMain { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.irMain b { font-weight: 700; }
.irFrom { display: flex; gap: 3px; }
.irText { font-size: .85rem; color: var(--dim); }
.irSide { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.irLift { font-size: .72rem; color: var(--dim); font-variant-numeric: tabular-nums; }

/* ── augments ── */
.augCols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.augCols.one { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.augCols.one .augCol { display: contents; }
.augCols.one .augH { grid-column: 1 / -1; }
.augH { display: flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--display); font-style: italic; text-transform: uppercase; color: var(--a); padding: 12px 16px; margin-bottom: 10px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--a) 18%, transparent), transparent); border-left: 3px solid var(--a); }
.augGem { width: 14px; height: 14px; transform: rotate(45deg); background: linear-gradient(135deg, #fff, var(--a)); box-shadow: 0 0 12px var(--a); }
.augCol[style*="e8a0ff"] .augGem { background: conic-gradient(from 0deg, #ff9ad6, #9ae8ff, #b9ff9a, #ffe79a, #ff9ad6); }
.aug { display: flex; gap: 12px; padding: 14px; margin-bottom: 10px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--a);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.augCols.one .aug { margin-bottom: 0; }
.augIco .augImg { width: 100%; height: 100%; object-fit: contain; }
.augIco { font-size: 1.5rem; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; background: #0a1022; flex: none; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.augMain { flex: 1; min-width: 0; }
.aug h4 { font-size: 1rem; font-weight: 700; }
.aug p { margin: 4px 0 0; font-size: .86rem; color: var(--text); }
.aug .augMeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; font-size: .76rem; color: var(--dim); }
.augMeta b { color: var(--fg); }
.bar { flex: 1 1 60px; height: 4px; background: #ffffff12; position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--a), #fff); }

/* ── traits ── */
.traitGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; margin-bottom: 8px; }
.trait { padding: 16px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.trHead { display: flex; gap: 12px; align-items: center; }
.trIco { width: 44px; height: 44px; }
.trIco.tEmoji { font-size: 1.4rem; }
.trHead h4 { font: 800 1.15rem/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.trBp { display: flex; gap: 4px; margin: 6px 0 0; }
.trBp span { min-width: 26px; height: 22px; padding: 0 8px; display: grid; place-items: center; font: 800 .78rem/1 var(--display); font-style: italic; background: #0a1022; color: var(--acc2); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.trText { margin: 0; font-size: .88rem; color: var(--text); }
.trMembers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.trMember { width: 42px; height: 42px; padding: 0; overflow: hidden; border: 0; background: #0d1122; box-shadow: inset 0 0 0 2px var(--c); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); transition: transform .12s; }
.trMember:hover { transform: translateY(-2px); }
.trMember img { width: 100%; height: 100%; object-fit: cover; object-position: center top; padding: 2px; }

/* ── Updates: a timeline, one card a release, newest first; the release list beside it ── */
.upLayout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.upNav { position: sticky; top: calc(var(--navH) + 80px); display: flex; flex-direction: column; gap: 2px; }
.upNav:empty { display: none; }
.upNav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--dim); font: 700 .86rem/1.2 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-left: 2px solid var(--line); }
.upNav a:hover { color: #fff; border-left-color: var(--acc); background: #ffffff06; }
.upNav a.next { color: var(--acc2); }
.updates { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 86ch; padding-left: 28px; }
.updates::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--acc), var(--line) 22%); }
.update { position: relative; padding: 18px 22px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--navH) + 80px); }   /* square: its timeline mark sits outside it */
.update::before { content: ""; position: absolute; left: -27px; top: 22px; width: 14px; height: 14px; background: var(--line2); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--bg); }
.upDate { margin: 0 0 6px; font: 800 .8rem/1 var(--display); font-style: italic; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.update h3 { margin: 0 0 10px; font: 800 1.4rem/1.1 var(--display); font-style: italic; text-transform: uppercase; color: var(--fg); }
.update ul { margin: 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 6px; }
.update li { color: var(--text); line-height: 1.5; }
.update li b { color: var(--fg); }
.update li::marker { color: var(--acc); }
.update .subH { display: inline-block; margin: 16px 0 8px; padding: 4px 14px; background: #1a2346; color: #dfe4ff; font-size: .74rem; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.update h3 + .subH { margin-top: 2px; }
.update:is(.next,.new) { background: linear-gradient(120deg, #ff9f1c1c, var(--panel2) 55%); box-shadow: inset 0 0 0 1px #ff9f1c88; }   /* the upcoming release, undated (the owner dates it at release), and the release just out (.new) */
.update:is(.next,.new)::before { background: var(--acc); box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--acc); }
.update:is(.next,.new) .upDate { display: inline-block; padding: 4px 16px; background: var(--acc); color: var(--ink); letter-spacing: .08em; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* ── a champion's card ── */
.champDlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 0; background: linear-gradient(180deg, #0e1533, #090e22); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); overflow: auto;
  border-top: 3px solid var(--c, var(--acc)); }
.champDlg::backdrop { background: #050812d6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.champDlg[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlgIn { display: grid; grid-template-columns: 320px 1fr; position: relative; }
.dlgX { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 0; background: #141d3d; color: #c8cff2; font-size: 1rem; }
.dlgX:hover { background: #243063; color: #fff; }
.dlgArt { position: relative; min-height: 100%; background: radial-gradient(90% 60% at 50% 35%, color-mix(in srgb, var(--c) 40%, transparent), #070b18); border-right: 1px solid var(--line); overflow: hidden; }
.dlgArt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dlgArt.portrait { overflow: clip; }
.dlgArt.portrait img { position: sticky; top: 0; height: auto; max-height: calc(100vh - 48px); object-fit: contain; }
.dlgCost { position: absolute; left: 0; top: 14px; display: inline-flex; align-items: center; padding: 6px 16px 6px 12px; background: var(--c); color: #0b0e1a; font: 800 1rem/1 var(--display); font-style: italic; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.dlgBody { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dlgBody .eyebrow { margin: 0; color: var(--c); filter: brightness(1.3); }
.dlgBody h3 { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1 var(--display); font-style: italic; text-transform: uppercase; padding-right: 44px; }
.dlgStars { align-self: flex-start; }
.dlgTraits { display: flex; flex-wrap: wrap; gap: 6px; }
.traitChip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; background: #0a102299; box-shadow: inset 0 0 0 1px var(--line); font-size: .84rem; font-weight: 600; }
.statTbl { border-collapse: collapse; font-variant-numeric: tabular-nums; width: 100%; max-width: 400px; }
.statTbl th, .statTbl td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--hair); }
.statTbl th:first-child { text-align: left; color: var(--dim); font-weight: 500; }
.statTbl thead th { color: var(--dim); font: 800 .82rem/1 var(--display); font-style: italic; }
.statTbl td.on { color: var(--acc2); font-weight: 700; background: #ff9f1c14; }
.statGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.statGrid div { padding: 8px 12px; background: #0a102299; box-shadow: inset 0 0 0 1px var(--hair); }
.statGrid dt { font: 700 .72rem/1.2 var(--display); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.statGrid dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.statGrid small { color: var(--dim); font-weight: 400; }
.dlgMeta { margin: 0; font-size: .88rem; color: var(--dim); }
.dlgMeta b { color: var(--fg); }
.abil { display: flex; flex-direction: column; gap: 10px; }
.ab { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.ab.noPic { grid-template-columns: 1fr; }
.abImg { width: 72px; height: 100px; object-fit: cover; }
.abIcon { height: auto; aspect-ratio: 1; }
.abMove { margin-top: 10px; }
.abMove summary { cursor: pointer; color: var(--acc2); font-size: .82rem; }
.abMove img { display: block; width: 100%; height: auto; margin-top: 8px; }
.abKind { margin: 0; font: 800 .74rem/1.2 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .1em; color: var(--acc2); }
.ab h4 { margin: 3px 0 4px; font-size: 1.02rem; }
.ab p:last-child { margin: 0; font-size: .88rem; color: var(--text); }

/* ── How to play: the steps, the Captains, the field guides, the questions ── */
.playGuide:not([hidden]) { display: grid; gap: 28px; }
.playGuide .secHead { margin-bottom: 0; }
.playGuide .panelLede { max-width: 86ch; }
.playGuide .subH { margin-top: 0; }
.playGuide .panelCtas { margin-top: 0; }
.gameSteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gameSteps.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gameStep { position: relative; padding: 20px 22px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.gameStep h3, .gameStep h4 { font: 800 1.3rem/1.05 var(--display); font-style: italic; text-transform: uppercase; margin: 10px 0 8px; }
.gameStep p { margin: 0; color: var(--text); font-size: .93rem; }
.stepNum { display: inline-block; padding: 4px 14px; background: #ff9f1c22; color: var(--acc2); font: 800 .78rem/1.2 var(--display); font-style: italic; letter-spacing: .1em; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
#panel-vf .stepNum { background: #ff465522; color: var(--vf); }
.capBlock[hidden] { display: none; }
.capRow { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.capCard { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #0e1530; color: var(--fg); text-decoration: none !important; box-shadow: inset 0 0 0 2px #22305c;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.capCard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: saturate(.85) brightness(.85); transition: transform .35s, filter .35s; }
.capCard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #070b18f2 0%, #070b1826 52%, transparent 70%); box-shadow: inset 0 0 0 2px var(--aura, #22305c); opacity: .9; }
.capCard:hover img { transform: scale(1.06); filter: none; }
.capCard:hover::after { box-shadow: inset 0 0 0 3px var(--acc); }
.capTx { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 9px; display: flex; flex-direction: column; gap: 2px; }
.capTx b { font: 800 1.02rem/.95 var(--display); font-style: italic; text-transform: uppercase; text-shadow: 0 1px 6px #000; }
.capTx small { font-size: .72rem; color: var(--text); line-height: 1.25; }
.editorialGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.editorialCard { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; color: var(--fg); background: linear-gradient(145deg, #141d40, #0b1129); box-shadow: inset 0 0 0 1px var(--line); border-top: 3px solid var(--acc); text-decoration: none !important;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transition: box-shadow .15s, background .15s; }
.editorialCard:hover { box-shadow: inset 0 0 0 1px var(--acc); background: linear-gradient(145deg, #1b2550, #0d1430); }
.editorialCard h3, .editorialCard h4 { font: 800 1.7rem/1.02 var(--display); font-style: italic; text-transform: uppercase; }
.editorialCard p { color: var(--text); font-size: .94rem; line-height: 1.6; }
.editorialLink { color: var(--acc2); font: 800 .88rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; margin-top: auto; padding-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; flex: none; background: #1a2346; color: var(--acc2); font: 800 1rem/1 var(--display); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.faq details[open] summary::before { content: "−"; background: var(--acc); color: var(--ink); }
.faq details p { max-width: 85ch; margin: 10px 0 0 38px; color: var(--text); }
.vfGallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.vfGallery figure { margin: 0; padding: 10px 10px 12px; text-align: center; background: radial-gradient(70% 70% at 50% 40%, #ff465522, #10172e); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.vfGallery img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .2s; }
.vfGallery figure:hover img { transform: translateY(-4px) rotate(-2deg); }
.vfGallery figcaption { margin-top: 6px; font: 800 .9rem/1 var(--display); font-style: italic; text-transform: uppercase; color: #dfe4ff; }

/* ── build with us ── */
.build { margin-top: 72px; padding: 72px 0; background: radial-gradient(60% 80% at 90% 10%, #ff9f1c18, transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); }
.buildIn { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.build h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: .95; }
.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.pillars li { padding-left: 18px; border-left: 3px solid var(--acc); color: var(--text); }
.pillars b { color: var(--fg); display: block; font: 800 1.05rem/1.2 var(--display); font-style: italic; text-transform: uppercase; }
.fb { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: linear-gradient(180deg, #0e1533, #090e22); box-shadow: inset 0 0 0 1px var(--line); border-top: 3px solid var(--acc);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.fb label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--text); }
.fb textarea { resize: vertical; min-height: 120px; }
.fb select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa6d6' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.fbRow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fb .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fbFoot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fbStatus { margin: 0; font-size: .9rem; color: var(--dim); }
.fbStatus[data-kind="good"] { color: var(--good); }
.fbStatus[data-kind="bad"] { color: var(--foe); }

/* ── the foot ── */
.foot { padding: 34px 0 44px; border-top: 1px solid var(--line); background: #060914; }
.footIn { display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footNav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-right: auto; }
.footNav a { color: var(--dim); font: 700 .86rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .05em; }
.footNav a:hover { color: #fff; }
.foot p { margin: 0; max-width: 110ch; font-size: .8rem; color: #aeb8d4; }
.fanNotice { flex-basis: 100%; padding-top: 18px; border-top: 1px solid var(--hair); }
.fanNotice p + p { margin-top: 8px; }
.footLink { display: inline-flex; align-items: center; gap: 8px; color: #9aa5ff; font-weight: 700; text-decoration: none; }
.footLink:hover { color: #d6daff; text-decoration: underline; }
.brand.small .brandMark { width: 30px; height: 30px; font-size: .78rem; }
.brand.small .brandName { font-size: 1rem; }

/* ── the public guides (tools/site-guides.mjs): the hub's header, an art-backed title, the contents beside the text ── */
.guidePage { background: var(--bg); }
.guideHero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(70% 120% at 0% 30%, #12204a, transparent 60%), var(--bg); }
.guideHero::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 62%; z-index: -1; background: url("/assets/ui/intro-background.webp") 60% 30% / cover no-repeat; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.guideHero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070b18 30%, #070b18b3 60%, #070b1866); }
.guideTabs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 22px; }
.guideTabs a { padding: 8px 18px; background: #141d3dcc; color: #c8cff2; font: 800 .82rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.guideTabs a:hover { background: #243063; color: #fff; }
.guideTabs a[aria-current="page"] { background: var(--acc); color: var(--ink); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 0; color: var(--dim); font-size: .85rem; }
.breadcrumbs a { color: var(--dim); }
.breadcrumbs a:hover { color: #fff; }
.articleHead { max-width: 900px; padding: 26px 0 48px; }
.articleHead h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .95; text-wrap: balance; max-width: 22ch; text-shadow: 0 4px 24px #000a; }
.articleHead .lede { color: var(--text); }
.articleByline { margin: 22px 0 0; font-size: .85rem; color: #aab8d2; }
.articleCtas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.articleLayout { display: grid; grid-template-columns: 250px minmax(0, 740px); gap: 64px; padding: 48px 0 64px; }
.articleContents { position: sticky; top: calc(var(--navH) + 24px); align-self: start; padding: 18px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); border-top: 3px solid var(--acc);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.articleContents > a:not(.btn) { display: flex; gap: 12px; font-size: .9rem; color: var(--text); padding: 11px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.articleContents > a:not(.btn):hover { color: #fff; }
.articleContents > a span { color: var(--acc2); font: 800 .9rem/1.3 var(--display); font-style: italic; }
.articleContents .btn { width: 100%; margin-top: 18px; }
.articleBody section { margin-bottom: 48px; scroll-margin-top: calc(var(--navH) + 24px); }
.articleBody h2 { font-size: 2.1rem; line-height: 1; color: #f2f3fa; padding-left: 16px; border-left: 4px solid var(--acc); }
.articleBody p { color: #bcc7de; font-size: 1.06rem; line-height: 1.85; }
.articleBody a { text-decoration: underline; text-underline-offset: 3px; }
.articleBody kbd { background: #1b2941; color: var(--acc2); padding: 2px 9px; border: 1px solid #485978; font-family: var(--display); font-weight: 800; }
.articleNote { padding: 22px; border-left: 3px solid var(--acc); background: #10172e; }
.articleNote p { font-size: .9rem; margin-bottom: 0; }
.relatedGuides { border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 64px; }
.relatedGuides h2 { font-size: 2.4rem; margin-bottom: 20px; }
.relatedGuides .editorialGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guideFooter { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 28px; padding-bottom: 36px; color: var(--dim); font-size: .85rem; border-top: 1px solid var(--line); }

/* ── narrower screens ── */
@media (max-width: 1100px) {
  .navLinks a { padding: 10px 9px; }
  .hero { min-height: clamp(560px, 72vh, 760px); }
  .gameRow { grid-template-columns: 1fr; }
  .gameSoon { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .gameSoon p { flex: 1 1 260px; }
  .soonLink { margin-top: 0; }
  .panelHead { grid-template-columns: 1fr; }
  .comingNext { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .itemLayout { grid-template-columns: 1fr; }
  .itemDetail { position: static; }
  .augCols { grid-template-columns: 1fr; }
  .upLayout { grid-template-columns: 1fr; }
  .upNav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .upNav a { border-left: 0; padding: 7px 14px; background: #141d3d; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
  .capRow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buildIn { grid-template-columns: 1fr; gap: 28px; }
  .vfGallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .articleLayout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .editorialCard { padding: 20px; }
}
@media (max-width: 860px) {
  .navLinks { display: none; }
  .nav > .btn:last-child { margin-left: auto; }   /* Play at the right, on the guides too */
}
@media (max-width: 760px) {
  :root { --navH: 56px; --cut: 10px; }
  .nav { gap: 10px; padding: 8px 16px; }
  .brandMark { width: 36px; height: 36px; }
  .brandName { font-size: 1.1rem; }
  .noticeIn { gap: 8px; padding: 6px 46px 6px 16px; font-size: .84rem; }
  .noticeTag { display: none; }
  .noticeX { right: 6px; }
  .hero { display: block; padding: 0 0 72px; }
  .hero { min-height: 0; }
  .heroFeature { position: relative; inset: auto; width: 100%; height: 280px; z-index: 0; }
  .heroPoster { object-position: 46% 20%; }
  .heroCopy { text-align: left; }
  .lede { margin-left: 0; }
  .heroCtas, .jump, .heroFacts { justify-content: flex-start; }
  .heroFeature::after { background: linear-gradient(0deg, #070b18 0%, transparent 45%); }
  .heroIn { margin-top: -46px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .lede { margin-top: 16px; font-size: 1rem; }
  .heroCtas { margin-top: 22px; }
  .heroCtas .btn { flex: 1 1 100%; }
  .jump { gap: 6px; }
  .jumpLbl { flex-basis: 100%; margin-bottom: 2px; }
  .jump a { flex: 1 1 calc(33% - 6px); text-align: center; padding: 9px 8px; }
  .games { margin-top: -40px; }
  .secHead { flex-direction: column; gap: 4px; }
  .gameCards { grid-template-columns: 1fr; gap: 12px; }
  .gameCard { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); min-height: 150px; }
  .gcBody { padding: 14px 14px 14px 10px; gap: 4px; }
  .gcKicker { font-size: .66rem; }
  .gameCard.on::after { top: 8px; left: 8px; padding: 3px 12px; font-size: .66rem; }
  .gcText { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .gcFoot { gap: 8px; }
  .gcStats { font-size: .76rem; }
  .gameSoon { padding: 16px 18px; }
  .gamePanel { margin-top: 24px; }
  .panelHead { padding: 20px 16px; }
  .panelCtas .btn { flex: 1 1 auto; }
  .tabs { position: static; flex-wrap: wrap; overflow: visible; padding: 0; background: none; gap: 6px; }   /* every guide section in sight, without hidden scrolling */
  .tab { flex: 1 1 30%; padding: 0 10px; min-height: 42px; font-size: .86rem; }
  .tabN { display: none; }
  .tools { gap: 8px; }
  .tools .seg { flex: 1 1 100%; }
  .tools .seg button { flex: 1 1 auto; padding: 0 8px; }
  .select { flex: 1 1 100%; }
  .select select { min-width: 0; }
  .champGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .chName { font-size: .82rem; padding: 0 7px; }
  .chTraits, .chStats { padding: 0 7px; }
  .chStats { gap: 6px; font-size: .72rem; }
  .chT .tIco { width: 17px; height: 17px; }
  .tierRow { grid-template-columns: 50px 1fr; }
  .tierLetter { font-size: 1.6rem; padding-right: 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
  .tierRow.word .tierLetter { font-size: .78rem; }
  .tierChamps { padding: 6px; gap: 2px; }
  .tierChamp { width: calc((100% - 6px) / 4); }
  .tcPic { width: 52px; height: 52px; }
  .tcName { max-width: 100%; font-size: .7rem; }
  .compRow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compBtn em { display: none; }
  .recipeGrid { gap: 3px; }
  .rgT { width: 15px; height: 13px; font-size: .52rem; right: -2px; top: -2px; }
  .itemCols { grid-template-columns: 1fr; }
  .traitGrid { grid-template-columns: 1fr; }
  .updates { padding-left: 22px; }
  .updates::before { left: 5px; }
  .update { padding: 16px; }
  .update::before { left: -22px; width: 12px; height: 12px; }
  .update h3 { font-size: 1.22rem; }
  .gameSteps, .gameSteps.pair, .editorialGrid, .relatedGuides .editorialGrid { grid-template-columns: 1fr; }
  .capRow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .capTx { left: 6px; right: 6px; bottom: 6px; }
  .capTx b { font-size: .8rem; }
  .capTx small { display: none; }
  .faq details p { margin-left: 0; }
  .fbRow { grid-template-columns: 1fr; }
  .fb { padding: 18px; }
  .build { margin-top: 48px; padding: 48px 0; }
  .footNav { margin-right: 0; flex-basis: 100%; }
  .dlgIn { grid-template-columns: 1fr; }
  .dlgArt { border-right: 0; border-bottom: 1px solid var(--line); height: 260px; min-height: 0; }
  .dlgArt img { object-position: center 12%; }
  .dlgArt.portrait img { height: 100%; object-position: center; }
  .dlgBody { padding: 18px 16px 20px; }
  .statGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab { grid-template-columns: 56px 1fr; gap: 10px; }
  .abImg { width: 56px; height: 78px; }
  .abIcon { height: auto; }
  .champDlg { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .heroFacts { margin-top: 18px; font-size: .8rem; gap: 6px 16px; }
  /* the public guides on a phone */
  .guidePage .nav .btn { display: inline-flex; }
  .guideHero::before { width: 100%; opacity: .3; -webkit-mask-image: linear-gradient(0deg, transparent, #000 60%); mask-image: linear-gradient(0deg, transparent, #000 60%); }
  .articleHead { padding: 18px 0 36px; }
  .articleHead h1 { font-size: 2.6rem; }
  .articleCtas .btn { flex: 1 1 100%; }
  .articleLayout { display: block; padding-top: 28px; }
  .articleContents { position: static; margin-bottom: 40px; }
  .articleContents .btn { display: none; }
  .articleBody h2 { font-size: 1.7rem; }
  .articleBody p { font-size: 1rem; }
  .relatedGuides h2 { font-size: 1.9rem; }
  .guideFooter { display: block; }
  .guideFooter > * { display: block; margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .brandName { display: none; }   /* the mark alone beside Play */
  .nav .playLink { font-size: .84rem; }
}
