.dwgem{--dwgem-accent:#147d85;--dwgem-ink:#182c3a;font-family:Arial,Helvetica,sans-serif;color:var(--dwgem-ink);padding:12px 0 28px;box-sizing:border-box}.dwgem *{box-sizing:border-box}.dwgem .dwgem-hero{background:linear-gradient(115deg,#17212b,#214752);padding:clamp(22px,4vw,48px);border-radius:16px;color:#fff;margin-bottom:22px}.dwgem .dwgem-hero span{color:#92e6e5;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:12px}.dwgem .dwgem-hero h2{font-family:inherit;color:#fff;font-size:clamp(30px,5vw,52px);line-height:1.1;margin:9px 0}.dwgem .dwgem-hero p{color:#e0ebef;margin:0;font-size:16px}.dwgem-tools{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;align-items:end}.dwgem-tools label{display:grid;gap:5px;flex:1;min-width:min(100%,190px);font-size:13px;font-weight:600}.dwgem-tools input,.dwgem-tools select{width:100%;min-height:40px;padding:8px 12px;border:1px solid #ccd5da;border-radius:8px;background:#fff;color:#182c3a}.dwgem .dwgem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;align-items:stretch}.dwgem .dwgem-card{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid #d5dfe4;border-radius:12px;overflow:hidden;box-shadow:0 2px 5px #182c3a0b}.dwgem [hidden]{display:none!important}.dwgem-art{aspect-ratio:1;position:relative;background:#eef3f5;overflow:hidden;display:grid;place-items:center}.dwgem-art img{display:block;width:100%;height:100%;object-fit:cover;margin:0}.dwgem-fallback{font-size:60px;color:#497e8a}.dwgem-hour{position:absolute;right:9px;bottom:9px;background:#17212b;color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:5px 10px}.dwgem-copy{display:flex;flex-direction:column;flex:1;padding:14px;gap:5px}.dwgem-kicker{color:var(--dwgem-accent);font-size:12px;font-weight:bold}.dwgem .dwgem-copy h4{font-family:inherit;font-size:17px;line-height:1.25;font-weight:700;color:var(--dwgem-ink);margin:0}.dwgem-copy p{font-size:13px;color:#4c606b;margin:0}.dwgem-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:8px}.dwgem .dwgem-play,.dwgem .dwgem-info,.dwgem-pages a{font-family:inherit;border:1px solid #147d85;border-radius:999px;font-size:12px;font-weight:700;padding:9px 12px;cursor:pointer;color:#fff;background:#147d85;text-decoration:none}.dwgem .dwgem-info{background:#fff;color:#136b72}.dwgem .dwgem-dialog{color:#182c3a;background:#fff;border:0;border-radius:14px;padding:26px;width:min(540px,calc(100% - 32px));max-height:80vh;overflow:auto;position:fixed;inset:0;margin:auto;box-shadow:0 12px 60px #0004}.dwgem-dialog::backdrop{background:#101d2bbb}.dwgem-dialog [data-dwgem-close]{float:right;background:#edf2f4;border:0;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer}.dwgem-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin:24px 0}.dwgem h3{font-family:inherit;color:inherit}.dwgem button:focus-visible,.dwgem a:focus-visible{outline:3px solid #007bb5;outline-offset:2px}@media(max-width:600px){.dwgem .dwgem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dwgem-copy{padding:10px}.dwgem .dwgem-copy h4{font-size:15px}.dwgem .dwgem-play,.dwgem .dwgem-info{padding:8px 9px}}@media(max-width:340px){.dwgem .dwgem-grid{grid-template-columns:1fr}}

/* Match the original SLOS archive: four square covers at desktop, two on mobile. */
.dwgem{--dwgem-accent:#168589;max-width:1180px;margin-inline:auto}
.dwgem .dwgem-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.dwgem .dwgem-art{display:block;isolation:isolate;aspect-ratio:1;position:relative;width:100%}
.dwgem .dwgem-art img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
.dwgem .dwgem-fallback{position:absolute;inset:0;display:grid;place-items:center}
.dwgem button.dwgem-art-play{position:absolute!important;right:12px!important;bottom:12px!important;z-index:2;display:grid!important;place-items:center;width:48px!important;height:48px!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:50%!important;background:#20b5b5!important;color:#102b31!important;font:700 19px/1 Arial,Helvetica,sans-serif!important;padding:0!important;margin:0!important;box-shadow:0 3px 10px #0002!important;cursor:pointer;text-transform:none!important}
.dwgem button.dwgem-art-play:hover{background:#68d4d1!important}
.dwgem button.dwgem-art-play[aria-pressed=true]{background:#142f39!important;color:#fff!important}
.dwgem .dwgem-hour{left:9px;right:auto;bottom:12px;max-width:calc(100% - 66px);z-index:1;white-space:nowrap}
.dwgem .dwgem-copy{padding:13px;gap:5px;overflow-wrap:anywhere}
.dwgem .dwgem-copy h4{font-size:16px;line-height:1.3}
.dwgem .dwgem-tools input,.dwgem .dwgem-tools select{border-radius:999px}
.dwgem .dwgem-actions .dwgem-info{padding:6px 11px}
.dwgem .dwgem-hero{background:linear-gradient(115deg,#17212b 25%,#224b53);border-radius:20px}
@media(max-width:1050px) and (min-width:861px){.dwgem .dwgem-grid{gap:12px}}
@media(max-width:860px){.dwgem .dwgem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dwgem .dwgem-copy{padding:10px}.dwgem .dwgem-copy h4{font-size:15px}.dwgem button.dwgem-art-play{width:44px!important;height:44px!important;right:8px!important;bottom:8px!important}.dwgem .dwgem-hour{bottom:8px;left:6px;padding:5px 7px;font-size:11px}}

.dwgem-tools .dwgem-info{min-height:40px}.dwgem-reset{padding:10px 4px;color:#136b72;font-size:13px}.dwgem-tools label{min-width:min(100%,150px)}
/* 0.4.10: compact toolbar and complete broadcast groups. */
.dwgem .dwgem-hero{padding:15px 20px;border-radius:12px;margin-bottom:12px}.dwgem .dwgem-hero h2{font-size:clamp(25px,3vw,36px);margin:3px 0}.dwgem .dwgem-hero p{font-size:14px}.dwgem .dwgem-hero span{font-size:10px}.dwgem .dwgem-tools{gap:8px;margin:10px 0;align-items:end}.dwgem .dwgem-tools label{min-width:min(100%,130px);gap:3px;font-size:12px}.dwgem .dwgem-tools .dwgem-search{flex:2;min-width:min(100%,235px);order:-1}.dwgem .dwgem-tools input,.dwgem .dwgem-tools select{min-height:36px;padding:6px 11px;font-size:13px}.dwgem-enhanced .dwgem-tools button[type=submit]{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip-path:inset(50%);padding:0;border:0}.dwgem-enhanced .dwgem-tools button[type=submit]:focus-visible{position:static;width:auto;height:auto;clip-path:none;padding:6px 11px}.dwgem .dwgem-reset{padding:8px 3px;white-space:nowrap}.dwgem-loading{font-size:12px;color:#536771}.dwgem [data-dwgem-results]>h3{margin:12px 0 9px;font-size:19px}.dwgem .dwgem-grid{grid-auto-flow:row;align-items:stretch;gap:12px}.dwgem .dwgem-group{grid-column:span var(--group-cols);display:grid;grid-template-columns:repeat(var(--group-cols),minmax(0,1fr));gap:12px;align-items:stretch;min-width:0}.dwgem .dwgem-copy{padding:10px;gap:3px}.dwgem .dwgem-copy h4{font-size:15px}.dwgem .dwgem-copy p{font-size:12px;line-height:1.35}.dwgem .dwgem-actions{align-items:center;justify-content:space-between;flex-wrap:nowrap;padding-top:5px;gap:4px}.dwgem .dwgem-actions .dwgem-info{margin-left:auto;padding:5px 9px;white-space:nowrap}.dwgem-part{font-size:12px;font-weight:600;color:#536771}.dwgem-status{padding:8px 10px;margin:8px 0;background:#f0f7f7;border-radius:8px;font-size:12px}.dwgem-status-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dwgem-status-line+ .dwgem-status-line{margin-top:5px}.dwgem-status-line progress{height:7px;width:100px;accent-color:#168589}.dwgem-status-line small{font-size:11px}.dwgem .dwgem-pages{margin:16px 0}
@media(max-width:860px){.dwgem .dwgem-group{grid-column:span var(--mobile-cols);grid-template-columns:repeat(var(--mobile-cols),minmax(0,1fr));gap:9px}.dwgem .dwgem-grid{gap:9px}.dwgem .dwgem-tools .dwgem-search{flex-basis:100%}.dwgem .dwgem-copy{padding:8px}.dwgem .dwgem-copy h4{font-size:14px}.dwgem .dwgem-part{font-size:11px}.dwgem .dwgem-actions .dwgem-info{font-size:11px;padding:5px 7px}}
@media(max-width:340px){.dwgem .dwgem-grid,.dwgem .dwgem-group{grid-template-columns:1fr;grid-column:span 1}}

/* 0.4.11: continuous card grid and theme-resistant aligned filters. */
.dwgem .dwgem-tools{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:8px 12px;align-items:end;background:#f4f7f8;border:1px solid #e0e7ea;border-radius:10px;padding:12px;margin:12px 0 14px;position:relative}
.dwgem .dwgem-tools label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;width:100%;margin:0!important;gap:5px;font:600 12px/1.2 Arial,Helvetica,sans-serif;color:#344b57;order:0}
.dwgem .dwgem-tools .dwgem-search{order:-1;min-width:0}
.dwgem .dwgem-tools input:not([type=hidden]),.dwgem .dwgem-tools select{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 10px!important;border:1px solid #cbd6db!important;border-radius:6px!important;background-color:#fff!important;box-shadow:none!important;color:#182c3a!important;font:400 13px/normal Arial,Helvetica,sans-serif!important}
.dwgem .dwgem-tools select{padding-right:24px!important;text-overflow:ellipsis;appearance:auto!important;background-image:none!important}
.dwgem .dwgem-tools input:focus,.dwgem .dwgem-tools select:focus{outline:2px solid #168589;outline-offset:1px}
.dwgem .dwgem-tools input[type=hidden]{display:none!important}
.dwgem .dwgem-tools .dwgem-reset,.dwgem .dwgem-tools .dwgem-loading{grid-column:1/-1;justify-self:end;padding:0;margin:0;line-height:1.3}
.dwgem .dwgem-tools button[type=submit]{justify-self:start}
.dwgem .dwgem-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:12px;align-items:stretch}
@media(max-width:860px){.dwgem .dwgem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dwgem .dwgem-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}.dwgem .dwgem-tools .dwgem-search{grid-column:1/-1}}
@media(max-width:340px){.dwgem .dwgem-grid,.dwgem .dwgem-tools{grid-template-columns:minmax(0,1fr)}}

.dwgem-status-heading{display:block;font-size:13px;margin-bottom:5px;color:#183d46}.dwgem-status[hidden]{display:none!important}
/* 0.4.12 compact, manually scrollable forecast */
.dwgem .dwgem-status{background:transparent;border:0;padding:0;margin:12px 0 16px}
.dwgem-upcoming-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}.dwgem-upcoming-head strong{flex:1;font-size:14px;color:#183d46}
.dwgem .dwgem-upcoming-arrow{border:1px solid #cbd6db;background:#fff;color:#168589;border-radius:5px;width:28px;height:28px;padding:0;font-size:22px;line-height:1;cursor:pointer}
.dwgem-upcoming-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/5);gap:8px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding-bottom:5px}
.dwgem-upcoming-tile{min-width:0;scroll-snap-align:start;border:1px solid #dce6e8;border-radius:7px;padding:7px;background:#fff;color:#203744;font-size:11px;display:flex;flex-direction:column;gap:4px}
.dwgem-upcoming-top{display:flex;gap:6px;align-items:flex-start}.dwgem-upcoming-top>div{min-width:0;flex:1}.dwgem-upcoming-top strong{display:block;font-size:12px;line-height:1.25;overflow-wrap:anywhere}.dwgem-upcoming-top small{display:block;font-size:10px;line-height:1.3;color:#536771;overflow-wrap:anywhere}
.dwgem-upcoming-art{width:42px;height:42px;flex:0 0 42px;position:relative;display:grid;place-items:center;border-radius:4px;overflow:hidden;background:#e7f0f1;color:#168589}.dwgem-upcoming-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.dwgem-upcoming-state{margin-top:auto;font-size:10px;color:#536771}.dwgem-upcoming-state.is-live::before{content:'';display:inline-block;background:#c62828;width:6px;height:6px;border-radius:50%;margin-right:4px}.dwgem-upcoming-state.is-processing{color:#126e72}.dwgem-upcoming-tile progress{width:100%;height:5px;accent-color:#168589}.dwgem-upcoming-tile>small{font-size:10px;text-align:right}
@media(max-width:1100px){.dwgem-upcoming-track{grid-auto-columns:calc((100% - 16px)/3)}}@media(max-width:650px){.dwgem-upcoming-track{grid-auto-columns:minmax(155px,46%)}}
.dwgem .dwgem-pages{flex-wrap:wrap;gap:6px}.dwgem .dwgem-pages .dwgem-current{background:#168589;color:#fff;border-radius:5px;padding:7px 11px;font-weight:700}
