/* wiki.css — Aussehen der Website (Wiki, Neuigkeiten, Impressum, Datenschutz) im Stil des Spiels (10.11.2026):
   Weltraum-Hintergrund, Glas-Karten mit Holo-Rand, Gold für Werte, Fredoka für Überschriften, Exo 2 für Text.
   Schriften und Grundfarben kommen aus css/theme.css (vor dieser Datei geladen). Keine Inline-Styles nötig.
   Seit 14.11.2026 geteilt: hier der Grundaufbau, dazu wiki-skin.css (Spiel-Optik) und wiki-parts.css (Bausteine
   einzelner Seiten); Reihenfolge in app/Wiki/Page.php. */


:root {   /* Grundfarben, Nachtblau und Schriften: css/theme.css (gemeinsam mit dem Spiel, 12.11.2026) */
    --glass: rgba(9, 20, 34, 0.82); --card: rgba(16, 33, 50, 0.78); --card-hover: rgba(24, 48, 72, 0.9);
    --line-soft: rgba(57, 215, 255, 0.14); --muted: #95abbd; --violet: #c9a8ff;
    --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); font: 400 16px/1.55 'Exo 2', system-ui, sans-serif;
    background: linear-gradient(rgba(7, 11, 22, 0.78), rgba(7, 11, 22, 0.92)), url('/assets/start-bg.webp') center / cover fixed, var(--bg-deep);
}
a { color: var(--holo-light); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
h1, h2, h3 { font-family: 'Fredoka', 'Exo 2', sans-serif; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 6px; }
h2 { font-size: 1.35rem; margin: 34px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
h2 small, h1 small { font-family: 'Exo 2', sans-serif; font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
h3 { font-size: 1.05rem; margin: 0 0 4px; }
.muted, small { color: var(--muted); }
img { vertical-align: middle; }

/* Kopf: Logo · Suche · Sprache */
.w-top {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, calc((100% - 1100px) / 2));
    background: rgba(7, 11, 22, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.w-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 600 1.15rem 'Fredoka', sans-serif; white-space: nowrap; }
.w-brand b { color: var(--gold); font-weight: 600; }
.w-brand:hover { text-decoration: none; color: #fff; }
.w-search { flex: 1; display: flex; max-width: 520px; margin-left: auto; }
.w-search input {
    flex: 1; min-width: 0; padding: 10px 14px; font: inherit; color: var(--text); background: rgba(16, 33, 50, 0.9);
    border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; outline: none;
}
.w-search input:focus { border-color: var(--holo); box-shadow: 0 0 0 3px rgba(57, 215, 255, 0.2); }
.w-search button {
    padding: 10px 16px; font: 600 0.95rem 'Exo 2', sans-serif; color: #06121f; background: linear-gradient(#7fe6ff, #39c4f0);
    border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
}
.w-lang { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; white-space: nowrap; }

/* Bereiche: Knöpfe mit Bild, am Handy waagerecht wischbar */
/* Ohne sichtbaren Scrollbalken (Jens 10.11.2026: weißer Balken unter Windows — 100vw zählt dort die Bildlaufleiste
   mit, die Leiste war ein paar Pixel zu breit). Mittig, wenn alles passt; sonst am Handy wischbar. */
.w-nav {
    display: flex; justify-content: safe center; gap: 8px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none;
    background: rgba(9, 20, 34, 0.7); border-bottom: 1px solid var(--line-soft);
}
.w-nav::-webkit-scrollbar { display: none; }
.w-nav a {
    display: flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px 6px 8px; color: var(--text); font-weight: 600; font-size: 0.95rem;
    background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px;
}
.w-nav a:hover { background: var(--card-hover); border-color: var(--line); text-decoration: none; }
.w-nav a.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; color: var(--gold); }
.w-nav img { width: 28px; height: 28px; object-fit: contain; }

.w-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 22px 16px 40px; }
.w-hero { display: flex; align-items: center; gap: 18px; margin: 6px 0 18px; }
.w-hero > img, .w-hero > svg { flex: none; width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.w-hero--big { padding: 10px 14px; }
.w-hero--big > img, .w-hero--big > svg, .w-float > img, .w-float > svg { flex: none; width: 160px; height: 160px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)); }
.w-hero__body { flex: 1; min-width: 0; }
.w-lead { margin: 0; font-size: 1.08rem; color: var(--muted); }
.w-crumbs { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); }
.w-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0 0; }
.w-facts dt { color: var(--muted); }
.w-facts dd { margin: 0; font-weight: 600; }
.w-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }

/* Startseite: große Karten */
.w-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.w-card {
    display: flex; align-items: center; gap: 14px; padding: 8px 10px; color: var(--text); transition: transform 0.14s, filter 0.14s;
}
.w-card:hover { transform: translateY(-3px); filter: brightness(1.15) drop-shadow(0 0 10px rgba(57, 215, 255, 0.45)); text-decoration: none; color: #fff; }
.w-card img { flex: none; transition: transform 0.2s; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.w-card b { display: block; font: 600 1.15rem 'Fredoka', sans-serif; margin-bottom: 2px; }
.w-card small { display: block; font-size: 0.88rem; line-height: 1.4; }
.w-more { margin-top: 18px; text-align: right; }

/* Kachel-Raster: Planeten, Waren */
.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.w-grid--small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.w-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 10px; text-align: center;
    color: var(--text); background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
    transition: transform 0.12s, border-color 0.12s;
}
.w-tile:hover { transform: translateY(-2px); border-color: var(--holo); text-decoration: none; color: #fff; }
.w-tile > img, .w-tile > svg { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.w-grid--small .w-tile > img, .w-grid--small .w-tile > svg { width: 56px; height: 56px; }
.w-tile b { font-size: 0.98rem; }
.w-tile__no { position: absolute; top: 6px; left: 9px; font-size: 0.75rem; color: var(--muted); }
.w-tile__ores { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; font-size: 0.75rem; color: var(--muted); }
.w-tile__ores img, .w-tile__ores svg { width: 18px; height: 18px; filter: none; }
.w-tile__price { font-size: 0.85rem; }

/* Werte und Verweise */
.w-cur { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--gold); white-space: nowrap; }
.w-cur img { width: 18px; height: 18px; }
.w-good { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.w-good img, .w-good svg { width: 24px; height: 24px; object-fit: contain; }
.w-amt { color: var(--muted); white-space: nowrap; }
.w-plus, .w-arrow { color: var(--muted); margin: 0 4px; }
.w-recipe { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px; }
.w-list { padding-left: 20px; }
.w-list li { margin: 4px 0; }

/* Tabellen */
.w-scroll { overflow-x: auto; }
.w-table { width: 100%; border-collapse: collapse; background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.w-table--narrow { width: auto; min-width: 320px; }
.w-table th, .w-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.w-table th { font-size: 0.85rem; color: var(--muted); font-weight: 600; background: rgba(57, 215, 255, 0.06); }
.w-table tr:last-child td { border-bottom: 0; }
.w-table tbody tr:hover { background: rgba(57, 215, 255, 0.05); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }

/* Forschung, Module, Belohnungen: Karten mit Bild */
.w-research { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.w-rcard { display: flex; gap: 14px; padding: 14px; background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); scroll-margin-top: 140px; }
.w-rcard:target { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 204, 85, 0.35); }
.w-rcard > img, .w-rcard > svg { flex: none; width: 56px; height: 56px; object-fit: contain; }
.w-rcard p { margin: 4px 0; font-size: 0.92rem; }
.w-cost { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }

/* Ablauf auf der Einstiegsseite */
.w-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 10px; }
.w-steps li { counter-increment: step; position: relative; padding: 12px 14px 12px 56px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.w-steps li::before {
    content: counter(step); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center;
    font: 700 0.95rem 'Fredoka', sans-serif; color: #06121f; background: var(--gold); border-radius: 50%;
}
.w-steps b { display: block; color: var(--gold); }
.w-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.w-flow span { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; padding: 12px 8px; text-align: center; font-size: 0.88rem; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.w-flow span img, .w-flow span svg { width: 48px; height: 48px; object-fit: contain; }
.w-flow i { font-style: normal; color: var(--gold); font-size: 1.4rem; }

/* Galaxie-Arten: Farbe wie der Nebel im Spiel */
.w-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.w-kind { padding: 14px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--card); }
.w-kind b { display: block; font: 600 1.05rem 'Fredoka', sans-serif; }
.w-kind span { color: var(--gold); font-weight: 600; }
.w-kind--nebula { background: linear-gradient(135deg, rgba(120, 70, 200, 0.45), rgba(40, 160, 170, 0.3)); }
.w-kind--cloud { background: linear-gradient(135deg, rgba(40, 110, 210, 0.45), rgba(50, 170, 110, 0.3)); }
.w-kind--cluster { background: linear-gradient(135deg, rgba(200, 120, 50, 0.45), rgba(150, 80, 50, 0.3)); }
.w-kind--spiral { background: linear-gradient(135deg, rgba(210, 70, 160, 0.45), rgba(150, 70, 200, 0.3)); }

/* Hinweis, Suche, Patchnotes, Blättern */
.w-tip { margin: 18px 0; padding: 12px 16px; background: rgba(255, 204, 85, 0.08); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.w-hits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.w-hits a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text); background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.w-hits a:hover { border-color: var(--holo); text-decoration: none; }
.w-hits img, .w-hits svg { width: 32px; height: 32px; object-fit: contain; }
.w-hits b { display: block; }
.w-hits small { display: block; font-size: 0.8rem; }
.w-note-block { margin: 0 0 18px; padding: 0 10px 4px; }
.w-note-block h2 { border: 0; margin-top: 14px; }
.w-tag { display: inline-block; margin: 10px 0 0; padding: 2px 10px; font: 600 0.85rem 'Exo 2', sans-serif; border-radius: 999px; }
.w-tag--new { color: #06121f; background: var(--ok); }
.w-tag--change { color: #06121f; background: var(--holo-light); }
.w-tag--fix { color: #06121f; background: var(--warn); }
.w-pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }

/* ── Spielrahmen (10.11.2026): derselbe gemalte Comic-Rahmen wie die Fenster im Spiel (assets/ui/frame-window.png,
   9-Slice), aber ohne seine blaue Füllung — innen dunkles Glas wie auf den übrigen Seiten. Nur für die großen,
   wichtigen Flächen; Karten bleiben leicht, sonst wird es eine Wand aus Rahmen. ── */
.w-hero--big, .w-note-block, .w-banner {
    border-style: solid; border-color: transparent; border-width: 22px; border-radius: 0;
    border-image: url('/assets/ui/frame-window.png') 80 / 22px stretch;
    background: var(--glass); background-clip: padding-box;
}

/* Karten der Startseite: Glas, oben ein Streifen in der Farbe des Bereichs, Icon in einem leuchtenden Kreis */
.w-card { position: relative; overflow: hidden; padding: 16px; background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.w-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.w-card:hover { border-color: var(--accent); background: var(--card-hover); filter: none; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.w-card__icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 70%); }
.w-card:hover img { transform: scale(1.1) rotate(-5deg); }
/* ── Akzentfarbe je Bereich (Klasse am body aus Page::head): Unterstrich der Überschrift, aktiver Reiter, Anzeigen ── */
body { --accent: var(--holo); }
.w-sec-start { --accent: #7ee08a; }
.w-sec-planets { --accent: #39d7ff; }
.w-sec-goods { --accent: #ffb04a; }
.w-sec-production { --accent: #ff7b6b; }
.w-sec-research { --accent: #b48cff; }
.w-sec-galaxy { --accent: #ff6fd0; }
.w-sec-overseers { --accent: #ffcc55; }
.w-sec-rewards { --accent: #5cf0c8; }
.w-card--start { --accent: #7ee08a; } .w-card--planets { --accent: #39d7ff; } .w-card--goods { --accent: #ffb04a; } .w-card--production { --accent: #ff7b6b; }
.w-card--research { --accent: #b48cff; } .w-card--galaxy { --accent: #ff6fd0; } .w-card--overseers { --accent: #ffcc55; } .w-card--rewards { --accent: #5cf0c8; }
h2 { border-bottom-color: color-mix(in srgb, var(--accent) 45%, transparent); }
h1::after { content: ''; display: block; width: 64px; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.w-banner h1::after, .w-hero--planet h1::after { margin-left: 0; }
.w-nav a.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); }
.w-crumbs a { color: var(--accent); }

/* ── Planetenseite: Planet schwebt (nur auf und ab, das Licht bleibt oben links), Erz-Balken, Anzeigen ── */
.w-float { flex: none; animation: w-float 6s ease-in-out infinite; }
@keyframes w-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.w-orebar { margin: 14px 0 0; }
.w-orebar > svg { display: block; width: 100%; height: 14px; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.5); }
.w-orebar ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 0.88rem; }
.w-orebar li { display: inline-flex; align-items: center; gap: 6px; }
.w-orebar b { color: var(--gold); }
.w-meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; margin: 14px 0 0; }
.w-meter { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 0.88rem; text-align: left; }
.w-meter span { color: var(--muted); }
.w-meter b { font-variant-numeric: tabular-nums; }
.w-meter svg { grid-column: 1 / -1; width: 100%; height: 8px; }
.w-meter__track { fill: rgba(255, 255, 255, 0.1); }
.w-meter__fill { fill: var(--accent); }

/* ── Kopfbild der Startseite: Station in der Mitte, Planeten kreisen, ein Schiff fliegt vorbei. Reines CSS;
   die Bahn dreht, das Bild darauf dreht gegenläufig mit — so bleibt der Planet aufrecht und das Licht oben links. ── */
.w-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); align-items: center; gap: 10px; margin: 6px 0 26px; overflow: hidden;
    background: linear-gradient(90deg, rgba(5, 9, 20, 0.92) 0%, rgba(5, 9, 20, 0.6) 45%, rgba(5, 9, 20, 0.05) 100%), url('/assets/sprites/nebula.webp') center / cover, url('/assets/sprites/background.webp') center / cover, var(--bg-deep);
    background-clip: padding-box; }
.w-banner__text { position: relative; z-index: 2; padding: 18px 8px 18px 22px; }
.w-banner__text h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.w-banner__text h1 b { color: var(--gold); font-weight: 600; }
.w-banner__text p { margin: 8px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.w-banner__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.w-banner__cta .w-play__btn { padding: 11px 22px; font-size: 1.05rem; }
.w-ghost { display: inline-block; padding: 11px 20px; font: 600 1.05rem 'Fredoka', sans-serif; color: var(--text); border: 2px solid var(--line); border-radius: 999px; }
.w-ghost:hover { border-color: var(--holo); color: #fff; text-decoration: none; }
.w-scene { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; margin: -10px 0; }
.w-scene__station { position: absolute; left: 27%; top: 27%; width: 46%; height: 46%; object-fit: contain; filter: drop-shadow(0 0 22px rgba(57, 215, 255, 0.45)); animation: w-float 7s ease-in-out infinite; }
.w-orbit { position: absolute; border: 1px dashed rgba(127, 220, 255, 0.22); border-radius: 50%; animation: w-spin linear infinite; }
.w-orbit > img { position: absolute; left: 50%; top: 0; object-fit: contain; animation: inherit; animation-direction: reverse; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); }
.w-orbit--1 { inset: 16%; animation-duration: 26s; }
.w-orbit--1 > img { width: 19%; height: 19%; margin: -9.5% 0 0 -9.5%; }
.w-orbit--2 { inset: 7%; animation-duration: 44s; animation-delay: -14s; }
.w-orbit--2 > img { width: 19%; height: 19%; margin: -9.5% 0 0 -9.5%; }
.w-orbit--3 { inset: 2%; animation-duration: 70s; animation-delay: -40s; }
.w-orbit--3 > img { width: 16%; height: 16%; margin: -8% 0 0 -8%; }
@keyframes w-spin { to { transform: rotate(360deg); } }
.w-scene__ship { position: absolute; left: 0; top: 0; width: 15%; z-index: 3; offset-path: path('M -40 300 C 80 240, 160 120, 420 60'); offset-rotate: auto; animation: w-ship 9s ease-in-out infinite; opacity: 0; }
@keyframes w-ship { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 70% { opacity: 1; } 80%, 100% { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .w-float, .w-orbit, .w-orbit > img, .w-scene__station { animation: none; }
    .w-scene__ship { display: none; }
    .w-card, .w-card img, .w-tile { transition: none; }
}

.w-usp { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--text); }
.w-usp li::before { content: '✓'; margin-right: 6px; color: var(--ok); font-weight: 700; }

/* Startseite: das letzte Update als Grund zum Wiederkommen */
.w-news { margin: 26px 0 0; padding: 16px 20px; background: var(--glass); border: 1px solid var(--line-soft); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.w-news__tag { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; }
.w-news h2 { margin: 4px 0 8px; padding: 0; border: 0; }
.w-news ul { margin: 0 0 10px; padding-left: 20px; }
.w-news li { margin: 3px 0; }

/* Fuß */
.w-play { margin: 40px 0 0; text-align: center; }
.w-play__btn {
    display: inline-block; padding: 14px 28px; font: 600 1.15rem 'Fredoka', sans-serif; color: #241500;
    background: linear-gradient(#ffe08a, #f0b83a); border-radius: 999px; box-shadow: 0 6px 18px rgba(240, 184, 58, 0.35);
}
.w-play__btn:hover { color: #000; text-decoration: none; filter: brightness(1.08); }
.w-foot { padding: 18px 16px 28px; text-align: center; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line-soft); background: rgba(7, 11, 22, 0.8); }
.w-foot p { margin: 4px 0; }
.w-foot a { color: var(--text); }

@media (max-width: 980px) { .w-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Handy */
@media (max-width: 640px) {
    .w-cards { grid-template-columns: 1fr; }
    .w-usp { justify-content: center; }
    .w-banner { background: linear-gradient(180deg, rgba(5, 9, 20, 0.1) 0%, rgba(5, 9, 20, 0.85) 55%), url('/assets/sprites/nebula-portrait.webp') center / cover, url('/assets/sprites/background-portrait.webp') center / cover, var(--bg-deep); background-clip: padding-box; }
    body { font-size: 15px; }
    .w-top { flex-wrap: wrap; gap: 8px; }
    .w-brand span { font-size: 1rem; }
    .w-lang { margin-left: auto; }
    .w-search { order: 3; flex-basis: 100%; max-width: none; }
    .w-hero { gap: 12px; }
    .w-hero > img, .w-hero > svg { width: 64px; height: 64px; }
    .w-hero--big { flex-direction: column; text-align: center; }
    .w-hero--big h1::after { margin: 8px auto 0; }
    .w-hero--big .w-orebar ul { justify-content: center; }
    .w-float > img, .w-float > svg { width: 128px; height: 128px; }
    .w-banner { grid-template-columns: 1fr; text-align: center; }
    .w-banner h1::after { margin: 8px auto 0; }
    .w-banner__cta { justify-content: center; }
    .w-banner__text p { margin-left: auto; margin-right: auto; }
    .w-scene { order: -1; max-width: 240px; }
    .w-hero--big .w-facts { justify-content: center; }
    .w-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .w-tile > img, .w-tile > svg { width: 56px; height: 56px; }
    .w-research { grid-template-columns: 1fr; }
    .w-flow span { width: calc(50% - 20px); }
    .w-flow i { display: none; }
}
