/* ZAGO.GR v0.18 – focused improvements, no changes to the approved wordmark */
.top>.quickbar{margin-top:0;border-top:0;border-radius:0 0 6px 6px;padding:7px 10px;min-width:0}
.top>.quickbar .quick{min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
.top>.quickbar .quick>a{flex:0 0 auto!important;white-space:nowrap}
.mastactions{align-items:center!important;justify-self:end!important;gap:3px!important;min-width:85px}
.mastactions #theme{display:grid!important;grid-template-columns:1fr 1fr;justify-items:center;align-items:stretch;width:84px!important;height:36px!important;border-radius:19px!important;padding:3px!important;gap:2px!important;overflow:visible!important;border:1px solid #526e93!important;background:#172e4c!important}
.mastactions #theme .theme-half{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:100%;opacity:.65!important;border-radius:15px!important;color:#bccde5!important;background:transparent!important;font-size:17px}
.mastactions #theme .theme-half.active,.mastactions #theme .theme-half.active.night,.mastactions #theme .theme-half.active.day{background:#294568!important;box-shadow:inset 0 0 0 2px #f2a934!important;color:#ffd277!important;opacity:1!important}
.mastactions #mastClock{display:block!important;width:90px;text-align:center!important;font-size:11px!important;letter-spacing:.15px!important;margin:0!important;font-variant-numeric:tabular-nums}
.mastactions #mastClock:before{margin-right:3px!important;color:#d2e5f9!important}
body.light .mastactions #theme{background:#e0e8f2!important;border-color:#afbed1!important}
body.light .mastactions #theme .theme-half{color:#445976!important}
body.light .mastactions #theme .theme-half.active{background:#fff4e6!important;color:#ad6905!important}
body.light .mastactions #mastClock{color:#f8f9ff!important}
/* Every text-only category row gets the full width; a failed image can never reserve a phantom column. */
#news #stories .story.force-text,#news #stories .story.no-thumbnail{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:none!important;min-height:0!important;padding:11px 0!important}
#news #stories .story.force-text>div,#news #stories .story.no-thumbnail>div{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important}
#news #stories .story.force-text a,#news #stories .story.no-thumbnail a{white-space:normal!important;display:block;overflow-wrap:break-word;word-break:normal;line-height:1.45;max-width:100%}
#news #stories .story.force-text .placeholder,#news #stories .story.no-thumbnail .placeholder{display:none!important}
/* Light editorial tone in the two daily side panels; titles and years alone stand out. */
#todayPanel .history-entry,#strikesPanel .strike-entry{padding:7px 0!important;font-size:12px;line-height:1.45}
#todayPanel .history-entry a,#strikesPanel .strike-entry a,#historyExpanded .history-text,#strikesExpanded .history-headline{font-weight:400!important;line-height:1.5!important}
#todayPanel .history-entry .source,#strikesPanel .strike-entry .source{font-size:10px!important;opacity:.75;line-height:1.3;margin-top:4px}
#todayPanel .history-year{display:inline-block;margin-right:5px;font-weight:600;color:#f5b861}
#todayPanel .history-type{color:#b9d9f8;font-weight:600}
#todayPanel .history-entry>a{display:inline}
#strikesPanel .zago16-note{font-size:10px;line-height:1.35}
/* Condensed radio bar: no repetitive warnings under the play controls. */
#zagoRadio .radio-state{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Dedicated live currency widget (loads rates only after visitor action). */
#currencyDialog{width:min(420px,94vw);max-height:89vh;overflow:auto;color:#eff5ff;background:#263750;border:1px solid #557194;border-radius:10px;padding:16px;box-shadow:0 14px 45px #09122290}
#currencyDialog::backdrop{background:rgba(5,13,24,.72)}
.currency-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.currency-head h2{font-size:16px;color:#ffc36b;margin:0}
#currencyClose{font-size:23px;line-height:1;background:#415776;border:0;border-radius:5px;padding:4px 10px;color:#fff}
.currency-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.currency-grid label,.currency-amount{display:grid;gap:5px;font-size:12px;color:#d8e5f5}
#currencyDialog select,#currencyDialog input{width:100%;min-width:0;padding:9px 8px;background:#fff;color:#1b2c47;border:1px solid #bdcde2;border-radius:6px}
.currency-amount{margin:12px 0}.currency-amount input{font-size:17px}
#currencySwap{background:#3d5575;border:1px solid #748ca8;border-radius:5px;padding:8px 10px;font-size:12px;color:#fff}
.currency-answer{display:grid;gap:4px;margin:12px 0;padding:14px;background:#344e70;border-radius:7px}
#currencyResult{font-size:22px;line-height:1.3;color:#fff;overflow-wrap:anywhere}
#currencyRate{font-size:12px;color:#d2e1f5}
.currency-attribution,.currency-note{font-size:10px;color:#c4d4e9;line-height:1.5;margin:8px 0 0}
.currency-attribution a{color:#ffca82;text-decoration:underline}
#toolslist{gap:3px}
#toolslist>a{color:var(--text);min-height:29px}
@media(max-width:790px){.mastactions #theme{width:76px!important;height:32px!important}.mastactions #mastClock{width:81px;font-size:10px!important}}
@media(max-width:520px){.top>.quickbar{overflow:hidden}.currency-grid{grid-template-columns:1fr}.mastactions{min-width:70px}.mastactions #theme{width:70px!important}.mastactions #mastClock{width:75px}}
