/* Historija BiH · offline stage stylesheet: local fonts, slide styles from the v2 deck, app shell. */

/* Local fonts (woff2, Google Fonts via @fontsource): latin + latin-ext (č ć đ š ž ä ö ü ß) + greek */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 900; font-display: block; src: url('../assets/fonts/fira-sans-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-latin-600-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-latin-700-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-latin-800-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 900; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-900-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-600-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-700-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-latin-ext-800-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-greek-400-normal.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-greek-600-normal.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-greek-700-normal.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-greek-800-normal.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 900; font-display: block; src: url('../assets/fonts/fira-sans-greek-900-normal.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: block; src: url('../assets/fonts/fira-sans-greek-400-italic.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 600; font-display: block; src: url('../assets/fonts/fira-sans-greek-600-italic.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 700; font-display: block; src: url('../assets/fonts/fira-sans-greek-700-italic.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 800; font-display: block; src: url('../assets/fonts/fira-sans-greek-800-italic.woff2') format('woff2'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/fonts/archivo-black-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/fonts/archivo-black-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ================================================================ slide styles (v2 deck) */
:root {
  --ink: #1D2433; --paper: #F6F1E4; --sky: #EAF1F4; --night: #1E2A4A; --dark: #16181D;
  --light: #F3EEE2; --muted: #5A6275; --muted-light: #B9C0CC; --blue: #1F4FA3;
  --yellow: #F5C518; --red: #C8402F;
}
body { font-family: 'Fira Sans', Arial, sans-serif; color: var(--ink); }
section.slide { padding: 128px 128px 160px; background: var(--paper); color: var(--ink); }
section.slide.paper { background: #F6F1E4; }
section.slide.sky { background: #EAF1F4; }
section.slide.night { background: #1E2A4A; color: #F3EEE2; }
section.slide.dark { background: #16181D; color: #F3EEE2; }
section.slide.ad { background: #141A2B; color: #F3EEE2; }

h1 { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-weight: 400; font-size: 120px; line-height: 1.02; color: #1D2433; margin: 0; }
h2 { font-family: 'Fira Sans', Arial, sans-serif; font-weight: 900; font-size: 72px; line-height: 1.05; color: #1D2433; margin: 0; letter-spacing: -1px; }
p { font-size: 32px; line-height: 1.3; margin: 0; }

.h1.light, .h2.light { color: #F3EEE2; }
.h2.boxed { background: #F6F1E4; border: 5px solid #1D2433; border-radius: 18px; padding: 8px 26px 12px; box-sizing: border-box; white-space: nowrap; }
.h1small { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 120px; line-height: 1.0; color: #C8402F; }
.sub { font-size: 56px; font-weight: 800; line-height: 1.1; color: #1F4FA3; }
.sub.light { color: #F5C518; }
.meta { font-size: 32px; font-weight: 600; color: #5A6275; }
.meta.light { color: #B9C0CC; }
.sponsorline { font-size: 28px; font-weight: 600; color: #5A6275; }

.body { font-size: 36px; line-height: 1.3; font-weight: 400; color: #1D2433; }
.body.light { color: #F3EEE2; }
.lead { font-size: 44px; line-height: 1.2; font-weight: 600; color: #1D2433; }
.lead.light { color: #F3EEE2; }
.lead.muted { color: #B9C0CC; font-weight: 600; }
.lead.strong { font-weight: 900; color: #1F4FA3; }
.lead.red { font-weight: 900; color: #C8402F; }
.lead.yellowtxt { color: #F5C518; font-weight: 800; }
.note { font-size: 34px; line-height: 1.3; font-style: italic; font-weight: 600; color: #C8402F; }
.small { font-size: 24px; line-height: 1.3; color: #5A6275; }
.small.light { color: #B9C0CC; }

.cap { font-size: 30px; line-height: 1.25; font-weight: 700; color: #1D2433; background: #F5C518; border: 4px solid #1D2433; padding: 10px 18px; box-sizing: border-box; }
.cap.white { background: #FFFFFF; }
.cap.dark { background: #1D2433; color: #F5C518; border-color: #F5C518; }
.cap.tag { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-weight: 400; font-size: 30px; letter-spacing: 2px; white-space: nowrap; text-align: center; padding: 6px 14px; }
.panelcap { font-size: 26px; line-height: 1.22; font-weight: 700; color: #1D2433; }
.bubble { font-size: 34px; line-height: 1.2; font-weight: 800; color: #1D2433; background: #FFFFFF; border: 5px solid #1D2433; border-radius: 30px; padding: 16px 24px; box-sizing: border-box; text-align: center; }
.bubble.big { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-weight: 400; font-size: 44px; }
.bubble.whisp { font-size: 26px; font-style: italic; font-weight: 600; color: #5A6275; }
.bubble.de { font-style: italic; }
.sfx { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 52px; line-height: 1.0; color: #C8402F; white-space: nowrap; transform: rotate(-8deg); }
.photocap { font-size: 24px; line-height: 1.2; font-weight: 700; color: #1D2433; text-align: center; }
.cardtag { font-size: 26px; font-weight: 800; letter-spacing: 3px; color: #5A6275; white-space: nowrap; }
.cardname { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 50px; line-height: 1.05; color: #1F4FA3; }
.revhead { font-size: 34px; font-weight: 900; color: #1D2433; white-space: nowrap; }
.revtext { font-size: 32px; line-height: 1.25; font-style: italic; font-weight: 600; color: #1D2433; }
.townsign { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 30px; line-height: 1.15; text-align: center; color: #1D2433; background: #F5C518; border: 5px solid #1D2433; border-radius: 10px; padding: 10px 14px; box-sizing: border-box; }
.wordchip { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 52px; line-height: 1.0; text-align: center; color: #1D2433; background: #FFFFFF; border: 5px solid #1D2433; border-radius: 18px; padding: 16px 10px; box-sizing: border-box; white-space: nowrap; }
.wordchip.de { background: #1D2433; color: #F5C518; }
.wordchip.bh { background: #F5C518; }
.citychip { font-size: 34px; font-weight: 900; text-align: center; color: #1D2433; background: #FFFFFF; border: 4px solid #1D2433; border-radius: 40px; padding: 10px 8px; box-sizing: border-box; white-space: nowrap; }
.sticky { font-size: 30px; line-height: 1.2; font-weight: 800; color: #1D2433; background: #FFE98A; padding: 14px 18px; box-sizing: border-box; transform: rotate(-3deg); }
.banner { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 46px; line-height: 1.1; text-align: center; color: #C8402F; }
.bigword { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 120px; line-height: 1.0; color: #1D2433; white-space: nowrap; }
.bigword.light { color: #F3EEE2; }
.bigword.mid { font-size: 76px; }
.reality { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 58px; line-height: 1.05; color: #F3EEE2; }
.reality.yellow { color: #F5C518; }

.bigdate { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 150px; line-height: 1.0; color: #F5C518; white-space: nowrap; }
.year { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 48px; line-height: 1.0; text-align: center; padding: 14px 18px; border: 5px solid #1D2433; border-radius: 16px; box-sizing: border-box; white-space: nowrap; transform: rotate(-3deg); background: #F5C518; color: #1D2433; animation: fadein .3s ease-out both, stampin .45s ease-out both; }
.year.stone { background: #CFC6B4; }
.year.black { background: #1D2433; color: #F5C518; border-color: #F5C518; }
.year.muted { background: #3A404D; color: #F3EEE2; border-color: #F3EEE2; }
.year.long { font-size: 40px; }

.quote { font-size: 44px; line-height: 1.2; font-weight: 800; font-style: italic; color: #1D2433; padding: 26px 34px; background: #FFFFFF; border: 5px solid #1D2433; border-radius: 28px; box-sizing: border-box; }
.bigquote { font-size: 54px; line-height: 1.2; font-weight: 800; font-style: italic; color: #F5C518; }
.greek { font-family: 'Fira Sans', Arial, sans-serif; font-size: 64px; font-weight: 800; color: #6A4C93; text-align: center; white-space: nowrap; }

.maplabel { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 56px; color: #1D2433; letter-spacing: 4px; white-space: nowrap; }
.maplabelsmall { font-size: 30px; font-weight: 800; color: #C8402F; font-style: italic; white-space: nowrap; }
.maplabelsmall.pill { color: #1D2433; text-align: right; background: rgba(255,255,255,0.9); border-radius: 10px; padding: 2px 10px; box-sizing: border-box; }
.sealabel { font-size: 30px; font-weight: 700; font-style: italic; color: #2F5F7F; white-space: nowrap; }
.label { font-size: 32px; font-weight: 800; text-align: center; color: #1D2433; }
.nametag { font-size: 28px; font-weight: 800; text-align: center; color: #1D2433; background: #FFFFFF; border: 4px solid #1D2433; border-radius: 14px; padding: 4px 12px; box-sizing: border-box; white-space: nowrap; }
.legend { font-size: 24px; line-height: 1.35; font-weight: 600; color: #1D2433; background: rgba(246,241,228,0.94); border: 3px solid #1D2433; border-radius: 12px; padding: 8px 14px; box-sizing: border-box; }

.chip { font-size: 34px; font-weight: 800; text-align: center; padding: 8px 12px; background: #FFFFFF; border: 4px solid #1D2433; border-radius: 40px; box-sizing: border-box; white-space: nowrap; color: #1D2433; }
.sticker { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 44px; text-align: center; padding: 12px 18px; background: #FFFFFF; color: #C8402F; border: 5px solid #C8402F; border-radius: 14px; box-sizing: border-box; white-space: nowrap; transform: rotate(-8deg); }
.stamp { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 40px; line-height: 1.1; text-align: center; padding: 8px 14px; color: #C8402F; border: 6px solid #C8402F; border-radius: 10px; box-sizing: border-box; white-space: nowrap; transform: rotate(-10deg); background: #FFF8E8; }
.stamp.big { font-size: 56px; }
.plate { font-family: 'Fira Sans', Arial, sans-serif; font-size: 32px; font-weight: 900; text-align: center; padding: 2px 8px; background: #FFFFFF; border: 4px solid #1D2433; border-radius: 6px; box-sizing: border-box; white-space: nowrap; color: #1D2433; }
.boothsign { font-size: 30px; font-weight: 900; text-align: center; color: #1D2433; letter-spacing: 3px; white-space: nowrap; }
.cakelabel { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 34px; text-align: center; color: #C8402F; white-space: nowrap; }
.ledgerlabel { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 30px; color: #1D2433; white-space: nowrap; }
.ledgerlabel.hi { color: #C8402F; }
.titlescroll { font-size: 40px; line-height: 1.3; font-weight: 700; font-style: italic; color: #1D2433; }
.streetsign { font-size: 40px; font-weight: 800; text-align: center; padding: 12px 20px; background: #24459A; color: #FFFFFF; border: 6px solid #FFFFFF; border-radius: 10px; box-sizing: border-box; white-space: nowrap; }
.placecard { font-size: 22px; font-weight: 800; text-align: center; color: #1D2433; white-space: nowrap; letter-spacing: 0.5px; }
.banlabel { font-size: 28px; font-weight: 900; text-align: right; color: #1D2433; white-space: nowrap; }
.banlabel.left { text-align: left; }
.dominolabel { font-size: 26px; font-weight: 800; text-align: center; color: #1D2433; white-space: nowrap; }
.barlabel { font-size: 32px; font-weight: 800; color: #1D2433; white-space: nowrap; }
.barlabel.light { color: #FFFFFF; }
.box { font-size: 32px; font-weight: 800; text-align: center; padding: 20px 14px; background: #FFFFFF; border: 5px solid #1D2433; border-radius: 22px; box-sizing: border-box; color: #1D2433; }
.box.blue { background: #1F4FA3; color: #FFFFFF; white-space: nowrap; }
.signlabel { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 28px; text-align: center; color: #C8402F; white-space: nowrap; }

.toneshift { font-size: 72px; font-weight: 900; text-align: center; color: #F3EEE2; }
.bignum { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 140px; line-height: 1.0; color: #F3EEE2; white-space: nowrap; }
.bignum.dark { color: #1D2433; }
.bignum.red { color: #C8402F; }
.bignum.mid { font-size: 96px; }

.adbadge { font-size: 28px; font-weight: 900; letter-spacing: 3px; text-align: center; padding: 8px 14px; background: #F5C518; color: #1D2433; border-radius: 10px; box-sizing: border-box; white-space: nowrap; }
.brand { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 96px; line-height: 1.0; color: #FFFFFF; white-space: nowrap; }
.brand.long { font-size: 80px; }
.skip { font-size: 30px; font-weight: 700; text-align: center; padding: 14px 18px; color: #FFFFFF; background: #3A404D; border: 3px solid #8C93A3; border-radius: 10px; box-sizing: border-box; white-space: nowrap; }

.sptag { font-size: 30px; font-weight: 800; letter-spacing: 2px; color: #5A6275; white-space: nowrap; }
.spname { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-size: 64px; line-height: 1.1; color: #1F4FA3; }
.src { font-size: 24px; line-height: 1.25; color: #1D2433; }

/* motion on arrival */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes popin { from { transform: scale(.72); } to { transform: scale(1); } }
@keyframes stampin { from { transform: rotate(-3deg) scale(1.5); } to { transform: rotate(-3deg) scale(1); } }
@keyframes bob { from { transform: translateY(0px); } to { transform: translateY(-14px); } }

/* click steps */

/* ================================================================ app shell (stage, overlay, motion helpers) */
html, body { margin: 0; height: 100%; background: #111; overflow: hidden; }
body.stage-page.idle, body.stage-page.idle * { cursor: none !important; }
#viewport { position: fixed; inset: 0; background: #111; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform-origin: 50% 50%; overflow: hidden; background: #111;
  font-family: 'Fira Sans', Arial, sans-serif; color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
}
.stage .shake { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.stage section.slide {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; margin: 0;
  box-sizing: border-box; overflow: hidden;
}
.stage section.slide p, .stage section.slide h1, .stage section.slide h2 { margin: 0; text-wrap: pretty; }

/* GSAP owns every click state: no CSS transitions on fragments */
.slide .fragment { transition: none !important; animation: none !important; }
.slide .stamp.fragment { transform: rotate(-10deg); }
.slide .sticker.fragment { transform: rotate(-8deg); }
.slide .sfx.fragment { transform: rotate(-8deg); }
.slide .sticky.fragment { transform: rotate(-3deg); }
.slide .pop, .slide .bob { animation: none !important; }

/* character art may move outside its box; cropped scenes (maps, panels) stay cropped */
.slide > div:not(.crop):not(.clip) > svg { overflow: visible; }
.slide > div.free:not(.clip) > svg { overflow: visible; }
.slide > div.clip > svg { overflow: hidden; }

/* spawned helpers */
.slide .bang {
  position: absolute; width: 80px; text-align: center; font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: 84px; line-height: 1; color: #C8402F; -webkit-text-stroke: 3px #1D2433; pointer-events: none;
}
.slide .fxlayer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; overflow: hidden; }
.slide .shimmer { mix-blend-mode: screen; }

/* ================================================================ start overlay */
#start-overlay {
  position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; background: radial-gradient(ellipse at center, #1E2A4A 0%, #0B0E15 75%); color: #F3EEE2;
  font-family: 'Fira Sans', Arial, sans-serif; text-align: center;
}
#start-overlay .kicker { font: 700 18px 'Fira Sans', Arial, sans-serif; letter-spacing: 4px; color: #F5C518; text-transform: uppercase; }
#start-overlay h1 { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-size: 52px; margin: 0; font-weight: 400; }
#start-btn {
  font: 700 30px 'Fira Sans', Arial, sans-serif; padding: 22px 48px; border-radius: 18px; border: 0;
  background: #F5C518; color: #1D2433; cursor: pointer; box-shadow: 0 10px 0 #B38A00;
}
#start-btn:disabled { opacity: .5; cursor: wait; }
#start-btn:focus-visible, #chime-btn:focus-visible { outline: 4px solid #7EC8F0; outline-offset: 4px; }
#chime-btn {
  font: 600 20px 'Fira Sans', Arial, sans-serif; background: transparent; color: #B9C0CC;
  border: 2px solid #3A4356; border-radius: 12px; padding: 10px 20px; cursor: pointer;
}
#start-overlay .keys { font-size: 18px; color: #8C93A3; line-height: 1.6; }
#start-overlay kbd {
  font: 700 16px 'Fira Sans', Arial, sans-serif; background: #232B3D; border: 1px solid #3A4356; border-bottom-width: 3px;
  border-radius: 6px; padding: 2px 8px; color: #F3EEE2;
}
#start-warn { color: #F5C518; font-size: 18px; max-width: 980px; min-height: 1em; }
