.hoops-shell { --hoops-ink: #243d50; --hoops-cream: #fff9e8; --hoops-orange: #efa14d; position: fixed; inset: 0; z-index: 120; width: 100%; height: 100dvh; overflow: hidden; isolation: isolate; color: var(--hoops-ink); background: #c9e5e5; font-family: Nunito, system-ui, sans-serif; touch-action: none; }
.hoops-shell *, .hoops-shell *::before, .hoops-shell *::after { box-sizing: border-box; }
.hoops-shell [hidden] { display: none !important; }
.hoops-shell button, .hoops-shell select, .hoops-shell input, .hoops-shell a { font: inherit; -webkit-tap-highlight-color: transparent; }
.hoops-shell button { cursor: pointer; }
.hoops-shell button:disabled { opacity: .5; cursor: default; }
.hoops-shell button:focus-visible, .hoops-shell input:focus-visible, .hoops-shell select:focus-visible, .hoops-shell a:focus-visible { outline: 3px solid #a95233; outline-offset: 4px; }
.hoops-canvas, .hoops-canvas canvas, .hoops-vignette { position: absolute; inset: 0; width: 100%; height: 100%; }
.hoops-canvas canvas { display: block; outline: 0; }
.hoops-vignette { z-index: 1; pointer-events: none; background: linear-gradient(180deg, #f3faf92b, transparent 35%, transparent 65%, #223f4a12); }
.hoops-header { position: absolute; z-index: 4; top: max(20px, env(safe-area-inset-top)); left: 23px; right: 23px; display: flex; align-items: center; justify-content: space-between; gap: 15px; pointer-events: none; }
.hoops-brand { display: flex; align-items: center; gap: 11px; color: #25494d; text-shadow: 0 2px #ffffff6b; }
.hoops-brand small { display: block; margin-bottom: 3px; font-size: 8px; font-weight: 1000; letter-spacing: .21em; text-transform: uppercase; }
.hoops-brand strong { display: block; font-size: 25px; font-weight: 1000; line-height: 1; letter-spacing: -.055em; }
.hoops-ball-mark { position: relative; display: block; width: 38px; height: 38px; overflow: hidden; flex: none; border: 2.4px solid #6f593e; border-radius: 50%; background: #f2ad57; transform: rotate(-20deg); box-shadow: inset 4px 4px #ffd183, inset -4px -5px #d88a3a, 0 2px #fff7da70; }
.hoops-ball-mark::before, .hoops-ball-mark::after, .hoops-ball-mark i, .hoops-ball-mark b { position: absolute; content: ''; display: block; }
.hoops-ball-mark::before { left: 15px; top: -3px; width: 2px; height: 42px; background: #78553a; }
.hoops-ball-mark::after { left: -3px; top: 15px; width: 42px; height: 2px; background: #78553a; }
.hoops-ball-mark i { width: 27px; height: 45px; top: -6px; left: -17px; border: 2px solid #78553a; border-radius: 50%; }
.hoops-ball-mark b { width: 27px; height: 45px; top: -6px; right: -17px; border: 2px solid #78553a; border-radius: 50%; }
.hoops-navigation { display: flex; align-items: center; gap: 9px; pointer-events: auto; }
.hoops-top-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 10px 15px; border: 1px solid #fffdf4; border-radius: 14px; background: #fffbedf5; color: #2f5050; box-shadow: 0 3px #65858820; font-size: 13px; font-weight: 1000; text-decoration: none; }
.hoops-top-button:hover { background: #fffef8; }
.hoops-scoreboard { position: absolute; z-index: 3; left: 50%; top: 18px; display: flex; align-items: center; gap: 13px; transform: translateX(-50%); padding: 10px 15px; border: 1px solid #fffdf5d9; border-radius: 19px; background: #fff9e8ed; box-shadow: 0 3px #4a67631a; }
.hoops-player-card { min-width: 107px; padding-inline: 3px; }
.hoops-player-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #7a8b87; font-size: 10px; font-weight: 1000; }
.hoops-player-label i { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #a6b7ac; }
.hoops-player-card:has(.hoops-letters[aria-current="true"]) .hoops-player-label { color: #3c6863; }
.hoops-player-card:has(.hoops-letters[aria-current="true"]) .hoops-player-label i { background: #d89a4f; box-shadow: 0 0 0 3px #f6dba86b; }
.hoops-letters { display: flex; align-items: center; gap: 5px; color: #a6ada0; font-size: 19px; font-weight: 1000; line-height: 1; }
.hoops-letters > span { display: grid; place-items: center; min-width: 29px; height: 31px; border: 1px solid #e2e6d7; border-radius: 8px; background: #eef1e4; color: #b0b8a6; }
.hoops-letters > span.is-earned, .hoops-letters[data-letters^="P"] > span:nth-child(1), .hoops-letters[data-letters^="PI"] > span:nth-child(2), .hoops-letters[data-letters="PIG"] > span:nth-child(3) { border-color: #e2ad66; background: #f5c67f; color: #755335; box-shadow: inset 0 1px #ffdfaa; }
.hoops-versus { padding-top: 14px; color: #97a499; font-size: 10px; font-weight: 1000; }
.hoops-turn-strip { position: absolute; z-index: 3; left: 50%; top: 105px; display: flex; align-items: center; gap: 17px; transform: translateX(-50%); padding: 9px 16px; border: 1px solid #fffdf0b8; border-radius: 14px; background: #fff9e8dd; box-shadow: 0 2px #57726710; }
.hoops-turn-strip > div:first-child { min-width: 117px; padding-right: 12px; border-right: 1px solid #d9e1d0; }
.hoops-turn-kicker { display: block; margin-bottom: 2px; color: #8a967e; font-size: 8px; font-weight: 1000; letter-spacing: .1em; text-transform: uppercase; }
.hoops-turn-strip [data-hoops-turn] { display: block; color: #426858; font-size: 14px; font-weight: 1000; white-space: nowrap; }
.hoops-stats-label { display: block; margin-top: 3px; color: #8e9b82; font-size: 8px; }
.hoops-shot-stat { display: grid; justify-items: center; min-width: 27px; gap: 2px; }
.hoops-shot-stat > span { color: #8b977f; font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.hoops-shot-stat > strong { color: #55765b; font-size: 18px; font-weight: 1000; line-height: 1; }
.hoops-record { position: absolute; z-index: 3; top: 117px; right: 25px; max-width: 180px; padding: 8px 12px; border-radius: 999px; background: #fff9e8d6; color: #65806a; font-size: 10px; }
.hoops-controls { position: absolute; z-index: 4; bottom: max(24px, env(safe-area-inset-bottom)); }
.hoops-movement { left: 24px; }
.hoops-control-caption { display: block; margin-bottom: 9px; color: #416652; font-size: 10px; font-weight: 1000; text-align: center; text-shadow: 0 1px #ffffffc4; }
.hoops-move-pad { display: grid; grid-template-columns: repeat(3, 47px); grid-template-rows: repeat(2, 47px); gap: 6px; }
.hoops-spot-near { grid-column: 2; }
.hoops-touch { display: grid; place-items: center; min-width: 0; padding: 0; border: 1px solid #fffdf4; border-radius: 15px; background: #fffbeded; color: #426957; box-shadow: 0 4px #456e6b30; touch-action: none; }
.hoops-touch > span { font-size: 27px; font-weight: 1000; line-height: 1; }
.hoops-touch:active { transform: translateY(2px); box-shadow: 0 2px #456e6b30; }
.hoops-shooting { right: 24px; display: flex; align-items: flex-end; gap: 15px; }
.hoops-shot-tuning { display: grid; gap: 8px; width: 264px; padding: 13px 16px 10px; border: 1px solid #fffdf3; border-radius: 19px; background: #fff9e8f2; box-shadow: 0 4px #496c6126; }
.hoops-range-field { display: block; min-width: 0; }
.hoops-range-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #7d8e73; font-size: 10px; font-weight: 1000; }
.hoops-range-field strong { color: #577a57; font-size: 11px; }
.hoops-range-field input { display: block; appearance: none; width: 100%; height: 24px; margin: 1px 0 0; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; touch-action: pan-x; }
.hoops-range-field input::-webkit-slider-runnable-track { height: 5px; border-radius: 999px; background: #dfe6cd; }
.hoops-range-field input::-moz-range-track { height: 5px; border-radius: 999px; background: #dfe6cd; }
.hoops-range-field input::-webkit-slider-thumb { appearance: none; width: 17px; height: 17px; margin-top: -6px; border: 2px solid #fff7df; border-radius: 50%; background: #d4a554; box-shadow: 0 1px 3px #4e5d3730; }
.hoops-range-field input::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #fff7df; border-radius: 50%; background: #d4a554; box-shadow: 0 1px 3px #4e5d3730; }
.hoops-power-track { position: relative; display: block; }
.hoops-target-power { position: absolute; top: 5px; left: var(--target, 60%); z-index: 1; width: 10px; height: 17px; border: 2px solid #71976c; border-radius: 4px; background: #cde3ae77; transform: translateX(-50%); pointer-events: none; }
.hoops-guide-row { display: flex; align-items: center; gap: 9px; padding-top: 2px; border-top: 1px solid #e5e8d8; }
.hoops-assist { flex: none; min-height: 34px; padding: 6px 8px; border: 1px solid #dce5cc; border-radius: 9px; background: #eef3e1; color: #6b8559; font-size: 9px; font-weight: 900; }
.hoops-assist[aria-pressed="false"] { background: #f6f4e9; border-color: #e2e1d4; color: #93947f; }
.hoops-assist .hoops-assist-off, .hoops-assist[aria-pressed="false"] .hoops-assist-on { display: none; }
.hoops-assist[aria-pressed="false"] .hoops-assist-off { display: inline; }
.hoops-guide-copy { color: #8a957a; font-size: 9px; line-height: 1.35; }
.hoops-fire-wrap { min-width: 111px; }
.hoops-shoot { display: grid; justify-items: center; align-content: center; width: 111px; height: 111px; gap: 2px; padding: 10px; border: 5px solid #ffe2a1; border-radius: 50%; background: radial-gradient(circle at 37% 25%, #ffd17b, #efa349 70%); color: #77552e; box-shadow: inset 0 -5px #d9913d40, 0 5px #8f6c3452, 0 0 0 2px #fff5cd8f; touch-action: manipulation; }
.hoops-shoot > span { font-size: 35px; font-weight: 900; line-height: 1; }
.hoops-shoot > strong { font-size: 15px; font-weight: 1000; }
.hoops-shoot > small { color: #a27a42; font-size: 8px; }
.hoops-shoot:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 -2px #d9913d40, 0 2px #8f6c3452; }
.hoops-next { min-width: 133px; min-height: 62px !important; }
.hoops-keyboard-hint { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; color: #5f7a6c; font-size: 9px; white-space: nowrap; text-shadow: 0 1px #fff8; }
.hoops-keyboard-hint > span { margin-left: 8px; padding: 2px 4px; border-radius: 4px; background: #fff9e8b8; color: #5b6e55; font-size: 8px; font-weight: 1000; }
.hoops-status { position: absolute; z-index: 4; bottom: 190px; left: 50%; max-width: min(500px, calc(100% - 44px)); transform: translateX(-50%); margin: 0; padding: 9px 17px; border: 1px solid #fffdf0cf; border-radius: 999px; background: #fff9e8f2; color: #627a5e; box-shadow: 0 2px #456d601a; font-size: 11px; font-weight: 900; line-height: 1.4; text-align: center; pointer-events: none; }
.hoops-status:empty { display: none; }
.hoops-graphics-error { position: absolute; z-index: 12; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(450px, calc(100% - 36px)); margin: 0; padding: 20px; border: 1px solid #e7c9ab; border-radius: 18px; background: #fff5df; color: #805734; font-size: 14px; line-height: 1.6; text-align: center; box-shadow: 0 12px 45px #253a3d38; }
.hoops-overlay { position: absolute; z-index: 8; inset: 0; display: flex; align-items: center; justify-content: center; padding: 91px 28px 24px; background: #406c7522; backdrop-filter: blur(5px); touch-action: pan-y; }
.hoops-overlay:empty { display: none; }
.hoops-shell:not([data-screen="play"]) .hoops-controls, .hoops-shell:not([data-screen="play"]) .hoops-status, .hoops-shell:not([data-screen="play"]) .hoops-keyboard-hint { visibility: hidden; }
.hoops-shell[data-screen="picker"] .hoops-scoreboard, .hoops-shell[data-screen="picker"] .hoops-turn-strip, .hoops-shell[data-screen="picker"] .hoops-record, .hoops-shell[data-screen="picker"] [data-hoops-action="menu"] { visibility: hidden; }
.hoops-shell[data-mode="practice"] .hoops-scoreboard { display: none; }
.hoops-shell[data-mode="practice"] .hoops-turn-strip { top: 24px; }
.hoops-shell[data-phase="flight"] .hoops-movement, .hoops-shell[data-phase="flight"] .hoops-shot-tuning { opacity: .5; pointer-events: none; }
.hoops-shell[data-graphics="unavailable"] .hoops-controls { opacity: .4; pointer-events: none; }
.hoops-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 12px 19px; border: 1px solid #dce4d2; border-radius: 13px; background: #f8f9ed; color: #5e795d; font-size: 13px; font-weight: 1000; line-height: 1.3; }
.hoops-button:hover:not(:disabled) { border-color: #b9cda8; background: #f0f6e4; }
.hoops-button-primary { border-color: #3e6a51; background: #3e6a51; color: #fff9e4; box-shadow: 0 3px #2e513d; }
.hoops-button-primary:hover:not(:disabled) { border-color: #345e46; background: #345e46; }
.hoops-button-quiet { border-color: transparent; background: transparent; box-shadow: none; }
.hoops-eyebrow { margin: 0; color: #8d977d; font-size: 9px; font-weight: 1000; letter-spacing: .15em; text-transform: uppercase; }
.hoops-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); width: min(890px, 100%); max-height: calc(100dvh - 113px); overflow: auto; padding: 30px; border: 1px solid #fffef3; border-radius: 30px; background: #fffbed; box-shadow: 0 18px 55px #2d4b4d2a; scrollbar-width: thin; scrollbar-color: #cbd7b8 transparent; }
.hoops-picker-story { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 6px 28px 0 3px; }
.hoops-picker-story > .hoops-eyebrow { color: #b0905d; font-size: 8px; }
.hoops-picker h1 { position: relative; z-index: 2; margin: 13px 0 12px; color: #345f53; font-size: clamp(36px, 4.7vw, 53px); font-weight: 1000; line-height: .99; letter-spacing: -.065em; }
.hoops-picker h1 em { color: #b88e50; font-style: normal; }
.hoops-picker-intro { position: relative; z-index: 2; max-width: 260px; margin: 0; color: #8d967e; font-size: 12px; line-height: 1.55; }
.hoops-picker-art { position: relative; width: 260px; min-height: 196px; flex: 1; align-self: center; margin: 13px 0 10px; overflow: hidden; border-radius: 50% 50% 18px 18px; background: radial-gradient(ellipse at 52% 86%, #d2e1bd 0%, #e8edcf 48%, transparent 49%); }
.hoops-art-sun { position: absolute; top: 10px; right: 44px; width: 38px; height: 38px; border-radius: 50%; background: #f4d78f; box-shadow: 0 0 0 10px #f8e8b847; }
.hoops-art-board { position: absolute; top: 28px; left: 43px; width: 98px; height: 67px; border: 5px solid #c0d2b2; border-radius: 9px; background: #eaf0d9; box-shadow: 4px 5px #b1c3a9; transform: rotate(-8deg); }
.hoops-art-board::after { position: absolute; content: ''; width: 8px; height: 116px; top: 58px; left: 47px; border-radius: 6px; background: #97b5a0; transform: rotate(8deg); transform-origin: top; box-shadow: 4px 0 #729b8b; }
.hoops-art-board i { position: absolute; width: 40px; height: 30px; left: 25px; top: 24px; border: 3px solid #fff9dc; border-radius: 3px; }
.hoops-art-rim { position: absolute; top: 84px; left: 73px; z-index: 2; width: 56px; height: 17px; border: 5px solid #d89958; border-radius: 50%; background: #f9e1a9; transform: rotate(-8deg); box-shadow: 0 3px #bb7e45; }
.hoops-art-net { position: absolute; top: 92px; left: 82px; width: 39px; height: 37px; border: 3px solid #c7cdb0; border-top: none; border-radius: 0 0 16px 16px; transform: rotate(-8deg); background: repeating-linear-gradient(55deg, transparent 0 7px, #c7cdb0 8px 9px, transparent 10px 17px), repeating-linear-gradient(-55deg, transparent 0 7px, #c7cdb0 8px 9px, transparent 10px 17px); }
.hoops-art-ball { position: absolute; z-index: 3; width: 76px; height: 76px; left: 133px; top: 75px; overflow: hidden; border: 2px solid #b47c42; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ffdb91, #efad59 65%, #d28c46); box-shadow: inset 1px 2px 4px #ffe8b2, 6px 10px 0 #425f3820; transform: rotate(25deg); }
.hoops-art-ball::before, .hoops-art-ball::after, .hoops-art-ball i, .hoops-art-ball b { content: ''; position: absolute; }
.hoops-art-ball::before { width: 2px; height: 80px; left: 35px; top: -3px; background: #a87542; }
.hoops-art-ball::after { width: 80px; height: 2px; top: 35px; left: -3px; background: #a87542; }
.hoops-art-ball i, .hoops-art-ball b { top: -5px; width: 45px; height: 83px; border: 2px solid #a87542; border-radius: 50%; }
.hoops-art-ball i { left: -27px; }.hoops-art-ball b { right: -27px; }
.hoops-art-shadow { position: absolute; left: 115px; bottom: 15px; width: 109px; height: 13px; border-radius: 50%; background: #94ad842c; }
.hoops-art-stamp { position: absolute; right: 19px; bottom: 5px; color: #829a6a; font-size: 13px; font-weight: 1000; letter-spacing: .05em; transform: rotate(-7deg); }
.hoops-art-stamp > span { padding: 0 4px; color: #bdcca1; font-size: 8px; }
.hoops-local-note { margin: auto 0 0; padding-top: 8px; color: #a0a58b; font-size: 9px; line-height: 1.5; }
.hoops-local-note > span { margin-right: 4px; color: #9bb58a; font-size: 7px; }
.hoops-picker-setup { min-width: 0; padding-left: 27px; border-left: 1px solid #e4e7d5; }
.hoops-picker-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 21px; }
.hoops-picker-heading .hoops-ball-mark { width: 34px; height: 34px; border-width: 2px; }
.hoops-picker-heading h2 { margin: 3px 0 0; color: #3c6554; font-size: 22px; font-weight: 1000; letter-spacing: -.045em; }
.hoops-setup-fields { display: grid; gap: 12px; }
.hoops-setup-fields label { display: grid; gap: 6px; }
.hoops-setup-fields label > span { color: #8b967e; font-size: 10px; }
.hoops-setup-fields select { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 10px 12px; border: 1px solid #dce4ce; border-radius: 11px; background: #fffef7; color: #587555; font-size: 12px; font-weight: 900; }
.hoops-rules { margin: 17px 0; padding: 13px 14px; border: 1px solid #e2e8d5; border-radius: 13px; background: #f3f6e7; }
.hoops-rules > strong { display: block; margin-bottom: 6px; color: #6b855a; font-size: 10px; }
.hoops-rules > p { margin: 0; color: #8d987c; font-size: 10px; line-height: 1.55; }
.hoops-rules > p + p { margin-top: 6px; }
.hoops-start { width: 100%; }
.hoops-picker-help { margin: 14px 0 0; color: #9b9f88; font-size: 9px; line-height: 1.55; }
.hoops-picker-help strong { color: #7e9170; font-weight: 900; }
.hoops-panel { width: min(420px, 100%); max-height: calc(100dvh - 115px); overflow: auto; padding: 29px; border: 1px solid #fffef4; border-radius: 28px; background: #fffbed; box-shadow: 0 16px 50px #2a4d4933; text-align: center; scrollbar-width: thin; }
.hoops-panel h2 { margin: 9px 0 11px; color: #3b6450; font-size: 30px; font-weight: 1000; line-height: 1.05; letter-spacing: -.05em; }
.hoops-panel-copy { margin: 0 0 19px; color: #8a977d; font-size: 12px; line-height: 1.6; }
.hoops-result-ball { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 15px; border-radius: 25px; background: #f8e8bc; }
.hoops-result-ball .hoops-ball-mark { width: 47px; height: 47px; }
.hoops-result-ball .hoops-ball-mark::before { left: 20px; height: 50px; }.hoops-result-ball .hoops-ball-mark::after { top: 20px; width: 50px; }
.hoops-result-ball .hoops-ball-mark i, .hoops-result-ball .hoops-ball-mark b { height: 54px; width: 31px; }
.hoops-result-players { display: flex; justify-content: center; gap: 10px; margin-bottom: 21px; }
.hoops-result-player { display: grid; justify-items: center; flex: 1; min-width: 0; gap: 11px; padding: 15px 9px; border: 1px solid #e2e7d6; border-radius: 16px; background: #f5f7e9; }
.hoops-result-player.is-winner { border-color: #c0d2a7; background: #edf3da; }
.hoops-result-name { display: block; color: #6d865a; font-size: 13px; font-weight: 1000; overflow-wrap: anywhere; }
.hoops-result-name small { display: block; margin-top: 3px; color: #a1aa8f; font-size: 8px; font-weight: 800; }
.hoops-result-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 9px; color: #a2aa8e; font-size: 9px; }
.hoops-result-stats strong { color: #7e9668; font-size: 11px; }
.hoops-panel-actions { display: grid; gap: 9px; }
@media (max-width: 900px) {
  .hoops-header { top: max(15px, env(safe-area-inset-top)); left: 17px; right: 17px; }
  .hoops-brand { gap: 8px; }.hoops-brand .hoops-ball-mark { width: 31px; height: 31px; }.hoops-brand strong { font-size: 21px; }.hoops-brand small { font-size: 7px; }
  .hoops-scoreboard { top: 76px; padding: 8px 13px; }.hoops-player-card { min-width: 101px; }.hoops-turn-strip { top: 155px; }
  .hoops-shell[data-mode="practice"] .hoops-turn-strip { top: 79px; }
  .hoops-top-button { min-height: 41px; padding: 9px 12px; font-size: 12px; }
  .hoops-record { top: 224px; right: 18px; font-size: 9px; }
  .hoops-picker { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); padding: 25px; }
  .hoops-picker-story { padding-right: 22px; }.hoops-picker h1 { font-size: 43px; }.hoops-picker-art { width: 220px; transform: scale(.92); transform-origin: top center; }.hoops-picker-setup { padding-left: 23px; }
  .hoops-shooting { right: 18px; gap: 10px; }.hoops-shot-tuning { width: 242px; }.hoops-shoot { width: 95px; height: 95px; }.hoops-fire-wrap { min-width: 95px; }
  .hoops-movement { left: 18px; }.hoops-move-pad { grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px); gap: 5px; }.hoops-keyboard-hint { display: none; }
}
@media (max-width: 600px) {
  .hoops-header { top: max(13px, env(safe-area-inset-top)); left: 14px; right: 14px; }
  .hoops-brand { gap: 7px; }.hoops-brand .hoops-ball-mark { width: 29px; height: 29px; border-width: 2px; }.hoops-brand strong { font-size: 20px; }.hoops-brand small { font-size: 6px; letter-spacing: .16em; }
  .hoops-navigation { gap: 6px; }.hoops-top-button { min-height: 40px; padding: 8px 11px; border-radius: 12px; font-size: 11px; }
  .hoops-scoreboard { top: max(74px, calc(env(safe-area-inset-top) + 61px)); width: calc(100% - 28px); justify-content: space-around; gap: 11px; padding: 9px 13px; border-radius: 16px; }
  .hoops-player-card { min-width: 106px; }.hoops-player-label { font-size: 10px; margin-bottom: 5px; }.hoops-letters { gap: 5px; font-size: 19px; }.hoops-letters > span { min-width: 30px; height: 30px; border-radius: 8px; }
  .hoops-turn-strip { top: max(152px, calc(env(safe-area-inset-top) + 139px)); width: calc(100% - 28px); justify-content: space-between; gap: 14px; padding: 8px 14px; border-radius: 13px; }
  .hoops-turn-strip > div:first-child { flex: 1; min-width: 0; }.hoops-turn-strip [data-hoops-turn] { font-size: 13px; white-space: normal; }.hoops-shot-stat { min-width: 30px; }.hoops-shot-stat > strong { font-size: 18px; }
  .hoops-shell[data-mode="practice"] .hoops-turn-strip { top: max(74px, calc(env(safe-area-inset-top) + 61px)); }
  .hoops-record { top: 215px; right: 15px; max-width: 165px; padding: 7px 10px; font-size: 8px; }
  .hoops-shooting { left: 14px; right: 14px; bottom: max(18px, env(safe-area-inset-bottom)); display: block; }
  .hoops-shot-tuning { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; gap: 6px 14px; padding: 11px 13px 8px; border-radius: 17px; }
  .hoops-range-field { grid-row: 1; }.hoops-guide-row { grid-column: 1 / -1; gap: 12px; padding-top: 4px; }.hoops-guide-copy { font-size: 9px; }.hoops-assist { min-height: 39px; padding-inline: 9px; font-size: 9px; }
  .hoops-range-field input { height: 29px; }.hoops-range-field input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7.5px; }.hoops-range-field input::-moz-range-thumb { width: 17px; height: 17px; }.hoops-target-power { top: 8px; }
  .hoops-fire-wrap { position: absolute; right: 0; bottom: 135px; min-width: 0; }
  .hoops-shoot { width: 88px; height: 88px; border-width: 4px; }.hoops-shoot > span { font-size: 29px; }.hoops-shoot > strong { font-size: 13px; }.hoops-shoot > small { display: none; }
  .hoops-next { min-width: 139px; min-height: 58px !important; padding-inline: 14px; font-size: 12px; }
  .hoops-movement { left: 14px; bottom: max(151px, calc(env(safe-area-inset-bottom) + 133px)); }.hoops-control-caption { margin-bottom: 7px; font-size: 9px; }.hoops-move-pad { grid-template-columns: repeat(3, 43px); grid-template-rows: repeat(2, 43px); gap: 5px; }.hoops-touch { border-radius: 13px; }.hoops-touch > span { font-size: 24px; }
  .hoops-status { bottom: 281px; max-width: calc(100% - 30px); padding: 8px 13px; border-radius: 13px; font-size: 10px; line-height: 1.4; }
  .hoops-overlay { padding: max(74px, calc(env(safe-area-inset-top) + 61px)) 14px max(17px, env(safe-area-inset-bottom)); }
  .hoops-picker { display: block; width: 100%; max-height: calc(100dvh - 92px); padding: 23px; border-radius: 25px; }
  .hoops-picker-story { padding: 0 0 17px; }.hoops-picker-story > .hoops-eyebrow { font-size: 7px; }.hoops-picker h1 { margin: 10px 0 9px; font-size: 39px; line-height: 1; }.hoops-picker h1 br { display: none; }.hoops-picker h1 br::after { content: ' '; }.hoops-picker h1 em { display: block; }.hoops-picker-intro { max-width: none; font-size: 11px; }.hoops-picker-art { display: none; }.hoops-local-note { padding-top: 10px; font-size: 8px; }
  .hoops-picker-setup { padding: 16px 0 0; border-left: 0; border-top: 1px solid #e4e7d5; }.hoops-picker-heading { margin-bottom: 16px; }.hoops-picker-heading h2 { font-size: 20px; }.hoops-picker-heading .hoops-eyebrow { font-size: 8px; }
  .hoops-setup-fields { gap: 10px; }.hoops-setup-fields label > span { font-size: 9px; }.hoops-setup-fields select { min-height: 46px; padding: 10px 11px; font-size: 11px; }.hoops-rules { margin: 14px 0; padding: 11px 12px; }.hoops-rules > p { font-size: 10px; }.hoops-picker-help { margin-top: 11px; font-size: 8px; }
  .hoops-panel { max-height: calc(100dvh - 92px); padding: 25px; border-radius: 24px; }.hoops-panel h2 { font-size: 29px; }.hoops-panel-copy { font-size: 11px; }.hoops-result-ball { width: 66px; height: 66px; border-radius: 21px; }.hoops-result-player { padding: 14px 7px; }.hoops-result-name { font-size: 12px; }
}
@media (max-height: 560px) and (min-width: 601px) {
  .hoops-header { top: 12px; left: 16px; right: 16px; }.hoops-brand strong { font-size: 20px; }.hoops-brand small { font-size: 6px; }.hoops-brand .hoops-ball-mark { width: 29px; height: 29px; }.hoops-top-button { min-height: 37px; padding: 8px 11px; font-size: 11px; }
  .hoops-scoreboard { top: 11px; gap: 8px; padding: 7px 11px; }.hoops-player-card { min-width: 90px; }.hoops-player-label { margin-bottom: 4px; font-size: 9px; }.hoops-letters { font-size: 17px; }.hoops-letters > span { min-width: 25px; height: 26px; border-radius: 7px; }.hoops-versus { padding-top: 9px; font-size: 9px; }
  .hoops-turn-strip { top: 84px; padding: 7px 12px; gap: 12px; }.hoops-turn-strip [data-hoops-turn] { font-size: 12px; }.hoops-shot-stat > strong { font-size: 16px; }.hoops-shell[data-mode="practice"] .hoops-turn-strip { top: 14px; }.hoops-record { top: 97px; right: 18px; }
  .hoops-controls { bottom: 17px; }.hoops-movement { left: 17px; }.hoops-move-pad { grid-template-columns: repeat(3, 41px); grid-template-rows: repeat(2, 41px); gap: 5px; }.hoops-control-caption { font-size: 9px; }.hoops-touch { border-radius: 13px; }.hoops-touch > span { font-size: 24px; }
  .hoops-shooting { right: 17px; gap: 10px; }.hoops-shot-tuning { grid-template-columns: 1fr 1fr; width: 280px; padding: 9px 12px 6px; gap: 3px 13px; border-radius: 16px; }.hoops-guide-row { grid-column: 1 / -1; }.hoops-assist { min-height: 29px; font-size: 8px; }.hoops-range-field input { height: 23px; }.hoops-guide-copy { font-size: 8px; }.hoops-fire-wrap { min-width: 81px; }.hoops-shoot { width: 81px; height: 81px; border-width: 4px; }.hoops-shoot > span { font-size: 27px; }.hoops-shoot > strong { font-size: 12px; }.hoops-shoot > small { display: none; }.hoops-next { min-width: 123px; min-height: 54px !important; font-size: 11px; }
  .hoops-status { bottom: 137px; padding: 7px 13px; max-width: 48%; font-size: 10px; }.hoops-keyboard-hint { display: none; }
  .hoops-overlay { padding: 65px 17px 14px; }.hoops-picker { max-height: calc(100dvh - 79px); padding: 20px; border-radius: 24px; }.hoops-picker h1 { font-size: 35px; }.hoops-picker-art { min-height: 120px; max-height: 150px; margin-top: 7px; }.hoops-picker-story { padding-right: 21px; }.hoops-picker-setup { padding-left: 21px; }.hoops-picker-heading { margin-bottom: 12px; }.hoops-picker-heading h2 { font-size: 19px; }.hoops-setup-fields { gap: 8px; }.hoops-setup-fields label { gap: 4px; }.hoops-setup-fields select { min-height: 37px; padding: 7px 10px; font-size: 10px; }.hoops-rules { margin: 11px 0; padding: 9px 11px; }.hoops-rules > p { font-size: 9px; }.hoops-rules > p + p { display: none; }.hoops-picker-help { margin-top: 9px; font-size: 8px; }.hoops-start { min-height: 40px; padding: 9px 13px; font-size: 11px; }
  .hoops-panel { max-height: calc(100dvh - 79px); padding: 22px; }.hoops-result-ball { width: 53px; height: 53px; margin-bottom: 10px; border-radius: 17px; }.hoops-result-ball .hoops-ball-mark { width: 34px; height: 34px; }.hoops-panel h2 { font-size: 26px; }.hoops-panel-copy { margin-bottom: 13px; font-size: 11px; }.hoops-result-players { margin-bottom: 13px; }.hoops-result-player { padding: 11px 8px; gap: 8px; }.hoops-panel-actions { gap: 7px; }.hoops-panel .hoops-button { min-height: 40px; padding: 9px 13px; font-size: 11px; }
}
@media (max-width: 370px) {
  .hoops-brand .hoops-ball-mark { display: none; }.hoops-brand strong { font-size: 21px; }.hoops-navigation { gap: 5px; }.hoops-top-button { padding-inline: 10px; }
  .hoops-picker { padding: 20px; }.hoops-picker h1 { font-size: 35px; }.hoops-player-card { min-width: 97px; }.hoops-scoreboard { gap: 7px; }.hoops-move-pad { grid-template-columns: repeat(3, 41px); grid-template-rows: repeat(2, 41px); gap: 5px; }.hoops-guide-row { gap: 8px; }.hoops-guide-copy { font-size: 8px; }.hoops-status { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .hoops-touch:active, .hoops-shoot:active:not(:disabled) { transform: none; } }
@media (min-width: 901px) {
  .hoops-turn-strip { left: 24px; top: 89px; transform: none; }
  .hoops-status { top: 171px; left: 24px; bottom: auto; max-width: 250px; transform: none; }
}
@media (min-width: 601px) and (max-height: 560px) {
  .hoops-turn-strip { top: 65px; left: 17px; transform: none; }
  .hoops-status { top: 145px; left: 17px; bottom: auto; max-width: 210px; transform: none; }
}
@media (max-width: 600px) {
  .hoops-scoreboard { top: max(66px, calc(env(safe-area-inset-top) + 57px)); padding-block: 7px; }
  .hoops-player-label { margin-bottom: 4px; font-size: 9px; }
  .hoops-letters { font-size: 17px; }
  .hoops-letters > span { min-width: 26px; height: 25px; }
  .hoops-turn-strip { top: max(131px, calc(env(safe-area-inset-top) + 121px)); padding-block: 6px; }
}
