/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Countdown Timer */
#app [hidden] { display: none !important; }
.ct-flash { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #DDF5E8; color: #14532D; font-weight: 600; }
/* The big display */
.ct-hero { container-type: inline-size; position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px 20px; border-radius: var(--card-radius); background: radial-gradient(120% 90% at 50% 0%, #22345A, #0E1830 70%); color: #FFFFFF; text-align: center; overflow: hidden; }
.ct-hero-name { margin: 0; font: 800 clamp(18px, 3vw, 24px)/1.25 var(--font-display); color: #FFE066; overflow-wrap: anywhere; }
.ct-hero[data-state="empty"] .ct-hero-name { color: rgba(255,255,255,.7); font-weight: 600; }
.ct-flip { --w: clamp(28px, var(--cw, 8.6cqi), var(--cmax, 74px)); --h: calc(var(--w) * 1.42); display: flex; align-items: flex-start; justify-content: center; gap: clamp(3px, 1.2cqi, 12px); margin: 6px 0 2px; max-width: 100%; }
.ct-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ct-cards { display: flex; gap: clamp(3px, .8vw, 6px); }
/* Split-flap digits: the top half of the old number hinges down from the middle, then the bottom half of the new one settles into place */
.ct-card { --top: var(--ct-top, #2A3958); --bot: var(--ct-bot, #1E2A45); --r: var(--ct-r, 10px);
  position: relative; display: block; width: var(--w); height: var(--h); border-radius: var(--r); box-shadow: 0 6px 14px rgba(0,0,0,.35); perspective: calc(var(--h) * 4);
  font: var(--ct-fw, 800) calc(var(--w) * var(--ct-fs, .95))/var(--h) var(--ct-font, var(--font-mono)); font-variant-numeric: tabular-nums; color: var(--ct-fg, #FFFFFF); text-shadow: var(--ct-ts, none); outline: var(--ct-bd, none); outline-offset: -1px; text-align: center; }
.ct-half, .ct-flap { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ct-half > b, .ct-flap > b { position: absolute; left: 0; right: 0; height: var(--h); font: inherit; }
.ct-up { top: 0; background: var(--top); border-radius: var(--r) var(--r) 0 0; }
.ct-up > b { top: 0; }
.ct-down { bottom: 0; background: var(--bot); border-radius: 0 0 var(--r) var(--r); }
.ct-down > b { bottom: 0; }
/* the hinge line across the middle */
.ct-card::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: rgba(0,0,0,.55); z-index: 3; }
.ct-card::before { content: ""; position: absolute; left: -2px; top: calc(50% - 4px); width: 4px; height: 8px; border-radius: 2px; background: #0B1222; z-index: 4; box-shadow: calc(var(--w) + 0px) 0 0 #0B1222; }
.ct-flap { z-index: 2; display: none; }
.ct-flap-top { top: 0; background: var(--top); border-radius: var(--r) var(--r) 0 0; transform-origin: 50% 100%; }
.ct-flap-top > b { top: 0; }
.ct-flap-bot { bottom: 0; background: var(--bot); border-radius: 0 0 var(--r) var(--r); transform-origin: 50% 0; }
.ct-flap-bot > b { bottom: 0; }
/* shading as each half turns away from the light */
.ct-flap::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.ct-card.is-flipping .ct-flap { display: block; }
.ct-card.is-flipping .ct-flap-top { animation: ct-fall-top var(--ft, .26s) cubic-bezier(.55, 0, .9, .45) forwards; }
.ct-card.is-flipping .ct-flap-top::after { animation: ct-shade-top var(--ft, .26s) ease-in forwards; }
.ct-card.is-flipping .ct-flap-bot { transform: rotateX(90deg); animation: ct-fall-bot var(--fb, .24s) cubic-bezier(.2, .6, .35, 1.25) var(--ft, .26s) forwards; }
.ct-card.is-flipping .ct-flap-bot::after { animation: ct-shade-bot var(--fb, .24s) ease-out var(--ft, .26s) forwards; }
@keyframes ct-fall-top { from { transform: rotateX(0deg); } to { transform: rotateX(-90deg); } }
@keyframes ct-fall-bot { from { transform: rotateX(90deg); } to { transform: rotateX(0deg); } }
@keyframes ct-shade-top { from { background: rgba(0,0,0,0); } to { background: rgba(0,0,0,.45); } }
@keyframes ct-shade-bot { from { background: rgba(0,0,0,.5); } to { background: rgba(0,0,0,0); } }
@media (prefers-reduced-motion: reduce) { .ct-card.is-flipping .ct-flap { display: none; } }
/* v2400: the colon is two dots centred on the card height (they used to sit high) */
.ct-colon { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(var(--h) * .2); height: var(--h); width: calc(var(--w) * .3); flex: none; }
.ct-colon i { display: block; width: clamp(5px, calc(var(--w) * .13), 16px); aspect-ratio: 1; border-radius: 50%; background: var(--ct-ac, rgba(255,255,255,.5)); }
.ct-unit-lab { font: 700 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ct-hero-sub { margin: 0; font-size: 14.5px; color: #C9D3E6; max-width: 46ch; }
.ct-progress { width: min(420px, 100%); height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.ct-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6EE7B7, #FFE066); border-radius: 3px; transition: width .25s linear; }
.ct-hero[data-state="paused"] .ct-card { color: #9FB0CC; }
.ct-hero[data-state="paused"] .ct-card b, .ct-hero[data-state="done"] .ct-card b { color: inherit; }
.ct-hero[data-state="paused"] .ct-progress i { background: #9FB0CC; }
.ct-hero[data-state="done"] .ct-card { color: #FFB4A6; }
.ct-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.ct-hero-btns .btn { min-height: 44px; }
.ct-hero .btn-outline { color: #FFFFFF; border-color: rgba(255,255,255,.45); background: transparent; }
.ct-hero .btn-outline:hover { background: rgba(255,255,255,.1); }
.ct-hero .btn-ghost { color: #C9D3E6; }
.ct-hero .btn-primary { background: #FFE066; color: #16233F; border-color: #FFE066; }
/* Alarm */
.ct-alarm { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 14px; border-radius: 14px; background: #C2381F; animation: ct-ring 1s ease-in-out infinite; }
.ct-alarm-msg { margin: 0; font: 800 22px var(--font-display); }
.ct-alarm-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ct-alarm-ok { background: #FFFFFF; color: #8E1B12; border-color: #FFFFFF; min-height: 48px; font-size: 17px; }
@keyframes ct-ring { 50% { box-shadow: 0 0 0 8px rgba(194,56,31,.35); } }
@media (prefers-reduced-motion: reduce) { .ct-alarm { animation: none; } }
/* A little party when a date arrives */
.ct-hero.is-party::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #FFE066 2px, transparent 3px), radial-gradient(circle, #6EE7B7 2px, transparent 3px), radial-gradient(circle, #FB7185 2px, transparent 3px); background-size: 46px 46px, 62px 62px, 38px 38px; animation: ct-party 2.4s ease-out forwards; }
@keyframes ct-party { 0% { opacity: 1; background-position: 0 -60px, 20px -80px, 10px -40px; } 100% { opacity: 0; background-position: 0 260px, 20px 320px, 10px 220px; } }
/* Full screen */
.ct-hero:fullscreen { justify-content: center; border-radius: 0; gap: 18px; }
.ct-hero:-webkit-full-screen { justify-content: center; border-radius: 0; gap: 18px; }
.ct-hero:fullscreen .ct-card { --r: 16px; }
.ct-hero:fullscreen .ct-flip { --cmax: 24vh; }
.ct-hero:fullscreen .ct-hero-name { font-size: min(5vw, 6vh); }
.ct-hero:fullscreen .ct-hero-sub { font-size: 18px; }
.ct-hero:fullscreen .ct-unit-lab { font-size: 14px; }
/* New countdown */
.ct-new { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.ct-kind { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; }
.ct-kind button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.ct-form { display: flex; flex-direction: column; gap: 14px; }
.ct-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 14px var(--font-display); cursor: pointer; touch-action: manipulation; }
.ct-chip:hover { border-color: var(--ink-2); background: var(--bg); }
.ct-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; align-items: end; }
.ct-label { font-weight: 600; font-size: 15px; }
.ct-hms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ct-hms label { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.ct-hms input { width: 100%; min-height: 52px; text-align: center; font: 800 22px var(--font-mono); }
.ct-dur { grid-column: span 1; }
.ct-form input[type="text"], .ct-form input[type="date"], .ct-form input[type="time"], .ct-form select, .ct-hms input { min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 16px; width: 100%; }
.ct-form input:focus, .ct-form select:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.ct-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.ct-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.ct-go { align-self: flex-start; min-height: 50px; padding: 0 26px; font-size: 17px; }
.ct-form .err-msg:empty { display: none; }
.ct-dprev { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.ct-dprev:empty { display: none; }
.ct-dprev.is-check { padding: 12px 14px; border-radius: 10px; background: #FFE9A3; color: #4A3200; }
.ct-tzhint { margin: -6px 0 0; }
.ct-tzf { grid-column: 1 / -1; }
.ct-tzf select { text-overflow: ellipsis; }
/* Saved countdowns */
.ct-mine { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.ct-mine-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ct-h { margin: 0; font-size: 18px; }
.ct-count { font-size: 13.5px; color: var(--ink-3); }
.ct-list { display: flex; flex-direction: column; gap: 8px; }
.ct-empty { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-3); font-size: 14.5px; }
.ct-item { display: flex; align-items: stretch; gap: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.ct-item.is-sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ct-item-main { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "kind name time" "bar bar bar"; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ct-item-main:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.ct-item-kind { grid-area: kind; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ct-item-name { grid-area: name; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-item-time { grid-area: time; font: 700 15px var(--font-mono); font-variant-numeric: tabular-nums; }
.ct-item-bar { grid-area: bar; height: 4px; border-radius: 2px; background: var(--bg); overflow: hidden; }
.ct-item-bar i { display: block; height: 100%; width: 0; background: #2E9B62; }
.ct-item.is-paused .ct-item-time { color: var(--ink-3); }
.ct-item.is-paused .ct-item-bar i { background: #9FB0CC; }
.ct-item.is-done .ct-item-time { color: #B3261E; }
.ct-item.is-done .ct-item-bar i { background: #D94A2B; }
.ct-item-btns { display: flex; align-items: center; gap: 2px; padding-right: 6px; }
.ct-ib { min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 700 13.5px var(--font-display); cursor: pointer; }
.ct-ib:hover { background: var(--bg); color: var(--ink); }
.ct-ib:focus-visible { outline: 3px solid var(--focus); }
.ct-ib-del { color: #B3261E; }
@media (max-width: 560px) {
  .ct-item { flex-direction: column; gap: 0; }
  .ct-item-btns { padding: 0 6px 6px; justify-content: flex-end; }
}
.ct-notify { margin-top: 4px; }
/* Share dialog */
.ct-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--card-radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(10,20,40,.35); }
.ct-dialog::backdrop { background: rgba(10,18,34,.55); }
.ct-dialog-in { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.ct-share-name { margin: 0; font-weight: 700; color: var(--ink-2); }
.ct-share-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; }
.ct-qr { width: 180px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.ct-qr svg { display: block; width: 100%; height: 100%; }
.ct-share-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ct-share-side p { margin: 0; font-size: 14.5px; }
#ct-link { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: 500 13px var(--font-mono); color: var(--ink-2); background: var(--bg); }
.ct-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-close { align-self: flex-end; }
@media (max-width: 520px) { .ct-share-body { grid-template-columns: 1fr; } .ct-qr { width: min(220px, 100%); justify-self: center; } }
/* Fewer units, bigger digits */
.ct-flip[data-n="2"] { --cw: 17cqi; --cmax: 120px; }
.ct-hero:fullscreen .ct-flip[data-n] { --cmax: 24vh; }
.ct-flip[data-n="3"] { --cw: 11.5cqi; --cmax: 92px; }
.ct-flip[data-n="4"] { --cw: 8.6cqi; --cmax: 74px; }
.ct-hero .ct-clr { font-family: var(--font-mono); letter-spacing: .08em; }
/* Free limit and Pro folders */
.ct-count.is-full { color: #B3261E; font-weight: 700; }
.ct-folders { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 700 13.5px var(--font-display); cursor: pointer; }
.ct-fchip:hover { border-color: var(--ink-2); color: var(--ink); }
.ct-fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.ct-fchip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ct-fdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ct-fn { font-family: var(--font-mono); font-size: 12px; opacity: .7; }
.ct-fadd { border-style: dashed; }
.ct-fedit-btn { background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.ct-fchip.is-locked { color: var(--ink-3); }
.ct-pro { padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 12px; letter-spacing: .04em; }
.ct-fedit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.ct-fedit input { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 16px; }
.ct-swatches { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ct-sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.ct-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.ct-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.ct-fdel { color: #B3261E; }
.ct-item.has-folder { border-left: 5px solid var(--fc, var(--line)); }
.ct-item.has-folder .ct-item-kind { background: color-mix(in srgb, var(--fc) 12%, var(--surface)); border-color: color-mix(in srgb, var(--fc) 40%, transparent); color: var(--ink); }
.ct-move select { min-height: 34px; max-width: 120px; padding: 0 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); font: 600 13px var(--font-display); }
.ct-fpick select { min-height: 48px; }
.ct-upsell { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--card-radius); background: linear-gradient(135deg, #16233F, #24365C); color: #FFFFFF; }
.ct-upsell-msg { margin: 0; font-weight: 700; font-size: 15.5px; }
.ct-upsell-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; color: #DCE3F0; }
.ct-soon { padding: 1px 7px; border-radius: 999px; background: rgba(255,224,102,.18); color: #FFE066; font-size: 12px; font-weight: 700; }
.ct-upsell-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-upsell .btn-primary { background: #FFE066; color: #16233F; border-color: #FFE066; }
.ct-upsell .btn-ghost { color: #DCE3F0; }

/* v2400: clockface styles. Each style sets these variables on .ct-hero; Midnight Navy (no data-style) keeps the look above. */
.ct-hero[data-style] { background: var(--ct-hb); }
.ct-hero[data-style] .ct-hero-name { color: var(--ct-ac2, var(--ct-ac)); }
.ct-hero[data-style] .ct-hero-sub, .ct-hero[data-style] .ct-unit-lab { color: var(--ct-ink); }
.ct-hero[data-style] .ct-unit-lab { opacity: .75; }
.ct-hero[data-style] .ct-card, .ct-hero[data-style][data-state] .ct-card { color: var(--ct-fg); }
.ct-hero[data-style][data-state="paused"] .ct-card { opacity: .7; }
.ct-hero[data-style] .ct-progress { background: color-mix(in srgb, var(--ct-ink) 18%, transparent); }
.ct-hero[data-style] .ct-progress i { background: var(--ct-ac); }
.ct-hero[data-style] .btn-outline { color: var(--ct-ink); border-color: color-mix(in srgb, var(--ct-ink) 50%, transparent); }
.ct-hero[data-style] .btn-ghost { color: var(--ct-ink); }
.ct-hero[data-style] .btn-primary { background: var(--ct-ac); border-color: var(--ct-ac); color: var(--ct-acfg, #111); }
.ct-hero[data-style] .ct-style-btn { color: var(--ct-ink); border-color: color-mix(in srgb, var(--ct-ink) 40%, transparent); }
.ct-hero[data-flat] .ct-card { box-shadow: none; }
.ct-hero[data-flat] .ct-card::after, .ct-hero[data-flat] .ct-card::before { display: none; }
/* per-style details */
.ct-hero[data-style="bauhaus"] .ct-unit:nth-of-type(odd) .ct-card:nth-child(odd) { --ct-top: #E63B2E; --ct-bot: #E63B2E; --ct-r: 50%; color: #fff; }
.ct-hero[data-style="bauhaus"] .ct-unit:nth-of-type(odd) .ct-card:nth-child(even) { --ct-top: #1E4FD8; --ct-bot: #1E4FD8; --ct-r: 4px; color: #fff; }
.ct-hero[data-style="bauhaus"] .ct-unit:nth-of-type(even) .ct-card:nth-child(odd) { --ct-top: #F7C531; --ct-bot: #F7C531; --ct-r: 18px; color: #111; }
.ct-hero[data-style="bauhaus"] .ct-unit:nth-of-type(even) .ct-card:nth-child(even) { --ct-top: #111; --ct-bot: #111; --ct-r: 50%; color: #F2EEE3; }
.ct-hero[data-style="mosaic"] .ct-card { text-shadow: 0 2px 0 #000; }
.ct-hero[data-style="mosaic"] .ct-unit:nth-of-type(odd) .ct-card:nth-child(odd) { --ct-top: repeating-conic-gradient(#E76F51 0 25%, #F4A261 0 50%) 0 0/20px 20px; --ct-bot: var(--ct-top); }
.ct-hero[data-style="mosaic"] .ct-unit:nth-of-type(odd) .ct-card:nth-child(even) { --ct-top: repeating-conic-gradient(#2A9D8F 0 25%, #264653 0 50%) 0 0/20px 20px; --ct-bot: var(--ct-top); }
.ct-hero[data-style="mosaic"] .ct-unit:nth-of-type(even) .ct-card:nth-child(odd) { --ct-top: repeating-conic-gradient(#E9C46A 0 25%, #F4A261 0 50%) 0 0/20px 20px; --ct-bot: var(--ct-top); }
.ct-hero[data-style="mosaic"] .ct-unit:nth-of-type(even) .ct-card:nth-child(even) { --ct-top: repeating-conic-gradient(#8E5BD6 0 25%, #5A3E9E 0 50%) 0 0/20px 20px; --ct-bot: var(--ct-top); }
.ct-hero[data-style="origami"] .ct-card { box-shadow: 0 6px 10px rgba(0,0,0,.15); }
.ct-hero[data-style="origami"] .ct-card:nth-child(odd) { clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
.ct-hero[data-style="origami"] .ct-card:nth-child(even) { clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%); }
.ct-hero[data-style="prism"] .ct-card:nth-child(odd) { transform: rotate(-3deg); }
.ct-hero[data-style="prism"] .ct-card:nth-child(even) { transform: rotate(3deg); }
.ct-hero[data-style="aurora"] .ct-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ct-hero[data-style="arcade"] .ct-card { box-shadow: 4px 4px 0 #FF5DA2; }
.ct-hero[data-style="riso"] .ct-card { mix-blend-mode: multiply; }
/* Style button and picker */
.ct-style-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #C9D3E6; font: 600 13.5px var(--font-display); cursor: pointer; white-space: nowrap; max-width: 100%; }
.ct-style-btn b { overflow: hidden; text-overflow: ellipsis; }
.ct-style-sw { width: 14px; height: 14px; border-radius: 50%; flex: none; background: conic-gradient(#FFD34E, #FF3B30, #39FF88, #38E8FF, #B04CFF, #FFD34E); }
.ct-styles { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
.ct-styles-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-styles-head h3 { margin: 0; font: 800 18px var(--font-display); }
.ct-styles-note { margin: 6px 0 12px; font-size: 14px; color: var(--ink-2); }
.ct-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.ct-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 8px; border: 2px solid transparent; border-radius: 12px; background: var(--ct-hb); color: var(--ct-ink); cursor: pointer; min-width: 0; }
.ct-tile[aria-pressed="true"] { border-color: var(--accent, #E8503A); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent, #E8503A); }
.ct-tile-mini { display: flex; gap: 4px; }
.ct-tile-mini span { width: 30px; height: 42px; border-radius: 5px; background: var(--ct-top); outline: var(--ct-bd, none); outline-offset: -1px; color: var(--ct-fg); font: var(--ct-fw, 800) calc(30px * var(--ct-fs, .95))/42px var(--ct-font, var(--font-mono)); text-shadow: var(--ct-ts, none); text-align: center; }
.ct-tile small { font: 700 12px var(--font-display); text-align: center; line-height: 1.2; }
.ct-tile-lock { position: absolute; top: 5px; right: 5px; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.72); color: #FFE066; font: 700 10.5px var(--font-display); white-space: nowrap; }
.ct-styles-pro { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent, #E8503A) 12%, transparent); font-size: 14px; }
