@font-face {
    font-family: "MinecraftFive";
    src: url("/assets/fonts/minecraft-five-bold.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Eigene Familie statt "Noto Sans" mit Gewicht 900: die Condensed-Breite
   wuerde sonst ueberall dort aufschlagen, wo im Fliesstext 900 steht. */
@font-face {
    font-family: "NotoSansCondBlack";
    src: url("/assets/fonts/NotoSans_Condensed-Black.woff2") format("woff2"),
         url("/assets/fonts/NotoSans_Condensed-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --bg: #000;
    --panel: #0d0d0d;
    --panel-deep: #080808;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.26);
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.62);
    --text-muted: rgba(255, 255, 255, 0.40);
    --discord: #5865F2;
    --online: #3BA55D;
    --danger: #ff4d4d;
    --nav-h: 64px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
            Roboto, Helvetica, Arial, sans-serif;
    --font-body: "Noto Sans", "Noto Sans Fallback", var(--font);
    --font-display: "NotoSansCondBlack", var(--font-body);
    --font-mc: MinecraftFive, monospace;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
    --font-mc-mono: "Minecraft", "Monocraft", var(--font-mono);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}
html,
body {
    width: 100%;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* overflow:hidden allein haelt iOS Safari nicht auf — der Body muss aus dem
   Fluss, sonst scrollt die Seite unter dem offenen Menue weiter. Das top
   setzt main.js, damit die Position beim Schliessen erhalten bleibt. */
body.no-scroll {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 6px;
}
.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}
.mcbtn {
    --h: 44px;
    --px: 20px;
    --sink: 6px;
    --fs: 13px;
    display: inline-flex;
    padding: 0 0 var(--sink);
    border: 2px solid var(--socket-border, rgba(255, 255, 255, 0.26));
    border-radius: 0;
    background: var(--socket);
    font-family: var(--font-mc);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease, padding-bottom 0.06s ease;
}
.mcbtn:hover {
    background: var(--socket-hover);
    border-color: var(--socket-border-hover, #fff);
}
.mcbtn:active { padding-bottom: 0; }
.mcbtn-face {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--h);
    padding-left: var(--px);
    padding-right: var(--px);
    border: 2px solid var(--face-border, rgba(255, 255, 255, 0.4));
    background: var(--face);
    color: var(--face-text, #fff);
    font-size: var(--fs);
    font-weight: normal;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: none;
    font-smooth: never;
    line-height: 1;
    white-space: nowrap;
    text-shadow: var(--face-shadow, 2px 2px 0 rgba(0, 0, 0, 0.5));
    transition: background-color 0.12s ease, border-color 0.12s ease;
}
.mcbtn:hover .mcbtn-face {
    background: var(--face-hover);
    border-color: var(--face-border-hover, rgba(255, 255, 255, 0.3));
}
.mcbtn:active .mcbtn-face {
    height: calc(var(--h) + var(--sink));
    padding-top: var(--sink);
}
.mcbtn-face svg { flex-shrink: 0; }
button.mcbtn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-family: var(--font-mc);
}
button.mcbtn[disabled] {
    opacity: 0.55;
    pointer-events: none;
}
.mcbtn-dark {
    --face: rgba(16, 16, 16, 0.78);
    --face-hover: rgba(16, 16, 16, 0.6);
    --socket: rgba(0, 0, 0, 0.5);
    --socket-hover: rgba(0, 0, 0, 0.6);
}
.mcbtn-green {
    --face: #12c562;
    --face-hover: rgba(18, 197, 98, 0.8);
    --socket: rgba(18, 197, 98, 0.4);
    --socket-hover: rgba(18, 197, 98, 0.5);
}
.mcbtn-pink {
    --face: #ff2d6f;
    --face-hover: rgba(255, 45, 111, 0.8);
    --socket: rgba(255, 45, 111, 0.4);
    --socket-hover: rgba(255, 45, 111, 0.5);
}
.mcbtn-discord {
    --face: #5865F2;
    --face-hover: rgba(88, 101, 242, 0.8);
    --socket: rgba(88, 101, 242, 0.4);
    --socket-hover: rgba(88, 101, 242, 0.5);
}
.mcbtn-light {
    --face: #ffffff;
    --face-hover: rgba(255, 255, 255, 0.85);
    --face-text: var(--discord);
    --face-border: rgba(0, 0, 0, 0.2);
    --face-border-hover: rgba(0, 0, 0, 0.3);
    --face-shadow: none;
    --socket: rgba(255, 255, 255, 0.45);
    --socket-hover: rgba(255, 255, 255, 0.55);
    --socket-border: rgba(0, 0, 0, 0.2);
    --socket-border-hover: rgba(0, 0, 0, 0.35);
}
.mcbtn-sm { --h: 34px; --px: 15px; --sink: 5px; --fs: 11px; }
.mcbtn-lg { --h: 48px; --px: 24px; --sink: 6px; --fs: 15px; }
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: #000;
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-brand img {
    height: 38px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1px;
    color: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    transition: color 0.18s ease;
}
.nav-links a:hover { color: #fff; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-account {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px 5px 5px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-account:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--line-strong);
}
.nav-account img {
    width: 26px;
    height: 26px;
    display: block;
    image-rendering: pixelated;
}
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -10px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 23px; }
.nav-burger span:nth-child(3) { top: 29px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 99;

    /* Ohne Deckel reicht das Menue auf kleinen Geraeten unter den Bildschirm.
       dvh statt vh, sonst rechnet Safari die Adressleiste falsch mit. */
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    background: #000;
    border-bottom: 1px solid var(--line);
    padding: 14px 28px calc(26px + env(safe-area-inset-bottom));
    display: none;
    flex-direction: column;

    /* Nur opacity zu nullen reicht nicht: das Panel liegt weiter ueber der
       Seite und schluckt jeden Tap in der oberen Bildschirmhaelfte. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-mobile.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.nav-mobile > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 0;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.06);
}
.nav-mobile > a:active { color: #fff; }
.nav-mobile-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0 16px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    text-decoration: none;
}
.nav-mobile-user img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border: 1px solid var(--line);
}
.nav-mobile-user span {
    font-family: var(--font-body);
    font-size: 17px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-mobile-user small {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.nav-mobile-actions .mcbtn { flex: 1 1 140px; }
.nav-mobile-actions .mcbtn-face { white-space: nowrap; }
.nav-mobile-logout {
    display: flex;
    flex: 1 1 140px;
}
.nav-mobile-logout .mcbtn { width: 100%; }
.toasts {
    position: fixed;
    top: calc(var(--nav-h) + 16px);
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: min(360px, calc(100vw - 40px));
    pointer-events: none;
}
/* Aufgebaut wie die mcbtn: aussen die Fassung mit dem tieferen unteren Rand,
   innen die Flaeche. Die Farbe des Meldungstyps sitzt in der Fassung, die
   Flaeche bleibt dunkel - laengere Saetze lesen sich sonst schlecht. */
.toast {
    --toast-socket: rgba(0, 0, 0, 0.5);
    --toast-socket-border: rgba(255, 255, 255, 0.26);

    width: 100%;
    padding: 0 0 5px;
    background: var(--toast-socket);
    border: 2px solid var(--toast-socket-border);
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast-face {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    background: rgba(16, 16, 16, 0.86);
    border: 2px solid rgba(255, 255, 255, 0.28);
    font-family: var(--font-mc);
    font-size: 12.5px;
    line-height: 1.7;
    letter-spacing: 0.4px;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    font-smooth: never;
}
.toast.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.toast.is-leaving {
    opacity: 0;
    transform: translateX(24px);
}
.toast-ok {
    --toast-socket: rgba(18, 197, 98, 0.55);
    --toast-socket-border: #12c562;
}
.toast-error {
    --toast-socket: rgba(255, 45, 111, 0.5);
    --toast-socket-border: #ff2d6f;
}
.toast-info {
    --toast-socket: rgba(53, 214, 232, 0.5);
    --toast-socket-border: #35d6e8;
}
.toast-text { flex: 1; min-width: 0; }
.toast-close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-mc);
    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    transition: color 0.15s ease;
}
.toast-close:hover { color: #fff; }
.no-js .toast { opacity: 1; transform: none; }
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}
.reveal.from-left  { transform: translateX(-70px); }
.reveal.from-right { transform: translateX(70px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }
.section { padding: 120px 0; }
.section-head {
    max-width: 640px;
    margin-bottom: 64px;
}
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}
.section-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
}
.page { padding: calc(var(--nav-h) + 70px) 0 110px; }
.page-head { max-width: 700px; margin-bottom: 56px; }
.page-title {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
}
.page-text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
}
.lead { padding: calc(var(--nav-h) + 70px) 0 0; }
.lead-post {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.lead-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: var(--panel-deep);
}
.lead-media.has-cover {
    border: 1px solid var(--line);
    background: var(--panel-deep);
}
.lead-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 16px;
}
.lead-body { min-width: 0; }
.lead-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.lead-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.lead-teaser {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.archive { padding: 110px 0; }
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.archive-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    text-align: left;
    min-width: 0;
}
.archive-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: var(--panel-deep);
}
.archive-media.has-cover {
    border: 1px solid var(--line);
    background: var(--panel-deep);
}
.archive-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 12px;
}
.archive-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    min-height: calc(2 * 1.3em);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.archive-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.archive-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.archive-actions {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}
.post-tag {
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--tag, #fff);
}
[data-tag="ANNOUNCEMENT"] { --tag: #ff4d4d; }
[data-tag="UPDATE"]       { --tag: #ffc63d; }
[data-tag="EVENT"]        { --tag: #3ddc84; }
[data-tag="DEVBLOG"]      { --tag: #35d6e8; }
.media-placeholder {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
}
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 56px;
}
.pager-info {
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.article .wrap { max-width: 820px; }
.article-head { margin-bottom: 34px; }
.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.draft-flag {
    padding: 3px 8px;
    border: 1px solid rgba(255, 198, 61, 0.45);
    color: #ffc63d;
    letter-spacing: 1.2px;
}
.article-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.4px;
}
.article-teaser {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-soft);
}
.article-cover {
    position: relative;
    overflow: hidden;
    margin-bottom: 44px;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel-deep);
}
.article-cover img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 16px;
}
.article-title,
.article-teaser,
.page-title,
.page-text,
.section-title,
.article-body {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.article-body pre,
.article-body code { overflow-wrap: normal; word-break: normal; }
.article-body pre { overflow-x: auto; }
.archive-grid > *,
.lead-post > * { min-width: 0; }
.article-body {
    font-size: 17px;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.82);
}
.article-body h2 {
    margin: 44px 0 16px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: #fff;
}
.article-body h3 {
    margin: 34px 0 14px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #fff;
}
.article-body p { margin-bottom: 20px; }
.article-body ul,
.article-body ol {
    margin: 0 0 22px 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body a {
    color: #3ddc84;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 28px 0;
}
.article-body code {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.88em;
}
.article-body pre {
    margin: 0 0 24px;
    padding: 18px 20px;
    overflow-x: auto;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.article-body pre code {
    padding: 0;
    background: none;
}
.article-body blockquote {
    margin: 0 0 24px;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--line-strong);
    color: var(--text-soft);
}
.article-body hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--line);
}
.article-body table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: collapse;
    font-size: 15px;
}
.article-body th,
.article-body td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
}
.article-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}
.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: center;
    margin-bottom: 110px;
}
.showcase > :not(.showcase-media) {
    position: relative;
    z-index: 2;
}
.showcase-media { z-index: 1; }
.showcase-media img { pointer-events: none; }
.showcase:last-of-type { margin-bottom: 0; }
.showcase.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.showcase.flip .showcase-media { order: -1; }
.showcase-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--panel-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase-media.kristalle-bg,
.showcase-media.rang-bg {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    overflow: visible;
}
.showcase-media.kristalle-bg { background: #ff2d6f; }
.showcase-media.rang-bg      { background: #12c562; }
.showcase-media.kristalle-bg img,
.showcase-media.rang-bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: scale(2.9);
}
.showcase-title {
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.showcase-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
}
.showcase-list { list-style: none; margin-top: 24px; }
.showcase-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
}
.showcase-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: #fff;
}
.showcase-actions { margin-top: 32px; }
.discord-section { padding: 30px 0 120px; }
.discord-banner {
    max-width: 1040px;
    margin-inline: auto;
    padding: 44px 48px;
    border-radius: 18px;
    background: var(--discord);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 32px;
}
.discord-copy { min-width: 0; }
.discord-head {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.discord-mark {
    display: block;
    height: 20px;
    width: auto;
    flex: 0 0 auto;
    object-fit: contain;
}
.discord-banner h2 {
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 8px;
}
.discord-banner p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.discord-status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.ping {
    position: relative;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
}
.ping-core,
.ping-wave {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #3BA55D;
}
.ping-wave { animation: ping 1.9s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping {
    0%   { transform: scale(1);   opacity: 0.75; }
    80%  { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
}
.discord-cta { margin-top: 24px; }
.discord-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.discord-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    image-rendering: pixelated;
    scale: 2.5;
    margin-inline: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
.closing { padding: 40px 0 0; }
.closing-banner {
    position: relative;
    overflow: hidden;
    padding: 130px 24px 120px;
    background: var(--panel-deep);
    text-align: center;
}
.closing-banner img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.closing-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.42) 32%,
        rgba(0, 0, 0, 0.62) 70%,
        rgba(0, 0, 0, 0.92) 90%,
        #000 100%
    );
}
.closing-inner {
    position: relative;
    z-index: 2;
}
.closing-banner h2 {
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.8px;
    margin-bottom: 18px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.closing-banner p {
    max-width: 460px;
    margin: 0 auto 38px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.closing-actions {
    display: flex;
    justify-content: center;
}
.mc-server {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    padding: 9px;
    background: rgba(0, 0, 0, 0.66);
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-radius: 0;
    font-family: var(--font-mc-mono);
    text-align: left;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.mc-server:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
}
.mc-server-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mc-server-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}
.mc-server-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}
.mc-server-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mc-server-name {
    font-size: 14px;
    letter-spacing: 0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-server-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mc-server-players {
    font-size: 12px;
    color: #a8a8a8;
    letter-spacing: 0.4px;
}
.mc-signal {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}
.mc-signal i {
    display: block;
    width: 3px;
    background: rgba(255, 255, 255, 0.22);
}
.mc-signal i:nth-child(1) { height: 3px; }
.mc-signal i:nth-child(2) { height: 5px; }
.mc-signal i:nth-child(3) { height: 7px; }
.mc-signal i:nth-child(4) { height: 9px; }
.mc-signal i:nth-child(5) { height: 12px; }
.mc-signal i.on { background: #ffffff; }
.mc-server-motd {
    font-size: 12.5px;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: #a8a8a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-compact { gap: 14px; }
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.field-hint {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
}
.field-hint code {
    padding: 1px 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    font-family: var(--font-mono);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="datetime-local"],
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; }
.field textarea.mono { font-family: var(--font-mono); font-size: 14px; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #12c562;
    background: #0b0b0b;
}
.field input[type="file"] {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-soft);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.82);
}
.check input {
    width: 17px;
    height: 17px;
    accent-color: #12c562;
    cursor: pointer;
}
.form-submit { align-self: flex-start; }
.inline-form { display: inline-flex; align-items: center; gap: 10px; }
.linklike {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.18s ease;
}
.linklike:hover { color: #fff; }
.auth-page .wrap { max-width: 520px; }
.auth-card {
    padding: 44px 40px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.auth-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.auth-sub {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
}
.auth-page .form-submit { align-self: stretch; }
.auth-alt {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--text-soft);
}
.auth-alt a {
    color: #3ddc84;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.card {
    padding: 28px 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.card-title {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.card-actions { margin-top: 22px; }
.datalist {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.datalist > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.datalist > div:last-child { border-bottom: none; padding-bottom: 0; }
.datalist dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.datalist dd {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    text-align: right;
    word-break: break-word;
}
.empty {
    padding: 60px 34px;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.empty h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.empty p {
    max-width: 460px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
}
.empty .mcbtn { margin-top: 26px; }
.error-page { padding: 90px 34px; }
.error-code {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-mc);
    font-size: 44px;
    color: var(--text-muted);
    -webkit-font-smoothing: none;
}
.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.dash-head {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 40px;
}
.dash-avatar {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border: 1px solid var(--line);
}
.dash-admin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 26px;
    margin-bottom: 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.dash-admin h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.dash-admin p {
    font-size: 14.5px;
    color: var(--text-soft);
}
.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 34px;
    align-items: start;
}
.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
}
.tab {
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.tab:hover { color: #fff; }
.tab.is-active {
    color: #fff;
    border-bottom-color: #12c562;
}
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}
.stat {
    padding: 20px 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.stat-value {
    display: block;
    font-family: var(--font-mc);
    font-size: 26px;
    -webkit-font-smoothing: none;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.table-wrap {
    overflow-x: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.table th {
    padding: 15px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table .right { text-align: right; }
.table .nowrap { white-space: nowrap; }
.table .right .inline-form { margin-left: 8px; }
.table-main {
    display: block;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}
.table-main:hover { text-decoration: underline; text-underline-offset: 3px; }
.table-sub {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.table-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.table-user img {
    width: 26px;
    height: 26px;
    image-rendering: pixelated;
}
.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.pill {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
}
.pill-on  { color: #7ef0b0; border-color: rgba(126, 240, 176, 0.45); }
.pill-off { color: var(--text-muted); }
.editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}
.editor-main,
.editor-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.editor-side .form-submit { align-self: stretch; }
.editor-side .card { display: flex; flex-direction: column; gap: 18px; }
.editor-side .card-title { margin-bottom: 0; }
.cover-preview {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.cover-preview img {
    display: block;
    width: 100%;
    height: auto;
}
.editor-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.editor-tools-hint {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
}
/* Zielmarkierung, waehrend ein Bild ueber dem Textfeld haengt. */
.field textarea.is-drop {
    border-color: #12c562;
    background: #0b0b0b;
}
.editor-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
    padding: 12px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 8px;
}
/* display: grid wuerde das hidden-Attribut sonst ueberstimmen. */
.editor-library[hidden] { display: none; }
.editor-library-empty {
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--text-muted);
}
.editor-thumb {
    padding: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.editor-thumb:hover { border-color: #12c562; }
.editor-thumb img {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
}
/* --- Medien (Adminbereich) ------------------------------------------------ */

.medien-upload {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 26px;
}

.medien-upload .field {
    flex: 1 1 320px;
}

.medien-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.medien-karte {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.medien-bild {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--panel-deep);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.medien-bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medien-body {
    flex: 1;
    padding: 12px 14px;
}

.medien-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.medien-meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.medien-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
    .medien-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .medien-upload .mcbtn,
    .medien-upload .mcbtn-face {
        width: 100%;
    }
}

.settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}
.settings-form .card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.settings-form .card-title { margin-bottom: 0; }
.settings-form .form-submit { grid-column: 1 / -1; }
.footer {
    background: var(--bg);
    padding: 76px 0 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.65fr);
    gap: 60px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--line);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-brand-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.footer-brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
    font-family: Poppins, sans-serif;
}
.footer-tagline {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.18s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.verify-steps {
    margin: 0 0 26px 20px;
    padding: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}
.verify-steps li { margin-bottom: 8px; }
.verify-steps code {
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.92em;
}
.verify-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 20px;
    margin-bottom: 16px;
    background: var(--panel-deep);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.verify-code:hover {
    background: #0b0b0b;
    border-color: #fff;
}
.verify-code-value {
    font-family: var(--font-mc);
    font-size: clamp(30px, 9vw, 42px);
    letter-spacing: 8px;
    text-indent: 8px;   
    -webkit-font-smoothing: none;
}
.verify-code-hint {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.verify-note {
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.verify-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-soft);
}
.verify-status.is-done { color: #7ef0b0; }
.verify-status.is-done .ping-wave { animation: none; opacity: 0; }
.verify-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.auth-note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}
.check a {
    color: #3ddc84;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.check { align-items: flex-start; }
.check input { margin-top: 2px; flex-shrink: 0; }
.check label { cursor: pointer; }
.check span { line-height: 1.55; }
.legal .wrap { max-width: 820px; }
.legal .article-body h2:first-child { margin-top: 0; }
.legal-stamp {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-muted);
}
.admin-hint {
    padding: 14px 16px;
    margin-bottom: 24px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-left: 3px solid var(--line-strong);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
}
.card-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
}
.card-text code {
    padding: 1px 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    font-family: var(--font-mono);
}
.table-link {
    color: var(--text-soft);
    font-family: var(--font-mono);
    font-size: 13px;
    text-decoration: none;
}
.table-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--text-soft);
}
.auth-links a {
    color: #3ddc84;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-links .linklike {
    font-family: var(--font-body);
    color: var(--text-muted);
}
.verify-code.is-reset { border-color: rgba(255, 198, 61, 0.5); }
.verify-code.is-reset .verify-code-value { color: #ffc63d; }
.reset-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 22px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.reset-account img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border: 1px solid var(--line);
}
.reset-account-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.reset-account-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.reset-warning {
    padding: 14px 16px;
    margin-bottom: 24px;
    background: rgba(255, 198, 61, 0.06);
    border: 1px solid rgba(255, 198, 61, 0.28);
    border-left: 3px solid #ffc63d;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Shop
   ========================================================================== */

.mcbtn-yellow {
    --face: #ffc63d;
    --face-hover: rgba(255, 198, 61, 0.82);
    --face-text: #2a1d00;
    --face-shadow: none;
    --socket: rgba(255, 198, 61, 0.4);
    --socket-hover: rgba(255, 198, 61, 0.5);
}
.shop-page { padding-bottom: 90px; }
.shop-wrap {
    display: grid;
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.shop-side {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
}
.shop-side .eyebrow { margin-bottom: 14px; }
.shop-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;

    /* Stellschrauben fuer die Kacheln - hier drehen, nicht weiter unten.
       --tile-h      Mindesthoehe der Kachel. Zweizeilige Namen duerfen
                     darueber hinauswachsen.
       --tile-dim    Wie zurueckhaltend eine nicht gewaehlte Kachel ist. */
    --tile-h: 80px;
    --tile-dim: 0.8;
}
/* Jede Kategorie ist eine Kachel: durchgehend die Akzentfarbe, darauf der
   Name in gross. Nicht gewaehlte Kacheln nehmen sich ueber die Deckkraft
   etwas zurueck. */
.shop-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--tile-h);
    padding: 14px 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    opacity: var(--tile-dim);
    transition: border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
/* Kachelbilder sind raus - der Name stand sonst mitten im Motiv und war
   kaum noch zu lesen. Die Regel bleibt als Sicherheitsnetz stehen, falls
   im Template noch ein Bildcontainer gerendert wird. */
.shop-nav-bg { display: none; }
.shop-nav-item:hover {
    opacity: 1;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.45);
}
.shop-nav-item.is-active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.85);
}
/* Gleiche Wirkung wie die grosse Ueberschrift im Closing-Banner, nur auf
   Kachelbreite runtergerechnet: 6vw waere hier viel zu gross, weil sich vw
   auf den Viewport bezieht und nicht auf die 226px Spalte. Die Condensed
   bringt ihr Gewicht selbst mit, deshalb kaum negatives letter-spacing -
   sie laeuft ohnehin schon eng. */
.shop-nav-name {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 29px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.2px;
    text-transform: none;
    color: #fff;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.shop-nav-flag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 2px 7px;
}
/* Die aktive Kachel erkennt man am Balken links und am Rahmen - ein Pfeil
   waere daneben nur Rauschen. */
.shop-nav-arrow { display: none; }

/* --- Spieler im Shop ------------------------------------------------------ */

.shop-player {
    margin-top: 22px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.shop-player-head {
    display: flex;
    align-items: center;
    gap: 11px;
}
.shop-player-head img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border-radius: 4px;
}
.shop-player-name {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-player-role {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.shop-player-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}
.shop-player form { margin-top: 12px; }
.shop-player input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
}
.shop-player input:focus {
    outline: none;
    border-color: var(--line-strong);
}
.shop-player input::placeholder { color: rgba(255, 255, 255, 0.26); }
.shop-player .mcbtn {
    width: 100%;
    margin-top: 9px;
}
.shop-player-change {
    display: inline-block;
    margin-top: 11px;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.shop-player-change:hover { color: #fff; }
.shop-player-hint {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}
.shop-player-hint a { color: #fff; }

.shop-side-note {
    margin-top: 26px;
    padding: 18px 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.shop-side-note strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 6px;
}
.shop-side-note p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.shop-side-note a {
    font-size: 13px;
    font-weight: 600;
    color: var(--discord);
    text-decoration: none;
}
.shop-side-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shop-main { min-width: 0; }
.shop-head { margin-bottom: 44px; }
.shop-head .page-text { max-width: 620px; }
.shop-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 30px;
    padding: 13px 18px;
    background: rgba(255, 198, 61, 0.08);
    border: 1px solid rgba(255, 198, 61, 0.35);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--text-soft);
}
.shop-banner strong {
    font-family: var(--font-mc);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffc63d;
}
.shop-banner a {
    margin-left: auto;
    font-weight: 600;
    color: #ffc63d;
}
.shop-note {
    margin-top: 22px;
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Vergleichstabelle ---------------------------------------------------- */

.compare {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.compare-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-radius: 16px;
}
.compare-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 14px;
}
.compare-table thead th {
    position: relative;
    vertical-align: top;
    text-align: center;
    padding: 24px 14px 18px;
    border-bottom: 1px solid var(--line);
}
.compare-card {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 3px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 9%, transparent);
}
.compare-corner {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 190px;
    text-align: left !important;
    background: var(--panel);
    vertical-align: bottom !important;
}
.compare-corner span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.compare-badge {
    position: absolute;
    top: 3px;
    right: 0;
    padding: 4px 8px;
    background: var(--accent);
    color: #08120c;
    font-family: var(--font-mc);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
}
.compare-tagline {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-mc);
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.compare-rank {
    display: grid;
    place-items: center;
    min-height: 44px;
    margin-bottom: 14px;
}
.compare-rank img {
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
}
.compare-rank-name {
    font-family: var(--font-mc);
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
    -webkit-font-smoothing: none;
}
.compare-price {
    display: block;
    margin-bottom: 14px;
    white-space: nowrap;
}
.compare-price b {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.compare-price s {
    margin-right: 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}
.compare-buy { width: 100%; }
.compare-buy .mcbtn-face { padding-left: 8px; padding-right: 8px; }
.compare-card form { display: block; }
.compare-group-row th {
    padding: 13px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.035);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.compare-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    text-align: center;
    vertical-align: middle;
}
.compare-table tbody:last-child tr:last-child td { border-bottom: none; }
/* Bleibt beim seitlichen Scrollen stehen, damit man die Zeile noch zuordnen
   kann. Braucht einen eigenen Hintergrund, sonst scheinen die Werte durch. */
td.compare-label {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 190px;
    text-align: left;
    background: var(--panel);
}
.compare-feature {
    font-size: 14px;
    color: var(--text-soft);
}
.compare-cell { font-size: 14px; }
.compare-value {
    font-weight: 600;
    color: #fff;
}
.compare-empty { color: rgba(255, 255, 255, 0.22); }
.mark {
    display: inline-flex;
    line-height: 0;
}
.mark-yes { color: #12c562; }
.mark-no { color: rgba(255, 77, 77, 0.75); }
.tip {
    display: inline-grid;
    place-items: center;
    width: 15px;
    height: 15px;
    margin-left: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: help;
    vertical-align: 1px;
    position: relative;
}
.tip:hover, .tip:focus-visible { color: #fff; border-color: #fff; }
.tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 230px;
    padding: 9px 11px;
    background: #161616;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-soft);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.14s ease;
    z-index: 10;
    pointer-events: none;
}
.tip:hover::after,
.tip:focus-visible::after { opacity: 1; visibility: visible; }
.compare-extra { display: none; }
.compare.is-open .compare-extra { display: table-row; }
.compare-more {
    position: relative;
    padding: 18px;
    text-align: center;
    border-top: 1px solid var(--line);
}

/* --- Produktkacheln ------------------------------------------------------- */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
    gap: 22px;
}
.shop-card {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.shop-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--panel-deep);
    border-bottom: 1px solid var(--line);
}
.shop-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.shop-card-fallback {
    font-family: var(--font-mc);
    font-size: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
}
.shop-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: var(--accent);
    color: #08120c;
    font-family: var(--font-mc);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
}
.shop-card-body {
    flex: 1;
    padding: 18px 18px 14px;
}
.shop-card-tagline {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mc);
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
}
.shop-card-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.shop-card-text {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
}
.shop-card-price b {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.shop-card-price s {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.shop-card-buy { flex-shrink: 0; }

/* --- Erklaerabschnitte ---------------------------------------------------- */

.shop-blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;

    /* Wie weit das Bild ueber seine farbige Flaeche hinausragt.
       1 = buendig, groesser = mehr Ueberhang. */
    --block-img: 1.2;
}
.shop-block {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 38px;
    align-items: center;
}
/* Der Text bleibt oben, damit das ueberstehende Bild ihn nicht
   verdeckt, wenn es weit herausragt. */
.shop-block-copy {
    position: relative;
    z-index: 2;
}
.shop-block.flip .shop-block-media { order: -1; }
.shop-block-step {
    font-family: var(--font-mc);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
}
.shop-block-title {
    margin-top: 13px;
    font-size: clamp(21px, 3vw, 29px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
}
.shop-block-text {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.68;
    color: var(--text-soft);
}
.shop-block-text p + p { margin-top: 12px; }
.shop-block-text ul,
.shop-block-text ol { margin: 12px 0 0 20px; }
.shop-block-text li { margin-bottom: 6px; }
.shop-block-text a { color: #fff; }
.shop-block-actions { margin-top: 24px; }
/* overflow bleibt sichtbar, damit das Bild ueber die farbige Flaeche
   hinausstehen kann. Die Flaeche selbst behaelt ihre Ecken. */
.shop-block-media {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 16px;
    background: var(--accent);
}
.shop-block-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: scale(var(--block-img));
    pointer-events: none;
}
.shop-block-glyph {
    font-family: var(--font-mc);
    font-size: clamp(42px, 8vw, 68px);
    color: rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: none;
}

/* --- Partner -------------------------------------------------------------- */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
    gap: 22px;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 22px 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.partner-logo {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-deep);
}
.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.partner-logo span {
    font-family: var(--font-mc);
    font-size: 26px;
    color: var(--accent);
    -webkit-font-smoothing: none;
}
.partner-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.partner-tagline {
    margin-top: 6px;
    font-family: var(--font-mc);
    font-size: 10px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--accent);
}
.partner-text {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.partner-code {
    margin-top: 16px;
    padding: 8px 14px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    font-family: var(--font-mc);
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.partner-code:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.partner-link { margin-top: 18px; }

/* --- Adminbereich: Shop --------------------------------------------------- */

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.card-head .card-title { margin-bottom: 0; }
.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 20px 24px;
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.28);
    border-radius: 14px;
}
.danger-zone strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}
.danger-zone p {
    font-size: 13.5px;
    color: var(--text-muted);
}
.matrix-wrap { overflow-x: auto; }
.matrix { min-width: 760px; }
.matrix th,
.matrix td {
    padding: 9px 10px;
    vertical-align: middle;
}
.matrix input[type="text"],
.matrix input[type="number"] {
    width: 100%;
    min-width: 90px;
    padding: 9px 11px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13.5px;
}
.matrix input:focus {
    outline: none;
    border-color: var(--line-strong);
}
.matrix input::placeholder { color: rgba(255, 255, 255, 0.26); }
.matrix-sticky {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 200px;
    background: var(--panel);
}
.matrix thead .matrix-sticky { background: var(--panel); }
.matrix-product {
    min-width: 130px;
    text-align: center !important;
}
.matrix-value { text-align: center; }
.matrix-group td { background: rgba(255, 255, 255, 0.035); }
.matrix-group .matrix-sticky { background: #131313; }
.matrix-note {
    font-size: 12.5px;
    color: var(--text-muted);
}
.matrix-add td { background: rgba(255, 255, 255, 0.015); }
.matrix-add .matrix-sticky { background: #101010; }

/* --- Kurzer Hinweis ueber den Produkten ----------------------------------- */

.shop-intro-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 34px;
    padding: 20px 22px;
    background: var(--panel);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
    border-radius: 14px;
}
.shop-intro-mark {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    color: var(--accent);
    font-family: var(--font-mc);
    font-size: 13px;
    -webkit-font-smoothing: none;
}
.shop-intro-body { min-width: 0; }
.shop-intro-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
}
.shop-intro-text {
    font-size: 14px;
    line-height: 1.62;
    color: var(--text-soft);
}
.shop-intro-text p + p { margin-top: 9px; }
.shop-intro-text ul { margin: 8px 0 0 18px; }
.shop-intro-text li { margin-bottom: 5px; }
.shop-intro-text a { color: #fff; }

/* --- Shop: schmale Fenster ------------------------------------------------ */

@media (max-width: 980px) {
    .shop-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .shop-side {
        position: static;
        top: auto;
    }
    /* Aus der Spalte wird eine Reihe, die man seitlich schieben kann. */
    .shop-nav {
        flex-direction: row;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .shop-nav::-webkit-scrollbar { display: none; }
    /* Ohne Bild braucht die Kachel deutlich weniger Breite, sonst scrollt
       die Leiste unnoetig weit. */
    .shop-nav-item {
        flex: 0 0 auto;
        min-width: 170px;
        --tile-h: 70px;
    }
    .shop-nav-name {
        font-size: 23px;
        letter-spacing: -0.1px;
        white-space: nowrap;
    }
    .shop-player { margin-top: 18px; }
    .shop-side-note { display: none; }

    .shop-head { margin-bottom: 32px; }
    .shop-block,
    .shop-block.flip {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .shop-block.flip .shop-block-media { order: 0; }
    .shop-block-media {
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }
    .shop-blocks {
        gap: 46px;
        margin-bottom: 52px;
        --block-img: 1.15;
    }
}

@media (max-width: 600px) {
    .shop-grid,
    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    .shop-card-body { padding: 14px 14px 10px; }
    .shop-card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }
    .shop-card-buy { width: 100%; }
    .shop-card-price { text-align: center; }

    .compare-table { min-width: 560px; font-size: 13px; }
    .compare-table thead th { padding: 18px 10px 14px; }
    .compare-corner,
    td.compare-label { min-width: 150px; }
    .compare-rank img { max-height: 34px; }
    .compare-rank-name { font-size: 14px; }
    .compare-table td { padding: 11px 10px; }
    /* Tooltips laufen auf dem Handy aus dem Bild - der title-Text bleibt. */
    .tip::after { display: none; }

    .shop-intro-note {
        flex-direction: column;
        gap: 12px;
        padding: 17px 18px;
    }
}

@media (max-width: 1000px) {
    .editor { grid-template-columns: minmax(0, 1fr); }
    .settings-form { grid-template-columns: minmax(0, 1fr); }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-actions { display: none; }
    .nav-burger { display: block; }
    .nav-mobile { display: flex; }

    .section { padding: 90px 0; }
    .page { padding: calc(var(--nav-h) + 46px) 0 80px; }
    .lead { padding-top: calc(var(--nav-h) + 46px); }
    .lead-post {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .archive { padding: 80px 0; }
    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
    }
    .archive-actions { margin-top: 40px; }

    .showcase,
    .showcase.flip {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        margin-bottom: 70px;
    }
    .showcase.flip .showcase-media { order: 0; }
    .showcase-media.kristalle-bg,
    .showcase-media.rang-bg {
        aspect-ratio: 16 / 11;
        max-height: 360px;
        overflow: hidden;
        border-radius: 14px;
    }
    .showcase-media.kristalle-bg img,
    .showcase-media.rang-bg img {
        transform: scale(1.7);
        object-position: center;
    }
    .showcase-media.kristalle-bg img {
        transform: scale(1.85) translateY(4%);
    }

    .discord-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 30px 28px 32px;
        overflow: hidden;
    }
    .discord-visual {
        order: -1;
        height: 150px;
        justify-content: flex-end;
        margin: -4px -8px -8px 0;
    }
    .discord-visual img {
        width: auto;
        max-height: 170px;
        scale: 1.12;
        transform: translateX(8px);
    }
    .discord-cta { width: 100%; }

    .closing-banner { padding: 90px 22px 90px; }

    .dash-grid { grid-template-columns: minmax(0, 1fr); }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }
    .footer-tagline { max-width: 460px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 720px) {
    .discord-section { padding: 10px 0 86px; }
    .discord-head { gap: 12px; }
    .discord-mark {
        margin-left: 0;
        height: 22px;
    }

    /* Reiter laufen sonst in drei Zeilen um. Eine scrollbare Leiste liest
       sich auf dem Handy deutlich besser. */
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 26px;
    }
    .tabs::-webkit-scrollbar { display: none; }
    .tab {
        flex: 0 0 auto;
        padding: 12px 14px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    :root { --nav-h: 58px; }

    .wrap,
    .nav-inner {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    .nav-mobile { padding-left: max(20px, env(safe-area-inset-left)); }
    .nav-mobile { padding-right: max(20px, env(safe-area-inset-right)); }
    .nav-brand img { height: 32px; }

    .toasts {
        top: calc(var(--nav-h) + 10px);
        right: 12px;
        left: 12px;
        width: auto;
    }
    .toast { font-size: 14px; }

    .section { padding: 72px 0; }
    .page { padding: calc(var(--nav-h) + 34px) 0 64px; }
    .lead { padding-top: calc(var(--nav-h) + 34px); }
    .section-head,
    .page-head { margin-bottom: 40px; }

    .lead-meta { gap: 10px; }
    .lead-teaser { font-size: 15.5px; }

    .archive { padding: 64px 0; }
    .archive-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
    /* Zwei erzwungene Zeilen Titelhoehe machen nur im Raster Sinn. */
    .archive-card h3 { min-height: 0; }
    .archive-actions .mcbtn,
    .archive-actions .mcbtn-face { width: 100%; }

    .pager {
        gap: 12px;
        flex-wrap: wrap;
    }
    .pager-info {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .showcase,
    .showcase.flip { margin-bottom: 56px; }
    .showcase-title { font-size: 29px; }
    .showcase-actions .mcbtn,
    .showcase-actions .mcbtn-face { width: 100%; }
    .showcase-media.kristalle-bg,
    .showcase-media.rang-bg {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
    .showcase-media.rang-bg img {
        transform: scale(1.5) translateY(2%);
    }
    .showcase-media.kristalle-bg img {
        transform: scale(1.6) translateY(6%);
    }

    .discord-banner {
        padding: 24px 20px 26px;
        border-radius: 14px;
    }
    .discord-visual {
        height: 132px;
        margin: -8px -16px -2px 0;
    }
    .discord-visual img {
        max-height: 150px;
        scale: 1.06;
    }
    .discord-status {
        max-width: 100%;
        padding: 7px 10px;
        font-size: 12px;
    }
    .discord-banner p { font-size: 14px; }
    .discord-cta .mcbtn-face {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .closing-banner {
        padding: 78px 20px 82px;
        min-height: 520px;
        display: flex;
        align-items: center;
    }
    .closing-inner { width: 100%; }
    .closing-banner h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }
    .closing-banner p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .article .wrap { max-width: 100%; }
    .article-head { margin-bottom: 26px; }
    .article-teaser { font-size: 16px; }
    .article-cover {
        margin-bottom: 30px;
        border-radius: 12px;
    }
    .article-cover img { border-radius: 12px; }
    .article-body { font-size: 16px; }
    .article-body h2 { margin: 34px 0 14px; font-size: 22px; }
    .article-body h3 { margin: 26px 0 12px; font-size: 18px; }
    .article-body ul,
    .article-body ol { margin-left: 18px; }
    .article-body pre { padding: 14px 16px; font-size: 13px; }
    /* Tabellen im Beitragstext sprengen sonst die Seitenbreite. */
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .article-actions {
        margin-top: 40px;
        padding-top: 26px;
    }
    .article-actions .mcbtn { flex: 1 1 100%; }
    .article-actions .mcbtn-face { width: 100%; }

    .auth-card {
        padding: 30px 22px;
        border-radius: 14px;
    }
    .auth-title { font-size: 26px; }
    .auth-sub { font-size: 14.5px; margin-bottom: 26px; }
    .verify-steps { margin-left: 18px; font-size: 14.5px; }
    .verify-code { padding: 22px 14px; }
    .verify-code-value { letter-spacing: 6px; text-indent: 6px; }
    .verify-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .verify-actions .inline-form,
    .verify-actions .mcbtn,
    .verify-actions .mcbtn-face { width: 100%; }
    .verify-actions .linklike { padding: 6px 0; }
    .auth-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .empty { padding: 44px 22px; }
    .empty h3 { font-size: 20px; }
    .error-page { padding: 64px 20px; }
    .error-code { font-size: 34px; }
    .error-actions .mcbtn { flex: 1 1 100%; }
    .error-actions .mcbtn-face { width: 100%; }

    .dash-head {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
    .dash-avatar { width: 60px; height: 60px; }
    .dash-head .page-title { font-size: 26px; letter-spacing: -0.8px; }
    .dash-admin {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    .dash-admin .mcbtn,
    .dash-admin .mcbtn-face { width: 100%; }
    .card { padding: 22px 20px; }
    .datalist > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .datalist dd { text-align: left; }

    .admin-head {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .admin-head .mcbtn,
    .admin-head .mcbtn-face { width: 100%; }
    .stat { padding: 16px 16px; }
    .stat-value { font-size: 21px; }

    /* Tabellen bleiben Tabellen, scrollen aber horizontal statt zu quetschen. */
    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .table { min-width: 560px; }
    .table th,
    .table td { padding: 13px 14px; }

    .editor-side .form-submit,
    .settings-form .form-submit { width: 100%; }
    .editor-side .form-submit .mcbtn-face,
    .settings-form .form-submit .mcbtn-face { width: 100%; }

    .mc-server-icon { width: 48px; height: 48px; }
    .mc-server-name { font-size: 13px; }
    .mc-server-meta { gap: 6px; }
    .mc-server-players { font-size: 11px; }
    .mc-server-motd { font-size: 11.5px; }

    .footer { padding: 56px 0 24px; }
    .footer-top { gap: 34px; padding-bottom: 38px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .footer-col a {
        display: inline-block;
        padding: 3px 0;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Sehr schmale Geraete (iPhone SE, Galaxy S-Serie im Splitscreen). */
@media (max-width: 400px) {
    .wrap,
    .nav-inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    .nav-mobile { padding-left: 16px; padding-right: 16px; }

    .mcbtn { --px: 14px; --fs: 12px; }
    .mcbtn-lg { --h: 46px; --px: 18px; --fs: 13px; }

    .lead-title { letter-spacing: -0.8px; }
    .closing-banner h2 { font-size: 32px; }
    .verify-code-value {
        font-size: 30px;
        letter-spacing: 4px;
        text-indent: 4px;
    }
    .stat-row { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .footer-brand-name { font-size: 17px; }
    .footer-icon { width: 38px; height: 38px; }
}

/* Touch-Geraete: iOS zoomt bei Eingabefeldern unter 16px automatisch rein
   und springt danach nicht wieder zurueck. Deshalb feste 16px, unabhaengig
   von der Bildschirmbreite. */
@media (hover: none) and (pointer: coarse) {
    .field input[type="text"],
    .field input[type="email"],
    .field input[type="password"],
    .field input[type="number"],
    .field input[type="datetime-local"],
    .field select,
    .field textarea { font-size: 16px; }

    .field input,
    .field select { min-height: 46px; }

    .check input { width: 20px; height: 20px; }

    /* Hover-Zustaende bleiben sonst nach einem Tap kleben. */
    .mcbtn:hover { background: var(--socket); border-color: var(--socket-border, rgba(255, 255, 255, 0.26)); }
    .mcbtn:hover .mcbtn-face { background: var(--face); border-color: var(--face-border, rgba(255, 255, 255, 0.4)); }
    .mcbtn:active { padding-bottom: 0; }
    .mcbtn:active .mcbtn-face {
        height: calc(var(--h) + var(--sink));
        padding-top: var(--sink);
        background: var(--face-hover);
    }
    .mc-server:hover {
        background: rgba(0, 0, 0, 0.66);
        border-color: rgba(255, 255, 255, 0.26);
    }
    .mc-server:active {
        background: rgba(255, 255, 255, 0.16);
        border-color: #fff;
    }
    .verify-code:hover {
        background: var(--panel-deep);
        border-color: var(--line-strong);
    }
    .verify-code:active {
        background: #0b0b0b;
        border-color: #fff;
    }
    /* Der Hover-Versatz der Kacheln bleibt auf dem Handy sonst haengen. */
    .shop-nav-item:hover {
        transform: none;
        opacity: var(--tile-dim);
        border-color: transparent;
    }
    .shop-nav-item.is-active:hover {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.7);
    }
    .shop-nav-item:active {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.45);
    }

    a, button, [role="button"] { -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08); }
}

/* Handy quer: die Hero-Abstaende fressen sonst den ganzen Bildschirm. */
@media (max-height: 520px) and (orientation: landscape) {
    .page,
    .lead { padding-top: calc(var(--nav-h) + 26px); }
    .closing-banner { min-height: 0; padding: 56px 20px 60px; }
    .nav-mobile { padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    .ping-wave { animation: none; }
    .nav-mobile { transition: none; }
}

/* --- Farbwaehler im Adminbereich ------------------------------------------ */

.accent-field {
    display: flex;
    align-items: center;
    gap: 10px;
}
.accent-field input[type="color"] {
    width: 48px;
    height: 44px;
    flex-shrink: 0;
    padding: 3px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
/* Ohne das sitzt in Chrome ein weisser Rand um die Farbflaeche. */
.accent-field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.accent-field input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 5px;
}
.accent-field input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 5px;
}
.accent-field input[type="text"] {
    flex: 1;
    min-width: 0;
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.accent-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}
.accent-swatch {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--swatch);
    cursor: pointer;
    transition: transform 0.12s ease;
}
.accent-swatch:hover { transform: scale(1.12); }
.accent-swatch.is-on {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}