:root{color-scheme:dark;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#0b1217;color:#edf4f6}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:grid;place-items:center;padding:24px}main{width:min(100%,660px)}header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.brand{font-size:17px;letter-spacing:.05em}.brand strong{font-weight:500;color:#9cb0ba}.badge{font-size:12px;border:1px solid #30444f;border-radius:20px;padding:6px 12px;color:#abc1cb}.display{padding:32px;border:1px solid #30444f;border-radius:20px;background:linear-gradient(145deg,#172a32,#111d24)}#connection{font-size:13px;color:#9fb0ba;margin:0 0 30px}#connection.online{color:#75e3b6}h1{font-size:20px;line-height:1.5;margin:0 0 14px;font-weight:500;color:#b4c9d1;overflow-wrap:anywhere}.frequency{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;font-size:clamp(32px,7.5vw,62px);font-variant-numeric:tabular-nums;letter-spacing:-.045em;color:#b9f4dc}.unit{font-size:16px;letter-spacing:0;color:#8bb3a4}#freshness{font-size:12px;color:#8098a3;margin:20px 0 0}.listen{padding:28px 4px}button{width:100%;border:0;border-radius:12px;padding:17px 24px;background:#a2e7cb;color:#10251d;font-size:17px;font-weight:650;cursor:pointer;min-height:56px}button[aria-pressed=true]{background:#223a43;color:#ddf2f4;border:1px solid #49646e}button:hover{filter:brightness(1.1)}:focus-visible{outline:3px solid #7cbcff;outline-offset:5px}#audioStatus{font-size:13px;color:#a1b4be;text-align:center;min-height:38px;line-height:1.5}label{display:flex;justify-content:space-between;font-size:14px;color:#b4c8d1}output{color:#e6f0f4}input[type=range]{width:100%;margin:16px 0;accent-color:#a2e7cb;height:24px;cursor:pointer}footer{text-align:center;color:#6f8792;font-size:12px;margin-top:10px}@media(max-width:400px){body{padding:16px}.display{padding:24px 18px}.badge{font-size:11px;padding:5px 8px}}

.frequency-row{display:flex;align-items:baseline;gap:12px 20px;flex-wrap:wrap}.frequency-row .frequency{flex-shrink:0}.channel-name{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(17px,3vw,23px);font-weight:600;line-height:1.4;color:#dcefe8;overflow-wrap:anywhere;flex:1 1 140px;min-width:0}

.channel-name{white-space:pre-line}

.station-entry{display:block}.station-entry+.station-entry{margin-top:8px}.station-row{display:block;white-space:normal;line-height:1.5}.station-key{display:inline-block;margin-right:6px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;color:var(--muted,#8fa6ad)}.station-value{font-size:inherit}.audience-count{display:block;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:12px;font-weight:400;color:var(--muted,#8fa6ad);line-height:1.5}.listen .audience-count{text-align:center;margin:0 0 16px}

.reception-log{margin:0 0 24px;padding:20px 18px;border:1px solid #30444f;border-radius:16px;background:#101d24}
.reception-log-header{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.reception-log h2{font-size:17px;font-weight:550;margin:0;flex:1}
.reception-log-count{font-size:11px;color:#8fa6ad;white-space:nowrap}
.reception-log #receptionLogClear{width:auto;min-height:32px;padding:6px 10px;font-size:12px;font-weight:500;border-radius:7px;background:#21343e;color:#c8dae2;border:1px solid #3c515c}
.reception-log #receptionLogClear:disabled{opacity:.4;cursor:default}
.reception-log-scroll{max-height:340px;overflow:auto;scrollbar-color:#3c5865 #101d24}
.reception-log table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}
.reception-log th{position:sticky;top:0;background:#101d24;text-align:left;color:#90a9b5;font-size:11px;font-weight:500;padding:0 6px 10px;border-bottom:1px solid #30444f}
.reception-log th:nth-child(1){width:74px}.reception-log th:nth-child(2){width:94px}.reception-log th:nth-child(3){width:54px}
.reception-log td{padding:10px 6px;border-bottom:1px solid #20343e;vertical-align:top;line-height:1.4}
.reception-log td:first-child,.reception-log th:first-child{padding-left:0}
.reception-log td:last-child,.reception-log th:last-child{padding-right:0}
.reception-log-time,.reception-log-frequency,.reception-log-channel{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;font-variant-numeric:tabular-nums}
.reception-log-frequency{color:#b9f4dc}.reception-log-channel{color:#90a9b5}.reception-log-name{overflow-wrap:anywhere;white-space:pre-line}
.reception-log .reception-log-empty{color:#8098a3;font-family:inherit;white-space:normal;padding:20px 0;border:0}
.reception-log-note{font-size:11px;line-height:1.6;color:#8098a3;margin:12px 0 0}
@media(max-width:420px){.reception-log{padding:16px 12px}.reception-log h2{font-size:15px}.reception-log-header{gap:7px}.reception-log table{font-size:10px}.reception-log th{font-size:10px}.reception-log th:nth-child(1){width:61px}.reception-log th:nth-child(2){width:76px}.reception-log th:nth-child(3){width:46px}.reception-log td{padding-top:9px;padding-bottom:9px}}


.reception-log table{min-width:460px}
.reception-log th:nth-child(1){width:74px}.reception-log th:nth-child(2){width:94px}.reception-log th:nth-child(3){width:54px}.reception-log th:nth-child(4){width:82px}
.reception-log-modulation{color:#d9e7ed;font-size:11px;overflow-wrap:anywhere}
.reception-log-state{font-size:11px;color:#9fc8b8;line-height:1.5;margin:12px 0 0}
@media(max-width:420px){.reception-log th:nth-child(1){width:66px}.reception-log th:nth-child(2){width:84px}.reception-log th:nth-child(3){width:48px}.reception-log th:nth-child(4){width:76px}}
