[data-skin="hermes"] .hms-lobby-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 364;
    max-height: 420px;
    overflow: hidden;
}

@media (max-width: 767px) {
    [data-skin="hermes"] .hms-lobby-visual {
        aspect-ratio: 768 / 320;
        max-height: none;
    }
}

[data-skin="hermes"] .hms-lobby-visual > section {
    position: absolute;
    inset: 0;
}

[data-skin="hermes"] .hms-lobby-visual .visual_list {
    position: absolute;
    inset: 0;
}

[data-skin="hermes"] .hms-lobby-visual .visual_item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

[data-skin="hermes"] .hms-lobby-visual .visual_item.active {
    opacity: 1;
    pointer-events: auto;
}

[data-skin="hermes"] .hms-lobby-visual .visual_flat,
[data-skin="hermes"] .hms-lobby-visual .visual_flat img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    [data-skin="hermes"] .hms-lobby-visual .visual_flat img {
        object-fit: contain;
    }
}

[data-skin="hermes"] .hms-lobby-visual .visual_link {
    position: absolute;
    inset: 0;
}

[data-skin="hermes"] .hms-lobby-visual .visual_btns {
    position: absolute;
    right: 24px;
    bottom: 16px;
    left: auto;
    z-index: 2;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    transform: none;
}

[data-skin="hermes"] .hms-lobby-visual .btn_circle {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition:
        width 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

[data-skin="hermes"] .hms-lobby-visual .btn_circle.active {
    width: 28px;
    background: var(--t-money, #d4a44e);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    [data-skin="hermes"] .hms-lobby-visual .visual_btns {
        right: 12px;
        bottom: 10px;
        gap: 6px;
        padding: 6px 9px;
    }

    [data-skin="hermes"] .hms-lobby-visual .btn_circle.active {
        width: 22px;
    }
}

[data-skin="hermes"] .hms-lobby-visual .d-none {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[data-skin="hermes"] .hms-lobby-note {
    padding: 56px 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-ink-muted);
}

/*
 * ── 로비 두 화면 (2026-10-22 다시 그림) ──
 * 대문과 같은 말씨: 머리 줄(아이콘 칸 · 제목 · 게임사 수 · 지갑 띠), 카지노는 둥근 무대 한 장과 게임사 카드 표,
 * 슬롯은 띠 배너 · 게임사 칩 표 · 게임 판. 판의 색은 전부 조합에서 옵니다.
 */
[data-skin="hermes"] .hms-screen.hms-lobby {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 28px 80px;
}

[data-skin="hermes"] .hms-lobby-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-bottom: 18px;
}

[data-skin="hermes"] .hms-slot-hero + .hms-lobby-head {
    margin-top: 26px;
}

[data-skin="hermes"] .hms-lobby-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--color-ink);
    font: 500 30px/1.15 var(--font-display);
    letter-spacing: -0.01em;
}

[data-skin="hermes"] .hms-lobby-count {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(var(--t-accent-rgb, 244 63 182) / 0.12);
    box-shadow: inset 0 0 0 1px rgb(var(--t-accent-rgb, 244 63 182) / 0.3);
    color: light-dark(var(--t-accent-deep, #9d1673), color-mix(in srgb, var(--t-accent, #f43fb6) 55%, #fff));
    font: 700 12.5px/1 var(--font-sans);
    letter-spacing: 0;
    white-space: nowrap;
}

[data-skin="hermes"] .hms-lobby-tab {
    min-width: 0;
}

/* 지갑 띠 — 보유머니 · 카지노&슬롯 머니 · 입금 · 출금 */
[data-skin="hermes"] .hms-lobby-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

[data-skin="hermes"] .hms-wb {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 10px 8px 9px;
    border-radius: 14px;
    background: var(--hms-surface);
    box-shadow: inset 0 0 0 1px var(--color-line-soft), 0 6px 16px var(--hms-shade);
}

[data-skin="hermes"] .hms-wb-icon {
    display: grid;
    flex: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: rgb(var(--t-accent-rgb, 244 63 182) / 0.14);
    color: var(--color-brand);
}

[data-skin="hermes"] .hms-wb.is-held .hms-wb-icon {
    background: rgb(var(--t-money-rgb, 34 211 238) / 0.16);
    color: light-dark(color-mix(in srgb, var(--t-money, #4f46e5) 80%, #000), var(--t-money, #22d3ee));
}

[data-skin="hermes"] .hms-wb-icon svg {
    width: 20px;
    height: 20px;
}

[data-skin="hermes"] .hms-lobby-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

[data-skin="hermes"] .hms-lobby-balance-label {
    color: var(--color-ink-muted);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

[data-skin="hermes"] .hms-wb-figure {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

[data-skin="hermes"] .hms-lobby-balance-value {
    color: var(--color-gold);
    font-family: var(--font-numeric);
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

[data-skin="hermes"] .hms-lobby-balance-unit {
    color: var(--color-ink-muted);
    font-size: 12px;
}

[data-skin="hermes"] .hms-wb-collect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: rgb(var(--t-money-rgb, 34 211 238) / 0.14);
    box-shadow: inset 0 0 0 1px rgb(var(--t-money-rgb, 34 211 238) / 0.45);
    color: var(--color-ink);
    font: 700 12.5px/1 var(--font-sans);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[data-skin="hermes"] .hms-wb-collect svg {
    width: 15px;
    height: 15px;
    flex: none;
}

[data-skin="hermes"] .hms-wb-collect:hover:not(:disabled) {
    background: var(--t-money, #22d3ee);
    color: var(--hms-money-ink);
}

[data-skin="hermes"] .hms-wb-collect:disabled {
    opacity: 0.6;
    cursor: progress;
}

[data-skin="hermes"] .hms-wb-collect[aria-busy="true"] svg {
    animation: hms-spin 0.9s linear infinite;
}

[data-skin="hermes"] .hms-wb-links {
    display: flex;
    gap: 8px;
}

[data-skin="hermes"] .hms-wb-links a {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 14px;
    font: 700 14px/1 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease;
}

[data-skin="hermes"] .hms-wb-links a.is-deposit {
    background: linear-gradient(120deg, color-mix(in srgb, var(--t-accent, #f43fb6) 82%, #fff) 0%, var(--t-accent-deep, #c2168a) 100%);
    box-shadow: 0 8px 18px rgb(var(--t-accent-rgb, 244 63 182) / 0.28);
    color: var(--t-accent-ink, #fff);
}

[data-skin="hermes"] .hms-wb-links a.is-withdraw {
    background: linear-gradient(120deg, color-mix(in srgb, var(--t-money, #22d3ee) 86%, #fff) 0%, color-mix(in srgb, var(--t-money, #22d3ee) 72%, #000) 100%);
    box-shadow: 0 8px 18px rgb(var(--t-money-rgb, 34 211 238) / 0.24);
    color: var(--hms-money-ink);
}

[data-skin="hermes"] .hms-wb-links a:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

/* ── 카지노 무대 — 고른 게임사의 사람 · 로고 · 이름 · 입장 ── */
[data-skin="hermes"] .hms-spot {
    --tone: var(--t-accent, #f43fb6);
    --tone-rgb: var(--t-accent-rgb, 244 63 182);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    min-height: 400px;
    overflow: hidden;
    border-radius: 24px;
    isolation: isolate;
    box-shadow:
        inset 0 0 0 1px rgb(var(--tone-rgb) / 0.42),
        0 18px 40px var(--hms-shade-lg);
}

[data-skin="hermes"] .hms-spot-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(46% 80% at 74% 60%, light-dark(rgb(var(--tone-rgb) / 0.28), rgb(var(--tone-rgb) / 0.42)) 0%, transparent 70%),
        radial-gradient(40% 70% at 98% 0%, rgb(var(--t-money-rgb, 34 211 238) / 0.18) 0%, transparent 70%),
        linear-gradient(112deg,
            var(--hms-surface) 0%,
            var(--hms-surface) 38%,
            light-dark(color-mix(in srgb, var(--tone) 14%, #fff), color-mix(in srgb, var(--tone) 30%, var(--hms-surface))) 100%);
}

[data-skin="hermes"] .hms-spot-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-58deg, rgb(var(--tone-rgb) / 0.07) 0 1px, transparent 1px 14px);
    -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}

[data-skin="hermes"] .hms-spot-bg::after {
    content: "";
    position: absolute;
    top: 58%;
    left: 76%;
    width: min(380px, 30vw);
    aspect-ratio: 1;
    border: 1px solid rgb(var(--tone-rgb) / 0.4);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgb(var(--tone-rgb) / 0.05),
        0 0 0 29px rgb(var(--tone-rgb) / 0.14),
        inset 0 0 70px rgb(var(--tone-rgb) / 0.28);
    transform: translate(-50%, -50%);
}

[data-skin="hermes"] .hms-spot-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 44px 24px 44px clamp(28px, 4vw, 64px);
    animation: hms-copy-in 0.32s ease both;
}

[data-skin="hermes"] .hms-spot-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    background: rgb(var(--tone-rgb) / 0.14);
    box-shadow: inset 0 0 0 1px rgb(var(--tone-rgb) / 0.35);
    color: light-dark(color-mix(in srgb, var(--tone) 72%, #000), color-mix(in srgb, var(--tone) 55%, #fff));
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

[data-skin="hermes"] .hms-spot-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 0 3px rgb(var(--tone-rgb) / 0.25);
    animation: hms-spot-live 1.6s ease-in-out infinite;
}

@keyframes hms-spot-live {
    50% {
        box-shadow: 0 0 0 7px rgb(var(--tone-rgb) / 0);
    }
}

[data-skin="hermes"] .hms-spot-title {
    margin: 0;
    background: var(--hms-set-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font: 500 clamp(36px, 3.6vw, 58px)/1.08 var(--font-display);
    letter-spacing: -0.02em;
    word-break: keep-all;
}

[data-skin="hermes"] .hms-spot-text {
    margin: 0;
    color: var(--color-ink-muted);
    font-size: 15px;
    line-height: 1.55;
    word-break: keep-all;
}

[data-skin="hermes"] .hms-stage-games {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 36px;
    margin-top: 2px;
    background: linear-gradient(90deg, var(--t-accent, #f43fb6), var(--t-money, #22d3ee));
    -webkit-mask: url("/skin/hermes/ui/game-icons.webp") left center / contain no-repeat;
    mask: url("/skin/hermes/ui/game-icons.webp") left center / contain no-repeat;
}

[data-skin="hermes"] .hms-spot-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

[data-skin="hermes"] .hms-spot-enter {
    min-width: 170px;
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--hms-set-pill-on);
    box-shadow: 0 10px 22px rgb(var(--tone-rgb) / 0.32);
    color: var(--t-accent-ink, #fff);
    font: 700 17px/1 var(--font-sans);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

[data-skin="hermes"] .hms-spot-enter:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgb(var(--tone-rgb) / 0.4);
}

[data-skin="hermes"] .hms-spot-enter:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

[data-skin="hermes"] .hms-spot-step {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 44px;
    padding: 0 4px;
    border-radius: 999px;
    background: light-dark(rgb(255 255 255 / 0.85), rgb(0 0 0 / 0.25));
    box-shadow: inset 0 0 0 1px var(--color-line-soft);
    color: var(--color-ink-muted);
    font: 600 13px/1 var(--font-numeric);
}

[data-skin="hermes"] .hms-spot-step b {
    color: var(--color-ink);
}

[data-skin="hermes"] .hms-spot-step span {
    min-width: 52px;
    text-align: center;
}

[data-skin="hermes"] .hms-spot-step button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--color-ink);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[data-skin="hermes"] .hms-spot-step button:hover {
    background: rgb(var(--tone-rgb) / 0.16);
    color: var(--color-brand);
}

[data-skin="hermes"] .hms-spot-step svg {
    width: 18px;
    height: 18px;
}

[data-skin="hermes"] .hms-spot-model {
    position: relative;
    display: grid;
    align-items: end;
    justify-items: center;
    min-width: 0;
}

[data-skin="hermes"] .hms-spot-model > img {
    grid-area: 1 / 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: 396px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.3));
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
}

[data-skin="hermes"] .hms-stage-layer {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.42s ease, transform 0.42s ease;
}

[data-skin="hermes"] .hms-stage-layer.is-ready {
    opacity: 1;
    transform: none;
}

[data-skin="hermes"] .hms-stage-layer.is-out {
    opacity: 0;
    transform: translateX(16px);
}

/* 로고는 흰 글자용이라 어느 조합에서나 어두운 유리 판 위에 섭니다. */
[data-skin="hermes"] .hms-spot-logo {
    position: absolute;
    top: 30%;
    left: 2%;
    z-index: 2;
    display: grid;
    width: 150px;
    height: 84px;
    place-items: center;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgb(12 10 18 / 0.72);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 10px 24px rgb(0 0 0 / 0.3);
    backdrop-filter: blur(6px);
    animation: hms-copy-in 0.32s ease both;
}

[data-skin="hermes"] .hms-spot-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes hms-copy-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

[data-skin="hermes"] .hms-lobby-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

@media (prefers-reduced-motion: reduce) {
    [data-skin="hermes"] .hms-stage-layer,
    [data-skin="hermes"] .hms-spot-copy,
    [data-skin="hermes"] .hms-spot-logo,
    [data-skin="hermes"] .hms-spot-kicker::before {
        transition: none;
        animation: none;
        transform: none;
    }
}

/* ── 슬롯 ── */
[data-skin="hermes"] .hms-slot-anchor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

[data-skin="hermes"] .hms-slot-vendors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

[data-skin="hermes"] .hms-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 58px;
    padding: 0 12px 0 7px;
    border: 0;
    border-radius: 14px;
    background: var(--hms-surface);
    box-shadow: inset 0 0 0 1px var(--color-line-soft), 0 4px 12px var(--hms-shade);
    color: var(--color-ink-soft);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

[data-skin="hermes"] .hms-chip:hover {
    box-shadow: inset 0 0 0 1px rgb(var(--t-accent-rgb, 244 63 182) / 0.6), 0 8px 18px var(--hms-shade);
    color: var(--color-ink);
    transform: translateY(-1px);
}

[data-skin="hermes"] .hms-chip.is-on {
    background: linear-gradient(100deg, rgb(var(--t-accent-rgb, 244 63 182) / 0.22), var(--hms-surface) 80%);
    box-shadow: inset 0 0 0 2px var(--t-accent, #f43fb6), 0 8px 20px rgb(var(--t-accent-rgb, 244 63 182) / 0.22);
    color: light-dark(var(--t-accent-deep, #9d1673), var(--color-ink));
}

[data-skin="hermes"] .hms-chip.is-off {
    opacity: 0.5;
}

[data-skin="hermes"] .hms-chip-mark,
[data-skin="hermes"] .hms-slot-mark {
    display: grid;
    flex: none;
    place-items: center;
    background: light-dark(color-mix(in srgb, var(--t-accent, #c21f8f) 16%, #17141f), rgb(0 0 0 / 0.3));
    color: var(--color-brand);
}

[data-skin="hermes"] .hms-chip-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

[data-skin="hermes"] .hms-chip-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

[data-skin="hermes"] .hms-chip-mark b {
    font: 800 12px/1 var(--font-sans);
}

[data-skin="hermes"] .hms-chip-name {
    overflow: hidden;
    font: 600 13px/1.25 var(--font-sans);
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-skin="hermes"] .hms-chip.is-on .hms-chip-name {
    font-weight: 800;
}

[data-skin="hermes"] .hms-slot-panel {
    min-width: 0;
    padding: 0 22px 28px;
    border-radius: 20px;
    background: var(--hms-surface);
    box-shadow: inset 0 0 0 1px var(--color-line-soft), 0 10px 26px var(--hms-shade);
}

[data-skin="hermes"] .hms-slot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line-soft);
}

[data-skin="hermes"] .hms-slot-who {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

[data-skin="hermes"] .hms-slot-who > div {
    min-width: 0;
}

[data-skin="hermes"] .hms-slot-mark {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    box-shadow: inset 0 0 0 2px var(--t-accent, #f43fb6), 0 6px 16px rgb(var(--t-accent-rgb, 244 63 182) / 0.25);
}

[data-skin="hermes"] .hms-slot-mark img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

[data-skin="hermes"] .hms-slot-mark svg {
    width: 24px;
    height: 24px;
}

[data-skin="hermes"] .hms-slot-who h2 {
    margin: 0;
    overflow: hidden;
    color: var(--color-ink);
    font: 500 24px/1.2 var(--font-display);
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-skin="hermes"] .hms-slot-count {
    min-height: 1.4em;
    margin: 3px 0 0;
    color: var(--color-ink-muted);
    font-size: 13px;
}

[data-skin="hermes"] .hms-slot-search {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    width: 320px;
    height: 42px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-field);
}

[data-skin="hermes"] .hms-slot-search:focus-within {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgb(var(--t-accent-rgb, 244 63 182) / 0.16);
}

[data-skin="hermes"] .hms-screen .hms-slot-search input {
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: 13.5px;
}

[data-skin="hermes"] .hms-slot-search svg,
[data-skin="hermes"] .hms-slot-search-clear {
    position: absolute;
    right: 12px;
    width: 18px;
    height: 18px;
    color: var(--color-ink-muted);
}

[data-skin="hermes"] .hms-slot-search-clear {
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    cursor: pointer;
}

[data-skin="hermes"] .hms-slot-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 14px;
    animation: hms-grid-in 0.3s ease both;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

[data-skin="hermes"] .hms-slot-grid.is-loading {
    opacity: 0.45;
    filter: saturate(0.6);
    pointer-events: none;
}

@keyframes hms-grid-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

[data-skin="hermes"] .hms-slot-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-ink);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

[data-skin="hermes"] .hms-slot-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(100deg, transparent 30%, rgb(var(--t-veil-rgb, 255 255 255) / 0.08) 50%, transparent 70%) 0 0 / 220% 100% no-repeat,
        var(--color-sunk);
    box-shadow: inset 0 0 0 1px var(--color-line-soft), 0 6px 14px var(--hms-shade);
    animation: hms-thumb-wait 1.3s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-skin="hermes"] .hms-slot-thumb:has(> img.is-ready) {
    animation: none;
    background: var(--color-sunk);
}

@keyframes hms-thumb-wait {
    from {
        background-position: 120% 0, 0 0;
    }
    to {
        background-position: -120% 0, 0 0;
    }
}

[data-skin="hermes"] .hms-slot-card:hover .hms-slot-thumb,
[data-skin="hermes"] .hms-slot-card:focus-visible .hms-slot-thumb {
    box-shadow: 0 0 0 2px var(--t-accent, #f43fb6), 0 12px 24px rgb(var(--t-accent-rgb, 244 63 182) / 0.28);
    transform: translateY(-3px);
}

[data-skin="hermes"] .hms-slot-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-skin="hermes"] .hms-slot-thumb > img.is-ready,
[data-skin="hermes"] .hms-slot-thumb > img.hms-slot-stop {
    opacity: 1;
}

[data-skin="hermes"] .hms-slot-card:hover .hms-slot-thumb > img:not(.hms-slot-stop) {
    transform: scale(1.06);
}

[data-skin="hermes"] .hms-slot-thumb > img.hms-slot-stop {
    position: absolute;
    inset: 0;
    z-index: 1;
    object-fit: contain;
    background: rgb(15 23 42 / 0.55);
}

[data-skin="hermes"] .hms-slot-card.is-off .hms-slot-thumb > img:not(.hms-slot-stop) {
    filter: grayscale(1);
}

[data-skin="hermes"] .hms-slot-play {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12%;
    background: linear-gradient(0deg, rgb(10 8 16 / 0.82) 0%, rgb(10 8 16 / 0.15) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

[data-skin="hermes"] .hms-slot-play span {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--hms-set-pill-on);
    box-shadow: 0 6px 14px rgb(var(--t-accent-rgb, 244 63 182) / 0.4);
    color: var(--t-accent-ink, #fff);
    font: 700 12.5px/1 var(--font-sans);
    white-space: nowrap;
    transform: translateY(6px);
    transition: transform 0.2s ease;
}

[data-skin="hermes"] .hms-slot-card:hover .hms-slot-play,
[data-skin="hermes"] .hms-slot-card:focus-visible .hms-slot-play {
    opacity: 1;
}

[data-skin="hermes"] .hms-slot-card:hover .hms-slot-play span,
[data-skin="hermes"] .hms-slot-card:focus-visible .hms-slot-play span {
    transform: none;
}

@media (hover: none) {
    [data-skin="hermes"] .hms-slot-play {
        display: none;
    }
}

[data-skin="hermes"] .hms-slot-title {
    display: -webkit-box;
    min-height: calc(2 * 1.4em);
    overflow: hidden;
    padding: 0 2px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

[data-skin="hermes"] .hms-slot-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

[data-skin="hermes"] .hms-slot-pager button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: var(--hms-surface);
    color: var(--color-ink-soft);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

[data-skin="hermes"] .hms-slot-pager button:hover:not(:disabled) {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

[data-skin="hermes"] .hms-slot-pager button:disabled {
    opacity: 0.4;
    cursor: default;
}

[data-skin="hermes"] .hms-slot-pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--color-brand);
    color: var(--t-accent-ink, #fff);
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    [data-skin="hermes"] .hms-slot-grid,
    [data-skin="hermes"] .hms-slot-thumb {
        animation: none;
    }

    [data-skin="hermes"] .hms-slot-thumb > img {
        opacity: 1;
        transition: none;
    }
}

@media (max-width: 1279px) {
    [data-skin="hermes"] .hms-spot {
        min-height: 360px;
    }

    [data-skin="hermes"] .hms-spot-model > img {
        height: 356px;
    }

    [data-skin="hermes"] .hms-lobby-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    [data-skin="hermes"] .hms-slot-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    [data-skin="hermes"] .hms-screen.hms-lobby {
        padding: 12px 12px 56px;
    }

    [data-skin="hermes"] .hms-slot-hero + .hms-lobby-head {
        margin-top: 18px;
    }

    [data-skin="hermes"] .hms-lobby-title {
        font-size: 22px;
    }

    [data-skin="hermes"] .hms-lobby-tab {
        width: 100%;
    }

    [data-skin="hermes"] .hms-lobby-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    [data-skin="hermes"] .hms-wb-links {
        grid-column: 1 / -1;
    }

    [data-skin="hermes"] .hms-wb-links a {
        min-height: 44px;
    }

    [data-skin="hermes"] .hms-spot {
        grid-template-columns: minmax(0, 1fr) 42%;
        min-height: 300px;
        border-radius: 18px;
    }

    [data-skin="hermes"] .hms-spot-model > img {
        height: 296px;
    }

    [data-skin="hermes"] .hms-lobby-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    [data-skin="hermes"] .hms-slot-vendors {
        display: flex;
        gap: 8px;
        margin: 0 -12px 14px;
        padding: 2px 12px 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    [data-skin="hermes"] .hms-slot-vendors::-webkit-scrollbar {
        display: none;
    }

    [data-skin="hermes"] .hms-chip {
        flex: none;
        width: 150px;
        scroll-snap-align: start;
    }

    [data-skin="hermes"] .hms-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    [data-skin="hermes"] .hms-lobby-head {
        gap: 10px;
        margin-bottom: 12px;
    }

    [data-skin="hermes"] .hms-wb {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px;
    }

    [data-skin="hermes"] .hms-wb-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    [data-skin="hermes"] .hms-wb-icon svg {
        width: 17px;
        height: 17px;
    }

    [data-skin="hermes"] .hms-lobby-balance {
        flex: 1 1 0;
    }

    [data-skin="hermes"] .hms-lobby-balance-value {
        font-size: 15px;
    }

    [data-skin="hermes"] .hms-wb-collect {
        flex-basis: 100%;
        height: 30px;
    }

    [data-skin="hermes"] .hms-spot {
        grid-template-columns: minmax(0, 1fr) 44%;
        min-height: 236px;
    }

    [data-skin="hermes"] .hms-spot-copy {
        gap: 8px;
        padding: 20px 4px 20px 18px;
    }

    [data-skin="hermes"] .hms-spot-kicker {
        padding: 3px 9px 3px 8px;
        font-size: 11px;
    }

    [data-skin="hermes"] .hms-spot-title {
        font-size: 26px;
    }

    [data-skin="hermes"] .hms-spot-text,
    [data-skin="hermes"] .hms-spot-copy .hms-stage-games {
        display: none;
    }

    [data-skin="hermes"] .hms-spot-actions {
        gap: 8px;
        margin-top: 4px;
    }

    [data-skin="hermes"] .hms-spot-enter {
        min-width: 0;
        height: 40px;
        padding: 0 18px;
        font-size: 14px;
    }

    [data-skin="hermes"] .hms-spot-step {
        height: 36px;
    }

    [data-skin="hermes"] .hms-spot-step button {
        width: 30px;
        height: 30px;
    }

    [data-skin="hermes"] .hms-spot-step span {
        min-width: 40px;
    }

    [data-skin="hermes"] .hms-spot-model > img {
        height: 236px;
    }

    [data-skin="hermes"] .hms-spot-logo {
        top: 10px;
        right: 8px;
        left: auto;
        width: 92px;
        height: 50px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    [data-skin="hermes"] .hms-spot-bg::after {
        left: 78%;
        width: 200px;
    }

    [data-skin="hermes"] .hms-lobby-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    [data-skin="hermes"] .hms-chip {
        width: 136px;
        height: 52px;
    }

    [data-skin="hermes"] .hms-chip-mark {
        width: 38px;
        height: 38px;
    }

    [data-skin="hermes"] .hms-chip-mark img {
        width: 30px;
        height: 30px;
    }

    [data-skin="hermes"] .hms-slot-panel {
        padding: 0 12px 20px;
        border-radius: 16px;
    }

    [data-skin="hermes"] .hms-slot-head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 14px;
        padding: 14px 0;
    }

    [data-skin="hermes"] .hms-slot-mark {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    [data-skin="hermes"] .hms-slot-mark img {
        width: 36px;
        height: 36px;
    }

    [data-skin="hermes"] .hms-slot-who h2 {
        font-size: 19px;
    }

    [data-skin="hermes"] .hms-slot-search {
        width: 100%;
    }

    [data-skin="hermes"] .hms-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
    }

    [data-skin="hermes"] .hms-slot-title {
        font-size: 12px;
    }
}
