.news-modal {
    width: min(820px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 3px solid var(--hud-ink);
    border-radius: 12px 20px 12px 20px;
    background: var(--hud-panel-sand);
    color: var(--hud-ink);
    font-family: var(--ui-display);
    box-shadow: 0 6px #62351e, 0 16px 34px #140d2655;
}
.news-modal[open] { display: flex; flex-direction: column; }
.news-modal::backdrop { background: #172e3b24; }
.news-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-bottom: 3px solid var(--hud-ink);
    background: var(--hud-panel-blue);
    box-shadow: var(--hud-panel-rim);
}
.news-header > img { object-fit: contain; }
.news-header h2 {
    flex: 1;
    margin: 0;
    color: #fff1ad;
    font: 900 clamp(18px, 3vw, 27px)/1.1 var(--hud-lettering);
    -webkit-text-stroke: 1.8px var(--hud-ink);
    paint-order: stroke fill;
    text-shadow: 0 2px var(--hud-ink);
}
.news-dismiss.arcade-control {
    width: 44px;
    flex: none;
    border: 0;
    background: var(--hud-square) center / 100% 100% no-repeat;
    color: var(--hud-ink);
    box-shadow: none;
}
.news-layout { display: grid; grid-template-columns: 29% minmax(0, 1fr); min-height: 0; }
.news-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    border-right: 2px solid #985d32;
    background: url('/assets/lobby/backgrounds/porto-noticias.webp') center / cover no-repeat, #6ed1ef;
}
.news-content {
    min-width: 0;
    overflow: auto;
    padding: clamp(14px, 3vw, 26px);
    background: repeating-linear-gradient(-27deg, transparent 0 20px, #b86a3710 21px 22px, transparent 23px 41px);
}
.news-version {
    display: inline-block;
    padding: 4px 9px;
    margin-bottom: 9px;
    border: 1px solid #8a5329;
    border-radius: 4px 7px 4px 7px;
    background: #ffe191;
    font-size: 12px;
    font-weight: 800;
}
.news-version[hidden] { display: none; }
.news-feed{display:flex;gap:6px;overflow:auto;padding-bottom:8px;margin-bottom:12px;max-width:100%}
.news-feed:empty{display:none}
.news-feed-tab{flex:none;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 10px;border:2px solid #805126;border-radius:4px 8px;background:#fff2ca;color:#563014;font:800 11px var(--ui-display)}
.news-feed-tab[aria-pressed=true]{background:#28b9e9;color:#173847;box-shadow:inset 0 2px #96edff}
.news-date{display:inline-block;margin:0 0 9px 10px;font-size:10px;color:#805126}
.news-summary{font-size:14px;line-height:1.5;white-space:pre-line}
.news-summary:empty{display:none}
#newsFeatureButton{margin-top:14px}
#newsFeatureButton[hidden]{display:none}
.news-content .news-title {
    margin: 0 0 14px;
    color: var(--hud-ink);
    font: 900 clamp(18px, 2.6vw, 25px)/1.2 var(--hud-lettering);
    text-shadow: none;
}
.news-text { margin: 0; padding-left: 20px; }
.news-text li {
    padding: 8px 0 10px 4px;
    border-bottom: 1px solid #bc7d4538;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.news-text li::marker { color: #147c9c; }
#newsStatus { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.news-footer {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px 11px;
    border-top: 2px solid var(--hud-panel-seam);
    background: #c67e422a;
}
.news-footer .arcade-control { padding-inline: 20px; }
.news-modal .arcade-control:not(.news-dismiss){border:0;background:var(--hud-blue) center/100% 100% no-repeat;color:var(--hud-ink);box-shadow:none;text-shadow:0 1px #d5f6ff;min-height:43px}
@media (orientation: landscape) and (max-height: 470px) {
    .news-header { padding-block: 4px; }
    .news-art { min-height: 0; }
    .news-content { max-height: calc(100dvh - 155px); padding: 12px 17px; }
    .news-text li { padding-block: 6px; font-size: 13px; }
    .news-footer { padding-block: 4px 6px; }
}
@media (max-width: 450px) {
    .news-layout { grid-template-columns: minmax(0, 1fr); }
    .news-art { display: none; }
}
