:root {
    --bg: #0b0d12;
    --panel: #151821;
    --line: #2a2e3a;
    --text: #e9e6df;
    --muted: #9a9ca5;
    --gold: #d9b45a;
    --gold-light: #f1d68c;
    --red: #b8283c;
    --blue: #2a5bd7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
    line-height: 1.6;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* 상단 메뉴 */
.top {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(11, 13, 18, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo img {
    height: 40px;
    width: auto;
}

.top nav {
    display: flex;
    gap: 32px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
}

.top nav a {
    position: relative;
    padding: 4px 0;
    color: var(--text);
}

.top nav a:hover,
.top nav a.on {
    color: var(--gold-light);
}

/* 지금 페이지 메뉴 아래 금색 줄 */
.top nav a.on::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
}

/* 첫 화면 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 13, 18, 0) 35%, rgba(11, 13, 18, .8) 68%, var(--bg) 100%);
}

.hero-text {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 32px 72px;
    text-align: center;
}

/* 메인: 회사 첫 화면. 특정 게임 사진 없이 어두운 바탕에 로고 주사위를 은은하게 깔고 문구를 가운데에 둔다 */
.hero.brand {
    align-items: center;
    background: radial-gradient(ellipse 70% 60% at 50% 45%, #1d2230, var(--bg) 70%);
}

.hero.brand::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(70vw, 560px);
    aspect-ratio: 100 / 112;
    transform: translate(-50%, -50%);
    background: url("favicon.svg") center / contain no-repeat;
    opacity: .045;
}

.hero.brand::after {
    background: linear-gradient(rgba(11, 13, 18, 0) 80%, var(--bg) 100%);
}

/* 첫 화면 영상: 준비되면(.has-video) 나타나고, 글자가 잘 보이게 위아래와 가운데를 어둡게 한다 */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero.has-video .hero-video {
    opacity: 1;
}

.hero.brand.has-video::before {
    display: none;
}

.hero.brand.has-video::after {
    background:
        radial-gradient(ellipse 55% 45% at 50% 50%, rgba(11, 13, 18, .55), rgba(11, 13, 18, 0) 100%),
        linear-gradient(rgba(11, 13, 18, .45), rgba(11, 13, 18, .1) 30%, rgba(11, 13, 18, .1) 70%, var(--bg) 100%);
}

.hero.brand .hero-text {
    padding: 72px 32px 0;
}

.hero.brand h1 {
    margin-bottom: 14px;
}

.hero-label {
    margin: 0 0 32px;
    color: var(--gold-light);
    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 700;
    letter-spacing: .35em;
}

.hero h1 {
    margin: 0 0 28px;
    font-size: clamp(48px, 9vw, 104px);
    line-height: 1;
    letter-spacing: .06em;
    background: linear-gradient(180deg, #fff6d8, var(--gold) 70%, #a9822e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: #1b1508;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 6px 24px rgba(217, 180, 90, .35);
}

.btn:hover {
    filter: brightness(1.08);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-actions .btn-line {
    padding: 14px 36px;
    background: rgba(11, 13, 18, .45);
    font-size: 17px;
}

.features.two {
    grid-template-columns: repeat(2, 1fr);
}

/* 공통 구역 */
section:where(:not(.hero):not(.page-head):not(.panel)) {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 32px;
}

.section-title {
    margin: 0 0 28px;
    font-size: 28px;
    text-align: center;
}

.section-lead {
    margin: -12px auto 32px;
    color: var(--muted);
    text-align: center;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
}

/* ABOUT US: 회사 소개 (인사·서명 없이 필요한 말만) */
section.letter {
    max-width: 760px;
    padding-bottom: 24px;
    font-size: 17px;
    line-height: 1.9;
}

.letter p {
    margin: 0 0 22px;
}

.letter-greeting {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
}

/* GAMES: 그림이 없는 게임은 이름 타일 */
.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tiles li {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    background: var(--panel);
}

.tiles.mini li {
    background: linear-gradient(135deg, #3d2f8f, #1f2c6b);
}

.tiles.casino li {
    background: linear-gradient(135deg, #6b1f3a, #2c1030);
}

.tiles.slot li {
    background: linear-gradient(135deg, #8a6a1f, #3d2d0a);
}

/* ABOUT US: 책임감 있는 게임 (바로 위 구역과 간격을 줄임) */
section.responsible {
    padding-top: 24px;
}

/* 소개 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.features article {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    background: var(--panel);
}

.features h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--gold-light);
}

.features p {
    margin: 0;
    color: var(--muted);
}

/* 테이블 사진 */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery figcaption {
    padding: 12px 16px;
    font-size: 15px;
}

/* 플레이 방법 */
.how ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.how li {
    counter-increment: step;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: var(--muted);
}

.how li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 800;
}

.how li:nth-child(2)::before {
    background: var(--blue);
}

.how li:nth-child(3)::before {
    background: var(--gold);
    color: #1b1508;
}

.how strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 18px;
}

/* 하위 페이지 머리 */
.page-head {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 340px;
    padding: 72px 16px 0;
    overflow: hidden;
    text-align: center;
}

.page-head img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 13, 18, .55), rgba(11, 13, 18, .75) 70%, var(--bg));
}

.page-head h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(34px, 6vw, 56px);
    letter-spacing: .08em;
}


.intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
}

.intro strong {
    display: block;
    margin-bottom: 16px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.4;
}

.intro em {
    color: var(--gold);
    font-style: normal;
}

.intro p {
    color: var(--muted);
}

.more {
    margin-top: 28px;
    text-align: center;
}

.more a:not(.btn) {
    color: var(--gold-light);
    font-weight: 700;
}

.btn-line {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 15px;
}

/* 게임 카드 */
.game-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.game-card .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.game-card .body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.game-card h3 {
    margin: 0 0 6px;
    font-size: 19px;
}

.game-card p {
    flex: 1;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
}

.game-card .actions {
    display: flex;
    gap: 10px;
}

.game-card .btn {
    padding: 10px 22px;
    font-size: 15px;
}

.game-card.soon .thumb {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 40%, #232836, #12151c);
}

.game-card.soon .thumb img {
    width: 30%;
    opacity: .35;
    filter: grayscale(1);
    object-fit: cover;
    object-position: left;
    aspect-ratio: 1;
}

.game-card.soon h3 {
    color: var(--muted);
}

.tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(217, 180, 90, .15);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
}

/* GAMES 페이지: 분류별 묶음 */
section.game-group {
    padding-bottom: 0;
}

section.game-group:last-child {
    padding-bottom: 72px;
}

.game-group h2 {
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid var(--gold);
    font-size: 22px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    font-size: 15px;
    font-weight: 600;
}

/* 메인: 한 화면씩 넘어가는 구역 (Tencent Games 느낌) */
/* 이동은 index.html 아래쪽 스크립트가 직접 한다 (브라우저의 부드러운 스크롤과 겹치지 않게 끔) */
html.snap {
    scroll-behavior: auto;
}

/* 구역이 화면에 들어오면 제목·링크가 아래에서 올라오며 나타난다 (스크립트가 .active 를 붙임) */
html.js .panel .panel-title,
html.js .panel .panel-links,
html.js .panel .panel-news-list {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

html.js .panel .panel-news-list {
    transition-delay: .12s;
}

html.js .panel .panel-links {
    transition-delay: .22s;
}

html.js .panel.active .panel-title,
html.js .panel.active .panel-links,
html.js .panel.active .panel-news-list {
    opacity: 1;
    transform: none;
}

html.js .panel .panel-art {
    transform: scale(1.06);
    transition: transform 1.6s ease;
}

html.js .panel.active .panel-art {
    transform: none;
}

html.js .panel.active .panel-art.cube {
    transform: translateY(-50%);
}

html.js .panel .panel-art.cube {
    transform: translateY(-50%) scale(1.06);
}

.top.clear {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.panel {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    color: #fff;
}

.panel-games {
    background: linear-gradient(120deg, #4636c9, #6a4cd6 55%, #8b58d2);
}

.panel-partner {
    background: linear-gradient(120deg, #2c5ad6, #4d8de6);
}

.panel-news {
    background: linear-gradient(120deg, #0a9fdb, #1670df);
}

.panel-tech {
    background: linear-gradient(120deg, #2b2a99, #3c52d8);
}

/* Technology 배경: 실제 SHA-256 해시 줄을 오른쪽에 흐리게 */
.panel-code {
    position: absolute;
    top: 50%;
    right: 4%;
    margin: 0;
    color: #fff;
    font-family: Consolas, "Courier New", monospace;
    font-size: clamp(12px, 1.25vw, 18px);
    line-height: 2.1;
    letter-spacing: .08em;
    white-space: pre;
    opacity: .16;
    transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
    mask-image: linear-gradient(90deg, transparent, #000 40%);
}

/* 오른쪽에 흐리게 깔리는 그림 (왼쪽으로 갈수록 사라짐) */
.panel-art {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
    mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.panel-art.cube {
    top: 50%;
    right: 6%;
    width: min(46vw, 520px);
    height: auto;
    object-fit: contain;
    opacity: .16;
    transform: translateY(-50%);
    -webkit-mask-image: none;
    mask-image: none;
}

.panel-body {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 110px 80px;
}

.panel-title {
    margin: 0 0 56px;
    font-family: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
    font-size: clamp(56px, 9vw, 128px);
    font-style: italic;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.01em;
}

.panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 44px;
}

.panel-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
}

.panel-links a::after {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.panel-links a:hover {
    color: #fff;
}

.panel-news-list {
    max-width: 760px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.panel-news-list li {
    display: flex;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    font-size: 17px;
}

.panel-news-list time {
    flex: none;
    width: 100px;
    opacity: .8;
}

/* 오른쪽 점 내비게이션 */
.dots {
    position: fixed;
    top: 50%;
    right: 40px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    transform: translateY(-50%);
}

.dots a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: .85;
}

.dots a.on {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    background: radial-gradient(circle, #fff 0 4px, transparent 5px);
    opacity: 1;
}

/* TECHNOLOGY 페이지: 항목마다 왼쪽 영문 이름 + 오른쪽 설명 */
.tech-list article {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
}

section.tech-list + section.tech-list {
    padding-top: 0;
}

.tech-list article:first-of-type {
    border-top: 1px solid var(--line);
}

.tech-label {
    margin: 0;
    color: var(--gold);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: .02em;
}

.tech-label small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .2em;
}

.tech-list .section-lead {
    margin: 0 0 36px;
    text-align: left;
}

.tech-list h2 {
    margin: 0 0 10px;
    font-size: 21px;
}

.tech-list p:not(.tech-label) {
    margin: 0 0 4px;
    color: var(--muted);
}

/* 소식 */
.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.news-list li {
    display: flex;
    gap: 24px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
}

.news-list time {
    flex: none;
    width: 96px;
    color: var(--gold);
    font-size: 14px;
}

.news-list strong {
    display: block;
}

.news-list span {
    color: var(--muted);
    font-size: 15px;
}

/* 문의 */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact article {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.contact h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--gold-light);
}

.contact p {
    margin: 0;
    color: var(--muted);
}

.placeholder {
    color: var(--red);
}

/* 아래 */
.bottom {
    padding: 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.bottom p {
    margin: 4px 0;
}

/* 휴대폰 */
@media (max-width: 760px) {
    .top {
        padding: 12px 16px;
    }

    .logo img {
        height: 30px;
    }

    .top nav {
        gap: 8px;
        font-size: 13px;
        letter-spacing: 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-text {
        padding: 0 16px 48px;
    }

    section:where(:not(.hero):not(.page-head):not(.panel)) {
        padding: 48px 16px;
    }

    .top {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .top nav {
        width: 100%;
        justify-content: space-between;
    }

    .page-head {
        min-height: 240px;
        padding-top: 96px;
    }

    .features,
    .gallery,
    .how ol,
    .game-cards,
    .contact {
        grid-template-columns: 1fr;
    }

    .news-list li {
        flex-direction: column;
        gap: 2px;
    }

    .features.two {
        grid-template-columns: 1fr;
    }

    .dots {
        display: none;
    }

    .hero-label {
        font-size: 12px;
        letter-spacing: .18em;
    }

    .tech-list article {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 28px 0;
    }

    .tech-label {
        font-size: 24px;
    }

    .tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tiles li {
        font-size: 16px;
    }

    section.letter {
        font-size: 16px;
    }

    .panel-code {
        right: -40%;
        font-size: 11px;
    }

    .panel-body {
        padding: 120px 20px 64px;
    }

    .panel-title {
        margin-bottom: 36px;
    }

    .panel-art {
        width: 100%;
        opacity: .22;
        -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
        mask-image: linear-gradient(180deg, #000, transparent 85%);
    }

    .panel-art.cube {
        right: -10%;
        width: 80vw;
    }

    .panel-news-list li {
        flex-direction: column;
        gap: 2px;
        font-size: 16px;
    }
}

/* 바로 위 구역과 붙여서 간격을 줄인다 */
section.tight-top {
    padding-top: 0;
}

/* 2026-10-23: 공통 브랜드 정돈 + ABOUT US 디자인 */
:root {
    --muted: #a8aab2;
}
.top {
    min-height: 88px;
    padding: 20px var(--header-gutter);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: rgba(11, 13, 18, .92);
}
.top nav {
    gap: clamp(20px, 2.8vw, 42px);
    font-size: 13px;
    letter-spacing: .07em;
}
.top nav a {
    padding: 10px 0;
    transition: color .2s ease;
}
a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 6px;
}
.bottom {
    padding: 30px max(24px, calc((100vw - 1280px) / 2));
    text-align: left;
    font-size: 12px;
    letter-spacing: .08em;
}
.about-page {
    background: #101115;
}
.about-page .page-head {
    min-height: 540px;
    padding: 168px max(32px, calc((100vw - 1216px) / 2)) 84px;
    display: flex;
    align-items: flex-end;
    text-align: left;
    background: #14151a;
    border-bottom: 1px solid var(--line);
}
.about-page .page-head::after {
    background: linear-gradient(90deg, #14151a 20%, transparent 90%);
    pointer-events: none;
}
.about-page .page-head > div:not(.about-emblem) {
    position: relative;
    z-index: 1;
}
.eyebrow, .section-index > span {
    margin: 0 0 24px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
}
.about-page .page-head h1 {
    font-family: Arial, sans-serif;
    font-size: clamp(60px, 8.4vw, 118px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.065em;
    color: #f6f3eb;
}
.title-dot {
    color: var(--gold);
}
.about-subtitle {
    margin: 26px 0 0;
    color: #bdbcb7;
    font-size: 17px;
    letter-spacing: .02em;
}
.about-page .about-emblem {
    position: absolute;
    right: 8%;
    top: 116px;
    width: 310px;
    height: 350px;
    transform: rotate(-12deg);
    opacity: .16;
}
.about-page .about-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.about-page section.letter {
    max-width: 1280px;
    padding: 104px 32px 108px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}
.section-index h2 {
    margin: 16px 0 0;
    font-size: 20px;
    font-weight: 500;
}
.about-page .letter-greeting {
    max-width: 640px;
    margin: -8px 0 34px;
    color: var(--text);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.5;
    letter-spacing: -.045em;
}
.letter-body > p:not(.letter-greeting) {
    max-width: 670px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 18px;
}
.about-page section.responsible {
    max-width: 1280px;
    padding: 80px 32px 104px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 100px;
}
.principles-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
}
.about-page .section-title {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 600;
    letter-spacing: -.04em;
    text-align: left;
}
.about-page .section-lead {
    margin: 0;
    text-align: left;
    font-size: 14px;
}
.about-page .features {
    gap: 0;
    border-top: 1px solid #5b5341;
}
.about-page .features article {
    position: relative;
    min-height: 260px;
    padding: 32px 40px 36px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.about-page .features article:nth-child(even) {
    padding-left: 40px;
    border-left: 1px solid var(--line);
}
.principle-number {
    display: block;
    margin-bottom: 24px;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
}
.about-page .features h3 {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.03em;
}
.about-page .features p {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.85;
}
.about-page .card-link {
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: .1em;
}
.about-page section.about-contact {
    max-width: none;
    padding: 56px max(32px, calc((100vw - 1216px) / 2));
    background: #1c1d22;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.about-contact .eyebrow {
    margin-bottom: 12px;
}
.about-contact h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
}
.about-contact a {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gold);
    font-size: 14px;
}
.about-contact a span {
    color: var(--gold);
    font-size: 24px;
}
@media (max-width: 760px) {
    .top {
        min-height: 94px;
        padding: 12px 20px;
    }
    .top nav {
        gap: 8px;
        font-size: 10px;
        letter-spacing: .01em;
    }
    .top nav a {
        padding: 5px 0;
    }
    .about-page .page-head {
        min-height: 390px;
        padding: 162px 24px 52px;
    }
    .about-page .about-emblem {
        right: -36px;
        top: 122px;
        width: 210px;
        height: 230px;
        opacity: .12;
    }
    .about-subtitle {
        font-size: 14px;
    }
    .about-page section.letter {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 24px;
    }
    .about-page .letter-greeting {
        font-size: 27px;
    }
    .about-page section.responsible {
        padding: 48px 24px 64px;
    }
    .principles-heading {
        display: block;
        margin-bottom: 32px;
    }
    .about-page .section-lead {
        margin-top: 20px;
    }
    .about-page .section-lead br {
        display: none;
    }
    .about-page .features article,
    .about-page .features article:nth-child(even) {
        min-height: auto;
        padding: 28px 0;
        border-left: 0;
    }
    .about-page section.about-contact {
        padding: 40px 24px;
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* 7페이지 공통 디자인: 차콜 바탕, 얇은 구획선, 골드 인덱스.
   기존 회사 소개의 디자인과 메인의 화면 단위 이동을 함께 사용한다. */
:root {
    --bg: #101115;
    --panel: #191a20;
    --line: #303137;
    --text: #f1efe8;
    --muted: #a6a7af;
    --gold: #cbb17b;
    --gold-light: #e8d6ae;
    --header-gutter: max(32px, calc((100vw - 1280px) / 2));
    --games-desktop-gutter: clamp(24px, 2.5vw, 56px);
    --page-gutter: max(32px, calc((100vw - 1216px) / 2));
}

::selection {
    color: #101115;
    background: var(--gold-light);
}

body {
    -webkit-font-smoothing: antialiased;
}

main {
    min-height: calc(100svh - 118px);
}

[id] {
    scroll-margin-top: 116px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--gold-light);
    color: var(--bg);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: none;
}

@media (min-width: 1051px) {
    .top { padding-inline: var(--games-desktop-gutter); }
}

.top,
.top.clear {
    background: rgba(16, 17, 21, .86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.top nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.top nav a:hover::after,
.top nav a.on::after {
    transform: scaleX(1);
}

.btn,
.btn-line,
.hero-actions .btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 52px;
    padding: 15px 25px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.btn {
    background: var(--gold-light);
    color: #201d16;
}

.btn-line {
    background: transparent;
}

.btn::after,
.btn-line::after {
    content: "↗";
    font-size: 20px;
    line-height: 1;
}

.btn:hover {
    background: #f5e9cf;
    filter: none;
}

.btn-line:hover {
    background: rgba(203, 177, 123, .1);
    border-color: var(--gold-light);
}

section:where(:not(.hero):not(.page-head):not(.panel)) {
    max-width: 1280px;
    padding: 88px 32px;
}

.section-title {
    margin-bottom: 34px;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    letter-spacing: -.045em;
    text-align: left;
}

.eyebrow {
    line-height: 1.5;
}

/* 메인: 영상 중앙을 비우고 문구와 스크롤 안내만 아래 양끝에 둔다. */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.hero.brand {
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    background: radial-gradient(ellipse at 78% 42%, #2c2924 0, #19191d 30%, #101115 65%);
}

.hero.brand::before {
    top: 50%;
    left: 74%;
    width: min(48vw, 620px);
    transform: translate(-50%, -50%) rotate(-13deg);
    opacity: .045;
}

.hero.brand::after {
    background: linear-gradient(90deg, rgba(16, 17, 21, .25), transparent 65%),
        linear-gradient(0deg, #101115, transparent 24%);
}

.hero.brand .hero-text {
    padding: 0 var(--page-gutter) 48px;
    text-align: left;
}

.hero.brand h1 {
    margin-bottom: 25px;
    color: var(--text);
    background: none;
    font-family: Arial, sans-serif;
    font-size: clamp(72px, 10.5vw, 154px);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: .95;
}

.hero-label {
    margin: 0;
    color: #c5c3bd;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2em;
}

.hero.brand.has-video::after {
    background: linear-gradient(0deg, rgba(16, 17, 21, .6), transparent 23%);
}

.hero-actions {
    justify-content: flex-start;
    gap: 12px;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: var(--page-gutter);
    bottom: 36px;
    left: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
    color: #c5c3bd;
    font-size: 10px;
    letter-spacing: .18em;
}

.hero-scroll span:last-child {
    color: var(--gold);
    font-size: 24px;
}

/* 색의 순서는 유지하되 페이지의 차콜·골드와 연결되는 깊은 색으로. */
.panel-games {
    background: linear-gradient(120deg, #1a162b, #383052 70%, #504167);
}

.panel-tech {
    background: linear-gradient(120deg, #111821, #203349 75%, #2a4660);
}

.panel-partner {
    background: linear-gradient(120deg, #16232c, #294653 75%, #3c5966);
}

.panel-news {
    background: linear-gradient(120deg, #18282d, #2a454a 75%, #37575c);
}

.panel::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, .12);
}

.panel-body {
    max-width: none;
    padding: 140px var(--page-gutter) 100px;
}

.panel-index {
    margin-bottom: 28px;
    color: var(--gold-light);
}

.panel-title {
    max-width: calc(100% - 24px);
    margin-bottom: 54px;
    font-size: clamp(68px, 9vw, 134px);
    font-style: normal;
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: 1;
}

.panel-links {
    gap: 16px 36px;
}

.panel-links a {
    gap: 32px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    font-size: 17px;
    font-weight: 500;
}

.panel-links a:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.panel-links a::after {
    width: 7px;
    height: 7px;
    border-width: 1px;
}

.panel-art {
    width: 70%;
    opacity: .4;
    mix-blend-mode: luminosity;
}

.panel-art.cube {
    opacity: .2;
}

.panel-code {
    padding: 36px 0;
    border-block: 1px solid rgba(255, 255, 255, .2);
    color: #c4e3ed;
    font-size: clamp(12px, 1.4vw, 20px);
    line-height: 2.6;
    opacity: .2;
}

.panel-news-list {
    max-width: 850px;
    margin-bottom: 26px;
}

.panel-news-list li {
    padding: 23px 0;
    border-color: rgba(255, 255, 255, .18);
    font-size: 18px;
}

.panel-news-list strong {
    font-weight: 500;
}

.panel-news-list time {
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: .04em;
}

.dots {
    right: 26px;
    gap: 10px;
}

.dots a,
.dots a.on {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid transparent;
    background: transparent;
    opacity: 1;
}

.dots a::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
}

.dots a.on {
    border-color: var(--gold);
}

.dots a.on::before {
    background: var(--gold-light);
}

.dots a::after {
    content: attr(aria-label);
    position: absolute;
    top: 3px;
    right: 38px;
    color: var(--gold-light);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s ease;
}

.dots a:hover::after,
.dots a:focus-visible::after {
    opacity: 1;
}

/* 하위 페이지: 회사 소개와 같은 편집형 제목. */
.page-head {
    display: flex;
    align-items: flex-end;
    min-height: 490px;
    padding: 168px var(--page-gutter) 76px;
    border-bottom: 1px solid var(--line);
    background: #14151a;
    text-align: left;
}

.page-head::after {
    background: linear-gradient(90deg, #14151a 20%, transparent 90%);
    pointer-events: none;
}

.page-head > div:not(.page-emblem):not(.about-emblem) {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.page-head h1 {
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: clamp(60px, 8.4vw, 118px);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: 1;
}

.page-emblem {
    position: absolute;
    top: 100px;
    right: 8%;
    width: 310px;
    height: 350px;
    transform: rotate(-12deg);
    opacity: .12;
}

.page-emblem img {
    object-fit: contain;
    object-position: center;
}

.technology-page .page-head {
    background: #151a20;
}

.technology-page .page-head::after {
    background: linear-gradient(90deg, #151a20 20%, transparent);
}

.page-head-photo .page-head-art {
    object-position: 76% 45%;
}
.technology-page .page-head-photo { --page-photo-shade: #101419a8; }
.technology-page .page-head-photo .page-head-art {
    object-position: 76% 20%;
}
.page-head.page-head-photo::after {
    background: linear-gradient(90deg, var(--page-photo-shade, #101419df), #10141980 39%, transparent 78%),
        linear-gradient(0deg, #101419b3, transparent 50%);
}

.news-page .page-head,
.contact-page .page-head {
    min-height: 430px;
}

.page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 52px;
    padding: 25px var(--page-gutter);
    border-bottom: 1px solid var(--line);
}

.page-tabs a {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 6px 0;
    font-size: 14px;
}

.page-tabs a:hover {
    color: var(--gold-light);
}

.page-tabs span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .06em;
}

/* 게임 컬렉션: 실제 장면을 넓게, 이름 타일은 분류별 색으로. */
section.game-group {
    padding-top: 72px;
    scroll-margin-top: 88px;
}

section.game-group:last-child {
    padding-bottom: 100px;
}

.game-group h2 {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.group-number {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .08em;
}

.games-page .game-cards {
    grid-template-columns: 1fr;
}

.games-page .game-card {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #191a20;
}

.games-page .game-card .thumb {
    height: 100%;
    min-height: 300px;
    aspect-ratio: 16 / 9;
}

.games-page .game-card .body {
    justify-content: center;
    padding: 40px;
}

.games-page .game-card h3 {
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.games-page .game-card p {
    flex: none;
    margin-bottom: 28px;
    font-size: 14px;
}

.games-page .game-card p.eyebrow {
    margin-bottom: 24px;
    color: var(--gold);
    font-size: 10px;
}

.tiles {
    gap: 14px;
    counter-reset: game;
}

.tiles li {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.75;
    padding: 35px 24px 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 3px;
    font-size: 17px;
    font-weight: 500;
    counter-increment: game;
}

.tiles li::before {
    content: counter(game, decimal-leading-zero);
    position: absolute;
    top: 12px;
    left: 16px;
    color: rgba(255, 255, 255, .42);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .1em;
}

.tiles li::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -56px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.tiles.mini li {
    background: linear-gradient(125deg, #272334, #353047);
}

.tiles.casino li {
    background: linear-gradient(125deg, #302027, #422a33);
}

.tiles.slot li {
    background: linear-gradient(125deg, #2b2821, #40392b);
    font-size: 15px;
    letter-spacing: .025em;
    overflow-wrap: anywhere;
}

/* 게임 상세: 사진을 중심에 두고 나머지 정보는 얇은 선으로 정리. */
.game-dice-page .hero {
    min-height: 88vh;
    min-height: 88svh;
}

.game-dice-page .hero::after {
    background: linear-gradient(180deg, rgba(16, 17, 21, .12) 25%, rgba(16, 17, 21, .35) 45%, #101115 100%);
}

.game-dice-page .hero-text {
    padding: 170px var(--page-gutter) 64px;
    text-align: left;
}

.game-dice-page .hero h1 {
    margin-bottom: 32px;
    color: var(--text);
    background: none;
    font-size: clamp(44px, 6.5vw, 88px);
    letter-spacing: -.06em;
    line-height: 1.2;
}

.game-dice-page .features {
    gap: 0;
    padding-top: 38px;
    padding-bottom: 38px;
}

.game-dice-page .features article {
    padding: 28px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.game-dice-page .features article:first-child {
    padding-left: 0;
}

.game-dice-page .features article:last-child {
    border-right: 0;
}

.game-dice-page .features h2 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
}

.game-dice-page .features p {
    font-size: 14px;
}

.gallery {
    gap: 20px;
}

.gallery figure {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.gallery figcaption {
    padding: 20px 0;
    font-size: 14px;
}

.how ol {
    gap: 28px;
}

.how li {
    padding: 28px 0;
    border: 0;
    border-top: 1px solid #5b5341;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1.9;
}

.how li::before,
.how li:nth-child(2)::before,
.how li:nth-child(3)::before {
    content: "0" counter(step);
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 24px;
    background: none;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .08em;
}

.how strong {
    margin-bottom: 12px;
    font-size: 23px;
    font-weight: 500;
}

.how .more {
    margin-top: 40px;
}

/* 기술 문서: 번호와 이름을 고정 축으로 맞춘다. */
.tech-list article {
    grid-template-columns: minmax(260px, 1fr) 2fr;
    gap: 60px;
    padding: 42px 0;
    scroll-margin-top: 110px;
}

.tech-list .section-lead {
    margin-bottom: 40px;
    color: var(--text);
    font-size: 24px;
    letter-spacing: -.035em;
}

.tech-label {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -.02em;
}

.tech-label small {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 10px;
}

.tech-list h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.035em;
}

.tech-list p:not(.tech-label):not(.section-lead) {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.9;
}

/* 소식과 문의: 준비된 정보만 보여 주는 명료한 지면. */
.news-list {
    border-top-color: #645940;
}

.news-list li {
    align-items: baseline;
    gap: 60px;
    padding: 36px 0;
}

.news-list time {
    width: 150px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: .04em;
}

.news-list strong {
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.035em;
}

.news-list span {
    display: block;
    line-height: 1.9;
}

.contact {
    gap: 24px;
}

.contact article {
    position: relative;
    min-height: 270px;
    padding: 36px 40px;
    border: 1px solid var(--line);
    border-top: 1px solid #756345;
    border-radius: 2px;
    background: linear-gradient(135deg, #1d1d22, #17181d);
}

.contact-number {
    display: block;
    margin-bottom: 48px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .16em;
}

.contact h2 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.contact .placeholder {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
}

.contact .placeholder::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.bottom {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 118px;
    padding: 30px var(--page-gutter);
    background: #0c0d10;
}

.footer-logo img {
    width: 142px;
    height: auto;
    opacity: .75;
}

.bottom p {
    margin-left: auto;
    font-size: 10px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text);
    font-size: 10px;
}

.footer-contact span {
    color: var(--gold);
    font-size: 20px;
}

@media (min-width: 761px) and (max-width: 1050px) {
    :root { --header-gutter: 28px; }
    .logo img {
        height: 34px;
    }
    .top nav {
        gap: 18px;
        font-size: 11px;
    }
    .games-page .game-card .body {
        padding: 28px;
    }
    .tech-list article {
        grid-template-columns: 240px 1fr;
        gap: 32px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-gutter: 20px;
        --page-gutter: 24px;
    }
    .top {
        min-height: 104px;
        padding: 12px var(--header-gutter) 8px;
        row-gap: 8px;
    }
    .top nav a {
        padding: 8px 0;
    }
    [id] {
        scroll-margin-top: 124px;
    }
    section:where(:not(.hero):not(.page-head):not(.panel)) {
        padding: 56px 24px;
    }
    .hero.brand .hero-text {
        padding: 0 24px 40px;
    }
    .hero.brand h1 {
        font-size: clamp(48px, 12vw, 88px);
        letter-spacing: -.06em;
    }
    .hero.brand::before {
        top: 44%;
        left: 75%;
        width: 78vw;
        opacity: .045;
    }
    .hero-label {
        max-width: 205px;
        margin: 0;
        font-size: 8px;
        letter-spacing: .1em;
    }
    .hero-actions {
        gap: 10px;
    }
    .btn,
    .btn-line,
    .hero-actions .btn-line {
        gap: 24px;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 13px;
    }
    .hero-scroll {
        bottom: 26px;
        gap: 14px;
        font-size: 8px;
    }
    .panel-body {
        padding: 140px 24px 90px;
    }
    .panel-title {
        max-width: 100%;
        margin-bottom: 36px;
        font-size: clamp(42px, 10.8vw, 78px);
        letter-spacing: -.065em;
    }
    .panel-index {
        margin-bottom: 24px;
        font-size: 10px;
    }
    .panel-links {
        gap: 8px 24px;
    }
    .panel-links a {
        gap: 24px;
        font-size: 15px;
    }
    .panel-art {
        width: 100%;
        opacity: .23;
    }
    .panel-art.cube {
        right: -20%;
        width: 90vw;
        opacity: .14;
    }
    .panel-code {
        right: -80%;
        font-size: 12px;
    }
    .panel-news-list li {
        gap: 9px;
        padding: 22px 0;
        font-size: 16px;
    }
    .panel-news-list time {
        font-size: 11px;
    }
    .page-head,
    .news-page .page-head,
    .contact-page .page-head {
        min-height: 340px;
        padding: 166px 24px 52px;
    }
    .page-head h1 {
        font-size: clamp(40px, 10.6vw, 76px);
    }
    .page-head .eyebrow {
        font-size: 9px;
    }
    .page-emblem {
        top: 116px;
        right: -32px;
        width: 200px;
        height: 230px;
        opacity: .1;
    }
    .page-tabs {
        gap: 10px 28px;
        padding: 20px 24px;
    }
    .page-tabs a {
        gap: 12px;
        font-size: 12px;
    }
    section.game-group {
        padding-top: 48px;
        scroll-margin-top: 104px;
    }
    section.game-group:last-child {
        padding-bottom: 64px;
    }
    .game-group h2 {
        gap: 14px;
        margin-bottom: 22px;
        font-size: 24px;
    }
    .games-page .game-card {
        grid-template-columns: 1fr;
    }
    .games-page .game-card .thumb {
        min-height: 0;
        height: auto;
    }
    .games-page .game-card .body {
        padding: 28px 24px;
    }
    .games-page .game-card h3 {
        font-size: 28px;
    }
    .games-page .game-card p {
        font-size: 13px;
    }
    .tiles {
        gap: 10px;
    }
    .tiles li {
        min-height: 108px;
        aspect-ratio: auto;
        padding: 32px 14px 20px;
        font-size: 14px;
    }
    .tiles.slot li {
        font-size: 12px;
    }
    .tiles li::before {
        top: 10px;
        left: 12px;
        font-size: 9px;
    }
    .game-dice-page .hero {
        min-height: 82svh;
    }
    .game-dice-page .hero-text {
        padding: 180px 24px 44px;
    }
    .game-dice-page .hero h1 {
        font-size: 44px;
    }
    .game-dice-page .features article,
    .game-dice-page .features article:first-child {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .gallery {
        gap: 24px;
    }
    .how ol {
        gap: 0;
    }
    .tech-list article {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
        scroll-margin-top: 124px;
    }
    .tech-label {
        display: flex;
        align-items: baseline;
        gap: 16px;
        font-size: 19px;
    }
    .tech-label small {
        margin: 0;
    }
    .tech-list h2 {
        font-size: 20px;
    }
    .tech-list .section-lead {
        margin-bottom: 30px;
        font-size: 21px;
    }
    .tech-list p:not(.tech-label):not(.section-lead) {
        font-size: 14px;
    }
    .news-list li {
        gap: 16px;
        padding: 28px 0;
    }
    .news-list strong {
        font-size: 20px;
    }
    .news-list time {
        font-size: 12px;
    }
    .news-list span {
        font-size: 14px;
    }
    .contact {
        gap: 20px;
    }
    .contact article {
        min-height: 240px;
        padding: 28px;
    }
    .contact h2 {
        font-size: 28px;
    }
    .bottom {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding: 32px 24px;
    }
    .footer-logo img {
        width: 132px;
    }
    .bottom p {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
    }
}

/* 메인 첫 화면 영상이 고정 상단 메뉴에 가려지지 않게(2026-10-26 사용자 요청): 영상과 어둡게 덮는 층을 메뉴 아래부터 그린다.
   메뉴 높이는 index.html 스크립트가 실제 높이를 --menu-h 로 넣고, 스크립트가 없으면 아래 기본값을 쓴다 */
.hero.brand {
    --menu-h: 88px;
}

.hero.brand .hero-video,
.hero.brand.has-video::after {
    top: var(--menu-h);
    height: calc(100% - var(--menu-h));
}

/* 영상이 영역보다 클 때(16:9 모니터 등) 잘리는 쪽을 아래(수면)로 보내고 위(건물 꼭대기)는 항상 보이게 */
.hero.brand .hero-video {
    object-position: 50% 0;
}

.hero-finale[hidden] { display: none; }
.hero-finale:not([hidden]) + .hero-text > :not(.visually-hidden) { visibility: hidden; }
.hero-finale {
    position: absolute;
    z-index: 1;
    inset: var(--menu-h, 88px) 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    --finale-message-gap: clamp(14px, 2.4vw, 28px);
    row-gap: var(--finale-message-gap);
    padding: 24px;
    background: radial-gradient(ellipse at center, rgb(9 11 18 / 80%), rgb(9 11 18 / 40%) 76%);
    pointer-events: none;
    text-align: center;
}
.hero-finale p {
    max-width: 25ch;
    margin: 0;
    color: #fff8ee;
    font-size: clamp(25px, 4.6vw, 66px);
    font-weight: 650;
    line-height: 1.24;
    letter-spacing: -.045em;
    word-break: keep-all;
    text-shadow: 0 2px 24px #000e;
}
.hero-finale .hero-finale-casino {
    position: relative;
    max-width: 100%;
}
.hero-finale-casino::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: calc(100% + (var(--finale-message-gap) - 1px) / 2);
    width: clamp(88px, 18vw, 240px);
    height: 1px;
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, #f4d998d9 50%, transparent);
}
.hero-finale p { translate: 0 clamp(-36px, -3vw, -24px); }
.hero-finale strong { color: #f4d998; }
.hero-finale span { display: block; }
@media (max-height: 540px) {
    .hero-finale p { font-size: min(clamp(25px, 4.6vw, 66px), 8svh); }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-finale { animation: hero-finale-fade 1.7s ease both; }
    .hero-finale > * { animation: hero-finale-rise 1.7s cubic-bezier(.2, .75, .25, 1) both; }
}
@keyframes hero-finale-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes hero-finale-rise {
    from { transform: translateY(14px); }
    to { transform: translateY(0); }
}

/* 영상이 끝나면 마지막 장면에서 게임 구역으로 이어진다. */
.hero.brand.video-exit .hero-video {
    transform: scale(1.045);
    filter: brightness(.55);
    transition: transform 1.1s ease-out, filter .65s ease;
}
.games-showcase.video-arrival:not(.active) :is(.dice-destination, .games-free-callout, .games-showcase-feature, .game-ribbons) {
    opacity: 0;
}
.games-showcase.video-arrival.active :is(.dice-destination, .games-free-callout, .games-showcase-feature, .game-ribbons) {
    animation: games-video-reveal .65s ease-out both;
}
.games-showcase.video-arrival.active :is(.games-free-callout, .games-showcase-feature) { animation-delay: .12s; }
.games-showcase.video-arrival.active .game-ribbons { animation-delay: .22s; }
@keyframes games-video-reveal {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: 0 0; }
}

@media (max-width: 760px) {
    .hero.brand {
        --menu-h: 104px;
    }
}


/* 2026-10-26: DP 워드마크와 실제 공간 중심의 메인 사진 구역. */
.logo img {
    width: 226px;
    height: auto;
}

.footer-logo img {
    width: 178px;
}

.home-page {
    --intro-headroom: clamp(16px, 2.5vh, 30px);
    --intro-start: max(0px, var(--intro-headroom) + var(--intro-offset, 0px));
    --intro-top: calc(var(--menu-h, 88px) + var(--intro-start));
}
.home-page main > .panel:not(.games-showcase) {
    align-items: flex-start;
}
.home-page main > .panel:not(.games-showcase) > .panel-body {
    padding-block: var(--intro-top) 48px;
}
@media (min-width: 761px) and (max-height: 720px) {
    .home-page { --intro-headroom: 18px; }
}
@media (max-width: 760px) {
    .home-page {
        --intro-headroom: 16px;
        --intro-top: var(--intro-start);
    }
}

.home-page .panel {
    scroll-margin-top: 0;
}

.panel-photo {
    --panel-heading-size: clamp(68px, 8.4vw, 124px);
    background: #101416;
}

.panel-photo .panel-art {
    top: var(--menu-h, 88px);
    width: 100%;
    height: calc(100% - var(--menu-h, 88px));
    opacity: .88;
    mix-blend-mode: normal;
    object-position: 60% top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 20%, #000 66%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 20%, #000 66%);
}

@media (min-width: 761px) {
    .panel-tech.panel-photo .panel-art {
        mask-image: linear-gradient(90deg, #0009, #000c 40%, #000 66%);
    }
}

.panel-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 12, 15, .32), transparent 28%, transparent 75%, rgba(8, 12, 15, .28));
}

.panel-photo .panel-title {
    font-size: var(--panel-heading-size);
    font-weight: 500;
    letter-spacing: -.055em;
    text-shadow: 0 2px 32px rgba(0, 0, 0, .16);
}

.panel-photo .panel-links {
    width: fit-content;
    max-width: 100%;
}

@media (max-width: 1050px) {
    .logo img {
        width: 192px;
    }
}

@media (max-width: 760px) {
    .logo img {
        width: 174px;
    }
    .footer-logo img {
        width: 154px;
    }
    .home-page .panel {
        scroll-margin-top: var(--menu-h, 104px);
    }
    .panel-photo {
        align-items: flex-end;
    }
    .panel-photo .panel-art {
        top: 0;
        height: 76%;
        object-position: 65% top;
        opacity: .85;
        -webkit-mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .8) 48%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .8) 48%, transparent 100%);
    }
    .panel-tech.panel-photo .panel-art,
    .panel-partner.panel-photo .panel-art {
        object-position: 82% top;
    }
    .panel-photo .panel-body {
        padding: 52svh 24px 64px;
    }
    .panel-photo .panel-title {
        margin-bottom: 32px;
        font-size: clamp(42px, 10.8vw, 78px);
    }
    .panel-photo .panel-index {
        margin-bottom: 20px;
    }
}


/* 구입을 검토하는 파트너에게 전하는 핵심 장점: 구역마다 한 문장. */
.hero-value {
    margin: 0 0 12px;
    color: #f3efe6;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.5;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .65);
}

.home-page .panel:has(.panel-value) .panel-title {
    margin-bottom: 22px;
}

.panel-value {
    --panel-summary-size: clamp(18px, 1.6vw, 23px);
    max-width: 32em;
    margin: 0 0 42px;
    color: #ede8dd;
    font-size: var(--panel-summary-size);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.65;
    text-wrap: balance;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .4);
}

html.js .panel .panel-value {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease .12s, transform .7s ease .12s;
}

html.js .panel.active .panel-value {
    opacity: 1;
    transform: none;
}

@media (max-width: 760px) {
    .hero-value {
        max-width: 340px;
        font-size: 23px;
    }
    .home-page .panel:has(.panel-value) .panel-title {
        margin-bottom: 18px;
    }
    .panel-value {
        max-width: 23em;
        margin-bottom: 30px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js .panel .panel-value {
        transition: none;
    }
}


.panel-tech .panel-value { margin-bottom: 24px; }
.tech-highlights {
    display: grid;
    gap: 10px;
    max-width: 660px;
    margin-bottom: 20px;
}
.tech-summary-card {
    display: block;
    overflow: hidden;
    transition: border-color .2s, background-color .2s;
    border: 1px solid #dec28b55;
    border-radius: 10px;
    background: linear-gradient(160deg, #1a232df5, #10151df5 72%);
}
.tech-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #dec28b55;
    background: linear-gradient(90deg, #d9bb801c, #d9bb8009);
}
.tech-card-header h3 {
    margin: 0;
    color: #f5dfad;
    font-size: 1.05rem;
    line-height: 1.3;
}
.tech-summary-card ul {
    display: grid;
    margin: 0;
    padding: 2px 14px 6px;
    color: #eee8df;
    font-size: 13px;
    line-height: 1.5;
    list-style: none;
}
.tech-summary-card li {
    display: grid;
    grid-template-columns: 5.8em minmax(0, 1fr);
    gap: 6px;
    padding: 7px 0;
    border-top: 1px solid #dec28b29;
    overflow-wrap: anywhere;
}
.tech-summary-card li:first-child { border-top: 0; }
.tech-summary-card li strong { color: #f2d59b; }
@media (min-width: 660px) {
    .tech-summary-card ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-block: 8px 11px;
    }
    .tech-summary-card li {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 3px;
        padding: 0 10px;
        border: 0;
    }
    .tech-summary-card li:first-child { padding-inline-start: 0; }
    .tech-summary-card li:last-child { padding-inline-end: 0; }
    .tech-summary-card li + li { border-inline-start: 1px solid #dec28b29; }
}
@media (min-width: 1051px) {
    .tech-highlights { max-width: min(660px, 62%); }
}

/* 메인 두 번째 화면: 분류 선택과 서로 반대로 흐르는 게임 배너. */
.games-showcase {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(26px, 4vh, 48px);
    padding: calc(var(--menu-h, 88px) + 35px) 0 48px;
}
.games-showcase .panel-art {
    opacity: .88;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 66%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 66%);
}
.games-showcase .panel-body {
    padding: 0 var(--page-gutter);
}
.games-showcase .panel-index {
    margin-bottom: 16px;
}
.games-showcase .panel-title {
    font-size: clamp(54px, 5.4vw, 76px);
}
.home-page .games-showcase:has(.panel-value) .panel-title {
    margin-bottom: 12px;
}
.games-showcase .panel-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
    margin-bottom: 24px;
    font-size: clamp(16px, 1.45vw, 21px);
}
.games-free-label {
    color: #f2d59b;
    font-weight: 600;
}
.games-showcase .games-free-label { font-size: .85em; }
.game-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
#dice-showcase .game-selector:not(:has(button:not([hidden]))),
.game-selector[hidden], .game-motion[hidden] {
    display: none;
}
.game-filters {
    display: flex;
    gap: clamp(14px, 1.4vw, 24px);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 16px;
    border: 1px solid rgba(223, 193, 139, .2);
    border-radius: 4px;
    background: rgba(12, 15, 18, .82);
}
.game-filters button {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 0 15px;
    border: 0;
    background: none;
    color: #eeeae2;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s;
}
.game-filters small {
    color: #bcb7ac;
    font-size: 10px;
    letter-spacing: .06em;
}
.game-filters button::after {
    position: absolute;
    content: "";
    height: 2px;
    inset: auto 0 0;
    background: #dfc18b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.game-filters button:hover, .game-filters button[aria-pressed="true"] {
    color: #ffe0a1;
}
.game-filters button:focus-visible {
    outline: 2px solid #ffe0a1;
    outline-offset: -3px;
}
.game-filters button:hover::after {
    transform: scaleX(.35);
}
.game-filters button[aria-pressed="true"]::after {
    transform: scaleX(1);
}
.game-filters button[aria-pressed="true"] small {
    color: #dfc18b;
}
.game-motion {
    flex-shrink: 0;
    padding: 8px 0 8px 12px;
    border: 0;
    background: none;
    color: #c8c4ba;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.game-motion span {
    margin-left: 5px;
}
.game-ribbons {
    position: relative;
    top: 36px;
    z-index: 1;
    display: grid;
    gap: 8px;
}
.game-ribbon {
    overflow: hidden;
    padding: 3px 0;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.game-track {
    display: flex;
    width: max-content;
    animation: game-banner-drift 65s linear infinite;
    animation-play-state: paused;
}
.game-banner-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 9px;
    min-width: 100vw;
    padding-right: 9px;
}
.game-ribbon-reverse .game-track {
    animation-direction: reverse;
    animation-duration: 72s;
}
.banners-visible .game-track {
    animation-play-state: running;
}
.banners-paused .game-track,
.game-ribbons:hover .game-track,
.game-ribbons:focus-within .game-track {
    animation-play-state: paused;
}
.game-banner {
    --banner-color: #663044;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    flex: 0 0 auto;
    width: clamp(150px, 12.6vw, 180px);
    height: auto;
    overflow: hidden;
    border: 1px solid #ffffff20;
    border-radius: 4px;
    background: radial-gradient(ellipse at 88% 15%, var(--banner-color), transparent 76%), #171c25;
    color: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.banner-emerald { --banner-color: #285c50; }
.banner-blue { --banner-color: #244a77; }
.banner-violet { --banner-color: #594478; }
.banner-amber { --banner-color: #78572d; }
.game-banner::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -17.5px;
    top: -32.5px;
    border: 1px solid #ffffff16;
    border-radius: 50%;
}
.game-banner:hover {
    border-color: #e7c68b;
    box-shadow: inset 0 0 28px #ffe2a00c;
}
.banner-kicker {
    display: none;
    position: absolute;
    z-index: 1;
    left: 22px;
    top: 21px;
    font-size: 9px;
    letter-spacing: .14em;
    color: #e5d8bf;
}
.banner-art {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
    min-width: 0;
    filter: drop-shadow(0 5px 6px #0005);
    transition: transform .4s;
}
.game-banner:hover .banner-art {
    transform: translateY(-2px) rotate(3deg);
}
.banner-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 9px;
    text-align: center;
    background: #14191f;
    text-shadow: 0 2px 12px #000;
}
.banner-copy strong {
    display: block;
    max-width: 100%;
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: normal;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.18;
}
.banner-copy > span {
    display: none;
    margin-top: 8px;
    font-size: 11px;
    color: #d7d5d3;
}
.banner-arrow {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #ead7b0;
    font-size: 10px;
}
/* 실제 게임 캡처는 16:9 전체 화면과 설명을 분리한다. */
.game-banner.game-banner-capture {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 0;
    background: #14191f;
}
.game-banner-capture::before {
    content: none;
}
.banner-capture {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #080c10;
}
.game-banner-capture .banner-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-top: 1px solid #d7b77b40;
    background: linear-gradient(110deg, #202127, #12161d);
    text-align: left;
    text-shadow: none;
}
.game-banner-capture .banner-identity {
    display: grid;
    gap: 4px;
    margin: 0;
    min-width: 0;
}
.banner-identity small {
    color: #bdad8d;
    font-size: 8px;
    line-height: 1;
    letter-spacing: .12em;
}
.banner-identity strong {
    color: #f4efe5;
    font-weight: 600;
    letter-spacing: -.025em;
}
.banner-variant {
    flex-shrink: 0;
    padding: 5px 6px;
    border: 1px solid #d7b77b55;
    border-radius: 3px;
    color: #ead1a1;
    background: #d7b77b0a;
    font-size: 10px;
    font-style: normal;
    line-height: 1;
}
.game-filters button:focus-visible,
.game-motion:focus-visible,
.game-banner:focus-visible {
    outline: 2px solid #f0d397;
    outline-offset: 3px;
}
.game-ribbon:focus-within {
    overflow-x: auto;
}
.game-ribbon:focus-within .game-track {
    animation: none;
}
@keyframes game-banner-drift {
    to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
    .games-showcase {
        justify-content: center;
        gap: 26px;
        min-height: 100svh;
        padding: 52px 0 56px;
    }
    .games-showcase .panel-body {
        padding: 0 24px;
    }
    .games-showcase .panel-title {
        font-size: 52px;
    }
    .games-showcase .panel-art {
        height: 100%;
        opacity: .88;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .games-showcase .panel-value {
        margin-bottom: 20px;
        font-size: 15px;
    }
    .game-selector {
        display: block;
        position: relative;
    }
    .game-filters {
        gap: 14px;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .game-filters button {
        font-size: 14px;
        gap: 5px;
    }
    .game-filters small {
        display: none;
    }
    .game-motion {
        position: absolute;
        right: 0;
        top: -34px;
    }
    .game-motion span {
        display: none;
    }
    .game-banner {
        width: 156px;
        height: auto;
    }
    .game-ribbons {
        gap: 5px;
    }
    .game-banner-group {
        gap: 6px;
        padding-right: 6px;
    }
    .banner-copy strong {
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .game-track {
        animation: none;
    }
    .game-ribbon {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .game-banner-group[aria-hidden="true"] {
        display: none;
    }
    .game-banner, .banner-art, .game-filters button::after {
        transition: none;
    }
}

/* 메인 영상 하단: 도입 고객에게 전하는 제안과 작은 문의 링크. */
.hero-free-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    text-shadow: 0 1px 12px #000b;
}

.hero-value span {
    display: inline-block;
}

.hero-offer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: #e4dfd5;
    font-size: 13px;
    letter-spacing: -.025em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}

.hero-support {
    margin: 0;
}

.hero-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(241, 214, 140, .55);
    color: var(--gold-light);
}

.hero-inquiry:hover {
    border-color: currentColor;
    color: #fff3d1;
}

@media (max-width: 760px) {
    .hero.brand .hero-text {
        padding-bottom: 100px;
    }
    .hero-offer {
        display: block;
        font-size: 12px;
    }
    .hero-inquiry {
        margin-top: 10px;
    }
}

/* 도시별 게임 소개: 실제 화면과 짧은 설명, 파트너 문의. */
.game-dice-page { --room-gutter: clamp(24px, 3vw, 64px); }
.game-dice-page .top, .game-dice-page .bottom { padding-left: max(var(--room-gutter), calc((100vw - 1480px) / 2 + var(--room-gutter))); padding-right: max(var(--room-gutter), calc((100vw - 1480px) / 2 + var(--room-gutter))); }
.room-detail { width: 100%; max-width: 1480px; margin: 0 auto; padding: 120px clamp(24px, 3vw, 64px) 80px; }
.room-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); align-items: center; gap: clamp(28px, 3.5vw, 56px); margin: 38px 0 12px; }
.room-overview-copy { min-width: 0; }
.room-overview .room-heading { display: block; margin: 0; padding: 0; }
.room-overview .room-heading h1 { font-size: clamp(30px, 3vw, 44px); }
.room-overview .room-heading > p { max-width: none; margin: 20px 0 0; font-size: 14px; }
.room-overview .room-facts { grid-template-columns: 1fr; gap: 19px; padding: 24px 0; margin: 0; }
.room-overview .room-facts h2 { font-size: 16px; margin: 8px 0 6px; }
.room-overview-inquiry { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 13px 0; color: #efd49d; border-bottom: 1px solid #d7b77b75; font-size: 14px; }
.room-detail > section { max-width: none; }
.room-detail .room-heading { padding: 0; }
.room-preview > a { display: block; cursor: zoom-in; }
.room-back { color: #bcb5a8; font-size: 13px; }
.room-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin: 48px 0 30px; }
.room-heading h1 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 58px); font-weight: 500; letter-spacing: -.055em; line-height: 1.15; }
.room-heading > p { max-width: 340px; margin: 0; color: #c9c3b8; font-size: 15px; line-height: 1.8; }
.room-preview { margin: 0; border: 1px solid #d7b77b30; background: #0a0e13; }
.room-preview img { display: block; width: 100%; height: auto; }
.room-preview figcaption { display: flex; justify-content: space-between; padding: 12px 16px; color: #b8b1a5; font-size: 11px; }
.room-preview figcaption span { font-size: 9px; letter-spacing: .14em; }
.room-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 38px 0 46px; border-bottom: 1px solid #ffffff20; }
.room-facts article > span { color: #c6a875; font-size: 10px; letter-spacing: .12em; }
.room-facts h2 { margin: 14px 0 10px; font-size: 19px; font-weight: 500; }
.room-facts p { margin: 0; color: #b8b6b2; font-size: 13px; line-height: 1.8; }
.room-collection { padding: 52px 0; }
.room-detail .room-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px 0; margin-top: 40px; border-top: 1px solid #ffffff20; }
.room-story h2, .room-timing h2 { margin: 14px 0 18px; font-size: clamp(23px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.04em; line-height: 1.4; }
.room-story article > p:not(.eyebrow), .room-timing-intro > p:not(.eyebrow) { max-width: 520px; color: #bbb9b4; font-size: 14px; line-height: 1.9; margin: 0; }
.room-play-flow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; color: #ead1a1; }
.room-play-flow i { font-style: normal; color: #7c7971; }
.room-detail .room-timing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; padding: 38px 0 42px; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.room-time-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.room-time-options article { padding: 22px 24px; border: 1px solid #d7b77b35; background: linear-gradient(135deg, #d7b77b09, transparent); }
.room-time-number { color: #e5c996; font-size: 48px; font-weight: 300; line-height: 1.1; letter-spacing: -.05em; }
.room-time-number small { margin-left: 6px; font-size: 15px; }
.room-time-options h3 { margin: 17px 0 8px; font-weight: 500; font-size: 15px; }
.room-time-options p { margin: 0; color: #aaa69e; font-size: 12px; line-height: 1.7; }
.room-timing-note { grid-column: 1 / -1; margin: 0; color: #aaa69e; font-size: 12px; line-height: 1.8; }
.room-collection .room-section-heading h2 { font-size: 20px; margin-top: 0; }
.room-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.room-section-heading h2 { margin: 12px 0 0; font-size: 26px; font-weight: 400; }
.room-section-heading > span { color: #aaa59a; font-size: 10px; letter-spacing: .12em; }
.room-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.room-options a { overflow: hidden; border: 1px solid #ffffff20; background: #14191f; }
.room-options a[aria-current], .room-options a:hover { border-color: #d7b77b; }
.room-options img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.room-options span { display: block; padding: 12px; text-align: center; font-size: 13px; }
.room-options a[aria-current] span { color: #efd49d; }
.room-inquiry { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 0; border-top: 1px solid #ffffff20; }
.room-inquiry h2 { font-size: 26px; font-weight: 400; margin: 12px 0; }
.room-inquiry p:not(.eyebrow) { color: #b8b6b2; font-size: 13px; }
.room-inquiry > a { flex-shrink: 0; color: #efcf92; padding-bottom: 10px; border-bottom: 1px solid #d7b77b; font-size: 14px; }
.room-inquiry > a span { margin-left: 28px; }
@media (max-width: 980px) {
    .room-overview { grid-template-columns: 1fr; gap: 28px; }
    .room-overview .room-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .room-overview-inquiry { max-width: 340px; }
    .room-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .game-dice-page { --room-gutter: 20px; }
    .room-detail .room-story, .room-detail .room-timing { grid-template-columns: 1fr; gap: 32px; }
    .room-detail .room-story { margin-top: 28px; padding: 32px 0; }
    .room-time-options article { padding: 20px 16px; }
    .room-detail { padding: 134px 20px 45px; }
    .room-overview .room-facts { grid-template-columns: 1fr; }
    .room-heading { display: block; margin-top: 32px; }
    .room-heading > p { margin-top: 20px; max-width: none; font-size: 14px; }
    .room-facts { grid-template-columns: 1fr; gap: 25px; }
    .room-section-heading { display: block; }
    .room-section-heading > span { display: block; margin-top: 15px; }
    .room-section-heading h2, .room-inquiry h2 { font-size: 23px; }
    .room-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .room-options span { padding: 10px 5px; font-size: 12px; }
    .room-inquiry { align-items: flex-start; flex-direction: column; gap: 18px; }
}

/* 기존 곡선형 로고의 원본 비율을 유지한다. */
.game-design-picker { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0; }
.design-review { max-width: 1480px; margin: auto; padding: 160px clamp(24px, 4vw, 64px) 70px; }
.design-review h1 { margin: 18px 0; font-size: clamp(30px, 4vw, 50px); font-weight: 400; letter-spacing: -.055em; }
.design-review-intro, .design-review-note { color: #bcb5a8; font-size: 14px; line-height: 1.8; }
.design-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0 32px; }
.design-review-grid article { border-top: 1px solid #ffffff30; padding-top: 20px; }
.design-review-grid article.design-review-recommended { border-top-color: #d7b77b; }
.design-review-visual { position: relative; aspect-ratio: 16 / 10; margin-bottom: 26px; background: #090e15; }
.design-review-visual > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.design-review-visual > img:first-child:not(:only-child), .night-only > img { object-fit: cover; }
.design-review-visual > img.design-review-inset { position: absolute; width: 63%; height: auto; right: 5%; bottom: 7%; border: 1px solid #d7b77b80; box-shadow: 0 10px 20px #0008; }
.design-review-grid h2 { margin: 12px 0; font-size: 23px; font-weight: 500; }
.design-review-grid article > p:not(.eyebrow) { min-height: 76px; color: #bcb5a8; font-size: 14px; line-height: 1.85; }
.design-review-links { display: flex; gap: 28px; padding-top: 16px; border-top: 1px solid #ffffff18; }
.design-review-links a { color: #e5c996; font-size: 13px; padding-bottom: 7px; }
@media (max-width: 760px) {
    .design-review-grid { grid-template-columns: 1fr; gap: 40px; }
    .design-review-grid article > p:not(.eyebrow) { min-height: 0; }
    .design-review { padding-top: 145px; }
}
.game-design-picker a { padding: 7px 0; color: #bcb5a8; font-size: 12px; border-bottom: 1px solid transparent; }
.game-design-picker a[aria-current], .game-design-picker a:hover { color: #efd49d; border-bottom-color: #d7b77b; }
.games-showcase .game-design-picker { margin: -7px 0 14px; gap: 18px; }
.games-showcase .game-design-picker a { font-size: 11px; }
.banner-night { object-fit: contain; background: #080d13; }
.games-showcase[data-design="2"] .game-banner-capture { width: calc(var(--night-ratio) * 64px + 2px); }
.games-showcase[data-design="2"] .banner-night { width: 100%; height: auto; aspect-ratio: auto; }
.games-showcase[data-design="3"] .game-banner-capture { width: clamp(180px, 16vw, 228px); }
.banner-screen-inset { position: absolute; width: 44%; right: 8px; top: 33%; aspect-ratio: 16 / 9; border: 1px solid #e9cf9977; box-shadow: 0 3px 12px #0008; }
.games-showcase[data-design="4"] .game-banner-capture { width: clamp(230px, 20vw, 290px); }
.games-showcase[data-design="4"] .banner-capture { aspect-ratio: 16 / 9; object-fit: contain; }
.games-showcase[data-design="4"] .banner-copy { background: #101519; border-top: 2px solid #bda06a; }
.games-showcase[data-design="4"] .banner-identity small { display: none; }
.games-showcase[data-design="4"] .banner-identity strong { font-size: 14px; }
.games-showcase[data-design="5"] .game-banner-capture { display: flex; width: clamp(170px, 13.5vw, 190px); flex-direction: column; }
.games-showcase[data-design="5"] .banner-night { order: 0; width: 100%; height: auto; aspect-ratio: auto; }
.games-showcase[data-design="5"] .banner-screen-inset { order: 1; position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #080d13; border: 0; border-top: 1px solid #d7b77b45; box-shadow: none; }
.games-showcase[data-design="5"] .banner-copy { order: 2; background: linear-gradient(110deg, #202a32, #101720); }
.games-showcase .game-selector { min-width: 0; gap: 16px; }
.games-showcase .game-filters { min-width: 0; }
.games-showcase .game-filters { flex-wrap: wrap; row-gap: 0; }
.games-showcase .game-filters button { flex-shrink: 0; }
.game-ribbon[data-row-label]::before { content: attr(data-row-label); display: block; width: fit-content; margin: 0 0 6px var(--page-gutter); color: #efd49d; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.game-banner-capture .banner-variant { display: none; }
.games-showcase[data-design="3"] .game-banner-capture { border-color: #d7b77b65; }
.games-showcase[data-design="3"] .banner-copy { background: #0a1017; border-top-color: #d7b77b80; }
/* 비교 시안과 일반 게임 모두 같은 카드 크기·제목 기준선을 사용한다. */
.games-showcase[data-design] .game-banner { display: grid; width: 224px; height: 184px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 126px 56px; padding: 0; gap: 0; }
.games-showcase[data-design] .banner-capture, .games-showcase[data-design] .banner-art { grid-column: 1; grid-row: 1; width: 100%; height: 126px; max-height: none; aspect-ratio: auto; object-fit: contain; }
.games-showcase[data-design] .banner-copy { grid-column: 1; grid-row: 2; display: flex; align-items: center; min-width: 0; padding: 10px 12px; }
.games-showcase[data-design="2"] .banner-night { object-fit: cover; object-position: var(--night-focus); }
.games-showcase[data-design="5"] .banner-night { position: absolute; inset: auto 0 0; height: 56px; width: 100%; object-fit: contain; }
.games-showcase[data-design="5"] .banner-screen-inset { grid-column: 1; grid-row: 1; position: static; width: 100%; height: 126px; aspect-ratio: auto; object-fit: contain; border: 0; }
.games-showcase[data-design="5"] .banner-copy { background: #0b1720d9; }
@media (max-width: 760px) {
    .games-showcase[data-design] .game-banner { width: 190px; height: 165px; grid-template-rows: 107px 56px; }
    .games-showcase[data-design] .banner-capture, .games-showcase[data-design] .banner-art, .games-showcase[data-design="5"] .banner-screen-inset { height: 107px; }
    .games-showcase[data-design="5"] .banner-night { height: 56px; }
}
.room-city-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.room-detail[data-design="2"] .room-overview, .room-detail[data-design="3"] .room-overview { position: relative; isolation: isolate; overflow: hidden; min-height: 480px; padding: 48px; border: 1px solid #d7b77b30; }
.room-detail[data-design="2"] .room-overview::after, .room-detail[data-design="3"] .room-overview::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #080c12eb, #080c1280 55%, #080c1220); }
.room-city-backdrop { z-index: -2; }
.room-detail[data-design="4"] .room-overview, .room-detail[data-design="5"] .room-overview { position: relative; isolation: isolate; overflow: hidden; padding: 44px; border: 1px solid #d7b77b30; }
.room-detail[data-design="4"] .room-overview::after, .room-detail[data-design="5"] .room-overview::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #080c12f5, #080c1240); }
.room-detail[data-design="4"] .room-overview { display: grid; align-items: center; min-height: 0; }
.room-detail[data-design="4"] .room-facts { display: none; }
.room-detail[data-design="4"] .room-overview-copy { max-width: 650px; }
.room-detail[data-design="4"] .room-heading h1 { font-size: clamp(36px, 4vw, 58px); }
.room-detail[data-design="4"] .room-heading > p { max-width: 600px; }
.room-detail[data-design="4"] .room-overview-inquiry { max-width: 300px; }
.room-detail[data-design="4"] .room-options img { object-fit: contain; }
.room-detail[data-design="5"] .room-overview::after { background: #080c12c9; }
.room-detail[data-design="5"] .room-overview-copy { padding: 28px; border: 1px solid #d7b77b40; background: #101720e8; }
.room-detail[data-design="5"] .room-facts { display: none; }
.room-detail[data-design="5"] .room-preview { box-shadow: 0 12px 44px #0007; }
.room-detail[data-design="2"] .room-overview { display: flex; align-items: center; min-height: 540px; }
.room-detail[data-design="2"] .room-preview { display: none; }
.room-detail[data-design="2"] .room-overview-copy { width: min(100%, 510px); }
.room-detail[data-design="2"] .room-heading h1, .room-detail[data-design="3"] .room-heading h1 { font-size: clamp(34px, 4vw, 54px); }
.room-detail[data-design="2"] .room-facts { display: none; }
.room-detail[data-design="2"] .room-overview-inquiry { margin-top: 32px; max-width: 290px; }
.room-detail[data-design="2"] .room-options img { object-fit: contain; }
.room-detail[data-design="3"] .room-overview { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 40px; }
.room-detail[data-design="3"] .room-overview-copy { grid-column: 1; grid-row: 1; }
.room-detail[data-design="3"] .room-preview { grid-column: 2; grid-row: 1; box-shadow: 0 20px 70px #0008; transform: translateY(18px); }
.room-detail[data-design="3"] .room-facts { display: none; }
.room-detail[data-design="3"] .room-overview-inquiry { margin-top: 30px; }
@media (max-width: 980px) {
    .room-detail[data-design="3"] .room-overview { grid-template-columns: 1fr; padding: 32px; }
    .room-detail[data-design="3"] .room-overview-copy, .room-detail[data-design="3"] .room-preview { grid-column: 1; grid-row: auto; }
    .room-detail[data-design="3"] .room-preview { transform: none; }
}
@media (max-width: 760px) {
    .game-design-picker { gap: 16px; }
    .game-design-picker a { font-size: 11px; }
    .room-detail[data-design="2"] .room-overview, .room-detail[data-design="3"] .room-overview { padding: 24px; }
    .room-detail[data-design="2"] .room-overview { min-height: 460px; }
    .room-detail[data-design="4"] .room-overview, .room-detail[data-design="5"] .room-overview { padding: 24px; }
    .room-detail[data-design="5"] .room-overview-copy { padding: 20px; }
    .games-showcase .game-filters button { font-size: 13px; }
    .room-detail[data-design="3"] .room-preview figcaption span { display: none; }
}

.brand-logo {
    position: relative;
    display: block;
    width: 226px;
    aspect-ratio: 349 / 64;
    overflow: hidden;
}
.logo .brand-logo img,
.footer-logo .brand-logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    opacity: 1;
}
.footer-logo .brand-logo {
    width: 178px;
}
/* 시안1: 크게 보는 한 줄. 시안5: 도시별 쇼케이스와 두 게임 선택. */
.games-showcase [hidden] { display: none !important; }
.games-showcase[data-design="1"][data-category="dice"] .game-banner {
    width: clamp(320px, 30vw, 480px); height: auto;
    grid-template-rows: auto 70px;
}
.games-showcase[data-design="1"][data-category="dice"] .banner-capture {
    height: auto; aspect-ratio: 16 / 9; object-fit: contain;
}
.games-showcase[data-design="1"][data-category="dice"] .banner-copy { height: 70px; padding: 12px 20px; }
.games-showcase[data-design="1"][data-category="dice"] .banner-identity strong { font-size: 19px; }
@media (max-width: 1050px) {
    .logo .brand-logo {
        width: 192px;
    }
}
@media (max-width: 760px) {
    .logo .brand-logo {
        width: 174px;
    }
    .footer-logo .brand-logo {
        width: 154px;
    }
}

.game-showcase-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 14px;
    margin-top: 8px;
}
.game-compare, .game-mini-jump {
    color: #dcc9a7;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.game-mini-jump { color: #f2d477; }
.games-dice-title,
.games-showcase[data-design="5"][data-category="dice"] .games-general-title { display: none; }
.games-showcase[data-design="5"][data-category="dice"] .games-dice-title { display: inline-block; }
.mini-showcase.panel-photo .panel-art {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-position: 73% 56%;
    mask-image: none;
}
@media (min-width: 1051px) {
    .mini-showcase.panel-photo .panel-art {
        top: var(--menu-h, 88px);
        height: calc(100% - var(--menu-h, 88px));
    }
}
.mini-showcase.panel-photo::before {
    background: linear-gradient(90deg, #10141665, transparent 55%),
        linear-gradient(180deg, transparent 65%, #1014161c 86%, #10141668 100%);
}
.mini-showcase-body {
    position: relative;
    z-index: 2;
    width: 100%;
}
.mini-showcase-header,
.mini-showcase-games { max-width: 700px; }
.mini-showcase-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px #000;
}
.mini-showcase-header h2 {
    margin: 0 0 6px;
    color: #fff8ec;
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.08;
}
.mini-showcase-header p { margin: 0; color: #f2e9db; font-size: clamp(14px, 1.2vw, 17px); }
.mini-showcase-cta {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 40px;
    padding: 6px 0;
    border-bottom: 1px solid #d8b777;
    color: #f3dca9;
    font-size: 14px;
    white-space: nowrap;
}
.mini-showcase-cta:is(:hover, :focus-visible) { color: #fff8ec; }
.mini-showcase-games {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 11px;
    border: 1px solid #d9b98745;
    border-radius: 12px;
    background: #141211c7;
}
.mini-showcase-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e6c69032;
    border-radius: 6px;
    background: #0d0c0c;
}
.mini-showcase-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.mini-showcase-card figcaption { display: grid; gap: 3px; padding: 8px; }
.mini-showcase-card strong { color: #fff8eb; font-size: clamp(13px, 1.4vw, 18px); }
.mini-showcase-card figcaption span { color: #d5cdbd; font-size: clamp(11px, 1vw, 14px); }
@media (max-width: 760px) {
    .mini-showcase.panel-photo .panel-art { object-position: 80% center; }
}
.games-showcase[data-design="5"][data-category="dice"] {
    --showcase-gutter: var(--games-desktop-gutter);
    --destination-width: min(610px, 48vw);
    --games-x-step: .5vw;
    --games-x-outward: calc(var(--showcase-gutter) - 10px);
    --games-x-inward: 12vw;
    --games-x-min: calc(-1 * var(--games-x-outward));
    --games-x-max: var(--games-x-inward);
    --games-inline-shift: clamp(var(--games-x-min), calc(var(--games-x, 0) * var(--games-x-step)), var(--games-x-max));
    justify-content: flex-start;
    gap: 10px;
    padding: var(--intro-top) 0 24px;
}
.games-showcase[data-design="5"][data-category="dice"][data-content-mirrored] {
    --games-x-min: calc(-1 * var(--games-x-inward));
    --games-x-max: var(--games-x-outward);
}
.games-showcase[data-design="5"][data-category="dice"]:has(.games-showcase-layout[data-ring-side="right"]) {
    --games-x-min: calc(-1 * var(--games-x-outward));
    --games-x-max: var(--games-x-outward);
}
.games-showcase[data-design="5"][data-category="dice"][data-orbit-centered] { --games-x-min: calc(-1 * var(--games-x-inward)); }
.games-showcase[data-design="5"][data-category="dice"] .panel-body {
    z-index: 3;
    padding: 0 var(--showcase-gutter);
}
.games-showcase[data-content-mirrored] .panel-body { text-align: right; }
.games-showcase[data-orbit-centered] .panel-body { text-align: center; }
.games-showcase[data-orbit-centered] .panel-value { justify-content: center; margin-inline: auto; }
.games-showcase[data-design="5"][data-category="dice"] :is(.panel-title, .panel-value, .game-selector, .game-showcase-links),
.games-showcase-layout { translate: var(--games-inline-shift, 0px) 0; }
.games-showcase[data-content-mirrored] .panel-value { justify-content: flex-end; margin-inline-start: auto; }
.games-showcase[data-design="5"][data-category="dice"] .panel-index { margin-bottom: 8px; }
.games-showcase[data-design="5"][data-category="dice"] .panel-title { font-size: clamp(44px, 4.4vw, 64px); }
.games-showcase[data-design="5"][data-category="dice"] .panel-value {
    margin-bottom: 14px;
    font-size: clamp(14px, 1.2vw, 17px);
}
.games-showcase[data-design="5"][data-category="dice"] .games-free-label { display: none; }
.games-showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, var(--destination-width));
    align-items: start;
    row-gap: 4px;
    margin-inline: var(--showcase-gutter);
    padding-bottom: max(0px, var(--ring-only-y, 0px));
}
.games-showcase-layout[data-mirrored] {
    --ring-side-alignment: start;
    justify-content: end;
}
.games-showcase-layout[data-ring-side="left"] { justify-content: center; }
.games-showcase-layout .dice-destination { z-index: 3; }
.games-showcase-feature { display: none; }
.games-showcase[data-design="5"][data-category="dice"] .games-showcase-feature {
    position: relative;
    top: var(--ring-only-y, 0px);
    z-index: 2;
    display: grid;
    justify-self: center;
    width: min(calc(100% * var(--ring-width-scale, 1)), 100% + 2 * (var(--showcase-gutter) - 12px));
    pointer-events: none;
}
.games-showcase[data-design="5"][data-category="dice"] [data-ring-side="left"] > .games-showcase-feature {
    grid-area: 2 / 1;
    z-index: 4;
}
.games-showcase[data-design="5"][data-category="dice"] [data-ring-side="left"] > .games-showcase-rear { z-index: 2; }
.games-showcase[data-design="5"][data-category="dice"] [data-ring-side="right"] > .games-showcase-rear { display: none; }
.games-free-callout {
    position: relative;
    isolation: isolate;
    display: none;
    align-self: center;
    margin: 6px 0 0;
    color: #fff9ee;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-shadow: 0 1px 2px #000, 0 2px 8px #000e;
}
.games-free-callout::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -16px -32px;
    background: radial-gradient(ellipse, #080b10a6 20%, #080b1066 52%, transparent 76%);
    pointer-events: none;
}
.games-showcase[data-banner-mode="strip"] .games-free-callout { display: block; }
.games-free-callout strong { color: #f2d477; font-weight: 700; }
.games-card-ring {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 1280 / var(--ring-compact-height, 430);
}
[data-ring-side="left"] .games-card-ring {
    width: calc(100% - 16px);
    justify-self: center;
}
.games-ring-scene {
    position: absolute;
    inset: 0;
    perspective: 117.1875cqw;
    perspective-origin: 50% 30%;
}
.games-ring-orbit {
    --orbit-radius: calc(54.6875cqw - var(--ring-radius-reduction, 0cqw));
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translateZ(calc(-1 * var(--orbit-radius))) rotateX(var(--ring-tilt, -14deg));
    transform-style: preserve-3d;
}
[data-ring-side="left"] .games-ring-orbit { top: var(--ring-front-origin, 0cqw); }
.games-ring-card {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--ring-size, 26cqw);
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    font: inherit;
    text-align: left;
    overflow: hidden;
    border: 1px solid #f0d58f60;
    border-radius: 8px;
    background: #171813;
    box-shadow: 0 6px 18px #0008;
}
.games-ring-card[inert] { pointer-events: none; }
.games-ring-card.front { border-color: #f1d58f; box-shadow: 0 4px 20px #edc67754; }
.games-ring-card:hover, .games-ring-card:focus-visible {
    outline: 2px solid #f1d58f;
    outline-offset: -2px;
}
.games-ring-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.games-ring-caption {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 2px;
    padding: 8px 6px 4px;
    background: linear-gradient(transparent, #08090bf5);
    color: #fff8e7;
    line-height: 1.1;
}
.games-ring-card strong { font-size: clamp(10px, 1vw, 15px); }
.games-ring-card small { font-size: clamp(8px, .72vw, 11px); }
.games-ring-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
    font-size: 11px;
}
.games-ring-controls[hidden] { display: none; }
.games-ring-controls > div {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid #e4c57945;
    border-radius: 8px;
    background: #11100de8;
}
.games-ring-slider {
    display: grid;
    grid-template-columns: auto minmax(50px, 1fr) 4ch;
    align-items: center;
    gap: 5px;
    flex: 1 0 100%;
    min-width: 0;
    min-height: 32px;
    padding: 2px 5px;
    border: 1px solid #e4c57945;
    border-radius: 8px;
    background: #11100de8;
}
.games-ring-slider input { width: 100%; min-width: 0; accent-color: #e4c579; cursor: pointer; }
.games-ring-slider input:disabled { cursor: default; }
.games-ring-controls span { padding: 0 4px; white-space: nowrap; }
.games-ring-controls output { min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums; }
.games-ring-controls button {
    width: 24px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.games-ring-controls button:hover:enabled, .games-ring-controls button:focus-visible {
    background: #f2d477;
    color: #15130f;
}
.games-ring-controls button:disabled { opacity: .35; cursor: default; }
.games-ring-controls .games-ring-save {
    align-self: center;
    width: auto;
    height: 32px;
    padding: 0 9px;
    border: 1px solid #e4c57975;
    background: #11100de8;
    font-size: 11px;
    white-space: nowrap;
}
.games-ring-status:empty { display: none; }
.games-ring-status { flex-basis: 100%; }
.games-ring-detail {
    position: fixed;
    inset: 0;
    width: min(620px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 20px;
    border: 1px solid #e4c579a3;
    border-radius: 12px;
    background: #15130f;
    color: #fff9ee;
}
.games-ring-detail::backdrop { background: #090909b8; }
.games-ring-detail img { width: 100%; border-radius: 6px; }
.games-ring-detail h3 { margin: 12px 0 4px; }
.games-ring-detail p { margin: 0 0 10px; }
.games-ring-detail a { color: #f2d477; text-decoration: underline; }
.games-ring-detail a[hidden] { display: none; }
.games-ring-detail button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 1px solid #e4c579a3;
    border-radius: 50%;
    background: #15130f;
    color: #fff9ee;
    font: inherit;
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
    .games-ring-settings { display: none; }
    .games-showcase[data-design="5"][data-category="dice"] .games-showcase-rear { display: none; }
    .games-showcase-layout[data-ring-side] .games-card-ring { display: flex; gap: 8px; overflow-x: auto; aspect-ratio: auto; }
    .games-ring-scene, .games-ring-orbit { display: contents; }
    .games-ring-card {
        position: relative;
        inset: auto !important;
        flex: 0 0 35%;
        transform: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }
}
@media (min-width: 901px) {
    .games-showcase[data-design="5"][data-category="dice"][data-orbit-centered] {
        --games-x-inward: max(0px, calc(50vw - var(--games-ring-reach, .78) * var(--games-ring-width, 600px) - 16px));
    }
    .games-showcase-layout[data-ring-side="right"] {
        grid-template-columns: minmax(0, var(--destination-width)) minmax(0, 1fr);
        column-gap: clamp(24px, 4vw, 72px);
    }
    .games-showcase-layout[data-ring-side="right"][data-mirrored] {
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--destination-width));
    }
    .games-showcase-layout[data-ring-side="right"][data-mirrored] > .dice-destination { grid-area: 1 / 2; }
    .games-showcase-layout[data-ring-side="right"][data-mirrored] > .games-showcase-feature {
        grid-area: 1 / 1;
    }
    .games-showcase[data-design="5"][data-category="dice"] [data-ring-side="right"] .games-showcase-feature {
        align-self: center;
        justify-self: var(--ring-side-alignment, end);
        width: min(calc(94% * var(--ring-width-scale, 1)), 100%);
    }
    [data-ring-side="right"] .games-card-ring { aspect-ratio: 1280 / 560; }
    .games-showcase[data-banner-mode="strip"] .games-showcase-layout {
        grid-template-columns: minmax(0, var(--destination-width)) minmax(0, 1fr);
        column-gap: clamp(24px, 4vw, 72px);
    }
    .games-free-callout {
        inset-block-start: -20px;
        justify-self: center;
        margin: 0;
        font-size: clamp(22px, 2.05vw, 34px);
        text-align: center;
    }
    .games-free-callout span { display: block; }
}
@media (max-width: 900px) {
    .games-showcase-layout[data-ring-side="right"] { grid-template-columns: minmax(0, 1fr); }
    .games-showcase[data-design="5"][data-category="dice"] [data-ring-side="right"] .games-showcase-feature {
        justify-self: var(--ring-side-alignment, end);
        width: min(calc(90% * var(--ring-width-scale, 1)), 100%);
    }
}
.games-showcase[data-design="5"][data-category="dice"] .game-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 12px;
}
.games-showcase[data-content-mirrored][data-category="dice"] .game-selector { justify-content: flex-end; }
.games-showcase[data-orbit-centered][data-category="dice"] .game-selector { justify-content: center; }
.games-showcase[data-design="5"][data-category="dice"] .game-filters {
    width: fit-content;
    gap: 6px;
    padding: 0;
    background: none;
    border: 0;
}
.games-showcase[data-design="5"][data-category="dice"] .game-filters button {
    padding: 8px 11px;
    border: 1px solid #f6dbab32;
    border-radius: 999px;
    background: #100f10dd;
    font-size: 12px;
}
.games-showcase[data-design="5"][data-category="dice"] .game-filters button::after { display: none; }
.games-ring-side, .games-content-mirror {
    align-self: center;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #e4c57975;
    border-radius: 999px;
    background: #11100de8;
    color: #fff4da;
    font: inherit;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}
.games-ring-settings {
    position: relative;
    z-index: 4;
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 6px 8px 8px;
    border: 1px solid #e4c57975;
    border-radius: 10px;
    background: #15130ff5;
    box-shadow: 0 6px 20px #0008;
    color: #fff4da;
    translate: var(--settings-x, 0px) var(--settings-y, 0px);
}
.games-showcase[data-content-mirrored] .games-ring-settings { margin-left: auto; text-align: left; }
.games-ring-settings summary {
    min-height: 25px;
    padding: 3px 32px 3px 4px;
    list-style: none;
    font-size: 12px;
    cursor: pointer;
}
.games-ring-settings summary::-webkit-details-marker { display: none; }
.games-ring-settings summary::after { content: "▸"; margin-left: 6px; color: #e4c579; }
.games-ring-settings details[open] summary::after { content: "▾"; }
.games-ring-drag {
    position: absolute;
    top: 3px;
    right: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #e4c579;
    font: inherit;
    font-size: 20px;
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.games-ring-drag:active { cursor: grabbing; }
.games-ring-drag:is(:hover, :focus-visible) { background: #372e20; }
@media (min-width: 1000px) {
    .games-ring-settings {
        position: absolute;
        top: 0;
        right: var(--showcase-gutter);
        max-width: 58%;
        margin-top: 0;
    }
    .games-showcase[data-content-mirrored] .games-ring-settings { right: auto; left: var(--showcase-gutter); }
    .games-showcase[data-orbit-centered] .games-ring-settings {
        right: auto;
        left: var(--showcase-gutter);
        max-width: min(310px, 28vw);
        text-align: left;
    }
}
.games-ring-side:is(:hover, :focus-visible), .games-content-mirror:is(:hover, :focus-visible, [aria-pressed="true"]),
.games-ring-settings summary:is(:hover, :focus-visible) {
    background: #f2d477;
    color: #15130f;
}
.games-showcase[data-design="5"][data-category="dice"] .game-filters button[aria-pressed="true"] {
    background: #34281de8;
    border-color: #d6b078a8;
}
.games-showcase[data-design="5"][data-category="dice"] .game-motion {
    position: static;
    padding: 5px;
    font-size: 12px;
}
.dice-destination {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 11px;
    border: 1px solid #d9b98745;
    border-radius: 12px;
    background: #141211f2;
}
.destination-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #f2e9db;
}
.destination-caption-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    min-width: 0;
}
.destination-caption h3 { margin: 0; font-size: 15px; }
.destination-caption > span { color: #d1ad7b; font-size: 10px; letter-spacing: .09em; white-space: nowrap; }
.destination-apply {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    line-height: 1.3;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #d9b987;
    background: linear-gradient(180deg, #4e3822, #312316);
    color: #ffe7b6;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.destination-apply:is(:hover, :focus-visible) { background: #684a2b; color: #fff2d3; }
@media (max-width: 480px) {
    .destination-caption > span { display: none; }
}
.destination-cities, .destination-rooms { display: grid; gap: 7px; }
.destination-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.destination-city {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 6px;
    border: 1px solid #e6c69042;
    border-radius: 9px;
    background: #14171d;
}
.destination-city .destination-rooms { grid-template-columns: minmax(0, 1fr); }
.destination-city h4, .games-showcase[data-design="5"] .game-strip-card, .category-ribbons .game-strip-card {
    background: linear-gradient(90deg, #100e10dd, #100e104d), var(--tile-art) var(--tile-focus, center) / cover;
    border: 1px solid #e6c69032;
    border-radius: 6px;
}
.destination-city h4 {
    display: grid;
    place-items: center;
    min-height: 34px;
    margin: 0;
    padding: 6px;
    color: #fff3dd;
    font-size: 14px;
    text-align: center;
    text-shadow: 0 1px 4px #000;
}
.destination-room {
    position: relative;
    display: flex;
    min-width: 0;
    margin: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6c69032;
    border-radius: 6px;
    background: #0d0c0c;
}
.destination-rooms img { display: block; width: 100%; aspect-ratio: 16 / 10.8; object-fit: cover; }
.destination-room-caption {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 3px 6px;
    padding: 16px 8px 7px;
    background: linear-gradient(to top, rgb(10 9 12 / 94%), rgb(10 9 12 / 72%) 48%, transparent);
    color: #fff5e5;
    font-size: 13px;
    font-weight: 650;
    text-shadow: 0 1px 3px #000;
}
.destination-room-caption small { color: #dbbe91; font-size: 11px; }
.destination-room:is(:hover, :focus-visible) { border-color: #d9b987; }
.games-showcase[data-design="5"][data-category="dice"][data-banner-mode="orbit"] .game-ribbons {
    display: none;
}
.games-showcase[data-design="5"][data-category="dice"][data-banner-mode="strip"] .game-ribbons {
    top: auto;
    margin-top: auto;
    margin-bottom: 12px;
}
.games-showcase[data-design="5"] .game-strip-card, .category-ribbons .game-strip-card {
    display: flex;
    width: clamp(166px, 15.5vw, 222px);
    height: 69px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 10px;
    color: #fff6e9;
}
.game-strip-card small { color: #e6c594; font-size: 9px; letter-spacing: .08em; }
.game-strip-card strong { font-size: 14px; }
#dice-showcase .game-strip-card {
    height: 76px;
    background-image: linear-gradient(90deg, rgb(10 9 12 / 68%), rgb(10 9 12 / 30%) 47%, rgb(10 9 12 / 8%)), var(--tile-art);
    text-shadow: 0 1px 3px #000, 0 0 8px #0009;
}
@media (min-width: 901px) and (max-height: 860px) {
    .games-showcase[data-design="5"][data-category="dice"] {
        --destination-width: min(610px, 48vw, max(390px, calc(100svh - 280px)));
    }
}
@media (max-width: 900px) {
    .games-showcase[data-design="5"][data-category="dice"] {
        --destination-width: min(600px, 100%);
        --games-x-inward: var(--games-x-outward);
    }
}
@media (max-width: 760px) {
    .games-showcase[data-design="5"][data-category="dice"] {
        --showcase-gutter: 16px;
        --games-x-step: .4px;
        --games-x-outward: 9.6px;
        gap: 6px;
    }
    .games-showcase[data-design="5"][data-category="dice"] .panel-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px 10px;
    }
    .games-showcase[data-design="5"][data-category="dice"] :is(.panel-title, .panel-value, .game-selector) {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }
    .games-showcase[data-design="5"][data-category="dice"] .panel-title { font-size: clamp(35px, 10vw, 44px); }
    .games-showcase[data-design="5"][data-category="dice"] .panel-value { max-width: none; margin-inline: 0; }
    .games-showcase[data-design="5"][data-category="dice"] .game-selector { gap: 6px; }
    .games-showcase[data-design="5"][data-category="dice"] .game-filters {
        display: grid;
        grid-template-columns: .75fr 1.45fr 1fr .75fr 1.25fr;
        width: 100%;
        gap: 4px;
    }
    .games-showcase[data-design="5"][data-category="dice"] .game-filters button {
        min-width: 0;
        min-height: 40px;
        padding: 5px 2px;
        font-size: clamp(11px, 3vw, 13px);
        white-space: nowrap;
    }
    .games-ring-side, .games-content-mirror, .destination-city h4 { min-height: 40px; }
    .games-ring-settings {
        padding: 0 8px;
        margin-top: 0;
        translate: none;
    }
    .games-ring-settings:has(details[open]) { grid-column: 1 / -1; }
    .games-showcase[data-design="5"][data-category="dice"] .game-showcase-links {
        grid-column: 2;
        margin-top: 0;
    }
    .games-showcase[data-design="5"][data-category="dice"][data-banner-mode="strip"] .game-showcase-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .games-ring-drag { display: none; }
    .games-ring-settings summary { min-height: 40px; padding: 10px 5px; }
    .games-ring-controls { margin: 0 0 8px; }
    .games-ring-controls button { width: 34px; height: 34px; }
    .games-ring-controls .games-ring-save { min-height: 38px; }
    .games-showcase-layout { row-gap: 0; }
    .games-ring-orbit { top: 46%; }
    [data-ring-side="left"] .games-ring-orbit { top: var(--ring-front-origin-mobile, 0cqw); }
    .games-ring-card { width: min(calc(var(--ring-size, 26cqw) + 2.5cqw), 40cqw); }
    .dice-destination { gap: 6px; padding: 8px; }
    .destination-room-caption { padding: 13px 7px 6px; }
}
@media (max-width: 760px) {
    #dice-showcase .games-showcase-layout { margin-block-start: clamp(58px, 10svh, 100px); }
}
@media (max-width: 480px) {
    .games-showcase[data-design="1"][data-category="dice"] .game-banner { width: 300px; }
    .games-ring-card strong { font-size: 11px; }
    .games-ring-card small { display: none; }
}

/* 게임 상세의 '무료 게임 제공 문의' (2026-11-10 사용자 요청): 25pt 글자, 눌리는 금색 버튼 느낌. 시안별 max-width 제한은 버튼에는 적용하지 않는다 */
.room-detail .room-overview-inquiry,
.room-detail[data-design] .room-overview-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: auto;
    max-width: none;
    margin-top: 28px;
    padding: 16px 38px;
    border: 1px solid var(--gold);
    border-bottom-color: var(--gold);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(241, 214, 140, .22), rgba(217, 180, 90, .08));
    color: #f6e2ae;
    font-size: 25pt;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(217, 180, 90, .18), inset 0 1px 0 rgba(255, 246, 216, .25);
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.room-detail .room-overview-inquiry span,
.room-detail[data-design] .room-overview-inquiry span {
    font-size: .78em;
    transition: transform .18s ease;
}

.room-detail .room-overview-inquiry:hover,
.room-detail .room-overview-inquiry:focus-visible,
.room-detail[data-design] .room-overview-inquiry:hover,
.room-detail[data-design] .room-overview-inquiry:focus-visible {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: #1b1508;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(217, 180, 90, .4);
    outline: none;
}

.room-detail .room-overview-inquiry:hover span,
.room-detail[data-design] .room-overview-inquiry:hover span {
    transform: translate(4px, -3px);
}

.room-detail .room-overview-inquiry:active,
.room-detail[data-design] .room-overview-inquiry:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(217, 180, 90, .3);
}

@media (max-width: 760px) {
    .room-detail .room-overview-inquiry,
    .room-detail[data-design] .room-overview-inquiry {
        width: 100%;
        padding: 14px 20px;
        text-align: center;
    }
}

/* 좁은 글 상자(시안 2·4·5, 980px 이하)와 휴대폰에서도 25pt 를 유지하되 한 줄에 들어가게 여백·자간만 줄인다 */
.room-detail[data-design="2"] .room-overview-inquiry,
.room-detail[data-design="4"] .room-overview-inquiry,
.room-detail[data-design="5"] .room-overview-inquiry {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 22px;
    letter-spacing: -.03em;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .room-detail .room-overview-inquiry,
    .room-detail[data-design] .room-overview-inquiry {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 22px;
        letter-spacing: -.03em;
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .room-detail .room-overview-inquiry,
    .room-detail[data-design] .room-overview-inquiry {
        gap: 8px;
        padding: 12px 16px;
        letter-spacing: -.04em;
    }

    .room-detail .room-overview-inquiry span,
    .room-detail[data-design] .room-overview-inquiry span {
        font-size: .6em;
    }
}

@media (max-width: 480px) {
    .top nav:has(.nav-mini-games) {
        gap: clamp(4px, 1.5vw, 7px);
        font-size: clamp(8px, 2.5vw, 10px);
    }
}

/* Wide-screen content follows the same left edge as the header and dice showcase. */
@media (min-width: 1051px) {
    :root { --page-gutter: var(--games-desktop-gutter); }

    .home-page main > .panel:not(.games-showcase) > .panel-body {
        padding-inline: var(--page-gutter);
    }
    .game-dice-page :is(.top, .bottom),
    .about-page .page-head,
    .about-page section.about-contact {
        padding-inline: var(--page-gutter);
    }
    main > section:where(:not(.hero):not(.page-head):not(.panel):not(.about-contact)) {
        max-width: min(1216px, calc(100% - 2 * var(--page-gutter)));
        margin-inline: var(--page-gutter) auto;
        padding-inline: 0;
    }
    .room-detail,
    .design-review {
        max-width: min(1480px, calc(100% - 2 * var(--page-gutter)));
        margin-inline: var(--page-gutter) auto;
        padding-inline: 0;
    }
    .room-detail > section {
        max-width: none;
        margin-inline: 0;
    }
}

/* Main game collection and category sections share the homepage content guide. */
.collection-main .panel-body,
.category-showcase .panel-body { width: 100%; }
.collection-main .panel-title,
.category-showcase .panel-title { margin: 0 0 14px; font-size: clamp(40px, 4.4vw, 64px); }
.collection-main .panel-value,
.category-showcase .panel-value { margin: 0 0 24px; }
.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 760px);
}
.collection-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9b98755;
    border-radius: 9px;
    background: #101419ed;
    color: #fff8ec;
}
.collection-card:hover { border-color: #e8d6ae; }
.collection-card:focus-visible { outline: 2px solid #e8d6ae; outline-offset: 3px; }
.collection-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.collection-card > span { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.collection-card b { color: #d9b987; font-weight: 400; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 960px); }
.slot-providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 700px); gap: 12px; }
.slot-providers a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 90px; padding: 20px; border: 1px solid #d9b98755; border-radius: 9px; background: #101419df; color: #fff8ec; }
.slot-providers a span { color: #d9b987; }
.home-page .collection-main .panel-art,
.home-page .category-showcase .panel-art {
    top: var(--menu-h, 88px);
    height: calc(100% - var(--menu-h, 88px));
    opacity: .9;
    object-position: 70% center;
    mask-image: linear-gradient(90deg, #0008, #000 65%);
}
@media (max-width: 760px) {
    .collection-grid { gap: 8px; }
    .collection-card > span { padding: 10px; font-size: 13px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .slot-providers { grid-template-columns: 1fr; }
    .slot-providers a { min-height: 64px; padding: 16px; }
    .home-page .collection-main .panel-art,
    .home-page .category-showcase .panel-art { top: 0; height: 100%; mask-image: none; opacity: .55; }
}
.game-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
    gap: 7px;
    width: min(100%, 760px);
    max-height: 52vh;
    overflow-y: auto;
    padding: 9px;
    margin-top: 12px;
    background: #141210ed;
    border: 1px solid #d9b98755;
    border-radius: 10px;
}
.game-catalog-grid[hidden] { display: none; }
.game-catalog-grid a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px; border: 1px solid #d9b98744; border-radius: 5px; color: #fff6e8; font-size: 13px; }
.game-catalog-grid a:is(:hover, :focus-visible) { border-color: #d9b987; }
.game-catalog-grid img { width: 48px; height: 36px; object-fit: cover; border-radius: 3px; }
.game-catalog-grid.filtered-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    grid-auto-rows: max-content;
    gap: 10px;
}
.game-catalog-grid.filtered-cards a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #181614;
}
.game-catalog-grid.filtered-cards img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 0;
    background: #100f0e;
}
.game-catalog-grid.filtered-cards strong {
    padding: 7px 10px;
    font-size: 0.9375rem;
    line-height: 1.35;
}
.home-page .category-showcase .panel-art { inset-inline: 0; width: 100%; object-fit: cover; object-position: 65% center; mask-image: none; opacity: 1; }
.category-showcase .lounge-caption { position: absolute; z-index: 2; right: var(--page-gutter); bottom: 8%; margin: 0; color: #fff5dc; font-size: clamp(17px, 1.6vw, 28px); text-shadow: 0 2px 7px #100c09; }
@media (min-width: 761px) {
    .category-showcase :is(.category-grid, .slot-providers) { width: min(42vw, 700px); }
}
@media (max-width: 760px) {
    .category-showcase .lounge-caption { position: relative; inset: auto; align-self: flex-end; margin: 0 var(--page-gutter) 24px; }
    .category-showcase:has(.lounge-caption) { flex-direction: column; }
}
#games > .games-free-callout { align-self: flex-end; margin: 0 var(--page-gutter) 12px; text-align: right; }
#games > .game-ribbons { top: auto; margin-top: auto; margin-bottom: 12px; width: 100%; }
@media (min-width: 901px) {
    #games > .games-free-callout { position: absolute; right: 4%; top: 52%; z-index: 2; font-size: clamp(18px, 2vw, 32px); }
    #games > .games-free-callout span { display: block; }
}
#games .game-catalog-grid { height: clamp(145px, 38svh, 355px); max-height: none; box-sizing: border-box; align-content: start; }
#dice-showcase .dice-showcase-art {
    width: 76%;
    overflow: hidden;
    opacity: 1;
    mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.dice-showcase-art img {
    display: block;
    width: 100%;
    height: 126%;
    object-fit: cover;
    object-position: 35% top;
}
@media (max-width: 1050px) {
    #dice-showcase .dice-showcase-art {
        width: 100%;
        height: clamp(290px, 73vw, 720px);
        mask-image: linear-gradient(180deg, #000 45%, transparent);
    }
    .dice-showcase-art img { object-position: center top; }
}
@media (max-width: 600px) {
    #dice-showcase .dice-showcase-art {
        top: 64px;
        height: clamp(168px, 46vw, 276px);
        mask-image: linear-gradient(180deg, transparent, #000 16%, #000 68%, transparent);
    }
}

/* 게임 상세 시안4 정렬 (2026-11-21 사용자 요청: 상세 기본 시안4, 정렬 다시 맞춤)
   - 야경은 상자를 꽉 채운다(contain 이면 위아래가 비어 띠처럼 보였다)
   - 글 쪽(오른쪽)을 더 어둡게 해 설명 글자가 건물 불빛에 묻히지 않게
   - 캡처와 글 상자의 위아래 가운데를 맞추고, 글 상자 안 간격을 고르게 */
.room-detail[data-design="4"] .room-city-backdrop { object-fit: cover; object-position: center 45%; }
.room-detail[data-design="4"] .room-overview::after {
    background:
        linear-gradient(90deg, #080c12c7 0%, #080c1280 48%, #080c12cc 64%, #080c12e6 100%),
        linear-gradient(0deg, #080c12b3, transparent 45%);
}
.room-detail[data-design="4"] .room-overview {
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr);
    gap: clamp(32px, 3.5vw, 56px);
    align-items: center;
    margin-top: 0;
    padding: clamp(28px, 3vw, 48px);
}
.room-detail[data-design="4"] .game-design-picker { margin: 22px 0 18px; }
.room-detail[data-design="4"] .room-preview { box-shadow: 0 18px 60px #000a; }
.room-detail[data-design="4"] .room-overview-copy { max-width: 520px; container-type: inline-size; }
/* 25pt 를 기본으로, 글 상자가 좁으면(1024px 창 등) 버튼 글자를 상자 폭에 맞춰 줄여 한 줄에 들어가게 한다 */
.room-detail[data-design="4"] .room-overview-inquiry { font-size: max(16px, min(25pt, calc((100cqi - 46px) / 9.4))); }
.room-detail[data-design="4"] .room-heading h1 { margin-top: 14px; line-height: 1.1; }
.room-detail[data-design="4"] .room-heading > p { margin-top: 18px; color: #ddd6c9; font-size: 15px; line-height: 1.75; }
.room-detail[data-design="4"] .room-overview-inquiry { margin-top: 32px; }
@media (max-width: 980px) {
    .room-detail[data-design="4"] .room-overview { grid-template-columns: 1fr; }
    .room-detail[data-design="4"] .room-overview::after { background: linear-gradient(0deg, #080c12f2 30%, #080c1280); }
    .room-detail[data-design="4"] .room-overview-copy { max-width: none; }
}
/* 휴대폰(375px 등)에서는 상자 여백을 줄이고, 버튼 글자는 위와 같이 글 상자 폭에 맞춘다(버튼 안 여백 16px 기준) */
@media (max-width: 760px) {
    .room-detail[data-design="4"] .room-overview { padding: 18px; }
    .room-detail[data-design="4"] .room-overview-inquiry { font-size: max(16px, min(25pt, calc((100cqi - 34px) / 9.4))); }
    .room-detail[data-design="4"] .room-heading { margin-top: 24px; }
}

/* 터치 화면은 페이지를 자연스럽게 스크롤하고, 게임 카드 묶음만 옆으로 넘긴다. */
@media (max-width: 1050px) {
    html.snap {
        scroll-padding-top: var(--menu-h, 88px);
        scroll-snap-type: y mandatory;
    }
    html.snap .home-page main > section {
        scroll-margin-top: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    html.snap .home-page .bottom { scroll-snap-align: end; }
    :root {
        --page-gutter: clamp(16px, 5vw, 32px);
        --header-gutter: var(--page-gutter);
    }
    .home-page .dots { display: none; }
    #main-content > .panel {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: auto;
        gap: 0;
        padding: 0 0 36px;
    }
    #main-content > .panel > .panel-body {
        width: 100%;
        padding: 28px var(--page-gutter) 0;
    }
    html.js .home-page main > .panel :is(.panel-title, .panel-value, .panel-links, .panel-news-list, .panel-art) {
        opacity: 1;
        transform: none;
        transition: none;
    }
    #main-content > .panel { --panel-heading-size: clamp(34px, 6vw, 48px); }
    #main-content > .panel :is(.panel-title, .mini-showcase-header h2) {
        margin: 0 0 10px;
        font-size: var(--panel-heading-size);
        line-height: 1.1;
    }
    .home-page main > .panel .panel-value {
        --panel-summary-size: 1rem;
        margin: 0 0 18px;
        font-size: var(--panel-summary-size);
        line-height: 1.55;
    }
    .home-page .panel .panel-art { top: 0; height: 100%; }
    .home-page .category-showcase .lounge-caption,
    #games > .games-free-callout {
        position: relative;
        inset: auto;
        align-self: stretch;
        margin: 20px var(--page-gutter) 0;
        text-align: start;
    }
    #games > .game-ribbons,
    #dice-showcase[data-banner-mode="strip"] > .game-ribbons { margin: 20px 0 0; }
    #dice-showcase {
        --showcase-gutter: var(--page-gutter);
        --games-inline-shift: 0px;
    }
    #main-content > #dice-showcase { padding-top: 0; }
    #dice-showcase > .panel-body { display: block; text-align: start; }
    #dice-showcase .game-filters { display: flex; width: fit-content; }
    #dice-showcase .game-filters button { min-height: 44px; padding-inline: 14px; }
    #dice-showcase .games-showcase-layout {
        margin: clamp(88px, 16vw, 148px) var(--page-gutter) 0;
        grid-template-columns: minmax(0, 1fr);
    }
    #dice-showcase .games-free-callout {
        position: relative;
        inset: auto;
        width: auto;
        margin: 16px 0 0;
        justify-self: stretch;
        text-align: start;
    }
    #games > .games-free-callout span,
    #dice-showcase .games-free-callout span { display: inline; }
    .home-page .games-free-callout::before { content: none; }
    #games > .games-free-callout,
    #dice-showcase .games-free-callout {
        padding: 10px 14px;
        border-inline-start: 2px solid #d9b987;
        background: #101015eb;
        color: #fff8eb;
        font-size: 1rem;
        line-height: 1.5;
    }
    #games .game-catalog-grid { height: auto; max-height: min(54svh, 360px); }
    #games .game-catalog-grid.filtered-cards,
    .home-page :is(.mini-showcase-games, .category-grid) {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: min(83%, 310px);
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }
    #games .game-catalog-grid.filtered-cards { max-height: none; }
    .home-page :is(.mini-showcase-games, .category-grid, .filtered-cards) > a {
        scroll-snap-align: start;
    }
    .home-page .category-showcase :is(.category-grid, .slot-providers) { width: 100%; }
    .home-page .mini-showcase-cta,
    .home-page .destination-city h4 { min-height: 44px; }
    .home-page .category-showcase .panel-art { opacity: .6; }
}
@media (min-width: 1051px) {
    #games.games-showcase {
        padding-top: var(--intro-top);
        justify-content: flex-start;
    }
}
@media (max-width: 760px) {
    .top {
        padding: 8px var(--page-gutter) 0;
        align-content: center;
        row-gap: 2px;
        min-height: 88px;
    }
    .top nav,
    .top nav:has(.nav-mini-games) {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 18px;
        font-size: 13px;
        scrollbar-width: thin;
    }
    .top nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        flex: none;
        white-space: nowrap;
    }
    .home-page .hero.brand .hero-text,
    .bottom { padding-inline: var(--page-gutter); }
    body[class] main > section.page-head {
        align-items: flex-start;
        min-height: auto;
        padding: 136px var(--page-gutter) 38px;
    }
    #main-content:not(.room-detail) > section:where(:not(.hero):not(.page-head):not(.panel)),
    .page-tabs, .room-detail, .design-review { padding-inline: var(--page-gutter); }
    .game-dice-page :is(.top, .bottom) { padding-inline: var(--page-gutter); }
    .results-page main > .results .section-lead { margin-inline: 0; }
    .results-page main > .results { padding-inline: var(--page-gutter); }
    #games .game-filters {
        width: 100%;
        gap: 12px;
        padding-inline: 0;
        flex-wrap: wrap;
    }
    #games .game-filters button { min-height: 44px; }
}

.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; }
.footer-links a:hover { color: var(--gold-light); }
.top nav { min-width: 0; }
.top nav a { white-space: nowrap; }
.legacy-games-anchor { position: absolute; inset: 0 auto auto 0; scroll-margin-top: 0; }
#main-content .panel > .panel-callout {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: fit-content;
    max-width: calc(100% - 2 * var(--page-gutter));
    margin: 0 var(--page-gutter) 12px auto;
    color: #fff9ee;
    font-size: clamp(1.575rem, 7.2vw, 1.86rem);
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
    text-shadow: 0 2px 4px #000, 0 0 12px #000;
}
.panel-callout strong { color: #f2d477; }
.game-offer--supply span { display: block; }
.game-offer--supply strong { font-weight: inherit; }
@media (min-width: 1051px) {
    #main-content .panel > .panel-callout {
        position: absolute;
        inset: 26% 4% auto auto;
        max-width: 44%;
        margin: 0;
        font-size: clamp(34.5px, 3.6vw, 58.5px);
    }
    #main-content .panel > .tech-promise { max-width: 48%; }
    .panel-callout span { display: block; }
}
.tech-promise span { display: block; }
@media (max-width: 760px) {
    .bottom .footer-links { grid-column: 1 / -1; grid-row: 2; }
    .bottom:has(.footer-links) p { grid-row: 3; }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .top nav { gap: clamp(9px, 1.4vw, 16px); overflow-x: auto; }
}
:is(.games-page, .news-page, .results-page) main > .page-head {
    align-items: end;
    min-height: auto;
    padding-block: clamp(136px, 15vw, 198px) clamp(32px, 5vw, 66px);
    background: radial-gradient(ellipse at 85% 10%, #383329, transparent 56%), #15161b;
}
.news-page .detail-heading { margin: 0 0 24px; font-size: clamp(26px, 3vw, 42px); }
.news-page .news-list li { border-color: #d8c7a92d; }
.news-page .news-list time { color: var(--gold); font-variant-numeric: tabular-nums; }

.news-page .news-list li {
    display: grid;
    grid-template-columns: clamp(100px, 16vw, 200px) 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    align-content: center;
    gap: 6px clamp(16px, 3vw, 42px);
    padding-block: 22px;
}
.news-image { grid-row: span 2; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.news-list time { align-self: end; }
.news-list li > div { align-self: start; min-width: 0; }
@media (max-width: 480px) {
    .news-page .news-list li { grid-template-columns: 86px 1fr; gap: 5px 14px; }
    .news-page .news-list time { margin: 0; }
}

.panel-callout { word-break: keep-all; text-wrap: balance; }

.mobile-menu-toggle, .mobile-menu-backdrop { display: none; }
@media (max-width: 760px) {
    header.top.has-mobile-menu {
        --mobile-header-height: 64px;
        min-height: var(--mobile-header-height);
        padding-block: 8px;
        flex-wrap: nowrap;
    }
    .top .mobile-menu-toggle {
        position: relative;
        display: grid;
        place-items: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #d4b78366;
        border-radius: 8px;
        background: #15161b;
        color: #e8cc98;
        cursor: pointer;
    }
    .mobile-menu-toggle span,
    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }
    .mobile-menu-toggle span { position: relative; }
    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after { content: ""; position: absolute; left: 0; }
    .mobile-menu-toggle span::before { transform: translateY(-6px); }
    .mobile-menu-toggle span::after { transform: translateY(6px); }
    .mobile-menu-toggle[aria-expanded="true"] span { background: transparent; }
    .mobile-menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
    .mobile-menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
    .mobile-menu-toggle:focus-visible,
    .top.has-mobile-menu > nav a:focus-visible {
        outline: 2px solid var(--gold-light);
        outline-offset: -3px;
    }
    .top.has-mobile-menu > nav,
    .top > .mobile-menu-backdrop {
        position: absolute;
        inset: 100% 0 auto auto;
        height: calc(100vh - var(--mobile-header-height));
        height: calc(100dvh - var(--mobile-header-height));
    }
    .top > .mobile-menu-backdrop {
        width: 100%;
        background: #08090cb8;
        touch-action: none;
    }
    .top.has-mobile-menu > nav {
        z-index: 1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: min(320px, 84vw);
        padding: 14px 14px max(14px, env(safe-area-inset-bottom));
        overflow: auto;
        overscroll-behavior: contain;
        border-inline-start: 1px solid #d4b78366;
        background: #16171b;
        box-shadow: -12px 0 32px #0007;
    }
    .top.has-mobile-menu > .mobile-menu-toggle[aria-expanded="true"] + nav { display: flex; }
    .top.has-mobile-menu > .mobile-menu-toggle[aria-expanded="true"] + nav + .mobile-menu-backdrop { display: block; }
    .top.has-mobile-menu > nav a { min-height: 52px; padding: 0 14px; border-radius: 5px; }
    .top.has-mobile-menu > nav a:is(:hover, [aria-current="location"]) {
        background: #d4b78324;
        color: var(--gold-light);
    }
    .top.has-mobile-menu > nav a::after { content: none; }
}

/* 세 게임 구역에서 카드의 프레임과 이미지 크기를 맞춘다. */
.home-page .game-category-panel {
    --category-cards-width: min(54vw, 680px);
    background: #111317;
}
.home-page .game-category-panel .panel-art { opacity: 1; }
#mini-showcase .mini-monitor-art {
    container-type: size;
    overflow: hidden;
    --mini-art-focus: 65%;
}
.mini-monitor-art > svg {
    position: absolute;
    top: 50%;
    left: var(--mini-art-focus);
    display: block;
    width: max(100%, calc(100cqh * 1881 / 836));
    height: auto;
    transform: translate(calc(-1 * var(--mini-art-focus)), -50%);
}
@media (max-width: 760px) {
    #mini-showcase .mini-monitor-art { --mini-art-focus: 86%; }
}
.home-page .game-category-panel .panel-value { min-block-size: 2lh; }
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: var(--category-cards-width);
    padding-bottom: 7px;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #a4885d #18191d;
}
.category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9b98777;
    border-radius: 9px;
    background: #15171c;
    color: #fff4de;
    scroll-snap-align: start;
}
.category-card:hover { border-color: #edc78d; }
.category-card-heading {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: #fff4de;
    font-size: .9rem;
    font-weight: 650;
}
.category-card:focus-visible { outline: 2px solid #edc78d; outline-offset: -2px; }
.category-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #0c0e13;
}
.category-card-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 4px 12px;
    border-top: 1px solid #d9b98740;
    font-size: .9rem;
    line-height: 1.2;
    font-weight: 650;
}
.category-card-caption b { font-weight: 400; color: #e7c386; }
@media (max-width: 1050px) {
    .home-page .destination-apply { position: relative; }
    .home-page .destination-apply::after {
        content: "";
        position: absolute;
        inset: -9px 0;
    }
    .home-page .game-category-panel { --category-cards-width: min(100%, 700px); }
}
@media (max-width: 760px) {
    .destination-cities { grid-template-columns: minmax(0, 1fr); }
    .destination-city .destination-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.category-cards .category-card-caption {
    min-height: 36px;
    padding: 4px 7px;
    font-size: clamp(.69rem, 1.35vw, .83rem);
    word-break: keep-all;
}
.category-cards .category-card-caption b { display: none; }
.category-cards--overlay .category-card { position: relative; }
.category-cards--overlay .category-card-caption {
    position: absolute;
    inset: auto 0 0;
    display: block;
    min-height: 0;
    padding: 19px 4px 6px;
    border-top: 0;
    background: linear-gradient(to top, rgb(10 9 12 / 94%), rgb(10 9 12 / 79%) 42%, transparent);
    color: #fff5e5;
    font-size: clamp(.72rem, 1.35vw, .93rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
    text-align: center;
    text-shadow: 0 1px 3px rgb(0 0 0 / 85%);
}
.category-cards--overlay .category-card-variant {
    color: #f6d397;
    font-size: .9em;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (min-width: 1051px) {
    .category-cards {
        max-height: max(96px, calc(100svh - var(--intro-top) - 200px));
        overflow-y: auto;
    }
}
@media (max-width: 760px) {
    .category-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#main-content > .game-category-panel > .category-ribbons {
    position: absolute;
    inset: auto 0 12px;
}
.category-ribbon-pause {
    position: absolute;
    z-index: 1;
    inset: auto var(--page-gutter) 10px auto;
    width: 42px;
    height: 42px;
    border: 1px solid #d9b98799;
    border-radius: 6px;
    background: #16151aeb;
    color: #fff5e5;
    cursor: pointer;
}
@media (min-width: 1051px) {
    .game-category-panel .category-cards {
        max-height: max(96px, calc(100svh - var(--intro-top) - 274px));
    }
}
@media (max-width: 1050px) {
    #main-content > .game-category-panel > .category-ribbons {
        position: relative;
        inset: auto;
        margin-top: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .category-ribbons [data-banner-repeat], .category-ribbon-pause { display: none; }
}

html:has(.game-preview-dialog[open]) { overflow: hidden; }
.game-preview-dialog {
    position: fixed;
    inset: 0;
    width: min(920px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 18px;
    overflow: auto;
    border: 1px solid #d9b98777;
    border-radius: 16px;
    background-color: #14151b;
    color: #fff5e5;
    box-shadow: 0 24px 95px #000a;
}
.game-preview-dialog::backdrop { background: #08090bd9; }
.game-preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border: 1px solid #d9b98744;
    border-radius: 10px;
    background: #0c0e13;
}
.game-preview-category { margin: 0 0 9px; color: #e6c594; }
.game-preview-header h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2.25vw, 1.9rem);
    line-height: 1.13;
    overflow-wrap: anywhere;
}
.game-preview-dialog [hidden] { display: none; }
.game-preview-close {
    position: absolute;
    z-index: 1;
    inset: 10px 10px auto auto;
    width: 44px;
    height: 44px;
    border: 1px solid #d9b98777;
    border-radius: 8px;
    background: #15161dea;
    color: #fff5e5;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 640px) {
    .game-preview-dialog { padding: 12px; }
}

#slot-showcase .category-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(4px, 1vw, 8px);
}
@media (min-width: 1051px) {
    #slot-showcase .category-cards {
        width: calc(var(--category-cards-width) * 1.2 + 1.6px);
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.category-ribbons .game-strip-card--image {
    display: block;
    width: var(--image-ribbon-width, min(122px, 18vw));
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #0c0e13;
}
.category-ribbons .game-strip-card--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#casino-showcase { --image-ribbon-width: clamp(108px, 13vw, 154px); }
@media (min-width: 1051px) {
    #casino-showcase .category-cards {
        max-height: max(96px, calc(100svh - var(--intro-top) - 294px));
    }
}

@media (hover: hover) and (pointer: fine) {
    #main-content :is(.category-card, .destination-room, .games-ring-card, .game-banner):hover,
    #main-content .tiles li:has(img):hover {
        outline: 2px solid #edc78d;
        outline-offset: -2px;
    }
}

/* Zoom the artwork inside the banner frame, leaving its caption and hit area in place. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    :is(.category-card, .destination-room, .games-ring-card, .game-strip-card--image, .game-banner-capture) > img,
    .games-page .tiles li img {
        clip-path: inset(0);
        transition: transform .32s ease-out, clip-path .32s ease-out, filter .32s ease-out;
    }
    :is(.category-card, .destination-room, .games-ring-card, .game-strip-card--image, .game-banner-capture):is(:hover, :focus-visible) > img,
    .games-page .tiles li:is(:hover, :focus-within) img {
        transform: scale(1.1);
        clip-path: inset(4.55%);
        filter: brightness(1.08);
    }
    .game-strip-card:not(.game-strip-card--image) {
        isolation: isolate;
    }
    .game-strip-card:not(.game-strip-card--image)::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: inherit;
        pointer-events: none;
        transition: transform .32s ease-out, filter .32s ease-out;
    }
    .game-strip-card:not(.game-strip-card--image):is(:hover, :focus-visible)::after {
        transform: scale(1.12);
        filter: brightness(1.12);
    }
}

#mini-showcase { --image-ribbon-width: clamp(124px, 13vw, 146px); }
#mini-showcase .game-strip-card--image::before { content: none; }
@media (min-width: 1051px) {
    #mini-showcase .category-cards {
        max-height: max(96px, calc(100svh - var(--intro-top) - 290px));
    }
}

.game-preview-header { padding: 3px 52px 12px 2px; }
.game-preview-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px 0 10px;
    border-bottom: 1px solid #d9b98744;
}
.game-preview-tabs button {
    min-height: 36px;
    padding: 5px 10px;
    border: 1px solid #d9b98750;
    border-radius: 7px;
    background: #1f2027;
    color: #e7dac8;
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}
.game-preview-tabs button[aria-selected="true"] {
    border-color: #dec38a;
    background: #dec38a;
    color: #15151b;
    font-weight: 700;
}
@media (max-width: 760px) {
    #game-preview .game-preview-tabs:not([hidden]) {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        margin-bottom: 8px;
        padding: 0 0 8px;
    }
    #game-preview .game-preview-tabs button {
        padding-inline: 3px;
        white-space: nowrap;
    }
}
@media (max-width: 360px) {
    #game-preview .game-preview-tabs :is(#preview-guide-tab, #preview-demo-tab) { font-size: .7rem; }
}

.game-preview-dialog.telegram-contact {
    width: min(390px, calc(100% - 28px));
    padding: 34px 54px 30px;
    text-align: center;
}
.telegram-contact h2 { margin: 0; font-size: 1.55rem; }
.telegram-contact-account {
    margin: 8px 0 20px;
    color: #e6c594;
    overflow-wrap: anywhere;
}

#game-preview[open] {
    display: flex;
    flex-direction: column;
    --preview-inset: 12px;
    --preview-height: min(820px, calc(100dvh - 2 * var(--preview-inset)));
    width: min(1380px, calc(100% - 2 * var(--preview-inset)));
    height: var(--preview-height);
    max-height: none;
    overflow: hidden;
}
#game-preview .game-preview-header,
#game-preview .game-preview-tabs { flex: none; }
#game-preview > [role="tabpanel"]:not([hidden]) {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d9b98744;
    border-radius: 9px;
    background: #12131a;
}
.game-preview-frame-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #12131a;
}

#game-preview #preview-demo { overflow: hidden; }
#preview-demo iframe { transform-origin: top left; }
.game-preview-results-compare:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(5px, 1vw, 12px);
}
@media (max-width: 460px) {
    #game-preview[open] {
        --preview-inset: 7px;
        height: calc(100dvh - 2 * var(--preview-inset));
    }
}

#preview-results-tab, #preview-fair-tab { font-size: .66rem; }
#game-preview #preview-guide:not([hidden]) {
    --guide-accent: #ffbd79;
    --guide-caption-height: calc(.93rem * 1.35 + 8px);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-content: start;
    align-items: start;
    gap: clamp(10px, 1.6vw, 20px);
    padding: clamp(8px, .75vw, 11px);
}
.game-guide-main {
    min-width: 0;
    display: grid;
    gap: 12px;
    container-type: inline-size;
}
.game-guide-copy, .game-guide-notes {
    min-width: 0;
    padding: clamp(12px, 1.35vw, 17px);
    border: 1px solid #d9b98744;
    border-radius: 9px;
    background: #191a21;
}
.game-guide-copy h3, .game-guide-notes h3 {
    margin: 0 0 7px;
    color: var(--guide-accent);
    font-size: .95rem;
    line-height: 1.35;
}
.game-preview-description, .game-guide-notes p {
    margin: 0;
    color: #ddd0be;
    font-size: .86rem;
    line-height: 1.65;
    word-break: keep-all;
}
@media (min-width: 761px) {
    .game-guide-copy { margin-block-start: var(--guide-caption-height); }
}
@media (max-width: 760px) {
    #game-preview #preview-guide:not([hidden]) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 360px) {
    #game-preview #preview-guide:not([hidden]) { padding-inline: 0; }
}
@media (min-width: 761px) {
    #game-preview[open] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: 66px minmax(0, 1fr);
        column-gap: 14px;
        align-items: center;
        inset-block-start: calc((100dvh - var(--preview-height)) / 2);
        inset-block-end: auto;
        margin-block: 0;
        padding: 10px;
    }
    #game-preview[open][data-guide-visible] {
        height: calc(var(--preview-height) - var(--guide-height-reduction, 0px));
    }
    #game-preview .game-preview-header { grid-area: 1 / 1; padding: 0 0 0 4px; }
    #game-preview .game-preview-close {
        position: relative;
        grid-area: 1 / 3;
        inset: auto;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    #game-preview .game-preview-tabs {
        grid-area: 1 / 2;
        margin: 0;
        padding: 0;
        border: 0;
    }
    #game-preview .game-preview-tabs button {
        min-inline-size: 74px;
        padding-inline: 6px;
    }
    #game-preview > [role="tabpanel"] {
        grid-area: 2 / 1 / 3 / -1;
        align-self: stretch;
    }
}

.game-guide-features {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #d9b98738;
}
.game-guide-features h4 {
    margin: 0 0 6px;
    color: var(--guide-accent);
    font-size: .93rem;
}
.game-guide-feature-copy {
    margin: 0;
    color: #ddd0be;
    font-size: .86rem;
    line-height: 1.65;
    word-break: keep-all;
}
.game-guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: guide-step;
}
.game-guide-steps li {
    counter-increment: guide-step;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #d9b98735;
    border-radius: 7px;
    color: #ddd0be;
    font-size: .79rem;
    line-height: 1.45;
}
.game-guide-steps strong { color: var(--guide-accent); }
.game-guide-steps strong::before { content: counter(guide-step) ". "; }
@container (max-width: 390px) {
    .game-guide-steps { grid-template-columns: minmax(0, 1fr); }
}

.game-guide-figure { min-width: 0; margin: 0; }
.game-guide-figure figcaption {
    margin: 0 0 8px 2px;
    color: var(--guide-accent);
    line-height: 1.35;
    font-size: .93rem;
    font-weight: 700;
}
.game-guide-screen {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 16 / 9;
}
.game-guide-screen .game-preview-image { height: 100%; }
.game-guide-screen[data-loading] > * { visibility: hidden; }
.game-guide-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.game-guide-marker {
    --marker-size: clamp(18px, 3.55cqw, 29px);
    inset-inline-start: clamp(calc(var(--marker-size) / 2), var(--marker-x), calc(100% - var(--marker-size) / 2));
    inset-block-start: clamp(calc(var(--marker-size) / 2), var(--marker-y), calc(100% - var(--marker-size) / 2));
    position: absolute;
    display: flex;
    align-items: center;
    gap: 3px;
    translate: calc(var(--marker-size) / -2) -50%;
    color: #2b1708;
    line-height: 1;
}
.game-guide-marker b {
    display: grid;
    flex: none;
    place-items: center;
    width: var(--marker-size);
    height: var(--marker-size);
    border: 1px solid #ffe8cc;
    border-radius: 50%;
    background: #ffb35f;
    box-shadow: 0 0 0 2px #181720bc;
    font-size: clamp(12px, 2cqw, 16px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.game-guide-marker > span {
    display: none;
    padding: 5px 6px;
    border: 1px solid #ffba78;
    border-radius: 4px;
    background: #ffe1bd;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}
.game-guide-marker.marker-trailing {
    flex-direction: row-reverse;
    translate: calc(-100% + var(--marker-size) / 2) -50%;
}
@container (min-width: 680px) {
    .game-guide-marker:not(.marker-compact) > span { display: block; }
}
.game-guide-screen-key {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #d9b98738;
}
.game-guide-screen-key h4 { margin: 0 0 8px; color: var(--guide-accent); font-size: .9rem; }
.game-guide-screen-key ol {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-inline-start: 23px;
    color: #eee6d9;
    font-size: .82rem;
    line-height: 1.45;
}
.game-guide-screen-key li::marker { color: var(--guide-accent); font-weight: 700; }
.game-guide-screen-key strong { margin-inline-end: 7px; color: var(--guide-accent); }
.game-guide-screen-key span { word-break: keep-all; }

.tech-highlights .tech-summary-card:is(:hover, :focus-visible) {
    border-color: #f2d59b;
    background: linear-gradient(160deg, #272e37, #161c24 72%);
}
.tech-card-header > span {
    white-space: nowrap;
    color: #f5dfad;
    font-size: .8rem;
    font-weight: 650;
}
.game-preview-dialog.technology-dialog {
    width: min(650px, calc(100% - 28px));
    padding: clamp(18px, 3vw, 30px);
}
.technology-dialog h2 { margin: 0 50px 14px 0; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.technology-dialog [data-technology-content] > div { padding: 13px 0; border-top: 1px solid #d9b98744; }
.technology-dialog h3 { margin: 0 0 5px; color: #f4d99e; font-size: .96rem; }
.technology-detail {
    max-height: calc(100dvh - 155px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    padding-inline-end: 10px;
}
.technology-dialog .technology-detail p + p { margin-top: 5px; }
.technology-dialog p { margin: 0; color: #eee6d9; font-size: .9rem; line-height: 1.6; word-break: keep-all; }

@container (max-width: 820px) {
    .game-guide-marker.marker-stagger { margin-block-start: 18px; }
    .game-guide-marker.marker-stagger::before {
        content: "";
        position: absolute;
        inset-inline-start: 50%;
        inset-block-end: 100%;
        height: 16px;
        border-inline-start: 1px solid #ffbd79;
    }
}

/* Game sections follow the existing Technology and Partnership type scale. */
#main-content > :is(#dice-showcase, .game-category-panel) .panel-title {
    font-size: calc(var(--panel-heading-size) * .8);
}
#main-content > :is(#dice-showcase, .game-category-panel) .panel-value {
    font-size: var(--panel-summary-size);
}

/* Keep the contrast treatment close to each homepage summary. */
.home-page #main-content > .panel-photo > .panel-body > .panel-value {
    width: fit-content;
    color: #fff8ec;
    font-weight: 500;
    text-shadow: 0 1px 4px #080b13;
}
.panel-value-copy {
    position: relative;
    isolation: isolate;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}
.panel-value-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -3px -5px;
    background: linear-gradient(90deg, transparent, #10141b80 5px, #10141b80 calc(100% - 5px), transparent);
    mask-image: linear-gradient(transparent, #000 4px, #000 calc(100% - 4px), transparent);
    pointer-events: none;
}

.panel-title--branded {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px clamp(6px, .65vw, 10px);
}
.panel-game-brand {
    display: block;
    flex: none;
    width: clamp(82px, 7.5vw, 104px);
    height: auto;
    filter: drop-shadow(0 1px 4px #08090b);
}

#mini-showcase .panel-value {
    min-block-size: 0;
    margin-bottom: 6px;
}
.mini-game-actions {
    display: flex;
    justify-content: flex-end;
    width: var(--category-cards-width);
    margin-bottom: 8px;
}
#mini-game-cards .category-card-caption { display: none; }
.telegram-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #53b9e7;
    border-radius: 8px;
    background: #006eaa;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
}
.partner-dialog-contact { margin-top: 12px; }
.telegram-action img { flex: none; }
.telegram-action:hover { background: #005f95; }
.telegram-action:focus-visible {
    outline: 2px solid #9edfff;
    outline-offset: 3px;
}
.top > nav[aria-label="주 메뉴"] {
    font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -.015em;
}
.top > nav[aria-label="주 메뉴"] > a { color: #fff5e5; }
.top > nav[aria-label="주 메뉴"] > a:is(:hover, .on, [aria-current="location"]) { color: var(--gold-light); }
@media (min-width: 761px) {
    .top > nav[aria-label="주 메뉴"] {
        font-size: clamp(13px, calc(1.2vw + 2px), 17px);
        gap: clamp(8px, 1.5vw, 27px);
    }
}
@media (max-width: 760px) {
    .top > nav[aria-label="주 메뉴"] { font-size: 17px; }
}
