/* ============================================================
    FONTS — self-hosted (woff2), latin + latin-ext subsets
    Baloo 2 (headings), Nunito (body), Bagel Fat One (numbers)
    ============================================================ */
@font-face {
    font-family: "Baloo 2";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/baloo2-800-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Baloo 2";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/baloo2-800-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/nunito-400-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/nunito-400-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/nunito-600-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/nunito-600-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/nunito-700-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/nunito-700-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/nunito-800-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/nunito-800-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Bagel Fat One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/bagelfatone-400-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bagel Fat One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/bagelfatone-400-latinext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
    TAUPEDIX — "Festive" charter
    Colourful, playful, almost childish · sticker aesthetic
    ============================================================ */

:root {
    /* warm paper surfaces */
    --bg: #fef3df;
    --bg-deep: #fbe8c8;
    --panel: #fffaf0;
    --panel-2: #fff3df;
    --line: rgb(58 44 92 / 16%);
    --line-soft: rgb(58 44 92 / 10%);

    /* candy palette */
    --gold: #ff5d6c; /* primary accent (coral) */
    --gold-2: #e8455a; /* darker coral — shadows / gradient */
    --gold-deep: #c8324a;
    --gold-glow: rgb(255 93 108 / 30%);
    --red: #ff5d6c;
    --yellow: #ffc73e;
    --teal: #15c4bd;
    --purple: #8a63d2;
    --pink: #ff86c2;
    --blue: #49a6ff;
    --lime: #9ed35a;

    /* card face */
    --cream: #fff7e6;
    --cream-2: #ffeecb;
    --ink: #34284f; /* deep grape — outlines & dark text */
    --num: "Bagel Fat One", system-ui, sans-serif;

    /* text */
    --text: #34284f;
    --muted: #897fa6;
    --faint: #b3aac8;

    /* ember reused for "lost / wrong" */
    --ember: #ff5d6c;
    --ember-dim: #ffb3bb;
    --ok: #1fbf8f;

    /* sticker outline */
    --out: #34284f;

    /* type */
    --serif: "Baloo 2", system-ui, sans-serif; /* display / headings */
    --sans: "Nunito", system-ui, sans-serif; /* body / UI */
    --r-lg: 28px;
    --r-md: 18px;
    --r-sm: 12px;
    --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
    Mobile-first full-screen layout (no phone scaffold)
    ============================================================ */
html {
    min-height: 100%;
    background:
        radial-gradient(
            60% 40% at 12% 8%,
            rgb(73 166 255 / 20%),
            transparent 60%
        ),
        radial-gradient(
            50% 38% at 92% 14%,
            rgb(255 134 194 / 22%),
            transparent 60%
        ),
        radial-gradient(
            60% 45% at 88% 96%,
            rgb(21 196 189 / 18%),
            transparent 60%
        ),
        radial-gradient(
            55% 40% at 6% 92%,
            rgb(255 199 62 / 22%),
            transparent 60%
        ),
        var(--bg);
    background-attachment: fixed;
}

body {
    min-height: 100vh;
    max-width: 460px;
    margin: 0 auto;
    padding: 28px 20px 44px;
    font-family: var(--sans);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

h1 {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 800;
}

h2 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 800;
}

a {
    color: var(--gold-deep);
    font-weight: 800;
}

label {
    display: block;
    font-weight: 700;
}

input[type="text"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    font: 700 16px/1 var(--sans);
    color: var(--ink);
    background: var(--panel);
    border: 2px solid var(--out);
    border-radius: var(--r-md);
    box-shadow: 0 4px 0 rgb(52 40 79 / 12%);
}

/* code typed in the join field: big and playful */
input.code {
    font-family: var(--num);
    font-size: 30px;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
    color: var(--gold);
}

.flash {
    padding: 12px 16px;
    border-radius: var(--r-md);
    font-weight: 800;
    border: 2px solid var(--out);
}

.flash-error {
    background: var(--ember-dim);
    color: var(--gold-deep);
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

[hidden] {
    display: none !important;
}

.center-col {
    align-items: center;
    text-align: center;
}

.muted {
    color: var(--muted);
}

img.qr {
    width: 180px;
    height: 180px;
    background: var(--cream);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 14px 34px -16px rgb(52 40 79 / 50%);
}

/* typography helpers */
.kicker {
    font: 800 12px/1 var(--sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow {
    font: 800 11.5px/1 var(--sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lead {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
    font-weight: 600;
}

.serif {
    font-family: var(--serif);
}

/* buttons — chunky sticker */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: var(--r-md);
    font: 800 16.5px/1 var(--sans);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        transform 0.1s var(--ease),
        filter 0.2s,
        box-shadow 0.1s,
        opacity 0.2s;
}

.btn:active {
    transform: translateY(3px);
}

.btn-gold {
    color: #fff;
    background: var(--gold);
    box-shadow:
        0 5px 0 var(--gold-2),
        0 14px 22px -12px var(--gold-glow);
}

.btn-gold:active {
    box-shadow: 0 2px 0 var(--gold-2);
}

.btn-gold:hover {
    filter: brightness(1.04);
}

.btn-gold:disabled {
    opacity: 0.45;
    filter: grayscale(0.3);
    cursor: not-allowed;
    box-shadow: 0 5px 0 var(--gold-2);
}

.btn-ghost {
    color: var(--text);
    background: var(--panel);
    border: 2px solid var(--out);
    box-shadow: 0 5px 0 rgb(52 40 79 / 18%);
}

.btn-ghost:active {
    box-shadow: 0 2px 0 rgb(52 40 79 / 18%);
}

.btn-ghost:hover {
    background: var(--panel-2);
}

.btn-quiet {
    color: var(--muted);
    background: transparent;
    min-height: 46px;
    font-weight: 800;
}

.btn-quiet:active {
    transform: translateY(1px);
}

.btn-quiet:hover {
    color: var(--text);
}

/* share row (lobby: copy link / native share) */
.share-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.share-row .btn {
    min-height: 48px;
    font-size: 15px;
}

.share-row.is-copied [data-share-copy] {
    color: var(--teal);
    border-color: var(--teal);
}

/* panels */
.panel {
    background: var(--panel);
    border: 2px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: 0 8px 0 -2px rgb(52 40 79 / 6%);
}

/* divider */
.or {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--faint);
    font: 800 11px/1 var(--sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.or::before,
.or::after {
    content: "";
    height: 2px;
    flex: 1;
    background: var(--line-soft);
    border-radius: 2px;
}

/* code input */
.code-row {
    display: flex;
    gap: 10px;
}

.code-cell {
    flex: 1;
    aspect-ratio: 1 / 1.12;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel);
    border: 2.5px solid var(--out);
    border-radius: 15px;
    font: 400 30px/1 var(--num);
    color: var(--ink);
    text-transform: uppercase;
    box-shadow: 0 4px 0 rgb(52 40 79 / 12%);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s,
        transform 0.12s;
}

.code-cell.filled {
    color: var(--gold);
}

.code-cell.cursor {
    border-color: var(--gold);
    box-shadow: 0 4px 0 var(--gold-2);
    transform: translateY(-2px);
    background: #fff;
}

/* avatar */
.ava {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 900 15px/1 var(--sans);
    color: #fff;
    border: 2.5px solid var(--out);
    box-shadow: 0 3px 0 rgb(52 40 79 / 22%);
}

/* ===== playing card (reveal hero) ===== */
.card-scene {
    perspective: 1600px;
    perspective-origin: 50% 40%;
}

.card {
    position: relative;
    width: 244px;
    height: 360px;
    transform-style: preserve-3d;
    transition: transform 1s var(--ease);
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    backface-visibility: hidden;
    overflow: hidden;
}

/* back — candy confetti */
.card-back {
    background:
        radial-gradient(
            circle at 22% 24%,
            var(--yellow) 0 7px,
            transparent 8px
        ),
        radial-gradient(circle at 70% 16%, var(--teal) 0 6px, transparent 7px),
        radial-gradient(circle at 84% 60%, var(--pink) 0 7px, transparent 8px),
        radial-gradient(circle at 30% 78%, var(--blue) 0 6px, transparent 7px),
        radial-gradient(circle at 54% 50%, transparent 0),
        repeating-linear-gradient(
            45deg,
            rgb(255 255 255 / 10%) 0 8px,
            transparent 8px 18px
        ),
        linear-gradient(160deg, #8a63d2, #6d49c0);
    border: 5px solid #fff;
    box-shadow:
        0 26px 50px -22px rgb(52 40 79 / 70%),
        0 0 0 3px var(--out);
    display: grid;
    place-items: center;
}

.card-back .crest {
    width: 134px;
    height: 134px;
    border-radius: 50%;
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    background: radial-gradient(
        circle,
        rgb(255 255 255 / 22%),
        transparent 72%
    );
    box-shadow: inset 0 0 0 3px rgb(255 255 255 / 25%);
}

.card-back .crest span {
    font: 400 46px/1 var(--num);
    color: #fff;
}

.card-back .crest small {
    display: block;
    text-align: center;
    font: 800 8px/1 var(--sans);
    letter-spacing: 0.28em;
    color: #ffe9a8;
    margin-top: 6px;
}

/* front — bright flashcard */
.card-front {
    transform: rotateY(180deg);
    background: radial-gradient(
        120% 90% at 50% 0%,
        #fffdf6,
        var(--cream) 58%,
        var(--cream-2) 100%
    );
    border: 5px solid var(--gold);
    box-shadow:
        0 26px 50px -20px rgb(52 40 79 / 70%),
        0 0 0 3px var(--out);
    display: grid;
    place-items: center;
}

.card-front .pip-num {
    font: 400 188px/0.8 var(--num);
    color: var(--gold);
}

.card-corner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--num);
    color: var(--gold);
    line-height: 0.82;
}

.card-corner b {
    font-size: 30px;
    font-weight: 400;
}

.card-corner i {
    font-size: 15px;
    font-style: normal;
    margin-top: 4px;
}

.card-corner.tl {
    top: 16px;
    left: 18px;
}

.card-corner.br {
    bottom: 16px;
    right: 18px;
    transform: rotate(180deg);
}

.diamond {
    font-size: 16px;
}

/* static card (non-flipping hero for the number view) */
.card-static {
    position: relative;
    width: 244px;
    height: 360px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
}

.card-static .card-face {
    transform: none;
}

.card-static .card-front {
    transform: none;
}

/* theme scale */
.scale {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--teal),
        var(--yellow) 52%,
        var(--gold)
    );
    box-shadow: inset 0 0 0 2px rgb(52 40 79 / 12%);
}

.scale .knob {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--out);
    box-shadow: 0 4px 0 rgb(52 40 79 / 25%);
    display: grid;
    place-items: center;
    font: 400 13px/1 var(--num);
    color: var(--gold);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font: 800 11px/1 var(--sans);
    color: var(--muted);
}

/* captain reorder rows */
.rl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.rl-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 8px 8px 8px 12px;
    background: var(--panel);
    border: 2px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 0 rgb(52 40 79 / 8%);
    touch-action: none;
    will-change: transform;
    cursor: pointer;
}

.rl-row.dragging {
    border-color: var(--gold);
    box-shadow:
        0 20px 40px -14px rgb(52 40 79 / 55%),
        0 0 0 3px var(--gold);
    z-index: 5;
    position: relative;
}

.rl-rank {
    width: 30px;
    flex: 0 0 auto;
    text-align: center;
    font: 400 24px/1 var(--num);
    color: var(--gold);
}

.rl-name {
    flex: 1 1 auto;
    font: 800 16px/1.1 var(--sans);
}

/* stylelint-disable-next-line no-descending-specificity -- unrelated component, order is intentional */
.rl-name small {
    display: block;
    color: var(--faint);
    font-weight: 800;
    font-size: 10.5px;
    margin-top: 4px;
    letter-spacing: 0.08em;
}

.grip {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    cursor: grab;
    color: var(--faint);
}

.grip:active {
    cursor: grabbing;
}

.grip svg {
    display: block;
}

/* lives / mole tokens */
.lives {
    display: flex;
    gap: 8px;
}

.life {
    display: inline-flex;
    line-height: 0;
    filter: drop-shadow(0 4px 5px rgb(52 40 79 / 25%));
    transition:
        opacity 0.3s,
        filter 0.3s,
        transform 0.3s;
}

.life svg {
    display: block;
}

.life.lost {
    opacity: 0.3;
    filter: grayscale(1);
    transform: scale(0.88) rotate(-8deg);
}

/* badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--panel);
    border: 2px solid var(--line);
    font: 800 12px/1 var(--sans);
    color: var(--text);
}

.dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 var(--ok);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(31 191 143 / 50%);
    }

    70% {
        box-shadow: 0 0 0 8px rgb(31 191 143 / 0%);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(31 191 143 / 0%);
    }
}

/* big code display */
.code-big {
    font-family: var(--num);
    font-size: 56px;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-shadow:
        0 3px 0 var(--gold-2),
        0 6px 24px rgb(255 93 108 / 40%);
    text-align: center;
}

/* number pastille (score reveal) */
.pip {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font: 400 18px/1 var(--num);
    color: #fff;
    border: 2.5px solid var(--out);
    box-shadow: 0 3px 0 rgb(52 40 79 / 22%);
}

.pip-ok {
    background: var(--ok);
}

.pip-bad {
    background: var(--gold);
}

/* typing dots */
.typing {
    display: inline-flex;
    gap: 4px;
}

.typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: bounce 1.2s infinite;
}

.typing i:nth-child(2) {
    animation-delay: 0.18s;
}

.typing i:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes bounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* entrance */
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rise {
    animation: rise 0.5s var(--ease) both;
}

@keyframes haze {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.85;
    }
}

.haze {
    animation: haze 4s ease-in-out infinite;
}

/* little confetti pop for celebratory bits */
@keyframes wiggle {
    0%,
    100% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

.wiggle {
    animation: wiggle 2.4s ease-in-out infinite;
    display: inline-block;
}

/* mole waving paw */
@keyframes mole-wave {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-18deg);
    }
}

@keyframes mole-bob {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.mole-bob {
    animation: mole-bob 2.6s ease-in-out infinite;
    display: inline-block;
}

.mole-wave-paw {
    transform-origin: 130px 70px;
    animation: mole-wave 1.8s ease-in-out infinite;
}

/* ============================================================
    Pages publiques (landing + piliers) — header / footer
    ============================================================ */
body.wide {
    max-width: 640px;
}

.site-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 400 26px/1 var(--num);
    color: var(--gold);
    text-decoration: none;
}

.site-brand svg {
    flex: 0 0 auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(3px);
}

.site-nav a {
    font: 800 13px/1 var(--sans);
    color: var(--purple);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--gold-deep);
}

.public-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.site-foot {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--line-soft);
}

.site-foot nav {
    font: 800 12.5px/1.6 var(--sans);
}

.foot-legal {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.prose {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prose h2 {
    margin-top: 14px;
}

.prose p {
    line-height: 1.6;
    font-weight: 600;
    color: var(--text);
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq details {
    background: var(--panel);
    border: 2px solid var(--line);
    border-radius: var(--r-md);
    padding: 4px 16px;
}

.faq summary {
    cursor: pointer;
    font: 800 15px/1.4 var(--sans);
    color: var(--text);
    padding: 12px 0;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    padding: 0 0 14px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--muted);
}

.theme-group {
    border-bottom: 2px solid var(--line-soft);
}

.theme-group[open] {
    padding-bottom: 18px;
}

.theme-group > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 4px;
}

.theme-group > summary::-webkit-details-marker {
    display: none;
}

.theme-chevron {
    color: var(--muted);
    transition: transform 0.2s var(--ease);
}

.theme-group[open] .theme-chevron {
    transform: rotate(180deg);
}

.theme-group > summary:focus-visible {
    outline: 3px solid var(--gold-glow);
    outline-offset: 2px;
    border-radius: 12px;
}

.theme-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid var(--out);
}

.theme-head {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.theme-title {
    font-size: 1.25rem;
    line-height: 1.2;
}

.theme-filter {
    margin: 4px 0 8px;
}

.theme-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.theme-item {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.theme-q {
    font: 800 15px/1.3 var(--sans);
    color: var(--text);
}

.theme-inspiration {
    margin-top: 4px;
    font: 700 13px/1.4 var(--sans);
}

.theme-disclaimer {
    margin-top: 32px;
    font: 600 12px/1.5 var(--sans);
}

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 700;
    line-height: 1.4;
}

.step-n {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font: 400 20px/1 var(--num);
    box-shadow: 0 3px 0 var(--gold-2);
}

.theme-scale {
    font-size: 13px;
    font-weight: 700;
}

/* ============================================================
    Landing — pastilles d'infos
    ============================================================ */
.facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--panel);
    border: 2px solid var(--out);
    border-radius: 999px;
    padding: 7px 14px;
    font: 800 12.5px/1 var(--sans);
    color: var(--text);
    box-shadow: 0 3px 0 rgb(52 40 79 / 10%);
}

.fact::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.fact:nth-child(1)::before {
    background: var(--teal);
}

.fact:nth-child(2)::before {
    background: var(--blue);
}

.fact:nth-child(3)::before {
    background: var(--purple);
}

.fact:nth-child(4)::before {
    background: var(--lime);
}

/* ===== paid game modes (Premium / 18+) ===== */
.flash-success {
    background: #c9f2e3;
    color: #12805f;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 84px;
    padding: 8px 4px;
    border-radius: var(--r-md);
    text-decoration: none;
    text-align: center;
    color: var(--text);
    background: var(--panel);
    border: 2px solid var(--out);
    box-shadow: 0 4px 0 rgb(52 40 79 / 16%);
    font-family: var(--sans);
    cursor: pointer;
    width: 100%;
}

.mode-card b {
    font: 800 14.5px/1 var(--sans);
}

.mode-card-price {
    font: 700 12px/1 var(--sans);
    color: var(--muted);
}

.mode-card .emo {
    font-size: 24px;
    line-height: 1;
}

.mode-card.is-on {
    box-shadow:
        0 0 0 3px var(--gold),
        0 4px 0 rgb(52 40 79 / 20%);
}

.mode-card.adult {
    background: var(--ink);
    color: #fff7e6;
}

.mode-card.adult .mode-card-price {
    color: #ffb3cf;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font: 800 15px/1 var(--sans);
    border: 2.5px solid var(--out);
    box-shadow: 0 4px 0 rgb(52 40 79 / 20%);
}

.mode-badge.premium {
    background: var(--gold);
    color: #fff;
}

.preview-badge {
    align-self: center;
    margin: 0;
    font-size: 13.5px;
}

.mode-badge.adult {
    background: var(--ink);
    color: #ffb3cf;
}

.chosen {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chosen-art {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 2.5px solid var(--out);
    display: grid;
    place-items: center;
    font-size: 26px;
    object-fit: cover;
}

.chosen-name {
    font: 800 15.5px/1.15 var(--sans);
}

.chosen-category {
    display: block;
    margin-top: 3px;
    font: 700 12px/1 var(--sans);
    color: var(--muted);
}

.offer-art {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.offer-sample {
    margin: 0;
    font: italic 600 14px/1.35 var(--sans);
    color: var(--muted);
}

.quiet-link {
    background: none;
    border: 0;
    width: 100%;
    text-align: center;
    font: 800 13.5px/1 var(--sans);
    color: var(--muted);
    text-decoration: underline;
    min-height: 32px;
    cursor: pointer;
}

.back {
    align-self: flex-start;
    font: 800 14px/1 var(--sans);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* sub-theme picker */
.filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: none;
}

.fchip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: var(--panel);
    font: 800 13px/1 var(--sans);
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.fchip[aria-selected="true"],
.fchip[aria-pressed="true"] {
    background: var(--text);
    border-color: var(--text);
    color: var(--panel);
}

.st-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.st {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 2.5px solid var(--out);
    background: var(--panel);
    box-shadow: 0 4px 0 rgb(52 40 79 / 18%);
    cursor: pointer;
    color: var(--text);
    font-weight: 400;
    transition:
        transform 0.12s var(--ease),
        opacity 0.2s,
        filter 0.2s;
}

.st input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.st-art {
    height: 96px;
    display: grid;
    place-items: center;
    font-size: 50px;
    line-height: 1;
}

.st-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.st-name {
    padding: 10px 12px 12px;
    font: 800 14.5px/1.2 var(--sans);
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.st-insp {
    font: 700 11.5px/1.25 var(--sans);
    color: var(--muted);
}

.st-samples {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.st-sample {
    font: italic 600 12px/1.3 var(--sans);
    color: var(--muted);
}

.st-disclaimer {
    font: 600 12px/1.5 var(--sans);
}

.st-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--out);
}

.st:has(input:checked) {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 3px var(--gold),
        0 7px 0 rgb(52 40 79 / 25%);
}

.st:has(input:checked) .st-dot {
    background: var(--gold);
}

.st:has(input:disabled) {
    opacity: 0.38;
    filter: grayscale(0.6);
    cursor: not-allowed;
    box-shadow: none;
}

.st:has(input:focus-visible) {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.st.mini {
    cursor: default;
}

.st.mini .st-art {
    height: 78px;
    font-size: 40px;
}

.st.mini .st-name {
    min-height: 44px;
    font-size: 13.5px;
}

.paybar {
    position: sticky;
    bottom: 0;
    margin: 8px -20px -44px;
    padding: 14px 20px 18px;
    background: var(--panel);
    border-top: 2.5px solid var(--out);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px -18px rgb(52 40 79 / 55%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.paybar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.count {
    font: 400 22px/1 var(--num);
    color: var(--gold);
}

.count-label {
    font: 800 13px/1 var(--sans);
    color: var(--text);
    margin-left: 4px;
}

.price-tag {
    font: 400 22px/1 var(--num);
    color: var(--ink);
}

/* 18+ ambiance: same tokens, darker ground */
html:has(> body.spicy) {
    background: #2b2142;
}

.spicy {
    --bg: #2b2142;
    --panel: #3a2d57;
    --panel-2: #45366a;
    --text: #fff4e6;
    --muted: #cbbfe4;
    --faint: #8e80b0;
    --line: rgb(255 244 230 / 18%);
    --line-soft: rgb(255 244 230 / 12%);

    color: var(--text);
    background: #2b2142;
}

/* stylelint-disable-next-line no-descending-specificity -- 18+ page override, never on the same elements */
.spicy a {
    color: #ffb3cf;
}

/* stylelint-disable-next-line no-descending-specificity -- 18+ page override, never on the same elements */
.spicy .st {
    border-color: #1b1430;
    background: #fff7e6;
    color: #34284f;
}

.spicy .fchip {
    background: transparent;
    color: #fff4e6;
    border-color: rgb(255 244 230 / 30%);
}

.spicy .paybar {
    background: #3a2d57;
    border-top-color: #ff86c2;
}

.spicy .price-tag,
.spicy .count-label {
    color: #fff4e6;
}

.tag18 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ff86c2;
    color: #2b2142;
    border: 2px solid #1b1430;
    font: 800 13px/1 var(--sans);
}

.gate {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: #fff7e6;
    color: #34284f;
    border: 2.5px solid #1b1430;
    box-shadow: 0 5px 0 #1b1430;
    cursor: pointer;
    font: 800 15px/1.35 var(--sans);
}

.gate input {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    accent-color: #ff5d6c;
}

.dark-panel {
    background: #2b2142;
    color: #fff4e6;
    border-radius: 22px;
    padding: 20px 16px;
    border: 2.5px solid #1b1430;
    box-shadow: 0 8px 0 -2px rgb(52 40 79 / 25%);
}

.dark-panel .lead {
    color: #cbbfe4;
}

.dark-panel .kicker {
    color: #ff86c2;
}

/* ============================================================
    "Quoi de neuf ?" — sticker pill + bottom sheet (_news.html.twig)
    ============================================================ */
.news {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.news-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 36px;
    padding: 3px 14px 3px 3px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: rgb(255 250 240 / 70%);
    color: var(--text);
    font: 800 13px/1.2 var(--sans);
    cursor: pointer;
    transition:
        transform 0.15s var(--ease),
        box-shadow 0.15s var(--ease),
        border-color 0.2s;
}

.news-pill:hover {
    border-color: var(--out);
}

.news-pill:active {
    transform: translateY(2px);
}

.news-pill:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.news-pill-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Once read, the pill shrinks to a quiet "Quoi de neuf" link. */
.news:not(.is-fresh) .news-pill {
    padding-right: 12px;
}

.news:not(.is-fresh) .news-pill-text {
    display: none;
}

/* Unread: the pill becomes a tilted sticker with a live tag. */
.news.is-fresh .news-pill {
    border: 2.5px solid var(--out);
    box-shadow: 0 3px 0 var(--out);
    background: var(--panel);
    transform: rotate(-1deg);
}

.news.is-fresh .news-pill:hover {
    transform: rotate(0deg) translateY(-1px);
    box-shadow: 0 4px 0 var(--out);
}

.news.is-fresh .news-pill:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--out);
}

.news-tag {
    position: relative;
    flex: 0 0 auto;
    padding: 6px 10px 5px;
    border-radius: 999px;
    background: transparent;
    color: var(--purple);
    font: 800 10px/1 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news.is-fresh .news-tag {
    background: var(--gold);
    color: #fff;
    animation: news-ping 2.4s var(--ease) 0.6s 3;
}

.news-pill-arrow {
    flex: 0 0 auto;
    color: var(--gold);
    transition: transform 0.15s var(--ease);
}

.news-pill:hover .news-pill-arrow {
    transform: translateX(3px);
}

@keyframes news-ping {
    0% {
        box-shadow: 0 0 0 0 var(--gold-glow);
    }

    60%,
    100% {
        box-shadow: 0 0 0 9px rgb(255 93 108 / 0%);
    }
}

/* The sheet: slides up from the bottom on phones, a centered card on wider screens. */
html:has(.news-sheet[open]) {
    overflow: hidden;
}

.news-sheet {
    width: 100%;
    max-width: none;
    max-height: none;
    margin: auto auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    overflow: visible;
}

.news-sheet::backdrop {
    background: rgb(52 40 79 / 42%);
    backdrop-filter: blur(3px);
    animation: news-fade 0.25s var(--ease);
}

.news-sheet-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 460px;
    max-height: min(86dvh, 760px);
    margin: 0 auto;
    padding: 30px 20px calc(18px + env(safe-area-inset-bottom));
    border: 2.5px solid var(--out);
    border-bottom: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
        radial-gradient(
            70% 50% at 100% 0%,
            rgb(255 134 194 / 14%),
            transparent 70%
        ),
        var(--bg);
}

.news-sheet[open] .news-sheet-inner {
    animation: news-up 0.36s var(--ease);
}

.news-sheet.is-closing .news-sheet-inner {
    animation: news-down 0.18s ease-in forwards;
}

.news-sheet.is-closing::backdrop {
    animation: news-fade 0.18s ease-in reverse forwards;
}

/* The mascot peeks out of a hole in the sheet's top edge. */
.news-mole {
    position: absolute;
    top: -70px;
    left: 22px;
    pointer-events: none;
    transform-origin: 50% 100%;
}

.news-sheet[open] .news-mole {
    animation: news-mole 0.5s var(--ease) 0.16s backwards;
}

.news-mole svg {
    display: block;
}

.news-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2.5px solid var(--out);
    border-radius: 50%;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 2px 0 var(--out);
    cursor: pointer;
    transition: transform 0.1s var(--ease);
}

.news-close:active {
    transform: translateY(2px);
    box-shadow: none;
}

.news-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 48px 6px 0;
}

.news-head h2 {
    margin: 0;
    font: 800 28px/1.05 var(--serif);
    text-align: left;
}

.news-list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 -20px;
    padding: 0 20px 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;

    /* Soft fade at the bottom: hints that the list scrolls. */
    mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
}

.news-item {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
}

/* Dotted thread from one sticker to the next. */
.news-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 76px;
    bottom: -12px;
    left: 25px;
    border-left: 2.5px dotted var(--faint);
}

.news-art {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 2.5px solid var(--out);
    border-radius: 16px;
    box-shadow: 0 3px 0 var(--out);
    font-size: 25px;
    line-height: 1;
    transform: rotate(-4deg);
}

.news-item:nth-child(even) .news-art {
    transform: rotate(3deg);
}

.news-art-teal {
    background: #cdf3ef;
}

.news-art-yellow {
    background: #fff1b8;
}

.news-art-pink {
    background: #ffdcef;
}

.news-art-blue {
    background: #d7ecff;
}

.news-art-purple {
    background: #e6dcff;
}

.news-art-lime {
    background: #e7f5cf;
}

.news-art-coral {
    background: #ffd6dc;
}

.news-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-top: 2px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 800 11px/1 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.news-new {
    padding: 4px 8px 3px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
}

.news-title {
    font: 800 18px/1.15 var(--serif);
}

.news-text {
    font: 600 14.5px/1.45 var(--sans);
    color: #6a5f88;
}

.news-link {
    margin-top: 3px;
    font: 800 14px/1.2 var(--sans);
    color: var(--gold-deep);
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-poll {
    margin-top: 8px;
}

.news-poll-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-poll-options[hidden] {
    display: none;
}

.news-poll-option {
    min-height: 40px;
    padding: 0 14px;
    border: 2px solid var(--out);
    border-radius: 999px;
    font: 800 14px/1 var(--sans);
    color: var(--text);
    background: var(--panel);
    box-shadow: 0 3px 0 rgb(52 40 79 / 18%);
    cursor: pointer;
    transition:
        transform 0.1s var(--ease),
        box-shadow 0.1s;
}

.news-poll-option:first-child {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold-2);
    box-shadow: 0 3px 0 var(--gold-2);
}

.news-poll-option:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgb(52 40 79 / 18%);
}

.news-poll-thanks {
    font: 800 14px/1.3 var(--sans);
    color: var(--teal);
}

.news-close:focus-visible,
.news-poll-option:focus-visible,
.news-link:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.news-done {
    flex: 0 0 auto;
    min-height: 52px;
    margin-top: 10px;
}

@keyframes news-up {
    from {
        transform: translateY(100%);
    }
}

@keyframes news-down {
    to {
        transform: translateY(100%);
    }
}

@keyframes news-fade {
    from {
        opacity: 0;
    }
}

@keyframes news-mole {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.85);
    }
}

@media (width >= 640px) {
    .news-sheet {
        margin: auto;
    }

    .news-sheet-inner {
        max-height: min(80dvh, 720px);
        padding-bottom: 20px;
        border-bottom: 2.5px solid var(--out);
        border-radius: var(--r-lg);
        box-shadow: 0 8px 0 rgb(52 40 79 / 22%);
    }

    .news-sheet[open] .news-sheet-inner {
        animation-name: news-pop;
    }

    .news-sheet.is-closing .news-sheet-inner {
        animation: news-fade 0.18s ease-in reverse forwards;
    }
}

@keyframes news-pop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-sheet[open] .news-sheet-inner,
    .news-sheet[open] .news-mole,
    .news-sheet.is-closing .news-sheet-inner,
    .news-sheet::backdrop,
    .news.is-fresh .news-tag {
        animation: none;
    }
}
