/* Arsilex brand layer: shared nav/footer + the home page.
   Theme: a block world at night — sky (hero, videos) → grass edge → underground (fan art gallery). */

:root {
    --ax-night: #0a0f1e;
    --ax-night-2: #10172f;
    --ax-panel: #151d3b;
    --ax-line: #26305a;
    --ax-text: #eef1fb;
    --ax-muted: #a3acc9;
    --ax-grass: #6fdc4a;
    --ax-grass-dark: #2f7a1f;
    --ax-dirt: #3b2716;
    --ax-stone: #16130f;
    --ax-stone-line: #3a3026;
    --ax-gold: #ffd043;
    --ax-red: #dc2626;
    --ax-red-dark: #8f1515;
    --ax-ink: #05070f;
    --ax-display: 'Bungee', 'Arial Black', sans-serif;
    --ax-pixel: 'Silkscreen', ui-monospace, monospace;
    --ax-body: 'Figtree', system-ui, sans-serif;
    --ax-ease: cubic-bezier(.2, .9, .25, 1.15);
}

/* ---------- Shared: buttons, focus ---------- */

.ax-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.4rem;
    font: 800 1.05rem/1 var(--ax-body);
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ax-ink);
    background: var(--ax-grass);
    border: 3px solid var(--ax-ink);
    border-radius: 6px;
    box-shadow: 0 6px 0 var(--ax-ink);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    cursor: pointer;
}
.ax-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 0 var(--ax-ink); }
.ax-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ax-ink); }
.ax-btn--red { background: var(--ax-red); color: #fff; }
.ax-btn--ghost { background: transparent; color: var(--ax-text); border-color: var(--ax-text); box-shadow: 0 6px 0 rgba(238, 241, 251, .25); }
.ax-btn--sm { padding: .6rem 1rem; font-size: .9rem; box-shadow: 0 4px 0 var(--ax-ink); }
.ax-btn--sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ax-ink); }

.ax-nav a:focus-visible, .ax-footer a:focus-visible, .ax-home a:focus-visible,
.ax-home button:focus-visible, .ax-nav button:focus-visible {
    outline: 3px solid var(--ax-gold);
    outline-offset: 3px;
}

/* ---------- Shared: brand mark (a little grass block) ---------- */

.ax-block {
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
    background:
        linear-gradient(var(--ax-grass) 0 38%, transparent 38%),
        linear-gradient(90deg, #5b3a1e 0 50%, #6b4426 50%);
    box-shadow: inset 0 0 0 2px var(--ax-ink), 3px 3px 0 var(--ax-ink);
    image-rendering: pixelated;
}

/* ---------- Shared: navigation ---------- */

.ax-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 15, 30, .97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--ax-line);
    font-family: var(--ax-body);
}
.ax-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ax-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font: 400 1.45rem/1 var(--ax-display); letter-spacing: .02em; }
.ax-nav__links { display: none; align-items: center; gap: 1.6rem; }
.ax-nav__link { color: var(--ax-muted); text-decoration: none; font-weight: 600; font-size: .98rem; transition: color .15s; }
.ax-nav__link:hover, .ax-nav__link[aria-current="page"] { color: #fff; }
.ax-nav__yt { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 6px; background: var(--ax-red); color: #fff; border: 3px solid var(--ax-ink); box-shadow: 0 4px 0 var(--ax-ink); font-size: 1.05rem; text-decoration: none; }
.ax-nav__toggle { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 6px; color: #fff; background: var(--ax-panel); border: 2px solid var(--ax-line); font-size: 1.2rem; cursor: pointer; }
.ax-nav__mobile { border-top: 2px solid var(--ax-line); padding: .75rem 1rem 1.1rem; display: grid; gap: .25rem; }
.ax-nav__mobile[hidden] { display: none; }
.ax-nav__mobile a { color: var(--ax-text); text-decoration: none; padding: .7rem .75rem; border-radius: 6px; font-weight: 600; display: flex; align-items: center; gap: .75rem; }
.ax-nav__mobile a:hover { background: var(--ax-panel); }
.ax-nav__mobile i { width: 1.25rem; text-align: center; color: var(--ax-grass); }
@media (min-width: 860px) {
    .ax-nav__links { display: flex; }
    .ax-nav__toggle, .ax-nav__mobile { display: none !important; }
}

/* ---------- Shared: footer ---------- */

.ax-footer { background: var(--ax-ink); color: var(--ax-muted); font-family: var(--ax-body); border-top: 2px solid var(--ax-line); }
.ax-footer__inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1rem 2rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.ax-footer h3 { margin: 0 0 .75rem; color: #fff; font: 400 1.4rem/1 var(--ax-display); display: flex; align-items: center; gap: .6rem; }
.ax-footer h4 { margin: 0 0 .9rem; color: var(--ax-gold); font: 400 .8rem/1 var(--ax-pixel); letter-spacing: .08em; text-transform: uppercase; }
.ax-footer p { margin: 0; max-width: 34ch; line-height: 1.6; }
.ax-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ax-footer a { color: var(--ax-text); text-decoration: none; }
.ax-footer a:hover { color: var(--ax-grass); }
.ax-footer__bottom { max-width: 1200px; margin: 0 auto; padding: 1.25rem 1rem 2rem; border-top: 1px solid var(--ax-line); font-size: .875rem; }
@media (min-width: 760px) { .ax-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Home ---------- */

.ax-home { font-family: var(--ax-body); color: var(--ax-text); background: var(--ax-night); overflow-x: clip; }
.ax-home h1, .ax-home h2, .ax-home h3 { margin: 0; }
.ax-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.ax-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font: 400 .8rem/1 var(--ax-pixel);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ax-gold);
}
.ax-kicker::before { content: ''; width: .6rem; height: .6rem; background: currentColor; animation: ax-blink 1.1s steps(1) infinite; }

/* Hero */
.ax-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.ax-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ax-banner, none) center / cover no-repeat; opacity: .4; filter: saturate(1.2) blur(2px); transform: scale(1.04); }
.ax-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(transparent 72%, var(--ax-night)),
        radial-gradient(60rem 30rem at 85% 10%, rgba(168, 85, 247, .26), transparent 60%),
        radial-gradient(40rem 26rem at 5% 60%, rgba(111, 220, 74, .10), transparent 60%),
        linear-gradient(rgba(10, 15, 30, .55), var(--ax-night) 96%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 32px);
}
.ax-hero__grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ax-hero__grid { grid-template-columns: 1.25fr .9fr; } }

.ax-title {
    margin: 1.1rem 0 1.25rem !important;
    font: 400 clamp(3.6rem, 12vw, 8.75rem)/.9 var(--ax-display);
    color: #fff;
    letter-spacing: -.01em;
    text-shadow:
        1px 1px 0 var(--ax-grass-dark), 2px 2px 0 var(--ax-grass-dark), 3px 3px 0 var(--ax-grass-dark),
        4px 4px 0 var(--ax-grass-dark), 5px 5px 0 var(--ax-grass-dark), 6px 6px 0 #1f5214,
        7px 7px 0 #1f5214, 8px 8px 0 #1f5214, 0 22px 40px rgba(0, 0, 0, .55);
}
.ax-tagline { max-width: 36rem; margin: 0 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ax-muted); }
.ax-tagline strong { color: var(--ax-text); }
.ax-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Player card with a floating name tag */
.ax-card { position: relative; justify-self: center; width: min(21rem, 78vw); margin-top: 2.5rem; transform: rotate(2.5deg); }
.ax-card__frame {
    position: relative;
    padding: .7rem;
    background: var(--ax-panel);
    border: 4px solid var(--ax-ink);
    box-shadow: 10px 10px 0 var(--ax-grass), 10px 10px 0 4px var(--ax-ink);
}
.ax-card__frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: auto; }
.ax-nametag {
    position: absolute;
    top: -2.6rem;
    left: 50%;
    transform: translateX(-50%) rotate(-2.5deg);
    padding: .45rem .8rem .4rem;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font: 400 1rem/1 var(--ax-pixel);
    letter-spacing: .06em;
    white-space: nowrap;
    animation: ax-bob 3.2s ease-in-out infinite;
}
.ax-card__badge {
    position: absolute;
    right: -1rem;
    bottom: 1.5rem;
    padding: .55rem .75rem;
    background: var(--ax-red);
    color: #fff;
    border: 3px solid var(--ax-ink);
    box-shadow: 4px 4px 0 var(--ax-ink);
    font: 800 .85rem/1 var(--ax-body);
    text-transform: uppercase;
    transform: rotate(-6deg);
}

/* XP orbs */
.ax-orb { position: absolute; width: .7rem; height: .7rem; background: var(--ax-grass); box-shadow: 0 0 14px var(--ax-grass); opacity: .75; animation: ax-float 6s ease-in-out infinite; }
.ax-orb:nth-child(2) { background: var(--ax-gold); box-shadow: 0 0 14px var(--ax-gold); }

/* HUD stats */
.ax-stats { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.ax-stat { display: flex; flex-direction: column-reverse; gap: .4rem; padding: 1.1rem 1.25rem; background: rgba(21, 29, 59, .78); border: 3px solid var(--ax-line); border-left: 6px solid var(--ax-grass); }
.ax-stat:nth-child(2) { border-left-color: var(--ax-gold); }
.ax-stat:nth-child(3) { border-left-color: var(--ax-red); }
.ax-stat dd { margin: 0; font: 400 clamp(1.8rem, 4vw, 2.5rem)/1 var(--ax-display); color: #fff; }
.ax-stat dt { font: 400 .75rem/1 var(--ax-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }

/* Section heads */
.ax-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.ax-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.ax-head h2 { margin-top: .75rem !important; font: 400 clamp(2rem, 5vw, 3.25rem)/1 var(--ax-display); color: #fff; }
.ax-head p { margin: .75rem 0 0; color: var(--ax-muted); max-width: 40rem; line-height: 1.6; }
.ax-link { color: var(--ax-grass); font-weight: 700; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.ax-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Featured video (lite YouTube embed) */
.ax-feature { display: grid; gap: 1.75rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .ax-feature { grid-template-columns: 1.6fr 1fr; } }
.ax-player {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    background: #000;
    border: 4px solid var(--ax-ink);
    box-shadow: 10px 10px 0 var(--ax-red), 10px 10px 0 4px var(--ax-ink);
    cursor: pointer;
}
.ax-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.ax-player:hover img { transform: scale(1.04); filter: brightness(.8); }
.ax-player__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5.25rem;
    height: 3.75rem;
    transform: translate(-50%, -50%);
    background: var(--ax-red);
    border: 4px solid var(--ax-ink);
    box-shadow: 0 6px 0 var(--ax-ink);
    display: grid;
    place-items: center;
    transition: transform .2s var(--ax-ease);
}
.ax-player__play::after { content: ''; border-style: solid; border-width: .8rem 0 .8rem 1.3rem; border-color: transparent transparent transparent #fff; margin-left: .3rem; }
.ax-player:hover .ax-player__play { transform: translate(-50%, -50%) scale(1.12); }
.ax-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ax-feature__info h3 { margin: .9rem 0 .8rem !important; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--ax-body); color: #fff; }
.ax-feature__info p { margin: 0 0 1.5rem; color: var(--ax-muted); line-height: 1.6; }

.ax-videos { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.ax-video { display: block; color: inherit; text-decoration: none; }
.ax-video__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid var(--ax-ink); background: var(--ax-panel); box-shadow: 6px 6px 0 var(--ax-line); transition: transform .2s var(--ax-ease), box-shadow .2s; }
.ax-video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ax-video:hover .ax-video__thumb { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ax-gold); }
.ax-video h3 { margin: .9rem 0 .35rem !important; font: 700 1rem/1.35 var(--ax-body); color: var(--ax-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-video:hover h3 { color: var(--ax-grass); }
.ax-meta { font: 400 .72rem/1 var(--ax-pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--ax-muted); }

.ax-empty { padding: 2.5rem; text-align: center; background: var(--ax-panel); border: 3px dashed var(--ax-line); color: var(--ax-muted); }

/* Grass edge → underground gallery */
.ax-ground { position: relative; background: linear-gradient(var(--ax-dirt), var(--ax-stone) 22rem); }
.ax-ground::before {
    content: '';
    display: block;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' shape-rendering='crispEdges'%3E%3Crect width='16' height='8' fill='%233b2716'/%3E%3Crect width='16' height='3' fill='%236fdc4a'/%3E%3Crect width='16' height='1' fill='%238ff06a'/%3E%3Crect x='1' y='3' width='2' height='1' fill='%234fb83a'/%3E%3Crect x='5' y='3' width='1' height='2' fill='%234fb83a'/%3E%3Crect x='8' y='3' width='3' height='1' fill='%234fb83a'/%3E%3Crect x='12' y='3' width='1' height='2' fill='%234fb83a'/%3E%3Crect x='14' y='3' width='1' height='1' fill='%234fb83a'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23553419'/%3E%3Crect x='9' y='6' width='1' height='1' fill='%23553419'/%3E%3Crect x='14' y='5' width='1' height='1' fill='%2385583a'/%3E%3Crect x='6' y='7' width='1' height='1' fill='%2385583a'/%3E%3C/svg%3E") repeat-x 0 0 / 64px 32px;
    image-rendering: pixelated;
}
.ax-ground .ax-head h2 { text-shadow: 4px 4px 0 var(--ax-ink); }

.ax-gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.ax-art { position: relative; display: block; margin: 0; color: inherit; text-decoration: none; background: #241d16; border: 4px solid var(--ax-ink); box-shadow: 6px 6px 0 var(--ax-stone-line); transition: transform .2s var(--ax-ease), box-shadow .2s; }
.ax-art:nth-child(odd) { transform: rotate(-1deg); }
.ax-art:nth-child(even) { transform: rotate(1deg); }
.ax-art:hover { transform: rotate(0) translateY(-4px); box-shadow: 8px 10px 0 var(--ax-grass-dark); }
.ax-art figure { margin: 0; }
.ax-gallery, .ax-videos { list-style: none; padding: 0; margin-left: 0; margin-right: 0; }
.ax-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ax-art figcaption { padding: .7rem .8rem .8rem; display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.ax-art__who { min-width: 0; }
.ax-art__title { display: block; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-art__artist { display: block; font-size: .85rem; color: var(--ax-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-art__likes { flex: none; font: 400 .75rem/1 var(--ax-pixel); color: #ff8a8a; }

.ax-upload {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .8rem;
    min-height: 15rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--ax-ink);
    background:
        repeating-linear-gradient(45deg, rgba(0, 0, 0, .06) 0 10px, transparent 10px 20px),
        var(--ax-gold);
    border: 4px solid var(--ax-ink);
    box-shadow: 6px 6px 0 var(--ax-ink);
    transition: transform .2s var(--ax-ease), box-shadow .2s;
}
.ax-upload:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 10px 10px 0 var(--ax-ink); }
.ax-upload__plus { width: 3.75rem; height: 3.75rem; display: grid; place-items: center; background: var(--ax-ink); color: var(--ax-gold); font: 800 2.75rem/1 var(--ax-body); }
.ax-gallery > li { display: flex; }
.ax-gallery > li > a { flex: 1; }
.ax-upload strong { font: 400 1.25rem/1.1 var(--ax-display); }
.ax-upload__hint { font-weight: 600; font-size: .92rem; max-width: 16rem; }

.ax-steps { margin: 2.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: ax-step; }
.ax-steps li { counter-increment: ax-step; display: flex; gap: .9rem; align-items: center; padding: 1rem; background: rgba(0, 0, 0, .3); border: 2px solid var(--ax-stone-line); color: var(--ax-muted); }
.ax-steps li::before { content: counter(ax-step); flex: none; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--ax-grass); color: var(--ax-ink); font: 400 1rem/1 var(--ax-display); border: 2px solid var(--ax-ink); }

/* Closing CTA */
.ax-final { background: var(--ax-stone); padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.ax-final__box {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--ax-red-dark);
    border: 4px solid var(--ax-ink);
    box-shadow: 10px 10px 0 var(--ax-ink);
    display: grid;
    gap: 1.5rem;
    align-items: center;
}
.ax-final__box::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px); pointer-events: none; }
.ax-final__box h2 { font: 400 clamp(1.8rem, 4.5vw, 3rem)/1.05 var(--ax-display); color: #fff; }
.ax-final__box p { margin: .75rem 0 0 !important; color: #ffd9d9; max-width: 34rem; line-height: 1.6; }
.ax-final__box .ax-btn { position: relative; z-index: 1; justify-self: start; background: #fff; color: var(--ax-red-dark); }
@media (min-width: 860px) { .ax-final__box { grid-template-columns: 1fr auto; } }

/* Small screens: two columns keep the page short */
@media (max-width: 640px) {
    .ax-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .9rem; margin-top: 2.5rem; }
    .ax-video h3 { font-size: .88rem; }
    .ax-video__thumb { box-shadow: 4px 4px 0 var(--ax-line); }
    .ax-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
    .ax-art figcaption { padding: .5rem .55rem .6rem; }
    .ax-art__title { font-size: .9rem; }
    .ax-art__artist { font-size: .78rem; }
    .ax-upload { min-height: 0; padding: 1rem .75rem; gap: .6rem; }
    .ax-upload strong { font-size: 1rem; }
    .ax-upload__hint { font-size: .8rem; }
    .ax-upload__plus { width: 3rem; height: 3rem; font-size: 2.2rem; }
    .ax-card { width: min(16rem, 70vw); margin-top: 1rem; }
    .ax-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
    .ax-stat { padding: .8rem .7rem; border-left-width: 4px; }
    .ax-stat dd { font-size: 1.35rem; }
    .ax-stat dt { font-size: .6rem; }
    .ax-orb { display: none; }
}

/* Motion */
.ax-reveal { animation: ax-rise .75s var(--ax-ease) both; animation-delay: var(--d, 0s); }
@keyframes ax-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ax-blink { 50% { opacity: 0; } }
@keyframes ax-bob { 50% { transform: translateX(-50%) translateY(-5px) rotate(-2.5deg); } }
@keyframes ax-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(45deg); } }

@media (prefers-reduced-motion: reduce) {
    .ax-reveal, .ax-kicker::before, .ax-nametag, .ax-orb { animation: none !important; }
    .ax-btn, .ax-player img, .ax-video__thumb, .ax-art, .ax-upload { transition: none !important; }
}

.ax-page { background: var(--ax-night); }
.ax-home section[id] { scroll-margin-top: 4.5rem; }
.ax-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Shared: "EN DIRECTO" banner ---------- */

.ax-live { background: var(--ax-red-dark); border-bottom: 3px solid var(--ax-ink); font-family: var(--ax-body); }
.ax-live[hidden] { display: none; }
.ax-live__link { max-width: 1200px; margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; }
.ax-live__badge { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .6rem; background: #fff; color: var(--ax-red-dark); font: 400 .75rem/1 var(--ax-pixel); letter-spacing: .08em; text-transform: uppercase; }
.ax-live__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ax-red); animation: ax-pulse 1.2s ease-in-out infinite; }
.ax-live__title { min-width: 0; flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-live__cta { flex: none; font-weight: 800; text-transform: uppercase; font-size: .85rem; display: inline-flex; gap: .4rem; align-items: center; }
.ax-live__link:hover .ax-live__cta { text-decoration: underline; text-underline-offset: 4px; }
.ax-live a:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: -3px; }
@keyframes ax-pulse { 50% { transform: scale(1.35); opacity: .6; } }

/* ---------- Home: Shorts ---------- */

.ax-shorts { margin-top: 3.5rem; }
.ax-subhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.ax-subhead h3 { font: 400 1.5rem/1 var(--ax-display) !important; color: #fff; display: flex; gap: .6rem; align-items: center; }
.ax-subhead h3 i { color: var(--ax-gold); font-size: 1.1rem; }
.ax-shorts__list { list-style: none; margin: 0; padding: 0 0 .75rem; display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; }
.ax-shorts__list > li { scroll-snap-align: start; }
.ax-shorts__list { scrollbar-width: thin; scrollbar-color: var(--ax-grass) var(--ax-panel); }
.ax-shorts__list::-webkit-scrollbar { height: 8px; }
.ax-shorts__list::-webkit-scrollbar-track { background: var(--ax-panel); }
.ax-shorts__list::-webkit-scrollbar-thumb { background: var(--ax-grass); border-radius: 0; }
.ax-short { display: grid; gap: .45rem; color: inherit; text-decoration: none; }
.ax-short__thumb { aspect-ratio: 9 / 16; overflow: hidden; border: 3px solid var(--ax-ink); background: var(--ax-panel); box-shadow: 5px 5px 0 var(--ax-line); transition: transform .2s var(--ax-ease), box-shadow .2s; }
.ax-short__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ax-short:hover .ax-short__thumb { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ax-gold); }
.ax-short__title { font-weight: 700; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-short:hover .ax-short__title { color: var(--ax-grass); }
.ax-subhead--videos { margin-top: 3.5rem; }
.ax-subhead + .ax-videos { margin-top: 0; }

/* ---------- Home: "Más que vídeos" panels ---------- */

.ax-extras { background: var(--ax-night-2); border-top: 2px solid var(--ax-line); }
.ax-panels { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); align-items: start; }
.ax-panel { position: relative; padding: 1.6rem 1.5rem 1.75rem; background: var(--ax-panel); border: 3px solid var(--ax-ink); border-top: 8px solid var(--ax-grass); box-shadow: 8px 8px 0 var(--ax-ink); }
.ax-panel--fortnite { border-top-color: #a855f7; }
.ax-panel--game { border-top-color: var(--ax-gold); }
.ax-panel--discord { border-top-color: #5865f2; }
.ax-panel h3 { margin: .8rem 0 .7rem !important; font: 400 1.45rem/1.1 var(--ax-display); color: #fff; }
.ax-panel p:not(.ax-kicker) { margin: 0 0 1rem; color: var(--ax-muted); line-height: 1.6; }
.ax-panel__sub { margin: 1.4rem 0 .6rem; font: 400 .75rem/1 var(--ax-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-text); }
.ax-panel__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.ax-btn--discord { background: #4752c4; color: #fff; }

.ax-code { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: center; padding: .85rem 1rem; background: var(--ax-ink); border: 2px dashed #a855f7; }
.ax-code__label { grid-column: 1 / -1; font: 400 .68rem/1 var(--ax-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ax-code__value { font: 400 clamp(1.3rem, 3vw, 1.7rem)/1.1 var(--ax-display); color: #fff; letter-spacing: .04em; word-break: break-all; }
.ax-copy { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; font: 800 .8rem/1 var(--ax-body); text-transform: uppercase; color: var(--ax-ink); background: var(--ax-gold); border: 2px solid var(--ax-ink); box-shadow: 0 3px 0 var(--ax-ink); cursor: pointer; }
.ax-copy:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ax-ink); }
.ax-copy--sm { padding: .4rem .6rem; font-size: .72rem; }
.ax-islands { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ax-islands li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; align-items: center; padding: .6rem .75rem; background: rgba(0, 0, 0, .28); border: 2px solid var(--ax-line); }
.ax-islands__name { font-weight: 700; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-islands code { grid-column: 1; font: 400 .85rem/1 var(--ax-pixel); color: var(--ax-muted); }
.ax-islands .ax-copy { grid-column: 2; grid-row: 1 / span 2; }

.ax-online { display: flex; align-items: center; gap: .55rem; color: var(--ax-grass) !important; font-weight: 700; }
.ax-online__dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--ax-grass); box-shadow: 0 0 10px var(--ax-grass); }

/* ---------- Home: fan art of the month ---------- */

.ax-spot { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; padding: 1.25rem; background: rgba(0, 0, 0, .35); border: 4px solid var(--ax-ink); box-shadow: 8px 8px 0 var(--ax-gold); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .ax-spot { grid-template-columns: minmax(14rem, 22rem) 1fr; gap: 2rem; padding: 1.5rem; } }
.ax-spot__media { position: relative; display: block; border: 4px solid var(--ax-ink); background: #241d16; }
.ax-spot__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ax-spot__crown { position: absolute; top: -1.1rem; left: -1.1rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--ax-gold); color: var(--ax-ink); border: 3px solid var(--ax-ink); font-size: 1.25rem; transform: rotate(-10deg); }
.ax-spot__body h3 { margin: .8rem 0 .3rem !important; font: 400 clamp(1.6rem, 3.5vw, 2.4rem)/1.05 var(--ax-display); color: #fff; overflow-wrap: anywhere; }
.ax-spot__artist { margin: 0 0 1rem; color: var(--ax-gold); font-weight: 700; }
.ax-spot__body > p:not(.ax-kicker):not(.ax-spot__artist) { margin: 0 0 1.4rem; color: var(--ax-muted); line-height: 1.6; max-width: 34rem; }
.ax-like { background: #fff; }
.ax-like i { color: var(--ax-red); }
.ax-like[aria-pressed="true"] { background: var(--ax-red); color: #fff; }
.ax-like[aria-pressed="true"] i { color: #fff; }
.ax-like[aria-disabled="true"] { opacity: .7; cursor: progress; }
.ax-like__count { padding-left: .55rem; border-left: 2px solid currentColor; }

/* ---------- Brands page (media kit) ---------- */

.ax-hero--compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.ax-title--md { font-size: clamp(2.6rem, 8vw, 5.5rem) !important; }
.ax-note { margin: 1rem 0 0; font-size: .875rem; color: var(--ax-muted); }
.ax-section--tight { padding-top: 0; }
.ax-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.ax-pillar { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: var(--ax-panel); border: 3px solid var(--ax-ink); box-shadow: 6px 6px 0 var(--ax-ink); font: 400 1.35rem/1 var(--ax-display); color: #fff; }
.ax-pillar i { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.2rem; color: var(--ax-ink); border: 2px solid var(--ax-ink); }
.ax-pillar--minecraft i { background: var(--ax-grass); }
.ax-pillar--hytale i { background: var(--ax-gold); }
.ax-pillar--fortnite i { background: #c084fc; }
.ax-perf { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.ax-perf__item { display: grid; grid-template-columns: 8.5rem 1fr; grid-template-rows: auto auto; gap: .35rem 1.1rem; align-items: center; padding: .65rem; color: inherit; text-decoration: none; background: var(--ax-panel); border: 3px solid var(--ax-ink); transition: transform .2s var(--ax-ease), box-shadow .2s; }
.ax-perf__item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ax-gold); }
.ax-perf__item img { grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid var(--ax-ink); }
.ax-perf__title { align-self: end; font-weight: 700; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-perf__meta { align-self: start; font-size: .9rem; color: var(--ax-muted); }
.ax-perf__meta strong { color: var(--ax-grass); }
.ax-brands .ax-final { background: var(--ax-night); }
.ax-brands .ax-final__box .ax-btn { overflow-wrap: anywhere; text-transform: none; }

@media (max-width: 640px) {
    .ax-shorts__list { grid-auto-columns: 42%; }
    .ax-panel { padding: 1.25rem 1.1rem 1.4rem; }
    .ax-perf__item { grid-template-columns: 6.5rem 1fr; }
    .ax-perf__title { font-size: .9rem; }
    .ax-perf__meta { font-size: .8rem; }
    .ax-live__cta { display: none; }
    .ax-brands .ax-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ax-stat dt { overflow-wrap: anywhere; line-height: 1.3; }
    .ax-spot { grid-template-columns: 7.5rem 1fr; gap: .4rem 1rem; padding: .9rem; align-items: start; }
    .ax-spot__crown { width: 2.2rem; height: 2.2rem; top: -.8rem; left: -.8rem; font-size: .9rem; }
    .ax-spot__body h3 { margin-top: .5rem !important; font-size: 1.3rem; }
    .ax-spot__artist { margin-bottom: .5rem; font-size: .9rem; }
    .ax-spot__body > p:not(.ax-kicker):not(.ax-spot__artist) { font-size: .85rem; line-height: 1.5; margin-bottom: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ax-live__dot { animation: none !important; }
    .ax-short__thumb, .ax-perf__item { transition: none !important; }
}

/* ---------- Wordle (daily game + archive) ---------- */

.ax-wordle__wrap { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.ax-wordle__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.ax-wordle__title { margin-top: .7rem !important; font: 400 clamp(2rem, 6vw, 3.4rem)/1 var(--ax-display); color: #fff; text-shadow: 4px 4px 0 var(--ax-grass-dark); }
.ax-wordle__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.ax-tabs { list-style: none; margin: 0; padding: .3rem; display: flex; gap: .3rem; background: var(--ax-panel); border: 2px solid var(--ax-line); }
.ax-tab { display: block; padding: .5rem .9rem; color: var(--ax-muted); font-weight: 700; text-decoration: none; }
.ax-tab:hover { color: #fff; }
.ax-tab[aria-current="page"] { background: var(--ax-grass); color: var(--ax-ink); }

.ax-wordle__day { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: .6rem; background: var(--ax-panel); border: 3px solid var(--ax-ink); box-shadow: 6px 6px 0 var(--ax-ink); }
.ax-daynav { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--ax-ink); background: var(--ax-gold); border: 2px solid var(--ax-ink); text-decoration: none; }
.ax-daynav:hover { filter: brightness(1.08); }
.ax-daynav.is-disabled { background: transparent; color: var(--ax-line); border-color: var(--ax-line); }
.ax-wordle__date { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .8rem; text-align: center; color: #fff; font-weight: 700; font-size: 1.05rem; }
.ax-badge { padding: .35rem .55rem; font: 400 .7rem/1 var(--ax-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ax-ink); background: var(--ax-muted); }
.ax-badge--today { background: var(--ax-grass); }

.ax-wordle__grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .ax-wordle__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.ax-wordle__frame { margin: 0; }
.ax-wordle__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #254294; border: 4px solid var(--ax-ink); box-shadow: 10px 10px 0 var(--ax-gold), 10px 10px 0 4px var(--ax-ink); image-rendering: pixelated; user-select: none; }
.ax-wordle__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin-top: 1.4rem; color: var(--ax-muted); font-size: .9rem; }
.ax-wordle__stats i { color: var(--ax-grass); }

.ax-wordle__panel { display: grid; gap: 1.1rem; padding: 1.4rem; background: var(--ax-panel); border: 3px solid var(--ax-ink); box-shadow: 8px 8px 0 var(--ax-ink); }
.ax-lives { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ax-lives__hearts { display: flex; gap: .35rem; font-size: 1.6rem; }
.ax-heart { color: #ff4d5e; filter: drop-shadow(2px 2px 0 var(--ax-ink)); transition: transform .2s var(--ax-ease), color .2s; }
.ax-heart.is-lost { color: var(--ax-line); filter: none; transform: scale(.85); }
.ax-lives__text { font: 400 .8rem/1 var(--ax-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ax-text); }
.ax-wordle__countdown { margin: 0; color: var(--ax-muted); font-size: .9rem; }
.ax-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; font-weight: 700; }

.ax-guess { display: grid; gap: .6rem; }
.ax-guess[hidden] { display: none; }
.ax-label { font-weight: 700; color: #fff; }
.ax-guess__row { display: flex; gap: .6rem; }
.ax-input { flex: 1; min-width: 0; padding: .8rem .9rem; font: 600 1rem/1.2 var(--ax-body); color: #fff; background: var(--ax-ink); border: 3px solid var(--ax-line); border-radius: 4px; }
.ax-input::placeholder { color: #8d96b5; }
.ax-input:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; border-color: var(--ax-gold); }
/* Guess suggestions (combobox) */
.ax-combo { position: relative; flex: 1; min-width: 0; display: flex; }
.ax-combo .ax-input { width: 100%; }
.ax-combo__list {
    position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px);
    margin: 0; padding: .3rem; list-style: none;
    max-height: min(17rem, 50vh); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--ax-gold) transparent;
    background: #0d1430; border: 2px solid var(--ax-gold); box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}
.ax-combo__list[hidden] { display: none; }
.ax-combo__option { padding: .7rem .75rem; font-weight: 600; line-height: 1.25; color: var(--ax-text); border-radius: 3px; cursor: pointer; }
.ax-combo__option mark { background: none; color: var(--ax-gold); }
.ax-combo__option:hover, .ax-combo__option[aria-selected="true"] { background: var(--ax-gold); color: var(--ax-ink); }
.ax-combo__option:hover mark, .ax-combo__option[aria-selected="true"] mark { color: inherit; text-decoration: underline; }
.ax-guess .ax-btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.ax-linkbtn { justify-self: start; padding: .25rem 0; font: 600 .9rem/1.2 var(--ax-body); color: var(--ax-muted); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ax-linkbtn:hover { color: #fff; }
.ax-home .ax-linkbtn:focus-visible, .ax-home .ax-msg:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 3px; }

.ax-msg:empty { display: none; }
.ax-msg { padding: .8rem 1rem; font-weight: 700; border: 2px solid; }
.ax-msg--success { color: #d6ffc7; background: rgba(111, 220, 74, .14); border-color: var(--ax-grass); }
.ax-msg--error { color: #ffd9dc; background: rgba(220, 38, 38, .16); border-color: #ff6b77; }
.ax-answer { margin: 0; font-size: 1.15rem; color: var(--ax-muted); }
.ax-answer[hidden] { display: none; }
.ax-answer strong { display: block; margin-top: .2rem; font: 400 clamp(1.4rem, 3vw, 1.9rem)/1.1 var(--ax-display); color: var(--ax-gold); }

.ax-share { display: grid; gap: .6rem; justify-items: start; padding: 1rem; background: rgba(0, 0, 0, .3); border: 2px dashed var(--ax-line); }
.ax-share[hidden] { display: none; }
.ax-share__title { margin: 0; font-weight: 800; color: #fff; }
.ax-share__grid { margin: 0; font-size: 1.6rem; letter-spacing: .15em; }
.ax-share__streak { margin: 0; font-size: .9rem; color: var(--ax-muted); }
.ax-share__streak[hidden] { display: none; }

.ax-hints h2 { margin: 0 0 .6rem; font: 400 .8rem/1 var(--ax-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-gold); }
.ax-hints h2 span { color: var(--ax-muted); }
.ax-hints__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; counter-reset: ax-hint; }
.ax-hints__list li { counter-increment: ax-hint; display: flex; gap: .7rem; align-items: center; padding: .6rem .75rem; color: var(--ax-text); background: rgba(0, 0, 0, .28); border-left: 4px solid var(--ax-grass); }
.ax-hints__list li::before { content: counter(ax-hint); flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; font: 400 .8rem/1 var(--ax-display); color: var(--ax-ink); background: var(--ax-grass); }
.ax-hints__list li.is-locked { color: #8d96b5; border-left-color: var(--ax-line); font-style: italic; }
.ax-hints__list li.is-locked::before { background: var(--ax-line); color: var(--ax-muted); }

.ax-wordle__soon { display: grid; gap: .8rem; justify-items: center; }
.ax-wordle__soon-title { margin: 0; font: 400 1.6rem/1 var(--ax-display); color: #fff; }

/* Day tiles: "retos anteriores" strip and the archive calendar */
.ax-recent { margin-top: 3rem; }
.ax-recent .ax-subhead h2 { font: 400 1.4rem/1 var(--ax-display); color: #fff; }
.ax-subhead .ax-link { white-space: nowrap; }
.ax-days { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); }
.ax-days--strip { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ax-day { position: relative; display: grid; justify-items: center; gap: .2rem; padding: .55rem .3rem .5rem; color: var(--ax-text); text-decoration: none; background: var(--ax-panel); border: 2px solid var(--ax-line); transition: transform .15s var(--ax-ease), border-color .15s; }
.ax-day:hover { transform: translateY(-2px); border-color: var(--ax-gold); }
.ax-day[aria-current="page"] { border-color: var(--ax-gold); box-shadow: inset 0 0 0 2px var(--ax-gold); }
.ax-day__dow { font: 400 .62rem/1 var(--ax-pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--ax-muted); }
.ax-day__num { font: 400 1.35rem/1 var(--ax-display); color: #fff; }
.ax-day__status { min-height: .9rem; font: 400 .65rem/1 var(--ax-pixel); }
.ax-day.is-won { background: rgba(111, 220, 74, .16); border-color: var(--ax-grass); }
.ax-day.is-won .ax-day__status { color: var(--ax-grass); }
.ax-day.is-lost { background: rgba(220, 38, 38, .14); border-color: #ff6b77; }
.ax-day.is-lost .ax-day__status { color: #ff9aa3; }
.ax-home .ax-day:focus-visible, .ax-home .ax-daynav:focus-visible, .ax-home .ax-tab:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 3px; }

.ax-archive__intro { margin-bottom: 2rem; }
.ax-archive__intro h2 { margin: 0 0 .5rem; font: 400 1.6rem/1 var(--ax-display); color: #fff; }
.ax-archive__intro p { margin: 0; color: var(--ax-muted); line-height: 1.6; max-width: 40rem; }
.ax-archive__note { margin-top: .5rem !important; font-size: .85rem; }
.ax-legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ax-text); font-size: .9rem; }
.ax-legend li { display: flex; align-items: center; gap: .45rem; }
.ax-legend__swatch { width: 1rem; height: 1rem; background: var(--ax-panel); border: 2px solid var(--ax-line); }
.ax-legend__swatch.is-won { background: rgba(111, 220, 74, .3); border-color: var(--ax-grass); }
.ax-legend__swatch.is-lost { background: rgba(220, 38, 38, .3); border-color: #ff6b77; }
.ax-month { margin-top: 2rem; }
.ax-month h2 { margin: 0 0 .8rem; font: 400 1.15rem/1 var(--ax-display); color: var(--ax-gold); }

/* Archive day tooltip: shown on hover (real pointers only, so a tap still opens the day) and on keyboard focus */
.ax-day-cell { position: relative; }
.ax-tip {
    position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30;
    width: max-content; max-width: min(16rem, calc(100vw - 16px));
    padding: .7rem .85rem; text-align: left;
    color: var(--ax-text); background: #0d1430; border: 2px solid var(--ax-gold);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
    transform: translateX(calc(-50% + var(--ax-tip-shift, 0px)));
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .12s ease, visibility .12s;
}
/* Arrow, pointing at the tile even when the box was shifted to stay on screen */
.ax-tip::before {
    content: ""; position: absolute; top: 100%; left: calc(50% - var(--ax-tip-shift, 0px)); margin-left: -7px;
    border: 7px solid transparent; border-top-color: var(--ax-gold);
}
/* Invisible bridge over the gap, so the pointer can move onto the tooltip without losing it */
.ax-tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.ax-tip__title { margin: 0 0 .45rem; font: 400 .7rem/1.2 var(--ax-pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--ax-gold); }
.ax-tip__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .88rem; line-height: 1.3; }
.ax-tip__list li { display: flex; gap: .5rem; align-items: baseline; }
.ax-tip__list i { width: 1rem; flex: none; text-align: center; color: var(--ax-grass); }
.ax-tip__empty { margin: 0; font-size: .88rem; color: var(--ax-muted); }
.ax-tip__own { margin: .5rem 0 0; padding-top: .45rem; border-top: 1px solid var(--ax-line); font-size: .82rem; color: #ff9aa3; }
.ax-tip__own.is-won { color: var(--ax-grass); }
.ax-day-cell.is-tip-below .ax-tip { bottom: auto; top: calc(100% + 10px); }
.ax-day-cell.is-tip-below .ax-tip::before { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ax-gold); }
.ax-day-cell.is-tip-below .ax-tip::after { top: auto; bottom: 100%; }
.ax-day-cell .ax-day:focus-visible + .ax-tip { opacity: 1; visibility: visible; }
@media (hover: hover) and (pointer: fine) {
    .ax-day-cell:hover .ax-tip { opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (hover: none), (pointer: coarse) {
    .ax-hover-only { display: none; }
}
.ax-day-cell.is-tip-dismissed .ax-tip,
.ax-day-cell.is-tip-dismissed .ax-day:focus-visible + .ax-tip { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 640px) {
    .ax-wordle__panel { padding: 1.1rem; }
    .ax-guess__row { flex-direction: column; }
    .ax-guess__row .ax-btn { justify-content: center; }
    .ax-days--strip { grid-template-columns: repeat(auto-fill, minmax(3.9rem, 1fr)); }
    .ax-day__num { font-size: 1.15rem; }
    .ax-wordle__date { font-size: .95rem; }
    .ax-recent .ax-subhead h2 { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ax-heart, .ax-day { transition: none !important; }
}

/* ---------- Fan art gallery page (/galeria) ---------- */
.ax-gal__hero-grid { display: grid; gap: 2rem 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ax-gal__hero-grid { grid-template-columns: 1.15fr 1fr; } }
.ax-gal__intro { max-width: 34rem; margin: 0 0 1.75rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--ax-muted); }
.ax-gal__stats { grid-column: 1 / -1; margin-top: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-gal__flash { display: flex; gap: .6rem; align-items: center; margin: 2rem 0 0; }

/* Header collage: the most voted pictures hung like item frames */
.ax-gal__collage { position: relative; height: clamp(16rem, 30vw, 22rem); }
.ax-gal__frame {
    position: absolute; width: 52%; padding: .45rem;
    background: #241d16; border: 4px solid var(--ax-ink); box-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
}
.ax-gal__frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ax-gal__frame--1 { left: 24%; top: 2%; z-index: 3; transform: rotate(-3deg); box-shadow: 10px 10px 0 var(--ax-gold); }
.ax-gal__frame--2 { left: 0; top: 22%; z-index: 2; width: 42%; transform: rotate(-9deg); }
.ax-gal__frame--3 { right: 0; top: 30%; z-index: 1; width: 40%; transform: rotate(7deg); }
.ax-gal__frame::before { /* the nail */
    content: ''; position: absolute; top: -.9rem; left: 50%; width: .7rem; height: .7rem; margin-left: -.35rem;
    background: var(--ax-muted); border: 2px solid var(--ax-ink);
}
@media (max-width: 699px) { .ax-gal__collage { display: none; } }

/* Search + order */
.ax-gal__head { margin-bottom: 1.25rem; scroll-margin-top: 6rem; } /* #galeria: clear of the sticky menu */
.ax-gal__bar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.ax-gal__search { flex: 1 1 22rem; display: flex; gap: .6rem; max-width: 34rem; }
.ax-gal__search-field { position: relative; flex: 1; min-width: 0; display: flex; }
.ax-gal__search-field i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ax-muted); pointer-events: none; }
.ax-gal__search .ax-input { width: 100%; padding-left: 2.6rem; }
.ax-gal__search .ax-input::-webkit-search-cancel-button { filter: invert(1); }
.ax-gal__sort { display: flex; flex-wrap: wrap; border: 3px solid var(--ax-ink); background: var(--ax-ink); gap: 3px; }
.ax-gal__sort a {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .55rem .9rem;
    font-weight: 700; font-size: .92rem; color: var(--ax-text); text-decoration: none; background: var(--ax-panel);
}
.ax-gal__sort a:hover { background: var(--ax-line); }
.ax-gal__sort a[aria-current] { background: var(--ax-gold); color: var(--ax-ink); }
.ax-gal__sort a:focus-visible, .ax-pager a:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; position: relative; z-index: 1; }
.ax-gal__summary { margin: 1.1rem 0 1.75rem; color: var(--ax-muted); font-size: .95rem; }
.ax-gal__empty { margin-top: 1rem; }
.ax-gal__empty p { margin: 0; }

/* Gallery grid and pieces */
.ax-gal__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.ax-gal__grid > li { display: flex; min-width: 0; }
.ax-gal__grid > li > * { flex: 1; min-width: 0; } /* long titles shrink with an ellipsis instead of widening the column */
.ax-piece {
    position: relative; display: flex; flex-direction: column;
    background: #241d16; border: 4px solid var(--ax-ink); box-shadow: 6px 6px 0 var(--ax-stone-line);
    transition: transform .2s var(--ax-ease), box-shadow .2s;
}
.ax-gal__grid > li:nth-child(odd) .ax-piece { transform: rotate(-.8deg); }
.ax-gal__grid > li:nth-child(even) .ax-piece { transform: rotate(.8deg); }
.ax-gal__grid > li .ax-piece:hover, .ax-gal__grid > li .ax-piece:focus-within { transform: rotate(0) translateY(-4px); box-shadow: 8px 10px 0 var(--ax-grass-dark); }
.ax-piece__open { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #120e0a; border: 0; border-bottom: 4px solid var(--ax-ink); cursor: zoom-in; }
.ax-piece__open img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.ax-piece__open:hover img { transform: scale(1.05); }
.ax-piece__open:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: -3px; }
.ax-piece__zoom {
    position: absolute; right: .55rem; bottom: .55rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
    color: #fff; background: rgba(5, 7, 15, .75); border: 2px solid var(--ax-ink); opacity: 0; transition: opacity .2s;
}
.ax-piece__open:hover .ax-piece__zoom, .ax-piece__open:focus-visible .ax-piece__zoom { opacity: 1; }
.ax-piece__new, .ax-piece__rank { position: absolute; z-index: 2; font: 400 .7rem/1 var(--ax-pixel); letter-spacing: .06em; text-transform: uppercase; border: 2px solid var(--ax-ink); pointer-events: none; }
.ax-piece__new { top: .55rem; left: .55rem; padding: .35rem .45rem; color: var(--ax-ink); background: var(--ax-grass); }
.ax-piece__rank { top: -.95rem; left: -.95rem; padding: .5rem .55rem; font: 400 1rem/1 var(--ax-display); color: var(--ax-ink); background: #d7dbe8; box-shadow: 3px 3px 0 var(--ax-ink); transform: rotate(-8deg); }
.ax-piece__rank--1 { background: var(--ax-gold); }
.ax-piece__rank--3 { background: #e0a46a; }
.ax-piece__body { flex: 1; display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding: .75rem .8rem .85rem; }
.ax-piece__who { min-width: 0; }
.ax-piece__title { margin: 0 !important; font: 700 1rem/1.3 var(--ax-body) !important; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-piece__artist { margin: .15rem 0 0; font-size: .85rem; color: var(--ax-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Vote button on each piece */
.ax-vote {
    flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; min-width: 2.6rem; padding: .4rem .6rem;
    font: 400 .78rem/1 var(--ax-pixel); color: #ffc2c2; background: rgba(0, 0, 0, .35); border: 2px solid #6b3434; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.ax-vote i { color: #ff6b77; font-size: .95rem; }
.ax-vote:hover { border-color: #ff6b77; }
.ax-vote[aria-pressed="true"] { color: #fff; background: var(--ax-red); border-color: var(--ax-ink); }
.ax-vote[aria-pressed="true"] i { color: #fff; }
.ax-vote[aria-disabled="true"] { opacity: .7; cursor: progress; }
.ax-vote:focus-visible, .ax-viewer__close:focus-visible, .ax-viewer__step:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }
.ax-vote.is-popping i, .ax-like.is-popping i { animation: ax-pop .35s var(--ax-ease); }
@keyframes ax-pop { 40% { transform: scale(1.5); } }
.ax-gal .ax-spot__body h2 { margin: .8rem 0 .3rem !important; font: 400 clamp(1.6rem, 3.5vw, 2.4rem)/1.05 var(--ax-display); color: #fff; overflow-wrap: anywhere; }

/* Pages */
.ax-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin-top: 3rem; }
.ax-pager__pages { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ax-pager__page, .ax-pager__step {
    min-width: 2.75rem; height: 2.75rem; padding: 0 .8rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 700; color: var(--ax-text); text-decoration: none; background: var(--ax-panel); border: 3px solid var(--ax-ink); box-shadow: 0 4px 0 var(--ax-ink);
}
.ax-pager__page { font: 400 1rem/1 var(--ax-display); }
.ax-pager a:hover { background: var(--ax-line); }
.ax-pager__page.is-current { color: var(--ax-ink); background: var(--ax-gold); }
.ax-pager__step.is-disabled { opacity: .4; box-shadow: none; }
.ax-pager__gap { align-self: center; color: var(--ax-muted); padding: 0 .2rem; }

/* Full-size viewer (dialog) */
.ax-viewer {
    width: min(74rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0;
    color: var(--ax-text); background: var(--ax-panel); border: 4px solid var(--ax-ink); box-shadow: 10px 10px 0 var(--ax-gold);
    overflow: auto; overscroll-behavior: contain; font-family: var(--ax-body);
}
.ax-viewer::backdrop { background: rgba(5, 7, 15, .86); backdrop-filter: blur(3px); }
.ax-viewer[open] { animation: ax-viewer-in .2s ease-out; }
@keyframes ax-viewer-in { from { opacity: 0; transform: scale(.97); } }
body:has(.ax-viewer[open]) { overflow: hidden; }
.ax-viewer__frame { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ax-viewer__frame { grid-template-columns: minmax(0, 1fr) 22rem; } }
.ax-viewer__media {
    margin: 0; display: grid; place-items: center; padding: 1rem; min-height: 12rem;
    background: repeating-conic-gradient(#0e1428 0 25%, #0b1022 0 50%) 0 0 / 28px 28px;
}
.ax-viewer__media img { display: block; max-width: 100%; max-height: min(60dvh, 46rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
@media (min-width: 900px) { .ax-viewer__media img { max-height: calc(100dvh - 6rem); } }
.ax-viewer__info { display: flex; flex-direction: column; gap: .85rem; padding: 1.25rem 1.4rem 1.4rem; border-top: 4px solid var(--ax-ink); }
@media (min-width: 900px) { .ax-viewer__info { border-top: 0; border-left: 4px solid var(--ax-ink); max-height: calc(100dvh - 2rem - 8px); overflow: auto; } }
.ax-viewer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ax-viewer__top .ax-kicker { margin: 0; }
.ax-viewer__close {
    flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.25rem;
    color: var(--ax-text); background: var(--ax-ink); border: 2px solid var(--ax-line); cursor: pointer;
}
.ax-viewer__close:hover { color: var(--ax-ink); background: var(--ax-gold); }
.ax-viewer__title { margin: 0 !important; font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--ax-display) !important; color: #fff; overflow-wrap: anywhere; }
.ax-viewer__artist { margin: -.4rem 0 0; font-weight: 700; color: var(--ax-gold); }
.ax-viewer__description { margin: 0; color: var(--ax-muted); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.ax-viewer__meta { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--ax-muted); }
.ax-viewer .ax-like { align-self: flex-start; }
.ax-viewer__nav { margin-top: auto; padding-top: .5rem; display: flex; gap: .6rem; }
.ax-viewer__step {
    flex: 1; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 700; color: var(--ax-text); background: transparent; border: 3px solid var(--ax-line); cursor: pointer;
}
.ax-viewer__step:hover { border-color: var(--ax-text); }
.ax-viewer [hidden] { display: none !important; } /* .ax-link and the nav buttons set their own display */
.ax-viewer .ax-msg { margin: 0; font-size: .9rem; }

/* Vote errors on the page (outside the viewer) */
.ax-toast {
    position: fixed; z-index: 60; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
    width: max-content; max-width: calc(100vw - 2rem); margin: 0; background: #2a0d12; box-shadow: 4px 4px 0 var(--ax-ink);
}

@media (max-width: 640px) {
    .ax-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; }
    .ax-gal__grid .ax-upload { min-height: 0; padding: 1rem .75rem; }
    .ax-gal__grid .ax-upload__plus { width: 2.75rem; height: 2.75rem; font-size: 2rem; }
    .ax-gal__grid .ax-upload strong { font-size: 1rem; }
    .ax-gal__grid .ax-upload__hint { font-size: .8rem; }
    .ax-piece__body { flex-direction: column; align-items: stretch; padding: .6rem; }
    .ax-vote { justify-content: center; }
    .ax-piece__rank { top: -.7rem; left: -.6rem; font-size: .85rem; }
    .ax-gal__stats .ax-stat { padding: .8rem .75rem; }
    .ax-gal__stats .ax-stat dd { font-size: 1.45rem; }
    .ax-gal__stats .ax-stat dt { font-size: .62rem; }
    .ax-gal__search { flex-basis: 100%; }
    .ax-gal__sort { width: 100%; }
    .ax-gal__sort a { flex: 1; justify-content: center; padding: .55rem .4rem; font-size: .85rem; }
    .ax-pager__word { display: none; }
    .ax-viewer { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); box-shadow: 6px 6px 0 var(--ax-gold); }
}

@media (prefers-reduced-motion: reduce) {
    .ax-piece, .ax-piece__open img, .ax-vote { transition: none !important; }
    .ax-viewer[open], .ax-vote.is-popping i, .ax-like.is-popping i { animation: none !important; }
}

/* ---------- Wordle: intro line and the "how to play" + FAQ section ---------- */
.ax-wordle__lead { margin: .6rem 0 0; max-width: 34rem; color: var(--ax-muted); font-size: 1rem; line-height: 1.5; }
.ax-wordle-about { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 2px solid var(--ax-line); display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ax-wordle-about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; } }
.ax-wordle-about h2 { margin: 0 0 1.1rem; font: 400 clamp(1.3rem, 2.4vw, 1.6rem)/1.15 var(--ax-display); color: #fff; }
.ax-wordle-about__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; counter-reset: ax-howto; }
.ax-wordle-about__steps li { counter-increment: ax-howto; display: flex; gap: .85rem; align-items: flex-start; padding: .8rem .9rem; color: var(--ax-text); line-height: 1.5; background: var(--ax-panel); border: 2px solid var(--ax-line); }
.ax-wordle-about__steps li::before {
    content: counter(ax-howto); flex: none; width: 1.9rem; height: 1.9rem; display: grid; place-items: center;
    font: 400 .9rem/1 var(--ax-display); color: var(--ax-ink); background: var(--ax-gold); border: 2px solid var(--ax-ink);
}
.ax-faq { border: 2px solid var(--ax-line); background: var(--ax-panel); }
.ax-faq + .ax-faq { margin-top: .6rem; }
.ax-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem;
    font-weight: 700; color: #fff; cursor: pointer; list-style: none;
}
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: '+'; flex: none; font: 400 1.2rem/1 var(--ax-display); color: var(--ax-gold); transition: transform .2s; }
.ax-faq[open] summary::after { transform: rotate(45deg); }
.ax-faq summary:hover { color: var(--ax-gold); }
.ax-faq summary:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }
.ax-faq p { margin: 0; padding: 0 1rem 1rem; color: var(--ax-muted); line-height: 1.65; }
.ax-faq p .ax-link { margin-left: .35rem; }
.ax-wordle-about__more { grid-column: 1 / -1; margin: 0; color: var(--ax-muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
@media (prefers-reduced-motion: reduce) { .ax-faq summary::after { transition: none; } }
@media (max-width: 640px) { .ax-wordle__lead { font-size: .92rem; margin-top: .45rem; } .ax-wordle-about { margin-top: 2.5rem; padding-top: 2rem; } }

/* ---------- Footer: legal links ---------- */
.ax-footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.ax-footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.ax-footer__legal a, .ax-footer__legal button { color: var(--ax-muted); font: inherit; background: none; border: 0; padding: .2rem 0; cursor: pointer; text-decoration: none; }
.ax-footer__legal a:hover, .ax-footer__legal button:hover { color: var(--ax-text); text-decoration: underline; text-underline-offset: 3px; }
.ax-footer__legal button:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }

/* ---------- Cookie banner (not modal) ---------- */
.ax-consent {
    position: fixed; z-index: 70; left: 1rem; bottom: 1rem; width: min(26rem, calc(100vw - 2rem));
    padding: 1.1rem 1.2rem 1.2rem; font-family: var(--ax-body); color: var(--ax-text);
    background: var(--ax-panel); border: 3px solid var(--ax-ink); box-shadow: 6px 6px 0 var(--ax-gold);
}
.ax-consent[hidden] { display: none; }
.ax-consent__title { margin: 0 0 .4rem; font: 400 1.05rem/1.1 var(--ax-display); color: #fff; }
.ax-consent__title:focus { outline: none; }
.ax-consent__title:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 3px; }
.ax-consent__text { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; color: var(--ax-muted); }
.ax-consent__text a { color: var(--ax-grass); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ax-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
/* Both choices look the same on purpose: rejecting must be as easy as accepting. */
.ax-consent__btn {
    min-height: 2.75rem; padding: .55rem .8rem; font: 800 .95rem/1 var(--ax-body); color: var(--ax-ink);
    background: #fff; border: 3px solid var(--ax-ink); box-shadow: 0 4px 0 var(--ax-ink); cursor: pointer;
}
.ax-consent__btn:hover { background: var(--ax-gold); }
.ax-consent__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ax-ink); }
.ax-consent__btn:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 3px; }

/* ---------- Legal pages ---------- */
.ax-legal { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.ax-legal__wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ax-legal__wrap { grid-template-columns: 14rem minmax(0, 46rem); gap: 3rem; align-items: start; } }
.ax-legal__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 900px) { .ax-legal__nav { position: sticky; top: 6rem; } .ax-legal__nav ul { flex-direction: column; } }
.ax-legal__nav a { display: block; padding: .6rem .8rem; font-weight: 700; font-size: .92rem; color: var(--ax-text); text-decoration: none; background: var(--ax-panel); border: 2px solid var(--ax-line); }
.ax-legal__nav a:hover { border-color: var(--ax-gold); }
.ax-legal__nav a[aria-current="page"] { color: var(--ax-ink); background: var(--ax-gold); border-color: var(--ax-ink); }
.ax-legal__head h1 { margin: .7rem 0 .4rem !important; font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.05 var(--ax-display); color: #fff; text-shadow: 4px 4px 0 var(--ax-grass-dark); }
.ax-legal__updated { margin: 0 0 2rem; font-size: .9rem; color: var(--ax-muted); }
.ax-legal__doc { min-width: 0; color: var(--ax-text); line-height: 1.7; }
.ax-legal__doc h2 { margin: 2.25rem 0 .8rem; font: 400 1.25rem/1.2 var(--ax-display); color: var(--ax-gold); }
.ax-legal__doc h3 { margin: 1.4rem 0 .5rem; font-weight: 800; font-size: 1.05rem; color: #fff; }
.ax-legal__doc p { margin: 0 0 1rem; color: #cfd5ea; }
.ax-legal__doc .ax-legal__lead { font-size: 1.08rem; color: var(--ax-text); }
.ax-legal__doc ul { margin: 0 0 1rem; padding-left: 1.3rem; list-style: square; color: #cfd5ea; }
.ax-legal__doc li { margin-bottom: .35rem; }
.ax-legal__doc li::marker { color: var(--ax-grass); }
.ax-legal__doc a { color: var(--ax-grass); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ax-legal__doc a:hover { color: #9cf07c; }
.ax-legal__doc code { padding: .1rem .35rem; font-size: .88em; color: #fff; background: var(--ax-ink); border: 1px solid var(--ax-line); }
.ax-legal__data { margin: 0 0 1rem; display: grid; border: 2px solid var(--ax-line); background: var(--ax-panel); }
.ax-legal__data > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 1rem; }
.ax-legal__data > div + div { border-top: 1px solid var(--ax-line); }
.ax-legal__data dt { font-weight: 800; color: #fff; }
.ax-legal__data dd { margin: 0; color: #cfd5ea; overflow-wrap: anywhere; }
.ax-legal__card { margin: 0 0 1rem; padding: 1rem 1.15rem .4rem; background: var(--ax-panel); border: 2px solid var(--ax-line); border-left: 6px solid var(--ax-grass); }
.ax-legal__card h3 { margin-top: 0; }
.ax-legal__card dl { margin: 0 0 .8rem; display: grid; gap: .5rem; }
.ax-legal__card dl > div { display: grid; grid-template-columns: 8rem 1fr; gap: .75rem; }
.ax-legal__card dt { font-weight: 800; color: var(--ax-gold); font-size: .92rem; }
.ax-legal__card dd { margin: 0; color: #cfd5ea; }
.ax-legal__table { margin: 0 0 1rem; overflow-x: auto; border: 2px solid var(--ax-line); }
.ax-legal__table:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }
.ax-legal__table table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .92rem; }
.ax-legal__table th, .ax-legal__table td { padding: .65rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ax-line); }
.ax-legal__table th { color: #fff; background: var(--ax-ink); font-weight: 800; }
.ax-legal__table td { color: #cfd5ea; }
@media (max-width: 640px) {
    .ax-legal__data > div, .ax-legal__card dl > div { grid-template-columns: 1fr; gap: .15rem; }
    .ax-consent { left: .5rem; bottom: .5rem; width: calc(100vw - 1rem); }
}

/* ---------- Upload form: consent checkbox ---------- */
.ax-consent-check { display: flex; gap: .7rem; align-items: flex-start; }
.ax-consent-check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: #2563eb; }
main[tabindex="-1"]:focus { outline: none; } /* focus moved there after the cookie choice */
