:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#e9f4fd;background:#07101b;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.hidden{display:none!important}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 20% -30%,#103b47 0,transparent 45%),radial-gradient(circle at 95% 40%,#112c42 0,transparent 38%);opacity:.7;z-index:-1}.top{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #233347;min-height:84px;padding:12px 26px}.brand{display:flex;align-items:center;gap:14px;font-weight:750;font-size:19px}.brand small{display:block;font-size:9px;letter-spacing:3px;color:#8ba7b6;margin-top:5px}.brand-icon,.intro-icon{background:#adf47c;color:#082018;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;width:45px;height:45px;font-size:25px}.connection{display:flex;align-items:center;gap:8px;color:#c1d9df;font-size:12px}.connection i,.dot{width:9px;height:9px;background:#aefc80;border-radius:50%;display:inline-block;box-shadow:0 0 13px #85e76566}.wrap{max-width:1260px;margin:0 auto;padding:38px 26px 64px}.card{background:linear-gradient(132deg,#152536dd,#0e1d2ddd);border:1px solid #31465a;border-radius:21px;padding:27px;box-shadow:0 16px 45px #00000022}.join{max-width:510px;margin:7vh auto;text-align:center;padding:48px 38px}.join .intro-icon{margin:0 auto 20px;width:70px;height:70px;border-radius:24px;font-size:38px}.join h1{font-size:34px;letter-spacing:-1.3px;line-height:1.1}.join p{color:#b1c5d4;line-height:1.7}.eyebrow{font-size:10px;letter-spacing:2px;color:#8fb4c5;font-weight:800}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.section-title h1{font-size:32px;margin:9px 0}.section-title p,.muted{color:#98b4c5}.timepill,.badge{display:inline-flex;align-items:center;border:1px solid #395665;background:#173841;color:#b2f3d7;border-radius:100px;padding:9px 13px;font-size:12px;font-weight:650;white-space:nowrap}.badge{font-size:11px;padding:7px 10px}.two-col{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(290px,1fr);gap:18px}.card-top,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.freq{display:flex;align-items:baseline;gap:12px;margin-top:35px}.freq strong{font-weight:800;font-size:clamp(50px,7vw,76px);letter-spacing:-3px;font-variant-numeric:tabular-nums}.freq span{font-size:15px;color:#90bbce}.receiver h2{font-size:23px;color:#b4f98a;margin:7px 0}.receiver p{margin:9px 0 23px}.player{border-radius:15px;border:1px solid #2a5460;background:#0b2730;padding:18px}.player-row{display:flex;align-items:center;gap:13px}.player-row span:nth-child(2){flex:1}.player-row strong,.player-row small{display:block}.player-row small{font-size:12px;color:#9fbac6;margin-top:5px}.soundicon{display:flex;border-radius:50%;background:#1c4751;justify-content:center;align-items:center;height:45px;width:45px;font-size:22px;color:#b4f98a}.player-row button{white-space:nowrap}.scanner h2,.presets h2,.manual h2{font-size:21px;margin:10px 0 21px}.profiles{display:grid;gap:11px}.profile{display:flex;align-items:center;text-align:left;gap:12px;padding:15px 13px;background:#12283a;color:#f4fafc;border:1px solid #345264;border-radius:13px;width:100%}.profile:hover,.profile.selected{border-color:#a5e876;background:#203b3d}.profile>span:nth-child(2){flex:1}.profile small{display:block;font-size:12px;color:#9fbed0;margin-top:5px}.profile-emoji{font-size:25px;color:#c3f7a2}.primary,.outline,.play{background:#b9f981;color:#10211b;border:0;border-radius:11px;font-weight:750;padding:14px 19px}.primary:hover,.play:hover{background:#d3ffa7}.outline{background:#294d4e;color:#c5f5df;border:1px solid #37776a}.outline:hover{background:#35615e}.full{width:100%;margin-top:14px}.large{font-size:16px;width:100%;margin-top:12px}.mini{font-size:12px;line-height:1.6}.presets,.manual{margin-top:18px}.section-head h2{margin-bottom:14px}.quickgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.quick{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;min-height:93px;border:1px solid #334d60;background:#102639;color:#fff;border-radius:13px;padding:16px}.quick:hover{border-color:#b9f981}.quick small{color:#a6bed0;font-size:12px}.quick b{font-size:22px}.quick em{color:#b9f981;font-style:normal;font-size:10px;align-self:flex-end}.manual{display:grid;grid-template-columns:1fr 1.5fr;gap:25px;align-items:center}.manual p{font-size:13px}.manual form{display:flex;align-items:end;gap:10px}.manual label{color:#adc5d3;display:grid;flex:1;gap:7px;font-size:12px}.manual input,.manual select,.admin-input{background:#091c2b;border:1px solid #416076;border-radius:11px;padding:12px;color:#fff;min-width:0;width:100%;outline:none}.manual input:focus,.manual select:focus,.admin-input:focus{border-color:#b9f981}.footer{display:flex;justify-content:space-between;gap:16px;margin:28px 0;color:#789cad;font-size:12px}.toast{position:fixed;bottom:20px;right:20px;max-width:420px;background:#223d46;border:1px solid #79d3ae;padding:17px 20px;border-radius:15px;z-index:12;box-shadow:0 12px 35px #0008}.toast.error{background:#4b2529;border-color:#d27070}.warn{border:1px solid #b46766;background:#4d272d;padding:13px;border-radius:10px;color:#ffe2e2;font-size:13px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-grid .wide{grid-column:1/-1}.admin-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.admin-row label{flex:1;min-width:180px;font-size:12px;color:#b0cada}.admin-row label input,.admin-row label select{display:block;width:100%;margin-top:8px}.table{width:100%;border-collapse:collapse;font-size:13px}.table th,.table td{border-bottom:1px solid #2b3f50;text-align:left;padding:13px 8px}.table th{font-size:11px;color:#8eabbc;text-transform:uppercase}.table button{background:#2b4552;color:#e6f5f6;border:1px solid #436576;border-radius:8px;padding:8px 10px}.table .danger,.danger{background:#542d35!important;color:#ffcfcf!important;border-color:#7b4a50!important}.statusline{font-size:13px;color:#9cc2d0}.copy-url{display:block;overflow-wrap:anywhere;background:#081a29;border:1px solid #426571;border-radius:10px;padding:13px;color:#b2f789;margin-top:10px;font-size:13px}@media(max-width:950px){.two-col,.manual,.admin-grid{grid-template-columns:1fr}.quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual form{flex-wrap:wrap}}@media(max-width:540px){.top{padding:12px 16px;min-height:75px}.connection{font-size:10px}.brand{font-size:16px}.brand-icon{width:39px;height:39px}.wrap{padding:22px 13px}.card{padding:18px;border-radius:17px}.section-title h1{font-size:26px}.section-title{align-items:start}.timepill{font-size:10px}.freq strong{font-size:57px}.quickgrid{grid-template-columns:repeat(2,1fr)}.quick b{font-size:19px}.quick{padding:13px}.manual form .primary{width:100%}.footer{flex-direction:column}.join{margin:4vh auto;padding:32px 23px}.join h1{font-size:29px}}
/* NoGramy! — same night-radio palette, a little more play. */
a{color:#bcf68d}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #c8fa99;outline-offset:4px}.nogramy{margin-top:30px;padding:36px;background:radial-gradient(ellipse at 100% 0,#28473988,transparent 55%),linear-gradient(130deg,#162d38,#101d2c);border-color:#4a6d5c;overflow:hidden}.games-topline{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.games-stamp{font-size:10px;color:#c0d0c8;letter-spacing:1.2px}.games-hero{display:grid;grid-template-columns:1.6fr 1fr;align-items:center;gap:48px;margin:28px 0}.games-logo{font-size:42px;font-weight:900;letter-spacing:-2px;text-decoration:none;color:#f3fbea}.games-logo span{color:#b9f981}.games-hero h2{font-size:clamp(27px,4vw,42px);line-height:1.12;letter-spacing:-1.2px;margin:18px 0}.games-hero p{line-height:1.75;color:#bbced4;font-size:15px;max-width:610px}.games-callout{padding:28px;border:1px solid #6e936044;border-radius:18px;background:#11232a;transform:rotate(2deg)}.games-callout p{font-size:31px;font-weight:700;line-height:1.25;margin:15px 0}.games-callout strong{color:#c2f38f}.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.games-grid article{padding:21px 18px;border-top:2px solid #84b06b;border-radius:5px 5px 13px 13px;background:#091b25aa}.game-number{font-size:10px;letter-spacing:1.4px;color:#b6d498}.games-grid h3{font-size:19px;margin:18px 0 10px}.games-grid p{font-size:13px;line-height:1.75;color:#adc2cd;margin-bottom:0}.games-bottom{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:28px 0 20px}.games-bottom h3{font-size:22px;margin:0 0 8px}.games-bottom p{font-size:14px;line-height:1.7;color:#adc2cd;margin:0;max-width:610px}.games-cta{text-align:center;text-decoration:none;flex-shrink:0;line-height:1.7}.games-cta small{display:block;font-size:10px;font-weight:500}.games-signature{border-top:1px solid #45634e;padding-top:20px;margin-bottom:0;color:#a5bcae;font-size:12px;line-height:1.7}.games-signature strong{white-space:nowrap;color:#d5e5d4}.author-footer{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:26px;font-size:12px;color:#90aebc;line-height:1.6}.author-footer a{text-decoration:none}.author-footer strong{color:#bfd2d7}.table-scroll{overflow-x:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Shared chat */
.chat-panel{margin-top:22px}.chat-panel h2{margin:10px 0}.chat-live{color:#c3ed9d;border:1px solid #5e855c;border-radius:8px;padding:7px 10px;font-size:10px;letter-spacing:2px}.chat-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:18px 0}.chat-identity{display:flex;align-items:end;gap:9px;font-size:13px;color:#b6cdd8}.chat-identity label{display:grid;gap:6px;font-size:12px}.chat-identity input{max-width:240px}.compact{padding:10px 13px;font-size:12px}.chat-people{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#a7c1cf;margin-bottom:14px}.person{background:#203744;border-radius:20px;padding:6px 10px;color:#e0eef5}.chat-messages{height:290px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#527265 #10202b;padding:12px;border:1px solid #304b59;border-radius:14px;background:#081622}.chat-empty{text-align:center;color:#9ab5c1;padding:75px 12px;font-size:14px}.chat-message{padding:12px 13px;background:#142938;border-radius:10px;margin:0 0 10px;border-left:2px solid #395b6e}.chat-message:last-child{margin-bottom:0}.owner-message{background:#1b332e;border-left-color:#b9f981}.chat-message-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.chat-message-head strong{overflow-wrap:anywhere}.chat-message-head time{margin-left:auto;color:#93acb8;font-size:10px}.owner-badge{font-size:8px;letter-spacing:.7px;color:#c3f79b}.chat-message p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px}.chat-frequency{display:inline;background:#213f42;border:1px solid #698e6b;color:#cdf9a8;border-radius:5px;padding:2px 6px;font-size:inherit;line-height:inherit}.chat-form{margin-top:12px}.chat-form textarea{display:block;width:100%;resize:vertical;min-height:76px;max-height:230px;background:#091c2b;border:1px solid #416076;border-radius:12px;color:#fff;padding:14px;font:inherit;font-size:14px;line-height:1.6}.chat-compose{display:flex;gap:12px;align-items:center;margin-top:10px}.chat-compose .primary{margin-left:auto;padding:12px 22px}.emoji-picker{border:1px solid #395766;border-radius:12px;background:#0c202e;margin-top:12px;padding:12px}.emoji-tabs{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:12px}.emoji-tabs button{background:#1c3442;color:#c2d4dc;border:1px solid #395766;border-radius:8px;padding:8px 12px;font-size:12px}.emoji-tabs button.active{color:#c6fa9f;border-color:#9cca78}.emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:5px}.emoji-grid button{font-family:'Segoe UI Emoji','Apple Color Emoji',sans-serif;font-size:25px;min-height:44px;background:#172f3b;border:0;border-radius:8px;padding:5px}.emoji-grid button:hover{background:#345748}.connection.offline i{background:#b58e54;box-shadow:none}.player-row{flex-wrap:wrap}.freq strong{font-size:clamp(38px,7vw,76px)}.freq{flex-wrap:wrap}.brand small{letter-spacing:1.5px;font-size:9px}.manual form{min-width:0}.manual label{min-width:0}.toast{max-width:calc(100vw - 40px)}
@media(max-width:950px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.games-hero{gap:24px}.games-bottom{align-items:start;flex-direction:column}}@media(max-width:540px){.games-hero{grid-template-columns:1fr;margin:24px 0}.nogramy{padding:22px 18px}.games-callout{transform:none;padding:20px}.games-callout p{font-size:25px}.games-grid{grid-template-columns:1fr}.games-grid article{padding:18px}.games-grid h3{margin:10px 0}.games-cta{width:100%}.section-title{flex-wrap:wrap}.chat-toolbar,.chat-identity{flex-wrap:wrap}.chat-compose{gap:7px}.chat-compose .primary{padding:12px 16px}.chat-messages{height:320px;padding:8px}.chat-message{padding:10px}.brand small{font-size:8px;letter-spacing:1px}.top{gap:9px}.connection{max-width:110px;text-align:right}.player-row .play{margin-left:auto}.freq strong{font-size:clamp(38px,10vw,57px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* 1.8 — readable controls, real RF meter, optional speech DSP */
.rf-meter{margin:15px 0;padding:14px 16px;border:1px solid #315064;border-radius:12px;background:#0d2130;min-width:0}.rf-meter>div:first-child{display:flex;justify-content:space-between;gap:14px;font-size:13px}.rf-meter output{font-variant-numeric:tabular-nums;color:#c8f59c;font-weight:700;white-space:nowrap}.rf-meter meter{display:block;width:100%;height:18px;margin:10px 0 4px;accent-color:#b2ec8c}.rf-meter meter::-webkit-meter-bar{background:#233c48;border:0;border-radius:7px}.rf-meter meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#4c8d8c,#b5eb81)}.rf-scale{display:flex;justify-content:space-between;font-size:9px;color:#89a8b8}.rf-meter p{font-size:11px!important;line-height:1.6!important;color:#a1b7c4;margin:9px 0 0!important;min-height:32px}.voice-card{padding:18px;border:1px solid #466955;border-radius:14px;background:#10272c;margin:18px 0 0;color:#dcebf0}.voice-card h3{font-size:19px;margin:0 0 10px}.voice-card p,.voice-card small{font-size:12px;line-height:1.65;color:#afc7cd;margin:8px 0 12px;display:block}.voice-card label{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#e3edf1;margin:14px 0 8px}.voice-card select{width:100%;max-width:100%;white-space:normal;background:#081e2b;color:#f0f7f9;border:1px solid #517164;padding:11px 8px;border-radius:8px;font:inherit;font-size:12px}.voice-card input[type=range]{width:100%;accent-color:#b5ec86}.voice-card button{margin:12px 0 0;max-width:100%;white-space:normal;font-size:12px;padding:10px 12px}.voice-card output{white-space:nowrap}.setting-explanation{display:block;margin-top:9px;color:#a1b9c7;font-size:12px;line-height:1.65}.restore-card{padding:26px;margin:20px 0}.restore-card p{font-size:13px;line-height:1.7;color:#a8c0cb}.restore-card h2{font-size:22px;margin:8px 0 14px}.restore-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:17px 0}.restore-card details{border-top:1px solid #2e4c54;padding-top:16px;margin-top:14px}.restore-card summary{cursor:pointer;font-size:14px;color:#d3eac5}.restore-card .checkbox-row{font-size:12px;line-height:1.6}.mode-buttons{flex-wrap:wrap}.mode-buttons button{font-size:12px}.top-refresh{width:auto;gap:7px;font-size:11px}.avatar-btn{width:auto!important;min-width:55px;padding:0 8px;font-size:11px}.scan-control-row{flex-wrap:wrap}.scan-control-row button{white-space:normal}.setting-line label{line-height:1.4}.live-tuning .live-help{font-size:12px;line-height:1.7}.voice-card #voiceStatus{min-height:40px;margin-bottom:0}#rfHint:empty{display:none}@media(max-width:540px){.rf-meter{padding:12px}.restore-card{padding:18px}.restore-buttons{flex-direction:column}.restore-buttons button{width:100%}.top-refresh span{display:none}.voice-card{padding:14px}.mode-buttons button{padding:8px;font-size:11px}.topbar{gap:8px}.header-right{gap:5px}}
