:root{color-scheme:dark;--cd-cream:#fff7e9;--cd-gold:#f0cf91}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{background:#081b1b;color:var(--cd-cream)}button{font:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #ffe2a1;outline-offset:5px}[hidden]{display:none!important}
.cd-page{min-height:100svh}.cd-world{height:max(660px,100svh);min-height:550px;position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 0%,#3b6d70 0%,#193948 40%,#071b2a 100%);--cd-glow:#ecd098;box-shadow:inset 0 0 140px #010d15}.cd-world:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:7;background:radial-gradient(ellipse at center,transparent 42%,#04121865 100%)}.cd-embedded .cd-world{height:100svh;min-height:350px}.cd-sky{position:absolute;inset:0;z-index:-1;overflow:hidden}.cd-aurora{position:absolute;width:90%;height:55%;left:5%;top:-19%;border-radius:50%;filter:blur(75px);background:conic-gradient(from 45deg,#89bd873d,#227c8455,#eac68025,#89bd873d);animation:aurora 16s ease-in-out infinite alternate}@keyframes aurora{to{transform:translateX(-12%) rotate(-18deg) scale(1.15)}}.cd-stars,.cd-falling{position:absolute;inset:0;pointer-events:none}.cd-stars i{position:absolute;width:3px;height:3px;background:#fef2cb;border-radius:50%;box-shadow:0 0 9px #ffe3a6;opacity:.45;animation:starglow 5s ease-in-out infinite alternate}.cd-falling{z-index:4}.cd-falling i{position:absolute;top:-15px;width:4px;height:4px;background:#fffef5;border-radius:50%;opacity:.65;filter:drop-shadow(0 0 5px #fff);animation:cdsnow linear infinite;animation-delay:var(--delay)}@keyframes cdsnow{to{transform:translate3d(var(--drift),110vh,0)}}@keyframes starglow{to{opacity:.1;transform:scale(.7)}}.cd-moon{position:absolute;right:14%;top:12%;width:105px;height:105px;border-radius:50%;background:radial-gradient(circle at 38% 27%,#fff6d8,#e4dfc4 54%,#b9bbbc);box-shadow:0 0 45px #fff7cd51,0 0 120px #fff7c833;opacity:.68}
.cd-village-scene,.cd-hearth-scene,.cd-midnight-scene,.cd-gold-scene{position:absolute;inset:0;z-index:0;pointer-events:none}.cd-mountain{position:absolute;bottom:6%;height:36%;width:100%;background:linear-gradient(#7797a2,#193c4e);clip-path:polygon(0 78%,17% 42%,26% 58%,43% 6%,59% 50%,72% 28%,85% 60%,100% 35%,100% 100%,0 100%);opacity:.44}.cd-mountain.two{transform:scaleX(-1);bottom:0;background:#315366;opacity:.75}.cd-ground{position:absolute;bottom:-10%;height:25%;left:-5%;width:110%;background:linear-gradient(#d2e6df,#8db7ab);border-radius:50% 50% 0 0;box-shadow:0 -12px 60px #bedad25e}.cd-forest{position:absolute;inset:0;z-index:1}.cd-tree{position:absolute;bottom:var(--bottom);left:var(--left);width:var(--w);height:var(--h);background:linear-gradient(110deg,#11342d,#276448 70%,#0d2924);clip-path:polygon(50% 0%,70% 32%,62% 30%,84% 63%,73% 60%,100% 94%,0 94%,27% 60%,16% 63%,38% 30%,30% 32%);filter:drop-shadow(0 14px 5px #061c1c);opacity:.9}.cd-tree:after{content:"";position:absolute;inset:0;clip-path:polygon(50% 0%,70% 32%,62% 30%,84% 63%,73% 60%,100% 94%,0 94%,27% 60%,16% 63%,38% 30%,30% 32%);background:linear-gradient(#eef9e7,#ffffff00 55%);opacity:.27}.cd-house{position:absolute;bottom:10%;left:14%;width:155px;height:125px;background:linear-gradient(90deg,#824d3e,#b07454 47%,#664437);border-radius:8px 8px 3px 3px;box-shadow:0 15px 35px #05121f88;z-index:2}.cd-house.right{left:auto;right:13%;bottom:7%;transform:scale(.74);filter:brightness(.8)}.cd-house .roof{position:absolute;width:195px;height:68px;left:-20px;top:-52px;background:#e5f0e7;clip-path:polygon(50% 0,100% 100%,0 100%);filter:drop-shadow(0 3px 7px #0004)}.cd-house .window{position:absolute;width:39px;height:40px;left:24px;top:35px;background:#ffcb67;box-shadow:0 0 35px #f8c770aa,inset 0 0 10px #ffe8a3;border:6px solid #674535}.cd-house .window:after{content:"";position:absolute;width:5px;height:100%;left:50%;top:0;background:#674535}.cd-house .door{position:absolute;width:32px;height:68px;right:23px;bottom:0;background:#553a32;border:5px solid #8a5c45}.cd-content{position:relative;z-index:5;max-width:min(95%,1000px);padding:52px 30px 70px;text-align:center;align-self:center;text-shadow:0 4px 28px #03151ad4}.cd-eyebrow{font-size:11px;letter-spacing:4px;color:#fbe1a8;font-weight:800}.cd-content h1{font-family:Georgia,serif;font-size:clamp(44px,6.8vw,92px);letter-spacing:-.045em;font-weight:400;line-height:1.08;margin:17px auto 12px;max-width:900px;text-wrap:balance}.cd-message{font-size:clamp(13px,1.4vw,18px);color:#f1eddd;opacity:.9;margin:0 auto 30px;line-height:1.55;max-width:650px;text-wrap:balance}.cd-clock{display:flex;gap:clamp(6px,2vw,24px);justify-content:center}.cd-unit{width:clamp(68px,12vw,140px);border:1px solid #f2d49f4a;border-radius:19px;background:linear-gradient(140deg,#fffbdb20,#ffffff0a);padding:17px 9px 13px;box-shadow:inset 0 1px #ffffff35,0 18px 44px #0003;backdrop-filter:blur(9px)}.cd-unit strong{font:400 clamp(31px,5.2vw,70px)/1.08 Georgia,serif;letter-spacing:-2px;color:#fff7e4;display:block;font-variant-numeric:tabular-nums}.cd-unit span{display:block;margin-top:6px;font-size:clamp(9px,1vw,12px);letter-spacing:2px;text-transform:uppercase;color:#f6dca9;font-weight:750}.cd-finished{color:#ffe3a2;font:italic 30px Georgia,serif}.cd-bottom{z-index:9;position:absolute;bottom:22px;left:4%;right:4%;display:flex;align-items:center;justify-content:space-between;gap:16px}.cd-credit{font-size:12px;color:#f5e8cbce}.cd-credit a{font-weight:800;text-decoration:none;color:#ffe4a4}.cd-tools{display:flex;gap:8px}.cd-tool{font-size:11px;letter-spacing:.5px;font-weight:750;color:#f9e8c4;border:1px solid #f0d6a964;background:#09231dc2;border-radius:40px;padding:9px 15px;cursor:pointer;backdrop-filter:blur(8px)}.cd-tool:hover{background:#2c4a3d}.cd-tool[aria-pressed="true"]{background:#ebc98b;color:#17392e}.cd-sharebar{min-height:62px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px clamp(15px,4vw,50px);color:#b9c9bc;background:#0a211c;font-size:12px}.cd-sharebar a{color:#f4d39b;font-weight:750;text-decoration:none}.cd-standalone .cd-world{height:min(85svh,920px);min-height:565px}
/* Midnight stars & sleigh landscape */
.cd-world[data-theme="midnight"]{background:radial-gradient(ellipse 85% 50% at 50% 0%,#2a3e76,#0a183c 65%,#080f2b);--cd-glow:#e6d7ff}.cd-world[data-theme="midnight"] .cd-village-scene,.cd-world[data-theme="midnight"] .cd-hearth-scene,.cd-world[data-theme="midnight"] .cd-gold-scene{display:none}.cd-midnight-scene .cd-hills{position:absolute;inset:auto -5% -18% -5%;height:44%;background:linear-gradient(#45728d,#1c3e61 45%,#101e3d 80%);border-radius:50% 50% 0 0;box-shadow:0 -25px 80px #a5b6f32b}.cd-sleigh{position:absolute;right:4%;top:32%;font-size:32px;color:#ffe3a6;opacity:.75;animation:sleighmove 19s linear infinite alternate;filter:drop-shadow(0 0 10px #ffe7ab)}@keyframes sleighmove{to{transform:translate(-34vw,-19vh)}}.cd-moon-ring{position:absolute;right:11%;top:7%;width:190px;height:190px;border:1px solid #fff5ca2a;border-radius:50%;box-shadow:0 0 0 45px #fff5ca0a,0 0 0 110px #fff5ca07}
/* Hearth details */
.cd-world[data-theme="hearth"]{background:radial-gradient(ellipse at 50% 30%,#7f4938 0%,#3e2826 50%,#1b171f 100%)}.cd-world[data-theme="hearth"] .cd-village-scene,.cd-world[data-theme="hearth"] .cd-midnight-scene,.cd-world[data-theme="hearth"] .cd-gold-scene,.cd-world[data-theme="hearth"] .cd-moon{display:none}.cd-world[data-theme="hearth"] .cd-aurora{background:#ba592c40}.cd-mantel{position:absolute;left:50%;bottom:22%;transform:translateX(-50%);width:55%;height:26px;border-radius:6px;background:linear-gradient(#ab6f4c,#75442d);box-shadow:0 12px 5px #130b0c66}.cd-fireplace{position:absolute;width:44%;height:35%;bottom:0;left:28%;background:radial-gradient(#ca633d 0%,#3d2220 60%,#1d1515 80%);border:24px solid #6d3c2c;border-radius:110px 110px 0 0;box-shadow:0 -10px 35px #ec965c33,0 0 110px #ff8a3e3d}.cd-fire{position:absolute;left:40%;bottom:10%;height:67%;width:22%;filter:drop-shadow(0 0 30px #fcca56);animation:firebob 2.5s ease-in-out infinite alternate}.cd-fire i{position:absolute;bottom:0;width:100%;height:90%;border-radius:60% 0 65% 50%;transform:rotate(45deg);background:linear-gradient(115deg,#ffef98,#fa892c 65%,#d54a22);opacity:.9}.cd-fire i:nth-child(2){height:56%;width:60%;left:-70%;animation:firebob 1.3s ease-in-out infinite alternate}.cd-fire i:nth-child(3){height:70%;width:60%;right:-58%;animation:firebob 1.7s ease-in-out infinite alternate-reverse}.cd-logs{position:absolute;width:58%;height:15px;bottom:6%;left:21%;background:#472a1e;border-radius:10px;box-shadow:15px -8px #6e3d24}.cd-stockings{position:absolute;left:33%;bottom:24%;font-size:28px}.cd-cozy-tree{position:absolute;right:4%;bottom:0;font-size:clamp(90px,16vw,260px);filter:drop-shadow(0 12px 25px #0008)}.cd-lamp{position:absolute;top:18%;left:8%;width:170px;height:170px;background:radial-gradient(#ffb76c4a,transparent 70%);filter:blur(15px)}.cd-lamp.lamp-right{left:auto;right:8%}@keyframes firebob{to{transform:rotate(38deg) scale(.88,1.09)}}
/* Elegant gold */
.cd-world[data-theme="gold"]{background:radial-gradient(ellipse at 50% 42%,#326557 0%,#133d37 47%,#071c1b 100%)}.cd-world[data-theme="gold"] .cd-village-scene,.cd-world[data-theme="gold"] .cd-midnight-scene,.cd-world[data-theme="gold"] .cd-hearth-scene,.cd-world[data-theme="gold"] .cd-moon{display:none}.cd-gold-ring{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:75vmin;height:75vmin;max-width:770px;max-height:770px;border:1px solid #e7c78f3e;border-radius:50%;box-shadow:0 0 0 34px #e8cc8e0a,0 0 0 87px #e8cc8e0a,0 0 0 132px #e8cc8e07}.cd-gold-ring.ring2{height:59vmin;width:59vmin;max-width:600px;max-height:600px;border-style:dashed;opacity:.5;animation:goldrotate 120s linear infinite}.cd-bauble{position:absolute;left:18%;top:6%;width:55px;height:65px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#fff6bd,#d49b48 40%,#805023 80%);box-shadow:0 9px 16px #0005;transform-origin:50% -100px;animation:sway 7s ease-in-out infinite alternate}.cd-bauble:before{content:"";position:absolute;bottom:100%;left:48%;width:1px;height:160px;background:#d9bd8555}.cd-bauble.b2{left:auto;right:12%;top:10%;transform:scale(.85);animation-delay:-3s}.cd-bauble.b3{left:8%;top:40%;transform:scale(.6);animation-delay:-5s}@keyframes goldrotate{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes sway{to{transform:rotate(10deg)}}
@media(max-width:720px){.cd-world,.cd-standalone .cd-world{height:100svh;min-height:530px}.cd-content{padding:55px 13px 75px}.cd-content h1{font-size:clamp(42px,9vw,68px)}.cd-eyebrow{font-size:8px;letter-spacing:2px}.cd-unit{border-radius:12px;padding:13px 7px 11px;width:clamp(65px,20vw,100px)}.cd-unit strong{font-size:clamp(28px,7vw,47px)}.cd-unit span{font-size:8px;letter-spacing:1px}.cd-clock{gap:6px}.cd-bottom{left:12px;right:12px;bottom:14px}.cd-house{transform:scale(.7);transform-origin:bottom left;left:0}.cd-house.right{right:0;transform:scale(.56);transform-origin:bottom right}.cd-moon{width:67px;height:67px;right:7%;top:8%}.cd-embedded .cd-world{min-height:350px}.cd-sharebar{flex-direction:column;text-align:center;gap:9px}}@media(max-width:400px){.cd-content h1{font-size:39px}.cd-unit{width:22vw}.cd-unit strong{font-size:29px}.cd-clock{gap:4px}.cd-tool{padding:8px 10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.cd-falling{display:none}}


/* v1.1.2: cinematic backgrounds across four Countdown Studio themes. */
.cd-video-layer{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.25s ease;background:#0a181d}
.cd-video-layer video{width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.76) saturate(1.13) contrast(1.08);transform:scale(1.018)}
.cd-video-layer:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071a20bb 0%,#071a2060 45%,#071a20b0 100%),linear-gradient(0deg,#07161bc9,transparent 36%,#07161bb2);pointer-events:none}
.cd-world.has-scene-video .cd-video-layer{opacity:1}
.cd-world.has-scene-video .cd-village-scene,.cd-world.has-scene-video .cd-hearth-scene,.cd-world.has-scene-video .cd-midnight-scene,.cd-world.has-scene-video .cd-gold-scene{opacity:0}
.cd-world.has-scene-video .cd-sky{opacity:.12}
.cd-village-scene,.cd-hearth-scene,.cd-midnight-scene,.cd-gold-scene{transition:opacity 1.1s ease}
.cd-world.has-scene-video .cd-content{text-shadow:0 4px 28px #000b,0 18px 55px #0009}
.cd-world.has-scene-video .cd-unit{background:linear-gradient(140deg,#071b20b3,#17252181);border-color:#f1ce9b7c;box-shadow:0 15px 38px #0007,inset 0 1px #ffffff35;backdrop-filter:blur(14px)}
.cd-world[data-theme="hearth"] .cd-video-layer video{object-position:center 56%;filter:brightness(.75) saturate(1.04)}
.cd-world[data-theme="gold"] .cd-video-layer video{filter:brightness(.61) saturate(.92) sepia(.10)}
.cd-world[data-theme="village"] .cd-video-layer video,.cd-world[data-theme="midnight"] .cd-video-layer video{filter:brightness(.66) saturate(.88)}
@media(prefers-reduced-motion:reduce){.cd-video-layer{display:none!important}.cd-world.has-scene-video .cd-village-scene,.cd-world.has-scene-video .cd-hearth-scene,.cd-world.has-scene-video .cd-midnight-scene,.cd-world.has-scene-video .cd-gold-scene{opacity:1}}

/* 1.2 cinematic countdown: elegant floating film-title composition rather than four widget cards. */
.cd-world{--cd-shine:#f7dfb1}
.cd-world .cd-content{width:min(95%,1120px);padding:70px clamp(12px,3.8vw,58px) 105px;position:relative}
.cd-world .cd-content:before{content:"";position:absolute;inset:4% 0;border:1px solid #f3dbab21;pointer-events:none;border-radius:8px;box-shadow:0 0 65px #050e126b;background:linear-gradient(180deg,#061a2039,#061a201a 55%,#061a203d)}
.cd-world .cd-content>*{position:relative}
.cd-world .cd-eyebrow{font-size:clamp(9px,1.0vw,13px);letter-spacing:clamp(2px,.37vw,6px);text-transform:uppercase;color:#f9dfa4;text-shadow:0 2px 12px #000}
.cd-world .cd-content h1{font-size:clamp(48px,7.8vw,110px);line-height:1.04;max-width:1050px;letter-spacing:-.042em;margin:20px auto 13px;color:#fff8eb;text-shadow:0 5px 40px #000c,0 0 65px #e3b96942}
.cd-world .cd-message{font-size:clamp(14px,1.65vw,21px);color:#fff3df;opacity:.96;margin:0 auto 32px;max-width:760px;text-shadow:0 4px 25px #000d}
.cd-world .cd-clock{gap:0;margin:auto;width:max-content;max-width:100%;padding:12px 0 6px;border-top:1px solid #f1dcaa6a;border-bottom:1px solid #f1dcaa64;background:linear-gradient(90deg,transparent,#071d223f 20%,#071d2247 80%,transparent)}
.cd-world .cd-unit,.cd-world.has-scene-video .cd-unit{width:clamp(76px,11vw,155px);border:0;border-right:1px solid #efdaac69;border-radius:0;box-shadow:none;background:none;backdrop-filter:none;padding:10px clamp(5px,1vw,13px)}
.cd-world .cd-unit:last-child{border-right:0}
.cd-world .cd-unit strong{font-family:Georgia,serif;font-size:clamp(40px,5.7vw,80px);font-weight:400;line-height:1.05;font-variant-numeric:tabular-nums;color:#fff6e3;text-shadow:0 4px 36px #000b,0 0 38px #ffdba462}
.cd-world .cd-unit span{margin-top:8px;font-size:clamp(9px,.9vw,12px);letter-spacing:clamp(1px,.2vw,3px)}
.cd-world .cd-video-layer:after{background:linear-gradient(90deg,#061c236c 0%,#061c2342 45%,#061c236e 100%),linear-gradient(0deg,#041319a8 0%,transparent 36%,#0413198c 100%)}
.cd-world .cd-bottom{bottom:18px}.cd-world .cd-credit,.cd-world .cd-tool{text-shadow:0 2px 13px #000b}
.cd-world .cd-content .cd-finished{font-size:clamp(21px,2.7vw,36px);margin:25px 0 0;color:#f7dfb1}
.cd-embedded .cd-content{padding:30px 12px 58px}.cd-embedded .cd-content:before{inset:2% 0}
@media(max-width:720px){.cd-world .cd-content{padding:55px 10px 78px}.cd-world .cd-content h1{font-size:clamp(39px,9vw,70px)}.cd-world .cd-message{margin-bottom:22px}.cd-world .cd-clock{padding:8px 0}.cd-world .cd-unit,.cd-world.has-scene-video .cd-unit{width:clamp(67px,22vw,100px);padding:8px 4px}.cd-world .cd-unit strong{font-size:clamp(31px,8vw,52px)}.cd-world .cd-unit span{font-size:9px;letter-spacing:1px}}
@media(max-height:600px) and (min-width:721px){.cd-world .cd-content{padding:38px 20px 64px}.cd-world .cd-content h1{font-size:clamp(40px,6vw,75px)}.cd-world .cd-content .cd-message{margin-bottom:13px}.cd-world .cd-clock{padding:4px 0}}
@media(prefers-reduced-motion:reduce){.cd-world .cd-content h1{text-shadow:0 4px 28px #000}.cd-world .cd-unit strong{text-shadow:0 4px 22px #000}}

.cd-sharebar .cd-share-action{font:inherit;border:1px solid #dcb88677;background:#19342d;color:#f8daa0;padding:9px 14px;border-radius:40px;cursor:pointer;font-weight:750}.cd-sharebar .cd-share-action:hover{background:#345846}.cd-sharebar .cd-share-action:focus-visible{outline:3px solid #ffe2a1;outline-offset:3px}

/* 1.5.8A — unobstructed cinematic displays and discrete, collapsed desktop tools */
.cd-tv .cd-world{height:100svh;min-height:0}.cd-tv .cd-sharebar,.cd-embedded .cd-sharebar{display:none}
.cd-world .cd-bottom{justify-content:center;pointer-events:none}.cd-world .cd-credit{pointer-events:auto}
.cd-sharebar{flex-wrap:wrap;justify-content:center;gap:12px 18px;min-height:64px}
.cd-sharebar>.cd-tv-action,.cd-sharebar>.cd-help-action{white-space:normal}
.cd-display-settings{position:relative;max-width:100%;color:#f3dbae}
.cd-display-settings summary{cursor:pointer;list-style-position:inside;padding:9px 12px;border:1px solid #bfa36a65;border-radius:12px}
.cd-display-settings[open]{min-width:240px;padding:0 0 12px}
.cd-settings-inner{display:flex;gap:8px;flex-wrap:wrap;padding:12px 4px 6px}
.cd-display-settings small{display:block;font-size:11px;max-width:310px;line-height:1.4;color:#cddacc}
.cd-world .cd-content{filter:drop-shadow(0 7px 25px #0005)}
@media(max-width:620px){.cd-sharebar{gap:12px;padding:14px 18px}.cd-sharebar>*{flex:0 1 auto}.cd-display-settings[open]{max-width:320px}.cd-tv .cd-world{height:100svh;min-height:0}}
@media(max-height:440px){.cd-tv .cd-content{padding:16px 12px 30px}.cd-tv .cd-content h1{font-size:clamp(28px,5vh,52px);margin:6px 0}.cd-tv .cd-message{margin:4px 0 8px}.cd-tv .cd-eyebrow{display:none}.cd-tv .cd-unit strong{font-size:clamp(26px,6vh,46px)}.cd-tv .cd-content:before{inset:0}}

/* 1.5.8B — optional brand display, proportionate at TV, embed and phone sizes */
.cd-custom-logo{display:flex;justify-content:center;align-items:center;width:max-content;max-width:min(78vw,350px);margin:0 auto 13px;padding:10px 20px;border:1px solid #ffe7b789;border-radius:18px;background:linear-gradient(120deg,#fffcf3ef,#f7e9d8e8);box-shadow:0 12px 55px #07140e91,0 0 50px #f9d39340;backdrop-filter:blur(9px)}
.cd-custom-logo img{display:block;max-width:min(65vw,310px);max-height:86px;width:auto;height:auto;object-fit:contain}
.cd-content:has(.cd-custom-logo:not([hidden])) h1{margin-top:10px}
.cd-tv .cd-custom-logo img{max-height:112px}
.cd-embedded .cd-custom-logo{padding:6px 12px;margin-bottom:6px;border-radius:12px}
.cd-embedded .cd-custom-logo img{max-height:min(12vh,65px)}
@media(max-width:700px){.cd-custom-logo{padding:7px 12px;margin-bottom:8px;max-width:75vw}.cd-custom-logo img{max-width:60vw;max-height:56px}.cd-world .cd-content:has(.cd-custom-logo:not([hidden])){padding-top:32px;padding-bottom:67px}.cd-world .cd-content:has(.cd-custom-logo:not([hidden])) h1{margin-top:8px;font-size:clamp(34px,8vw,58px)}}
@media(max-height:560px){.cd-custom-logo img,.cd-tv .cd-custom-logo img{max-height:48px}.cd-custom-logo{padding:5px 12px;margin-bottom:3px}}

/* v1.5.13: full-viewport scene and truly clean casting. Controls live below the scene. */
.cd-standalone .cd-world{height:100svh;min-height:0}
.cd-tv .cd-world,.cd-embedded .cd-world{height:100svh;min-height:0}
.cd-tv .cd-sharebar,.cd-embedded .cd-sharebar,html:fullscreen .cd-sharebar,body.cd-browser-full .cd-sharebar{display:none!important}
.cd-standalone .cd-sharebar{position:relative;z-index:8}
@media(max-height:440px){.cd-standalone .cd-world{min-height:0}.cd-world .cd-content{padding-top:14px;padding-bottom:26px}.cd-world .cd-content h1{font-size:clamp(24px,6.2vh,48px)}}

/* 1.5.14: Organiser logos float over the scene without a white badge or solid plaque. */
.cd-custom-logo{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important}
.cd-custom-logo img{border-radius:12px;filter:drop-shadow(0 4px 16px rgba(5,25,18,.72)) drop-shadow(0 0 13px rgba(248,212,140,.37))}

/* v1.5.18 — simple public countdown sharing on mobile and desktop */
.cd-sharebar .cd-copy-link{background:#efd29b;color:#18362b;border-color:#efd29b}
.cd-sharebar .cd-copy-link:hover{background:#fae1b4}
.cd-sharebar .cd-share-feedback{display:block;flex:1 0 100%;text-align:center;color:#f5e1b9;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.cd-sharebar .cd-share-feedback:empty{display:none}
@media(max-width:520px){.cd-sharebar .cd-share-action{min-height:46px;margin:0}.cd-sharebar>a{min-height:44px;display:inline-flex;align-items:center}.cd-sharebar .cd-display-settings summary{min-height:44px;display:list-item}}


/* v1.5.30 — Countdown Studio 2.0: graceful cinematic overlays; zero additional downloads. */
.cd-cinematic-fx{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden;contain:layout style paint}
.cd-cinematic-fx i{position:absolute;display:block;opacity:0;will-change:transform,opacity}
.cd-fx-comet{left:15%;top:13%;height:2px;width:145px;border-radius:100%;background:linear-gradient(90deg,transparent,#f8e9bb77,#fff8ea);filter:drop-shadow(0 0 10px #ffe5aa);transform:rotate(-21deg) translate3d(-45vw,0,0);animation:cd-comet 19s ease-in-out infinite}
.cd-fx-comet.second{top:29%;left:53%;width:96px;animation-delay:-11s;animation-duration:27s}
.cd-fx-glimmer{width:7px;height:7px;border-radius:50%;background:#fff5d3;box-shadow:0 0 20px 7px #f9d5a570;animation:cd-glimmer 8s ease-in-out infinite}
.cd-fx-glimmer.one{top:30%;left:24%;animation-delay:-1s}
.cd-fx-glimmer.two{top:42%;left:77%;animation-delay:-4.6s}
.cd-fx-glimmer.three{top:65%;left:17%;animation-delay:-2.8s}
.cd-fx-glimmer.four{top:19%;left:63%;animation-delay:-6.2s}
.cd-fx-ember{bottom:14%;left:41%;width:5px;height:5px;border-radius:50%;background:#ffbf62;box-shadow:0 0 14px 5px #ec7e3a85;animation:cd-ember 7s ease-out infinite}
.cd-fx-ember.two{left:54%;animation-delay:-2.5s;animation-duration:8s}
.cd-fx-ember.three{left:47%;animation-delay:-5s;animation-duration:6s}
.cd-fx-gold-sweep{inset:-45% auto auto 48%;width:4px;height:200%;background:linear-gradient(90deg,transparent,#fff1bcab,transparent);filter:blur(20px);transform:rotate(31deg) translateX(-60vw);animation:cd-sweep 18s ease-in-out infinite}
@keyframes cd-comet{0%,77%,100%{opacity:0;transform:rotate(-21deg) translate3d(-35vw,0,0)}79%{opacity:.9}84%{opacity:0;transform:rotate(-21deg) translate3d(100vw,0,0)}}
@keyframes cd-glimmer{0%,35%,90%,100%{opacity:0;transform:scale(.3)}48%,62%{opacity:.95;transform:scale(1.1)}}
@keyframes cd-ember{0%{opacity:0;transform:translate3d(0,0,0) scale(.6)}18%{opacity:.9}100%{opacity:0;transform:translate3d(65px,-220px,0) scale(.25)}}
@keyframes cd-sweep{0%,65%,100%{opacity:0;transform:rotate(31deg) translateX(-60vw)}70%{opacity:.35}86%{opacity:0;transform:rotate(31deg) translateX(80vw)}}
.cd-world[data-theme="village"] .cd-fx-ember,.cd-world[data-theme="village"] .cd-fx-gold-sweep{display:none}
.cd-world[data-theme="hearth"] .cd-fx-comet,.cd-world[data-theme="hearth"] .cd-fx-gold-sweep{display:none}
.cd-world[data-theme="midnight"] .cd-fx-ember,.cd-world[data-theme="midnight"] .cd-fx-gold-sweep{display:none}
.cd-world[data-theme="gold"] .cd-fx-comet,.cd-world[data-theme="gold"] .cd-fx-ember{display:none}
.cd-world.cd-moment-arrived .cd-content:before{box-shadow:0 0 95px #e9bd7547,inset 0 0 45px #fce3ab15;border-color:#f7d9a178}
.cd-world.cd-moment-arrived .cd-finished{animation:cd-moment 1.8s ease-out both}
@keyframes cd-moment{0%{opacity:.25;transform:translateY(10px) scale(.93)}100%{opacity:1;transform:translateY(0) scale(1)}}
.cd-world.cd-effects-paused .cd-falling{display:none!important}
.cd-world.cd-effects-paused .cd-cinematic-fx,.cd-world.cd-effects-paused .cd-aurora{display:none!important}
.cd-world.cd-effects-paused .cd-video-layer{opacity:0!important;display:none!important}
.cd-world.cd-effects-paused .cd-stars i{animation:none!important}
.cd-world.cd-effects-paused .cd-village-scene,.cd-world.cd-effects-paused .cd-hearth-scene,.cd-world.cd-effects-paused .cd-midnight-scene,.cd-world.cd-effects-paused .cd-gold-scene{opacity:1!important}
.cd-world.cd-effects-paused .cd-content:before,.cd-world.cd-effects-paused .cd-finished{animation:none!important}
.cd-world .cd-message{overflow-wrap:anywhere}
.cd-world .cd-content h1{overflow-wrap:anywhere;text-wrap:balance}
.cd-world .cd-clock{isolation:isolate}
@media(max-width:620px){.cd-cinematic-fx .cd-fx-comet.second,.cd-cinematic-fx .cd-fx-glimmer.three,.cd-cinematic-fx .cd-fx-glimmer.four,.cd-cinematic-fx .cd-fx-ember.three{display:none}.cd-world .cd-content h1{font-size:clamp(30px,8.6vw,65px)}.cd-world .cd-message{max-width:92vw}}
@media(max-height:500px){.cd-cinematic-fx{opacity:.45}.cd-world .cd-message{margin-bottom:10px}.cd-world .cd-content h1{margin-top:8px;margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.cd-cinematic-fx{display:none!important}.cd-world.cd-moment-arrived .cd-finished{animation:none!important}}
@media(prefers-reduced-data:reduce){.cd-cinematic-fx{display:none!important}}
