    :root {
      color-scheme: dark;
      --night:#06111f; --navy:#0b1c31; --navy-2:#102843; --ink:#f8f5ed;
      --dim:#aab9c9; --gold:#dfbd79; --gold-2:#f5e1ad; --line:rgba(206,226,243,.15);
      --mint:#9acabd; --ease:cubic-bezier(.21,.78,.2,1);
    }
    *,*::before,*::after{box-sizing:border-box}
    [hidden]{display:none!important}
    html{min-height:100%;background:var(--night);scroll-behavior:smooth}
    body{margin:0;min-height:100vh;overflow-x:hidden;background:
      radial-gradient(ellipse at 52% -8%,rgba(33,82,133,.26),transparent 49%),
      radial-gradient(ellipse at -10% 60%,rgba(34,61,109,.19),transparent 45%),
      radial-gradient(ellipse at 112% 88%,rgba(101,74,135,.15),transparent 40%),
      var(--night);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
    button{font:inherit}
    button:focus-visible{outline:2px solid var(--gold-2);outline-offset:4px}
    .ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
    .star{position:absolute;width:2px;height:2px;border-radius:50%;background:#f7f0dc;opacity:var(--opacity,.45);box-shadow:0 0 10px 1px rgba(229,213,180,.24);animation:twinkle var(--duration,5s) ease-in-out infinite alternate;animation-delay:var(--delay,0s)}
    .star.big{width:3px;height:3px;box-shadow:0 0 15px 3px rgba(230,209,152,.25)}
    @keyframes twinkle{from{opacity:calc(var(--opacity,.45)*.35);transform:scale(.75)}to{opacity:var(--opacity,.45);transform:scale(1.2)}}
    .ambient::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 70%,rgba(3,9,18,.35));}
    .page{position:relative;z-index:1;max-width:1440px;margin:auto;padding:0 clamp(16px,4.5vw,76px) 28px}
    .site-header{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(255,255,255,.09)}
    .logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);line-height:1}
    .brand-symbol{flex:none;width:43px;height:43px;position:relative;display:grid;place-items:center;color:var(--gold);font-size:28px;background:radial-gradient(circle at center,rgba(239,204,135,.16),transparent 72%);border:1px solid rgba(235,203,140,.27);border-radius:50%}
    .brand-symbol::before,.brand-symbol::after{content:"";position:absolute;inset:7px;border:1px solid rgba(228,198,142,.37);border-radius:50%;transform:rotate(46deg) scaleX(.47)}
    .brand-symbol::after{transform:rotate(-46deg) scaleX(.47)}
    .logo-title{font-size:18px;font-weight:750;letter-spacing:-.045em}.logo-title span{font-weight:360;color:#b7c2d1}
    .logo-meta{margin-top:6px;color:var(--gold);font-weight:700;font-size:9px;letter-spacing:.26em;text-transform:uppercase}
    .header-right{display:flex;align-items:center;gap:16px}
    .edition{color:#cbb788;letter-spacing:.2em;font-size:10px;font-weight:750;text-transform:uppercase;white-space:nowrap}
    .language{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:50px;background:rgba(255,255,255,.035)}
    .language button{border:0;background:transparent;color:var(--dim);padding:7px 10px;border-radius:30px;font-size:11px;cursor:pointer;font-weight:700}
    .language button[aria-pressed="true"]{background:rgba(222,186,111,.16);color:var(--gold-2)}
    .eyebrow{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.25em;text-transform:uppercase}
    .eyebrow::before{content:"✦";margin-right:12px;font-size:14px;vertical-align:middle}
    h1,h2,h3,p{margin-top:0}
    .gold-text{background:linear-gradient(115deg,#f1d7a0 10%,#bd955d 62%,#f2dfab);background-clip:text;-webkit-background-clip:text;color:transparent}
    .primary{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:19px;min-height:58px;padding:0 28px;border:1px solid #f4dbab;border-radius:5px;background:linear-gradient(125deg,#f3dba9,#c9a269);color:#142238;font-weight:800;letter-spacing:.015em;cursor:pointer;box-shadow:0 9px 31px rgba(192,147,74,.12);transition:transform .25s,box-shadow .25s}
    .primary:hover{transform:translateY(-3px);box-shadow:0 15px 43px rgba(211,169,102,.25)}
    .primary .arrow{font-size:23px;font-weight:350;line-height:1}
    .subtle-button{border:1px solid var(--line);border-radius:5px;color:#e9e6dc;background:rgba(255,255,255,.045);min-height:43px;padding:0 17px;cursor:pointer;transition:border-color .2s,background .2s}
    .subtle-button:hover{background:rgba(255,255,255,.085);border-color:rgba(228,190,115,.45)}
    .start{min-height:min(780px,calc(100dvh - 165px));display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;padding:45px 0 54px}
    .hero-copy{max-width:650px;position:relative;z-index:1}
    .hero-title{font-family:Georgia, "Times New Roman", serif;font-size:clamp(57px,6.7vw,99px);line-height:1.055;letter-spacing:-.052em;font-weight:400;margin:25px 0 22px}
    .hero-title .line{display:block}.hero-title .thin{font-style:italic;font-size:.78em;letter-spacing:-.06em}
    .hero-lead{font-size:clamp(15px,1.5vw,19px);line-height:1.7;color:#c4cdda;max-width:490px;margin-bottom:33px}
    .hero-mini{display:flex;gap:24px;margin-top:36px;align-items:center;flex-wrap:wrap}
    .hero-mini span{display:flex;align-items:center;gap:9px;color:#a5b7c7;font-size:12px;letter-spacing:.02em}
    .hero-mini b{color:var(--gold);font-size:17px;font-weight:500}
    .hero-art{position:relative;width:100%;max-width:620px;aspect-ratio:1/1;margin:auto;isolation:isolate}
    .nebula{position:absolute;inset:5%;border-radius:50%;background:
      radial-gradient(ellipse at 47% 42%,rgba(252,221,153,.28),transparent 10%),
      radial-gradient(ellipse at 45% 52%,rgba(49,120,160,.35),transparent 36%),
      radial-gradient(ellipse at 65% 60%,rgba(44,59,121,.35),transparent 47%);filter:blur(18px)}
    .orbit{position:absolute;inset:12%;border:1px solid rgba(219,189,132,.18);border-radius:50%;transform:rotate(-25deg) scaleY(.7)}
    .orbit.o2{inset:21%;border-color:rgba(223,192,137,.24);transform:rotate(35deg) scaleY(.68)}
    .orbit.o3{inset:5%;border-style:dashed;border-color:rgba(229,192,129,.13);transform:rotate(-52deg) scaleY(.78)}
    .hero-core{position:absolute;inset:30%;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,rgba(252,213,144,.18),rgba(17,56,88,.15) 47%,transparent 75%);animation:float 6s ease-in-out infinite}
    .hero-core span{display:grid;place-items:center}
    .orbital-points .point{position:absolute;display:grid;place-items:center;border-radius:50%;background:#0b1d32;border:1px solid rgba(234,204,146,.45);color:var(--gold-2);box-shadow:0 0 25px rgba(227,198,124,.15);font-size:16px}
    .orbital-points .point::after{content:"";position:absolute;inset:-6px;border:1px solid rgba(226,193,135,.12);border-radius:50%}
    .floating-card{position:absolute;width:21%;aspect-ratio:.78;padding:5px;border-radius:12px;background:linear-gradient(140deg,rgba(26,59,88,.95),rgba(11,29,53,.97));border:1px solid rgba(241,207,149,.25);box-shadow:0 22px 45px rgba(0,5,15,.38);display:grid;place-items:center;transform:rotate(var(--rot,0deg));animation:float 6s ease-in-out infinite;animation-delay:var(--d,0s)}
    .floating-card::before{content:"";position:absolute;inset:7px;border:1px solid rgba(228,201,140,.19);border-radius:7px}
    .floating-card span{display:grid;place-items:center;width:100%;height:100%}
    .floating-card.c1{top:2%;right:16%;--rot:18deg;--d:-1s}
    .floating-card.c2{bottom:5%;right:3%;--rot:11deg;--d:-2s}
    .floating-card.c3{bottom:15%;left:0%;--rot:-17deg;--d:-4s}
    @keyframes float{50%{translate:0 -12px}}
    .start-note{grid-column:1/-1;position:relative;display:flex;justify-content:space-between;gap:22px;border-top:1px solid rgba(255,255,255,.08);padding-top:19px;color:#889db1;font-size:11px;letter-spacing:.03em}
    .start-note span:last-child{color:#c8b68b}
    .game{padding:24px 0 35px}
    .game-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
    .game-heading h1{font-family:Georgia,serif;font-size:clamp(31px,4vw,52px);font-weight:400;letter-spacing:-.04em;line-height:1.1;margin:10px 0 0}
    .game-heading h1 em{color:var(--gold);font-weight:400}
    .game-grid{display:grid;grid-template-columns:minmax(0,1.88fr) minmax(280px,.85fr);align-items:stretch;gap:20px}
    .board-panel,.galaxy-panel{min-width:0;border:1px solid rgba(200,220,235,.14);border-radius:14px;background:linear-gradient(148deg,rgba(17,39,63,.86),rgba(7,24,43,.91));box-shadow:0 24px 78px rgba(1,7,15,.21)}
    .board-panel{padding:clamp(12px,1.7vw,24px)}
    .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px}
    .stat{min-width:0;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.025)}
    .stat > span{display:block;color:#a2b2c3;text-transform:uppercase;letter-spacing:.15em;font-size:9px;font-weight:700;margin-bottom:5px}
    .stat strong{display:block;color:#f6f2e9;font-size:clamp(19px,2.4vw,27px);font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}
    .stat strong small{font-size:.52em;color:#9daaba;font-weight:500}
    .stat:nth-child(1) strong{color:var(--gold-2)}
    .board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(5px,.7vw,10px);perspective:1500px}
    .memory-card{position:relative;width:100%;aspect-ratio:.79;display:block;border:0;padding:0;background:transparent;border-radius:8px;cursor:pointer;perspective:1100px;-webkit-tap-highlight-color:transparent}
    .card-rotator{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .56s var(--ease)}
    .memory-card.is-open .card-rotator,.memory-card.is-matched .card-rotator{transform:rotateY(180deg)}
    .card-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:7px;-webkit-backface-visibility:hidden;backface-visibility:hidden}
    .card-back{border:1px solid rgba(230,205,156,.28);background:radial-gradient(ellipse at 50% 23%,rgba(76,118,147,.18),transparent 69%),linear-gradient(155deg,#173552,#10243f 56%,#0e1e35);box-shadow:inset 0 1px rgba(255,255,255,.09),0 4px 10px rgba(0,0,0,.22)}
    .card-back::before{content:"";position:absolute;inset:6%;border:1px solid rgba(229,193,128,.29);border-radius:4px}
    .card-back::after{content:"";position:absolute;inset:14%;border:1px solid rgba(224,199,151,.1);border-radius:50%;transform:rotate(23deg) scaleY(.67)}
    .back-emblem{color:var(--gold);font-family:Georgia,serif;font-size:clamp(22px,3.3vw,43px);font-style:italic;line-height:1;z-index:1;text-shadow:0 0 15px rgba(232,181,94,.26)}
    .back-name{color:#b1a17d;font-size:clamp(5px,.57vw,8px);letter-spacing:.15em;margin-top:7px;font-weight:800;z-index:1}
    .card-front{transform:rotateY(180deg);background:linear-gradient(145deg,#fffef9,#e5ebed);border:1px solid rgba(255,255,255,.95);box-shadow:0 3px 12px rgba(0,0,0,.15);color:#1d3246;padding:8px 3px 4px}
    .logo-box{display:grid;place-items:center;width:85%;height:68%;min-height:0}
    .logo-box img{display:block;max-width:96%;max-height:82%;object-fit:contain}
    .logo-placeholder{display:grid;place-items:center;width:clamp(29px,5.5vw,67px);height:clamp(29px,5.5vw,67px);max-width:96%;max-height:92%;border:2px solid var(--brand-color);border-radius:27%;color:var(--brand-color);font-size:clamp(21px,3.3vw,42px);line-height:1;transform:rotate(-7deg)}
    .logo-placeholder span{transform:rotate(7deg)}
    .card-brand-name{display:block;max-width:100%;color:#3c4e5d;font-size:clamp(7px,.69vw,10px);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.025em;padding:0 3px}
    .memory-card.is-matched .card-front{background:linear-gradient(145deg,#f5f8f3,#e1f0e9);border-color:#cfebdf;box-shadow:inset 0 0 0 2px rgba(73,133,107,.28),0 0 18px rgba(164,224,188,.14)}
    .memory-card:not(.is-open):not(.is-matched):hover .card-rotator{transform:translateY(-4px)}
    .memory-card:disabled{cursor:default}
    .memory-card.is-matched::after{content:"✦";position:absolute;right:5px;top:1px;color:#a58546;font-size:16px;z-index:2}
    .board-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
    .board-help{color:#9dabbc;font-size:11px;line-height:1.45}
    .galaxy-panel{position:relative;overflow:hidden;padding:24px 22px;display:flex;flex-direction:column;min-height:570px}
    .galaxy-panel::before{content:"";pointer-events:none;position:absolute;width:100%;aspect-ratio:1;top:120px;left:0;background:radial-gradient(circle,rgba(54,99,130,.22),transparent 69%)}
    .galaxy-head{display:flex;justify-content:space-between;align-items:flex-start;position:relative;z-index:1}
    .galaxy-head h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.12;margin:8px 0 0}
    .galaxy-count{font-size:12px;font-variant-numeric:tabular-nums;color:var(--gold);margin-top:7px}
    .galaxy-stage{position:relative;min-height:300px;flex:1;display:grid;place-items:center}
    .galaxy-svg{width:100%;max-width:410px;overflow:visible;filter:drop-shadow(0 0 18px rgba(57,139,179,.1))}
    .galaxy-svg .guide{fill:none;stroke:rgba(199,203,213,.09);stroke-width:1}
    .galaxy-svg .beam{fill:none;stroke:rgba(217,188,121,.12);stroke-width:1.2;transition:stroke .8s,stroke-width .8s}
    .galaxy-svg .beam.on{stroke:rgba(243,206,139,.64);stroke-width:1.8}
    .galaxy-svg .node .halo{fill:rgba(220,183,99,.035);stroke:rgba(215,191,138,.25);stroke-width:1;transition:fill .5s,stroke .5s}
    .galaxy-svg .node .dot{fill:#4b6376;transition:fill .55s,filter .55s}
    .galaxy-svg .node text{fill:#71889c;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px;text-anchor:middle;dominant-baseline:middle;font-weight:700;transition:fill .55s}
    .galaxy-svg .node.on .halo{fill:rgba(237,194,116,.16);stroke:rgba(254,222,160,.8)}
    .galaxy-svg .node.on .dot{fill:#ffdd93;filter:drop-shadow(0 0 6px #dfaa5d)}
    .galaxy-svg .node.on text{fill:#fff4d6}
    .galaxy-insight{border-top:1px solid var(--line);padding-top:16px;position:relative;min-height:92px;z-index:1}
    .insight-kicker{display:block;color:var(--gold);letter-spacing:.17em;font-size:10px;font-weight:750;text-transform:uppercase;margin-bottom:8px}
    .insight-title{font-size:15px;font-weight:750;margin-bottom:5px;color:#f5f1e8}
    .insight-copy{font-size:12px;line-height:1.52;color:#acbecd;margin:0}
    .status-message{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
    .finish{min-height:650px;padding:35px 0 30px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
    .finish-title{font-family:Georgia,serif;font-weight:400;font-size:clamp(42px,5.4vw,72px);line-height:1.14;letter-spacing:-.047em;max-width:850px;margin:12px auto 13px}
    .finish-subtitle{color:#c7d0d6;line-height:1.55;max-width:610px;margin-bottom:0}
    .finish-orbit{position:relative;width:min(100%,650px);aspect-ratio:1/0.78;margin:-4px auto -5px;isolation:isolate}
    .finish-orbit::before{content:"";position:absolute;inset:7% 13%;border:1px solid rgba(237,199,134,.16);border-radius:50%;transform:scaleY(.82)}
    .finish-orbit::after{content:"";position:absolute;inset:18% 24%;border:1px solid rgba(235,202,151,.2);border-radius:50%;transform:rotate(39deg) scaleY(.68)}
    .finish-haze{position:absolute;inset:10%;background:radial-gradient(ellipse,rgba(210,177,116,.18),rgba(33,80,117,.24) 27%,transparent 60%);filter:blur(12px)}
    .finish-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;z-index:2}
    .finish-center .bigstar{font-family:Georgia,serif;font-size:clamp(65px,11vw,116px);font-style:italic;color:#f3ddb0;text-shadow:0 0 32px rgba(239,204,142,.5);line-height:1}
    .finish-center .center-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#f5dba8;text-transform:uppercase}
    .finish-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%) scale(0);width:clamp(36px,5.7vw,59px);aspect-ratio:1;border:1px solid rgba(242,205,146,.53);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 30%,#284960,#0e263b 78%);box-shadow:0 0 25px rgba(221,174,104,.17);animation:node-appear .7s var(--ease) forwards;animation-delay:var(--wait);z-index:3;overflow:hidden}
    .finish-node .fallback{display:grid;place-items:center;color:#ead6b4;font-size:clamp(16px,2.5vw,24px);width:100%;height:100%}
    .finish-node img{max-width:79%;max-height:68%;object-fit:contain}
    @keyframes node-appear{to{transform:translate(-50%,-50%) scale(1)}}
    .finish-summary{display:flex;justify-content:center;flex-wrap:wrap;gap:28px;margin-bottom:25px;color:#b9c8d2;font-size:14px}
    .finish-summary strong{color:var(--gold-2);font-weight:600}
    .finish-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
    .share-status{min-height:24px;color:#c9ddda;font-size:12px;margin:14px auto 0}
    .footer{border-top:1px solid rgba(255,255,255,.09);padding:20px 0 0;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#8296a8;font-size:11px;line-height:1.5}
    .footer b{color:#c9b389;font-weight:600}
    @media(max-width:1110px){.game-grid{grid-template-columns:minmax(0,1.8fr) minmax(250px,.9fr)}.galaxy-panel{padding:20px 15px}.galaxy-stage{min-height:250px}.start{gap:8px}.hero-title{font-size:clamp(52px,7.5vw,82px)}}
    @media(max-width:790px){.site-header{min-height:73px}.edition{display:none}.start{grid-template-columns:1fr;min-height:0;padding:46px 0 29px}.hero-copy{margin:auto;text-align:center}.hero-title{font-size:clamp(57px,12vw,88px);margin:18px 0}.hero-lead{margin:0 auto 25px}.hero-mini{justify-content:center;margin-top:23px}.hero-art{max-width:470px;margin-top:-22px}.start-note{margin-top:-6px}.game-grid{grid-template-columns:1fr;gap:15px}.game-heading h1{font-size:36px}.board{gap:clamp(5px,1.2vw,9px)}.galaxy-panel{min-height:auto}.galaxy-stage{height:300px;flex:none}.galaxy-svg{height:290px;width:290px}.galaxy-insight{min-height:82px}.finish-orbit{max-width:570px}}
    @media(max-width:520px){.page{padding:0 13px 22px}.site-header{min-height:68px}.logo{gap:8px}.brand-symbol{width:36px;height:36px;font-size:23px}.logo-title{font-size:16px}.logo-meta{font-size:8px}.hero-title{font-size:clamp(48px,11.8vw,68px)}.hero-lead{font-size:14px}.hero-art{margin-top:-13px;margin-bottom:-28px}.start-note{font-size:9px}.start-note span:last-child{display:none}.game{padding-top:17px}.game-heading{align-items:center;margin-bottom:16px}.game-heading h1{font-size:29px}.game-heading .subtle-button{font-size:11px;min-height:38px;padding:0 10px;flex:none;white-space:nowrap}.board-panel{padding:9px}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.memory-card{aspect-ratio:.93}.back-emblem{font-size:clamp(23px,9vw,35px)}.back-name{font-size:7px}.logo-placeholder{width:clamp(35px,11vw,50px);height:clamp(35px,11vw,50px);font-size:27px}.card-brand-name{font-size:8px}.stats{margin-bottom:9px;gap:6px}.stat{padding:9px 7px}.stat > span{font-size:8px}.stat strong{font-size:22px}.board-footer{margin-top:13px}.board-help{font-size:10px}.board-footer .subtle-button{font-size:11px;white-space:nowrap;padding:0 10px}.galaxy-panel{padding:19px}.galaxy-stage{height:265px}.galaxy-svg{width:275px;height:265px}.finish{padding-top:40px;min-height:600px}.finish-title{font-size:42px}.finish-orbit{aspect-ratio:1/1;margin:0 auto}.finish-node{width:39px}.finish-summary{gap:17px;font-size:12px}.finish-actions{flex-direction:column;width:min(100%,290px)}.finish-actions button{width:100%}}
    

    /* CHRISTMAS 2026 · PREMIUM ART DIRECTION */
    :root{--night:#050d1b;--navy:#091c34;--ink:#faf6ec;--dim:#a2afc0;--gold:#d9b778;--gold-2:#f2d9a5;--line:rgba(232,213,176,.15);--ease:cubic-bezier(.19,.8,.22,1)}
    body{background:radial-gradient(ellipse at 50% -10%,rgba(44,65,105,.42),transparent 49%),radial-gradient(ellipse at 85% 60%,rgba(53,66,94,.20),transparent 47%),linear-gradient(155deg,#050d1a,#071224 54%,#050c18);}
    .page{max-width:1500px;padding-inline:clamp(18px,4.5vw,72px)}
    .site-header{border-bottom-color:rgba(238,219,180,.16);min-height:92px}
    .logo-title{font-weight:730;font-size:19px;letter-spacing:-.055em}
    .brand-symbol{width:45px;height:45px;border-color:rgba(228,194,121,.43);background:radial-gradient(circle,rgba(207,178,111,.2),rgba(10,25,44,.5));box-shadow:0 0 25px rgba(210,177,115,.09)}
    .logo-meta{letter-spacing:.26em;font-weight:700;font-size:8px}
    .edition{font-weight:600;letter-spacing:.25em}
    .primary{border-radius:100px;min-height:58px;padding:0 30px;background:linear-gradient(130deg,#fae6bd,#d1a962 70%,#b68b4d);border:1px solid #f7ddb0;box-shadow:0 8px 34px rgba(198,147,66,.2)}
    .primary:hover{box-shadow:0 11px 42px rgba(209,168,98,.35)}
    .subtle-button{border-radius:50px;min-height:45px;padding:0 19px}
    .eyebrow{font-size:10px;letter-spacing:.29em}
    .hero-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(60px,6.9vw,105px);letter-spacing:-.05em;line-height:1.02;margin-block:27px 28px}
    .hero-lead{max-width:520px;color:#bbc4d2;line-height:1.85}
    .hero-mini{gap:28px;margin-top:42px}
    .hero-mini b{font-family:Georgia,serif;color:#f0d7a1;font-size:25px}
    .hero-mini span{font-size:11px;letter-spacing:.04em}
    .hero-art{max-width:650px}
    .hero-art .orbit{border-color:rgba(236,205,147,.26)}
    .hero-art .orbit.o2{border-color:rgba(237,192,126,.15)}
    .hero-art .floating-card{border-radius:15px;border-color:rgba(242,203,133,.46);box-shadow:0 23px 70px rgba(0,0,0,.47),inset 0 1px rgba(255,255,255,.08)}
    .hero-art .floating-card::before{border-radius:11px}
    .start-note{font-size:11px}
    .game-heading{margin:12px 0 22px}
    .game-heading h1{letter-spacing:-.055em}
    .board-panel,.galaxy-panel{background:linear-gradient(150deg,rgba(17,38,59,.91),rgba(8,20,39,.92));border-color:rgba(231,208,165,.16);border-radius:18px;box-shadow:0 26px 70px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.035)}
    .board-panel{padding:clamp(14px,2vw,27px)}
    .stats{gap:11px;margin-bottom:14px}
    .stat{border-radius:10px;min-height:68px;padding:11px 14px;background:rgba(255,255,255,.021);border-color:rgba(229,213,181,.11)}
    .stat>span{color:#b4bdc9;font-weight:600;letter-spacing:.18em}
    .stat strong{font-family:Georgia,serif;font-weight:400;font-size:clamp(23px,2.5vw,34px)}
    .starlight-progress{height:2px;background:rgba(231,199,141,.13);overflow:hidden;border-radius:50px;margin-bottom:16px}
    .starlight-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#b99a63,#fff0c7);box-shadow:0 0 18px #f7d796;transition:width .55s ease}
    .board{gap:clamp(7px,.79vw,12px)}
    .memory-card{border-radius:11px;box-shadow:0 7px 14px rgba(1,7,18,.17)}
    .card-face{border-radius:10px}
    .card-back{background:radial-gradient(circle at 52% 45%,rgba(43,77,111,.50),transparent 54%),linear-gradient(142deg,#153550,#0c233d 60%,#091c33);border:1px solid rgba(210,178,124,.48)}
    .card-back::before{inset:5px;border:1px solid rgba(239,202,145,.32);border-radius:7px}
    .card-back::after{inset:18%;border-color:rgba(218,184,115,.2);transform:rotate(24deg) scaleY(.77)}
    .back-emblem{font-size:clamp(25px,3.4vw,48px);color:#f0d49b;text-shadow:0 0 17px rgba(245,211,143,.35)}
    .back-name{letter-spacing:.2em;font-size:clamp(5px,.57vw,8px);color:#e8c893}
    .card-front{background:linear-gradient(151deg,#fffdf7,#f6f3ec 67%,#e9e4dc);border:1px solid rgba(241,224,187,.95);box-shadow:inset 0 1px white,0 5px 15px rgba(0,0,0,.1)}
    .card-front::before{content:'';position:absolute;inset:5px;border:1px solid rgba(10,36,66,.09);border-radius:6px;pointer-events:none}
    .logo-box{width:95%;height:72%;display:flex;align-items:center;justify-content:center;padding:3px 1px}
    .logo-box img{max-width:90%;max-height:75%;object-fit:contain}
    .wordmark{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#182b3d;line-height:1.01;text-align:center;letter-spacing:-.04em}
    .wordmark b{font-family:Arial,'Segoe UI',sans-serif;font-weight:850;max-width:100%;font-size:clamp(8px,1.12vw,16px);white-space:nowrap;letter-spacing:-.045em}
    .wordmark small{font-family:Arial,'Segoe UI',sans-serif;font-weight:500;font-size:clamp(5px,.66vw,9px);line-height:1.2;letter-spacing:.09em;max-width:100%;white-space:nowrap}
    .wordmark b span{font-weight:400}
    .wordmark--redorange b{color:#17191d;font-weight:950;font-size:clamp(8px,1.15vw,17px);letter-spacing:-.045em}
    .wordmark--redorange small{font-size:clamp(5px,.79vw,11px);letter-spacing:-.01em;color:#282a2c}
    .wordmark--line b{font-size:clamp(18px,3vw,42px);font-weight:300;letter-spacing:-.12em;color:#171c2d;line-height:.85}
    .wordmark--line small{letter-spacing:.055em;font-size:clamp(5px,.8vw,11px);color:#454b55}
    .wordmark--agentur05 b{font-size:clamp(11px,1.9vw,24px);letter-spacing:-.075em;font-weight:500;color:#202329}
    .wordmark--agentur05 b span{display:inline-grid;place-items:center;background:#343b3c;color:white;font-size:.67em;border-radius:50%;padding:.28em;letter-spacing:-.05em;margin-left:1px;font-weight:600}
    .wordmark--agentur05 small{font-size:clamp(5px,.65vw,9px);letter-spacing:.06em}
    .wordmark--proconcept b,.wordmark--sales b{font-weight:700;letter-spacing:.22em;font-size:clamp(6px,.92vw,13px)}
    .wordmark--activating b{font-size:clamp(9px,1.38vw,19px);color:#24495e;font-weight:800;letter-spacing:-.065em}
    .wordmark--activating b span{color:#a4712d;font-weight:500}
    .wordmark--bestzeit b{font-size:clamp(12px,2.2vw,31px);letter-spacing:-.08em;font-weight:650;color:#233b4b}
    .wordmark--bestzeit b span{color:#d1a86c}
    .wordmark--performance b{font-size:clamp(14px,2.2vw,29px);color:#224462;letter-spacing:-.055em}
    .wordmark--performance b span{font-size:.45em;letter-spacing:.02em;font-weight:700;vertical-align:middle}
    
    .wordmark--journalisten b{font-size:clamp(8px,1.28vw,17px);font-weight:900;line-height:.88;letter-spacing:-.02em}
    .wordmark--infokontor b{font-size:clamp(10px,1.75vw,23px);font-weight:780;color:#284767}
    .wordmark--infokontor b span{color:#bd8b56}
    .wordmark--move b{font-size:clamp(17px,2.3vw,33px);font-weight:750;letter-spacing:-.095em}
    .wordmark--move b span{color:#b58950;font-weight:800}
    .wordmark--retail b{font-size:clamp(11px,1.6vw,23px);font-weight:700;letter-spacing:-.085em}
    .wordmark--retail b i{font-weight:450}
    .wordmark--brandgalaxy b{font-size:clamp(9px,1.5vw,21px);color:#132d4b;letter-spacing:-.07em}
    .wordmark--brandgalaxy b span{font-weight:350;color:#a27c4a}
    .card-brand-name{display:block;text-transform:uppercase;font-size:clamp(6px,.6vw,8px);letter-spacing:.12em;font-weight:700;color:#8a8b85;line-height:1.2;max-width:92%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .memory-card.is-matched .card-front{background:linear-gradient(150deg,#fffef8,#f1f3ec);border-color:#e4d2a0;box-shadow:inset 0 0 0 2px rgba(213,180,112,.38),0 0 23px rgba(225,197,139,.20)}
    .memory-card.is-matched::after{content:'✦';right:7px;top:3px;color:#b68b48}
    .memory-card:not(.is-open):not(.is-matched):hover .card-back{border-color:#eecf90;box-shadow:0 6px 27px rgba(225,177,103,.18)}
    .galaxy-panel{padding:25px 24px;min-height:600px}
    .galaxy-panel::before{background:radial-gradient(circle,rgba(90,127,157,.20),transparent 71%)}
    .galaxy-svg .guide{stroke:rgba(222,210,182,.10)}
    .galaxy-svg .beam{stroke:rgba(222,192,136,.14)}
    .galaxy-svg .beam.on{stroke:rgba(241,207,140,.76)}
    .galaxy-svg .node .halo{stroke:rgba(223,198,146,.3)}
    .galaxy-svg .node.on .halo{fill:rgba(233,195,117,.19)}
    .galaxy-head h2{font-size:32px}
    .insight-kicker{letter-spacing:.22em}
    .insight-title{font-family:Georgia,serif;font-weight:400;font-size:21px}
    .insight-copy{font-size:13px;line-height:1.6}
    .finish-mark{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(242,207,145,.48);border-radius:50%;font-size:31px;color:#f0d39a;margin:0 auto 15px;box-shadow:0 0 30px rgba(230,199,145,.13)}
    .finish-node{border-color:rgba(231,194,123,.65);background:linear-gradient(135deg,#fff9e8,#d4bd8e);box-shadow:0 0 18px rgba(231,193,124,.20)}
    .orbit-mark{color:#233749;font-family:Arial,sans-serif;font-size:clamp(10px,1.2vw,17px);font-weight:850;letter-spacing:-.08em;text-transform:uppercase;line-height:1}
    .finish-node .orbit-mark{display:block;width:100%;padding:2px;text-align:center}
    .finish-summary{margin-top:10px}
    .finish-title{font-size:clamp(42px,5.2vw,70px)}
    .footer{border-top-color:rgba(228,201,160,.13)}
    @media(max-width:790px){.hero-title{font-size:clamp(57px,12vw,88px)}.game-heading{margin:12px 0 22px}.galaxy-panel{min-height:unset}.galaxy-stage{height:300px}}
    @media(max-width:520px){.page{padding-inline:12px}.site-header{min-height:70px}.hero-title{font-size:clamp(47px,11.8vw,69px)}.hero-mini{gap:14px}.hero-mini b{font-size:19px}.start{padding-top:36px}.game-heading{margin:4px 0 17px}.game-heading h1{font-size:29px}.board-panel{padding:10px}.stats{gap:6px;margin-bottom:12px}.stat{min-height:62px;padding:10px 8px}.stat strong{font-size:26px}.board{gap:7px}.memory-card{aspect-ratio:.87}.card-face{border-radius:7px}.card-back::before{inset:4px;border-radius:4px}.back-name{font-size:5px}.back-emblem{font-size:27px}.wordmark{gap:2px}.wordmark b{font-size:clamp(7px,2.25vw,11px)}.wordmark small{font-size:clamp(4.7px,1.48vw,7px)}.wordmark--redorange b{font-size:clamp(7px,2vw,10px)}.wordmark--redorange small{font-size:clamp(5px,1.6vw,7px)}.wordmark--line b{font-size:clamp(19px,6vw,30px)}.wordmark--agentur05 b{font-size:clamp(11px,3vw,15px)}.wordmark--proconcept b,.wordmark--sales b{font-size:clamp(6px,1.8vw,9px);letter-spacing:.14em}.wordmark--activating b{font-size:clamp(8px,2.4vw,12px)}.wordmark--bestzeit b{font-size:clamp(14px,4vw,20px)}.wordmark--performance b{font-size:clamp(12px,3.8vw,18px)}.wordmark--journalisten b{font-size:clamp(8px,2.5vw,12px)}.wordmark--infokontor b{font-size:clamp(10px,3.2vw,16px)}.wordmark--move b{font-size:clamp(16px,5vw,23px)}.wordmark--retail b{font-size:clamp(11px,3vw,15px)}.wordmark--brandgalaxy b{font-size:clamp(9px,2.75vw,14px)}.card-brand-name{font-size:clamp(5px,1.25vw,6px);letter-spacing:.025em}.starlight-progress{margin-bottom:11px}.galaxy-panel{padding:21px}.galaxy-head h2{font-size:29px}.finish-orbit{aspect-ratio:1/1}.finish-node{width:clamp(36px,10vw,43px)}.orbit-mark{font-size:10px}.finish-mark{width:49px;height:49px;font-size:26px}.finish-title{font-size:clamp(39px,9.5vw,48px)}}
  
  /* Festive premium upgrade */
  :root{--berry:#8f1d34;--berry-soft:#c34b62;--pine:#163a31;--snow:#f5f8fc;}
  body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:
    radial-gradient(circle at 12% 0%,rgba(168,43,67,.18),transparent 24%),
    radial-gradient(circle at 85% 4%,rgba(227,197,136,.14),transparent 21%),
    radial-gradient(circle at 48% 100%,rgba(21,77,65,.15),transparent 28%);mix-blend-mode:screen}
  .ambient{filter:saturate(1.06)}
  .ambient::before{content:"";position:absolute;inset:0;background:
    radial-gradient(circle at 20% 15%,rgba(255,255,255,.04),transparent 18%),
    radial-gradient(circle at 78% 12%,rgba(255,233,193,.03),transparent 16%),
    radial-gradient(circle at 52% 83%,rgba(255,255,255,.025),transparent 24%)}
  .snowflake{position:absolute;top:-12vh;color:rgba(245,248,252,.82);font-size:var(--size,12px);line-height:1;text-shadow:0 0 10px rgba(255,255,255,.22);opacity:.78;animation:snowfall linear infinite;animation-duration:var(--duration,14s);animation-delay:var(--delay,0s)}
  @keyframes snowfall{0%{transform:translate3d(0,-12vh,0) rotate(0deg);opacity:0}10%{opacity:.82}100%{transform:translate3d(var(--drift,36px),112vh,0) rotate(360deg);opacity:.2}}
  .site-header{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0))}
  .site-header::before{content:"";position:absolute;left:0;right:0;top:-1px;height:3px;background:linear-gradient(90deg,transparent,rgba(201,63,89,.92) 18%,rgba(245,219,170,.98) 50%,rgba(201,63,89,.92) 82%,transparent);box-shadow:0 0 20px rgba(201,63,89,.22),0 0 24px rgba(245,219,170,.17)}
  .site-header::after{content:"";position:absolute;right:0;top:0;width:180px;height:120%;background:radial-gradient(circle at 75% 25%,rgba(245,219,170,.08),transparent 40%);pointer-events:none}
  .brand-symbol{background:radial-gradient(circle at center,rgba(239,204,135,.2),transparent 72%),radial-gradient(circle at 35% 35%,rgba(255,255,255,.08),transparent 28%)}
  .logo-meta{color:#f0d09a;text-shadow:0 0 12px rgba(240,208,154,.18)}
  .header-right{position:relative;z-index:5}
  .language{position:relative;z-index:6}
  .edition{padding:9px 13px;border:1px solid rgba(242,208,145,.18);border-radius:999px;background:linear-gradient(135deg,rgba(143,29,52,.17),rgba(22,58,49,.15));box-shadow:inset 0 1px rgba(255,255,255,.04)}
  .eyebrow{color:#f0cd93}
  .eyebrow::before{content:"❄";font-size:13px;margin-right:10px}
  .primary{background:linear-gradient(135deg,#f7e5bf 0%,#deb878 44%,#a92844 150%);box-shadow:0 14px 36px rgba(169,40,68,.18),0 0 0 1px rgba(255,255,255,.08) inset}
  .primary:hover{box-shadow:0 18px 46px rgba(169,40,68,.24),0 0 0 1px rgba(255,255,255,.1) inset}
  .subtle-button{background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.025));backdrop-filter:blur(4px)}
  .subtle-button:hover{background:linear-gradient(135deg,rgba(143,29,52,.18),rgba(255,255,255,.06));border-color:rgba(238,205,141,.42)}
  .hero-title .gold-text{text-shadow:0 0 20px rgba(241,214,156,.16)}
  .hero-copy{position:relative}
  .hero-copy::after{content:"";position:absolute;right:6%;top:10%;width:145px;height:145px;border-radius:50%;background:radial-gradient(circle,rgba(196,75,98,.11),transparent 66%);filter:blur(3px);pointer-events:none}
  .hero-mini span{padding:8px 12px;border:1px solid rgba(242,208,145,.1);border-radius:999px;background:rgba(255,255,255,.025)}
  .hero-art::before,.hero-art::after{content:"";position:absolute;top:-1%;width:26px;height:118px;pointer-events:none;opacity:.92}
  .hero-art::before{left:8%;background:
      linear-gradient(to bottom,rgba(246,246,246,.58) 0 36px,transparent 36px),
      radial-gradient(circle at 50% 78%,rgba(183,39,66,.98) 0 15px,rgba(122,18,39,.96) 16px 20px,transparent 21px),
      radial-gradient(circle at 38% 70%,rgba(255,255,255,.35) 0 4px,transparent 5px)}
  .hero-art::after{right:11%;background:
      linear-gradient(to bottom,rgba(246,246,246,.52) 0 28px,transparent 28px),
      radial-gradient(circle at 50% 74%,rgba(230,197,129,.98) 0 14px,rgba(168,122,52,.95) 15px 19px,transparent 20px),
      radial-gradient(circle at 36% 66%,rgba(255,255,255,.34) 0 4px,transparent 5px)}
  .hero-core{background:radial-gradient(circle,rgba(252,213,144,.25),rgba(143,29,52,.08) 25%,rgba(17,56,88,.14) 48%,transparent 75%)}
  .floating-card{background:linear-gradient(145deg,rgba(35,69,86,.96),rgba(12,31,53,.97) 55%,rgba(58,17,33,.9));border-color:rgba(242,206,143,.33)}
  .floating-card span{color:#f2d29a}
  .start-note{border-top-color:rgba(243,216,164,.12)}
  .board-panel,.galaxy-panel{position:relative;overflow:hidden}
  .board-panel::after,.galaxy-panel::after{content:"";position:absolute;inset:auto auto -32px -32px;width:140px;height:140px;background:radial-gradient(circle,rgba(196,75,98,.11),transparent 68%);pointer-events:none}
  .galaxy-panel::after{left:auto;right:-36px;bottom:-36px;background:radial-gradient(circle,rgba(230,197,129,.12),transparent 68%)}
  .stat{background:linear-gradient(135deg,rgba(255,255,255,.03),rgba(255,255,255,.018));box-shadow:inset 0 1px rgba(255,255,255,.035)}
  .memory-card{filter:drop-shadow(0 10px 18px rgba(0,0,0,.18))}
  .card-back{background:radial-gradient(circle at 48% 30%,rgba(251,237,207,.12),transparent 22%),linear-gradient(145deg,#17384b,#0c223b 52%,#3d1528 132%)}
  .card-back::before{border-color:rgba(239,204,145,.38)}
  .card-back::after{border-color:rgba(228,192,124,.24)}
  .back-emblem{color:#f6deb1;text-shadow:0 0 18px rgba(245,212,150,.32),0 0 32px rgba(194,70,93,.16)}
  .back-name{color:#f0cf97;letter-spacing:.24em}
  .memory-card.is-matched .card-front{background:linear-gradient(150deg,#fffef8,#f2f4ec 64%,#e9efe6);box-shadow:inset 0 0 0 2px rgba(213,180,112,.38),0 0 28px rgba(225,197,139,.24)}
  .galaxy-svg .beam.on{filter:drop-shadow(0 0 6px rgba(241,207,140,.38))}
  .finish{position:relative;overflow:hidden}
  .finish::before{content:"";position:absolute;inset:0;pointer-events:none;background:
    radial-gradient(circle at 18% 14%,rgba(191,36,65,.1),transparent 24%),
    radial-gradient(circle at 83% 12%,rgba(238,205,141,.12),transparent 21%),
    radial-gradient(circle at 50% 82%,rgba(24,90,76,.12),transparent 26%)}
  .finish-mark{background:linear-gradient(145deg,rgba(143,29,52,.18),rgba(243,217,166,.05))}
  .finish-subtitle{font-size:clamp(15px,1.4vw,18px)}
  .footer{background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.02))}
  @media(max-width:790px){.edition{padding:8px 11px}.hero-art::before,.hero-art::after{display:none}.hero-mini span{padding:6px 10px}}
  @media(max-width:520px){.edition{display:none}.hero-mini span{padding:5px 8px}.snowflake{opacity:.58}}


/* CHRISTMAS SCENE / DECORATION – decorative only, does not intercept clicks */
html{overflow-x:hidden}
.xmas-art-defs{pointer-events:none}
.light-string{position:absolute;z-index:4;top:78px;left:0;right:0;width:100%;height:89px;overflow:hidden;pointer-events:none;opacity:.96;filter:drop-shadow(0 4px 7px rgba(0,0,0,.26))}
.light-string svg{display:block;position:relative;width:100%;max-width:100%;height:100%;overflow:hidden}
.light-wire{stroke:#375448;stroke-width:2.5;fill:none;stroke-linecap:round;filter:drop-shadow(0 1px 1px #061320)}
.bulb-wire{stroke:#516a55;stroke-width:1.5;fill:none}
.bulb-socket{fill:#b7aa7d;stroke:#e3d4a4;stroke-width:.7}
.bulb{animation:christmas-glow 3.4s ease-in-out infinite alternate;animation-delay:var(--phase);filter:drop-shadow(0 0 6px var(--shine)) drop-shadow(0 0 10px var(--shine))}
.light.gold{--shine:#ecc37a}.light.gold .bulb{fill:#ffdf98}
.light.red{--shine:#df5f65}.light.red .bulb{fill:#e98181}
.light.frost{--shine:#c0e5ef}.light.frost .bulb{fill:#e3fbff}
.light.green{--shine:#72b59e}.light.green .bulb{fill:#a5dcb6}
@keyframes christmas-glow{0%{opacity:.75;filter:drop-shadow(0 0 3px var(--shine)) drop-shadow(0 0 6px var(--shine))}100%{opacity:1;filter:drop-shadow(0 0 7px var(--shine)) drop-shadow(0 0 15px var(--shine))}}
.start{padding-top:64px}
.hero-art{overflow:visible}
.hero-christmas-tree{display:block;position:absolute;z-index:7;width:clamp(215px,49%,315px);height:auto;right:-6%;bottom:-13%;pointer-events:none;overflow:visible;filter:drop-shadow(0 6px 28px rgba(0,0,0,.43));animation:tree-breathe 7.5s ease-in-out infinite alternate}
@keyframes tree-breathe{from{filter:drop-shadow(0 6px 24px rgba(0,0,0,.43)) drop-shadow(0 0 7px rgba(225,189,122,.07))}to{filter:drop-shadow(0 6px 25px rgba(0,0,0,.43)) drop-shadow(0 0 17px rgba(225,189,122,.23))}}
.hanging-bauble{position:absolute;z-index:5;width:clamp(31px,4vw,55px);aspect-ratio:1;border-radius:50%;box-shadow:inset -9px -12px 15px rgba(0,0,0,.28),0 6px 23px rgba(0,0,0,.18);pointer-events:none;transform-origin:top center;animation:bauble-swing 8s ease-in-out infinite alternate}
.hanging-bauble::before{content:"";position:absolute;width:2px;height:112px;background:linear-gradient(180deg,rgba(242,222,172,.15),rgba(242,222,172,.68));bottom:100%;left:50%}
.hanging-bauble::after{content:"";position:absolute;width:33%;height:18%;border-radius:2px 2px 0 0;background:linear-gradient(#d0bb87,#75613d);top:-9%;left:33%;box-shadow:0 1px 3px #0005}
.bauble-red{left:8%;top:27%;background:radial-gradient(circle at 27% 23%,#ffd9c7 0 3%,#d74e63 20%,#881e39 75%,#47152b 100%)}
.bauble-gold{right:3%;top:31%;width:clamp(26px,3vw,40px);background:radial-gradient(circle at 28% 25%,#fff5d7 0 5%,#e1b772 20%,#ac7f3c 70%,#66502f 100%);animation-delay:-3s}
@keyframes bauble-swing{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
.hero-art .floating-card{z-index:5}
.hero-art .orbital-points{position:relative;z-index:3}
.hero-art .hero-core{z-index:2}
.game-heading{position:relative;z-index:2;padding-top:15px}
.game-pine-decoration{position:absolute;z-index:-1;width:225px;height:90px;right:150px;top:-16px;transform:rotate(-8deg);opacity:.9;pointer-events:none;filter:drop-shadow(0 5px 12px rgba(0,0,0,.3))}
.board-panel:before{content:"";position:absolute;right:-20px;top:-18px;width:190px;height:110px;background:radial-gradient(circle at 80% 0%,rgba(196,63,83,.14),transparent 70%);pointer-events:none}
.board-panel{isolation:isolate}
.galaxy-panel{isolation:isolate}
.game-christmas-tree{position:absolute;right:-12px;bottom:-4px;width:116px;height:auto;z-index:1;opacity:.9;pointer-events:none;filter:drop-shadow(0 9px 16px rgba(0,0,0,.36))}
.galaxy-stage .galaxy-svg{position:relative;z-index:2}
.panel-ornament{position:absolute;right:5%;top:2%;height:21px;width:21px;border-radius:50%;z-index:2;opacity:.75;background:radial-gradient(circle at 30% 24%,#ffe6d1,#b73f52 45%,#5b182c 100%);box-shadow:0 0 15px rgba(186,64,78,.35);pointer-events:none}
.panel-ornament::before{content:"";position:absolute;width:1px;height:60px;background:linear-gradient(transparent,#c9b58d);bottom:100%;left:50%}
.finish{isolation:isolate}
.finish>*:not(.finish-tree){position:relative;z-index:2}
.finish-tree{position:absolute;z-index:1;bottom:6%;width:clamp(170px,22vw,305px);pointer-events:none;filter:drop-shadow(0 8px 25px rgba(0,0,0,.35))}
.finish-tree-left{left:-8%;transform:rotate(-6deg)}
.finish-tree-right{right:-8%;transform:scaleX(-1) rotate(-6deg)}
.finish-orbit{z-index:3!important}
@media(max-width:1000px){.hero-christmas-tree{right:-5%;bottom:-5%;width:44%}.game-pine-decoration{width:165px;right:105px}}
@media(max-width:790px){.light-string{top:62px;opacity:.9}.start{padding-top:58px}.hero-christmas-tree{width:clamp(185px,46%,265px);right:0%;bottom:-5%}.hanging-bauble:before{height:60px}.bauble-red{top:24%}.bauble-gold{top:28%}.game-pine-decoration{width:175px;right:110px;top:-5px}.finish-tree{width:170px;opacity:.6;bottom:14%}.finish-tree-left{left:-110px}.finish-tree-right{right:-110px}}
@media(max-width:520px){.game-christmas-tree{width:92px;right:-10px;bottom:-12px;opacity:.84}.light-string{top:60px;opacity:.72}.start{padding-top:64px}.hero-art{margin-top:-8px;margin-bottom:-14px}.hero-christmas-tree{width:49%;right:-4%;bottom:0}.hanging-bauble{width:27px}.hanging-bauble::before{height:56px}.bauble-red{left:8%;top:32%}.bauble-gold{width:23px;top:33%}.game-heading{padding-top:8px}.game-pine-decoration{display:none}.finish-tree{opacity:.38;width:140px;bottom:22%}.finish-tree-left{left:-80px}.finish-tree-right{right:-80px}}



/* CHRISTMAS STARLIGHT EDITION · 2026 */
/* Earlier pseudo ornaments are superseded by the new fully styled baubles. */
.hero-art::before,.hero-art::after{display:none!important}
:root{--holiday-power:0;--holiday-gold:#ffe2a5}
.ambient{isolation:isolate}
.aurora-sky{position:absolute;inset:-15% -25% 15%;opacity:.66;z-index:-1;pointer-events:none;background:
  radial-gradient(ellipse at 77% 17%,rgba(61,126,121,.20),transparent 30%),
  radial-gradient(ellipse at 30% 32%,rgba(50,94,156,.2),transparent 38%),
  radial-gradient(ellipse at 58% 68%,rgba(169,53,84,.08),transparent 41%);
  filter:blur(36px);animation:aurora-drift 29s ease-in-out infinite alternate}
@keyframes aurora-drift{from{transform:translate(-2%,0) scale(1)}to{transform:translate(3%,-3%) scale(1.09)}}
.star{background:#fff4d5;box-shadow:0 0 8px 1px rgba(255,232,183,.35)}
.star.big{width:3.8px;height:3.8px;box-shadow:0 0 8px 2px rgba(255,238,207,.65),0 0 22px 4px rgba(222,175,99,.21)}
.star.cross{width:4px;height:4px;background:#fffaf0;z-index:1;box-shadow:0 0 9px 2px rgba(255,249,229,.9),0 0 24px 4px rgba(231,191,113,.45);animation:celestial-flicker var(--duration,6s) ease-in-out infinite alternate;animation-delay:var(--delay,0s)}
.star.cross::before,.star.cross::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}
.star.cross::before{width:1.5px;height:var(--ray,17px);background:linear-gradient(transparent,#fff6d9,transparent)}
.star.cross::after{height:1.5px;width:var(--ray,17px);background:linear-gradient(90deg,transparent,#fff6d9,transparent)}
@keyframes celestial-flicker{0%,100%{opacity:.25;scale:.6}45%{opacity:1;scale:1.12}65%{opacity:.65;scale:.88}}
.meteor{position:absolute;left:var(--x,30%);top:var(--y,20%);width:var(--length,160px);height:2px;border-radius:999px;opacity:0;pointer-events:none;z-index:1;
  background:linear-gradient(90deg,transparent,rgba(255,236,186,.05) 12%,rgba(255,241,210,.68) 74%,#fff9e7 100%);
  filter:drop-shadow(0 0 3px rgba(255,248,225,.9)) drop-shadow(0 0 11px rgba(244,207,143,.65));
  animation:meteor-sweep var(--travel,13s) linear infinite;animation-delay:var(--delay,-4s)}
.meteor::after{content:"";position:absolute;right:-2px;top:50%;width:5px;height:5px;background:white;border-radius:50%;transform:translateY(-50%);box-shadow:0 0 8px 2px #fff4c3,0 0 20px 5px rgba(240,198,118,.6)}
@keyframes meteor-sweep{
  0%,61%{opacity:0;transform:translate3d(-27vw,-16vh,0) rotate(25deg) scaleX(.55)}
  63%{opacity:.12}
  66%{opacity:.97}
  74%{opacity:.87}
  81%{opacity:0;transform:translate3d(33vw,24vh,0) rotate(25deg) scaleX(1.15)}
  100%{opacity:0;transform:translate3d(33vw,24vh,0) rotate(25deg)}
}
.winter-grove{position:absolute;inset:0;pointer-events:none;z-index:0}
.grove-tree{position:absolute;bottom:-30px;width:clamp(140px,21vw,300px);opacity:.26;filter:blur(.5px) drop-shadow(0 0 20px rgba(218,190,120,.19));animation:grove-glow 8s ease-in-out infinite alternate}
.grove-tree.left-one{left:-7%;transform:rotate(-7deg)}
.grove-tree.left-two{left:5%;width:clamp(115px,16vw,230px);bottom:-66px;opacity:.14;animation-delay:-3s}
.grove-tree.right-one{right:-8%;width:clamp(160px,22vw,330px);transform:rotate(8deg);animation-delay:-2s}
.grove-tree.right-two{right:7%;width:clamp(100px,14vw,205px);bottom:-80px;opacity:.15;animation-delay:-5s}
@keyframes grove-glow{from{opacity:.15;filter:drop-shadow(0 0 12px rgba(220,181,109,.12))}to{opacity:.33;filter:drop-shadow(0 0 23px rgba(239,207,139,.25))}}
.light-string{opacity:1;filter:drop-shadow(0 0 11px rgba(250,208,131,.31))}
.bulb{animation-duration:2.5s;filter:drop-shadow(0 0 7px var(--shine)) drop-shadow(0 0 16px var(--shine))}
.light.gold .bulb{fill:#ffe7b5}
.light.red .bulb{fill:#ff8c9a}
.light.frost .bulb{fill:#eaffff}
.light.green .bulb{fill:#b3f5cb}
.hero-art .hero-background-tree{position:absolute;z-index:1;width:31%;pointer-events:none;filter:drop-shadow(0 0 12px rgba(239,205,135,.17));opacity:.68}
.hero-art .hero-background-tree.left{left:-16%;bottom:-8%;transform:rotate(-9deg) scale(.91)}
.hero-art .hero-background-tree.right{right:4%;bottom:5%;width:28%;opacity:.57;transform:rotate(4deg)}
.hero-christmas-tree{filter:drop-shadow(0 8px 30px rgba(0,0,0,.4)) drop-shadow(0 0 20px rgba(242,202,130,.22));animation:tree-breathe 5.5s ease-in-out infinite alternate}
.hero-christmas-tree,.hero-background-tree,.game-christmas-tree{transform-origin:50% 90%}
.hero-sparkles,.galaxy-sparkles,.finish-sparkles{position:absolute;inset:0;pointer-events:none;z-index:8}
.scene-sparkle{position:absolute;left:var(--x);top:var(--y);width:var(--size,5px);height:var(--size,5px);opacity:.2;pointer-events:none;
  border-radius:50%;background:#fff3cb;box-shadow:0 0 8px 2px rgba(255,245,195,.69),0 0 22px 5px rgba(255,205,115,.36);
  animation:scene-twinkle var(--duration,4s) ease-in-out infinite;animation-delay:var(--delay,0s)}
.scene-sparkle::before,.scene-sparkle::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:linear-gradient(transparent,#fff8d6,transparent)}
.scene-sparkle::before{height:var(--ray,15px);width:1px}
.scene-sparkle::after{width:var(--ray,15px);height:1px;background:linear-gradient(90deg,transparent,#fff8d6,transparent)}
@keyframes scene-twinkle{0%,100%{opacity:.08;scale:.48}42%{opacity:1;scale:1.18}55%{opacity:.8;scale:1}}
.hero-sparkles{z-index:9}
.scene-sparkle.strong{box-shadow:0 0 11px 4px rgba(255,245,195,.8),0 0 28px 7px rgba(251,207,125,.55)}
.board-panel,.galaxy-panel{--panel-lamp-brightness:calc(.85 + var(--holiday-power) * .55)}
.panel-lights{position:absolute;top:0;left:14px;right:14px;height:29px;pointer-events:none;z-index:5;overflow:hidden}
.panel-lights::before{content:"";position:absolute;top:0;left:0;right:0;height:11px;border-bottom:1.5px solid rgba(153,158,104,.54);border-radius:0 0 45% 45%;}
.mini-bulb{position:absolute;top:calc(5px + var(--dip,0px));left:calc(3% + var(--i) * 7.15%);width:7px;height:10px;border-radius:45% 45% 52% 52%;background:var(--lamp,#ffe09e);opacity:.85;
  filter:brightness(var(--panel-lamp-brightness)) drop-shadow(0 0 5px var(--lamp));box-shadow:0 0 10px var(--lamp),0 0 18px -2px var(--lamp);
  animation:mini-glow 3.6s ease-in-out infinite alternate;animation-delay:var(--delay,0s)}
.mini-bulb::before{content:"";position:absolute;left:2px;top:-3px;width:4px;height:4px;border-radius:1px;background:#9b9c79}
@keyframes mini-glow{from{opacity:.48;transform:scale(.86);filter:brightness(.86) drop-shadow(0 0 4px var(--lamp))}to{opacity:1;transform:scale(1.09);filter:brightness(1.26) drop-shadow(0 0 10px var(--lamp))}}
.board-panel{padding-top:clamp(32px,3vw,41px)}
.galaxy-panel{padding-top:38px}
.galaxy-stage{isolation:isolate}
.galaxy-sparkles{z-index:1;inset:8px 8px 22px;opacity:calc(.5 + var(--holiday-power) * .5)}
.game-christmas-tree{filter:brightness(calc(.8 + var(--holiday-power)*.55)) drop-shadow(0 0 calc(9px + var(--holiday-power)*26px) rgba(245,200,116,.44)) drop-shadow(0 9px 16px rgba(0,0,0,.36));transition:filter .65s ease}
.game-christmas-tree{animation:game-tree-glow 6s ease-in-out infinite alternate}
@keyframes game-tree-glow{from{opacity:.78}to{opacity:1}}
.memory-card.is-matched .card-front{box-shadow:inset 0 0 0 2px rgba(218,177,101,.42),0 0 25px rgba(255,214,139,.3)}
.memory-card.is-matched::after{color:#dcaa56;text-shadow:0 0 8px rgba(255,232,175,.76)}
.finish .finish-tree{filter:drop-shadow(0 0 22px rgba(239,202,124,.4)) drop-shadow(0 10px 25px rgba(0,0,0,.35));animation:finish-pine-glow 6.4s ease-in-out infinite alternate}
.finish-tree-right{animation-delay:-3.1s!important}
@keyframes finish-pine-glow{from{opacity:.68;filter:drop-shadow(0 0 12px rgba(243,199,112,.26))}to{opacity:1;filter:drop-shadow(0 0 32px rgba(255,220,151,.65))}}
.finish-sparkles{z-index:1;overflow:visible}
.finish-orbit .finish-center .bigstar{animation:christmas-heartbeat 4.8s ease-in-out infinite alternate;display:inline-block}
@keyframes christmas-heartbeat{from{filter:drop-shadow(0 0 8px rgba(251,218,150,.48));transform:scale(.95)}to{filter:drop-shadow(0 0 28px rgba(251,218,150,.94));transform:scale(1.07)}}
.match-burst{position:fixed;z-index:99;left:var(--x);top:var(--y);width:7px;height:7px;border-radius:50%;background:#fff4cc;box-shadow:0 0 12px #ffe0a1;pointer-events:none;
  animation:match-burst .85s ease-out forwards;animation-delay:var(--wait)}
@keyframes match-burst{0%{opacity:1;transform:translate(-50%,-50%) translate(0,0) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) translate(var(--dx),var(--dy)) scale(.1)}}
@media(max-width:790px){.grove-tree{opacity:.16;max-width:210px}.hero-art .hero-background-tree.left{left:-7%;bottom:-2%;width:28%}.hero-art .hero-background-tree.right{right:13%;bottom:8%;width:25%}.galaxy-panel{padding-top:34px}}
@media(max-width:520px){.light-string{opacity:.98}.grove-tree{max-width:145px;opacity:.15}.grove-tree.left-two,.grove-tree.right-two{display:none}.hero-art .hero-background-tree.left{left:-1%;bottom:2%;width:24%;opacity:.49}.hero-art .hero-background-tree.right{right:18%;bottom:11%;width:22%;opacity:.46}.board-panel{padding-top:30px}.galaxy-panel{padding-top:32px}.panel-lights{left:9px;right:9px;height:25px}.mini-bulb{width:5px;height:7px}.meteor{filter:drop-shadow(0 0 3px rgba(250,228,185,.82))}}


  
/* 2026 · Individual festive lights, sparse shooting stars & charity campaign */
.light-string .light .bulb{
  transform-box:fill-box;transform-origin:center center;
  animation:individual-bulb-glow var(--blink-speed,3.7s) ease-in-out var(--blink-delay,-1s) infinite;
  will-change:opacity,filter;
}
@keyframes individual-bulb-glow{
  0%,100%{opacity:.25;filter:brightness(.55) drop-shadow(0 0 1px var(--shine))}
  22%{opacity:.62;filter:brightness(.84) drop-shadow(0 0 4px var(--shine))}
  54%{opacity:1;filter:brightness(1.3) drop-shadow(0 0 10px var(--shine)) drop-shadow(0 0 19px var(--shine))}
  77%{opacity:.52;filter:brightness(.75) drop-shadow(0 0 3px var(--shine))}
}
.panel-lights .mini-bulb{
  animation:mini-glow var(--blink-speed,3.6s) ease-in-out var(--delay,-1s) infinite alternate;
}
@keyframes meteor-sweep{
  0%,64%{opacity:0;transform:translate3d(-27vw,-16vh,0) rotate(25deg) scaleX(.7)}
  65%{opacity:.15}
  67%{opacity:.94}
  70%{opacity:.65}
  73%,100%{opacity:0;transform:translate3d(33vw,24vh,0) rotate(25deg) scaleX(1.1)}
}
/* Elegant callout, with no donation count or storage. */
.donation-banner{position:relative;isolation:isolate;display:flex;align-items:center;gap:19px;padding:18px 20px;border:1px solid rgba(236,204,140,.42);border-radius:14px;overflow:hidden;text-align:left;
  background:linear-gradient(115deg,rgba(14,48,45,.92),rgba(22,42,56,.90) 46%,rgba(88,29,48,.72));
  box-shadow:0 15px 34px rgba(0,5,13,.18),inset 0 1px rgba(255,238,201,.1)}
.donation-banner::before{content:"";position:absolute;right:-65px;top:-85px;width:205px;height:205px;background:radial-gradient(circle,rgba(248,213,145,.19),transparent 63%);pointer-events:none;z-index:-1}
.donation-banner::after{content:"✧";position:absolute;right:15px;top:7px;color:#e9c685;font-size:23px;text-shadow:0 0 16px rgba(245,211,133,.6);pointer-events:none;animation:donation-sparkle 5.5s ease-in-out infinite alternate}
@keyframes donation-sparkle{from{opacity:.25;transform:scale(.78)}to{opacity:1;transform:scale(1.2)}}
.donation-seal{flex:none;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:1px solid rgba(244,217,154,.55);
  background:radial-gradient(circle at 35% 28%,rgba(251,238,197,.22),transparent 50%),linear-gradient(145deg,#1a473b,#112e33 70%);
  box-shadow:0 0 23px rgba(232,202,131,.18),inset 0 0 0 5px rgba(244,217,154,.055)}
.donation-seal span{font-family:Georgia,serif;font-weight:400;font-size:29px;color:#ffe4b0;letter-spacing:-.06em;text-shadow:0 0 15px rgba(244,210,141,.39)}
.donation-kicker{color:#e8c98f;font-size:9px;line-height:1.3;font-weight:850;letter-spacing:.2em;margin-bottom:5px}
.donation-copy h2,.donation-copy h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.6vw,24px);font-weight:400;letter-spacing:-.018em;line-height:1.22;margin:0 0 7px;color:#fff6e5}
.donation-copy p{color:#cfd8dc;font-size:12px;line-height:1.55;margin:0;max-width:490px}
.donation-banner--hero{margin-top:24px;max-width:575px}
.donation-ribbon{display:flex;align-items:center;gap:12px;border:1px solid rgba(237,207,143,.22);border-radius:9px;padding:10px 16px;background:linear-gradient(100deg,rgba(20,60,48,.45),rgba(51,29,48,.26));color:#e9dac3;font-size:12px;line-height:1.45;margin-bottom:16px}
.donation-ribbon-star{font-size:18px;color:#f2d59d;text-shadow:0 0 14px rgba(255,219,140,.54);flex:none}
.donation-banner--finish{width:min(100%,640px);margin:21px auto 6px;padding:16px 20px;gap:17px;box-shadow:0 0 28px rgba(222,183,108,.11),0 17px 40px rgba(0,0,0,.18)}
.donation-banner--finish .donation-seal{width:67px;height:67px}
.donation-banner--finish .donation-seal span{font-size:25px}
.donation-banner--finish h3{font-size:clamp(19px,2.1vw,25px)}
@media(max-width:790px){.donation-banner--hero{margin-inline:auto}.donation-banner--finish{margin-top:16px}.donation-ribbon{margin-top:2px}}
@media(max-width:520px){
  .donation-banner{padding:14px 12px;gap:11px;border-radius:12px}
  .donation-banner--hero{margin-top:20px}
  .donation-seal{width:57px;height:57px}
  .donation-seal span{font-size:23px}
  .donation-kicker{font-size:8px;letter-spacing:.14em}
  .donation-copy h2,.donation-copy h3,.donation-banner--finish h3{font-size:17px}
  .donation-copy p{font-size:11px;line-height:1.46}
  .donation-ribbon{font-size:11px;padding:9px 10px;gap:8px;margin-bottom:12px}
  .donation-banner--finish .donation-seal{width:53px;height:53px}
  .donation-banner--finish .donation-seal span{font-size:21px}
}



/* Full-bleed header: screen-wide decoration, centrally aligned inner content. */
.page{--header-gutter:clamp(18px,4.5vw,72px)}
.site-header{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-inline:max(var(--header-gutter),calc(50vw - 750px + var(--header-gutter)));
}
/* The decorative string is also centered across the viewport, not clipped to .page. */
.light-string{left:50%;right:auto;width:100vw;transform:translateX(-50%)}
@media(max-width:520px){.page{--header-gutter:12px}}


/* Clean hero and donation placed at the top right of the Christmas scene. */
.start{align-items:center;gap:clamp(14px,3vw,38px)}
.hero-visual{position:relative;min-width:0;display:flex;justify-content:center;align-items:center;isolation:isolate}
.hero-visual .hero-art{width:100%;max-width:620px;margin:auto}
.hero-visual .donation-banner--hero{
  position:absolute;top:2%;right:-1%;width:min(355px,73%);max-width:none;
  margin:0;z-index:11;padding:14px 16px;gap:12px;
  border-radius:15px;border-color:rgba(243,216,166,.49);
  box-shadow:0 20px 46px rgba(1,8,20,.52),0 0 27px rgba(205,157,88,.09);
  background:linear-gradient(125deg,rgba(14,55,47,.94),rgba(24,32,48,.96) 50%,rgba(65,25,43,.94));
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.hero-visual .donation-seal{width:56px;height:56px}
.hero-visual .donation-seal span{font-size:23px}
.hero-visual .donation-copy{min-width:0}
.hero-visual .donation-kicker{font-size:10px;letter-spacing:.23em;color:#ffe0a4;margin-bottom:5px}
.hero-visual .donation-copy h2{font-size:clamp(16px,1.45vw,21px);line-height:1.13;margin-bottom:6px}
.hero-visual .donation-copy p{font-size:11px;line-height:1.43}
.legal-footer{justify-content:center;align-items:center;gap:22px;padding:19px 0 0}
.legal-footer-link{border:0;background:none;color:#b8c7d6;padding:8px 6px;font-size:12px;cursor:pointer;text-decoration:none;letter-spacing:.05em;transition:color .2s;text-underline-offset:4px}
.legal-footer-link:hover,.legal-footer-link:focus-visible{color:#f5d7a0;text-decoration:underline}
.legal-separator{font-size:10px;color:#967f62;pointer-events:none}
.legal-dialog{width:min(690px,calc(100vw - 26px));max-width:690px;max-height:min(760px,calc(100dvh - 30px));min-height:0;padding:0;margin:auto;border:1px solid rgba(234,206,147,.42);border-radius:20px;background:linear-gradient(148deg,#102638,#081626 68%,#18212e);color:#f6f2e8;box-shadow:0 32px 110px rgba(0,0,0,.75),0 0 38px rgba(195,144,81,.12);overflow:hidden}
.legal-dialog[open]{display:flex;flex-direction:column}
.legal-dialog::backdrop{background:rgba(2,8,17,.79);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.legal-dialog-head{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px 19px;background:linear-gradient(135deg,rgba(30,75,72,.33),rgba(97,37,55,.14));border-bottom:1px solid rgba(224,196,151,.18)}
.legal-dialog-head h2{font:400 clamp(27px,4vw,40px)/1.1 Georgia,'Times New Roman',serif;margin:7px 0 0;color:#fff5e7}
.legal-dialog-kicker{font-size:10px;font-weight:750;letter-spacing:.19em;color:#d8bb85}
.legal-dialog-close{flex:none;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(223,192,143,.22);border-radius:50%;background:rgba(255,255,255,.045);color:#f9e6c6;cursor:pointer;font-size:27px;line-height:1}
.legal-dialog-close:hover{background:rgba(255,255,255,.13)}
.legal-dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px 30px 26px;scrollbar-width:thin;scrollbar-color:#8f815f transparent}
.legal-section h3{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:#eaca8d;margin:18px 0 9px}
.legal-section h3:first-child{margin-top:0}
.legal-section p{font-size:14px;line-height:1.72;color:#c7d5dd;margin:0 0 15px}
.legal-section p strong{color:#f7efdf}
.legal-section a{color:#f3d59a;text-decoration:none;text-underline-offset:3px}
.legal-section a:hover{text-decoration:underline}
.legal-section .legal-dialog-note{font-size:12px;line-height:1.6;background:rgba(230,199,144,.065);border-left:2px solid rgba(230,199,144,.65);padding:11px 14px;border-radius:0 8px 8px 0;color:#c9c3b9;margin-top:16px}
.legal-section .legal-official-link{display:inline-block;font-size:13px;font-weight:650;padding:10px 0;margin-top:4px}
.legal-dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid rgba(224,196,151,.18);padding:13px 30px 16px;color:#91a2ac;font-size:10px;letter-spacing:.13em}
.legal-dialog-done{border:1px solid rgba(223,192,143,.28);border-radius:8px;background:rgba(255,255,255,.06);color:#f2dbb5;font-size:12px;cursor:pointer;padding:9px 17px}
.legal-dialog-done:hover{background:rgba(255,255,255,.12)}
@media(max-width:980px){
  .hero-visual .donation-banner--hero{top:0;right:0;width:min(325px,79%)}
}
@media(max-width:790px){
  .hero-visual{display:flex;flex-direction:column-reverse;gap:8px;width:min(100%,540px);margin:0 auto}
  .hero-visual .donation-banner--hero{position:relative;top:auto;right:auto;width:min(100%,450px);margin:0 auto;order:2}
  .hero-visual .hero-art{order:1;max-width:470px;margin:0 auto}
}
@media(max-width:520px){
  .hero-visual .donation-banner--hero{padding:12px 13px;gap:12px;margin-bottom:16px}
  .hero-visual .donation-seal{width:57px;height:57px}
  .hero-visual .donation-copy h2{font-size:17px}
  .hero-visual .donation-copy p{font-size:11px}
  .legal-dialog{border-radius:14px}
  .legal-dialog-head{padding:20px 18px 16px}
  .legal-dialog-body{padding:20px 18px}
  .legal-dialog-bottom{padding:12px 18px}
  .legal-section p{font-size:13px}
}


/* Christmas donation hero — larger, lower, further right, with subtle depth. */
@media(min-width:791px){
  .hero-visual{perspective:1200px}
  .hero-visual .donation-banner--hero{
    top:19%;right:-54px;
    width:min(478px,95%);
    min-height:205px;
    max-width:none;
    padding:25px 25px 25px 24px;
    gap:21px;
    align-items:center;
    border:1px solid rgba(255,225,160,.68);
    border-radius:21px;
    background:
      radial-gradient(ellipse at 5% 5%,rgba(90,183,154,.17),transparent 55%),
      radial-gradient(ellipse at 100% 95%,rgba(206,65,94,.21),transparent 55%),
      linear-gradient(126deg,rgba(13,59,54,.97),rgba(22,40,54,.97) 48%,rgba(63,25,45,.97));
    box-shadow:0 28px 60px rgba(0,5,17,.53),0 10px 28px rgba(2,16,21,.35),
      0 0 30px rgba(224,185,118,.13),inset 0 1px 0 rgba(255,246,219,.21),
      inset 0 -1px 0 rgba(255,226,178,.1);
    transform:perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(var(--lift,0px));
    transform-style:preserve-3d;
    transition:transform .32s cubic-bezier(.19,.85,.26,1),box-shadow .35s ease,border-color .35s ease;
    will-change:transform;
  }
  .hero-visual .donation-banner--hero:hover{
    --lift:-6px;
    border-color:rgba(255,233,187,.95);
    box-shadow:0 39px 75px rgba(0,5,17,.57),0 15px 34px rgba(2,16,21,.4),
      0 0 43px rgba(244,203,123,.22),inset 0 1px 0 rgba(255,246,219,.28);
  }
  .hero-visual .donation-banner--hero .donation-seal{
    width:94px;height:94px;
    border:1px solid rgba(255,224,157,.82);
    background:
      radial-gradient(circle at 27% 20%,rgba(255,248,212,.38),transparent 37%),
      radial-gradient(circle at 55% 75%,rgba(9,41,38,.6),transparent 65%),
      linear-gradient(140deg,#2b6855 0%,#17433e 42%,#082a33 100%);
    box-shadow:0 0 0 5px rgba(239,206,137,.075),0 0 29px rgba(238,203,139,.28),
      inset 0 0 0 4px rgba(6,26,31,.5),inset 0 1px 14px rgba(252,236,187,.2),
      0 10px 19px rgba(0,0,0,.29);
    transform:translateZ(30px);
    position:relative;z-index:2;
  }
  .hero-visual .donation-banner--hero .donation-seal::before{
    content:"";position:absolute;inset:8px;border:1px solid rgba(253,222,152,.3);border-radius:50%;pointer-events:none;
  }
  .hero-visual .donation-banner--hero .donation-seal span{
    color:#ffe9b5;font-size:38px;letter-spacing:-.07em;
    text-shadow:0 2px 3px rgba(3,16,19,.3),0 0 18px rgba(255,211,129,.4);
  }
  .hero-visual .donation-banner--hero .donation-copy{
    position:relative;z-index:2;transform:translateZ(20px);min-width:0;flex:1;
  }
  .hero-visual .donation-banner--hero .donation-kicker{
    display:inline-flex;align-items:center;gap:9px;
    color:#ffdfa0;font-size:11px;letter-spacing:.26em;margin-bottom:9px;
  }
  .hero-visual .donation-banner--hero .donation-kicker::before{
    content:"✦";font-size:11px;letter-spacing:0;filter:drop-shadow(0 0 8px rgba(251,219,147,.7));
  }
  .hero-visual .donation-banner--hero .donation-copy h2{
    font:400 clamp(25px,2.05vw,30px)/1.14 Georgia,'Times New Roman',serif;
    letter-spacing:-.033em;color:#fff3dd;margin:0 0 12px;
    text-shadow:0 2px 18px rgba(255,217,150,.08);
  }
  .hero-visual .donation-banner--hero .donation-copy p{
    font-size:13px;line-height:1.55;letter-spacing:.008em;color:#dce5e6;
  }
  .hero-visual .donation-banner--hero::before{
    inset:0;right:auto;top:0;width:100%;height:100%;border-radius:inherit;z-index:0;
    background:linear-gradient(145deg,rgba(255,248,216,.12) 0%,transparent 27%,transparent 62%,rgba(224,135,125,.08) 100%);
  }
  .hero-visual .donation-banner--hero::after{
    right:20px;top:13px;font-size:29px;
    color:#ffdc96;text-shadow:0 0 13px rgba(255,222,150,.8),0 0 27px rgba(249,197,113,.35);
  }
  .hero-visual .donation-hover-glow{
    pointer-events:none;position:absolute;inset:0;z-index:1;opacity:.5;
    background:radial-gradient(240px circle at var(--spot-x,65%) var(--spot-y,32%),rgba(255,236,184,.20),transparent 74%);
    transition:opacity .25s ease;
  }
  .hero-visual .donation-banner--hero:hover .donation-hover-glow{opacity:1}
}
@media(min-width:791px) and (max-width:1150px){
  .hero-visual .donation-banner--hero{right:-14px;width:min(450px,100%);top:16%;padding:21px 20px;gap:17px;min-height:185px}
  .hero-visual .donation-banner--hero .donation-seal{width:76px;height:76px}
  .hero-visual .donation-banner--hero .donation-seal span{font-size:31px}
  .hero-visual .donation-banner--hero .donation-copy h2{font-size:clamp(21px,2.4vw,27px);margin-bottom:9px}
  .hero-visual .donation-banner--hero .donation-copy p{font-size:12px}
}
@media(max-width:790px){
  .hero-visual .donation-banner--hero{
    width:min(100%,530px);max-width:100%;margin:8px auto 16px;
    padding:19px 19px;gap:16px;
    border:1px solid rgba(255,225,160,.62);
    border-radius:18px;
    background:linear-gradient(123deg,rgba(15,57,49,.97),rgba(24,38,52,.96) 56%,rgba(79,29,48,.96));
    box-shadow:0 19px 40px rgba(0,4,15,.38),0 0 22px rgba(228,190,133,.1);
  }
  .hero-visual .donation-seal{width:78px;height:78px}
  .hero-visual .donation-seal span{font-size:30px}
  .hero-visual .donation-copy h2{font-size:clamp(21px,3.2vw,27px);line-height:1.15;margin-bottom:8px}
  .hero-visual .donation-copy p{font-size:12px;line-height:1.5}
  .hero-visual .donation-kicker{font-size:10px;margin-bottom:6px}
  .hero-visual .donation-hover-glow{display:none}
}
@media(max-width:520px){
  .hero-visual .donation-banner--hero{padding:17px 15px;gap:13px;margin-bottom:16px}
  .hero-visual .donation-seal{width:64px;height:64px}
  .hero-visual .donation-seal span{font-size:25px}
  .hero-visual .donation-copy h2{font-size:clamp(20px,5.3vw,24px)}
  .hero-visual .donation-copy p{font-size:11.5px}
}



/* Continuous night-sky canvas and edge-to-edge footer (no abrupt side or bottom seams). */
html{background:#071322}
/* Stretch the star field through the whole document instead of ending at one viewport height. */
body{position:relative}
.ambient{position:absolute;inset:0;min-height:100%;height:auto}
body{
  min-height:100dvh;
  background-color:#071322;
  background-image:
    radial-gradient(ellipse 95% 78% at 50% -16%,rgba(35,84,131,.29),transparent 82%),
    radial-gradient(ellipse 58% 85% at -16% 76%,rgba(28,75,95,.20),transparent 88%),
    radial-gradient(ellipse 58% 80% at 116% 76%,rgba(91,39,75,.18),transparent 88%),
    linear-gradient(180deg,#0b1d32 0%,#071526 42%,#061320 80%,#06111f 100%);
  background-attachment:fixed;
  background-position:center center;
  background-size:cover;
}
/* No band of a different color after the footer. */
.page{min-height:100dvh;padding-bottom:0;display:flex;flex-direction:column}
.page > main{flex:1 0 auto}
.legal-footer{
  flex:none;width:100vw;max-width:none;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding:24px 16px 28px;
  background:linear-gradient(180deg,rgba(8,21,36,0),rgba(7,19,32,.18));
  border-top:1px solid rgba(237,205,154,.12);
}
/* Fade the decorative trees into the night sky at both viewport edges. */
.winter-grove{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%)}
/* Logos always render fully within the available face. JS scales long wordmarks to fit. */
.card-front{padding:7px 4px 5px}
.logo-box{min-width:0;width:calc(100% - 8px);height:73%;padding:3px 0;overflow:visible}
.logo-box img{display:block;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain}
.wordmark{width:100%;min-width:0;max-width:100%;max-height:100%;overflow:visible;padding:0 2px}
.wordmark b,.wordmark small{display:block;flex:none;max-width:none;white-space:nowrap;text-overflow:clip;overflow:visible}
.card-brand-name{width:100%;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;letter-spacing:.025em;line-height:1.15;font-size:clamp(5px,.56vw,8px);padding:0 2px}
@media(max-width:520px){
  .card-front{padding:4px 2px 3px}
  .logo-box{width:calc(100% - 5px);height:76%;padding:2px 0}
  .wordmark{padding:0 1px}
  .card-brand-name{font-size:5.3px;line-height:1.1}
  .legal-footer{padding-bottom:24px}
}


/* Campaign wording: fit the complete headline on desktop and mobile. */
.hero-title--campaign{font-size:clamp(49px,5.45vw,79px);line-height:1.08;letter-spacing:-.055em}
.hero-title--campaign .line{white-space:nowrap}
.hero-title--campaign .thin{font-size:.80em}
@media(max-width:1100px){.hero-title--campaign{font-size:clamp(46px,5.5vw,69px)}}
@media(max-width:790px){.hero-title--campaign{font-size:clamp(43px,9.7vw,69px)}}
@media(max-width:520px){.hero-title--campaign{font-size:clamp(40px,10.4vw,53px)}}
@media(max-width:350px){.hero-title--campaign{font-size:37px}}

/* Edge-fix pass: avoid visibly clipped festive bulbs and soften the ends. */
.light-string{
  top:92px;
  width:calc(100vw + 56px);
  height:96px;
  overflow:visible;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%);
}
.light-string svg{overflow:visible}
.panel-lights{
  top:3px;
  left:18px;
  right:18px;
  height:34px;
  overflow:visible;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
}
.panel-lights::before{top:1px;left:8px;right:8px;height:12px}
.mini-bulb{top:calc(7px + var(--dip,0px));left:calc(6% + var(--i) * 6.78%)}
@media(min-width:791px){
  .hero-visual .donation-banner--hero{top:22%;right:-48px}
}
@media(max-width:790px){
  .light-string{top:74px;width:calc(100vw + 40px);height:88px}
}
@media(max-width:520px){
  .light-string{top:70px;width:calc(100vw + 28px);height:82px}
  .panel-lights{top:4px;left:12px;right:12px;height:29px}
  .panel-lights::before{left:6px;right:6px;height:11px}
  .mini-bulb{top:calc(7px + var(--dip,0px));left:calc(5.8% + var(--i) * 6.82%)}
}


/* 2026: square memory cards with logo imagery only. */
.board .memory-card { aspect-ratio: 1 / 1; }
.board .card-front { padding: clamp(5px,.9vw,13px); }
.board .logo-box {
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;max-width:100%;min-height:0;
  padding:0;overflow:hidden;
}
.board .logo-box img {
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;
}
/* Tooltips for stars: stay inside the Galaxy panel and are readable on phones. */
.galaxy-svg .node { pointer-events:none; }
.galaxy-svg .node .hit-target { fill:transparent;pointer-events:none; }
.galaxy-svg .node.on { pointer-events:auto;cursor:pointer;outline:none; }
.galaxy-svg .node.on .hit-target { pointer-events:all; }
.galaxy-svg .node.on:hover .halo,
.galaxy-svg .node.on:focus-visible .halo,
.galaxy-svg .node.on.is-selected .halo {
  fill:rgba(251,218,156,.30);stroke:#ffe5a7;stroke-width:2.5;
  filter:drop-shadow(0 0 10px rgba(248,211,137,.7));
}
.galaxy-svg .node.on:focus-visible .hit-target { stroke:#ffe5a7;stroke-width:1.5;stroke-dasharray:3 3; }
.galaxy-svg .node.on .halo { transition:fill .2s,stroke .2s,filter .2s; }
.galaxy-tooltip {
  position:absolute;z-index:30;width:min(285px,calc(100% - 18px));
  padding:18px 19px 17px;border-radius:15px;
  border:1px solid rgba(246,217,162,.67);
  background:linear-gradient(140deg,rgba(17,52,55,.98),rgba(12,30,51,.98) 66%,rgba(54,26,47,.98));
  box-shadow:0 20px 46px rgba(0,5,14,.62),0 0 24px rgba(233,196,129,.15),inset 0 1px rgba(255,255,255,.09);
  color:#f8eedc;pointer-events:none;text-align:left;
  transform:translate(-50%,-100%);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.galaxy-tooltip.below {transform:translate(-50%,0)}
.galaxy-tooltip::after {
  content:'✦';position:absolute;top:10px;right:13px;font-size:17px;
  color:#f5d89d;text-shadow:0 0 10px rgba(248,212,136,.5);
}
.galaxy-tooltip-kicker {display:block;font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#f0d195;font-weight:800;margin-bottom:7px}
.galaxy-tooltip-name {font:400 23px/1.15 Georgia,serif;color:#fff4df;margin:0 20px 5px 0;overflow-wrap:anywhere}
.galaxy-tooltip-category {font-size:10px;letter-spacing:.1em;color:#d9bd8f;text-transform:uppercase;margin-bottom:9px}
.galaxy-tooltip-copy {font-size:12px;line-height:1.52;color:#d5e0e1;margin:0}
@media(max-width:520px){
  .board .memory-card {aspect-ratio:1/1}
  .board .card-front{padding:5px}
  .galaxy-tooltip{padding:14px 15px;border-radius:12px;width:min(255px,calc(100% - 18px))}
  .galaxy-tooltip-name{font-size:20px}
}


/* Logos are genuine image elements and never stretched or cropped. */
.board .memory-card {aspect-ratio:1/1}
.board .logo-box {width:100%;height:100%;padding:0;display:grid;place-items:center;overflow:hidden}
.board .logo-box img {
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;aspect-ratio:auto;
}
.finish-node img {display:block;width:82%;height:82%;max-width:82%;max-height:82%;object-fit:contain;object-position:center}

/* ============================================================
   Weihnachts-Edition: 20% größerer Header, Sternlichter,
   kompakter Desktop-Spielbereich ohne Scrollen.
   ============================================================ */
.site-header{
  min-height:112px;
  padding-top:4px;
}
.brand-symbol{width:53px;height:53px;font-size:34px}
.logo{gap:15px}
.logo-title{font-size:22px}
.logo-meta{font-size:11px;letter-spacing:.23em}
.header-right{gap:19px}
.edition{font-size:12px;padding:12px 17px}
.language{padding:5px;gap:4px}
.language button{font-size:13px;padding:9px 13px}
/* The star string hangs below the expanded header and glows warmly. */
.light-string{top:103px;height:70px}
.light-string .light-wire{stroke:#8d7046;stroke-width:2.1}
.light-string .bulb-socket{fill:#bda77b}
.light-string .light .bulb{filter:drop-shadow(0 0 7px var(--shine));paint-order:stroke}
.light-string .light.gold .bulb{fill:#ffe6a3}
.light-string .light.red .bulb{fill:#ee8a80}
.light-string .light.green .bulb{fill:#b0d7ab}
.light-string .light.frost .bulb{fill:#fff0d3}
/* Across both game panels: little five-point stars instead of bulb shapes. */
.panel-lights{height:31px;top:3px;left:15px;right:15px}
.panel-lights::before{border-color:rgba(222,181,114,.45)}
.mini-bulb{
  width:12px;height:12px;top:calc(10px + var(--dip,0px));
  clip-path:polygon(50% 0,62% 35%,100% 38%,72% 60%,81% 100%,50% 78%,19% 100%,28% 60%,0 38%,38% 35%);
  border-radius:0;
}
.mini-bulb::before{display:none}
/* Background elements and tooltips should not catch card/locale interactions. */
.light-string,.panel-lights{pointer-events:none}
.galaxy-insight{display:none!important}
.galaxy-tooltip-kicker{display:none!important}
/* Full-window desktop screen; retain normal responsive scrolling on small screens. */
@media (min-width:1000px) and (min-height:680px){
  .page{height:100dvh;min-height:0;overflow:clip;display:flex;flex-direction:column}
  .page>main{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:61px}
  .game:not([hidden]){height:100%;min-height:0;display:flex;flex-direction:column;flex:1;padding:13px 0 12px}
  .game-heading{flex:none;margin:0 0 11px}
  .game-heading h1{font-size:clamp(29px,3vw,39px);margin-top:5px}
  .game-grid{flex:1;min-height:0;grid-template-columns:minmax(0,1.88fr) minmax(270px,.87fr);gap:15px}
  .board-panel,.galaxy-panel{min-height:0;min-width:0}
  .board-panel{display:flex;flex-direction:column;padding:21px 15px 9px}
  .board-panel .stats{flex:none;margin:0 0 5px;gap:8px}
  .board-panel .stat{min-height:49px;padding:5px 11px}
  .stat strong{font-size:26px}
  .starlight-progress{flex:none;margin-bottom:9px}
  .board{--card-size:clamp(43px,min(calc((100vw - 540px)/7),calc(16dvh - 54px)),106px);display:grid;grid-template-columns:repeat(var(--board-columns,7),var(--card-size));justify-content:center;align-content:center;gap:clamp(5px,.7vw,9px);min-height:0;flex:1;}
  .memory-card{width:var(--card-size);height:var(--card-size);aspect-ratio:1}
  .board-footer{flex:none;margin-top:5px;min-height:30px}
  .board-footer .subtle-button{min-height:33px;padding:0 12px;font-size:11px}
  .galaxy-panel{padding:27px 15px 10px;display:flex;flex-direction:column}
  .galaxy-head{flex:none}
  .galaxy-head h2{font-size:clamp(24px,2.4vw,31px);margin-top:4px}
  .galaxy-head .eyebrow{font-size:9px;letter-spacing:.12em}
  .galaxy-stage{height:auto;min-height:0;flex:1;display:grid;place-items:center;overflow:visible}
  .galaxy-svg{width:100%;max-width:min(100%,390px);height:100%;max-height:100%;aspect-ratio:420/430;overflow:visible}
  .legal-footer{padding:6px 16px 8px;min-height:47px}
  .legal-footer-link{font-size:11px;padding:6px}
  .start:not([hidden]){height:100%;min-height:0;padding:6px 0 10px;gap:clamp(15px,3vw,32px)}
  .start .hero-visual{max-height:100%;min-height:0}
  .start .hero-art{width:min(100%,calc(100dvh - 264px));max-height:100%;max-width:620px}
  .start .hero-title{font-size:clamp(46px,5.1vw,76px)}
  .start .hero-lead{font-size:clamp(14px,1.3vw,17px);margin-bottom:20px}
  .start .primary{min-height:51px}
  .finish:not([hidden]){height:100%;min-height:0;flex:1;padding:10px 0 5px}
  .finish-mark{width:43px;height:43px;font-size:21px;margin:0 auto 6px}
  .finish-title{font-size:clamp(30px,3.8vw,52px);margin:7px auto}
  .finish-subtitle{font-size:13px;line-height:1.35}
  .donation-banner--finish{margin:8px auto 0;padding:10px 15px;min-height:76px}
  .donation-banner--finish .donation-seal{width:49px;height:49px}
  .donation-banner--finish h3{font-size:17px;margin-bottom:4px}
  .donation-banner--finish p{font-size:11px}
  .finish-orbit{flex:1;min-height:0;width:min(100%,460px);aspect-ratio:auto;margin:0 auto}
  .finish-summary{margin:2px 0 10px}
  .finish-actions .primary,.finish-actions .subtle-button{min-height:38px}
}
@media(min-width:1000px) and (min-height:680px) and (max-height:795px){
  .board{--card-size:clamp(43px,min(calc((100vw - 540px)/7),calc(16dvh - 54px)),90px)}
  .game-heading .eyebrow{font-size:9px}
  .game-heading h1{font-size:29px}
  .galaxy-stage .game-christmas-tree{width:95px}
}
@media(min-width:1000px) and (min-height:680px){
  .board[data-pairs="12"]{--board-columns:6;--card-size:clamp(43px,min(calc((100vw - 540px)/6),calc(16dvh - 54px)),106px)}
}
@media(max-width:999px){
  .site-header{min-height:92px}
  .brand-symbol{width:47px;height:47px;font-size:30px}
  .logo-title{font-size:20px}
  .logo-meta{font-size:10px}
  .light-string{top:86px;height:70px}
  .galaxy-panel{min-height:0;padding-bottom:18px}
  .galaxy-stage{min-height:320px;flex:none}
  .board[data-pairs="12"]{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:790px){
  .site-header{min-height:86px}
  .edition{display:none}
  .light-string{top:82px;height:70px}
  .game{padding-top:64px}
  .galaxy-stage{height:335px;min-height:0}
}
@media(max-width:520px){
  .site-header{min-height:81px}
  .logo-title{font-size:18px}
  .logo-meta{font-size:8.5px}
  .brand-symbol{width:41px;height:41px;font-size:26px}
  .language button{padding:7px 10px;font-size:12px}
  .light-string{top:78px;height:72px}
  .board[data-pairs="12"],.board[data-pairs="13"],.board[data-pairs="14"]{grid-template-columns:repeat(4,minmax(0,1fr))}
  .board .memory-card{aspect-ratio:1}
  .panel-lights .mini-bulb{width:9px;height:9px}
  .galaxy-stage{height:330px}
}


/* Desktop finale: festive closing scene without card/logo overlaps. */
@media (min-width:1000px) and (min-height:680px){
  .finish:not([hidden]){
    display:grid;
    grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows:min-content min-content min-content min-content minmax(0,1fr) min-content min-content;
    gap:4px clamp(20px,3vw,56px);
    text-align:left;align-items:start;justify-items:stretch;
    overflow:visible;padding:8px 0 6px;
  }
  .finish-tree-left{left:-15%;opacity:.58}
  .finish-tree-right{right:-13%;opacity:.76}
  .finish>.eyebrow{grid-column:1;grid-row:1;align-self:end;justify-self:start;margin:0}
  .finish-mark{grid-column:1;grid-row:2;justify-self:start;margin:8px 0 4px}
  .finish-title{grid-column:1;grid-row:3;max-width:none;margin:0 0 5px;font-size:clamp(35px,3.8vw,54px);line-height:1.04}
  .finish-subtitle{grid-column:1;grid-row:4;max-width:510px;margin:0 0 8px;font-size:clamp(13px,1.12vw,16px)}
  .donation-banner--finish{grid-column:1;grid-row:5;align-self:center;justify-self:stretch;width:100%;margin:0;padding:13px 15px;min-height:83px}
  .donation-banner--finish .donation-seal{width:53px;height:53px}
  .donation-banner--finish h3{font-size:clamp(17px,1.5vw,23px)}
  .donation-banner--finish p{font-size:12px}
  .finish-orbit{grid-column:2;grid-row:1 / 6;align-self:center;justify-self:center;flex:none;
    width:min(100%,calc(100dvh - 270px),520px);height:min(100%,calc(100dvh - 270px),520px);
    min-height:0;max-height:100%;aspect-ratio:1 / 1;margin:0}
  .finish-center .bigstar{font-size:82px}
  .finish-node{width:clamp(38px,3.4vw,48px)}
  .finish-node .orbit-mark{font-size:11px}
  .finish-summary{grid-column:1/-1;grid-row:6;align-self:center;justify-content:center;margin:5px 0 6px}
  .finish-actions{grid-column:1/-1;grid-row:7;justify-content:center;align-self:center;gap:12px}
  .share-status{grid-column:1/-1;grid-row:8}
}


/* ==========================================================
   2026-12-02 — Weiche Headerkanten & breite Memory-Karten
   - Headerlinie und Hintergrund sanft zu beiden Seiten
   - nur die Spielansicht darf auf Desktop scrollen
   - quadratische Karten füllen die linke Spielfläche
   ========================================================== */
.site-header{
  border-bottom:0;
  background:
    linear-gradient(90deg,
      rgba(11,28,47,0) 0%,
      rgba(32,59,86,.12) 13%,
      rgba(39,70,94,.20) 50%,
      rgba(32,59,86,.12) 87%,
      rgba(11,28,47,0) 100%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0));
}
.site-header::before{
  top:auto;
  bottom:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,
    transparent 0%,
    rgba(217,222,230,.025) 6%,
    rgba(215,218,222,.17) 22%,
    rgba(224,216,198,.28) 50%,
    rgba(215,218,222,.17) 78%,
    rgba(217,222,230,.025) 94%,
    transparent 100%);
  box-shadow:none;
  pointer-events:none;
}
/* Die Sterne der großen Lichterkette verschwinden ebenfalls weich am Rand. */
.light-string{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%);
}
@media (min-width:1000px) and (min-height:680px){
  /* Nur das aktive Memory vom alten 100vh-Limit befreien. */
  .page:has(#gameScreen:not([hidden])){
    height:auto;
    min-height:100dvh;
    overflow:visible;
  }
  .page:has(#gameScreen:not([hidden])) > main{
    flex:1 0 auto;
    min-height:0;
    display:block;
    padding-top:61px;
  }
  .game:not([hidden]){
    height:auto;
    min-height:0;
    flex:none;
    display:block;
    padding:13px 0 32px;
  }
  .game:not([hidden]) .game-grid{
    min-height:0;
    display:grid;
    align-items:start;
    grid-template-columns:minmax(0,1.88fr) minmax(270px,.87fr);
    gap:clamp(14px,1.3vw,20px);
  }
  .game:not([hidden]) .board-panel{
    display:block;
    min-height:0;
    padding:35px clamp(15px,1.5vw,23px) 20px;
  }
  .game:not([hidden]) .board-panel .stats{margin-bottom:13px}
  .game:not([hidden]) .starlight-progress{margin-bottom:15px}
  .game:not([hidden]) .board{
    --card-size:initial;
    display:grid;
    width:100%;
    grid-template-columns:repeat(var(--board-columns,7),minmax(0,1fr));
    justify-content:stretch;
    align-content:start;
    min-height:0;
    gap:clamp(7px,.77vw,12px);
    flex:none;
  }
  .game:not([hidden]) .board[data-pairs="12"]{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .game:not([hidden]) .memory-card{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
  }
  .game:not([hidden]) .board-footer{margin-top:15px;min-height:39px}
  .game:not([hidden]) .galaxy-panel{
    display:flex;
    flex-direction:column;
    min-height:0;
    padding:35px clamp(15px,1.4vw,23px) 22px;
  }
  .game:not([hidden]) .galaxy-stage{
    height:clamp(335px,33vw,450px);
    flex:none;
    min-height:0;
  }
  .game:not([hidden]) .galaxy-svg{
    width:100%;
    max-width:420px;
    height:100%;
    max-height:450px;
  }
}


/* Fine-tuning: move decorative star strings to the box edges and align header string with the divider line. */
@media (min-width:1000px){
  .light-string{top:114px;height:68px}
  .board-panel{padding-top:14px}
  .galaxy-panel{padding-top:16px}
  .panel-lights{top:-3px;left:12px;right:12px;height:24px}
  .panel-lights::before{top:0;left:4px;right:4px;height:9px}
}
@media (max-width:999px){
  .light-string{top:90px}
}
@media (max-width:790px){
  .light-string{top:86px}
}
@media (max-width:520px){
  .light-string{top:82px}
}


/* Mobile: die Schneeflocken beginnen erst unterhalb des Logos.
   Header und Sprachwahl liegen über allen dekorativen Ebenen. */
@media (max-width:790px){
  .site-header{position:relative;z-index:12}
  .site-header .logo{position:relative;z-index:13}
  .site-header .header-right{position:relative;z-index:13}
  .ambient{
    -webkit-mask-image:linear-gradient(to bottom,transparent 0px,transparent 95px,rgba(0,0,0,.5) 129px,#000 155px);
    mask-image:linear-gradient(to bottom,transparent 0px,transparent 95px,rgba(0,0,0,.5) 129px,#000 155px);
  }
}


/* Dezember 2026: Header geht ohne sichtbare rechteckige Kante in den Sternenhimmel über. */
.site-header{
  background:transparent!important;
  border-bottom:0;
  overflow:visible;
  isolation:isolate;
}
/* Nur sanftes Licht statt einer durchgezogenen, seitlich abgeschnittenen Farbfläche. */
.site-header::after{
  content:"";
  position:absolute;
  inset:-25px 0 -52px;
  width:auto;height:auto;
  background:radial-gradient(ellipse 54% 76% at 50% 30%,rgba(46,78,111,.19) 0%,rgba(34,68,99,.09) 40%,transparent 88%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 19%,#000 81%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 19%,#000 81%,transparent 100%);
  pointer-events:none;
  z-index:-1;
}
/* Die bereits vorhandene horizontale Linie behält ihren weichen Verlauf. */
.site-header::before{background:linear-gradient(90deg,transparent 0%,rgba(226,220,201,.09) 18%,rgba(226,220,201,.23) 50%,rgba(226,220,201,.09) 82%,transparent 100%)}
@media(max-width:790px){
  .site-header::after{inset:-10px 0 -28px;background:radial-gradient(ellipse 75% 74% at 50% 30%,rgba(46,78,111,.14),transparent 88%)}
}


@media(max-width:650px){
  body[data-screen="game"] .snowflake{display:none !important;}
}



/* December 2026: stable desktop layout at every viewport height.
   Once the viewport is wide enough for the two-column desktop design, reducing
   window height must NEVER shrink the cards, galaxy, or hero artwork. The whole
   page scrolls instead. Mobile/tablet layouts retain their own breakpoints. */
@media (min-width:1000px) {
  .page,
  .page:has(#gameScreen:not([hidden])) {
    height:auto;
    min-height:100dvh;
    overflow:visible;
    display:flex;
    flex-direction:column;
  }
  .page > main,
  .page:has(#gameScreen:not([hidden])) > main {
    display:block;
    flex:1 0 auto;
    min-height:0;
    padding-top:61px;
  }
  /* Start keeps its intended visual size even on short laptop windows. */
  .start:not([hidden]) {
    height:auto;
    min-height:635px;
    padding:22px 0 44px;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:clamp(18px,3vw,40px);
  }
  .start .hero-visual {max-height:none;min-height:0}
  .start .hero-art {
    width:100%;
    max-width:620px;
    max-height:none;
    height:auto;
  }
  /* The 24 square cards always fill six columns across the same panel width. */
  .game:not([hidden]) {
    display:block;
    height:auto;
    min-height:0;
    padding:13px 0 32px;
    flex:none;
  }
  .game:not([hidden]) .game-grid {
    display:grid;
    grid-template-columns:minmax(0,1.88fr) minmax(270px,.87fr);
    align-items:start;
    gap:clamp(14px,1.3vw,20px);
    min-height:0;
  }
  .game-heading {margin:0 0 14px}
  .game-heading h1 {font-size:clamp(29px,3vw,39px);margin-top:5px}
  .game-heading .eyebrow {font-size:10px}
  .game:not([hidden]) .board-panel {
    display:block;
    padding:35px clamp(15px,1.5vw,23px) 20px;
    min-height:0;
  }
  .game:not([hidden]) .board-panel .stats {margin-bottom:13px;gap:8px}
  .game:not([hidden]) .stat {min-height:49px;padding:5px 11px}
  .game:not([hidden]) .stat strong {font-size:26px}
  .game:not([hidden]) .starlight-progress {margin-bottom:15px}
  .game:not([hidden]) .board,
  .game:not([hidden]) .board[data-pairs="12"] {
    --card-size:initial;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:clamp(7px,.77vw,12px);
    justify-content:stretch;
    align-content:start;
    flex:none;
    min-height:0;
    width:100%;
  }
  .game:not([hidden]) .memory-card {
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
  }
  .game:not([hidden]) .galaxy-panel {
    display:flex;
    flex-direction:column;
    min-height:0;
    padding:35px clamp(15px,1.4vw,23px) 22px;
  }
  .game:not([hidden]) .galaxy-stage {
    height:clamp(335px,33vw,450px);
    min-height:0;
    flex:none;
  }
  .game:not([hidden]) .galaxy-svg {
    width:100%;
    max-width:420px;
    height:100%;
    max-height:450px;
  }
  /* Finale also retains its two-column design when window height is short. */
  .finish:not([hidden]) {
    height:auto;
    min-height:610px;
    flex:none;
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    grid-template-rows:min-content min-content min-content min-content minmax(0,1fr) min-content min-content;
    gap:4px clamp(20px,3vw,56px);
    text-align:left;
    align-items:start;
    justify-items:stretch;
    overflow:visible;
    padding:8px 0 20px;
  }
  .finish-orbit {
    width:min(100%,520px);
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:1 / 1;
    flex:none;
  }
  .finish-title {font-size:clamp(35px,3.8vw,54px)}
  .finish-mark {width:43px;height:43px;font-size:21px}
  .legal-footer {flex:none}
}


/* Panel star strings: keep each star and its halo fully visible.
   The previous 24px masked strip cut off stars at their lower edge. */
.board-panel, .galaxy-panel {
  overflow:visible;
  isolation:isolate;
}
/* Keep the existing decorative corner gradients within the panel. */
.board-panel::after {left:0;bottom:0;border-bottom-left-radius:inherit}
.galaxy-panel::after {right:0;bottom:0;border-bottom-right-radius:inherit}
.panel-lights {
  top:0;
  left:15px;
  right:15px;
  height:35px;
  z-index:20;
  overflow:visible;
  -webkit-mask-image:none;
  mask-image:none;
  pointer-events:none;
}
.panel-lights::before {
  top:0;
  left:4px;
  right:4px;
  height:8px;
  border-color:rgba(222,181,114,.45);
}
.panel-lights .mini-bulb {
  top:calc(5px + var(--dip,0px));
  left:calc(5% + var(--i) * 6.78%);
  width:12px;
  height:12px;
  background:transparent;
  box-shadow:none;
  clip-path:none;
}
/* Clip only the star shape, not its animated outer glow. */
.panel-lights .mini-bulb::after {
  content:"";
  position:absolute;
  inset:0;
  background:var(--lamp,#ffe09e);
  clip-path:polygon(50% 0,62% 35%,100% 38%,72% 60%,81% 100%,50% 78%,19% 100%,28% 60%,0 38%,38% 35%);
}
@media (max-width:999px) {
  .board-panel,.galaxy-panel {padding-top:35px}
}
@media (max-width:520px) {
  .panel-lights {left:11px;right:11px;height:33px}
  .panel-lights .mini-bulb {width:9px;height:9px}
}


/* SVG star graphic for iPhone-safe decorative stars */
.star-graphic{display:block;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20fill%3D%22none%22%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3CradialGradient%20id%3D%22g%22%20cx%3D%2250%25%22%20cy%3D%2246%25%22%20r%3D%2254%25%22%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23FFF4D1%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%2254%25%22%20stop-color%3D%22%23F4D79C%22%2F%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23D2A768%22%2F%3E%0A%20%20%20%20%3C%2FradialGradient%3E%0A%20%20%20%20%3Cfilter%20id%3D%22glow%22%20x%3D%22-120%25%22%20y%3D%22-120%25%22%20width%3D%22340%25%22%20height%3D%22340%25%22%3E%0A%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%226%22%20result%3D%22b%22%2F%3E%0A%20%20%20%20%20%20%3CfeMerge%3E%3CfeMergeNode%20in%3D%22b%22%2F%3E%3CfeMergeNode%20in%3D%22SourceGraphic%22%2F%3E%3C%2FfeMerge%3E%0A%20%20%20%20%3C%2Ffilter%3E%0A%20%20%3C%2Fdefs%3E%0A%20%20%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2227%22%20fill%3D%22%23F0D49A%22%20opacity%3D%220.12%22%20filter%3D%22url%28%23glow%29%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M50%2010L58%2038L90%2050L58%2062L50%2090L42%2062L10%2050L42%2038L50%2010Z%22%20fill%3D%22url%28%23g%29%22%20filter%3D%22url%28%23glow%29%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M50%2020L55%2040L76%2050L55%2060L50%2080L45%2060L24%2050L45%2040L50%2020Z%22%20fill%3D%22%23FFF6D9%22%20opacity%3D%220.72%22%2F%3E%0A%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center;background-size:contain;flex:none}
.hero-core .star-graphic--hero{width:clamp(68px,8.8vw,126px);height:clamp(68px,8.8vw,126px);filter:drop-shadow(0 0 18px rgba(222,181,105,.42))}
.floating-card .star-graphic--floating{width:42%;height:42%;min-width:30px;min-height:30px;filter:drop-shadow(0 0 12px rgba(228,192,123,.22))}
@media(max-width:520px){
  .hero-core .star-graphic--hero{width:clamp(64px,16vw,92px);height:clamp(64px,16vw,92px)}
  .floating-card .star-graphic--floating{width:40%;height:40%;min-width:22px;min-height:22px}
}


/* Explicit face switching prevents Safari compositing both faces. */
.memory-card .card-rotator{ -webkit-transform-style:flat; transform-style:flat; }
.memory-card.is-open .card-rotator,.memory-card.is-matched .card-rotator{transform:none;}
.memory-card .card-face{transform:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;}
.memory-card .card-front{visibility:hidden;opacity:0;pointer-events:none;}
.memory-card .card-back{visibility:visible;opacity:1;}
.memory-card.is-open .card-back,.memory-card.is-matched .card-back{visibility:hidden;opacity:0;}
.memory-card.is-open .card-front,.memory-card.is-matched .card-front{visibility:visible;opacity:1;animation:face-reveal .32s ease-out;}
@keyframes face-reveal{from{transform:scaleX(.12);opacity:.5}to{transform:scaleX(1);opacity:1}}
.back-emblem{display:block;width:1em;height:1em;flex:none;}
.back-emblem svg{display:block;width:100%;height:100%;filter:drop-shadow(0 0 6px rgba(245,212,150,.32));}

/* Seamless panel lighting: paint all colored glows inside the rounded
   background, never in a rectangular layer extending beyond the panel. */
.board-panel {
  background: radial-gradient(ellipse 205px 135px at 100% 0%,rgba(196,63,83,.13),transparent 100%),
              radial-gradient(ellipse 140px 140px at 0% 100%,rgba(196,75,98,.10),transparent 100%),
              linear-gradient(150deg,rgba(17,38,59,.91),rgba(8,20,39,.92));
}
.galaxy-panel {
  background: radial-gradient(ellipse closest-side at 50% 42%,rgba(90,127,157,.20),transparent 100%),
              radial-gradient(ellipse 140px 140px at 100% 100%,rgba(230,197,129,.10),transparent 100%),
              linear-gradient(150deg,rgba(17,38,59,.91),rgba(8,20,39,.92));
}
.board-panel::before,.board-panel::after,.galaxy-panel::before,.galaxy-panel::after{content:none;display:none}
/* The star strings and popup can still extend beyond the panel. */
.board-panel,.galaxy-panel{overflow:visible}
/* Render exactly one side of each card, including during Safari animations. */
.memory-card,.board{perspective:none;-webkit-perspective:none}
.memory-card .card-rotator{transition:none;-webkit-transform-style:flat;transform-style:flat}
.memory-card .card-front{display:none}
.memory-card .card-back{display:flex}
.memory-card.is-open .card-back,.memory-card.is-matched .card-back{display:none}
.memory-card.is-open .card-front,.memory-card.is-matched .card-front{display:flex}

/* Decorative heading icon is also font-independent. */
.eyebrow::before{content:"";display:inline-block;width:1em;height:1em;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%23f6deb1%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20transform%3D%22rotate%280%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3Cpath%20transform%3D%22rotate%2860%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3Cpath%20transform%3D%22rotate%28120%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3Cpath%20transform%3D%22rotate%28180%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3Cpath%20transform%3D%22rotate%28240%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3Cpath%20transform%3D%22rotate%28300%2024%2024%29%22%20d%3D%22M24%2024V4%20M17%209L24%2016L31%209%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:-.1em}


/* Desktop card flip: perspective on each face, with a timed, exclusive
   face switch at 90 degrees. No shared preserve-3d compositor is needed.
   Touch devices retain the explicit, Safari-safe single-face reveal. */
@media (min-width:1000px) and (hover:hover) and (pointer:fine) {
  .board .memory-card { --flip-duration: 640ms; --flip-half: 320ms; }
  .board .memory-card .card-rotator {
    transition:transform 240ms cubic-bezier(.2,.8,.2,1);
  }
  .board .memory-card .card-face {
    display:flex;
    opacity:1;
    animation:none;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    transition: transform var(--flip-duration) cubic-bezier(.45,0,.55,1),
                visibility 0s linear var(--flip-half);
    transform-origin:center center;
  }
  .board .memory-card .card-back {
    transform:perspective(850px) rotateY(0deg);
    visibility:visible;
  }
  .board .memory-card .card-front {
    transform:perspective(850px) rotateY(180deg);
    visibility:hidden;
  }
  .board .memory-card.is-open .card-back,
  .board .memory-card.is-matched .card-back {
    display:flex;
    opacity:1;
    visibility:hidden;
    transform:perspective(850px) rotateY(-180deg);
  }
  .board .memory-card.is-open .card-front,
  .board .memory-card.is-matched .card-front {
    display:flex;
    opacity:1;
    visibility:visible;
    animation:none;
    transform:perspective(850px) rotateY(0deg);
  }
  .board .memory-card:not(.is-open):not(.is-matched):hover .card-rotator {
    transform:translateY(-3px);
  }
  .board .memory-card.is-matched::after {
    animation:desktop-match-star 300ms ease-out var(--flip-half) both;
  }
}
@keyframes desktop-match-star {
  from {opacity:0;transform:scale(.6)}
  to {opacity:1;transform:scale(1)}
}


/* Festive finish confetti: independent of the card flip and all controls. */
.finish-confetti{position:fixed;inset:0;width:100%;height:100%;z-index:100;pointer-events:none;display:block}

/* Celebrate the completed board in place. No viewport or card layout change. */
.game-complete-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.game-complete-actions[hidden],.game-complete-actions [hidden]{display:none!important}
.game-complete-actions .primary,.game-complete-actions .subtle-button{min-height:38px;font-size:12px;padding:8px 14px}
.game.is-complete .board-help{color:var(--gold);line-height:1.55;font-size:13px}
.board-panel>.share-status:empty{display:none}
.board-panel>.share-status{position:static;text-align:left;margin:8px 0 0}

/* Header typography: give the Christmas edition its own visual weight. */
.site-header .logo-meta {font-size:15px;letter-spacing:.18em;line-height:1.2;}
@media (max-width:999px) {
  .site-header .logo-meta {font-size:13px;}
}
@media (max-width:520px) {
  .site-header .logo-meta {font-size:11px;letter-spacing:.12em;}
}
@media (max-width:360px) {
  .site-header .logo-meta {font-size:10px;letter-spacing:.08em;}
  .site-header .logo {gap:8px;min-width:0;}
  .site-header {gap:8px;}
  .site-header .header-right {flex:none;}
}

/* Campaign wording: keep the longer title readable at all widths. */
.start .hero-copy {min-width:0}
.start .hero-title--campaign .line {white-space:normal;overflow-wrap:normal}
.start .hero-title--campaign {font-size:clamp(43px,4.7vw,72px);line-height:1.08}
@media (max-width:790px) {
  .start .hero-title--campaign {font-size:clamp(36px,9vw,67px)}
}
@media (max-width:360px) {
  .start .hero-title--campaign {font-size:clamp(30px,9.3vw,34px)}
}


/* 2026.12.03.5 – full-bleed logo cards without white inner area */
.board .memory-card{overflow:visible}
.board .memory-card .card-front{
  padding:0 !important;
  background:linear-gradient(155deg,#102d4c,#0b2340 58%,#241838) !important;
  border:1px solid rgba(230,202,140,.78) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.18) !important;
}
.board .memory-card .card-front::before{display:none !important;content:none !important}
.board .memory-card .logo-box{
  width:100% !important;
  height:100% !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:inherit;
  overflow:hidden;
  background:transparent;
}
.board .memory-card .logo-box img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
  object-position:center;
  background:transparent;
}
.board .memory-card.is-matched .card-front{
  background:linear-gradient(155deg,#173652,#102d4c 54%,#2b2042) !important;
  border-color:rgba(244,214,151,.95) !important;
  box-shadow:inset 0 0 0 2px rgba(218,177,101,.30),0 0 25px rgba(255,214,139,.28) !important;
}
@media(max-width:520px){
  .board .memory-card .card-front{border-radius:7px}
}


/* 2026.12.03.6 – original BrandGalaxy SVG as the sole header logo. */
.site-header .logo{position:relative;z-index:13;flex:0 1 auto;min-width:0;gap:0;}
.site-header .header-brand-logo{display:block;width:auto;height:82px;max-width:100%;object-fit:contain;object-position:left center;flex:0 1 auto;}
@media(max-width:999px){.site-header .header-brand-logo{height:68px}}
@media(max-width:520px){.site-header .header-brand-logo{height:58px}}


/* 2026.12.03.8 – galaxy panel copy, alignment and height tuning */
.galaxy-head{gap:12px;align-items:flex-start}
.galaxy-head-copy{min-width:0}
.galaxy-donation-hint{margin:8px 0 0;color:#d3dbe0;font-size:12px;line-height:1.45;max-width:240px}
.galaxy-count{margin-top:10px;white-space:nowrap;flex:none}
@media(min-width:1000px){
  .game:not([hidden]) .game-grid{align-items:stretch}
  .game:not([hidden]) .board-panel,
  .game:not([hidden]) .galaxy-panel{height:100%}
  .game:not([hidden]) .galaxy-panel{padding-bottom:18px}
  .game:not([hidden]) .galaxy-stage{height:clamp(365px,35vw,490px);display:flex;align-items:flex-start;justify-content:center;padding-top:6px}
  .game:not([hidden]) .galaxy-svg{max-width:418px;max-height:430px;height:auto;margin-top:-12px}
  .game:not([hidden]) .game-christmas-tree{right:-6px;bottom:-20px;width:118px}
}
@media(max-width:999px){
  .galaxy-donation-hint{max-width:none}
}
@media(max-width:790px){
  .galaxy-head{gap:10px}
  .galaxy-donation-hint{font-size:11px;margin-top:6px}
}
@media(max-width:520px){
  .galaxy-donation-hint{font-size:10.5px;line-height:1.4}
  .galaxy-count{font-size:11px}
  .game-christmas-tree{bottom:-18px}
}

/* 2026.12.03.9 – two explicit donation lines; fit within actual text area. */
.hero-visual .donation-banner--hero .donation-copy{min-width:0;flex:1;container-type:inline-size}
.hero-visual .donation-banner--hero .donation-copy h2{white-space:normal;overflow-wrap:normal;line-height:1.2;font-size:clamp(16px,1.55vw,25px);margin-bottom:0;font-size:clamp(14px,7.7cqi,26px)}

/* 2026.12.03.10 – donation countdown is the sole Galaxy heading. */
.galaxy-panel .galaxy-head{display:block;width:100%;flex:none}
.galaxy-panel .galaxy-head .galaxy-donation-hint{
  margin:4px 0 0;
  max-width:none;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(23px,2.1vw,30px);
  font-weight:400;
  line-height:1.18;
  color:#fff6e5;
  overflow-wrap:normal;
  text-wrap:balance;
}
@media(max-width:790px){
  .galaxy-panel .galaxy-head .galaxy-donation-hint{font-size:clamp(23px,5.5vw,29px)}
}

/* 2026.12.03.11 – larger galaxy and tree, with a bottom-aligned festive scene. */
.game:not([hidden]) .galaxy-stage {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto minmax(min-content,1fr);
  align-items:start;
  justify-items:center;
  align-content:stretch;
  flex:1 0 auto;
  height:auto;
  min-height:0;
  padding-top:clamp(22px,2.1vw,36px);
  row-gap:8px;
  overflow:visible;
}
.game:not([hidden]) .galaxy-stage .galaxy-svg {
  grid-row:1;grid-column:1;
  width:calc(100% + 14px);
  max-width:460px;
  height:auto;
  max-height:none;
  aspect-ratio:380 / 390;
  margin:0;
}
.game:not([hidden]) .galaxy-stage .game-christmas-tree {
  grid-row:2;grid-column:1;
  position:relative;
  right:auto;bottom:auto;
  justify-self:end;align-self:end;
  width:clamp(120px,43%,175px);
  height:auto;
  margin:0 -4px -14px 0;
}
@media (min-width:791px) {
  .game:not([hidden]) .game-grid {align-items:stretch}
  .game:not([hidden]) .board-panel,
  .game:not([hidden]) .galaxy-panel {height:auto}
}
@media (max-width:790px) {
  .game:not([hidden]) .galaxy-stage {padding-top:22px}
  .game:not([hidden]) .galaxy-stage .galaxy-svg {width:100%;max-width:420px}
  .game:not([hidden]) .galaxy-stage .game-christmas-tree {width:clamp(118px,37%,155px);margin-bottom:-10px}
}

/* 2026.12.03.12 – interactive agency popup, without category line. */
.galaxy-tooltip{pointer-events:auto}
.galaxy-tooltip[hidden]{display:none!important}
.galaxy-tooltip-name{margin-bottom:8px}
.galaxy-tooltip-name a{color:inherit;text-decoration:none}
.galaxy-tooltip-name a[href]{cursor:pointer;text-decoration:underline;text-decoration-color:rgba(245,216,157,.55);text-underline-offset:3px;text-decoration-thickness:1px}
.galaxy-tooltip-name a[href]:hover,.galaxy-tooltip-name a[href]:focus-visible{color:#ffe0a4;text-decoration-color:currentColor}
.galaxy-tooltip-name a[href]:focus-visible{outline:2px solid #ffe0a4;outline-offset:3px;border-radius:2px}

/* 2026.12.03.15 – separate website link below agency competence. */
.galaxy-tooltip-link{display:inline-block;margin-top:12px;color:#f4d59a;font-size:12px;line-height:1.5;font-weight:650;text-decoration:underline;text-underline-offset:3px;pointer-events:auto}
.galaxy-tooltip-link[hidden]{display:none!important}
.galaxy-tooltip-link:hover{color:#fff3d6}
.galaxy-tooltip-link:focus-visible{outline:2px solid #ffe0a4;outline-offset:3px;border-radius:2px}
