[hidden] { display: none !important; }
.download-section { grid-template-columns: 1fr auto; }
.admin-dialog { width: min(760px, calc(100vw - 32px)); }
.admin-dialog textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #090d17; color: var(--text); resize: vertical; }
.admin-form-actions { display: flex; gap: 10px; }
.admin-form-actions .button { width: auto; flex: 1; }
.admin-posts { max-height: 280px; margin-top: 24px; overflow: auto; border-top: 1px solid var(--line); }
.admin-posts article { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.admin-posts small, .admin-posts strong { display: block; }
.admin-posts small { color: var(--gold2); margin-bottom: 4px; }
.admin-posts article > div:last-child { display: flex; gap: 6px; }
.loading-copy { padding: 30px; color: var(--muted); }
.feature-grid span { font-size: 15px; }
.feature-grid article p { margin-top: 18px; }
.news-grid article { height: 300px; min-height: 0; overflow: hidden; }
.news-grid article > .news-post-link { display: block; height: 100%; overflow-y: auto; padding-right: 8px; color: inherit; text-decoration: none; scrollbar-width: thin; scrollbar-color: rgba(240,211,138,.55) transparent; }
.news-grid article > .news-post-link::-webkit-scrollbar { width: 6px; }
.news-grid article > .news-post-link::-webkit-scrollbar-thumb { background: rgba(240,211,138,.55); border-radius: 6px; }
.news-post-link > span { display: inline-block; margin-top: 14px; color: var(--gold2); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.news-post-link:hover h3 { color: var(--gold2); }
.news-dialog { width: min(680px, calc(100vw - 32px)); }
.news-dialog h2 { margin: 0 0 18px; font: 600 34px/1.15 Georgia,serif; }
.news-dialog #newsDialogBody { margin: 0; color: #d5d3cf; white-space: pre-wrap; line-height: 1.75; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #090d22; }
.hero-scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: url('/assets/moonfall-character-panorama.png') center/cover no-repeat; }
.hero-cloud { position: absolute; width: max(44vw, 620px); aspect-ratio: 1; background: rgba(170,156,255,.72); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; mask-mode: luminance; mix-blend-mode: screen; opacity: .11; will-change: transform; }
.hero-cloud-one { top: -30%; left: -20%; -webkit-mask-image: url('/assets/moonfall-cloud-1-mask.png'); mask-image: url('/assets/moonfall-cloud-1-mask.png'); animation: moonfall-cloud-one 62s linear infinite; }
.hero-cloud-two { top: -38%; left: 26%; -webkit-mask-image: url('/assets/moonfall-cloud-2-mask.png'); mask-image: url('/assets/moonfall-cloud-2-mask.png'); animation: moonfall-cloud-two 78s linear infinite; opacity: .08; }
.hero-cloud-three { top: -27%; left: 66%; -webkit-mask-image: url('/assets/moonfall-cloud-3-mask.png'); mask-image: url('/assets/moonfall-cloud-3-mask.png'); animation: moonfall-cloud-three 69s linear infinite; opacity: .09; }
.hero-scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,5,14,.38),rgba(3,5,14,.06) 55%,rgba(3,5,14,.18)),linear-gradient(0deg,rgba(3,5,14,.3),transparent 45%); }
.hero-copy { position: relative; }
.news-section { background: linear-gradient(rgba(7,10,20,.84),rgba(7,10,20,.91)),url('/assets/moonfall-desert.png') center/cover no-repeat; }
@keyframes moonfall-cloud-one { from { transform: translate3d(-12%,0,0) scale(1.08); } to { transform: translate3d(150%,4%,0) scale(1.08); } }
@keyframes moonfall-cloud-two { from { transform: translate3d(-70%,2%,0) scale(.9); } to { transform: translate3d(100%,-2%,0) scale(.9); } }
@keyframes moonfall-cloud-three { from { transform: translate3d(-45%,-2%,0) scale(1.15); } to { transform: translate3d(85%,3%,0) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .hero-cloud { animation-play-state: paused; } }
@media (max-width: 800px) {
  body { overflow-x: hidden; }
  .hero-copy { width: calc(100vw - 36px); max-width: calc(100vw - 36px); min-width: 0; overflow: hidden; }
  .hero h1 { font-size: 34px; overflow-wrap: break-word; }
}
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.news-pagination button, .news-pagination span { min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: rgba(255,255,255,.08); color: var(--text); backdrop-filter: blur(12px); }
.news-pagination span { display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; }
.news-pagination button { cursor: pointer; }
.news-pagination button:hover:not(:disabled) { background: rgba(255,255,255,.15); border-color: rgba(240,211,138,.55); }
.news-pagination button:disabled { opacity: .38; cursor: default; }
