/* Small paper stationery: one compact panel, legible text, quiet illustrations. */
:root{--ink:#554d42;--muted:#82796b;--line:#ddd3c3;--paper:#fffaf1;--card:#fffcf7;--sage:#e9eddf;--green:#52684c;--sage-line:#b1bea1}
html,body{font-size:14px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,input,select,textarea{letter-spacing:0;line-height:1.45}
#pet-menu{width:332px;height:min(520px,calc(100dvh - 32px));max-width:calc(100vw - 24px);padding:12px;border:1px solid #d1c4af;border-radius:20px;background:linear-gradient(115deg,#fffdf8,#fff9ef);box-shadow:0 5px 20px #554d421a, inset 0 0 0 3px #fffdf766;bottom:16px}
body.native #pet-menu{width:326px;height:calc(100dvh - 6px);max-width:calc(100vw - 6px);max-height:none;bottom:3px;padding:12px;border-radius:18px}
.menu-chrome,.menu-tabs{background:transparent}
.menu-header{min-height:36px;gap:7px}
.menu-header>canvas{width:38px;height:38px}
.menu-header h2{font-size:17px;font-weight:600;line-height:1.35;margin:0;letter-spacing:0;overflow-wrap:anywhere}
.menu-header small{font-size:10px;line-height:1.4}
.menu-header #show-more,.menu-header #close-menu{width:34px;min-width:34px;height:34px;min-height:34px;border:1px solid #e1d8c9;border-radius:11px;padding:5px;background:#fffcf5}
.menu-header #show-more canvas{width:23px;height:23px;display:block;margin:auto}
.menu-header #close-menu{font:24px/1 Gowun,sans-serif;color:#796f60}
.wallet{min-height:32px;margin:5px 0 8px;font-size:11px;gap:4px}
.wallet b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet canvas{width:17px;height:17px}
.wallet>.common-controls{gap:5px}
.wallet .common-controls button,.wallet #bag-count{min-height:30px;padding:4px 7px;font-size:10px;line-height:1.4;border-radius:9px;white-space:nowrap}
.wallet #bag-count{background:#f3eadb}
.menu-tabs{gap:4px;padding:0 0 8px;border-bottom:1px solid #e5ddce}
.menu-tabs button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;min-height:50px;padding:4px 2px;font-size:11px;line-height:1.3;border-radius:11px;border-color:transparent;background:transparent;color:#796e5c}
.menu-tabs button canvas{width:25px;height:25px;flex:none}
.menu-tabs button[aria-pressed=true]{background:#eaf0e1;border-color:#c1cdb2;color:#4d6547}
#menu-content{padding:12px 1px 4px;min-height:0;scroll-padding:8px}
.menu-footer{padding-top:6px;border-color:#e5ddce}
.menu-footer:has(#menu-message:empty){display:none}
.menu-footer #menu-message{margin:0;font-size:11px;line-height:1.55;max-height:44px}
.action-btn{min-height:36px;padding:7px 10px;font-size:12px;border-radius:10px;background:linear-gradient(#fffef9,#f8f1e5);box-shadow:inset 0 1px #ffffffaa}
.action-btn.primary{background:linear-gradient(#edf2e6,#e2e9d7);border-color:#b6c4a6;color:#4c6547;font-weight:600}
.text-button{min-height:32px;padding:5px 4px;font-size:11px;line-height:1.45;border-radius:8px;white-space:normal;word-break:keep-all}
.section-heading{gap:8px;margin-bottom:7px}
.section-heading h3{font-size:14px;letter-spacing:0;line-height:1.45}
.section-heading>span{font-size:10px}
.section-note,.micro{font-size:11px;line-height:1.65;letter-spacing:0;word-break:keep-all;overflow-wrap:break-word;margin:6px 0 12px}
.work-section{margin-bottom:15px}
.job-grid{gap:6px}.job-choice{min-height:43px;padding:5px 8px;gap:7px;border-radius:11px}.job-choice span{font-size:13px}.job-choice canvas{width:28px;height:28px}
.crop-choices{gap:5px}.crop-choices button{min-height:82px;padding:7px 3px;border-radius:12px}.crop-choices canvas{width:30px;height:30px}.crop-choices b{font-size:11px;line-height:1.45;word-break:keep-all;white-space:normal}.crop-choices small{font-size:10px;line-height:1.4;margin-top:4px}
.crop-choices .plan-locked{background:#f5f0e8;border-style:solid}.crop-choices .plan-locked canvas{filter:saturate(.65);opacity:.65}
.growth-entry{min-height:60px;margin-bottom:13px;padding:10px;border-radius:12px;gap:8px}.growth-entry>span:first-child{min-width:0}.growth-entry b{font-size:12px;line-height:1.5}.growth-entry small{font-size:10px;line-height:1.5}.growth-entry>span:last-child{padding:6px;border:1px solid #c9d3bc;background:#f5f8ef;border-radius:8px;font-size:10px;white-space:nowrap}
.first-order{width:100%;text-align:center;background:#f7efde;margin-bottom:8px}
.source-loot{gap:5px}.source-item{padding:7px 9px;gap:10px;border-radius:11px}.source-item canvas{width:32px;height:32px}.source-item b{font-size:12px}.source-item small{font-size:10px}
.work-notice{padding:10px;border-radius:12px}.work-notice b{font-size:12px}.work-notice small{font-size:10px}
.queued-plan{font-size:11px;padding:8px}
.sub-tabs,.book-jobs{gap:5px;margin-bottom:10px}
.sub-tabs button,.book-jobs button,.book-sources button{min-height:34px;padding:6px;font:12px/1.4 Gowun,sans-serif;border-radius:9px}
.book-sources{gap:4px;margin:7px 0}.book-sources button{font-size:10px;word-break:keep-all}.collection-progress{font-size:11px;margin:10px 0}
.bag-summary{margin:0 0 7px;gap:6px}.bag-summary b{font-size:12px;line-height:1.5;white-space:nowrap}
.sale-panel{padding:0;margin:0 0 10px;border:0;background:transparent;border-radius:0}
.sale-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:6px;align-items:stretch}
.sale-toolbar>button{margin:0;width:auto;min-height:42px;border-radius:11px}
.sale-toolbar>.action-btn{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;font-size:11px}
.sale-toolbar>.action-btn b{white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}
.sale-toolbar .sale-settings-button{display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid var(--line);background:#fbf6ec;padding:5px;font-size:10px}
.sale-settings-button canvas{width:19px;height:19px;flex:none}
.sale-settings-button[aria-expanded=true]{background:#ecefdf;border-color:#b6c4a6}
#sale-settings{padding:11px 10px 9px;margin-top:7px;border:1px solid #d8decb;border-radius:12px;background:#f2f5e9}
#sale-settings fieldset{border:0;padding:0;margin:0}#sale-settings legend{font-size:11px;margin-bottom:7px;color:#617356}
.grade-checks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.grade-checks label{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:50px;font-size:10px;border:1px solid #ddd4c3;border-radius:9px;background:#fffdf6}
.grade-checks label:has(input:checked){background:#e5edda;border-color:#aebf9d}
.grade-checks .grade-3:has(input:checked){background:#eee5f3;border-color:#cab3d8}.grade-checks .grade-4:has(input:checked){background:#faf0d5;border-color:#d8c187}
.sale-panel input{width:16px;height:16px;margin:0;accent-color:#789067;flex:none}
#sale-settings .reserve-check{min-height:38px;margin-top:7px;font-size:11px;gap:6px}
#sale-settings p{font-size:10px;line-height:1.6;color:#7a806b;margin:4px 0 0;word-break:keep-all}
.collection-grid{gap:6px}
.collection-grid .album-entry{padding:8px;min-height:65px;gap:7px;border-radius:12px}
.album-entry canvas{width:31px;height:31px;flex:none}.album-entry div{font-size:12px;line-height:1.5}.album-entry small{font-size:10px;line-height:1.4;margin-top:2px}
.bag-items .album-entry{display:flex;min-height:63px}.bag-item-copy{min-width:0;flex:1}.bag-item-copy b{font-size:12px;font-weight:500;word-break:keep-all;overflow-wrap:break-word}.bag-item-copy small{font-size:10px;color:var(--muted);white-space:nowrap}
.item-quantity{font-size:14px;white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums;display:flex;gap:2px;align-items:baseline}
.item-quantity small{font-size:9px;color:var(--muted);font-weight:400}
.item-lock{display:flex;flex:none;align-items:center;justify-content:center;flex-direction:column;gap:1px;min-width:48px;min-height:44px;padding:3px;border:1px solid #e4d9c7;border-radius:9px;background:#faf5eb}
.item-lock canvas{width:17px;height:17px;opacity:.6;filter:saturate(.5)}.item-lock span{font-size:9px;white-space:nowrap;line-height:1.4;color:#85765f}
.item-lock[aria-pressed=true]{background:#e8eedd;border-color:#aebf9e}.item-lock[aria-pressed=true] canvas{opacity:1;filter:none}.item-lock[aria-pressed=true] span{color:#4f6848}
.bag-items .grade-3{background:#f5eff7;border-color:#ded1e6}.bag-items .grade-4{background:#fff6e1;border-color:#e6d6ad}
.order-card,.family-note{padding:12px;border-radius:13px}.order-card>small{font-size:10px}.order-card h3{font-size:16px;line-height:1.5;margin:4px 0 10px;word-break:keep-all}.order-card>div{gap:0}
.order-card .order-need{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #eee5d8}
.order-card .order-need canvas{width:32px;height:32px}.order-need-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.order-need-copy b{font-size:12px;line-height:1.4;font-weight:500;word-break:keep-all}
.order-need-copy .order-count{display:block;font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-card .order-count span{display:inline;font-size:11px;color:#948675}
.order-card .source-link{width:auto;max-width:106px;min-width:74px;min-height:40px;padding:5px 7px;border:1px solid #d3ddc6;background:#f0f4e8;border-radius:9px;font-size:10px;text-align:center;white-space:nowrap}
.order-card .source-link small{display:block;font-size:9px;line-height:1.4;color:#7c8b70;margin:0 0 2px}
.order-card p{font-size:11px;line-height:1.6;margin:11px 0}.order-card>button{min-height:36px}
.order-heading{font-size:13px;margin:14px 0 7px}.order-options{gap:6px}.order-option{padding:8px;gap:7px;min-height:56px;border-radius:11px}.order-option canvas{width:28px;height:28px}.order-option>span{min-width:0;word-break:keep-all}.order-option b{font-size:12px}.order-option small{font-size:10px;line-height:1.5;margin-top:3px}
.family-note{font-size:12px}.family-note p{font-size:10px}
.preparation-card{padding:12px;margin:8px 0 15px;border-radius:14px}.preparation-eyebrow{font-size:10px}.preparation-card h3{font-size:16px;line-height:1.5}.preparation-card>p{font-size:11px}.preparation-needs>div{padding:8px;border-radius:10px}.preparation-needs b{font-size:11px}.preparation-needs small{font-size:10px}.preparation-card>.action-btn{min-height:38px}.preparation-card .preparation-hint{font-size:10px;line-height:1.6}.preparation-journey summary{min-height:34px;font-size:11px;padding:7px 0}
.upgrade-group{gap:6px;margin:8px 0 15px}.upgrade-card{padding:10px;gap:7px;border-radius:12px}.upgrade-title h3{font-size:13px}.upgrade-title span{font-size:10px}.upgrade-copy p,.upgrade-copy>small{font-size:10px;line-height:1.55}.upgrade-card .action-btn{min-height:48px;min-width:77px;max-width:84px;padding:7px 5px}.upgrade-card .action-btn b{font-size:11px}.upgrade-card .action-btn small{font-size:9px}
.compact-preview{padding:8px;border-radius:13px}.compact-preview>canvas{width:112px;height:80px}.preview-caption>b{font-size:12px}.preview-caption>small{font-size:10px}.preview-caption .action-btn{min-height:34px;font-size:11px}.dress-tools{min-height:34px;gap:6px}.dress-tools>span,.dress-tools .text-button{font-size:10px}.pose-options button{min-height:34px;font-size:10px}.cosmetic-grid{gap:6px}.cosmetic-choice{padding:8px 5px;border-radius:12px;min-height:94px}.cosmetic-choice canvas,.decor-choice canvas{width:70px;height:53px}.cosmetic-choice b{font-size:11px}.cosmetic-choice small{font-size:10px}
.pet-choice{padding:8px;border-radius:12px}.pet-choice canvas{width:72px;height:72px}.pet-choice b{font-size:12px}.pet-choice small{font-size:10px}.name-form,.adoption{padding:10px;border-radius:12px}.name-form label,#adopt-form>label,.adoption summary{font-size:12px}.name-form input,#adopt-name{min-height:36px;font-size:13px;padding:7px}.adopt-grid label{padding:7px;border-radius:10px}.adopt-grid canvas{width:65px;height:65px}.adopt-grid b{font-size:12px}.adopt-grid small{font-size:10px}
.setting-row{min-height:48px;padding:8px 0;font-size:12px;gap:7px}.setting-row select{min-height:36px;font-size:12px;padding:6px}.setting-row [data-action=sound-preview]{font-size:10px;padding:6px;min-height:34px}.setting-row input[type=checkbox]{width:17px;height:17px}.setting-row label{gap:6px}.news>summary{font-size:12px;min-height:36px}.install-info,.help-links,.item-sale{padding:10px;margin-top:12px;border-radius:12px}.install-info h3,.help-links h3{font-size:13px}.install-info p,.help-links p,.help-links li{font-size:11px;line-height:1.65}.help-links>div{gap:4px}.backup-section{margin-top:12px;padding-top:12px}.backup-actions{gap:5px}.backup-actions .action-btn{font-size:10px}.import-preview{padding:10px;font-size:12px}.release-note ul{font-size:11px}.release-note h3{font-size:14px}
#pet-world,body.native #pet-world{gap:0;max-width:none;width:max-content;justify-content:flex-start}
.pet-touch,body.native .pet-touch{width:140px;height:99px;overflow:hidden;border:0;background:transparent;border-radius:0;box-shadow:none}
.pet-touch>canvas:first-child{position:absolute;width:140px;height:130.667px;max-width:none;pointer-events:none}
#pet-toast{display:none}
/* Keep the settings action visible at entry and share one control column. */
.menu-header #show-more,.menu-header #close-menu{display:grid;place-items:center;flex:none;align-self:center}
.menu-header #show-more[aria-pressed=true]{background:var(--sage);border-color:var(--sage-line)}
.menu-header #show-more canvas{margin:0}
.menu-header{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.menu-header button{cursor:pointer;touch-action:manipulation}
.menu-dragging .menu-header{cursor:grabbing}
#pet-menu::before{content:'';position:absolute;top:5px;left:calc(50% - 13px);width:26px;height:3px;border-radius:3px;background:#c7bcab;opacity:.65;pointer-events:none}
.wallet>.common-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;margin:0}
.wallet .common-controls button,.wallet #bag-count{display:flex;align-items:center;justify-content:center;min-width:0;height:32px;padding:4px 7px;line-height:1.3}
.wallet>span{align-items:baseline;white-space:nowrap}.wallet>span canvas{align-self:center}
.menu-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.menu-tabs button canvas{object-fit:contain;flex:none}.menu-tabs button span{display:block;line-height:16px}
.settings-update{padding:0 0 10px;border-bottom:1px solid var(--line);margin:0}
.settings-update-row,.settings-panel .setting-row{display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:10px}
.settings-update-row h3{font-size:13px;line-height:1.4;margin:0;font-weight:600}
.settings-update-row small{display:block;font-size:10px;line-height:1.4;color:var(--muted);margin-top:2px}
.settings-update-row button{width:104px;height:36px;min-height:36px;padding:5px 7px;white-space:nowrap;font-size:11px}
.settings-update [data-update-status]{font-size:10px;line-height:1.55;margin:6px 0 0;color:var(--green);word-break:keep-all;overflow-wrap:break-word}
.settings-panel .setting-row{min-height:42px;padding:3px 0;font-size:12px}
.settings-panel .setting-row>label,.settings-panel .setting-row>span{display:block;min-width:0;line-height:1.45;word-break:keep-all;cursor:pointer}
.settings-panel .setting-row>select,.settings-panel .setting-row>button{width:104px;height:34px;min-height:34px;margin:0;padding:5px 8px;font-size:11px;line-height:1.4;text-align:center}
.settings-panel .setting-row>input[type=range]{width:104px;min-width:0;max-width:none;height:34px;margin:0;justify-self:end}
.settings-panel .setting-row>input[type=checkbox]{justify-self:end;width:18px;height:18px;margin:0 8px 0 0;flex:none}
.settings-panel .setting-row:last-child{border-bottom:0}
.settings-stop{width:100%;min-height:36px;margin:8px 0 0;font-size:11px}
.settings-hint{margin:10px 0 0;color:var(--muted);font-size:10px}
.settings-hint+.news{margin-top:10px}.news>summary{font-size:11px}
#full-bag{position:absolute;z-index:1;width:30px;height:36px;min-height:0;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;touch-action:manipulation}
#full-bag canvas{display:block;width:30px;height:36px;pointer-events:none;image-rendering:auto}
.menu-open #full-bag{visibility:hidden}
@media(max-width:340px){#pet-menu,body.native #pet-menu{padding:10px}.menu-header h2{font-size:16px}.menu-header>canvas{width:36px;height:36px}.menu-tabs{gap:3px}.menu-tabs button{font-size:11px}.wallet .common-controls button,.wallet #bag-count{padding:4px 6px;font-size:10px}.section-heading h3{font-size:13px}.album-entry div{font-size:12px}.order-card{padding:10px}.order-card .order-need{gap:7px}.order-card .source-link{min-width:74px}.upgrade-title{display:block}}
@media(max-height:440px){#pet-menu,body.native #pet-menu{height:calc(100dvh - 6px);bottom:3px;padding:8px 11px}.menu-header{min-height:30px}.menu-header>canvas{width:30px;height:30px}.menu-header h2{font-size:15px}.menu-header small{display:none}.menu-header #show-more,.menu-header #close-menu{height:30px;min-height:30px;width:30px;min-width:30px}.wallet{margin:3px 0 5px;min-height:28px}.menu-tabs button{flex-direction:row;gap:3px;min-height:34px;font-size:10px}.menu-tabs button canvas{width:19px;height:19px}.menu-tabs{padding-bottom:5px}#menu-content{padding-top:9px}}
/* A small personal goal and a harvest receipt share the existing notebook. */
.home-wish{padding:12px;margin:0 0 14px;border:1px solid #d4ddca;border-radius:15px;background:#f4f6e9;color:#514b40}
.home-wish .section-heading{margin:0 0 7px}.home-wish h3{font-size:14px;margin:0}
.home-wish p{font-size:12px;line-height:1.55;margin:4px 0 8px}.home-wish>small{display:block;font-size:11px;line-height:1.5;margin-top:7px}
.home-wish-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.home-wish-options button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 5px;border:1px solid #ded9c9;border-radius:12px;background:#fffdf5;color:inherit;min-width:0;font:inherit}
.home-wish-options button[aria-pressed=true]{border-color:#78917a;background:#ebf1e3}
.home-wish-options canvas{width:54px;height:54px}.home-wish-options b{font-size:12px}.home-wish-options small{font-size:10px;line-height:1.5}
.home-wish-main{display:flex;align-items:center;gap:10px}.home-wish-main canvas{width:60px;height:60px;flex:none}.home-wish-main b{font-size:15px}
.home-wish>.action-btn{width:100%;margin-top:6px;min-height:38px}
.wish-materials{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.wish-material{font-size:11px;padding:3px 7px;border-radius:7px;background:#ebe6d9;overflow-wrap:anywhere}.wish-material.ready{background:#e0ecd9;color:#3f6149}
.wish-progress{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px;margin:0 0 12px;border:1px solid #d4ddca;border-radius:12px;background:#f4f6e9}
.wish-progress canvas{width:40px;height:40px;flex:none}.wish-progress>div{flex:1;min-width:130px}.wish-progress b{font-size:12px}.wish-progress .wish-materials{margin:4px 0 0}.wish-progress .action-btn{font-size:11px;min-height:36px}
.harvest-note{background:#fcf1da;border:1px solid #e3d1ae;border-radius:14px;padding:12px;margin:0 0 12px}.harvest-note>small{font-size:11px;color:#806d50}.harvest-note h3{font-size:18px;margin:3px 0 9px;color:#594d39}.harvest-note p{font-size:11px;line-height:1.6;margin:7px 0}
.harvest-highlight{display:flex;align-items:center;gap:10px}.harvest-highlight canvas{width:44px;height:44px}.harvest-highlight b,.harvest-highlight small{display:block}.harvest-highlight b{font-size:14px}.harvest-highlight small{font-size:10px;color:#806d50;margin-bottom:3px}
.harvest-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.harvest-actions button{min-height:36px}
