.share-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:16px;background:#03060eb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.share-sheet{width:100%;max-width:560px;max-height:92vh;overflow-y:auto;border-radius:18px;padding:16px;background:linear-gradient(180deg,#131a2e,#0a0f1d);border:1px solid rgba(148,197,255,.22);box-shadow:0 24px 60px #0009;color:#e8eefc}.share-head{display:flex;align-items:center;justify-content:space-between;font-size:15px;margin-bottom:10px}.share-close{width:30px;height:30px;border-radius:50%;border:1px solid rgba(148,197,255,.28);background:#ffffff0f;color:#cbd5e1;font-size:16px;line-height:1;cursor:pointer}.share-tabs{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.share-tab{padding:7px 14px;border-radius:999px;border:1px solid rgba(148,197,255,.22);background:#ffffff0a;color:#9fb0cc;font-size:12.5px;font-weight:600;cursor:pointer}.share-tab.is-on{border-color:#fde047bf;background:#ca8a0438;color:#fde68a}.share-preview{border-radius:14px;overflow:hidden;background:#05070d;border:1px solid rgba(148,197,255,.14);min-height:140px;display:grid;place-items:center}.share-preview img{display:block;width:100%;height:auto}.share-preview__empty{padding:40px 20px;color:#7f8ea8;font-size:13px}.share-status{margin-top:8px;font-size:12px;color:#93c5fd}.share-error{margin-top:8px;font-size:12px;color:#fca5a5}.share-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.share-btn{padding:10px 16px;border-radius:999px;border:1px solid rgba(148,197,255,.3);background:#94c5ff1a;color:#e2ecff;font-size:13px;font-weight:700;cursor:pointer}.share-btn:hover{background:#94c5ff2e}.share-btn--x{border-color:#fff9;background:#e8eefc;color:#0a0f1d}.share-btn--ghost{background:transparent;color:#9fb0cc}.share-link{margin-top:12px;display:flex;flex-direction:column;gap:6px}.share-link code{display:block;padding:9px 11px;border-radius:10px;background:#00000073;border:1px solid rgba(148,197,255,.18);font-size:11.5px;color:#bcd0f0;word-break:break-all}.share-hint{font-size:11px;color:#64748b}.share-char{margin-top:16px;padding-top:14px;border-top:1px dashed rgba(148,197,255,.18);display:flex;flex-direction:column;gap:8px}.share-char__head{display:flex;flex-direction:column;gap:3px}.share-char__head b{font-size:13px;color:#fde68a}.share-char__head span{font-size:11.5px;color:#7f8ea8;line-height:1.5}.share-link__row{display:flex;align-items:stretch;gap:8px}.share-link__row code{flex:1 1 auto;min-width:0}.share-copy{position:relative;flex:0 0 auto;width:38px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(148,197,255,.28);background:#94c5ff1a;color:#cfe0ff;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.share-copy:hover{border-color:#94c5ff8c;background:#94c5ff33;color:#eaf2ff}.share-copy.is-done{border-color:#4ade8099;background:#16a34a38;color:#bbf7d0}.share-copy__tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);padding:3px 7px;border-radius:6px;background:#0b1120;border:1px solid rgba(148,197,255,.3);color:#dbeafe;font-size:11px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s}@media (hover: hover){.share-copy:hover .share-copy__tip,.share-copy:focus-visible .share-copy__tip{opacity:1}}.workbench{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:10px}.wb-top{flex:0 0 auto;display:flex;align-items:center;gap:10px;min-height:32px}.wb-top__hint{font-size:.72rem;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-cols{flex:1 1 auto;min-height:0;display:flex;gap:14px}.wb-rail{flex:0 0 320px;min-width:0;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #334155;border-radius:10px;background:#0f172ab8;overflow-y:auto}.wb-rail__portrait{width:100%;aspect-ratio:2 / 3;max-height:min(300px,36vh);object-fit:contain;border-radius:8px;border:1px solid #334155;background:radial-gradient(circle at 50% 35%,#26324a,#0b1020 80%)}.wb-rail__portrait--empty{display:grid;place-items:center;color:#475569;font-size:.74rem}.wb-rail__field{display:flex;flex-direction:column;gap:2px;font-size:.7rem;color:#94a3b8}.wb-rail__field input{padding:5px 8px;border-radius:6px;border:1px solid #334155;background:#0b1220;color:#e2e8f0;font-size:.84rem}.wb-rail__row{display:flex;align-items:center;gap:6px;font-size:.72rem;color:#94a3b8}.wb-rail__label{flex:0 0 auto}.wb-rail__theme{color:#fde68a;font-size:.82rem}.wb-rail__link{margin-left:auto;padding:1px 8px;border-radius:999px;border:1px solid #334155;background:transparent;color:#93c5fd;font-size:.66rem;cursor:pointer}.wb-rail__link:hover:not(:disabled){border-color:#fbbf24;color:#fbbf24}.wb-rail__feel{font-size:.66rem;color:#94a3b8;line-height:1.35}.wb-rail__done{display:flex;flex-direction:column;gap:4px;padding-top:6px;border-top:1px dashed #334155}.wb-rail__done-head{display:flex;align-items:baseline;justify-content:space-between;font-size:.7rem;color:#94a3b8}.wb-rail__done-head b{color:#fde68a;font-size:.78rem}.wb-rail__done-track{display:block;height:6px;border-radius:99px;background:#94a3b82e;overflow:hidden}.wb-rail__done-track>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#fbbf24);transition:width .4s ease}.wb-rail__primary{margin-top:2px;padding:9px 12px;border-radius:8px;border:1px solid #b45309;background:#78350f59;color:#fdba74;font-size:.86rem;font-weight:700;cursor:pointer}.wb-rail__primary.is-ready{border-color:#15803d;background:#15803d73;color:#bbf7d0}.wb-rail__primary:hover:not(:disabled){filter:brightness(1.15)}.wb-rail__primary:disabled{opacity:.55;cursor:not-allowed}.wb-rail__dev{margin:4px 0 0}.wb-main{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.wb-panel{border:1px solid #334155;border-radius:10px;background:#0f172ab8;padding:12px 14px}.wb-panel--preview{display:grid;place-items:center;flex:1 1 auto;min-height:220px;overflow:hidden}.wb-panel--tools{padding:0;border:0;background:none}@media (max-width: 900px){.workbench{overflow:auto}.wb-cols{flex-direction:column}.wb-rail{flex:0 0 auto;overflow:visible}.wb-rail__portrait{max-height:200px;aspect-ratio:auto}.wb-main{overflow:visible}}.workbench-status{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:.75rem;color:#94a3b8}.wb-back{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:2px 0}.wb-back__btn{padding:6px 14px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:#e2e8f0;font-size:.8rem;cursor:pointer}.wb-back__btn:hover{border-color:#fbbf24;color:#fbbf24}.wb-back__hint{font-size:.72rem;color:#94a3b8;line-height:1.4}.wb-generating{position:sticky;top:0;z-index:6;display:flex;flex-direction:column;gap:8px;padding:10px 14px;border:1px solid #3b4a63;border-radius:10px;background:linear-gradient(180deg,#0f172afa,#0f172aeb);box-shadow:0 10px 24px #02061773;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.wb-generating__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.wb-generating__title{font-size:.92rem;color:#fbbf24}.wb-generating__right{display:flex;align-items:center;gap:10px}.wb-generating__dev{font-size:.66rem;color:#64748b;font-family:ui-monospace,monospace;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-generating__msg{margin:0;font-size:.78rem;color:#cbd5e1}.wb-gen-bars{display:flex;flex-direction:column;gap:5px}.wb-gen-bar--solo{gap:0}.wb-gen-bar--solo .wb-gen-bar__track{height:10px}.wb-gen-bar{display:flex;align-items:center;gap:8px;font-size:.72rem;color:#94a3b8}.wb-gen-bar__name{width:60px;flex:0 0 60px}.wb-gen-bar__track{position:relative;flex:1 1 auto;height:8px;border-radius:99px;background:#94a3b82e;overflow:hidden}.wb-gen-bar__track>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#fbbf24);transition:width .4s ease}.wb-gen-bar__running{position:absolute;top:0;right:0;width:14px;height:100%;background:linear-gradient(90deg,#fbbf2400,#fbbf24d9);animation:wb-gen-pulse 1.1s ease-in-out infinite}@keyframes wb-gen-pulse{0%,to{opacity:.25}50%{opacity:1}}.wb-gen-bar__num{width:40px;flex:0 0 40px;text-align:right;font-variant-numeric:tabular-nums;color:#cbd5e1}.wb-dev__toggle{margin-left:auto;padding:3px 10px;border-radius:999px;border:1px solid #334155;background:transparent;color:#64748b;font-size:.62rem;font-weight:700;letter-spacing:.08em;cursor:pointer}.wb-dev__toggle.is-on{border-color:#fbbf24;color:#fbbf24}.wb-dev{display:flex;flex-direction:column;gap:6px;padding-top:6px;border-top:1px dashed #334155}.wb-dev__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px}.wb-dev__cell{margin:0;display:flex;flex-direction:column;gap:2px;padding:4px;border:1px solid #334155;border-radius:6px;background:#0b1220;font-size:.56rem;color:#94a3b8;font-family:ui-monospace,monospace}.wb-dev__cell img{width:100%;height:62px;object-fit:contain;background:#111827;border-radius:4px}.wb-dev__blank{height:62px;display:grid;place-items:center;color:#334155;font-size:1rem}.wb-dev__cell figcaption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-dev__cell.is-done{border-color:#166534}.wb-dev__cell.is-running{border-color:#b45309}.wb-dev__cell.is-stuck,.wb-dev__cell.is-failed{border-color:#b91c1c;background:#7f1d1d40}.wb-dev__cell.is-skipped{opacity:.5}.wb-dev__errors{margin:0;padding-left:16px;font-size:.66rem;color:#fca5a5;font-family:ui-monospace,monospace}.wb-dev__note{font-size:.66rem;color:#64748b}.workbench-error{background:#7f1d1d73;border:1px solid #b91c1c;color:#fecaca;padding:8px 12px;border-radius:6px;font-size:.85rem}.wb-toast{position:fixed;left:50%;bottom:18px;transform:translate(-50%);z-index:2600;display:flex;align-items:flex-start;gap:10px;max-width:min(880px,calc(100vw - 32px));padding:10px 12px;border-radius:8px;background:#450a0af5;border:1px solid #ef4444;box-shadow:0 10px 30px #00000073;color:#fee2e2;font-size:.85rem;line-height:1.5;white-space:pre-wrap}.wb-toast-icon{flex:none;font-size:1rem;line-height:1.3}.wb-toast-text{flex:1;min-width:0;word-break:break-word}.wb-toast-close{flex:none;align-self:center;padding:4px 10px;border-radius:6px;border:1px solid #fca5a5;background:transparent;color:#fecaca;font-size:.8rem;cursor:pointer}.wb-toast-close:hover{background:#f871712e}.workbench-msg{background:#1e293bcc;border:1px solid #334155;padding:8px 12px;border-radius:6px;font-size:.85rem;color:#cbd5e1}.workbench-card{background:#0f172ad9;border:1px solid #334155;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}.workbench-card h2{font-size:.95rem;color:#fbbf24;font-weight:600}.workbench-row,.workbench-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.workbench-form label,.regen-note{display:flex;flex-direction:column;gap:4px;font-size:.75rem;color:#94a3b8;min-width:160px;flex:1}.workbench-form input,.workbench-form textarea,.workbench-form select,.regen-note input,.regen-note textarea,.candidate-list select{background:#0f172a;border:1px solid #475569;color:#e2e8f0;border-radius:4px;padding:6px 8px;font:inherit}.workbench button,.file-btn{background:#1e293b;border:1px solid #64748b;color:#e2e8f0;border-radius:4px;padding:6px 12px;font-size:.8rem;cursor:pointer}.workbench button:hover:not(:disabled),.file-btn:hover{border-color:#fbbf24;color:#fbbf24}.workbench button:disabled{opacity:.5;cursor:not-allowed}.file-btn{display:inline-flex;align-items:center;position:relative;overflow:hidden}.file-btn input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.hint{font-size:.8rem;color:#64748b}.photo-drop{position:relative;overflow:hidden;display:flex;align-items:center;gap:12px;min-height:92px;padding:12px 14px;border:2px dashed #475569;border-radius:8px;background:#0f172a99;cursor:pointer;transition:border-color .15s ease,background .15s ease}.photo-drop:hover{border-color:#fbbf24;background:#fbbf2414}.photo-drop.is-busy{opacity:.55;cursor:not-allowed}.photo-drop--filled{border-style:solid;border-color:#15803d}.photo-drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.photo-drop-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:8px;background:#1e293b;color:#fbbf24;font-size:1.4rem;line-height:1}.photo-drop-thumb{width:64px;height:64px;flex:0 0 64px;object-fit:cover;border-radius:6px;border:1px solid #334155;background:#020617}.photo-drop-text{display:flex;flex-direction:column;gap:2px;font-size:.9rem;color:#e2e8f0}.photo-drop-text small{font-size:.72rem;color:#94a3b8}.workbench-progress{background:#0f172af2;border:1px solid #334155;border-radius:8px;padding:10px 14px;display:flex;flex-direction:column;gap:8px}.workbench-progress-label{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#fbbf24}.workbench-progress-pct{color:#94a3b8;font-variant-numeric:tabular-nums;display:inline-flex;align-items:center;gap:10px}.workbench button.workbench-cancel{padding:2px 10px;font-size:.72rem;border-color:#b91c1c;background:#7f1d1d59;color:#fecaca}.workbench button.workbench-cancel:hover:not(:disabled){border-color:#ef4444;color:#fff}.workbench-progress-track{height:8px;border-radius:4px;background:#0f172a;overflow:hidden;border:1px solid #334155}.workbench-progress-bar{height:100%;border-radius:4px;background:linear-gradient(90deg,#d97706,#fbbf24);transition:width .45s ease}.sheet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.sheet-item{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #334155;border-radius:6px;background:#0f172a}.sheet-label{font-size:.75rem;color:#94a3b8}.sheet-item img{width:100%;height:140px;object-fit:contain;image-rendering:pixelated;background:#020617}.sheet-thumb{image-rendering:auto!important}.sheet-empty{height:48px;display:grid;place-items:center;font-size:.75rem;color:#475569;background:#020617}.badge{display:inline-block;padding:1px 6px;border-radius:999px;border:1px solid #475569;background:#1e293b;color:#94a3b8;font-size:.65rem;vertical-align:middle}.badge--on{border-color:#15803d;background:#15803d40;color:#86efac}.badge--bad{border-color:#b91c1c;background:#b91c1c40;color:#fecaca}.pose-preview-ok{color:#86efac}.pose-preview-warn{color:#fcd34d}.pose-block{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #334155;border-radius:6px;background:#0f172a}.pose-block-head{font-size:.8rem;color:#fbbf24}.pose-preview{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}.pose-preview-canvas{border:1px solid #475569;border-radius:4px;background-color:#1e293b;background-image:linear-gradient(45deg,#334155 25%,transparent 25%),linear-gradient(-45deg,#334155 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#334155 75%),linear-gradient(-45deg,transparent 75%,#334155 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.pose-preview-info{flex:1;min-width:220px;margin:0;font-size:.75rem;line-height:1.5;color:#94a3b8;font-variant-numeric:tabular-nums}.pose-preview-bad{color:#fca5a5}.workbench-busy{position:sticky;bottom:0;text-align:center;padding:8px;background:#0f172af2;border-top:1px solid #334155;color:#fbbf24;font-size:.85rem}.workbench button.primary{background:#15803d59;border-color:#15803d;color:#bbf7d0;font-weight:600}.workbench button.primary:hover:not(:disabled){border-color:#22c55e;color:#f0fdf4}.wb-step{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.photo-drop--sm{flex:1 1 280px;min-height:64px;padding:8px 12px}.photo-drop--sm .photo-drop-icon{width:34px;height:34px;flex:0 0 34px;font-size:1.1rem}.photo-drop--sm .photo-drop-thumb{width:48px;height:48px;flex:0 0 48px}.wb-field{display:flex;flex-direction:column;gap:4px;font-size:.75rem;color:#94a3b8;flex:0 0 auto}.wb-field--style select{min-width:190px}.wb-field input,.wb-field select,.wb-note-input{background:#0f172a;border:1px solid #475569;color:#e2e8f0;border-radius:4px;padding:6px 8px;font:inherit;font-size:.85rem}.wb-note-input{flex:1 1 200px}.wb-action{flex:0 0 auto;align-self:flex-end;padding:8px 16px;font-size:.85rem}.wb-desc{flex:1 1 100%}.wb-step--second{padding-top:10px;border-top:1px dashed #334155}.wb-ref-thumb{width:96px;height:112px;flex:0 0 96px;object-fit:contain;border:1px solid #475569;border-radius:6px;background-color:#1e293b;background-image:linear-gradient(45deg,#334155 25%,transparent 25%),linear-gradient(-45deg,#334155 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#334155 75%),linear-gradient(-45deg,transparent 75%,#334155 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.wb-ref-thumb--empty{display:grid;place-items:center;color:#475569;font-size:.75rem;background-image:none}.wb-step-text{display:flex;flex-direction:column;gap:3px;flex:1 1 240px;min-width:0;font-size:.8rem;color:#cbd5e1}.wb-step-text b{color:#fbbf24;font-size:.9rem}.wb-step-text small{font-size:.72rem;color:#94a3b8;line-height:1.45}.wb-step-note b{font-size:.72rem;color:#86efac}.showcase-row{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}.showcase{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto}.showcase-stage{display:grid;place-items:center;border:1px solid #334155;border-radius:10px;background:radial-gradient(120% 90% at 50% 100%,#94a3b82e,#0f172ae6);overflow:hidden}.showcase-stage canvas{display:block}.showcase-empty{font-size:.8rem;color:#64748b}.showcase-caption{display:flex;flex-direction:column;align-items:center;gap:1px;min-height:32px}.showcase-caption b{font-size:.85rem;color:#fbbf24}.showcase-caption small{font-size:.7rem;color:#94a3b8;font-variant-numeric:tabular-nums}.showcase-dots{display:flex;gap:5px}.showcase-dot{width:6px;height:6px;border-radius:50%;background:#334155}.showcase-dot.is-on{background:#fbbf24}.showcase-side{display:flex;flex-direction:column;gap:10px;flex:1 1 260px;min-width:240px}.wb-stats{display:flex;flex-direction:column;gap:6px}.wb-stat-row{display:flex;align-items:center;gap:10px;font-size:.8rem}.wb-stat-name{width:34px;flex:0 0 34px;color:#94a3b8}.wb-stars{display:inline-flex;gap:2px}.wb-star{background:none;border:none;padding:0 1px;font-size:1.05rem;line-height:1;color:#334155;cursor:pointer}.wb-star.is-on{color:#fbbf24}.wb-star.is-locked{color:#1e293b;cursor:not-allowed}.wb-budget{margin:2px 0 0;font-size:.72rem;color:#94a3b8}.wb-budget b{color:#fbbf24}.wb-budget.is-full b:last-of-type{color:#86efac}.wb-star:hover{color:#fcd34d}.wb-stat-val{font-size:.72rem;color:#94a3b8;font-variant-numeric:tabular-nums}.wb-lower{align-items:center}.workbench button.wb-play{width:100%;max-width:420px;padding:12px 20px;font-size:1rem;letter-spacing:.04em}.workbench button.wb-play:not(.primary){border-color:#475569;background:#1e293b;color:#cbd5e1}.wb-styles-fail{display:flex;align-items:center;gap:10px;margin-top:8px;padding:8px 10px;border:1px solid #7f1d1d;border-left:3px solid #ef4444;border-radius:6px;background:#7f1d1d2e;color:#fecaca;font-size:12px;line-height:1.4}.wb-styles-fail span{flex:1}.wb-styles-fail button{flex:none;padding:6px 12px;border:1px solid #ef4444;border-radius:6px;background:#ef444429;color:#fee2e2;font-size:12px;font-weight:700;cursor:pointer}.wb-styles-fail button:hover:not(:disabled){background:#ef44444d}.wb-styles-fail button:disabled{opacity:.5;cursor:not-allowed}.wb-styles-more{display:flex;align-items:center;gap:10px;margin-top:8px;padding:8px 10px;border:1px solid #334155;border-left:3px solid #f59e0b;border-radius:6px;background:#f59e0b14;color:#cbd5e1;font-size:12px;line-height:1.4}.wb-styles-more span{flex:1}.wb-styles-more button{flex:none;padding:6px 12px;border:1px solid #f59e0b;border-radius:6px;background:#f59e0b29;color:#fde68a;font-size:12px;font-weight:700;cursor:pointer}.wb-styles-more button:hover:not(:disabled){background:#f59e0b47}.wb-styles-more button:disabled{opacity:.5;cursor:not-allowed}.wb-styles{display:flex;flex-wrap:wrap;gap:10px;padding-top:8px;border-top:1px dashed #334155}.wb-style-tile{display:flex;flex-direction:column;align-items:center;gap:4px;width:118px;padding:6px;border:2px solid #334155;border-radius:8px;background:#0f172ab3;cursor:pointer;transition:border-color .15s ease,transform .15s ease}.wb-style-tile img{width:104px;height:132px;object-fit:contain;border-radius:6px;background:radial-gradient(circle at 50% 40%,#26324a,#0b1020 80%)}.wb-style-tile__label{font-size:.66rem;color:#94a3b8;text-align:center;line-height:1.3}.wb-style-tile__label b{color:#86efac}.wb-style-tile:hover:not(:disabled){border-color:#fbbf24;transform:translateY(-1px)}.wb-style-tile.is-chosen{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e2e}.wb-style-tile:disabled{opacity:.55;cursor:not-allowed}.wb-side-inline{flex:0 1 300px;min-width:240px;gap:6px}.wb-step-feel{font-size:.72rem;color:#94a3b8;line-height:1.45}.wb-step-feel b{color:#86efac}.wb-choose-hint{margin:0;padding-top:8px;border-top:1px dashed #334155;font-size:.8rem;color:#fbbf24;font-weight:600}.wb-missing{margin:0;padding:8px 10px;border:1px solid #b45309;border-radius:6px;background:#78350f47;color:#fed7aa;font-size:.76rem;line-height:1.5}.wb-missing b{color:#fdba74}.workbench button.wb-skip{margin-left:8px;padding:1px 8px;font-size:.68rem;border-color:#b45309;background:#78350f59;color:#fdba74}.workbench button.wb-skip:hover:not(:disabled){border-color:#f59e0b;color:#ffedd5}.wb-tools{width:100%;font-size:.8rem;color:#94a3b8}.wb-tools summary{cursor:pointer;color:#cbd5e1;padding:4px 0}.wb-tool-body{display:flex;flex-direction:column;gap:12px;padding-top:8px}.wb-tool-group{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #334155;border-radius:6px;background:#0f172ab3}.wb-tool-group>b{font-size:.8rem;color:#fbbf24}.wb-tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(192px,1fr));gap:6px}.wb-tool-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;border:1px solid #334155;border-radius:4px;background:#0f172a;font-size:.75rem}.wb-tool-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-tool-item button{flex:0 0 auto;white-space:nowrap;padding:3px 10px;font-size:.72rem}.wb-tool-item code{color:#64748b}.wb-peek-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#06080ed1;display:flex;align-items:center;justify-content:center;padding:18px}.wb-peek{position:relative;display:flex;flex-direction:column;max-width:min(760px,100%);max-height:92vh;border-radius:14px;border:1px solid #33405c;background:#141826;box-shadow:0 24px 64px #0009;overflow:hidden}.wb-peek__close{position:absolute;top:8px;right:10px;width:30px;height:30px;font-size:18px;line-height:1;border:none;border-radius:8px;background:#0a0c1499;color:#b8c3d6;cursor:pointer;z-index:1}.wb-peek__close:hover{color:#ffd166}.wb-peek__img{display:block;max-width:100%;max-height:72vh;object-fit:contain;background:#0f1220}.wb-peek__bar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid #232b40;flex-wrap:wrap}.wb-peek__bar b{font-size:14px;color:#ffd166}.wb-peek__hint{font-size:11.5px;color:#7f8ca6}.wb-peek__actions{margin-left:auto;display:flex;gap:8px}.wb-peek__ghost{padding:8px 12px;font-size:12.5px;border-radius:9px;border:1px solid #33405c;background:transparent;color:#c8d3e6;cursor:pointer}.wb-peek__ok{padding:8px 16px;font-size:12.5px;font-weight:700;border:none;border-radius:9px;background:#ffd166;color:#1a1408;cursor:pointer}.wb-peek__ok:disabled{opacity:.55;cursor:default}.wb-peek__title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.wb-peek__lore{font-size:12px;line-height:1.55;color:#cbb27a;font-style:italic}.wb-step-lore{display:block;margin-top:2px;font-size:11.5px;line-height:1.6;color:#cbb27a;font-style:italic}.wb-rail__secondary{margin-top:6px;padding:8px 12px;border-radius:8px;border:1px dashed rgba(251,191,36,.45);background:transparent;color:#fcd34d;font-size:.82rem;font-weight:700;cursor:pointer}.wb-rail__secondary:hover{background:#fbbf241a}.wb-rail__secondary:disabled{opacity:.45;cursor:not-allowed}.csel{--csel-slot: clamp(120px, 15.5vh, 184px);display:flex;gap:18px;align-items:stretch;flex:1 1 auto;min-height:0;justify-content:center}.csel-grid-wrap{display:flex;flex-direction:column;gap:8px;align-self:center;min-width:0}.csel-grid__caption{display:flex;align-items:center;gap:8px;font-size:.66rem;color:#64748b}.csel-grid__1p{font-size:.62rem;letter-spacing:.24em;color:#94a3b8;border:1px solid #334155;border-radius:999px;padding:0 8px}.csel-grid__hint{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.csel-grid{display:flex;flex-direction:column;gap:14px}.csel-grid__row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.csel-grid__legend{display:none}.csel-slot{position:relative;flex:0 0 auto;width:var(--csel-slot);display:flex;flex-direction:column;align-items:center}.csel-slot__face{width:var(--csel-slot);height:var(--csel-slot);padding:0;border-radius:14px;border:2px solid #334155;background:radial-gradient(circle at 50% 30%,#26324a,#0f172a 75%);overflow:hidden;cursor:pointer;position:relative;display:grid;place-items:center;transition:border-color .12s ease,transform .12s ease}.csel-slot__face img{width:100%;height:100%;object-fit:contain;image-rendering:auto}.csel-slot__face .csel-slot__faceimg{transform:scale(1.15)}.csel-slot.is-default .csel-slot__face{border-color:#475569}.csel-slot.is-empty .csel-slot__face{border-style:dashed;color:#64748b}.csel-slot.is-menu-open{z-index:8}.csel-slot__strip{width:100%;height:100%;display:flex;align-items:flex-end;justify-content:flex-start;overflow:hidden}.csel-slot__strip img{height:100%;width:auto;max-width:none;flex:0 0 auto}.csel-slot__plus{font-size:1.9rem;color:#64748b;line-height:1}.csel-slot.is-empty .csel-slot__face:hover .csel-slot__plus{color:#fbbf24}.csel-slot__face:hover{border-color:#fbbf24;transform:translateY(-1px)}.csel-slot.is-selected .csel-slot__face{border-color:#fbbf24;box-shadow:0 0 0 3px #fbbf2438,0 0 18px #fbbf2459;animation:csel-pulse 1.4s ease-in-out infinite}@keyframes csel-pulse{0%,to{box-shadow:0 0 0 3px #fbbf2438,0 0 18px #fbbf2447}50%{box-shadow:0 0 0 5px #fbbf2429,0 0 26px #fbbf2473}}.csel-slot__name{position:absolute;left:3px;right:3px;bottom:3px;padding:1px 4px;border-radius:0 0 10px 10px;background:linear-gradient(180deg,#02061700,#020617e0 55%);font-size:.62rem;color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;pointer-events:none}.csel-slot.is-selected .csel-slot__name{color:#fbbf24;font-weight:700}.csel-slot__creating{position:absolute;top:3px;left:3px;display:flex;align-items:center;gap:3px;padding:1px 6px;border-radius:999px;border:1px solid rgba(251,191,36,.6);background:#020617db;color:#fbbf24;font-size:.5rem;font-weight:700;letter-spacing:.08em;pointer-events:none;z-index:2}.csel-slot__dot{width:5px;height:5px;border-radius:50%;background:#fbbf24;animation:csel-blink 1s ease-in-out infinite}@keyframes csel-blink{0%,to{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}.csel-slot.is-creating .csel-slot__face img{filter:saturate(.72) brightness(.86)}.csel-slot__badge{position:absolute;top:-6px;left:-6px;padding:1px 6px;border-radius:999px;border:1px solid #b45309;background:#78350fe6;color:#fdba74;font-size:.56rem;letter-spacing:.02em;pointer-events:none}.csel-slot__busy{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0f172ab8;color:#fbbf24;font-size:1.2rem}.csel-slot__menu-btn{position:absolute;top:-6px;right:-6px;width:22px;height:22px;padding:0;border-radius:6px;border:1px solid #475569;background:#1e293b;color:#cbd5e1;font-size:.7rem;line-height:1;cursor:pointer}.csel-slot__menu-btn:hover{border-color:#fbbf24;color:#fbbf24}.csel-menu{position:absolute;top:calc(100% - 6px);left:50%;transform:translate(-50%);z-index:9;display:flex;flex-direction:column;min-width:76px;padding:4px;gap:2px;border:1px solid #475569;border-radius:8px;background:#0f172a;box-shadow:0 8px 20px #00000080}.csel-menu button{border:none;background:none;color:#cbd5e1;font-size:.74rem;text-align:left;padding:4px 8px;border-radius:5px;cursor:pointer}.csel-menu button:hover{background:#1e293b;color:#fbbf24}.csel-menu button.csel-menu__danger:hover{background:#7f1d1d80;color:#fecaca}.csel-detail{flex:0 1 372px;display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid #334155;border-radius:10px;background:#0f172ab8;min-height:0}.csel-detail__head{display:flex;gap:12px;align-items:flex-start}.csel-detail__portrait{width:76px;height:92px;flex:0 0 76px;display:grid;place-items:center;border:1px solid #475569;border-radius:8px;background:radial-gradient(circle at 50% 35%,#26324a,#0b1020 80%);overflow:hidden}.csel-detail__portrait img{width:100%;height:100%;object-fit:contain}.csel-detail__empty{font-size:1.6rem;color:#475569}.csel-detail__id{display:flex;flex-direction:column;gap:2px;min-width:0}.csel-detail__name{font-size:1.15rem;color:#fbbf24;letter-spacing:.02em}.csel-detail__tag{font-size:.7rem;color:#93c5fd}.csel-detail__blurb{font-size:.72rem;color:#94a3b8;line-height:1.4}.csel-stats{display:flex;flex-direction:column;gap:3px}.csel-stat{display:flex;align-items:center;gap:6px;font-size:.72rem}.csel-stat__name{width:30px;flex:0 0 30px;color:#94a3b8}.csel-star{font-style:normal;font-size:.82rem;color:#334155;line-height:1}.csel-star.is-on{color:#fbbf24}.csel-super{display:flex;flex-direction:column;gap:1px;padding:6px 8px;border-left:2px solid #fbbf24;background:#fbbf240f;border-radius:0 6px 6px 0}.csel-super b{font-size:.86rem;color:#fde68a;letter-spacing:.04em}.csel-super small{font-size:.68rem;color:#94a3b8}.csel-preview{display:grid;place-items:center;flex:1 1 auto;min-height:132px;overflow:hidden}.csel-preview .showcase-stage,.csel-preview .showcase-caption,.csel-preview .showcase-dots{flex-shrink:0}.csel-preview__empty{font-size:.74rem;color:#64748b}.csel-actions{display:flex;gap:8px;flex-wrap:wrap}.csel-play{flex:1 1 60%;padding:9px 12px;border-radius:8px;border:1px solid #15803d;background:#15803d66;color:#bbf7d0;font-size:.9rem;font-weight:700;cursor:pointer}.csel-play:hover:not(:disabled){border-color:#22c55e;color:#f0fdf4}.csel-create{flex:1 1 40%;padding:9px 12px;border-radius:8px;border:1px solid #a78bfa;background:#7c3aed38;color:#ddd6fe;font-size:.82rem;font-weight:600;cursor:pointer}.csel-create:hover:not(:disabled){border-color:#c4b5fd;color:#f5f3ff}.csel-create.is-locked{border-color:#b45309;background:#78350f47;color:#fdba74}.csel-create.is-locked:hover{border-color:#fbbf24;color:#fde68a}.csel-play:disabled,.csel-create:disabled{opacity:.5;cursor:not-allowed}.csel-play--progress{border-color:#b45309;background:#78350f59;color:#fdba74}.csel-play--progress:hover:not(:disabled){border-color:#fbbf24;color:#fde68a}.csel-progress{display:flex;flex-direction:column;gap:4px;padding:7px 9px;border:1px solid #334155;border-left:2px solid #64748b;border-radius:0 6px 6px 0;background:#94a3b80f}.csel-progress.is-live{border-left-color:#fbbf24;background:#fbbf2412}.csel-progress__head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.csel-progress__head b{font-size:.78rem;color:#fde68a}.csel-progress.is-live .csel-progress__head b{animation:csel-blink-text 1.6s ease-in-out infinite}@keyframes csel-blink-text{0%,to{opacity:1}50%{opacity:.65}}.csel-progress__num{font-size:.72rem;color:#94a3b8;font-variant-numeric:tabular-nums}.csel-progress__track{display:block;height:6px;border-radius:99px;background:#94a3b82e;overflow:hidden}.csel-progress__track>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#fbbf24);transition:width .4s ease}.csel-progress__msg{font-size:.66rem;color:#94a3b8;line-height:1.35}.csel-count{font-size:.68rem;color:#64748b;text-align:center}.csel-notice{font-size:.7rem;color:#fcd34d;text-align:center}@media (max-width: 900px){.csel{--csel-slot: clamp(64px, 9vh, 88px);flex-direction:column;align-items:center}.csel-grid__row{gap:8px}.csel-detail{flex:1 1 auto;width:100%;max-width:460px}}.csel-detail-btn{flex:1 1 40%;padding:9px 12px;border-radius:8px;border:1px solid #334155;background:#1e293bcc;color:#cbd5e1;font-size:.82rem;cursor:pointer}.csel-detail-btn:hover:not(:disabled){border-color:#93c5fd;color:#dbeafe}.csel-lock{flex:0 0 auto;width:var(--csel-slot);height:var(--csel-slot);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;border-radius:14px;border:2px dashed #b45309;background:#78350f2e;color:#fdba74;cursor:pointer;transition:border-color .12s ease,transform .12s ease}.csel-lock:hover{border-color:#fbbf24;transform:translateY(-1px)}.csel-lock__icon{font-size:1.2rem;line-height:1}.csel-lock__text{font-size:.6rem;text-align:center;line-height:1.15}.csel-lock__text small{display:block;color:#b45309;font-size:.54rem}.csel-manage{padding:8px 12px;font-size:12px;border-radius:9px;border:1px solid #33405c;background:transparent;color:#c8d3e6;cursor:pointer;white-space:nowrap}.csel-manage:hover{border-color:#ffd166;color:#ffd166}@media (pointer: coarse) and (max-width: 1024px),(orientation: portrait) and (max-width: 900px){.csel-play{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;box-shadow:0 6px 18px #0000008c}}@media (orientation: portrait) and (max-width: 900px){.csel{--csel-slot: clamp(84px, 24vw, 120px);flex:0 0 auto;flex-direction:column;align-items:center;gap:12px}.csel-grid-wrap{align-self:stretch}.csel-grid__row{gap:10px}.csel-slot__name{font-size:.58rem}.csel-detail{flex:0 0 auto;width:100%;max-width:460px;min-height:0}}@media (orientation: landscape) and (max-height: 560px){.csel{--csel-slot: clamp(54px, 7.2vw, 76px);flex:1 1 auto;flex-direction:row;align-items:stretch;gap:12px}.csel-grid-wrap{align-self:flex-start}.csel-grid,.csel-grid__row{gap:8px}.csel-slot__name{font-size:.52rem}.csel-detail{flex:0 1 300px;gap:6px;padding:8px 10px}.csel-detail__portrait{width:52px;height:62px;flex:0 0 52px}.csel-detail__name{font-size:.95rem}.csel-detail__blurb,.csel-super,.csel-preview{display:none}.csel-actions{gap:6px}.csel-play{position:static;box-shadow:none;padding:7px 10px;font-size:.82rem}}.acct-badge{position:absolute;top:10px;right:12px;z-index:30}.acct-badge__btn{display:inline-flex;align-items:center;gap:6px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 12px;font-size:12px;border-radius:999px;border:1px solid #33405c;background:#141826e6;color:#c8d3e6;cursor:pointer}.acct-badge__btn:hover{border-color:#ffd166;color:#ffd166}.acct-badge__btn.is-logged{border-color:#2f6b4f;color:#b6e3c9}.acct-badge__dot{width:7px;height:7px;border-radius:50%;background:#45d483;flex-shrink:0}.acct-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#06080eb8;display:flex;align-items:center;justify-content:center;padding:20px}.acct-modal{position:relative;width:min(400px,100%);max-height:86vh;overflow-y:auto;padding:22px 22px 18px;border-radius:14px;border:1px solid #33405c;background:#141826;box-shadow:0 20px 60px #0000008c}.acct-modal--wide{width:min(560px,100%)}.acct-modal__close{position:absolute;top:8px;right:10px;width:28px;height:28px;font-size:18px;line-height:1;border:none;border-radius:8px;background:transparent;color:#7f8ca6;cursor:pointer}.acct-modal__close:hover{background:#1e2436;color:#e2e8f0}.acct-modal__title{font-size:18px;color:#ffd166;margin-bottom:6px}.acct-modal__hint{font-size:12.5px;line-height:1.6;color:#93a0b8;margin-bottom:14px}.acct-form{display:flex;flex-direction:column;gap:10px}.acct-input{width:100%;padding:10px 12px;font-size:14px;border-radius:9px;border:1px solid #33405c;background:#0f1220;color:#e2e8f0}.acct-input:focus{outline:none;border-color:#ffd166}.acct-input--code{letter-spacing:8px;text-align:center;font-size:22px;font-weight:700}.acct-primary{padding:10px 14px;font-size:14px;font-weight:700;border:none;border-radius:9px;background:#ffd166;color:#1a1408;cursor:pointer}.acct-primary:disabled{opacity:.55;cursor:default}.acct-link{padding:6px;font-size:12px;border:none;background:transparent;color:#8fa6c8;text-decoration:underline;cursor:pointer}.acct-danger{padding:8px 14px;font-size:12.5px;border-radius:9px;border:1px solid #6b2f34;background:transparent;color:#ff9d9d;cursor:pointer}.acct-danger:disabled{opacity:.55;cursor:default}.acct-devcode{font-size:12px;color:#b6e3c9;background:#2f6b4f40;border:1px solid #2f6b4f;border-radius:8px;padding:7px 9px}.acct-error{margin-top:10px;font-size:12.5px;color:#ff9d9d}.acct-legal{margin-top:14px;padding-top:10px;border-top:1px solid #232b40;font-size:11px;line-height:1.6;color:#6d7a92}.acct-sect{margin-top:14px;padding-top:12px;border-top:1px solid #232b40}.acct-sect__title{font-size:13px;color:#cbd6e8;margin-bottom:8px}.acct-sect--row{display:flex;gap:24px}.acct-sect--row>div{flex:1}.acct-account{display:flex;flex-direction:column;gap:8px;border-top:none;padding-top:0;margin-top:4px}.acct-account__label{font-size:11px;color:#6d7a92;margin-right:8px}.acct-account__email{font-size:14px;color:#e2e8f0}.acct-account__chips{display:flex;flex-wrap:wrap;gap:6px}.acct-chip{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid #33405c;color:#93a0b8}.acct-chip--ok{border-color:#2f6b4f;color:#b6e3c9}.acct-empty{font-size:12px;line-height:1.6;color:#6d7a92}.acct-chars{list-style:none;display:flex;flex-direction:column;gap:8px}.acct-char{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#0f1220;border:1px solid #232b40}.acct-char__face{width:42px;height:42px;border-radius:9px;object-fit:cover;background:#1b2133;flex-shrink:0}.acct-char__face--empty{display:grid;place-items:center;color:#55617a;font-size:16px}.acct-char__meta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.acct-char__meta b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acct-char__sub{font-size:11px;color:#7f8ca6}.acct-char__tag{font-size:11px;padding:2px 8px;border-radius:999px;border:1px dashed #4a3f1e;color:#d8b96b;flex-shrink:0}.acct-actions{margin-top:16px;padding-top:12px;border-top:1px solid #232b40;display:flex;align-items:center;justify-content:space-between}.acct-credit__big{font-size:18px;font-weight:700;color:#ffd166;margin-bottom:2px}.acct-credit__cells{font-size:11px;font-weight:400;color:#7f8ca6;margin-left:4px}.acct-ledger{list-style:none;margin-top:6px;display:flex;flex-direction:column;gap:2px}.acct-ledger li{font-size:11px;color:#7f8ca6}.acct-ledger .is-plus{color:#7ee2a8;font-weight:700}.acct-ledger .is-minus{color:#ff9d9d;font-weight:700}.acct-limit{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:90;display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100vw - 32px));padding:10px 12px;border-radius:12px;border:1px solid #6b5a22;background:#30270ef5;box-shadow:0 12px 32px #00000073}.acct-limit__icon{font-size:18px;line-height:1}.acct-limit__text{display:flex;flex-direction:column;gap:2px;min-width:0}.acct-limit__text b{font-size:12.5px;color:#ffd166}.acct-limit__text span{font-size:11.5px;color:#d9c9a0}.acct-limit__close{margin-left:auto;width:24px;height:24px;border:none;border-radius:7px;background:transparent;color:#b0a583;font-size:16px;line-height:1;cursor:pointer}.acct-limit__close:hover{background:#ffd16626;color:#ffd166}.cm-modal{width:min(720px,100%)}.cm-toolbar{display:flex;gap:8px;margin:10px 0 4px}.cm-search{flex:1}.cm-create{white-space:nowrap}.cm-notice{font-size:12px;color:#b6e3c9;background:#2f6b4f2e;border:1px solid #2f6b4f;border-radius:8px;padding:6px 9px;margin:6px 0}.cm-list{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:8px}.cm-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#0f1220;border:1px solid #232b40}.cm-row.is-equipped{border-color:#2f6b4f}.cm-face{width:52px;height:52px;border-radius:10px;object-fit:cover;background:#1b2133;flex-shrink:0}.cm-face--empty{display:grid;place-items:center;color:#55617a;font-size:18px}.cm-meta{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.cm-meta b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-sub{font-size:11px;color:#7f8ca6}.cm-badge{margin-left:6px;font-style:normal;color:#7ee2a8}.cm-actions{display:flex;gap:6px;flex-shrink:0}.cm-actions button{padding:5px 9px;font-size:11.5px;border-radius:8px;border:1px solid #33405c;background:transparent;color:#c8d3e6;cursor:pointer}.cm-actions button:hover:not(:disabled){border-color:#ffd166;color:#ffd166}.cm-actions button:disabled{opacity:.5;cursor:default}.cm-actions .cm-danger{border-color:#6b2f34;color:#ff9d9d}.cm-actions .cm-danger:hover:not(:disabled){border-color:#ff9d9d;color:#ff9d9d}.acct-char__unlock{flex-shrink:0;padding:5px 9px;font-size:11px;border-radius:999px;border:1px dashed #6b5a22;background:transparent;color:#d8b96b;cursor:pointer}.acct-char__unlock:hover:not(:disabled){border-style:solid;border-color:#ffd166;color:#ffd166}.acct-char__unlock:disabled{opacity:.55;cursor:default}.acct-limit__cta{padding:6px 10px;font-size:11.5px;font-weight:700;border-radius:8px;border:none;background:#ffd166;color:#1a1408;cursor:pointer;white-space:nowrap}.acct-badge--compact{top:auto;bottom:10px;right:12px}.cm-draft-title{margin-top:16px;padding-top:12px;border-top:1px solid #232b40}.cm-draft-hint{margin-bottom:6px}.cm-row--draft{border-style:dashed;border-color:#3a4763}.cm-face--draft{display:grid;place-items:center;font-size:20px;background:#171d2e;color:#7f8ca6}.cm-devline{display:flex;align-items:center;gap:8px;margin:4px 0 6px;font-size:11px;color:#6d7a92;flex-wrap:wrap}.acct-chip--admin{border-color:#6b5a22;color:#ffd166;background:#ffd16614}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}#root{min-height:100%}body{font-family:Segoe UI,system-ui,sans-serif;background:#0f0f1a;color:#e2e8f0}.app{min-height:100dvh;max-width:980px;margin:0 auto;padding:8px 12px;display:flex;flex-direction:column;gap:8px;overflow:visible}.app--stage{height:100dvh;min-height:0;overflow:hidden}.app--workbench{max-width:1100px;overflow:visible}.app-header{display:flex;align-items:baseline;gap:12px;flex-shrink:0;flex-wrap:wrap}.app-nav{margin-left:auto;display:flex;gap:6px}.app-nav button{background:#1e293b;border:1px solid #475569;color:#94a3b8;border-radius:4px;padding:4px 10px;font-size:.75rem;cursor:pointer}.app-nav button.active,.app-nav button:hover{border-color:#fbbf24;color:#fbbf24}.app-header h1{font-size:1.25rem;color:#fbbf24;letter-spacing:.05em}.subtitle{font-size:.8rem;color:#64748b}.hud{display:flex;align-items:center;gap:18px;padding:7px 14px 8px;flex-shrink:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:linear-gradient(180deg,#121a30,#070a14);border:2px solid #2a3550;border-radius:4px;box-shadow:inset 0 1px #ffffff12,inset 0 -2px #0009,0 2px 8px #00000080}.hud-caption{font-size:.58rem;letter-spacing:.18em;color:#93a4c9}.hud-player{display:flex;align-items:center;gap:10px}.hud-portrait{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border:2px solid #4b5675;border-radius:3px;background:radial-gradient(circle at 50% 30%,#2b3a5f,#101625);box-shadow:inset 0 0 0 1px #05070f,0 0 0 1px #05070f}.hud-portrait img{width:100%;height:100%;object-fit:cover}.hud-portrait-fallback{font-size:.7rem;color:#7f8aa8}.hud-player-body{display:flex;flex-direction:column;gap:4px;min-width:240px}.hud-enemy-slot{display:flex;align-items:center;height:40px}.hud-enemy{display:flex;align-items:center;gap:8px;animation-name:enemy-hp-fade;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes enemy-hp-fade{0%,80%{opacity:1}to{opacity:0}}.hud-enemy-portrait{position:relative;flex-shrink:0;overflow:hidden;border:2px solid #4b5675;border-radius:3px;background:radial-gradient(circle at 50% 30%,#2b3a5f,#101625);box-shadow:inset 0 0 0 1px #05070f,0 0 0 1px #05070f}.hud-enemy-portrait img{width:100%;height:100%;object-fit:cover}.hud-enemy-ko{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,transparent 43%,#ef4444 43%,#ef4444 57%,transparent 57%),linear-gradient(-45deg,transparent 43%,#ef4444 43%,#ef4444 57%,transparent 57%);box-shadow:inset 0 0 0 2px #ef444480}.hud-enemy-body{display:flex;flex-direction:column;gap:2px}.hud-enemy-label{font-size:.6rem;letter-spacing:.12em;color:#ffb4b4}.hud-enemy-track{position:relative;display:inline-block;width:170px;height:11px;overflow:hidden;border:2px solid #0a0d16;border-radius:2px;background:linear-gradient(180deg,#4a0d12,#26070a)}.hud-enemy-fill{display:block;height:100%;background:linear-gradient(180deg,#ffe066,#f8b117 45%,#c97a06);transition:width .1s linear}.hud-enemy.is-dead .hud-enemy-fill{background:#3b0d0d}.hud-enemy-num{min-width:34px;font-size:.72rem;font-weight:700;color:#ffd9a0;text-shadow:1px 1px 0 #000;font-variant-numeric:tabular-nums}.hud-enemy.is-dead .hud-enemy-num{color:#ef4444}.hud-player-name{font-size:.58rem;letter-spacing:.14em;color:#93a4c9}.hud-hp{display:flex;align-items:center;gap:8px}.hud-hp-track{position:relative;width:200px;height:15px;overflow:hidden;border:2px solid #0a0d16;border-radius:2px;background:linear-gradient(180deg,#4a0d12,#26070a);box-shadow:inset 0 1px #ffffff14}.hud-hp-fill{position:absolute;top:0;bottom:0;left:0;background:linear-gradient(180deg,#ffe066,#f8b117 45%,#c97a06);transition:width .12s linear}.hud-hp.is-mid .hud-hp-fill{background:linear-gradient(180deg,#ffc65c,#f59e0b 45%,#b45309)}.hud-hp.is-low .hud-hp-fill{background:linear-gradient(180deg,#ff9a9a,#ef4444 45%,#991b1b);animation:hp-blink .5s step-end infinite}.hud-hp-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:repeating-linear-gradient(90deg,transparent 0 9px,rgba(0,0,0,.55) 9px 10px)}.hud-hp-readout{min-width:66px;font-size:.8rem;font-weight:700;color:#ffe9a8;text-shadow:1px 1px 0 #000;font-variant-numeric:tabular-nums}.hud-hp-readout span{color:#7f8aa8;font-weight:500}@keyframes hp-blink{50%{opacity:.42}}.hud-meter{display:flex;align-items:center;gap:6px;width:190px}.hud-meter-track{position:relative;flex:1;height:7px;overflow:hidden;border:1px solid #2a3550;border-radius:2px;background:#131a2c}.hud-meter-fill{display:block;height:100%;background:linear-gradient(180deg,#c4b5fd,#8b5cf6 55%,#5b21b6);transition:width .14s linear}.hud-meter-label{flex:none;width:5.6em;color:#64748b;font-size:.56rem;letter-spacing:.1em}.hud-meter.is-full .hud-meter-track{border-color:#fbbf24;box-shadow:0 0 6px #fbbf2473}.hud-meter.is-full .hud-meter-label{color:#fbbf24;animation:hp-blink .8s step-end infinite}.hud-meter-super-name{flex:none;margin-left:.35em;color:#fbbf24;font-size:.54rem;letter-spacing:.04em;opacity:.85;white-space:nowrap}.hud-score{flex:1;min-width:120px;text-align:center}.hud-score-value{font-size:1.5rem;font-weight:800;line-height:1.05;color:#fff;text-shadow:2px 2px 0 #000,0 0 10px rgba(255,209,102,.22);font-variant-numeric:tabular-nums}.hud-right{display:flex;align-items:center;gap:18px}.hud-time,.hud-lives{text-align:center}.hud-time-value{font-size:1.2rem;font-weight:800;color:#fff;text-shadow:2px 2px 0 #000;font-variant-numeric:tabular-nums}.hud-time-value.is-low{color:#ff6b6b;animation:timer-blink .6s step-end infinite}.hud-lives-icons{display:flex;align-items:center;justify-content:center;gap:3px;min-height:20px}.hud-life{width:19px;height:19px;object-fit:cover;border:1px solid #4b5675;border-radius:2px}.hud-life-fallback{display:inline-block;width:12px;height:12px;border-radius:50%;background:#ef4444}.hud-lives-more{font-size:.7rem;color:#ffd166}.hud-meta{display:flex;align-items:center;gap:8px;padding-left:14px;border-left:1px solid #2a3550}.hud-chip{padding:2px 7px;border:1px solid #2a3550;border-radius:3px;background:#131a2c;color:#9fb0d0;font-size:.6rem;letter-spacing:.06em;white-space:nowrap}.hud-chip.is-combo{border-color:#b45309;background:linear-gradient(180deg,#ffe066,#f59e0b);color:#0b0f1d;font-weight:700}@media (max-width: 1000px){.hud{flex-wrap:wrap;gap:10px}.hud-player-body{min-width:160px}.hud-hp-track{width:150px}.hud-meta{border-left:none;padding-left:0}}@keyframes timer-blink{50%{opacity:.4}}.game-over-score{font-size:1.25rem;font-weight:700;color:#fbbf24;margin-bottom:4px}.game-over-bonus{color:#4ade80;margin-bottom:8px}.hud-row{display:flex;align-items:center;gap:10px}.hud-label{font-size:.75rem;font-weight:700;width:40px;color:#94a3b8}.boss-label{color:#f87171}.bar-track{flex:1;height:12px;background:#1e293b;border-radius:4px;overflow:hidden;border:1px solid #475569}.boss-track{border-color:#7f1d1d}.bar-fill{height:100%;transition:width .15s ease;border-radius:3px}.hp-fill{background:linear-gradient(90deg,#16a34a,#4ade80)}.boss-fill{background:linear-gradient(90deg,#b91c1c,#f87171)}.hud-value{font-size:.7rem;color:#cbd5e1;width:64px;text-align:right;font-variant-numeric:tabular-nums}.hud-info{font-size:.7rem;color:#64748b;font-family:monospace}.game-wrapper{position:relative;flex:1;min-height:0;border:2px solid #334155;border-radius:8px;overflow:hidden;background:#1a1a2e}.game-canvas{width:100%;height:100%;overflow:hidden}.game-canvas canvas{display:block}.virtual-controls{display:flex;position:absolute;bottom:0;left:0;right:0;padding:0 18px 14px;justify-content:space-between;align-items:flex-end;pointer-events:none;z-index:6}.dpad{position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr;width:148px;height:148px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#94c5ff29,#060c1a6b 68%);border:1px solid rgba(148,197,255,.28);box-shadow:inset 0 1px #ffffff1f;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:auto}.dpad:after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#94c5ff38;box-shadow:0 0 10px #60a5fa59;pointer-events:none}.dpad .ctrl-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:100%;height:100%;border:none;background:transparent;color:#e2f0ffeb;font-size:.95rem;line-height:1;text-shadow:0 0 8px rgba(96,165,250,.55)}.dpad__glyph{font-size:1rem;line-height:1}.dpad .ctrl-btn__key{min-width:17px;font-size:.68rem;padding:1px 4px;border-radius:4px;color:#e2f0ffd9;background:#00000047;border-color:#bfdbfe52}.dpad .ctrl-btn:active{background:#94c5ff38}.dpad-up{grid-column:2;grid-row:1}.dpad-left{grid-column:1;grid-row:2}.dpad-right{grid-column:3;grid-row:2}.dpad-down{grid-column:2;grid-row:3}.ctrl-btn{width:52px;height:52px;border-radius:50%;border:2px solid rgba(255,255,255,.3);background:#00000073;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform 90ms ease,box-shadow .16s ease,opacity .16s ease}.action-buttons{display:flex;gap:10px;align-items:flex-end;pointer-events:auto}.action-buttons .ctrl-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:66px;height:66px;font-size:.72rem;letter-spacing:.04em;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ctrl-btn__label{line-height:1}.ctrl-btn__key{min-width:20px;padding:2px 6px;border-radius:5px;background:#00000061;border:1px solid rgba(255,255,255,.28);font-size:.78rem;font-weight:700;letter-spacing:.02em;line-height:1.15;opacity:.95}.attack-btn{width:72px;height:72px;background:#dc262699;border-color:#fca5a58c;box-shadow:0 0 12px #ef444459;margin-bottom:0}.jump-btn{background:#2563eb99;border-color:#93c5fd8c;box-shadow:0 0 12px #3b82f659;margin-bottom:14px}.super-btn{background:#785a0a73;border-color:#b4963c73;color:#fff5c88c;opacity:.5;cursor:not-allowed;filter:saturate(.4);margin-bottom:14px}.super-btn.is-ready{opacity:1;cursor:pointer;filter:none;color:#fff8dc;background:#ca8a04d9;border-color:#fde047e6;animation:super-ready-pulse 1.25s ease-in-out infinite}@keyframes super-ready-pulse{0%,to{box-shadow:0 0 #fde04700;transform:scale(1)}45%{box-shadow:0 0 26px #fde047d9,0 0 46px #fbbf2473;transform:scale(1.06)}}.virtual-controls.is-super-ready .dpad{border-color:#fde04773;box-shadow:inset 0 1px #ffffff1f,0 0 18px #fbbf2440}@media (hover: none),(pointer: coarse){.ctrl-btn__key{display:none}}.pause-slider{display:flex;align-items:center;gap:8px;width:100%;font-size:.8rem;color:#cbd5e1}.pause-slider span{width:34px;text-align:right}.pause-slider b{width:30px;text-align:left;color:#fbbf24;font-variant-numeric:tabular-nums}.pause-slider input[type=range]{flex:1;accent-color:#fbbf24;cursor:pointer}.ctrl-btn:active{background:#ffffff40}.game-over-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:100}.game-over-panel{background:#1e293b;border:2px solid #475569;border-radius:12px;padding:32px 48px;text-align:center}.game-over-panel h2{font-size:2rem;margin-bottom:8px}.game-over-panel h2.victory{color:#4ade80}.game-over-panel h2.defeat{color:#f87171}.game-over-panel p{color:#94a3b8;margin-bottom:20px}.restart-btn{padding:10px 28px;font-size:1rem;font-weight:700;background:#2563eb;color:#fff;border:none;border-radius:8px;cursor:pointer}.restart-btn:hover{background:#1d4ed8}.app-footer{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;padding:4px 8px 6px;font-size:.72rem;color:#64748b}.controls-group{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.controls-group .sep{color:#334155}.controls-grab{color:#fbbf24}.controls-grab b{color:#fde68a;font-weight:600}kbd.key{display:inline-block;min-width:1.4em;padding:1px 5px;border:1px solid #334155;border-bottom-width:2px;border-radius:4px;background:#1e293b;color:#cbd5e1;font:600 .68rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;text-align:center}.play-area{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.menu-screen{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 20%,#1e1b4b,#0f0f1a 70%);border:2px solid #334155;border-radius:12px;overflow:hidden}.title-inner{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:24px}.menu-title{font-size:3.4rem;font-family:Impact,Arial Black,sans-serif;letter-spacing:.12em;color:#fbbf24;text-shadow:3px 3px 0 #b91c1c,6px 6px 0 rgba(0,0,0,.6);margin:0}.menu-title-sm{font-size:2rem;margin-bottom:16px}.menu-subtitle{color:#4ade80;font-weight:700;letter-spacing:.25em}.menu-tagline{color:#94a3b8;font-size:.85rem}.menu-hint-grab{color:#fbbf24;margin-top:6px}.menu-hint-grab b{color:#fde68a}.menu-hint{color:#64748b;font-size:.75rem}.character-row-label{display:flex;align-items:baseline;gap:10px;margin:2px 0 -4px}.character-row-label b{font-size:.95rem;color:#fbbf24;letter-spacing:.08em}.character-row-label span{font-size:.7rem;color:#64748b;letter-spacing:.04em}.character-role{font-size:.68rem;color:#38bdf8;letter-spacing:.06em}.menu-screen--home .character-row--default{padding:8px 10px 10px;border-radius:12px;background:linear-gradient(180deg,#1e293bbf,#0f172a8c);border:1px solid rgba(148,163,184,.16)}.menu-screen--home .character-row--default .character-art,.menu-screen--home .character-row--default .character-art img{height:46px}.menu-screen--home .character-row--default .character-art{width:56px}.menu-screen--home .character-row--default .stat-row{line-height:1.05}.menu-screen--home .character-row--default .character-name{font-size:.92rem}.menu-screen--home .character-row--default{padding:5px 8px 7px}.menu-screen--home .character-row-label{margin:0}.menu-screen--home .character-stats{font-size:.68rem;line-height:1.25}.menu-screen--home .character-role{font-size:.64rem}.menu-screen--home{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:8px 16px 4px;overflow:visible;box-sizing:border-box}.home-intro{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}.home-intro .menu-title{font-size:2.5rem}.home-intro .menu-subtitle{font-size:.8rem;letter-spacing:.3em}.home-story{margin:2px 0 0;color:#cbd5e1;font-size:.78rem;line-height:1.4}.home-story b{color:#fbbf24}.home-howto{margin:2px 0 0;color:#64748b;font-size:.72rem;line-height:1.6}.home-howto kbd{background:#1e293b;border:1px solid #475569;border-bottom-width:2px;border-radius:4px;padding:0 5px;color:#e2e8f0;font-family:inherit;font-size:.72rem}.home-howto--best{color:#94a3b8;font-variant-numeric:tabular-nums}.home-howto--best b{color:#fbbf24;font-weight:700}.character-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.character-card{display:flex;flex-direction:column;gap:8px;align-items:stretch;text-align:left;padding:14px;border:2px solid #334155;border-radius:10px;background:linear-gradient(180deg,#1e293be6,#0f172ae6);cursor:pointer;transition:border-color .15s,transform .15s;font:inherit;color:inherit}.character-card.is-disabled{opacity:.6;cursor:progress}.character-art{width:130px;height:130px;align-self:center;display:flex;align-items:flex-end;justify-content:flex-start;overflow:hidden;border-radius:8px;background:radial-gradient(120% 90% at 50% 100%,#94a3b829,#0f172a00)}.character-art img{height:130px;width:auto}.character-art img.character-art__face{height:118px;width:118px;margin:0 auto;object-fit:contain}.character-row--mine{align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:12px}.character-card--add,.character-card--mine{min-width:190px;max-width:220px;flex:0 0 auto}.character-card--add .character-art{height:118px}.character-card--add .character-art__empty{margin:0 auto;width:62px;height:62px;font-size:30px;line-height:1;border-style:dashed;border-color:#7c3aed;color:#c4b5fd;background:#7c3aed1f}.character-card--mine .character-art{height:118px;background:radial-gradient(120% 90% at 50% 100%,#7c3aed47,#0f172a00)}.character-art__empty{align-self:center;margin:0 auto 26px;width:62px;height:62px;display:grid;place-items:center;border:2px dashed #6d28d9;border-radius:10px;color:#a78bfa;font-size:2.1rem;font-weight:700;line-height:1;font-style:normal}.character-body{display:flex;flex-direction:column;gap:6px;align-items:flex-start;min-width:0}.character-card:hover{border-color:#fbbf24;transform:translateY(-2px)}.character-card--custom{border-color:#7c3aed;background:linear-gradient(180deg,#4c1d9573,#0f172ae6)}.character-card--active{border-color:#a78bfa;box-shadow:0 0 0 2px #a78bfa59 inset}.character-stats{display:flex;flex-direction:column;gap:1px}.stat-row{display:flex;align-items:center;gap:7px}.stat-label{width:2.4em;flex:none;color:#94a3b8;font-size:.7rem;letter-spacing:.06em}.stat-stars{display:inline-flex;gap:1px}.stat-star{font-style:normal;font-size:.78rem;line-height:1;color:#3f4a63}.stat-star.is-on{color:#fbbf24;text-shadow:0 0 4px rgba(251,191,36,.4)}.character-card--custom .stat-star.is-on{color:#c4b5fd;text-shadow:0 0 4px rgba(167,139,250,.45)}.character-name{font-size:1.35rem;color:#f8fafc}.character-blurb{color:#94a3b8;font-size:.76rem;line-height:1.6}.character-go{margin-top:4px;font-style:normal;font-size:.76rem;color:#fbbf24}.menu-screen--home .character-card{gap:4px;padding:8px 10px}.menu-screen--home .character-row{gap:10px}.menu-screen--home .character-row--mine{grid-template-columns:repeat(auto-fit,minmax(180px,210px));justify-content:start}.menu-screen--home .character-art,.menu-screen--home .character-card--add .character-art,.menu-screen--home .character-card--mine .character-art{height:84px;width:96px;flex:none}.menu-screen--home .character-art img{height:84px}.menu-screen--home .character-art img.character-art__face{height:80px;width:80px}.menu-screen--home .character-name{font-size:1rem}.menu-screen--home .character-row:not(.character-row--mine) .character-blurb{display:none}.menu-screen--home .character-blurb{font-size:.7rem;line-height:1.35}.menu-screen--home .character-go{margin-top:1px;font-size:.7rem}.menu-screen--home .stat-stars{font-size:.7rem}.menu-screen--home.is-workbench{overflow:hidden}.menu-screen--home.is-workbench .home-intro,.menu-screen--home.is-workbench .csel,.menu-screen--home.is-workbench .character-row,.menu-screen--home.is-workbench .character-row-label,.menu-screen--home.is-workbench .home-story,.menu-screen--home.is-workbench .home-howto{display:none}.home-manage{position:absolute;top:10px;right:96px;z-index:30;padding:5px 11px;border-radius:8px;border:1px solid #33405c;background:#0f172ad9;color:#c8d3e6;font-size:.76rem;cursor:pointer;white-space:nowrap}.home-manage:hover{border-color:#fbbf24;color:#fbbf24}.home-toolbar{display:none;align-items:center;gap:10px;flex:0 0 auto;padding:2px 2px 0;font-size:.8rem;color:#94a3b8}.menu-screen--home.is-workbench .home-toolbar{display:flex}.home-toolbar__back{background:#1e293b;border:1px solid #475569;color:#e2e8f0;border-radius:6px;padding:4px 12px;font-size:.78rem;cursor:pointer}.home-toolbar__back:hover{border-color:#fbbf24;color:#fbbf24}.home-toolbar__title{color:#fbbf24;font-size:.9rem;letter-spacing:.04em}.home-toolbar__hint{margin-left:auto;font-size:.72rem;color:#64748b}.menu-screen--home.is-workbench .home-workbench{flex:1 1 auto;min-height:0}.character-actions{display:flex;gap:6px}.character-actions button{padding:2px 8px;font-size:.66rem;color:#cbd5e1;background:#334155d9;border:1px solid #475569;border-radius:6px;cursor:pointer}.character-actions button:hover{border-color:#a78bfa;color:#f8fafc}.game-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle at 50% 55%,#1b2033,#0b0f1a 70%);z-index:5}.game-loading__ring{width:64px;height:64px;border-radius:50%;background:conic-gradient(from 0deg,#fbbf24,#fbbf24 70deg,#94a3b82e 70deg,#94a3b82e 360deg);-webkit-mask:radial-gradient(circle,transparent 54%,#000 55%);mask:radial-gradient(circle,transparent 54%,#000 55%);animation:game-loading-spin .9s linear infinite}.game-loading__title{margin:4px 0 0;color:#fbbf24;font-size:.9rem;letter-spacing:.3em}.game-loading__tip{margin:0;color:#94a3b8;font-size:.78rem;letter-spacing:.08em}@keyframes game-loading-spin{to{transform:rotate(360deg)}}.home-workbench{display:flex;flex-direction:column;gap:10px;text-align:left;flex:1 1 auto;min-height:0}.menu-btn{background:#1e293b;border:1px solid #475569;color:#e2e8f0;border-radius:8px;padding:10px 24px;font-size:.95rem;font-weight:700;cursor:pointer}.menu-btn:hover{border-color:#fbbf24;color:#fbbf24}.menu-btn-primary{background:#dc2626;border-color:#f87171;color:#fff;font-size:1.2rem;padding:12px 40px;animation:start-blink 1.2s step-end infinite}@keyframes start-blink{50%{opacity:.55}}.stage-select{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:640px;padding:20px}.stage-cards{display:flex;flex-direction:column;gap:12px;width:100%}.stage-card{display:flex;align-items:center;gap:16px;background:#1e293b;border:2px solid #475569;border-radius:10px;padding:16px 20px;color:#e2e8f0;cursor:pointer;text-align:left;width:100%}.stage-card--unlocked{border-color:#2563eb}.stage-card--unlocked:hover{border-color:#fbbf24;background:#22304a}.stage-card:disabled{opacity:.45;cursor:not-allowed}.stage-card-title{font-weight:700;font-size:1.05rem;flex:1}.stage-card-meta{color:#94a3b8;font-size:.75rem;font-family:monospace}.stage-card-best{color:#fbbf24;font-size:.8rem;font-family:monospace}.pause-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b8;display:flex;align-items:center;justify-content:center;z-index:110}.pause-panel{background:#1e293b;border:2px solid #475569;border-radius:12px;padding:24px 40px;text-align:center;display:flex;flex-direction:column;gap:12px}.pause-title{color:#fbbf24;letter-spacing:.2em}.pause-actions{display:flex;flex-direction:column;gap:8px}.pause-btn{background:#2563eb;color:#fff;border:none;border-radius:6px;padding:8px 22px;font-size:.9rem;font-weight:700;cursor:pointer}.pause-btn:hover{background:#1d4ed8}.pause-hint{color:#64748b;font-size:.7rem}.game-over-stage{color:#94a3b8;font-family:monospace;font-size:.85rem;margin-bottom:8px}.game-over-prompt{color:#fbbf24;font-weight:700;font-size:1.2rem;letter-spacing:.15em;animation:start-blink 1s step-end infinite}.game-over-prompt-dim{color:#64748b;font-size:.85rem;margin-top:6px}.game-over-countdown{color:#4ade80;font-size:2rem;font-weight:700;font-variant-numeric:tabular-nums;min-height:2.2rem}.game-over-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:4px}.game-over-btn{background:#1e293b;border:1px solid #475569;color:#e2e8f0;border-radius:8px;padding:10px 20px;font-size:.95rem;font-weight:700;cursor:pointer}.game-over-btn:hover{border-color:#fbbf24;color:#fbbf24}.game-over-btn--primary{background:#dc2626;border-color:#f87171;color:#fff}.game-over-panel h2.all-clear{color:#fbbf24}.stage-value{width:auto;min-width:110px;color:#fbbf24;font-weight:700;text-align:left}@media (max-width: 768px),(hover: none){.app{padding:6px 8px;gap:6px}.app-header h1{font-size:1rem}.dpad{width:118px;height:118px}.action-buttons .ctrl-btn{width:58px;height:58px}.app-footer{display:none}}.csel-slot__name{font-size:.86rem}.csel-slot.is-locked{opacity:.55}.csel-slot.is-locked .csel-slot__face{border-style:dashed;border-color:#94c5ff59;cursor:not-allowed}.csel-slot.is-locked .csel-slot__face:after{content:"🔒";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:2rem;background:#060a168c;border-radius:inherit}.csel-grid__row--default,.csel-grid__row--hall{position:relative}.csel-rowtitle{width:100%;text-align:left;font-size:.78rem;font-weight:700;letter-spacing:.08em;color:#7f8ea8;margin:0 0 6px 4px}.csel-grid__row--hall{display:flex;justify-content:center;margin-top:6px}.csel-hall{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:14px;border:1px dashed rgba(253,224,71,.55);background:#ca8a041f;color:#fde68a;cursor:pointer}.csel-hall__icon{font-size:1.4rem}.csel-hall__text{font-weight:800;font-size:.95rem}.csel-hall__hint{font-size:.72rem;color:#9fb0cc}.csel-share{display:flex;gap:8px;margin-top:8px}.csel-hallpanel__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;display:grid;place-items:center;padding:20px;background:#03060ec7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.csel-hallpanel{width:100%;max-width:900px;max-height:88vh;overflow-y:auto;padding:16px;border-radius:18px;background:linear-gradient(180deg,#131a2e,#0a0f1d);border:1px solid rgba(148,197,255,.22);color:#e8eefc}.csel-hallpanel__head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.csel-hallpanel__head b{font-size:1rem;color:#fde68a}.csel-hallpanel__head span{font-size:.75rem;color:#7f8ea8}.csel-hallpanel__head .csel-detail-btn{margin-left:auto}.csel-hallpanel__search{display:flex;gap:8px;margin-bottom:12px}.csel-hallpanel__search input{flex:1;padding:9px 12px;border-radius:10px;border:1px solid rgba(148,197,255,.24);background:#00000059;color:#e8eefc}.csel-hallpanel__hint{font-size:.8rem;color:#7f8ea8}.csel-hallpanel__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.csel-hallcard{display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:14px;background:#94c5ff0f;border:1px solid rgba(148,197,255,.18);color:#e8eefc;text-decoration:none}.csel-hallcard:hover{border-color:#fde04799}.csel-hallcard img{width:100%;aspect-ratio:2 / 3;object-fit:contain;border-radius:10px;background:#05070d}.csel-hallcard b{font-size:.82rem}.csel-hallcard span{font-size:.7rem;color:#7f8ea8}.csel-buypanel{width:100%;max-width:420px;padding:20px;border-radius:16px;background:linear-gradient(180deg,#1a2238,#0a0f1d);border:1px solid rgba(253,224,71,.5);box-shadow:0 18px 50px #0009;color:#e8eefc}.csel-buypanel h3{margin:0 0 10px;font-size:1rem;color:#fde68a}.csel-buypanel__line{margin:0 0 10px;font-size:.85rem;color:#cbd5e1}.csel-buypanel__actions{display:flex;justify-content:flex-end;margin-top:12px}.pause-guest{display:flex;flex-direction:column;gap:8px;align-items:center;margin:0 0 14px;padding:12px;border-radius:12px;background:#ca8a0424;border:1px dashed rgba(253,224,71,.5)}.pause-guest__line{margin:0;font-size:12.5px;color:#cbd5e1}.pause-guest__line b{color:#fde68a}.pause-btn--cta{border-color:#fde047d9;background:linear-gradient(180deg,#fde047,#eab308);color:#15200a;font-weight:800}.pause-guest__hint{margin:0;font-size:11px;color:#9fb0cc}.home-howto--touch{display:none}@media (pointer: coarse) and (max-width: 1024px),(orientation: portrait) and (max-width: 900px){.home-howto--keys{display:none}.home-howto--touch{display:block}.menu-screen--home{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}@media (orientation: portrait) and (max-width: 900px){.menu-screen--home{padding:6px 10px calc(78px + env(safe-area-inset-bottom))}.home-intro{gap:4px}.home-intro .menu-title{font-size:clamp(1.9rem,9.5vw,2.5rem);letter-spacing:.08em}.home-intro .menu-subtitle{font-size:.72rem;letter-spacing:.22em}.home-story{font-size:.8rem;line-height:1.55}.home-howto{font-size:.72rem;line-height:1.7}}@media (orientation: landscape) and (max-height: 560px){.menu-screen--home{padding:2px 10px;gap:2px}.home-intro{gap:0}.home-intro .menu-title{font-size:clamp(1.25rem,4.4vw,1.7rem);letter-spacing:.05em}.home-intro .menu-subtitle{font-size:.6rem;letter-spacing:.16em}.home-story{font-size:.66rem;line-height:1.3}.home-howto{font-size:.64rem;line-height:1.4}}.rotate-hint{position:fixed;bottom:calc(150px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:80;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 24px);padding:7px 10px;border:1px solid rgba(251,191,36,.55);border-radius:10px;background:#0f172af0;color:#fde68a;font-size:.72rem;line-height:1.3;box-shadow:0 6px 18px #00000080;pointer-events:none}.rotate-hint__icon{font-size:1rem;line-height:1;animation:rotate-hint-spin 2.4s ease-in-out infinite}@keyframes rotate-hint-spin{0%,60%,to{transform:rotate(0)}80%{transform:rotate(-90deg)}}.rotate-hint__text{color:#e2e8f0}.rotate-hint__close{pointer-events:auto;flex:0 0 auto;padding:3px 8px;border:1px solid rgba(251,191,36,.55);border-radius:7px;background:#fbbf2424;color:#fde68a;font-size:.68rem;font-family:inherit;cursor:pointer}.rotate-hint__close:hover{background:#fbbf2442}.app--stage{padding:0;gap:0}.app--stage .play-area{gap:0;position:relative}.app--stage .game-wrapper{border:none;border-radius:0;background:#05070d}@media (max-height: 560px){.app--stage .virtual-controls{padding:0 12px 8px}.app--stage .dpad{width:116px;height:116px}.app--stage .action-buttons .ctrl-btn{width:56px;height:56px}}.virtual-controls{transition:opacity .45s ease}.virtual-controls.is-idle{opacity:.3}.virtual-controls .ctrl-btn:active{filter:brightness(1.35);box-shadow:0 0 14px #fde0478c}@media (max-height: 560px){.app--stage .virtual-controls{padding:0 8px 6px}.app--stage .dpad{width:96px;height:96px}.app--stage .action-buttons .ctrl-btn{width:50px;height:50px}}@media (pointer: fine) and (min-width: 900px){.app--stage{height:auto;min-height:100dvh;overflow:visible;padding:10px 14px 14px;gap:10px}.app--stage .game-wrapper{border:2px solid #334155;border-radius:12px;box-shadow:0 18px 48px #00000073;background:#05070d}.app--stage .play-area{flex:0 0 auto;margin:auto;width:min(960px,calc((100dvh - 110px)*1.5),100%);height:min(640px,calc(100dvh - 110px))}}@media (pointer: coarse),(max-width: 899px){.app--stage,.app--stage.app--stage-full{padding:0;gap:0;height:100dvh;overflow:hidden}.app--stage .app-header{display:none}.app--stage .game-wrapper{border:none;border-radius:0}}.app-nav__pad{padding:5px 10px;border-radius:8px;border:1px solid #334155;background:#1e293bcc;color:#94a3b8;font-size:.78rem;font-family:inherit;cursor:pointer}.app-nav__pad.is-on{border-color:#fbbf2480;color:#fde68a}@media (pointer: coarse),(max-width: 899px){.app-nav__pad{display:none}}.virtual-controls.is-key-w .dpad-up,.virtual-controls.is-key-a .dpad-left,.virtual-controls.is-key-s .dpad-down,.virtual-controls.is-key-d .dpad-right,.virtual-controls.is-key-up .dpad-up,.virtual-controls.is-key-left .dpad-left,.virtual-controls.is-key-down .dpad-down,.virtual-controls.is-key-right .dpad-right,.virtual-controls.is-key-j .attack-btn,.virtual-controls.is-key-k .jump-btn,.virtual-controls.is-key-l .super-btn{filter:brightness(1.5);box-shadow:0 0 16px #fde04799;border-color:#fde047d9}.game-wrapper{background:radial-gradient(120% 90% at 50% 0%,#1e293b8c,#03060ef2 70%),#05070d;box-shadow:inset 0 0 60px #000000bf}.game-canvas{display:grid;place-items:center}.guest-boot{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:radial-gradient(ellipse at 50% 30%,#1b2440,#070b14 70%);color:#e2e8f0}.guest-boot__ring{width:56px;height:56px;border-radius:50%;border:4px solid rgba(148,163,184,.25);border-top-color:#fbbf24;animation:guest-boot-spin .9s linear infinite}@keyframes guest-boot-spin{to{transform:rotate(360deg)}}.guest-boot__title{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:.04em;color:#fde68a}.guest-boot__tip{margin:0;max-width:30rem;font-size:.8rem;line-height:1.6;color:#94a3b8}.guest-boot__cta{margin-top:6px;padding:10px 20px;border-radius:999px;border:1px solid rgba(251,191,36,.6);background:#fbbf2429;color:#fde68a;font-size:.9rem;font-weight:700;font-family:inherit;cursor:pointer}
