/* Forest Grove — play-first world (html[data-evo-theme="ink"]) */

html[data-evo-theme="ink"] {
    --forest-moss: #85b46d;
    --forest-moss-deep: #517b3f;
    --forest-moss-dim: rgba(133, 180, 109, 0.28);
    --forest-leaf: #9fcf93;
    --forest-bark: #7a5633;
    --forest-bark-deep: #4f341e;
    --forest-cream: #fff6e6;
    --forest-cream-dim: rgba(255, 246, 230, 0.34);
    --forest-sun: #efc270;
    --forest-sun-deep: #c88847;
    --forest-sky: #b9ddbe;
    --forest-bg: #e9f5dd;
    --forest-panel: rgba(255, 244, 221, 0.86);
    --forest-border: rgba(157, 121, 78, 0.36);
    --forest-border-soft: rgba(255, 237, 197, 0.62);
    --forest-radius: 30px;
    --forest-radius-sm: 20px;
    --forest-radius-pill: 999px;
    --forest-shadow: 0 16px 34px rgba(80, 59, 31, 0.22);
    --forest-font: 'Nunito', 'Noto Sans SC', system-ui, sans-serif;
    --forest-display: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'Fredoka', cursive;
    --forest-hand: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
    --forest-fairy: #cdaef4;
    --forest-fairy-dim: rgba(205, 174, 244, 0.3);
    --forest-mushroom: #e58b7f;
    --forest-mushroom-deep: #b25a4f;
    --forest-lantern: #f7d896;
    --forest-firefly: rgba(255, 241, 176, 0.75);
    --forest-dock-h: 78px;
    --evo-sidebar-w: 100%;
    --evo-cyan: var(--forest-moss);
    --evo-cyan-dim: var(--forest-moss-dim);
    --evo-blue: var(--forest-sky);
    --evo-gold: var(--forest-sun);
    --evo-bg: var(--forest-bg);
    --evo-bg-elevated: rgba(255, 248, 232, 0.92);
    --evo-surface: #f1e2c5;
    --evo-panel: var(--forest-panel);
    --evo-border: var(--forest-border);
    --evo-border-subtle: var(--forest-border-soft);
    --evo-text: #2f2a1c;
    --evo-muted: #5d624b;
    --evo-muted-strong: #3e4a31;
    --evo-radius: var(--forest-radius);
    --evo-radius-sm: var(--forest-radius-sm);
    --evo-font: var(--forest-font);
    --evo-display: var(--forest-display);
    --evo-mono: var(--forest-font);
    --evo-transition: 0.28s cubic-bezier(0.34, 1.25, 0.64, 1);
}

html[data-evo-theme="ink"] body.evo-body {
    font-family: var(--forest-font);
    background-color: var(--forest-bg);
    background-image:
        radial-gradient(ellipse 100% 56% at 50% -10%, rgba(158, 217, 154, 0.11), transparent 62%),
        radial-gradient(ellipse 45% 35% at 95% 90%, rgba(240, 200, 120, 0.08), transparent 55%);
}

html[data-evo-theme="ink"] .evo-app {
    flex-direction: column;
    min-height: 100dvh;
}

/* ── Bottom dock shell (replaces left sidebar) ── */
html[data-evo-theme="ink"] .evo-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0.45rem 0.75rem max(0.55rem, env(safe-area-inset-bottom));
    border: none;
    border-top: 1px solid var(--forest-border-soft);
    border-radius: 26px 26px 0 0;
    background:
        linear-gradient(180deg, rgba(8, 18, 12, 0.72), rgba(8, 18, 12, 0.96)),
        url('/images/themes/forest/fairy-dock-wood.svg?v=3') center / cover;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.32);
    z-index: 60;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

html[data-evo-theme="ink"] .evo-sidebar-brand,
html[data-evo-theme="ink"] .evo-sidebar-utils,
html[data-evo-theme="ink"] .evo-sidebar-footer,
html[data-evo-theme="ink"] .hub-legal-strip,
html[data-evo-theme="ink"] .evo-nav-menu-btn,
html[data-evo-theme="ink"] #hubNavDrawer {
    display: none !important;
}

html[data-evo-theme="ink"] .evo-sidebar-nav {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
}

html[data-evo-theme="ink"] .evo-sidebar-nav__layer--classic {
    display: none !important;
}

html[data-evo-theme="ink"] .evo-sidebar-nav__layer--edu {
    display: flex !important;
    flex: 1;
    align-items: stretch;
}

html[data-evo-theme="ink"] .evo-main {
    flex: 1;
    width: 100%;
    padding: 1rem 1rem calc(var(--forest-dock-h) + 1.25rem);
}

html[data-evo-theme="ink"] .evo-wrap {
    max-width: 880px;
}

html[data-evo-theme="ink"] .evo-hud-chip,
html[data-evo-theme="ink"] .evo-hub-sound-toggle {
    border-radius: var(--forest-radius-pill);
    border: 1px solid var(--forest-border-soft);
    background: rgba(10, 20, 14, 0.82);
    backdrop-filter: blur(8px);
    font-family: var(--forest-font);
    font-size: 0.75rem;
}

html[data-evo-theme="ink"] #energyRegenHint {
    display: none;
}

html[data-evo-theme="ink"] .evo-onboarding-banner,
html[data-evo-theme="ink"] .mentor-hub-bar {
    display: none !important;
}

html[data-evo-theme="ink"] .evo-hub-topbar {
    position: fixed;
    top: max(0.45rem, env(safe-area-inset-top));
    right: 0.55rem;
    left: auto;
    z-index: 40;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
}

html[data-evo-theme="ink"] .evo-hub-topbar-hud {
    display: none;
}

/* ── Forest dock ── */
.forest-dock {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: end;
    gap: 0.35rem;
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 0.25rem 0.25rem 0;
    isolation: isolate;
}

.forest-dock::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78%;
    border-radius: 26px 26px 16px 16px;
    background:
        linear-gradient(180deg, rgba(22, 44, 30, 0.95), rgba(12, 22, 15, 0.96)),
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.18), transparent 48%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    z-index: -2;
}

.forest-dock::after {
    content: '';
    position: absolute;
    inset: 6px 18px auto;
    height: 14px;
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--forest-firefly) 0 28%, transparent 36%) 0 0 / 24px 14px repeat-x;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.forest-dock__item {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.35rem 0.25rem;
    border: none;
    background: transparent;
    color: var(--forest-muted);
    text-decoration: none;
    cursor: pointer;
    font-family: var(--forest-font);
    transition: transform var(--evo-transition), color var(--evo-transition);
    z-index: 1;
}

.forest-dock__item:hover,
.forest-dock__item.is-active {
    color: var(--forest-cream);
    transform: translateY(-2px);
}

.forest-dock__item--play {
    position: relative;
    margin-top: -1.15rem;
    padding: 0.65rem 0.5rem 0.35rem;
    border-radius: 22px 22px 16px 16px;
    background:
        radial-gradient(140% 120% at 50% 0%, rgba(255, 255, 255, 0.3), transparent 52%),
        linear-gradient(180deg, var(--forest-mushroom), var(--forest-mushroom-deep));
    border: 1px solid rgba(255, 230, 212, 0.52);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.32),
        inset 0 -10px 18px rgba(54, 20, 20, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.24);
}

.forest-dock__item--play.is-active {
    border-color: var(--forest-sun);
}

.forest-dock__item--play::after {
    content: '';
    position: absolute;
    inset: auto 18% -8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(2px);
}

.forest-dock__glyph {
    font-size: 1.35rem;
    line-height: 1;
}

.forest-dock__glyph--play {
    font-size: 1.65rem;
}

.forest-dock__lib-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 0 0 2px rgba(250, 244, 232, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.22);
}

.forest-dock__label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
}

.forest-dock__item--play .forest-dock__label {
    font-family: var(--forest-hand);
    font-size: 0.9375rem;
    color: var(--forest-cream);
}

.forest-dock__item--library.is-active,
.forest-dock__item--library.is-open,
.forest-dock__item--library[aria-expanded="true"] {
    color: var(--forest-sun);
}

.forest-dock__item--library.is-active .forest-dock__lib-icon,
.forest-dock__item--library.is-open .forest-dock__lib-icon,
.forest-dock__item--library[aria-expanded="true"] .forest-dock__lib-icon {
    box-shadow:
        0 0 0 2px var(--forest-sun),
        0 0 16px var(--forest-moss-dim);
    transform: scale(1.08);
}

/* ── Wooden plank buttons ── */
.forest-plank {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.65rem;
    border: 2px solid rgba(61, 42, 24, 0.55);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
        var(--forest-plank-bg, linear-gradient(180deg, #c49a62, #9a6f3f));
    background-size: cover;
    background-position: center;
    color: var(--forest-bark-deep);
    font-family: var(--forest-hand);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.22);
    transition: transform var(--evo-transition), box-shadow var(--evo-transition);
}

.forest-plank:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), inset 0 2px 0 rgba(255, 255, 255, 0.28);
}

.forest-plank--mega {
    min-width: min(100%, 280px);
    padding: 1rem 2rem;
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    border-radius: 22px;
}

.forest-plank--soft {
    background: rgba(18, 32, 22, 0.72);
    border-color: var(--forest-border);
    color: var(--forest-cream);
    font-family: var(--forest-font);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: none;
}

.forest-plank--library {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(50, 86, 58, 0.95), rgba(28, 50, 34, 0.98));
    border-color: var(--forest-border);
    color: var(--forest-cream);
    font-family: var(--forest-font);
    font-size: 1rem;
    font-weight: 700;
}

.forest-plank__shine {
    position: absolute;
    inset: 2px 8px auto 8px;
    height: 35%;
    border-radius: 14px 14px 40% 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}

.forest-plank--go,
.forest-plank--go-soft {
    overflow: hidden;
}

.forest-plank__stones {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 0.24rem;
    align-items: center;
}

.forest-plank__stones i {
    display: inline-block;
    width: 0.82rem;
    height: 0.82rem;
    border-radius: 50%;
    border: 1px solid rgba(78, 56, 30, 0.26);
    box-shadow: 0 1px 2px rgba(40, 25, 11, 0.24);
}

.forest-plank__stones i:first-child {
    background: radial-gradient(circle at 34% 28%, rgba(160, 160, 160, 0.55), rgba(28, 28, 28, 0.94) 62%);
}

.forest-plank__stones i:last-child {
    background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.98), rgba(230, 222, 201, 0.95) 58%);
}

.forest-plank__stones--mini i {
    width: 0.7rem;
    height: 0.7rem;
}

.forest-plank__text {
    position: relative;
    z-index: 1;
}

/* ── Play-first hub hero ── */
.forest-world--play {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 1rem;
}

.forest-world--play::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 16%, rgba(255, 236, 187, 0.18), transparent 28%),
        radial-gradient(circle at 88% 28%, rgba(255, 210, 210, 0.14), transparent 26%),
        radial-gradient(circle at 68% 72%, rgba(173, 223, 183, 0.12), transparent 32%);
}

.forest-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(320px, 58vh, 500px);
    border-radius: calc(var(--forest-radius) + 8px);
    border: 2px solid rgba(255, 244, 220, 0.34);
    background-image: var(--forest-hero-bg);
    background-size: cover;
    background-position: center 35%;
    box-shadow:
        var(--forest-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.forest-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 22%, var(--forest-firefly) 0 5px, transparent 8px) 0 0 / 180px 150px repeat,
        radial-gradient(circle at 72% 70%, rgba(255, 222, 161, 0.38) 0 4px, transparent 7px) 0 0 / 210px 170px repeat;
    opacity: 0.35;
    mix-blend-mode: screen;
}

.forest-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 16, 11, 0.22) 0%, rgba(8, 16, 11, 0.08) 42%, rgba(8, 16, 11, 0.74) 100%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(158, 217, 154, 0.12), transparent 70%);
    pointer-events: none;
}

.forest-hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.9rem 0;
}

.forest-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.4rem 0.65rem 0.4rem 0.4rem;
    border-radius: var(--forest-radius-pill);
    border: 1px solid var(--forest-border-soft);
    background: rgba(8, 18, 12, 0.62);
    backdrop-filter: blur(8px);
    color: var(--forest-cream);
    text-decoration: none;
    font-size: 0.75rem;
}

.forest-hero__chip--claim {
    border: none;
    background: linear-gradient(180deg, #d8f2d4, var(--forest-moss));
    color: var(--forest-bark-deep);
    font-weight: 800;
    cursor: pointer;
}

.forest-hero__chip-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--forest-sun);
    object-fit: cover;
}

.forest-hero__chip-text {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.forest-hero__chip-text strong {
    font-size: 0.8125rem;
}

.forest-hero__center {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.15rem 1.35rem;
    text-align: center;
}

.forest-hero__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-moss);
}

.forest-hero__title {
    margin: 0;
    font-family: var(--forest-hand);
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--forest-cream);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
}

.forest-hero__sub {
    margin: 0.55rem auto 0;
    max-width: 30ch;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(250, 244, 232, 0.88);
}

.forest-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.forest-focus-strip {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--forest-radius) - 2px);
    border: 2px solid rgba(255, 244, 220, 0.25);
    box-shadow: var(--forest-shadow);
}

.forest-focus-strip__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
}

.forest-focus-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 16, 11, 0.08), rgba(8, 16, 11, 0.34)),
        radial-gradient(circle at 82% 24%, rgba(255, 226, 170, 0.28), transparent 38%);
}

/* ── Whisper panel (storybook side notes) ── */
.forest-whisper {
    overflow: hidden;
    border-radius: var(--forest-radius);
    border: 1px solid rgba(255, 244, 220, 0.24);
    background:
        linear-gradient(165deg, rgba(20, 38, 25, 0.76), rgba(12, 22, 15, 0.78)),
        radial-gradient(circle at 12% 0%, rgba(255, 224, 170, 0.18), transparent 45%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.forest-whisper__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--forest-font);
    font-weight: 700;
    color: rgba(233, 244, 230, 0.86);
}

.forest-whisper__summary::-webkit-details-marker {
    display: none;
}

.forest-whisper[open] .forest-whisper__summary {
    color: var(--forest-cream);
    border-bottom: 1px solid rgba(255, 244, 220, 0.2);
    background: rgba(8, 16, 11, 0.22);
}

.forest-whisper__chev::after {
    content: '＋';
    color: var(--forest-moss);
}

.forest-whisper[open] .forest-whisper__chev::after {
    content: '－';
}

.forest-whisper__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem 0.9rem;
}

.forest-whisper__panel {
    position: relative;
    padding: 0.65rem 0.7rem;
    border-radius: var(--forest-radius-sm);
    background:
        linear-gradient(165deg, rgba(11, 22, 14, 0.76), rgba(7, 14, 9, 0.72)),
        radial-gradient(circle at 100% 0%, rgba(236, 172, 172, 0.14), transparent 48%);
    border: 1px solid rgba(255, 244, 220, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
}

.forest-whisper__panel::before {
    content: '';
    position: absolute;
    inset: 10px 10px auto auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 241, 176, 0.95), rgba(255, 241, 176, 0));
    opacity: 0.72;
}

.forest-whisper__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.forest-whisper__title {
    margin: 0;
    font-family: var(--forest-hand);
    font-size: 1rem;
    color: var(--forest-cream);
}

.forest-whisper__link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--forest-moss);
    text-decoration: none;
}

.forest-home-library-hint {
    margin: 0;
    text-align: center;
    padding: 0.15rem 0.5rem 0;
    font-size: 0.75rem;
    color: var(--forest-muted);
    line-height: 1.45;
    opacity: 0.85;
}

html[data-evo-theme="ink"] body.hub-page .hub-module-grid .evo-card--visual {
    border: 1px solid rgba(255, 244, 220, 0.24);
    background:
        linear-gradient(160deg, rgba(18, 34, 22, 0.9), rgba(10, 18, 12, 0.9));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

html[data-evo-theme="ink"] body.hub-page .hub-module-grid .evo-card-cover-wrap::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 10, 7, 0.78));
}

html[data-evo-theme="ink"] body.hub-page .hub-module-grid .evo-card-head h3 {
    color: var(--forest-cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

html[data-evo-theme="ink"] body.hub-page .hub-module-grid .evo-card-num {
    border: 1px solid rgba(255, 244, 220, 0.34);
    background: rgba(9, 18, 12, 0.68);
    color: var(--forest-lantern);
}

html[data-evo-theme="ink"] body.hub-page .hub-activity {
    border-color: rgba(255, 244, 220, 0.25);
    background:
        linear-gradient(160deg, rgba(18, 36, 23, 0.9), rgba(10, 18, 12, 0.94)),
        radial-gradient(circle at 90% 0%, rgba(216, 184, 255, 0.16), transparent 44%);
}

/* ── Forest bubbles (treasure nook) ── */
.forest-bubbles[hidden] {
    display: none !important;
}

.forest-bubbles {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
}

body.forest-library-open .forest-bubbles {
    pointer-events: auto;
}

.forest-bubbles__backdrop {
    position: fixed;
    inset: 0;
    z-index: 9001;
    background: rgba(4, 10, 7, 0.62);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.forest-bubbles__stage {
    position: fixed;
    left: 50%;
    bottom: calc(var(--forest-dock-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
    transform: translateX(-50%);
    z-index: 9002;
    width: min(calc(100% - 1.25rem), 440px);
    max-height: min(72dvh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.55rem 0.85rem 0.35rem;
    border-radius: calc(var(--forest-radius) + 4px);
    border: 2px solid rgba(255, 244, 220, 0.35);
    background:
        linear-gradient(180deg, rgba(12, 24, 16, 0.92), rgba(8, 16, 11, 0.96)),
        url('/images/themes/forest/fairy-library-stage.svg?v=3') center / cover;
    box-shadow:
        0 -8px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: auto;
    text-align: center;
}

.forest-bubbles__stage::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 241, 176, 0.16), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(216, 184, 255, 0.16), transparent 32%);
}

body.forest-library-open {
    overflow: hidden;
}

body.forest-library-open .evo-main,
body.forest-library-open .evo-topbar,
body.forest-library-open .page-content,
body.forest-library-open .forest-world,
body.forest-library-open .dojo-main,
body.forest-library-open .dojo-review-boards {
    pointer-events: none;
}

body.forest-library-open .evo-sidebar {
    pointer-events: none;
    z-index: 8990;
}

body.forest-library-open .forest-chrome--standalone {
    pointer-events: none;
    z-index: 9100;
}

body.forest-library-open .forest-dock {
    position: relative;
    z-index: 9003;
    pointer-events: auto;
}

.forest-bubbles__dismiss {
    position: absolute;
    top: -0.15rem;
    right: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--forest-border-soft);
    background: rgba(8, 16, 11, 0.75);
    color: var(--forest-cream);
    cursor: pointer;
    font-size: 0.95rem;
    z-index: 3;
}

.forest-bubbles__layer[hidden] {
    display: none !important;
}

.forest-bubbles__layer {
    position: relative;
    padding: 0.35rem 0 0.15rem;
}

.forest-bubbles__mascot {
    display: block;
    margin: 0 auto 0.35rem;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--forest-moss-dim), 0 8px 20px rgba(0, 0, 0, 0.25);
    animation: forest-bubble-float 3.2s ease-in-out infinite;
}

.forest-bubbles__title {
    margin: 0;
    font-family: var(--forest-hand);
    font-size: 1.55rem;
    color: var(--forest-cream);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.forest-bubbles__hint,
.forest-bubbles__layer-title {
    margin: 0.25rem 0 0.65rem;
    font-size: 0.8125rem;
    color: var(--forest-muted);
}

.forest-bubbles__layer-title {
    font-family: var(--forest-hand);
    font-size: 1.25rem;
    color: var(--forest-sun);
}

.forest-bubbles__back {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--forest-radius-pill);
    border: 2px solid var(--forest-border-soft);
    background: rgba(8, 16, 11, 0.72);
    color: var(--forest-cream);
    font-family: var(--forest-font);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.forest-bubbles__cluster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 0.85rem;
    padding: 0.25rem 0 0.5rem;
}

.forest-bubbles__cluster--root {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
    max-width: 360px;
    margin: 0 auto;
    padding-bottom: 0.35rem;
}

.forest-bubble {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.forest-bubble--cat,
.forest-bubble--item,
.forest-bubble--text {
    width: 100%;
    max-width: 82px;
    margin: 0 auto;
}

.forest-bubble--cat .forest-bubble__emoji,
.forest-bubble--text .forest-bubble__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 1.65rem;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.35), transparent 42%),
        linear-gradient(145deg, rgba(200, 240, 196, 0.95), rgba(90, 150, 108, 0.92));
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 -4px 10px rgba(0, 0, 0, 0.12),
        0 0 0 3px var(--forest-moss-dim);
    transition: transform var(--evo-transition), box-shadow var(--evo-transition);
    animation: forest-bubble-float 4s ease-in-out infinite;
    animation-delay: calc(var(--bubble-i, 0) * 0.35s);
}

.forest-bubble--sparkle .forest-bubble__emoji {
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.4), transparent 42%),
        linear-gradient(145deg, rgba(232, 210, 255, 0.95), rgba(180, 140, 220, 0.9));
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        0 0 18px var(--forest-fairy-dim);
}

.forest-bubble--staff .forest-bubble__emoji {
    background:
        linear-gradient(145deg, rgba(255, 210, 180, 0.95), rgba(200, 120, 90, 0.88));
}

.forest-bubble__art {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        0 0 0 3px var(--forest-moss-dim);
    transition: transform var(--evo-transition);
    animation: forest-bubble-float 4.5s ease-in-out infinite;
    animation-delay: calc(var(--bubble-i, 0) * 0.28s);
}

.forest-bubble__label {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--forest-cream);
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    max-width: 88px;
}

.forest-bubble:hover .forest-bubble__emoji,
.forest-bubble:hover .forest-bubble__art,
.forest-bubble:focus-visible .forest-bubble__emoji,
.forest-bubble:focus-visible .forest-bubble__art {
    transform: scale(1.1) translateY(-4px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        0 0 0 4px rgba(158, 217, 154, 0.45);
}

.forest-bubble:active .forest-bubble__emoji,
.forest-bubble:active .forest-bubble__art {
    transform: scale(0.92) translateY(2px);
    transition-duration: 0.05s;
}

.forest-bubbles__layer.is-active .forest-bubble--cat .forest-bubble__emoji,
.forest-bubbles__layer.is-active .forest-bubble--item .forest-bubble__art,
.forest-bubbles__layer.is-active .forest-bubble--text .forest-bubble__emoji {
    animation:
        forest-bubble-pop 0.5s cubic-bezier(0.34, 1.45, 0.64, 1) backwards,
        forest-bubble-float 4s ease-in-out 0.5s infinite;
    animation-delay: calc(0.05s + var(--bubble-i, 0) * 0.07s), calc(0.5s + var(--bubble-i, 0) * 0.35s);
}

.forest-bubbles__nest {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    margin: 0 auto;
    max-width: 280px;
    border-radius: var(--forest-radius);
    border: 2px solid var(--forest-border-soft);
    background: rgba(8, 16, 11, 0.78);
    backdrop-filter: blur(8px);
    text-align: left;
}

.forest-bubbles__nest .evo-theme-switcher__select,
.forest-bubbles__nest .evo-lang-select {
    border-radius: var(--forest-radius-sm);
    border: 2px solid var(--forest-border-soft);
    background: rgba(10, 20, 14, 0.9);
    color: var(--forest-cream);
    font-family: var(--forest-font);
}

.forest-bubbles__logout {
    display: block;
    margin-top: 0.25rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--forest-muted);
    text-decoration: none;
}

.forest-bubbles__logout:hover {
    color: var(--forest-cream);
}

@keyframes forest-bubble-pop {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }
    65% {
        transform: scale(1.12);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes forest-bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ── Forest wave-3 storybook depth (hub/dock/library) ── */
html[data-evo-theme="ink"] .forest-world--play {
    gap: 1.05rem;
}

html[data-evo-theme="ink"] .forest-world--play::before {
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 228, 172, 0.24), transparent 30%),
        radial-gradient(circle at 84% 16%, rgba(212, 184, 255, 0.18), transparent 36%),
        radial-gradient(circle at 50% 72%, rgba(144, 214, 163, 0.16), transparent 42%);
}

html[data-evo-theme="ink"] .forest-hero {
    min-height: clamp(360px, 62vh, 560px);
    border: 2px solid rgba(255, 246, 224, 0.44);
    border-radius: 34px;
    background-image:
        linear-gradient(180deg, rgba(10, 20, 13, 0.06), rgba(10, 20, 13, 0.5)),
        var(--forest-hero-bg);
    background-size: cover;
    background-position: center 30%;
    box-shadow:
        0 24px 56px rgba(4, 9, 6, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

html[data-evo-theme="ink"] .forest-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.015) 0 2px,
            transparent 2px 10px
        );
    mix-blend-mode: screen;
    opacity: 0.32;
}

html[data-evo-theme="ink"] .forest-hero__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

html[data-evo-theme="ink"] .forest-hero__canopy {
    position: absolute;
    inset: 0;
    background: var(--forest-hero-canopy) center top / cover no-repeat;
    opacity: 0.34;
    mix-blend-mode: screen;
}

html[data-evo-theme="ink"] .forest-hero__board {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 14%;
    height: 46%;
    background: var(--forest-go-board, url('/images/themes/forest/fairy-go-board-texture.svg?v=3')) center / cover no-repeat;
    transform: perspective(780px) rotateX(48deg);
    transform-origin: center bottom;
    opacity: 0.62;
    filter: saturate(0.94) drop-shadow(0 20px 24px rgba(55, 38, 18, 0.32));
}

html[data-evo-theme="ink"] .forest-hero__stones {
    position: absolute;
    right: 8%;
    bottom: 19%;
    width: min(38%, 230px);
    aspect-ratio: 10 / 6;
    background: var(--forest-go-stones, url('/images/themes/forest/fairy-go-stones-cluster.svg?v=3')) center / contain no-repeat;
    opacity: 0.86;
}

html[data-evo-theme="ink"] .forest-hero__bowl {
    position: absolute;
    left: 7%;
    bottom: 11%;
    width: min(30%, 180px);
    aspect-ratio: 3 / 2;
    background: var(--forest-go-bowl, url('/images/themes/forest/fairy-go-bowl.svg?v=3')) center / contain no-repeat;
    opacity: 0.88;
}

html[data-evo-theme="ink"] .forest-hero__scroll {
    position: absolute;
    right: 26%;
    bottom: 27%;
    width: min(36%, 220px);
    aspect-ratio: 26 / 11;
    background: var(--forest-go-scroll, url('/images/themes/forest/fairy-go-scroll.svg?v=3')) center / contain no-repeat;
    opacity: 0.78;
}

html[data-evo-theme="ink"] .forest-hero__mist {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

html[data-evo-theme="ink"] .forest-hero__mist--rear {
    width: 70%;
    height: 42%;
    left: -6%;
    top: 4%;
    opacity: 0.28;
}

html[data-evo-theme="ink"] .forest-hero__mist--mid {
    width: 64%;
    height: 34%;
    right: -12%;
    bottom: 28%;
    opacity: 0.24;
}

html[data-evo-theme="ink"] .forest-hero__mushrooms {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 120px;
    background:
        radial-gradient(44px 30px at 8% 92%, rgba(219, 113, 113, 0.55), transparent 75%),
        radial-gradient(52px 34px at 28% 92%, rgba(234, 150, 131, 0.54), transparent 78%),
        radial-gradient(48px 32px at 48% 90%, rgba(193, 113, 147, 0.45), transparent 78%),
        radial-gradient(56px 34px at 70% 90%, rgba(229, 131, 131, 0.52), transparent 78%),
        radial-gradient(40px 28px at 88% 92%, rgba(214, 120, 156, 0.44), transparent 75%);
    opacity: 0.42;
}

html[data-evo-theme="ink"] .forest-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 236, 188, 0.33), transparent 26%),
        radial-gradient(circle at 82% 24%, rgba(248, 214, 166, 0.26), transparent 30%),
        radial-gradient(circle at 64% 66%, rgba(210, 186, 255, 0.2), transparent 36%);
}

html[data-evo-theme="ink"] .forest-hero__veil {
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(8, 16, 11, 0.16) 0%, rgba(8, 16, 11, 0.04) 40%, rgba(8, 16, 11, 0.7) 100%),
        radial-gradient(ellipse 84% 54% at 50% 100%, rgba(255, 222, 162, 0.18), transparent 74%);
}

html[data-evo-theme="ink"] .forest-hero__top {
    z-index: 3;
    justify-content: flex-start;
    padding: 0.95rem 1rem 0;
}

html[data-evo-theme="ink"] .forest-hero__chip {
    background:
        linear-gradient(155deg, rgba(13, 28, 18, 0.86), rgba(7, 16, 10, 0.74));
    border-color: rgba(255, 243, 216, 0.28);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

html[data-evo-theme="ink"] .forest-hero__center {
    z-index: 4;
    padding: 1.15rem 1.1rem 1.35rem;
}

html[data-evo-theme="ink"] .forest-story-card {
    position: relative;
    overflow: hidden;
    max-width: min(100%, 530px);
    margin: 0 auto;
    padding: 1.08rem 1.08rem 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 238, 205, 0.38);
    background:
        linear-gradient(150deg, rgba(16, 30, 20, 0.84), rgba(8, 16, 11, 0.9));
    backdrop-filter: blur(8px);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-evo-theme="ink"] .forest-story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 28%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px),
        radial-gradient(circle at 50% 52%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 28%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px);
    opacity: 0.36;
}

html[data-evo-theme="ink"] .forest-story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(87, 67, 39, 0.08) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(0deg, rgba(87, 67, 39, 0.07) 0 1px, transparent 1px 18px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2) 36%, rgba(0, 0, 0, 0));
}

html[data-evo-theme="ink"] .forest-hero__title {
    text-shadow: 0 8px 26px rgba(2, 8, 4, 0.8);
}

html[data-evo-theme="ink"] .forest-hero__sub {
    color: rgba(252, 246, 233, 0.94);
}

html[data-evo-theme="ink"] .forest-plank {
    border-radius: 20px;
    border: 2px solid rgba(72, 49, 24, 0.65);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.32),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -10px 16px rgba(48, 24, 10, 0.24);
}

html[data-evo-theme="ink"] .forest-plank:active {
    transform: translateY(2px) scale(0.985);
}

html[data-evo-theme="ink"] .forest-plank--soft {
    border-color: rgba(255, 243, 216, 0.26);
    background:
        linear-gradient(160deg, rgba(33, 60, 42, 0.88), rgba(14, 29, 19, 0.9));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-evo-theme="ink"] .forest-focus-strip {
    border-radius: 30px;
    border-color: rgba(255, 241, 210, 0.34);
    box-shadow: 0 18px 36px rgba(2, 8, 4, 0.32);
}

html[data-evo-theme="ink"] .forest-focus-strip::after {
    background:
        linear-gradient(180deg, rgba(8, 16, 11, 0.03), rgba(8, 16, 11, 0.56)),
        radial-gradient(circle at 82% 24%, rgba(255, 226, 170, 0.36), transparent 42%);
}

html[data-evo-theme="ink"] .forest-focus-strip__caption {
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.8rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

html[data-evo-theme="ink"] .forest-focus-strip__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 241, 210, 0.38);
    background: rgba(9, 18, 12, 0.62);
    color: var(--forest-lantern);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

html[data-evo-theme="ink"] .forest-focus-strip__line {
    color: rgba(250, 244, 232, 0.93);
    font-size: 0.72rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

html[data-evo-theme="ink"] .forest-whisper {
    border-radius: 28px;
    border-color: rgba(255, 241, 210, 0.28);
    background:
        linear-gradient(165deg, rgba(20, 38, 25, 0.84), rgba(10, 19, 13, 0.84)),
        radial-gradient(circle at 12% 0%, rgba(255, 224, 170, 0.2), transparent 48%);
}

html[data-evo-theme="ink"] .forest-whisper__summary {
    padding: 0.95rem 1.05rem;
    font-size: 0.88rem;
    color: rgba(240, 248, 232, 0.92);
}

html[data-evo-theme="ink"] .forest-whisper__grid {
    gap: 0.9rem;
    padding: 0.9rem 0.95rem 1.05rem;
}

html[data-evo-theme="ink"] .forest-whisper__panel {
    padding: 0.82rem;
    border-radius: 20px;
    border-color: rgba(255, 241, 210, 0.22);
    background: linear-gradient(165deg, rgba(12, 24, 16, 0.88), rgba(8, 16, 11, 0.86));
}

html[data-evo-theme="ink"] .forest-whisper__panel--paths::before {
    display: none;
}

html[data-evo-theme="ink"] .forest-whisper__paths {
    display: grid;
    gap: 0.45rem;
}

html[data-evo-theme="ink"] .forest-whisper__path {
    display: grid;
    gap: 0.08rem;
    padding: 0.58rem 0.68rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 241, 210, 0.16);
    text-decoration: none;
    background: rgba(9, 18, 12, 0.58);
    color: inherit;
    transition: transform var(--evo-transition), border-color var(--evo-transition), background var(--evo-transition);
}

html[data-evo-theme="ink"] .forest-whisper__path:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 211, 140, 0.38);
    background: rgba(15, 29, 19, 0.78);
}

html[data-evo-theme="ink"] .forest-whisper__path-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--forest-cream);
}

html[data-evo-theme="ink"] .forest-whisper__path-meta {
    font-size: 0.7rem;
    line-height: 1.38;
    color: rgba(230, 241, 222, 0.9);
}

html[data-evo-theme="ink"] .forest-home-library-hint {
    font-size: 0.8rem;
    color: rgba(236, 246, 230, 0.94);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

html[data-evo-theme="ink"] .forest-dock {
    width: min(100%, 560px);
    gap: 0.45rem;
    padding: 0.32rem 0.38rem 0.08rem;
}

html[data-evo-theme="ink"] .forest-dock::before {
    height: 100%;
    border-radius: 30px 30px 22px 22px;
    background:
        linear-gradient(180deg, rgba(29, 52, 37, 0.94), rgba(11, 22, 14, 0.96)),
        url('/images/themes/forest/fairy-dock-wood.svg?v=3') center / cover;
    border-color: rgba(255, 241, 210, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

html[data-evo-theme="ink"] .forest-dock::after {
    inset: 8px 20px auto;
    height: 16px;
    opacity: 0.82;
}

html[data-evo-theme="ink"] .forest-dock__item {
    position: relative;
    padding: 0.45rem 0.35rem 0.42rem;
    border-radius: 18px;
    color: rgba(231, 241, 224, 0.9);
    background: linear-gradient(180deg, rgba(10, 21, 14, 0.72), rgba(10, 21, 14, 0.36));
    border: 1px solid rgba(255, 241, 210, 0.16);
    transition:
        transform var(--evo-transition),
        color var(--evo-transition),
        border-color var(--evo-transition),
        box-shadow var(--evo-transition);
}

html[data-evo-theme="ink"] .forest-dock__item:hover,
html[data-evo-theme="ink"] .forest-dock__item.is-active {
    transform: translateY(-3px);
    border-color: rgba(255, 230, 173, 0.38);
    box-shadow: 0 12px 20px rgba(2, 8, 4, 0.32);
}

html[data-evo-theme="ink"] .forest-dock__orb {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 239, 188, 0.94), rgba(255, 239, 188, 0));
    opacity: 0.75;
    transform: translateX(-50%);
}

html[data-evo-theme="ink"] .forest-dock__mushroom {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 38px;
    height: 14px;
    border-radius: 999px 999px 80% 80%;
    background:
        radial-gradient(circle at 28% 45%, rgba(255, 250, 245, 0.42), rgba(255, 250, 245, 0) 45%),
        linear-gradient(180deg, rgba(250, 162, 162, 0.9), rgba(180, 76, 76, 0.92));
    transform: translateX(-50%);
}

html[data-evo-theme="ink"] .forest-dock__item--play {
    margin-top: -1.35rem;
    padding-top: 0.72rem;
    border-radius: 24px 24px 18px 18px;
    border-color: rgba(255, 226, 197, 0.52);
    background:
        radial-gradient(150% 130% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 54%),
        linear-gradient(180deg, #ef8b8f, #914547);
}

html[data-evo-theme="ink"] .forest-dock__item--play .forest-dock__mushroom {
    opacity: 0.95;
}

html[data-evo-theme="ink"] .forest-dock__item--play::after {
    bottom: -9px;
}

html[data-evo-theme="ink"] .forest-dock__lib-icon {
    width: 32px;
    height: 32px;
    border-radius: 14px;
    border: 1px solid rgba(255, 241, 210, 0.28);
    background: rgba(8, 16, 11, 0.52);
}

html[data-evo-theme="ink"] .forest-dock__label {
    font-size: 0.74rem;
    color: var(--forest-cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html[data-evo-theme="ink"] .forest-bubbles__backdrop {
    background: rgba(3, 8, 5, 0.8);
    backdrop-filter: blur(5px);
}

html[data-evo-theme="ink"] .forest-bubbles__stage {
    width: min(calc(100% - 1.2rem), 520px);
    max-height: min(76dvh, 680px);
    padding: 0.9rem 1rem 0.72rem;
    border-radius: 30px;
    border-color: rgba(255, 239, 203, 0.42);
    background:
        linear-gradient(180deg, rgba(14, 28, 18, 0.93), rgba(8, 16, 11, 0.96)),
        url('/images/themes/forest/fairy-library-stage.svg?v=3') center / cover;
    box-shadow:
        0 -12px 52px rgba(0, 0, 0, 0.52),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html[data-evo-theme="ink"] .forest-bubbles__intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
    text-align: left;
}

html[data-evo-theme="ink"] .forest-bubbles__intro-copy {
    min-width: 0;
}

html[data-evo-theme="ink"] .forest-bubbles__title {
    font-size: 1.65rem;
}

html[data-evo-theme="ink"] .forest-bubbles__hint {
    margin: 0.18rem 0 0;
    font-size: 0.78rem;
    line-height: 1.42;
    color: rgba(230, 241, 222, 0.92);
}

html[data-evo-theme="ink"] .forest-bubbles__dismiss {
    top: 0.35rem;
    right: 0.35rem;
    background: rgba(10, 18, 12, 0.86);
    border-color: rgba(255, 239, 203, 0.38);
}

html[data-evo-theme="ink"] .forest-bubbles__back {
    margin-bottom: 0.5rem;
    border-color: rgba(255, 239, 203, 0.32);
    background: rgba(11, 20, 14, 0.82);
}

html[data-evo-theme="ink"] .forest-bubbles__cluster--root {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 0.58rem;
    padding-top: 0.45rem;
}

html[data-evo-theme="ink"] .forest-bubbles__cluster--leaf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
    justify-content: stretch;
    align-items: stretch;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card,
html[data-evo-theme="ink"] .forest-bubble--item-card {
    max-width: none;
    width: 100%;
    min-height: 98px;
    padding: 0.58rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 239, 203, 0.24);
    background:
        linear-gradient(160deg, rgba(14, 30, 19, 0.9), rgba(7, 15, 10, 0.9));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    justify-items: start;
    align-content: start;
    text-align: left;
    transition:
        transform var(--evo-transition),
        border-color var(--evo-transition),
        box-shadow var(--evo-transition);
}

html[data-evo-theme="ink"] .forest-bubble--cat-card .forest-bubble__emoji,
html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__emoji {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.3rem;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.24),
        inset 0 -4px 10px rgba(0, 0, 0, 0.15);
    animation: none;
}

html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__art {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.24),
        0 0 0 2px rgba(158, 217, 154, 0.2);
    animation: none;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card .forest-bubble__label,
html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__label {
    max-width: none;
    font-size: 0.8rem;
    margin-top: 0.28rem;
    color: var(--forest-cream);
    text-shadow: none;
}

html[data-evo-theme="ink"] .forest-bubble__meta {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.67rem;
    line-height: 1.42;
    font-weight: 700;
    color: rgba(226, 239, 219, 0.94);
}

html[data-evo-theme="ink"] .forest-bubble--cat-card:hover,
html[data-evo-theme="ink"] .forest-bubble--item-card:hover,
html[data-evo-theme="ink"] .forest-bubble--cat-card:focus-visible,
html[data-evo-theme="ink"] .forest-bubble--item-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 220, 146, 0.42);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 220, 146, 0.18);
}

html[data-evo-theme="ink"] .forest-bubble--cat-card:hover .forest-bubble__emoji,
html[data-evo-theme="ink"] .forest-bubble--cat-card:focus-visible .forest-bubble__emoji,
html[data-evo-theme="ink"] .forest-bubble--item-card:hover .forest-bubble__art,
html[data-evo-theme="ink"] .forest-bubble--item-card:focus-visible .forest-bubble__art,
html[data-evo-theme="ink"] .forest-bubble--item-card:hover .forest-bubble__emoji,
html[data-evo-theme="ink"] .forest-bubble--item-card:focus-visible .forest-bubble__emoji {
    transform: none;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.26),
        0 0 0 2px rgba(255, 220, 146, 0.24);
}

html[data-evo-theme="ink"] .forest-bubble--cat-card:active,
html[data-evo-theme="ink"] .forest-bubble--item-card:active {
    transform: translateY(1px) scale(0.985);
}

html[data-evo-theme="ink"] .forest-bubbles__nest {
    max-width: 320px;
    border-color: rgba(255, 239, 203, 0.28);
    background: rgba(9, 17, 11, 0.8);
}

/* ── Guest landing ── */
.forest-landing {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 2.5rem;
    background-image: var(--forest-landing-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.forest-landing__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% 15%, rgba(142, 200, 232, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(8, 16, 11, 0.25), rgba(8, 16, 11, 0.9));
    pointer-events: none;
}

.forest-landing__float-tools {
    position: absolute;
    top: max(0.85rem, env(safe-area-inset-top));
    right: max(0.85rem, env(safe-area-inset-right));
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.forest-landing__gate {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    padding: 1.75rem 1.35rem 1.5rem;
    border-radius: calc(var(--forest-radius) + 10px);
    border: 3px solid var(--forest-border-soft);
    background: rgba(14, 26, 18, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: var(--forest-shadow);
    text-align: center;
}

.forest-landing__logo {
    display: block;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    border: 3px solid var(--forest-moss);
    box-shadow: 0 0 0 8px var(--forest-moss-dim);
}

.forest-landing__realm {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--forest-moss);
}

.forest-landing__title {
    margin: 0.25rem 0 0;
    font-family: var(--forest-hand);
    font-size: clamp(2.2rem, 9vw, 3.1rem);
    line-height: 1.1;
    color: var(--forest-cream);
}

.forest-landing__sub,
.forest-landing__playline {
    margin: 0.65rem auto 0;
    max-width: 34ch;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--forest-muted);
}

.forest-landing__playline {
    font-family: var(--forest-hand);
    font-size: 1.2rem;
    color: var(--forest-sun);
}

.forest-landing__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.forest-landing__more {
    margin-top: 1rem;
    text-align: left;
    color: var(--forest-muted);
    font-size: 0.8125rem;
}

.forest-landing__more summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--forest-cream);
    list-style: none;
}

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

.forest-landing__paths {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.forest-landing__path {
    padding: 0.55rem 0.65rem;
    border-radius: var(--forest-radius-sm);
    border: 1px solid var(--forest-border-soft);
    background: rgba(8, 16, 11, 0.45);
}

.forest-landing__path-label {
    font-family: var(--forest-hand);
    font-size: 1rem;
    color: var(--forest-cream);
}

.forest-landing__tagline {
    margin: 0.85rem 0 0;
    font-size: 0.75rem;
    color: var(--forest-muted);
}

html[data-evo-theme="ink"] .evo-landing--visual {
    display: none;
}

html[data-evo-theme="ink"] .forest-landing {
    display: flex;
}

html:not([data-evo-theme="ink"]) .forest-landing {
    display: none;
}

html[data-evo-theme="ink"] .mentor-hub-bar {
    border-radius: var(--forest-radius);
    border: 2px solid var(--forest-border-soft);
    background: linear-gradient(90deg, rgba(36, 58, 42, 0.92), rgba(20, 34, 24, 0.95));
    box-shadow: var(--forest-shadow);
}

html[data-evo-theme="ink"] .mentor-hub-bar__name {
    font-family: var(--forest-hand);
}

@media (max-width: 720px) {
    html[data-evo-theme="ink"] .forest-world--play {
        gap: 0.95rem;
    }

    html[data-evo-theme="ink"] .forest-hero {
        min-height: 420px;
        border-radius: 26px;
        display: flex;
        flex-direction: column;
    }

    html[data-evo-theme="ink"] .forest-hero__top {
        padding: 0.75rem 0.75rem 0;
    }

    html[data-evo-theme="ink"] .forest-hero__chip {
        width: 100%;
        max-width: 100%;
    }

    html[data-evo-theme="ink"] .forest-hero__center {
        position: relative;
        padding: 0.75rem 0.75rem 0.95rem;
    }

    html[data-evo-theme="ink"] .forest-hero__board {
        left: -8%;
        right: -8%;
        bottom: 17%;
        height: 42%;
        opacity: 0.52;
    }

    html[data-evo-theme="ink"] .forest-hero__stones {
        right: 4%;
        bottom: 20%;
        width: min(44%, 190px);
        opacity: 0.8;
    }

    html[data-evo-theme="ink"] .forest-hero__bowl {
        left: 4%;
        bottom: 10%;
        width: min(36%, 132px);
        opacity: 0.82;
    }

    html[data-evo-theme="ink"] .forest-hero__scroll {
        right: 24%;
        bottom: 30%;
        width: min(40%, 150px);
        opacity: 0.72;
    }

    html[data-evo-theme="ink"] .forest-story-card {
        padding: 0.88rem 0.86rem 0.98rem;
        border-radius: 20px;
    }

    html[data-evo-theme="ink"] .forest-hero__title {
        font-size: clamp(1.86rem, 10vw, 2.5rem);
    }

    html[data-evo-theme="ink"] .forest-hero__sub {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    html[data-evo-theme="ink"] .forest-hero__cta-row {
        gap: 0.5rem;
    }

    html[data-evo-theme="ink"] .forest-plank--mega {
        min-width: 100%;
        padding: 0.88rem 1rem;
        font-size: clamp(1.2rem, 7.2vw, 1.5rem);
    }

    html[data-evo-theme="ink"] .forest-plank--soft {
        width: 100%;
    }

    html[data-evo-theme="ink"] .forest-plank__stones i {
        width: 0.68rem;
        height: 0.68rem;
    }

    html[data-evo-theme="ink"] .forest-focus-strip {
        border-radius: 22px;
    }

    html[data-evo-theme="ink"] .forest-focus-strip__img {
        max-height: 150px;
    }

    html[data-evo-theme="ink"] .forest-focus-strip__caption {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.55rem;
    }

    html[data-evo-theme="ink"] .forest-focus-strip__line {
        font-size: 0.65rem;
    }

    html[data-evo-theme="ink"] .forest-whisper__grid {
        grid-template-columns: 1fr;
    }

    html[data-evo-theme="ink"] .forest-whisper__path {
        padding: 0.46rem 0.52rem;
    }

    html[data-evo-theme="ink"] .forest-dock {
        width: 100%;
        grid-template-columns: 1fr 1.22fr 1fr;
        gap: 0.28rem;
        padding: 0.26rem 0.26rem 0.05rem;
    }

    html[data-evo-theme="ink"] .forest-dock__item {
        border-radius: 14px;
        padding: 0.36rem 0.26rem 0.32rem;
    }

    html[data-evo-theme="ink"] .forest-dock__item--play {
        margin-top: -1rem;
        padding-top: 0.62rem;
    }

    html[data-evo-theme="ink"] .forest-dock__label {
        font-size: 0.67rem;
    }

    html[data-evo-theme="ink"] .forest-dock__glyph--play {
        font-size: 1.45rem;
    }

    html[data-evo-theme="ink"] .forest-bubbles__stage {
        width: calc(100% - 0.8rem);
        max-height: min(72dvh, 600px);
        bottom: calc(var(--forest-dock-h) + env(safe-area-inset-bottom, 0px) + 0.45rem);
        padding: 0.72rem 0.7rem 0.62rem;
    }

    html[data-evo-theme="ink"] .forest-bubbles__intro {
        flex-direction: column;
        text-align: center;
        gap: 0.35rem;
    }

    html[data-evo-theme="ink"] .forest-bubbles__title {
        font-size: 1.35rem;
    }

    html[data-evo-theme="ink"] .forest-bubbles__cluster--root,
    html[data-evo-theme="ink"] .forest-bubbles__cluster--leaf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.48rem;
    }

    html[data-evo-theme="ink"] .forest-bubble--cat-card,
    html[data-evo-theme="ink"] .forest-bubble--item-card {
        min-height: 88px;
        padding: 0.48rem;
    }

    html[data-evo-theme="ink"] .forest-bubble--cat-card .forest-bubble__emoji,
    html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__emoji,
    html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__art {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    html[data-evo-theme="ink"] .forest-bubble--cat-card .forest-bubble__label,
    html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__label {
        font-size: 0.72rem;
    }

    html[data-evo-theme="ink"] .forest-bubble__meta {
        font-size: 0.64rem;
    }
}

/* ── Forest fairy-world overhaul (wave-4) ── */
html[data-evo-theme="ink"] body.evo-body {
    background-color: var(--forest-bg);
    background-image:
        url('/images/themes/forest/fairy-depth-bg.svg?v=3'),
        radial-gradient(ellipse 90% 56% at 50% 0, rgba(255, 240, 188, 0.38), transparent 60%),
        radial-gradient(ellipse 55% 45% at 85% 86%, rgba(210, 182, 255, 0.24), transparent 62%);
    background-size: cover, auto, auto;
    background-position: center top, center, center;
    color: var(--evo-text);
}

html[data-evo-theme="ink"] .evo-sidebar {
    border-top: 2px solid rgba(126, 92, 52, 0.5);
    background:
        linear-gradient(180deg, rgba(255, 239, 207, 0.88), rgba(231, 205, 158, 0.9)),
        var(--forest-dock-bg, url('/images/themes/forest/fairy-dock-wood.svg?v=3')) center / cover;
    box-shadow: 0 -14px 34px rgba(62, 44, 23, 0.28);
}

html[data-evo-theme="ink"] .forest-dock {
    --forest-dock-bg: url('/images/themes/forest/fairy-dock-wood.svg?v=3');
}

html[data-evo-theme="ink"] .forest-dock::before {
    background:
        linear-gradient(180deg, rgba(255, 238, 204, 0.9), rgba(221, 189, 143, 0.9)),
        var(--forest-dock-bg) center / cover;
    border-color: rgba(126, 92, 52, 0.45);
    box-shadow: 0 12px 26px rgba(67, 45, 23, 0.34);
}

html[data-evo-theme="ink"] .forest-dock::after {
    background:
        radial-gradient(circle, rgba(255, 241, 186, 0.9) 0 32%, transparent 40%) 0 0 / 26px 14px repeat-x;
    opacity: 0.88;
}

html[data-evo-theme="ink"] .forest-dock__item {
    color: #4b3b2a;
    background: linear-gradient(180deg, rgba(255, 245, 221, 0.72), rgba(255, 230, 184, 0.4));
    border: 1px solid rgba(132, 98, 56, 0.28);
}

html[data-evo-theme="ink"] .forest-dock__item:hover,
html[data-evo-theme="ink"] .forest-dock__item.is-active {
    color: #2f2218;
    border-color: rgba(126, 86, 44, 0.55);
    box-shadow: 0 10px 20px rgba(85, 56, 28, 0.25);
}

html[data-evo-theme="ink"] .forest-dock__item--play {
    background:
        radial-gradient(140% 120% at 50% 0%, rgba(255, 255, 255, 0.45), transparent 52%),
        linear-gradient(180deg, #efa39b, #ca7060);
    border-color: rgba(136, 68, 58, 0.55);
}

html[data-evo-theme="ink"] .forest-dock__label {
    color: #3b2f22;
    text-shadow: 0 1px 0 rgba(255, 251, 242, 0.9);
}

html[data-evo-theme="ink"] .forest-dock__item--play .forest-dock__label {
    color: #fff7ec;
    text-shadow: 0 2px 6px rgba(78, 31, 22, 0.42);
}

html[data-evo-theme="ink"] .forest-dock__lib-icon {
    border-color: rgba(119, 88, 52, 0.38);
    background: rgba(255, 244, 221, 0.64);
}

html[data-evo-theme="ink"] .forest-hero {
    border-color: rgba(172, 130, 81, 0.45);
    background-image:
        linear-gradient(180deg, rgba(255, 248, 226, 0.08), rgba(90, 61, 30, 0.24)),
        var(--forest-hero-bg, url('/images/themes/forest/fairy-hero-scene.svg?v=3'));
    box-shadow:
        0 24px 56px rgba(78, 56, 30, 0.28),
        inset 0 0 0 1px rgba(255, 247, 232, 0.34);
}

html[data-evo-theme="ink"] .forest-hero__canopy {
    background: var(--forest-hero-canopy, url('/images/themes/forest/fairy-canopy-lights.svg?v=3')) center top / cover no-repeat;
    opacity: 0.72;
    mix-blend-mode: normal;
}

html[data-evo-theme="ink"] .forest-hero__veil {
    background:
        linear-gradient(180deg, rgba(255, 246, 222, 0.12) 0%, rgba(255, 246, 222, 0.04) 45%, rgba(64, 44, 23, 0.42) 100%),
        radial-gradient(ellipse 84% 54% at 50% 100%, rgba(255, 229, 165, 0.2), transparent 76%);
}

html[data-evo-theme="ink"] .forest-hero__board {
    opacity: 0.7;
    filter: saturate(1) drop-shadow(0 18px 24px rgba(92, 63, 32, 0.28));
}

html[data-evo-theme="ink"] .forest-hero__stones {
    opacity: 0.94;
}

html[data-evo-theme="ink"] .forest-hero__bowl {
    opacity: 0.9;
}

html[data-evo-theme="ink"] .forest-hero__scroll {
    opacity: 0.82;
}

html[data-evo-theme="ink"] .forest-story-card {
    border-color: rgba(177, 129, 75, 0.48);
    background:
        linear-gradient(165deg, rgba(255, 247, 227, 0.9), rgba(239, 219, 181, 0.9)),
        var(--forest-panel-bg, url('/images/themes/forest/fairy-panel-parchment.svg?v=3')) center / cover;
    box-shadow:
        0 18px 36px rgba(81, 58, 30, 0.28),
        inset 0 1px 0 rgba(255, 251, 244, 0.78);
}

html[data-evo-theme="ink"] .forest-story-card::before {
    opacity: 0.44;
}

html[data-evo-theme="ink"] .forest-story-card::after {
    opacity: 0.5;
}

html[data-evo-theme="ink"] .forest-story-card > * {
    position: relative;
    z-index: 1;
}

html[data-evo-theme="ink"] .forest-hero__kicker {
    color: #6f8447;
}

html[data-evo-theme="ink"] .forest-hero__title {
    color: #3f2b1d;
    text-shadow: 0 3px 10px rgba(255, 248, 229, 0.6);
}

html[data-evo-theme="ink"] .forest-hero__sub {
    color: #4f4331;
}

html[data-evo-theme="ink"] .forest-focus-strip {
    border-color: rgba(171, 130, 83, 0.45);
    box-shadow: 0 14px 32px rgba(74, 53, 29, 0.24);
}

html[data-evo-theme="ink"] .forest-focus-strip::after {
    background:
        linear-gradient(180deg, rgba(255, 248, 231, 0.04), rgba(61, 43, 21, 0.42)),
        radial-gradient(circle at 82% 24%, rgba(255, 226, 170, 0.42), transparent 42%);
}

html[data-evo-theme="ink"] .forest-focus-strip__chip {
    color: #5f4a2f;
    background: rgba(255, 245, 220, 0.82);
    border-color: rgba(145, 108, 66, 0.42);
}

html[data-evo-theme="ink"] .forest-focus-strip__line {
    color: #fff7e9;
    text-shadow: 0 2px 8px rgba(67, 44, 23, 0.46);
}

html[data-evo-theme="ink"] .forest-plank {
    border-color: rgba(117, 77, 40, 0.6);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(90, 56, 24, 0.12)),
        var(--forest-plank-bg, url('/images/themes/forest/fairy-btn-wood-main.svg?v=3')) center / cover;
    color: #3b2617;
    box-shadow:
        0 14px 24px rgba(89, 58, 29, 0.3),
        inset 0 2px 0 rgba(255, 248, 232, 0.6);
}

html[data-evo-theme="ink"] .forest-plank--go {
    border-color: rgba(122, 78, 40, 0.7);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(90, 56, 24, 0.16)),
        var(--forest-plank-bg, url('/images/themes/forest/fairy-btn-go-wood.svg?v=3')) center / cover;
}

html[data-evo-theme="ink"] .forest-plank--go::after {
    content: '';
    position: absolute;
    inset: 18% 10%;
    border-radius: 14px;
    border: 1px solid rgba(99, 64, 31, 0.24);
    z-index: 0;
    pointer-events: none;
}

html[data-evo-theme="ink"] .forest-plank__text {
    text-shadow: 0 1px 0 rgba(255, 248, 233, 0.65);
}

html[data-evo-theme="ink"] .forest-plank--soft,
html[data-evo-theme="ink"] .forest-plank--vine {
    border-color: rgba(95, 129, 61, 0.56);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(80, 105, 52, 0.18)),
        var(--forest-plank-bg, url('/images/themes/forest/fairy-btn-vine-soft.svg?v=3')) center / cover;
    color: #2f3d24;
    font-family: var(--forest-font);
    text-shadow: 0 1px 0 rgba(246, 255, 229, 0.72);
}

html[data-evo-theme="ink"] .forest-plank--go-soft {
    border-color: rgba(92, 127, 62, 0.58);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(80, 105, 52, 0.18)),
        var(--forest-plank-bg, url('/images/themes/forest/fairy-btn-go-vine.svg?v=3')) center / cover;
}

html[data-evo-theme="ink"] .forest-plank--go .forest-plank__stones i {
    border-color: rgba(84, 53, 25, 0.28);
    box-shadow: 0 1px 3px rgba(59, 36, 13, 0.3);
}

html[data-evo-theme="ink"] .forest-plank--go .forest-plank__stones i:first-child,
html[data-evo-theme="ink"] .forest-plank--go-soft .forest-plank__stones i:first-child {
    background: radial-gradient(circle at 35% 30%, rgba(182, 182, 182, 0.62), rgba(25, 25, 25, 0.97) 62%);
}

html[data-evo-theme="ink"] .forest-plank--go .forest-plank__stones i:last-child,
html[data-evo-theme="ink"] .forest-plank--go-soft .forest-plank__stones i:last-child {
    background: radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.99), rgba(241, 233, 211, 0.95) 60%);
}

html[data-evo-theme="ink"] .forest-whisper {
    border-color: rgba(169, 126, 78, 0.36);
    background:
        linear-gradient(165deg, rgba(255, 248, 230, 0.88), rgba(235, 217, 180, 0.88)),
        url('/images/themes/forest/fairy-panel-parchment.svg?v=3') center / cover;
    box-shadow: 0 12px 28px rgba(78, 55, 28, 0.22);
}

html[data-evo-theme="ink"] .forest-whisper__summary {
    color: #4a3b2a;
}

html[data-evo-theme="ink"] .forest-whisper[open] .forest-whisper__summary {
    color: #352819;
    border-bottom-color: rgba(143, 102, 60, 0.3);
    background: rgba(255, 240, 210, 0.44);
}

html[data-evo-theme="ink"] .forest-whisper__chev::after {
    color: #5f8a42;
}

html[data-evo-theme="ink"] .forest-whisper__panel {
    border-color: rgba(157, 114, 69, 0.32);
    background:
        linear-gradient(165deg, rgba(255, 252, 240, 0.86), rgba(241, 229, 201, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.74);
    color: #443624;
}

html[data-evo-theme="ink"] .forest-whisper__title,
html[data-evo-theme="ink"] .forest-whisper__path-label {
    color: #422d1d;
}

html[data-evo-theme="ink"] .forest-whisper__path-meta {
    color: #5a503e;
}

html[data-evo-theme="ink"] .forest-whisper__path {
    border-color: rgba(165, 122, 75, 0.26);
    background: rgba(255, 248, 232, 0.82);
}

html[data-evo-theme="ink"] .forest-whisper__path:hover {
    border-color: rgba(176, 131, 79, 0.52);
    background: rgba(255, 242, 212, 0.96);
}

html[data-evo-theme="ink"] .forest-home-library-hint {
    color: #5f523f;
    text-shadow: 0 1px 0 rgba(255, 248, 232, 0.84);
}

html[data-evo-theme="ink"] .forest-bubbles__backdrop {
    background: rgba(56, 38, 19, 0.42);
    backdrop-filter: blur(6px);
}

html[data-evo-theme="ink"] .forest-bubbles__stage {
    border-color: rgba(175, 128, 75, 0.45);
    background:
        linear-gradient(180deg, rgba(255, 247, 227, 0.92), rgba(233, 213, 177, 0.92)),
        var(--forest-library-bg, url('/images/themes/forest/fairy-library-stage.svg?v=3')) center / cover;
    box-shadow:
        0 -12px 52px rgba(64, 44, 21, 0.48),
        inset 0 0 0 1px rgba(255, 251, 243, 0.72);
}

html[data-evo-theme="ink"] .forest-bubbles__title {
    color: #3d291b;
    text-shadow: 0 1px 0 rgba(255, 248, 234, 0.84);
}

html[data-evo-theme="ink"] .forest-bubbles__hint,
html[data-evo-theme="ink"] .forest-bubbles__layer-title,
html[data-evo-theme="ink"] .forest-bubble__meta {
    color: #5f523f;
}

html[data-evo-theme="ink"] .forest-bubbles__dismiss,
html[data-evo-theme="ink"] .forest-bubbles__back {
    border-color: rgba(145, 105, 63, 0.42);
    background: rgba(255, 245, 220, 0.88);
    color: #4f3b29;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card,
html[data-evo-theme="ink"] .forest-bubble--item-card {
    border-color: rgba(156, 113, 68, 0.26);
    background:
        linear-gradient(160deg, rgba(255, 252, 241, 0.92), rgba(241, 229, 200, 0.9));
    box-shadow: 0 10px 22px rgba(86, 61, 30, 0.22);
}

html[data-evo-theme="ink"] .forest-bubble__label {
    color: #3e2d20;
    text-shadow: none;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card .forest-bubble__emoji,
html[data-evo-theme="ink"] .forest-bubble--item-card .forest-bubble__emoji {
    box-shadow:
        0 8px 16px rgba(86, 61, 30, 0.2),
        inset 0 -4px 10px rgba(91, 66, 35, 0.16);
}

/* Forest story RPG uplift (wave-6) */
html[data-evo-theme="ink"] {
    --forest-candy-pink: #f3a5a9;
    --forest-candy-amber: #f4c77a;
    --forest-candy-mint: #a8d78b;
    --forest-ink-main: #3a291a;
    --forest-ink-secondary: #5d4a33;
}

html[data-evo-theme="ink"] body.evo-body {
    background-image:
        var(--forest-rpg-sky-layer, url('/images/themes/forest/forest-rpg-sky-layer.svg?v=4')),
        url('/images/themes/forest/fairy-depth-bg.svg?v=4'),
        radial-gradient(ellipse 82% 48% at 50% -12%, rgba(255, 234, 180, 0.36), transparent 60%),
        radial-gradient(ellipse 64% 46% at 88% 90%, rgba(212, 184, 255, 0.24), transparent 58%);
    background-size: cover, cover, auto, auto;
    background-position: center top, center top, center, center;
}

html[data-evo-theme="ink"] .forest-world--play::before {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 230, 173, 0.3), transparent 32%),
        radial-gradient(circle at 84% 14%, rgba(239, 179, 203, 0.24), transparent 38%),
        radial-gradient(circle at 56% 78%, rgba(163, 221, 150, 0.24), transparent 42%);
}

html[data-evo-theme="ink"] .forest-hero {
    border-color: rgba(163, 113, 62, 0.42);
    background-image:
        linear-gradient(180deg, rgba(255, 252, 240, 0.14), rgba(105, 68, 34, 0.28)),
        var(--forest-rpg-sky-layer, var(--forest-hero-bg, url('/images/themes/forest/fairy-hero-scene.svg?v=4'))),
        var(--forest-hero-bg, url('/images/themes/forest/fairy-hero-scene.svg?v=4'));
    background-size: cover, cover, cover;
    background-position: center top, center 22%, center 36%;
    box-shadow:
        0 24px 52px rgba(74, 52, 26, 0.3),
        inset 0 0 0 1px rgba(255, 247, 230, 0.44);
}

html[data-evo-theme="ink"] .forest-hero__veil {
    background:
        linear-gradient(180deg, rgba(255, 247, 227, 0.06) 0%, rgba(255, 247, 227, 0.04) 38%, rgba(70, 47, 23, 0.5) 100%),
        radial-gradient(ellipse 84% 54% at 50% 100%, rgba(255, 228, 162, 0.26), transparent 76%);
}

html[data-evo-theme="ink"] .forest-story-card {
    border-color: rgba(167, 117, 64, 0.52);
    background:
        linear-gradient(165deg, rgba(255, 249, 230, 0.9), rgba(236, 214, 176, 0.9)),
        var(--forest-rpg-quest-panel, url('/images/themes/forest/forest-rpg-panel-quest.svg?v=4')) center / cover;
    box-shadow:
        0 20px 36px rgba(85, 58, 29, 0.3),
        inset 0 1px 0 rgba(255, 252, 244, 0.8);
}

html[data-evo-theme="ink"] .forest-story-card::after {
    opacity: 0.3;
}

html[data-evo-theme="ink"] .forest-story-card__crest {
    position: absolute;
    top: -22px;
    left: 50%;
    z-index: 3;
    width: 68px;
    height: 68px;
    margin-left: -34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 243, 213, 0.88);
    background: rgba(255, 250, 238, 0.9);
    box-shadow: 0 10px 20px rgba(86, 61, 31, 0.28);
    overflow: hidden;
    animation: forest-soft-bob 4.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-story-card__crest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html[data-evo-theme="ink"] .forest-hero__kicker {
    color: #62834b;
}

html[data-evo-theme="ink"] .forest-hero__title {
    color: var(--forest-ink-main);
    text-shadow: 0 2px 0 rgba(255, 249, 236, 0.86);
}

html[data-evo-theme="ink"] .forest-hero__sub {
    color: var(--forest-ink-secondary);
    font-weight: 700;
}

html[data-evo-theme="ink"] .forest-plank {
    border-color: rgba(121, 81, 43, 0.6);
    color: #3d2a1a;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(90, 56, 24, 0.12)),
        var(--forest-rpg-btn-main, var(--forest-plank-bg, url('/images/themes/forest/forest-rpg-button-main.svg?v=4'))) center / cover;
    box-shadow:
        0 14px 22px rgba(90, 60, 31, 0.28),
        inset 0 2px 0 rgba(255, 249, 234, 0.72);
}

html[data-evo-theme="ink"] .forest-plank--go {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(87, 52, 23, 0.12)),
        var(--forest-plank-bg, var(--forest-rpg-btn-main, url('/images/themes/forest/forest-rpg-button-main.svg?v=4'))) center / cover;
}

html[data-evo-theme="ink"] .forest-plank--soft,
html[data-evo-theme="ink"] .forest-plank--go-soft {
    border-color: rgba(87, 122, 58, 0.54);
    color: #304221;
    text-shadow: 0 1px 0 rgba(248, 255, 232, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(84, 110, 56, 0.12)),
        var(--forest-plank-bg, var(--forest-rpg-btn-soft, url('/images/themes/forest/forest-rpg-button-soft.svg?v=4'))) center / cover;
}

html[data-evo-theme="ink"] .forest-plank__text {
    text-shadow: 0 1px 0 rgba(255, 246, 226, 0.74);
}

html[data-evo-theme="ink"] .forest-focus-strip {
    border-color: rgba(165, 116, 65, 0.44);
}

html[data-evo-theme="ink"] .forest-focus-strip__line {
    color: #fff8ed;
}

html[data-evo-theme="ink"] .forest-dock::before {
    background:
        linear-gradient(180deg, rgba(255, 239, 206, 0.92), rgba(225, 190, 140, 0.92)),
        var(--forest-dock-rpg, var(--forest-dock-bg, url('/images/themes/forest/forest-rpg-dock-shell.svg?v=4'))) center / cover;
    border-color: rgba(133, 91, 50, 0.42);
}

html[data-evo-theme="ink"] .forest-dock__item {
    color: #4a3926;
    background: linear-gradient(180deg, rgba(255, 247, 230, 0.78), rgba(247, 225, 184, 0.58));
    border-color: rgba(142, 99, 56, 0.26);
}

html[data-evo-theme="ink"] .forest-dock__item--play {
    background:
        radial-gradient(150% 130% at 50% 0%, rgba(255, 255, 255, 0.4), transparent 56%),
        linear-gradient(180deg, #f3a9a3, #cf7568);
    border-color: rgba(136, 73, 64, 0.56);
}

html[data-evo-theme="ink"] .forest-dock__item--play .forest-dock__label {
    color: #fff8ef;
}

html[data-evo-theme="ink"] .forest-dock__label {
    color: #3f2f20;
}

html[data-evo-theme="ink"] .forest-dock__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[data-evo-theme="ink"] .forest-dock__glyph-art {
    display: block;
    width: 1.36rem;
    height: 1.36rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(79, 53, 26, 0.26);
}

html[data-evo-theme="ink"] .forest-dock__glyph-art--play {
    width: 1.62rem;
    height: 1.62rem;
    box-shadow: 0 6px 12px rgba(84, 34, 28, 0.32);
    animation: forest-soft-bob 3.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-bubbles__stage {
    border-color: rgba(170, 121, 70, 0.46);
    background:
        linear-gradient(180deg, rgba(255, 248, 231, 0.94), rgba(232, 210, 172, 0.9)),
        var(--forest-rpg-quest-panel, var(--forest-library-bg, url('/images/themes/forest/forest-rpg-panel-quest.svg?v=4'))) center / cover;
}

html[data-evo-theme="ink"] .forest-bubbles__title {
    color: #3c2919;
    font-weight: 700;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card,
html[data-evo-theme="ink"] .forest-bubble--item-card {
    border-color: rgba(158, 112, 66, 0.28);
    background:
        linear-gradient(160deg, rgba(255, 252, 240, 0.94), rgba(241, 226, 194, 0.9));
}

html[data-evo-theme="ink"] .forest-bubble__emoji--art {
    padding: 0;
    overflow: hidden;
}

html[data-evo-theme="ink"] .forest-bubble__emoji-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

html[data-evo-theme="ink"] .forest-bubble__label {
    color: #3e2e20;
}

@keyframes forest-soft-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 720px) {
    html[data-evo-theme="ink"] .forest-story-card__crest {
        width: 58px;
        height: 58px;
        margin-left: -29px;
    }

    html[data-evo-theme="ink"] .forest-dock__glyph-art--play {
        width: 1.45rem;
        height: 1.45rem;
    }
}

/* Forest wave-7 fairy animation uplift */
html[data-evo-theme="ink"] .forest-hero__clouds,
html[data-evo-theme="ink"] .forest-hero__fireflies,
html[data-evo-theme="ink"] .forest-hero__vines,
html[data-evo-theme="ink"] .forest-hero__go-banner,
html[data-evo-theme="ink"] .forest-hero__go-bowls,
html[data-evo-theme="ink"] .forest-hero__kifu-charms,
html[data-evo-theme="ink"] .forest-hero__go-stamp,
html[data-evo-theme="ink"] .forest-dock__trim,
html[data-evo-theme="ink"] .forest-dock__fireflies,
html[data-evo-theme="ink"] .forest-dock__stamp,
html[data-evo-theme="ink"] .forest-dock__bowls,
html[data-evo-theme="ink"] .forest-bubbles__lanterns,
html[data-evo-theme="ink"] .forest-bubbles__trim,
html[data-evo-theme="ink"] .forest-bubbles__clouds {
    pointer-events: none;
}

html[data-evo-theme="ink"] .forest-hero__clouds {
    position: absolute;
    inset: -6% -4% auto;
    height: 54%;
    background: var(--forest-rpg-clouds) center top / cover no-repeat;
    opacity: 0.54;
    mix-blend-mode: screen;
    animation: forest-cloud-drift 42s linear infinite;
}

html[data-evo-theme="ink"] .forest-hero__vines {
    position: absolute;
    inset: -2% -4% auto;
    height: 50%;
    background: var(--forest-rpg-vines) center top / cover no-repeat;
    opacity: 0.58;
    transform-origin: 50% 0;
    animation: forest-vine-sway 9s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-hero__fireflies {
    position: absolute;
    inset: 0;
    background: var(--forest-rpg-fireflies) center / cover no-repeat;
    opacity: 0.52;
    mix-blend-mode: screen;
    animation: forest-firefly-drift 10s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-hero__go-banner {
    position: absolute;
    top: 14%;
    left: 50%;
    width: min(76%, 520px);
    aspect-ratio: 1200 / 360;
    transform: translateX(-50%);
    background: var(--forest-rpg-go-banner) center / contain no-repeat;
    opacity: 0.36;
    filter: drop-shadow(0 8px 14px rgba(79, 54, 28, 0.24));
}

html[data-evo-theme="ink"] .forest-hero__kifu-charms {
    position: absolute;
    right: 14%;
    bottom: 28%;
    width: min(44%, 270px);
    aspect-ratio: 980 / 420;
    background: var(--forest-rpg-kifu-charms) center / contain no-repeat;
    opacity: 0.64;
    animation: forest-charms-float 8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-hero__go-bowls {
    position: absolute;
    left: 2%;
    bottom: 6%;
    width: min(44%, 250px);
    aspect-ratio: 760 / 360;
    background: var(--forest-rpg-go-bowls) center / contain no-repeat;
    opacity: 0.72;
}

html[data-evo-theme="ink"] .forest-hero__go-stamp {
    position: absolute;
    top: 12%;
    right: 6%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--forest-rpg-go-stamp) center / cover no-repeat;
    box-shadow: 0 6px 16px rgba(74, 51, 25, 0.22);
    opacity: 0.72;
    animation: forest-stamp-pulse 6.5s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-story-card::before {
    background:
        var(--forest-rpg-panel-trim) center / cover no-repeat,
        radial-gradient(circle at 22% 28%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px),
        radial-gradient(circle at 50% 52%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 28%, rgba(71, 59, 37, 0.36) 0 2px, transparent 3px);
    opacity: 0.34;
}

html[data-evo-theme="ink"] .forest-focus-strip__seal {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--forest-rpg-go-stamp) center / cover no-repeat;
    box-shadow: 0 3px 9px rgba(82, 56, 28, 0.24);
    opacity: 0.84;
    animation: forest-soft-bob 4s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-plank__shine {
    animation: forest-button-shine 4.6s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-dock {
    overflow: hidden;
}

html[data-evo-theme="ink"] .forest-dock__trim {
    position: absolute;
    inset: -2px 10px auto;
    height: 92%;
    background: var(--forest-dock-trim) center top / cover no-repeat;
    opacity: 0.54;
    z-index: -1;
}

html[data-evo-theme="ink"] .forest-dock__fireflies {
    position: absolute;
    inset: -30% 0 auto;
    height: 120%;
    background: var(--forest-dock-fireflies) center top / cover no-repeat;
    opacity: 0.34;
    mix-blend-mode: screen;
    z-index: -1;
    animation: forest-firefly-drift 11s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-dock__stamp {
    position: absolute;
    top: 2px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--forest-dock-go-stamp) center / cover no-repeat;
    opacity: 0.72;
}

html[data-evo-theme="ink"] .forest-dock__bowls {
    position: absolute;
    top: -16px;
    left: 50%;
    width: 52px;
    height: 26px;
    transform: translateX(-50%);
    background: var(--forest-dock-go-bowls) center / contain no-repeat;
    opacity: 0.88;
}

html[data-evo-theme="ink"] .forest-dock__orb {
    animation: forest-dock-twinkle 3.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-dock__mushroom {
    animation: forest-soft-bob 4.6s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-bubbles__stage {
    overflow: hidden;
}

html[data-evo-theme="ink"] .forest-bubbles__lanterns {
    position: absolute;
    inset: 0;
    background: var(--forest-rpg-library-lanterns) center top / cover no-repeat;
    opacity: 0.42;
    mix-blend-mode: screen;
    z-index: 0;
    animation: forest-vine-sway 10s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-bubbles__trim {
    position: absolute;
    inset: 0;
    background: var(--forest-rpg-panel-trim) center / cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

html[data-evo-theme="ink"] .forest-bubbles__clouds {
    position: absolute;
    inset: 0;
    background:
        var(--forest-rpg-clouds) center top / cover no-repeat,
        var(--forest-rpg-fireflies) center / cover no-repeat;
    opacity: 0.26;
    mix-blend-mode: screen;
    z-index: 0;
    animation: forest-cloud-drift 34s linear infinite reverse;
}

html[data-evo-theme="ink"] .forest-bubbles__stage > *:not(.forest-bubbles__lanterns):not(.forest-bubbles__trim):not(.forest-bubbles__clouds) {
    position: relative;
    z-index: 1;
}

html[data-evo-theme="ink"] .forest-bubbles__dismiss {
    z-index: 4;
}

html[data-evo-theme="ink"] .forest-bubble--cat-card,
html[data-evo-theme="ink"] .forest-bubble--item-card {
    background:
        linear-gradient(160deg, rgba(255, 252, 240, 0.94), rgba(241, 226, 194, 0.9)),
        var(--forest-rpg-panel-trim) center / cover no-repeat;
}

@keyframes forest-cloud-drift {
    from { transform: translateX(-2.5%); }
    to { transform: translateX(2.5%); }
}

@keyframes forest-firefly-drift {
    from { opacity: 0.28; transform: translateY(0); }
    to { opacity: 0.52; transform: translateY(-6px); }
}

@keyframes forest-vine-sway {
    0%, 100% { transform: rotate(-0.6deg); }
    50% { transform: rotate(0.8deg); }
}

@keyframes forest-charms-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes forest-stamp-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes forest-button-shine {
    0%, 100% {
        opacity: 0.62;
        transform: translateY(0);
    }
    50% {
        opacity: 0.94;
        transform: translateY(-1px);
    }
}

@keyframes forest-dock-twinkle {
    0%, 100% { opacity: 0.62; }
    50% { opacity: 0.95; }
}

@media (max-width: 720px) {
    html[data-evo-theme="ink"] .forest-hero__go-stamp {
        width: 52px;
        height: 52px;
    }

    html[data-evo-theme="ink"] .forest-hero__go-banner {
        top: 16%;
        width: min(86%, 420px);
    }

    html[data-evo-theme="ink"] .forest-hero__kifu-charms {
        right: 12%;
        width: min(52%, 210px);
    }

    html[data-evo-theme="ink"] .forest-hero__go-bowls {
        width: min(50%, 180px);
    }

    html[data-evo-theme="ink"] .forest-dock__bowls {
        width: 44px;
        height: 22px;
        top: -12px;
    }

    html[data-evo-theme="ink"] .forest-focus-strip__seal {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-evo-theme="ink"] .forest-hero__clouds,
    html[data-evo-theme="ink"] .forest-hero__fireflies,
    html[data-evo-theme="ink"] .forest-hero__vines,
    html[data-evo-theme="ink"] .forest-hero__kifu-charms,
    html[data-evo-theme="ink"] .forest-hero__go-stamp,
    html[data-evo-theme="ink"] .forest-focus-strip__seal,
    html[data-evo-theme="ink"] .forest-plank__shine,
    html[data-evo-theme="ink"] .forest-dock__orb,
    html[data-evo-theme="ink"] .forest-dock__mushroom,
    html[data-evo-theme="ink"] .forest-dock__fireflies,
    html[data-evo-theme="ink"] .forest-bubbles__lanterns,
    html[data-evo-theme="ink"] .forest-bubbles__clouds {
        animation: none !important;
    }
}

/* Forest wave-8 Gemini batch layers */
html[data-evo-theme="ink"] .forest-hero__parallax,
html[data-evo-theme="ink"] .forest-hero__altar,
html[data-evo-theme="ink"] .forest-hero__star,
html[data-evo-theme="ink"] .forest-focus-strip__clouds,
html[data-evo-theme="ink"] .forest-focus-strip__fireflies,
html[data-evo-theme="ink"] .forest-focus-strip__vines,
html[data-evo-theme="ink"] .forest-plank__pulse {
    pointer-events: none;
}

html[data-evo-theme="ink"] .forest-hero__parallax {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

html[data-evo-theme="ink"] .forest-hero__parallax--back {
    background-image: var(--forest-rpg-hero-back);
    opacity: 0.3;
    animation: forest-hero-back-drift 34s linear infinite alternate;
}

html[data-evo-theme="ink"] .forest-hero__parallax--mid {
    background-image: var(--forest-rpg-hero-mid);
    opacity: 0.48;
    transform-origin: 50% 100%;
    animation: forest-hero-mid-bob 11s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-hero__parallax--front {
    background-image: var(--forest-rpg-hero-front);
    opacity: 0.52;
    transform-origin: 50% 100%;
    animation: forest-hero-front-sway 9s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-hero__clouds {
    background-image: var(--forest-rpg-clouds), var(--forest-rpg-clouds-near);
    background-position: center top, center center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.62;
    animation: forest-cloud-drift 30s linear infinite;
}

html[data-evo-theme="ink"] .forest-hero__fireflies {
    background-image: var(--forest-rpg-fireflies), var(--forest-rpg-fireflies-near);
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.58;
    animation: forest-firefly-drift-strong 8s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-hero__altar {
    position: absolute;
    left: 50%;
    bottom: 16%;
    width: min(56%, 360px);
    aspect-ratio: 16 / 9;
    transform: translateX(-50%);
    background: var(--forest-rpg-go-altar) center / contain no-repeat;
    opacity: 0.45;
    filter: drop-shadow(0 14px 18px rgba(78, 52, 26, 0.24));
    animation: forest-altar-float 7.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-hero__star {
    position: absolute;
    top: 17%;
    left: 10%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--forest-rpg-go-star) center / cover no-repeat;
    opacity: 0.74;
    filter: drop-shadow(0 5px 10px rgba(72, 49, 25, 0.26));
    animation: forest-stamp-pulse 5.3s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-focus-strip {
    isolation: isolate;
}

html[data-evo-theme="ink"] .forest-focus-strip__clouds,
html[data-evo-theme="ink"] .forest-focus-strip__fireflies,
html[data-evo-theme="ink"] .forest-focus-strip__vines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

html[data-evo-theme="ink"] .forest-focus-strip__clouds {
    background: var(--forest-focus-clouds) center / cover no-repeat;
    opacity: 0.38;
    mix-blend-mode: screen;
    animation: forest-cloud-drift 36s linear infinite reverse;
}

html[data-evo-theme="ink"] .forest-focus-strip__fireflies {
    background:
        var(--forest-focus-fireflies) center / cover no-repeat,
        var(--forest-focus-stones) center / cover no-repeat;
    opacity: 0.34;
    mix-blend-mode: screen;
    animation: forest-firefly-drift-strong 9s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-focus-strip__vines {
    background: var(--forest-focus-vines) center top / cover no-repeat;
    opacity: 0.42;
    transform-origin: 50% 0;
    animation: forest-vine-sway 8.4s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-focus-strip__caption {
    z-index: 2;
}

html[data-evo-theme="ink"] .forest-focus-strip__seal {
    background: var(--forest-focus-seal, var(--forest-rpg-go-stamp)) center / cover no-repeat;
}

html[data-evo-theme="ink"] .forest-plank {
    overflow: hidden;
}

html[data-evo-theme="ink"] .forest-plank__pulse {
    position: absolute;
    inset: -6% -2%;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 36%),
        radial-gradient(circle at 72% 86%, rgba(255, 226, 170, 0.34), transparent 38%);
    opacity: 0.56;
    animation: forest-cta-breathe 3.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-plank__text,
html[data-evo-theme="ink"] .forest-plank__stones,
html[data-evo-theme="ink"] .forest-plank__shine {
    z-index: 1;
}

html[data-evo-theme="ink"] .forest-plank__shine {
    animation: forest-button-shine 3.2s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-dock::before {
    background:
        linear-gradient(180deg, rgba(255, 239, 206, 0.93), rgba(224, 188, 137, 0.92)),
        var(--forest-dock-rpg-alt, var(--forest-dock-rpg, var(--forest-dock-bg))) center / cover;
}

html[data-evo-theme="ink"] .forest-dock__fireflies {
    background:
        var(--forest-dock-fireflies, var(--forest-rpg-fireflies)) center top / cover no-repeat;
    opacity: 0.42;
    animation: forest-firefly-drift-strong 8.6s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-dock__item--play::before {
    content: '';
    position: absolute;
    inset: 4px 8px auto;
    height: 34%;
    border-radius: 14px;
    background:
        var(--forest-dock-go-kifu, var(--forest-rpg-kifu-charms)) center / contain no-repeat;
    opacity: 0.3;
    animation: forest-soft-bob 6.8s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-dock__glyph-art--play {
    animation: forest-cta-breathe 4.2s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-bubbles__stage {
    background:
        linear-gradient(180deg, rgba(255, 248, 231, 0.93), rgba(232, 210, 172, 0.9)),
        var(--forest-library-bg-alt, var(--forest-library-bg)) center / cover;
}

html[data-evo-theme="ink"] .forest-bubbles__lanterns {
    opacity: 0.48;
    animation: forest-hero-mid-bob 9.4s ease-in-out infinite;
}

html[data-evo-theme="ink"] .forest-bubbles__clouds {
    opacity: 0.3;
    animation: forest-cloud-drift 29s linear infinite;
}

@keyframes forest-hero-back-drift {
    from { transform: translateX(-1.4%) scale(1.01); }
    to { transform: translateX(1.4%) scale(1.04); }
}

@keyframes forest-hero-mid-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes forest-hero-front-sway {
    0%, 100% { transform: rotate(-0.7deg); }
    50% { transform: rotate(1deg); }
}

@keyframes forest-altar-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes forest-firefly-drift-strong {
    from { opacity: 0.26; transform: translateY(0); }
    to { opacity: 0.62; transform: translateY(-8px); }
}

@keyframes forest-cta-breathe {
    0%, 100% {
        opacity: 0.52;
        filter: saturate(1) brightness(1);
    }
    50% {
        opacity: 0.84;
        filter: saturate(1.08) brightness(1.06);
    }
}

@media (max-width: 720px) {
    html[data-evo-theme="ink"] .forest-hero__star {
        width: 48px;
        height: 48px;
    }

    html[data-evo-theme="ink"] .forest-hero__altar {
        width: min(62%, 300px);
        bottom: 18%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-evo-theme="ink"] .forest-hero__parallax--back,
    html[data-evo-theme="ink"] .forest-hero__parallax--mid,
    html[data-evo-theme="ink"] .forest-hero__parallax--front,
    html[data-evo-theme="ink"] .forest-hero__altar,
    html[data-evo-theme="ink"] .forest-hero__star,
    html[data-evo-theme="ink"] .forest-focus-strip__clouds,
    html[data-evo-theme="ink"] .forest-focus-strip__fireflies,
    html[data-evo-theme="ink"] .forest-focus-strip__vines,
    html[data-evo-theme="ink"] .forest-plank__pulse,
    html[data-evo-theme="ink"] .forest-dock__item--play::before,
    html[data-evo-theme="ink"] .forest-dock__glyph-art--play {
        animation: none !important;
    }
}

/* Forest wave-9: clean dock without decorative backgrounds (user request) */
html[data-evo-theme="ink"] .forest-dock::before {
    background: linear-gradient(180deg, rgba(250, 238, 214, 0.94), rgba(240, 221, 184, 0.92));
    border-color: rgba(151, 114, 66, 0.38);
}

html[data-evo-theme="ink"] .forest-dock::after,
html[data-evo-theme="ink"] .forest-dock__trim,
html[data-evo-theme="ink"] .forest-dock__fireflies,
html[data-evo-theme="ink"] .forest-dock__stamp,
html[data-evo-theme="ink"] .forest-dock__bowls,
html[data-evo-theme="ink"] .forest-dock__orb,
html[data-evo-theme="ink"] .forest-dock__mushroom,
html[data-evo-theme="ink"] .forest-dock__item--play::before {
    display: none !important;
}

html[data-evo-theme="ink"] .forest-dock__glyph,
html[data-evo-theme="ink"] .forest-dock__lib-icon {
    display: none !important;
}

html[data-evo-theme="ink"] .forest-dock__item {
    min-height: 56px;
    align-content: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-evo-theme="ink"] .forest-dock__item--play {
    margin-top: -0.85rem;
    min-height: 62px;
    border-radius: 20px 20px 14px 14px;
    background: linear-gradient(180deg, #f2b2aa, #cf776a);
    border: 1px solid rgba(138, 78, 68, 0.44);
    box-shadow: 0 8px 18px rgba(92, 51, 43, 0.24);
}

/* Forest wave-10: calm hub visual simplification */
html[data-evo-theme="ink"] .forest-focus-strip {
    display: none;
}

html[data-evo-theme="ink"] .forest-hero {
    min-height: clamp(340px, 60vh, 520px);
    border-color: rgba(151, 109, 62, 0.44);
    background-image:
        linear-gradient(180deg, rgba(255, 246, 224, 0.08), rgba(67, 45, 24, 0.36)),
        var(--forest-hero-bg, url('/images/themes/forest/hero/hero-backdrop-dawn.jpg?v=6'));
    background-size: cover, cover;
    background-position: center 32%;
    box-shadow:
        0 22px 46px rgba(67, 45, 24, 0.26),
        inset 0 0 0 1px rgba(255, 248, 234, 0.4);
}

html[data-evo-theme="ink"] .forest-hero::before,
html[data-evo-theme="ink"] .forest-hero::after {
    display: none;
}

html[data-evo-theme="ink"] .forest-hero__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

html[data-evo-theme="ink"] .forest-hero__canopy,
html[data-evo-theme="ink"] .forest-hero__parallax,
html[data-evo-theme="ink"] .forest-hero__clouds,
html[data-evo-theme="ink"] .forest-hero__vines,
html[data-evo-theme="ink"] .forest-hero__go-banner,
html[data-evo-theme="ink"] .forest-hero__altar,
html[data-evo-theme="ink"] .forest-hero__board,
html[data-evo-theme="ink"] .forest-hero__scroll,
html[data-evo-theme="ink"] .forest-hero__kifu-charms,
html[data-evo-theme="ink"] .forest-hero__mist,
html[data-evo-theme="ink"] .forest-hero__stones,
html[data-evo-theme="ink"] .forest-hero__bowl,
html[data-evo-theme="ink"] .forest-hero__go-bowls,
html[data-evo-theme="ink"] .forest-hero__mushrooms,
html[data-evo-theme="ink"] .forest-hero__go-stamp,
html[data-evo-theme="ink"] .forest-hero__star,
html[data-evo-theme="ink"] .forest-hero__glow {
    display: none !important;
}

html[data-evo-theme="ink"] .forest-hero__fireflies {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--forest-rpg-fireflies, var(--forest-hero-bg)) center / cover no-repeat;
    opacity: 0.22;
    mix-blend-mode: screen;
    animation: forest-firefly-drift 16s ease-in-out infinite alternate;
}

html[data-evo-theme="ink"] .forest-hero__veil {
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(255, 249, 233, 0.04) 0%, rgba(255, 249, 233, 0.02) 42%, rgba(63, 41, 22, 0.56) 100%),
        radial-gradient(ellipse 84% 56% at 50% 100%, rgba(255, 231, 178, 0.2), transparent 74%);
}

html[data-evo-theme="ink"] .forest-hero__top {
    z-index: 3;
}

html[data-evo-theme="ink"] .forest-hero__center {
    z-index: 4;
    padding: 1.05rem 1rem 1.2rem;
}

html[data-evo-theme="ink"] .forest-story-card {
    border-color: rgba(160, 116, 65, 0.44);
    background: linear-gradient(165deg, rgba(255, 249, 236, 0.95), rgba(247, 235, 210, 0.95));
    box-shadow:
        0 18px 34px rgba(67, 45, 24, 0.24),
        inset 0 1px 0 rgba(255, 252, 242, 0.82);
}

html[data-evo-theme="ink"] .forest-story-card::before,
html[data-evo-theme="ink"] .forest-story-card::after {
    display: none;
}

html[data-evo-theme="ink"] .forest-story-card__crest {
    top: -18px;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    border: 2px solid rgba(255, 240, 206, 0.92);
    background: rgba(255, 250, 239, 0.94);
    box-shadow: 0 8px 16px rgba(86, 61, 31, 0.22);
    animation: none;
}

html[data-evo-theme="ink"] .forest-hero__kicker {
    color: #597740;
}

html[data-evo-theme="ink"] .forest-hero__title {
    color: #3c2a1b;
    text-shadow: none;
}

html[data-evo-theme="ink"] .forest-hero__sub {
    max-width: 34ch;
    color: #4c3a29;
    font-weight: 600;
    text-shadow: none;
}

html[data-evo-theme="ink"] .forest-plank {
    border-radius: 16px;
    border: 1px solid rgba(123, 85, 46, 0.48);
    background: linear-gradient(180deg, #f5d8b5, #e5b07a);
    color: #3e2a18;
    box-shadow:
        0 8px 16px rgba(83, 55, 27, 0.22),
        inset 0 1px 0 rgba(255, 248, 233, 0.78);
}

html[data-evo-theme="ink"] .forest-plank--go {
    background: linear-gradient(180deg, #f7ddbb, #e7b982);
}

html[data-evo-theme="ink"] .forest-plank--soft,
html[data-evo-theme="ink"] .forest-plank--go-soft {
    border-color: rgba(95, 128, 65, 0.46);
    background: linear-gradient(180deg, #dceec4, #b7d58f);
    color: #2f4521;
}

html[data-evo-theme="ink"] .forest-plank__pulse,
html[data-evo-theme="ink"] .forest-plank__shine,
html[data-evo-theme="ink"] .forest-plank__stones {
    display: none !important;
}

html[data-evo-theme="ink"] .forest-plank__text {
    text-shadow: none;
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    html[data-evo-theme="ink"] .forest-hero {
        min-height: 400px;
    }

    html[data-evo-theme="ink"] .forest-hero__center {
        padding: 0.82rem 0.8rem 1rem;
    }

    html[data-evo-theme="ink"] .forest-story-card {
        border-radius: 20px;
        padding: 0.95rem 0.9rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-evo-theme="ink"] .forest-hero__fireflies {
        animation: none !important;
    }
}
