:root{color-scheme:light;--paper: #fbf5ec;--surface: rgba(251, 245, 236, .84);--surface-solid: #fbf5ec;--surface-elevated: rgba(255, 252, 246, .94);--ink: #3c2c20;--ink-muted: #766355;--border: rgba(94, 71, 52, .16);--hover: rgba(94, 71, 52, .08);--accent: #9d5e37;--accent-soft: rgba(157, 94, 55, .14);--amber: #b86f1c;--amber-soft: rgba(217, 145, 44, .16);--green: #2c7a4b;--green-soft: rgba(44, 122, 75, .14);--danger: #b53f3a;--shadow-sm: 0 4px 16px rgba(45, 30, 16, .1);--shadow-lg: 0 18px 48px rgba(34, 21, 10, .22);--radius-pill: 999px;--radius-lg: 20px;--radius-md: 14px;font-family:Hiragino Maru Gothic ProN,PingFang SC,Hiragino Sans,Apple SD Gothic Neo,system-ui,-apple-system,sans-serif}:root[data-theme=dark]{color-scheme:dark;--paper: #0f1621;--surface: rgba(16, 24, 36, .82);--surface-solid: #131c2b;--surface-elevated: rgba(22, 32, 47, .95);--ink: #e5eef7;--ink-muted: #98abc0;--border: rgba(180, 206, 234, .16);--hover: rgba(180, 206, 234, .1);--accent: #82b8ee;--accent-soft: rgba(130, 184, 238, .16);--amber: #e5a952;--amber-soft: rgba(229, 169, 82, .16);--green: #69c58d;--green-soft: rgba(105, 197, 141, .15);--danger: #ef7c77;--shadow-sm: 0 4px 18px rgba(0, 0, 0, .34);--shadow-lg: 0 18px 54px rgba(0, 0, 0, .55)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:var(--paper);color:var(--ink);overscroll-behavior:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:transparent;touch-action:manipulation}.shell{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;height:100dvh;overflow:hidden;background:var(--paper)}.shell.rotated-landscape{right:auto;bottom:auto;width:100vh;width:100dvh;height:100vw;transform-origin:0 0;transform:translate(100vw) rotate(90deg)}.stage{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.stage[data-pressed=true]{cursor:none}.stage canvas{display:block;width:100%;height:100%}.hud-top-left{position:absolute;z-index:10;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));display:flex;align-items:center;gap:10px;max-width:min(70%,340px);padding:5px 14px 5px 5px;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--border);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-sm);transition:opacity .25s ease,transform .25s ease}.hud-top-right{position:absolute;z-index:10;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;gap:8px;transition:opacity .25s ease}.hud-bottom-right{position:absolute;z-index:10;bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;gap:8px;transition:opacity .25s ease}.hud-bottom-left{position:absolute;z-index:10;bottom:max(14px,env(safe-area-inset-bottom));left:max(14px,env(safe-area-inset-left));max-width:calc(100% - 280px);pointer-events:none;transition:opacity .35s ease}.shell.is-petting .hud-top-right,.shell.is-petting .hud-bottom-right,.shell.is-petting .hud-bottom-left,.shell.is-petting .env-hint-banner.show{opacity:.22}.env-hint-banner{position:absolute;z-index:12;top:max(14px,env(safe-area-inset-top));left:50%;transform:translate(-50%,-8px);display:inline-flex;align-items:center;gap:8px;max-width:min(56vw,460px);padding:7px 10px 7px 13px;border-radius:var(--radius-pill);background:var(--surface-elevated);border:1px solid var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--shadow-sm);color:var(--ink);font-size:.76rem;font-weight:600;line-height:1.35;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}.env-hint-banner.show{opacity:1;transform:translate(-50%);pointer-events:auto}.env-hint-dot{width:7px;height:7px;border-radius:50%;background:#d97757;flex:none}.env-hint-text{min-width:0}.env-hint-close{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:var(--ink-muted);flex:none;transition:background .15s ease,color .15s ease}.env-hint-close:hover{background:var(--hover);color:var(--ink)}.env-hint-close svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.2;fill:none}.env-status-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;font-size:.76rem;font-weight:700;line-height:1.3;background:var(--surface);border:1px solid var(--border);color:var(--ink)}.env-status-dot{width:7px;height:7px;border-radius:50%;flex:none}.env-status-badge.is-optimal .env-status-dot{background:#3d9a6d}.env-status-badge.is-degraded .env-status-dot{background:#d97757}@media(max-width:960px){.env-hint-banner{top:max(74px,calc(env(safe-area-inset-top) + 64px));max-width:min(92vw,440px);border-radius:16px}}.shell.has-sound-guide .hud-bottom-left{opacity:0}.sound-btn-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}.sound-guide-bubble{position:absolute;bottom:calc(100% + 11px);right:-12px;z-index:16;padding:7px 12px;border-radius:var(--radius-pill);background:var(--surface-elevated);border:1px solid var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--shadow-sm);color:var(--ink);font-size:.76rem;font-weight:700;line-height:1.3;white-space:nowrap;max-width:min(82vw,280px);animation:sound-guide-in .28s cubic-bezier(.22,1,.36,1) both}.sound-guide-bubble span{display:block;overflow:hidden;text-overflow:ellipsis}.sound-guide-bubble:after{content:"";position:absolute;right:28px;bottom:-6px;width:10px;height:10px;background:var(--surface-elevated);border-right:1px solid var(--border);border-bottom:1px solid var(--border);transform:rotate(45deg)}.glass-btn.sound-pulse{animation:sound-btn-pulse 1.9s ease-in-out infinite}@keyframes sound-guide-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes sound-btn-pulse{0%,to{box-shadow:var(--shadow-sm),0 0 #9d5e376b}60%{box-shadow:var(--shadow-sm),0 0 0 9px #9d5e3700}}.shell.is-petting .swipe-hint-overlay.show{opacity:0;pointer-events:none}.shell.is-petting .hud-top-left{opacity:.65}.swipe-hint-overlay{position:absolute;z-index:12;left:50%;top:50%;transform:translate(-50%,-165%);display:inline-flex;align-items:center;gap:8px;max-width:min(86vw,310px);padding:8px 10px 8px 14px;border-radius:var(--radius-pill);background:var(--surface-elevated);border:1px solid var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--shadow-sm);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .28s cubic-bezier(.22,1,.36,1)}.swipe-hint-overlay.show{opacity:1;transform:translate(-50%,-180%)}.swipe-hint-motion{position:relative;width:30px;height:20px;border-radius:999px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;padding:0 3px;flex:none;overflow:hidden}.swipe-hint-paw{width:14px;height:14px;display:grid;place-items:center;animation:swipe-glide 1.7s ease-in-out infinite}.swipe-hint-paw svg{width:13px;height:13px;fill:currentColor}@keyframes swipe-glide{0%,to{transform:translate(0);opacity:.72}50%{transform:translate(10px);opacity:1}}.swipe-hint-text{font-size:.8rem;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swipe-hint-close{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:var(--ink-muted);flex:none;pointer-events:auto;transition:background .15s ease,color .15s ease}.swipe-hint-close:hover{background:var(--hover);color:var(--ink)}.swipe-hint-close svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,.stage:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cat-identity{min-width:0;display:flex;flex-direction:column;gap:1px;cursor:pointer;text-align:left;padding:0}.switching-pill{display:inline-flex;align-items:center;padding:1px 7px;border-radius:var(--radius-pill);background:var(--amber-soft);color:var(--amber);font-size:.7rem;font-weight:700}.pet-once-btn{padding:0 13px;gap:5px}.pet-once-btn svg{width:17px;height:17px;fill:currentColor;stroke:none}.avatar-btn{width:44px;height:44px;flex:none;border-radius:50%;padding:0;overflow:hidden;border:2px solid var(--surface-solid);box-shadow:0 2px 8px #00000029;background:var(--hover)}.avatar-btn img{width:100%;height:100%;object-fit:cover;display:block}.cat-name-line{font-size:.94rem;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-meta-line{display:flex;align-items:center;gap:6px;font-size:.76rem;color:var(--ink-muted)}.pet-counter{font-variant-numeric:tabular-nums;font-weight:600;transition:transform .18s ease,color .18s ease}.pet-counter.bump{transform:scale(1.12);color:var(--accent)}.glass-btn{height:44px;min-width:44px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;white-space:nowrap;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--border);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-sm);font-size:.86rem;font-weight:600;transition:background .15s ease,transform .12s ease}.glass-btn:hover{background:var(--surface-elevated)}.glass-btn:active{transform:scale(.95)}.glass-btn.active{background:var(--accent);color:#fff;border-color:transparent}.glass-btn:disabled{opacity:.45;cursor:not-allowed}.glass-btn svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.glass-btn.icon-only{width:44px;padding:0}.subtle-hint{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 12px;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.78rem;color:var(--ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portrait-pill{display:none}@media(orientation:portrait)and (max-width:680px){.shell:not(.rotated-landscape) .portrait-pill{display:inline-flex}.shell:not(.rotated-landscape) #btn-landscape{display:none}}@media(max-width:760px),(orientation:portrait)and (max-width:900px){.shell:not(.rotated-landscape) .hud-bottom-right{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));justify-content:center}.shell:not(.rotated-landscape) .hud-bottom-left{left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));max-width:none;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 54px);display:flex;justify-content:center}.shell:not(.rotated-landscape) .subtle-hint{font-size:.75rem;padding:5px 12px}}@media(orientation:portrait)and (max-width:440px){.shell:not(.rotated-landscape) .hud-bottom-right{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));gap:6px}.shell:not(.rotated-landscape) .hud-bottom-right .glass-btn{height:40px;min-width:40px;padding:0 10px;gap:4px;font-size:.8rem}.shell:not(.rotated-landscape) .hud-bottom-right .glass-btn.icon-only{width:40px;padding:0}.shell:not(.rotated-landscape) .hud-bottom-right .glass-btn svg{width:18px;height:18px}.shell:not(.rotated-landscape) .hud-bottom-right .pet-once-btn svg{width:16px;height:16px}.shell:not(.rotated-landscape) .hud-bottom-right .portrait-pill{flex-shrink:1;min-width:40px;overflow:hidden}.shell:not(.rotated-landscape) .hud-bottom-right .portrait-pill span{overflow:hidden;text-overflow:ellipsis}.shell:not(.rotated-landscape) .hud-bottom-left{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 50px)}}@media(orientation:portrait)and (max-width:360px){.shell:not(.rotated-landscape) .hud-bottom-right .portrait-pill{width:40px;padding:0}.shell:not(.rotated-landscape) .hud-bottom-right .portrait-pill span{display:none}}@media(max-height:460px){.swipe-hint-overlay{padding:6px 8px 6px 12px}}.center-banner{position:absolute;z-index:15;left:50%;top:50%;transform:translate(-50%,-50%);width:min(90%,400px);padding:20px 22px;border-radius:var(--radius-lg);background:var(--surface-elevated);border:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow-lg);text-align:center}.center-banner .banner-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;margin:0 auto 12px;border:3px solid var(--amber);box-shadow:var(--shadow-sm)}.center-banner h3{margin:0 0 8px;font-size:1.08rem}.center-banner p{margin:0 0 14px;font-size:.88rem;line-height:1.55;color:var(--ink-muted)}.drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;background:#0c10185c;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .22s ease}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{position:absolute;z-index:31;top:0;right:0;bottom:0;width:min(92%,410px);background:var(--surface-elevated);border-left:1px solid var(--border);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;transform:translate(102%);transition:transform .26s cubic-bezier(.22,1,.36,1);padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}.drawer.open{transform:translate(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 8px;border-bottom:1px solid var(--border);gap:8px}.drawer-tabs{display:flex;gap:4px;flex:1;min-width:0}.drawer-tab{flex:1;padding:8px 6px;border-radius:10px;font-size:.82rem;font-weight:600;color:var(--ink-muted);white-space:nowrap;transition:background .15s ease,color .15s ease}.drawer-tab.active{background:var(--accent-soft);color:var(--accent)}.drawer-close{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--ink-muted)}.drawer-close svg,.search-clear svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round}.drawer-close:hover{background:var(--hover);color:var(--ink)}.drawer-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 24px}.search-box{position:relative;margin-bottom:10px}.board-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;padding:4px;border-radius:12px;background:var(--hover);border:1px solid var(--border)}.board-switch-btn{height:34px;border-radius:9px;font-size:.8rem;font-weight:700;color:var(--ink-muted);transition:background .15s ease,color .15s ease}.board-switch-btn.active{background:var(--surface-solid);color:var(--accent);box-shadow:0 2px 6px #00000014}.season-banner{padding:10px 12px;border-radius:12px;background:var(--amber-soft);border:1px solid var(--border);font-size:.77rem;line-height:1.5;color:var(--ink);margin-bottom:12px}.claim-code-box{margin:12px 0;padding:14px 12px;border-radius:14px;background:var(--ink);color:var(--paper);text-align:center}.claim-code-label{font-size:.74rem;opacity:.78;margin-bottom:4px}.claim-code-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.4rem;font-weight:800;letter-spacing:.08em;color:#f8d29a}.claim-code-warn{margin-top:6px;font-size:.72rem;opacity:.82;line-height:1.45}.voucher-preview{width:100%;border-radius:14px;border:1px solid var(--border);margin:10px 0 12px;display:block}.search-input{width:100%;height:42px;padding:0 36px 0 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);font-size:.9rem;outline:none}.search-input:focus{border-color:var(--accent)}.search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;color:var(--ink-muted);display:grid;place-items:center}.section-heading{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);margin:0 0 10px}.cat-list{display:flex;flex-direction:column;gap:8px}.cat-card{width:100%;display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);text-align:left;transition:border-color .15s ease,transform .12s ease,background .15s ease}.cat-card:hover{border-color:var(--accent)}.cat-card.selected{border-color:var(--accent);background:var(--accent-soft)}.cat-rank{width:24px;text-align:center;font-size:.82rem;font-weight:800;color:var(--ink-muted);flex:none}.cat-rank.top{color:var(--accent)}.cat-card-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;background:var(--hover);border:1px solid var(--border)}.cat-card-info{flex:1;min-width:0}.cat-card-name{font-size:.92rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-card-sub{margin-top:2px;display:flex;align-items:center;gap:6px;font-size:.76rem;color:var(--ink-muted)}.pill-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:var(--radius-pill);font-size:.7rem;font-weight:700}.pill-tag.pinned{background:var(--accent-soft);color:var(--accent)}.pill-tag.crafting{background:var(--amber-soft);color:var(--amber)}.pill-tag.rejected{background:#b53f3a24;color:var(--danger)}.field{margin-bottom:14px}.field label{display:block;font-size:.82rem;font-weight:700;margin-bottom:6px}.text-input,.select-input{width:100%;height:42px;padding:0 12px;border-radius:12px;border:1px solid var(--border);background:var(--paper);font-size:.9rem;outline:none}.text-input:focus,.select-input:focus{border-color:var(--accent)}.field-status{margin-top:6px;font-size:.78rem}.field-status.ok{color:var(--green)}.field-status.warn{color:var(--amber)}.field-status.err{color:var(--danger)}.suggestion-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.suggestion-chip{padding:5px 10px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-size:.78rem;font-weight:700;border:1px solid transparent}.suggestion-chip:hover{border-color:var(--accent)}.upload-zone{position:relative;border:1.5px dashed var(--border);border-radius:var(--radius-md);background:var(--paper);padding:18px 14px;text-align:center;cursor:pointer;transition:border-color .15s ease}.upload-zone:hover{border-color:var(--accent)}.upload-zone input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-preview{width:112px;height:112px;border-radius:16px;object-fit:cover;margin:0 auto 8px;display:block;box-shadow:var(--shadow-sm)}.btn-primary{width:100%;height:44px;border-radius:12px;background:var(--accent);color:#fff;font-weight:700;font-size:.92rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:opacity .15s ease,transform .12s ease}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-primary:active:not(:disabled){transform:scale(.98)}.btn-secondary{width:100%;height:42px;border-radius:12px;background:var(--hover);color:var(--ink);font-weight:600;font-size:.88rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border)}.setting-card{padding:12px 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);margin-bottom:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.setting-row+.setting-row,.setting-hint+.setting-row{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.setting-hint{margin-top:8px;font-size:.76rem;line-height:1.45;color:var(--ink-muted)}.setting-subblock{margin-top:10px}.setting-subblock-label{font-size:.8rem;color:var(--ink-muted);margin-bottom:6px}.lang-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.lang-pill{padding:8px 6px;border-radius:10px;border:1px solid var(--border);font-size:.82rem;font-weight:600;text-align:center;background:var(--surface-solid)}.lang-pill.active{background:var(--accent);color:#fff;border-color:transparent}.range-block{margin-top:8px}.range-head{display:flex;justify-content:space-between;font-size:.82rem;margin-bottom:4px}.range-block input[type=range]{width:100%;accent-color:var(--accent)}.modal-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;background:#0c10188f;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:grid;place-items:center;padding:16px}.modal-card{width:min(94%,420px);max-height:90%;overflow-y:auto;background:var(--surface-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:18px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modal-header h3{margin:0;font-size:1rem}.lightbox-img{width:100%;max-height:55vh;object-fit:contain;border-radius:var(--radius-md);background:#0000000f;display:block}.poster-preview{width:auto;max-width:100%;max-height:58vh;object-fit:contain;border-radius:var(--radius-md);border:1px solid var(--border);display:block;margin:0 auto 12px}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.about-credit{padding:14px;border-radius:var(--radius-md);background:var(--accent-soft);border:1px solid var(--border);margin:16px 0 4px}.about-credit a{color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}.about-list{margin:8px 0 0;padding-left:18px;font-size:.84rem;line-height:1.65;color:var(--ink-muted)}.about-panel[hidden]{display:none}.about-story-card{padding:13px 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);margin:12px 0 14px}.about-story-card p{margin:0;font-size:.83rem;line-height:1.68;color:var(--ink-muted)}.about-story-card p+p{margin-top:8px}.faq-list{display:flex;flex-direction:column;gap:8px;margin:10px 0 14px}.faq-item{border-radius:12px;border:1px solid var(--border);background:var(--paper);overflow:hidden;transition:border-color .15s ease}.faq-item[open]{border-color:var(--accent)}.faq-item summary{list-style:none;cursor:pointer;padding:11px 13px;font-size:.83rem;font-weight:700;line-height:1.45;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:10px}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";flex:none;font-size:1rem;font-weight:700;color:var(--accent);line-height:1}.faq-item[open] summary:after{content:"−"}.faq-item p{margin:0;padding:0 13px 12px;font-size:.81rem;line-height:1.62;color:var(--ink-muted)}.about-version-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.version-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-size:.74rem;font-weight:800;letter-spacing:.02em}.author-card{padding:14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);margin:14px 0}.author-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.author-monogram{width:38px;height:38px;border-radius:12px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:.9rem;letter-spacing:-.02em;flex:none}.author-name{font-size:.98rem;font-weight:800}.author-links{display:grid;grid-template-columns:1fr 1fr;gap:7px}.contact-pill{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:11px;border:1px solid var(--border);background:var(--surface-solid);color:var(--ink);text-decoration:none;font-size:.78rem;font-weight:600;min-width:0;transition:border-color .15s ease,background .15s ease}.contact-pill:hover{border-color:var(--accent);background:var(--accent-soft)}.contact-pill.wide{grid-column:1 / -1}.contact-pill svg{width:16px;height:16px;flex:none;color:var(--accent)}.contact-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tools-card{padding:14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper);margin:14px 0}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.tool-tile{padding:10px 11px;border-radius:12px;border:1px solid var(--border);background:var(--surface-solid);display:flex;flex-direction:column;gap:6px}.tool-tile-head{display:flex;align-items:center;gap:7px;font-weight:800;font-size:.85rem}.tool-icon{width:24px;height:24px;border-radius:7px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex:none}.tool-icon svg{width:15px;height:15px}.tool-model{font-size:.74rem;color:var(--ink-muted);font-weight:600}.build-stats-bar{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:11px;background:var(--hover);font-size:.78rem}.build-stat{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink-muted);white-space:nowrap}.build-stat-left{display:inline-flex;align-items:center;gap:6px}.build-stat svg{width:14px;height:14px;flex:none;color:var(--accent)}.build-stat strong{color:var(--ink);font-variant-numeric:tabular-nums}.toast{position:absolute;z-index:60;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translate(-50%) translateY(16px);padding:9px 16px;border-radius:var(--radius-pill);background:var(--ink);color:var(--paper);font-size:.84rem;font-weight:600;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:var(--shadow-sm)}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}.random-cat-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;margin-bottom:10px;border-radius:var(--radius-md);background:var(--accent-soft);border:1px solid rgba(157,94,55,.24);color:var(--ink);text-align:left;transition:background .15s ease,transform .12s ease}.random-cat-btn:hover{background:#9d5e3733}.random-cat-btn:active{transform:scale(.985)}.random-cat-left{display:flex;align-items:center;gap:9px;min-width:0}.random-cat-icon{width:30px;height:30px;border-radius:10px;background:var(--accent);color:#fff;display:grid;place-items:center;flex:none}.random-cat-icon svg{width:16px;height:16px}.random-cat-title{font-size:.86rem;font-weight:800;color:var(--accent)}.random-cat-sub{font-size:.74rem;color:var(--ink-muted)}.crop-box{margin-top:10px;padding:12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper)}.crop-box-title{font-size:.76rem;font-weight:700;color:var(--ink-muted);margin-bottom:10px}.crop-stage-row{display:flex;align-items:center;gap:14px}.crop-circle-canvas{width:96px;height:96px;border-radius:50%;border:2px solid var(--accent);flex:none;background:var(--hover);box-shadow:var(--shadow-sm)}.crop-sliders{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.crop-slider-row{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:8px;font-size:.74rem;color:var(--ink-muted)}.crop-slider-row input[type=range]{width:100%;accent-color:var(--accent)}.privacy-box{margin:12px 0 14px;padding:12px 13px;border-radius:var(--radius-md);background:var(--hover);border:1px solid var(--border);font-size:.76rem;line-height:1.55;color:var(--ink-muted)}.privacy-box-title{font-size:.8rem;font-weight:800;color:var(--ink);margin-bottom:6px}.privacy-box ul{margin:0;padding-left:16px}.privacy-box li+li{margin-top:4px}.status-qa-list{text-align:left;display:flex;flex-direction:column;gap:8px;margin:12px 0}.status-qa-item{padding:10px 12px;border-radius:12px;background:var(--hover);border:1px solid var(--border)}.status-qa-label{font-size:.72rem;font-weight:800;color:var(--accent);margin-bottom:3px}.status-qa-value{font-size:.8rem;line-height:1.5;color:var(--ink)}.stage-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0 6px}.stage-step{padding:6px 4px;border-radius:9px;border:1px solid var(--border);background:var(--surface-solid);font-size:.71rem;font-weight:700;color:var(--ink-muted);text-align:center}.stage-step.active{background:var(--amber-soft);border-color:var(--amber);color:var(--amber)}.stage-step.done{background:var(--green-soft);border-color:var(--green);color:var(--green)}.stage-step.failed{background:#b53f3a24;border-color:var(--danger);color:var(--danger)}.manage-details{margin-top:16px;padding:12px 13px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--paper)}.manage-details summary{font-size:.82rem;font-weight:700;color:var(--ink);cursor:pointer}.manage-details-body{margin-top:12px}.btn-danger{width:100%;height:40px;border-radius:12px;background:#b53f3a24;color:var(--danger);border:1px solid rgba(181,63,58,.32);font-weight:700;font-size:.84rem}.share-target-pill{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 6px;margin-bottom:10px;border-radius:var(--radius-pill);background:var(--accent-soft);border:1px solid var(--border);font-size:.8rem;font-weight:700;color:var(--accent)}.share-target-pill img{width:24px;height:24px;border-radius:50%;object-fit:cover}.mobile-save-hint{margin:0 0 10px;font-size:.74rem;line-height:1.45;color:var(--ink-muted);text-align:center}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.motion-dock{--motion-type: .875rem;--motion-leading: 1.5;position:absolute;z-index:11;left:50%;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 54px);transform:translate(-50%);display:flex;gap:.35rem .85rem;align-items:center;justify-content:center;width:max-content;max-width:calc(100% - 1.5rem);padding:.35rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-solid);color:var(--ink);box-shadow:var(--shadow-sm);font-size:var(--motion-type);line-height:var(--motion-leading)}.motion-dock[hidden],.shell.has-motion-dock .hud-bottom-left{display:none}.shell.has-motion-dock .sound-guide-bubble{bottom:calc(100% + var(--motion-dock-height, 0px) + 23px)}.motion-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.2rem}.motion-button{padding:.38em .65em;min-height:2.5rem;border-radius:.55rem;font-weight:600;line-height:inherit}.motion-button:first-child{min-width:4.85em;background:var(--accent-soft)}.motion-button:hover:not([aria-disabled=true]){background:var(--hover)}.motion-button[aria-disabled=true]{color:var(--ink-muted);cursor:default}.motion-button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.motion-status,.motion-comfort{display:flex;align-items:center;gap:.4em}.motion-status{padding:0 .65rem;border-left:1px solid var(--border)}.motion-posture{min-width:4em;font-weight:600;margin-right:.4em}:lang(en) .motion-button:first-child{min-width:6.1em}:lang(en) .motion-posture{min-width:6.6em}.motion-comfort{color:var(--ink-muted);font-variant-numeric:tabular-nums}.motion-comfort meter{width:2.5rem;height:.65rem;accent-color:var(--ink)}@media(max-width:780px){.motion-dock{flex-wrap:wrap}.motion-status{border-left:0}}@media(max-width:15em){.motion-dock{max-width:calc(100% - 1rem);padding:.25rem}.shell:not(.rotated-landscape) .motion-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.motion-button{min-height:max(40px,1.65em);min-width:0;padding:.12em;overflow-wrap:anywhere}:lang(en) .motion-button:first-child,.motion-button:first-child,.motion-posture{min-width:0}.motion-status,.motion-comfort{max-width:100%;padding:0;flex-wrap:wrap;justify-content:center}.motion-comfort meter{width:1.6em}}@media(max-width:360px){.shell.has-motion-dock:not(.rotated-landscape) .hud-top-left{max-width:calc(100% - 144px)}}@media(max-width:15em){.shell.has-motion-dock:not(.rotated-landscape) #btn-menu span{display:none}}
