/* camp.css — split from main.css by scripts/split-main-css.js.
   Camp lobby and training. Loaded by camp.html only.
   Edit these files directly; main.css no longer exists. */

body.camp-page {
    min-height: 100%;
    background:
        linear-gradient(rgba(6,13,16,0.5), rgba(6,13,16,0.76)),
        radial-gradient(circle at 26% 16%, rgba(111,214,189,0.13), transparent 24rem),
        radial-gradient(circle at 78% 20%, rgba(232,199,106,0.1), transparent 22rem),
        url("/app/images/assets/background/amongdemons_campfire.png") center top / cover fixed no-repeat,
        var(--ad-bg);
}

.camp-page main,
.play-hub {
    min-height: calc(100vh - 170px);
}

.camp-page h1 {
    color: var(--ad-text);
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 2px 18px rgba(0,0,0,0.46);
}

.camp-page .card {
    border-color: rgba(111,214,189,0.18);
    background:
        linear-gradient(180deg, rgba(111,214,189,0.052), transparent 38%),
        rgba(7,16,19,0.8);
    backdrop-filter: blur(2px);
}

.camp-page .card-header {
    border-bottom-color: rgba(161,212,201,0.13);
    background: rgba(4,10,12,0.36);
}

.camp-page .stat-box {
    background:
        linear-gradient(180deg, rgba(232,199,106,0.04), transparent),
        rgba(4,10,12,0.36);
}

.camp-hero {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 24%, rgba(232,199,106,0.12), transparent 18rem),
        radial-gradient(circle at 18% 92%, rgba(111,214,189,0.08), transparent 18rem),
        linear-gradient(110deg, rgba(5,15,17,0.94), rgba(9,24,27,0.82) 58%, rgba(47,27,16,0.64)),
        rgba(7,16,19,0.86);
}

.camp-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -34% 18%;
    height: 42%;
    background: radial-gradient(ellipse at center, rgba(255,117,39,0.1), transparent 68%);
    pointer-events: none;
}

.camp-hero .play-hero-copy,
.camp-hero .play-hero-actions {
    position: relative;
    z-index: 2;
}

.camp-hero .play-hero-copy {
    grid-column: 1;
    max-width: 42rem;
}

.camp-hero .play-hero-actions {
    grid-column: 2;
    align-self: end;
    justify-content: flex-end;
}

.camp-player-name {
    color: var(--ad-text);
    font-size: clamp(2.9rem, 6.4vw, 5.4rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow:
        0 3px 24px rgba(0,0,0,0.48),
        0 0 28px rgba(111,214,189,0.12);
}

.camp-hero-stats {
    display: grid;
    grid-template-columns: minmax(13rem, 1.35fr) repeat(2, minmax(7rem, 0.8fr));
    gap: 0.55rem;
    max-width: 39rem;
    margin-top: 1.15rem;
}

.camp-hero-stat {
    min-width: 0;
    border: 1px solid rgba(161,212,201,0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(111,214,189,0.08), rgba(255,255,255,0.014)),
        rgba(3,10,12,0.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
    padding: 0.62rem 0.68rem;
}

.camp-hero-stat-level {
    display: grid;
    gap: 0.44rem;
}

.camp-hero-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.camp-hero-stat-label {
    display: block;
    color: var(--ad-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.camp-hero-stat-value {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 1.7rem;
    color: #fff;
    font-size: clamp(1.08rem, 1.8vw, 1.44rem);
    font-weight: 900;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-hero-stat-level .camp-hero-stat-value {
    min-height: 0;
    font-size: clamp(1.28rem, 2.1vw, 1.72rem);
}

.camp-hero-stat-value .soul-amount {
    justify-content: flex-start;
    max-width: 100%;
    font-size: inherit;
}

.camp-hero-stat-meta {
    display: block;
    min-height: 1em;
    color: var(--ad-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-xp-progress {
    position: relative;
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(3,10,12,0.74);
    box-shadow:
        inset 0 0 0 1px rgba(161,212,201,0.1),
        inset 0 1px 4px rgba(0,0,0,0.35);
}

.camp-xp-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(111,214,189,0.86), rgba(232,199,106,0.92));
    box-shadow: 0 0 14px rgba(111,214,189,0.28);
    transition: width 260ms ease;
}

@media (max-width: 991.98px) {
.camp-hero {
        grid-template-rows: auto auto;
        min-height: 0;
    }

.camp-hero .play-hero-copy {
        grid-column: 1;
        grid-row: 1;
    }

.camp-hero .play-hero-actions {
        grid-column: 1;
        grid-row: 2;
    }

.camp-hero-stats,
    .play-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.camp-hero-stat-level {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
.camp-hero {
        gap: 0.8rem;
    }

.camp-player-name {
        font-size: clamp(2.45rem, 15vw, 3.7rem);
    }

.camp-hero-stats,
    .play-action-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Camp lobby redesign */
body.camp-page {
    --camp-nav-height: 4.8rem;
    --camp-panel-bg: rgba(4,10,13,0.78);
    --camp-panel-bg-strong: rgba(3,8,11,0.9);
    --camp-panel-border: rgba(232,199,106,0.22);
    --camp-panel-border-strong: rgba(232,199,106,0.42);
    --camp-ember: #ff6e2f;
    --camp-ember-hot: #ff9a45;
    --camp-shadow: 0 20px 54px rgba(0,0,0,0.42);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 58%, rgba(255,110,47,0.18), transparent 18rem),
        radial-gradient(circle at 18% 20%, rgba(111,214,189,0.1), transparent 22rem),
        radial-gradient(circle at 86% 12%, rgba(232,199,106,0.08), transparent 20rem),
        linear-gradient(rgba(2,6,9,0.42), rgba(2,6,9,0.82)),
        url("/app/images/assets/background/amongdemons_campfire.png") center / cover no-repeat,
        #04090d;
    color: var(--ad-text);
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

body.camp-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.1) 34%, rgba(0,0,0,0.1) 66%, rgba(0,0,0,0.74)),
        radial-gradient(ellipse at 50% 100%, rgba(255,110,47,0.18), transparent 42%),
        radial-gradient(ellipse at 50% 46%, transparent 34%, rgba(0,0,0,0.56) 100%);
    pointer-events: none;
}

body.camp-page > .camp-lobby {
    position: relative;
    z-index: 1;
}

.camp-page .site-footer {
    display: none;
}

.camp-page .play-kicker,
.camp-page .camp-hero-stat-label,
.camp-page .soul-amount-label {
    letter-spacing: 0;
}

.camp-lobby {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(4.4rem, 9vh);
    gap: 0.85rem;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 1rem 1.1rem 1.05rem;
}

.camp-lobby-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 22vw) minmax(0, 1fr) minmax(18rem, 24vw);
    gap: 0.95rem;
    min-width: 0;
    min-height: 0;
}

.camp-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--camp-panel-border);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(232,199,106,0.06), transparent 26%),
        linear-gradient(145deg, rgba(111,214,189,0.035), rgba(255,110,47,0.035)),
        var(--camp-panel-bg);
    box-shadow:
        var(--camp-shadow),
        inset 0 0 0 1px rgba(255,255,255,0.035);
    padding: 0.9rem;
    backdrop-filter: blur(4px);
}

.camp-panel::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232,199,106,0.72), transparent);
    pointer-events: none;
}

.camp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 2rem;
    margin-bottom: 0.74rem;
}

.camp-panel-kicker,
.camp-reset-chip,
.camp-action-kicker {
    color: rgba(232,199,106,0.86);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.camp-reset-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.55rem;
    border: 1px solid rgba(232,199,106,0.2);
    border-radius: 999px;
    background: rgba(232,199,106,0.08);
    padding: 0.24rem 0.54rem;
    color: #fff0a5;
}

.camp-player-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.82rem;
    border: 1px solid rgba(161,212,201,0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,110,47,0.14), transparent 70%),
        rgba(0,0,0,0.2);
    padding: 0.72rem;
}

.camp-player-mark {
    display: grid;
    place-items: center;
    width: 4.35rem;
    aspect-ratio: 1;
    border: 1px solid rgba(232,199,106,0.34);
    border-radius: 8px;
    background: rgba(0,0,0,0.32);
    box-shadow:
        0 0 18px rgba(255,110,47,0.18),
        inset 0 0 16px rgba(232,199,106,0.04);
}

.camp-player-mark img {
    width: 84%;
    height: 84%;
    object-fit: contain;
}

.camp-player-identity {
    display: grid;
    min-width: 0;
    gap: 0.18rem;
}

.camp-hud-name {
    /* Long usernames wrap to 2 lines and break instead of overflowing the panel. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-width: 0;
    color: #fff6d7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 0.98;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-shadow: 0 0 18px rgba(255,110,47,0.18);
}

.camp-hud-name-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.camp-hud-name-link:hover,
.camp-hud-name-link:focus-visible {
    color: #ffd9a8;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.camp-player-title {
    color: var(--camp-ember-hot);
    font-size: 0.9rem;
    font-weight: 900;
}

.camp-player-subtitle {
    min-width: 0;
    color: rgba(220,232,229,0.7);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    display: none;
}

.camp-level-block {
    display: grid;
    gap: 0.48rem;
    margin-top: 0.82rem;
    border: 1px solid rgba(161,212,201,0.12);
    border-radius: 8px;
    background: rgba(1,6,9,0.32);
    padding: 0.74rem;
}

.camp-page .camp-hero-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.camp-page .camp-hero-stat-label {
    display: block;
    color: rgba(220,232,229,0.62);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.camp-page .camp-hero-stat-value {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 1.6rem;
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-page .camp-hero-stat-meta {
    display: block;
    min-width: 0;
    color: rgba(220,232,229,0.66);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-page .camp-xp-progress {
    position: relative;
    height: 0.48rem;
    overflow: hidden;
    border: 1px solid rgba(161,212,201,0.12);
    border-radius: 999px;
    background: rgba(0,0,0,0.5);
    box-shadow: inset 0 1px 6px rgba(0,0,0,0.5);
}

.camp-page .camp-xp-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #55ffff, #e8c76a, #ff6e2f);
    box-shadow:
        0 0 12px rgba(85,255,255,0.28),
        0 0 18px rgba(255,110,47,0.26);
    transition: width 260ms ease;
}

.camp-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.82rem 0 0;
}

.camp-stat-grid .camp-hero-stat:first-child {
    grid-column: 1 / -1;
}

.camp-page .camp-hero-stat {
    min-width: 0;
    border: 1px solid rgba(161,212,201,0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(232,199,106,0.055), rgba(255,255,255,0.01)),
        rgba(0,0,0,0.24);
    padding: 0.62rem 0.68rem;
}

.camp-page .camp-hero-stat dt,
.camp-page .camp-hero-stat dd {
    margin: 0;
}

.camp-page .stat-soul-amount {
    justify-content: flex-start;
    max-width: 100%;
    color: var(--ad-soul);
    font-size: inherit;
}

.camp-page .stat-soul-amount .soul-amount-value,
.camp-page .stat-soul-amount .soul-amount-label {
    color: #fff;
}

.camp-run-intel {
    display: grid;
    gap: 0.68rem;
    min-height: 0;
    margin-top: auto;
    border: 1px solid rgba(255,110,47,0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,110,47,0.12), transparent 70%),
        rgba(0,0,0,0.26);
    padding: 0.74rem;
}

.camp-run-intel-main p {
    min-height: 2.45em;
    margin: 0.28rem 0 0;
    color: rgba(220,232,229,0.78);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.22;
}

.camp-run-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
}

.camp-run-metrics > span {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 3.05rem;
    border: 1px solid rgba(161,212,201,0.1);
    border-radius: 6px;
    background: rgba(0,0,0,0.24);
    padding: 0.45rem;
}

.camp-run-metrics strong,
.camp-run-metrics small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-run-metrics strong {
    color: #fff8dc;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.1;
}

.camp-run-metrics small {
    color: rgba(220,232,229,0.56);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.camp-center-stage {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: end;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(232,199,106,0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 60%, rgba(255,110,47,0.24), transparent 16rem),
        linear-gradient(180deg, rgba(2,8,11,0.16), rgba(2,8,11,0.68)),
        rgba(4,10,13,0.18);
    box-shadow:
        0 28px 70px rgba(0,0,0,0.46),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

.camp-center-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.62)),
        url("/app/images/assets/background/amongdemons_campfire.png") center / cover no-repeat;
    opacity: 0.48;
    transform: scale(1.03);
}

.camp-center-stage::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -18%;
    height: 45%;
    background:
        radial-gradient(ellipse at center, rgba(255,110,47,0.42), rgba(255,110,47,0.1) 42%, transparent 70%);
    filter: blur(2px);
    pointer-events: none;
}

.camp-stage-runes {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(28rem, 62%);
    aspect-ratio: 1;
    border: 1px solid rgba(232,199,106,0.18);
    border-radius: 50%;
    background:
        conic-gradient(from 45deg, transparent, rgba(232,199,106,0.18), transparent 28%, rgba(255,110,47,0.2), transparent 54%, rgba(232,199,106,0.14), transparent),
        radial-gradient(circle, transparent 56%, rgba(232,199,106,0.08) 57%, transparent 61%);
    box-shadow:
        0 0 42px rgba(255,110,47,0.18),
        inset 0 0 36px rgba(255,110,47,0.08);
    opacity: 0.7;
    transform: translate(-50%, -50%);
    animation: camp-rune-drift 18s linear infinite;
}

.camp-stage-copy {
    position: relative;
    z-index: 2;
    align-self: end;
    width: min(100%, 45rem);
    margin: 0 auto;
    padding: 2rem 1.2rem 1.4rem;
    text-align: center;
}

.camp-page .play-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    color: rgba(232,199,106,0.9);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.camp-page .camp-player-name {
    margin: 0.2rem 0 0;
    color: #fff6d7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 0.9;
    text-shadow:
        0 4px 28px rgba(0,0,0,0.72),
        0 0 28px rgba(255,110,47,0.24);
}

.camp-stage-copy p {
    max-width: 32rem;
    margin: 0.75rem auto 0;
    color: rgba(220,232,229,0.78);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.camp-action-deck {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(14rem, 18rem));
    justify-content: center;
    gap: 0.9rem;
    padding: 0 1.2rem 1.18rem;
}

.camp-action-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    min-height: 7rem;
    border: 1px solid rgba(232,199,106,0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
        rgba(3,9,11,0.78);
    color: var(--ad-text);
    box-shadow:
        0 16px 34px rgba(0,0,0,0.38),
        inset 0 0 0 1px rgba(255,255,255,0.04);
    padding: 0.92rem;
    text-align: left;
    text-decoration: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.camp-action-card:hover,
.camp-action-card:focus-visible {
    border-color: rgba(255,154,69,0.72);
    background:
        linear-gradient(180deg, rgba(255,110,47,0.16), rgba(232,199,106,0.06)),
        rgba(8,12,12,0.9);
    color: var(--ad-text);
    box-shadow:
        0 0 0 2px rgba(255,110,47,0.14),
        0 24px 44px rgba(0,0,0,0.46),
        0 0 28px rgba(255,110,47,0.28);
    transform: translateY(-2px);
    text-decoration: none;
}

.camp-action-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    aspect-ratio: 1;
    border: 1px solid rgba(232,199,106,0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle, rgba(255,110,47,0.22), transparent 72%),
        rgba(0,0,0,0.22);
    color: #ffd46c;
}

.camp-action-icon .ad-icon {
    width: 1.65rem;
    height: 1.65rem;
    margin: 0;
}

.camp-action-body {
    display: grid;
    gap: 0.24rem;
    min-width: 0;
}

.camp-action-body strong {
    display: block;
    min-width: 0;
    color: #fff8dc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.36rem;
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.camp-action-body small {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: rgba(220,232,229,0.7);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.camp-action-dungeon,
.camp-action-world {
    border-color: rgba(255,154,69,0.48);
    background:
        radial-gradient(circle at 12% 18%, rgba(255,110,47,0.22), transparent 72%),
        linear-gradient(180deg, rgba(232,199,106,0.12), rgba(255,110,47,0.055)),
        rgba(3,9,11,0.86);
    box-shadow:
        0 18px 42px rgba(0,0,0,0.44),
        0 0 30px rgba(255,110,47,0.2),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}

.camp-action-dungeon .camp-action-body strong,
.camp-action-world .camp-action-body strong {
    color: #ffe4aa;
}

.camp-action-pvp {
    border-color: rgba(161,212,201,0.14);
    opacity: 0.58;
}

.camp-action-pvp.is-disabled,
.camp-action-pvp:disabled {
    cursor: not-allowed;
}

.camp-action-pvp:hover,
.camp-action-pvp:focus-visible {
    transform: none;
}

.camp-quests-panel {
    gap: 0.78rem;
}

.camp-page .play-objective-list {
    display: grid;
    gap: 0.64rem;
    min-height: 0;
    overflow: auto;
    padding-right: 0.12rem;
}

.camp-page .play-objective {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.68rem;
    min-height: 0;
    border: 1px solid rgba(161,212,201,0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)),
        rgba(0,0,0,0.24);
    color: var(--ad-text);
    padding: 0.72rem;
    text-decoration: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease;
}

.camp-page .play-objective:hover,
.camp-page .play-objective:focus-visible {
    border-color: rgba(232,199,106,0.34);
    background:
        linear-gradient(180deg, rgba(232,199,106,0.1), rgba(255,255,255,0.015)),
        rgba(3,10,12,0.76);
    color: var(--ad-text);
    box-shadow: 0 12px 26px rgba(0,0,0,0.28);
    transform: translateY(-1px);
}

.camp-page .play-objective-icon {
    display: grid;
    place-items: center;
    width: 2.28rem;
    height: 2.28rem;
    border: 1px solid rgba(232,199,106,0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle, rgba(255,110,47,0.16), transparent 70%),
        rgba(232,199,106,0.06);
    color: var(--ad-gold);
}

.camp-page .play-objective-icon .ad-icon {
    margin: 0;
}

.camp-page .play-objective strong {
    display: block;
    min-width: 0;
    color: #fff8dc;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.14;
}

.camp-page .play-objective small {
    display: block;
    color: rgba(220,232,229,0.66);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.24;
}

.camp-daily-reward {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.72rem;
    align-items: center;
    margin-top: auto;
    border: 1px solid rgba(255,110,47,0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 12%, rgba(255,110,47,0.18), transparent 74%),
        linear-gradient(180deg, rgba(232,199,106,0.08), rgba(255,255,255,0.012)),
        rgba(0,0,0,0.28);
    padding: 0.78rem;
}

.camp-chest-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.camp-chest-copy strong {
    color: #fff8dc;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
}

.camp-chest-copy small {
    color: rgba(220,232,229,0.62);
    font-size: 0.76rem;
    font-weight: 800;
}

.camp-chest-button {
    grid-column: 1 / -1;
    min-height: 2.35rem;
    border: 1px solid rgba(232,199,106,0.22);
    border-radius: 6px;
    background: rgba(232,199,106,0.08);
    color: rgba(255,246,215,0.58);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.camp-bottom-reserve {
    min-width: 0;
    min-height: 0;
    border: 1px solid rgba(232,199,106,0.16);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.42), rgba(3,9,11,0.58), rgba(0,0,0,0.42)),
        rgba(3,9,11,0.6);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035),
        0 14px 34px rgba(0,0,0,0.26);
    padding: 0.58rem;
}

.camp-reserve-frame {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.camp-reserve-label {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    border-right: 1px solid rgba(232,199,106,0.18);
    color: rgba(232,199,106,0.7);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    padding: 0 0.82rem 0 0.22rem;
    text-transform: uppercase;
}

.camp-reserve-slots {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    height: 100%;
    min-height: 0;
}

.camp-reserve-slots span {
    min-height: 2.5rem;
    border: 1px solid rgba(161,212,201,0.08);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.006)),
        rgba(0,0,0,0.2);
    box-shadow: inset 0 0 18px rgba(0,0,0,0.2);
}

@media (max-width: 1399.98px) {
.camp-lobby-grid {
        grid-template-columns: minmax(16rem, 21vw) minmax(0, 1fr) minmax(17rem, 23vw);
    }

.camp-page .camp-player-name {
        font-size: 3.9rem;
    }

.camp-action-deck {
        grid-template-columns: repeat(2, minmax(13rem, 16rem));
    }
}

@media (max-width: 1199.98px) {
body.camp-page {
        display: block;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

.camp-lobby {
        min-height: calc(100vh - var(--camp-nav-height));
        min-height: calc(100dvh - var(--camp-nav-height));
        height: auto;
        grid-template-rows: auto auto;
    }

.camp-lobby-grid {
        grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.1fr);
        grid-template-areas:
            "player stage"
            "quests quests";
    }

.camp-player-panel {
        grid-area: player;
    }

.camp-center-stage {
        grid-area: stage;
        min-height: 34rem;
    }

.camp-quests-panel {
        grid-area: quests;
        min-height: 16rem;
    }

.camp-page .play-objective-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

.camp-daily-reward {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

.camp-chest-button {
        grid-column: auto;
        padding-inline: 0.8rem;
    }
}

@media (max-width: 840px) {
.camp-lobby-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "stage"
            "player"
            "quests";
    }

.camp-center-stage {
        min-height: 34rem;
    }

.camp-page .camp-player-name {
        font-size: 3.35rem;
    }

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

.camp-page .play-objective-list {
        grid-template-columns: minmax(0, 1fr);
    }

.camp-reserve-frame {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.52rem;
    }

.camp-reserve-label {
        border-right: 0;
        min-height: 1.2rem;
        padding: 0;
    }

.camp-reserve-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
.camp-lobby {
        padding: 0.72rem;
    }

.camp-player-card,
    .camp-daily-reward {
        grid-template-columns: minmax(0, 1fr);
    }

.camp-player-mark {
        display: none;
    }

.camp-stat-grid,
    .camp-run-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

.camp-center-stage {
        min-height: 32rem;
    }

.camp-page .camp-player-name {
        font-size: 2.7rem;
    }

.camp-stage-copy {
        padding-inline: 0.85rem;
    }

.camp-action-card {
        min-height: 6.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
.camp-page .play-objective,
    .camp-action-card,
    .camp-page .camp-xp-progress-bar,
    .camp-stage-runes {
        animation: none !important;
        transition: none !important;
    }
}

/* Camp site-color merge: full-screen image lobby with Among Demons HUD framing */
body.camp-page {
    --camp-nav-height: 5rem;
    --camp-panel-bg: rgba(7,16,19,0.68);
    --camp-panel-border: rgba(161,212,201,0.22);
    --camp-panel-border-strong: rgba(232,199,106,0.44);
    --camp-frame-line: rgba(161,212,201,0.26);
    --camp-ember: var(--ad-ember, #e78a55);
    --camp-ember-hot: #f1b35f;
    --camp-magic: var(--ad-teal, #6fd6bd);
    --camp-shadow: 0 28px 68px rgba(0,0,0,0.46);
    background:
        radial-gradient(circle at 49% 66%, rgba(231,138,85,0.1), transparent 11rem),
        radial-gradient(circle at 63% 34%, rgba(232,199,106,0.06), transparent 14rem),
        radial-gradient(circle at 18% 10%, rgba(111,214,189,0.08), transparent 28rem),
        radial-gradient(circle at 82% 14%, rgba(156,122,200,0.05), transparent 24rem),
        linear-gradient(90deg, rgba(5,10,12,0.68), rgba(5,10,12,0.08) 36%, rgba(5,10,12,0.12) 65%, rgba(5,10,12,0.7)),
        linear-gradient(180deg, rgba(5,10,12,0.08), rgba(5,10,12,0.5)),
        url("/app/images/assets/background/amongdemons_campfire.png") center / cover no-repeat,
        var(--ad-bg, #071013);
}

body.camp-page::before {
    background:
        linear-gradient(180deg, rgba(5,10,12,0.02), rgba(5,10,12,0.1) 36%, rgba(5,10,12,0.48)),
        radial-gradient(ellipse at 50% 62%, transparent 0 25%, rgba(2,7,9,0.28) 78%),
        linear-gradient(90deg, rgba(2,7,9,0.28), transparent 24%, transparent 76%, rgba(2,7,9,0.3));
}

.camp-lobby {
    grid-template-rows: minmax(0, 1fr) minmax(5.4rem, 10vh);
    gap: 1.15rem;
    padding: 2rem 2.1rem 1.45rem;
}

.camp-lobby-grid {
    grid-template-columns: minmax(18rem, 19.5vw) minmax(0, 1fr) minmax(21rem, 24vw);
    gap: 1.55rem;
}

.camp-panel,
.camp-bottom-reserve {
    border-color: var(--camp-panel-border);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(111,214,189,0.045), transparent 24%),
        radial-gradient(circle at 50% 0%, rgba(232,199,106,0.055), transparent 56%),
        rgba(7,16,19,0.62);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.035),
        0 22px 62px rgba(0,0,0,0.4);
}

.camp-panel {
    padding: 0.95rem;
}

.camp-panel::before,
.camp-bottom-reserve::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent 0 2%, var(--camp-frame-line) 9%, transparent 18% 82%, var(--camp-frame-line) 91%, transparent 98%),
        linear-gradient(90deg, transparent, rgba(232,199,106,0.18), transparent);
    pointer-events: none;
}

.camp-panel::after,
.camp-bottom-reserve::after {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border: 1px solid rgba(161,212,201,0.08);
    pointer-events: none;
}

.camp-panel-header-quiet {
    min-height: 0;
    margin-bottom: 0.2rem;
}

.camp-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    color: var(--ad-teal, #6fd6bd);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
}

.camp-panel-kicker .ad-icon {
    margin: 0;
}

.camp-player-panel {
    justify-content: start;
    margin-bottom: auto;
}

.camp-player-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.58rem;
    border: 0;
    background: transparent;
    padding: 0.25rem 0 0.1rem;
    text-align: center;
}

.camp-player-mark {
    position: relative;
    appearance: none;
    display: grid;
    place-items: center;
    width: min(7.6rem, 54%);
    max-width: 8rem;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(111,214,189,0.12), rgba(231,138,85,0.12) 34%, rgba(2,7,9,0.62) 68%),
        rgba(4,10,13,0.48);
    box-shadow:
        0 0 30px rgba(111,214,189,0.12),
        0 0 34px rgba(231,138,85,0.16),
        inset 0 0 28px rgba(0,0,0,0.5);
    cursor: pointer;
    padding: 0;
    transition:
        filter 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.camp-player-mark:hover,
.camp-player-mark:focus-visible {
    box-shadow:
        0 0 30px rgba(111,214,189,0.18),
        0 0 42px rgba(231,138,85,0.24),
        inset 0 0 28px rgba(0,0,0,0.5);
    filter: brightness(1.08);
    outline: 0;
    transform: translateY(-1px);
}

.camp-player-mark-ring {
    position: absolute;
    inset: -0.48rem;
    border: 1px solid rgba(161,212,201,0.28);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(232,199,106,0.12),
        0 0 22px rgba(111,214,189,0.12);
}

.camp-player-mark-ring::before,
.camp-player-mark-ring::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 0.48rem;
    height: 0.48rem;
    border: 1px solid rgba(232,199,106,0.34);
    background: rgba(4,10,13,0.78);
    transform: translateX(-50%) rotate(45deg);
}

.camp-player-mark-ring::before {
    top: -0.28rem;
}

.camp-player-mark-ring::after {
    bottom: -0.28rem;
}

.camp-player-mark img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
}

.camp-player-identity {
    justify-items: center;
    gap: 0.2rem;
    width: 100%;
}

.camp-hud-name {
    width: 100%;
    color: #f8fbf9;
    font-size: 1.78rem;
    line-height: 1;
    text-align: center;
    white-space: normal;
    overflow: visible;
}

.camp-player-title {
    color: var(--camp-ember);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.camp-player-subtitle {
    color: var(--ad-muted, #9fb6b2);
    font-size: 0.82rem;
}

.camp-level-block {
    border: 0;
    background: transparent;
    margin-top: 0.6rem;
    padding: 0;
}

.camp-page .camp-hero-stat-row {
    align-items: center;
}

.camp-page .camp-hero-stat-label {
    color: #f3dc93;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
}

.camp-page .camp-level-block .camp-hero-stat-value {
    color: #f3dc93;
    font-size: 1.8rem;
}

.camp-page .camp-xp-progress,
.quest-progress {
    height: 0.42rem;
    border: 0;
    background: rgba(2,7,9,0.66);
}

.camp-page .camp-xp-progress-bar,
.quest-progress > span {
    background: linear-gradient(90deg, var(--ad-teal, #6fd6bd), var(--ad-gold, #e8c76a), var(--ad-ember, #e78a55));
}

.camp-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.72rem;
}

.camp-stat-grid .camp-hero-stat:first-child {
    grid-column: auto;
}

.camp-page .camp-hero-stat {
    display: grid;
    justify-items: center;
    gap: 0.22rem;
    border-color: rgba(161,212,201,0.16);
    border-radius: 4px;
    background: rgba(4,10,13,0.5);
    padding: 0.52rem 0.45rem;
    text-align: center;
}

.camp-page .camp-hero-stat .camp-hero-stat-value {
    justify-content: center;
    min-height: 1.8rem;
    color: #f3dc93;
    font-size: 1.32rem;
}

.camp-page .stat-soul-amount {
    justify-content: center;
    color: var(--ad-soul);
}

.camp-run-intel {
    justify-items: center;
    gap: 0.2rem;
    margin-top: 0.65rem;
    border: 0;
    border-top: 1px solid rgba(161,212,201,0.14);
    border-radius: 0;
    background: transparent;
    padding: 0.62rem 0 0;
    text-align: center;
}

.camp-run-intel-main {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    width: 100%;
}

.camp-run-floorplate {
    display: grid;
    justify-items: center;
    gap: 0.1rem;
    min-width: 9rem;
    color: #fff;
}

.camp-run-floorplate span {
    color: #f3dc93;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.camp-run-floorplate strong {
    color: rgba(245,245,238,0.96);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 0.88;
    text-shadow: 0 0 18px rgba(255,255,255,0.12);
}

.camp-run-intel-main p {
    min-height: 0;
    max-width: 15rem;
    margin: 0.22rem 0 0;
    color: rgba(220,232,229,0.76);
    font-size: 0.82rem;
    line-height: 1.3;
}

.camp-run-subtitle {
    display: none;
}

.camp-run-metrics {
    display: none;
}

.camp-center-stage {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.camp-center-stage::before {
    opacity: 0;
}

.camp-center-stage::after {
    left: 22%;
    right: 22%;
    bottom: 16%;
    height: 24%;
    background: radial-gradient(ellipse at center, rgba(231,138,85,0.44), rgba(232,199,106,0.12) 44%, transparent 76%);
    filter: blur(10px);
    opacity: 0;
}

.camp-scene-depth {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(111,214,189,0.09), transparent 23rem),
        radial-gradient(circle at 50% 65%, rgba(231,138,85,0.13), transparent 16rem);
    pointer-events: none;
}

.camp-stage-runes {
    z-index: 4;
    top: 49.5%;
    width: 1.35rem;
    border: 1px solid rgba(232,199,106,0.66);
    border-radius: 0;
    background: rgba(4,10,13,0.74);
    box-shadow:
        0 0 18px rgba(231,138,85,0.34),
        0 0 20px rgba(111,214,189,0.12),
        inset 0 0 0 2px rgba(2,7,9,0.62);
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: none;
}

.camp-action-deck {
    align-self: center;
    grid-template-columns: repeat(2, minmax(12.5rem, 14.5rem));
    gap: 3rem;
    padding: 0 0 5.4rem;
}

.camp-action-card {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 0.8rem;
    min-height: 14.7rem;
    border-color: rgba(161,212,201,0.22);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(24,35,30,0.74), rgba(5,10,12,0.74)),
        radial-gradient(circle at 50% 0%, rgba(231,138,85,0.14), transparent 68%),
        rgba(7,16,19,0.68);
    padding: 1.35rem 1.2rem;
    text-align: center;
    overflow: hidden;
}

.camp-action-card::before,
.camp-action-card::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,199,106,0.54), transparent);
    pointer-events: none;
}

.camp-action-card::before {
    top: 0;
}

.camp-action-card::after {
    bottom: 0;
}

.camp-action-card:hover,
.camp-action-card:focus-visible {
    border-color: rgba(231,138,85,0.74);
    box-shadow:
        0 0 0 1px rgba(232,199,106,0.18),
        0 22px 48px rgba(0,0,0,0.48),
        0 0 34px rgba(231,138,85,0.28),
        0 0 26px rgba(111,214,189,0.1);
    transform: translateY(-2px);
}

.camp-action-icon {
    width: 3.8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f3dc93;
}

.camp-action-icon .ad-icon {
    width: 3rem;
    height: 3rem;
    stroke-width: 1.8;
}

.camp-action-kicker {
    color: var(--ad-teal, #6fd6bd);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
}

.camp-action-body strong {
    color: #f8fbf9;
    font-size: 1.9rem;
    line-height: 1;
}

.camp-action-body small {
    max-width: 12rem;
    color: rgba(220,232,229,0.78);
    font-size: 0.86rem;
    font-weight: 700;
}

.camp-action-pvp {
    background:
        linear-gradient(180deg, rgba(12,22,24,0.78), rgba(4,10,13,0.78)),
        rgba(4,10,13,0.68);
    opacity: 0.62;
}

.camp-action-pvp .camp-action-icon,
.camp-action-pvp .camp-action-body strong,
.camp-action-pvp .camp-action-kicker {
    color: rgba(220,232,229,0.56);
}

.camp-quests-panel {
    gap: 0.95rem;
}

.camp-page .play-objective-list {
    gap: 0.84rem;
}

.camp-quests-complete {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    min-height: 5rem;
    border: 1px solid rgba(111,214,189,0.18);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(111,214,189,0.07), rgba(232,199,106,0.035)),
        rgba(4,10,13,0.42);
    padding: 0.78rem;
}

.camp-quests-complete-icon {
    display: inline-grid;
    place-items: center;
    width: 3.05rem;
    height: 3.05rem;
    border: 1px solid rgba(111,214,189,0.24);
    border-radius: 50%;
    background: rgba(111,214,189,0.08);
    color: var(--ad-teal, #6fd6bd);
}

.camp-quests-complete-icon .ad-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.camp-quests-complete > span:last-child {
    display: grid;
    gap: 0.18rem;
}

.camp-quests-complete strong {
    color: #dcf3ed;
    font-size: 0.88rem;
    line-height: 1.15;
}

.camp-quests-complete small {
    color: rgba(220,232,229,0.6);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
}

.camp-page .play-objective {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 5rem;
    border-color: rgba(161,212,201,0.14);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(111,214,189,0.055), rgba(231,138,85,0.035)),
        rgba(4,10,13,0.46);
    color: var(--ad-text);
    font: inherit;
    padding: 0.78rem;
    text-align: left;
}

.camp-page button.play-objective {
    cursor: pointer;
}

.camp-page .play-objective.is-claimable {
    border-color: rgba(232,199,106,0.48);
    background:
        linear-gradient(90deg, rgba(232,199,106,0.12), rgba(231,138,85,0.08)),
        rgba(4,10,13,0.58);
    box-shadow:
        0 0 18px rgba(232,199,106,0.1),
        inset 0 0 20px rgba(231,138,85,0.035);
}

.camp-page .play-objective.is-claimable .quest-reward small,
.camp-page .play-objective.is-claimable .quest-reward strong {
    color: #f3dc93 !important;
}

.camp-page .play-objective.is-claimed {
    border-color: rgba(111,214,189,0.22);
    background: rgba(4,10,13,0.38);
    opacity: 0.68;
}

.camp-page .play-objective.is-claimed:hover {
    border-color: rgba(111,214,189,0.22);
    background: rgba(4,10,13,0.38);
    box-shadow: none;
    transform: none;
}

.camp-page .play-objective.is-busy {
    cursor: wait;
    opacity: 0.62;
    pointer-events: none;
}

.camp-page .play-objective-icon {
    width: 3.05rem;
    height: 3.05rem;
    border-color: rgba(161,212,201,0.2);
    border-radius: 5px;
    background: rgba(111,214,189,0.075);
}

.camp-page .play-objective-icon .ad-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.camp-page .play-objective strong {
    color: #f8fbf9;
    font-size: 0.94rem;
}

.camp-page .play-objective small {
    display: none;
}

.camp-daily-value {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    width: max-content;
    color: var(--ad-soul, #8fefff);
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
}

.camp-daily-value .ad-icon {
    width: 0.92rem;
    height: 0.92rem;
}

.camp-daily-reward {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    min-height: 9rem;
    border-color: rgba(111,214,189,0.24);
    border-radius: 0;
    background:
        radial-gradient(circle at 82% 54%, rgba(111,214,189,0.24), transparent 5rem),
        radial-gradient(circle at 78% 22%, rgba(232,199,106,0.12), transparent 4.8rem),
        linear-gradient(90deg, rgba(7,24,26,0.68), rgba(35,18,10,0.42)),
        rgba(4,10,13,0.48);
    padding: 1.05rem;
}

.camp-chest-copy {
    position: relative;
    z-index: 1;
    align-self: start;
    gap: 0.38rem;
}

.camp-chest-copy strong {
    color: #f8fbf9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.camp-chest-button {
    position: relative;
    z-index: 1;
    grid-column: 1;
    justify-self: start;
    min-width: 8.3rem;
    border-color: rgba(232,199,106,0.5);
    background:
        linear-gradient(180deg, rgba(111,214,189,0.16), rgba(231,138,85,0.18)),
        rgba(4,10,13,0.56);
    color: #f3dc93;
    box-shadow:
        0 0 18px rgba(232,199,106,0.14),
        0 0 16px rgba(111,214,189,0.12);
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.camp-chest-button:not(:disabled):hover,
.camp-chest-button:not(:disabled):focus-visible {
    border-color: rgba(232,199,106,0.8);
    background:
        linear-gradient(180deg, rgba(232,199,106,0.24), rgba(231,138,85,0.24)),
        rgba(4,10,13,0.72);
    color: #fff3bd;
    box-shadow:
        0 0 24px rgba(232,199,106,0.2),
        0 0 20px rgba(231,138,85,0.12);
    transform: translateY(-1px);
}

.camp-chest-button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.camp-chest-button.is-claimed {
    border-color: rgba(111,214,189,0.24);
    color: rgba(220,232,229,0.62);
}

.camp-bottom-reserve {
    position: relative;
    padding: 0.85rem;
}

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

.camp-reserve-label {
    position: absolute;
    left: 1.2rem;
    top: -0.48rem;
    min-height: 1rem;
    border: 0;
    background: rgba(4,10,13,0.82);
    padding: 0 0.5rem;
    color: rgba(161,212,201,0.58);
}

.camp-reserve-slots {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
}

.camp-reserve-slots span {
    min-height: 3rem;
    border-color: rgba(161,212,201,0.08);
    border-radius: 0;
    background: rgba(4,10,13,0.24);
}

@media (max-width: 1399.98px) {
.camp-lobby {
        grid-template-rows: minmax(0, 1fr) minmax(3.9rem, 7.2vh);
        gap: 0.8rem;
        padding: 1.45rem 1rem 1rem;
    }

.camp-lobby-grid {
        grid-template-columns: minmax(15.5rem, 20vw) minmax(0, 1fr) minmax(16rem, 22vw);
        gap: 0.75rem;
    }

.camp-panel {
        padding: 0.72rem;
    }

.camp-action-deck {
        grid-template-columns: repeat(2, minmax(11.4rem, 13rem));
        gap: 1.1rem;
        padding-bottom: 4rem;
    }

.camp-action-card {
        min-height: 12.1rem;
    }

.camp-page .play-objective {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.68rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
.camp-page .play-objective:not(.has-requirements) {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 4.7rem;
    }

.camp-page .play-objective:not(.has-requirements) .quest-reward {
        grid-column: 3;
        align-self: center;
        justify-self: end;
    }
}

@media (max-height: 820px) and (min-width: 1200px) {
.camp-lobby {
        grid-template-rows: minmax(0, 1fr) minmax(3.55rem, 6.6vh);
        gap: 0.66rem;
        padding-block: 1rem 0.8rem;
    }

.camp-panel {
        padding: 0.64rem;
    }

.camp-panel-header-quiet {
        margin-bottom: 0;
    }

.camp-player-card {
        gap: 0.42rem;
        padding-top: 0.08rem;
    }

.camp-player-mark {
        width: min(6.2rem, 46%);
    }

.camp-hud-name {
        font-size: 1.52rem;
    }

.camp-player-title {
        font-size: 0.74rem;
    }

.camp-player-subtitle {
        font-size: 0.75rem;
    }

.camp-level-block {
        margin-top: 0.38rem;
    }

.camp-page .camp-level-block .camp-hero-stat-value {
        font-size: 1.5rem;
    }

.camp-stat-grid {
        margin-top: 0.52rem;
    }

.camp-page .camp-hero-stat {
        padding: 0.42rem 0.35rem;
    }

.camp-run-intel {
        margin-top: 0.48rem;
        padding-top: 0.46rem;
    }

.camp-run-floorplate strong {
        font-size: 2.35rem;
    }

.camp-run-intel-main p {
        display: none;
    }

.camp-quests-panel {
        gap: 0.58rem;
    }

.camp-page .play-objective-list {
        gap: 0.48rem;
        overflow: visible;
        padding-right: 0;
    }

.camp-page .play-objective {
        min-height: 0;
        gap: 0.52rem;
        padding: 0.52rem;
    }

.camp-page .play-objective-icon {
        width: 2.45rem;
        height: 2.45rem;
    }

.camp-page .play-objective strong {
        font-size: 0.82rem;
        line-height: 1.12;
    }

.camp-daily-reward {
        min-height: 7.3rem;
        padding: 0.78rem;
    }

.camp-chest-copy {
        gap: 0.22rem;
    }

.camp-chest-copy strong {
        font-size: 0.9rem;
    }

.camp-chest-button {
        min-width: 7.1rem;
        min-height: 2.35rem;
        padding-block: 0.4rem;
    }

.camp-bottom-reserve {
        padding: 0.56rem;
    }

.camp-reserve-slots span {
        min-height: 2.35rem;
    }
}

@media (max-width: 1199.98px) {
.camp-lobby-grid {
        grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
    }

.camp-action-deck {
        padding-bottom: 2rem;
    }
}

@media (max-width: 840px) {
.camp-lobby {
        padding: 1rem;
    }

.camp-center-stage {
        min-height: 31rem;
    }

.camp-action-deck {
        grid-template-columns: minmax(0, 15rem);
        gap: 0.85rem;
        padding-bottom: 1.2rem;
    }

.camp-action-card {
        min-height: 10.5rem;
    }

.camp-stage-runes {
        display: none;
    }
}

.camp-page .play-objective.has-requirements {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 7.25rem;
    row-gap: 0.5rem;
}

.camp-page .play-objective.has-requirements .play-objective-icon {
    grid-column: 1;
    grid-row: 1;
}

.camp-page .play-objective.has-requirements .play-objective-body {
    grid-column: 2;
    grid-row: 1;
}

.camp-page .play-objective.has-requirements .quest-reward {
    position: static;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
}

.camp-page .play-objective.has-requirements .quest-requirements {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
}

.camp-page .play-objective.has-requirements .quest-progress-meta {
    justify-content: end;
    padding-right: 0;
}

.nav-xp-progress.is-level-up-anchored,
.camp-xp-progress.is-level-up-anchored,
[data-xp-progress].is-level-up-anchored,
.nav-xp-progress.is-level-up-soft,
.camp-xp-progress.is-level-up-soft,
[data-xp-progress].is-level-up-soft {
    overflow: visible;
}

.nav-xp-progress::before,
.nav-xp-progress::after,
.camp-xp-progress::before,
.camp-xp-progress::after,
[data-xp-progress]::before,
[data-xp-progress]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.nav-xp-progress.is-level-up-anchored::before,
.camp-xp-progress.is-level-up-anchored::before,
[data-xp-progress].is-level-up-anchored::before {
    inset: -0.42rem;
    border: 1px solid rgba(232,199,106,0.42);
    border-radius: inherit;
    box-shadow:
        0 0 18px rgba(232,199,106,0.34),
        0 0 34px rgba(111,214,189,0.18);
    animation: level-up-track-aura 2100ms ease-out var(--level-up-delay, 0ms) both;
}

.nav-xp-progress.is-level-up-anchored::after,
.camp-xp-progress.is-level-up-anchored::after,
[data-xp-progress].is-level-up-anchored::after {
    top: 50%;
    left: clamp(0.8rem, var(--level-up-progress, 50%), calc(100% - 0.8rem));
    width: min(9rem, 42vw);
    height: 2.15rem;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,0.92), rgba(232,199,106,0.92), transparent);
    filter: blur(0.5px);
    transform: translate(-50%, -50%) scaleX(0.2);
    animation: level-up-track-sweep 1350ms cubic-bezier(0.16, 1, 0.3, 1) var(--level-up-delay, 0ms) both;
}

.nav-xp-progress-fill.is-level-up-fill,
.camp-xp-progress-bar.is-level-up-fill,
[data-xp-progress-fill].is-level-up-fill {
    animation: level-up-fill-flare 2100ms ease-out both;
}

.nav-xp-progress.is-level-up-soft::before,
.camp-xp-progress.is-level-up-soft::before,
[data-xp-progress].is-level-up-soft::before {
    inset: -0.28rem;
    border: 1px solid rgba(232,199,106,0.38);
    border-radius: inherit;
    animation: level-up-soft-aura 800ms ease-out both;
}

body.camp-page {
    --camp-nav-height: var(--game-nav-height);
}

@media (prefers-reduced-motion: reduce) {
.level-up-celebration-vignette,
    .level-up-celebration-burst,
    .level-up-ring,
    .level-up-beams,
    .level-up-particles span,
    .nav-xp-progress.is-level-up-anchored::before,
    .nav-xp-progress.is-level-up-anchored::after,
    .camp-xp-progress.is-level-up-anchored::before,
    .camp-xp-progress.is-level-up-anchored::after,
    [data-xp-progress].is-level-up-anchored::before,
    [data-xp-progress].is-level-up-anchored::after,
    .nav-xp-progress-fill.is-level-up-fill,
    .camp-xp-progress-bar.is-level-up-fill,
    [data-xp-progress-fill].is-level-up-fill {
        animation-duration: 700ms !important;
        transform: none;
    }
}

/* Account level points: compact camp allocation controls and dungeon readout. */
.camp-lobby {
    grid-template-rows: minmax(0, 1fr) auto;
}

.camp-level-points-panel {
    display: grid;
    gap: 0.5rem;
    min-height: 0;
    padding: 0.6rem 0.72rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.camp-level-points-panel.has-unspent-points {
    border-color: rgba(232,199,106,0.58);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.035),
        0 0 26px rgba(232,199,106,0.12),
        0 22px 62px rgba(0,0,0,0.4);
}

.camp-level-points-panel.has-invalid-points {
    border-color: rgba(231,100,85,0.66);
}

@media (prefers-reduced-motion: reduce) {
.camp-level-points-panel {
        transition: none;
    }
}

.camp-level-points-panel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
}

.camp-level-points-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(5.5rem, 1fr));
    gap: 0.32rem;
    min-width: 0;
}

.camp-level-points-summary > span {
    display: grid;
    gap: 0.04rem;
    min-width: 0;
    border-left: 1px solid rgba(161,212,201,0.12);
    padding-left: 0.42rem;
}

.camp-level-points-summary strong {
    overflow: hidden;
    color: #f8fbf9;
    font-size: 0.66rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-level-points-summary small {
    color: rgba(220,232,229,0.5);
    font-size: 0.51rem;
    font-weight: 800;
    text-transform: uppercase;
}

.camp-level-points-link,
.skill-tree-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.2rem;
    border: 1px solid rgba(232,199,106,0.38);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(232,199,106,0.12), rgba(231,138,85,0.08));
    color: #f3dc93;
    padding: 0.42rem 0.62rem;
    font-size: 0.64rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.camp-level-points-link:hover,
.camp-level-points-link:focus-visible,
.skill-tree-back:hover,
.skill-tree-back:focus-visible {
    border-color: rgba(232,199,106,0.72);
    color: #fff3bd;
    box-shadow: 0 0 20px rgba(232,199,106,0.12);
    outline: 0;
}

.camp-level-points-link .ad-icon,
.skill-tree-back .ad-icon {
    width: 0.88rem;
    height: 0.88rem;
    margin: 0;
}

@media (max-width: 1199.98px) {
.camp-level-points-panel {
        grid-template-columns: minmax(0, 1fr) auto;
    }

.camp-level-points-summary {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 767.98px) {
.camp-level-points-panel {
        grid-template-columns: minmax(0, 1fr);
    }

.camp-level-points-summary,
    .camp-level-points-link {
        grid-column: auto;
        grid-row: auto;
    }

.camp-level-points-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
.camp-level-points-summary {
        grid-template-columns: minmax(0, 1fr);
    }
}

.camp-lobby {
    grid-template-rows: minmax(0, 1fr);
}

.camp-skill-tree-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.52rem;
    margin-top: 0.72rem;
    border: 1px solid rgba(161,212,201,0.18);
    border-radius: 4px;
    background:
        linear-gradient(90deg, rgba(111,214,189,0.06), rgba(232,199,106,0.035)),
        rgba(4,10,13,0.5);
    color: rgba(220,232,229,0.78);
    padding: 0.52rem;
    text-decoration: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.camp-skill-tree-link:hover,
.camp-skill-tree-link:focus-visible {
    border-color: rgba(232,199,106,0.56);
    color: #fff3bd;
    box-shadow: 0 0 20px rgba(232,199,106,0.1);
    outline: 0;
    transform: translateY(-1px);
}

.camp-skill-tree-link.has-unspent-points {
    border-color: rgba(141,231,255,0.62);
    background:
        radial-gradient(circle at 12% 50%, rgba(141,231,255,0.16), transparent 4rem),
        rgba(4,10,13,0.56);
    animation: collection-reinforcement-pulse 1.25s ease-in-out infinite;
}

.camp-skill-tree-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    aspect-ratio: 1;
    border: 1px solid rgba(111,214,189,0.24);
    border-radius: 50%;
    background: rgba(111,214,189,0.08);
    color: var(--ad-teal, #6fd6bd);
}

.camp-skill-tree-icon .ad-icon,
.camp-skill-tree-link > .ad-icon {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.camp-skill-tree-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.camp-skill-tree-copy strong {
    color: #f8fbf9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.84rem;
}

.camp-skill-tree-copy small {
    overflow: hidden;
    color: rgba(220,232,229,0.56);
    font-size: 0.62rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camp-skill-tree-link.has-unspent-points .camp-skill-tree-copy small {
    color: #8de7ff;
}

@media (prefers-reduced-motion: reduce) {
.camp-skill-tree-link {
        transition: none;
    }

.camp-skill-tree-link.has-unspent-points {
        animation: none;
        border-color: rgba(141,231,255,0.72);
        box-shadow: 0 0 0 2px rgba(141,231,255,0.18), 0 0 18px rgba(82,183,255,0.22);
    }
}

@media (max-width: 767.98px) and (orientation: portrait) {
.camp-lobby {
        padding: 0.72rem;
    }

.camp-lobby-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "player"
            "stage"
            "quests";
        gap: 0.7rem;
    }

.camp-player-panel {
        grid-area: player;
    }

.camp-center-stage {
        grid-area: stage;
        grid-template-rows: auto;
        min-height: 0;
    }

.camp-quests-panel {
        grid-area: quests;
    }

.camp-scene-depth,
    .camp-stage-runes {
        display: none;
    }

.camp-action-deck {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.56rem;
        width: 100%;
        padding: 0;
    }

.camp-action-card {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        gap: 0.46rem;
        min-height: 4.65rem;
        padding: 0.58rem 0.52rem;
        text-align: left;
    }

.camp-action-icon {
        width: 2rem;
    }

.camp-action-icon .ad-icon {
        width: 1.35rem;
        height: 1.35rem;
    }

.camp-action-body {
        gap: 0.08rem;
    }

.camp-action-kicker {
        display: block;
        font-size: 0.58rem;
        line-height: 1;
    }

.camp-action-body strong {
        font-size: 1.02rem;
    }

.camp-action-body small {
        display: none;
    }
}
