.title-page{position:relative;height:100vh;height:100dvh;min-height:300px;isolation:isolate;overflow:hidden;background:#d8e9c5 url(/backgrounds/mon-mochi-title-portrait-v2.png) center/cover no-repeat;color:#294e37}.title-page-accessible-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(min-aspect-ratio:1/1){.title-page{background-image:url(/backgrounds/mon-mochi-title-landscape-v2.png)}}.title-page-start{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:#294e37;cursor:pointer;touch-action:manipulation;font:inherit}.title-page-start:focus-visible{outline:4px solid #fff9dc;outline-offset:-8px}.title-page-prompt{position:absolute;left:50%;bottom:22%;width:64px;height:64px;transform:translate(-50%);pointer-events:none}.title-page-prompt:before,.title-page-prompt:after{content:"";position:absolute;inset:0;border:3px solid #fffbe7;border-radius:50%;box-shadow:0 0 0 1px #50714580,0 0 12px #fff6ca80;animation:title-tap-contract 2.4s ease-in-out infinite}.title-page-prompt:after{inset:27px;border:0;background:#fffbe7;box-shadow:0 0 8px #46673380;animation:title-tap-contact 2.4s ease-in-out infinite}.title-page-actions{position:absolute;z-index:2;bottom:max(6%,24px);left:50%;transform:translate(-50%);width:min(360px,90%);display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;pointer-events:none}.title-page-choice{width:100%;min-height:48px;padding:12px 20px;border:1px solid #6c8d66;border-radius:12px;background:#fffdf5f2;color:#294e37;font:inherit;cursor:pointer;pointer-events:auto}.title-page-actions p{font-size:13px;line-height:1.6;margin:0;background:#fffdf5e6;border-radius:8px;padding:8px}@keyframes title-tap-contract{0%{transform:scale(1.25);opacity:0}15%{opacity:1}65%{transform:scale(.25);opacity:1}80%,to{transform:scale(.25);opacity:0}}@keyframes title-tap-contact{0%,45%,to{transform:scale(.7);opacity:.45}65%,75%{transform:scale(1.3);opacity:1}}@media(max-height:520px){.title-page-prompt{bottom:28%}.title-page-actions{bottom:12px;gap:6px}.title-page-actions p{font-size:11px;padding:4px 8px}}@media(prefers-reduced-motion:reduce){.title-page-prompt:before,.title-page-prompt:after{animation:none}}.account-page{max-width:560px;margin:auto;padding:24px;color:#36513b;display:flex;flex-direction:column;gap:16px}.account-page header{display:flex;justify-content:space-between;align-items:center;gap:16px}.account-page h1{font-size:24px}.account-page button{padding:12px 16px;border:1px solid #b8d0ab;border-radius:14px;background:#fffdf5;color:#36513b;font:inherit;min-height:48px;cursor:pointer}.account-page button:disabled{opacity:.5;cursor:default}.account-companion{text-align:center}.account-companion img{width:160px;height:160px;object-fit:contain}.account-page p{line-height:1.7}.account-page [role=alert]{color:#a73030}.account-connection-block{position:fixed;inset:0;z-index:200;background:#f5f7edf0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px}.account-connection-block button{min-height:48px;padding:12px 24px;border-radius:14px;border:1px solid #b8d0ab;background:#fff;font:inherit}.spirit-app-content .match-setup-overlay{padding:24px max(20px,calc((100% - 1100px)/2));gap:20px;background:linear-gradient(#edf4df59,#f8f7e580),url(/backgrounds/title-garden-v1.png) center 62%/cover no-repeat}.match-preparation-heading{text-align:center;color:#2f5136;text-shadow:0 2px 10px #fffdf5}.match-preparation-heading h1{margin:0;font-family:serif;font-size:clamp(26px,4vw,38px);letter-spacing:.14em}.spirit-app-content .match-setup-top{padding:16px;border:1px solid #ffffffb3;border-radius:20px;background:#fffdf5e8;box-shadow:0 8px 28px #354d3612}.spirit-app-content .match-team-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.spirit-app-content .match-team-preview{overflow:hidden;border:1px solid #fffdf5e0;border-radius:22px;background:#fffdf5e8;box-shadow:0 10px 30px #354d3620}.spirit-app-content .match-team-preview>.match-team-head{border:0;border-radius:0;padding:16px;gap:10px;background:#f4dfda80}.spirit-app-content .match-team-preview.team-white>.match-team-head{background:#dfeaf180}.spirit-app-content .match-member-abilities{display:grid;grid-template-columns:repeat(var(--setup-team-size),minmax(0,1fr));padding:14px;gap:8px;border:0;background:transparent}.spirit-app-content .match-member-abilities button{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;min-width:0;min-height:130px;padding:10px 4px 12px;border:1px solid #d2dfc4;border-radius:16px;background:linear-gradient(160deg,#fffefaeb,#e6efdccc);color:#3c553c;text-align:center}.spirit-app-content .match-member-abilities button:hover{background:#f4fae8;border-color:#8dae73}.spirit-app-content .match-member-abilities .match-preparation-number{position:absolute;top:7px;left:7px;width:22px;height:22px;z-index:1;box-shadow:0 2px 5px #3a4c2e16}.spirit-app-content .match-preparation-portrait{display:block;width:100%;height:clamp(68px,9vw,115px);object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px #5673441a)}.spirit-app-content .match-member-abilities button strong{max-width:100%;font-size:12px}.spirit-app-content .match-setup-overlay>.match-start-button{flex-shrink:0;min-height:54px;border:1px solid #73955b;border-radius:18px;background:linear-gradient(120deg,#e5f2bf,#a9cd88);color:#30492f;box-shadow:0 5px 18px #34522c24;font-size:18px}.spirit-app-content .match-setup-overlay>p[role=alert]:empty{display:none}@media(max-width:760px){.spirit-app-content .match-setup-overlay{padding:18px 14px;gap:14px}.spirit-app-content .match-team-selectors{grid-template-columns:1fr;gap:14px}.spirit-app-content .match-setup-top{padding:12px;gap:10px}.spirit-app-content .match-setup-top label{flex-basis:calc(50% - 10px)}.spirit-app-content .match-member-abilities{padding:10px;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.spirit-app-content .match-team-preview>.match-team-head{padding:10px 14px;display:flex;align-items:center;justify-content:space-between}.spirit-app-content .match-team-preview>.match-team-head select{min-width:0;width:65%}.spirit-app-content .match-member-abilities button{min-height:110px;padding-bottom:9px}.spirit-app-content .match-preparation-portrait{height:86px}}.spirit-app-content .match-setup-overlay>.match-online-button{flex-shrink:0;min-height:46px;padding:10px 20px;border:1px solid #a8bd98;border-radius:16px;background:#fffdf5eb;color:#3c5c3f;font:inherit;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 3px 12px #34522c14;touch-action:manipulation}.spirit-app-content .match-online-button:hover{background:#eef5e5}.spirit-app-content .match-online-button:focus-visible{outline:3px solid #608747;outline-offset:2px}.spirit-app-content .match-control-settings{display:flex;flex:1 1 320px;flex-direction:column;align-items:stretch;gap:12px;min-width:0}.spirit-app-content .match-mode-switch{position:relative;isolation:isolate;display:flex;padding:4px;border:1px solid #bfceb1;border-radius:999px;background:#e5ecdc;touch-action:pan-y;-webkit-user-select:none;user-select:none}.spirit-app-content .match-mode-slider{position:absolute;z-index:-1;inset:4px auto 4px 4px;width:calc(50% - 4px);border-radius:999px;background:#fffdf5;box-shadow:0 2px 6px #34522c24;transition:transform .18s ease}.spirit-app-content .match-mode-switch.is-right .match-mode-slider{transform:translate(100%)}.spirit-app-content .match-mode-switch label{position:relative;display:grid;place-items:center;flex:1;flex-basis:0;min-width:0;min-height:42px;padding:8px 10px;border:0;background:none;color:#375137;font-size:14px;font-weight:700;cursor:pointer}.spirit-app-content .match-mode-switch input{position:absolute;opacity:0;width:1px;height:1px}.spirit-app-content .match-mode-switch label:has(input:focus-visible){outline:3px solid #608747;outline-offset:0;border-radius:999px}@media(prefers-reduced-motion:reduce){.spirit-app-content .match-mode-slider{transition:none}}.spirit-app-content .match-setup-shell .match-setup-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.spirit-app-content .match-size-settings{display:flex;flex-direction:column;gap:8px;min-width:0;color:#375137;font-size:13px}.spirit-app-content .match-setup-top .match-mode-switch label{flex:1 1 0}.spirit-app-content .match-team-selectors.is-cpu{grid-template-columns:minmax(0,1fr);width:100%;max-width:820px;align-self:center}@media(max-width:760px){.spirit-app-content .match-setup-shell .match-setup-top{grid-template-columns:minmax(0,1fr);gap:14px}}.spirit-app-content .match-team-selectors .team-red>.match-team-head strong{color:#bd3e53}.spirit-app-content .match-team-selectors .team-white>.match-team-head strong{color:#33749c}.spirit-app-content .match-team-selectors.is-cpu .match-team-preview>.match-team-head select{width:100%}.spirit-app-content .match-mode-switch .choice-icon{width:26px;height:26px}.team-dot{display:inline-block;width:18px;height:18px;border-radius:50%;vertical-align:middle;background:#d24b5f;box-shadow:0 0 0 2px #fffdf5,0 0 0 3px #c8d6bd}.team-dot.white{background:#fffdf5;box-shadow:0 0 0 2px #6d8aa0}.spirit-app-content .match-setup-overlay>.match-start-button,.spirit-app-content .match-setup-overlay>.match-online-button{display:grid;place-items:center}.spirit-app-content .match-setup-overlay>.match-start-button svg{width:34px;height:34px}.spirit-app-content .match-setup-overlay>.match-online-button svg{width:28px;height:28px}.match-saving-dots{display:inline-flex;gap:5px}.match-saving-dots i{width:7px;height:7px;border-radius:50%;background:#7aa36c;animation:saving-dot 1s ease-in-out infinite}.match-saving-dots i:nth-child(2){animation-delay:.15s}.match-saving-dots i:nth-child(3){animation-delay:.3s}@keyframes saving-dot{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.match-result-verdict{display:flex;gap:6px;justify-content:center}.match-result-crown{width:56px;height:56px;color:#e6a521;filter:drop-shadow(0 2px 0 #fff)}.match-result-crown.red{color:#d24b5f}.match-result-crown.white{color:#f2f4f7;stroke:#6d8aa0}.match-result-crown.is-draw{width:40px;height:40px;opacity:.85}@media(prefers-reduced-motion:reduce){.match-saving-dots i{animation:none}}.spirit-app-content .match-setup-shell .match-setup-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.spirit-app-content .match-mode-switch label span{font-size:16px;font-weight:800;letter-spacing:.02em}.spirit-app-content .match-team-preview>.match-team-head{display:flex;align-items:center;gap:14px;transition:background .25s}.spirit-app-content .match-team-preview>.match-team-head select{flex:1;min-width:0}.team-color-tabs{display:grid;grid-template-columns:1fr 1fr}.team-color-tab{display:grid;place-items:center;min-height:48px;padding:0;border:0;border-radius:0;background:#f6f6f0;cursor:pointer;touch-action:manipulation;transition:background .2s}.team-color-tab .team-dot{width:26px;height:26px;opacity:.45;transform:scale(.85);transition:transform .2s,opacity .2s}.team-color-tab:hover .team-dot{opacity:.75}.team-color-tab.is-active .team-dot{opacity:1;transform:scale(1.1)}.team-color-tab.red.is-active{background:#f4dfda80;box-shadow:inset 0 3px #d24b5f}.team-color-tab.white.is-active{background:#dfeaf180;box-shadow:inset 0 3px #8fb0c4}.team-color-tab:not(.is-active){box-shadow:inset 0 -1px #d9e0d2}.team-color-tab.red:not(.is-active){border-top-right-radius:0}.team-color-tab:focus-visible{outline:3px solid #608747;outline-offset:-3px}.spirit-app-content .match-team-selectors.is-cpu .match-team-preview>.match-team-head{padding-top:6px}.spirit-app-content .match-team-preview{transition:box-shadow .25s}@media(max-width:760px){.spirit-app-content .match-team-preview>.match-team-head{padding:10px 14px}.spirit-app-content .match-mode-switch label span{font-size:15px}}@media(prefers-reduced-motion:reduce){.team-color-tab,.team-color-tab .team-dot{transition:none}}.spirit-app-content .match-mode-switch label span{white-space:nowrap}@media(max-width:760px){.spirit-app-content .match-mode-switch label{padding:8px 4px}}.spirit-app-content .match-setup-overlay>.match-online-button svg{width:38px;height:38px;color:#3a6fa0}.online-title-icon{width:46px;height:46px;color:#3a6fa0}.spirit-app{height:100vh;height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:#f5f7ed}.spirit-app-content{min-height:0;overflow:auto;overscroll-behavior:contain;isolation:isolate}.spirit-app-content>.match-shell{height:100%;min-height:360px}.spirit-app-content>.garden-page,.spirit-app-content>.online-page,.spirit-app-content>.roster-page{min-height:100%}.spirit-app-content>.online-page.has-match{height:100%;min-height:360px}.spirit-footer{position:relative;z-index:20;padding:6px max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid #c9dbc0;background:#fffdf5;box-shadow:0 -3px 16px #3654390a}.spirit-footer nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:min(760px,100%);margin:auto}.spirit-footer button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:6px 3px;border:1px solid transparent;border-radius:14px;background:transparent;color:#677c68;cursor:pointer;touch-action:manipulation}.spirit-footer button svg{width:27px;height:27px;flex-shrink:0}.spirit-footer button[aria-current=page]{background:#e3f0d9;border-color:#c3d9af;color:#365d39}.spirit-footer button:hover{background:#eef5e6}.spirit-footer button:focus-visible{outline:3px solid #699b65;outline-offset:-2px}.spirit-app-content .online-error{position:absolute;bottom:8px}@media(max-width:600px){.spirit-footer{padding-top:4px}.spirit-footer nav{gap:2px}.spirit-footer button{min-height:48px;border-radius:11px}.spirit-footer button svg{width:25px;height:25px}}@media(max-height:520px){.spirit-footer button{min-height:42px}.spirit-app-content>.match-shell,.spirit-app-content>.online-page.has-match{min-height:300px}}.spirit-app-content .match-setup-top{flex-wrap:wrap;justify-content:flex-start;gap:10px}.spirit-app-content .match-setup-top label{display:grid;gap:5px;min-width:0;flex:1 1 145px;font-size:13px}.spirit-app-content .match-setup-top select{width:100%;max-width:100%;min-width:0}.spirit-app-content .match-edit-roster-button{flex:0 0 auto;align-self:end}.spirit-app-content .match-setup-overlay{min-height:100%;height:100%}.spirit-leave-dialog{width:min(420px,calc(100vw - 32px));border:1px solid #c5d8b8;border-radius:22px;background:#fffdf5;color:#36513b;padding:24px;box-shadow:0 12px 60px #233a3940}.spirit-leave-dialog::backdrop{background:#25463166;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.spirit-leave-dialog h2{font-size:20px;margin:0 0 12px}.spirit-leave-dialog p{font-size:14px;line-height:1.8}.spirit-leave-dialog>div{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.spirit-leave-dialog button{min-height:44px;border:1px solid #b8d0ab;border-radius:12px;background:#edf4e5;color:#36513b;padding:8px 20px;font:inherit;cursor:pointer}.spirit-app:has(.match-shell.is-playing),.spirit-app:has(.online-page.has-match){grid-template-rows:minmax(0,1fr)}.spirit-app:has(.match-shell.is-playing)>.spirit-footer,.spirit-app:has(.online-page.has-match)>.spirit-footer{display:none}.spirit-app-content .online-page.online-plaza{min-height:100%;padding:24px max(20px,calc((100% - 860px)/2));background:linear-gradient(#f8f6e532,#f3f4df50),url(/backgrounds/online-meeting-portrait-v1.png) center center/cover no-repeat;color:#35513e}.spirit-app-content .online-plaza>header{width:100%;max-width:none;margin:0 auto 24px;gap:12px}.online-plaza>header h1{font-family:serif;font-size:clamp(28px,4vw,38px);margin:0;letter-spacing:.12em;text-shadow:0 2px 10px #fffdf5}.spirit-app-content .online-plaza>header button{min-height:44px;background:#fffdf2eb}.online-entry,.online-waiting{width:min(600px,100%);margin:auto;display:grid;gap:18px}.online-team-panel,.online-entry-actions,.online-waiting{padding:20px;border:1px solid #fffdf5cc;border-radius:24px;background:#fffdf4eb;box-shadow:0 10px 30px #35503020}.online-team-heading{display:flex;align-items:end;gap:12px}.online-team-heading label,.online-join-form label,.online-waiting-team{display:grid;gap:8px;min-width:0;flex:1;font-size:13px}.spirit-app-content .online-plaza select,.spirit-app-content .online-plaza input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #b9cbb0;border-radius:12px;background:#fffef9;color:#35513e}.spirit-app-content .online-plaza .online-sub-button{font-size:12px;min-height:44px;white-space:nowrap;background:#f2f6e9;padding:10px 12px}.online-team-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:14px}.online-spirit-slot{position:relative;min-width:0;display:flex;justify-content:center;border:1px solid #d5e1c6;border-radius:16px;background:linear-gradient(150deg,#fffef8,#e7efd9);padding:10px 5px 5px}.online-spirit-slot>span{position:absolute;top:6px;left:6px;z-index:1;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#d94e58;color:#fff;font-size:11px}.online-spirit-slot.white>span{background:#eaf0f7;color:#395568}.online-spirit-slot img,.online-spirit-slot svg{display:block;width:100%;height:100px;object-fit:contain;filter:drop-shadow(0 4px 4px #4e683623)}.online-entry-actions{display:grid;gap:18px}.spirit-app-content .online-plaza .online-primary-button,.spirit-app-content .online-plaza .online-start-button{min-height:52px;border:1px solid #88a56d;border-radius:16px;background:linear-gradient(120deg,#e5f2bf,#b4d38c);font-size:16px;font-weight:700;box-shadow:0 4px 14px #35503014}.online-join-form{display:flex;align-items:end;gap:10px;border-top:1px solid #d9e2cb;padding-top:18px}.spirit-app-content .online-plaza .online-join-button{min-height:44px;white-space:nowrap;background:#fffef7}.online-join-form input{font-family:ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}.online-room-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.online-room-heading>div>span{font-size:12px;color:#6a7b61}.spirit-app-content .online-plaza .online-code{font-family:ui-monospace,monospace;font-size:clamp(20px,4vw,28px);letter-spacing:.08em;line-height:1.6;overflow-wrap:anywhere;color:#365a3c}.online-connection{font-size:11px;color:#7c8c71;flex-shrink:0}.online-connection.is-connected{width:9px;height:9px;border-radius:50%;background:#82ac63;box-shadow:0 0 0 4px #e7f2dc}.spirit-app-content .online-plaza .online-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.spirit-app-content .online-plaza .online-seat{min-width:0;padding:12px;border:1px solid #e1c9c2;border-radius:18px;background:#faf0e8bd}.spirit-app-content .online-plaza .seat-white{border-color:#cbd9df;background:#edf3f5bd}.online-seat.is-own{box-shadow:0 0 0 2px #fffdf5}.online-seat-title{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:13px;color:#b34850}.seat-white .online-seat-title{color:#44708a}.online-seat-title small{font-size:10px;font-weight:400;color:#6c7d63}.online-seat-name{display:block;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.online-seat .online-team-art{gap:4px;padding-top:10px}.online-seat .online-spirit-slot{border:0;padding:14px 0 0;background:#fffdf5a6;border-radius:10px}.online-seat .online-spirit-slot img,.online-seat .online-spirit-slot svg{height:65px}.online-seat .online-spirit-slot>span{width:16px;height:16px;top:3px;left:3px;font-size:9px}.online-empty-seat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-height:89px;align-items:center}.online-empty-seat span{height:50px;border-radius:50% 50% 42% 42%;background:#d4ded67a}.online-ready-state{text-align:center;font-size:12px;color:#859078;margin:12px 0 0}.online-ready-state.is-ready{color:#547d3c;font-weight:700}.online-ready-actions{display:grid;gap:10px}.spirit-app-content .online-plaza .online-start-button{background:linear-gradient(120deg,#c5e6b3,#8cba73)}.online-room-notice{font-size:13px;text-align:center;margin:0}.online-plaza button:focus-visible,.online-plaza input:focus-visible,.online-plaza select:focus-visible{outline:3px solid #769b59;outline-offset:2px}@media(min-aspect-ratio:1/1){.spirit-app-content .online-page.online-plaza{background-image:linear-gradient(#f8f6e532,#f3f4df50),url(/backgrounds/online-meeting-landscape-v1.png)}}@media(max-width:600px){.spirit-app-content .online-page.online-plaza{padding:18px 14px}.spirit-app-content .online-plaza>header{margin-bottom:18px}.online-entry,.online-waiting{gap:14px}.online-team-panel,.online-entry-actions,.online-waiting{padding:16px;border-radius:22px}.online-team-heading{gap:8px}.online-spirit-slot img,.online-spirit-slot svg{height:90px}.online-team-art{gap:7px}.spirit-app-content .online-plaza .online-seats{gap:8px}.spirit-app-content .online-plaza .online-seat{padding:10px 7px}.online-seat-title{font-size:12px}.online-seat-title small{font-size:9px}.online-seat .online-spirit-slot img,.online-seat .online-spirit-slot svg{height:50px}.online-empty-seat{min-height:74px}.online-empty-seat span{height:42px}.online-join-form{gap:8px}}.online-plaza>header h1{display:flex;align-items:center}.online-title-icon{width:40px;height:40px;color:#35513e;filter:drop-shadow(0 2px 6px #fffdf5)}.spirit-app-content .online-plaza .online-icon-button{display:inline-grid;place-items:center;min-width:48px;min-height:46px;padding:0 10px}.online-icon-button svg{width:24px;height:24px}.online-entry-actions .online-primary-button svg,.online-ready-actions button svg{width:30px;height:30px}.online-primary-button,.online-start-button{display:grid;place-items:center}.online-join-button svg{width:24px;height:24px}.online-join-form label{display:flex!important;align-items:center;gap:8px}.online-code-label{display:inline-grid;place-items:center;color:#5d7a52}.online-code-label svg{width:24px;height:24px}.online-room-heading>div{display:flex;align-items:center;gap:8px}.online-seat-title strong{display:inline-flex;align-items:center}.online-seat-title small svg{width:18px;height:18px;color:#d8a42c}.online-ready-state{display:flex;justify-content:center;min-height:24px}.online-ready-state svg{width:22px;height:22px}.online-cancel-mark{font-size:24px;line-height:1}.online-room-notice{display:flex;justify-content:center;gap:6px}.online-room-notice svg{width:42px;height:42px;color:#7d8d78}.match-result-void{width:44px;height:44px;color:#7d8d78}.online-status-mark{display:inline-flex;align-items:center;gap:6px}.online-status-mark svg{width:20px;height:20px}.online-status-mark .team-dot{width:14px;height:14px}.online-status-mark b{font-size:15px}.online-entry-actions .online-primary-button{display:flex!important;align-items:center;justify-content:center;gap:8px;font-weight:700}.online-entry-actions .online-primary-button svg{width:24px!important;height:24px!important}.online-join-form label{flex-direction:column;align-items:stretch!important;gap:6px!important}.online-join-hint{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#4d6a45}.online-join-hint svg{width:20px;height:20px}.spirit-app-content .online-plaza .online-join-button{display:inline-flex;align-items:center;gap:6px;font-weight:700}.online-room-heading>div{flex-wrap:wrap}.online-code-hint{flex-basis:100%;font-size:12px;color:#6a7b61}.online-preparing{display:grid;grid-template-rows:auto 1fr}.online-preparing>p{align-self:center;justify-self:center;margin:0;padding:14px 28px;border-radius:999px;background:#fffdf5e6;color:#294e2c;font-size:20px;font-weight:700}body .match-shell.is-playing,body .online-page.has-match{--match-team-card-height:46px}body .match-shell.is-playing .match-board{inset:0}body .online-page.has-match .online-court{top:0;bottom:0}body .match-shell.is-playing .match-team-own,body .match-shell.is-playing .match-team-opponent,body .online-page.has-match .match-team-own{z-index:12}.match-ball-scores.match-chip-row{display:flex;align-items:center;gap:7px;grid-template-columns:none;grid-template-rows:none;background:none;pointer-events:none}.match-chip{position:relative;display:flex;align-items:center;gap:7px;min-width:0;width:150px;height:42px;padding:0 12px 0 4px;border:4px solid transparent;border-radius:999px;color:#344a40;font:inherit;cursor:default;pointer-events:auto;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,#fffaf0f2 0 34%,#fffaf099 62%,#fffaf022) padding-box,var(--portrait,none) right 6% center / 64% auto no-repeat padding-box,linear-gradient(color-mix(in srgb,var(--portrait-color) 50%,#fffdf2),color-mix(in srgb,var(--portrait-color) 50%,#fffdf2)) padding-box,linear-gradient(var(--progress),var(--progress)) border-box;box-shadow:0 2px 8px #1f352a40;transition:transform .2s,opacity .2s}.match-chip-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#d9475a;color:#fff;font-size:16px;font-weight:900;box-shadow:0 1px 3px #2d483740}.match-chip.white .match-chip-number{background:#fffdf5;color:#3e7194;box-shadow:inset 0 0 0 2px #4f7ea0,0 1px 3px #2d483740}.match-chip-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:850;color:#b72f48;text-shadow:0 0 4px #fffaf0,0 0 2px #fffaf0}.match-chip.white .match-chip-name{color:#2f6585}.match-chip.is-active{transform:scale(1.06)}.match-chip.is-selected{box-shadow:0 0 0 3px #ce9b19,0 2px 8px #1f352a40}.match-chip.is-pending{box-shadow:0 0 0 2px #eacb5d,0 2px 8px #1f352a40;cursor:pointer}.match-chip.is-out,.match-chip.is-finished{opacity:.5}.match-chip.is-out:after{content:"場外";flex:0 0 auto;white-space:nowrap;margin-left:auto;padding:1px 5px;border-radius:6px;background:#8a7a68e6;color:#fff;font-size:10px;font-weight:700}.match-chip-status{margin-left:auto;padding:1px 5px;border-radius:6px;background:#fff1c4;color:#705328;font-size:10px;font-weight:700;white-space:nowrap}.match-chip-skill{position:absolute;top:2px;right:8px;color:#83774e;font-size:11px;text-shadow:0 0 3px #fffaf0}@media(max-width:600px){body .match-shell.is-playing,body .online-page.has-match{--match-team-card-height:42px}.match-ball-scores.match-chip-row{gap:5px}.match-chip{flex:0 1 auto;width:76px;height:38px;padding:0 4px;background:linear-gradient(90deg,#fffaf0e6 0 30%,#fffaf033 70%,#fffaf000) padding-box,var(--portrait,none) right -2px center / auto 150% no-repeat padding-box,linear-gradient(color-mix(in srgb,var(--portrait-color) 50%,#fffdf2),color-mix(in srgb,var(--portrait-color) 50%,#fffdf2)) padding-box,linear-gradient(var(--progress),var(--progress)) border-box}.match-chip-number{flex-basis:24px;width:24px;height:24px;font-size:14px}.match-chip-name,.match-chip-status,.match-chip.is-out:after{display:none}.match-ball-scores.match-chip-row[data-count="5"] .match-chip{width:auto;flex:1 1 0}}.spirit-overview-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#d9475a;color:#fff;border:2px solid #fffaf0;font-size:14px;font-weight:900;line-height:1;box-shadow:0 1px 4px #1f352a66;pointer-events:none}.spirit-overview-number.white{background:#fffdf5;color:#3e7194;border-color:#4f7ea0}.spirit-overview-number.is-active{outline:2px solid #fffaf0;outline-offset:2px}.tutorial-page{position:relative;width:100%;height:100%;min-height:360px;max-width:none;margin:0;padding:0;overflow:hidden;background:#8ac6ef;color:#294a3b}.tutorial-list-page{height:auto;min-height:100%;padding:18px;overflow:auto;background:linear-gradient(#dcefff,#f5f8e9)}.tutorial-match-page{isolation:isolate;height:100%;min-height:100%;max-width:none;margin:0;padding:0}.tutorial-match-header{position:absolute;z-index:15;top:max(8px,env(safe-area-inset-top));left:8px;right:8px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;color:#294a3b}.tutorial-match-header>*{pointer-events:auto}.tutorial-match-header strong,.tutorial-match-header button{padding:7px 12px;border:1px solid #cfddd1;border-radius:12px;background:#fffdf0df;color:#294a3b;font-weight:750}.tutorial-court{position:absolute;inset:0;overflow:hidden;background:#8ac6ef}.tutorial-court>.game-scene-container{width:100%;height:100%}.tutorial-match-page .tutorial-court{position:absolute;inset:0;height:auto;min-height:0;border:0;border-radius:0;box-sizing:border-box}.tutorial-match-page .tutorial-court>.game-scene-container{position:absolute;inset:0;width:100%;height:100%}.tutorial-court canvas{display:block}.tutorial-guide-cue{position:absolute;z-index:14;top:58px;left:50%;transform:translate(-50%);max-width:min(88%,560px);padding:7px 14px;border:1px solid #d5dfca;border-radius:18px;background:#fffdf0df;color:#294a3b;text-align:center;font-size:clamp(14px,2.3vw,20px);font-weight:800;pointer-events:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.tutorial-guide-cue small{display:block;margin-top:2px;font-size:11px;font-weight:650}.tutorial-match-playbar{display:contents}.tutorial-match-playbar .match-team-opponent,.tutorial-match-playbar .match-team-own{position:absolute;z-index:12;left:8px;right:8px;justify-content:center;pointer-events:none}.tutorial-match-playbar .match-team-opponent{top:calc(max(8px,env(safe-area-inset-top)) + 94px)}.tutorial-match-playbar .match-team-own{bottom:6px}.tutorial-match-playbar .match-chip{box-shadow:0 1px 8px #31513a2a}.tutorial-match-playbar .match-team-topline{position:absolute;z-index:13;left:8px;right:8px;bottom:54px;display:flex;align-items:center;justify-content:space-between;gap:7px;pointer-events:none}.tutorial-match-playbar .match-left-controls,.tutorial-match-playbar .match-score-actions,.tutorial-match-playbar .match-team-total{display:flex;align-items:center;gap:6px;pointer-events:auto}.tutorial-match-playbar .match-team-total{padding:6px 10px;border-radius:12px;background:#fffdf0df;font-weight:800}.tutorial-match-playbar .match-camera-button,.tutorial-match-playbar .match-pause-button,.tutorial-match-playbar .match-round-counter{position:static;transform:none;min-width:36px;min-height:36px;padding:6px;border:1px solid #cfddd1;border-radius:12px;background:#fffdf0e8;color:#294a3b;pointer-events:auto}.tutorial-match-playbar .match-round-counter{display:flex;align-items:center;gap:4px}.tutorial-match-playbar .match-round-counter span{font-size:9px}.tutorial-match-playbar .match-round-counter strong{font-size:15px}.tutorial-match-playbar .match-skill-button{position:absolute;z-index:13;top:calc(max(8px,env(safe-area-inset-top)) + 142px);right:8px;pointer-events:auto}.tutorial-result{z-index:18}.tutorial-result button{min-height:40px;padding:8px 18px;border:1px solid #a9c3a2;border-radius:14px;background:#f8fff1;color:#284637;font-weight:700}.tutorial-error{position:absolute;z-index:22;left:8px;right:8px;top:110px;margin:0;background:#fff0e9ef;box-shadow:0 4px 18px #36543925}.tutorial-error button{min-height:38px;padding:6px 12px;border:1px solid #a9c3a2;border-radius:10px;background:#f8fff1;color:#284637}.tutorial-match-page .match-result-overlay{z-index:19}@media(max-width:600px){.tutorial-list-page{padding:10px}.tutorial-list-page header button{padding:8px 10px}.tutorial-match-header{top:max(4px,env(safe-area-inset-top));left:4px;right:4px}.tutorial-guide-cue{top:49px;padding:6px 10px}.tutorial-match-playbar .match-team-opponent{top:calc(max(4px,env(safe-area-inset-top)) + 86px)}.tutorial-match-playbar .match-team-own{bottom:3px}.tutorial-match-playbar .match-chip{max-width:32vw}.tutorial-match-playbar .match-team-topline{left:4px;right:4px;bottom:44px;gap:3px}.tutorial-match-playbar .match-left-controls,.tutorial-match-playbar .match-score-actions{gap:3px}.tutorial-match-playbar .match-team-total{padding:5px 7px;font-size:12px}.tutorial-match-playbar .match-camera-button,.tutorial-match-playbar .match-pause-button,.tutorial-match-playbar .match-round-counter{min-width:32px;min-height:32px;padding:4px;font-size:10px}.tutorial-match-playbar .round-shot-button{width:52px;height:52px;flex-basis:52px}.tutorial-match-playbar .match-skill-button{top:calc(max(4px,env(safe-area-inset-top)) + 132px);right:4px}}@media(max-height:520px){.tutorial-guide-cue{top:42px}.tutorial-match-playbar .match-team-opponent{top:40px}.tutorial-match-playbar .match-team-own{bottom:2px}.tutorial-match-playbar .match-team-topline{bottom:44px}}.tutorial-match-playbar .match-shot-actions .match-skill-button{position:static}.tutorial-match-header{justify-content:center}.tutorial-story-entry{margin-top:14px}.tutorial-story-entry button{grid-column:1/-1;min-height:60px}.tutorial-entry{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.tutorial-entry button{width:min(100%,360px);min-height:64px;font-size:18px}.tutorial-entry-back{margin-top:18px}.tutorial-entry-page{display:grid;place-items:center;isolation:isolate;background:linear-gradient(135deg,#dfeccc55,#fcf4d277),url(/story/mebuki/scene-01.webp) center/cover}.tutorial-entry-page:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#f6f8e31a,#f9f6e666);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.tutorial-entry-page .tutorial-entry{width:min(860px,calc(100% - 48px));min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tutorial-entry-page .tutorial-entry-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;width:100%;height:clamp(220px,42vh,340px);padding:22px 18px;border:1px solid #ffffffc7;border-radius:30px;background:linear-gradient(160deg,#fffff4ee,#e5f2dcdb);box-shadow:0 16px 40px #304f3440,inset 0 1px #fff;color:#284637;font:inherit;font-size:clamp(17px,2vw,22px);font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s}.tutorial-entry-page .tutorial-entry-story{background:linear-gradient(160deg,#fffaf2f2,#f8e6d9df)}.tutorial-entry-page .tutorial-entry-card:hover{transform:translateY(-5px);box-shadow:0 22px 48px #304f3455,inset 0 1px #fff}.tutorial-entry-page .tutorial-entry-card:focus-visible{outline:3px solid #8a6630;outline-offset:4px}.tutorial-entry-page .tutorial-entry-card img{display:block;min-height:0;width:min(68%,190px);height:65%;object-fit:contain;filter:drop-shadow(0 7px 9px #38552d32)}.tutorial-entry-page .tutorial-entry-card b{position:absolute;right:18px;bottom:18px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#53745220;color:#416446;font-size:26px;line-height:1}@media(max-width:600px){.tutorial-entry-page .tutorial-entry{width:min(420px,calc(100% - 32px));gap:12px}.tutorial-entry-page .tutorial-entry-card{height:clamp(180px,34vh,260px);padding:16px 8px 22px;border-radius:24px;font-size:15px;gap:8px}.tutorial-entry-page .tutorial-entry-card img{width:78%}.tutorial-entry-page .tutorial-entry-card b{right:10px;bottom:9px;width:24px;height:24px;font-size:21px}}.story-page{position:relative;isolation:isolate;height:100%;min-height:320px;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#25362c}.story-frame{position:absolute;inset:0;container-type:size}.story-frame:before{content:"";position:absolute;inset:-20px;background:linear-gradient(#19291e22,#19291e88),var(--story-art) center / cover;filter:blur(16px)}.story-illustration{--art-width: min(100cqw, 177.78cqh);--art-height: calc(var(--art-width) * 9 / 16);--art-left: calc((100cqw - var(--art-width)) / 2);--art-top: calc((100cqh - var(--art-height)) / 2);--head-x: calc(var(--art-left) + var(--art-width) * var(--head-position-x) / 100);--head-y: calc(var(--art-top) + var(--art-height) * var(--head-position-y) / 100);position:absolute;inset:0}.story-illustration img{position:absolute;left:var(--art-left);top:var(--art-top);width:var(--art-width);height:var(--art-height);max-width:none}@media(orientation:portrait){.story-illustration img{-webkit-mask-image:linear-gradient(transparent,black 11%,black 88%,transparent);mask-image:linear-gradient(transparent,black 11%,black 88%,transparent)}}.story-bubble,.story-caption{box-sizing:border-box;margin:0;padding:8px 12px;display:grid;gap:3px;line-height:1.45;font-size:clamp(14px,2vw,20px)}.story-bubble{--bubble-color: #fffdf7cd;position:absolute;left:var(--head-x);bottom:calc(100cqh - var(--head-y) + 18px);transform:translate(-50%);width:max-content;max-width:min(25em,calc(2*min(var(--head-x) - 10px,100cqw - var(--head-x) - 10px)));border-radius:14px;background:var(--bubble-color);color:#25362c;box-shadow:0 4px 16px #182b2250}.story-bubble:after{content:"";position:absolute;left:50%;bottom:-11px;width:16px;height:12px;background:var(--bubble-color);clip-path:polygon(0 0,100% 0,50% 100%);transform:translate(-50%)}@media(orientation:landscape){.story-illustration{--art-width: min(100cqw, calc(max(160px, 100cqh - 120px) * 16 / 9));--art-top: calc((100cqh - var(--art-height) + 60px) / 2)}}.story-caption{position:absolute;bottom:72px;inset-inline:12px;width:fit-content;max-width:min(calc(100% - 24px),42em);margin-inline:auto;border-radius:12px;background:#17291ef2;color:#fffdf5}.story-speaker{justify-self:start;padding:0 7px;border-radius:5px;background:#dce6f2;color:#263440;font-size:.78em}.story-speaker[data-speaker=イチカ]{background:#f8d7df;color:#582a3b}.story-speaker[data-speaker=メブキ]{background:#daedbb;color:#314927}.story-actions{grid-row:2;position:relative;display:flex;justify-content:flex-end;gap:8px;padding:8px 12px;background:linear-gradient(transparent,#17291eaa)}.story-actions .story-choose{margin-right:auto}.story-actions button{font:inherit;font-size:14px;min-height:44px;padding:6px 14px;border:1px solid #a9c59a;border-radius:10px;background:#e5f1dc;color:#294e2c;cursor:pointer}.story-actions button:focus-visible{outline:3px solid #f6da86}.story-match-continue{min-height:44px;padding:8px 16px;border:1px solid #a9c59a;border-radius:10px;background:#e5f1dc;color:#294e2c;font:inherit;cursor:pointer}.story-chapters{height:100%;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;box-sizing:border-box;background:linear-gradient(#19291e77,#19291ebb),url(/story/mebuki/scene-01.webp) center / cover}.story-chapters button{width:min(100%,360px);min-height:56px;padding:12px 18px;border:1px solid #a9c59a;border-radius:12px;background:#f6faeff2;color:#294e2c;font:inherit;cursor:pointer}.story-chapters button:focus-visible{outline:3px solid #f6da86}.story-cleared{color:#5d8a3c;font-weight:700}.story-reward{position:absolute;z-index:2;top:12px;left:50%;transform:translate(-50%);margin:0;padding:8px 16px;max-width:calc(100% - 24px);box-sizing:border-box;border:1px solid #a9c59a;border-radius:999px;background:#f6faeff2;color:#294e2c;font-size:15px;font-weight:700;text-align:center}.story-reward button{margin-left:8px;font:inherit}.spirit-app-content:has(>.garden-visit-page){overflow:hidden}.spirit-app-content .garden-visit-page{position:relative;width:100%;height:100%;min-height:0;padding:0;overflow:hidden;background:#e3eedb;color:#35513a}.spirit-app-content .garden-visit-page>header{position:absolute;z-index:3;inset:0 0 auto;max-width:none;margin:0;padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 28px max(20px,env(safe-area-inset-left));pointer-events:none;background:linear-gradient(#f8faeb80,transparent)}.spirit-app-content .garden-visit-page>header h1{margin:0;font-family:serif;font-size:clamp(25px,4vw,34px);letter-spacing:.1em;text-shadow:0 1px 8px #fffdf3}.garden-visit-page>header .garden-back{pointer-events:auto}.garden-visit-page>p[role=status],.garden-visit-page>.garden-error{position:relative;z-index:4;margin:90px 20px 0}.garden-visit{position:absolute;inset:0;border:0;border-radius:0;overflow:hidden;background:#e3eedb;box-shadow:none}.garden-visit-canvas{position:relative;width:100%;height:100%;min-width:0;touch-action:none}.garden-visit-canvas canvas{display:block;touch-action:none}.garden-keyboard-controls{position:absolute;left:16px;bottom:16px;z-index:2;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 32px);padding:10px;background:#fffdf0ed;border-radius:14px}.garden-keyboard-controls:not(:focus-within){width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.garden-keyboard-controls button{min-height:40px;padding:8px 12px;border:1px solid #afc19b;border-radius:10px;background:#fffdf2;color:#405d3d;cursor:pointer;font:inherit;font-size:12px}.garden-visit-page button:focus-visible{outline:3px solid #6a9550;outline-offset:3px}.garden-transfer-tools{margin-top:14px;border-top:1px solid #c6d7b6;padding-top:8px}.garden-transfer-tools>summary{cursor:pointer;font-size:13px;color:#526b47;padding:6px 0;min-height:32px}.garden-visit-fallback{height:100%;overflow:auto;padding:90px 20px 20px;background:#eef4df}.garden-visit-fallback>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.garden-visit-fallback button{display:flex;flex-direction:column;align-items:center;min-width:0;padding:10px;border:0;border-radius:18px;background:transparent;color:#35513a;cursor:pointer}.garden-visit-fallback img{width:100%;height:110px;object-fit:contain}.garden-companion-dialog{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:0 18px 12px;border:1px solid #b9cda9;border-radius:25px;background:#fffdf1;color:#31543b;overflow:auto;overscroll-behavior:contain}.garden-companion-dialog::backdrop{background:#234b3a70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.garden-companion-dialog>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;background:#fffdf1}.garden-companion-dialog>header h2{font-size:17px;margin:0}.garden-companion-dialog>header button{border:1px solid #c7d5b5;border-radius:50%;width:38px;height:38px;background:#f1f6e6;color:#416444;font-size:24px;cursor:pointer}.garden-companion-dialog>header button:disabled{opacity:.5}.garden-companion-dialog .companion-panel{border:0;border-radius:0;padding:0;margin:8px 0;background:transparent}.garden-companion-dialog .companion-budget{top:67px}.garden-companion-dialog .companion-summary img{width:130px;height:150px}.garden-companion-dialog .companion-summary{gap:16px}.garden-companion-dialog .companion-summary h2{overflow-wrap:anywhere}@media(max-width:600px){.garden-visit-fallback{padding:90px 12px 16px}.garden-visit-fallback>div{grid-template-columns:repeat(3,minmax(0,1fr))}.garden-visit-fallback img{height:80px}.garden-companion-dialog{padding:0 14px 10px}.garden-companion-dialog .companion-summary img{width:100px;height:120px}.garden-companion-dialog .companion-summary{gap:10px}.garden-companion-dialog .companion-summary h2{font-size:20px}.garden-companion-dialog .companion-summary p{font-size:12px}.garden-companion-dialog .companion-stat{padding:10px 0}}.garden-companion-dialog>header{justify-content:flex-end}.companion-help{margin-top:14px;font-size:13px}.companion-help summary{cursor:pointer}.companion-help p{line-height:1.6}.garden-companion-dialog{width:min(560px,calc(100vw - 24px));padding:16px}.garden-companion-dialog>header{height:0;min-height:0;padding:0;overflow:visible}.garden-companion-dialog>header button{position:absolute;top:-4px;right:-4px;width:34px;height:34px}.garden-companion-dialog .companion-panel{margin:0}.garden-companion-dialog .companion-summary{gap:14px;align-items:center}.garden-companion-dialog .companion-summary img{width:104px;height:112px;flex-shrink:0}.garden-companion-dialog .companion-summary>div{flex:1;min-width:0}.garden-companion-dialog .companion-summary h2{margin:0 30px 6px 0;font-size:20px;line-height:1.3}.garden-companion-dialog .companion-summary p{margin:6px 0;font-size:13px;line-height:1.4}.garden-companion-dialog .companion-summary progress{display:block;width:min(100%,220px);height:10px;margin:6px 0}.garden-companion-dialog .companion-panel button{padding:7px 12px;font-size:13px}.garden-companion-dialog .companion-edit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.7fr);gap:12px;margin-top:12px}.garden-companion-dialog .companion-edit-fields label{min-width:0;margin:0;font-size:13px}.garden-companion-dialog .companion-edit-fields input,.garden-companion-dialog .companion-edit-fields select{box-sizing:border-box;display:block;width:100%;margin:4px 0;padding:7px}.garden-companion-dialog .companion-budget{top:0;margin:10px 0 2px;padding:8px 10px;font-size:16px}.garden-companion-dialog .companion-stat{flex-direction:row;align-items:center;gap:10px;padding:9px 0}.garden-companion-dialog .companion-stat>div:first-child{min-width:0;flex:1;font-size:13px}.garden-companion-dialog .companion-stat>div:last-child{align-self:center;gap:6px}.garden-companion-dialog .companion-stat button{width:32px;height:32px;padding:0}.garden-companion-dialog .companion-stat output{min-width:40px;font-size:14px}.garden-companion-dialog .companion-actions{gap:6px;margin-top:12px}.garden-companion-dialog .garden-transfer-tools{margin-top:8px;padding-top:4px}.garden-companion-dialog>.garden-notice{margin:8px 0;min-height:0}.garden-companion-dialog>button{margin-top:10px}@media(max-width:360px){.garden-companion-dialog .companion-edit-fields{grid-template-columns:minmax(0,1fr)}.garden-companion-dialog .companion-stat>div:first-child{font-size:12px}}.garden-photo-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:44px;margin:8px auto;padding:8px;border:1px solid #b7ceab;border-radius:14px;background:#f4f8eb;color:#41624a;cursor:pointer}.garden-photo-button svg{width:26px;height:26px}.garden-photo-button:focus-visible{outline:3px solid #649b75;outline-offset:2px}:root{font-family:Noto Sans JP,system-ui,sans-serif;color:#344a40;background:#fffdf7;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #263b32;--muted: #60756a;--line: #cfddd1;--mint: #237d61;--panel: #fffdf7;--panel-dark: #f0f5ea}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 56% -20%,#fffdf7 0,transparent 42%),#fffdf7}button,input{font:inherit}button{color:inherit}.app-shell{width:min(1560px,100%);min-height:100vh;margin:0 auto;padding:0 42px 20px}.topbar{height:82px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:14px}.brand-mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid #75b29c;border-radius:12px 12px 12px 4px;color:#26745a;font-family:DM Mono,monospace;font-size:21px;font-weight:500;background:linear-gradient(145deg,#e5f0e2,#fffdf7);box-shadow:inset 0 0 18px #a4f4d51a}.brand-copy h1{margin:3px 0 0;font-size:17px;font-weight:600;letter-spacing:.025em}.eyebrow{color:#344a40;font-family:DM Mono,monospace;font-size:9px;font-weight:500;letter-spacing:.14em}.topbar-spacer{flex:1}.page-tabs{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fffdf7}.page-tabs button{min-height:29px;padding:0 11px;border:1px solid transparent;border-radius:7px;color:#344a40;background:transparent;font-size:10px;cursor:pointer}.page-tabs button.active{border-color:#52796683;color:#26745a;background:#fffdf7}.prototype-pill{padding:8px 11px;border:1px solid var(--line);border-radius:20px;color:#344a40;font-size:10px;letter-spacing:.025em}.prototype-pill i{display:inline-block;width:6px;height:6px;margin-right:5px;vertical-align:1px;border-radius:50%;background:#91d5b5;box-shadow:0 0 9px #91d5b588}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:19px;padding-top:22px}.court-card,.control-panel{border:1px solid var(--line);border-radius:16px;background:linear-gradient(150deg,#fffdf7,#fffdf7 70%);box-shadow:0 16px 50px #00000020}.court-card{min-width:0;overflow:hidden}.court-head{min-height:76px;padding:16px 21px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.court-head h2{margin:5px 0 0;font-size:15px;font-weight:600}.measure{padding-left:9px;color:#344a40;letter-spacing:.03em}.court-actions{display:flex;gap:7px;margin-left:auto}.court-theme-select{min-height:32px;padding:0 9px;border:1px solid var(--line);border-radius:8px;color:#26745a;background:#fffdf7;font-size:10px;cursor:pointer}.icon-button{min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fffdf7;color:#344a40;font-size:12px;cursor:pointer;transition:border-color .15s,color .15s}.icon-button:hover,.icon-button.selected{border-color:#659b84;color:#26745a}.icon-button span{margin-left:4px;font-size:10px}.icon-button:disabled{opacity:.45;cursor:default}.canvas-wrap{position:relative;height:clamp(400px,62vh,720px);min-height:360px;background:#fffdf7}.canvas-wrap canvas{display:block;touch-action:none}.court-hint{position:absolute;left:17px;top:16px;padding:7px 10px;border:1px solid #cfddd1;border-radius:7px;color:#344a40;background:#fffdf7aa;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:10px;pointer-events:none}.prediction-note{position:absolute;left:17px;top:53px;padding:6px 9px;border:1px solid #bde8ff38;border-radius:7px;color:#356888;background:#fffdf7cc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:9px;pointer-events:none}.hint-dot{display:inline-block;width:5px;height:5px;margin-right:5px;vertical-align:1px;border-radius:50%;background:#b7ecd4}.score-card{position:absolute;top:16px;right:17px;display:flex;flex-direction:column;align-items:flex-end;min-width:118px;padding:10px 13px 9px;border:1px solid #cfddd1;border-radius:10px;color:#26745a;background:#fffdf7c9;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);pointer-events:none}.score-label{color:#344a40;font-size:9px}.score-card strong{margin-top:1px;font-family:DM Mono,monospace;font-size:27px;font-weight:500;line-height:1.1}.score-card strong small{color:#344a40;font-family:DM Sans,sans-serif;font-size:10px}.next-gate{margin-top:4px;color:#26745a;font-size:9px}.score-card.two-ball{width:190px;align-items:stretch;gap:7px}.ball-score-row{display:grid;grid-template-columns:43px 1fr;align-items:center;column-gap:7px;font-size:10px}.ball-score-row+.ball-score-row{padding-top:7px;border-top:1px solid #cfddd1}.ball-score-row>span:first-child{font-weight:700}.ball-score-row.red>span:first-child{color:#be354c}.ball-score-row.white>span:first-child{color:#356888}.ball-score-row strong{justify-self:end;margin:0;font-size:20px}.ball-score-row>span:last-child{grid-column:1 / -1;justify-self:end;color:#26745a;font-size:9px}.gate-legend{position:absolute;right:17px;bottom:18px;display:flex;gap:11px;padding:7px 10px;border:1px solid #cfddd1;border-radius:7px;color:#344a40;background:#fffdf7b8;font-size:9px;pointer-events:none}.gate-legend span{display:flex;align-items:center;gap:4px}.gate-label span{padding:2px 4px;border:1px solid;border-radius:4px;color:#344a40;background:#fffdf7cc;font-family:DM Mono,monospace;font-size:9px;line-height:1;text-shadow:0 1px 2px #000}.ball-label{pointer-events:none}.ball-label span{color:#1e293b;font-family:DM Mono,monospace;font-size:24px;font-weight:900;line-height:1;text-shadow:0 0 5px #fff,0 0 5px #fff,0 2px 4px #0005}.gate-legend i{display:inline-block;width:7px;height:7px;border-radius:2px}.gate-one{background:#d92c73}.gate-two{background:#e08a1e}.gate-three{background:#137fac}.toast{position:absolute;left:50%;bottom:17px;transform:translate(-50%);display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 30px);padding:8px 13px;border:1px solid #cfddd1;border-radius:24px;color:#26745a;background:#fffdf7dc;box-shadow:0 4px 22px #0004;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:10px;pointer-events:none}.toast.is-moving{color:#26745a}.toast-orb{color:#26745a;font-size:12px}.court-foot{display:flex;align-items:center;gap:16px;min-height:42px;padding:0 18px;color:#344a40;font-size:9px}kbd{padding:3px 5px;border:1px solid #cfddd1;border-radius:4px;color:#344a40;background:#fffdf7;font-family:DM Mono,monospace;font-size:9px}.dimension-note{margin-left:auto;color:#344a40}.control-panel{align-self:start;overflow:hidden}.panel-section{padding:17px 17px 16px;border-bottom:1px solid var(--line)}.section-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:13px}.step-number{display:grid;place-items:center;flex:0 0 25px;height:25px;border:1px solid #52786677;border-radius:8px;color:#26745a;background:#fffdf7a6;font-family:DM Mono,monospace;font-size:9px}.section-title h3,.history-head h3{margin:1px 0 3px;font-size:12px;font-weight:600}.section-title p{margin:0;color:#344a40;font-size:9px}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px;border:1px solid var(--line);border-radius:9px;background:#fffdf7}.segmented button{display:flex;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:31px;border:1px solid transparent;border-radius:6px;color:#344a40;background:transparent;font-size:8px;white-space:nowrap;cursor:pointer}.segmented button span{color:#344a40;font-size:10px}.segmented button.active{border-color:#52796683;color:#26745a;background:#fffdf7;box-shadow:inset 0 0 14px #9de3c90d}.segmented button:disabled{cursor:default;opacity:.55}.drill-summary{display:flex;align-items:center;justify-content:space-between;padding:12px 1px 0;color:#344a40;font-size:9px}.drill-summary strong{color:#26745a;font-family:DM Mono,monospace;font-size:12px;font-weight:500}.drill-summary small{color:#344a40;font-family:DM Sans,sans-serif;font-size:9px;font-weight:400}.shot-section{padding-bottom:17px}.slider-label{display:flex;justify-content:space-between;align-items:center;margin-top:13px;color:#344a40;font-size:10px}.slider-label strong{color:#26745a;font-family:DM Mono,monospace;font-size:16px;font-weight:500}.slider-label strong small{color:#344a40;font-family:DM Sans,sans-serif;font-size:10px}.help-text{margin-left:6px;color:#344a40;font-size:8px}input[type=range]{width:100%;height:3px;margin:13px 0 6px;border-radius:2px;appearance:none;outline:none;background:linear-gradient(90deg,#92d9ba,#5b9278);cursor:pointer}input[type=range]::-webkit-slider-thumb{width:13px;height:13px;border:2px solid #c5f4dc;border-radius:50%;appearance:none;background:#fffdf7;box-shadow:0 0 0 3px #8fd2b329}input[type=range]::-moz-range-thumb{width:10px;height:10px;border:2px solid #c5f4dc;border-radius:50%;background:#fffdf7;box-shadow:0 0 0 3px #8fd2b329}input[type=range]:disabled{opacity:.4;cursor:default}.range-ends{display:flex;justify-content:space-between;color:#344a40;font-family:DM Mono,monospace;font-size:8px}.target-readout{display:flex;align-items:center;gap:7px;margin-top:13px;padding:8px 9px;border:1px solid #cfddd1;border-radius:7px;color:#344a40;background:#fffdf7;font-size:9px}.target-cross{color:#26745a;font-size:16px}.target-readout strong{margin-left:auto;color:#26745a;font-family:DM Mono,monospace;font-size:10px;font-weight:400}.strike-button{position:relative;width:100%;height:41px;display:flex;align-items:center;justify-content:center;margin-top:12px;border:1px solid #9fe5c2;border-radius:8px;color:#11251a;background:linear-gradient(105deg,#91d6b4,#a9e8c7);box-shadow:0 4px 18px #8ddab32b,inset 0 1px #cfddd1;font-size:13px;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:transform .12s,filter .12s}.strike-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.strike-button:active:not(:disabled){transform:translateY(1px)}.strike-button:disabled{border-color:#577567;color:#344a40;background:#fffdf7;box-shadow:none;cursor:wait}.strike-button kbd{position:absolute;right:8px;border-color:#16392745;color:#315842;background:#f2fff233}.strike-caption{margin:8px 0 0;color:#344a40;text-align:center;font-size:8px}.placement-button{width:100%;min-height:31px;margin-top:10px;border:1px solid #6b967e;border-radius:7px;color:#26745a;background:#fffdf7;font-size:9px;cursor:pointer}.placement-button.active{border-color:#d4bb71;color:#946018;background:#fffdf7}.placement-button:disabled{opacity:.5;cursor:default}.variance-section{padding-bottom:14px}.variance-toggle-row{display:flex;align-items:center;justify-content:space-between;padding:1px 0 8px}.variance-toggle-row div{display:flex;flex-direction:column;gap:3px}.variance-toggle-row strong{color:#344a40;font-size:10px;font-weight:500}.variance-toggle-row small{color:#344a40;font-size:8px}.switch{width:32px;height:19px;padding:2px;border:1px solid #465650;border-radius:12px;background:#fffdf7;cursor:pointer;transition:.15s}.switch i{display:block;width:13px;height:13px;border-radius:50%;background:#8b9c91;transition:.15s}.switch.on{border-color:#70af8e;background:#e5f0e2}.switch.on i{transform:translate(12px);background:#d4f4de}.variance-control{transition:opacity .15s}.variance-control.disabled{opacity:.44}.variance-control .slider-label{margin-top:5px}.variance-control .slider-label strong{font-size:12px}.shot-error{margin-top:12px;padding:10px;border:1px solid #8ed4af35;border-radius:8px;background:#fffdf7}.shot-error-title{display:block;margin-bottom:7px;color:#26745a;font-size:10px;font-weight:600}.shot-error-row{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 8px;padding:6px 0;border-top:1px solid #cfddd1;font-size:9px}.shot-error-row span{color:#344a40}.shot-error-row strong{color:#26745a;font-family:DM Mono,monospace;font-size:14px;font-weight:500}.shot-error-row small{grid-column:1 / -1;color:#344a40;font-size:8px}.shot-error-empty{margin:0;color:#344a40;font-size:9px;line-height:1.6}.variance-note{display:flex;gap:7px;margin-top:11px;padding:8px;border:1px solid #79be9d24;border-radius:7px;color:#344a40;background:#fffdf755}.variance-note span{color:#26745a;font-size:13px}.variance-note p{margin:0;font-size:8px;line-height:1.55}.history-section{padding:15px 17px 10px}.history-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:7px}.history-head h3{margin:0 0 3px}.history-head span{color:#344a40;font-size:8px}.history-count{color:#26745a!important;font-family:DM Mono,monospace;font-size:10px!important}.history-list{max-height:168px;overflow:auto}.empty-history{display:grid;place-items:center;height:57px;border-top:1px solid #cfddd1;color:#344a40;font-size:9px}.history-item{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:5px 2px;border:0;border-top:1px solid #cfddd1;text-align:left;background:transparent;cursor:pointer}.history-item:hover{background:#cfddd1}.history-item:disabled{cursor:default;opacity:.6}.history-index{color:#344a40;font-family:DM Mono,monospace;font-size:9px}.history-detail{display:flex;flex:1;flex-direction:column;gap:3px;overflow:hidden}.history-detail strong{color:#344a40;font-family:DM Mono,monospace;font-size:9px;font-weight:400}.history-detail strong i{color:#344a40;font-style:normal}.history-detail small{overflow:hidden;color:#344a40;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.replay-mark{color:#26745a;font-size:13px}.app-footer{display:flex;justify-content:space-between;padding:15px 3px;color:#344a40;font-family:DM Mono,monospace;font-size:8px;letter-spacing:.035em}.app-footer i{padding:0 4px;color:#344a40;font-style:normal}.ten-ball-score{min-width:130px;align-items:stretch}.ten-ball-score-grid{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:20px;margin-top:3px}.ten-ball-score-grid span{color:#344a40;font-size:10px}.ten-ball-score-grid span:nth-of-type(2){padding-top:4px;border-top:1px solid #cfddd1}.ten-ball-score-grid strong{margin:0;font-family:DM Mono,monospace;font-size:20px;font-weight:500}.ten-ball-score-grid strong:last-child{padding-top:4px;border-top:1px solid #cfddd1}.ten-ball-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0 12px}.mode-toggle button{min-height:34px;border:1px solid #426552;border-radius:7px;color:#26745a;background:#fffdf7;font-size:11px;cursor:pointer}.mode-toggle button.active{border-color:#a2d5b2;color:#26745a;background:#fffdf7;box-shadow:inset 0 0 0 1px #a2d5b2}.mode-toggle button:disabled{opacity:.55;cursor:default}.ten-ball-choice{min-width:0;min-height:47px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 1px;border:1px solid #cfddd1;border-radius:7px;background:#fffdf7;cursor:pointer}.ten-ball-choice strong{font-size:9px;font-weight:600}.ten-ball-choice small{overflow:hidden;max-width:100%;color:#344a40;font-size:7px;white-space:nowrap}.ten-ball-choice.red strong{color:#be354c}.ten-ball-choice.white strong{color:#356888}.ten-ball-choice.active{border-color:#facc15;background:#fffdf7;box-shadow:0 0 0 1px #facc1540}.ten-ball-choice.finished{opacity:.42;cursor:default}.ten-ball-status{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:8px;border:1px solid #cfddd1;border-radius:7px;background:#fffdf7;font-size:9px}.ten-ball-status span{color:#344a40;text-align:right}.control-panel:has(.spark-status) section:first-child>.ten-ball-picker:not(.spark-target-picker){pointer-events:none;opacity:.58}.spark-status{border-color:#facc1555;color:#946018}.spark-target-picker{margin-top:8px}.match-setup-shell{width:min(920px,100%);min-height:100vh;margin:0 auto;padding:20px 24px;display:flex;flex-direction:column;gap:16px}.match-setup-overlay{position:absolute;z-index:4;inset:0;width:100%;min-height:100%;background:radial-gradient(ellipse at 56% -20%,#fffdf7 0,transparent 42%),#fffdf7;overflow:auto}.match-setup-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.match-setup-top select,.match-team-selectors select{min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:#26745a;background:#fffdf7}.match-edit-roster-button{min-height:40px;padding:0 13px;border:1px solid var(--line);border-radius:8px;color:#26745a;background:#fffdf7;cursor:pointer}.match-team-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.match-team-selectors label{min-width:0;display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fffdf7}.match-team-selectors label strong{color:#be354c}.match-team-selectors label:last-child strong{color:#356888}.match-team-selectors small{min-height:32px;color:#344a40;font-size:11px;line-height:1.5}.match-storage-error{margin:0;color:#be354c;font-size:13px}.match-start-button{min-height:52px;margin-top:auto;border:1px solid #9fe5c2;border-radius:9px;color:#11251a;background:linear-gradient(105deg,#91d6b4,#a9e8c7);font-size:16px;font-weight:700;cursor:pointer}.match-start-button:disabled{opacity:.55;cursor:not-allowed}.match-shell{position:relative;width:100%;height:100dvh;min-height:440px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:8px;background:#fffdf7;overflow:hidden}.match-board{min-height:0;overflow:hidden;border:1px solid #cfddd1;border-radius:12px;background:#fffdf7}.match-board>div{width:100%;height:100%}.match-playbar{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}.match-ball-scores{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:5px}.match-score-ball{min-width:0;min-height:58px;display:flex;justify-content:center;align-items:center;gap:5px;border:1px solid #cfddd1;border-radius:8px;color:#344a40;background:#fffdf7;cursor:default}.match-score-ball.red span{color:#be354c}.match-score-ball.white span{color:#356888}.match-score-ball span{font-size:11px;font-weight:700}.match-score-ball strong{font-family:DM Mono,monospace;font-size:17px;font-weight:500}.match-score-ball.active-ball{border:2px solid #facc15;box-shadow:0 0 0 1px #facc1540}.match-score-ball.spark-pending{border-color:#eacb5d;cursor:pointer}.match-score-ball.spark-selected{border:2px solid #facc15;background:#fffdf7}.match-score-ball.finished-ball{opacity:.55}.match-score-ball:disabled{cursor:default}.match-strike-button{min-height:58px;border:1px solid #9fe5c2;border-radius:8px;color:#11251a;background:linear-gradient(105deg,#91d6b4,#a9e8c7);font-size:18px;font-weight:700;cursor:pointer}.match-strike-button:disabled{opacity:.55;cursor:wait}@media(min-width:1200px){.workspace{grid-template-columns:minmax(0,1fr) 354px;gap:22px}}@media(max-width:960px){.app-shell{padding:0 20px 15px}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:12px}.canvas-wrap{height:58vh;min-height:380px}.court-foot{gap:9px}}@media(max-width:720px){.app-shell{padding:0 12px 12px}.topbar{height:67px;gap:8px}.brand-mark{width:34px;height:34px}.brand-copy h1{font-size:14px}.page-tabs{gap:2px;padding:3px}.page-tabs button{min-height:27px;padding:0 8px;font-size:9px}.prototype-pill{padding:7px 8px;font-size:8px}.workspace{grid-template-columns:1fr;gap:12px;padding-top:12px}.canvas-wrap{width:100%;height:380px;min-height:0;aspect-ratio:auto}.court-head{min-height:66px;padding:12px 14px}.court-actions{gap:4px}.icon-button{padding:0 7px}.icon-button span{font-size:9px}.court-foot{flex-wrap:wrap;min-height:43px;padding:8px 13px}.dimension-note{width:100%;margin-left:0}.control-panel{display:grid;grid-template-columns:1fr 1fr}.panel-section{padding:14px 13px}.panel-section:nth-child(2){border-left:1px solid var(--line)}.panel-section:nth-child(3){grid-column:1 / -1}.history-section{grid-column:1 / -1;border-top:1px solid var(--line)}.app-footer{gap:8px;flex-wrap:wrap;font-size:7px}.score-card{top:12px;right:12px}.score-card.two-ball{top:105px}.prediction-note{max-width:calc(100% - 24px)}.gate-legend{bottom:54px}.court-hint{top:12px;left:12px}}@media(max-width:390px){.brand-copy h1{font-size:12px}.prototype-pill{font-size:7px}.court-actions .icon-button span{display:none}.court-theme-select{padding:0 4px;font-size:9px}.court-foot{font-size:8px}.control-panel{grid-template-columns:1fr}.panel-section:nth-child(2){border-left:0}.panel-section:nth-child(3),.history-section{grid-column:auto}.court-head h2{font-size:13px}}@media(max-width:720px){.ten-ball-picker{grid-template-columns:repeat(5,minmax(0,1fr))}.ten-ball-choice{min-height:43px}.ten-ball-score{top:96px}.ten-ball-score-grid{column-gap:13px}}@media(max-width:390px){.topbar{gap:6px}.brand-copy .eyebrow{font-size:7px}.brand-copy h1{font-size:11px}.page-tabs button{padding:0 6px}.prototype-pill{display:none}}@media(max-width:720px){.match-setup-shell{padding:12px;gap:11px}.match-accuracy-list{grid-template-columns:1fr;gap:5px}.match-accuracy-row{min-height:62px}.match-shell{padding:4px;gap:4px}.match-board{border-radius:8px}.match-playbar{grid-template-columns:minmax(0,1fr);gap:4px}.match-ball-scores{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:3px}.match-score-ball{min-height:38px;gap:4px;border-radius:5px}.match-score-ball span{font-size:10px}.match-score-ball strong{font-size:14px}.match-strike-button{min-height:80px;font-size:16px}}@media(max-width:390px){.match-shell{min-height:380px}.match-playbar{grid-template-columns:minmax(0,1fr)}.match-accuracy-row{grid-template-columns:44px minmax(0,1fr);padding:5px 7px}}.roster-page{width:min(1080px,100%);min-height:100dvh;margin:0 auto;padding:28px 24px 34px;color:#344a40;background:#fffdf7}.roster-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.roster-header h1{margin:5px 0;font-size:clamp(23px,4vw,32px)}.roster-header p{margin:0;color:#344a40;font-size:14px}.roster-back-button,.roster-tabs button,.roster-character-list button,.roster-mode-tabs button{min-height:40px;padding:0 14px;border:1px solid #cfddd1;border-radius:8px;color:#344a40;background:#fffdf7;cursor:pointer}.roster-tabs{display:flex;gap:7px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #cfddd1}.roster-tabs button.selected,.roster-character-list button.active,.roster-mode-tabs button.selected{border-color:#79bd9a;color:#26745a;background:#fffdf7}.roster-content{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:16px}.roster-character-list{display:grid;gap:6px;max-height:650px;overflow-y:auto}.roster-character-list button{text-align:left}.roster-character-list .roster-add-team{color:#26745a}.roster-editor{min-width:0;padding:20px;border:1px solid #cfddd1;border-radius:12px;background:#fffdf7}.roster-name-field{display:grid;gap:7px;color:#344a40;font-size:13px;font-weight:650}.roster-name-field input,.team-member-row select{width:100%;min-height:42px;padding:0 11px;border:1px solid #cfddd1;border-radius:8px;color:#26745a;background:#fffdf7}.roster-field-error{display:block;margin-top:5px;color:#be354c;font-size:12px}.roster-mode-tabs{display:flex;gap:6px;margin-top:15px}.roster-explanation{margin:14px 0;color:#344a40;font-size:13px;line-height:1.6}.roster-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.roster-control{min-width:0;display:grid;gap:7px;padding:12px;border:1px solid #cfddd1;border-radius:9px;background:#fffdf7}.roster-control>span{display:flex;justify-content:space-between;align-items:start;gap:8px;color:#26745a;font-size:13px}.roster-control strong{color:#26745a;font-size:12px;text-align:right}.roster-control small{color:#344a40;font-size:11px;line-height:1.4}.roster-control input{width:100%;margin:4px 0 0;accent-color:#9fe5c2}.touch-rate-settings{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid #cfddd1;border-radius:10px;background:#fffdf7}.touch-rate-settings>div:first-child{display:grid;gap:5px;color:#26745a;font-size:13px}.touch-rate-settings small{color:#344a40;font-size:11px;line-height:1.45}.touch-rate-control{background:#fffdf7}.shot-illustration-effect{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;pointer-events:none}.shot-illustration-card{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:min(580px,90vw);min-height:220px;border-radius:38% 55% 40% 50%;background:radial-gradient(ellipse,#fffdf4ed 30%,color-mix(in srgb,var(--illustration-color) 60%,transparent) 62%,transparent 74%);animation:spirit-cutin 1.1s ease-out both}.shot-illustration-portrait{flex:0 0 auto;display:block;width:clamp(130px,24vw,240px);height:clamp(130px,24vw,240px);object-fit:contain;transform:rotate(-8deg)}.sad-spirit-portrait{background-image:url(/spirits/sad-atlas.png);background-size:500% 200%;background-repeat:no-repeat;transform:rotate(-5deg)}.shot-illustration-card strong{color:#36533a;font-size:clamp(26px,5vw,52px);font-weight:950;white-space:nowrap;text-shadow:0 2px #fff,2px 0 #fff,-2px 0 #fff,0 -2px #fff;transform:rotate(-5deg)}.shot-illustration-sparkles{position:absolute;top:15%;right:17%;color:#e7b945;font-size:36px}.is-sad .shot-illustration-card{background:radial-gradient(ellipse,#f3f8ffed 30%,#b5cdd777 62%,transparent 74%)}.is-sad .shot-illustration-card strong{color:#647b92}.is-paused .shot-illustration-card{animation-play-state:paused}@keyframes spirit-cutin{0%{opacity:0;transform:translateY(20px) scale(.84)}17%,76%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-10px) scale(.98)}}@media(max-width:480px){.shot-illustration-card{gap:0;min-height:170px}.shot-illustration-card strong{margin-left:-10px}}@media(prefers-reduced-motion:reduce){.shot-illustration-card{animation:none}}.roster-tendency{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);align-items:center;gap:12px;margin-top:12px;padding:12px;border:1px solid #cfddd1;border-radius:9px;background:#fffdf7}.roster-tendency>div{display:grid;gap:5px}.roster-tendency small{color:#344a40;font-size:11px;line-height:1.45}.roster-tendency svg{width:100%;height:auto;overflow:visible;color:#344a40;font-size:9px}.roster-tendency svg text{fill:currentColor}.tendency-axis{stroke:#cfddd1;stroke-width:1;stroke-dasharray:3 3}.tendency-spread{fill:#83d7aa21;stroke:#83d7aa;stroke-width:1.5}.tendency-aim{fill:#edf6ef}.tendency-mean{fill:#ffc65c;stroke:#08111b;stroke-width:1}.roster-editor-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.roster-reset-button,.roster-save-button{min-height:42px;padding:0 15px;border:1px solid #cfddd1;border-radius:8px;cursor:pointer}.roster-reset-button{color:#344a40;background:#fffdf7}.roster-save-button{color:#10251a;border-color:#9fe5c2;background:#9fe5c2;font-weight:700}.roster-save-button:disabled{opacity:.5;cursor:not-allowed}.roster-notice{min-height:20px;margin:10px 0 0;color:#26745a;font-size:12px}.roster-notice.error{color:#be354c}.team-content .roster-explanation{margin-bottom:10px}.team-member-list{display:grid;gap:7px}.team-member-row{display:grid;grid-template-columns:70px minmax(140px,1fr) minmax(180px,1.1fr);align-items:center;gap:10px;min-height:54px;padding:6px 10px;border:1px solid #cfddd1;border-radius:8px;background:#fffdf7}.team-member-row strong{color:#344a40;font-size:12px}.team-member-row small,.team-number-hint{color:#344a40;font-size:11px}.roster-dialog-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:16px;background:#000a}.roster-dialog{width:min(420px,100%);padding:22px;border:1px solid #cfddd1;border-radius:12px;background:#fffdf7;box-shadow:0 16px 50px #0008}.roster-dialog h2{margin:0 0 8px;font-size:19px}.roster-dialog p{color:#344a40;font-size:13px}.roster-dialog>div{display:grid;gap:7px;margin-top:16px}.roster-dialog button{min-height:40px;border:1px solid #cfddd1;border-radius:7px;color:#344a40;background:#fffdf7;cursor:pointer}@media(max-width:720px){.roster-page{padding:18px 13px 24px}.roster-header{align-items:start;margin-bottom:15px}.roster-header p{max-width:40ch;font-size:12px}.roster-back-button{flex:0 0 auto;min-height:36px;padding:0 10px;font-size:11px}.roster-content{grid-template-columns:1fr;gap:10px}.roster-character-list{display:flex;gap:5px;max-height:none;overflow-x:auto;padding-bottom:4px}.roster-character-list button{flex:0 0 auto;min-height:36px;padding:0 10px;font-size:11px}.roster-editor{padding:14px}.roster-control-grid{grid-template-columns:1fr;gap:7px}.roster-control{grid-template-columns:1fr;padding:10px}.roster-tendency{grid-template-columns:1fr}.roster-tendency svg{width:min(100%,300px);justify-self:center}.team-member-row{grid-template-columns:54px minmax(0,1fr);gap:7px;padding:7px}.team-member-row small{grid-column:2}.roster-editor-actions{align-items:stretch;flex-wrap:wrap}.team-number-hint{width:100%}.match-setup-shell{padding:12px;gap:11px}.match-team-selectors{grid-template-columns:1fr;gap:7px}.match-team-selectors label{padding:10px;gap:6px}.match-team-selectors small{min-height:0}}.game-scene-container{position:relative;width:100%;height:100%}.match-score-ball{position:relative;flex-direction:column;gap:2px;min-height:44px;padding:4px;border-radius:4px;overflow:hidden}.match-score-ball.active-ball{border:1px solid #cfddd1;background:#fffdf7;box-shadow:inset 0 0 14px #9fe5c230}.match-score-ball.spark-selected{border:1px solid #cfddd1;background:#fffdf7}.match-score-ball.finished-ball{opacity:1;background:#fffdf7}.match-score-ball .match-character-number{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:#df3845;color:#fff;font-size:11px}.match-score-ball.white .match-character-number{background:#f1f5f9;color:#172334}.match-score-ball .match-character-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:11px}.match-character-status{height:11px;line-height:11px;font-size:9px;color:#946018;white-space:nowrap}.nameplate-edge{z-index:4;position:absolute;background:#657080;opacity:.6;pointer-events:none}.nameplate-edge.top,.nameplate-edge.bottom{left:0;right:0;height:2px}.nameplate-edge.top{top:0}.nameplate-edge.bottom{bottom:0}.nameplate-edge.left,.nameplate-edge.right{top:0;bottom:0;width:2px}.nameplate-edge.left{left:0}.nameplate-edge.right{right:0}.nameplate-edge[data-filled=true]{background:var(--edge-color);opacity:1;box-shadow:0 0 6px var(--edge-color)}@media(max-width:720px){.match-score-ball{min-height:42px;padding:3px 2px}.match-score-ball .match-character-name{font-size:9px}.match-character-status{font-size:8px}}.match-strike-button{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:8px 20px;border:1px solid #c3ffe8;border-radius:8px;color:#062d29;background:linear-gradient(110deg,#38bea3,#9bffe0 48%,#53d9be);box-shadow:inset 0 1px #cfddd1,0 0 16px #45dfbb26;transition:filter .16s,transform .12s,box-shadow .16s}.match-strike-button strong{font-size:21px;font-weight:900;letter-spacing:.18em;text-shadow:0 1px 0 #cfddd1}.strike-icon{width:27px;height:27px;stroke:currentColor;stroke-width:1.8}.match-strike-button:hover:not(:disabled){filter:brightness(1.08);box-shadow:inset 0 1px #cfddd1,0 0 22px #45dfbb55}.match-strike-button:active:not(:disabled){transform:translateY(1px);filter:brightness(.94)}.match-strike-button:focus-visible{outline:3px solid #fff;outline-offset:2px}.match-strike-button:disabled{opacity:.5;cursor:wait;filter:saturate(.4)}@media(max-width:720px){.match-strike-button{min-height:46px;padding:6px 14px;gap:9px}.match-strike-button strong{font-size:19px}.strike-icon{width:24px;height:24px}}@media(prefers-reduced-motion:reduce){.match-strike-button,.match-strike-button:after{transition:none}}.ability-view-button{min-height:38px;padding:7px 12px;border:1px solid #77ddbb55;border-radius:6px;color:#26745a;background:#fffdf7;font-size:12px;cursor:pointer;white-space:nowrap}.ability-view-button:hover{background:#fffdf7}.match-team-preview{min-width:0}.match-team-preview>.match-team-head{border-radius:9px 9px 0 0}.match-member-abilities{display:grid;gap:5px;padding:8px;background:#fffdf7;border:1px solid #cfddd1;border-top:0;border-radius:0 0 9px 9px}.match-member-abilities button{display:flex;align-items:center;gap:9px;min-width:0;min-height:34px;padding:5px 9px;border:1px solid #cfddd1;border-radius:6px;color:#26745a;background:#fffdf7;text-align:left;cursor:pointer}.match-member-abilities button:hover{border-color:#93eac2;background:#fffdf7}.match-member-abilities button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;flex-shrink:0;background:#e0444e;color:#fff;font-size:11px}.match-member-abilities button.white span{background:#eff3fa;color:#152238}.match-member-abilities button strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.ability-dialog{width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #84d9bb66;border-radius:16px;color:#26745a;background:#fffdf7;box-shadow:0 24px 80px #0009;overflow-y:auto}.ability-dialog::backdrop{background:#030b14bd;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ability-card{padding:20px}.ability-card header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #cfddd1}.ability-card h2{margin:0;font-size:21px;overflow-wrap:anywhere}.ability-card header button{width:36px;height:36px;flex-shrink:0;border:1px solid #cfddd1;border-radius:50%;background:#fffdf7;color:#fff;font-size:24px;cursor:pointer}.ability-section{padding:15px 0;border-bottom:1px solid #cfddd1}.ability-section h3{margin:0 0 10px;color:#26745a;font-size:13px}.ability-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:7px;font-size:14px}.ability-stars{color:#946018;font-size:21px;letter-spacing:2px;white-space:nowrap}.ability-empty-stars{color:#344a40}.ability-traits{display:flex;gap:6px;margin-top:10px}.ability-traits span{padding:3px 9px;border:1px solid #87b5db40;border-radius:20px;color:#356888;background:#fffdf7;font-size:11px}.ability-touch{padding-top:15px}.ability-touch summary{color:#26745a;font-size:13px;cursor:pointer}.ability-touch-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;margin-top:12px;font-size:11px}.ability-touch-row .ability-stars{font-size:16px;letter-spacing:1px}.ability-touch-row strong{text-align:right;font-size:12px}.ability-touch-row small{grid-column:1 / -1;text-align:right;color:#26745a}.ability-card button:focus-visible,.ability-touch summary:focus-visible,.ability-view-button:focus-visible,.match-member-abilities button:focus-visible{outline:2px solid #bbffe2;outline-offset:3px}@media(max-width:720px){.team-member-row .ability-view-button{grid-column:2;justify-self:start}.match-member-abilities{grid-template-columns:repeat(2,minmax(0,1fr))}.ability-card{padding:17px}}.match-team-preview:first-child>.match-team-head strong{color:#be354c}.match-team-preview:last-child>.match-team-head strong{color:#356888}.match-team-total{position:absolute;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:10;display:flex;align-items:center;gap:13px;height:36px;padding:0 6px;pointer-events:none;font-variant-numeric:tabular-nums;text-shadow:0 2px 8px #000}.match-team-total strong{font-size:30px;line-height:1;font-weight:800}.match-team-total .red-total{color:#be354c}.match-team-total .white-total{color:#26745a}.match-team-total>span{font-size:13px;color:#344a40}.match-timeout-notice{position:absolute;top:64px;right:16px;z-index:10;color:#be354c;background:#fffdf7dd;border:1px solid #ff546855;padding:7px 10px;border-radius:8px;font-size:12px;pointer-events:none}@media(max-width:720px){.match-team-total{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}.match-timeout-notice{top:56px;right:10px}}.match-left-controls{position:absolute;top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));z-index:11;display:flex;align-items:center;gap:8px}.match-pause-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;border:1px solid #38bdf866;border-radius:10px;color:#356888;background:#fffdf7e8;cursor:pointer}.match-pause-button svg{width:17px;height:17px;fill:currentColor}.match-round-counter{display:flex;align-items:center;gap:6px;height:36px;padding:0 9px;border:1px solid #38bdf844;border-radius:10px;background:#fffdf7e8;color:#356888;pointer-events:none}.match-round-counter span{font-size:11px;white-space:nowrap}.match-round-counter strong{font-size:19px;font-variant-numeric:tabular-nums;color:#356888}.match-pause-button[aria-pressed=true]{color:#356888;box-shadow:0 0 18px #38bdf822}@media(max-width:720px){.match-left-controls{top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left))}}.match-strike-button{background:#fffdf7;color:#26745a;border-color:#49b49c}.strike-countdown{position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#1765b8,#287aca,#1765b8);transform-origin:left;transition:transform 40ms linear;pointer-events:none}.match-strike-button.is-urgent{border-color:#ff6678}.match-strike-button.is-urgent .strike-countdown{background:linear-gradient(110deg,#a72b40,#df435b)}@media(prefers-reduced-motion:reduce){.strike-countdown{transition:none}}.match-result-overlay{position:absolute;inset:50% auto auto 50%;z-index:20;display:grid;justify-items:center;gap:8px;min-width:min(300px,calc(100vw - 40px));padding:22px 28px;transform:translate(-50%,-50%);border:1px solid #fbd45e88;border-radius:16px;background:#fffdf7ed;box-shadow:0 12px 48px #000b,0 0 32px #fbd45e20;text-align:center;pointer-events:none}.match-result-eyebrow{color:#946018;font-size:12px;letter-spacing:.12em}.match-result-verdict{color:#26745a;font-size:clamp(22px,6vw,32px)}.match-result-score{display:flex;align-items:baseline;gap:15px;font-size:34px;font-weight:800;font-variant-numeric:tabular-nums}.match-result-score .red-total{color:#be354c}.match-result-score .white-total{color:#26745a}.match-result-score small{color:#344a40;font-size:13px;font-weight:400}.evaluation-panel{position:fixed;left:max(12px,env(safe-area-inset-left));top:78px;z-index:35;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 260px);overflow:auto;padding:10px 12px;border:1px solid #475569;border-radius:10px;background:#fffdf7eb;color:#356888;font-size:12px;pointer-events:auto}.evaluation-panel summary{cursor:pointer;font-weight:700}.evaluation-panel p{margin:8px 0}.evaluation-panel table{width:100%;border-collapse:collapse}.evaluation-panel th{text-align:left;font-weight:400}.evaluation-panel td{text-align:right;font-variant-numeric:tabular-nums}.evaluation-panel th,.evaluation-panel td{padding:3px 0;border-bottom:1px solid #334155}.evaluation-panel ul{padding-left:18px}@media(max-width:600px){.evaluation-panel{width:min(250px,calc(100vw - 24px));font-size:11px}}.match-cpu-status{position:fixed;top:max(16px,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:30;padding:6px 10px;border:1px solid #64748b;border-radius:8px;background:#fffdf7d9;color:#356888;font-size:12px;pointer-events:none}.cpu-diagnostics{border-top:1px solid #64748b;padding-top:8px}.cpu-diagnostics a{color:#356888}.cpu-diagnostics details{margin-top:8px;padding-top:6px;border-top:1px solid #334155}.match-record-status{position:fixed;top:104px;right:max(16px,env(safe-area-inset-right));z-index:31;padding:6px 10px;border:1px solid #38bdf844;border-radius:8px;background:#fffdf7e8;color:#356888;font-size:12px}.match-record-status.is-error{color:#946018;border-color:#fbd45e66;cursor:pointer}.cpu-review small{display:block;margin-top:4px;color:#356888;font-weight:400}.cpu-review .cpu-selected{background:#e5f0e280;color:#356888}.cpu-review th{max-width:180px}.cpu-review:not(.evaluation-panel){margin:8px 0}.cpu-review .cpu-positive{color:#356888;font-weight:700}.cpu-review .cpu-negative{color:#be354c;font-weight:700}.cpu-review td{white-space:nowrap}.match-reset-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;border:1px solid #fba66b55;border-radius:10px;color:#be354c;background:#fffdf7e8;cursor:pointer}.match-reset-button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.match-reset-button:focus-visible,.match-reset-dialog button:focus-visible{outline:2px solid #f8b78c;outline-offset:3px}.match-reset-dialog{width:min(360px,calc(100vw - 32px));margin:auto;padding:22px;border:1px solid #fba66b55;border-radius:16px;background:#fffdf7;color:#356888;box-shadow:0 24px 80px #0009;pointer-events:auto}.match-reset-dialog::backdrop{background:#030b14c9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.match-reset-dialog h2{margin:0 0 12px;font-size:19px}.match-reset-dialog p{margin:0 0 20px;font-size:13px;color:#356888;line-height:1.6}.match-reset-dialog>div{display:flex;gap:10px}.match-reset-dialog button{flex:1;min-height:44px;border:1px solid #cfddd1;border-radius:9px;background:#fffdf7;color:#356888;cursor:pointer;font-weight:700}.match-reset-dialog .confirm-reset{border-color:#ef8b5c66;background:#e5f0e2;color:#be354c}.team-appearance-picker{border:0;margin:14px 0;padding:0;min-width:0}.team-appearance-picker legend{font-size:12px;color:#344a40;margin-bottom:8px}.team-appearance-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.team-appearance-picker button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:88px;padding:7px 3px;background:#fffdf7;border:1px solid #3f3f46;border-radius:10px;color:#344a40;font:inherit;font-size:12px;cursor:pointer}.team-appearance-picker button[aria-pressed=true]{border-color:#34d399;background:#fffdf7;box-shadow:0 0 0 1px #34d399}.team-appearance-picker img{width:48px;height:48px;object-fit:contain}.appearance-ball{display:block;width:36px;height:36px;margin:6px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#df3845 35%,#e5f0e2)}.appearance-ball.white{background:radial-gradient(circle at 30% 25%,#fff,#f8fafc 45%,#9ca3af)}.team-appearance-picker p{font-size:11px;color:#344a40;margin:8px 0 0}.team-member-row{grid-template-columns:82px minmax(130px,1fr) minmax(110px,.8fr) auto}.slot-number{display:block;margin-top:5px;white-space:nowrap}.slot-appearance{display:flex;align-items:center;gap:8px;font-size:12px;color:#344a40}.slot-appearance select{min-width:80px}.match-member-abilities .member-appearance-name{margin-left:auto;white-space:nowrap;font-size:11px;color:#26745a}@media(max-width:720px){.team-member-row{grid-template-columns:70px minmax(0,1fr)}.team-member-row .slot-appearance,.team-member-row .ability-view-button{grid-column:2}.slot-appearance select{flex:1}.match-member-abilities{grid-template-columns:1fr}}:root{color-scheme:light}body,.roster-page{background:#f5f7ed}.brand-mark{background:#e4f1de;color:#26745a}.match-shell,.match-board,.canvas-wrap{background:#edf3e4}.match-score-ball .match-character-name{color:#263b32}.match-score-ball .match-character-number,.match-member-abilities button span{color:#fff}.match-score-ball.white .match-character-number{color:#263b32;border:1px solid #b9cbd4}.match-score-ball.active-ball{background:#dcedcc;border-color:#65964e}.match-score-ball.spark-selected{background:#fff0c2}.match-score-ball.finished-ball{background:#f4ebd7}.match-character-status{color:#876019}.match-team-total{padding:0 12px;border:1px solid #cfddd1;border-radius:10px;background:#fffdf7ee;text-shadow:none}.match-team-total .red-total,.match-result-score .red-total{color:#be354c}.match-team-total .white-total,.match-result-score .white-total{color:#356888}.match-strike-button{background:#1d3554;color:#fff;border-color:#5098dc}.match-strike-button strong{text-shadow:none}.strike-button:disabled{background:#e3eadd;color:#60756a;border-color:#bdcbbf}.gate-label span{text-shadow:none}.ability-card header button{color:#263b32}.ability-stars,.match-result-eyebrow,.match-record-status.is-error{color:#946018}.match-reset-dialog .confirm-reset{background:#f7e2d3;color:#93452e}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #26745a;outline-offset:2px}.match-character-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:38px}.match-character-portrait{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.match-character-avatar.is-creature .match-character-number{position:absolute;top:-1px;right:-2px;width:16px;height:16px;font-size:10px;box-shadow:0 1px 3px #263b3240}.match-score-ball{min-height:60px}@media(max-width:720px){.match-character-avatar{width:34px;height:30px}.match-character-avatar.is-creature .match-character-number{width:14px;height:14px;font-size:9px}.match-score-ball{min-height:50px}}.spirit-trial{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px;border:1px solid #bdd4b0;border-radius:10px;background:#edf5e4}.spirit-trial label{display:flex;align-items:center;gap:7px;font-size:12px}.spirit-trial select{max-width:100%;min-height:36px;border:1px solid #bdcfb7;border-radius:7px;background:#fffdf7;color:#263b32;padding:0 8px}.spirit-trial small{width:100%;font-size:11px;color:#60756a;line-height:1.6}.spirit-number-label span{display:grid;place-items:center;width:32px;height:32px;border:2px solid;border-radius:50%;font-size:23px;text-shadow:none;box-shadow:0 1px 3px #263b3255}.spirit-number-label .red{color:#fff7ef;background:#c9384e;border-color:#f7d0c6}.spirit-number-label .white{color:#356888;background:#fffdf5;border-color:#537795}.match-score-ball{height:clamp(72px,10vh,100px);min-height:72px;padding:0;isolation:isolate;border-radius:9px}.member-card-art{position:absolute;inset:0;display:block;overflow:hidden;background:radial-gradient(ellipse at 80% 10%,#ffffffc9,transparent 65%),color-mix(in srgb,var(--portrait-color) 52%,#fffdf2)}.member-card-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 8% 72%,#fff8 0 3%,transparent 3.5%),radial-gradient(circle at 90% 28%,#fff9 0 2%,transparent 2.5%),radial-gradient(circle at 84% 82%,#fff8 0 5%,transparent 5.5%)}.member-card-portrait{position:absolute;display:block;width:100%;height:220%;max-width:none;object-fit:cover;object-position:center 56%;left:0;top:-72%;pointer-events:none}.member-card-heading{position:absolute;top:5px;left:5px;right:6px;display:flex;align-items:center;gap:5px;width:max-content;max-width:calc(100% - 11px);padding:0 9px 0 0;border-radius:30px;background:#fffaf0ed;box-shadow:0 1px 5px #2d48371a;z-index:2}.match-score-ball .member-card-number{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;border:2px solid #fff6ed;background:#d93852;color:#fff;font-size:17px;font-weight:900}.match-score-ball.red .member-card-number{color:#fff}.match-score-ball.white .member-card-number{color:#285b72;background:#fffdf5;border-color:#81a8b9}.match-score-ball .member-card-name{display:block;min-width:0;font-size:clamp(10px,1.2vw,16px);font-weight:850;color:#b72f48;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.match-score-ball.white .member-card-name{color:#285b72}.member-card-status{position:absolute;bottom:4px;right:5px;padding:2px 6px;border-radius:8px;background:#fff8dae8;color:#705328;font-size:10px;z-index:2}.member-card-art.is-ball{background:linear-gradient(150deg,#fffefa,#e6eee3)}.member-card-art.is-ball:after{content:"";position:absolute;width:43px;height:43px;border-radius:50%;bottom:-10px;right:9px;background:radial-gradient(circle at 30% 25%,#fff9,var(--portrait-color) 60%);box-shadow:0 3px 6px #233b3622}.match-score-ball.active-ball{box-shadow:inset 0 0 0 2px #426d35;border-color:#426d35}.match-score-ball.active-ball:after{content:"";position:absolute;inset:0;border:2px solid #426d35;border-radius:8px;pointer-events:none;z-index:3}.match-score-ball.spark-selected:after{content:"";position:absolute;inset:0;border:3px solid #ce9b19;border-radius:8px;pointer-events:none;z-index:3}@media(max-width:720px){.match-score-ball{height:64px;min-height:64px;border-radius:6px}.member-card-heading{top:3px;left:2px;right:2px;gap:1px;padding-right:3px;max-width:calc(100% - 4px)}.match-score-ball .member-card-number{width:16px;height:16px;flex-basis:16px;font-size:10px;border-width:1px}.match-score-ball .member-card-name{font-size:9px;letter-spacing:-.02em;white-space:normal;line-height:1.15;max-height:24px;text-overflow:clip}.member-card-portrait{height:185%;top:-38%}.member-card-status{font-size:7px;right:1px;padding:1px 2px}}.pull-anchor{display:block;margin-top:16px;padding:3px 6px;border-radius:8px;background:#fffdf0dc;color:#3d5848;font-size:10px;font-weight:800;white-space:nowrap;box-shadow:0 1px 3px #36514222}.pull-instruction{margin:0;padding:2px 4px;color:#4c6654;font-size:10px;text-align:center;line-height:1.2}.game-scene-container canvas{touch-action:none}.pull-anchor-position{position:absolute;width:1px;height:1px;pointer-events:none;z-index:2}.pull-anchor-position .pull-anchor{position:absolute;top:6px;left:0;transform:translate(-50%);margin-top:0}.match-camera-button{position:absolute;top:max(60px,calc(env(safe-area-inset-top) + 54px));right:max(16px,env(safe-area-inset-right));z-index:11;min-height:36px;padding:0 12px;border:1px solid #cfddd1;border-radius:10px;background:#fffdf7ee;color:#356888;font-weight:700;cursor:pointer;pointer-events:auto}.match-camera-button:focus-visible{outline:2px solid #49b49c;outline-offset:3px}.match-timeout-notice{top:104px}@media(max-width:720px){.match-camera-button{top:max(54px,calc(env(safe-area-inset-top) + 48px));right:max(10px,env(safe-area-inset-right))}.match-timeout-notice{top:96px}}.spirit-team-mark{display:block;width:14px;height:14px;border:2px solid #fffdf3;border-radius:50%;background:#d52f50;box-shadow:0 1px 3px #20352b88;pointer-events:none}.spirit-team-mark.white{border-color:#41677c;background:#fffdf3;border-radius:3px;transform:rotate(45deg)}.spirit-team-mark.is-active{outline:2px solid #326d58;outline-offset:3px}.shared-admin{padding:24px;color:#29493c}.shared-admin>h1{font-size:24px}.shared-admin>form{max-width:440px;display:grid;gap:16px;padding:24px;background:#fffdf7;border:1px solid #cddfcb;border-radius:18px}.shared-admin form label{display:grid;gap:8px}.shared-admin input[type=password]{width:100%;box-sizing:border-box;padding:12px;border:1px solid #aac2b2;border-radius:8px;font-size:16px}.shared-admin button{padding:10px 14px;margin:4px;border:1px solid #9cb9a7;border-radius:10px;background:#eef8e5;color:#284e3b;cursor:pointer}.shared-admin button:disabled{opacity:.55;cursor:default}.shared-admin [role=alert]:not(:empty){padding:12px;background:#fff0e2;border-radius:10px;color:#8b3924}.shared-catalog-preview{overflow-x:auto;max-width:100%;margin:20px 0}.shared-catalog-preview table{border-collapse:collapse;background:#fffdf7}.shared-catalog-preview th,.shared-catalog-preview td{padding:12px;border-bottom:1px solid #dbe6d6;text-align:left;white-space:nowrap}.shared-admin .roster-page{padding:0}@media(max-width:600px){.shared-admin{padding:14px}.shared-admin>form{padding:16px}}.skill-cut-in{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:#173d3326;pointer-events:none;animation:skill-cut-in-fade 1.1s ease-out both;touch-action:none}.skill-cut-in-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,#fffef4ed 0%,color-mix(in srgb,var(--skill-body) 85%,transparent) 28%,transparent 70%)}.skill-cut-in-band{position:absolute;width:120%;height:52%;transform:rotate(-7deg);background:linear-gradient(110deg,transparent,var(--skill-accent) 28%,var(--skill-body) 70%,transparent);opacity:.72;border-block:3px solid #fffef4b8}.skill-cut-in-art{width:min(680px,70vh,80vw);height:min(680px,70vh,80vw);position:absolute;top:50%;left:50%;transform:translate(-50%,-56%);animation:skill-cut-in-arrive 1.1s cubic-bezier(.2,.8,.25,1) both;animation-play-state:inherit}.skill-cut-in-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 10px #264a3c42);-webkit-user-select:none;user-select:none}.skill-cut-in-name{position:absolute;top:76%;left:50%;transform:translate(-50%) rotate(-3deg);font-size:clamp(26px,5vw,64px);line-height:1.2;white-space:nowrap;letter-spacing:.04em;color:#fffdf0;-webkit-text-stroke:1px #2c4d3b;paint-order:stroke fill;text-shadow:0 3px 0 #2c4d3b,0 0 12px var(--skill-accent);animation:skill-name-arrive 1.1s ease-out both;animation-play-state:inherit}@keyframes skill-cut-in-fade{0%{opacity:0}12%,78%{opacity:1}to{opacity:0}}@keyframes skill-cut-in-arrive{0%{transform:translate(-100%,-52%) scale(.82) rotate(-8deg)}22%{transform:translate(-50%,-56%) scale(1.04) rotate(2deg)}36%,80%{transform:translate(-50%,-56%) scale(1) rotate(0)}to{transform:translate(-42%,-56%) scale(1.03)}}@keyframes skill-name-arrive{0%,8%{opacity:0;transform:translate(-75%) rotate(-3deg)}24%,to{opacity:1;transform:translate(-50%) rotate(-3deg)}}@media(max-width:600px){.skill-cut-in-art{width:min(90vw,60vh);height:min(90vw,60vh)}.skill-cut-in-name{top:69%;font-size:clamp(24px,7vw,36px)}.skill-cut-in-band{height:43%}}@media(prefers-reduced-motion:reduce){.skill-cut-in,.skill-cut-in-art,.skill-cut-in-name{animation:none}}.match-skill-button{position:absolute;right:max(16px,env(safe-area-inset-right));top:max(102px,calc(env(safe-area-inset-top) + 96px));border:2px solid #dec983;border-radius:18px;background:#fff9df;color:#695522;min-width:70px;min-height:48px;box-shadow:0 3px 9px #52472b24;font-weight:800;display:flex;gap:5px;align-items:center;justify-content:center;z-index:11}.match-skill-button span{font-size:24px;color:#c79a32}.match-skill-button.is-armed{background:#ffeab0;border-color:#bb8b22}.match-skill-button:disabled{opacity:.45}.spent-skill-mark{position:absolute;right:5px;bottom:3px;font-size:18px;color:#83774e;background:#fffdf5d9;border-radius:50%;width:20px;height:20px;line-height:20px;text-align:center}.member-card-score{position:absolute;bottom:5px;left:7px;z-index:4;display:flex;align-items:baseline;gap:2px;min-width:34px;padding:2px 7px;border-radius:12px;background:#fffdf3ed;color:#345448;font-weight:900;font-size:19px;line-height:1.15;box-shadow:0 1px 4px #32524620;pointer-events:none}.member-card-score small{font-size:10px;font-weight:700}.spirit-info-dialog{position:fixed;inset:0;width:min(380px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:22px 26px 24px;border:2px solid #cddbc1;border-radius:24px;background:linear-gradient(155deg,#fffdf7,#edf5e1);color:#284c3d;text-align:center;box-shadow:0 12px 60px #24443440}.spirit-info-dialog::backdrop{background:#234b3a70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.spirit-info-close{position:absolute;top:9px;right:10px;width:38px;height:38px;border:1px solid #cedbbf;border-radius:50%;background:#fffdf6;color:#42634b;font-size:26px;cursor:pointer}.spirit-info-close:focus-visible{outline:3px solid #54aa8c;outline-offset:2px}.spirit-info-portrait{display:block;width:min(220px,36vh);height:min(220px,36vh);object-fit:contain;margin:0 auto 4px}.spirit-info-dialog h2{margin:4px 0 8px;font-size:19px}.spirit-info-score{display:block;font-size:38px;line-height:1.15;color:#467441}.spirit-info-score small{font-size:16px}.spirit-info-dialog h3{margin:18px 0 8px;font-size:21px}.spirit-info-dialog p{margin:0;font-size:15px;line-height:1.65;text-align:left}.spirit-info-usage{display:block;margin-top:12px;color:#62755b;font-size:12px}.spirit-info-spark{display:block;width:100%;margin-top:18px;min-height:44px;border:1px solid #bc9748;border-radius:12px;background:#fff0bb;color:#645123;font-weight:800;cursor:pointer}@media(max-width:720px){.member-card-score{bottom:4px;left:5px;min-width:28px;padding:2px 5px;font-size:15px}.member-card-score small{font-size:9px}.spirit-info-dialog{padding:18px 22px 22px}.spirit-info-dialog h3{font-size:19px}}.garden-page{min-height:100dvh;padding:clamp(18px,4vw,48px);background:radial-gradient(ellipse at top left,#fff6d6,transparent 60%),linear-gradient(150deg,#edf5df,#dcefe4);color:#31543b}.garden-page>header{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:auto;gap:20px}.garden-eyebrow{font-size:14px;margin:0;color:#6c855d}.garden-page h1{font-size:clamp(30px,4vw,46px);margin:6px 0}.garden-intro,.garden-storage-note{max-width:1200px;margin:18px auto;color:#617a5d}.garden-storage-note{font-size:12px;line-height:1.7;margin-top:28px}.garden-back,.garden-entry{border:1px solid #b9cfac;background:#fffdf1;color:#416947;padding:10px 18px;border-radius:14px;min-height:44px;font-weight:700;cursor:pointer}.garden-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;max-width:1200px;margin:auto}.garden-card{min-width:0;display:flex;flex-direction:column;align-items:center;overflow:hidden;background:linear-gradient(160deg,#fffefa,var(--spirit-color));border:2px solid #ffffffc0;border-radius:25px;padding:12px 8px 18px;box-shadow:0 5px 12px #456b3c15;color:#36523c;cursor:pointer}.garden-card:hover{border-color:#85b672}.garden-card:focus-visible{outline:3px solid #56a980;outline-offset:3px}.garden-card img{width:100%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 6px 5px #52603a25)}.garden-card-name{font-weight:800;font-size:18px;overflow-wrap:anywhere;margin:8px 0}.garden-card small,.garden-level{border-radius:20px;background:#ffffefc9;padding:5px 12px;color:#547248;font-weight:800}.garden-detail{width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:2px solid #cadab8;border-radius:25px;padding:0;background:#fffdf3;color:#31543b}.garden-detail::backdrop{background:#234b3a70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.garden-detail article{position:relative;padding:24px}.garden-close{position:absolute;right:12px;top:12px;border:1px solid #c8d9b6;background:#fffef4;border-radius:50%;width:38px;height:38px;color:#416444;font-size:24px;cursor:pointer}.garden-detail-art{display:block;width:200px;height:200px;margin:auto;object-fit:contain}.garden-detail h2{text-align:center;font-size:26px;margin:6px 0;overflow-wrap:anywhere}.garden-kind,.garden-future{text-align:center;color:#778268;font-size:13px}.garden-level{text-align:center;margin:auto;width:fit-content;font-size:18px}.garden-level span{margin-left:12px;font-size:14px}.garden-detail form{display:flex;gap:8px;align-items:end;margin-top:20px}.garden-detail form label{flex:1;min-width:0;font-size:13px}.garden-detail input{display:block;width:100%;margin-top:5px;border:1px solid #b8cbaa;border-radius:10px;padding:10px;background:#fff;color:#31543b}.garden-detail form button,.garden-error button{border:0;border-radius:10px;background:#567f50;color:#fff;padding:12px 18px;cursor:pointer}.garden-detail button:disabled{opacity:.5}.garden-error{color:#ad3456;max-width:1200px;margin:12px auto}.garden-notice{min-height:18px;font-size:13px;color:#528746}.garden-abilities{display:grid;grid-template-columns:1fr 1fr;gap:14px}.garden-abilities section{padding:12px;background:#edf3e5;border-radius:12px}.garden-detail h3{font-size:16px;margin:0 0 10px}.garden-abilities p{display:flex;justify-content:space-between;gap:5px;font-size:12px}.garden-abilities p span{color:#b4832f;white-space:nowrap}.garden-skill,.garden-touch{margin-top:20px;padding-top:16px;border-top:1px solid #dfe7d4}.garden-skill p{font-size:14px;line-height:1.6}.garden-skill small{color:#778268}.garden-touch p{display:flex;justify-content:space-between;font-size:13px;margin:10px 0}.garden-entry{margin:4px}.transfer-panel{max-width:1200px;margin:28px auto 0;background:#fffdf3;border:2px solid #cadab8;border-radius:22px;padding:18px 20px;color:#31543b}.transfer-panel h2{font-size:18px;margin:0 0 6px}.transfer-panel>p{color:#617a5d;font-size:13px;line-height:1.7;margin:0 0 10px}.transfer-actions{display:flex;flex-wrap:wrap;gap:10px}.transfer-actions button,.transfer-button{border:0;border-radius:12px;background:#567f50;color:#fff;padding:12px 18px;min-height:44px;font-weight:800;cursor:pointer}.transfer-actions button.is-sub,.transfer-button.is-sub{background:#fffdf1;color:#416947;border:1px solid #b9cfac}.transfer-actions button:disabled,.transfer-button:disabled{opacity:.5;cursor:default}.transfer-panel .transfer-note{font-size:12px;margin:12px 0 0}.transfer-sheet h2{text-align:center;font-size:20px;margin:4px 36px 12px}.transfer-button{display:block;width:100%;margin-top:10px}.transfer-code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:clamp(20px,6vw,28px);font-weight:800;letter-spacing:.04em;text-align:center;white-space:nowrap;background:#fff;border:2px dashed #9cc08f;border-radius:14px;padding:14px 6px;margin:8px 0;-webkit-user-select:all;user-select:all}.transfer-meta,.transfer-lead,.transfer-hint{text-align:center;color:#617a5d;font-size:13px;line-height:1.7}.transfer-hint{font-size:12px;text-align:left;margin-top:14px}.transfer-warn{background:#fdf0f3;border:1px solid #efc3cf;color:#7d2a40;border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.7;margin:10px 0}.transfer-warn strong{color:#ad3456}.garden-detail form.transfer-form{display:block;margin-top:0}.transfer-inputs{display:flex;gap:8px;justify-content:center;margin:12px 0}.transfer-inputs input{width:5.4em;min-width:0;flex:1;max-width:96px;text-align:center;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:20px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border:2px solid #b8cbaa;border-radius:10px;padding:10px 4px;background:#fff;color:#31543b}.transfer-inputs input:focus{outline:3px solid #9cc08f;border-color:#78a65f}.transfer-who{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:10px;margin:8px 0}.transfer-who img{width:84px;height:84px;object-fit:contain}.transfer-who strong{display:block;font-size:18px;overflow-wrap:anywhere}.transfer-who small{color:#617a5d}@media(max-width:720px){.garden-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.garden-card{border-radius:20px}.garden-card-name{font-size:15px}.garden-detail article{padding:20px}.garden-abilities{gap:8px}.garden-abilities section{padding:9px}.garden-detail-art{width:170px;height:170px}}.growth-settings{margin:24px 0;padding:20px;border:1px solid #abcab8;border-radius:16px;background:#f5fff8}.growth-settings input{width:90px;margin:8px}.growth-settings th,.growth-settings td{padding:8px}.growth-settings button{margin:8px 8px 0 0}.companion-panel{background:#fffef3;border:2px solid #b8d9b1;border-radius:24px;padding:24px;margin:24px 0;color:#294538}.companion-summary{display:flex;align-items:center;gap:24px}.companion-summary img{width:200px;height:220px;object-fit:contain}.companion-summary small{overflow-wrap:anywhere}.companion-panel label{display:block;margin:12px 0}.companion-panel input,.companion-panel select{margin:6px;padding:9px;max-width:100%}.companion-panel button{padding:10px 16px;border-radius:10px;border:1px solid #a1bda1;background:#eef9dc;color:#294538;cursor:pointer}.companion-panel button:disabled{opacity:.4;cursor:default}.companion-budget{font-size:20px;font-weight:700;position:sticky;top:0;background:#fffef3;padding:12px;z-index:1}.companion-stat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce8ce}.companion-stat small{display:block;margin-top:5px}.companion-stat>div:last-child{display:flex;align-items:center;gap:10px;flex-shrink:0}.companion-stat output{min-width:46px;text-align:center;font-weight:700}.companion-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.growth-settings select{max-width:100%;padding:8px}.growth-settings td small{overflow-wrap:anywhere}@media(max-width:600px){.companion-panel{padding:16px}.companion-summary{gap:8px}.companion-summary img{width:120px;height:150px}.companion-summary h2{font-size:22px}.companion-stat{align-items:flex-start;flex-direction:column}.companion-stat>div:last-child{align-self:flex-end}.companion-panel input{width:90%}}.companion-stat-cost{margin-left:8px;font-size:13px;font-weight:500;white-space:nowrap;color:#53735a}.tutorial-page{max-width:1100px;margin:auto;padding:18px;color:#2a453b}.tutorial-page header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tutorial-page h1{font-size:22px}.tutorial-page button{padding:10px 18px;border:1px solid #a9c3a2;border-radius:14px;background:#f8fff1;color:#284637;cursor:pointer;font-weight:600}.tutorial-page button:disabled{opacity:.4;cursor:default}.tutorial-intro{text-align:center;margin:28px}.tutorial-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tutorial-lessons button{display:flex;gap:14px;align-items:center;min-height:100px}.tutorial-lessons button span{font-size:24px}.tutorial-lessons button small{margin-left:auto;white-space:nowrap}.tutorial-cue{font-size:24px;font-weight:750;text-align:center;padding:12px}.tutorial-real{display:block;text-align:center;margin-bottom:8px}.tutorial-court{height:clamp(340px,62vh,650px);position:relative;border-radius:24px;overflow:hidden;border:2px solid #b8d9b1;background:#e4f4d8}.tutorial-court>.game-scene-container{height:100%;width:100%}.tutorial-hand{font-size:48px;display:block;filter:drop-shadow(0 2px 3px #4b5e35);color:#fff8d5}.tutorial-demo-label{position:absolute;top:14px;left:14px;padding:6px 14px;border-radius:20px;background:#fffc}.tutorial-result{position:absolute;inset:auto 15% 18px;display:flex;align-items:center;justify-content:center;gap:14px;padding:20px;background:#fffff1f0;border-radius:24px;box-shadow:0 4px 20px #536e3538;flex-wrap:wrap}.tutorial-result strong{font-size:24px}.tutorial-result span{font-weight:700;color:#358450}.tutorial-tools{display:flex;gap:8px;justify-content:center;padding:12px 0}.tutorial-controls{display:flex;justify-content:center;gap:12px;align-items:center;flex-wrap:wrap}.tutorial-method{display:flex;gap:8px}.tutorial-method button[aria-pressed=true]{background:#d3edba;border-color:#649757}.tutorial-skill{display:flex;align-items:center;gap:8px}.tutorial-skill img{width:40px;height:40px;object-fit:contain}.tutorial-fire{background:#ffe5a1!important;min-width:90px}.tutorial-choices{display:flex;justify-content:center;gap:12px}.tutorial-choices button{display:flex;align-items:center;flex-direction:column}.tutorial-choices img{width:70px;height:75px;object-fit:contain}.tutorial-error{background:#fff0e0;padding:16px;border-radius:14px;margin:10px 0}.tutorial-error button{margin-left:10px}@media(max-width:600px){.tutorial-page{padding:10px}.tutorial-page h1{font-size:17px}.tutorial-page header button{padding:8px 10px}.tutorial-lessons{grid-template-columns:1fr}.tutorial-lessons button{min-height:75px}.tutorial-cue{font-size:21px}.tutorial-court{height:55vh;min-height:340px;border-radius:18px}.tutorial-result{inset:auto 4% 12px;padding:14px}.tutorial-tools button{padding:8px 10px}.tutorial-hand{font-size:38px}}.tutorial-choice-highlight{box-shadow:0 0 0 3px #ffd558,0 0 20px #ffdb7c88!important}.tutorial-prompt{text-align:center;margin:2px}.tutorial-goal-star{color:#ffe376;font-size:26px;text-shadow:0 1px 3px #5f6625;pointer-events:none}.tutorial-hand-overlay{position:absolute;transform:translate(-50%,-50%);pointer-events:none;z-index:4;display:none}.tutorial-goal-overlay{position:absolute;transform:translate(-50%,-50%);z-index:3;pointer-events:none;display:none}.simple-team-setup{max-width:920px;margin:auto}.simple-team-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 22px}.simple-team-tabs button{border:1px solid #c1d7bb;background:#fffef5;color:#35513d;padding:10px 22px;border-radius:20px;cursor:pointer}.simple-team-tabs button.active{background:#d9edc9;border-color:#7eac6a;font-weight:700}.simple-team-editor{border:0;padding:0;min-width:0}.simple-team-slots{display:grid;grid-template-columns:repeat(var(--team-size),minmax(0,1fr));gap:12px;margin-bottom:28px}.simple-team-slot{height:180px;position:relative;border:2px solid transparent;border-radius:20px;overflow:hidden;background:#fffdf6;cursor:pointer;padding:0;color:#314b3b;box-shadow:0 2px 8px #54754417}.simple-team-slot img{width:100%;height:100%;object-fit:contain;object-position:center 10%;transform:scale(1.12);pointer-events:none}.simple-team-slot strong{position:absolute;bottom:0;left:0;right:0;padding:20px 8px 10px;background:linear-gradient(transparent,#fffdf6 42%);font-size:15px}.simple-team-order{position:absolute;top:10px;left:10px;width:28px;height:28px;border-radius:50%;background:#f0f8e9;color:#37553e;display:grid;place-items:center;font-weight:750;z-index:1}.simple-team-slot.is-selected{border-color:#6b9857;box-shadow:0 0 0 3px #dceecb}.simple-spirit-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.simple-spirit-picker button{display:flex;flex-direction:column;align-items:center;border:2px solid transparent;border-radius:16px;padding:6px 6px 10px;background:#fffdf6;color:#365440;font-weight:650;cursor:pointer;min-width:0}.simple-spirit-picker img{width:100%;height:115px;object-fit:contain;pointer-events:none}.simple-spirit-picker span{font-size:13px}.simple-spirit-picker button.is-selected{border-color:#78a65f;background:#edf7df}.simple-team-actions{display:flex;justify-content:center;margin:24px 0}.simple-team-actions button{min-width:160px;padding:12px 24px}.simple-team-setup button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.simple-team-slots{gap:7px;margin-bottom:20px}.simple-team-slot{height:130px;border-radius:14px}.simple-team-slot strong{font-size:11px;padding:16px 2px 8px}.simple-team-order{top:6px;left:6px;width:23px;height:23px;font-size:12px}.simple-spirit-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.simple-spirit-picker img{height:88px}.simple-spirit-picker span{font-size:11px}.simple-team-tabs{gap:8px}.simple-team-tabs button{padding:9px 18px}.simple-team-slots:has(>:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}}.simple-team-name{max-width:420px;margin-bottom:22px}.simple-team-tabs button{max-width:100%;overflow-wrap:anywhere}.simple-spirit-picker small{font-size:10px;color:#527347;margin-top:4px}.simple-spirit-picker span,.simple-team-slot strong{overflow-wrap:anywhere}.simple-spirit-picker button:has(small){background:#f1f8e5;border-color:#c4dca8}.simple-spirit-picker button:has(small).is-selected{border-color:#78a65f;background:#e7f2d4}.simple-team-slot,.simple-spirit-picker button,.match-member-abilities button,.match-score-ball{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y}.online-page{min-height:100dvh;background:#f3f7e9;color:#35513e;padding:24px}.online-page header{display:flex;align-items:center;justify-content:space-between;max-width:680px;margin:auto}.online-page button,.online-page select,.online-page input{font:inherit}.online-page button{border:1px solid #bdd6ac;border-radius:14px;padding:10px 16px;background:#e4f2d6;color:#35513e;cursor:pointer}.online-page button:disabled{opacity:.5;cursor:default}.online-lobby{max-width:520px;margin:24px auto;display:grid;gap:16px;padding:24px;border-radius:24px;background:#fffdf5;box-shadow:0 4px 20px #42653717}.online-lobby label{display:grid;gap:8px}.online-lobby input,.online-lobby select{padding:12px;border:1px solid #b9cbb0;border-radius:12px;background:#fff}.online-code{display:block;font-size:24px;letter-spacing:.12em;-webkit-user-select:all;user-select:all;overflow-wrap:anywhere}.online-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.online-seats article{padding:12px;background:#edf4e4;border-radius:14px}.online-page.has-match{padding:0;position:relative;height:100dvh;overflow:hidden}.online-court{position:absolute;inset:0}.online-court>div{height:100%!important}.online-top{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:6px;z-index:5}.online-top span{padding:8px;background:#fffbefd9;border-radius:12px}.online-score{position:absolute;top:68px;left:50%;transform:translate(-50%);background:#fffbeedb;border-radius:18px;padding:8px 24px;font-weight:800;white-space:nowrap}.online-status{position:absolute;top:115px;left:50%;transform:translate(-50%);background:#fffbeeda;border-radius:12px;padding:7px 16px;text-align:center;white-space:nowrap;pointer-events:none}.online-status small{display:block;font-size:11px;margin-top:3px}.online-bottom{position:absolute;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:6;text-align:center}.online-aim-controls{display:flex;justify-content:center;align-items:center;gap:8px;margin:6px 0}.online-aim-controls label{display:flex;gap:8px;align-items:center;background:#fffbeaee;border-radius:12px;padding:6px 12px}.online-aim-controls input{width:140px}.online-clock{font-weight:800;background:#fffbeedb;border-radius:12px;display:inline-block;margin:4px;padding:4px 10px;min-height:24px}.online-bottom .match-ball-scores{position:static;display:grid;gap:6px;max-width:820px;margin:auto}.online-bottom .match-score-ball{position:relative;padding:0;height:100px;border-radius:12px;overflow:hidden;background:#fffdf3}.online-finish{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:10;padding:24px;border-radius:24px;background:#fffbedf2;text-align:center;min-width:260px}.online-error{position:fixed;left:12px;right:12px;bottom:12px;z-index:100;background:#fff5e9;color:#843e35;padding:12px;border:1px solid #d8aaa0;border-radius:12px}.online-error button{margin-left:12px}.online-info-image{width:180px;height:180px;object-fit:contain}.online-page .roster-dialog{max-height:85dvh;overflow:auto}.online-page .roster-dialog p{margin:10px 0}@media(max-width:600px){.online-page{padding:12px}.online-lobby{padding:18px}.online-top{top:8px;left:8px;right:8px}.online-top span{font-size:11px}.online-top button{padding:8px 10px;font-size:11px}.online-bottom{left:6px;right:6px}.online-bottom .match-score-ball{height:78px}.online-aim-controls{gap:4px;flex-wrap:wrap}.online-aim-controls button{padding:8px 12px}.online-aim-controls label{font-size:12px}.online-aim-controls input{width:110px}.online-status{font-size:12px}}.online-bottom{pointer-events:none}.online-bottom button,.online-bottom label,.online-bottom input{pointer-events:auto}.online-aim-controls{justify-content:flex-start}.online-clock{pointer-events:none}.match-shell.is-playing,.online-page.has-match{--match-team-card-height:clamp(72px,10vh,100px)}.match-shell.is-playing{padding-top:calc(var(--match-team-card-height) + 16px)}.match-ball-scores.match-team-own,.match-ball-scores.match-team-opponent{grid-template-rows:1fr}.match-shell.is-playing .match-team-opponent{position:absolute;top:8px;left:8px;right:8px;height:var(--match-team-card-height);z-index:12}.match-team-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:36px}.match-team-topline .match-left-controls,.match-team-topline .match-team-total{position:static;margin:0;flex-shrink:0}.match-shell.is-playing .match-camera-button{top:calc(var(--match-team-card-height) + 24px)}.match-shell.is-playing .match-skill-button{top:calc(var(--match-team-card-height) + 68px)}.online-page.has-match .online-opponent{position:absolute;top:12px;left:12px;right:12px;z-index:6;height:var(--match-team-card-height)}.online-page.has-match .online-opponent .match-score-ball,.online-page.has-match .match-team-own .match-score-ball{height:var(--match-team-card-height);min-height:var(--match-team-card-height)}.online-page.has-match .online-top{top:calc(var(--match-team-card-height) + 24px)}.online-page.has-match .online-status{top:calc(var(--match-team-card-height) + 78px)}.online-bottom .online-score{position:static;transform:none;width:max-content;margin:0 0 6px auto}@media(max-width:720px){.match-shell.is-playing,.online-page.has-match{--match-team-card-height:64px}.match-shell.is-playing{padding-top:calc(var(--match-team-card-height) + 8px)}.match-shell.is-playing .match-team-opponent{top:4px;left:4px;right:4px}.match-shell.is-playing .match-camera-button{top:calc(var(--match-team-card-height) + 16px)}.match-shell.is-playing .match-skill-button{top:calc(var(--match-team-card-height) + 60px)}.online-page.has-match .online-opponent{top:8px;left:6px;right:6px}}.match-shell.is-playing .match-cpu-status{top:calc(var(--match-team-card-height) + 24px)}.match-shell.is-playing .match-record-status{top:calc(var(--match-team-card-height) + 126px)}.match-score-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.round-shot-button{position:relative;width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#fffdf5;color:#3e774c;cursor:pointer;box-shadow:0 1px 4px #34563220;touch-action:manipulation}.round-shot-button svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:4;transform:rotate(-90deg);pointer-events:none}.round-clock-track{stroke:#dce5d5}.round-clock-progress{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.round-clock-content{display:grid;justify-items:center;align-content:center;gap:0;line-height:1;pointer-events:none}.round-clock-content strong{font-size:20px;font-weight:850;font-variant-numeric:tabular-nums;line-height:1}.round-clock-content small{font-size:8px;font-weight:750;margin-top:2px}.round-shot-button.is-urgent{color:#d8374e;background:#fff3ed}.round-shot-button.is-resting{color:#7e9082}.round-shot-button:disabled{cursor:default}.round-shot-button:focus-visible{outline:3px solid #80ac70;outline-offset:3px}.online-page .round-shot-button{padding:0;border:0;border-radius:50%;background:#fffdf5;color:#3e774c}.online-page .round-shot-button.is-urgent{color:#d8374e;background:#fff3ed}.online-page .round-shot-button.is-resting{color:#7e9082}.online-bottom .online-score-actions{margin:4px 0 6px auto}.online-score-actions .online-score{margin:0}@media(prefers-reduced-motion:reduce){.round-clock-progress{transition:none}}.match-shell.is-playing{--match-edge:8px;padding:0;display:block}.match-shell.is-playing .match-board{position:absolute;inset:calc(var(--match-team-card-height) + 16px) 0;border:0;border-radius:0}.match-shell.is-playing .match-playbar{display:contents}.match-shell.is-playing .match-team-topline{position:absolute;left:var(--match-edge);right:var(--match-edge);bottom:calc(var(--match-team-card-height) + var(--match-edge) + 8px);pointer-events:none}.match-shell.is-playing .match-playbar button,.match-shell.is-playing .match-playbar summary,.match-shell.is-playing .match-playbar dialog{pointer-events:auto}.match-shell.is-playing .match-team-own{position:absolute;left:var(--match-edge);right:var(--match-edge);bottom:var(--match-edge);height:var(--match-team-card-height)}.match-shell.is-playing .match-team-topline .match-left-controls{position:fixed;top:calc(var(--match-team-card-height) + 24px);left:var(--match-edge)}.match-shell.is-playing .match-score-actions{width:100%;justify-content:space-between}.match-shell.is-playing .match-team-total{order:-1}.match-shell.is-playing .evaluation-panel{top:calc(var(--match-team-card-height) + 68px);max-height:calc(100dvh - 2 * var(--match-team-card-height) - 160px)}.match-shell.is-playing .match-cpu-status{top:calc(var(--match-team-card-height) + 112px)}.online-bottom .online-score-actions{width:100%;justify-content:space-between}.online-score-actions .online-score{order:-1}.online-page.has-match .online-court{top:calc(var(--match-team-card-height) + 20px);bottom:calc(var(--match-team-card-height) + 20px)}@media(max-width:720px){.match-shell.is-playing{--match-edge:4px}.match-shell.is-playing .match-board{top:calc(var(--match-team-card-height) + 8px);bottom:calc(var(--match-team-card-height) + 8px)}.match-shell.is-playing .match-team-topline .match-left-controls{top:calc(var(--match-team-card-height) + 16px)}.match-shell.is-playing .evaluation-panel{top:calc(var(--match-team-card-height) + 60px)}}#companion-name-feedback,#spirit-name-feedback{display:block;margin:4px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}input[aria-invalid=true]+small{color:#984234}.match-result-overlay>button{pointer-events:auto}.match-shot-actions{display:flex;align-items:center;gap:8px;pointer-events:auto}.match-shot-actions .match-skill-button{position:static;flex-shrink:0}.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.match-round-counter{gap:4px;padding:0 7px}.match-round-counter i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1.5px solid #35688866;color:#35688899;font-style:normal;font-size:11px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.match-round-counter i.is-done{border-color:#356888;background:#35688833;color:#356888}.match-round-counter i.is-current{border-color:#356888;background:#356888;color:#fff}.tutorial-match-playbar .match-round-counter i{width:17px;height:17px;font-size:10px}.match-camera-button{display:grid;place-items:center;min-width:46px;min-height:46px;padding:0 8px}.match-camera-button svg{width:28px;height:28px}.round-shot-button .round-clock-icon{position:static;inset:auto;width:20px;height:20px;margin-top:2px;transform:none;stroke-width:1.7}.match-team-topline .round-shot-button{width:70px;height:70px;flex-basis:70px}.match-team-topline .round-clock-content strong{font-size:22px}.match-skill-button{min-width:52px;font-size:24px;display:grid;place-items:center}.match-skill-button.is-used{opacity:.45;filter:grayscale(1)}.match-skill-button.is-armed{box-shadow:0 0 0 3px #ffe08a,0 0 18px #ffd34d;animation:skill-armed-glow 1.2s ease-in-out infinite}@keyframes skill-armed-glow{50%{box-shadow:0 0 0 4px #ffe08a,0 0 26px #ffd34d}}.shot-illustration-symbols{display:flex;align-items:center;gap:4px}.shot-illustration-symbols svg{width:clamp(44px,8vw,76px);height:clamp(44px,8vw,76px);stroke-width:2.2}.shot-illustration-symbols b{font-size:clamp(30px,6vw,56px);font-weight:950}.shot-illustration-symbols .is-spark{color:#f4b72e;stroke:#c88a13}@media(prefers-reduced-motion:reduce){.match-skill-button.is-armed{animation:none}}.skill-effect{margin:6px 0 0;font-size:14px;line-height:1.6;font-weight:700;color:#355546;text-align:left}.spirit-info-dialog .skill-effect{text-align:left}.spirit-info-number{display:inline-grid;place-items:center;min-width:28px;height:28px;margin-right:8px;padding:0 6px;border-radius:999px;background:#467441;color:#fff;font-size:15px;vertical-align:2px}.spirit-info-goal{width:30px;height:30px;margin-left:6px;vertical-align:-2px;color:#c7902e}.spirit-info-usage{display:inline-flex;align-items:center;margin-top:12px;padding:4px 12px;border:1px solid #d6c68c;border-radius:999px;color:#a7802a;font-size:12px;font-weight:800}.spirit-info-usage.is-armed{background:#ffeab0;animation:skill-armed-glow 1.2s ease-in-out infinite}.spirit-info-usage.is-used{filter:grayscale(1);opacity:.5}.spirit-info-locked{display:block;margin-top:16px;color:#8a9a86}.spirit-info-locked svg{width:30px;height:30px}.spirit-info-spark{display:grid!important;place-items:center}.spirit-info-spark svg{width:26px;height:26px;color:#b8861f}.ability-mark{width:22px;height:22px;color:#26745a}.ability-mode-mark{width:24px;height:24px;color:#26745a}.ability-row strong{font-size:22px;font-variant-numeric:tabular-nums}.ability-traits span{display:inline-flex;align-items:center;gap:2px}.ability-traits svg{width:15px;height:15px}.ability-traits b{font-size:13px}.ability-touch summary{display:flex;align-items:center;gap:6px;list-style:none}.ability-touch summary::-webkit-details-marker{display:none}.ability-touch summary:after{content:"▾";margin-left:auto;font-size:16px;transition:transform .2s}.ability-touch[open] summary:after{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.spirit-info-usage.is-armed{animation:none}}.garden-back,.garden-entry,.roster-back-button.is-icon{display:inline-grid;place-items:center;min-width:46px;min-height:46px;padding:0 10px}.garden-back svg,.garden-entry svg,.roster-back-button.is-icon svg{width:24px;height:24px}.roster-save-button.is-icon{display:inline-grid;place-items:center;min-width:64px}.roster-save-button.is-icon svg{width:24px;height:24px}.garden-detail h3 svg{width:22px;height:22px;color:#416947}.garden-abilities p span[role=img] svg{width:18px;height:18px;color:#416947;vertical-align:-4px}.garden-time{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0}.garden-time svg{width:22px;height:22px}.garden-time strong{font-size:22px}.garden-skill{text-align:center}.garden-skill h3{margin-bottom:10px}.garden-skill span[role=img] svg{width:28px;height:28px;color:#8a9a86}.skill-once{display:inline-block;margin-top:8px;color:#a7802a!important;font-size:12px;font-weight:800}.garden-loading{display:flex;justify-content:center;margin:40px auto}.growth-field-mark{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}.growth-field-mark svg{width:20px;height:20px;color:#416947}.growth-field-mark b{margin-left:3px;font-size:14px}.companion-points{color:#b4832f}.companion-grow{display:inline-grid!important;place-items:center;min-width:52px;min-height:44px;margin-top:8px}.companion-grow svg{width:24px;height:24px}.companion-actions button{display:inline-grid;place-items:center;min-width:56px;min-height:44px;font-size:20px}.companion-actions button svg{width:22px;height:22px}.companion-actions button.is-primary{background:#567f50;color:#fff;border-color:#567f50}.shot-illustration-symbols{gap:10px}.shot-illustration-word{font-size:clamp(26px,5vw,52px);font-weight:950;white-space:nowrap}.shot-illustration-symbols b,.shot-illustration-word.is-double{color:#e0a826}.skill-choice{position:fixed;inset:0;z-index:10002;display:grid;place-items:center;padding:16px;background:#173d3340}.skill-choice-card{width:min(420px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:12px;border-radius:16px;background:#fffdf5;box-shadow:0 12px 40px #0003}.skill-choice-card header{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#284a3c}.skill-choice-card header svg{width:26px;height:26px}.skill-choice-card header strong{flex:1;font-size:15px}.skill-choice-close{min-width:40px;min-height:40px;border:0;border-radius:50%;background:#eef0e6;font-size:16px}.skill-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.skill-choice-option{display:grid;justify-items:center;gap:4px;padding:8px 4px;border:2px solid transparent;border-radius:12px;background:color-mix(in srgb,var(--portrait-color) 35%,#fff);font-weight:800;color:#284a3c}.skill-choice-option.team-red{border-color:#d24b5f}.skill-choice-option.team-white{border-color:#8fb0c4}.skill-choice-grid.is-spirit .skill-choice-option{border-color:transparent}.skill-choice-option img{width:56px;height:56px;object-fit:contain}.skill-choice-option b{font-size:18px}.skill-choice-option span{font-size:13px}.redo-choice{position:fixed;left:50%;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 120px);z-index:10002;display:flex;gap:12px;transform:translate(-50%)}.redo-choice button{display:flex;align-items:center;gap:6px;min-height:52px;padding:10px 18px;border:0;border-radius:26px;font-size:16px;font-weight:900;box-shadow:0 6px 20px #0003}.redo-choice button svg{width:24px;height:24px}.redo-choice-replay{background:#f2844c;color:#fff}.redo-choice-keep{background:#fffdf5;color:#284a3c}.skill-choice-card.is-spirit{width:min(400px,100%);overflow:visible}.spirit-pick-list{display:grid;grid-template-columns:1fr;gap:4px}.spirit-pick-head,.spirit-pick-row{display:grid;grid-template-columns:minmax(0,1fr) 30px 30px 40px 30px 48px;align-items:center;gap:3px}.spirit-pick-head>:nth-child(4),.spirit-pick-row>:nth-child(4){justify-self:end}.spirit-pick-row>:nth-child(6){margin-left:6px}.spirit-pick-head{padding:0 6px 2px;color:#5b7568}.spirit-pick-head span{display:flex;justify-content:center;width:30px}.spirit-pick-head span:first-child,.spirit-pick-head span:last-child{width:auto}.spirit-pick-head svg{width:15px;height:15px}.spirit-pick-head.is-second{display:none}.spirit-pick-row{min-height:42px;padding:2px 6px;border:0;border-radius:10px;background:color-mix(in srgb,var(--portrait-color) 28%,#fff);color:#284a3c;text-align:left}.spirit-pick-name{display:flex;align-items:center;gap:6px;min-width:0}.spirit-pick-name img{width:34px;height:34px;object-fit:contain;flex:none}.spirit-pick-name b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spirit-pick-star{display:grid;place-items:center;width:28px;height:28px;margin:auto;font-size:13px;font-weight:900;color:#4a3300;clip-path:polygon(50% 0,62% 34%,98% 36%,70% 58%,80% 95%,50% 74%,20% 95%,30% 58%,2% 36%,38% 34%);padding-top:3px}.spirit-pick-star.s5{background:#f2b01e}.spirit-pick-star.s4{background:#f5c95a}.spirit-pick-star.s3{background:#ead9a0}.spirit-pick-star.s2{background:#dcd8c8;color:#575343}.spirit-pick-star.s1{background:#e6e3da;color:#7a766a}.spirit-pick-touch{display:flex;align-items:flex-end;gap:2px;height:24px;padding:0 2px;border-bottom:1px solid #9bb3a6}.spirit-pick-touch i{flex:1;border-radius:2px 2px 0 0;background:#3f8f6b}.spirit-ability-line{width:max-content;max-width:100%;margin:10px auto 0}.spirit-ability-line .spirit-pick-head,.spirit-ability-line .spirit-pick-row{grid-template-columns:0 30px 30px 40px 30px 48px}.spirit-ability-line .spirit-pick-row{min-height:36px;background:#fff8e4}@media(orientation:landscape)and (max-height:520px){.spirit-info-dialog[open]{display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:18px;align-content:center;width:min(620px,calc(100vw - 28px));padding:14px 22px 16px}.spirit-info-dialog>*{grid-column:2}.spirit-info-dialog>.spirit-info-portrait{grid-column:1;grid-row:1 / span 8;align-self:center;width:150px;height:150px}.spirit-info-dialog>.spirit-info-close{grid-column:auto}.spirit-info-dialog h2{margin:0 0 2px}.spirit-info-score{font-size:30px}.spirit-ability-line{margin-top:4px}.spirit-info-dialog h3{margin:10px 0 6px}.spirit-info-usage{margin-top:8px;justify-self:center}}@media(min-width:640px){.skill-choice-card.is-spirit{width:min(760px,100%)}.spirit-pick-list{grid-template-columns:1fr 1fr;column-gap:12px}.spirit-pick-head.is-second{display:grid}}@media(max-height:520px){.spirit-pick-row{min-height:34px}.spirit-pick-name img{width:28px;height:28px}.skill-choice-card.is-spirit header{margin-bottom:4px}}.accuracy-stars{display:inline-flex;gap:1px;margin:0 6px;font-style:normal;font-size:16px;line-height:1;vertical-align:middle}.accuracy-stars i{font-style:normal;color:#cbd8c8}.accuracy-stars i.is-full{color:#946018}.accuracy-stars i.is-gold{color:#e8b520;text-shadow:0 0 4px #fff3b0}.accuracy-stars i.is-part{background:linear-gradient(90deg,#946018 var(--fill),#cbd8c8 var(--fill));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
