#modal:has(.news-dialog){width:calc(100% - 24px);max-width:970px;max-height:94vh;padding:30px}.news-heading{position:relative;padding-right:170px}.news-heading h2{font:500 36px 'Fredoka',sans-serif;margin:7px 0}.news-heading>p{font-size:12px;color:#8e7047;line-height:1.6}.news-version{position:absolute;right:0;top:33px;font-size:9px;font-weight:800;letter-spacing:.7px;padding:9px 12px;border:1px solid #8f9a66;border-radius:20px;color:#5f775a;background:#728e5d18}.news-tabs{display:flex;gap:8px;margin:19px 0 14px;border-bottom:1px solid #baa06a;padding-bottom:10px}.news-tabs button{border:1px solid #b18c54;background:#e5cb90;color:#89663c;font:700 12px 'Nunito',sans-serif;padding:10px 18px;border-radius:9px;cursor:pointer}.news-tabs button.active{background:#596f63;color:#fff1ca;border-color:#425d51;box-shadow:0 2px 0 #344b41}.news-tabs button:focus-visible{outline:2px solid #607b6d;outline-offset:3px}.news-body{max-height:61vh;overflow:auto;overscroll-behavior:contain;padding:3px 8px 5px 1px;scrollbar-color:#ac8952 #e7cd94}.news-list{display:grid;gap:15px}.news-entry{border:1px solid #b29461;border-radius:17px;overflow:hidden;background:#fff1c85c}.news-featured{display:grid;grid-template-columns:43% 57%;background:#f1ddb0}.news-art{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;padding:18px;background:radial-gradient(circle at 50% 48%,#8cb1a55c,transparent 70%),#375d51}.news-art img{width:100%;height:350px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 10px 13px #0f2e255c)}.news-orbit{position:absolute;font-size:270px;color:#e6d79d22;line-height:1;transform:rotate(-13deg)}.news-copy{padding:25px;min-width:0}.news-tag{display:inline-block;font-size:8px;letter-spacing:1.3px;font-weight:900;color:#8e6640;border:1px solid #b49760;border-radius:20px;padding:7px 10px;background:#e6cc8c4d}.news-copy h3{font:500 33px/1.12 'Fredoka',sans-serif;margin:16px 0 11px;color:#516d5d;overflow-wrap:anywhere}.news-copy p{font-size:12px;line-height:1.8;margin:10px 0;color:#7f603c}.news-copy .news-subtitle{font-weight:800;color:#7b6540;font-size:13px}.news-copy .news-detail{border-top:1px solid #b49d7155;padding-top:12px;font-size:10px;color:#92784e}.release-list{display:grid;gap:14px}.release-entry{padding:21px 24px;border:1px solid #b89962;border-radius:13px;background:#fff2ce66}.release-meta{display:flex;align-items:center;gap:12px;font-size:10px;color:#96764a;flex-wrap:wrap}.release-meta>b{font-size:15px;color:#5e7866}.release-meta>span{font-size:8px;padding:4px 7px;border-radius:6px;background:#738f5b22;color:#657e4c}.release-entry h3{font:500 24px 'Fredoka',sans-serif;margin:11px 0}.release-entry ul{padding-left:18px;margin:0;font-size:12px;line-height:1.8;color:#856742}.release-entry li+li{margin-top:8px}.news-unread:after{content:'';display:inline-block;vertical-align:middle;width:6px;height:6px;background:#9bd6a2;border-radius:50%;margin-left:6px;box-shadow:0 0 0 2px #9bd6a222}.ascension-card{margin-top:18px;padding-top:18px;border-top:2px dashed #ac8c58;display:flex;flex-direction:column;align-items:stretch;gap:8px;background:linear-gradient(transparent,#d5c8a233);border-radius:0 0 9px 9px}.ascension-card>small{font-size:9px;letter-spacing:1.1px;font-weight:900;color:#657b65}.ascension-card .evolution-pair img{height:120px}.evolution-menu .ascension-card h3{font-size:22px;min-height:0;margin:4px 0}.ascension-card p{font-size:10px;line-height:1.6;margin:0}.ascension-card b{font-size:12px}.ascension-card .gold-btn{font-size:11px;margin-top:5px;width:100%}
@media(max-width:600px){#modal:has(.news-dialog){padding:25px 16px 16px}.news-heading{padding-right:0}.news-heading>.eyebrow{font-size:7px;letter-spacing:1px}.news-heading h2{font-size:30px}.news-heading>p{font-size:10px}.news-version{position:static;display:inline-block;margin-top:3px;font-size:8px;padding:6px 10px}.news-tabs{margin:14px 0 10px}.news-tabs button{padding:9px 12px;font-size:11px}.news-body{max-height:57vh;padding-right:5px}.news-featured{grid-template-columns:minmax(0,1fr);background:#f1ddb0}.news-art{background:radial-gradient(circle at 50% 50%,#668c77,#284f43);padding:12px}.news-art img{height:250px}.news-orbit{font-size:225px}.news-copy{padding:18px}.news-copy h3{font-size:29px;margin-top:13px}.news-copy p{font-size:11px}.news-copy .news-subtitle{font-size:12px}.news-copy .news-detail{font-size:10px}.release-entry{padding:16px}.release-entry h3{font-size:23px}.release-entry ul{font-size:11px}.ascension-card .evolution-pair img{height:100px}}

.evolution-menu .evolution-grid{align-items:start}
/* Keep the close control above the positioned announcement heading. */
#modal:has(.news-dialog)>#close{position:absolute;top:12px;right:12px;z-index:5;float:none;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}
@media(max-width:700px){.news-heading{padding-right:46px}}
