/* Projekt: Ninabella | https://nina3c.dk/
 * Brugsvilkår: LICENSE.md / /brugsvilkaar/ | Kilder: SOURCES.md
 * Projekt-credit angiver ikke verificeret ophav til alle bidrag.
 */
/*
 * Ninabella | https://nina3c.dk/
 * Spil: Talportene
 * Fil: css/talportene.css
 * Version registreret: 2026-10-04T18:54:41+02:00 (Europe/Copenhagen)
 * Filens oprettelsesdato: 2026-10-02T02:09:58+02:00
 * Observeret seneste filændring før registrering: 2026-10-03T20:50:50+02:00
 * Fildatoer kan ændres ved kopiering og dokumenterer ikke første udviklingsdato.
 * Registreringen daterer denne version; oprindelig udviklingsdato er ikke verificeret.
 */
.talportene-content {
    --bg: #070910;
    --panel: #101421;
    --panel2: #151a2b;

    --pink: #ff4fd8;
    --orange: #ff9f43;
    --blue: #49b8ff;
    --green: #49f2a5;

    --white: #f7f8ff;
    --muted: #9fa7bd;

    --border: rgba(255,255,255,.12);
 font-family: Inter,system-ui,sans-serif; position: relative; overflow: hidden; }
.talportene-content .screen {

    display: none;
    min-height: inherit;

}
.talportene-content .screen.active {

    display: flex;

}
.talportene-content .kicker {

    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;

}
.talportene-content .primary-btn {

    border: 0;
    padding: 15px 26px;
    border-radius: 15px;
    cursor: pointer;

    color: #080a10;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--orange)
        );

    font-weight: 900;
    font-size: 1rem;

    box-shadow:
        0 12px 32px rgba(255,79,216,.22);

    transition:
        transform .18s ease,
        filter .18s ease;

}
.talportene-content .primary-btn:hover {

    transform: translateY(-2px);
    filter: brightness(1.08);

}
.talportene-content .secondary-btn {

    border: 1px solid rgba(255,255,255,.12);
    padding: 13px 22px;
    border-radius: 14px;
    cursor: pointer;
    background: rgba(255,255,255,.04);
    color: var(--white);
    font-weight: 800;

}
.talportene-content .start-screen {

    align-items: center;
    justify-content: center;
    padding: 45px 24px;

}
.talportene-content .start-card {

    width: min(840px, 100%);
    text-align: center;

}
.talportene-content .start-card h1 {

    margin: 7px 0 0;

    font-size: clamp(3rem, 9vw, 6rem);
    line-height: .95;
    letter-spacing: -.06em;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--orange),
            var(--blue)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}
.talportene-content .start-text {

    max-width: 620px;
    margin: 20px auto 34px;
    color: var(--muted);
    line-height: 1.7;

}
.talportene-content .mode-grid {

    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    margin-top: 28px;

}
.talportene-content .mode-card {

    min-height: 220px;
    padding: 28px 24px;

    position: relative;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;

    cursor: pointer;
    color: var(--white);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    text-align: left;

    transition:
        transform .18s ease,
        border-color .18s ease;

}
.talportene-content .mode-card:hover {

    transform: translateY(-5px);
    border-color: rgba(255,255,255,.25);

}
.talportene-content .mode-symbol {

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 17px;

    font-size: 2rem;
    font-weight: 950;

}
.talportene-content .mode-card.adventure .mode-symbol {

    color: var(--pink);
    background: rgba(255,79,216,.12);
    box-shadow: 0 0 24px rgba(255,79,216,.12);

}
.talportene-content .mode-card.choose .mode-symbol {

    color: var(--blue);
    background: rgba(73,184,255,.12);
    box-shadow: 0 0 24px rgba(73,184,255,.12);

}
.talportene-content .mode-card h2 {

    margin: 0 0 9px;
    font-size: 1.55rem;

}
.talportene-content .mode-card p {

    margin: 0;
    color: var(--muted);
    line-height: 1.55;

}
.talportene-content .operator-screen {

    align-items: center;
    justify-content: center;
    padding: 40px 24px;

}
.talportene-content .operator-card {

    width: min(820px, 100%);
    text-align: center;

}
.talportene-content .operator-card h2 {

    margin: 7px 0 10px;
    font-size: clamp(2rem, 6vw, 3.5rem);

}
.talportene-content .operator-card > p {

    color: var(--muted);
    margin: 0 auto 36px;
    max-width: 560px;

}
.talportene-content .operator-grid {

    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 38px);
    margin: 0 auto;

}
.talportene-content .operator-option {

    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

}
.talportene-content .operator-circle {

    width: clamp(100px, 15vw, 135px);
    aspect-ratio: 1;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    font-size: clamp(2.7rem, 7vw, 4.7rem);
    font-weight: 950;
    line-height: 1;
    text-align: center;

    border: 4px solid currentColor;
    background: rgba(255,255,255,.025);

    transition:
        transform .18s ease,
        box-shadow .18s ease;

}
.talportene-content .operator-symbol {

    display: block;

    line-height: 1;

    
    transform: translateY(-0.08em);

}
.talportene-content .operator-option:hover .operator-circle {

    transform: translateY(-5px) scale(1.03);

}
.talportene-content .operator-option:nth-child(1) {

    color: var(--pink);

}
.talportene-content .operator-option:nth-child(2) {

    color: var(--orange);

}
.talportene-content .operator-option:nth-child(3) {

    color: var(--blue);

}
.talportene-content .operator-option:nth-child(4) {

    color: var(--green);

}
.talportene-content .operator-option:nth-child(1) .operator-circle {

    box-shadow: 0 0 25px rgba(255,79,216,.18);

}
.talportene-content .operator-option:nth-child(2) .operator-circle {

    box-shadow: 0 0 25px rgba(255,159,67,.18);

}
.talportene-content .operator-option:nth-child(3) .operator-circle {

    box-shadow: 0 0 25px rgba(73,184,255,.18);

}
.talportene-content .operator-option:nth-child(4) .operator-circle {

    box-shadow: 0 0 25px rgba(73,242,165,.18);

}
.talportene-content .operator-label {

    color: var(--white);
    font-size: .88rem;
    font-weight: 800;

}
.talportene-content .operator-back {

    margin-top: 40px;

}
.talportene-content .game-screen {

    flex-direction: column;

}
.talportene-content .game-header {

    min-height: 82px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 18px;

    padding: 16px 22px;

    border-bottom: 1px solid var(--border);
    background: rgba(9,12,20,.9);

}
.talportene-content .game-name {

    font-weight: 950;

}
.talportene-content .game-name span {

    color: var(--pink);

}
.talportene-content .level-indicator {

    padding: 9px 15px;
    border-radius: 999px;

    color: var(--blue);

    border: 1px solid rgba(73,184,255,.25);
    background: rgba(73,184,255,.08);

    font-size: .86rem;
    font-weight: 900;

}
.talportene-content .header-right {

    display: flex;
    align-items: center;
    gap: 10px;

}
.talportene-content .coin-counter {

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;

    border: 1px solid rgba(255,159,67,.28);
    border-radius: 999px;

    background: rgba(255,159,67,.07);
    font-weight: 900;

}
.talportene-content .coin-icon {

    width: 25px;
    height: 25px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #181006;

    background:
        linear-gradient(
            135deg,
            #ffd36a,
            var(--orange)
        );

    border: 2px solid rgba(255,255,255,.35);

    font-size: .68rem;
    font-weight: 950;

    box-shadow:
        0 0 12px rgba(255,159,67,.25);

}
.talportene-content .exit-btn {

    width: 42px;
    height: 42px;

    position: relative;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    cursor: pointer;
    background: rgba(255,255,255,.04);

}
.talportene-content .exit-btn::before,
.talportene-content .exit-btn::after {

    content: "";
    position: absolute;

    width: 19px;
    height: 3px;

    left: 10px;
    top: 18px;

    border-radius: 3px;
    background: white;

}
.talportene-content .exit-btn::before {

    transform: rotate(45deg);

}
.talportene-content .exit-btn::after {

    transform: rotate(-45deg);

}
.talportene-content .progress-area {

    padding: 15px 22px 0;

}
.talportene-content .progress-top {

    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;

    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;

}
.talportene-content .progress-track {

    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.06);

}
.talportene-content .progress-fill {

    width: 0;
    height: 100%;
    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--orange),
            var(--blue)
        );

    transition: width .4s ease;

}
.talportene-content .game-main {

    flex: 1;

    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;

    padding: 18px 22px 22px;

}
.talportene-content .question-panel {

    text-align: center;

}
.talportene-content .question-label {

    color: var(--muted);
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;

}
.talportene-content .question {

    margin-top: 4px;

    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 950;
    letter-spacing: -.04em;

}
.talportene-content .world {

    min-height: 390px;

    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-rows: 1fr 84px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;

    background: #0b0e18;

    transition:
        background .35s ease,
        box-shadow .35s ease;

}
.talportene-content .world.theme-forest {

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(73,184,255,.12),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #0b1321 0%,
            #0b0f18 70%,
            #0a0e17 100%
        );

}
.talportene-content .world.theme-crystal {

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(73,184,255,.16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #071527 0%,
            #09111d 68%,
            #0a0e17 100%
        );

}
.talportene-content .world.theme-pyramid {

    background:
        radial-gradient(
            circle at 50% 12%,
            rgba(255,159,67,.14),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #22140f 0%,
            #17110f 68%,
            #111018 100%
        );

}
.talportene-content .world.theme-star {

    background:
        radial-gradient(
            circle at 50% 12%,
            rgba(255,79,216,.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #0b1026 0%,
            #090b18 68%,
            #090c15 100%
        );

}
.talportene-content .scene-stars {

    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;

    background:
        radial-gradient(circle at 10% 14%, rgba(255,255,255,.8) 0 1px, transparent 2px),
        radial-gradient(circle at 19% 31%, rgba(255,255,255,.45) 0 1px, transparent 2px),
        radial-gradient(circle at 27% 9%, rgba(255,255,255,.6) 0 1px, transparent 2px),
        radial-gradient(circle at 39% 22%, rgba(255,255,255,.7) 0 1px, transparent 2px),
        radial-gradient(circle at 52% 17%, rgba(255,255,255,.35) 0 1px, transparent 2px),
        radial-gradient(circle at 68% 11%, rgba(255,255,255,.72) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 26%, rgba(255,255,255,.5) 0 1px, transparent 2px),
        radial-gradient(circle at 88% 16%, rgba(255,255,255,.72) 0 1px, transparent 2px);

}
.talportene-content .world.theme-forest .scene-stars,
.talportene-content .world.theme-crystal .scene-stars {

    opacity: .25;

}
.talportene-content .world.theme-pyramid .scene-stars {

    opacity: .12;

}
.talportene-content .world.theme-star .scene-stars {

    opacity: .65;

}
.talportene-content .world-glow {

    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .8;

}
.talportene-content .world.theme-forest .world-glow {

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(73,184,255,.16),
            transparent 38%
        );

}
.talportene-content .world.theme-crystal .world-glow {

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(73,184,255,.24),
            transparent 42%
        );

}
.talportene-content .world.theme-pyramid .world-glow {

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(255,159,67,.18),
            transparent 42%
        );

}
.talportene-content .world.theme-star .world-glow {

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(255,79,216,.14),
            transparent 38%
        );

}
.talportene-content .world-decor {

    position: absolute;
    left: 0;
    right: 0;
    bottom: 84px;
    height: 185px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;

}
.talportene-content .world.theme-forest .decor-forest,
.talportene-content .world.theme-crystal .decor-forest,
.talportene-content .world.theme-pyramid .decor-forest {

    opacity: 1;

}
.talportene-content .decor-forest {

    background:
        radial-gradient(circle at 7% 100%, rgba(16,29,45,.9) 0 52px, transparent 53px),
        radial-gradient(circle at 18% 100%, rgba(16,29,45,.9) 0 42px, transparent 43px),
        radial-gradient(circle at 27% 100%, rgba(16,29,45,.9) 0 62px, transparent 63px),
        radial-gradient(circle at 41% 100%, rgba(16,29,45,.92) 0 49px, transparent 50px),
        radial-gradient(circle at 53% 100%, rgba(16,29,45,.92) 0 59px, transparent 60px),
        radial-gradient(circle at 66% 100%, rgba(16,29,45,.92) 0 44px, transparent 45px),
        radial-gradient(circle at 80% 100%, rgba(16,29,45,.92) 0 58px, transparent 59px),
        radial-gradient(circle at 93% 100%, rgba(16,29,45,.92) 0 48px, transparent 49px);

}
.talportene-content .world.theme-crystal .decor-crystals {

    opacity: 1;

}
.talportene-content .world.theme-pyramid .decor-crystals {

    opacity: .2;

}
.talportene-content .decor-crystals::before,
.talportene-content .decor-crystals::after {

    content: "";
    position: absolute;
    bottom: 0;
    width: 180px;
    height: 120px;

}
.talportene-content .decor-crystals::before {

    left: 4%;
    background:
        linear-gradient(180deg, rgba(73,184,255,.18), rgba(73,184,255,.04)),
        linear-gradient(180deg, rgba(73,242,165,.24), rgba(73,242,165,.05));
    clip-path:
        polygon(
            8% 100%,
            20% 52%,
            28% 82%,
            43% 18%,
            58% 74%,
            73% 35%,
            88% 100%
        );
    filter: drop-shadow(0 0 12px rgba(73,184,255,.22));

}
.talportene-content .decor-crystals::after {

    right: 4%;
    background:
        linear-gradient(180deg, rgba(73,184,255,.16), rgba(73,184,255,.05)),
        linear-gradient(180deg, rgba(73,242,165,.18), rgba(73,242,165,.05));
    clip-path:
        polygon(
            12% 100%,
            26% 40%,
            40% 72%,
            54% 20%,
            71% 75%,
            84% 50%,
            92% 100%
        );
    filter: drop-shadow(0 0 12px rgba(73,184,255,.22));

}
.talportene-content .world.theme-pyramid .decor-pyramid {

    opacity: 1;

}
.talportene-content .decor-pyramid::before {

    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 270px;
    height: 150px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            135deg,
            rgba(255,205,110,.65),
            rgba(255,159,67,.22)
        );

    clip-path:
        polygon(
            50% 0,
            100% 100%,
            0 100%
        );

    filter:
        drop-shadow(0 0 16px rgba(255,159,67,.2));

}
.talportene-content .decor-pyramid::after {

    content: "";
    position: absolute;
    left: 50%;
    bottom: 27px;

    width: 140px;
    height: 92px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            180deg,
            rgba(40,26,18,.85),
            rgba(18,14,12,.95)
        );

    clip-path:
        polygon(
            24% 100%,
            30% 55%,
            70% 55%,
            76% 100%
        );

}
.talportene-content .world.theme-star .decor-portal {

    opacity: 1;

}
.talportene-content .decor-portal::before {

    content: "";
    position: absolute;
    left: 50%;
    top: 20px;

    width: 150px;
    height: 150px;

    transform: translateX(-50%);
    border-radius: 50%;

    border: 7px solid rgba(255,79,216,.42);
    box-shadow:
        0 0 25px rgba(255,79,216,.22),
        inset 0 0 18px rgba(73,184,255,.12);

}
.talportene-content .decor-portal::after {

    content: "";
    position: absolute;
    left: 50%;
    top: 53px;

    width: 84px;
    height: 84px;

    transform: translateX(-50%);
    border-radius: 50%;

    border: 5px solid rgba(73,184,255,.42);
    box-shadow:
        0 0 24px rgba(73,184,255,.25);

}
.talportene-content .scene-info {

    position: absolute;
    z-index: 5;
    left: 16px;
    top: 14px;
    max-width: min(80%, 460px);

    padding: 10px 12px;
    border-radius: 14px;

    background: rgba(7,10,18,.44);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.08);

}
.talportene-content .scene-name {

    font-size: .92rem;
    font-weight: 950;
    margin-bottom: 5px;

}
.talportene-content .scene-story {

    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;

}
.talportene-content .gates {

    position: relative;
    z-index: 7;

    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    align-items: end;

    gap: clamp(12px, 3vw, 34px);

    padding:
        104px
        clamp(18px, 5vw, 60px)
        10px;

}
.talportene-content .gate {

    min-height: 210px;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    cursor: pointer;

    color: white;
    background: none;

    transition:
        transform .18s ease,
        opacity .25s ease,
        filter .25s ease;

}
.talportene-content .gate:hover {

    transform: translateY(-6px);

}
.talportene-content .gate:nth-child(1) {

    --gate-color: var(--pink);
    --gate-color-2: rgba(255,79,216,.22);

}
.talportene-content .gate:nth-child(2) {

    --gate-color: var(--orange);
    --gate-color-2: rgba(255,159,67,.22);

}
.talportene-content .gate:nth-child(3) {

    --gate-color: var(--blue);
    --gate-color-2: rgba(73,184,255,.22);

}
.talportene-content .gate-arch {

    position: absolute;
    inset: 0;
    border-radius: 22px 22px 8px 8px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.02)
        );

    border: 4px solid var(--gate-color);
    box-shadow:
        0 0 20px var(--gate-color-2),
        inset 0 0 12px rgba(255,255,255,.03);

}
.talportene-content .gate-step {

    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -2px;
    height: 16px;

    border-radius: 8px 8px 4px 4px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    border: 2px solid rgba(255,255,255,.08);

}
.talportene-content .gate-doors {

    position: absolute;
    inset: 22px 16px 12px;
    overflow: hidden;
    border-radius: 14px 14px 4px 4px;

}
.talportene-content .gate-door {

    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;

    background:
        linear-gradient(
            180deg,
            rgba(12,18,31,.86),
            rgba(7,10,17,.98)
        );

    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,.06);
    transition:
        transform .45s ease;

}
.talportene-content .gate-door.left {

    left: 0;
    transform-origin: left center;
    border-right: 1px solid rgba(255,255,255,.06);

}
.talportene-content .gate-door.right {

    right: 0;
    transform-origin: right center;
    border-left: 1px solid rgba(255,255,255,.06);

}
.talportene-content .gate.open .gate-door.left {

    transform: perspective(220px) rotateY(72deg);

}
.talportene-content .gate.open .gate-door.right {

    transform: perspective(220px) rotateY(-72deg);

}
.talportene-content .gate-answer {

    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 84px;
    min-height: 84px;

    padding: 10px 16px;
    margin-top: -14px;

    border-radius: 50%;

    background: rgba(7,10,18,.82);
    border: 3px solid rgba(255,255,255,.09);

    font-size: clamp(1.65rem, 4vw, 3rem);
    font-weight: 950;

    box-shadow:
        0 0 16px rgba(0,0,0,.25);

}
.talportene-content .gate.selected {

    filter: brightness(1.08);

}
.talportene-content .gate.correct-flash {

    animation: correctGate .6s ease;

}
.talportene-content .gate.wrong-flash {

    animation: wrongGate .4s ease;

}
.talportene-content .gate.eliminated {

    opacity: .16;
    pointer-events: none;
    transform: scale(.92);
    filter: grayscale(.7);

}
@keyframes correctGate {

    50% {
        transform: scale(1.04);
        filter: brightness(1.35);
    }

}
@keyframes wrongGate {

    25% {
        transform: translateX(-5px);
    }
    70% {
        transform: translateX(5px);
    }

}
.talportene-content .floor {

    position: relative;
    z-index: 8;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(73,184,255,.03),
            rgba(255,255,255,.01)
        );

}
.talportene-content .path {

    position: absolute;
    left: 2%;
    right: 2%;
    top: 8px;
    bottom: 8px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.02)
        );

    clip-path:
        polygon(
            0 64%,
            8% 51%,
            18% 59%,
            31% 46%,
            45% 56%,
            57% 43%,
            71% 55%,
            83% 45%,
            93% 54%,
            100% 44%,
            100% 100%,
            0 100%
        );

    border-radius: 18px;
    opacity: .75;

}
.talportene-content .path::after {

    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 7% 56%, rgba(255,255,255,.08) 0 10px, transparent 11px),
        radial-gradient(circle at 25% 51%, rgba(255,255,255,.06) 0 9px, transparent 10px),
        radial-gradient(circle at 43% 49%, rgba(255,255,255,.07) 0 12px, transparent 13px),
        radial-gradient(circle at 62% 46%, rgba(255,255,255,.06) 0 10px, transparent 11px),
        radial-gradient(circle at 79% 49%, rgba(255,255,255,.07) 0 12px, transparent 13px),
        radial-gradient(circle at 93% 45%, rgba(255,255,255,.06) 0 9px, transparent 10px);
    opacity: .5;

}
.talportene-content .runner {

    position: absolute;
    left: 6%;
    bottom: 12px;

    width: 54px;
    height: 58px;

    z-index: 9;

    transition:
        left .8s cubic-bezier(.2,.8,.22,1),
        transform .35s ease,
        opacity .35s ease;

    filter:
        drop-shadow(0 0 12px rgba(255,79,216,.45));

}
.talportene-content .runner.walk .runner-sprite {

    animation: runnerBob .28s ease-in-out infinite alternate;

}
@keyframes runnerBob {

    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-4px);
    }

}
.talportene-content .runner.entering {

    opacity: 0;
    transform: translateY(-22px) scale(.45);

}
.talportene-content .runner-sprite {

    position: relative;
    width: 100%;
    height: 100%;

}
.talportene-content .runner-head {

    position: absolute;
    left: 13px;
    top: 0;

    width: 28px;
    height: 24px;

    border-radius: 5px;
    background: var(--blue);

    box-shadow:
        0 0 16px rgba(73,184,255,.45);

}
.talportene-content .runner-body {

    position: absolute;
    left: 10px;
    top: 14px;

    width: 34px;
    height: 34px;

    background: var(--pink);

    clip-path:
        polygon(
            0 0,
            100% 0,
            100% 78%,
            78% 78%,
            78% 100%,
            58% 100%,
            58% 78%,
            42% 78%,
            42% 100%,
            22% 100%,
            22% 78%,
            0 78%
        );

    box-shadow:
        0 0 18px rgba(255,79,216,.35);

}
.talportene-content .runner-eye {

    position: absolute;
    width: 5px;
    height: 5px;
    top: 8px;
    background: #07101b;

}
.talportene-content .runner-eye.left {

    left: 6px;

}
.talportene-content .runner-eye.right {

    right: 6px;

}
.talportene-content .runner-foot {

    position: absolute;
    bottom: 2px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;

}
.talportene-content .runner-foot.left {

    left: 18px;

}
.talportene-content .runner-foot.right {

    left: 30px;

}
.talportene-content .runner.walk .runner-foot.left {

    animation: footLeft .28s ease-in-out infinite alternate;

}
.talportene-content .runner.walk .runner-foot.right {

    animation: footRight .28s ease-in-out infinite alternate;

}
@keyframes footLeft {

    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-3px);
    }

}
@keyframes footRight {

    from {
        transform: translateY(-3px);
    }
    to {
        transform: translateY(0);
    }

}
.talportene-content .particle-layer {

    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 12;
    overflow: hidden;

}
.talportene-content .particle {

    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--particle-color);
    box-shadow: 0 0 12px var(--particle-color);
    animation: particleBurst 650ms ease-out forwards;

}
@keyframes particleBurst {

    from {
        opacity: 1;
        transform: translate(0,0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(.2);
    }

}
.talportene-content .scene-transition {

    position: absolute;
    inset: 0;
    z-index: 14;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0),
            rgba(255,255,255,.06),
            rgba(255,255,255,0)
        ),
        rgba(6,9,14,.3);

    opacity: 0;
    transition: opacity .3s ease;

}
.talportene-content .scene-transition.show {

    opacity: 1;

}
.talportene-content .bottom-area {

    min-height: 58px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;

}
.talportene-content .feedback {

    grid-column: 2;
    text-align: center;
    color: var(--muted);
    font-weight: 850;

}
.talportene-content .feedback.good {

    color: var(--green);

}
.talportene-content .feedback.encourage {

    color: var(--orange);

}
.talportene-content .hint-btn {

    justify-self: end;

    display: flex;
    align-items: center;
    gap: 7px;

    border: 1px solid rgba(73,184,255,.25);
    border-radius: 13px;
    padding: 10px 13px;

    cursor: pointer;

    color: var(--blue);
    background: rgba(73,184,255,.07);

    font-weight: 900;

}
.talportene-content .hint-btn:disabled {

    opacity: .42;
    cursor: default;

}
.talportene-content .hint-circle {

    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border: 2px solid currentColor;
    border-radius: 50%;

    font-size: .8rem;

}
.talportene-content .hint-copy {

    display: grid;
    gap: 1px;
    text-align: left;
    line-height: 1.1;

}
.talportene-content .hint-copy small {

    color: var(--muted);
    font-size: .68rem;
    font-weight: 750;

}
.talportene-content .level-complete {

    position: absolute;
    inset: 0;
    z-index: 20;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(5,7,12,.88);
    backdrop-filter: blur(10px);

}
.talportene-content .level-complete.show {

    display: flex;

}
.talportene-content .complete-card {

    width: min(470px, 100%);
    padding: 34px;

    text-align: center;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;

    background: #0d111d;

}
.talportene-content .reward-coin {

    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #1c1206;

    background:
        linear-gradient(
            135deg,
            #ffe17d,
            var(--orange)
        );

    font-size: 1.2rem;
    font-weight: 950;

    box-shadow:
        0 0 28px rgba(255,159,67,.32);

}
.talportene-content .complete-card h2 {

    margin: 0;
    font-size: 2rem;

}
.talportene-content .reward-text {

    margin: 12px 0 8px;
    color: var(--orange);
    font-weight: 950;
    font-size: 1.2rem;

}
.talportene-content .complete-text {

    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 26px;

}
.talportene-content .finish-screen {

    align-items: center;
    justify-content: center;

    padding: 45px 24px;
    text-align: center;

}
.talportene-content .finish-card {

    width: min(680px, 100%);

}
.talportene-content .finish-card h2 {

    margin: 10px 0 18px;
    font-size: clamp(2.4rem, 7vw, 4.6rem);

}
.talportene-content .finish-card p {

    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 28px;

}
.talportene-content .final-coins {

    margin: 0 auto 28px;
    width: fit-content;

    padding: 12px 18px;
    border-radius: 999px;

    border: 1px solid rgba(255,159,67,.3);
    color: var(--orange);
    font-weight: 950;

}
@media (max-width: 900px) {
.talportene-content body.talportene-page {

        padding-top: var(--site-header-height, 62px);
    
}
.talportene-content .talportene-panel .game-shell {

        min-height: min(700px, calc(100vh - 130px));
    
}
.talportene-content .gates {

        gap: 14px;
        padding: 104px 20px 8px;
    
}
.talportene-content .gate {

        min-height: 196px;
    
}
.talportene-content .world {

        min-height: 372px;
    
}

}
@media (max-width: 620px) {
.talportene-content body.talportene-page {

        padding-top: var(--site-header-height, 62px);
    
}
.talportene-content .talportene-panel .game-shell {

        min-height: 620px;
    
}
.talportene-content .start-screen,
.talportene-content .operator-screen {

        padding: 30px 16px;
    
}
.talportene-content .mode-grid {

        grid-template-columns: 1fr;
    
}
.talportene-content .mode-card {

        min-height: 160px;
    
}
.talportene-content .operator-grid {

        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 24px 10px;
    
}
.talportene-content .operator-circle {

        width: min(120px, 34vw);
    
}
.talportene-content .game-header {

        grid-template-columns: 1fr auto;
        padding: 10px 13px;
        gap: 8px;
    
}
.talportene-content .level-indicator {

        grid-column: 1 / -1;
        grid-row: 2;
        text-align: center;
    
}
.talportene-content .progress-area {

        padding: 10px 14px 0;
    
}
.talportene-content .game-main {

        padding: 13px 14px 14px;
    
}
.talportene-content .world {

        min-height: 360px;
        grid-template-rows: 1fr 74px;
    
}
.talportene-content .scene-info {

        left: 10px;
        top: 10px;
        max-width: calc(100% - 20px);
        padding: 8px 10px;
    
}
.talportene-content .scene-story {

        font-size: .77rem;
    
}
.talportene-content .gates {

        gap: 8px;
        padding: 106px 8px 8px;
    
}
.talportene-content .gate {

        min-height: 176px;
    
}
.talportene-content .gate-arch {

        border-width: 3px;
    
}
.talportene-content .gate-answer {

        min-width: 68px;
        min-height: 68px;
        font-size: 1.45rem;
        padding: 8px 12px;
    
}
.talportene-content .runner {

        width: 50px;
        height: 54px;
        left: 5%;
    
}
.talportene-content .bottom-area {

        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    
}
.talportene-content .feedback {

        grid-column: 1 / -1;
        grid-row: 1;
    
}
.talportene-content .hint-btn {

        grid-column: 2;
        grid-row: 2;
    
}

}

.talportene-content .screen { min-height: 420px; }
.talportene-content .game-header { order: 0; min-height: 48px; padding: 8px 14px; border-bottom: 1px solid var(--border); }
.talportene-content .progress-area { order: 1; }
.talportene-content .game-main { order: 2; }
.talportene-page.game-mode-active .talportene-content,
.talportene-page.game-mode-active .screen { height: 100%; min-height: 0; }
.talportene-page.game-mode-active .game-main { min-height: 0; grid-template-rows: auto minmax(0,1fr) auto; gap: 8px; padding: 8px 12px; }
.talportene-page.game-mode-active .world { min-height: 0; grid-template-rows: minmax(0,1fr) 60px; }
.talportene-page.game-mode-active .gates { min-height: 0; padding: 70px 20px 8px; }
.talportene-page.game-mode-active .gate { min-height: 0; height: 100%; }
.talportene-page.game-mode-active .question { font-size: clamp(1.5rem,5vh,3rem); }
.talportene-page.game-mode-active .game-header { grid-template-columns: 1fr auto 1fr; padding-right: 58px; }
.talportene-page.game-mode-active .level-indicator { grid-column: auto; grid-row: auto; }
@media (orientation: landscape) and (min-height: 600px) {
 .talportene-page.game-mode-active .ninabella-game-page { place-items: center; }
 .talportene-page.game-mode-active .ninabella-game-layout { width: min(980px,100%); height: min(650px,100%); }
}
@media (orientation: landscape) and (max-height: 599px) {
 .talportene-page.game-mode-active .question-label, .talportene-page.game-mode-active .scene-story { display: none; }
 .talportene-page.game-mode-active .gates { padding: 42px 14px 4px; gap: 10px; }
 .talportene-page.game-mode-active .world { grid-template-rows: minmax(0,1fr) 32px; }
 .talportene-page.game-mode-active .scene-info { top: 4px; padding: 4px 8px; }
 .talportene-page.game-mode-active .gate-answer { min-width: 42px; min-height: 42px; font-size: 1.2rem; padding: 4px; }
 .talportene-page.game-mode-active .progress-area { padding: 2px 14px; }
 .talportene-page.game-mode-active .progress-top { margin-bottom: 3px; }
 .talportene-page.game-mode-active .game-header { min-height: 36px; padding: 4px 58px 4px 12px; }
 .talportene-page.game-mode-active .game-name { font-size: 1rem; }
 .talportene-page.game-mode-active .bottom-area { min-height: 32px; display: flex; justify-content: space-between; gap: 8px; }
 .talportene-page.game-mode-active .hint-btn { padding: 4px 8px; }
 .talportene-page.game-mode-active .hint-copy small { display: none; }
 .talportene-page.game-mode-active .runner { width: 30px; height: 32px; }
 .talportene-page.game-mode-active .mode-card { min-height: 0; padding: 12px; }
 .talportene-page.game-mode-active .operator-circle { width: 70px; }
 .talportene-page.game-mode-active .operator-grid { grid-template-columns: repeat(4,auto); gap: 10px; }
 .talportene-page.game-mode-active .operator-card { padding: 8px; }
}
@media (orientation: portrait) { .talportene-page.game-mode-active .runner, .talportene-page.game-mode-active .runner-sprite { animation-play-state: paused; } }




/* =========================================================
   TALPORTENE – LYDKNAP I HJØRNET AF CYAN KASSE
========================================================= */

/* Sørg for at spilrammen er reference for absolut placering */
.talportene-page [data-game-panel] {
    position: relative;
}

/* Flyt lydknappen ind i øverste højre hjørne af den cyan ramme */
.talportene-page .game-audio-button {
   
    right: 10px !important;
   
}

/* Lille landscape-mobil: lidt tættere ind */
@media (max-height: 500px) and (orientation: landscape) {
    .talportene-page .game-audio-button {
        top: 8px !important;
        right: 8px !important;
    }
}

/* =========================================================
   TALPORTENE – LYDKNAP VED N I FULDSKÆRM
========================================================= */

.talportene-page.game-mode-active .game-audio-button {
    top: 20px !important;
    right: 60px !important;

    left: auto !important;
    bottom: auto !important;

    margin: 0 !important;
}

/* =========================================================
   TALPORTENE – LYDKNAP PÅ MOBIL LANDSCAPE
========================================================= */

@media (max-width: 600px) and (orientation: landscape) {

    .talportene-page.game-mode-active .game-audio-button {
        top: 6px !important;
        right: 54px !important;

        left: auto !important;
        bottom: auto !important;

        width: 34px;
        height: 34px;

        margin: 0 !important;
    }
}