/* KUKUPAL / Sketchbook playground. Pink + chartreuse, room for each little machine. */
:root { --ivory:#f4f0e6; --paper:#fffdf7; --ink:#171715; --line:#dcd6ca; --pink:#e8b5c3; --green:#dce86a; --stone:#706c61; --serif:"Comic Sans MS","Chalkboard SE",cursive; --studio-heading:"Chalkboard SE","Comic Sans MS",var(--sans); --gutter:clamp(20px,3vw,44px); --max:1500px; }
body { margin-left:226px; background:var(--ivory); }
h1,h2,h3 { font-family:var(--studio-heading); font-style:normal; font-weight:600; letter-spacing:-.035em; }
button,a,input,select { touch-action:manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #666f16; outline-offset:4px; }
button:disabled { cursor:wait; }
.studio-sidebar { position:fixed; inset:0 auto 0 0; z-index:40; width:226px; display:flex; flex-direction:column; padding:30px 14px 18px; background:#f8f5ed; border-right:1px solid var(--line); overflow-y:auto; }
.studio-brand { display:block; width:158px; margin:0 auto 8px; }
.studio-brand img { display:block; width:100%; height:auto; }
.sidebar-caption { font-size:10px; text-align:center; color:var(--stone); margin:6px 0 42px; }
.studio-nav { display:flex; flex-direction:column; gap:10px; }
.studio-nav button,.studio-help { display:flex; align-items:center; gap:17px; width:100%; min-height:49px; padding:11px 17px; border:1px solid transparent; border-radius:11px; background:transparent; text-align:left; text-decoration:none; font-size:13px; font-weight:500; }
.studio-nav svg,.studio-help svg { width:24px; height:24px; flex:none; }
.studio-nav button:hover,.studio-help:hover { background:#ece8dd; }
.studio-nav button.active { background:var(--green); border-color:#d0dc5c; }
.studio-help { margin-top:23px; border-top:1px solid var(--line); border-radius:0; padding-top:22px; }
.sidebar-note { margin:32px 14px 20px; position:relative; padding:15px 12px 18px; border:1px dashed #c9c1ae; border-radius:70% 60% 40% 50% / 20% 10% 15% 13%; transform:rotate(-3deg); text-align:center; }
.sidebar-note img { width:94px; height:70px; object-fit:cover; }
.sidebar-note p { font-family:var(--studio-heading); font-size:14px; line-height:1.5; margin:0; }
.sidebar-note>span { position:absolute; right:8px; top:3px; color:#aa4f6c; font-size:25px; }
.sidebar-bottom { margin-top:auto; display:flex; align-items:center; gap:10px; padding:20px 9px 0; }
.profile-initial { display:grid; place-items:center; width:38px; height:38px; flex:none; border:1px solid #cba1ae; background:var(--pink); border-radius:50%; font-size:16px; }
.sidebar-bottom strong { display:block; max-width:140px; overflow:hidden; text-overflow:ellipsis; font-size:12px; font-weight:500; }
.sidebar-bottom div>span { display:block; color:var(--stone); font-size:10px; margin-top:2px; }
.site-header.studio-topbar { display:flex; justify-content:space-between; gap:24px; min-height:77px; padding:16px var(--gutter); background:rgba(248,245,237,.96); backdrop-filter:blur(10px); }
.studio-page-name { font-family:var(--studio-heading); font-size:23px; letter-spacing:-.04em; margin:0; white-space:nowrap; }
.studio-page-name>span { color:#9a7742; display:inline-block; margin-left:7px; font-size:21px; transform:rotate(15deg); }
.mobile-brand { display:none; }
.studio-top-actions { display:flex; align-items:center; gap:22px; }
.studio-top-actions>.view-link,.account-button { letter-spacing:0; text-transform:none; font-size:12px; padding:7px 0; background:transparent; border:0; }
#account-button { max-width:125px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.studio-search { display:flex; align-items:center; gap:10px; width:clamp(180px,22vw,350px); border:1px solid #cdc8ba; padding:8px 13px; border-radius:30px; }
.studio-search svg { width:18px; height:18px; flex:none; }
.studio-search input { width:100%; min-width:0; background:transparent; border:0; font-size:12px; outline:none; }
.studio-search:focus-within { outline:2px solid #8a9540; }
.account-menu { right:0; min-width:200px; }
.eyebrow { font-family:var(--sans); font-size:9px; letter-spacing:.15em; font-weight:500; margin:0 0 9px; color:var(--stone); }
.pet-studio { max-width:var(--max); margin:0 auto; padding:28px var(--gutter) 0; scroll-margin-top:100px; }
.pet-section-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:16px; }
.pet-section-heading h1 { font-size:clamp(24px,2.1vw,33px); line-height:1.3; }
.pet-section-heading h1>span { display:inline-block; margin-left:8px; color:#a44d69; transform:rotate(-15deg); }
.local-pet-note { margin:0; color:var(--stone); font-size:10px; line-height:1.7; text-align:right; }
.pet-studio-row { display:flex; align-items:stretch; flex-wrap:wrap; gap:12px; }
.studio-pets { display:contents; }
.pet-profile-wrap { position:relative; }
.pet-profile { display:flex; align-items:center; gap:14px; min-width:190px; max-width:230px; height:108px; padding:14px 20px 14px 13px; border:1px solid #d9d2c4; border-radius:11px; background:#fcf9f0; text-align:left; }
.pet-profile[aria-pressed=true] { border:2px solid #c5d437; background:#fbfbed; padding:13px 19px 13px 12px; box-shadow:0 0 0 1px #dce86a66; }
.pet-profile img { width:68px; height:68px; border-radius:50%; object-fit:cover; flex:none; }
.pet-profile strong { display:block; font-family:var(--studio-heading); font-size:17px; max-width:105px; overflow:hidden; text-overflow:ellipsis; }
.pet-profile small { display:block; font-size:10px; margin-top:4px; color:var(--stone); }
.pet-profile[aria-pressed=true] small { padding:2px 9px; border-radius:12px; background:var(--green); color:var(--ink); }
.pet-profile-edit { position:absolute; top:4px; right:6px; border:0; background:transparent; border-radius:5px; font-size:14px; width:27px; height:27px; }
.pet-profile-edit:hover { background:var(--pink); }
.add-pet-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; width:187px; min-height:108px; padding:10px; border:1px dashed #bfb8a8; border-radius:11px; background:transparent; }
.add-pet-card>span { font-size:32px; line-height:1; font-weight:300; }
.add-pet-card strong { font-family:var(--studio-heading); font-size:15px; font-weight:500; }
.add-pet-card small { color:var(--stone); font-size:9px; }
.add-pet-card:hover { background:#eeefce; }
.pet-ready-note { margin-left:auto; display:flex; align-items:center; gap:10px; min-width:205px; padding:9px 17px; background:#edd0d588; border-radius:59% 41% 54% 46% / 11% 14% 12% 15%; }
.pet-ready-note img { width:65px; height:65px; object-fit:cover; mix-blend-mode:multiply; }
.pet-ready-note p { font-family:var(--studio-heading); font-size:14px; line-height:1.4; margin:0; max-width:220px; overflow-wrap:anywhere; }
.pet-ready-note p>span { font-family:var(--sans); font-size:10px; color:#6e5b60; }
.studio-status { min-height:17px; font-size:11px; color:#6c5332; margin:9px 0 0; }
.machine-shelf { max-width:var(--max); margin:0 auto; padding:24px var(--gutter) 30px; }
.shelf-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:4px; }
.shelf-heading h2 { font-size:clamp(29px,2.9vw,41px); }
.shelf-heading p:not(.eyebrow) { font-size:12px; color:var(--stone); margin:9px 0 0; }
.sketch-spark { display:inline-block; font-family:serif; font-weight:400; color:#9ba73e; font-size:31px; margin-left:14px; transform:rotate(13deg); }
.playground-note { font-family:var(--studio-heading); color:#88717a; font-size:13px; transform:rotate(-4deg); white-space:nowrap; }
.playground-note>span { color:#aa4f6c; font-size:23px; }
.machine-track { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(12px,1.5vw,24px); overflow:visible; padding:0; scroll-snap-type:none; }
.machine-card { display:flex; flex-direction:column; min-width:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent !important; }
.machine-art-link { height:clamp(220px,21vw,315px); display:flex; align-items:end; justify-content:center; text-decoration:none; background:transparent; }
.machine-cutout { display:block; position:relative; overflow:hidden; width:100%; aspect-ratio:var(--machine-ratio); transition:transform .25s ease; }
.machine-cutout img { position:absolute; width:var(--sheet-width); max-width:none; height:auto; left:var(--sheet-left); top:0; pointer-events:none; }
.machine-art-link:hover .machine-cutout { transform:translateY(-7px) rotate(-1deg); }
.machine-card-copy { padding:5px 2px 0; }
.machine-state { font-size:8px; line-height:1.3; letter-spacing:.08em; color:#77616b; text-transform:uppercase; font-weight:500; }
.machine-card h3 { font-size:clamp(16px,1.5vw,23px); line-height:1.35; margin:7px 0 7px; white-space:nowrap; }
.machine-card p { min-height:36px; font-size:10px; line-height:1.65; color:var(--stone); margin:0; }
.machine-card .machine-action { display:flex; align-items:center; justify-content:space-between; gap:4px; min-height:42px; padding:10px 13px; margin-top:15px; background:var(--ink); color:#fffdf6; border:1px solid var(--ink); border-radius:8px; text-decoration:none; font-size:10px; font-weight:500; line-height:1.4; transition:background .2s,color .2s,transform .2s; }
.machine-action:hover { background:var(--green); color:var(--ink); transform:translateY(-2px); }
.machine-action>span { font-size:18px; line-height:1; }
.studio-recent { max-width:var(--max); margin:0 auto; padding:17px var(--gutter) 42px; border-top:1px solid var(--line); }
.recent-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; gap:15px; }
.recent-heading h2 { font-size:24px; }
.recent-heading button { border:0; background:transparent; font-size:11px; }
.studio-recent-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); gap:24px; }
.studio-portrait-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.studio-portrait { min-width:0; text-align:left; padding:0; background:#fcf9f2; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.studio-portrait:hover { border-color:#958d72; }
.studio-portrait img { display:block; width:100%; aspect-ratio:1.2; object-fit:cover; }
.studio-portrait strong { display:block; padding:10px; font-size:10px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.studio-empty { align-content:center; grid-column:1/-1; border:1px dashed #c7bfb0; border-radius:12px; padding:28px; text-align:center; }
.studio-empty>span { font-size:35px; color:#ad637a; display:block; line-height:1; }
.studio-empty h3 { font-size:19px; margin:12px 0 8px; }
.studio-empty p { font-size:11px; color:var(--stone); margin:0; }
.studio-empty button { background:var(--green); border:1px solid #bdc94a; border-radius:7px; font-size:11px; padding:8px 14px; margin-top:15px; }
.made-to-keep { background:#ebc4ce7a; border:1px solid #d7b6bf; border-radius:12px; padding:25px; position:relative; overflow:hidden; }
.made-to-keep h3 { font-size:25px; line-height:1.3; margin:7px 0 9px; }
.made-to-keep p { font-size:11px; max-width:230px; color:#6d5a5f; }
.made-to-keep button { border:0; border-bottom:1px solid #847066; border-radius:0; padding:7px 0; background:transparent; font-size:11px; }
.keep-flower { position:absolute; right:10px; bottom:-15px; font-size:95px; color:#c0cc47; line-height:1; transform:rotate(-15deg); opacity:.8; pointer-events:none; }
.studio-portraits-page .studio-portrait-grid { margin-top:32px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.story { display:none; }
.how { padding:36px var(--gutter) 45px; border-top:1px solid var(--line); margin:auto; max-width:var(--max); }
.how h2 { font-size:27px; }
.how ol { margin-top:25px; }
.how li strong { font-size:14px; }
.how li p { font-size:12px; }
.how li>span { font-size:20px; }
.page-view { padding:32px var(--gutter) 50px; margin:0 auto; max-width:var(--max); }
.page-heading h1 { font-size:clamp(30px,3.5vw,48px); }
.site-footer { background:transparent; border-top:1px solid var(--line); padding:30px var(--gutter); color:var(--ink); }
.footer-brand img { filter:brightness(0); width:80px; opacity:.8; }
.footer-brand p { color:var(--stone); font-family:var(--sans); font-size:11px; font-style:normal; }
.footer-links button { color:var(--ink); font-size:10px; }
.footer-legal { color:var(--stone); font-size:10px; }
/* The actual interactive machines also stand on the page, without a backdrop panel. */
.machine-stage,.machine-stage:has(.capsule-mode),.machine-stage:has(.vending-mode),.machine-stage:has(.booth-mode),.machine-stage:has(.pet-mode) { background:transparent; border:0; border-radius:0; box-shadow:none; padding:20px 0; }
.slot-machine { --machine:min(390px,calc(100vw - 70px)); --shell:#e8b5c3; --shell-deep:#dc9fb1; --gold:#9da33c; --gold-light:#e4eb9e; --gold-deep:#58601f; --cream:#fffaf1; }
.machine-crown { background:#edc5d0; box-shadow:none; border-color:var(--ink); }
.machine-body { background:#e8b5c3; border:2px solid var(--ink); box-shadow:5px 6px 0 #17171518; }
.machine-window { background:var(--green); box-shadow:none; border:1px solid var(--ink); }
.machine-base { box-shadow:none; }
#machine-switch { border:1px solid #b5af9f; background:#faf6eb; border-radius:7px; padding:8px 13px; font-size:11px; }
.draw-info h1 { font-size:clamp(30px,3vw,45px); }
.draw-drop { border-radius:10px; background:#fcf9f0; }
.draw-page .breadcrumb { font-size:10px; }
.draw-info p { font-size:13px; }
/* Dialogs use their own layout; the original portrait creation dialogs stay intact. */
dialog.pet-profile-dialog { width:min(480px,calc(100vw - 32px)); padding:28px; border:1px solid var(--ink); border-radius:17px; background:var(--paper); }
dialog.pet-profile-dialog[open] { display:block; }
dialog::backdrop { background:#17171560; backdrop-filter:blur(3px); }
.pet-dialog-heading { display:flex; justify-content:space-between; align-items:start; gap:14px; margin-bottom:24px; }
.pet-dialog-heading h2 { font-size:27px; }
.pet-dialog-heading button,.portrait-close { border:0; background:transparent; font-size:28px; line-height:1; padding:0 3px; }
#pet-profile-form>label:first-of-type { display:flex; flex-direction:column; gap:7px; font-size:12px; }
#pet-profile-form input[name=petName] { border:1px solid var(--line); padding:12px; border-radius:7px; background:transparent; width:100%; font-size:14px; }
.pet-upload-label { display:block; padding:16px; border:1px dashed #b0a895; border-radius:9px; text-align:center; margin-top:18px; font-size:13px; cursor:pointer; }
.pet-upload-label span { display:block; font-size:10px; color:var(--stone); }
#profile-photo { display:block; font-size:11px; margin:9px 0; max-width:100%; }
#profile-photo-preview { width:88px; height:88px; border-radius:50%; object-fit:cover; margin:10px auto; display:block; }
.pet-storage-info { font-size:10px; color:var(--stone); }
#pet-form-error { color:#9e3052; font-size:12px; }
.pet-form-actions { display:flex; align-items:center; gap:17px; flex-wrap:wrap; }
.pet-form-actions .primary-button { background:var(--green); border:1px solid var(--ink); color:var(--ink); border-radius:8px; font-size:11px; padding:12px 17px; letter-spacing:0; text-transform:none; }
.pet-form-actions .text-button { font-size:11px; text-transform:none; letter-spacing:0; }
dialog.studio-portrait-dialog { width:min(650px,calc(100vw - 32px)); padding:25px; border:1px solid var(--ink); border-radius:14px; background:var(--paper); }
dialog.studio-portrait-dialog[open] { display:block; }
.studio-portrait-dialog h2 { font-size:22px; margin:0 30px 20px 0; }
.portrait-close { position:absolute; right:18px; top:18px; }
#studio-portrait-image { display:block; max-height:65vh; width:100%; object-fit:contain; margin-bottom:18px; }
.studio-portrait-dialog .primary-button { border-radius:8px; font-size:10px; text-transform:none; letter-spacing:0; }
@media(min-width:1700px) { .machine-art-link { height:330px; } }
@media(max-width:1180px) {
 body { margin-left:194px; }
 .studio-sidebar { width:194px; padding-left:10px; padding-right:10px; }
 .studio-brand { width:135px; }
 .studio-nav button { gap:12px; font-size:12px; }
 .studio-top-actions { gap:14px; }
 .studio-search { width:190px; }
 .studio-page-name { font-size:21px; }
 .machine-track { grid-template-columns:repeat(3,minmax(0,1fr)); gap:27px; }
 .machine-art-link { height:265px; }
 .machine-cutout { max-width:205px; }
 .machine-card h3 { font-size:22px; }
 .machine-card p { font-size:11px; }
 .machine-card .machine-action { font-size:11px; }
 .pet-ready-note { display:none; }
 .draw-layout { grid-template-columns:1fr; }
 .machine-stage { max-width:580px; width:100%; margin:auto; }
 .studio-recent-layout { grid-template-columns:1fr; }
 .made-to-keep { min-height:195px; }
 .made-to-keep br { display:none; }
 .studio-portraits-page .studio-portrait-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
 body { margin-left:0; padding-bottom:75px; }
 .studio-sidebar { inset:auto 0 0; width:100%; height:70px; overflow:visible; padding:6px 5px calc(6px + env(safe-area-inset-bottom)); border-top:1px solid #d4cbb9; border-right:0; background:#faf7ee; }
 .studio-brand,.sidebar-caption,.studio-help,.sidebar-note,.sidebar-bottom { display:none; }
 .studio-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; width:100%; }
 .studio-nav button { flex-direction:column; gap:3px; padding:5px 1px; min-height:54px; border-radius:8px; font-size:9px; line-height:1.3; }
 .studio-nav svg { width:21px; height:21px; }
 .site-header.studio-topbar { padding:10px 17px; gap:10px; min-height:72px; }
 .mobile-brand { display:block; width:66px; flex:none; line-height:0; }
 .mobile-brand img { width:100%; }
 .studio-page-name { display:none; }
 .studio-top-actions { gap:15px; }
 .studio-search { width:140px; padding:7px 9px; }
 .studio-search input { font-size:10px; }
 .studio-search svg { width:14px; height:14px; }
 #account-button { max-width:65px; font-size:10px; }
 .studio-top-actions>.view-link { font-size:10px; }
 .local-pet-note { display:none; }
 .pet-studio { padding-top:24px; }
 .pet-section-heading .eyebrow { font-size:8px; }
 .pet-section-heading h1 { font-size:25px; }
 .pet-studio-row { gap:10px; }
 .pet-profile { min-width:150px; max-width:180px; padding:10px; height:90px; gap:9px; }
 .pet-profile[aria-pressed=true] { padding:9px; }
 .pet-profile img { width:51px; height:51px; }
 .pet-profile strong { font-size:15px; max-width:90px; }
 .add-pet-card { min-height:90px; width:145px; }
 .add-pet-card small { display:none; }
 .machine-shelf { padding-top:18px; }
 .shelf-heading h2 { font-size:29px; }
 .shelf-heading .eyebrow { font-size:8px; }
 .playground-note { display:none; }
 .sketch-spark { font-size:23px; margin-left:6px; }
 .machine-track { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 17px; }
 .machine-art-link { height:240px; }
 .machine-cutout { max-width:180px; }
 .machine-card h3 { font-size:19px; }
 .machine-state { font-size:7px; letter-spacing:.03em; }
 .machine-card p { font-size:10px; min-height:38px; }
 .machine-card .machine-action { font-size:10px; padding:9px 10px; margin-top:9px; min-height:42px; }
 .studio-portrait-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .studio-portraits-page .studio-portrait-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .studio-recent .studio-portrait:nth-child(n+3) { display:none; }
 .recent-heading h2 { font-size:23px; }
 .recent-heading button { white-space:nowrap; }
 .shelf-heading p:not(.eyebrow) { font-size:11px; }
 .site-footer { grid-template-columns:1fr; padding-bottom:30px; }
 .footer-links { flex-wrap:wrap; }
 .draw-layout { gap:20px; }
 .machine-stage { margin:0; }
 .slot-machine { --machine:min(365px,calc(100vw - 45px)); }
}
@media(max-width:390px) { .studio-search { width:110px; } .studio-top-actions { gap:11px; } .machine-art-link { height:215px; } .machine-card h3 { font-size:17px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .machine-cutout,.machine-action { transition:none; } .machine-art-link:hover .machine-cutout { transform:none; } }
/* Keep the machines on one common floor; their transparent canvas isn't a card. */
.studio-status:empty { display:none; }
.machine-shelf .shelf-heading { padding:0; margin:0; }
.machine-card .machine-art-link { margin:0; height:244px; }
.machine-card .machine-cutout { height:290px; width:auto; max-width:100%; margin-bottom:-18px; flex:none; }
.studio-help { color:var(--ink); }
@media(min-width:1700px) { .machine-card .machine-art-link { height:290px; } .machine-card .machine-cutout { height:350px; } }
@media(max-width:1180px) { .machine-card .machine-art-link { height:250px; } .machine-card .machine-cutout { height:310px; } }
@media(max-width:760px) { .machine-card .machine-art-link { height:208px; } .machine-card .machine-cutout { height:255px; margin-bottom:-14px; } }
.machine-card h3 { font-family:var(--studio-heading); }
.studio-custom { margin:12px 9px 0; padding:10px 5px; border:1px dashed #b4ab98; border-radius:8px; font-size:11px; background:transparent; }
.studio-custom:hover { background:var(--pink); }
@media(max-width:760px) { .studio-custom { display:none; } }
/* Reuse the transparent capsule artwork in the actual interactive experience. */
.capsule-sprite { display:block; position:relative; width:100%; aspect-ratio:390 / 620; overflow:hidden; }
.capsule-mode .capsule-art { position:absolute; display:block; width:550.2564%; max-width:none; height:auto; left:-126.9231%; top:-16.129%; }
.capsule-mode .capsule-visual { max-width:350px; }
.capsule-mode #capsule-turn { top:71%; left:41%; width:23%; background:transparent; border:0; box-shadow:none; }
.capsule-mode #capsule-turn::after { content:none; }
.capsule-mode #capsule-turn:hover,.capsule-mode #capsule-turn:focus-visible { outline:3px dashed var(--ink); outline-offset:3px; }
.capsule-mode[data-state=spinning] .capsule-art,.capsule-mode[data-state=printing] .capsule-art { animation:none; }
.capsule-mode[data-state=spinning] .capsule-sprite { animation:studio-wiggle .8s ease-in-out infinite alternate; }
@keyframes studio-wiggle { from { transform:rotate(-1deg); } to { transform:rotate(1deg); } }
.vending-mode .vending-visual { background:var(--pink); border:2px solid var(--ink); box-shadow:5px 5px 0 #17171515; }
.vending-brand,.booth-sign { background:#fbf6df; color:var(--ink); border:1px solid var(--ink); }
.vending-outfits { background:#e9edb9; border:2px solid var(--ink); }
.vending-outfits button { border-width:1px; color:var(--ink); }
.vending-outfits button[aria-pressed=true] { border-color:var(--ink); background:var(--green); }
#vending-generate,#booth-generate { background:var(--green); color:var(--ink); border:1px solid var(--ink); font-size:13px; }
.booth-mode .booth-visual { background:var(--pink); border:2px solid var(--ink); box-shadow:5px 5px 0 #17171515; }
.booth-window { background:var(--paper); border:2px solid var(--ink); }
.booth-curtain { background:repeating-linear-gradient(90deg,#d69cad 0 14px,#e8b5c3 14px 28px); border-color:var(--ink); }
.pet-mode .pet-visual { background:var(--green); border:2px solid var(--ink); box-shadow:5px 5px 0 #17171515; }
.pet-brand { color:var(--ink); }
.pet-screen { background:var(--paper); border:4px solid #abb750; }
#pet-mood { background:#eff1d5; }
.pet-visual button { background:var(--pink); color:var(--ink); }
.pet-wardrobe button[aria-pressed=true] { border-color:var(--ink); background:var(--pink); }
@media(prefers-reduced-motion:reduce) { .capsule-mode[data-state=spinning] .capsule-sprite { animation:none; } }


/* Shared current navigation for commerce and generation pages. */
body{margin-left:200px}.unified-sidebar{width:200px;padding:30px 13px}.unified-sidebar>a{display:block;width:143px;margin:0 auto}.unified-sidebar>a img{width:100%;height:auto}.unified-sidebar .studio-nav{margin-top:32px;display:grid;gap:10px}.unified-sidebar .nav{display:flex;align-items:center;gap:14px;padding:13px 15px;border-radius:10px;font-size:12px;color:#171715;text-decoration:none}.unified-sidebar .nav i{font-size:23px;font-style:normal;width:25px;text-align:center}.unified-sidebar .nav:hover,.unified-sidebar .nav.active{background:#dce86a}.unified-sidebar .sidebar-foot{margin-top:auto;padding:24px 8px 0;font-size:9px;color:#797568}.unified-footer{display:flex;justify-content:center;gap:28px;font-size:11px}.unified-footer a{color:#797568;text-decoration:none}@media(max-width:1000px)and(min-width:651px){body{margin-left:165px}.unified-sidebar{width:165px}.unified-sidebar>a{width:125px}}@media(max-width:650px){body{margin-left:0}.unified-sidebar{display:none}.studio-topbar{margin-left:0}}

.unified-sidebar{inset:0 auto 0 0;height:auto;border-top:0;border-right:1px solid var(--line)}.unified-sidebar .studio-nav{grid-template-columns:1fr}.unified-mobile{display:none}body{padding-bottom:0}body[data-page="market"] .unified-sidebar a[href="/market"],body[data-page="draw"] .unified-sidebar a[href="/#machines"]{background:#dce86a}@media(max-width:650px){.unified-mobile{display:flex;justify-content:center;gap:20px;padding:12px 10px;border-bottom:1px solid var(--line);font-size:10px}.unified-mobile a{color:#171715;text-decoration:none}}
