/* Studio edition: illustrated portraits, a pixel room, readable live controls. */
:root{color-scheme:light;--bg:#faf6fc;--panel:#fffdfd;--line:#e0d3e7;--text:#3e314c;--muted:#796984;--pink:#edb6d8;--mint:#407c70;--purple:#85649d}
body{background:radial-gradient(ellipse at 10% 0,#f0e4f9,transparent 45%),#faf6fc;color:var(--text);font-size:16px;line-height:1.65}
p{color:#65536f}h3{font-size:1rem}small,.sub{font-size:.875rem;color:var(--muted)}
button,input,select{font:inherit}button{min-height:40px;padding:8px 13px;border-color:#d6c4e0;background:#eee3f5;color:#46334f;border-radius:10px;font-size:.875rem;font-weight:600;transition:background .15s,box-shadow .15s}
button:hover{background:#e9d8f2;transform:none;box-shadow:0 2px 8px #6f478519}button.primary{background:#ecc0dc;color:#4f3154;border-color:#dca4ca}button.selected{background:#9571ae;color:white;border-color:#89629f}button:disabled{cursor:not-allowed}
button:not(.primary):not(.selected):not(.minimize){background:#eee4f6;color:#493451;border-color:#d8c5e3}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #8e6bab;outline-offset:3px}
input,select{background:#fffaff;color:#493651;border-color:#d6c5e1;min-height:40px;font-size:.875rem}input[type=checkbox]{min-height:20px}
select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23806495' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
header{height:68px;max-width:1600px;padding:0 28px;border-color:#e4d6eb;background:#fffafd99;gap:16px}.brand{color:#735381;font-size:1.25rem;letter-spacing:2px;white-space:nowrap}.brand small{font-size:.75rem;color:#8a7297;letter-spacing:1px}.studio-try-link{color:#77528c;text-decoration:none;border:1px solid #d9c4e4;border-radius:9px;padding:7px 10px;font-size:.875rem;align-self:center;white-space:nowrap}header nav{align-items:center;flex-wrap:wrap}
.eyebrow{color:#90639c;font-size:.75rem}.landing{margin:35px auto}.landing p,.setup p,.ending>p{font-size:1rem}.landing-studio-link{display:inline-block;color:#805b96;text-decoration:none;padding:11px 20px;border:1px solid #d7bce4;border-radius:30px;background:#f3e8f8;margin:4px auto 10px}.preview-card{background:linear-gradient(145deg,#f7e3f2,#e1d5ef);box-shadow:7px 9px #c9b4d25c,0 0 50px #e9cbe77d;color:#755285}.mini-chips{color:#654e81}.preview-card small{color:#745c85}.character{background:linear-gradient(145deg,#f7e6f2,#ddd5f0);border-color:#d7c5e2}.character .atelier-pixel-avatar{height:220px;width:150px;margin-top:20px}.badge{color:#775087;background:#f4e8f7;border-color:#d4bbdf}
.game{max-width:1600px;padding:18px 26px 30px}.game-top{gap:16px;align-items:center;min-height:65px}.current-phase b{font-size:1.125rem}.game-top .eyebrow{font-size:.75rem;letter-spacing:1.7px}.timeline{width:170px;flex-shrink:0}.timeline small{font-size:.8125rem}.bar{background:#eae0f0;height:6px}.bar i{background:linear-gradient(90deg,#dab6df,#a983c2)}.timeline .bar{margin-top:5px}.controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:520px}.controls button{padding:6px 10px;min-height:35px;font-size:.875rem}.controls small{font-size:.75rem;color:#806a8d;flex-basis:100%;text-align:right;line-height:1.45}.studio-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 13px;border:1px dashed #cfb3db;background:#f6ebfa;border-radius:9px;font-size:.8125rem;margin:7px 0 12px;color:#795289}.studio-preview-banner a{color:#725284;font-weight:700}
.career-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:10px 13px;border:1px solid #e2d4e9;background:#fffafd;border-radius:12px}.career-steps span{display:flex;align-items:center;justify-content:center;gap:7px;padding:5px 8px;border-radius:8px;font-size:.875rem;white-space:nowrap;color:#8e7d99}.career-steps i{display:grid;place-items:center;width:21px;height:21px;border:1px solid #cdb9d8;border-radius:50%;font-size:.75rem;font-style:normal;flex:none}.career-steps .current{background:#b995ca;color:#fff;font-weight:700}.career-steps .current i{border-color:#f9efff}.career-steps .done{color:#5b8478}.career-steps .done i{background:#d7e9df;border-color:#bfd5c8}.goals{gap:8px;margin:10px 0 15px;font-size:.8125rem}.goals span{padding:3px 13px;color:#87728f;background:#f4eef7;border-color:#e2d6e9}.goals .complete{color:#376d5e;background:#e3f2e9;border-color:#b7d6c7}
.layout{grid-template-columns:minmax(210px,250px) minmax(380px,1fr) minmax(220px,275px);gap:15px;align-items:start}.panel{background:#fffdfd;border:1px solid #e0d2e8;box-shadow:0 3px 15px #5e3b7311;border-radius:15px;padding:14px;min-width:0}.main-column{gap:12px;min-width:0}
.profile{position:sticky;top:12px;max-height:calc(100dvh - 30px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d0b8de transparent}.profile .identity{display:block;margin-bottom:13px}.portrait{height:180px;width:100%;background:radial-gradient(ellipse at 50% 40%,#f9eff9,#e8daf2);border:1px solid #dfcfe8;border-radius:11px;position:relative;overflow:hidden;display:grid;place-items:center}.portrait.has-illustration{height:210px}.illustrated-portrait{width:100%;height:100%;object-fit:contain;display:block}.portrait .illustrated-portrait{position:absolute;height:auto;width:100%;top:-13%;left:0}.portrait .atelier-pixel-avatar{height:145px;width:auto;image-rendering:pixelated}.identity-copy{padding:10px 2px 0;text-align:center}.identity h2{color:#54365f;font-size:1.25rem;line-height:1.4}.identity span{font-size:.8125rem;color:#796588}.identity small{font-size:.8125rem;color:#92779d;overflow-wrap:anywhere}.profile-section{border-top:1px solid #eee4f2;padding-top:11px;margin-top:12px}.profile-section h3{font-size:.8125rem;letter-spacing:1px;color:#826391;margin-bottom:9px}.profile .stats{display:grid;grid-template-columns:1fr 1fr;gap:10px 13px;grid-row:auto;grid-column:auto}.stat{font-size:.8125rem;min-width:0}.stat>span{color:#725580;font-weight:600}.stat b{font-size:.9375rem;color:#6d4b85}.stat .bar{height:5px;margin-top:3px}.stat .bar i{background:var(--stat)}.stat small{font-size:.75rem;color:#94839e;line-height:1.4}.stat.native{opacity:.4}.profile .conditions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 6px;grid-row:auto}.condition{font-size:.75rem;position:relative}.condition b{font-size:1.125rem;color:#4c7f70}.condition small{font-size:.75rem;color:#8b7b94}.condition-meter{height:4px;background:#eee6f0;border-radius:3px;overflow:hidden;margin-top:4px}.condition-meter i{height:100%;background:#b0c7c0;display:block}.condition.danger{padding:5px;background:#fff0f0;border-radius:7px;color:#a23b58}.condition.danger b,.condition.danger small{color:#b53759}.condition.danger .condition-meter i{background:#d35478}.condition-help{display:block;font-size:.75rem;line-height:1.5;color:#8a7994}.profile .funds{grid-column:auto;display:block;background:#faf4ec;color:#856542;border:1px solid #ebddc7;border-radius:10px;margin-top:13px;padding:10px;font-size:.9375rem;font-weight:700}.funds b{display:block;font-size:1.125rem}.funds small{font-size:.75rem;color:#9a805f;font-weight:400;line-height:1.5;display:block;margin-top:4px}.profile .funds.danger{color:#a73556;background:#fff0f1;border-color:#e3a6b6}.profile .funds.danger small{color:#a14964}.profile-more{margin-top:12px;font-size:.8125rem}.profile-more summary{cursor:pointer;color:#856993}.profile-more .hud-charms{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0 0;background:none;border:0;margin:0}.hud-charms>span{background:#f1e6f6;color:#725880;border-color:#decae8;font-size:.8125rem}.hud-charms small{color:#8d759c}.hud-charms .appearance-active{color:#326d5c}.appearance-help,.appearance-help p,.appearance-explainer{color:#665170}.appearance-help p{font-size:.875rem}.profile-more p{font-size:.875rem}.profile-more .hud-charms strong{color:#6a4381}
.scene-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:.75rem;padding:2px 3px;color:#9674a5}.scene-heading>span{letter-spacing:1px}.scene-heading b{font-size:.8125rem;color:#7a5b89;font-weight:600}.atelier-scene{aspect-ratio:3/2;border:2px solid #e0c8df;border-radius:15px;position:relative;overflow:hidden;isolation:isolate;background:#e6cbda;box-shadow:inset 0 0 0 4px #fff5}.room-art{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;image-rendering:pixelated}.scene-caption{position:absolute;left:13px;top:12px;max-width:calc(100% - 26px);padding:6px 11px;background:#fff9f2ee;border:1px solid #e1c8dc;border-radius:7px;font-size:.875rem;color:#6c506f;box-shadow:2px 3px #7a52732a;z-index:5}.scene-caption>span{color:#9d72b0}.room-badge{position:absolute;right:11px;bottom:11px;color:#795c77;background:#fff5ecbe;border-radius:5px;padding:3px 7px;font-size:.625rem;letter-spacing:1px;z-index:5}.room-character{position:absolute;left:49%;bottom:13%;width:19%;aspect-ratio:1/2;transform:translateX(-50%);z-index:3;transform-origin:50% 100%;animation:studio-breathe 1.6s steps(3,end) infinite}.room-character>img,.room-character>svg{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.room-character .atelier-pixel-avatar{padding:7% 8% 0}.room-shadow{position:absolute;left:49%;bottom:13%;width:17%;height:3%;border-radius:50%;background:#7152713a;filter:blur(2px);transform:translateX(-50%);z-index:2}.room-microphone{position:absolute;left:60%;bottom:13%;height:32%;width:4px;background:#624d66;z-index:4;box-shadow:2px 0 #c0a1ae}.room-microphone:after{content:'';position:absolute;left:-15px;bottom:0;width:34px;height:4px;background:#624d66;transform:skewX(-22deg)}.room-microphone i{display:block;position:absolute;left:-7px;top:-8px;width:17px;height:10px;background:#706070;border:3px solid #59445b;border-radius:3px;transform:rotate(-20deg)}.room-notes{position:absolute;left:56%;bottom:44%;width:22%;height:20%;font-size:1.6rem;color:#8a5d99;text-shadow:1px 1px #fbeaff;z-index:4}.room-notes span{position:absolute;animation:studio-notes 2s steps(4,end) infinite}.room-notes span:nth-child(2){left:25%;animation-delay:.65s}.room-notes span:nth-child(3){left:45%;animation-delay:1.3s}.scene-status{position:absolute;left:13px;bottom:11px;padding:3px 8px;border-radius:5px;background:#fff7eecc;color:#77596c;font-size:.75rem;z-index:5;display:flex;align-items:center;gap:6px}.scene-status>span{height:6px;width:6px;border-radius:50%;background:#b8a6b9}.scene-status .running{background:#79a78e}.dance-count,.rest-cushion,.rest-symbol,.study-book,.work-bag{display:none}.scene-dance .room-microphone,.scene-dance .room-notes,.scene-rest .room-microphone,.scene-rest .room-notes,.scene-study .room-microphone,.scene-study .room-notes,.scene-work .room-microphone,.scene-work .room-notes{display:none}.scene-dance .room-character{animation:studio-dance .85s steps(2,end) infinite}.scene-dance .dance-count{display:block;position:absolute;left:37%;bottom:53%;background:#fff5efbe;padding:3px 12px;border-radius:6px;font-size:1rem;color:#946798;animation:studio-beat .85s steps(2,end) infinite;z-index:4}.scene-rest .room-character{bottom:10%;left:53%;transform:translateX(-50%) rotate(-9deg);animation:studio-rest 3s ease-in-out infinite}.scene-rest .rest-cushion{display:block;position:absolute;bottom:11%;left:40%;width:28%;height:8%;background:#baa0c9;border:5px solid #a28ab7;border-radius:40%;box-shadow:0 3px #74567555;z-index:1}.scene-rest .rest-symbol{display:block;position:absolute;left:62%;bottom:49%;font-size:1.5rem;color:#78528d;animation:studio-notes 3s steps(4,end) infinite;z-index:4}.rest-symbol span{font-size:1rem;position:relative;top:-12px;left:3px}.scene-study .study-book{display:block;position:absolute;left:55%;bottom:27%;font-size:2.5rem;color:#856794;text-shadow:2px 2px #fff5e9;z-index:4}.scene-work .work-bag{display:grid;place-items:center;position:absolute;left:58%;bottom:16%;height:17%;aspect-ratio:1;background:#bb9b79;color:#f9edcf;border:3px solid #8f6a60;font-weight:700;z-index:4}.is-still *,body:has(.modal-backdrop) .atelier-scene *{animation-play-state:paused!important}.inline-decision-slot:empty{display:none}
.practice{display:block;padding:13px 15px}.practice .practice-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.practice b{font-size:.875rem;letter-spacing:.7px;color:#795688}.practice small{font-size:.75rem;line-height:1.5;max-width:65%;text-align:right}.practice-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.practice label{font-size:.8125rem;color:#846a93}.practice select{display:block;width:100%;min-width:0;font-size:.875rem;padding:7px 30px 7px 9px;min-height:38px;margin-top:4px}.practice-help{font-size:.75rem;color:#93799e;margin-top:8px}.practice-help summary{cursor:pointer}.practice-help p{font-size:.875rem;line-height:1.7;margin:7px 0}.practice-help label{max-width:240px}
.build-side{position:sticky;top:12px;max-height:calc(100dvh - 30px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d0b8de transparent}.build-side h3{font-size:.875rem;color:#745783;letter-spacing:.6px}.build-side h3:not(:first-child){margin-top:15px}.trait,.build-side .trait{background:#f8f2fc;border:1px solid #dbcce5;padding:10px 12px;border-radius:11px;margin-bottom:9px;box-shadow:none}.tile-head,.build-side .tile-head{font-size:.875rem;color:#61456f;line-height:1.5;gap:6px}.tile-head span{overflow-wrap:anywhere}.tile-head small,.build-side .tile-head small{font-size:.6875rem;color:#a08baa;align-self:start}.trait p,.build-side .trait p{font-size:.875rem;color:#8b6e9a;line-height:1.6;margin:6px 0 0}.trait small{color:#9e8aab;font-size:.75rem}.trait.good{border-left:3px solid #a4c4b3}.trait.bad{border-left:3px solid #d19ba9;background:#fdf1f5}.trait.neutral{border-left:3px solid #b4a0d0}.trait.hidden{font-size:.875rem;background:#f5f0f8;color:#a18bab;border-style:dashed;padding:13px 8px}.trait.rare{background:linear-gradient(135deg,#fae0f4,#e7e5fc);border-color:#b887c8}.trait.rare .tile-head,.trait.rare p{color:#70427f}.trait.appearance{background:#edf6f1;border-color:#a6cdbb}.synergy-heading{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.synergy-heading h3{margin:0!important}.synergy-heading b{font-size:.875rem;color:#9e75ac}.build-side>.sub{font-size:.8125rem;margin:9px 0 12px}.codex-shortcut{width:100%;font-size:.8125rem;background:#f1e5f6!important;border-color:#ddc9e7!important;color:#7b558d!important}.studio-quests{border-top:1px solid #e8dcec;padding-top:15px;margin-top:18px}.studio-quests .section-heading{align-items:center}.studio-quests .section-heading>span{font-size:.75rem;color:#9b81a8}.studio-quests h3{font-size:.8125rem;margin:0 0 8px!important}.studio-quest{border:1px solid #e2d2e8;background:#fff9fd;border-radius:10px;padding:10px;margin-bottom:9px}.studio-quest b{display:block;font-size:.8125rem;color:#765786}.studio-quest>span{display:block;font-size:.8125rem;color:#9a7aa4;margin:5px 0}.studio-quest small{display:block;font-size:.75rem;margin-top:4px}.studio-quest button{width:100%;font-size:.8125rem;min-height:32px;margin-top:7px}.extra-training,.bonus-details{font-size:.8125rem;margin-top:14px;color:#84658f}.extra-training summary,.bonus-details summary{cursor:pointer}.challenges button{font-size:.8125rem;padding:5px 8px}.extra-training>small{display:block;margin-top:8px;font-size:.75rem}.mastery-panel,.relationship-panel{background:linear-gradient(135deg,#f5eaf9,#eaf4f1);border-color:#d2bddf;color:#725183}.mastery-panel h3,.mastery-panel>p,.mastery-badge b,.mastery-badge p,.mastery-badge small,.relationship-panel h3,.relationship-panel b,.relationship-panel small,.relationship-panel p{color:#79558b!important;font-size:.875rem}.mastery-badge{border-color:#decee9}.ad-bonus-offer{background:#eef6f4;border-color:#c5dcd3}.ad-bonus-offer>b,.bonus-traits h3{color:#53796c}.ad-bonus-offer p{font-size:.875rem;color:#6f7c76}.ad-bonus-offer small{font-size:.75rem;color:#74867f}
.activities-panel{padding:12px 15px}.tabs{gap:6px;margin-bottom:10px;padding-bottom:10px;flex-wrap:wrap}.game .tabs button,.tabs button{font-size:.8125rem;padding:5px 12px;min-height:34px;background:#f2e9f7!important;color:#8c6a9e!important;border:1px solid #e2d3eb}.game .tabs .selected{background:#b495c8!important;color:white!important}.tab-content{max-height:330px;overflow:auto;overscroll-behavior:contain;padding-right:3px;scrollbar-width:thin;scrollbar-color:#d4bbdf transparent;font-size:.9375rem}.tab-content h3{font-size:1rem}.tab-content p{font-size:.9375rem;line-height:1.75}.section-heading small{font-size:.8125rem}.next-event,.quest,.offer{background:#f6eef9;border-color:#d6c0e2;font-size:.875rem;color:#765588}.next-event small,.quest small,.offer small{font-size:.8125rem;color:#957aa2}.next-event span{color:#866493;font-size:.8125rem}.quest p,.offer p{font-size:.875rem}.company{background:#fbf7ff;border-color:#dfcee8}.company b{font-size:.9375rem;color:#684c78}.company span,.company small{font-size:.8125rem;color:#8b7299}.company.closed{opacity:.55;background:#f2edf5}.company:has(input:checked){background:#f2e2f8}.companies{max-height:320px;gap:9px}.audience span{background:#f4edf8;color:#8c719d;font-size:.8125rem}.audience b{color:#6c8d7d;font-size:1.25rem}.activity-controls>*{font-size:.875rem}.market-control,.market-control select{font-size:.875rem}.team span{background:#eee4f5;color:#694d7e}.team small{font-size:.75rem;color:#9b7eaa}.journal{font-size:.9375rem}.journal small{font-size:.75rem;color:#9b75ae}.market-pulse{background:#f2f5ed;border-color:#d5dfc8;color:#72805c}.market-pulse b{color:#728155}.market-pulse small{font-size:.75rem}.debut-progress{background:linear-gradient(135deg,#eee2f8,#e6f3ee);border-color:#cfb5de;color:#6c4f80}.debut-progress h3{color:#7b538f}.debut-progress p{font-size:.875rem;color:#8a709b}.debut-progress .section-heading>b{color:#709481}.progress-conditions span{color:#997eaa;border-color:#d8c3e4;font-size:.75rem}.progress-conditions .met{color:#4a7c65;background:#e0f0e5;border-color:#b9d7c7}.planner-owned,.planner-card{background:#fbf5ff;border-color:#dac8e5;color:#6f557f}.planner-owned>b,.planner-owned strong,.planner-heading h3,.planner-card summary{color:#79578d}.planner-owned span{background:#f2e7f7;color:#876696;border-color:#decae9}.planner-status{background:#ede0f5;color:#8c699e}.planner-card.earned{background:#edf6f1;border-color:#b7d7c6}.planner-checks li{color:#8c719c;border-color:#e0d0e9}.planner-checks li.met{color:#4e7e65;background:#e8f3ed;border-color:#bfdbcb}.planner-checks li.missing{color:#a17850}.planner-card p{font-size:.9375rem}.planner-views button,.combo-planner .filters button{font-size:.875rem}.planner-grid{gap:12px}.planner-checks small{font-size:.75rem}
.studio-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px;padding:8px;border:1px solid #dcc8e7;background:linear-gradient(90deg,#f6eaf6,#f1e8f9);border-radius:14px}.studio-bottom-nav button{border:0!important;background:transparent!important;color:#896397!important;font-size:.9375rem;min-height:43px}.studio-bottom-nav button span{font-size:1.25rem;margin-right:7px}.studio-bottom-nav button.selected{background:#b58cc3!important;color:#fff!important}.studio-bottom-nav button:hover{background:#e6d5ef!important}
.fitting-panel{padding:20px}.wardrobe-intro h2{font-size:1.4rem;color:#765286;margin-bottom:6px}.wardrobe-intro p{font-size:.875rem;line-height:1.75;margin-bottom:18px;color:#94779e}.wardrobe-display{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1fr);gap:20px}.fitting-illustration{height:420px;max-height:55dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 40%,#fffaff,#e9daef);border:1px solid #dfc9e7;border-radius:15px;overflow:hidden}.fitting-illustration .illustrated-portrait{height:100%;width:100%;object-fit:contain}.fitting-illustration .atelier-pixel-avatar{height:65%;width:80%;image-rendering:pixelated}.fitting-controls fieldset{padding:0;margin:0 0 20px;border:0}.fitting-controls legend{font-size:.8125rem;color:#9672a4;font-weight:700;margin-bottom:8px}.fitting-controls fieldset>div{display:grid;gap:7px}.look-option{font-size:.875rem;min-height:42px}.look-option.selected{background:#a381b8!important;color:#fff!important}.fitting-note{font-size:.8125rem;color:#997ca6;line-height:1.75}.fitting-footer .tabs{margin-bottom:0;border-bottom:0;padding:0}
.result-card .atelier-pixel-avatar{width:150px;height:100%;margin:auto}.card-art.illustrated-card-art{height:320px;overflow:hidden;background:radial-gradient(ellipse,#f3d8f7aa,#e8e1fb22);border-radius:10px}.illustrated-card-art .illustrated-portrait{object-fit:contain}.result-card h2,.result-card>p,.card-top{color:#fff5ff}.result-card>p{font-size:.875rem}.result-card .card-record span{font-size:.8125rem}.result-card .card-tags span{font-size:.75rem}.result-card>small{font-size:.6875rem}.tier-reference{background:#f3eaf8;color:#775289;border-color:#d7bfdf}.tier-reference summary,.tier-reference p{color:#805c91;font-size:.875rem}.tier-reference span{background:#e9dcf1;color:#805e90}.tier-reference b{color:#658771}
.decision-alert{border-color:#d6b8df!important;background:#fff6fc!important;box-shadow:0 8px 35px #724b8b33;color:#725082!important;max-width:calc(100vw - 32px)}.decision-alert b,.decision-alert small{color:#886194!important}.decision-alert b{font-size:1rem}.decision-alert small{font-size:.8125rem}.decision-alert button{font-size:.875rem}.modal{font-size:1rem}.modal h2{color:#593b68}.modal p{color:#725d80}.modal .minimize{color:#8f6d9d}.tutorial-backdrop .profile,.tutorial-backdrop .build-side{z-index:auto}.modal-backdrop{z-index:1000}body[data-tutorial-target] [data-tour-target]{z-index:auto}.modal-backdrop .modal{z-index:1002}.modal button{font-size:1rem}.modal small{font-size:.875rem}.ad-dialog-backdrop{z-index:1100}.modal .debut-insert p,.modal .debut-insert h2{color:#f7eafa}.setup .appearance-explainer{color:#7e658e}.pathway-panel{background:#f4edf9;border-color:#d6c3e3}.ad-slot{background:#f1eaf7;border-color:#d4bfdf;color:#9b81aa}#reroll-ad-host{background:#fbf6fd;border-color:#dcc9e6;color:#987ca9}
@keyframes studio-breathe{50%{transform:translateX(-50%) translateY(-3px)}}@keyframes studio-dance{0%,100%{transform:translateX(-58%) rotate(-5deg)}50%{transform:translateX(-40%) translateY(-5px) rotate(6deg)}}@keyframes studio-notes{0%{transform:translate(0,8px);opacity:.2}50%{opacity:1}100%{transform:translate(10px,-18px);opacity:0}}@keyframes studio-rest{50%{transform:translateX(-50%) translateY(2px) rotate(-9deg)}}@keyframes studio-beat{50%{opacity:.55}}
@media(min-width:1550px){.layout{grid-template-columns:260px minmax(480px,1fr) 285px}.portrait.has-illustration{height:235px}}
@media(max-width:1150px){header{padding:0 18px}.brand small{display:none}.game{padding:14px 16px 25px}.layout{grid-template-columns:210px minmax(340px,1fr)}.build-side{grid-column:1/-1;position:static;max-height:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.build-side>h3,.build-side>.synergy-heading,.studio-quests,.extra-training,.bonus-details,.build-side>.sub,.codex-shortcut,.bonus-traits,.relationship-panel{grid-column:1/-1}.build-side>.trait{margin:0}.studio-quests{display:grid;grid-template-columns:1fr 1fr;gap:9px}.studio-quests .section-heading{grid-column:1/-1}.studio-quest{margin:0}.career-steps{gap:3px;padding:8px}.career-steps span{font-size:.75rem;gap:4px;padding:5px 3px}.game-top{gap:10px}.timeline{width:140px}.controls{max-width:430px}.profile .stats{grid-template-columns:1fr}.portrait.has-illustration{height:190px}.fitting-illustration{height:360px}.wardrobe-display{gap:12px}}
@media(max-width:740px){body{font-size:16px}header{height:auto;min-height:64px;padding:12px 14px;gap:10px;align-items:flex-start}.brand{font-size:1rem;letter-spacing:1px;padding-top:7px}header nav{gap:5px;justify-content:flex-end}header nav button{min-height:34px;font-size:.8125rem;padding:5px 9px}.studio-try-link{font-size:.75rem;padding:6px 8px}.game{padding:10px 10px 22px}.game-top{flex-wrap:wrap;gap:10px}.game-top .current-phase{flex:1}.timeline{width:140px}.controls{max-width:none;flex-basis:100%;justify-content:flex-start;gap:5px}.controls small{flex-basis:100%;text-align:left}.controls button{min-height:38px}.career-steps{grid-template-columns:repeat(3,1fr);gap:4px;margin-top:12px}.career-steps span{font-size:.8125rem;justify-content:flex-start;padding:5px 8px}.goals{gap:5px;flex-wrap:wrap;justify-content:flex-start}.goals span{font-size:.75rem;padding:3px 8px}.layout{display:flex;flex-direction:column;gap:12px}.main-column{width:100%}.profile{position:static;max-height:none;width:100%;display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;padding:11px}.profile .identity{margin:0;grid-row:1/4}.portrait,.portrait.has-illustration{height:130px}.portrait .illustrated-portrait{top:-4%}.identity-copy{padding-top:5px}.identity h2{font-size:1rem}.identity span,.identity small{font-size:.75rem}.profile-section{margin:0;padding:0;border:0;grid-column:2}.profile .stats{grid-template-columns:1fr 1fr;gap:6px 12px}.profile-section h3{font-size:.75rem;margin-bottom:5px}.stat{font-size:.75rem}.stat b{font-size:.875rem}.stat small{font-size:.6875rem}.profile .conditions{gap:8px}.condition-help{font-size:.6875rem}.profile .funds{margin:0;grid-column:1/-1;font-size:.875rem;padding:8px 10px}.profile .funds small{display:inline;margin-left:7px;font-size:.75rem}.profile-more{grid-column:1/-1;margin:0}.profile .condition{font-size:.75rem}.profile .condition b{font-size:1rem}.profile .condition small{font-size:.6875rem}.scene-heading{gap:4px}.scene-heading>span{font-size:.6875rem}.scene-heading b{font-size:.75rem}.scene-caption{font-size:.75rem;left:9px;top:8px;padding:4px 8px}.room-character{width:20%}.room-notes{font-size:1.25rem}.room-badge{font-size:.5rem;right:7px;bottom:8px}.scene-status{font-size:.625rem;left:8px;bottom:8px}.atelier-scene{border-radius:12px}.practice{padding:11px}.practice .practice-heading{display:block;margin-bottom:8px}.practice small{font-size:.75rem;max-width:100%;text-align:left;margin-top:4px}.practice-fields{gap:7px}.practice select{font-size:.8125rem;padding-left:7px}.practice label{font-size:.75rem}.activities-panel{padding:11px}.tabs button,.game .tabs button{font-size:.8125rem;padding:5px 9px}.tab-content{max-height:420px}.build-side{width:100%;display:block;max-height:none;padding:13px}.build-side>.trait{margin-bottom:9px}.studio-quests{display:block}.studio-quest{margin:8px 0}.studio-bottom-nav{position:sticky;bottom:8px;z-index:20;gap:3px;padding:5px;background:#f6edf9f5;backdrop-filter:blur(8px)}.studio-bottom-nav button{font-size:.8125rem;padding:7px 2px;min-height:44px}.studio-bottom-nav button span{font-size:1rem;margin-right:2px}.studio-preview-banner{align-items:flex-start;font-size:.75rem}.studio-preview-banner a{white-space:nowrap}.wardrobe-display{grid-template-columns:minmax(110px,1fr) minmax(140px,1fr);gap:10px}.fitting-panel{padding:13px}.wardrobe-intro h2{font-size:1.15rem}.wardrobe-intro p{font-size:.8125rem}.fitting-illustration{height:330px;max-height:none}.fitting-controls fieldset{margin-bottom:12px}.look-option{font-size:.8125rem;padding:6px;min-height:38px}.fitting-controls legend,.fitting-note{font-size:.75rem}.modal-backdrop{padding:12px}.profile-reveal{grid-template-columns:1fr;gap:15px}.profile-reveal .character{max-width:200px;margin:auto}.tier-reference>div{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.atelier-scene *{animation:none!important}button{transition:none}}

/* Keep routine choices beside the room rather than over the controls. */
.inline-decision-slot .decision-alert{position:static;inset:auto;transform:none;width:100%;max-width:none;margin:0;border-radius:12px;box-shadow:0 3px 15px #82579517;padding:12px 15px;display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center}.inline-decision-slot .decision-alert>div{grid-column:1}.inline-decision-slot .decision-alert>button{grid-column:2;grid-row:1/3;min-width:95px}.inline-decision-slot .decision-alert>small{grid-column:1;font-size:.75rem}.inline-decision-slot .decision-alert small{display:block}.inline-decision-slot .decision-alert b{font-size:.9375rem}.inline-decision-slot:empty{display:none}
/* A resting sprite lies across the cushion, rather than continuing to practice. */
.scene-rest .room-character{left:62%;bottom:17%;transform:translateX(-50%) rotate(-75deg);animation:studio-rest 3s ease-in-out infinite}.scene-rest .rest-cushion{left:23%;width:48%;bottom:13%;height:10%}.scene-rest .rest-symbol{left:26%;bottom:39%}
@keyframes studio-rest{50%{transform:translateX(-50%) translateY(2px) rotate(-75deg)}}

/* Keep the everyday desktop room compact; open agency details on demand. */
.atelier-scene{aspect-ratio:16/10;max-height:390px}.activity-drawer>summary{cursor:pointer;font-size:.9375rem;color:#78558b;font-weight:600;list-style-position:inside}.activity-drawer>summary small{display:block;font-size:.75rem;color:#a085ae;font-weight:400;padding-left:18px}.activity-drawer>div{margin-top:15px}.activity-drawer[open]>summary{padding-bottom:10px;border-bottom:1px solid #e8dced}
@media(max-width:740px){.atelier-scene{aspect-ratio:3/2;max-height:none}.activity-drawer>summary{font-size:.875rem}}
/* v27: page scrolling, distinct choice text and compact combination tiles. */
.studio-game{padding-bottom:110px}.main-column,.activities-panel,.tab-content,.fitting-panel,.fitting-controls{min-width:0;max-width:100%}.activities-panel .tab-content{height:auto;max-height:none;overflow:visible;overscroll-behavior:auto;padding:0 0 24px}.activities-panel .companies{max-height:none;overflow:visible;overscroll-behavior:auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.activities-panel .tab-content>.primary{display:block;min-height:46px;margin:16px 0 24px;scroll-margin-bottom:120px}.studio-bottom-nav{margin-top:20px}.pathway-choices>.pathway-choice{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px;width:100%;min-width:0;padding:16px 18px;text-align:left;white-space:normal;line-height:1.6;border:1px solid #d9c3e7;border-radius:14px;background:#f1e6f7;color:#584268}.pathway-choice>b,.pathway-choice>span,.pathway-choice>small{display:block;flex:none;min-width:0;width:100%;overflow-wrap:anywhere}.pathway-choice>b{font-size:1rem;line-height:1.5;color:#493454}.pathway-choice>span{font-size:.9375rem;font-weight:400;line-height:1.7}.pathway-choice>small{padding-top:8px;border-top:1px solid #dac8e5;font-size:.875rem;line-height:1.6;font-weight:500;color:#81618e}.pathway-choice:nth-child(even){background:#e8eff9;border-color:#c9d8ec}
.combo-planner .planner-grid{grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr));gap:9px;align-items:start}.combo-planner .planner-card{padding:11px;border-radius:12px;min-width:0;margin:0}.planner-heading{display:block}.planner-heading h3{font-size:.9375rem;line-height:1.5}.planner-status{display:inline-block;font-size:.75rem;line-height:1.4;margin-top:5px;padding:2px 6px}.tab-content .planner-card>p{font-size:.875rem;line-height:1.55;margin:8px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.planner-card>small{font-size:.8125rem;line-height:1.5}.planner-details{margin-top:8px!important;font-size:.875rem}.planner-details>summary{padding:5px 0;font-size:.8125rem;line-height:1.5}.planner-checks{gap:5px;margin:8px 0}.planner-checks li{padding:6px 7px;gap:4px;font-size:.8125rem}.planner-checks li>span{min-width:0;flex-basis:100%}.planner-checks li>b{font-size:.8125rem}.planner-owned{padding:10px;gap:6px;margin:10px 0}.planner-owned span{padding:3px 6px;font-size:.8125rem}.planner-owned>b{font-size:.875rem}.combo-planner>p{font-size:.875rem;line-height:1.6}.planner-views,.combo-planner .filters{gap:5px;margin:9px 0}.planner-views button,.combo-planner .filters button{padding:5px 8px;font-size:.8125rem;min-height:34px}
.fitting-panel{container-type:inline-size}.wardrobe-display,.ending-fitting .wardrobe-display{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.wardrobe-display>*{min-width:0;max-width:100%}.fitting-illustration,.ending-fitting .fitting-illustration{height:480px;max-height:none;width:100%;padding:10px;box-sizing:border-box}.fitting-controls .look-option{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.fitting-controls .look-option small{white-space:normal}.fitting-controls fieldset{min-width:0}.fitting-controls fieldset>div{grid-template-columns:repeat(2,minmax(0,1fr))}.pose-compatibility{display:block;font-size:.875rem;line-height:1.65;color:#71547e;margin:0 0 9px}.category-pose:disabled .look-option{opacity:.5;cursor:default}
@container(max-width:580px){.wardrobe-display{grid-template-columns:minmax(0,1fr)}.fitting-illustration{height:430px}.fitting-controls .closet-category>div{max-height:none;overflow:visible}}
@media(max-width:740px){.activities-panel .companies{grid-template-columns:minmax(0,1fr)}.studio-game{padding-bottom:110px}.wardrobe-display,.ending-fitting .wardrobe-display{grid-template-columns:minmax(0,1fr)}.fitting-illustration,.ending-fitting .fitting-illustration{height:430px}.combo-planner .planner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-card{padding:9px!important}.planner-heading h3{font-size:.875rem}}
@media(max-width:400px){.combo-planner .planner-grid{grid-template-columns:minmax(0,1fr)}}
.planner-card>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
