:root {
  color-scheme: dark;
  font-family: 'Prompt', system-ui, sans-serif;
  background: #080908;
  color: #f7f7f2;
  --yellow: #ffd500;
  --panel: #151715;
  --line: #393b39;
  --muted: #a7aaa7;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 20%, #29110d 0, transparent 35%), #080908; }
button, input, select, textarea { font: inherit; }
.app-shell { width: min(1240px, 100%); min-height: 100vh; margin: auto; padding: 30px 24px 116px; }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.app-header h1 { margin: 4px 0 0; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.eyebrow { color: var(--yellow); font-size: .78rem; font-weight: 800; letter-spacing: .14em; margin: 0; }
.preview-badge { border: 1px solid #665900; border-radius: 999px; color: var(--yellow); padding: 8px 13px; white-space: nowrap; }
.route-outlet { min-height: 480px; }
.route-page { animation: route-in .18s ease-out; }
.route-page > header { margin-bottom: 14px; }
.route-page h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin: 5px 0; }
.route-page p { color: var(--muted); line-height: 1.55; }
.route-page > header > p:last-child { margin: 5px 0 0; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mock-card { min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, #181a18, #101110); }
.mock-card strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.mock-card p { margin: 0; }
.route-notice { border: 1px dashed #695c00; border-radius: 18px; padding: 14px 18px; color: #d5c867; margin: 0 0 20px; }
.route-loading, .route-error { min-height: 360px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.network-status{position:fixed;z-index:45;top:12px;left:50%;translate:-50% 0;max-width:calc(100% - 28px);border:1px solid #665900;border-radius:999px;background:#252000;padding:8px 13px;color:#ffe45c;font-size:.72rem;box-shadow:0 8px 24px #0008}.network-status.online{border-color:#236b40;background:#102b1b;color:#8ae7ad}.network-status.offline{border-color:#a6423d;background:#2a1110;color:#ff9a93}
.route-error button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--yellow); color: #111; font-weight: 800; cursor: pointer; }
.bottom-nav { position: fixed; z-index: 20; left: 50%; bottom: 18px; translate: -50% 0; width: min(1192px, calc(100% - 32px)); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; border: 1px solid #444; border-radius: 28px; background: rgba(19, 20, 19, .94); backdrop-filter: blur(18px); box-shadow: 0 18px 50px #000b; }
.bottom-nav a { min-width: 0; height: 62px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 19px; color: #a9aca9; text-decoration: none; transition: .18s ease; }
.bottom-nav a span { font-size: 1.25rem; }
.bottom-nav a b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-nav a[aria-current="page"] { background: var(--yellow); color: #111; }
@keyframes route-in { from { opacity: 0; transform: translateY(5px); } }
@media (max-width: 680px) {
  .app-shell { padding: 18px 16px 104px; }
  .app-header { margin-bottom: 13px; }
  .app-header h1 { font-size: 1.55rem; }
  .route-page > header { margin-bottom: 11px; }
  .route-page > header > p:last-child { font-size: .82rem; }
  .preview-badge { font-size: .72rem; padding: 6px 9px; }
  .mock-grid { grid-template-columns: 1fr; }
  .bottom-nav { bottom: 10px; width: calc(100% - 20px); gap: 4px; padding: 7px; border-radius: 22px; }
  .bottom-nav a { height: 57px; border-radius: 16px; }
  .bottom-nav a b { display: none; }
  .bottom-nav a[aria-current="page"] { grid-column: span 1; }
  .bottom-nav a[aria-current="page"] b { display: block; font-size: .74rem; }
}
