/* V2.2: one marker geometry for single/double digit jerseys, all six positions. */
.home-half-console .half-court-field{--marker-size:clamp(28px,14cqi,54px);--jersey-size:clamp(20px,8cqi,34px)}
.home-half-console .half-court-field .court-position{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:2px!important;gap:4px!important;overflow:visible;min-height:0;min-width:0}
.home-half-console .half-court-field .court-position>strong{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:var(--marker-size)!important;height:var(--marker-size)!important;min-width:var(--marker-size)!important;min-height:var(--marker-size)!important;max-width:var(--marker-size)!important;max-height:var(--marker-size)!important;flex:0 0 var(--marker-size)!important;aspect-ratio:1!important;padding:0!important;margin:0!important;line-height:1!important;font:600 var(--jersey-size)/1 Arial,"HarmonyOS Sans SC",sans-serif!important;font-variant-numeric:tabular-nums;border-radius:50%!important;letter-spacing:0!important}
.home-half-console .half-court-field .court-name{display:block!important;flex:0 0 auto!important;line-height:1.2!important;margin:0!important;padding:0!important;text-align:center!important;font-size:clamp(10px,calc((100cqi / 3 - 8px) / var(--name-length,3)),22px)!important;letter-spacing:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-bar .flow-actions{display:grid!important;grid-template-columns:1fr 1fr .8fr;gap:8px!important;width:clamp(360px,51vw,650px);margin-left:auto;flex:none}
.flow-bar .flow-actions button{width:100%;min-height:40px;padding:8px 16px;font-size:14px;font-weight:650;white-space:nowrap;border-radius:9px}
.flow-bar .home-point{background:#f4dfe7;border-color:#d9a8b8;color:#9e0b2b}.flow-bar .away-point{background:#e6eef5;border-color:#bed0df;color:#345e7b}.flow-bar .toolbar-operation{background:#fff;border-color:#d5bdc6;color:#9e0b2b}
.flow-bar .flow-receipt{overflow:hidden;min-width:0}.flow-bar .flow-receipt>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-bar>[hidden]{display:none!important}
.operation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.operation-grid button{min-height:48px;font-size:15px}
.compact-workspace .flow-bar .flow-actions{width:clamp(340px,51vw,650px)}.compact-workspace .flow-bar .flow-actions button{font-size:12px;min-height:32px;padding:5px 12px}
.compact-workspace .home-half-console.number-mode .court-workspace{height:var(--live-court-room,calc(100svh - 155px));min-height:205px}
.compact-workspace .home-half-console.number-mode .court-center{height:100%;min-height:0;overflow:hidden}
.compact-workspace .home-half-console.number-mode .number-entry{display:grid;grid-template-rows:auto 18px minmax(62px,1.2fr) 18px minmax(56px,1fr) auto;gap:6px;height:100%;min-height:0}
.compact-workspace .number-entry .number-group-title{line-height:18px;font-size:11px}
.compact-workspace .number-entry .fixed-number-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px;max-height:none!important;height:100%;min-height:0;align-content:stretch;grid-auto-rows:minmax(54px,1fr);overflow:auto;scrollbar-gutter:auto}
.compact-workspace .number-entry .on-number-grid{grid-template-rows:minmax(0,1fr);overflow:hidden}
.compact-workspace .number-entry .fixed-number{height:100%;min-height:0!important;align-items:center;justify-content:center;padding:5px;box-sizing:border-box}
.compact-workspace .number-entry .fixed-number strong{font-size:clamp(24px,3vw,40px);line-height:1.1}.compact-workspace .number-entry .fixed-number span{font-size:clamp(11px,1.5vw,18px);line-height:1.3}
.compact-workspace .number-entry .number-liberos,.compact-workspace .number-entry .number-operations{margin:0;min-height:30px}.compact-workspace .number-entry .number-operations button{min-height:32px}
.compact-workspace .home-half-console.number-mode .quick-record-column{min-height:0;height:100%;overflow:hidden}
.compact-workspace .number-mode .technical-panel{display:flex;flex-direction:column;min-height:0;flex:1}.compact-workspace .number-mode .technical-title,.compact-workspace .number-mode .skill-tabs{flex:none}
.compact-workspace .number-mode .technical-choices{flex:1;height:auto!important;min-height:90px;margin-bottom:0}.compact-workspace .mode-swipe .technical-panel{padding-bottom:18px}
.compact-workspace .number-mode .quick-record-column .outcomes,.compact-workspace .number-mode .technical-choices>.netdef-grid{height:100%}
.event-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0 8px}.event-summary>div{border:1px solid #ead6de;background:#fff;border-radius:12px;padding:14px 18px}.event-summary span{display:block;font-size:13px;color:#846c77}.event-summary strong{display:block;font-size:27px;color:#a80c2b;margin-top:5px;font-variant-numeric:tabular-nums}
.match-row-actions{display:flex;gap:8px;align-items:center}.deleted-matches{margin-top:20px}.deleted-match{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eee0e6}.deleted-match small{display:block;color:#967d88;margin-top:5px;font-size:11px}
@media(max-height:460px){.compact-workspace .home-half-console.number-mode .number-entry{grid-template-rows:auto 12px minmax(43px,1.2fr) 12px minmax(40px,1fr) auto;gap:4px}.compact-workspace .number-entry .number-group-title{line-height:12px;font-size:9px}.compact-workspace .number-entry .fixed-number-grid{grid-auto-rows:minmax(40px,1fr);gap:4px}.compact-workspace .number-entry .fixed-number strong{font-size:22px}.compact-workspace .number-entry .fixed-number span{font-size:10px}.compact-workspace .number-entry .number-operations button,.compact-workspace .number-entry .number-liberos button{min-height:26px;font-size:10px}.compact-workspace .number-entry .number-liberos,.compact-workspace .number-entry .number-operations{min-height:26px}}
@media(max-width:700px){.event-summary{gap:5px}.event-summary>div{padding:10px 7px}.event-summary span{font-size:11px}.event-summary strong{font-size:22px}.match-row-actions{flex-direction:column}.compact-workspace .flow-bar .flow-actions{width:330px;gap:5px!important}}
