.rule-form { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); } .rule-form > label, .settings .grid > label { min-width: 0; } .rule-form .field, .settings .grid .field { width: 100%; min-width: 0; } .rule-form [hidden] { display: none; } .rule-form > label.check { display: inline-flex; min-height: 34px; } .speaker-face { position: relative; display: inline-grid; flex: none; border-radius: 50%; } .radio-caption .speaker-face::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--ok); border-radius: 50%; pointer-events: none; animation: speaking 1.3s var(--ease) infinite; } @keyframes speaking { from { opacity: .95; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } } .radio-caption { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; padding: var(--sp-2) var(--sp-3); border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line)); border-radius: var(--radius-sm); background: var(--ok-soft); } .radio-caption[hidden] { display: none; } .radio-caption strong { white-space: nowrap; } .caption-line { flex: 1; min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; } svg .node.speaking circle { stroke: var(--ok); stroke-width: 4; animation: speaking-node 1.3s ease-in-out infinite; } @keyframes speaking-node { 50% { stroke-width: 10; stroke-opacity: .45; } } .face-art .mouth { transform-box: fill-box; transform-origin: center; } .speaking .face-art .mouth { animation: talk .3s ease-in-out infinite alternate; } @keyframes talk { to { transform: scale(1.15, 2.2); } } @media (prefers-reduced-motion: reduce) { .radio-caption .speaker-face::after, svg .node.speaking circle, .speaking .face-art .mouth { animation: none; } } .presence { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; } .presence[data-tone="ok"] { color: var(--ok); } .presence[data-tone="bad"] { color: var(--bad); } .presence[data-tone="warn"] { color: var(--warn); } .presence[data-tone="info"] { color: var(--info); } .presence[data-tone="violet"] { color: var(--violet); } svg .presence { fill: currentColor; } svg .presence-dot { fill: var(--panel); stroke: currentColor; stroke-width: 1; } .presence .glyph { transform-box: fill-box; transform-origin: center; } .presence[data-state="working"] .glyph { animation: presence-spin 3s linear infinite; } .presence[data-state="alive"] .glyph { animation: presence-beat 1.6s ease-in-out infinite; } .presence[data-state="sleeping"] .glyph { animation: presence-drift 4s ease-in-out infinite; } .presence[data-state="suspending"] .glyph { animation: presence-flip 2.4s ease-in-out infinite; } .presence[data-state="unreachable"] .glyph { animation: presence-blink 1.2s ease-in-out infinite; } .presence[data-state="dead"] .glyph { animation: presence-fade 5s ease-in-out infinite; } @keyframes presence-spin { to { transform: rotate(360deg); } } @keyframes presence-beat { 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } } @keyframes presence-drift { 50% { transform: translateY(-15%); opacity: .6; } } @keyframes presence-flip { 50%, 100% { transform: rotate(180deg); } } @keyframes presence-blink { 50% { opacity: .25; } } @keyframes presence-fade { 50% { opacity: .35; } } @media (prefers-reduced-motion: reduce) { .presence .glyph { animation: none; } } .stations { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; } .station { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-2); min-width: 0; padding: 3px 3px 3px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sunken); } .station-name, .station-when { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .station-name { font-weight: 600; } .station-when { color: var(--muted); font-size: var(--fs-sm); } .station[data-state="playing"] { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); } .station[data-state="blocked"] { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); } .station[data-state="error"] { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); } @media (max-width: 640px) { .station { grid-template-columns: minmax(0, 1fr) auto auto; } .station-when { display: none; } } .spot-toggle[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); } .radio-spot { display: grid; gap: var(--sp-3); max-height: 46vh; margin-bottom: var(--sp-4); overflow: auto; } .radio-spot[hidden], .radio-gear[hidden] { display: none; } body.fit .spot-host { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; } body.fit .radio-spot { flex: 0 1 auto; min-height: 0; } .radio-side { display: grid; gap: var(--sp-3); align-content: start; min-width: 0; } .spot-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); } .night-picks { display: flex; flex-wrap: wrap; gap: 4px var(--sp-3); max-width: 420px; max-height: 30vh; overflow: auto; } .night-picks:empty { display: none; } .agent-night { align-items: center; margin: 0 0 var(--sp-2); } .spot-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: var(--sp-4); align-items: start; } .radio-gear { min-width: 0; } .composer { display: grid; gap: var(--sp-2); } .composer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--sp-2) var(--sp-3); } .composer-grid label { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: var(--fs-sm); } .composer-grid .field { width: 100%; min-width: 0; } .composer [hidden] { display: none; } .composer .actions { margin-top: 0; } .composer-status { min-width: 0; overflow-wrap: anywhere; } .voice-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); } .voice-replay { max-width: 100%; height: 34px; } .mini .voice-replay, .bubble .voice-replay, .radio-row .voice-replay { width: 100%; } .radio-face { display: grid; gap: var(--sp-2); min-width: 0; padding: var(--sp-3); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--sunken); } .radio-display { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); min-width: 0; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); font-family: var(--mono); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; } .radio-field { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .radio-field[data-field="class"] { font-weight: 700; } .radio-field[data-field="cpu"][data-open="false"] { color: var(--warn); } .radio-lamp { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 999px; background: var(--neutral-soft); color: var(--muted); font-weight: 700; line-height: 20px; } .radio-lamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; } .radio-lamp[data-lit="true"] { background: var(--ok-soft); color: var(--ok); } .radio-lamp[data-lit="true"][data-tx="true"] { background: var(--bad-soft); color: var(--bad); } .radio-lamp[data-lit="true"]::before { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); } .radio-modes { flex-wrap: wrap; justify-self: start; max-width: 100%; } .radio-modes button { display: inline-flex; align-items: center; gap: 6px; } .radio-knobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--sp-1) var(--sp-4); } .knob-row { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; color: var(--muted); font-size: var(--fs-sm); } .knob-label { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .knob { flex: 1 1 80px; min-width: 60px; accent-color: var(--accent); } .knob-value { flex: none; min-width: 3.5em; font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; } .radio-read { display: grid; gap: var(--sp-2); } .radio-read .chips { margin-bottom: 0; } .ptt { min-width: 96px; justify-content: center; } .radio-logbox { display: grid; gap: var(--sp-2); align-content: start; min-width: 0; } .radio-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); justify-self: start; max-width: 100%; } .radio-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: var(--fs-sm); font-weight: 580; cursor: pointer; } .radio-tabs button[aria-selected="true"] { background: var(--panel); color: var(--text); box-shadow: var(--shadow); } .radio-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; } .radio-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; } .chip-select .field { max-width: 180px; padding: 3px 8px; border-radius: 999px; font-size: var(--fs-sm); } .chip-select[data-active="true"] .field { border-color: transparent; background: var(--accent-soft); color: var(--accent); } .radio-filters input[type="search"] { flex: 1 1 140px; min-width: 0; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); } .radio-log { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; } .radio-row details { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sunken); } .radio-row summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--sp-2); min-width: 0; padding: 5px 8px; font-size: var(--fs-sm); cursor: pointer; list-style: none; } .radio-row summary::-webkit-details-marker { display: none; } .radio-row time { color: var(--muted); font-variant-numeric: tabular-nums; } .radio-dir { display: inline-flex; color: var(--muted); } .radio-row[data-dir="sent"] .radio-dir { color: var(--accent); } .radio-route { font-weight: 600; overflow-wrap: anywhere; } .radio-line { flex: 1 1 160px; min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; } .radio-full { margin: 0; padding: 6px 10px 8px; border-top: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-sm); } @media (min-width: 641px) { .knob-label { flex: none; } } @media (max-width: 640px) { body:not(.fit) .radio-spot { max-height: none; } .radio-log { max-height: calc(100dvh - var(--head) - var(--sp-3)); overflow-y: auto; overscroll-behavior: contain; scroll-margin-top: var(--head); } .radio-row summary { gap: 0 var(--sp-2); padding: 3px 8px; line-height: 1.3; } }