.route-board { position: relative; width: min(100%, 550px); aspect-ratio: 1; margin: 16px auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.route-board[hidden] { display: none !important; }
.route-lines, .route-points { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-lines { display: block; overflow: visible; pointer-events: none; }
.route-points { pointer-events: none; }
.route-point { position: absolute; box-sizing: border-box; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; pointer-events: auto; touch-action: none; box-shadow: none; }
.route-point:hover, .route-point:active { transform: translate(-50%, -50%); box-shadow: none; }
.route-orb { width: 78%; aspect-ratio: 1; min-width: 0; display: grid; place-items: center; border-radius: 50%; background: var(--point-color); color: #fff; font-size: clamp(20px, 5vmin, 40px); box-shadow: inset 0 -5px 0 #0002; opacity: .42; transition: opacity .1s, transform .1s, box-shadow .1s; }
.route-point[data-route-point='3'] .route-orb, .route-point[data-route-point='7'] .route-orb { color: #41360d; }
.route-point:disabled { opacity: 1; }
.route-point.ready .route-orb { opacity: .9; }
.route-point.selected .route-orb { opacity: 1; box-shadow: 0 0 0 5px color-mix(in srgb, var(--point-color) 22%, transparent), inset 0 -5px 0 #0002; }
.route-point.active .route-orb { opacity: 1; transform: scale(1.16); box-shadow: 0 0 0 7px color-mix(in srgb, var(--point-color) 30%, transparent), 0 0 30px color-mix(in srgb, var(--point-color) 40%, transparent), inset 0 -5px 0 #0002; }
.route-point:focus-visible { outline: 3px solid var(--theme-accent, #1467d8); outline-offset: 3px; }
.room-focus #game .arena > #route-board:not([hidden]) { display: block !important; width: min(82vw, 74dvh, 680px); max-width: none; margin: 0 auto; flex: 0 0 auto; }
.room-focus #game.streamer-host .arena > #route-board { display: none !important; }
#game.streamer-host #route-board { display: none !important; }
.room-focus .route-orb { font-size: clamp(24px, 6vmin, 52px); }
.room-colors-picker.route-fixed .room-color-counts, .room-colors-picker.route-fixed .room-colors-preview { display: none; }
.room-colors-picker.route-fixed::after { content: 'Ruta exacta: 9 puntos y los 4 colores de CROMIVIO.'; display: block; margin-top: 10px; font-size: 12px; color: var(--theme-muted, #62615e); line-height: 1.5; }
.room-colors-picker.route-fixed .field-help { display: none; }
@media (max-height: 420px) and (min-width: 580px) { .room-focus #game .arena > #route-board:not([hidden]) { width: min(74dvh, 450px); } }
@media (prefers-reduced-motion: reduce) { .route-orb { transition: none; } }
