@charset "UTF-8";
:root{color-scheme:light;--page:#f6f7f3;--surface:#fff;--text:#203b3a;--muted:#687874;--border:#e2e8e1;--accent:#226451;--toggle:#eaf0e9;--banner:#eaf0e7;--shadow:0 7px 24px #173d3210;font-family:"Segoe UI", "Nirmala UI", Arial,sans-serif;font-synthesis:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text);transition:background-color .2s,color .2s}button,select{font:inherit}button{cursor:pointer}button,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #2b947d;outline-offset:5px}button{color:inherit}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:16px;background:var(--surface);padding:12px;z-index:20;color:var(--text)}.skip-link:focus{top:10px}.site-header{background:var(--surface);border-bottom:1px solid var(--border)}.header-inner{max-width:1200px;padding:13px 32px;min-height:92px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:20px;min-width:0}.brand-logo{width:146px;height:64px;background:#fff;overflow:hidden;border-radius:4px;flex-shrink:0}.brand-logo img{display:block;width:146px;height:auto;transform:translateY(-5px)}.brand-copy{padding-left:21px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:5px}.brand-copy strong{font-size:12px;letter-spacing:2.6px;font-weight:750}.brand-copy span{font-size:11px;color:var(--muted)}.header-controls{display:flex;align-items:center;gap:20px}.language-control{position:relative;display:flex;align-items:center;gap:9px}.control-divider{width:1px;height:23px;background:var(--border)}.theme-switch{display:flex;padding:4px;gap:2px;background:var(--toggle);border-radius:25px}.theme-switch button{border:0;background:transparent;width:34px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--muted);transition:.2s}.theme-switch button[aria-pressed="true"]{background:var(--surface);color:var(--accent);box-shadow:0 2px 5px #102c2812}.page-shell{max-width:1200px;margin:auto;padding:0 32px}.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr;min-height:408px;overflow:hidden;border-radius:18px;background:#102b32;color:#fff5dd;border:1px solid #21413e;box-shadow:0 10px 24px #123a3210}.hero-grain{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 78% 35%,#3a57413d,transparent 57%),radial-gradient(ellipse at 2% 100%,#25614b3d,transparent 65%),repeating-linear-gradient(90deg,transparent 0,transparent 79px,#a8c9a403 80px)}.hero-beam{position:absolute;width:330px;height:580px;top:-150px;z-index:-1;background:linear-gradient(#f9dea612,transparent);clip-path:polygon(45% 0,52% 0,100% 100%,0 100%);pointer-events:none}.beam-one{right:275px;transform:rotate(29deg)}.beam-two{right:-65px;transform:rotate(-28deg)}.hero-copy{padding:46px 0 47px 46px;position:relative;z-index:1}.hero-logo-wrap{display:flex;align-items:center;margin:12px 0 18px}.hero-hpcl-logo{max-width:320px;width:100%;height:auto;display:block;filter:drop-shadow(0 10px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(56,189,248,0.3));animation:hero-logo-pop .7s cubic-bezier(0.16,1,0.3,1);transform-origin:left center}@keyframes hero-logo-pop{from{opacity:0;transform:scale(0.92) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.hero-eyebrow{display:flex;align-items:center;gap:9px;color:#e8c77f;font-size:10px;letter-spacing:2.1px;font-weight:650}.hero-eyebrow .icon{width:15px;height:15px}.hero h1{font-size:clamp(36px,4.1vw,54px);line-height:1.13;letter-spacing:-2.2px;font-weight:650;margin:24px 0 19px}.hero h1 span{display:block}.hero h1 .gold-text{color:#f2d18b;font-family:Georgia,"Nirmala UI",serif;font-weight:400;font-style:italic;letter-spacing:-1.8px;font-size:1.05em}.hero-copy p{font-size:13px;line-height:1.9;color:#b9cac3;max-width:380px;margin:0}.hero-bottom{display:flex;align-items:center;gap:12px;margin-top:29px;font-size:11px;letter-spacing:.5px;color:#e6ddc7}.hero-rule{height:1px;width:29px;background:#c1aa74}.hero-bottom .icon{width:12px;height:12px;margin-left:3px;color:#d8b872}.hero-art{position:relative;align-self:center;margin:-8px 5px 18px -25px;min-width:0}.stage-art{display:block;width:100%;max-height:373px}.art-caption{display:flex;align-items:center;justify-content:center;gap:9px;font-size:8px;letter-spacing:2.2px;color:#b3c2ab;margin-top:-16px}.art-caption>span:first-child,.art-caption>span:last-child{height:1px;width:22px;background:#6e8170}.hero-edge{position:absolute;left:23px;right:23px;bottom:10px;display:flex;justify-content:space-between;font-size:6px;color:#edcc83;opacity:.55}.activities{padding-top:36px;scroll-margin-top:20px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-eyebrow{font-size:9px;font-weight:750;letter-spacing:1.9px;color:var(--accent);margin-bottom:8px}.section-heading h2{font-size:29px;letter-spacing:-.8px;line-height:1.3;font-weight:650;margin:0}.section-heading h2 span{color:#be9254}.section-note{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;padding-bottom:4px}.mini-star{color:#ac8751;font-size:17px}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.activity-card{--card-accent:#a35242;--card-tint:#f9ece7;--card-border:#ebd7cf;position:relative;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px 16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);min-height:207px;box-shadow:0 2px 3px #1f393103;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}.activity-card:before{content:"";position:absolute;top:0;right:0;width:130px;height:120px;background:radial-gradient(ellipse at 100% 0,var(--card-tint),transparent 70%);opacity:.7;pointer-events:none}.activity-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--card-border)}.activity-card:active{transform:translateY(-1px)}.card-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:15px}.card-icon{display:grid;place-items:center;background:var(--card-tint);color:var(--card-accent);width:45px;height:45px;border-radius:12px;border:1px solid var(--card-border)}.card-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.card-number{font-size:12px;letter-spacing:1px;font-family:Georgia,serif;font-style:italic;color:var(--muted);opacity:.7;position:relative}.card-title{font-weight:650;font-size:20px;letter-spacing:-.4px;margin-bottom:7px}.card-description{font-size:11.5px;line-height:1.7;color:var(--muted);margin-bottom:19px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);width:100%;padding-top:12px;margin-top:auto;gap:8px}.card-tag{font-size:8px;letter-spacing:1.4px;font-weight:700;color:var(--card-accent)}.card-spark{color:var(--card-accent);font-size:16px;line-height:1}.gold{--card-accent:#92702e;--card-tint:#fcf3df;--card-border:#efdfb7}.lavender{--card-accent:#7664a8;--card-tint:#efebfa;--card-border:#ddd5ef}.mint{--card-accent:#377c65;--card-tint:#e8f3eb;--card-border:#cde4d7}.blue{--card-accent:#4b7d9f;--card-tint:#e9f2f8;--card-border:#d3e3ee}.rose{--card-accent:#a45e7c;--card-tint:#faedf2;--card-border:#eed6e0}.together-banner{display:flex;align-items:center;gap:20px;margin-top:27px;padding:23px 27px;background:var(--banner);border:1px solid var(--border);border-radius:12px}.banner-mark{width:43px;height:43px;flex-shrink:0;position:relative;display:grid;place-items:center;color:var(--accent);font:italic 51px/1 Georgia,serif}.banner-mark span{position:absolute;right:-3px;top:-3px;font-size:20px;color:#b99353}.together-banner strong{font-size:14px;font-weight:650}.together-banner p{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.6}.banner-stars{margin-left:auto;flex-shrink:0;font-size:28px;letter-spacing:9px;color:#92a893}footer{display:flex;align-items:center;gap:18px;padding:27px 0 29px;font-size:10px;color:var(--muted)}.footer-brand{font-weight:650;color:var(--text)}.footer-message{display:flex;gap:12px;align-items:center;margin-left:auto}.footer-star{color:#aa915b}.install-button{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:6px;padding:7px 9px;background:var(--surface);font-size:11px}.install-button[hidden]{display:none}.install-button .icon{width:14px;height:14px}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);max-width:calc(100% - 32px);width:max-content;background:var(--text);color:var(--page);border:1px solid var(--border);padding:14px 21px;border-radius:12px;font-size:13px;box-shadow:0 8px 32px #0002;z-index:10;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;line-height:1.6;text-align:center;pointer-events:none}.toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.noscript{text-align:center;padding:20px;background:#fff1ca;color:#3c3424}
[data-theme="dark"]{color-scheme:dark;--page:#0d1c23;--surface:#152830;--text:#e8ece3;--muted:#a3b5b4;--border:#2a3d43;--accent:#9ecfb9;--toggle:#0e2027;--banner:#1b3032;--shadow:0 7px 24px #0003}[data-theme="dark"] .hero{background:#102a31;border-color:#3b5048}[data-theme="dark"] .brand-logo{box-shadow:0 0 0 4px #fff}[data-theme="dark"] .activity-card{--card-accent:#e8ab96;--card-tint:#3b3030;--card-border:#59433c}[data-theme="dark"] .gold{--card-accent:#e5c17b;--card-tint:#39352a;--card-border:#554b34}[data-theme="dark"] .lavender{--card-accent:#bca9ed;--card-tint:#2e2c42;--card-border:#49415e}[data-theme="dark"] .mint{--card-accent:#9acfb5;--card-tint:#233c36;--card-border:#37564a}[data-theme="dark"] .blue{--card-accent:#9cc9e5;--card-tint:#253945;--card-border:#3b5364}[data-theme="dark"] .rose{--card-accent:#e0a5bf;--card-tint:#3c2d3a;--card-border:#594151}
html[lang="te"] .hero h1,html[lang="hi"] .hero h1{font-size:40px;letter-spacing:0;line-height:1.5}html[lang="te"] .hero h1 .gold-text,html[lang="hi"] .hero h1 .gold-text{font-family:"Nirmala UI","Segoe UI",sans-serif;font-size:1em;font-style:normal;letter-spacing:0}html[lang="te"] .card-tag,html[lang="hi"] .card-tag{font-size:10px;letter-spacing:.2px}html[lang="te"] .hero-eyebrow,html[lang="hi"] .hero-eyebrow{letter-spacing:.6px;line-height:1.8}html[lang="te"] .card-title,html[lang="hi"] .card-title{line-height:1.7;letter-spacing:0}html[lang="te"] .section-eyebrow,html[lang="hi"] .section-eyebrow{letter-spacing:.5px;line-height:1.8}
@media(min-width:1400px){.header-inner,.page-shell{max-width:1240px}.hero{min-height:422px}.hero-copy{padding-top:51px}.activity-card{min-height:216px}}
@media(max-width:900px){.hero-copy{padding:36px 0 39px 30px}.hero h1{font-size:40px}.hero{min-height:365px}.hero-art{margin-left:-17px;margin-right:-19px}.hero-copy p{font-size:12px}.hero-bottom{font-size:10px}.art-caption{font-size:6px;letter-spacing:1.5px}.activity-card{padding:20px 18px 15px}.card-description{font-size:11px}.card-title{font-size:19px}.card-tag{font-size:7px;letter-spacing:1px}.section-note{font-size:10px}html[lang="te"] .hero h1,html[lang="hi"] .hero h1{font-size:32px}}
@media(max-width:700px){.hero-logo-wrap{justify-content:center;margin:10px auto 16px}.hero-hpcl-logo{max-width:260px;transform-origin:center}.header-inner{padding:12px 22px;min-height:84px}.brand-logo{width:120px;height:54px}.brand-logo img{width:120px;transform:translateY(-3px)}.brand-copy{padding-left:13px}.brand{gap:13px}.brand-copy span{display:none}.brand-copy strong{font-size:10px;letter-spacing:1.6px}.header-controls{gap:11px}.control-divider{display:none}.language-control{gap:5px}.language-control .icon{width:16px}.theme-switch button{width:30px;height:30px}.theme-switch{padding:3px}.page-shell{padding:0 22px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:34px 30px 0}.hero h1{font-size:47px;margin:22px 0 15px}.hero-copy p{max-width:none}.hero-bottom{margin-top:21px}.hero-art{width:82%;max-width:360px;margin:-8px auto 31px}.stage-art{max-height:265px}.art-caption{font-size:7px;letter-spacing:1.6px;margin-top:-7px}.beam-one{right:130px}.beam-two{right:-130px}.activities{padding-top:30px}.section-heading{margin-bottom:19px}.section-heading h2{font-size:26px}.section-note{display:none}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.activity-card{padding:18px 16px 14px;min-height:215px}.card-top{margin-bottom:13px}.card-title{font-size:19px}.card-description{font-size:11px;margin-bottom:16px}.card-tag{font-size:7px;letter-spacing:.8px}.together-banner{padding:20px 17px;gap:15px;margin-top:22px}.together-banner strong{font-size:13px}.together-banner p{font-size:10px}.banner-stars{display:none}footer{flex-wrap:wrap;justify-content:space-between;padding:22px 0 25px;gap:10px}.footer-message{font-size:9px}.footer-star{display:none}html[lang="te"] .hero h1,html[lang="hi"] .hero h1{font-size:37px}}
@media(max-width:440px){.hero-hpcl-logo{max-width:210px}.header-inner{padding:12px 17px;gap:10px}.brand-copy{display:none}.header-controls{gap:9px}.page-shell{padding:0 17px}.hero-copy{padding:29px 23px 0}.hero-eyebrow{font-size:8px;letter-spacing:1.7px}.hero h1{font-size:39px;letter-spacing:-1.6px}.hero h1 .gold-text{letter-spacing:-1.3px}.hero-copy p{font-size:11.5px;line-height:1.9}.hero-art{width:91%;margin-top:-3px;margin-bottom:29px}.stage-art{max-height:245px}.hero-bottom{font-size:10px;gap:9px}.section-heading h2{font-size:25px}.section-eyebrow{font-size:8px;letter-spacing:1.4px}.activity-card{padding:16px 13px 13px;min-height:216px}.card-title{font-size:18px}.card-icon{width:41px;height:41px;border-radius:11px}.card-icon svg{width:25px;height:25px}.card-number{font-size:11px}.card-description{font-size:10.5px}.card-tag{font-size:6.5px;letter-spacing:.55px}.card-spark{font-size:13px}.card-bottom{gap:5px}.footer-message{margin-left:0;font-size:9px}.banner-mark{width:34px;font-size:43px}html[lang="te"] .hero h1,html[lang="hi"] .hero h1{font-size:30px}html[lang="te"] .card-title,html[lang="hi"] .card-title{font-size:17px}html[lang="te"] .card-tag,html[lang="hi"] .card-tag{font-size:8px}}
.hero-copy p{white-space:pre-line}

/* Activity pages share their palette with the corresponding home card. */
[hidden]{display:none!important}
.activity-card{text-decoration:none}
#main-content:focus,#page-title:focus{outline:none}
.section-page{--tile-start:#ff936c;--tile-end:#ffc391;--tile-ink:#662817;min-height:calc(100svh - 200px)}
.page-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 24px}
.back-link{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:13px;font-weight:650;min-height:44px}
.back-link>span:first-child{font-size:22px;transition:transform .2s}
.back-link:hover>span:first-child{transform:translateX(-4px)}
.page-nav-label{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted);text-align:right}
.coming-stage{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;min-height:530px;padding:54px 48px 92px;border-radius:24px;border:1px solid #ffffff6b;background:linear-gradient(125deg,var(--tile-start),var(--tile-end));color:var(--tile-ink);box-shadow:0 6px 0 color-mix(in srgb,var(--tile-start),#351651 20%),0 20px 40px #54256312;animation:copy-arrive .5s ease-out}
.coming-stage::before{content:"";position:absolute;right:-170px;top:-200px;width:680px;height:680px;border:80px solid #ffffff20;border-radius:50%;z-index:-1}
.coming-stage::after{content:"";position:absolute;left:16px;top:16px;right:16px;bottom:16px;border:1px solid #ffffff5c;border-radius:14px;z-index:-1}
.coming-copy{position:relative;z-index:1}
.coming-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;background:var(--tile-ink);color:var(--tile-end);border-radius:7px;font-size:10px;font-weight:750;letter-spacing:1.6px;transform:rotate(-2deg);box-shadow:3px 4px 0 #ffffff45}
.coming-copy h1{font-size:clamp(36px,4.3vw,57px);font-weight:850;line-height:1.1;letter-spacing:-2px;margin:28px 0 15px}
.coming-copy h2{font-size:26px;line-height:1.3;font-weight:750;letter-spacing:-.7px;max-width:440px;margin:0 0 17px}
.coming-copy p{max-width:435px;line-height:1.9;font-size:14px;margin:0;opacity:.88}
.home-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:48px;margin-top:28px;padding:13px 20px;text-decoration:none;border-radius:11px;background:var(--tile-ink);color:var(--tile-end);font-size:13px;font-weight:700;box-shadow:0 4px 0 #ffffff50;transition:transform .2s,box-shadow .2s}
.home-cta:hover{transform:translateY(-3px);box-shadow:0 7px 0 #ffffff50}
.home-cta:active{transform:translateY(1px)}
.home-cta>span:last-child{font-size:20px}
.coming-art{position:relative;min-width:0;display:grid;place-items:center;min-height:310px;margin-left:25px}
.coming-orbit{position:absolute;width:310px;height:310px;border-radius:50%;border:1px dashed color-mix(in srgb,var(--tile-ink),transparent 67%);animation:star-turn 50s linear infinite}
.coming-ticket{width:230px;padding:22px;background:#fff8;border:1px solid #fffc;border-radius:17px;box-shadow:10px 14px 0 color-mix(in srgb,var(--tile-ink),transparent 87%),0 20px 40px #54256312;transform:rotate(8deg);animation:ticket-float 5s ease-in-out infinite}
.ticket-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:8px;letter-spacing:1.5px;font-weight:750;line-height:1.8;border-bottom:1px dashed color-mix(in srgb,var(--tile-ink),transparent 60%);padding-bottom:15px}
.coming-icon{display:block;width:125px;height:125px;margin:25px auto;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(3px 5px 0 #fff8)}
.ticket-bottom{border-top:1px dashed color-mix(in srgb,var(--tile-ink),transparent 60%);padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:850;letter-spacing:1px}
.ticket-bars{height:23px;width:43px;background:repeating-linear-gradient(90deg,var(--tile-ink) 0 2px,transparent 2px 5px,var(--tile-ink) 5px 6px,transparent 6px 9px);flex-shrink:0;opacity:.65}
.coming-star{position:absolute;z-index:1;font-size:38px;color:var(--tile-ink);animation:banner-sway 5s ease-in-out infinite}
.star-a{left:10px;top:40px}.star-b{right:8px;bottom:35px;font-size:28px}.star-c{right:30px;top:0;color:#fff;font-size:60px}
.coming-stage-foot{position:absolute;left:35px;right:35px;bottom:30px;display:flex;justify-content:space-between;gap:20px;padding-top:19px;border-top:1px solid color-mix(in srgb,var(--tile-ink),transparent 80%);font-size:9px;line-height:1.7;font-weight:700;letter-spacing:1.6px}
.coming-stage-foot>span:last-child{white-space:nowrap;letter-spacing:7px}
.page-teaser{display:flex;align-items:center;justify-content:center;gap:12px;padding:32px 20px 18px;font-size:13px;line-height:1.7;color:var(--muted);text-align:center}
.page-teaser .icon{color:var(--tile-start);fill:var(--tile-start);stroke:none}
html[lang="te"] .coming-copy h1,html[lang="hi"] .coming-copy h1{letter-spacing:0;line-height:1.5;font-size:43px}
html[lang="te"] .coming-copy h2,html[lang="hi"] .coming-copy h2{letter-spacing:0;line-height:1.6;font-size:23px}
@keyframes ticket-float{0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(-10px) rotate(5deg)}}
@media(max-width:900px){.coming-stage{padding:38px 32px 88px;grid-template-columns:1.2fr 1fr}.coming-ticket{width:195px;padding:17px}.coming-orbit{width:255px;height:255px}.coming-art{margin-left:10px}.coming-copy h1{font-size:41px}.coming-copy h2{font-size:23px}.coming-copy p{font-size:13px}.coming-icon{width:100px;height:100px}.star-a{left:0}.star-c{right:0}}
@media(max-width:700px){.page-nav{margin:0 0 16px}.page-nav-label{display:none}.coming-stage{grid-template-columns:1fr;padding:33px 25px 90px;gap:30px}.coming-copy h1{font-size:43px;margin-top:25px}.coming-copy h2{font-size:25px}.coming-copy p{font-size:13px}.coming-art{margin:0 auto;width:100%;max-width:290px;min-height:265px}.coming-ticket{width:200px}.coming-orbit{width:265px;height:265px}.coming-stage-foot{left:25px;right:25px;font-size:8px;letter-spacing:1px;bottom:25px;gap:12px}.coming-stage-foot>span:last-child{letter-spacing:2px}.page-teaser{font-size:12px;padding:29px 5px 10px}.coming-icon{width:105px;height:105px}.coming-copy .home-cta{margin-top:23px}html[lang="te"] .coming-copy h1,html[lang="hi"] .coming-copy h1{font-size:34px}html[lang="te"] .coming-copy h2,html[lang="hi"] .coming-copy h2{font-size:21px}}
@media(max-width:355px){.coming-stage{padding-left:21px;padding-right:21px}.coming-copy h1{font-size:36px}.coming-copy h2{font-size:22px}.coming-orbit{width:230px;height:230px}.coming-stage-foot>span:last-child{display:none}.home-cta{gap:15px;font-size:12px}.ticket-top{font-size:7px}}

/* Four game posters: placeholder names stay editable until games are defined. */
.is-games .coming-stage{min-height:0;display:block;padding:32px 38px 34px}
.is-games .coming-copy h1{font-size:43px;margin:0 0 10px}
.is-games .coming-copy h2{font-size:25px;max-width:none;margin-bottom:12px}
.is-games .coming-copy p{max-width:660px;font-size:13px}
.is-games .coming-badge,.is-games .coming-art,.is-games .home-cta,.is-games .coming-stage-foot{display:none}
.game-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-top:32px}
.game-gallery .sample-category{grid-column:1/-1}
.sample-category{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px;border:1px solid #358b86;border-left:4px solid #67dfc7;border-radius:16px;background:linear-gradient(115deg,#173d40,#112b35);color:#f1fffc;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.sample-category:hover{border-color:#8cf4dd;box-shadow:0 8px 24px #0003}
.sample-category:focus-visible{outline:3px solid #67dfc7;outline-offset:4px}
.sample-category-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;color:#9de8d8;font-size:10px;font-weight:750;letter-spacing:1.6px}
.sample-category-count{padding:5px 9px;border:1px solid #8ddfc74d;border-radius:20px;font-size:11px;letter-spacing:0;white-space:nowrap}
.sample-category-title{font-size:clamp(20px,3vw,27px);line-height:1.25;font-weight:800;letter-spacing:-.4px}
.sample-category-description{max-width:480px;color:#b9d6d3;font-size:13px;line-height:1.65}
.sample-category-action{display:flex;align-items:center;gap:24px;margin-top:4px;padding:11px 16px;border-radius:8px;background:#a0f0d7;color:#123b35;font-size:13px;font-weight:750}
.sample-category-action>span{font-size:20px;line-height:1}
#section-view.is-games .coming-stage{padding:4px 0 24px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;box-shadow:none;color:var(--text);animation:none}
#section-view.is-games .coming-stage::before,#section-view.is-games .coming-stage::after{display:none}
#section-view.is-games .coming-copy h1{font-size:clamp(28px,4vw,40px);line-height:1.15;letter-spacing:-1px;margin:0 0 12px}
#section-view.is-games .coming-copy h2{font-size:17px;font-weight:500;letter-spacing:0;margin:0;color:var(--muted)}
#section-view.is-games .coming-copy h2:empty{display:none}
#section-view.is-games .coming-copy p{display:none}
.sample-preparation-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,280px));gap:24px;margin-top:32px}
.sample-preparation-gallery[hidden]{display:none}
@media(max-width:600px){.sample-preparation-gallery{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}}
.game-poster{position:relative;isolation:isolate;border-radius:20px;background:transparent;color:#fff;border:none;box-shadow:none;transition:transform .3s;text-decoration:none;display:block}
.poster-card-wrap{position:relative;width:100%;aspect-ratio:507/685;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,0.35);transition:transform .3s cubic-bezier(0.16,1,0.3,1),box-shadow .3s ease}
.poster-card-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center bottom;border-radius:20px}
/* Keep the complete artwork visible inside each card. */
.poster-one .poster-card-image,.poster-four .poster-card-image,.poster-prep-one .poster-card-image,.poster-prep-two .poster-card-image{object-fit:fill}
.game-poster img.poster-card-image{height:100%;object-fit:contain;object-position:center;transform:none;border-radius:20px}
.playable-poster{cursor:pointer}
.playable-poster .poster-card-wrap:hover{transform:translateY(-8px) scale(1.02)}
.poster-one .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(168,85,247,0.45)}
.poster-two .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(56,189,248,0.5)}
.poster-three .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(52,211,153,0.5)}
.poster-four .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(244,63,94,0.45)}
.poster-prep-one .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(249,115,22,0.5)}
.poster-prep-two .poster-card-wrap:hover{box-shadow:0 16px 36px rgba(234,179,8,0.5)}
.poster-footer-bar{position:absolute;bottom:0;left:18px;right:18px;height:12%;display:flex;align-items:center;gap:8px;line-height:1;font-size:clamp(9px,1.1vw,11px);font-weight:750;letter-spacing:1.5px;color:#94a3b8;z-index:2;text-transform:uppercase}
.poster-footer-bar.playable{color:#fff}
.poster-two .poster-footer-bar.playable{color:#38bdf8}
.poster-three .poster-footer-bar.playable{color:#34d399}
.poster-prep-one .poster-footer-bar.playable{color:#fb923c}
.poster-prep-two .poster-footer-bar.playable{color:#fde047}
.poster-footer-bar .poster-status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor;flex-shrink:0}
.poster-play-arrow{margin-left:auto;font-size:15px;font-weight:700;transition:transform .2s ease}
.playable-poster:hover .poster-play-arrow{transform:translate(3px,-3px)}
@media(max-width:1000px){.game-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}}
@media(max-width:700px){.is-games .coming-stage{padding:27px 25px}.is-games .coming-copy h1{font-size:36px}.is-games .coming-copy h2{font-size:22px}.game-gallery{gap:16px 13px;margin-top:26px}.poster-footer-bar{left:12px;right:12px;font-size:9px}}

/* Cinema-night palette and motion. Everything stays local and lightweight. */
:root{--page:#f8f4ff;--surface:#fff;--text:#292047;--muted:#706482;--border:#e9def6;--accent:#7938c8;--toggle:#f0e8fb;--banner:#efe1ff;--shadow:0 14px 32px #7338c825}
[data-theme="dark"]{--page:#100d25;--surface:#1b1537;--text:#faf4ff;--muted:#bdb1d5;--border:#3b2d59;--accent:#ceacff;--toggle:#100d25;--banner:#2c1947;--shadow:0 14px 32px #0004}
body{background-image:radial-gradient(ellipse at 0 16%,#d77fff18,transparent 43%),radial-gradient(ellipse at 100% 53%,#ffa74618,transparent 40%)}
.site-header{position:relative;z-index:5;border-bottom:0;box-shadow:0 2px 18px #582b8310}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#ff6b51,#ffcb44,#ed4aa7,#7b51eb,#36bfd4)}
.page-shell{padding-top:30px}
.brand-copy strong{color:var(--accent)}
.language-control{position:relative;display:block;flex-shrink:0}
.language-trigger{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--toggle);color:var(--text);font-size:13px;font-weight:650;transition:background .2s,border-color .2s}
.language-trigger:hover,.language-trigger[aria-expanded="true"]{border-color:var(--accent)}
.language-chevron{width:14px;height:14px;flex-shrink:0;transition:transform .2s}
.language-trigger[aria-expanded="true"] .language-chevron{transform:rotate(180deg)}
.language-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:190px;padding:7px;background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:0 12px 40px #27124430;z-index:100;touch-action:manipulation;animation:menu-in .18s ease-out;transform-origin:top right}
.language-menu[hidden]{display:none}
.language-menu button{display:flex;align-items:center;gap:12px;min-height:46px;width:100%;padding:9px 11px;border:0;border-radius:9px;background:transparent;text-align:left;font-size:14px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.language-menu button:hover,.language-menu button:focus-visible,.language-menu button[aria-checked="true"]{background:var(--toggle);color:var(--accent)}
.language-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.language-code{font-size:9px;font-weight:750;letter-spacing:1px;color:var(--muted);min-width:20px}
.language-check{margin-left:auto;visibility:hidden;font-weight:750}
[aria-checked="true"] .language-check{visibility:visible}
.theme-switch button{width:40px;height:38px}
button:focus-visible,a:focus-visible{outline-color:#a35cee}
.hero,[data-theme="dark"] .hero{background:linear-gradient(115deg,#351773 0%,#542bb1 50%,#342699 100%);border:1px solid #a272df;border-radius:23px;box-shadow:0 12px 38px #7139bd27;min-height:420px}
.hero::after{content:"";position:absolute;inset:10px;border:1px solid #e8c9ff24;border-radius:15px;pointer-events:none}
.hero-grain{background:radial-gradient(ellipse at 98% 5%,#ff62b05c,transparent 53%),radial-gradient(ellipse at 65% 100%,#7588ff6b,transparent 58%),repeating-linear-gradient(-40deg,transparent 0,transparent 35px,#ffffff03 36px,#ffffff03 38px)}
.hero-beam{top:-200px;width:370px;height:720px;background:linear-gradient(#ffe7ac65,#ffd77705);transform-origin:50% 0;animation:spotlight-left 9s ease-in-out infinite alternate;will-change:transform}
.beam-two{background:linear-gradient(#ff97e76b,#fc83d205);animation-name:spotlight-right;animation-delay:-3s}
.hero-copy{padding-top:45px;padding-bottom:52px}
.hero-eyebrow{width:fit-content;background:#ffc83d;color:#40246a;border-radius:7px;padding:9px 13px;font-size:10px;letter-spacing:1.7px;box-shadow:4px 4px 0 #18053d40;transform:rotate(-2deg)}
.hero-eyebrow .icon{fill:currentColor;stroke:none}
.hero h1{font-size:clamp(40px,4.6vw,61px);font-weight:800;letter-spacing:-2.6px;line-height:1.08;margin-top:27px;color:#fff9ff;text-shadow:0 4px 0 #25105730}
.hero h1 .gold-text{font-family:"Segoe UI","Nirmala UI",sans-serif;font-weight:800;font-style:italic;color:#ffdc5e;font-size:.97em;letter-spacing:-2.5px;text-shadow:0 4px 0 #4b2676}
.hero-copy p{color:#eee1ff;font-size:13px}
.hero-bottom{color:#fff1c5;font-weight:600;letter-spacing:.6px}
.hero-rule{background:#ffc940;width:34px;height:2px}
.hero-bottom .icon{color:#ffda62}
.hero-art{isolation:isolate}
.hero-art::before{content:"";position:absolute;inset:8% 5% 4%;border-radius:50%;background:radial-gradient(ellipse,#eeb8ff45,transparent 67%);z-index:-1}
.stage-art{filter:drop-shadow(0 13px 15px #170a4940);animation:trophy-float 5.5s ease-in-out infinite;will-change:transform}
.art-caption{color:#f6d9ff;font-weight:650}
.art-caption>span:first-child,.art-caption>span:last-child{background:#d0a1f7}
.hero::after{border:0}
.hero-edge{--led-duration:1.8s;position:absolute;inset:0;width:100%;height:100%;display:block;opacity:1;z-index:2;pointer-events:none}
.led-track{stroke:#ffe4a02b;stroke-width:1}
.led-bulb{fill:#fffceb;stroke:#ffd34d;stroke-width:1.2;opacity:.08;filter:drop-shadow(0 0 4px #ffe273) drop-shadow(0 0 7px #ffbd27);animation:led-chase var(--led-duration) linear infinite;animation-delay:calc(var(--led-phase) * var(--led-duration))}
.lights-toggle{position:absolute;right:27px;bottom:27px;z-index:3;width:32px;height:32px;display:grid;place-items:center;border:1px solid #f6ddff55;border-radius:50%;background:#27104c8c;color:#fff1c7}
.lights-toggle:hover{background:#27104cd9}
.lights-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.play-symbol{display:none}
.hero[data-lights-paused="true"] .led-bulb{animation-play-state:paused!important}
.hero[data-lights-paused="true"] .pause-symbol{display:none}
.hero[data-lights-paused="true"] .play-symbol{display:block}
.hero-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.hero-confetti i{position:absolute;left:55%;top:10%;width:6px;height:13px;background:#ffd34d;border-radius:1px;animation:confetti-drift 7s ease-in-out infinite alternate;opacity:.7}
.hero-confetti i:nth-child(2){left:91%;top:66%;background:#ff7fc7;animation-delay:-3s;transform:rotate(33deg)}
.hero-confetti i:nth-child(3){left:44%;top:84%;background:#8cf8e1;animation-delay:-6s;width:10px;height:5px}
.hero-confetti i:nth-child(4){left:77%;top:16%;background:#ff8aba;animation-delay:-2s}
.hero-confetti i:nth-child(5){left:7%;top:88%;background:#c0a0ff;animation-delay:-4s;width:9px;height:5px}
.hero-confetti i:nth-child(6){left:95%;top:10%;background:#a9fbe4;animation-delay:-1s;width:7px;height:7px;border-radius:50%}
.hero-confetti i:nth-child(7){left:62%;top:78%;background:#ff8cb7;animation-delay:-5s}
.hero-confetti i:nth-child(8){left:34%;top:8%;background:#8ef8e7;animation-delay:-3.5s;width:5px;height:5px;border-radius:50%}
.hero-confetti i:nth-child(9){left:87%;top:43%;animation-delay:-1.5s;width:10px;height:4px}
.hero-confetti i:nth-child(10){left:4%;top:51%;background:#ff94c5;animation-delay:-2.5s;width:4px;height:4px;border-radius:50%}
.hero-confetti i:nth-child(11){left:54%;top:45%;background:#bcabff;animation-delay:-4.5s;width:5px;height:5px}
.hero-confetti i:nth-child(12){left:24%;top:91%;background:#ffe99d;animation-delay:-5.5s;width:4px;height:4px;border-radius:50%}
.section-eyebrow{color:var(--accent);font-size:10px;letter-spacing:1.7px}
.section-heading h2{font-weight:800;letter-spacing:-1px;font-size:31px}
.mini-star{color:#e65daa;display:inline-block;animation:star-turn 12s linear infinite}
.activity-grid{gap:19px}
.activity-card,[data-theme="dark"] .activity-card{--tile-start:#ff936c;--tile-end:#ffc391;--tile-ink:#662817;background:linear-gradient(125deg,var(--tile-start),var(--tile-end));border:1px solid #ffffff50;border-radius:18px;color:var(--tile-ink);box-shadow:0 4px 0 color-mix(in srgb,var(--tile-start),#351651 20%),0 7px 14px #4322690c;min-height:217px;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s;animation:card-arrive .65s cubic-bezier(.2,.8,.2,1) backwards}
.gold,[data-theme="dark"] .gold{--tile-start:#ffcc43;--tile-end:#ffe78a;--tile-ink:#65430c;animation-delay:.07s}
.lavender,[data-theme="dark"] .lavender{--tile-start:#a88cff;--tile-end:#d6b9ff;--tile-ink:#392467;animation-delay:.14s}
.mint,[data-theme="dark"] .mint{--tile-start:#4cddba;--tile-end:#a3f3cb;--tile-ink:#125440;animation-delay:.21s}
.blue,[data-theme="dark"] .blue{--tile-start:#66c4ff;--tile-end:#a9e7ff;--tile-ink:#164868;animation-delay:.28s}
.rose,[data-theme="dark"] .rose{--tile-start:#ff91c2;--tile-end:#ffc3d9;--tile-ink:#76234b;animation-delay:.35s}
.activity-card::before{width:160px;height:160px;top:-65px;right:-40px;border:24px solid #ffffff26;border-radius:50%;background:transparent;opacity:1;transition:transform .4s}
.activity-card::after{content:"";position:absolute;right:22px;top:68px;width:9px;height:9px;background:#ffffff50;transform:rotate(25deg);border-radius:2px;pointer-events:none}
.activity-card:hover{transform:translateY(-6px) rotate(-.5deg);border-color:#ffffff70;box-shadow:0 7px 0 color-mix(in srgb,var(--tile-start),#351651 20%),0 15px 28px #55287e27}
.activity-card:hover::before{transform:scale(1.15) rotate(15deg)}
.activity-card:active{transform:translateY(2px) scale(.99);box-shadow:0 1px 0 color-mix(in srgb,var(--tile-start),#351651 20%)}
.card-icon{background:#fff8;border:1px solid #fff7;color:var(--tile-ink);box-shadow:0 3px 0 #ffffff30;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.activity-card:hover .card-icon{transform:rotate(-10deg) scale(1.09)}
.card-title{font-size:22px;font-weight:800;position:relative}
.card-description{color:var(--tile-ink);font-size:12px;opacity:.9}
.card-number{font:800 24px/1 "Segoe UI",sans-serif;color:var(--tile-ink);opacity:.27;letter-spacing:-1px}
.card-bottom{border-color:color-mix(in srgb,var(--tile-ink),transparent 83%)}
.card-tag,.card-spark{color:var(--tile-ink)}
.card-spark{transition:transform .5s}
.activity-card:hover .card-spark{transform:rotate(90deg) scale(1.25)}
.together-banner{background:linear-gradient(110deg,#ecd8ff,#ffe1ee 70%,#ffedd1);border:1px solid #ebcafa;border-radius:16px}
.banner-mark{color:#8040b9}.banner-mark span{color:#e75c9c}.banner-stars{color:#b575d5}
[data-theme="dark"] .together-banner{background:linear-gradient(110deg,#302052,#462144 70%,#48302b);border-color:#543363}
[data-theme="dark"] .banner-mark{color:#d2a5ff}
.together-banner strong{font-size:15px;font-weight:750}
.banner-stars{animation:banner-sway 5s ease-in-out infinite}
.hero-copy>h1,.hero-copy>p,.hero-bottom{animation:copy-arrive .75s ease-out backwards}
.hero-copy>p{animation-delay:.1s}.hero-bottom{animation-delay:.2s}
@keyframes menu-in{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes spotlight-left{from{transform:rotate(12deg);opacity:.6}to{transform:rotate(38deg);opacity:1}}
@keyframes spotlight-right{from{transform:rotate(-40deg);opacity:.9}to{transform:rotate(-12deg);opacity:.55}}
@keyframes trophy-float{0%,100%{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}
@keyframes led-chase{0%,22%,100%{opacity:1}36%,86%{opacity:.08}}
@keyframes confetti-drift{from{transform:translate3d(0,-9px,0) rotate(-20deg)}to{transform:translate3d(10px,15px,0) rotate(65deg)}}
@keyframes star-turn{to{transform:rotate(360deg)}}
@keyframes card-arrive{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes copy-arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@keyframes banner-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@media(max-width:900px){.hero h1{font-size:43px}.hero-copy{padding-top:37px}.hero-copy p{font-size:12px}.card-title{font-size:20px}.card-description{font-size:11.5px}.activity-grid{gap:16px}}
@media(max-width:700px){.page-shell{padding-top:23px}.brand-copy{display:none}.header-controls{gap:10px}.hero,[data-theme="dark"] .hero{min-height:0}.hero h1{font-size:48px}.hero-copy{padding:34px 30px 0}.hero-copy p{font-size:12px}.hero-art{margin-top:7px;margin-bottom:40px}.activity-grid{gap:16px 13px}.activity-card{min-height:223px}.card-title{font-size:20px}.card-description{font-size:11.5px}.section-heading h2{font-size:28px}.together-banner strong{font-size:14px}.theme-switch button{width:36px;height:36px}.language-trigger{padding:10px;gap:7px;font-size:12px}.language-trigger .icon{width:17px}}
@media(max-width:440px){.header-inner{padding:12px 15px}.brand-logo{width:109px;height:51px}.brand-logo img{width:109px;transform:translateY(0)}.header-controls{gap:7px}.language-trigger{padding:10px 8px;gap:6px}.language-trigger .icon{width:15px}.theme-switch button{width:32px;height:36px}.theme-switch{padding:3px}.hero-copy{padding:31px 23px 0}.hero h1{font-size:40px;letter-spacing:-1.9px}.hero h1 .gold-text{letter-spacing:-1.8px}.hero-eyebrow{font-size:8px;letter-spacing:1.2px;padding:8px 10px}.hero-copy p{font-size:11.5px}.hero-art{margin-top:10px}.card-title{font-size:18px}.card-description{font-size:11px}.card-number{font-size:21px}.section-heading h2{font-size:26px}.section-eyebrow{font-size:8px}.activity-card{border-radius:15px;min-height:220px}.together-banner strong{font-size:13px}}
@media(max-width:355px){.header-inner{padding-left:12px;padding-right:12px;gap:6px}.brand-logo{width:95px;height:46px}.brand-logo img{width:95px}.header-controls{gap:5px}.language-trigger{gap:5px;padding:10px 7px}.language-trigger .icon{display:none}.theme-switch button{width:30px}.hero h1{font-size:34px}.card-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){
  *:not(#tm-grid, #tm-grid *, .card, .card *, .card-container, .card-face),
  *:not(#tm-grid, #tm-grid *, .card, .card *, .card-container, .card-face)::before,
  *:not(#tm-grid, #tm-grid *, .card, .card *, .card-container, .card-face)::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  #tm-grid .card-container,
  .card-container {
    transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.15) !important;
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.15) !important;
  }
}
/* The requested LEDs use a slower brightness-only chase in reduced-motion mode.
   Their pause button is independent; all other decorative motion stays disabled. */
@media(prefers-reduced-motion:reduce){.hero-edge{--led-duration:3.6s}.led-bulb{animation:led-chase var(--led-duration) linear infinite!important;animation-delay:calc(var(--led-phase) * var(--led-duration))!important}}

/* Tile Match (Game 3) - Inspired by CodePen 3D Flip Card Matching Game */
.playable-poster {
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.poster-play-arrow {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.playable-poster:hover .poster-play-arrow {
  transform: translate(3px, -3px);
}

.tm-view {
  min-height: calc(100svh - 200px);
  margin-bottom: 30px;
  animation: copy-arrive 0.4s ease-out;
  position: relative;
}
.tm-edition {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: var(--muted);
  text-transform: uppercase;
}

.tm-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at 85% 12%, rgba(139, 92, 246, 0.26) 0%, transparent 55%),
              radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 50% 45%, rgba(30, 27, 75, 0.5) 0%, transparent 90%),
              linear-gradient(160deg, #121630 0%, #1a224a 45%, #0f1329 100%);
  border: 1px solid rgba(167, 139, 250, 0.32);
  box-shadow: 0 24px 60px -15px rgba(5, 7, 18, 0.7),
              0 0 35px rgba(124, 58, 237, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #E4D9FF;
  padding: 34px 38px 42px;
}
.tm-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(228, 217, 255, 0.06);
  border-radius: 20px;
  pointer-events: none;
}

/* Header & Eyebrow */
.header.tm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.tm-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.tm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #c4b5fd;
  text-transform: uppercase;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.kicker-spark {
  font-size: 11px;
  filter: drop-shadow(0 0 4px #a78bfa);
}
#tm-title {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 15%, #e0e7ff 65%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(99, 102, 241, 0.45));
}
#tm-title:focus {
  outline: none;
}
.tm-header-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.25), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.tm-header-icon {
  width: 22px;
  height: 22px;
  fill: #c4b5fd;
  color: #c4b5fd;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8));
  animation: spark-pulse 3s infinite ease-in-out;
}
@keyframes spark-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.12) rotate(15deg); opacity: 1; }
}

/* Intro Screen Container */
.tm-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  animation: copy-arrive 0.4s ease-out;
}

/* Centerpiece: Interactive Showcase */
.tm-intro-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 26px;
  padding: 10px 0;
  max-width: 420px;
}
.tm-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 2;
  perspective: 900px;
}

/* Showcase Mini Cards */
.tm-showcase-card {
  position: relative;
  width: 116px;
  border-radius: 16px;
  padding: 14px 10px 12px;
  background: linear-gradient(155deg, rgba(28, 36, 68, 0.9) 0%, rgba(15, 20, 42, 0.96) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tm-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  opacity: 0.45;
  filter: blur(8px);
  z-index: -1;
  transition: opacity 0.3s;
}
.tm-card-param {
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  transform: rotateY(8deg) rotateX(2deg);
  animation: float-param 3.6s ease-in-out infinite alternate;
}
.tm-card-param .tm-card-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.6) 0%, transparent 70%);
}
.tm-card-meaning {
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  transform: rotateY(-8deg) rotateX(2deg);
  animation: float-meaning 3.6s ease-in-out infinite alternate 0.4s;
}
.tm-card-meaning .tm-card-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.6) 0%, transparent 70%);
}

@keyframes float-param {
  0% { transform: rotateY(8deg) rotateX(2deg) translateY(0px); }
  100% { transform: rotateY(5deg) rotateX(-1deg) translateY(-8px); }
}
@keyframes float-meaning {
  0% { transform: rotateY(-8deg) rotateX(2deg) translateY(0px); }
  100% { transform: rotateY(-5deg) rotateX(-1deg) translateY(-8px); }
}

.tm-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.tm-card-badge {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  margin-bottom: 8px;
  line-height: 1;
}
.tm-card-param .tm-card-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.tm-card-meaning .tm-card-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.tm-card-symbol {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.tm-card-param .tm-card-symbol {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}
.tm-card-meaning .tm-card-symbol {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}
.tm-card-symbol svg {
  width: 17px;
  height: 17px;
}
.tm-card-title {
  font-size: 15px;
  font-weight: 850;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.tm-card-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Central Energy Connector */
.tm-showcase-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 68px;
}
.tm-link-beam {
  position: absolute;
  top: 50%;
  left: -12px;
  right: -12px;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #38bdf8, #a855f7, #34d399);
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
  overflow: hidden;
  z-index: 1;
}
.tm-link-pulse {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: beam-sweep 2s infinite linear;
}
@keyframes beam-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.tm-link-core {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #18143d;
  border: 1.5px solid #c084fc;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tm-link-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(192, 132, 252, 0.4);
  animation: ring-ripple 2.2s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
  pointer-events: none;
}
@keyframes ring-ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.tm-link-core svg {
  width: 18px;
  height: 18px;
  color: #e9d5ff;
}
.tm-link-tag {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: 1.2px;
  color: #e9d5ff;
  background: rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(192, 132, 252, 0.4);
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Floating Ambient Sparkles */
.tm-showcase-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tm-showcase-sparkles .sparkle {
  position: absolute;
  font-size: 14px;
  color: #c4b5fd;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8));
  animation: float-sparkle 3s infinite ease-in-out alternate;
}
.sp-1 { top: 0; left: 10%; animation-delay: 0s; color: #38bdf8; font-size: 15px; }
.sp-2 { bottom: 15px; left: 24%; animation-delay: 0.8s; font-size: 11px; }
.sp-3 { top: 12px; right: 12%; animation-delay: 1.4s; color: #34d399; font-size: 14px; }
.sp-4 { bottom: 5px; right: 22%; animation-delay: 0.5s; font-size: 12px; }

@keyframes float-sparkle {
  0% { transform: translateY(0) scale(0.9); opacity: 0.4; }
  100% { transform: translateY(-7px) scale(1.15); opacity: 0.85; }
}

/* Copy Section */
.tm-intro-copy {
  margin-bottom: 22px;
}
.tm-intro h2 {
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.tm-instruction {
  font-size: 15.5px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 auto;
  max-width: 480px;
}

/* Unified 3-Column Glass Intel Ribbon */
.tm-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 450px;
  margin: 0 auto 28px;
}
.tm-rule-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
              rgba(18, 22, 46, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 18px;
  padding: 14px 10px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.tm-rule-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.tm-rule-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.tm-rule-icon svg {
  width: 17px;
  height: 17px;
}
.tm-rule-tiles .tm-rule-icon {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
}
.tm-rule-pairs .tm-rule-icon {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}
.tm-rule-time .tm-rule-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.tm-rule-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tm-rule-content strong {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.tm-rule-tiles strong { color: #c4b5fd; text-shadow: 0 0 10px rgba(167, 139, 250, 0.4); }
.tm-rule-pairs strong { color: #6ee7b7; text-shadow: 0 0 10px rgba(52, 211, 153, 0.4); }
.tm-rule-time strong { color: #7dd3fc; text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }

.tm-rule-content span {
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  margin-top: 3px;
  border: 0;
  padding: 0;
  background: none;
  min-width: 0;
}

/* Action Button & Pro Tip */
.tm-intro-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.game-start-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 250px;
  padding: 15px 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5),
              0 0 25px rgba(139, 92, 246, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-22deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.game-start-btn:hover .btn-shine {
  left: 170%;
}
.game-start-btn:hover {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6366f1 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 38px rgba(99, 102, 241, 0.65),
              0 0 35px rgba(139, 92, 246, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.55);
}
.game-start-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}
.btn-arrow {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
  display: inline-block;
  line-height: 1;
}
.game-start-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.tm-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11.5px;
  color: #94a3b8;
  letter-spacing: 0.2px;
}
.tm-hint-icon {
  font-size: 12px;
  color: #fbbf24;
}

/* Gamified Ultra-Compact Tile Match HUD */
#tile-match-view:has(#tm-round:not([hidden])) .tm-shell {
  padding-top: 10px;
}
#tile-match-view:has(#tm-round:not([hidden])) .tm-header {
  display: none !important;
}

#tm-round .tm-instruction {
  display: none;
}

/* Controls - Single-line Arcade Gaming Console */
.controls.tm-controls {
  margin: 0 auto 4px;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  padding: 6px 10px 0;
  border-radius: 12px;
  background: rgba(18, 14, 46, 0.88);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tm-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  flex-wrap: nowrap;
}
.tm-hud-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.95;
}

/* Star Rating & Moves */
.star-list {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fbbf24;
  font-size: 0.95rem;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
  line-height: 1;
}
.star-item {
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.65));
  transition: opacity 0.2s;
}
.star-item.empty {
  opacity: 0.2;
  filter: none;
  color: #94a3b8;
}
.moves-container {
  margin-left: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.moves-selector, #tm-moves {
  font-weight: 850;
  color: #ffffff;
}

/* Badges: Matched & Clock */
.tm-score-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.tm-score-pill strong {
  color: #34d399;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.tm-clock {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #bae6fd;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.tm-clock strong {
  font-size: 0.92rem;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
}
#tm-round.time-low .tm-clock {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
}
#tm-round.time-low .tm-clock strong {
  color: #f87171;
  animation: pulse-danger 0.8s infinite alternate;
}

/* Quick Restart Button */
.refresh {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #e4d9ff;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  padding: 0;
}
.refresh:hover {
  background: rgba(167, 139, 250, 0.35);
  color: #ffffff;
  border-color: #a78bfa;
  transform: rotate(180deg) scale(1.08);
}
.refresh:active {
  transform: rotate(180deg) scale(0.92);
}

/* Integrated Neon Energy Timer Bar */
.tm-timer {
  height: 4px;
  width: calc(100% + 20px);
  margin: 5px -10px 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  border: 0;
  position: relative;
}
#tm-timer-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #10b981 100%);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
  transition: transform 0.1s linear;
}
#tm-round.time-low #tm-timer-fill {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.85);
}

/* Clean, Minimal Live Feedback Line */
.tm-feedback {
  margin: 3px auto 1px;
  min-height: 16px;
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a78bfa;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  letter-spacing: 0.2px;
}
.tm-feedback:empty {
  display: none;
}
.tm-feedback[data-kind="correct"] {
  color: #34d399;
  font-weight: 700;
}
.tm-feedback[data-kind="wrong"] {
  color: #f87171;
  font-weight: 700;
}

/* 3D Flip Card Deck */
.deck {
  margin: 0.6rem auto 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  padding: 0;
  list-style: none;
  gap: 14px;
}

.card {
  list-style: none;
  width: 120px;
  height: 168px;
  color: #101828;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  cursor: pointer;
  user-select: none;
  position: relative;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  transition: filter 0.25s ease;
}
.card:hover:not(.cant-click-this):not(.matched) {
  filter: drop-shadow(0 10px 20px rgba(167, 139, 250, 0.45));
}

.card-container {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.15);
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.15);
  will-change: transform;
}
.card-container.flipped {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.card-face,
.card-face::before,
.card-face::after,
.card-text {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Subtle glossy sheen sweep on card hover */
.card-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.card:hover .card-face::after {
  opacity: 1;
}

.front {
  background: #000000 url('assets/tile-match-game-assets/card-front.png') center / 100% 100% no-repeat;
  border: 1.5px solid rgba(245, 197, 66, 0.4);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
.back {
  background: #ffffff url('assets/tile-match-game-assets/card-back.png') center / 100% 100% no-repeat;
  border: 1.5px solid rgba(167, 139, 250, 0.45);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.06);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.card-text {
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.35;
  color: #1a2246;
  pointer-events: none;
  word-break: break-word;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card.matched .card-container {
  animation: card-match-pulse 0.45s ease-out;
}
@keyframes card-match-pulse {
  0% { transform: rotateY(180deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.08); }
  100% { transform: rotateY(180deg) scale(1); }
}

.card.matched .back {
  border: 2.5px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}
.card.matched .card-text {
  color: #047857;
}

.cant-click-this {
  pointer-events: none;
}

.wrong {
  animation: wrong 0.4s ease-in-out;
}
@keyframes wrong {
  0% { transform: rotate(0); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(6deg); }
  100% { transform: rotate(0); }
}

.correct {
  animation: correct 0.35s ease-in-out;
}
@keyframes correct {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Results / Win section */
.win.tm-results {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  animation: copy-arrive 0.4s ease-out;
}
.tm-result-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a, #f59e0b);
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.45);
  animation: trophy-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tm-result-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #78350f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#tm-result-title {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 850;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
#tm-result-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #a78bfa;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
#tm-result-message {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 24px;
}
.seconds, .moves, .star {
  font-weight: bold;
  color: #facc15;
}

.tm-final-score {
  background: rgba(39, 52, 105, 0.4);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 18px;
  padding: 18px 28px;
  margin: 0 auto 26px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.tm-final-score span:first-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a78bfa;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tm-final-score div {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tm-final-score div span {
  font-size: 24px;
  color: #94a3b8;
  font-weight: 700;
}
.tm-final-score span:last-child {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 6px;
}

.tm-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.replay.tm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 750;
  border-radius: 50px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.replay.tm-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}
.tm-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 750;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}
.tm-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.tm-review {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}
.tm-review h3 {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a78bfa;
  margin: 0 0 14px;
}
.tm-review-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 8px;
  font-size: 14px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}
.tm-review-row[data-matched="true"] {
  border-left-color: #34d399;
}
.tm-review-row[data-matched="false"] {
  border-left-color: rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}
.tm-review-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  flex-shrink: 0;
}
.tm-review-row[data-matched="true"] .tm-review-check {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
}
.tm-review-row span[lang="en"] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tm-review-row strong {
  color: #fff;
  font-weight: 700;
}
.tm-review-row span[lang="en"] > span {
  color: #cbd5e1;
  font-size: 13.5px;
}
.tm-review-row span[lang="en"] > span::before {
  content: "↔";
  margin-right: 8px;
  color: #a78bfa;
  opacity: 0.8;
}

/* Confetti styles */
.tm-confetti-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
}
.tm-confetti {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 12px;
  opacity: 0.9;
  border-radius: 2px;
  animation: tm-confetti-fall linear forwards;
}

@keyframes tm-confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(600px) rotate(720deg); opacity: 0; }
}
@keyframes trophy-bounce {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes pulse-danger {
  from { opacity: 0.7; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.02); }
}

@media(max-width: 680px){
  .tm-shell { padding: 14px 12px 24px; border-radius: 18px; }
  #tile-match-view:has(#tm-round:not([hidden])) .tm-shell { padding: 8px 10px 16px; }
  .deck { gap: 10px; margin: 0.4rem auto 0.6rem; }
  .card { width: 105px; height: 147px; border-radius: 10px; }
  .card-face { border-radius: 10px; padding: 10px 8px; }
  .card-text { font-size: 12px; }
}
@media(max-width: 480px){
  .tm-shell { padding: 14px 12px 16px; border-radius: 20px; }
  #tile-match-view:has(#tm-round:not([hidden])) .tm-shell { padding: 6px 8px 12px; }
  .header.tm-header { margin-bottom: 12px; }
  .tm-kicker { font-size: 8.5px; padding: 3px 9px; letter-spacing: 1.2px; }
  #tm-title { font-size: 26px; }
  .tm-header-badge { width: 36px; height: 36px; }
  .tm-header-icon { width: 18px; height: 18px; }
  .tm-intro-art { margin: 4px auto 12px; padding: 4px 0; }
  .tm-showcase { gap: 6px; transform: scale(0.9); }
  .tm-showcase-card { width: 98px; padding: 8px 5px; border-radius: 13px; }
  .tm-card-title { font-size: 13px; }
  .tm-card-symbol { width: 26px; height: 26px; margin-bottom: 5px; }
  .tm-card-symbol svg { width: 14px; height: 14px; }
  .tm-showcase-link { width: 42px; }
  .tm-link-core { width: 30px; height: 30px; }
  .tm-link-core svg { width: 14px; height: 14px; }
  .tm-link-tag { font-size: 7.5px; padding: 1px 5px; margin-top: 4px; }
  .tm-intro-copy { margin-bottom: 12px; }
  .tm-intro h2 { font-size: 19px; margin-bottom: 4px; }
  .tm-instruction { font-size: 13px; line-height: 1.4; }
  .tm-rules { gap: 7px; margin-bottom: 16px; }
  .tm-rule-card { padding: 8px 5px 6px; border-radius: 12px; }
  .tm-rule-icon { width: 26px; height: 26px; margin-bottom: 4px; }
  .tm-rule-icon svg { width: 14px; height: 14px; }
  .tm-rule-content strong { font-size: 19px; }
  .tm-rule-content span { font-size: 9px; letter-spacing: 0.8px; }
  .tm-intro-action { gap: 10px; }
  .game-start-btn { width: 100%; max-width: 300px; padding: 12px 22px; font-size: 0.98rem; }
  .tm-hint-pill { font-size: 10.5px; padding: 4px 12px; }
  .controls.tm-controls { padding: 5px 8px 0; }
  .tm-timer { width: calc(100% + 16px); margin: 4px -8px 0; }
  .tm-hud-bar { gap: 4px; }
  .hud-label { display: none; }
  .moves-label { display: none; }
  .star-list { padding: 2px 5px; font-size: 0.85rem; }
  .tm-score-pill, .tm-clock { padding: 2px 5px; font-size: 0.72rem; gap: 3px; }
  .tm-score-pill strong, .tm-clock strong { font-size: 0.82rem; }
  .refresh { width: 24px; height: 24px; font-size: 0.85rem; }
  .deck { gap: 6px; margin: 0.3rem auto 0.5rem; }
  .card { width: 92px; height: 129px; }
  .card-text { font-size: 11px; }
  .replay.tm-primary, .tm-secondary { width: 100%; }
}



/* A short, landscape-shaped hero keeps mobile activities within easy reach. */
.hero-carousel-controls,.hero-scores{display:none}
@media(max-width:700px){
  #home-view .hero{display:block;min-height:0;height:clamp(190px,56vw,260px);touch-action:pan-y pinch-zoom}
  #home-view .hero-copy,#home-view .hero-art,#home-view .hero-scores{position:absolute;inset:0 0 38px;width:100%;max-width:none;margin:0;padding:12px 24px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:transform .35s ease;will-change:transform}
  #home-view .hero-copy{transform:translateX(0)}
  #home-view .hero-art{transform:translateX(100%)}
  #home-view .hero[data-slide="1"] .hero-copy{transform:translateX(-100%)}
  #home-view .hero[data-slide="1"] .hero-art{transform:translateX(0)}
  #home-view .hero-eyebrow{font-size:8px;line-height:1.5;letter-spacing:1px;padding:4px 8px;flex-shrink:0}
  #home-view .hero-eyebrow .icon{width:12px;height:12px}
  #home-view .hero-logo-wrap{position:relative;margin:0;min-height:0;flex:1;justify-content:center;width:100%}
  #home-view .hero-hpcl-logo{position:absolute;inset:0;margin:auto;width:100%;max-width:230px;height:100%;max-height:135px;object-fit:contain;animation:none;filter:drop-shadow(0 3px 8px #0004)}
  #home-view .hero-bottom{margin:0;gap:8px;font-size:9px;line-height:1.5;letter-spacing:0;animation:none;flex-shrink:0}
  #home-view .hero-bottom .icon{width:12px;height:12px}
  #home-view .stage-art{width:100%;height:calc(100% - 18px);max-height:none;animation:none}
  #home-view .art-caption{margin:0;font-size:7px;line-height:1.5;letter-spacing:1px;flex-shrink:0}
  .hero-carousel-controls{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;justify-content:center;gap:2px}
  .hero-carousel-controls button{height:36px;border:0;background:transparent;color:#fff;font-size:10px;border-radius:8px}
  .hero-dot{width:36px;display:grid;place-items:center;padding:0}
  .hero-dot span{width:7px;height:7px;background:#ffffff70;border-radius:10px;transition:width .2s}
  .hero-dot[aria-pressed="true"] span{width:19px;background:#fff}
  .hero-carousel-pause{min-width:44px;padding:0 6px}
  .hero-carousel-controls button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
  #home-view .lights-toggle{right:10px;bottom:8px;width:26px;height:26px}
  #home-view .activities{padding-top:20px}
  #home-view .section-heading{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){#home-view .hero-copy,#home-view .hero-art,.hero-dot span{transition:none}}

.hero-carousel-pause svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.hero-carousel-pause .carousel-play-icon{display:none}
.hero-carousel-pause[aria-pressed="true"] .carousel-play-icon{display:block}
.hero-carousel-pause[aria-pressed="true"] .carousel-pause-icon{display:none}
@media(max-width:700px){
 #home-view .hero-scores{transform:translateX(100%);text-align:center;color:#fff5dd;gap:7px}
 #home-view .hero[data-slide="2"] .hero-copy,#home-view .hero[data-slide="2"] .hero-art{transform:translateX(-100%)}
 #home-view .hero[data-slide="2"] .hero-scores{transform:translateX(0)}
 .hero-scores-icon{width:35px;height:35px;fill:none;stroke:#ffdf7a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 9px #f1c96455);flex-shrink:0}
 .hero-scores>strong{font-size:23px;line-height:1.2}.hero-scores>span{font-size:10px;line-height:1.5;max-width:300px}
 .hero-scores-link{display:inline-flex;align-items:center;gap:12px;min-height:36px;padding:7px 14px;border-radius:8px;background:#ffe398;color:#39235e;text-decoration:none;font-size:11px;font-weight:700}
}
@media(prefers-reduced-motion:reduce){#home-view .hero-scores{transition:none}}

.brand-demo{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}.brand-demo .brand-logo{width:73px;height:32px}.brand-demo .brand-logo img{width:73px;transform:translateY(-2.5px)}.demo-label{font-size:8px;line-height:1;font-weight:750;letter-spacing:1.4px;color:var(--accent);white-space:nowrap}.hero-demo-label{display:block;width:fit-content;font-size:9px;font-weight:750;letter-spacing:2px;color:#ffe398;margin-bottom:12px}
@media(max-width:700px){.brand-demo .brand-logo{width:60px;height:27px}.brand-demo .brand-logo img{width:60px;transform:translateY(-1.5px)}#home-view .hero-demo-label{font-size:8px;margin:0;line-height:1.2;flex-shrink:0}}
@media(max-width:440px){.brand-demo .brand-logo{width:54.5px;height:25.5px}.brand-demo .brand-logo img{width:54.5px;transform:none}}
@media(max-width:355px){.brand-demo .brand-logo{width:47.5px;height:23px}.brand-demo .brand-logo img{width:47.5px}.demo-label{font-size:7px}}

/* Keep the demo identity immediately visible at every screen size. */
.brand-demo{gap:9px}.demo-label{display:inline-block;background:#ffdb75;color:#30204c;border:1px solid #ffe8a5;border-radius:5px;padding:5px 8px;font-size:11px;line-height:1.1;font-weight:850;letter-spacing:1px;box-shadow:0 2px 8px #0002}
.hero-demo-label{background:#ffdb75;color:#30204c;border:1px solid #ffe8a5;border-radius:5px;padding:5px 10px;font-size:12px;font-weight:850;letter-spacing:1.3px}
@media(max-width:700px){#home-view .hero-demo-label{font-size:10px;line-height:1.1;padding:4px 9px}.demo-label{font-size:10px;padding:5px 7px}}

/* Featured lab entry at the top of the games gallery. */
.home-lab-feature{display:flex;align-items:center;gap:24px;border:1px solid #517b75;border-radius:16px;overflow:hidden;background:linear-gradient(110deg,#183c41,#112b35);color:#f3fffb;text-decoration:none;box-shadow:0 8px 24px #0002;transition:border-color .2s,box-shadow .2s}
.game-gallery .home-lab-feature{grid-column:1/-1;margin-bottom:8px}
.home-lab-feature:hover{border-color:#8cf4dd;box-shadow:0 8px 24px #0003}
.home-lab-feature:focus-visible{outline:3px solid #67dfc7;outline-offset:4px}
.home-lab-image{width:180px;min-height:142px;align-self:stretch;flex-shrink:0;background:linear-gradient(90deg,transparent,#183c4144),url("assets/sample-preparation-game-assets/bg-img.png") center/cover}
.home-lab-copy{display:flex;flex:1;flex-direction:column;gap:8px;padding:20px 0}
.home-lab-kicker{font-size:10px;letter-spacing:1.7px;color:#a0f0d7;font-weight:750}
.home-lab-copy strong{font-size:25px;line-height:1.2;letter-spacing:-.5px}
.home-lab-copy>span:last-child{font-size:13px;color:#bed6d3;line-height:1.5}
.home-lab-action{display:flex;align-items:center;gap:18px;margin-right:24px;padding:12px 16px;background:#a0f0d7;color:#163b34;border-radius:8px;font-size:13px;font-weight:750;white-space:nowrap}
.home-lab-feature:hover .home-lab-action{background:#c1ffe9}
#home-view .activity-card{box-shadow:0 2px 0 color-mix(in srgb,var(--tile-start),#351651 20%);border-radius:14px}
#home-view .card-description{line-height:1.6}
@media(max-width:700px){.home-lab-feature{display:grid;grid-template-columns:88px minmax(0,1fr);gap:0 15px}.home-lab-image{width:88px;grid-row:1/3;min-height:160px}.home-lab-copy{padding:16px 14px 10px 0;gap:6px}.home-lab-kicker{font-size:8px;letter-spacing:1.2px}.home-lab-copy strong{font-size:20px}.home-lab-copy>span:last-child{font-size:11px}.home-lab-action{justify-self:start;margin:0 12px 16px 0;padding:9px 12px;font-size:11px;gap:20px}#home-view .card-description{font-size:12px}#home-view .card-tag{font-size:8px;letter-spacing:.5px}}

.my-carz-banner{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;overflow:hidden;background:linear-gradient(180deg,rgba(7,27,38,.25),rgba(7,27,38,.85)),url("assets/my-carz-game-assets/inherited/garage-pg-bg.webp") center/cover;color:#fff}
.my-carz-banner h2{margin:0;font-size:clamp(32px,4vw,64px);font-weight:900;text-shadow:0 4px 16px #071b26}
.my-carz-banner h2 span{color:#ffd080}
.my-carz-banner img{width:90%;height:45%;object-fit:contain;filter:drop-shadow(0 14px 12px #0008)}
.my-carz-play{padding:12px 22px;border-radius:30px;background:#ffd080;color:#071b26;font-weight:800;font-size:14px}

#open-coming-soon{text-align:left;font-family:inherit;cursor:pointer}
#coming-soon-dialog{width:min(400px,calc(100vw - 32px));padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--page);color:var(--text)}
#coming-soon-dialog::backdrop{background:#000a}
#coming-soon-form{display:grid;gap:14px}
#coming-soon-title{margin:0}
#coming-soon-password{width:100%;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--page);color:var(--text);font:inherit}
#coming-soon-error{margin:0;color:#e34747;font-size:14px}
.coming-soon-actions{display:flex;justify-content:flex-end;gap:10px}
.coming-soon-actions button{padding:10px 16px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font:inherit}
.coming-soon-actions button[type=submit]{background:#ffd23f;color:#181322}

/* The embedded Wall of Fame fills its 16:9 feature area. */
.home-carousel{overflow:hidden;border:1px solid #b98eea66;border-radius:24px;background:#050b16;box-shadow:0 16px 42px #16092930}
.home-carousel-viewport{position:relative;aspect-ratio:16/9;overflow:hidden}
.wall-of-fame-frame{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:#050b16}
/* Three compact home actions, stacked in the approved order. */
#home-view .activity-grid.activity-list{grid-template-columns:minmax(0,1fr);gap:12px}
#home-view .activity-list .activity-card{display:flex;flex-direction:row;align-items:center;gap:18px;width:100%;min-height:88px;padding:16px 24px;text-align:left}
#home-view .activity-list .card-icon{width:44px;height:44px;flex-shrink:0;margin:0}
#home-view .activity-list .card-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.activity-labels{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
#home-view .activity-list .card-title{margin:0;font-size:20px;line-height:1.25}
#home-view .activity-list .card-description{margin:0;font-size:12px;line-height:1.45}
.activity-arrow{position:relative;flex-shrink:0;font-size:23px;line-height:1}
#home-view .activity-list .activity-card::before{width:120px;height:120px;top:-60px;right:30px;border-width:20px}
#home-view .activity-list .activity-card::after{display:none}
#home-view .activity-list .activity-card:hover{transform:translateY(-2px)}
@media(max-width:700px){.home-carousel{border-radius:20px}#home-view .activity-list .activity-card{min-height:80px;padding:14px 16px;gap:14px}#home-view .activity-list .card-title{font-size:18px}#home-view .activity-list .card-description{font-size:11px}#home-view .activity-list .card-icon{width:40px;height:40px}}

#home-view .activities{padding-top:18px}
.activities-divider{display:flex;align-items:center;justify-content:center;gap:12px;height:8px;margin-bottom:18px}
.activities-divider::before,.activities-divider::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#b78ce45c)}
.activities-divider::after{transform:scaleX(-1)}
.activities-divider span{width:5px;height:5px;border:1px solid #c7a6ea99;transform:rotate(45deg)}

/* RC preview: Match It, Blast It. */
.match-blast-banner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:24px 16px;text-align:center;border:2px solid #c6a2ff;background:radial-gradient(ellipse at 50% 38%,#8b3dd2 0%,#3d176a 48%,#17112f 100%);color:#fff4d3}
.match-blast-banner::before{content:"";position:absolute;inset:12px;border:1px solid #e0b8ff40;border-radius:12px;pointer-events:none}
.match-blast-banner h2{margin:0;font-family:Arial,sans-serif;font-weight:900;font-size:clamp(26px,3vw,38px);line-height:1.12;text-shadow:0 3px 0 #37105d,0 5px 14px #130822}
.match-blast-banner h2 span,.match-blast-banner h2 strong{display:block}
.match-blast-banner h2 strong{color:#ffd357;font-size:1.2em;margin-top:6px}
.match-blast-tiles{display:flex;align-items:center;gap:8px}
.match-blast-tiles span{display:grid;place-items:center;width:36px;height:44px;border:2px solid #b3fbff;border-radius:12px;background:linear-gradient(#56e5ee,#1177b8);box-shadow:0 5px 0 #102e70;font:900 32px Arial;color:#e0ffff;transform:rotate(-9deg)}
.match-blast-tiles span:nth-child(2){transform:translateY(-8px) rotate(6deg)}
.match-blast-tiles span:last-child{color:#fff2aa;border-color:#ffe6a0;background:linear-gradient(#ffbd40,#eb5427);transform:rotate(12deg);box-shadow:0 5px 0 #9a285e}
.match-blast-status{padding:8px 12px;border:1px solid #d4b2fb70;border-radius:30px;background:#1b123d80;color:#e6d4fa;font:700 11px Arial;letter-spacing:1px;white-space:nowrap;text-transform:uppercase}

/* Keep the home actions compact through the footer. */
#home-view:not([hidden]) ~ footer{padding:14px 0 calc(14px + env(safe-area-inset-bottom));margin:0}
body:has(#home-view:not([hidden])){min-height:100svh}
#home-view .activity-list .rc-chat-entry[hidden]{display:none!important}

/* QC Core wordmark matches the review identity. */
.site-header .qc-core-brand{display:flex;align-items:center;gap:9px;flex-shrink:0;white-space:nowrap;color:var(--text)}.qc-core-brand .qc-core-mark{font-size:30px;line-height:1;color:#f2d184}.qc-core-brand strong{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:750;letter-spacing:-.6px;line-height:1.2}@media(max-width:700px){.site-header .qc-core-brand{gap:7px}.qc-core-brand .qc-core-mark{font-size:25px}.qc-core-brand strong{font-size:18px}}@media(max-width:355px){.site-header .qc-core-brand{gap:5px}.qc-core-brand .qc-core-mark{font-size:22px}.qc-core-brand strong{font-size:16px}}
