/* CHEERLEADER GAMES - cohesive pastel game design, touch-first */
:root{--ink:#684c5a;--muted:#9a7786;--rose:#e8789d;--rose-deep:#bd587b;--blush:#ffe8ef;--cream:#fffaf3;--lilac:#eee5ff;--white:#fff;--mint:#c6ede1;--yellow:#ffdf99;--line:#f2d8df;--shadow:0 14px 35px rgba(113,67,88,.13)}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;background:radial-gradient(circle at 16% 18%,#fff8cb 0,transparent 27%),radial-gradient(circle at 84% 13%,#e5daff 0,transparent 35%),linear-gradient(135deg,#f8dbe7,#e8f5f5 65%,#fef0d7);font-family:'Trebuchet MS',Verdana,sans-serif;color:var(--ink);overflow:auto;align-items:center;min-height:100dvh;padding:28px 16px;user-select:none;-webkit-tap-highlight-color:transparent}
body::before{content:'✿  ·  ✦  ·  ♡  ·  ✿';position:fixed;top:13px;right:5%;color:#deaec9;letter-spacing:22px;opacity:.55;pointer-events:none}button,input{font:inherit}button{touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #b28bff;outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.03)}button:disabled{opacity:.57;cursor:not-allowed}
.tv-wrapper{width:min(1480px,100%);max-width:1480px;min-height:770px;padding:13px;background:linear-gradient(135deg,#fff9f3,#fbe8ed);border:1px solid #fff;border-radius:32px;box-shadow:0 22px 80px #92637b31,0 4px 18px #af79961a}
.tv-wrapper::before{display:none}.tv-screen{height:min(870px,calc(100dvh - 75px));min-height:690px;overflow-x:hidden;overflow-y:auto;border:1px solid #f6dce5;border-radius:23px;background:var(--cream);box-shadow:none;scrollbar-color:#e8b4c7 transparent;scrollbar-width:thin}.tv-glass{display:none}.app-brand{position:relative;z-index:3;height:49px;display:flex;gap:8px;align-items:center;padding:0 26px;background:rgba(255,255,255,.84);border-bottom:1px solid #f4e2e7;font-size:14px;letter-spacing:.2px}.brand-flower{font-size:27px;color:var(--rose)}.brand-badge{margin-left:auto;font-size:11px;border-radius:30px;background:#ffe4ed;color:#b35e7c;padding:6px 12px}
.screen{height:auto;min-height:calc(100% - 49px);padding:32px 36px;background:radial-gradient(circle at 8% 10%,#fff8e8,transparent 40%),linear-gradient(150deg,#fff2f5,#f3ebfb 63%,#e6f6f2);color:var(--ink);text-align:center;justify-content:flex-start;gap:7px}.screen.active{animation:fadeSlide .28s ease-out}@keyframes fadeSlide{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.screen h2{color:var(--ink);text-shadow:none;font-size:clamp(24px,2.6vw,36px);letter-spacing:-.8px;margin:10px 0}.premium-subtitle{font-size:14px;letter-spacing:0;background:#fffaf9;color:var(--muted);border:1px solid var(--line);padding:10px 20px;margin:5px 0 14px;border-radius:30px}.eyebrow{font-weight:800;color:#bc718c;font-size:12px;letter-spacing:3px}.page-sub{color:var(--muted);margin:0 0 18px}
#intro-screen{justify-content:center;position:relative;overflow:hidden;gap:12px;background:radial-gradient(circle at 50% 25%,#fff9e2,transparent 44%),linear-gradient(137deg,#fce8ed,#f6f0ff 50%,#e5f4e8)}.hero-glow{position:absolute;width:350px;height:350px;left:calc(50% - 175px);top:12%;border-radius:50%;background:#fff5fa;border:30px solid #fff8ffe0;box-shadow:0 0 0 70px #ffffff33;pointer-events:none}.hero-title{font-size:clamp(54px,7vw,90px);letter-spacing:-4px;line-height:.95;color:#cb638e;font-weight:900;text-shadow:none;margin:6px;z-index:1}.hero-title em{font-style:normal;color:#7faaba}.hero-heart{display:inline-block;font-size:30px;vertical-align:top;color:#f3aa6e;margin-left:12px;animation:heartBeat 2.1s infinite}@keyframes heartBeat{50%{transform:scale(1.2)}}.hero-copy{font-size:16px;line-height:1.7;color:#8c6f7d;z-index:1;margin:0}.hero-friends{display:flex;align-items:flex-end;justify-content:center;gap:clamp(8px,3vw,50px);width:100%;max-width:520px;margin:15px auto;z-index:1}.hero-friends img{width:clamp(60px,8vw,115px);height:130px;max-height:19vh;object-fit:contain;filter:drop-shadow(0 12px 9px #b47e8755);animation:heroFloat 3s ease-in-out infinite}.hero-friends img:nth-child(2){animation-delay:.5s}.hero-friends img:nth-child(3){animation-delay:.9s}.hero-friends img:nth-child(4){animation-delay:1.4s}@keyframes heroFloat{50%{transform:translateY(-9px)}}.hero-btn{width:auto!important;padding:17px 42px!important;z-index:1}.hero-hint{z-index:1;color:#a08d95;font-size:12px}.big-btn,.action-btn,.buy-btn,.equip-btn,.pill-primary{background:linear-gradient(135deg,#eb82a4,#d46f9c)!important;color:#fff!important;border:1px solid #fff9!important;border-radius:18px;box-shadow:0 8px 19px #d579aa46;font-family:inherit;font-weight:800;letter-spacing:0;font-size:15px;text-shadow:none;transition:transform .17s,box-shadow .17s}.big-btn:hover,.action-btn:hover,.pill-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 22px #d579aa65}.big-btn:active,.action-btn:active{transform:scale(.97)}.back-btn{color:#9b647e;text-shadow:none;margin-top:10px;padding:12px;font-weight:800;text-decoration:none;border-radius:14px;font-size:14px}.back-btn:hover{background:#ffffff9e}.name-input{border:2px solid #f3cbd7;border-radius:18px;background:#fff;color:var(--ink);font-size:19px}.loading-bar-container{border:0;background:#fff;box-shadow:inset 0 0 0 1px #efd4df;height:17px}.loading-fill{background:linear-gradient(90deg,#f4b3d1,#bba8e7)}.load-copy{font-weight:700;color:#b87c92}
.char-grid{max-width:760px;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:25px 0}.char-btn{min-height:220px;background:#fff;box-shadow:var(--shadow);border:2px solid #fff;border-radius:24px;justify-content:center;gap:12px}.char-btn:hover{transform:translateY(-6px);box-shadow:0 18px 28px #af829c28;border-color:#f3becf}.char-btn:active{transform:scale(.98)}.char-btn img{width:min(100%,130px);height:130px;object-fit:contain}.char-btn span{color:var(--ink);font-size:16px}
#game-screen{padding:22px 25px 25px}.game-layout{gap:16px;min-height:640px;height:auto;align-items:stretch}.side-panel{flex:0 0 246px;border:1px solid #f5d9e3;border-radius:24px;background:#fffdfbfa;box-shadow:var(--shadow);padding:19px;overflow:visible;color:var(--ink)}.left-panel{gap:3px}.right-panel{flex-basis:258px}.panel-kicker{font-size:10px;letter-spacing:2px;font-weight:900;text-align:left;color:#bc7b95;margin:5px 0}.panel-header{border-bottom:none;color:var(--ink);font-family:inherit;text-align:left;font-size:clamp(22px,2vw,27px);padding:0;margin:2px 0 6px;overflow-wrap:anywhere}.economy-box{padding:13px 12px;margin:12px 0 16px;background:linear-gradient(120deg,#fff4c8,#ffe7b5);border:1px solid #ffdfa0;color:#946339;text-shadow:none;box-shadow:none;border-radius:17px;font-family:inherit;font-weight:800;font-size:15px;display:flex;justify-content:space-between;align-items:center}.economy-box strong{color:#a77939}.stat-row{font-size:12px;color:#8d6f7d;text-align:left;display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:5px 0 9px}.progress-bar{width:100%;height:10px;box-shadow:none;border:0;background:#f4eef1}.progress-fill{height:100%;border-radius:15px}.mood-caption{background:#f8eefa;padding:10px;border-radius:14px;margin-bottom:8px;color:#ac7598;font-size:12px;font-weight:700}.center-panel{min-height:620px;border:1px solid #fff;border-radius:26px;box-shadow:var(--shadow);flex:1;background-position:center;background-size:cover;overflow:hidden;isolation:isolate}.center-panel::before{content:'';position:absolute;inset:0;background:linear-gradient(to top,#432f3e50,transparent 35%);z-index:1;pointer-events:none}.room-label{position:absolute;top:18px;left:18px;z-index:5;background:#fffefaee;border:1px solid #fff;border-radius:100px;padding:11px 19px;font-size:13px;box-shadow:var(--shadow);font-weight:800;color:#92667b}.pet-container{width:clamp(185px,23vw,285px);height:clamp(185px,23vw,285px);transform:translateY(-11px);z-index:3;flex-shrink:0}.pet-img,.pet-accessory{width:100%;height:100%;object-fit:contain;image-rendering:auto;animation:petBreathe 3.6s ease-in-out infinite;transform-origin:50% 78%;pointer-events:none}.pet-img{z-index:5}.pet-container::before{content:'';position:absolute;bottom:0;left:12%;width:75%;height:12px;background:#67445945;filter:blur(9px);border-radius:50%}@keyframes petBreathe{50%{transform:translateY(-7px) scale(1.025)}}.pet-container:hover .pet-img{cursor:pointer}.speech-bubble{font-family:inherit;white-space:normal;min-width:140px;max-width:245px;top:-63px;background:#fffdfb;border:2px solid #f6cada;color:#97647b;padding:10px 14px;font-size:12px;border-radius:20px;box-shadow:var(--shadow)}.speech-bubble::after{border-top-color:#f6cada}.speech-bubble.show{top:-73px}.quick-actions{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:6;display:flex;gap:7px;padding:10px;background:#fffffff1;border:1px solid #fff;border-radius:19px;box-shadow:0 10px 30px #46354722;max-width:96%}.quick-actions button{min-width:67px;border:1px solid #f5e0e5;color:#8d6681;border-radius:12px;background:#fff4f7;padding:10px 9px;font-size:11px;font-weight:900;cursor:pointer}.quick-actions button:hover{background:#ffe1ea}.room-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.room-btn{border:1px solid #f0dce4;border-radius:14px;background:#fff5f7;color:#8f7180;min-height:47px;padding:8px;font-size:12px}.room-btn.active{background:#ef91ae;color:#fff;box-shadow:0 5px 13px #ef91ae43;border-color:#ef91ae}.room-actions{margin-top:9px}.room-actions .action-btn{width:100%;font-size:12px;padding:12px 8px;margin:5px 0;background:linear-gradient(120deg,#c4a5e1,#af9bdd)!important;box-shadow:0 5px 11px #b39de539}.right-panel .divider{border:0;border-top:1px dashed #ead3dd;margin:12px 0}.cozy-extra-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.cozy-extra-actions button{flex:1 1 30%;border:1px solid #eac9d7;background:#fff3f7;border-radius:10px;min-height:39px;font-size:10px;color:#a36e85;font-weight:800;cursor:pointer}.cozy-extra-actions button:hover{background:#ffe1ec}.quests{border-radius:18px;background:#fcf5fa;border:1px solid #f4e1e9;margin-top:14px;padding:11px}.quest-heading{display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:12px;margin-bottom:7px}.quest-heading span{color:#b28ba0;font-size:10px}.quest-list{display:grid;gap:7px}.quest-row{background:#fff;border:1px solid #f6e5eb;border-radius:11px;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px;text-align:left}.quest-row span{font-size:10px;line-height:1.3}.quest-row button{font-size:10px;border:0;border-radius:8px;background:#f2d7e3;color:#8c6681;padding:7px;white-space:nowrap;font-weight:800;cursor:pointer}.quest-row button:not(:disabled){background:#e797b6;color:#fff}.daily-btn{margin-top:10px;width:100%;border:1px solid #ffd5a0;background:#fff0c9;border-radius:12px;padding:12px;font-size:11px;font-weight:900;color:#916b4e;cursor:pointer}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.food-item{color:#866a79;border:1px solid #f4d6e2}
.screen-heading{width:100%;text-align:center}.screen-heading h2{margin:5px}.screen-heading p{margin:4px auto 15px;color:#9f7a8c;font-size:14px}.screen-heading p b{color:#b2718d}.deluxe-grid{max-width:900px;width:100%;max-height:unset;overflow:visible;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:12px 0;padding:4px}.shop-item{border:1px solid #f4dfe8;border-radius:20px;box-shadow:0 6px 18px #b986a51a;background:#fffdfd;min-height:175px;gap:5px;padding:12px}.shop-item img{width:85px;height:85px;object-fit:contain;filter:drop-shadow(0 3px 4px #a96f8440);margin-bottom:2px}.shop-item span{font-size:11px;color:var(--ink)}.shop-item small{font-size:10px;color:#b69aaa;margin-top:auto;line-height:1.4}.shop-item .buy-btn,.shop-item .equip-btn{border:0;border-radius:10px;padding:10px 7px;box-shadow:none;font-size:11px;margin-top:7px;min-height:35px}.shop-item.is-equipped{border:2px solid #e2a3c0;background:#fff2f8}.shop-item.is-selected{border:2px solid #bb98e2;background:#faf4ff}.shop-item .equip-btn{background:linear-gradient(135deg,#ac9cdb,#9e8bd1)!important}
.wardrobe-shell{display:grid;width:100%;max-width:1100px;grid-template-columns:minmax(245px,.85fr) minmax(350px,1.6fr);gap:16px;align-items:stretch;margin:10px 0}.wardrobe-heading p{margin-bottom:7px}.wardrobe-preview,.wardrobe-content{border:1px solid #f3dfe6;border-radius:23px;background:#fffcfdf2;box-shadow:var(--shadow);padding:16px;min-width:0}.outfit-name{font-size:13px;font-weight:800;text-align:center;color:#ac7d93}.outfit-stage{position:relative;height:312px;width:min(100%,324px);margin:8px auto;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 65%,#fff9f5 0,#ffeaf3 55%,#f7eafd 100%);border-radius:42% 42% 24px 24px}.outfit-stage:after{content:'';position:absolute;bottom:28px;left:20%;width:60%;height:12px;background:#93698044;filter:blur(10px)}.outfit-stage .pet-base,.outfit-stage .wardrobe-layer{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:300px;max-width:100%;height:300px;object-fit:contain;pointer-events:none}.outfit-stage .wardrobe-layer[data-type=top]{z-index:2}.outfit-stage .wardrobe-layer[data-type=dress]{z-index:3}.outfit-stage .wardrobe-layer[data-type=hat]{z-index:5}.outfit-stage .wardrobe-layer[data-type=glasses]{z-index:6}.outfit-stage .wardrobe-layer[data-type=scarf]{z-index:7}.outfit-stage .wardrobe-layer[data-type=bow]{z-index:8}.preview-label{font-size:12px;color:#ab718b;padding:7px}.wardrobe-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.pill-primary,.pill-secondary{border:0;border-radius:12px;padding:12px 16px;min-height:43px;cursor:pointer;font-size:12px;box-shadow:none}.pill-secondary{background:#f3e7ee;border:1px solid #ebd2df;color:#956e82;font-weight:800}.wardrobe-content{min-height:440px;text-align:left}.wardrobe-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:9px;scrollbar-width:thin}.wardrobe-tabs button{white-space:nowrap;min-height:38px;border:1px solid #efd4df;border-radius:11px;padding:9px 11px;background:#fff4f9;color:#a2758c;font-size:11px;font-weight:800;cursor:pointer}.wardrobe-tabs button.active{background:#e688aa;color:white;border-color:#e688aa}.wardrobe-count{font-size:11px;color:#ae8897;margin-top:4px}.wardrobe-content .deluxe-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:340px;overflow-y:auto;margin:9px 0}.wardrobe-content .shop-item{min-height:155px}.wardrobe-content .shop-item img{width:63px;height:63px}.closet-empty{grid-column:1/-1;text-align:center;color:#ad8496;background:#fff6f9;border-radius:15px;padding:30px 16px;font-size:20px;line-height:1.8}.closet-empty small{font-size:13px}.inline-market{display:block;margin:10px auto;border:0;background:transparent;color:#b06b91;text-decoration:underline;cursor:pointer;font-size:12px}.wardrobe-back{margin:0}
#minigames-screen{justify-content:flex-start}.games-grid-menu{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1020px;max-height:none;overflow:visible;gap:13px}.game-card-btn{font-family:inherit;background:#fff!important;border:1px solid #f2dce5!important;color:#835d73!important;text-shadow:none;box-shadow:0 9px 25px #966b851c;min-height:130px;border-radius:18px;padding:12px 8px;font-size:17px;justify-content:center}.game-card-btn::first-line{font-size:17px}.game-card-btn small{font-family:inherit;font-size:10px;color:#b297a5}.game-card-btn:hover{transform:translateY(-3px);box-shadow:0 12px 22px #966b8533}.new-game-card .game-icon{font-size:32px;margin-bottom:7px}.new-game-card b{font-size:13px}.games-grid-menu .game-card-btn:nth-child(3n+1){background:#fff6d9!important}.games-grid-menu .game-card-btn:nth-child(3n+2){background:#e6f8f5!important}.games-grid-menu .game-card-btn:nth-child(3n+3){background:#f9edff!important}
/* fully playable five-game shared arcade */
#arcade-screen{gap:14px;justify-content:flex-start}.arcade-top{width:100%;max-width:850px;display:flex;align-items:center;justify-content:space-between;gap:14px}.arcade-exit{border:1px solid var(--line);background:#fff;border-radius:13px;color:#9c758b;padding:11px;font-size:12px;font-weight:800;cursor:pointer}.arcade-title{display:flex;align-items:center;gap:12px}.arcade-title span{font-size:30px}.arcade-title h2{font-size:23px}.arcade-status{font-size:12px;border-radius:30px;padding:10px;background:#fff9f6;color:#a9758d;font-weight:800}.arcade-play-area{height:470px;max-height:54vh;min-height:300px;width:100%;max-width:850px;border:2px solid #fff;border-radius:24px;background:radial-gradient(circle at 60% 20%,#fffaf6,transparent 30%),linear-gradient(135deg,#fbe8ef,#e8efff 50%,#dff4e8);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.arcade-bottom{width:100%;display:flex;gap:16px;align-items:center;justify-content:center;font-size:13px;color:#a07f91}.arcade-bottom button{font-size:12px}.arcade-bottom button[hidden]{display:none}.star-arena,.bubble-arena{position:absolute;inset:0}.sky-star,.bubble-object{border:0;position:absolute;display:grid;place-items:center;background:transparent;cursor:pointer;font-size:45px;filter:drop-shadow(0 7px 8px #bd8cb149);animation:starPulse 1.4s ease-in-out infinite;touch-action:manipulation;min-width:57px;min-height:57px}.sky-star:hover,.bubble-object:hover{transform:scale(1.14)}.bubble-object{font-size:45px}.bubble-object.burst{transform:scale(1.8);opacity:0;transition:.2s}@keyframes starPulse{50%{translate:0 -9px;rotate:6deg}}.quiz-question{font-size:25px;margin:0 0 30px;color:var(--ink)}.game-quiz{flex-direction:column;padding:20px}.quiz-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;width:min(390px,100%)}.quiz-choice{font-size:54px;background:#fffdff;border:2px solid #f1d9e8;border-radius:20px;min-height:95px;cursor:pointer}.quiz-choice:hover{background:#fce6f2}.flower-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;width:min(520px,94%)}.flower-pot{min-height:95px;font-size:45px;border:2px solid #fffdff;border-radius:20px;background:#f9e9d7;cursor:pointer}.flower-pot.blooming{background:#fff2b5;animation:flowerBloom .5s ease-in-out}@keyframes flowerBloom{50%{transform:scale(1.08)}}.game-color{display:flex;flex-direction:column}.color-hint{font-size:17px;font-weight:800;color:#a47c92}.simon-grid{display:grid;grid-template-columns:repeat(2,1fr);width:min(340px,85%);gap:13px;margin:6px 0 18px}.simon-pad{border:4px solid #fff;border-radius:28px;min-height:125px;background:var(--pad-color);color:#ffffffc7;font-size:45px;box-shadow:0 8px 15px #77607733;cursor:pointer;transition:filter .12s,transform .12s}.simon-pad.flash{filter:brightness(1.3) saturate(1.6);transform:scale(1.075)}.result-card{background:#fffdfc;border:1px solid #f6d4e2;border-radius:25px;padding:35px 45px;box-shadow:var(--shadow)}.result-card .result-icon{font-size:60px}.result-card h3{font-size:26px;color:#b87999;margin:8px}.result-score{font-size:16px;color:#a5808c}.result-card p{font-weight:800;color:#c07b94}
/* Bottom sheet-style toast rather than browser alert or top notification */
#game-notice{position:fixed;bottom:22px;left:50%;transform:translate(-50%,160%);min-width:220px;max-width:min(440px,calc(100vw - 30px));background:#fffefa;border:1px solid #f3cddf;color:#97677d;padding:16px 24px;text-align:center;font-weight:800;font-size:13px;line-height:1.45;border-radius:20px;box-shadow:0 14px 40px #7251684a;pointer-events:none;opacity:0;z-index:9999;transition:transform .28s ease,opacity .28s ease}#game-notice.visible{opacity:1;transform:translate(-50%,0)}#game-notice.positive{border-color:#c7e9d2}#game-notice.negative{border-color:#ffb9bd}
.music-ui{left:18px;bottom:16px;z-index:90;background:#fffcfbe8;backdrop-filter:blur(12px);border:1px solid #f2d4dd;border-radius:17px;padding:12px;box-shadow:0 12px 32px #85637a2b;width:220px;display:flex;flex-direction:column;align-items:stretch;gap:5px}.player-heading{display:flex;align-items:center;gap:7px;color:#a8758d;font-size:12px}.player-heading span{font-size:19px}.sound-collapse{margin-left:auto;background:#fff;border:1px solid #eecfdd;border-radius:10px;color:#a8758d;cursor:pointer;padding:4px 8px}.music-ui.collapsed #sound-panel{display:none}.music-ui.collapsed{width:auto}.audio-setting{display:grid;grid-template-columns:62px 26px 1fr;gap:8px;align-items:center;margin:12px 0 4px;font-size:10px}.mini-toggle{width:25px;height:25px;background:#fff2f7;color:#ae6689;border:1px solid #f2d7e4;border-radius:9px;cursor:pointer}.audio-setting input[type=range]{width:100%;accent-color:#df85ab;height:5px}.ambient-setting{font-size:11px;color:#9f7489;display:flex;gap:6px;align-items:center}.ambient-setting input{accent-color:#dd81a7}
/* Restore responsiveness even on older mobile Safari */
@media(max-width:1050px){body{padding:12px}.tv-wrapper{padding:8px;min-height:0}.tv-screen{min-height:0;height:calc(100dvh - 27px)}.screen{padding:25px 18px}.game-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px}.left-panel{grid-column:1;grid-row:1}.center-panel{grid-column:2;grid-row:1;min-height:510px}.right-panel{grid-column:1/-1;grid-row:2;flex-basis:auto}.right-panel .room-nav{grid-template-columns:repeat(4,1fr)}.right-panel .quests{max-width:100%}.side-panel{overflow:visible}.wardrobe-shell{grid-template-columns:minmax(205px,.8fr) minmax(340px,1.6fr)}.deluxe-grid{grid-template-columns:repeat(4,1fr)}.games-grid-menu{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){body{padding:0;display:block;background:#fff3f7}.tv-wrapper{border:0;padding:0;border-radius:0;box-shadow:none;width:100%;min-height:100dvh;background:#fff}.tv-screen{border:0;height:100dvh;min-height:0;border-radius:0}.app-brand{height:51px;padding:0 15px}.screen{min-height:calc(100% - 51px);padding:18px 12px 95px}.hero-title{font-size:64px}.hero-friends{gap:1px}.hero-friends img{height:105px;width:24%}.hero-copy{font-size:13px}.char-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.char-btn{min-height:160px;padding:10px}.char-btn img{height:105px}.screen h2{font-size:25px}.screen-heading p{font-size:12px}.big-btn{padding:13px!important;font-size:17px}.game-layout{display:flex;flex-direction:column;gap:10px;min-height:0;width:100%}#game-screen{padding:12px 12px 96px}.center-panel{order:1;width:100%;height:370px;min-height:370px;margin:0;flex:none;border-radius:21px}.pet-container{height:185px;width:185px;transform:translateY(-11px)}.room-label{font-size:10px;top:9px;left:8px;padding:9px 11px}.quick-actions{bottom:10px;padding:7px;gap:5px}.quick-actions button{min-width:65px;padding:9px 7px;font-size:10px}.left-panel{order:2;width:100%;margin:0;flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;padding:13px}.panel-kicker{grid-column:1/-1}.panel-header{display:block;grid-column:1;margin:0;font-size:20px}.left-panel .economy-box{grid-column:2;margin:0;padding:10px;font-size:12px}.left-panel .mood-caption{grid-column:1/-1;margin:0}.left-panel .stat-row{font-size:11px;margin:3px 0}.stat-row{gap:4px}.right-panel{order:3;width:100%;padding:13px;flex:none;margin:0;display:block}.right-panel .room-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.room-btn{min-width:0;font-size:11px;padding:7px 4px}.cozy-extra-actions button{font-size:11px}.quests{padding:12px}.wardrobe-shell{display:flex;flex-direction:column;gap:10px}.wardrobe-preview{padding:10px}.outfit-stage{height:220px;max-width:245px;margin:4px auto}.outfit-stage .pet-base,.outfit-stage .wardrobe-layer{top:0;width:220px;height:220px}.wardrobe-actions{margin:3px}.wardrobe-content{padding:12px;min-height:280px}.wardrobe-content .deluxe-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}.deluxe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shop-item{padding:8px;min-height:148px}.shop-item img{height:66px;width:66px}.shop-item span{font-size:10px}.shop-item .equip-btn,.shop-item .buy-btn{font-size:10px;min-height:35px}.games-grid-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-card-btn{min-height:110px;font-size:14px}.new-game-card .game-icon{font-size:25px}.arcade-top{flex-wrap:wrap;justify-content:center;gap:4px}.arcade-title{order:-1;width:100%;justify-content:center}.arcade-title h2{font-size:20px!important}.arcade-play-area{min-height:350px;height:450px;max-height:55dvh}.flower-grid{gap:7px}.flower-pot{min-height:68px;font-size:30px}.simon-pad{min-height:80px;border-radius:20px}.arcade-bottom{flex-wrap:wrap}.speech-bubble{min-width:130px;max-width:180px;font-size:11px}.music-ui{bottom:8px;left:8px;width:195px;opacity:.96}.music-ui:not(.collapsed){width:195px}.audio-setting{grid-template-columns:54px 23px 1fr;gap:5px}.app-brand{font-size:12px}#game-notice{bottom:72px;font-size:12px}}
@media(max-width:380px){.quick-actions button{min-width:55px;font-size:9px}.wardrobe-content .deluxe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-title{font-size:54px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.room-style-button{margin-top:10px;min-height:38px;width:100%;background:#faf4ff;border:1px solid #e9d8f2;border-radius:12px;color:#a17aa6;font-weight:800;font-size:11px;cursor:pointer}.room-style-button:hover{background:#f2e8fc}.salon-thought{padding:12px;margin-top:12px;border-radius:16px;background:linear-gradient(110deg,#fff6f8,#f4ecfb);font-size:12px;color:#986f86;text-align:left}.salon-thought strong{color:#a56d89}.salon-thought p{font-size:11px;line-height:1.5;margin:7px 0 0}
