.kt-mickey-gallery {
    --mickey-wall: #24312c;
    --mickey-wall-dark: #151c19;
    --mickey-cream: #f5edda;
    --mickey-brass: #c9a24e;
    --mickey-rope: #861d32;
    --mickey-wood: #6b3f25;
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: var(--mickey-cream);
    background: var(--mickey-wall-dark);
    font-family: Georgia, "Times New Roman", serif;
}

.kt-mickey-gallery *,
.kt-mickey-gallery *::before,
.kt-mickey-gallery *::after {
    box-sizing: border-box;
}

.kt-mickey-gallery-nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 14px;
    border-bottom: 1px solid rgb(245 237 218 / .28);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kt-mickey-gallery-nav a {
    color: #fff;
    text-decoration: none;
}

.kt-mickey-gallery-nav a::before {
    content: "\2190";
    margin-right: 8px;
    color: var(--mickey-brass);
}

.kt-mickey-gallery-nav span {
    color: #d9c999;
    text-align: right;
}

.kt-mickey-gallery-header {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 32px;
    text-align: center;
}

.kt-mickey-gallery-header > p:first-child {
    margin: 0 0 10px;
    color: #d9c999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kt-mickey-gallery-header h1 {
    max-width: 100%;
    margin: 0;
    color: #fffaf0;
    font-size: 3.9rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.kt-mickey-gallery-header > div {
    width: 76px;
    height: 4px;
    margin: 22px auto 18px;
    background: var(--mickey-brass);
}

.kt-mickey-gallery-header > p:last-child {
    max-width: 620px;
    margin: 0 auto;
    color: #dfe7e1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

.kt-mickey-gallery-room {
    position: relative;
    min-height: 710px;
    padding: 70px max(24px, calc((100vw - 1180px) / 2)) 180px;
    border-top: 1px solid rgb(255 255 255 / .08);
    border-bottom: 18px solid #7c7567;
    background-color: var(--mickey-wall);
    background-image:
        radial-gradient(ellipse at 12.5% 0%, rgb(255 243 196 / .25) 0%, transparent 34%),
        radial-gradient(ellipse at 37.5% 0%, rgb(255 243 196 / .2) 0%, transparent 32%),
        radial-gradient(ellipse at 62.5% 0%, rgb(255 243 196 / .22) 0%, transparent 32%),
        radial-gradient(ellipse at 87.5% 0%, rgb(255 243 196 / .24) 0%, transparent 34%),
        repeating-linear-gradient(90deg, transparent 0, transparent 179px, rgb(255 255 255 / .025) 180px);
    box-shadow: inset 0 -38px 50px rgb(0 0 0 / .24);
}

.kt-mickey-gallery-light {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1040px, 90vw);
    height: 5px;
    background: #b89b5a;
    box-shadow: 0 2px 20px rgb(255 234 174 / .45);
    transform: translateX(-50%);
}

.kt-mickey-gallery-rail {
    position: absolute;
    top: 62px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: rgb(210 191 145 / .55);
    box-shadow: 0 1px 0 rgb(0 0 0 / .55);
}

.kt-mickey-frame-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.kt-mickey-frame {
    min-width: 0;
    margin: 0;
    transform: rotate(calc((var(--frame-index) - 1.5) * .42deg));
    transform-origin: 50% 0;
}

.kt-mickey-frame::before {
    content: "";
    display: block;
    width: 1px;
    height: 42px;
    margin: -42px auto 0;
    background: #92836b;
    box-shadow: -22px 28px 0 -0.25px #92836b, 22px 28px 0 -0.25px #92836b;
    transform: rotate(18deg);
    transform-origin: bottom;
}

.kt-mickey-frame-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 15px;
    border: 5px ridge #bf8e43;
    outline: 2px solid #301e13;
    background: #8e5a2b;
    box-shadow:
        0 4px 0 #2f2017,
        0 15px 24px rgb(0 0 0 / .5),
        inset 0 0 0 4px #d5b36e,
        inset 0 0 0 9px #4f301b;
}

.kt-mickey-frame:nth-child(even) .kt-mickey-frame-shell {
    border-color: #a7a098;
    outline-color: #26221e;
    background: #5e5549;
    box-shadow:
        0 4px 0 #28231e,
        0 15px 24px rgb(0 0 0 / .5),
        inset 0 0 0 4px #d6d0c5,
        inset 0 0 0 9px #413a31;
}

.kt-mickey-frame-liner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 9px solid #eee4cd;
    background: #111;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .8);
}

.kt-mickey-art-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    color: rgb(255 255 255 / .78);
    background: #284f5d;
    opacity: 0;
    transform: rotate(-4deg) scale(1.08);
    transition: opacity .8s ease, transform 1.1s ease;
}

.kt-mickey-art-layer:nth-child(2) {
    color: #26231f;
    background: #d7c45f;
}

.kt-mickey-art-layer:nth-child(3) {
    color: #f6e9df;
    background: #863c49;
}

.kt-mickey-art-layer::before,
.kt-mickey-art-layer::after {
    content: "";
    position: absolute;
    border: 2px solid currentColor;
    opacity: .45;
}

.kt-mickey-art-layer::before {
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.kt-mickey-art-layer::after {
    width: 35%;
    height: 64%;
    transform: rotate(32deg);
}

.kt-mickey-art-layer.is-current {
    z-index: 2;
    opacity: 1;
    transform: rotate(0) scale(1);
}

.kt-mickey-art-layer span {
    position: relative;
    z-index: 2;
    padding: 7px 9px;
    border: 1px solid currentColor;
    background: rgb(0 0 0 / .2);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kt-mickey-frame figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: #e9e1d0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
}

.kt-mickey-frame figcaption span {
    color: #d9c999;
}

.kt-mickey-velvet-rope {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 48px;
    width: min(760px, 72vw);
    height: 142px;
    transform: translateX(-50%);
}

.kt-mickey-rope {
    position: absolute;
    top: 0;
    left: 6%;
    width: 88%;
    height: 116px;
    border-bottom: 14px solid var(--mickey-rope);
    border-radius: 0 0 50% 50%;
    filter: drop-shadow(0 6px 4px rgb(0 0 0 / .42));
}

.kt-mickey-rope::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: -8px;
    left: 10%;
    border-bottom: 3px solid rgb(255 180 185 / .28);
    border-radius: 50%;
}

.kt-mickey-stanchion {
    position: absolute;
    top: 2px;
    width: 17px;
    height: 132px;
    border-radius: 6px 6px 2px 2px;
    background: #b68a35;
    box-shadow: inset -4px 0 0 #765318, 0 5px 8px rgb(0 0 0 / .42);
}

.kt-mickey-stanchion::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 29px;
    height: 29px;
    border: 3px solid #e0c573;
    border-radius: 50%;
    background: #987128;
    transform: translateX(-50%);
}

.kt-mickey-stanchion::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 72px;
    height: 16px;
    border-radius: 50%;
    background: #b68a35;
    box-shadow: inset 0 -5px 0 #6f4e18, 0 8px 10px rgb(0 0 0 / .42);
    transform: translateX(-50%);
}

.kt-mickey-stanchion-left {
    left: 3%;
}

.kt-mickey-stanchion-right {
    right: 3%;
}

.kt-mickey-table-display {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 70px 24px 90px;
    isolation: isolate;
    background-color: #191a18;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 84px, rgb(255 255 255 / .018) 85px);
}

.kt-mickey-table {
    position: absolute;
    z-index: -1;
    top: 150px;
    left: 50%;
    width: min(620px, 82vw);
    height: 320px;
    transform: translateX(-50%);
}

.kt-mickey-table-top {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    aspect-ratio: 2.6 / 1;
    border: 5px solid #9b6b46;
    border-radius: 50%;
    background-color: var(--mickey-wood);
    background-image: repeating-radial-gradient(ellipse at center, transparent 0, transparent 18px, rgb(44 23 12 / .22) 20px, transparent 23px);
    box-shadow: 0 22px 0 #3c2418, 0 34px 28px rgb(0 0 0 / .58), inset 0 10px 16px rgb(255 220 174 / .14);
    transform: translateX(-50%);
}

.kt-mickey-table-base {
    position: absolute;
    top: 175px;
    left: 50%;
    width: 150px;
    height: 145px;
    background: #4e2d1d;
    clip-path: polygon(27% 0, 73% 0, 84% 82%, 100% 100%, 0 100%, 16% 82%);
    transform: translateX(-50%);
}

.kt-mickey-display-box {
    position: relative;
    z-index: 2;
    width: min(250px, 68vw);
    min-height: 210px;
    margin-top: -72px;
    padding: 28px 24px;
    border: 8px solid #24211d;
    outline: 3px solid #c6a55e;
    color: #27231f;
    background: #e6ddc9;
    box-shadow: 14px 18px 0 rgb(0 0 0 / .28), inset 0 0 0 2px #fff8e8;
    text-align: center;
}

.kt-mickey-display-box > p {
    margin: 0 0 8px;
    color: #795b2f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kt-mickey-display-box h2 {
    margin: 0;
    color: #27231f;
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: 0;
}

.kt-mickey-display-box > div {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 25px auto 0;
    border: 2px solid #815f36;
    transform: rotate(45deg);
}

.kt-mickey-display-box > div span {
    position: absolute;
    inset: 18px;
    border: 2px solid #815f36;
    border-radius: 50%;
}

.kt-mickey-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 900px) {
    .kt-mickey-gallery-header h1 {
        font-size: 3rem;
    }

    .kt-mickey-gallery-room {
        min-height: 1020px;
        padding-bottom: 185px;
    }

    .kt-mickey-frame-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 76px 34px;
        max-width: 650px;
    }

    .kt-mickey-velvet-rope {
        width: min(570px, 78vw);
    }
}

@media (max-width: 560px) {
    .kt-mickey-gallery-nav {
        align-items: flex-start;
        width: min(100% - 28px, 1180px);
    }

    .kt-mickey-gallery-nav span {
        max-width: 150px;
    }

    .kt-mickey-gallery-header {
        width: min(100% - 28px, 1180px);
        padding: 38px 0 28px;
    }

    .kt-mickey-gallery-header h1 {
        font-size: 2.2rem;
    }

    .kt-mickey-gallery-header > p:last-child {
        font-size: .92rem;
    }

    .kt-mickey-gallery-room {
        min-height: 1720px;
        padding: 70px 28px 190px;
    }

    .kt-mickey-frame-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 72px;
        max-width: 280px;
    }

    .kt-mickey-velvet-rope {
        width: 76vw;
        height: 130px;
    }

    .kt-mickey-rope {
        height: 100px;
    }

    .kt-mickey-table-display {
        min-height: 470px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kt-mickey-art-layer,
    .kt-mickey-frame {
        transition: none !important;
        animation: none !important;
    }
}
