/* the home page: Forfeit's chapter scroll, the block stage behind it (look B2, electric blue) */
.btn.small { height: 40px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; margin-top: 16px; }
.chapter-tag { position: fixed; left: var(--gutter); bottom: 22px; z-index: 30; display: flex; gap: 10px; align-items: baseline; font: italic 800 20px/1 var(--cond); color: var(--muted); transition: opacity .25s var(--ease); }
.chapter-tag .n { color: var(--acc); }
.chapter-tag.off { opacity: 0; }

.scene { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 132px 0 80px; }
.copy { display: flex; flex-direction: column; align-items: flex-start; }
.copy > * { max-width: 540px; }
.kicker { margin: 0 0 16px; font: italic 800 22px/1 var(--cond); color: var(--acc); }
h1, h2 { font-family: var(--cond); font-style: italic; font-weight: 900; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(64px, 8.6vw, 128px); line-height: .86; max-width: 7.2em !important; }
h2 { font-size: clamp(50px, 6vw, 86px); line-height: .9; }
.beat-1 { color: var(--muted); }
.beat-2 { color: var(--ink); }
.lede { margin: 26px 0 0; font-size: 19px; color: var(--ink-2); max-width: 31em !important; }
.lede strong, .body strong { color: var(--ink); font-weight: 600; }
.body { margin: 20px 0 0; color: var(--ink-2); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sub { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

.bug { display: flex; align-items: stretch; height: 50px; margin-top: 34px; font-family: var(--cond); font-style: italic; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: rgba(18, 20, 23, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: none !important; }
.bug .rp { background: var(--acc); color: var(--acc-ink); font-weight: 900; font-size: 23px; padding: 0 14px; display: flex; align-items: center; }
.bug .rd { color: var(--ink); font-weight: 800; font-size: 21px; padding: 0 16px; display: flex; align-items: center; border-right: 1px solid var(--line-2); }
.bug .ck { color: var(--ink); font-weight: 900; font-size: 30px; padding: 0 16px; display: flex; align-items: center; gap: 6px; border-right: 1px solid var(--line-2); }
.bug .ck small { font-size: 18px; color: var(--muted); font-weight: 700; }
.bug .me { padding: 0 16px; display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.bug .me em { color: var(--acc); }

.copy .card { margin-top: 30px; width: 100%; }
.live { font: italic 800 20px/1 var(--cond); color: var(--ink); }
.live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 0 4px rgba(42, 157, 255, .18); }
.bag { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.bag b { font: italic 900 54px/1 var(--cond); }
.bag em { font: italic 900 30px/1 var(--cond); color: var(--acc); }
.tape { margin-top: 16px; border-top: 1px solid var(--line); }
.tape div { display: grid; grid-template-columns: 40px 46px 1fr 86px 58px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tape .s { font: italic 900 17px/1 var(--cond); }
.tape .s.b { color: var(--ink); }
.tape .w { color: var(--ink); }
.tape .r { text-align: right; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 30px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(18, 20, 23, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stat .value { font: italic 900 46px/1 var(--cond); }
.stat .value.y { color: var(--acc); }
.tower > div > .r:first-child { margin-top: 10px; }
.ft-head { display: flex; align-items: stretch; height: 46px; margin: -20px -22px 0; border-bottom: 1px solid var(--line-2); font-family: var(--cond); font-style: italic; overflow: hidden; border-radius: 18px 18px 0 0; }
.ft-tag { background: var(--acc); color: var(--acc-ink); font-weight: 900; font-size: 22px; padding: 0 16px; display: flex; align-items: center; }
.ft-name { font-weight: 900; font-size: 26px; padding: 0 14px; display: flex; align-items: center; }
.ft-when { color: var(--muted); font: 500 13px var(--text); display: flex; align-items: center; }
.ft-big { margin: 18px 0 0; font: italic 900 64px/.92 var(--cond); }
.ft-big em { font-style: italic; color: var(--acc); }
.ft .acts { margin-top: 20px; }
.facts { margin: 16px 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font: 600 14px/1.5 var(--text); color: var(--muted); }
.facts dd { margin: 0; font: 600 15px/1.5 var(--text); }
.rounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 30px; max-width: 620px !important; }
.rounds a { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(18, 20, 23, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; transition: border-color .2s var(--ease), transform .25s var(--spring); }
.rounds a:hover { border-color: var(--acc); transform: translateY(-2px); }
.rounds b { font: italic 900 34px/1 var(--cond); }
.rounds b small { font-size: 18px; color: var(--acc); margin-left: 6px; }
.rounds span { font-size: 13.5px; color: var(--muted); }

/* copy enters on a spring as its chapter arrives (off when Motion is off) */
.js-reveal .copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--spring); }
.js-reveal .scene.in .copy > * { opacity: 1; transform: none; }
.js-reveal .scene.in .copy > *:nth-child(2) { transition-delay: .08s; } .js-reveal .scene.in .copy > *:nth-child(3) { transition-delay: .16s; }
.js-reveal .scene.in .copy > *:nth-child(4) { transition-delay: .24s; } .js-reveal .scene.in .copy > *:nth-child(5) { transition-delay: .32s; }
html.still .copy > * { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js-reveal .copy > * { opacity: 1; transform: none; transition: none; } }

@media (max-width: 899px) {
  .chapter-tag { display: none; }
  .scene { align-items: flex-end; padding: 46vh 0 48px; }
  .scene.hero { padding-top: 44vh; }
  .copy { position: relative; }
  .copy::before { content: ''; position: absolute; inset: -72px 0 -48px; z-index: -1; background: linear-gradient(to top, var(--ground) calc(100% - 72px), rgba(10, 11, 13, 0)); pointer-events: none; }
  .copy > * { max-width: 100%; }
  .bug { height: 44px; } .bug .rd { display: none; }
  .poster { right: 50%; top: 22vh; width: 52vw; transform: translate(50%, -40%); }
  .card { padding: 16px; }
  .ft-head { margin: -16px -16px 0; } .ft-when { display: none; }
  .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .stat .value { font-size: 32px; } .bag b { font-size: 44px; } .ft-big { font-size: 50px; } }

/* today's ranked round (shown only when the API is up) */
.daily { width: 100%; max-width: 620px !important; margin-top: 26px; }
.daily-big { margin: 12px 0 0; font: italic 900 34px/1 var(--cond); }
.daily .tower { margin-top: 12px; }
.daily .tower .r { grid-template-columns: 34px 1fr 64px 78px; }
.daily .tower .r .s { color: var(--muted); }
.daily .acts { margin-top: 16px; }

/* the hero's live line, $SNIPD's address and the holder card */
.liveline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.liveline i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(42, 157, 255, .2); animation: pulse 2s infinite; }
.liveline b { color: var(--ink); font-weight: 700; }
.liveline a { color: var(--acc); font-weight: 700; text-underline-offset: 3px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(42, 157, 255, .05); } }
.ca-big { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ca-big code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.4 ui-monospace, Consolas, monospace; padding: 10px 12px; border-radius: 10px; background: rgba(10, 11, 13, .6); border: 1px solid var(--line-2); }
.holder { margin-top: 14px; }
.holder-big { margin: 12px 0 0; font: italic 900 32px/1 var(--cond); }
.holder .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.holder .season { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.holder .season .r { grid-template-columns: 34px 1fr 48px 64px; }
.holder .season .w small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.holder .season .s { color: var(--muted); }
.pastlist { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pastlist .rounds { margin-top: 10px; max-width: none !important; }
.pastlist .rounds b { font-size: 24px; }
@media (prefers-reduced-motion: reduce) { .liveline i { animation: none; } }
