.catalog-search{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:12px;min-width:0;margin-bottom:20px;padding:16px;display:flex}.comparison-field input{min-height:22px}.ball-visual.branded-placeholder{background:var(--raised);color:var(--text);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;padding:6px;display:flex;overflow:hidden}.branded-placeholder small{overflow-wrap:anywhere;font-size:9px;line-height:1.2}.branded-placeholder span{overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:10px;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.ball-hero>.ball-visual.branded-placeholder{background:var(--surface);color:var(--text);border:1px solid var(--border)}.catalog-result>.ball-visual{object-fit:contain;border-radius:12px;flex:0 0 64px;width:64px;height:76px}.catalog-result .branded-placeholder span{font-size:9px}.catalog-selected-heading{align-items:center;gap:12px;display:flex}.catalog-selected-heading>.ball-visual{object-fit:contain;border-radius:12px;flex:0 0 76px;width:76px;height:86px}.catalog-selected-heading>div:last-child{min-width:0}.image-info{overflow-wrap:anywhere;font-size:13px;line-height:1.6}.image-info a{color:var(--accent-strong);align-items:center;min-height:44px;display:inline-flex}.image-info summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.catalog-comparison{border:1px solid var(--accent);background:var(--surface);border-radius:16px;flex-direction:column;gap:12px;margin-bottom:16px;padding:16px;scroll-margin-top:16px;display:flex}.catalog-comparison h2,.catalog-comparison p{margin:0}.catalog-comparison p{font-size:14px;line-height:1.6}.comparison-fields{flex-direction:column;gap:8px;display:flex}.comparison-field{border:1px solid var(--border);border-radius:12px;align-items:center;gap:12px;min-height:56px;padding:8px;display:flex}.comparison-field input{width:22px;height:22px;accent-color:var(--accent);flex:none}.comparison-field>span{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.comparison-field small{color:var(--muted);font-size:13px;line-height:1.5}.catalog-search h2,.catalog-search h3,.catalog-search p{margin:0}.catalog-search p{font-size:14px;line-height:1.6}.catalog-search small{font-size:12px;line-height:1.5}.catalog-search form,.catalog-search label{flex-direction:column;gap:8px;display:flex}.catalog-search input,.catalog-search select{box-sizing:border-box;border:1px solid var(--border);border-radius:10px;width:100%;min-width:0;min-height:48px;padding:10px;font-size:16px}.catalog-actions{flex-wrap:wrap;gap:8px;display:flex}.catalog-actions button{white-space:normal;flex:120px;min-height:44px;font-size:14px}.catalog-results{flex-direction:column;gap:10px;max-height:430px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.catalog-results li{min-width:0}.catalog-result{text-align:left;border:1px solid var(--border);border-radius:12px;align-items:flex-start;gap:12px;width:100%;padding:12px;display:flex}.catalog-result[aria-expanded=true]{border-color:var(--accent-strong);background:var(--accent-soft)}.catalog-result>span:last-child{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.catalog-placeholder{width:44px;height:44px;color:var(--muted);background:var(--surface);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.catalog-detail{border-top:1px solid var(--border);overflow-wrap:anywhere;flex-direction:column;gap:12px;padding-top:16px;scroll-margin-top:16px;display:flex}.catalog-detail dl{grid-template-columns:76px minmax(0,1fr);gap:8px;margin:0;font-size:14px;display:grid}.catalog-detail dd{margin:0}.catalog-detail a,.catalog-source a{color:var(--accent-strong);overflow-wrap:anywhere;align-items:center;min-height:44px;display:inline-flex}.catalog-source{overflow-wrap:anywhere;font-size:13px;line-height:1.6}.ball-editor .catalog-reopen{margin-bottom:4px}:root{color:#eaf1fb;font-synthesis:none;background:#0b1120;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Noto Sans JP,sans-serif}:root[data-theme=light]{color:#172235;background:#eef4fb}*{box-sizing:border-box}body{background:inherit;margin:0}button,input,select{font:inherit}button{color:#0b1120;cursor:pointer;background:#60a5fa;border:0;border-radius:14px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 14px;font-weight:700;display:inline-flex}button:disabled{opacity:.45;cursor:not-allowed}main{max-width:480px;min-height:calc(100dvh - 76px);padding:max(16px,env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));margin:auto}header{justify-content:space-between;align-items:center;gap:8px;margin:4px 0 18px;display:flex}h1{letter-spacing:-.5px;margin:0;font-size:28px}h2{margin:22px 0 12px;font-size:18px}h3{margin:8px 0;font-size:15px}.card,.saved,.session,.balllist article{background:#172235;border:1px solid #30425b;border-radius:18px;padding:16px}.grid,.dashboard-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.card{flex-direction:column;gap:5px;display:flex}.card b{font-size:21px}.state{text-align:center;color:#94a3b8;padding:68px 14px}.form,.filters{flex-direction:column;gap:12px;display:flex}.form label,.filters label,.record-start>label{flex-direction:column;gap:6px;font-weight:600;display:flex}.form input,.form select,.filters input,.filters select,.maintenance input,.maintenance select,.record-start input,.record-start select{min-height:44px;color:inherit;background:#172235;border:1px solid #30425b;border-radius:12px;padding:10px}.modes,.mode-cards{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.modes button,.mode-cards button{color:#eaf1fb;text-align:left;background:#172235;border:1px solid #30425b;flex-direction:column;align-items:flex-start;min-height:84px;padding:8px}.modes .selected,.mode-cards .selected{background:#23334b;border:2px solid #60a5fa}.modes small,.mode-cards small,.balllist small,.session span,.muted{color:#94a3b8}.primary-cta{width:100%;min-height:54px;font-size:17px}.extra-fields{background:#111b2b;border:1px solid #30425b;border-radius:14px;padding:0 12px}.extra-fields summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:50px;font-weight:700;display:flex}.rec{flex-direction:column;gap:12px;display:flex}.saved,.session{text-align:left;color:#eaf1fb;justify-content:space-between;display:flex}.session{width:100%;margin-bottom:8px}.quick{flex-direction:column;gap:12px;display:flex}.quick input{text-align:center;min-height:72px;color:inherit;background:#172235;border:1px solid #30425b;border-radius:14px;font-size:32px}.board{scroll-snap-type:x proximity;border:1px solid #30425b;border-radius:14px;display:flex;overflow-x:auto}.board>div{scroll-snap-align:start;border-right:1px solid #30425b;flex-direction:column;gap:4px;min-width:54px;padding:8px;display:flex}.board .active{background:#23334b;outline:2px solid #60a5fa}.pins{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.pins button{color:#eaf1fb;background:#23334b;font-size:20px}.status{color:#94a3b8}.actions{flex-wrap:wrap;gap:8px;display:flex}.secondary{color:#eaf1fb;background:#23334b;border:1px solid #30425b}.resume{background:#34d399;width:100%;margin-top:12px}.hero{background:linear-gradient(135deg,#1d4e89,#172235 68%);border:1px solid #60a5fa;border-radius:22px;flex-direction:column;align-items:flex-start;gap:4px;padding:20px;display:flex}.hero strong{font-variant-numeric:tabular-nums;font-size:52px;line-height:1}.hero span{color:#cbd5e1}.hero button{width:100%;margin-top:12px}.empty-hero span{font-size:20px;font-weight:800}.empty-hero p{color:#cbd5e1;margin:0}.metric{background:#172235;border:1px solid #30425b;border-radius:16px;flex-direction:column;gap:3px;padding:13px;display:flex}.metric small{color:#94a3b8}.metric b{font-variant-numeric:tabular-nums;font-size:20px}.section-row{justify-content:space-between;align-items:center;display:flex}.section-row h2{margin:0}.text-button{color:#60a5fa;background:0 0;min-height:36px;padding:4px}.score-bars{align-items:flex-end;gap:6px;height:112px;padding-top:12px;display:flex}.score-bars div{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;min-width:0;height:100%;display:flex}.score-bars i{background:#60a5fa;border-radius:8px 8px 2px 2px;width:100%;max-width:18px;display:block}.goal-card{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.goal-card h2{margin:0}.goal-card>div:last-child{gap:6px;display:flex}.goal-card input{width:78px;min-height:42px;color:inherit;background:#0b1120;border:1px solid #30425b;border-radius:10px;padding:8px}.section{flex-direction:column;gap:8px;display:flex}.session-card{color:#eaf1fb;text-align:left;background:#172235;border:1px solid #30425b;grid-template-columns:auto 1fr auto;width:100%;display:grid}.session-card span{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.balllist{flex-direction:column;gap:8px;display:flex}.balllist article{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.balllist article>div:nth-child(2){flex-direction:column;flex:1;gap:3px;min-width:130px;display:flex}.ball-actions{gap:2px;display:flex}.icon{color:#eaf1fb;background:0 0;min-width:44px;padding:8px}.maintenance{border-top:1px solid #30425b;width:100%;padding-top:10px}.maintenance p{margin:6px 0;font-size:13px}.file,.photo-button{cursor:pointer;background:#23334b;border:1px solid #30425b;border-radius:12px;justify-content:center;min-height:44px;padding:8px 10px;flex-direction:row!important;align-items:center!important;display:flex!important}.file input,.photo-button input{display:none}.photo-panel{margin-top:16px}.photo-row{border-top:1px solid #30425b;align-items:center;gap:12px;padding:10px 0;display:flex}.photo-row img,.photo-placeholder{object-fit:cover;color:#94a3b8;background:#23334b;border-radius:12px;place-items:center;width:72px;height:72px;font-size:12px;display:grid}.photo-row>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pin-diagram{grid-template-columns:repeat(4,1fr);gap:9px;max-width:320px;margin:12px auto;display:grid}.pin-diagram .pin{aspect-ratio:1;color:#172235;background:#eaf1fb;border-radius:50%;min-height:52px;padding:0}.pin-diagram .knocked{background:#60a5fa;box-shadow:inset 0 0 0 3px #172235}.pin-diagram .fallen{opacity:.25}.detail-grid,.edit-rolls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.detail-grid>label,.edit-rolls>fieldset{min-width:0}.detail-grid input,.detail-grid select{width:100%;min-width:0;max-width:100%}.detail-grid label,.edit-rolls label{font-size:13px}.edit-rolls fieldset{border:1px solid #30425b;border-radius:12px;flex-direction:column;gap:6px;margin:0;padding:8px;display:flex}.edit-rolls input{width:100%;min-height:44px;color:inherit;background:#172235;border:1px solid #30425b;border-radius:10px;padding:8px}.heatmap{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.heatmap div{color:#0b1120;background:#60a5fa;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:54px;display:flex}.heatmap span{font-size:13px}.trend{background:#0b1120;border-radius:12px;width:100%;height:150px;margin:8px 0}.trend polyline{fill:none;stroke:#60a5fa;stroke-width:3px;vector-effect:non-scaling-stroke}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;border-bottom:1px solid #30425b;padding:8px 4px}@media (prefers-color-scheme:light){:root[data-theme=system]{color:#172235;background:#eef4fb}:root[data-theme=system] .card,:root[data-theme=system] .metric,:root[data-theme=system] .saved,:root[data-theme=system] .session,:root[data-theme=system] .balllist article,:root[data-theme=system] input,:root[data-theme=system] select{background:#fff}}nav{z-index:2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));background:#172235ee;border-top:1px solid #30425b;justify-content:space-around;gap:2px;display:flex;position:sticky;bottom:0}nav a{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:44px;min-height:50px;font-size:10px;text-decoration:none;display:flex}nav a.active{color:#60a5fa}@media (width<=350px){main{padding-left:12px;padding-right:12px}.mode-cards button{font-size:13px}.mode-cards small{font-size:10px}.hero strong{font-size:46px}}:root{--bg:#0b1120;--card:#172235;--surface:#111b2b;--raised:#23334b;--text:#eaf1fb;--muted:#a9b8cc;--muted-weak:#94a3b8;--border:#30425b;--accent:#60a5fa;--accent-strong:#93c5fd;--accent-soft:#193a62;--on-accent:#0b1120;--success:#34d399;--warning:#fbbf24;--danger:#fb7185;--hero-from:#1d4e89;--hero-to:#172235;--hero-text:#f8fbff;--hero-muted:#d6e4f6;--nav:#172235f2;--shadow:0 5px 16px #0206172b;color:var(--text);background:var(--bg)}:root[data-theme=light]{--bg:#f5f7fb;--card:#fff;--surface:#edf2f9;--raised:#e2eaf5;--text:#0f172a;--muted:#475569;--muted-weak:#64748b;--border:#cbd5e1;--accent:#2563eb;--accent-strong:#1d4ed8;--accent-soft:#dbeafe;--on-accent:#fff;--success:#047857;--warning:#b45309;--danger:#b91c1c;--hero-from:#1d4ed8;--hero-to:#2563eb;--hero-text:#fff;--hero-muted:#eff6ff;--nav:#fffffff2;--shadow:0 5px 16px #0f172a12}@media (prefers-color-scheme:light){:root[data-theme=system]{--bg:#f5f7fb;--card:#fff;--surface:#edf2f9;--raised:#e2eaf5;--text:#0f172a;--muted:#475569;--muted-weak:#64748b;--border:#cbd5e1;--accent:#2563eb;--accent-strong:#1d4ed8;--accent-soft:#dbeafe;--on-accent:#fff;--success:#047857;--warning:#b45309;--danger:#b91c1c;--hero-from:#1d4ed8;--hero-to:#2563eb;--hero-text:#fff;--hero-muted:#eff6ff;--nav:#fffffff2;--shadow:0 5px 16px #0f172a12}}html,body{background:var(--bg);color:var(--text)}body{font-size:16px;line-height:1.5}main{width:min(100%,480px);min-height:calc(100dvh - 74px);padding:max(18px,env(safe-area-inset-top)) clamp(16px,4.3vw,20px) calc(28px + env(safe-area-inset-bottom))}header{gap:12px;margin:2px 0 20px}header small,.hero small{color:var(--muted)}h1,h2,h3{color:var(--text)}h2{margin:0 0 8px}button{background:var(--accent);min-height:44px;color:var(--on-accent)}button:hover:not(:disabled){background:var(--accent-strong)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}input,select,textarea,.form input,.form select,.filters input,.filters select,.maintenance input,.maintenance select,.record-start input,.record-start select{background:var(--surface);border-color:var(--border);min-height:48px;color:var(--text);font-size:16px}input::placeholder{color:var(--muted-weak);opacity:1}.card,.metric,.saved,.session,.balllist article,.ball-summary,.analysis-kpis section{background:var(--card);border-color:var(--border);box-shadow:var(--shadow)}.card{gap:8px;margin-bottom:14px;padding:14px}.state{min-height:148px;color:var(--muted);padding:24px 16px;line-height:1.6}.state h2{color:var(--text)}.state p{max-width:30ch;margin:0 auto}.form,.filters{gap:14px}.form label,.filters label,.record-start>label{color:var(--text);gap:7px;font-size:15px}.detail-grid,.edit-rolls{gap:10px}.modes,.mode-cards{gap:8px}.modes button,.mode-cards button{background:var(--card);min-height:82px;color:var(--text);border-color:var(--border);box-shadow:var(--shadow);padding:10px}.modes button small,.mode-cards button small{color:var(--muted);font-size:12px;line-height:1.3}.modes .selected,.mode-cards .selected{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.modes .selected b,.mode-cards .selected b{color:var(--accent-strong)}.primary-cta{min-height:52px;margin-top:4px}.extra-fields{background:var(--surface);border-color:var(--border);padding:0 12px}.extra-fields summary{min-height:52px;color:var(--text)}.extra-fields[open]{padding-bottom:14px}.rec,.quick{gap:14px}.quick input{background:var(--surface);border-color:var(--border);min-height:68px;color:var(--text)}.board{background:var(--card);border-color:var(--border);overscroll-behavior-x:contain}.board>div{border-color:var(--border);min-width:54px;color:var(--text);padding:8px}.board .active{background:var(--accent-soft);outline-color:var(--accent)}.pins{gap:9px}.pins button{background:var(--raised);min-height:50px;color:var(--text);border:1px solid var(--border)}.pins button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent)}.status{color:var(--muted);margin:0}.actions{gap:8px;padding-bottom:6px}.actions>button{flex:136px}.secondary{background:var(--raised);color:var(--text);border-color:var(--border)}.secondary:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent)}.secondary.danger{border-color:var(--danger);background:0 0}.icon{min-width:44px;min-height:44px;color:var(--text)}.danger,.error{color:var(--danger)!important}.hero,.ball-hero,.analysis-hero{background:linear-gradient(135deg,var(--hero-from),var(--hero-to));border-color:var(--accent);box-shadow:var(--shadow);color:var(--hero-text)}.hero{gap:4px;padding:16px}.hero small,.hero span,.hero p,.ball-hero p,.analysis-hero small,.analysis-hero span{color:var(--hero-muted)!important}.hero strong,.analysis-hero strong,.ball-hero h2{color:var(--hero-text)}.hero strong,.analysis-hero strong{font-size:44px}.hero button{background:var(--hero-text);min-height:48px;color:var(--hero-from);margin-top:8px}.hero button:hover:not(:disabled){background:#fff}.empty-hero{padding:20px 16px}.empty-hero span{font-size:18px}.metric{gap:3px;padding:12px}.metric small,.ball-summary small,.session-card span,.analysis-kpis small,.analysis-kpis span,.muted{color:var(--muted)!important}.metric b,.analysis-kpis b{color:var(--text)}.section{gap:8px;margin-top:22px}.section-row{gap:10px}.text-button{min-height:44px;color:var(--accent-strong);background:0 0}.text-button:hover:not(:disabled){background:var(--accent-soft)}.score-bars{gap:8px;height:104px;padding-top:8px}.score-bars.single{justify-content:center;height:56px}.score-bars.single div{max-width:28px}.score-bars i{background:var(--accent)}.score-bars span{color:var(--muted);font-size:12px}.goal-card{gap:12px}.goal-card input{background:var(--surface);border-color:var(--border);width:88px;min-height:48px}.session-card{background:var(--card);min-height:56px;color:var(--text);border-color:var(--border);box-shadow:var(--shadow);gap:10px;padding:10px 12px}.segmented{gap:8px;margin:0 0 14px}.segmented button{background:var(--surface);min-height:44px;color:var(--muted);border-color:var(--border)}.segmented .selected{background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent)}.ball-cards{gap:10px}.ball-summary{background:var(--card);min-height:88px;color:var(--text);border-color:var(--border);gap:12px;padding:10px 12px}.ball-summary img,.ball-summary .ball-placeholder,.ball-hero>img,.ball-hero>.ball-placeholder,.photo-row img,.photo-placeholder{background:var(--raised)}.ball-placeholder{color:var(--accent-strong)}.ball-summary small{font-size:12px}.ball-detail{flex-direction:column;gap:14px;display:flex}.ball-detail>.card{margin-bottom:0}.ball-hero{gap:14px;padding:14px}.ball-hero>img,.ball-hero>.ball-placeholder{background:#fff;flex-basis:96px;width:96px;height:96px}.specs dl{gap:8px}.specs dt{color:var(--muted)}.ball-editor details,.analysis-filters{background:var(--surface);border-color:var(--border)}.ball-editor summary,.analysis-filters summary{min-height:52px;color:var(--text)}.analysis-hero{gap:3px;padding:16px}.analysis-kpis{gap:10px;margin:12px 0 14px}.analysis-kpis section{background:var(--card);border-color:var(--border);padding:11px}.analysis-filters{margin-bottom:12px;padding:0 12px}.analysis-filters[open]{padding-bottom:14px}.applied-filters{gap:6px;margin:0 0 14px}.applied-filters span{background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent);padding:5px 9px}.trend{background:var(--surface);border:1px solid var(--border);height:132px}.trend.single{height:64px}.trend polyline{stroke:var(--accent)}.trend circle{fill:var(--accent)}.heatmap{gap:8px}.heatmap div{background:var(--accent);min-height:52px;color:var(--on-accent)}th,td{border-color:var(--border);padding:8px 5px}th{color:var(--muted)}.file,.photo-button{background:var(--raised);border-color:var(--border);min-height:48px;color:var(--text)}.photo-row{border-color:var(--border);gap:12px;padding:12px 0}.maintenance{border-color:var(--border);padding-top:12px}.maintenance-state.due{color:var(--danger)}.maintenance-state.soon{color:var(--warning)}.notice{background:var(--surface);min-height:52px;color:var(--text);border-color:var(--border);margin-top:8px}.notice.due{border-color:var(--danger)}.notice small,.attribution,.search-results small{color:var(--muted)}.pin-diagram{gap:9px;max-width:332px;margin:12px auto}.pin-diagram .pin{background:var(--card);min-height:50px;color:var(--text);border:2px solid var(--border)}.pin-diagram .knocked{background:var(--accent);color:var(--on-accent);border-color:var(--accent-strong);box-shadow:inset 0 0 0 2px var(--card)}.search-results{gap:10px}.search-results button{background:var(--surface);color:var(--text);border-color:var(--border);padding:7px}.search-results button.selected{outline:3px solid var(--accent)}.photo-preview img{background:var(--surface)}.photo-preview a,.attribution a{color:var(--accent-strong)}.pwa-banner{background:var(--card);border-color:var(--border);color:var(--text);box-shadow:var(--shadow)}.pwa-banner.update{border-color:var(--accent)}.pwa-info{margin-top:12px;margin-bottom:calc(14px + env(safe-area-inset-bottom))}.pwa-info p{line-height:1.5}nav{background:var(--nav);border-color:var(--border)}nav a{min-width:44px;min-height:50px;color:var(--muted);border-radius:10px;font-size:11px}nav a.active{color:var(--accent-strong);background:var(--accent-soft)}.ball-summary{text-align:left;grid-template-columns:64px minmax(0,1fr) 24px;align-items:center;display:grid}.ball-summary img,.ball-summary .ball-placeholder{object-fit:cover;border-radius:16px;width:64px;height:64px}.ball-summary>span{flex-direction:column;gap:3px;min-width:0;display:flex}.ball-summary b{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.ball-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ball-hero{align-items:center;display:flex}.ball-hero>img,.ball-hero>.ball-placeholder{object-fit:cover;border-radius:16px;flex:0 0 96px;width:96px;height:96px}.ball-hero>div{min-width:0}.specs dl{grid-template-columns:108px minmax(0,1fr);gap:8px;margin:0;display:grid}.specs dd{overflow-wrap:anywhere;margin:0}.ball-editor details>.form{padding-bottom:14px}.maintenance h2{align-items:center;gap:7px;display:flex}.maintenance .detail-grid{margin:4px 0 8px}.maintenance label{flex-direction:column;gap:6px;font-size:14px;display:flex}.analysis-hero{flex-direction:column;display:flex}.analysis-kpis{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.analysis-filters{border:1px solid var(--border);border-radius:16px}.analysis-filters summary{cursor:pointer;justify-content:space-between;align-items:center;font-weight:750;display:flex}.analysis-filters summary span{align-items:center;gap:8px;display:flex}.applied-filters{flex-wrap:wrap;display:flex}.search-results{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.search-results img{aspect-ratio:1;object-fit:cover;border-radius:9px;width:100%}.search-results span,.search-results small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.photo-preview{flex-direction:column;gap:8px;display:flex}.photo-preview img{object-fit:contain;border-radius:12px;width:100%;max-height:230px}.check{align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.check input{width:20px;height:20px;min-height:auto;accent-color:var(--accent)}.maintenance-notices{margin-top:18px}@media (width<=380px){main{padding-left:16px;padding-right:16px}.mode-cards{gap:7px}.mode-cards button{min-height:78px;padding:8px;font-size:14px}.mode-cards button small{font-size:11px}.analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-kpis section:last-child{grid-column:span 2}.goal-card{flex-direction:column;align-items:flex-start}.goal-card>div:last-child{width:100%}.goal-card input{flex:1;min-width:0}.detail-grid{grid-template-columns:1fr}.hero strong,.analysis-hero strong{font-size:42px}.ball-summary{grid-template-columns:64px minmax(0,1fr) 20px;gap:10px;padding:10px}.ball-summary img,.ball-summary .ball-placeholder{width:64px;height:64px}.ball-hero>img,.ball-hero>.ball-placeholder{flex-basis:84px;width:84px;height:84px}.pwa-banner{font-size:12px}}@media (orientation:landscape) and (height<=520px){main{padding-top:14px;padding-bottom:18px}.hero,.analysis-hero{padding:14px}.state{min-height:112px}.mode-cards button{min-height:70px}}.ball-cards{flex-direction:column;display:flex}.pwa-banner{border:1px solid var(--border);border-radius:12px;align-items:center;gap:9px;margin:0 0 12px;padding:10px 12px;font-size:13px;display:flex;position:relative}.pwa-banner span{flex:1}.pwa-banner button{min-height:44px;padding:6px 10px;font-size:13px}.maintenance{align-items:stretch;gap:12px}.maintenance-plan{background:var(--surface);border:1px solid var(--border);border-radius:14px;margin:0}.maintenance-plan summary{min-height:48px;color:var(--text);cursor:pointer;align-items:center;padding:0 12px;font-weight:750;display:flex}.maintenance-plan[open]{padding-bottom:12px}.maintenance-plan[open]>.form{margin:0;padding:0 12px}.maintenance .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.maintenance .detail-grid>label{min-width:0}.maintenance .detail-grid input,.maintenance .detail-grid select{width:100%;min-width:0;max-width:100%}.maintenance-plan .detail-grid{margin:0 0 10px}.maintenance>button{width:100%;margin:0}@media (width<=380px){.maintenance .detail-grid{grid-template-columns:minmax(0,1fr)}}:root{--space-group:12px;--space-section:24px;--radius-panel:16px;--navigation-height:67px}main{height:calc(100dvh - var(--navigation-height) - env(safe-area-inset-bottom));overscroll-behavior-y:contain;min-height:0;padding-bottom:28px;overflow:clip auto}nav{position:fixed;bottom:0;left:0;right:0}input,select,textarea{min-width:0;max-width:100%}.home-header{gap:8px}.sync-chip{background:var(--surface);max-width:46%;min-height:44px;color:var(--muted);border-radius:12px;justify-content:center;align-items:center;gap:5px;padding:7px 9px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-flex}.sync-chip svg{flex:none}.home-score{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:14px 16px;display:grid}.home-score strong{margin-top:5px;font-size:44px;line-height:1.1;display:block}.home-score .score-context{text-align:right;flex-direction:column;gap:4px;display:flex}.home-score button{grid-column:1/-1;width:100%;min-height:48px;margin:4px 0 0}.dashboard-grid{gap:10px;margin:12px 0}.dashboard-grid .metric{box-shadow:none;gap:4px;padding:10px 12px}.dashboard-grid .metric b{font-size:22px;line-height:1.2}.dashboard-grid .metric small{font-size:13px}.score-section{margin:20px 0}.single-score{background:var(--surface);color:var(--text);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;padding:12px 14px;display:grid}.single-score strong{grid-area:1/2/3;font-size:28px;line-height:1.2}.single-score small{color:var(--muted);font-size:12px}.goal-setting{border-block:1px solid var(--border);margin-top:20px}.goal-setting summary{cursor:pointer;align-items:center;gap:8px;min-height:52px;font-size:14px;display:flex}.goal-setting summary span{flex:1}.goal-setting summary b{color:var(--accent-strong);font-size:14px}.goal-input{align-items:flex-end;gap:10px;padding:4px 0 14px;display:flex}.goal-input label{flex-direction:column;flex:1;gap:6px;min-width:0;font-size:14px;display:flex}.goal-input input{border:1px solid var(--border);border-radius:12px;width:100%;padding:10px}.goal-input button{flex:none;min-height:48px}.recent-sessions{margin-top:20px}.recent-sessions .session-card{min-height:52px;box-shadow:none;padding:9px 11px}.recent-sessions .session-card b{font-size:14px}.recent-sessions .session-card span{font-size:13px}.empty-hero{gap:8px;padding:16px}.empty-hero p{font-size:14px}.record-start{flex-direction:column;gap:12px;display:flex}.record-start>h2{margin:4px 0 0}.record-start .mode-cards button{gap:4px;min-height:76px}.record-start .primary-cta{margin:0}.record-start>label{flex-direction:column;gap:7px;display:flex}.record-start .extra-fields{margin-top:4px}.rec .actions{background:var(--bg);padding:10px 0;position:static}.board{scroll-padding:8px}.board .active>small{color:var(--accent-strong);font-weight:800}.shot-options{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:12px 0;padding:0 12px}.shot-options summary{cursor:pointer;align-items:center;min-height:48px;font-size:14px;display:flex}.shot-options[open]{padding-bottom:12px}.ball-hero{border-radius:var(--radius-panel)}.ball-hero h2{overflow-wrap:anywhere;margin:0 0 5px}.ball-hero p{margin:0;font-size:14px}.ball-hero>img,.ball-hero>.ball-placeholder{flex-basis:80px;width:80px;height:80px}.ball-photo-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ball-photo-actions .photo-button{min-height:44px}.ball-photo-actions .text-button{flex:1;font-size:13px}.performance-row{border-block:1px solid var(--border);padding:12px 0}.performance-row h2{font-size:15px}.performance-row p{margin:4px 0;font-size:14px}.specs dl{grid-template-columns:88px minmax(0,1fr);font-size:14px}.ball-summary b{font-size:16px}.ball-editor details{border:1px solid var(--border);border-radius:12px;padding:0 12px}.ball-editor summary{align-items:center;min-height:48px;font-weight:700;display:flex}.analysis-hero{border-radius:var(--radius-panel);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5px 12px;padding:14px 16px;display:grid}.analysis-hero strong{grid-column:1;font-size:40px;line-height:1.15}.analysis-hero span{text-align:right;grid-area:1/2/3;font-size:13px;line-height:1.6}.analysis-kpis section{border:1px solid var(--border);box-shadow:none;border-radius:12px;flex-direction:column;gap:4px;display:flex}.analysis-kpis b{font-size:20px}.analysis-kpis small,.analysis-kpis span{font-size:12px}.analysis-section{border-bottom:1px solid var(--border);margin:12px 0}.analysis-section>summary{cursor:pointer;align-items:center;min-height:52px;font-weight:750;display:flex}.analysis-section>summary:after{content:"＋";color:var(--accent-strong);margin-left:auto}.analysis-section[open]>summary:after{content:"−"}.analysis-section-body{padding:0 0 14px;overflow-x:auto}.analysis-section p{color:var(--muted);font-size:14px}.settings-group{border-bottom:1px solid var(--border);flex-direction:column;gap:12px;min-width:0;margin:0 0 8px;padding:16px 0;display:flex}.settings-group h2{margin:0;font-size:17px}.settings-group p{margin:0;font-size:14px;line-height:1.6}.settings-group summary{cursor:pointer;align-items:center;min-height:48px;font-weight:700;display:flex}.setting-row,.account-row{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.setting-row select{border:1px solid var(--border);border-radius:12px;max-width:65%;padding:8px 12px}.account-row span{overflow-wrap:anywhere;min-width:0;font-size:14px}.account-row button{flex:none;font-size:13px}.sync-label{color:var(--muted);font-size:12px}.sync-panel .form{gap:12px}.sync-panel input{border:1px solid var(--border);border-radius:12px;padding:10px}.import-preview{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:12px;padding:12px;display:flex}.import-preview .check{font-size:14px}.import-preview .check input{flex:none;width:22px;min-height:22px}.conflict-list{flex-direction:column;gap:12px;display:flex}.conflict-list fieldset{border:1px solid var(--warning);border-radius:12px;min-width:0;margin:0;padding:12px}.conflict-list pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;font-size:12px;overflow:auto}.conflict-list select{border:1px solid var(--border);border-radius:12px;width:100%;padding:10px}.restore-options .warning{color:var(--warning);margin-bottom:12px}.pwa-info{margin-top:0}.pwa-info details p{margin:10px 0}.sync-panel h2 small{font-size:12px;font-weight:500}.sync-options[open]>summary{margin-bottom:8px}.sync-options>p{margin-bottom:12px}.sync-options .error{margin-top:12px}.auth-callback p{margin:0;line-height:1.6}.auth-callback a{min-height:44px;color:var(--accent-strong);justify-content:center;align-items:center;display:flex}.auth-callback .primary-cta{background:var(--accent);color:var(--on-accent);border-radius:12px;padding:12px;font-weight:700;text-decoration:none}.sync-safety>p,.sync-safety>button{margin-bottom:12px}.sync-safety p{overflow-wrap:anywhere}.sync-safety .import-preview{margin-top:12px}@media (width<=350px){.home-header h1{font-size:26px}.home-header small{font-size:11px}.sync-chip{padding:7px;font-size:11px}.home-score strong{font-size:42px}.settings-group .section-row{flex-wrap:wrap;align-items:flex-start}.account-row{flex-direction:column;align-items:flex-start}}.context-panel,.oil-card,.oil-image{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:0;margin-block:12px;padding:14px}.context-panel>summary,.oil-images>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:650;display:flex}.context-panel[open]>summary{margin-bottom:12px}.context-panel .form,.oil-images{min-width:0}.context-panel textarea,.ball-editor textarea,.oil-image textarea,.trajectory-editor textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:64px;font:inherit;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:10px;padding:10px;font-size:16px;line-height:1.5}.ball-card-unit{flex-direction:column;gap:8px;min-width:0;display:flex}.ball-mark-group,.photo-input-actions{flex-wrap:wrap;gap:8px;display:flex}.ball-mark-group>button{flex:120px;min-height:44px;padding:8px;font-size:13px}.ball-mark-group [aria-pressed=true],.trajectory-toolbar [aria-pressed=true],.trajectory-layers [aria-pressed=true],.result-chips [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent-strong);color:var(--accent-strong)}.photo-zoom-button{border:1px solid var(--border);cursor:zoom-in;min-height:44px;padding:0;overflow:hidden}.photo-zoom-button img{object-fit:contain;width:100%;height:100%;display:block}.ball-hero>.photo-zoom-button{border-radius:16px;flex:0 0 110px;width:110px;height:110px}.ball-hero .ball-visual{width:100%;height:100%}.local-photo{flex-direction:column;gap:10px;display:flex}.local-photo-preview{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.local-photo-preview>.photo-zoom-button{width:110px;height:110px}.photo-dialog{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);max-width:min(90vw,760px);max-height:85dvh;color:var(--text);border-radius:16px;padding:12px;overflow:auto}.photo-dialog::backdrop{background:#000a}.photo-dialog img{object-fit:contain;max-width:100%;max-height:68dvh;margin-top:12px;display:block}.trajectory-editor{flex-direction:column;gap:12px;min-width:0;margin-block:12px;display:flex}.trajectory-editor h3,.trajectory-editor p{margin:0}.trajectory-editor .section-row{align-items:center;gap:12px}.trajectory-editor label{flex-direction:column;gap:6px;min-width:0;display:flex}.trajectory-editor .section-row select{width:auto;min-height:44px}.trajectory-toolbar{flex-wrap:wrap;gap:6px;display:flex}.trajectory-toolbar button{justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;padding:8px;display:flex}.trajectory-layers{flex-wrap:wrap;gap:8px;display:flex}.trajectory-layers button{flex:120px;min-height:44px;font-size:13px}.lane-explanation{line-height:1.6;font-size:12px!important}.lane-board{aspect-ratio:300/570;touch-action:none;-webkit-user-select:none;user-select:none;border:1px solid var(--border);background:var(--raised);border-radius:12px;width:100%;height:auto;display:block}.lane-board text{fill:var(--muted);pointer-events:none;font-size:10px}.lane-surface{fill:var(--surface);stroke:var(--border)}.lane-board-line{stroke:var(--border);stroke-width:.6px;pointer-events:none}.lane-arrow,.lane-pin{fill:var(--text);pointer-events:none}.foul-line{stroke:var(--text);stroke-width:2px;pointer-events:none}.trajectory-line{fill:none;stroke-width:3px;stroke-linecap:round}.trajectory-line.planned{stroke:var(--accent-strong);stroke-dasharray:9 5}.trajectory-line.actual{stroke:#d1398b}.trajectory-line.reference{stroke:var(--muted);stroke-dasharray:2 5;stroke-width:1.5px;pointer-events:none}.trajectory-line.selected{stroke-width:4px}.trajectory-hit{fill:none;stroke:#0000;stroke-width:20px;cursor:move;pointer-events:stroke}.trajectory-handle{fill:var(--surface);fill-opacity:.75;stroke:var(--accent-strong);stroke-width:2px;cursor:grab}.result-chips{flex-wrap:wrap;gap:8px;display:flex}.result-chips button{min-height:44px;padding:8px 10px;font-size:13px}.course-recommendation{font-size:14px;line-height:1.6}.course-recommendation summary{cursor:pointer;min-height:44px}.course-recommendation ul{padding-left:20px}.course-analysis-row{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:12px;padding:12px}.course-analysis-row h3{font-size:15px}.course-analysis-row p{font-size:13px;line-height:1.6}.course-game-history{flex-direction:column;gap:12px;display:flex}.local-photo .photo-button{align-items:center;min-height:44px;display:flex}@media (width<=360px){.ball-hero>.photo-zoom-button{flex-basis:90px;width:90px;height:90px}.ball-mark-group>button{flex-basis:100px}.trajectory-editor .actions{flex-direction:column}}.trajectory-copy-actions{flex-wrap:wrap;gap:8px;display:flex}.trajectory-copy-actions button{flex:120px;min-height:44px;font-size:14px}.ball-hero>.photo-zoom-button:disabled{opacity:1;cursor:default}.edit-rolls>fieldset:has(>details[open]){grid-column:1/-1}.edit-rolls .trajectory-editor{width:100%}.workspace-editor .lane-board{background:#101b2d}.workspace-editor .lane-surface{fill:#101b2d;stroke:#64748b}.workspace-editor .lane-board-line{stroke:#334155}.workspace-editor .lane-board text{fill:#cbd5e1}.workspace-editor .lane-board .anchor-label{fill:#f8fafc;stroke:#101b2d}.workspace-editor .lane-arrow,.workspace-editor .lane-pin{fill:#f8fafc}.workspace-editor .foul-line{stroke:#f8fafc}.workspace-editor .trajectory-line.planned,.workspace-editor .trajectory-line.reference{stroke:#fff;stroke-dasharray:9 6;stroke-width:2.4px;pointer-events:none;filter:drop-shadow(0 0 1.5px #0b1120)}.trajectory-line.actual{stroke:#f04f9f;stroke-width:3.5px}.lane-board.redrawing .trajectory-line.planned,.lane-board.redrawing .trajectory-line.reference{opacity:.28}.workspace-editor .trajectory-handle{stroke:#f04f9f;fill:#101b2d;fill-opacity:.88}.next-course-card{border:1px solid var(--border);background:var(--card);border-radius:14px;grid-template-columns:minmax(0,1fr) 82px;align-items:center;gap:10px;min-width:0;padding:12px;display:grid}.next-course-numbers{flex-direction:column;gap:7px;min-width:0;display:flex}.next-course-numbers>span{color:var(--accent-strong);font-size:13px;font-weight:800}.next-course-numbers>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.next-course-numbers p{color:var(--muted);flex-direction:column;gap:2px;margin:0;font-size:12px;display:flex}.next-course-numbers strong{color:var(--text);white-space:nowrap;font-size:22px;line-height:1.15}.next-course-numbers strong small{margin-left:2px;font-size:11px}.next-course-numbers>small{color:var(--muted);font-size:12px;line-height:1.45}.next-course-lane{background:#101b2d;border-radius:9px;width:82px;height:138px;display:block}.next-course-lane rect{fill:#101b2d;stroke:#64748b}.next-course-lane line{stroke:#f8fafc;stroke-width:2px}.next-course-lane path{fill:none;stroke:#fff;stroke-width:4px;stroke-linecap:round;stroke-dasharray:12 8;filter:drop-shadow(0 0 2px #0b1120)}.next-course-card[data-applicable=false] .next-course-lane{opacity:.46}.next-course-card[data-applicable=false] .next-course-numbers>span{color:var(--warning)}@media (width<=350px){.next-course-card{grid-template-columns:minmax(0,1fr) 72px;padding:10px}.next-course-lane{width:72px;height:124px}.next-course-numbers strong{font-size:20px}}.hook-point-tools{flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.hook-point-tools small{color:var(--muted);font-size:12px}.hook-point-tools button{min-height:44px;padding:6px 10px;font-size:13px}.lane-board .anchor-label{fill:var(--text);stroke:var(--surface);stroke-width:3px;paint-order:stroke;pointer-events:none;font-size:11px}.editor-dialog{box-sizing:border-box;width:min(100% - 24px,520px);max-height:calc(var(--editor-viewport-height,100dvh) - 24px);border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:18px;padding:0;overflow:hidden}.editor-dialog::backdrop{background:#020617b3}.editor-dialog>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;margin:0;padding:10px 14px;display:flex}.editor-dialog>header h2{margin:0;font-size:18px}.editor-dialog>header button{min-width:44px;height:44px}.dialog-content{max-height:calc(var(--editor-viewport-height,100dvh) - 110px);flex-direction:column;gap:14px;min-width:0;padding:16px;display:flex;overflow:auto}.editor-dialog.full-editor{inset:var(--editor-viewport-top,0px) 0 auto;width:100%;max-width:none;height:var(--editor-viewport-height,100dvh);max-height:none;padding:max(0px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:fixed}.editor-dialog.full-editor>header{flex:none;padding:4px}.editor-footer{border-top:1px solid var(--border);background:var(--bg);flex:none;gap:10px;padding:8px 4px;display:flex}.editor-footer>button{flex:1;min-height:44px}.trajectory-editor.workspace-editor{flex:1;gap:6px;min-width:0;min-height:0;margin:0;padding:6px 4px;overflow:hidden}.workspace-editor [hidden]{display:none!important}.workspace-editor>.section-row{flex:none;gap:5px;display:flex}.workspace-editor>.section-row h3,.workspace-editor .hand-caption{display:none}.workspace-editor>.section-row>label{flex:1;max-width:92px}.workspace-editor>.section-row select{width:100%;max-width:100%;min-height:44px;padding:4px;font-size:16px}.workspace-editor>.section-row>button{flex:none;min-width:44px;height:44px;padding:6px;font-size:13px}.workspace-editor .trajectory-layers{flex:none;gap:6px}.workspace-editor .trajectory-layers>button{min-width:0;padding:6px;font-size:13px}.workspace-editor .trajectory-toolbar{flex-wrap:nowrap;flex:none;justify-content:space-between;gap:5px;display:flex}.workspace-editor .trajectory-toolbar>button{flex:none}.workspace-editor .lane-stage{background:var(--raised);border:1px solid var(--border);border-radius:10px;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.workspace-editor .lane-board{aspect-ratio:auto;border:0;border-radius:0;width:100%;height:100%}.workspace-editor .trajectory-line,.workspace-editor .trajectory-handle{vector-effect:non-scaling-stroke}.workspace-editor .drawing-hint{white-space:nowrap;text-overflow:ellipsis;flex:none;font-size:12px;overflow:hidden}.workspace-editor .lane-legend{flex:none;font-size:11px;line-height:1.3}.workspace-editor .trajectory-copy-actions{flex:none;gap:6px}.workspace-editor .trajectory-copy-actions button{flex:1;min-width:0;padding:6px;font-size:13px}.workspace-editor .editor-reference,.workspace-editor .editor-results{flex-direction:column;flex:1;gap:12px;min-height:0;padding:8px;display:flex;overflow:auto}.workspace-editor .editor-results textarea{min-height:100px}.workspace-editor .course-recommendation{margin:0}.record-header{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;display:grid}.record-header h1{white-space:nowrap;min-width:0;font-size:clamp(20px,5.8vw,24px)}.score-entry{flex-direction:column;gap:12px;min-width:0;display:flex}.record-location{color:var(--muted);margin:0;font-size:13px}.rec .status{margin:0}.rec .roll-undo{align-self:flex-end;min-width:100px}.game-additions,.shot-additions{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:12px;display:flex}.game-additions h2,.shot-additions h2{margin:0;font-size:16px}.game-additions h2 small,.shot-additions h2 small{color:var(--muted);font-size:12px;font-weight:400}.game-additions>label,.shot-additions>label{flex-direction:column;gap:6px;font-size:14px;display:flex}.game-additions select,.shot-additions select{border:1px solid var(--border);background:var(--card);width:100%;min-width:0;max-width:100%;min-height:48px;color:var(--text);border-radius:12px;padding:10px;font-size:16px}.lane-notes summary,.whole-game>summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.course-launch{text-align:left;justify-content:flex-start;width:100%;min-height:52px;padding:10px 12px}.course-launch>span{flex-direction:column;gap:3px;display:flex}.course-launch small{color:var(--muted);font-size:12px;font-weight:400}.save-feedback{color:var(--success);margin:0;font-size:13px}.game-save{margin-top:6px}.game-save button{width:100%}.session-settings-button{flex:none;min-height:44px;padding:7px 9px;font-size:12px}.session-shortcut{justify-content:space-between;width:100%}.session-shortcut small{color:var(--muted);overflow-wrap:anywhere;max-width:60%;font-weight:400}.roll-input{flex-direction:column;gap:10px;min-width:0;display:flex}.input-method{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.input-method button{min-width:0;min-height:44px;padding:7px;font-size:14px}.input-method .selected{background:var(--accent-soft);color:var(--accent-strong);border:2px solid var(--accent)}.remaining-entry{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:8px;padding:12px;display:flex}.remaining-entry>p{justify-content:space-between;align-items:baseline;gap:10px;margin:0;display:flex}.remaining-entry>p b{font-size:20px}.remaining-entry>p span,.remaining-entry>small{color:var(--muted);font-size:13px}.pin-diagram{flex-direction:column;gap:7px;width:100%;max-width:300px;margin:2px auto;display:flex}.pin-row{justify-content:center;gap:9px;display:flex}.pin-diagram .pin{border-radius:50%;flex-direction:column;flex:0 0 56px;justify-content:center;align-items:center;gap:0;width:56px;height:56px;min-height:56px;padding:2px;display:flex}.pin-diagram .pin b{font-size:17px;line-height:1}.pin-diagram .pin span{min-height:11px;font-size:10px;line-height:1.1}.pin-diagram .down,.pin-diagram .down:hover:not(:disabled){background:var(--card);color:var(--muted);border:2px dashed var(--border);box-shadow:none}.pin-diagram .remaining,.pin-diagram .remaining:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-strong);border:3px solid var(--accent);box-shadow:0 0 0 2px var(--card)}.pin-diagram .absent{opacity:.28;background:var(--surface);text-decoration:line-through}.record-pin-result{width:100%;min-height:48px}.pin-unavailable{border:1px solid var(--warning);background:var(--surface);border-radius:14px;flex-direction:column;gap:8px;padding:14px;display:flex}.pin-unavailable p{color:var(--muted);margin:0;font-size:14px}.pin-unavailable button{min-height:44px}@media (width<=350px){.pin-row{gap:6px}.pin-diagram .pin{flex-basis:52px;width:52px;height:52px;min-height:52px}}.setting-link{min-height:44px;color:var(--accent-strong);text-underline-offset:3px;align-items:center;font-size:14px;display:inline-flex}.oil-entry-actions{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px;display:grid}.oil-editor .oil-images,.oil-editor h2{margin:0}.oil-selection{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.oil-selection small{color:var(--muted)}.oil-specs summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.oil-images>h3{justify-content:space-between;margin:0 0 8px;display:flex}.oil-image .local-photo-preview img{max-height:110px}.oil-card h3{margin:0}.oil-card .actions{gap:8px}.oil-editor>.actions{background:var(--bg);padding:10px 0;position:sticky;bottom:0}.analysis-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0;display:grid}.analysis-tabs button{min-width:0;min-height:44px;padding:6px;font-size:14px}.analysis-tabs [aria-selected=true]{background:var(--accent-soft);border-color:var(--accent-strong);color:var(--accent-strong)}.analysis-panel>h2{margin:0 0 12px;font-size:18px}.course-overlay{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:12px;padding:10px;display:flex}.course-overlay svg{background:var(--raised);border-radius:8px;flex:none;width:90px;height:166px}.course-overlay>div{color:var(--muted);font-size:12px;line-height:1.7}.course-overlay .trajectory-line{vector-effect:non-scaling-stroke;stroke-width:2px}.ball-form-photo{flex-direction:column;gap:10px;display:flex}.ball-form-photo h2{margin:0;font-size:16px}.ball-form-photo h2 small{color:var(--muted);font-size:12px;font-weight:400}.ball-form-photo .local-photo-preview{align-items:center}.product-reference{order:1;margin-top:12px}.product-reference summary{cursor:pointer;align-items:center;min-height:44px;font-size:13px;display:flex}.ball-detail .ball-summary{padding:12px}.ball-card-unit{gap:6px}.ball-card-unit .ball-summary{padding:12px}.ball-card-unit .ball-summary>span{gap:3px}.ball-card-unit .ball-mark-group>button{min-height:44px;padding:6px}.ball-card-unit .ball-summary>span>small{font-size:12px}.ball-photo-actions{border-block:1px solid var(--border);padding:8px 0}.comparison-large>svg{width:100%;height:min(60dvh,520px)}.course-overlay>button{min-width:90px;padding:0}.recent-session-item{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.recent-session-item .session-card{min-width:0;margin:0}.recent-edit{flex-direction:column;gap:3px;min-width:48px;padding:7px}.recent-edit small{font-size:11px;font-weight:400}.oil-entry-actions button{font-size:14px}.oil-card+.oil-card{margin-top:12px}.lane-notes textarea{box-sizing:border-box;background:var(--card);width:100%;color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px;font-size:16px}.oil-images .local-photo .photo-button{font-size:14px}.oil-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.oil-photo-tile{flex-direction:column;gap:6px;min-width:0;display:flex}.oil-photo-tile>.photo-zoom-button{width:100%;height:100px}.oil-photo-tile .actions{flex-wrap:nowrap;gap:5px}.oil-photo-tile .actions button{flex:1;min-width:0;padding:5px;font-size:12px}.oil-photo-tile label{font-size:12px}.oil-photo-tile input{width:100%;min-width:0;min-height:44px;font-size:16px}.trajectory-editor [hidden]{display:none!important}.course-guidance{border:1px solid var(--border);background:var(--card);border-radius:12px;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;padding:8px 12px;display:grid}.course-guidance>div{justify-content:space-between;align-items:baseline;gap:6px;min-width:0;display:flex}.course-guidance span{color:var(--muted);font-size:13px}.course-guidance strong{color:var(--text);font-size:26px;line-height:1.25}.course-guidance strong small{margin-left:3px;font-size:12px;font-weight:500}.course-guidance p{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.5}.workspace-editor .editor-menu{flex-direction:column;flex:1;gap:12px;min-height:0;padding:8px;display:flex;overflow:auto}.workspace-editor .editor-menu .trajectory-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.workspace-editor .editor-menu .trajectory-toolbar button{width:auto;height:auto;min-height:48px;padding:8px;font-size:14px}.editor-menu .trajectory-toolbar span{display:inline}.tap-status{flex:none;align-items:center;gap:8px;min-height:32px;display:flex}.workspace-editor .tap-status .drawing-hint{white-space:normal;flex:1;font-size:12px;line-height:1.4}.tap-redraw{flex:none;min-height:44px;padding:6px 10px;font-size:12px}.tap-anchor{pointer-events:none}.lane-board{-webkit-touch-callout:none}.trajectory-hit{stroke-width:44px;vector-effect:non-scaling-stroke}@media (orientation:landscape) and (height<=500px){.workspace-editor{gap:4px;position:relative}.workspace-editor>.section-row,.workspace-editor>.trajectory-layers,.workspace-editor>.trajectory-copy-actions,.workspace-editor>.course-guidance,.workspace-editor>.tap-status{flex:none;width:47%;margin-left:53%;position:relative}.workspace-editor>.lane-stage{position:absolute;inset:4px 49% 4px 0}.workspace-editor>.lane-legend{display:none}.workspace-editor>.course-guidance{gap:0 8px;padding:2px 6px}.workspace-editor>.course-guidance strong{font-size:21px}.workspace-editor>.course-guidance p{font-size:10px;line-height:1.3}.workspace-editor>.trajectory-copy-actions{margin-top:auto}.workspace-editor .tap-status .drawing-hint{font-size:11px}.workspace-editor>.section-row>label{max-width:90px}}
