.upd-over { position: absolute; inset: 0; z-index: 25; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: calc(var(--sa-t) + var(--edge)) calc(var(--sa-r) + var(--edge)) calc(var(--sa-b) + var(--edge)) calc(var(--sa-l) + var(--edge)); background: rgba(4, 10, 36, 0.62); font-family: var(--f-font); color: #fff; animation: updFade 0.2s ease-out; }
.upd-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: min(100%, max(calc(640px * var(--ui-k)), calc(800 * var(--u)))); max-height: 100%; min-height: min(100%, max(calc(260px * var(--ui-k)), calc(330 * var(--u)))); border-radius: calc(12px * var(--ui-k)); overflow: hidden; background: linear-gradient(135deg, var(--f-bg1), var(--f-bg2) 70%, var(--f-bg3)); box-shadow: inset 0 0 0 calc(2px * var(--ui-k)) rgba(255, 255, 255, 0.22), 0 calc(16px * var(--ui-k)) calc(44px * var(--ui-k)) rgba(0, 0, 0, 0.5); animation: updIn 0.26s cubic-bezier(0.2, 1.3, 0.4, 1); }
.upd-card.no-art { grid-template-columns: minmax(0, 1fr); width: min(100%, max(calc(440px * var(--ui-k)), calc(520 * var(--u)))); min-height: 0; }
.upd-art { position: relative; min-height: 0; background: rgba(4, 16, 60, 0.5); }
.upd-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.upd-art::after { content: ''; position: absolute; inset: 0; box-shadow: inset calc(-6px * var(--ui-k)) 0 0 var(--f-yellow); pointer-events: none; }
.upd-main { display: flex; flex-direction: column; gap: max(calc(8 * var(--u)), calc(6px * var(--ui-k))); min-width: 0; min-height: 0; padding: max(calc(22 * var(--u)), calc(14px * var(--ui-k))) max(calc(22 * var(--u)), calc(14px * var(--ui-k))) max(calc(20 * var(--u)), calc(12px * var(--ui-k))); }
.upd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(10px * var(--ui-k)); }
.upd-kick { margin-top: calc(6px * var(--ui-k)); display: inline-flex; align-items: center; gap: calc(6px * var(--ui-k)); min-width: 0; padding: calc(4px * var(--ui-k)) calc(10px * var(--ui-k)); border-radius: calc(6px * var(--ui-k)); background: var(--f-yellow); color: var(--f-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: max(calc(14 * var(--u)), calc(12px * var(--ui-kf))); line-height: 1.1; }
.upd-kick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upd-kick svg { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: var(--f-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.upd-title { margin: 0; font-size: max(calc(34 * var(--u)), calc(22px * var(--ui-kf))); line-height: 1; overflow-wrap: anywhere; }
.upd-text { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; white-space: pre-line; overflow-wrap: anywhere; font-weight: 500; font-size: max(calc(17 * var(--u)), calc(14px * var(--ui-kf))); line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.upd-text::-webkit-scrollbar { display: none; }
.upd-foot { display: flex; align-items: center; gap: calc(10px * var(--ui-k)); margin-top: max(calc(6 * var(--u)), calc(4px * var(--ui-k))); }
.upd-ver { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--f-dim); font-size: max(calc(14 * var(--u)), calc(12px * var(--ui-kf))); }
.upd-go { flex: none; max-width: 100%; min-width: max(calc(150px * var(--ui-k)), calc(190 * var(--u))); font-size: max(calc(22 * var(--u)), calc(17px * var(--ui-kf))); min-height: max(calc(52px * var(--ui-k)), calc(58 * var(--u))); }
.upd-go span { overflow: hidden; text-overflow: ellipsis; }
.upd-x { margin: calc(-6px * var(--ui-k)) calc(-6px * var(--ui-k)) 0 0; display: grid; place-items: center; padding: 0; line-height: 1; background: rgba(4, 16, 60, 0.45); }
.upd-x:active { transform: translateY(calc(2px * var(--ui-k))); filter: brightness(0.92); }
@media (max-height: 460px) {
  .upd-card { width: min(100%, max(calc(640px * var(--ui-k)), 92vw)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .upd-card.no-art { width: min(100%, max(calc(440px * var(--ui-k)), 64vw)); }
  .upd-title { font-size: max(calc(30 * var(--u)), calc(22px * var(--ui-kf))); }
  .upd-text { font-size: max(calc(17 * var(--u)), calc(15px * var(--ui-kf))); }
}
@keyframes updFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes updIn { from { opacity: 0; transform: translateY(calc(14px * var(--ui-k))) scale(0.96); } to { opacity: 1; transform: none; } }
.upd-old { margin-top: calc(10px * var(--ui-k)); padding-top: calc(8px * var(--ui-k)); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.upd-old b { display: block; font-weight: 700; color: var(--f-yellow); margin-bottom: calc(2px * var(--ui-k)); }
