.jm-news-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;background:#fff;border:3px solid #111;border-radius:50%;cursor:pointer}
.jm-news-bell span{position:absolute;right:0;top:0;width:12px;height:12px;border-radius:50%;background:#e43835;border:2px solid white}
.jm-news-bell span[hidden]{display:none}.jm-news-home{position:fixed;right:22px;bottom:28px;z-index:100}
.jm-news-dialog{position:fixed;inset:0;margin:auto;width:min(860px,calc(100% - 24px));max-height:90dvh;box-sizing:border-box;border:3px solid #111;border-radius:8px;padding:0;background:white;color:#151a20;animation:jm-news-in .18s ease-out}
.jm-news-dialog::backdrop{background:rgba(0,0,0,.55)}.jm-news-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #ddd}
.jm-news-dialog h2{font-size:24px;margin:0}.jm-news-content{padding:0 20px 20px}.jm-news-dialog section{padding:18px 0;border-bottom:1px solid #ddd}.jm-news-dialog h3{font-size:22px;margin:0 0 6px}.jm-news-dialog time{font-size:14px;color:#555}
.jm-news-banner{display:block;width:100%;height:auto;margin:12px 0;aspect-ratio:2/1;object-fit:contain}
.jm-news-actions{display:flex;gap:10px;flex-wrap:wrap}.jm-news-dialog button,.jm-news-dialog a{font:700 16px/1.4 system-ui;min-height:44px;padding:10px 14px;border:2px solid #222;border-radius:8px;background:white;color:#161616;cursor:pointer;text-decoration:none;box-sizing:border-box}
.jm-news-actions a{background:#ffde36}.jm-news-dialog header button{font-size:24px;padding:2px 12px}
@media(max-width:640px){.arcade-page .top-actions{display:flex}.arcade-page .top-actions>*:not(.jm-news-bell){display:none}}
.jm-news-dialog[open]{display:flex;flex-direction:column;height:min(740px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
.jm-news-dialog header{flex:none;padding:10px 16px}
.jm-news-content{flex:1;min-height:0;padding:0 16px}
.jm-news-dialog section{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px;padding:10px 0;border:0}
.jm-news-banner{height:100%;min-height:0;margin:0;aspect-ratio:auto;object-fit:contain}
.jm-news-pager{display:flex;flex:none;align-items:center;justify-content:center;gap:20px;padding:8px 16px}
.jm-news-pager[hidden]{display:none}.jm-news-pager span{min-width:48px;text-align:center}.jm-news-pager button{width:48px;font-size:24px;padding:0}.jm-news-pager button:disabled{opacity:.3;cursor:default}
@media(max-width:540px){.jm-news-dialog h2,.jm-news-dialog h3{font-size:18px}.jm-news-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.jm-news-dialog button,.jm-news-dialog a{font-size:14px;padding:8px}.jm-news-pager button{font-size:24px;padding:0}}
@media(max-height:480px){.jm-news-dialog header{padding:4px 12px}.jm-news-dialog h2,.jm-news-dialog h3{font-size:16px}.jm-news-dialog time{display:none}.jm-news-dialog section{grid-template-rows:auto minmax(0,1fr) auto;padding:4px 0}.jm-news-actions{display:flex;gap:4px}.jm-news-dialog button,.jm-news-dialog a{font-size:13px;padding:6px;min-height:36px}.jm-news-pager{padding:3px}.jm-news-pager button{font-size:24px}}
@keyframes jm-news-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.jm-news-dialog{animation:none}}
