/* Character-led adventure library. All gameplay selectors remain untouched. */
:root{--guide-teal:#123f42;--guide-coral:#ed785e;--guide-gold:#f6cb68}
body:has(.hub-home){background:#f6f3eb;color:#203e40}
.hub-home{background:radial-gradient(ellipse at 95% 9%,#e5ece2 0,transparent 40%),#f6f3eb!important;padding-bottom:100px}
.hub-wrap{max-width:1320px!important;padding:24px 32px!important}
.topbar{border-bottom:1px solid #dce3dc!important;background:#fffdf7!important;box-shadow:none!important}
.brand{color:var(--guide-teal)!important;letter-spacing:-.6px}
.hub-hero{position:relative;background:var(--guide-teal);border-radius:32px;padding:48px 52px!important;gap:30px!important;overflow:hidden;isolation:isolate;min-height:540px;box-shadow:0 16px 0 -8px #ced6c9,0 30px 60px -35px #17464d80}
.hub-hero:before{content:'';position:absolute;inset:auto -5% -135px 40%;height:280px;border:1px solid #ffffff17;border-radius:50%;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff05;z-index:-1}
.hub-hero-copy{position:relative;z-index:2}.hub-hero .hub-eyebrow{color:#f4ce83!important;font-size:11px;letter-spacing:2px}
.hub-hero h1{font-size:clamp(52px,6.4vw,88px)!important;line-height:.99!important;color:#fff9e9!important;letter-spacing:-4px!important;margin:20px 0!important}
.hub-hero h1 span{color:#f5cf83!important}.hub-hero-lead{color:#fff9e9!important;font-size:24px!important}
.hub-hero-description{color:#dae6dc!important;max-width:440px;font-size:16px!important;line-height:1.7}
.hub-creator{color:#c5d8cc!important}.hub-creator strong{color:#fff5db!important}.hub-hero-actions{gap:10px!important;flex-wrap:wrap}.hub-hero-actions .primary{background:var(--guide-coral)!important;color:#163a39!important;box-shadow:0 4px 0 #b94f3d!important;border:0!important}.hub-hero-actions .secondary{background:#ffffff0d!important;border:1px solid #ffffff40!important;color:#fff9e9!important}
.hub-hero .hub-trust{color:#d7e5d5!important;gap:18px!important;font-size:11px!important}.hub-trust svg{color:#eac270!important}
.guide-world{height:445px;position:relative;min-width:280px;align-self:end;perspective:900px}
.guide-arch{position:absolute;inset:10px 9% 15px;border-radius:160px 160px 30px 30px;background:linear-gradient(150deg,#2d6b66,#245452 70%);border:1px solid #87b3a340;box-shadow:inset 8px 0 20px #0d313a30}
.guide-host{position:absolute;height:390px;width:260px;object-fit:contain;left:50%;bottom:17px;transform:translateX(-50%);filter:drop-shadow(12px 12px 10px #0b2b3255);z-index:2}
.guide-plinth{position:absolute;left:12%;right:12%;height:76px;bottom:0;border-radius:50%;background:linear-gradient(#efc67d 40%,#b98546);box-shadow:0 16px 20px #092c3440,inset 0 -15px #b88950;transform:rotateX(26deg)}
.guide-plinth:after{content:'';position:absolute;inset:4px 5px 20px;border-radius:50%;border:1px solid #fff2c45c;background:#f0d49d}
.guide-bubble{position:absolute;right:-10px;top:0;width:210px;padding:17px 19px;background:#fff5d9;border-radius:20px 20px 20px 3px;transform:rotate(3deg);box-shadow:0 7px 0 #092d3230;z-index:3;color:#183f41}
.guide-bubble span{display:block;font-size:8px;letter-spacing:1.5px;font-weight:800;color:#8e5d36;margin-bottom:7px}.guide-bubble strong{font-size:17px;line-height:1.25;display:block}
.guide-world-star{position:absolute;color:#f5cb72;font-size:52px;filter:drop-shadow(3px 5px #b27c314d)}.star-a{left:8%;top:60px;transform:rotate(-15deg)}.star-b{right:1%;bottom:100px;font-size:32px;transform:rotate(12deg)}
.guide-world-orb{position:absolute;left:-5%;bottom:100px;font-size:48px;background:#fff1ce;border-radius:20px;padding:9px;transform:rotate(-12deg);box-shadow:3px 8px 0 #f3bf6b,8px 18px 20px #092f3855;z-index:3}
.guide-meet{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:11px;padding:12px 20px;border-radius:16px;white-space:nowrap;background:#fffdf3;color:#1b4443;border:1px solid #f9e1aa;box-shadow:0 5px 0 #d9c9a0;cursor:pointer;text-align:left}.guide-meet>span:first-child{background:#ed785e;border-radius:50%;padding:10px;font-size:11px}.guide-meet strong,.guide-meet small{display:block}.guide-meet small{font-size:10px;margin-top:4px;color:#58726a}
.hub-install,.hub-buddies{border:1px solid #dbe1d5!important;box-shadow:none!important;border-radius:20px!important;margin-top:24px!important}.hub-install{background:#eeeadb!important}.hub-buddies{background:#e3ece4!important}.hub-install h2,.hub-buddies h2{color:#204746!important}.hub-install .primary,.hub-buddies .primary{background:#1b514e!important;border:0!important;box-shadow:0 4px 0 #123d3b!important}
#all-games{scroll-margin-top:30px}.play-menu{padding-top:48px!important}.play-menu-heading h2{font-size:clamp(30px,4vw,45px)!important;letter-spacing:-1.7px;color:#173f41!important}.play-menu-heading p{color:#5c7069!important}.play-menu .hub-eyebrow{color:#9d5d45!important;letter-spacing:1.8px;font-size:10px}.play-menu-stamp{background:#fff7e3!important;color:#345451!important;border:1px solid #e9d7ad!important;transform:rotate(5deg);box-shadow:3px 5px 0 #dfd4b8}
.library-tools{margin:28px 0 0;display:flex;flex-direction:column;gap:20px}.game-categories{display:flex;flex-wrap:wrap;gap:9px}.game-categories button{background:#fffdf6;border:1px solid #d6ddd0;color:#37534c;border-radius:30px;padding:12px 17px;font:inherit;font-weight:700;font-size:12px;display:flex;align-items:center;gap:8px;cursor:pointer;transition:background .2s,box-shadow .2s}.game-categories button[aria-pressed=true]{background:#1d504c;color:white;border-color:#1d504c;box-shadow:0 3px 0 #0f3433}.game-categories button:hover{border-color:#1d504c}.game-search{display:flex;align-items:center;gap:14px;color:#4c685f;font-size:12px;font-weight:700}.game-search input{max-width:350px;width:100%;background:#fffdf7;border:1px solid #d0dacf;border-radius:12px;padding:12px 16px;font:inherit;color:#254a43}.library-count{font-size:12px;color:#657c70;margin:20px 0 15px}
.play-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}.play-choice{border:1px solid #d6ddce!important;border-radius:22px!important;background:#fffdf7!important;padding:24px!important;box-shadow:0 6px 0 #dfe3d5!important;transition:transform .2s,box-shadow .2s!important;overflow:hidden}.play-choice:hover{transform:translateY(-5px)!important;box-shadow:0 11px 0 #d3dbcd!important}.play-choice:active{transform:translateY(1px)!important;box-shadow:0 3px 0 #d3dbcd!important}.play-choice-top{margin-bottom:20px!important}.play-choice-art{width:80px!important;height:74px!important;border-radius:21px!important;background:linear-gradient(145deg,#fdf2cb,#eec77d)!important;box-shadow:inset 2px 3px 2px #ffffffcc,3px 5px 0 #c8a36655,6px 10px 12px #5b614018;transform:rotate(-6deg);display:grid!important;place-items:center}.play-choice-emoji{font-size:41px!important;filter:drop-shadow(3px 4px 1px #79602726);transform:rotate(6deg)}.mode-puzzle .play-choice-art,.mode-memory .play-choice-art,.mode-verse .play-choice-art{background:linear-gradient(145deg,#e2f6df,#83b9a3)!important}.mode-adventure .play-choice-art,.mode-treasure .play-choice-art{background:linear-gradient(145deg,#e7f4fb,#93c0d4)!important}.mode-creative .play-choice-art{background:linear-gradient(145deg,#ffe9e2,#e7a091)!important}.play-choice-number{background:#f0f1e7!important;color:#537667!important;font-size:18px!important;width:34px!important;height:34px!important;border-radius:50%!important}.play-choice-tag{font-size:9px!important;letter-spacing:1px!important;color:#9c624b!important;text-transform:uppercase}.play-choice strong{font-size:22px!important;letter-spacing:-.5px;color:#204844!important}.play-choice-text{font-size:13px!important;line-height:1.6!important;color:#66786b!important;min-height:60px}.play-choice-foot{border-top:1px solid #e9ecdf!important;padding-top:16px!important;font-size:10px!important;color:#6b7f70!important}.play-choice-arrow{color:#1c5e51!important;font-weight:800}.library-empty{padding:38px;border:1px dashed #acbba9;border-radius:20px;text-align:center}.hub-bottom{background:#eceee3!important;border-color:#d8e0d0!important}.designer-card{border-color:#d8e0d0!important;background:#fffdf7!important}.hub-footer{color:#5e7569!important}
.guide-launcher{position:fixed;right:24px;bottom:22px;z-index:50;display:flex;align-items:center;gap:9px;background:#153f41;color:#fff8e7;border:2px solid #e7cb8b;border-radius:40px;padding:7px 14px 7px 6px;box-shadow:0 6px 0 #c6ceba,0 10px 25px #143d4330;cursor:pointer;font:700 12px inherit}.guide-launcher img{width:42px;height:42px;object-fit:cover;object-position:50% 4%;border-radius:50%;background:#e7c37b}.guide-launcher b{background:#f1ca7b;color:#214c49;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}
.guide-dialog{max-width:880px;width:calc(100% - 32px);padding:0;border:1px solid #e7d8b7;border-radius:26px;background:#fffaf0;color:#234842;box-shadow:0 30px 90px #072b4560}.guide-dialog::backdrop{background:#092f39b8;backdrop-filter:blur(5px)}.guide-dialog-header{display:flex;align-items:center;justify-content:space-between;background:#173f41;color:#efd08e;padding:14px 22px;font-size:10px;letter-spacing:2px;font-weight:800}.guide-close{border:1px solid #ffffff60;border-radius:50%;width:34px;height:34px;background:transparent;color:white;cursor:pointer}.guide-dialog-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;padding:26px}.guide-video-wrap video{width:100%;max-height:450px;border-radius:20px;background:#143f43;display:block}.guide-video-wrap p{font-size:10px;color:#637970;line-height:1.5}.guide-dialog-copy h2{font-size:28px;line-height:1.1;letter-spacing:-1px;margin:5px 0 15px;color:#163f42}.guide-dialog-copy p{font-size:13px;line-height:1.65}.guide-dialog-copy ol{padding-left:21px}.guide-dialog-copy li{padding:7px 0 9px 5px;font-size:12px}.guide-dialog-copy li b,.guide-dialog-copy li span{display:block;line-height:1.5}.guide-dialog-copy li span{color:#5f746a;margin-top:3px}.guide-kindness{background:#eee9d8;padding:10px 14px;border-radius:12px}.guide-dialog details{font-size:11px;margin:15px 0}.guide-dialog summary{cursor:pointer}.guide-dialog .primary{background:#1d514b;color:white;border:0;box-shadow:0 4px 0 #103c38;padding:12px 20px}.guide-launcher:focus-visible,.guide-meet:focus-visible,.game-categories button:focus-visible,.guide-dialog button:focus-visible{outline:3px solid #ef9c51;outline-offset:4px}
@media(min-width:1100px){.hub-hero{grid-template-columns:1.12fr .88fr!important}.hub-install,.hub-buddies{padding:22px 28px!important}}
@media(max-width:800px){.hub-wrap{padding:16px!important}.hub-hero{padding:32px!important;gap:15px!important;grid-template-columns:1fr!important}.hub-hero h1{font-size:62px!important;letter-spacing:-3px!important}.guide-world{height:380px;width:min(100%,420px);justify-self:center}.guide-host{height:345px;width:230px}.guide-bubble{right:0;width:190px}.play-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hub-hero .hub-trust{flex-wrap:wrap}.guide-dialog-grid{gap:18px;padding:18px}.guide-launcher{right:14px;bottom:16px}}
@media(max-width:520px){.hub-hero{padding:27px 23px!important;border-radius:24px}.hub-hero h1{font-size:57px!important}.hub-hero-lead{font-size:21px!important}.hub-hero-description{font-size:14px!important}.guide-world{height:350px;margin-top:20px}.guide-host{height:320px;bottom:12px}.guide-bubble{width:175px;top:0;right:-3px}.guide-bubble strong{font-size:15px}.guide-world-orb{font-size:34px;left:0;bottom:90px}.guide-arch{inset:10px 5% 15px}.play-choice-grid{gap:14px!important}.play-choice{padding:17px!important;border-radius:19px!important}.play-choice strong{font-size:18px!important}.play-choice-art{width:62px!important;height:60px!important}.play-choice-emoji{font-size:32px!important}.play-choice-text{font-size:11px!important;min-height:90px}.play-choice-number{width:25px!important;height:25px!important;font-size:14px!important}.play-choice-tag{font-size:8px!important;letter-spacing:.4px!important;min-height:25px}.play-choice-foot{font-size:9px!important;gap:5px!important;flex-wrap:wrap}.game-categories{gap:7px}.game-categories button{font-size:10px;padding:11px 13px}.game-search{flex-direction:column;align-items:stretch;gap:8px}.game-search input{max-width:none}.play-menu-heading{gap:8px!important}.play-menu-stamp{min-width:60px!important;font-size:9px!important}.play-menu-stamp>span{font-size:27px!important}.guide-dialog-grid{grid-template-columns:1fr}.guide-video-wrap{width:180px;margin:auto}.guide-video-wrap video{max-height:280px}.guide-dialog{max-height:90dvh}.guide-dialog-copy h2{font-size:25px}.guide-dialog-header{letter-spacing:1px;font-size:9px}.guide-dialog-copy ol{margin:7px 0}.guide-dialog-copy li{padding-bottom:5px}.guide-launcher span{display:none}.guide-launcher{padding-right:9px}.hud{gap:5px!important}.topbar{padding:12px!important;flex-wrap:wrap}.brand{font-size:17px!important}.hub-install,.hub-buddies{padding:20px!important}}
.guide-bubble{top:-55px;width:205px;padding:14px 17px}.guide-bubble strong{font-size:15px}
@media(max-width:800px){.guide-world{margin-top:50px}.guide-bubble{top:-45px}}
@media(max-width:520px){.guide-world{margin-top:50px}.guide-bubble{top:-45px;width:175px}}
@media(max-width:520px){.hub-hero{padding:25px 20px!important;gap:10px!important}.hub-hero h1{font-size:46px!important;margin:15px 0!important;letter-spacing:-2px!important}.hub-hero-lead{font-size:17px!important}.hub-hero-description{font-size:12px!important;line-height:1.55!important;margin:12px 0!important}.hub-creator{font-size:10px!important;margin:12px 0!important}.hub-hero-actions{justify-content:center!important}.hub-hero-actions .secondary{display:none}.hub-hero .hub-trust{display:none!important}.guide-world{height:290px;margin-top:50px}.guide-host{height:265px;width:190px}.guide-meet{padding:9px 15px}.guide-meet strong{font-size:12px}.guide-bubble{top:-45px;width:165px;padding:11px 14px}.guide-bubble strong{font-size:13px}.guide-bubble span{font-size:7px;letter-spacing:1px}.guide-arch{inset:0 8% 12px}.guide-world-orb{font-size:30px;bottom:80px}.guide-plinth{height:62px}.guide-meet small{font-size:9px}.guide-world-star.star-a{font-size:35px;top:35px}}
@media(prefers-reduced-motion:reduce){.play-choice,.game-categories button{transition:none!important}.play-choice:hover{transform:none!important}}
