:root { --accent: #c8a03c; --panel: rgba(10, 12, 18, 0.82); --text: #e8e8e8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

#login { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, #2b2416, #050505 70%); z-index: 10; }
#login .card { width: min(420px, calc(100% - 32px)); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
#login h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: 1px; color: #fff; text-shadow: 2px 2px 0 #000; }
#login h1 span { color: var(--accent); }
#login label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #bbb; }
#login input, #login select { background: #15171d; border: 1px solid #333; color: #fff; padding: 9px 10px; border-radius: 6px; font-size: 15px; }
.skinrow { display: flex; gap: 6px; }
.skinrow select { flex: 1; min-width: 0; }
button { background: #22252d; color: #fff; border: 1px solid #3a3d46; border-radius: 6px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
button:hover { background: #2d313b; }
button.primary { background: var(--accent); color: #111; border: 0; font-weight: 700; padding: 11px; font-size: 16px; }
#status { min-height: 18px; margin: 0; color: #e0c070; font-size: 13px; }
.hint { margin: 0; font-size: 12px; color: #888; line-height: 1.5; }

#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#chat { position: absolute; top: 14px; left: 18px; width: min(560px, calc(100% - 32px)); }
#chatlog { display: flex; flex-direction: column; gap: 1px; font: 700 15px Arial, sans-serif; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
#chatlog div { overflow-wrap: anywhere; }
#chatin { pointer-events: auto; margin-top: 6px; width: 100%; background: rgba(0, 0, 0, 0.55); color: #fff; border: 1px solid #555; padding: 6px 8px; font: 700 15px Arial, sans-serif; outline: none; }
#tags div { position: absolute; transform: translate(-50%, -100%); font: 700 13px Arial, sans-serif; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; white-space: nowrap; }
#loading { position: absolute; bottom: 14px; right: 18px; font-size: 12px; color: #aaa; text-shadow: 1px 1px 0 #000; }
#debug { position: absolute; bottom: 14px; left: 18px; font: 12px monospace; color: #9c9; text-shadow: 1px 1px 0 #000; white-space: pre; }
#score { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: 70vh; overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 8px; padding: 14px 18px; }
#score h2 { margin: 0 0 10px; font-size: 18px; color: var(--accent); }
#score table { width: 100%; border-collapse: collapse; font-size: 14px; }
#score th { text-align: left; color: #999; font-weight: 600; border-bottom: 1px solid #333; padding: 4px; }
#score td { padding: 4px; }

/* SA tarzı sağ üst HUD: saat, silah ikonu + mermi, zırh, can */
#hudright { position: absolute; top: 14px; right: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#clock { font: 700 34px 'Arial Black', Arial, sans-serif; color: #fff; text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000; letter-spacing: 1px; }
#wbox { display: flex; align-items: center; gap: 8px; }
#wicon { width: 74px; height: 74px; background: center / contain no-repeat; filter: drop-shadow(2px 2px 0 #000); }
#ammo { font: 700 18px 'Arial Black', Arial, sans-serif; color: #d8e0ff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; min-width: 40px; text-align: right; }
.bar { width: 150px; height: 14px; border: 2px solid #000; background: rgba(0, 0, 0, 0.6); }
.bar b { display: block; height: 100%; transition: width 0.15s; }
#hpbar b { background: #b4191d; }
#arbar b { background: #e1e1e1; }
#killfeed { position: absolute; top: 210px; right: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font: 700 14px Arial, sans-serif; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
#killfeed em { color: #ddd; font-style: normal; }
#tags div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
#tags i { display: block; width: 52px; height: 6px; background: rgba(0, 0, 0, 0.7); border: 1px solid #000; }
#tags i b { display: block; height: 100%; }
#tags i.hp b { background: #b4191d; }
#tags i.ar b { background: #e1e1e1; }
.ch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: center / contain no-repeat; }
.ch.gun { width: 46px; height: 46px; }
.ch.gun.hit { filter: drop-shadow(0 0 3px #f00) brightness(1.6); }
.ch.sniper { width: 100vmin; height: 100vmin; }
/* dürbün: kare nişangahın iki yanını (ya da üst/altını) siyahla doldur */
#scope { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, #000 calc(50% - 50vmin), transparent calc(50% - 50vmin), transparent calc(50% + 50vmin), #000 calc(50% + 50vmin)),
    linear-gradient(to bottom, #000 calc(50% - 50vmin), transparent calc(50% - 50vmin), transparent calc(50% + 50vmin), #000 calc(50% + 50vmin)); }
#wasted { position: absolute; top: 45%; left: 0; right: 0; text-align: center; font: 700 64px 'Arial Black', Arial, sans-serif; color: #b4191d; text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000; letter-spacing: 4px; }

/* Esc menüsü (oyun arkada akar) */
#pause { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.25); }
#pause .menu { width: min(340px, calc(100% - 32px)); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 32px); }
#pause .menu.wide { width: min(640px, calc(100% - 32px)); }
#pause h2 { margin: 0 0 6px; color: var(--accent); font-size: 22px; }
#pause .menu > button { padding: 11px; font-size: 15px; text-align: left; }
#pause .opts { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
#pause .opts label { display: flex; align-items: center; gap: 10px; }
#pause .opts input[type=range] { flex: 1; }
#pause .note { margin: 0; font-size: 12px; color: #999; }
#pause .binds { overflow: auto; flex: 1; min-height: 0; border: 1px solid #2a2a2a; border-radius: 6px; }
#pause table { width: 100%; border-collapse: collapse; font-size: 14px; }
#pause td { padding: 3px 8px; border-bottom: 1px solid #222; }
#pause td:first-child { color: #ccc; }
#pause .bind { width: 100%; padding: 5px 8px; font-size: 13px; }
#pause .bind.cap { background: var(--accent); color: #111; }
#pause .row { display: flex; gap: 8px; justify-content: flex-end; }

/* Admin / Host paneli */
#panel { position: fixed; inset: 0; z-index: 21; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.25); }
#panel .menu { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
#panel h2 { margin: 0; color: var(--accent); font-size: 22px; }
#panel .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
#panel .tabs .on { background: var(--accent); color: #111; border-color: var(--accent); }
#panel .pbody { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: auto; }
#panel .ptable { max-height: 40vh; overflow: auto; border: 1px solid #2a2a2a; border-radius: 6px; }
#panel table { width: 100%; border-collapse: collapse; font-size: 14px; }
#panel th { text-align: left; color: #999; font-weight: 600; padding: 5px 8px; border-bottom: 1px solid #333; position: sticky; top: 0; background: #111318; }
#panel td { padding: 5px 8px; border-bottom: 1px solid #222; }
#panel tr[data-sel] { cursor: pointer; }
#panel tr.sel { background: rgba(200, 160, 60, 0.18); }
#panel .r1 { color: #ff9d3c; } #panel .r2 { color: #ff4d4d; }
#panel .acts { display: flex; flex-direction: column; gap: 8px; }
#panel .row { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
#panel .row.l { justify-content: flex-start; align-items: center; }
#panel input, #panel select { background: #15171d; border: 1px solid #333; color: #fff; padding: 7px 8px; border-radius: 6px; font-size: 14px; }
#panel .note { margin: 0; color: #999; font-size: 13px; }
button.warn { background: #6b1f1f; border-color: #8a2a2a; }
#announce { position: absolute; top: 30%; left: 0; right: 0; text-align: center; font: 700 34px 'Arial Black', Arial, sans-serif; color: #fff; text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000; padding: 0 16px; }
#full, #quick { display: flex; flex-direction: column; gap: 14px; }
#login label.check { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; }
button.link { background: none; border: 0; color: #aaa; text-decoration: underline; padding: 2px; }
button.link:hover { background: none; color: #fff; }

/* oyun sırasında imleç gizli (orijinal oyundaki gibi); menü/panel/sohbet açıkken görünür */
body.playing, body.playing canvas, body.playing #hud { cursor: none; }
#pause tr.sec td { color: var(--accent); font-weight: 700; padding-top: 10px; border-bottom: 1px solid #3a3320; }

/* araç: SA tarzı sağ altta araç adı + hız göstergesi */
#vname { position: absolute; right: 32px; bottom: 120px; font: 700 30px 'Arial Black', Arial, sans-serif; color: #36a85a; text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000; }
#vehhud { position: absolute; right: 24px; bottom: 36px; min-width: 170px; padding: 8px 12px; background: rgba(0, 0, 0, 0.45); border-radius: 6px; font: 700 14px Arial, sans-serif; color: #fff; text-shadow: 1px 1px 0 #000; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
#vehhud #vspeed { font: 700 26px 'Arial Black', Arial, sans-serif; }
#vehhud #vtitle { color: #cfd8e6; }
#vhp { width: 146px; height: 8px; }
#vhp b { background: #e0a020; }

/* skin seçici */
#skins { position: fixed; inset: 0; z-index: 22; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); }
#skins .menu { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
#skins h2 { margin: 0; color: var(--accent); font-size: 20px; }
#skins input { background: #15171d; border: 1px solid #333; color: #fff; padding: 8px; border-radius: 6px; }
.skgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; overflow: auto; min-height: 0; flex: 1; padding: 2px; }
.sk { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; background: #15171d; border: 1px solid #2a2d35; border-radius: 6px; }
.sk img { width: 72px; height: 96px; object-fit: contain; background: radial-gradient(circle at 50% 40%, #2a2f3a, #111); border-radius: 4px; }
.sk span { font-size: 12px; color: #bbb; }
.sk.on { border-color: var(--accent); background: #2a2516; }
#skins .row { display: flex; gap: 8px; justify-content: flex-end; }
.skinbtn { display: flex; align-items: center; gap: 10px; text-align: left; }
.skinbtn img { width: 30px; height: 40px; object-fit: contain; }
.skinbtn img:not([src]) { display: none; }
#login small { color: #888; }

/* para, aranma, meslek (SA tarzı sağ üst) */
#money { font: 700 24px 'Arial Black', Arial, sans-serif; color: #2f8a3a; text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000; }
#wanted { font: 700 22px Arial, sans-serif; color: #e8c33c; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; letter-spacing: 2px; min-height: 0; }
#jobname { font: 700 13px Arial, sans-serif; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
/* meslek menüsü */
#jobs { position: fixed; inset: 0; z-index: 22; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); }
#jobs .menu { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
#jobs h2 { margin: 0; color: var(--accent); font-size: 20px; }
#jobs .note { margin: 0; color: #999; font-size: 13px; }
#jobs .err { margin: 0; color: #ff7a7a; font-size: 14px; }
.jobgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.job { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; background: #15171d; border: 1px solid #2a2d35; border-radius: 8px; }
.job b { font-size: 16px; }
.job span { font-size: 12px; color: #bbb; line-height: 1.4; }
.job i { font-size: 11px; color: var(--accent); font-style: normal; }
.job.on { border-color: var(--accent); }
#jobs .row { display: flex; justify-content: flex-end; }

/* ipucu kutusu (SA yardım kutusu gibi) */
#hint { position: absolute; top: 14px; left: 18px; max-width: min(420px, calc(100% - 200px)); padding: 10px 14px; background: rgba(0, 0, 0, 0.72); color: #fff; font: 600 15px Arial, sans-serif; line-height: 1.45; border-radius: 4px; z-index: 6; }
#hint:not([hidden]) ~ #chat, body:has(#hint:not([hidden])) #chat { top: 90px; }

/* teslimat */
#cargo { position: fixed; inset: 0; z-index: 22; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); }
#cargo .menu { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
#cargo h2 { margin: 0; color: var(--accent); font-size: 20px; }
#cargo table { width: 100%; border-collapse: collapse; font-size: 14px; }
#cargo th { text-align: left; color: #999; padding: 6px; border-bottom: 1px solid #333; }
#cargo td { padding: 6px; border-bottom: 1px solid #222; }
#cargo td.pay { color: #6fd36f; font-weight: 700; }
#cargo .hz { color: #ff9d3c; font-style: normal; font-size: 12px; }
#cargo .note { margin: 0; color: #999; font-size: 13px; }
#cargo .row { display: flex; justify-content: flex-end; }
#mission { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: calc(100% - 32px); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 14px; background: rgba(0, 0, 0, 0.6); border-radius: 6px; font: 600 15px Arial, sans-serif; color: #fff; text-shadow: 1px 1px 0 #000; }
#mission .arrow { display: inline-block; color: #ff4040; font-size: 22px; line-height: 1; }
#mission .late { color: #ff7070; }
#mission .prog { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.15); border-radius: 3px; overflow: hidden; }
#mission .prog b { display: block; height: 100%; background: #6fd36f; transition: width 0.25s linear; }
#delivered { position: absolute; top: 34%; left: 0; right: 0; text-align: center; font: 700 40px 'Arial Black', Arial, sans-serif; color: #e8c33c; text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000; }
#delivered span { font-size: 28px; color: #6fd36f; }

/* radar (SA gibi sol alt, yuvarlak) ve tam harita */
#radar { position: absolute; left: 22px; bottom: 22px; width: 190px; height: 190px; border-radius: 50%; }
#bigmap { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 23; cursor: crosshair; }
#mission { left: calc(50% + 60px); }
@media (max-width: 700px) { #radar { width: 130px; height: 130px; } }

/* modifiye garajı */
#tune { position: fixed; top: 0; bottom: 0; right: 0; z-index: 22; display: flex; align-items: center; padding: 16px; pointer-events: none; }
#tune .menu { pointer-events: auto; width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
#tune h2 { margin: 0; color: var(--accent); font-size: 19px; }
#tune h3 { margin: 6px 0 0; font-size: 14px; color: #ccc; }
#tune .note { margin: 0; color: #999; font-size: 12px; }
#tune .part { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; background: #15171d; border: 1px solid #2a2d35; border-radius: 6px; text-align: left; font-size: 14px; }
#tune .part b { color: #6fd36f; font-weight: 700; white-space: nowrap; }
#tune .part.on { border-color: var(--accent); }
#tune .part.on b { color: var(--accent); }
#tune .pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 3px; }
#tune .pal button { height: 22px; padding: 0; border: 1px solid #000; border-radius: 3px; }
#tune .pal button.on { outline: 2px solid var(--accent); }
#tune .row { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
#nitrobar { position: absolute; right: 18px; bottom: 74px; padding: 4px 10px; background: rgba(0, 0, 0, 0.6); border-radius: 4px; font: 700 14px Arial, sans-serif; color: #7fd0ff; text-shadow: 1px 1px 0 #000; }

/* araç menüsü */
#vehmenu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 22; display: flex; align-items: center; padding: 16px; pointer-events: none; }
#vehmenu .menu { pointer-events: auto; width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
#vehmenu h2 { margin: 0; color: var(--accent); font-size: 19px; }
#vehmenu h3 { margin: 4px 0 0; font-size: 13px; color: #aaa; }
#vehmenu .row { display: flex; flex-wrap: wrap; gap: 6px; }
#vehmenu button { padding: 7px 10px; background: #15171d; border: 1px solid #2a2d35; border-radius: 6px; font-size: 13px; }
#vehmenu button.on { border-color: var(--accent); color: var(--accent); }
#vehmenu button:disabled { opacity: 0.4; }
#vehmenu .note { margin: 0; color: #888; font-size: 12px; }

/* silah dükkânı / galeri */
#shop { position: fixed; top: 0; bottom: 0; right: 0; z-index: 22; display: flex; align-items: center; padding: 16px; pointer-events: none; }
#shop .menu { pointer-events: auto; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
#shop h2 { margin: 0; color: var(--accent); font-size: 19px; }
#shop .note { margin: 0; color: #999; font-size: 12px; }
#shop .list { display: flex; flex-direction: column; gap: 6px; }
#shop .list button { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px; background: #15171d; border: 1px solid #2a2d35; border-radius: 6px; text-align: left; font-size: 13px; }
#shop .list button b { flex: 1; font-weight: 600; }
#shop .list button span { color: #999; font-size: 12px; }
#shop .list button em { font-style: normal; color: #7fd37f; font-variant-numeric: tabular-nums; }
#shop .list button:disabled { opacity: 0.45; }

/* evet/hayır kutusu */
#ask { position: fixed; top: 22%; left: 50%; transform: translateX(-50%); z-index: 30; width: min(420px, calc(100vw - 32px)); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#ask p { margin: 0; font-size: 14px; }
#ask div { display: flex; gap: 8px; justify-content: flex-end; }
#ask button { padding: 7px 14px; background: #15171d; border: 1px solid #2a2d35; border-radius: 6px; }
#ask button[data-v="1"] { border-color: var(--accent); color: var(--accent); }

/* yakıt göstergesi */
#vfuelrow { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #cfd8e6; }
#vfuel { width: 110px; height: 6px; }
#vfuel b { background: #4fd36f; }
#vfuel.low b { background: #ff5040; }

/* SA HUD kanvası (hud.mjs) eski sağ üst HTML HUD'un yerine */
#hudcv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#hudright { visibility: hidden; }

/* SA radarı: 640×448 tabanında merkez (87, 382), yarıçap ~48 → ekran yüksekliğine göre */
#radar { left: calc(39 / 448 * 100vh); bottom: calc(18 / 448 * 100vh); width: calc(96 / 448 * 100vh); height: calc(96 / 448 * 100vh); }

/* sesli sohbet: konuşanlar (radarın üstü) */
#voicelist { position: absolute; left: calc(39 / 448 * 100vh); bottom: calc(124 / 448 * 100vh); display: flex; flex-direction: column; gap: 2px; font: 700 13px Arial, sans-serif; color: #fff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
#voicelist .radio { color: #ffd23a; }

/* ayarlar: sesli sohbet */
#pause h3 { margin: 6px 0 0; font-size: 14px; color: #ccc; }
#pause select { background: #15171d; color: #eee; border: 1px solid #2a2d35; border-radius: 4px; padding: 3px 6px; max-width: 260px; }
.vmeter { display: inline-block; width: 160px; height: 8px; background: #222; border: 1px solid #000; vertical-align: middle; margin-left: 8px; }
.vmeter b { display: block; height: 100%; width: 0; background: #4fd36f; }

/* telsiz menüsü */
#radiomenu { position: fixed; top: 0; bottom: 0; right: 0; z-index: 22; display: flex; align-items: center; padding: 16px; pointer-events: none; }
#radiomenu .menu { pointer-events: auto; width: min(320px, calc(100vw - 32px)); background: var(--panel); border: 1px solid #3a3320; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
#radiomenu h2 { margin: 0; color: var(--accent); font-size: 19px; }
#radiomenu .note { margin: 0; color: #999; font-size: 12px; }
#radiomenu .row { display: flex; gap: 6px; }
#radiomenu input { flex: 1; background: #15171d; color: #eee; border: 1px solid #2a2d35; border-radius: 6px; padding: 7px 9px; font: 600 15px Arial, sans-serif; text-transform: lowercase; }
#radiomenu button { padding: 7px 12px; background: #15171d; border: 1px solid var(--accent); color: var(--accent); border-radius: 6px; }
