/* Shared usability improvements, layered over the existing site design. */
[hidden] { display: none !important; }
:root { --text-sec: #9bad9b; }
:focus-visible { outline: 3px solid #00e5ff; outline-offset: 4px; }
main, section[id], h2[id], h3[id] { scroll-margin-top: 88px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 10001; background: #00ff41; color: #05060a; padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 16px; border: 1px solid #00ff41; background: #0c0e1a; color: #00ff41; font: 700 14px 'Inter', sans-serif; cursor: pointer; }
.main-nav a, .blog-nav a { font-size: .72rem; letter-spacing: 1px; }
nav a[aria-current="page"] { color: #00ff41; text-decoration: underline; text-underline-offset: 5px; }
.game-name { font-size: .87rem; line-height: 1.5; }
.game-platforms, .rating-num, .api-credit, .deal-meta { font-size: .78rem; }
.game-cover { position: relative; background: linear-gradient(135deg, #0a120a, #142014); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-card { cursor: default; }
.game-rating { display: block; font-size: .78rem; color: var(--text-sec); }
.game-links { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; font-size: .8rem; }
.game-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.feed-status, .editor-note { font-size: .9rem; line-height: 1.7; color: var(--text); }
.feed-status { margin: 12px 0 24px; }
.api-notice:not([hidden]) { display: block; }
.editor-note { border-left: 3px solid #00ff41; background: #0c0e1a; padding: 16px 20px; margin: 24px 0; }
.feed-retry { font: inherit; background: transparent; color: #00ff41; border: 1px solid #00ff41; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.section-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.section-jumps a { padding: 10px 14px; border: 1px solid var(--border); text-decoration: underline; min-height: 44px; }
.gear-body h3 { font-size: .92rem; }
.gear-body p { font-size: .88rem; }
.gear-list, .gear-credit, .gear-cta { font-size: .8rem; }
.source-list { padding-left: 22px; }
.profile-link { display: inline-block; border: 1px solid #00ff41; padding: 10px 16px; min-height: 44px; margin: 8px 0; }
.fade-up { opacity: 1; transform: none; }
#hero { padding-top: 64px; padding-bottom: 36px; }
.hero-logo { margin-bottom: 24px; }
@media (max-width: 1000px) {
  .header-inner, .blog-header-inner { position: relative; justify-content: space-between; gap: 16px; height: 64px; }
  .menu-enhanced .menu-toggle { display: inline-block; flex-shrink: 0; margin-left: auto; }
  .menu-enhanced .nav-cta { display: none !important; }
  .menu-enhanced .main-nav, .menu-enhanced .blog-nav {
    position: absolute; top: 64px; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px; padding: 12px 16px 16px; background: #090b14; border-bottom: 1px solid #335233;
    overflow: auto; max-height: calc(100dvh - 80px); -webkit-mask-image: none; mask-image: none;
    box-shadow: 0 14px 20px #0008;
  }
  .menu-enhanced nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; font-size: .8rem; white-space: normal; }
}
@media (max-width: 640px) {
  #hero { padding-top: 64px; padding-bottom: 24px; }
  .header-inner, .blog-header-inner { padding-left: 16px; padding-right: 16px; }
  .section-desc, .fs-dek { font-size: 1rem; }
  .section-head-row { flex-wrap: wrap; gap: 12px; }
  .blog-shell { padding-top: 32px; }
  .post-date, .img-credit { font-size: .78rem; letter-spacing: .5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #matrix-canvas { display: none; }
}
