/*
Theme Name: Arvion Vault
Theme URI: https://arvionkyles.com
Author: Arvion Kyles
Description: Custom cinematic entry, home, and Faucet Chamber theme.
Version: 1.0.0
Text Domain: arvion-vault
*/

/* Arvion Vault Phase 1.1 - Faucet Chamber Refinement */
/* Arvion Vault Phase 1.2 - Full Page Scaffold */

:root {
    --av-black: #030202;
    --av-wine: #3d0508;
    --av-red: #c31722;
    --av-pink: #ff3fb4;
    --av-blue: #51d7ff;
    --av-gold: #d6ad62;
    --av-cream: #f8ead2;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    background: var(--av-black);
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--av-cream);
    background: var(--av-black);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.arvkyl-shell,
.akhome-shell,
.akfc-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.arvkyl-shell::before,
.akhome-shell::before,
.akfc-shell::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    background-position: center;
    background-size: cover;
}

.arvkyl-shell::before {
    background-image: var(--arvkyl-bg);
}

.akhome-shell::before {
    background-image: var(--akhome-bg);
}

.akfc-shell::before {
    background-image: var(--akfc-bg);
}

.arvkyl-shell::after,
.akhome-shell::after,
.akfc-shell::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 63, 180, .14), transparent 34%),
        radial-gradient(circle at 74% 62%, rgba(81, 215, 255, .13), transparent 30%),
        linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .78));
}

.arvkyl-frame {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 24%, transparent 76%, rgba(0, 0, 0, .72)),
        radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, .52));
    pointer-events: none;
}

.arvkyl-blackout {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .65s ease;
}

.arvkyl-blackout--active {
    opacity: 1;
}

.arvkyl-panel {
    position: absolute;
    left: 50%;
    bottom: clamp(2.5rem, 8vh, 6rem);
    width: min(92vw, 720px);
    transform: translateX(-50%);
    text-align: center;
    transition: opacity .5s ease, transform .5s ease;
}

.arvkyl-panel--sequence {
    opacity: .08;
    transform: translateX(-50%) translateY(24px);
    pointer-events: none;
}

.arvkyl-kicker,
.akhome-kicker,
.akfc-subtitle,
.akfc-status,
.akfc-preview__eyebrow {
    margin: 0;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 700;
}

.arvkyl-kicker {
    color: rgba(248, 234, 210, .78);
}

.arvkyl-wordmark,
.akhome-title,
.akfc-title {
    margin: .55rem 0 1.4rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: .9;
    text-transform: uppercase;
}

.arvkyl-wordmark {
    font-size: clamp(4rem, 14vw, 10rem);
    text-shadow: 0 0 34px rgba(195, 23, 34, .56), 0 2px 18px rgba(0, 0, 0, .88);
}

.arvkyl-enter,
.akhome-button,
.akfc-preview__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 2rem;
    border: 1px solid rgba(255, 80, 80, .72);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(195, 23, 34, .96), rgba(93, 4, 12, .95));
    box-shadow: 0 0 22px rgba(195, 23, 34, .58), inset 0 0 16px rgba(255, 255, 255, .12);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.arvkyl-enter[aria-disabled="true"] {
    cursor: wait;
    opacity: .72;
}

.akhome-shell {
    display: grid;
    place-items: center;
    padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
}

.akhome-nav {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    z-index: 5;
    display: flex;
    gap: .55rem;
}

.akhome-nav__link {
    padding: .65rem .95rem;
    border: 1px solid rgba(214, 173, 98, .35);
    border-radius: 999px;
    color: rgba(248, 234, 210, .86);
    background: rgba(0, 0, 0, .38);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.akhome-content {
    width: min(92vw, 760px);
    text-align: center;
}

.akhome-hero-card {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    max-width: min(92vw, 420px);
    margin-bottom: 1.1rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(214, 173, 98, .34);
    border-radius: 8px;
    color: rgba(248, 234, 210, .92);
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 18px 70px rgba(0, 0, 0, .34), 0 0 26px rgba(255, 63, 180, .18);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.akhome-sigil {
    width: clamp(50px, 7vw, 78px);
    height: auto;
    filter: drop-shadow(0 0 22px rgba(255, 63, 180, .45));
}

.akhome-kicker {
    color: var(--av-gold);
}

.akhome-title {
    font-size: clamp(3.4rem, 10vw, 8.4rem);
    text-shadow: 0 0 30px rgba(81, 215, 255, .26), 0 5px 24px rgba(0, 0, 0, .9);
}

.akhome-tagline {
    margin: 0 0 .7rem;
    color: rgba(248, 234, 210, .86);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2.6vw, 1.55rem);
}

.akhome-feedline {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    color: rgba(248, 234, 210, .76);
    font-size: .98rem;
    line-height: 1.5;
}

.akhome-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}

.akhome-button--ghost {
    border-color: rgba(214, 173, 98, .5);
    background: rgba(0, 0, 0, .45);
    box-shadow: inset 0 0 16px rgba(255, 255, 255, .08);
}

.akhome-room-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin: 2rem auto 0;
    width: min(100%, 760px);
}

.akhome-room-grid a {
    min-width: 0;
    padding: .85rem .7rem;
    border: 1px solid rgba(214, 173, 98, .24);
    border-radius: 8px;
    color: rgba(248, 234, 210, .86);
    background: rgba(0, 0, 0, .44);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.akfc-shell {
    min-height: 100svh;
    min-height: 100dvh;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.akfc-stage {
    position: relative;
    min-height: calc(100svh - 2rem);
    min-height: calc(100dvh - 2rem);
}

.akfc-topbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 92px 1fr 92px;
    align-items: center;
    gap: 1rem;
}

.akfc-menu-button {
    width: 76px;
    height: 64px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid rgba(180, 220, 255, .75);
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    box-shadow: 0 0 18px rgba(92, 182, 255, .35), inset 0 0 14px rgba(255, 255, 255, .08);
    cursor: pointer;
}

.akfc-menu-button span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #dcecff;
    box-shadow: 0 0 12px rgba(185, 216, 255, .82);
}

.akfc-status {
    justify-self: center;
    padding: .72rem 1.3rem;
    border: 1px solid rgba(81, 215, 255, .38);
    border-radius: 999px;
    color: rgba(248, 234, 210, .92);
    background: rgba(0, 0, 0, .46);
    box-shadow: 0 0 24px rgba(81, 215, 255, .22);
}

.akfc-sigil-link {
    justify-self: end;
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(180, 220, 255, .42);
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    box-shadow: 0 0 20px rgba(92, 182, 255, .2), 0 0 30px rgba(214, 173, 98, .18);
}

.akfc-sigil {
    width: 70px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(214, 173, 98, .45));
}

.akfc-sr-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.akfc-title-block {
    display: none;
}

.akfc-subtitle {
    color: var(--av-blue);
    text-shadow: 0 0 16px rgba(81, 215, 255, .58);
}

.akfc-title {
    font-size: clamp(3rem, 8vw, 7.2rem);
    text-shadow: 0 0 26px rgba(255, 63, 180, .34), 0 4px 20px rgba(0, 0, 0, .86);
}

.akfc-hotspot {
    position: absolute;
    z-index: 3;
    left: var(--akfc-x);
    top: var(--akfc-y);
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .96) 0 12%, rgba(255, 63, 180, .96) 13% 44%, rgba(255, 63, 180, .16) 45% 100%);
    box-shadow: 0 0 18px rgba(255, 63, 180, .96), 0 0 42px rgba(81, 215, 255, .35);
    cursor: pointer;
    animation: akfc-pulse 1.8s ease-in-out infinite;
}

.akfc-hotspot::after {
    position: absolute;
    inset: -8px;
    content: "";
    border: 1px solid rgba(255, 63, 180, .36);
    border-radius: inherit;
}

.akfc-hotspot__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + .7rem);
    min-width: max-content;
    transform: translateX(-50%) translateY(4px);
    padding: .46rem .65rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: rgba(255, 255, 255, .92);
    background: rgba(0, 0, 0, .78);
    box-shadow: 0 0 18px rgba(255, 63, 180, .24);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.akfc-hotspot:hover .akfc-hotspot__label,
.akfc-hotspot:focus-visible .akfc-hotspot__label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.akfc-hotspot--chamber {
    --akfc-x: 50%;
    --akfc-y: 58%;
}

.akfc-hotspot--vanity {
    --akfc-x: 18%;
    --akfc-y: 64%;
}

.akfc-hotspot--bar {
    --akfc-x: 66%;
    --akfc-y: 60%;
    animation-delay: .35s;
}

.akfc-hotspot--bed {
    --akfc-x: 84%;
    --akfc-y: 78%;
    animation-delay: .7s;
}

.akfc-hotspot--floor {
    --akfc-x: 22%;
    --akfc-y: 82%;
    animation-delay: .2s;
}

.akfc-hotspot--burn {
    --akfc-x: 74%;
    --akfc-y: 38%;
    animation-delay: .5s;
}

.akfc-hotspot--key {
    --akfc-x: 50%;
    --akfc-y: 86%;
    animation-delay: .85s;
}

.akpent-prompt {
    position: absolute;
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 2;
    width: min(88vw, 390px);
    padding: 1rem;
    border: 1px solid rgba(214, 173, 98, .24);
    border-radius: 8px;
    background: rgba(0, 0, 0, .46);
    box-shadow: 0 18px 70px rgba(0, 0, 0, .38);
}

.akpent-prompt p {
    margin: 0 0 .35rem;
    color: var(--av-gold);
    text-transform: uppercase;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.akpent-prompt strong,
.akpent-prompt span {
    display: block;
}

.akpent-prompt strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.akpent-prompt span {
    margin-top: .45rem;
    color: rgba(248, 234, 210, .74);
    font-size: .82rem;
    line-height: 1.45;
}

.akfc-transition {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 2rem;
    color: var(--av-cream);
    background:
        radial-gradient(circle at center, rgba(255, 63, 180, .2), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(3, 2, 2, .96));
    text-align: center;
    transition: opacity .45s ease, visibility .45s ease;
    animation: akfc-transition-out .45s ease 2.65s forwards;
}

.akfc-transition div {
    display: grid;
    gap: .65rem;
}

.akfc-transition p {
    margin: 0;
    color: var(--av-gold);
    text-transform: uppercase;
    font-size: clamp(1.3rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: .16em;
}

.akfc-transition span {
    color: rgba(248, 234, 210, .76);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.akfc-transition-complete .akfc-transition {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.akfc-inner-template .akfc-hotspot {
    display: none;
}

.akfc-inner-template .akfeed-panel {
    left: max(1rem, env(safe-area-inset-left));
    right: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: min(34vw, 380px);
    transform: none;
    opacity: 0;
    transition: opacity .45s ease .1s;
    animation: akfc-feed-reveal .45s ease 2.75s forwards;
}

.akfc-transition-complete .akfeed-panel {
    opacity: 1;
}

.akfc-inner-template .akfeed-toggle {
    display: none;
}

.akfc-inner-template .akfeed-body {
    max-height: min(74vh, 660px);
    background: linear-gradient(180deg, rgba(0, 0, 0, .68), rgba(23, 2, 13, .58));
}

.aktransport-panel {
    position: absolute;
    left: 50%;
    top: 52%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(30vw, 360px);
    height: min(68vh, 650px);
    margin: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    animation: akfc-feed-reveal .6s ease 2.95s forwards;
}

.aktransport-panel::before {
    position: absolute;
    inset: 1.5rem 12%;
    content: "";
    border: 1px solid rgba(81, 215, 255, .34);
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, rgba(81, 215, 255, .16), transparent),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 63, 180, .08));
    box-shadow:
        inset 0 0 36px rgba(81, 215, 255, .22),
        0 0 34px rgba(81, 215, 255, .2),
        0 0 54px rgba(255, 63, 180, .16);
}

.aktransport-panel img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(81, 215, 255, .45));
}

.aktransport-placeholder {
    position: relative;
    z-index: 1;
    width: 34%;
    height: 72%;
    border-radius: 48% 48% 42% 42%;
    background:
        radial-gradient(circle at 50% 9%, rgba(248, 234, 210, .34), transparent 0 9%, transparent 10%),
        linear-gradient(180deg, rgba(81, 215, 255, .1), rgba(255, 63, 180, .12));
    box-shadow: 0 0 28px rgba(81, 215, 255, .36), inset 0 0 38px rgba(255, 255, 255, .08);
    opacity: .72;
}

.aktransport-panel figcaption {
    position: absolute;
    bottom: 7%;
    z-index: 2;
    padding: .42rem .62rem;
    border: 1px solid rgba(81, 215, 255, .22);
    border-radius: 999px;
    color: rgba(248, 234, 210, .72);
    background: rgba(0, 0, 0, .48);
    text-transform: uppercase;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .12em;
}

@keyframes akfc-transition-out {
    to {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes akfc-feed-reveal {
    to {
        opacity: 1;
    }
}

.akfeed-panel {
    position: absolute;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 2;
    width: min(88vw, 360px);
    color: var(--av-cream);
}

.akfeed-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-bottom: .55rem;
    padding: 0 .95rem;
    border: 1px solid rgba(255, 63, 180, .56);
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .68);
    box-shadow: 0 0 22px rgba(255, 63, 180, .32);
    text-transform: uppercase;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .14em;
    cursor: pointer;
}

.akfeed-body {
    max-height: min(58vh, 560px);
    overflow: auto;
    padding: 1rem;
    border: 1px solid rgba(255, 63, 180, .28);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(23, 2, 13, .72));
    box-shadow: 0 18px 70px rgba(0, 0, 0, .42), 0 0 32px rgba(255, 63, 180, .2);
}

.akfeed-panel--collapsed .akfeed-body {
    display: none;
}

.akfeed-kicker {
    margin: 0 0 .35rem;
    color: var(--av-pink);
    text-transform: uppercase;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.akfeed-body h2 {
    margin: 0 0 .55rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.akfeed-copy {
    margin: 0 0 .8rem;
    color: rgba(248, 234, 210, .78);
    font-size: .82rem;
    line-height: 1.45;
}

.akfeed-list {
    display: grid;
    gap: .35rem;
    margin: 0 0 .85rem;
    padding: 0;
    list-style: none;
}

.akfeed-list li {
    padding: .48rem .6rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: rgba(248, 234, 210, .84);
    font-size: .78rem;
    line-height: 1.35;
}

.akfeed-member {
    display: grid;
    gap: .35rem;
    margin-bottom: .85rem;
    padding: .75rem;
    border: 1px solid rgba(214, 173, 98, .24);
    border-radius: 8px;
    background: rgba(0, 0, 0, .34);
    font-size: .8rem;
}

.akfeed-member a,
.akfeed-auth a,
.akfeed-actions a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.akfeed-auth,
.akfeed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.akfeed-auth a,
.akfeed-actions a {
    padding: .5rem .62rem;
    border: 1px solid rgba(214, 173, 98, .28);
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
}

@keyframes akfc-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

.akfc-rotate-gate {
    display: none;
}

.akfc-rotate-card {
    position: relative;
    width: min(88vw, 430px);
    padding: 2rem;
    border: 1px solid rgba(214, 173, 98, .32);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .58));
    box-shadow: 0 24px 80px rgba(0, 0, 0, .64), 0 0 44px rgba(195, 23, 34, .24);
}

.akfc-rotate-mark {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.2rem;
    border-radius: 999px;
    background-image: var(--akfc-rotate-bg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: 0 0 24px rgba(214, 173, 98, .34), 0 0 44px rgba(195, 23, 34, .22);
}

.akfc-rotate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 1.3rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 80, 80, .72);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(195, 23, 34, .96), rgba(93, 4, 12, .95));
    box-shadow: 0 0 22px rgba(195, 23, 34, .58), inset 0 0 16px rgba(255, 255, 255, .12);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}

.akfc-rotate-status {
    display: block;
    margin-top: .9rem;
    color: rgba(248, 234, 210, .66);
    font-size: .78rem;
    line-height: 1.45;
}

.akfc-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(220px, 32vw) minmax(220px, 28vw) 1fr;
    gap: clamp(1.2rem, 3vw, 3rem);
    padding: max(5rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    background:
        radial-gradient(circle at 85% 82%, rgba(255, 63, 180, .2), transparent 34%),
        radial-gradient(circle at 20% 24%, rgba(195, 23, 34, .24), transparent 34%),
        radial-gradient(circle at 80% 22%, rgba(214, 173, 98, .12), transparent 28%),
        linear-gradient(135deg, rgba(3, 2, 2, .94), rgba(31, 6, 7, .96));
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity .28s ease, transform .28s ease;
    overflow-x: hidden;
}

.akfc-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

body.akfc-menu-open {
    overflow: hidden;
}

.akfc-close {
    position: fixed;
    top: max(1.1rem, env(safe-area-inset-top));
    left: max(1.1rem, env(safe-area-inset-left));
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(214, 173, 98, .5);
    border-radius: 50%;
    color: var(--av-cream);
    background: rgba(0, 0, 0, .42);
    font-weight: 800;
    cursor: pointer;
}

.akfc-menu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    min-width: 0;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.akfc-menu-list button {
    border: 0;
    color: rgba(248, 234, 210, .54);
    background: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4.8rem);
    line-height: .95;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.akfc-menu-list button:hover,
.akfc-menu-list .akfc-menu-item--active {
    color: var(--av-cream);
    text-shadow: 0 0 20px rgba(214, 173, 98, .36);
}

.akfc-sub-panel {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding-left: clamp(1rem, 2vw, 2rem);
    border-left: 1px solid rgba(214, 173, 98, .28);
    min-width: 0;
}

.akfc-sub-panel h2,
.akfc-preview__title {
    margin: 0 0 .65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-transform: uppercase;
}

.akfc-sub-panel h2 {
    color: var(--av-gold);
    font-size: clamp(1.35rem, 2.5vw, 2.5rem);
}

.akfc-sub-panel a {
    color: rgba(248, 234, 210, .78);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .86rem;
    font-weight: 800;
}

.akfc-preview {
    align-self: center;
    justify-self: end;
    width: min(100%, 380px);
    padding: 2rem;
    border: 1px solid rgba(214, 173, 98, .28);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .34));
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    min-width: 0;
}

.akfc-preview__sigil {
    width: 96px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 22px rgba(214, 173, 98, .48));
}

.akfc-preview__eyebrow {
    color: var(--av-gold);
}

.akfc-preview__title {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.akpage-shell {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    padding: max(5.5rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    overflow: hidden;
    isolation: isolate;
    color: var(--av-cream);
    background: var(--av-black);
}

.akpage-shell::before,
.akpage-shell::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.akpage-shell::before {
    z-index: -3;
    background-image: var(--akpage-bg);
    background-position: center;
    background-size: cover;
    opacity: .28;
    filter: saturate(1.08) contrast(1.08);
}

.akpage-shell::after {
    z-index: -2;
    background:
        radial-gradient(circle at 20% 22%, rgba(195, 23, 34, .24), transparent 32%),
        radial-gradient(circle at 82% 70%, rgba(81, 215, 255, .14), transparent 28%),
        linear-gradient(180deg, rgba(3, 2, 2, .45), rgba(3, 2, 2, .96));
}

.akpage-nav {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: 50%;
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    width: min(92vw, 760px);
    transform: translateX(-50%);
}

.akpage-nav a {
    padding: .65rem .85rem;
    border: 1px solid rgba(214, 173, 98, .28);
    border-radius: 999px;
    color: rgba(248, 234, 210, .86);
    background: rgba(0, 0, 0, .45);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.akpage-hero,
.akpage-grid {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.akpage-hero {
    padding: clamp(2rem, 6vw, 5rem) 0 clamp(1.6rem, 4vw, 3rem);
}

.akpage-kicker {
    margin: 0 0 .75rem;
    color: var(--av-gold);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .22em;
}

.akpage-hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: .92;
    text-transform: uppercase;
    text-shadow: 0 0 28px rgba(255, 63, 180, .22), 0 5px 22px rgba(0, 0, 0, .84);
}

.akpage-hero > p {
    max-width: 720px;
    margin: 1.15rem 0 0;
    color: rgba(248, 234, 210, .82);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.akpage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}

.akpage-actions a,
.akmember-gate a,
.akmember-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.15rem;
    border: 1px solid rgba(255, 80, 80, .6);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(195, 23, 34, .88), rgba(73, 4, 10, .9));
    text-decoration: none;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.akpage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.akpage-card,
.akmember-gate,
.akmember-card {
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid rgba(214, 173, 98, .22);
    border-radius: 8px;
    background: rgba(0, 0, 0, .48);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.akpage-card {
    color: rgba(248, 234, 210, .88);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.45;
}

.akmember-gate {
    max-width: 680px;
    margin-top: 1.2rem;
    background: linear-gradient(135deg, rgba(61, 5, 8, .72), rgba(0, 0, 0, .56));
}

.akmember-gate h2,
.akmember-card h2 {
    margin: 0 0 .65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-transform: uppercase;
}

.akmember-gate p,
.akmember-card p,
.akpage-card p {
    margin: 0 0 .8rem;
    color: rgba(248, 234, 210, .76);
    line-height: 1.5;
}

.akgate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.akmember-admin-note {
    color: var(--av-gold);
    font-weight: 800;
}

.akvstar-board {
    margin: 0;
    padding-left: 1.25rem;
}

.akvstar-board li {
    padding: .35rem 0;
}

.akvstar-board strong {
    float: right;
    color: var(--av-gold);
}

.login form,
#loginform {
    max-width: 430px;
    padding: 1.2rem;
    border: 1px solid rgba(214, 173, 98, .22);
    border-radius: 8px;
    background: rgba(0, 0, 0, .48);
}

.login label,
#loginform label {
    display: block;
    color: rgba(248, 234, 210, .82);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.login input,
#loginform input {
    width: 100%;
    min-height: 42px;
    margin: .35rem 0 .8rem;
}

.akburn-page .akpage-shell::after {
    background:
        radial-gradient(circle at 50% 45%, rgba(195, 23, 34, .3), transparent 34%),
        linear-gradient(180deg, rgba(3, 2, 2, .5), rgba(3, 2, 2, .96));
}

.akvstar-page .akpage-kicker,
.akvault-page .akpage-kicker,
.akshow-page .akpage-kicker {
    color: var(--av-pink);
}

@media (max-width: 820px) {
    .akhome-nav {
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }

    .akhome-room-grid,
    .akpage-grid {
        grid-template-columns: 1fr;
    }

    .akhome-hero-card {
        flex-direction: column;
        gap: .55rem;
    }

    .akfc-overlay {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .akfc-preview {
        justify-self: stretch;
    }

    .akfeed-panel {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .akfc-inner-template .akfeed-panel {
        left: 1rem;
        right: 1rem;
        bottom: max(.75rem, env(safe-area-inset-bottom));
        width: auto;
    }

    .aktransport-panel {
        width: min(54vw, 280px);
        height: min(54vh, 440px);
        opacity: .82;
    }

    .akpage-shell {
        padding-top: max(6rem, env(safe-area-inset-top));
    }

    .akpage-nav {
        gap: .35rem;
    }

    .akpage-nav a {
        padding: .55rem .7rem;
        font-size: .58rem;
    }
}

@media (max-width: 820px) and (orientation: portrait) {
    body.akfc-landscape-gate-active {
        overflow: hidden;
        touch-action: none;
    }

    .akfc-stage {
        visibility: hidden;
    }

    .akfc-rotate-gate {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .8rem;
        padding: 2rem;
        color: var(--av-cream);
        background:
            linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .88)),
            var(--akfc-rotate-bg) center / min(74vw, 360px) auto no-repeat,
            radial-gradient(circle at center, rgba(195, 23, 34, .18), transparent 38%),
            radial-gradient(circle at 70% 68%, rgba(81, 215, 255, .12), transparent 32%),
            #030202;
        text-align: center;
    }

    .akfc-rotate-gate strong {
        letter-spacing: .16em;
        text-transform: uppercase;
        font-size: 1.1rem;
    }

    .akfc-rotate-gate span {
        color: rgba(248, 234, 210, .72);
    }
}

@media (max-width: 940px) and (orientation: landscape) {
    .akfc-shell {
        padding: max(.65rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));
    }

    .akfc-shell::before {
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #030202;
    }

    .akfc-stage {
        min-height: calc(100svh - 1.3rem);
        min-height: calc(100dvh - 1.3rem);
    }

    .akfc-topbar {
        grid-template-columns: 76px 1fr 76px;
    }

    .akfc-menu-button {
        width: 58px;
        height: 50px;
        gap: 7px;
        padding: 0 14px;
    }

    .akfc-status {
        padding: .54rem .9rem;
        font-size: .58rem;
    }

    .akfc-sigil {
        width: 50px;
    }

    .akfc-sigil-link {
        width: 54px;
        height: 54px;
    }

    .akfc-title-block {
        top: 24%;
        opacity: .42;
        animation: akfc-title-dim 2.5s ease 2.5s forwards;
    }

    .akfc-title {
        font-size: clamp(1.8rem, 6vw, 3.4rem);
    }

    .akfc-hotspot {
        width: 48px;
        height: 48px;
    }

    .akfc-hotspot--chamber {
        --akfc-x: 50%;
        --akfc-y: 59%;
    }

    .akfc-hotspot--vanity {
        --akfc-x: 22%;
        --akfc-y: 62%;
    }

    .akfc-hotspot--bar {
        --akfc-x: 70%;
        --akfc-y: 61%;
    }

    .akfc-hotspot--bed {
        --akfc-x: 83%;
        --akfc-y: 76%;
    }

    .akfc-hotspot--floor {
        --akfc-x: 18%;
        --akfc-y: 80%;
    }

    .akfc-hotspot--burn {
        --akfc-x: 76%;
        --akfc-y: 42%;
    }

    .akfc-hotspot--key {
        --akfc-x: 50%;
        --akfc-y: 83%;
    }

    .akfc-hotspot__label {
        font-size: .58rem;
    }

    .akfeed-panel {
        right: max(.85rem, env(safe-area-inset-right));
        bottom: max(.65rem, env(safe-area-inset-bottom));
        width: min(40vw, 260px);
    }

    .akfc-inner-template .akfeed-panel {
        left: max(.85rem, env(safe-area-inset-left));
        right: auto;
        width: min(34vw, 260px);
    }

    .aktransport-panel {
        width: min(30vw, 260px);
        height: min(68vh, 420px);
    }

    .akfeed-body {
        max-height: calc(100dvh - 5.5rem);
        padding: .75rem;
    }

    .akfeed-list {
        display: none;
    }

    .akfeed-body h2 {
        font-size: 1rem;
    }

    .akfeed-copy,
    .akfeed-member {
        font-size: .7rem;
    }

    .akfc-overlay {
        grid-template-columns: minmax(140px, 1fr) minmax(150px, .9fr) minmax(160px, .85fr);
        gap: .85rem;
        padding: max(3.8rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    }

    .akfc-close {
        width: 38px;
        height: 38px;
    }

    .akfc-menu-list {
        max-height: calc(100dvh - 4.8rem);
    }

    .akfc-menu-list button {
        font-size: clamp(1.15rem, 3.4vw, 2.2rem);
    }

    .akfc-sub-panel {
        gap: .5rem;
        padding-left: .75rem;
    }

    .akfc-sub-panel h2 {
        font-size: clamp(1rem, 2.2vw, 1.45rem);
    }

    .akfc-sub-panel a {
        font-size: .66rem;
    }

    .akfc-preview {
        width: 100%;
        max-width: 220px;
        padding: 1rem;
    }

    .akfc-preview__sigil {
        width: 60px;
        margin-bottom: .85rem;
    }

    .akfc-preview__title {
        font-size: clamp(1.25rem, 3vw, 1.8rem);
    }
}

@keyframes akfc-title-dim {
    to {
        opacity: .25;
    }
}

body.akfc-template .cookieadmin_re_consent {
    opacity: .45;
    transform: scale(.78);
}
