:root{--purple:#7357d8;--pink:#ff638e;--blue:#57c8e8;--yellow:#ffd34e;--cream:#fff8ec;--ink:#28314d;--muted:#686a80;--line:#eae3da;font-family:Trebuchet MS,system-ui,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding-bottom:100px}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--purple);outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(34px,4.6vw,62px);line-height:1.05;letter-spacing:-2px}h2{font-size:28px;letter-spacing:-.8px;margin-bottom:8px}h3{font-size:25px;letter-spacing:-.6px}p{line-height:1.6;color:var(--muted)}#app{max-width:1260px;margin:auto;padding:0 32px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:23px 0;border-bottom:1px solid var(--line);margin-bottom:32px}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;font-weight:900;font-size:26px;padding:0}.brand img{width:46px;height:46px}.brand-accent{color:var(--purple)}.brand small{display:block;font-weight:500;font-size:11px;letter-spacing:.4px;margin-top:3px}.top-note{color:var(--muted);font-size:13px}.stars-counter-top{background:#fff0b6;border:1px solid #efda89;border-radius:30px;padding:10px 17px;font-weight:800;color:#796128}.stars-counter-top>span:first-child{color:#bb8713}.welcome{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;border-radius:30px;background:#eee8fc;overflow:hidden;min-height:360px;margin-bottom:42px}.welcome-copy{padding:40px 44px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:800;color:var(--purple);display:block;margin-bottom:12px}.welcome h1{margin-bottom:18px}.welcome em{font-style:normal;color:var(--purple)}.welcome p{max-width:410px;font-size:16px}.welcome-actions{display:flex;align-items:center;gap:16px;margin:24px 0}.solid-button{display:inline-flex;align-items:center;gap:28px;border:none;border-radius:14px;background:var(--purple);color:#fff;text-decoration:none;padding:14px 20px;font-weight:800;box-shadow:0 5px #5742a7}.solid-button:hover{background:#6448c9}.text-button{border:0;background:none;font-weight:700;font-size:13px;color:var(--purple);padding:10px 0}.promise{display:flex;gap:16px;font-size:11px;color:#60577b}.hero-art{display:flex;flex-direction:column;align-items:center;position:relative;background:radial-gradient(ellipse,#fff9ecaa,transparent 65%);padding:15px}.hero-art img{width:90%;max-width:350px;transform:rotate(3deg);filter:drop-shadow(0 18px 18px #79689720)}.art-caption{font-size:13px;color:#686080;margin-top:-10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px 0 20px}.soft-label{display:inline-block;font-size:12px;color:#68588d;background:#eee8fc;padding:9px 12px;border-radius:30px}.feature-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:42px}.workshop-feature{display:flex;text-align:left;align-items:center;justify-content:space-between;background:#f4eacb;border:1px solid #e4d8b8;border-radius:23px;padding:25px 28px;overflow:hidden}.workshop-feature img{width:42%;max-width:210px}.workshop-feature h3{margin:15px 0 8px;font-size:30px;line-height:1.1}.workshop-feature p{font-size:13px}.pill{font-size:9px;font-weight:900;letter-spacing:1px;background:#fff8e5;padding:7px 10px;border-radius:20px;color:#897239}.feature-cta{font-weight:800;font-size:13px;color:#6448a5}.story-feature{display:flex;background:#fff;border:1px solid var(--line);border-radius:23px;padding:18px;gap:22px;align-items:center}.story-preview{height:225px;width:145px;flex-shrink:0;border-radius:16px;overflow:hidden;background:#dfead2}.story-preview img{width:100%;height:100%;object-fit:cover}.story-feature h3{font-size:24px;margin:0 0 12px}.story-feature p{font-size:13px}.search-shell{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:30px;padding:10px 15px}.search-shell input{width:190px;max-width:100%;border:0;background:none;outline:0;font-size:13px}.category-ribbon{display:flex;gap:9px;overflow-x:auto;padding:3px 3px 15px;margin-bottom:10px}.tag-pill{white-space:nowrap;border:1px solid var(--line);border-radius:25px;background:#fff;padding:10px 15px;font-size:12px;font-weight:700}.tag-pill.active{background:var(--purple);color:#fff;border-color:var(--purple)}.badge-count{font-size:14px;background:#eae3fb;color:var(--purple);padding:5px 10px;border-radius:20px;vertical-align:middle}.games-inner-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.game-card{position:relative;display:flex;flex-direction:column;text-align:left;padding:0;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:#fff;transition:transform .18s,box-shadow .18s}.game-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #28314d10}.game-card img{width:100%;aspect-ratio:1;object-fit:cover;background:#f0ebfa}.game-name{padding:13px 12px;font-size:13px;font-weight:800;line-height:1.3;min-height:56px}.game-pill-badge{position:absolute;top:8px;left:8px;border-radius:20px;background:#fff8ecf2;color:#6043ae;padding:5px 7px;font-size:8px;font-weight:900}.empty-state{padding:45px;background:#fff;border:1px dashed var(--line);border-radius:20px;text-align:center}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:35px 0;margin-top:35px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.fixed-footer{position:fixed;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;gap:5px;background:#fffdf7f5;border:1px solid #e8e0d7;border-radius:24px;padding:7px;box-shadow:0 12px 35px #28314d20;z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.nav-item{border:0;background:none;border-radius:18px;padding:12px 20px;display:flex;align-items:center;gap:8px;color:#777387;font-size:18px}.nav-item span{font-weight:700;font-size:12px}.nav-item.active{background:var(--purple);color:#fff}.episode-card{display:flex;max-width:770px;gap:30px;padding:25px;border:1px solid var(--line);border-radius:25px;background:#fff}.episode-card>img{width:200px;border-radius:16px;aspect-ratio:9/16;object-fit:cover}.episode-card>div{align-self:center}.fine-print{font-size:12px;margin-top:25px}.parent-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:35px}.info-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px}.info-panel h2{font-size:22px}.manager-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.manager-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;text-align:left;font-size:13px;font-weight:700}.manager-row img{width:45px;height:45px;border-radius:10px;object-fit:cover}.player-view{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;background:#16132b;color:#fff}.player-hud{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 16px;min-height:58px;background:#241e3c}.hud-left,.hud-right,.hud-title-badge{display:flex;align-items:center;gap:9px}.hud-btn{background:#ffffff12;color:#fff;border:1px solid #ffffff20;border-radius:18px;padding:8px 13px;font-weight:800}.hud-back{background:var(--purple)}.hud-game-icon{width:30px;height:30px;border-radius:9px;object-fit:cover}.hud-title-badge{font-size:13px}.hud-stars-badge{border-radius:20px;background:#ffd34e;color:#66501b;font-weight:900;padding:6px 12px}.player-stage{flex:1;min-height:0;position:relative}.player-ambient-bg{display:none}.player-container,#game-frame{width:100%;height:100%;border:none;display:block}.toast{position:fixed;bottom:95px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;border-radius:20px;padding:12px 20px;z-index:40;font-size:13px;max-width:90vw}.hidden{display:none!important}@media(max-width:1000px){.games-inner-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-copy{padding:30px}.promise{gap:10px}.story-preview{width:100px;height:185px}.workshop-feature{padding:22px}.story-feature{gap:16px}.story-feature h3{font-size:21px}.top-note{display:none}}@media(max-width:650px){#app{padding:0 18px}.topbar{padding:17px 0;margin-bottom:20px}.brand{font-size:22px}.brand img{width:39px;height:39px}.welcome{grid-template-columns:1fr;min-height:0;border-radius:24px}.welcome-copy{padding:28px 25px 0}.welcome h1{font-size:40px}.welcome p{font-size:14px}.hero-art{padding:0 15px 18px}.hero-art img{max-width:205px}.art-caption{font-size:11px}.promise{flex-wrap:wrap;font-size:10px}.feature-pair{grid-template-columns:1fr;gap:14px}.workshop-feature img{max-width:150px}.workshop-feature h3{font-size:28px}.story-preview{height:150px;width:85px}.section-heading{align-items:flex-start;flex-wrap:wrap;margin-top:25px}.section-heading>.soft-label{display:none}h2{font-size:25px}.search-shell,.search-shell input{width:100%}.games-inner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.nav-item{padding:10px 14px;flex-direction:column;gap:3px}.nav-item span{font-size:10px}.fixed-footer{border-radius:22px}.page-footer{gap:12px}.parent-panels{grid-template-columns:1fr}.manager-list{grid-template-columns:1fr 1fr}.episode-card{padding:18px;gap:18px}.episode-card>img{width:100px}.episode-card h2{font-size:22px}.player-hud{padding:8px;gap:5px}.hud-title-badge{max-width:150px}.hud-title-badge span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.hud-stars-badge{display:none}.hud-btn{padding:8px 10px}.hud-label{display:none}.hud-game-icon{width:23px;height:23px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.art-caption{margin-top:8px}.review-root{display:block!important}.review-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:sticky;top:0;background:#fff8ecf5;padding:12px 0;z-index:3}.review-controls input,.review-controls select{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;font-size:13px;color:var(--ink)}.review-controls input{flex:1;min-width:170px}.review-controls button{font-size:12px}.review-download{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 16px;font-weight:700}.review-counts{font-weight:800;color:var(--purple);font-size:14px;margin:12px 0 6px}.review-save-status{font-size:12px;margin:0 0 20px}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.review-row{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.review-row.decision-keep{border-color:#a4c99a;background:#f8fcf5}.review-row.decision-remove{border-color:#e8a8ae;background:#fff8f8}.review-game-info{display:flex;align-items:center;gap:12px}.review-game-info img{width:48px;height:48px;object-fit:cover;border-radius:12px}.review-game-info>div{flex:1;min-width:0}.review-game-info h3{font-size:15px;margin:0 0 5px;letter-spacing:0}.review-game-info small{font-size:10px;color:var(--muted)}.review-play{border:0;border-radius:10px;background:#eee8fc;color:var(--purple);padding:10px 12px;font-size:11px;font-weight:800}.review-choices{display:flex;gap:8px;flex-wrap:wrap;border:0;padding:0;margin:14px 0 10px}.review-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.review-choice{display:flex;align-items:center;gap:5px;background:#f7f5ef;border-radius:20px;padding:8px 10px;font-size:11px;cursor:pointer}.review-choice input{margin:0;accent-color:var(--purple);width:16px;height:16px}.review-choice.keep input{accent-color:#5e8b54}.review-choice.remove input{accent-color:#c56574}.review-note{border:1px solid var(--line);background:#fffdf9;border-radius:10px;padding:10px;font-size:11px;width:100%;color:var(--ink)}.review-output{width:100%;min-height:280px;border:1px solid var(--line);border-radius:15px;padding:15px;margin-top:20px;font-size:12px}@media(max-width:650px){.review-list{grid-template-columns:1fr}.review-controls{gap:8px}.review-controls input{width:100%;flex-basis:100%}.review-controls select{flex:1}.review-controls .solid-button,.review-download{padding:12px 10px}.review-choice{padding:9px 10px}}.orientation-hint{position:absolute;top:14px;left:50%;transform:translate(-50%);max-width:90%;padding:9px 14px;border-radius:18px;background:#fff8ecee;color:#4e493c;font-size:11px;text-align:center;pointer-events:none;z-index:2}
