/* TRISON Advent Calendar 2026
   Palette from the TRISON brand book only: black/white, Full Spectrum Blue ramp,
   Soft Periwinkle ramp, Warm Honey for warm lights. Montserrat throughout.
   Everything is laid out on a fixed 1080 x 1920 stage that is scaled to fit. */

@font-face {
  font-family: 'Montserrat';
  src: url('/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --grey-900: #131313;
  --grey-800: #222222;
  --grey-700: #303030;
  --grey-500: #838383;
  --grey-300: #D2D2D2;
  --blue: #2C5FF6;
  --blue-300: #6C8FF9;
  --blue-200: #A2B8FB;
  --blue-600: #254FCB;
  --blue-700: #1D3E9F;
  --blue-800: #152D74;
  --blue-900: #0D1C49;
  --blue-950: #070F27;
  --peri: #9F83E7;
  --peri-300: #BDA9EF;
  --honey: #FBBF3C;
  --honey-200: #FDE3AA;
  --honey-100: #FEF0D2;
  --success: #49DF7B;
  --error: #FF0A2B;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden;
  background: var(--blue-950);
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
  overscroll-behavior: none;
}
body { background: radial-gradient(120% 70% at 70% 0%, var(--blue-800) 0%, var(--blue-900) 40%, var(--blue-950) 70%, var(--black) 100%); }
button { font-family: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1080px; height: var(--stage-h, 1920px);
  overflow: hidden; background: #010729;
}
/* Header, building and windows live in a fixed 1920 px block, centred on tall phones. */
.main { position: absolute; left: 0; right: 0; top: calc((var(--stage-h, 1920px) - 1920px)); height: 1920px; }

/* ---------- Background ---------- */
.bg {
  position: absolute; inset: 0;
  background: #010729 url('/bg.jpg') center bottom / 1080px 1920px no-repeat;
}
#snow { position: absolute; inset: 0; pointer-events: none; }
.flake { position: absolute; top: -60px; border-radius: 50%; background: #F0F4FE; will-change: transform; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(var(--dx), calc(var(--stage-h, 1920px) + 120px), 0); } }

/* ---------- Header ---------- */
.top { position: absolute; left: 0; right: 0; top: 92px; text-align: center; }
.top .logo { width: 230px; height: auto; display: block; margin: 0 auto 34px; }
.top h1 { margin: 0; font-weight: 600; font-size: 58px; line-height: 1.1; letter-spacing: -.5px; }
.top p { margin: 14px 0 0; font-size: 28px; font-weight: 400; color: var(--peri-300); }

/* ---------- Panel ---------- */
.panel { position: absolute; left: 124px; width: 832px; top: 384px; height: 1064px; }
.windows {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(10, 1fr);
  gap: 16px;
}
.win { position: relative; border: 0; padding: 0; background: none; perspective: 1000px; border-radius: 12px; }
.win .inside {
  position: absolute; inset: 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #D4C7F5, #BDA9EF 55%, #9F83E7);
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s;
}
.win.open .inside { opacity: 1; }
.win .inside svg { width: 54px; height: 54px; fill: var(--blue-950); opacity: .9; }
.win.big .inside svg { width: 96px; height: 96px; }
.win .mini { position: absolute; left: 14px; top: 8px; font-size: 24px; font-weight: 700; color: var(--blue-950); opacity: 0; transition: opacity .4s .4s; pointer-events: none; z-index: 1; }
.win.big .mini { font-size: 32px; left: 18px; top: 12px; }
.win.open .mini { opacity: .9; }
.win .door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(165deg, rgba(21,45,116,.92), rgba(7,15,39,.96));
  border: 1.5px solid rgba(108,143,249,.55);
  transition: transform .9s cubic-bezier(.3,.7,.2,1.03);
  backface-visibility: hidden;
}
.win .door.l { left: 0; border-radius: 12px 0 0 12px; transform-origin: left center; border-right: 0; }
.win .door.r { right: 0; border-radius: 0 12px 12px 0; transform-origin: right center; border-left: 0; }
.win .num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 50px; font-weight: 500; pointer-events: none; transition: opacity .4s;
}
.win.big .num { font-size: 84px; }
.win.future .num { color: rgba(255,255,255,.82); }
.win.open .door.l { transform: rotateY(-105deg); }
.win.open .door.r { transform: rotateY(105deg); }
.win.open .num { opacity: 0; }
.win.today { z-index: 2; }
.win.today .door { border-color: #E8E1F9; border-width: 2.5px; background: linear-gradient(165deg, rgba(37,79,203,.95), rgba(13,28,73,.96)); }
.win.today::before {
  content: ''; position: absolute; inset: -6px; border-radius: 16px;
  box-shadow: 0 0 0 2px rgba(232,225,249,.9), 0 0 50px 6px rgba(159,131,231,.85);
  animation: pulse 2s ease-in-out infinite; pointer-events: none;
}
.win.today.open::before { display: none; }
.win.today .tag {
  position: absolute; left: 50%; top: -20px; transform: translateX(-50%); z-index: 3;
  background: var(--white); color: var(--blue-950); font-size: 19px; font-weight: 700;
  letter-spacing: 2px; padding: 5px 14px; border-radius: 40px; white-space: nowrap;
}
.win.today.open .tag { display: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.win.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }

/* ---------- Footer ---------- */
.bottom {
  position: absolute; left: 0; right: 0; top: calc((var(--stage-h, 1920px) - 1920px) + 1478px); height: 120px;
  display: flex; align-items: center; justify-content: flex-start; padding-left: 124px; gap: 20px; z-index: 5;
}
.take-away {
  display: flex; align-items: center; gap: 22px; padding: 14px 26px 14px 14px;
  background: rgba(1,7,41,.82); border: 1px solid rgba(189,169,239,.45); border-radius: 16px;
}
.take-away strong { display: block; font-size: 26px; font-weight: 600; }
.take-away span { display: block; font-size: 20px; color: var(--peri-300); max-width: 330px; }
.qr { background: var(--white); border-radius: 8px; padding: 8px; line-height: 0; }
.qr svg, .qr img { width: 96px; height: 96px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 76px; padding: 0 26px;
  background: rgba(1,7,41,.82); border: 1px solid rgba(189,169,239,.45); border-radius: 40px;
  font-size: 24px; font-weight: 600;
}
.ic { width: 34px; height: 34px; fill: currentColor; }
body.kiosk .mobile-only, body:not(.kiosk) .kiosk-only { display: none !important; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; left: 50%; top: 380px; transform: translate(-50%, -20px); z-index: 30;
  background: var(--white); color: var(--blue-950); font-size: 30px; font-weight: 600;
  padding: 22px 36px; border-radius: 60px; opacity: 0; pointer-events: none; transition: .35s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Modal ---------- */
.modal {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(7,15,39,.88);
  display: flex; align-items: center; justify-content: center;
  animation: fadein .35s;
}
@keyframes fadein { from { opacity: 0; } }
.sheet {
  width: 960px; max-height: 1680px; display: flex; flex-direction: column;
  background: var(--grey-900); border: 1px solid var(--grey-700); border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(44,95,246,.15);
  animation: focusin .5s cubic-bezier(.2,.8,.2,1.03);
  overflow: hidden;
}
@keyframes focusin { from { opacity: 0; filter: blur(8px); transform: translateY(24px); } }
.sheet.small { width: 820px; padding: 64px; text-align: center; }
.sheet.small h2 { font-size: 48px; font-weight: 600; margin: 0 0 18px; }
.sheet.small p { font-size: 28px; color: var(--grey-300); margin: 0 0 40px; line-height: 1.45; }
.choice { display: grid; gap: 22px; margin-top: 36px; }
.choice button, .btn {
  height: 112px; border-radius: 12px; border: 1px solid var(--grey-500); background: var(--grey-800);
  font-size: 34px; font-weight: 600; padding: 0 40px;
}
.choice button:active, .btn:active { transform: scale(.98); }
.btn.primary { background: var(--blue); border-color: var(--blue); }
.btn.ghost { background: none; }
.btn.small { height: 84px; font-size: 28px; }

.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 52px 56px 28px; border-bottom: 1px solid var(--grey-700); }
.eyebrow { font-size: 22px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-300); }
.sheet-head h2 { margin: 10px 0 0; font-size: 54px; line-height: 1.12; font-weight: 600; }
.round { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--grey-500); background: var(--grey-800); display: grid; place-items: center; }
.round .ic { width: 44px; height: 44px; }
.sheet-body { padding: 40px 56px 48px; overflow-y: auto; font-size: 32px; line-height: 1.45; -webkit-user-select: text; user-select: text; }
.sheet-body .intro { color: var(--grey-300); margin: 0 0 36px; }
.sheet-body h3 { font-size: 36px; font-weight: 600; margin: 40px 0 18px; }
.sheet-body ul, .sheet-body ol { margin: 0; padding-left: 44px; }
.sheet-body li { margin-bottom: 14px; }
.sheet-body li::marker { color: var(--blue-300); font-weight: 700; }
.sheet-body p { margin: 0 0 26px; }
.sheet-prize:empty, .sheet-timer:empty { display: none; }
.sheet-prize { padding: 36px 56px 48px; border-top: 1px solid var(--grey-700); background: linear-gradient(180deg, rgba(44,95,246,.12), rgba(44,95,246,0)); }
.sheet-timer { padding: 0 56px 26px; font-size: 22px; color: var(--grey-500); text-align: center; }

/* Prize panel */
.prize-cta { display: flex; align-items: center; gap: 30px; }
.prize-cta p { margin: 0; flex: 1; font-size: 28px; line-height: 1.4; color: var(--grey-300); }
.prize-cta p strong { display: block; color: var(--white); font-size: 34px; }
.prize-result { text-align: center; }
.prize-result .big-ic { width: 120px; height: 120px; fill: var(--honey); filter: drop-shadow(0 0 24px rgba(251,191,60,.6)); }
.prize-result.lose .big-ic { fill: var(--blue-300); filter: none; }
.prize-result h3 { font-size: 44px; margin: 14px 0 12px; }
.prize-result p { font-size: 28px; color: var(--grey-300); margin: 0 0 20px; line-height: 1.45; }
.code { display: inline-block; font-size: 58px; font-weight: 700; letter-spacing: 6px; padding: 16px 40px; border: 2px dashed var(--honey); border-radius: 12px; margin: 6px 0 22px; color: var(--honey-100); -webkit-user-select: all; user-select: all; }
.prize-result .qr { display: inline-block; margin-top: 8px; }
.prize-result .qr svg { width: 220px; height: 220px; }

/* ---------- Games ---------- */
.game-meta { display: flex; justify-content: space-between; align-items: center; font-size: 28px; color: var(--grey-300); margin-bottom: 26px; }
.game-meta b { color: var(--white); }
.done-msg { text-align: center; padding: 30px 0 10px; }
.done-msg h3 { margin: 0 0 10px; font-size: 46px; }
.done-msg p { color: var(--grey-300); margin: 0 0 30px; }

.memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { aspect-ratio: 1; perspective: 800px; border: 0; padding: 0; background: none; }
.card .in { position: relative; width: 100%; height: 100%; transition: transform .45s; transform-style: preserve-3d; }
.card.flip .in { transform: rotateY(180deg); }
.card .f, .card .b { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; display: grid; place-items: center; }
.card .f { background: linear-gradient(150deg, var(--blue), var(--blue-800)); border: 1px solid var(--blue-300); }
.card .f::after { content: ''; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, #fff 0, var(--blue-200) 30%, transparent 70%); }
.card .b { background: var(--white); transform: rotateY(180deg); }
.card .b svg { width: 54%; height: 54%; fill: var(--blue); }
.card.ok .b { background: var(--honey-100); }
.card.ok .b svg { fill: #A07A27; }

.q-text { font-size: 38px; font-weight: 600; line-height: 1.3; margin: 0 0 34px; }
.q-text.emoji { font-size: 110px; text-align: center; letter-spacing: 12px; line-height: 1.2; }
.opts { display: grid; gap: 18px; }
.opt { text-align: left; min-height: 104px; padding: 20px 34px; border-radius: 12px; border: 1px solid var(--grey-500); background: var(--grey-800); font-size: 32px; font-weight: 500; }
.opt.right { background: rgba(73,223,123,.16); border-color: var(--success); }
.opt.wrong { background: rgba(255,10,43,.14); border-color: var(--error); }
.q-note { margin: 26px 0 0; padding: 22px 28px; border-left: 4px solid var(--blue); background: rgba(44,95,246,.1); border-radius: 0 8px 8px 0; font-size: 28px; color: var(--grey-300); }
.q-next { margin-top: 30px; width: 100%; }

.canvas-wrap { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--grey-700); touch-action: none; }
.canvas-wrap canvas { display: block; width: 100%; touch-action: none; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,15,39,.75); text-align: center; padding: 40px; }

.ws { display: grid; gap: 6px; touch-action: none; background: var(--grey-800); padding: 14px; border-radius: 12px; }
.ws span { aspect-ratio: 1; display: grid; place-items: center; font-size: 38px; font-weight: 600; border-radius: 8px; }
.ws span.sel { background: var(--blue-300); color: var(--blue-950); }
.ws span.found { background: var(--blue); }
.ws-words { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 28px; font-size: 28px; font-weight: 600; }
.ws-words s { color: var(--grey-500); }

.slide { position: relative; width: 780px; height: 780px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: var(--grey-800); }
.tile { position: absolute; width: 260px; height: 260px; border: 2px solid var(--grey-900); border-radius: 10px; background-size: 780px 780px; transition: left .2s, top .2s; padding: 0; }
.tile i { position: absolute; left: 12px; top: 8px; font-style: normal; font-size: 24px; font-weight: 700; color: rgba(255,255,255,.7); }

.songs { counter-reset: s; list-style: none; padding: 0 !important; }
.songs li { display: flex; gap: 26px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--grey-700); margin: 0 !important; }
.songs li::before { counter-increment: s; content: counter(s, decimal-leading-zero); color: var(--blue-300); font-weight: 700; font-size: 26px; min-width: 44px; }
.songs b { font-weight: 600; }
.songs span { display: block; color: var(--grey-500); font-size: 26px; }

.head-ic { width: 96px; height: 96px; fill: var(--blue-300); margin-bottom: 10px; }
.pending { text-align: center; padding: 60px 0; color: var(--grey-300); }
a.btn { color: var(--white); justify-content: center; }

/* ---------- Ranking ---------- */
.rank-box { text-align: left; margin: 30px 0 10px; padding: 30px 34px; border: 1px solid var(--grey-700); border-radius: 12px; background: rgba(159,131,231,.08); }
.rank-h { display: flex; align-items: center; gap: 14px; margin: 0 0 18px !important; font-size: 34px; }
.rank-h .ic { fill: var(--honey); width: 40px; height: 40px; }
.rank { list-style: none; padding: 0 !important; margin: 0; counter-reset: r; }
.rank li { display: flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--grey-700); margin: 0 !important; font-size: 28px; }
.rank li::before { counter-increment: r; content: counter(r); width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grey-800); font-weight: 700; font-size: 22px; }
.rank li:nth-child(1)::before { background: var(--honey); color: #453511; }
.rank li span { flex: 1; font-weight: 600; }
.rank li b { color: var(--grey-300); font-weight: 500; }
.rank li.me { color: var(--peri-300); }
.rank-empty, .rank-as, .rank-ask { color: var(--grey-300); font-size: 26px; margin: 0 0 18px !important; }
.rank-err { color: var(--error); font-size: 24px; min-height: 30px; margin: 8px 0 !important; }
.linkish { background: none; border: 0; color: var(--peri-300); text-decoration: underline; font-size: inherit; padding: 0; }
.name-row { display: flex; gap: 16px; }
.name-in { flex: 1; min-width: 0; height: 84px; border-radius: 12px; border: 1px solid var(--grey-500); background: var(--grey-800); color: var(--white); font: 600 34px Montserrat, Arial; padding: 0 24px; -webkit-user-select: text; user-select: text; }
.kbd { display: grid; gap: 10px; margin: 14px 0 20px; }
.kbd div { display: flex; gap: 8px; justify-content: center; }
.kbd button { width: 74px; height: 74px; border-radius: 10px; border: 1px solid var(--grey-700); background: var(--grey-800); font-size: 28px; font-weight: 600; }
.kbd button:active { background: var(--blue); }
.kbd button.wide { width: 120px; }
.kbd button.space { width: 420px; }
.skip { width: 100%; }

/* ---------- Recipe, playlist, video, spot the difference ---------- */
.chips { display: flex; gap: 16px; margin: 0 0 10px; }
.chips button { height: 72px; padding: 0 30px; border-radius: 40px; border: 1px solid var(--grey-500); background: none; font-size: 26px; font-weight: 600; }
.chips button.on { background: var(--peri); border-color: var(--peri); color: var(--blue-950); }
.take-qr { display: flex; align-items: center; gap: 26px; margin-top: 36px; padding: 22px; border: 1px solid var(--grey-700); border-radius: 12px; }
.take-qr p { margin: 0; font-size: 28px; font-weight: 600; }
.take-qr .qr svg { width: 150px; height: 150px; }
.songs li { justify-content: space-between; }
.songs li > div { flex: 1; }
.sp { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.sp .ic { fill: #fff; }
a.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.vid { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.vid video { display: block; width: 100%; }
.vid.vertical { width: 700px; margin: 0 auto; }
.sound-hint { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; height: 76px; padding: 0 30px; border-radius: 40px; border: 0; background: var(--white); color: var(--blue-950); font-size: 26px; font-weight: 600; }
.sound-hint .ic { fill: var(--blue-950); }
.sd { display: grid; gap: 18px; }
.sd svg { display: block; width: 100%; border-radius: 12px; }
.sd-b { cursor: pointer; touch-action: manipulation; }
.sd circle.ok { stroke: var(--success); }
.sd circle.miss { stroke: var(--error); }
.rank-pos { margin: 0 0 18px !important; padding: 16px 22px; border-radius: 10px; background: rgba(251,191,60,.14); color: var(--honey-100); font-size: 28px; font-weight: 600; }
/* Downloads */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dl { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--grey-700); border-radius: 12px; text-align: center; }
.dl img { width: 100%; height: auto; border-radius: 8px; background: #000; }
.dl b { font-size: 28px; }
.dl span { font-size: 22px; color: var(--grey-300); }
.dl .qr svg { width: 170px; height: 170px; }
/* Postcard */
.pc-canvas { width: 100%; border-radius: 12px; display: block; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.pc-label { font-size: 24px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--peri-300); margin: 30px 0 14px !important; }
.pc-bgs { display: flex; gap: 18px; }
.pc-bgs button { width: 200px; height: 134px; border-radius: 10px; border: 3px solid transparent; background-size: cover; background-position: center; }
.pc-bgs button.on { border-color: var(--peri-300); }
.pc-form { display: grid; gap: 16px; margin-top: 26px; }
.pc-form label { display: grid; gap: 8px; font-size: 24px; color: var(--grey-300); }
.pc-form input { height: 80px; border-radius: 12px; border: 1px solid var(--grey-500); background: var(--grey-800); color: var(--white); font: 500 30px Montserrat, Arial; padding: 0 22px; -webkit-user-select: text; user-select: text; }
.pc-form input.on { border-color: var(--peri-300); box-shadow: 0 0 0 2px rgba(189,169,239,.4); }
.pc-actions { margin-top: 24px; }
.pc-actions .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.btn .ic { fill: currentColor; width: 34px; height: 34px; }
/* Fog */
.fog { touch-action: none; }
.fog canvas { touch-action: none; }
/* Sweater */
.sw-preview { width: 560px; margin: 0 auto 10px; }
.sw-preview svg, .sw-preview img, .sw-thumb svg, .sw-thumb img { display: block; width: 100%; height: auto; }
.sw-preview.small { width: 360px; }
.sw-row { display: flex; flex-wrap: wrap; gap: 14px; }
.sw-colors button { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--grey-700); }
.sw-colors button.on, .sw-motifs button.on { border-color: var(--white); box-shadow: 0 0 0 3px var(--peri); }
.sw-motifs button { width: 84px; height: 84px; border-radius: 12px; border: 1px solid var(--grey-500); background: var(--grey-800); display: grid; place-items: center; }
.sw-motifs .ic { width: 46px; height: 46px; }
.sw-add { width: 100%; margin-top: 34px; }
.sw-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.sw-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sw-card { position: relative; border: 1px solid var(--grey-700); border-radius: 12px; padding: 12px; background: rgba(13,28,73,.4); }
.sw-card.mine { border-color: var(--peri-300); }
.sw-card button { width: 100%; height: 64px; margin-top: 8px; border-radius: 10px; border: 1px solid var(--grey-500); background: var(--grey-800); font-size: 22px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sw-card button .ic { width: 28px; height: 28px; fill: var(--peri-300); }
.sw-card.voted button { background: var(--peri); color: var(--blue-950); border-color: var(--peri); }
.sw-card.voted button .ic { fill: var(--blue-950); }
.sw-tag { position: absolute; left: 10px; top: 10px; background: var(--peri-300); color: var(--blue-950); font-size: 18px; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 1; }
.sw-crown { position: absolute; right: 10px; top: 8px; z-index: 1; }
.sw-crown .ic { width: 40px; height: 40px; fill: var(--honey); }
.eyebrow-s { margin: 0 0 6px !important; font-size: 20px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-300); }
.sw-votes { margin: 8px 0 0 !important; text-align: center; font-size: 22px; font-weight: 600; color: var(--peri-300); }
#btn-ranks .ic { fill: var(--honey); }
.sw-motifs button { width: auto; height: auto; padding: 10px; flex-direction: column; gap: 6px; display: flex; align-items: center; min-width: 190px; }
.sw-motifs button img { width: 72px; height: 72px; }
.sw-motifs button span { font-size: 18px; font-weight: 600; }
.sw-colors button[data-c="azul-profundo"] { border-color: var(--grey-500); }
.sw-preview img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
