
:root{
 color-scheme:dark;--bg:#0c0d15;--panel:#141622;--ink:#f2f1fa;--muted:#a7a9bd;--line:#2a2c40;
 --accent:#a39bff;--accent-ink:#100d24;--ok:#6bd3a0;--bad:#ffacb4;--warn:#e6bc80;
 --ok-bg:#18362c;--bad-bg:#3b202c;--warn-bg:#342c23;--info-bg:#262344;--focus:#aaa2ff;
 font-family:Geist,Inter,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
body{background:radial-gradient(ellipse at 15% 0%,#22204366,transparent 50%),var(--bg);color:var(--ink);font-family:Geist,Inter,"Segoe UI",sans-serif}
a{color:#c3bcff}
a:hover{color:#e0dcff}
:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.site-header,.site-footer,.home-content{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.site-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:19px;font-weight:700;letter-spacing:-.025em}
.site-logo{width:82px;height:54px;object-fit:contain;border-radius:10px;background:transparent}
.site-header>a:last-child:not(.site-brand){font-size:13px;text-decoration:none;color:var(--muted)}
.home-content{padding:72px 0 48px}
.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:72px;align-items:center}
.eyebrow{display:block;color:#b9b0ff;font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;margin-bottom:22px}
.hero h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.055em;line-height:1.08;font-weight:650;margin:0 0 24px}
.hero h1 span{color:#b7adff}
.hero-copy>p{font-size:16px;line-height:1.8;color:var(--muted);max-width:470px}
.trust{display:flex;gap:9px;align-items:center;font-size:12px;color:#bcbad1;margin-top:25px}
.trust::before{content:"✓";color:var(--ok)}
.link-card{background:linear-gradient(145deg,#1b1b2b,#141622);padding:32px;border:1px solid #39344e;border-radius:18px;box-shadow:0 16px 60px #0003}
.link-card h2{font-size:22px;letter-spacing:-.025em;margin:0 0 10px}
.link-card>p{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:24px}
.link-card form{display:grid;gap:12px}
.link-card label{font-size:13px;font-weight:600}
.link-card input{width:100%;min-width:0;border:1px solid #454059;border-radius:9px;background:#10111c;color:var(--ink);padding:15px 13px;font:inherit;font-size:13px}
.link-card input::placeholder{color:#8c8da5}
.link-card button,.customer-flow button{background:linear-gradient(110deg,#7863e7,#a881e8);border:1px solid #ac98ed;border-radius:9px;color:#fff;font:inherit;font-weight:650;padding:14px 18px;cursor:pointer}
.link-card button:hover,.customer-flow button:hover{filter:brightness(1.1)}
.link-card button{display:flex;justify-content:space-between;margin-top:6px}
#error{color:var(--bad);font-size:13px;margin:0}
.how-it-works{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:64px;padding:34px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.how-it-works h2{font-size:15px;font-weight:600;line-height:1.5;margin:0 0 9px}
.how-it-works p{color:var(--muted);font-size:13px;line-height:1.75;margin:0}
.help{margin:28px 0 0}
.help details{border-bottom:1px solid var(--line);padding:18px 0}
.help summary{font-size:14px;cursor:pointer;font-weight:550}
.help p{font-size:13px;color:var(--muted);line-height:1.8;max-width:780px;margin:14px 0 0}
.site-footer{display:flex;justify-content:space-between;gap:16px;padding:24px 0;border-top:1px solid var(--line);font-size:11px;line-height:1.7;color:var(--muted)}
.home-page{margin:0;min-height:100svh}
.customer-flow{height:auto;min-height:100svh;display:flex;flex-direction:column;align-items:center;padding:0 0 20px;gap:32px}
.customer-flow main{width:min(100% - 32px,500px);max-width:500px;background:var(--panel);border-color:var(--line);box-shadow:0 18px 70px #0003;padding:32px;border-radius:18px}
.customer-flow main h1{font-size:26px}
.customer-flow .site-header{flex:none}
.customer-flow .site-footer{margin-top:auto}
.customer-flow .steam-guide summary{font-size:14px;line-height:1.6}
.customer-flow .timeline li{padding:16px 0}
.customer-flow input[type=url]{background:#10111c}
.customer-flow .step-note{color:var(--muted)}
.customer-flow .step-icon[data-icon='check']{color:#09271b}
body.admin-page{margin:0}
.admin-page header{background:var(--panel)}
.admin-page header h1{display:flex;align-items:center;gap:10px}
.admin-page .admin-logo{width:58px;height:38px;object-fit:contain;background:transparent;border-radius:6px}
.admin-page button.btn{background:#8e7aeb;color:#fff;border-color:#9b8ce6}
.admin-page button.btn.ghost{background:transparent;color:#beb5ff;border-color:#514567}
.admin-page nav button[aria-selected=true]{box-shadow:inset 0 2px #a88df5}
.admin-page input,.admin-page select,.admin-page textarea{border-color:#3c3c54}
@media(max-width:760px){
 .site-header,.site-footer,.home-content{width:calc(100% - 32px)}
 .site-brand{font-size:16px}.site-logo{width:64px;height:43px}
 .home-content{padding:40px 0 28px}.hero{grid-template-columns:1fr;gap:30px}
 .hero h1{font-size:43px}.hero-copy>p{font-size:14px}.eyebrow{margin-bottom:16px}
 .link-card{padding:24px}.how-it-works{grid-template-columns:1fr;gap:24px;margin-top:36px;padding:28px 0}
 .site-footer{flex-direction:column;gap:7px}
 .customer-flow{gap:24px}.customer-flow main{padding:25px}
}

.home-page .site-header,.home-page .site-footer,.home-page .home-content{width:min(1360px,calc(100% - 48px))}
.home-page .hero{grid-template-columns:minmax(230px,.9fr) minmax(340px,1.2fr) minmax(220px,.8fr);gap:28px}
.home-page .hero h1{font-size:clamp(36px,4vw,56px)}
.holiday-mascot{align-self:center;min-width:0;pointer-events:none}
.holiday-mascot img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 24px #05030a66)}
@media(max-width:1100px){
.home-page .hero{grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);gap:28px}
.home-page .hero-copy{grid-column:1/-1}
.home-page .hero-copy>p{max-width:640px}
.holiday-mascot{max-width:360px}
}
@media(max-width:600px){
.home-page .site-header,.home-page .site-footer,.home-page .home-content{width:calc(100% - 32px)}
.home-page .hero{grid-template-columns:minmax(0,1fr) 100px;gap:20px 8px;align-items:center}
.home-page .link-card{padding:20px 16px}
.home-page .link-card h2{font-size:19px}
.home-page .link-card input{font-size:12px;padding:13px 10px}
.home-page .link-card button{font-size:13px;padding:13px 10px}
}

/* Snow is decorative and never captures pointer input. */
.home-page{isolation:isolate}
.home-page>.site-header,.home-page>.home-content,.home-page>.site-footer{position:relative;z-index:1}
.snowfall{position:fixed;inset:0;z-index:2;overflow:hidden;pointer-events:none;contain:strict}
.snowflake{position:absolute;top:-12px;left:var(--snow-x);width:var(--snow-size);height:var(--snow-size);border-radius:50%;background:#e4e2ff;opacity:var(--snow-opacity);animation:snow-fall var(--snow-duration) var(--snow-delay) linear infinite}
@keyframes snow-fall{from{transform:translate3d(0,-12px,0)}to{transform:translate3d(var(--snow-drift),calc(100vh + 24px),0)}}

@media(max-width:600px){.snowflake:nth-child(n+25){display:none}}
@media(prefers-reduced-motion:reduce){.snowflake{animation-duration:40s;opacity:.3}}

/* Seasonal decoration is isolated from the delivery controls. */
.holiday-garland{position:absolute;top:0;left:0;width:100%;height:24px;z-index:3;pointer-events:none;overflow:hidden;background:repeating-linear-gradient(155deg,transparent 0 12px,#264233 13px 16px,transparent 17px 25px),repeating-linear-gradient(25deg,transparent 0 12px,#1d352b 13px 17px,transparent 18px 27px);background-size:auto 15px;background-repeat:repeat-x}
.holiday-garland::before{content:"";position:absolute;left:0;top:-21px;width:100%;height:34px;border-bottom:1px solid #53704d;border-radius:0 0 50% 50%}
.holiday-garland span{position:absolute;top:10px;left:var(--bulb-x);width:5px;height:8px;border-radius:45% 45% 50% 50%;background:#f0dca2;box-shadow:0 0 9px 2px #e7ba6b55}
.holiday-garland span:nth-child(3n){background:#b4a0e4;box-shadow:0 0 9px 2px #a88cdd44}
.home-page .site-header{padding-top:32px}
.home-page .site-footer{min-height:200px;align-items:center;padding-left:190px}
.footer-tree{position:absolute;left:8px;bottom:10px;width:154px;height:180px;object-fit:contain;pointer-events:none}
@media(max-width:600px){
 .holiday-garland span:nth-child(even){display:none}
 .home-page .site-footer{min-height:155px;padding-left:115px;justify-content:center;align-items:flex-start}
 .footer-tree{left:0;width:95px;height:135px;bottom:10px}
}

.holiday-garland span{animation:holiday-glimmer 5.8s ease-in-out infinite;opacity:.75}
.holiday-garland span:nth-child(3n){animation-delay:-1.9s;animation-duration:6.7s}
.holiday-garland span:nth-child(3n+1){animation-delay:-3.8s;animation-duration:7.2s}
@keyframes holiday-glimmer{0%,100%{opacity:.45;filter:brightness(.85)}50%{opacity:.95;filter:brightness(1.15)}}
@media(prefers-reduced-motion:reduce){.holiday-garland span{animation:none;opacity:.75}}

.music-toggle{position:fixed;right:20px;bottom:20px;z-index:5;min-width:98px;min-height:42px;padding:10px 15px;border:1px solid #665784;border-radius:999px;background:#1b182bf2;color:#e5ddff;font:500 12px Geist,Inter,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 4px 18px #0004}
.music-toggle:hover{background:#2a2340}
@media(max-width:600px){.music-toggle{right:12px;bottom:12px;min-height:44px}}

.home-page .hero{position:relative}
.home-page .hero-copy{position:relative;padding-left:140px}
.hero-tree{position:absolute;left:0;top:20px;width:120px;height:auto;pointer-events:none}
.holiday-mascot{position:relative;isolation:isolate}
.holiday-mascot .mascot-figure{position:relative;z-index:1}
.holiday-mascot .mascot-gifts{position:absolute;right:-3%;bottom:1%;width:66%;height:auto;z-index:0;opacity:.92}
.home-page .site-footer{min-height:0;padding-left:0;align-items:center}
@media(min-width:1700px){
 .home-page .hero-copy{position:static;padding-left:0}
 .hero-tree{left:auto;right:calc(100% + 25px);top:18px;width:210px;max-width:calc((100vw - 1360px)/2 - 40px)}
}
@media(min-width:1101px) and (max-width:1699px){
 .home-page .hero-copy{padding-left:0}
 .hero-tree{position:static;display:block;width:100px;margin-top:20px}
}
@media(max-width:600px){
 .home-page .hero-copy{padding-left:95px}
 .hero-tree{width:80px;top:28px}
 .home-page .hero h1{font-size:clamp(30px,7vw,43px)}
 .home-page .site-footer{min-height:0;padding-left:0;align-items:flex-start}
}

@media(min-width:1101px) and (max-width:1699px){
 .home-page .site-header,.home-page .site-footer,.home-page .home-content{width:min(1360px,calc(100% - 240px))}
 .home-page .hero-copy{position:static;padding-left:0}
 .hero-tree{position:absolute;left:auto;right:calc(100% + 16px);top:20px;width:clamp(90px,8vw,130px);margin-top:0}
}

/* The card garland follows the outer edge, clear of labels and controls. */
.link-card{position:relative;isolation:isolate}
.card-garland{position:absolute;inset:-9px -7px auto;height:104px;pointer-events:none;z-index:2}
.card-garland-top{position:absolute;top:0;left:8px;right:8px;height:18px;border-radius:16px 16px 50% 50%;background:repeating-linear-gradient(150deg,transparent 0 9px,#2b4938 10px 13px,transparent 14px 20px),repeating-linear-gradient(30deg,transparent 0 10px,#203c2d 11px 14px,transparent 15px 22px)}
.card-garland-side{position:absolute;top:6px;width:14px;height:88px;background:repeating-linear-gradient(50deg,transparent 0 8px,#2b4938 9px 12px,transparent 13px 18px),repeating-linear-gradient(125deg,transparent 0 8px,#203c2d 9px 12px,transparent 13px 19px);border-radius:12px;mask-image:linear-gradient(#000 68%,transparent)}
.card-garland-side.is-left{left:0;transform:rotate(-5deg);transform-origin:top}
.card-garland-side.is-right{right:0;transform:rotate(5deg);transform-origin:top}
.card-bulb{position:absolute;width:5px;height:8px;border-radius:45% 45% 50% 50%;background:#f0dca2;box-shadow:0 0 8px 2px #e7ba6b55;animation:holiday-glimmer 6.2s ease-in-out infinite}
.card-bulb:nth-of-type(3n){background:#bca7ea;box-shadow:0 0 8px 2px #a88cdd44;animation-delay:-2.1s;animation-duration:7.1s}
.card-bulb:nth-of-type(3n+1){animation-delay:-4.3s}
@media(max-width:600px){.card-bulb{width:4px;height:6px}.card-garland-side{height:64px}.card-bulb.side-low{display:none}}
@media(prefers-reduced-motion:reduce){.card-bulb{animation:none}}

/* Small screens prioritize form readability and touch targets. */
@media(max-width:600px){
 .home-page .hero{grid-template-columns:minmax(0,1fr);gap:24px}
 .home-page .hero-copy{grid-column:auto}
 .home-page .link-card{width:100%;padding:28px 22px;grid-row:3}
 .home-page .link-card h2{font-size:22px}
 .home-page .link-card input{font-size:16px;padding:14px 12px}
 .home-page .link-card button{font-size:15px;min-height:48px}
 .home-page .holiday-mascot{grid-row:2;width:160px;max-width:48%;justify-self:end;margin-top:-16px}
 .home-page .hero h1{font-size:clamp(31px,8.5vw,43px)}
 .home-page .hero-copy>p{font-size:14px}
 .site-header{gap:12px}.site-header>a:last-child:not(.site-brand){font-size:12px;text-align:right}
 .site-brand{font-size:15px;gap:6px}.site-logo{width:55px;height:40px}
 .customer-flow main{padding:25px 20px;min-width:0}
 .customer-flow input[type=url]{font-size:16px;min-width:0}
 .customer-flow .timeline li{align-items:flex-start}
 .customer-flow .step-icon{margin-top:2px}
 .customer-flow .site-footer{padding-bottom:24px}
 .admin-page #login{width:calc(100% - 24px);margin:8vh auto;padding:24px 20px}
 .admin-page header{padding:12px;gap:12px}
 .admin-page header .chips{margin-left:0;width:100%}
 .admin-page nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 12px 0;gap:6px}
 .admin-page nav button{min-height:44px;border:1px solid var(--line);border-radius:8px}
 .admin-page main{margin:12px 12px 32px;padding:16px;min-width:0;border-radius:12px}
 .admin-page .row{align-items:stretch}
 .admin-page .row>label{flex:1 1 180px;max-width:100%;min-width:0}
 .admin-page input,.admin-page select,.admin-page textarea{min-width:0!important;max-width:100%;font-size:16px}
 .admin-page .row>label>input,.admin-page .row>label>select{width:100%}
 .admin-page .row>button{min-height:44px;flex:1 1 auto}
 .admin-page .scroll{width:100%;max-width:100%;min-width:0}
 .admin-page h1{font-size:1rem}
}

@media(max-width:600px){
 .home-page .hero-copy>p,.home-page .hero-copy>.trust{margin-left:-95px;max-width:none}
 .home-page .holiday-mascot{width:120px;margin-top:-12px;margin-bottom:-14px}
}

.admin-page td.wrap{min-width:180px;max-width:280px;word-break:normal;overflow-wrap:anywhere}
