/* geekermon.com: one stylesheet for every page. Mobile first. */

@font-face { font-family: "Saira"; src: url("/fonts/saira-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("/fonts/saira-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira"; src: url("/fonts/saira-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("/fonts/saira-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("/fonts/saira-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* palette */
  --void: #1c1d20;        /* page: dark grey */
  --void-deep: #141517;   /* wells, inputs */
  --panel: #26272b;       /* raised surfaces */
  --line: #3a3b41;        /* hairlines, ring track */
  --text: #f2f2f3;
  --muted: #a4a6ad;
  --exotic: #e8be45;      /* the one accent: Destiny exotic gold */
  --exotic-ink: #2a2108;  /* text on gold */
  /* element colors (information, not decoration) */
  --el-kinetic: #d9d6e5;
  --el-arc: #7cc6f2;
  --el-solar: #f2843b;
  --el-void: #b184e8;
  --el-stasis: #6f8ff0;
  --el-strand: #3fd67b;

  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale (1.25 minor third-ish, tuned for phones) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.375rem;
  --t-xl: 2rem;
  --t-2xl: clamp(2.5rem, 9vw, 4.25rem);

  --gutter: 16px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 400 var(--t-md)/1.55 var(--body);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--exotic); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }

/* ---------------------------------------------------------------- header */
.site-header { padding: 18px 0 8px; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 var(--t-lg)/1 var(--display); letter-spacing: 0.01em; }
.brand .logo { width: 17px; height: 34px; color: #fff; }
.site-header nav { margin-left: auto; display: flex; gap: 18px; font-size: var(--t-sm); }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-xs); line-height: 1.6; }
.site-footer p { margin: 0 0 8px; max-width: 70ch; }
.site-footer a { color: var(--muted); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 20px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); text-decoration: none; cursor: pointer;
  font: 600 var(--t-md)/1.2 var(--body);
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--exotic); color: var(--exotic-ink); border-color: var(--exotic); }
.btn-gold:hover { background: #f3cd5c; border-color: #f3cd5c; }
.btn-quiet { background: transparent; }

/* ================================================================== HOME */
.hero { padding: 36px 0 8px; }
.hero h1 { margin: 0; display: flex; align-items: center; gap: 0.3em; font: 800 var(--t-2xl)/0.95 var(--display); letter-spacing: -0.01em; }
.hero h1 .logo { width: 0.5em; height: 1em; color: #fff; flex: none; }
.hero .tagline { margin: 14px 0 0; color: var(--muted); font-size: var(--t-lg); line-height: 1.35; max-width: 30ch; }

/* The vote call-to-action: two rings, like the logo. */
.vote-cta {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px;
  margin: 28px 0 0; padding: 20px 22px; border-radius: 22px;
  background: var(--exotic); color: var(--exotic-ink); text-decoration: none;
  transition: transform .12s;
}
.vote-cta:active { transform: scale(.985); }
.vote-cta .rings { width: 30px; height: 60px; color: var(--exotic-ink); }
.vote-cta strong { display: block; font: 800 var(--t-xl)/1 var(--display); }
.vote-cta span { display: block; margin-top: 6px; font-size: var(--t-sm); font-weight: 500; }

.links { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.links .btn { justify-content: flex-start; border-radius: var(--radius); padding: 14px 16px; }
.links .btn .icon { width: 22px; height: 22px; }
.links .yt { grid-column: 1 / -1; min-height: 60px; }
.links .yt .icon { color: #ff3b3b; width: 26px; height: 26px; }
.links small { display: block; color: var(--muted); font-weight: 400; font-size: var(--t-xs); }

.videos { margin-top: 44px; }
.videos h2 { margin: 0 0 14px; font: 800 var(--t-xl)/1 var(--display); }
.video-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: thin;
}
.video { scroll-snap-align: start; text-decoration: none; }
.video .thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video h3 { margin: 10px 2px 0; font: 500 var(--t-sm)/1.35 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video time { display: block; margin: 4px 2px 0; color: var(--muted); font-size: var(--t-xs); }
.videos .empty { color: var(--muted); }

@media (min-width: 860px) {
  .home-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; padding-top: 24px; }
  .videos { margin-top: 28px; }
  .video-strip { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 20px 16px; }
}

/* ================================================================== VOTE */
.vote-head { padding: 8px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vote-head h1 { margin: 0; font: 800 var(--t-xl)/1.05 var(--display); }
.total { color: var(--muted); font-size: var(--t-sm); }
.total b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.preview-banner { margin: 12px 0 0; padding: 10px 14px; border: 1px dashed var(--exotic); border-radius: var(--radius); color: var(--exotic); font-size: var(--t-sm); }

.question { margin: 18px 0 14px; font: 600 var(--t-lg)/1.25 var(--body); }

.duel { position: relative; display: grid; gap: 14px; }
.contender {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;
  width: 100%; padding: 16px; text-align: left; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px;
  transition: border-color .15s, opacity .25s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.contender:hover { border-color: #5a5b62; }
.contender:active { transform: scale(.985); }
.contender:disabled { cursor: default; }

/* The ring around each icon echoes the logo. */
.ring {
  position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  border: 7px solid var(--line); transition: border-color .2s;
}
.ring img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--void-deep); }
.ring::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 7px solid var(--exotic);
  opacity: 0; transform: scale(.8);
}

.contender .name { display: block; font: 800 clamp(1.6rem, 7vw, 2.1rem)/0.95 var(--display); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: var(--t-xs); font-weight: 500; background: var(--void-deep); color: var(--muted); }
.chip-el { color: var(--el, var(--muted)); }
.chip-el::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
[data-el="Kinetic"] { --el: var(--el-kinetic); }
[data-el="Arc"] { --el: var(--el-arc); }
[data-el="Solar"] { --el: var(--el-solar); }
[data-el="Void"] { --el: var(--el-void); }
[data-el="Stasis"] { --el: var(--el-stasis); }
[data-el="Strand"] { --el: var(--el-strand); }

/* The one orchestrated moment: chosen ring flares gold, the other recedes. */
.duel.decided .contender { pointer-events: none; }
.contender.chosen { border-color: var(--exotic); }
.contender.chosen .ring { border-color: var(--exotic); }
.contender.chosen .ring::after { animation: flare .55s ease-out; }
.contender.passed { opacity: .35; }
@keyframes flare { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.duel.entering .contender { animation: enter .28s ease-out both; }
.duel.entering .contender + .contender { animation-delay: .05s; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.versus { display: none; }

.vote-actions { display: flex; justify-content: center; margin-top: 12px; }
.skip { min-height: 44px; padding: 8px 22px; background: transparent; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.skip:hover { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--void); font-weight: 600; font-size: var(--t-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.toast[hidden] { display: none; }

/* Progress panel */
.me { margin-top: 28px; padding: 18px; border-radius: 22px; background: var(--void-deep); border: 1px solid var(--line); }
.me .count { margin: 0; font: 800 var(--t-lg)/1.2 var(--display); }
.level-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: var(--t-sm); }
.level-row .lvl { font-weight: 600; }
.level-row .xp { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { margin-top: 8px; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--exotic); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.gain { color: var(--exotic); font-weight: 600; }
.stats-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: var(--t-sm); }
.stats-row b { color: var(--text); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--panel); font-size: var(--t-xs); font-weight: 500; }
.badge .medal { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--exotic); color: var(--exotic-ink); }
.badge .medal .icon { width: 15px; height: 15px; }
.badge.locked { color: var(--muted); background: transparent; border: 1px dashed var(--line); }
.badge.locked .medal { background: var(--line); color: var(--muted); }
.badge.new { animation: pop .5s ease-out; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.08); } 100% { transform: none; } }

.notice { margin: 24px 0; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.notice h2 { margin: 0; font: 800 var(--t-xl)/1.05 var(--display); }
.notice p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }
.notice .btn { margin-top: 18px; }

@media (min-width: 760px) {
  .duel { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contender { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px 24px; }
  .contender .chips { justify-content: center; }
  .ring { width: 150px; height: 150px; border-width: 9px; }
  .ring::after { inset: -9px; border-width: 9px; }
  .ring img { width: 96px; height: 96px; }
  .versus { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 22px; height: 22px; border-radius: 50%; background: var(--exotic); }
}

/* ================================================================= ADMIN */
.admin-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
input[type="password"], input[type="text"], select {
  min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--void-deep); color: var(--text); font: inherit;
}
.admin-summary { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0; color: var(--muted); font-size: var(--t-sm); }
.admin-summary b { display: block; color: var(--text); font: 800 var(--t-xl)/1 var(--display); }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 16px; font-size: var(--t-sm); }
.filters label { display: inline-flex; gap: 6px; align-items: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { position: sticky; top: 0; background: var(--panel); font-weight: 600; }
td.num, th.num { text-align: right; }
td .cell-item { display: flex; align-items: center; gap: 10px; }
td img { width: 32px; height: 32px; border-radius: 6px; }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0 0; font-size: var(--t-sm); color: var(--muted); }
.copy-row code { padding: 6px 10px; border-radius: 8px; background: var(--void-deep); color: var(--text); overflow-wrap: anywhere; }
.error { color: #ff8a7a; }

/* ================================================================= PROSE */
.prose { max-width: 68ch; padding-top: 16px; }
.prose h1 { font: 800 var(--t-2xl)/1 var(--display); margin: 8px 0 16px; }
.prose h2 { font: 800 var(--t-lg)/1.2 var(--display); margin: 32px 0 8px; }
.prose p, .prose li { color: #d8d9dd; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================================================================= GEAR */
.muted { color: var(--muted); }
.small { font-size: var(--t-xs); }
.crumbs { margin: 8px 0 14px; font-size: var(--t-sm); color: var(--muted); }
.crumbs a { color: var(--muted); }
.gear-shot { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.gear-shot img { width: 100%; height: 100%; object-fit: cover; }
.gear-title { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: -40px; position: relative; }
.gear-title .ring { background: var(--void); }
.gear-title h1 { margin: 36px 0 0; font: 800 clamp(2rem, 9vw, 3.4rem)/0.95 var(--display); overflow-wrap: anywhere; }
.flavor { margin: 18px 0 0; color: var(--muted); font-style: italic; max-width: 60ch; }
.gear-grid { display: grid; gap: 14px; margin-top: 20px; }
.gear-grid > div { display: grid; gap: 14px; align-content: start; }
.card { padding: 18px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.card h2 { margin: 0 0 8px; font: 800 var(--t-lg)/1.15 var(--display); }
.card h3 { margin: 18px 0 2px; font: 600 var(--t-md)/1.3 var(--body); }
.card p { margin: 0 0 10px; max-width: 65ch; }
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: 4px; }
.perk { border-color: color-mix(in srgb, var(--exotic) 45%, var(--line)); }
.perk h2 { color: var(--exotic); }
.stats { margin: 0; display: grid; gap: 8px; }
.stats > div { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 10px; font-size: var(--t-sm); }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.stats dd b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2.5em; }
.stat-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--void-deep); overflow: hidden; }
.stat-bar i { display: block; height: 100%; background: var(--text); border-radius: inherit; }
.yt-wrap { display: grid; gap: 8px; }
.yt-lite, .yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; overflow: hidden; background: #000; padding: 0; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-play .icon { width: 68px; height: 68px; color: #ff3b3b; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.yt-lite:hover .yt-play .icon { color: #ff5252; }
.yt-title { margin: 0; font-size: var(--t-sm); font-weight: 500; }
.yt-title time { display: block; color: var(--muted); font-weight: 400; font-size: var(--t-xs); }
.archive { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--t-sm); }
.archive li { display: flex; justify-content: space-between; gap: 12px; }
.archive time { color: var(--muted); white-space: nowrap; font-size: var(--t-xs); }
@media (min-width: 860px) {
  .gear-shot { margin: 0; border-radius: 22px; }
  .gear-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
}

.gear-index h1 { margin: 16px 0 6px; font: 800 var(--t-2xl)/1 var(--display); }
.gear-index .lede { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }
.gear-index h2 { margin: 26px 0 12px; font: 800 var(--t-xl)/1 var(--display); }
.gear-filters { display: grid; gap: 10px; }
.gear-filters input[type="search"] { width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: var(--t-sm); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--void); border-color: var(--text); font-weight: 600; }
.gear-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(160px, 45%), 1fr)); }
.gear-list a { min-width: 0; }
.gear-list span { min-width: 0; }
.gear-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; background: var(--panel); border: 1px solid transparent; }
.gear-list a:hover { border-color: var(--line); }
.gear-list img { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.gear-list b { display: block; font-weight: 600; font-size: var(--t-sm); line-height: 1.25; }
.gear-list small { color: var(--muted); font-size: var(--t-xs); }
input[type="search"] { min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--void-deep); color: var(--text); font: inherit; }

/* ================================================================ TAGGER */
.tag-list { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tag-row { display: grid; gap: 12px; padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.tag-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.tag-title { margin: 0; font-weight: 600; }
.tag-title a { text-decoration: none; }
.tag-body > p { margin: 0 0 6px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--text); color: var(--void); font-size: var(--t-xs); font-weight: 600; }
.tag-chip.guess { background: transparent; color: var(--text); border: 1px dashed var(--muted); }
.tag-chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; }
.tag-add { position: relative; }
.tag-add input { width: 100%; }
.tag-menu { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--void-deep); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tag-menu button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; }
.tag-menu button:hover, .tag-menu button:focus-visible { background: var(--panel); }
.tag-menu small { color: var(--muted); }
.tag-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-actions .btn { min-height: 44px; padding: 8px 16px; }
@media (min-width: 760px) { .tag-row { grid-template-columns: 240px 1fr; } }
.gear-link { width: 100%; margin-top: 10px; border-radius: var(--radius); }
.short-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; margin: 8px 0 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.short-row li { scroll-snap-align: start; }
.short-card, .short-frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; overflow: hidden; background: #000; padding: 0; cursor: pointer; }
.short-card img { width: 100%; height: 100%; object-fit: cover; }
.short-card .yt-play .icon { width: 44px; height: 44px; }
.short-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 10px; text-align: left; font-size: var(--t-xs); font-weight: 600; line-height: 1.3; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#featured + #shorts h3 { margin-top: 18px; }
@media (min-width: 860px) { .short-row { grid-auto-columns: 30%; } }

/* =========================================================== COLLECTIONS */
.col-page h1 { margin: 16px 0 6px; font: 800 var(--t-2xl)/1 var(--display); }
.col-page .lede { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }
.col-total { padding: 16px 18px; border-radius: 20px; background: var(--void-deep); border: 1px solid var(--line); }
.col-total p { margin: 0 0 8px; }
.col-total p:last-child { margin: 10px 0 0; }
.col-total b { font: 800 var(--t-lg)/1 var(--display); }
.col-filters { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 14px calc(-1 * var(--gutter)) 0; padding: 10px var(--gutter); background: color-mix(in srgb, var(--void) 92%, transparent); backdrop-filter: blur(8px); }
.col-filters input[type="search"] { width: 100%; }
.col-selects { position: relative; display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.col-selects select { min-height: 40px; padding: 6px 10px; font-size: var(--t-sm); flex: none; }
.col-filters p { margin: 0; }
.col-group { margin-top: 26px; }
.col-group > h2 { margin: 0 0 10px; font: 800 var(--t-xl)/1 var(--display); }
.col-group > h2 small { font: 500 var(--t-sm)/1 var(--body); color: var(--muted); }
.col-set { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 320px; }
.col-set.done { border-color: color-mix(in srgb, var(--exotic) 50%, var(--line)); }
.col-set header { display: flex; align-items: center; gap: 10px; }
.col-set header img { width: 32px; height: 32px; border-radius: 6px; }
.col-set h3 { margin: 0; flex: 1; font: 600 var(--t-md)/1.25 var(--body); }
.col-count { color: var(--muted); font-size: var(--t-sm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.col-bulk { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: var(--t-xs); white-space: nowrap; }
.col-bulk:hover { color: var(--text); border-color: var(--muted); }
.bar.thin { height: 6px; margin-top: 10px; }
.col-set.done .bar > i { background: var(--exotic); }
.wgrid { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.wtile { position: relative; }
.wtile-btn { width: 100%; height: 100%; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; border-radius: 12px; border: 1px solid transparent; background: var(--void-deep); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wtile-icon { position: relative; width: 52px; height: 52px; flex: none; border-radius: 8px; overflow: hidden; }
.wtile-icon img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wtile-text { min-width: 0; width: 100%; }
.wtile-text b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--t-xs); font-weight: 600; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.wtile-text small { display: block; color: var(--muted); font-size: 0.7rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtile.missing .wtile-icon { filter: grayscale(0.85); opacity: 0.55; }
.wtile.missing .wtile-text b { color: var(--muted); }
.wtile.have .wtile-btn { border-color: color-mix(in srgb, var(--exotic) 55%, transparent); }
.wtile.have .wtile-icon::after { content: "✓"; position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--exotic); color: var(--exotic-ink); font: 700 11px/16px var(--body); text-align: center; }
.wtile-info { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: italic 600 11px/1 Georgia, serif; text-decoration: none; color: var(--muted); border: 1px solid var(--line); background: var(--panel); }
.wtile-info:hover { color: var(--text); }
.col-backup { margin-top: 32px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line); }
.col-backup summary { cursor: pointer; font-weight: 600; }

.linkish { padding: 0; border: 0; background: none; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.col-total .btn { margin-top: 4px; }
select:disabled { opacity: .45; }

/* Legendary gear pages */
.ring-icon { position: relative; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; }
.ring-icon img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (min-width: 760px) { .gear-title .ring-icon { width: 96px; height: 96px; } }
.perk-cols { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 8px; }
.perk-col h3 { margin: 0 0 6px; font: 600 var(--t-sm)/1.2 var(--body); color: var(--muted); }
.perk-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.perk-col summary { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 10px; cursor: pointer; list-style: none; font-size: var(--t-sm); }
.perk-col summary::-webkit-details-marker { display: none; }
.perk-col summary:hover, .perk-col details[open] summary { background: var(--void-deep); }
.perk-col summary img { width: 28px; height: 28px; border-radius: 50%; background: var(--void-deep); flex: none; }
.perk-col details p { margin: 4px 6px 8px; font-size: var(--t-xs); color: var(--muted); }
.perk-col li.retired summary { opacity: .45; }
.perk-col .enh { color: var(--exotic); font-size: 0.7rem; font-weight: 600; }
