.news-popup{position:fixed;inset:0;margin:auto;width:max-content;max-width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;overflow:visible;border:1px solid #96ae20;border-radius:26px;background:#0b0e08;color:#fff;box-shadow:0 28px 100px #0009}
.news-popup:not([open]),.news-admin:not([open]){display:none}
.news-popup::backdrop,.news-admin::backdrop{background:#000a;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.news-popup>img{display:block;width:auto;height:auto;max-width:min(498px,calc(100vw - 34px));max-height:calc(100dvh - 50px);object-fit:contain;border-radius:25px}
.news-popup>.news-video{display:block;width:min(498px,calc(100vw - 34px));height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 50px);object-fit:contain;border-radius:25px;background:#000}
.news-popup>[hidden]{display:none!important}
.news-play-sound{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;border:1px solid #d9ff0055;border-radius:30px;background:#11180eeb;color:#e8ff9c;font:600 13px/1.3 Arial,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 6px 24px #0008}
.news-play-sound:focus-visible,.news-video-controls button:focus-visible{outline:2px solid #d9ff00;outline-offset:3px}
.news-video-controls{position:absolute;z-index:3;left:12px;bottom:12px;display:flex;gap:6px}
.news-video-controls button{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #ffffff28;border-radius:10px;background:#10150ce6;color:#f5ffd9;font:15px/1 Arial,sans-serif;cursor:pointer}
.news-close{position:absolute;z-index:2;top:9px;right:9px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #ffffff18;border-radius:11px;background:#10130cdd;color:#e2e6dd;font:30px/1 Arial,sans-serif;cursor:pointer}
.news-close:focus-visible{outline:2px solid #d9ff00;outline-offset:3px}.news-popup-open{overflow:hidden}
.news-admin{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:28px;border:1px solid #4c5b2b;border-radius:24px;background:#11160f;color:#eef1e8;overflow:auto;overscroll-behavior:contain}
.news-admin h2{font-size:26px;padding-right:40px;margin:0 0 12px}.news-admin h3{margin:0 0 14px;font-size:18px}.news-admin>.muted{font-size:14px;line-height:1.65;margin-bottom:20px}
.news-admin-card{padding:20px;margin:18px 0;border:1px solid #37452a;border-radius:18px;background:#1b2315}
.news-upload{display:grid;gap:14px;padding:18px;border:1px dashed #64723c;border-radius:14px;color:#c0cba9}.news-upload input{max-width:100%;width:100%;font-size:14px;color:#e1e8d3}
.news-admin-hint{font-size:12px;line-height:1.6;color:#a8b395;margin:12px 0}.news-admin-preview{display:block;max-width:100%;max-height:320px;width:auto;height:auto;margin:18px auto;object-fit:contain;border:1px solid #4d5c30;border-radius:16px;background:#090c07}.news-admin-preview[hidden]{display:none}
.news-admin-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}.news-admin-actions .primary{width:auto;min-width:125px;min-height:46px;padding:12px 24px}.news-admin .text-button{min-height:44px;padding:10px 14px;border:1px solid #5a6b3b;border-radius:12px}.news-admin [disabled]{opacity:.5;cursor:wait}.news-admin [data-news-status]{min-height:24px;font-size:14px;line-height:1.6;color:#d2e4ae}
@media(max-width:500px){.news-admin{padding:22px 15px}.news-admin-card{padding:15px}.news-admin-actions{justify-content:stretch}.news-admin-actions>button{flex:1}.news-popup{border-radius:20px}.news-popup>img,.news-popup>.news-video{border-radius:19px}}
