:root {
  --paper:#e8efdc;--ink:#234c40;--muted:#647761;--green:#28765c;--green-dark:#1c5546;--line:#c8d5b9;--white:#fffbed;--honey:#f6c65c;--coral:#e78e7b;--purple:#a98bdd;
  font-family:ui-rounded,'SF Pro Rounded','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:radial-gradient(ellipse at 12% 0,#d9e9c9 0,transparent 38%),radial-gradient(ellipse at 97% 25%,#d6e7d4 0,transparent 35%),var(--paper)}
button,a,input,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{min-height:44px;padding:10px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--white);color:inherit;font:inherit;cursor:pointer;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}
button:hover:not(:disabled){border-color:#7ba78c;background:#f5f8e6;transform:translateY(-2px);box-shadow:0 3px 0 #294d3810}
button:active:not(:disabled){transform:translateY(1px);box-shadow:none}
button:disabled{color:#73806c;background:#e8e9da;border-color:#d6dcc7;cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,#world:focus-visible{outline:3px solid #9b63ce;outline-offset:3px}
button[aria-pressed='true']{background:var(--green);border-color:var(--green-dark);color:#fffbed;box-shadow:inset 0 1px 0 #ffffff29,0 3px 0 #1c5546}
button[aria-pressed='true']:hover:not(:disabled){background:#216a52;border-color:var(--green-dark)}
svg{display:block;flex-shrink:0}
button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.balance{display:flex;align-items:center;gap:7px;min-height:43px;padding:7px 15px 7px 9px;border:1.5px solid #dfb74f;border-radius:22px;background:#fff0b9;box-shadow:0 3px 0 #c69a351c}
.balance b{font-size:17px;color:#68501d;font-variant-numeric:tabular-nums}
.balance small{font-size:11px;font-weight:800;color:#866728}
.coin{width:27px;height:27px;fill:#f7c34f;stroke:#ce932d;stroke-width:1.3}
.coin circle:nth-child(2){fill:#ffdb74;stroke:#e5aa3d}
.coin path{fill:#e0a139;stroke:none}
.lighting-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 11px;padding:0 2px}
.lighting-copy{display:grid;gap:4px;min-width:0}
.lighting-copy>span{color:#526a54;font-size:10px;font-weight:800;letter-spacing:.3px}
.lighting-copy small{color:#7c8568;font-size:9px;line-height:1.4}
.lighting-presets{display:flex;gap:3px;flex-shrink:0;padding:3px;border:1px solid #c7d2b6;border-radius:14px;background:#f6f5e8;box-shadow:inset 0 1px 0 #fffced}
.lighting-presets button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:69px;padding:8px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#74826a;font-size:10px;font-weight:750;box-shadow:none}
.lighting-presets button svg{width:17px;height:17px;stroke-width:1.65}
.lighting-presets button:hover:not(:disabled){transform:none;background:#e8eddc;box-shadow:none}
.lighting-presets button[aria-pressed='true']{border-color:#d0b778;background:#f6e5b9;color:#785e35;box-shadow:0 1px 2px #80674313}
.lighting-presets button[data-lighting='daylight'][aria-pressed='true']{border-color:#bad1b4;background:#e1eed5;color:#477556}
.lighting-presets button[data-lighting='night'][aria-pressed='true']{border-color:#66768e;background:#344f66;color:#f5eacb}
.lighting-presets button[aria-pressed='true']:hover:not(:disabled){background:#f2dfab}
.lighting-presets button[data-lighting='daylight'][aria-pressed='true']:hover:not(:disabled){background:#d8e8c9}
.lighting-presets button[data-lighting='night'][aria-pressed='true']:hover:not(:disabled){background:#2a465e}
.toolbar{display:flex;gap:7px;padding:7px;border:1px solid #bfd0aa;border-radius:18px;background:#d7e5c3;box-shadow:0 3px 0 #bdcfa6}
.toolbar button{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:52px;padding:9px 6px;border-radius:12px;border-color:#bbcda3;background:#f8f8e6}
.toolbar button svg{width:27px;height:27px;stroke:#516849;stroke-width:1.7}
.toolbar b{font-size:11px;font-weight:750;white-space:nowrap}
.toolbar kbd{display:grid;place-items:center;width:17px;height:18px;border:1px solid #d1d9c0;border-radius:4px;background:#eaf0dc;color:#6e7a5b;font-size:9px;font-family:inherit}
.toolbar button[aria-pressed='true']{background:var(--green);border-color:var(--green-dark);color:var(--white)}
.toolbar button[aria-pressed='true'] svg{stroke:#264d3e}
.toolbar button[aria-pressed='true'] kbd{background:#23674f;border-color:#5b9276;color:#d8e8c4}
.toolbar button:disabled{background:#dfe6cf;border-color:#c9d3b8;color:#7b876d;box-shadow:none}
.toolbar button:disabled svg{opacity:.5}
.tool-hint{margin:10px 4px 0;color:#456844;font-size:11px;line-height:1.7}
.eyebrow{margin:0 0 10px;color:var(--green);font-size:10px;font-weight:800;letter-spacing:.9px}
.goal-card,.request-card{position:relative;padding:17px 17px 14px;border:1.5px solid #d7bb62;border-radius:19px;background:#fff1be;box-shadow:0 4px 0 #d9c57b42}
.goal-card::before{content:'';position:absolute;width:39px;height:7px;top:-4px;left:calc(50% - 20px);background:#deab4f;border:1px solid #f8d473;border-radius:3px;transform:rotate(-3deg)}
.goal-card .eyebrow,.request-card .eyebrow{display:flex;align-items:center;justify-content:space-between;color:#967021;font-size:10px}
#goal-count{padding:3px 6px;border-radius:5px;background:#eddb983d;letter-spacing:1px;font-size:9px}
.goal-card h2,.request-card h2{margin:0 0 7px;color:#564b27;font-size:19px;font-weight:850;letter-spacing:-.7px;line-height:1.3}
.goal-card>p:not(.eyebrow),.request-card>p:not(.eyebrow){margin:0 0 13px;color:#827046;font-size:11px;line-height:1.65}
progress{display:block;width:100%;height:7px;overflow:hidden;border:0;border-radius:5px;background:#e7d8a3;accent-color:var(--green)}
progress::-webkit-progress-bar{background:#e7d8a3;border-radius:5px}
progress::-webkit-progress-value{background:#56a075;border-radius:5px}
progress::-moz-progress-bar{background:#56a075;border-radius:5px}
.goal-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:10px;color:#7b6537}
.goal-bottom>span{line-height:1.55;font-variant-numeric:tabular-nums}
.goal-bottom button{flex-shrink:0;min-height:44px;padding:8px 11px;border-color:#347857;background:#398363;color:#fff9da;font-size:10px;font-weight:800;box-shadow:0 2px 0 #286249}
.goal-bottom button:hover:not(:disabled){background:#2b7455;border-color:#235f48}
.goal-bottom button:disabled{border-color:#d8c892;background:#f4e7b9;color:#97854f;box-shadow:none}
.request-card{border-color:#dab4c1;background:#fae8e8;box-shadow:0 4px 0 #d8b7c12e}
.request-card .eyebrow{color:#ac6b7e}
.request-card h2{color:#74525b;font-size:17px}
.request-card>p:not(.eyebrow),.request-card .goal-bottom{color:#926f74}
.request-card progress,.request-card progress::-webkit-progress-bar{background:#e8cdd2}
.request-card progress::-webkit-progress-value{background:#be7e98}
.request-card progress::-moz-progress-bar{background:#be7e98}
.shop{min-width:0;overflow:hidden;border:1.5px solid #bccfa8;border-radius:19px;background:#fffbed;padding:17px 13px 14px;box-shadow:0 4px 0 #b7c99f30}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}
.section-heading h2{margin:0;font-size:18px;font-weight:850;letter-spacing:-.6px}
.section-heading>span{padding:4px 6px;border-radius:7px;background:#edf2dc;color:#728257;font-size:9px;white-space:nowrap}
.tabs{display:flex;gap:4px;margin:14px 0 10px;padding:4px;border:1px solid #dbe4ca;border-radius:12px;background:#eaf0da}
.tabs button{flex:1;min-height:44px;padding:8px 0;border:0;border-radius:8px;background:transparent;font-size:11px;font-weight:750;color:#718160}
.tabs button[aria-pressed='true']{background:var(--green);color:#fffbed;box-shadow:0 2px 0 #1f5a47}
#catalog{display:grid;gap:7px;max-height:380px;overflow:auto;padding:2px 3px 4px;scrollbar-width:thin;scrollbar-color:#b3c39b transparent;overscroll-behavior:contain}
.item{position:relative;display:flex;align-items:center;gap:9px;min-height:74px;width:100%;padding:9px;border:1.5px solid #e0e5cf;border-radius:13px;background:#fffdf3;text-align:left}
.item-art{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:11px;background:#edf0d9;font-size:27px}
.item-art canvas{display:block;width:48px;height:48px;aspect-ratio:1;pointer-events:none}
.item-copy{flex:1;min-width:0}
.item b{display:block;font-size:12px;line-height:1.4;font-weight:800;word-break:keep-all}
.item small{display:block;margin-top:4px;color:#778362;font-size:9px;line-height:1.5;word-break:keep-all}
.item .price{color:#936b22;font-size:10px;font-weight:800;white-space:nowrap}
.item[aria-pressed='true']{background:#e9f3d9;border-color:#66a171;color:#2d593d;box-shadow:0 2px 0 #c1d3a9}
.item[aria-pressed='true']:hover:not(:disabled){background:#e1efcf;border-color:#4f8c5c}
.item[aria-pressed='true'] .item-art{background:#d7e8c1}
.item:disabled{background:#f0f0e3;border-color:#e0e2d3;color:#7d826a}
.item:disabled .item-art{filter:saturate(.4);opacity:.7;background:#e3e7d4}
.item:disabled .price{color:#91917b}
#selection{min-height:33px;margin:11px 5px 0;color:#71805f;font-size:10px;line-height:1.7}
.neighbors{display:flex;align-items:center;gap:24px;margin-top:18px;padding:18px 0;border-top:1px solid #bccdaa;border-bottom:1px solid #bccdaa}
.neighbors .eyebrow{margin-bottom:7px;color:#75935f;font-size:9px}
.neighbors h2{margin:0;font-size:18px;font-weight:850;letter-spacing:-.5px;white-space:nowrap}
.neighbor-buttons{display:flex;flex:1;gap:10px}
.neighbor-buttons button{display:flex;flex:1;align-items:center;gap:10px;padding:10px 13px;border-color:#c6d5b3;border-radius:15px;background:#f8f9e7;text-align:left}
.neighbor-buttons button>span:last-child{margin-left:auto;padding:5px;color:#7c9470;font-size:17px}
.neighbor-buttons b{display:block;font-size:12px;font-weight:800}
.neighbor-buttons small{display:block;margin-top:4px;color:#758369;font-size:10px}
.avatar{position:relative;display:block;flex:0 0 41px;width:41px;height:39px;border:1.5px solid #57836a;border-radius:48% 48% 38% 38% / 55% 55% 35% 35%;background:#90cfaa;box-shadow:inset -4px -4px 0 #3b8b4a19,inset 3px 3px 0 #ffffff38,0 3px 0 #44634314}
.avatar::before{content:'';position:absolute;top:15px;left:11px;width:3px;height:5px;border-radius:50%;background:#35524a;box-shadow:13px 0 0 #35524a}
.avatar::after{content:'';position:absolute;top:22px;left:6px;width:7px;height:4px;border-radius:50%;background:#e394818c;box-shadow:19px 0 0 #e394818c}
.avatar i{position:absolute;top:23px;left:17px;width:6px;height:4px;border:solid #456151;border-width:0 0 1.5px;border-radius:0 0 6px 6px}
.avatar.green{transform:rotate(-4deg)}
.avatar.green i::before{content:'';position:absolute;top:-31px;left:-2px;width:11px;height:7px;border:1px solid #4f8952;border-radius:0 9px 0 9px;background:#69a75d;transform:rotate(-20deg)}
.avatar.pink{border-color:#b87583;background:#ecabb9;transform:rotate(4deg)}
.avatar.pink i::before{content:'';position:absolute;top:-26px;left:8px;width:9px;height:9px;border-radius:50%;background:#ffdc77;box-shadow:0 0 0 3px #f9d4e2}
.avatar.gold{border-color:#b39446;background:#e9c667;transform:rotate(-3deg)}
.avatar.gold i::before{content:'';position:absolute;top:-29px;left:-8px;width:20px;height:6px;border-radius:60% 60% 30% 30%;border:1px solid #957643;background:#b59762;transform:rotate(8deg)}
.care-panel{display:flex;align-items:center;gap:24px;padding:18px 2px}
.care-panel h2{margin:0 0 5px;font-size:13px}
.care-panel p{margin:0;color:var(--muted);font-size:10px}
#animal-care{display:flex;flex-wrap:wrap;gap:7px}
#animal-care button{min-height:44px;padding:9px 12px;background:#faf5d8;border-color:#d4ce9c;font-size:11px}
#animal-care button:disabled{color:#7e8769;border-color:#d0d7bc;background:#e4ebd4}
.care-panel:has(#animal-care:empty){display:none}
dialog{width:calc(100% - 32px);max-width:460px;max-height:calc(100svh - 32px);margin:auto;padding:28px;overflow:auto;overscroll-behavior:contain;border:2px solid #fff8d8;border-radius:27px;background:#fffbed;color:var(--ink);box-shadow:0 0 0 1px #739777,0 8px 0 #305b3833,0 25px 80px #163c4166}
dialog::backdrop{background:#153f42a6;backdrop-filter:blur(6px)}
dialog .eyebrow{color:#7e996a;font-size:9px;letter-spacing:1.2px}
dialog h2{margin:8px 0 12px;font-size:25px;font-weight:850;line-height:1.35;letter-spacing:-.9px}
dialog p{margin:12px 0;color:#64765d;font-size:12px;line-height:1.85}
dialog .muted{color:#7c866a;font-size:10px}
.primary{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:49px;margin-top:16px;padding:13px 16px;border:1px solid #1e6149;border-radius:13px;background:var(--green);color:#fffbed;box-shadow:0 4px 0 #1d5642;font-size:13px;font-weight:800}
.primary:hover:not(:disabled){background:#216b53;border-color:#1c553f;box-shadow:0 5px 0 #1d5642}
.welcome-top{display:flex;align-items:center;justify-content:space-between;margin:-1px 0 20px}
.welcome-top img{filter:drop-shadow(0 4px 0 #3f725a17);transform:rotate(-5deg)}
.welcome-stamp{display:block;width:77px;height:77px;padding:18px 5px;border:2px dashed #c7a649;border-radius:50%;background:#fff3c7;color:#a18439;font-size:10px;line-height:1.7;text-align:center;transform:rotate(10deg)}
.welcome-stamp b{font-size:12px}
.welcome-steps{display:grid;gap:10px;margin:20px 0 16px;padding:0;list-style:none}
.welcome-steps li{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #dee7cd;border-radius:13px;background:#f0f5e2}
.welcome-steps li>span{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:10px;background:#daebc4;color:#558150;font-size:14px;font-weight:850}
.welcome-steps li:nth-child(2){background:#eef5f0;border-color:#d4e6dc}
.welcome-steps li:nth-child(2)>span{background:#cce9dd;color:#3f816e}
.welcome-steps li:nth-child(3){background:#f8f0eb;border-color:#efdccc}
.welcome-steps li:nth-child(3)>span{background:#f3d6bf;color:#a97549}
.welcome-steps b{display:block;font-size:12px}
.welcome-steps small{display:block;margin-top:4px;color:#718167;font-size:10px;line-height:1.6}
dialog .welcome-tip{font-size:11px}
.skin-settings{min-width:0;margin:18px 0;padding:13px 15px 15px;border:1px solid #dbe2ca;border-radius:14px;background:#f6f7e7}
.skin-settings legend{padding:0 5px;font-size:11px;font-weight:800}
.skin-swatches{display:flex;gap:12px}
.eye-choices{display:flex;gap:8px;flex-wrap:wrap}
.eye-choices button{flex:1;min-width:75px;padding:10px 8px;border:2px solid transparent;border-radius:12px}
.eye-choices button span{display:block;font-size:22px;line-height:1.5}
.eye-choices button[aria-pressed='true']{border-color:#8064ad;background:#ebe2f4}
.skin-swatches button{display:grid;place-items:center;width:50px;height:50px;padding:5px;border:2px solid transparent;background:transparent;border-radius:14px}
.skin-swatches button span{width:31px;height:31px;border:1px solid #5e568c40;border-radius:48% 48% 38% 38%;background:var(--purple);box-shadow:inset -3px -3px 0 #66636717,inset 2px 2px 0 #ffffff66}
.skin-swatches button[data-skin='#f2a18b'] span{background:#f2a18b}
.skin-swatches button[data-skin='#82c9b2'] span{background:#82c9b2}
.skin-swatches button[data-skin='#8fb9e7'] span{background:#8fb9e7}
.skin-swatches button[aria-pressed='true']{border-color:#8064ad;background:#ebe2f4;box-shadow:0 2px 0 #c1afd9}
.skin-swatches button[aria-pressed='true']:hover{background:#e5d9f1;border-color:#8064ad}
.settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.graphics-setting{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;margin:0 0 17px;padding:13px 14px;border:1px solid #dbe2ca;border-radius:14px;background:#f6f7e7}
.graphics-setting label{font-size:11px;font-weight:800}
.graphics-setting select{min-width:134px;min-height:44px;padding:8px 12px;border:1px solid #becbae;border-radius:10px;background:#fffbed;color:#456448;font:inherit;font-size:11px}
.graphics-setting p{grid-column:1/-1;margin:0;color:#788467;font-size:10px;line-height:1.75}
.settings-actions button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px 12px;font-size:11px;font-weight:650;text-align:left}
#motion{grid-column:1/-1}
#motion::after{content:'';width:27px;height:17px;border:3px solid #c4d1b7;border-right-width:12px;border-radius:20px;background:#fffbed}
#motion[aria-pressed='true']::after{border-color:#96c39b;border-width:3px 3px 3px 12px}
#restore-backup{grid-column:1/-1;background:#f8eee0;border-color:#e3d2b3;color:#886b46}
.dialog-cancel{width:100%;margin-top:12px;background:transparent}
#import-summary{padding:14px;border:1px solid #d6e0c5;border-radius:12px;background:#f0f5e4;color:#567344;font-weight:750}
.conversation-flower{width:49px;margin-bottom:19px;color:#d68fa3;font-size:47px;line-height:1;transform:rotate(-12deg)}
#npc-dialogue{min-height:70px;padding:17px;border-radius:15px;background:#f3f2df;color:#52654b;font-size:13px;line-height:1.95}
#journal{max-width:530px;background:linear-gradient(90deg,#e5dbc0 0 7px,#fffbed 7px);padding-left:33px}
#journal .journal-intro{margin-bottom:20px}
#journal-content h3{margin:20px 0 11px;font-size:13px}
.journal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.journal-stats>*{padding:12px 8px;border:1px solid #e5ddbe;border-radius:12px;background:#fbf1d4;text-align:center}
.journal-stats strong,.journal-stats b{display:block;color:#846c30;font-size:18px;font-weight:850}
.journal-stats small,.journal-stats span{display:block;margin-top:5px;color:#938256;font-size:10px}
.journal-list,#journal-content ul,#journal-content ol{display:grid;gap:8px;padding:0;list-style:none}
.journal-list li,#journal-content li{padding:12px;border:1px solid #e1e5d1;border-radius:12px;background:#f4f5e8;color:#7a8468;font-size:11px;line-height:1.7}
.journal-list .complete,#journal-content li.complete{border-color:#cbdcb8;background:#ebf2dd;color:#507447}
.journal-list .current,#journal-content li.current{border-color:#d6b95c;background:#fff1bb;color:#81652d}
#journal-content li strong,#journal-content li b{display:block;font-size:12px}
#journal-content li small{display:block;margin-top:3px;font-size:10px}

html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{background:#234b3d}
.app,.world-section{position:fixed;inset:0}
.world-wrap{position:absolute;inset:0;overflow:auto;overscroll-behavior:none;scrollbar-width:none;background:radial-gradient(ellipse at center,#466d42,#193d34);touch-action:pan-x pan-y}
.world-wrap::-webkit-scrollbar{display:none}
#world{display:block;width:var(--world-width,100vw);height:var(--world-height,100dvh);max-width:none;margin:0;border:0;outline:0;border-radius:0;box-shadow:none;cursor:crosshair;touch-action:pan-x pan-y}
/* Keyboard focus is shown by the selected world tile, not a screen-size frame. */
#world:focus-visible{outline:0}
#world,.world-wrap{touch-action:none}
#world.panning{cursor:grabbing}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.menu-tools{margin:0 0 18px}
.toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;border:1px solid #d1ddbf;background:#e5efd3;border-radius:16px;box-shadow:none}
.toolbar button{position:relative;flex-direction:column;gap:3px;min-width:44px;height:58px;min-height:44px;padding:7px 5px;border:1px solid transparent;border-radius:13px;background:transparent}
.toolbar button:hover:not(:disabled){background:#fffbedb8;transform:none;box-shadow:none}
.toolbar button svg{width:26px;height:26px}
.toolbar b{font-size:9px}
.toolbar kbd{display:none}
.toolbar button[aria-pressed='true']{background:#28684e;box-shadow:0 2px 7px #163c2926;border-color:#245f48}
.toolbar button:disabled{background:transparent;border-color:transparent;opacity:.55}
.ready-dot{position:absolute;right:9px;top:6px;width:8px;height:8px;border-radius:50%;background:#df8c46;box-shadow:0 0 0 2px #fff1b1}
.tool-hint{margin:10px 0 0;font-size:11px;line-height:1.6;color:#587052}
.dialog-feedback{padding:10px;border-radius:10px;background:#fff0d5;color:#804923}
dialog{border:1px solid #fdf8dcaf;box-shadow:0 20px 80px #071d3157}
dialog::backdrop{background:#0c273746;backdrop-filter:blur(3px)}
.game-drawer{width:min(460px,calc(100vw - 28px));max-height:calc(100svh - 36px);margin:18px 18px 18px auto;padding:23px;border-radius:24px;background:#f8f9ecef;backdrop-filter:blur(22px)}
.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.drawer-heading h2{margin:0;font-size:21px}
.drawer-heading .eyebrow{margin:0 0 8px}
.dialog-x{flex:0 0 44px;width:44px;height:44px;padding:0;border-color:#c8d6be;background:#edf2e3;font-size:26px;font-weight:400}
.menu-status{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:20px}
.menu-status .balance{flex:none}
#save-status{font-size:10px;line-height:1.6;text-align:right;color:#627559}
.menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.menu-actions button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:52px;padding:12px;border-color:#ccd9bd;background:#fffef1;font-size:11px;font-weight:700}
.menu-actions svg{width:19px;height:19px}
.menu-actions button[aria-pressed='true']{background:var(--green);color:var(--white);border-color:var(--green-dark)}
.lighting-toolbar{display:block;margin:24px 0 18px;padding:0}
.lighting-copy{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.lighting-copy>span{font-size:11px}
.lighting-copy small{font-size:10px}
.lighting-presets{display:flex;padding:4px;border-color:#ced8bd;background:#eaf0dd;box-shadow:none}
.lighting-presets button{flex:1;min-width:0;min-height:44px}
.help{margin:18px 0 10px;color:#687c60;font-size:10px;line-height:1.9}
.help kbd{font:inherit;font-weight:750}
.menu-links{display:flex;gap:10px}
.menu-links button{flex:1;min-height:44px;background:transparent;border:0;font-size:11px;color:#587052;text-decoration:underline;text-underline-offset:4px}
.panel-sections{display:flex;gap:4px;margin:0 0 20px;padding:4px;border-radius:13px;background:#e6edd9}
.panel-sections button{flex:1;min-height:44px;padding:8px 4px;border-color:transparent;background:transparent;font-size:11px;font-weight:700}
.panel-sections button[aria-pressed='true']{background:var(--green);border-color:var(--green-dark)}
[data-village-section]{min-width:0}
.shop{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.section-heading{display:none}
#catalog{max-height:none;overflow:visible;grid-template-columns:1fr}
.tabs{margin-top:0}
.item{min-height:76px}
.item b{font-size:13px}.item small{font-size:10px}
#selection{margin-bottom:0}
.goal-card,.request-card{padding:18px;border:0;border-radius:17px;box-shadow:none}
.goal-card::before{display:none}
.request-card{margin-top:16px}
.goal-card h2{font-size:22px}
.goal-card>p:not(.eyebrow),.request-card>p:not(.eyebrow){font-size:12px}
.goal-bottom{font-size:11px}
.goal-bottom button{font-size:11px}
.neighbors{display:block;margin:0;padding:0;border:0}
.neighbors>div:first-child{display:none}
.neighbor-buttons{display:grid;gap:10px}
.neighbor-buttons button{min-height:76px}
.neighbor-buttons b{font-size:13px}.neighbor-buttons small{font-size:11px}
.care-panel{display:block;padding:0}
.care-panel h2{font-size:16px}
.care-panel p{font-size:11px;line-height:1.7}
#animal-care{display:grid;gap:9px;margin-top:16px}
#animal-care button{min-height:52px;font-size:12px}
#save-alert{width:100%;min-height:44px;margin-bottom:14px;padding:9px 13px;border:1px solid #e5b684;background:#fff0d5;color:#804923;font-size:11px;line-height:1.5;box-shadow:none}
body.photo-mode #world{cursor:default}
@media(max-width:600px){
  .toolbar{gap:2px;padding:5px;border-radius:17px}
  .toolbar button{height:56px;padding:6px 1px;border-radius:11px}
  .toolbar button svg{width:24px;height:24px}.toolbar b{font-size:8px}
  .game-drawer{width:calc(100vw - 20px);max-height:calc(100svh - 20px);margin:auto 10px 10px;padding:21px 18px;border-radius:23px}
  dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:24px 21px;border-radius:23px}
  dialog h2{font-size:22px}
  .welcome-top{margin-bottom:16px}.welcome-top img{width:67px;height:67px}
  .welcome-stamp{width:68px;height:68px;padding:14px 5px}
  .welcome-steps{gap:8px;margin-top:16px}.welcome-steps li{padding:10px;gap:9px}
  .welcome-steps b{font-size:11px}.welcome-steps small{font-size:9px}
  .settings-actions button{padding:10px;font-size:10px}.skin-swatches{justify-content:space-between;gap:8px}
  #journal{padding-left:25px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{transition:none!important;scroll-behavior:auto!important}
