/* Photo strip, 3D tiles and 3D key art (2026-10-07). Loaded by index.html, clans.html and store.html.
   Tokens are repeated here because the store page does not load network.css. */
.world-strip,.key-3d,.keys-photo{--sc-ink:#211a29;--sc-dim:#665c6d;--sc-line:#dcd6df;--sc-pink:#ff57a4;--sc-pink-deep:#a42e65;--sc-pink-soft:#fceaf2}

/* ── photo strip: the server in a row of real screenshots, drifting slowly ── */
.world-strip{position:relative;margin-top:64px;overflow:hidden;background:var(--sc-ink);border-block:2px solid var(--sc-ink)}
.world-strip .strip-track{display:flex;gap:2px;width:max-content;animation:strip-drift 80s linear infinite}
.world-strip:hover .strip-track,.world-strip:focus-within .strip-track{animation-play-state:paused}
.world-strip .strip-shot{position:relative;display:block;flex:0 0 auto;width:clamp(260px,29vw,440px);aspect-ratio:16/9;overflow:hidden;background:#29232e;border-radius:0;text-decoration:none}
.world-strip .strip-shot img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.world-strip .strip-shot:hover img,.world-strip .strip-shot:focus-visible img{transform:scale(1.045)}
.world-strip .strip-tag{position:absolute;left:0;bottom:0;padding:7px 11px 6px;background:var(--sc-ink);color:#fff;font:400 .6rem/1.4 var(--font-pixel,"Silkscreen",monospace);letter-spacing:.02em}
.world-strip .strip-shot:hover .strip-tag,.world-strip .strip-shot:focus-visible .strip-tag{background:var(--sc-pink);color:var(--sc-ink)}
@keyframes strip-drift{to{transform:translateX(-50%)}}

/* ── store: the two keys turn in 3D on their pedestals ── */
.key-art .key-3d{position:absolute;left:50%;top:50%;width:148px;height:148px;transform:translate(-50%,-50%);opacity:0;transition:opacity .35s;pointer-events:none}
.key-art .key-3d model-viewer{width:100%;height:100%;background:transparent;--poster-color:transparent;--progress-bar-color:transparent}
.key-art.is-live .key-3d{opacity:1}
.key-art.is-live .crest{opacity:0}
.key-art .crest{transition:opacity .35s}

/* ── store: what the keys open ── */
.keys-photo{position:relative;margin:0 0 34px;border:2px solid var(--sc-ink);background:#29232e;overflow:hidden;box-shadow:3px 4px 0 #211a2916}
.keys-photo img{display:block;width:100%;height:auto;aspect-ratio:21/7;object-fit:cover;object-position:50% 46%}
.keys-photo figcaption{position:absolute;left:0;bottom:0;padding:8px 12px 7px;background:var(--sc-ink);color:#fff;font:400 .6rem/1.4 var(--font-pixel,"Silkscreen",monospace)}

/* ── 3D tiles: each model sits next to the thing it belongs to (clans events, crates; store Plus) ── */
.show-stage,.key-stage,.feature-stage,.plus-art{--sc-ink:#211a29;--sc-dim:#665c6d;--sc-line:#dcd6df;--sc-pink:#ff57a4;--sc-pink-deep:#a42e65;--sc-pink-soft:#fceaf2}
[data-model-tile]{position:relative;display:block;overflow:hidden}
[data-model-tile] .stage-poster,[data-model-tile] model-viewer{position:absolute;inset:0;width:100%;height:100%}
[data-model-tile] .stage-poster{object-fit:contain;transition:opacity .35s}
[data-model-tile] model-viewer{background:transparent;--poster-color:transparent;--progress-bar-color:transparent;opacity:0;transition:opacity .35s;pointer-events:none}
[data-model-tile][data-controls] model-viewer{pointer-events:auto;cursor:grab}
[data-model-tile][data-controls] model-viewer:active{cursor:grabbing}
[data-model-tile].is-live model-viewer{opacity:1}
[data-model-tile].is-live .stage-poster{opacity:0}
.stage-hint{position:absolute;right:0;bottom:0;z-index:2;padding:7px 10px 6px;background:var(--sc-ink);color:#fff;font:400 .54rem/1.4 var(--font-pixel,"Silkscreen",monospace);pointer-events:none}

/* event cards: the stage takes the place of the screenshot */
.network-page .show-3d .show-stage{width:100%;aspect-ratio:16/10;border-radius:3px}
.show-stage .stage-poster,.show-stage model-viewer{inset:5% 8% 3%;width:84%;height:92%}
.show-stage.stage-night{background:radial-gradient(ellipse 44% 11% at 50% 90%,#0b060c99,transparent 72%),radial-gradient(ellipse 80% 70% at 50% 34%,#a3243a 0%,#571628 46%,#231120 100%)}
.show-stage.stage-night::before{content:"";position:absolute;inset:62% 0 0;background:linear-gradient(#ff8fa022 1px,transparent 1px) 0 0/100% 18px,linear-gradient(90deg,#ff8fa022 1px,transparent 1px) 50% 0/40px 100%;-webkit-mask-image:linear-gradient(transparent,#000 90%);mask-image:linear-gradient(transparent,#000 90%);pointer-events:none}
.show-stage.stage-sky{background:radial-gradient(ellipse 44% 11% at 50% 90%,#211a2926,transparent 72%),linear-gradient(#f4f9ff 0%,#dbeaf8 100%)}
.show-stage.stage-sky::before{content:"";position:absolute;inset:62% 0 0;background:linear-gradient(#8fb4d655 1px,transparent 1px) 0 0/100% 18px,linear-gradient(90deg,#8fb4d655 1px,transparent 1px) 50% 0/40px 100%;-webkit-mask-image:linear-gradient(transparent,#000 90%);mask-image:linear-gradient(transparent,#000 90%);pointer-events:none}
.stage-switch{position:absolute;left:0;top:0;z-index:2;display:flex}
.stage-switch button{appearance:none;border:0;border-right:1px solid #ffffff33;padding:8px 11px 7px;background:var(--sc-ink);color:#fff;font:400 .56rem/1.4 var(--font-pixel,"Silkscreen",monospace);cursor:pointer}
.stage-switch button[aria-pressed="true"]{background:var(--sc-pink);color:var(--sc-ink)}
.stage-switch button:focus-visible{outline:3px solid var(--sc-pink-deep);outline-offset:-3px}

/* crates: the four keys in the order of the plaza caption above them */
.crate-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0;border:1px solid var(--sc-line,#dcd6df);border-top:0;background:#fff;border-radius:0 0 3px 3px}
.crate-key{--sc-ink:#211a29;--sc-dim:#665c6d;--sc-line:#dcd6df;--sc-pink-deep:#a42e65;display:flex;flex-direction:column;min-width:0;padding-bottom:18px;border-right:1px solid var(--sc-line);color:var(--sc-ink);text-decoration:none}
.crate-key:last-child{border-right:0}
.crate-key .key-stage{height:168px;border-bottom:1px solid var(--sc-line);background:radial-gradient(ellipse 34% 9% at 50% 88%,#211a291f,transparent 72%),linear-gradient(#fff,color-mix(in srgb,var(--tint,#ff9ac5) 24%,#fff))}
.crate-key .key-stage .stage-poster,.crate-key .key-stage model-viewer{inset:10px 0 12px;height:calc(100% - 22px)}
.crate-key .key-crate{margin:15px 18px 0;font:400 .54rem/1.5 var(--font-pixel,"Silkscreen",monospace);color:var(--sc-dim)}
.crate-key strong{display:block;margin:5px 18px 0;font:750 1.14rem/1.2 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.03em}
.crate-key .key-from{margin:7px 18px 0;font:500 .84rem/1.55 var(--font-body,"Manrope",sans-serif);color:var(--sc-dim)}
.crate-key .key-go{margin:auto 18px 0;padding-top:12px;font:700 .8rem/1.4 var(--font-body,"Manrope",sans-serif);color:var(--sc-pink-deep)}
.crate-key:hover strong,.crate-key:focus-visible strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.network-page .spotlight.has-keys{border-radius:3px 3px 0 0}

/* crates: one legendary piece shown above the table it drops from */
.loot-feature{--sc-ink:#211a29;--sc-dim:#665c6d;--sc-line:#dcd6df;--sc-pink-deep:#a42e65;display:grid;grid-template-columns:230px minmax(0,1fr);margin:16px 0 18px;border:1px solid var(--sc-line);border-radius:3px;background:#fff;overflow:hidden}
.loot-feature .feature-stage{min-height:176px;border-right:1px solid var(--sc-line);background:radial-gradient(ellipse 40% 9% at 50% 90%,#211a291f,transparent 72%),linear-gradient(#fff,color-mix(in srgb,var(--tint,#ff9ac5) 22%,#fff))}
.loot-feature .feature-stage .stage-poster,.loot-feature .feature-stage model-viewer{inset:6px 6px 10px;width:calc(100% - 12px);height:calc(100% - 16px)}
.loot-feature .feature-copy{padding:20px 24px 18px;min-width:0}
.loot-feature .feature-kind{margin:0;font:400 .54rem/1.5 var(--font-pixel,"Silkscreen",monospace);color:var(--sc-pink-deep)}
.loot-feature h4{margin:5px 0 8px;font:800 1.5rem/1.15 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.04em;color:var(--sc-ink)}
.loot-feature .feature-copy p:not(.feature-kind){margin:0;max-width:66ch;font:500 .9rem/1.65 var(--font-body,"Manrope",sans-serif);color:var(--sc-dim)}
.loot-feature .feature-copy b{color:var(--sc-ink)}
.loot-feature .feature-stats{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 0;padding:0;list-style:none}
.loot-feature .feature-stats li{padding:5px 9px 4px;border:1px solid var(--sc-line);font:400 .54rem/1.4 var(--font-pixel,"Silkscreen",monospace);color:var(--sc-ink);background:#faf7fb}

/* store: the Plus crest turns in 3D beside its name */
.plus-art{position:relative;flex:0 0 auto;display:grid;place-items:center;width:124px;height:124px;margin:-8px 4px -8px -10px;background:radial-gradient(ellipse 58% 54% at 50% 52%,#5b8cff2b,transparent 72%)}
.plus-art .crest{width:76px;height:76px;transition:opacity .35s}
.plus-art .key-3d{position:absolute;inset:0;opacity:0;transition:opacity .35s;pointer-events:none}
.plus-art .key-3d model-viewer{width:100%;height:100%;background:transparent;--poster-color:transparent;--progress-bar-color:transparent}
.plus-art.is-live .key-3d{opacity:1}
.plus-art.is-live .crest{opacity:0}

@media (max-width:900px){
  .crate-keys{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crate-key:nth-child(2n){border-right:0}
  .crate-key:nth-child(-n+2){border-bottom:1px solid var(--sc-line)}
  .crate-key .key-stage{height:140px}
  .loot-feature{grid-template-columns:minmax(0,1fr)}
  .loot-feature .feature-stage{min-height:0;aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--sc-line)}
  .loot-feature .feature-copy{padding:17px 16px 16px}
  .plus-art{width:104px;height:104px}
}
@media (max-width:420px){
  .crate-key .key-crate,.crate-key strong,.crate-key .key-from,.crate-key .key-go{margin-inline:13px}
  .crate-key strong{font-size:1.02rem}
}

@media (max-width:900px){
  .world-strip{margin-top:44px}
  .keys-photo img{aspect-ratio:16/8}
}
@media (prefers-reduced-motion:reduce){
  .world-strip{overflow-x:auto}
  .world-strip .strip-track{animation:none}
  .world-strip .strip-shot img{transition:none}
}

/* ── clans: the pets (2026-10-09, fourth pass). One catalogue, nothing but the pets and the game's text: the text sets
   each entry's height, the pet's own model stands beside its name on the bare page with a single shadow and a slow
   bounded turn about its best angle (its own animation plays). No boxes, washes, ticks, numbers, pills or ornament. ── */
.pet-book{margin-top:38px;border-top:2px solid var(--ink,#211a29)}
.pet-feature{display:grid;grid-template-columns:minmax(0,620fr) minmax(0,496fr);column-gap:64px;align-items:start;padding:40px 0 46px;border-bottom:1px solid var(--line-strong,#b6aabb);scroll-margin-top:92px}
.pet-feature:last-child{border-bottom:0;padding-bottom:12px}
.pet-copy{min-width:0;padding-top:2px}
.pet-role{margin:0;font:400 .66rem/1.5 var(--font-pixel,"Silkscreen",monospace);letter-spacing:.04em;text-transform:uppercase;color:var(--pink-deep,#a42e65)}
.pet-copy h3{margin:9px 0 0;font:800 clamp(2rem,3.1vw,2.85rem)/1.02 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.045em;color:var(--ink,#211a29)}
.pet-lead{margin:12px 0 0;max-width:58ch;font:500 1rem/1.65 var(--font-body,"Manrope",sans-serif);color:var(--dim,#665c6d)}
.pet-price{margin:18px 0 0;font:750 1.32rem/1.25 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.03em;color:var(--ink,#211a29)}
.pet-price span{font-weight:700;color:var(--pink-deep,#a42e65)}
.pet-health{margin:4px 0 0;font:500 .88rem/1.55 var(--font-body,"Manrope",sans-serif);color:var(--dim,#665c6d)}
.pet-moves{margin:24px 0 0;padding:0;list-style:none;border-top:2px solid var(--ink,#211a29)}
.pet-moves li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:3px 18px;padding:13px 0;border-bottom:1px solid var(--line,#dcd6df)}
.pet-moves b{font:750 1.02rem/1.35 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.015em;color:var(--ink,#211a29)}
.pet-cd{font:400 .64rem/1.4 var(--font-pixel,"Silkscreen",monospace);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;color:var(--ink,#211a29);opacity:.8}
.pet-moves p{grid-column:1/-1;margin:0;max-width:66ch;font:500 .94rem/1.62 var(--font-body,"Manrope",sans-serif);color:var(--dim,#665c6d)}
.pet-sub{margin:28px 0 0;font:800 1.28rem/1.15 var(--font-display,"Bricolage Grotesque",sans-serif);letter-spacing:-.03em;color:var(--ink,#211a29)}
.pet-sub-note{margin:6px 0 0;max-width:58ch;font:500 .92rem/1.6 var(--font-body,"Manrope",sans-serif);color:var(--dim,#665c6d)}
.pet-sub-note+.pet-moves{margin-top:14px}
.pet-copy>.pet-moves:last-child li:last-child{border-bottom:0}
.show-info a[href="#pets"]{color:inherit;font-weight:700;text-decoration:underline;text-decoration-color:var(--pink,#ff57a4);text-underline-offset:3px}

/* the stage: the bare page and the model, nothing else */
.pet-stage{position:sticky;top:96px;aspect-ratio:1/.9;overflow:hidden}
.pet-model{position:absolute;inset:0 0 -3px}
.pet-model .stage-poster,.pet-model model-viewer{inset:0;width:100%;height:100%}

@media (max-width:1100px){
  .pet-feature{grid-template-columns:minmax(0,1fr) minmax(0,42%);column-gap:40px}
}
@media (max-width:900px){
  .pet-feature{grid-template-columns:minmax(0,1fr) 300px;column-gap:30px;padding:34px 0 40px}
  .pet-stage{top:88px}
}
@media (max-width:760px){
  .pet-feature{grid-template-columns:minmax(0,1fr);padding:30px 0 36px}
  .pet-copy{display:contents}
  .pet-stage{order:1;position:relative;top:auto;aspect-ratio:auto;height:280px;margin:16px 0 0}
  .pet-moves,.pet-sub,.pet-sub-note{order:2}
  .pet-moves{margin-top:14px}
}
@media (max-width:480px){
  .pet-stage{height:228px}
  .pet-moves li{grid-template-columns:minmax(0,1fr)}
  .pet-cd{justify-self:start}
  .pet-copy h3{font-size:2rem}
}

/* classes: each card shows its kit the way /kits does (the trimmed chestplate) and the set it hands out.
   Vanilla 16 px sprites, pre-scaled 8x: keep them on whole pixels. */
#classes .kit-hero{flex:none;display:block;width:64px;height:64px;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #211a2924);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
#classes .card-hud:hover .kit-hero{transform:translateY(-3px)}
#classes .kit-set{margin:0 0 17px;padding:0 0 15px;border-bottom:1px solid #211a2917}
#classes .kit-set ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
#classes .kit-set li{flex:none;display:grid;place-items:center;width:38px;height:38px;border:1px solid #211a2921;background:#ffffffb8}
#classes .kit-set li img{display:block;width:32px;height:32px;image-rendering:pixelated}
#classes .kit-trim{margin:10px 0 0;font:400 .6rem/1.5 var(--font-pixel,"Silkscreen",monospace);color:var(--dim,#665c6d)}
#classes .kit-trim span{color:var(--pink,#ff57a4)}
@media (prefers-reduced-motion:reduce){#classes .kit-hero{transition:none}}
