
.st-stage { position: relative; display: grid; gap: 14px; padding: 24px 20px; border: var(--outline); border-radius: 24px; background: var(--surface); box-shadow: var(--hard); }
.st-stage > .sample { position: absolute; right: 14px; top: 12px; }
.st-say { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; }
.st-say img.char { height: 120px; width: auto; }
.st-bubble { position: relative; margin: 0 0 30px; padding: 14px 16px; border: 2.5px solid var(--ink); border-radius: 18px 18px 18px 4px; background: var(--sun); color: var(--fixed-ink); font: 800 1.35rem/1.1 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.02em; box-shadow: 3px 3px 0 var(--shadow); }
.st-bubble small { display: block; margin-top: 6px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #5B3A2E; }
.st-bubble.small { font-size: 1.05rem; margin: 6px 0 0; }
.st-react { display: flex; gap: 8px; flex-wrap: wrap; }
.st-react span { font: 700 15px/1 var(--body); padding: 11px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--field); }
.st-react span.on { background: var(--sun); color: var(--fixed-ink); border-color: var(--fixed-ink); box-shadow: 2px 2px 0 var(--fixed-ink); }

.st-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 44px; align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-top: 1.5px solid var(--stone); }
.st-row:first-of-type { border-top: 0; }
.st-row.flip .st-copy { order: 2; }
.st-copy h3 { margin: 10px 0 8px; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.03em; }
.st-copy p { margin: 0; color: var(--brown); font-size: 1.02rem; }
.st-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--fixed-ink); background: var(--sun); color: var(--fixed-ink); font: 800 1.2rem/1 var(--display); }
.st-vis { position: relative; padding: 18px; display: grid; gap: 12px; min-height: 220px; align-content: start; }
.st-vis > .sample { justify-self: end; }

.st-browser { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 12px 12px 0 0; background: var(--field); }
.st-dots { display: flex; gap: 5px; } .st-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.st-url { flex: 1; min-width: 0; font: 400 12px/1 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-page { margin-top: -12px; padding: 22px 20px; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; background: linear-gradient(135deg, #FFF1BF, #FBE0CF); color: var(--fixed-ink); display: grid; gap: 8px; }
.st-ph1 { margin: 0; font: 800 1.8rem/1 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.03em; }
.st-ph2 { margin: 0; font-weight: 700; }
.st-pbtn { justify-self: start; padding: 8px 14px; border-radius: 999px; background: #C4552A; color: #FFF8EE; font-weight: 700; border: 2px solid #17120F; }
.st-plines { display: grid; gap: 6px; margin-top: 6px; } .st-plines i { height: 8px; border-radius: 4px; background: rgba(23, 18, 15, .18); }

.st-diff { margin: 0; padding: 18px; border: 2px solid var(--ink); border-radius: 12px; background: var(--field); font-size: 1.15rem; line-height: 1.6; }
.st-diff del { color: #7A2410; background: #F6D5CC; text-decoration-thickness: 2px; padding: 0 3px; border-radius: 3px; }
.st-diff ins { color: #24361A; background: #DCE8C9; text-decoration: none; padding: 0 3px; border-radius: 3px; }

.st-ch-h { margin: 0; font-weight: 750; }
.st-chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; height: 170px; padding: 0 6px; border-bottom: 2.5px solid var(--ink); }
.st-chart span { position: relative; display: grid; align-content: start; justify-items: center; height: var(--h); border: 2.5px solid var(--fixed-ink); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--brand); }
.st-chart b { margin-top: -26px; font: 800 1.1rem/1 var(--display); }
.st-chart i { position: absolute; bottom: -24px; font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; }
.st-chart + .sample { margin-top: 18px; }

.st-print { justify-items: start; }
.st-paper { width: 100%; padding: 18px 20px; background: #FFFFFF; color: #17120F; border: 2px solid #17120F; border-radius: 6px; box-shadow: 6px 6px 0 rgba(23, 18, 15, .15); }
.st-doc-h { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #17120F; font: 800 1.3rem/1.05 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; }
.st-doc-h small { display: block; margin-top: 4px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #6B645B; }
.st-paper ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.st-paper b { font-family: var(--mono); margin-right: 6px; }
.st-print .sample { justify-self: end; }

.st-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-gal span { position: relative; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 12px; overflow: hidden; }
.st-gal .g1 { background: linear-gradient(160deg, #FFD23F 0 55%, #C4552A 55%); }
.st-gal .g2 { background: radial-gradient(circle at 50% 40%, #FFF8EE 0 22%, transparent 23%), linear-gradient(160deg, #2E6B3A, #4E5B31); }
.st-gal .g3 { background: repeating-linear-gradient(45deg, #FBE0CF 0 14px, #F2B9A0 14px 28px); }
.st-gal span.picked { outline: 4px solid var(--sun); outline-offset: 3px; }
.st-gal span.picked::after { content: "✓"; position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--fixed-ink); border: 2px solid var(--fixed-ink); font-weight: 800; }
.st-fine { margin: 0; color: var(--muted); font-size: .9rem; }

.st-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.st-split .check-list b { color: var(--ink); }
.st-score { padding: 20px; display: grid; gap: 12px; }
.st-sc-top { display: flex; align-items: center; gap: 10px; }
.st-sc-top img { height: 48px; width: auto; }
.st-sc-top b { flex: 1; font: 800 1.3rem/1 var(--display); }
.st-streak, .st-level, .st-ser { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 650; }
.st-sw { display: inline-block; position: relative; width: 36px; height: 22px; border-radius: 99px; border: 2px solid var(--ink); background: var(--field); }
.st-sw i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }

.st-safe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-safe .card { padding: 20px; }
.st-safe h3 { margin: 10px 0 6px; font: 800 1.3rem/1.05 var(--display); font-variation-settings: "wdth" 84; font-stretch: 84%; letter-spacing: -.02em; }
.st-safe p { margin: 0; color: var(--brown); }

@media (max-width: 1000px) {
  .st-row, .st-row.flip, .st-split { grid-template-columns: minmax(0, 1fr); }
  .st-row.flip .st-copy { order: 0; }
  .st-safe { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .st-say img.char { height: 90px; }
  .st-bubble { font-size: 1.1rem; }
  .st-ph1 { font-size: 1.4rem; }
  .st-chart { height: 140px; gap: 8px; }
  .st-diff { font-size: 1rem; }
}
