.game-hall-page {
    height: 100vh;
    height: var(--db-nav-viewport-height, 100dvh);
    min-height: 100vh;
    min-height: var(--db-nav-viewport-height, 100dvh);
    overflow: hidden;
    overscroll-behavior-y: none;
    color: #1f2933;
    background:
        radial-gradient(circle at top left, rgba(255, 244, 214, 0.9), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #f8fbff 0%, #fffaf1 48%, #f7fbff 100%);
}

.game-hall-container {
    max-width: 720px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px 10px 0;
}

.game-hall-container.container:last-child {
    margin-bottom: 0;
}

.game-hall-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 2px;
}

.game-hall-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #9a3412;
    background: #fff1b8;
    font-size: 14px;
    font-weight: 800;
}

.game-hall-hero h1 {
    margin: 0;
    color: #20262e;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.16;
}

.game-hall-hero p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.game-hall-home {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.game-hall-home:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.game-hall-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-hall-world {
    min-height: 190px;
    border: 1px solid rgba(92, 126, 70, 0.25);
    border-radius: 20px;
    background: linear-gradient(135deg, #f9f7df, #dcefcf);
    box-shadow: 0 14px 32px rgba(71, 97, 57, 0.14);
    overflow: hidden;
}

.game-hall-world-link {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr);
    min-height: 190px;
    color: inherit;
    text-decoration: none;
}

.game-hall-world-link:hover { color: inherit; text-decoration: none; }
.game-hall-world-copy { padding: 22px; }
.game-hall-world-kicker, .game-hall-section-kicker { color: #66805a; font-size: 12px; font-weight: 800; }
.game-hall-world-copy h2 { margin: 7px 0; color: #29442f; font-size: 25px; font-weight: 900; }
.game-hall-world-copy p { max-width: 390px; margin: 0; color: #61705e; font-size: 14px; font-weight: 600; line-height: 1.55; }
.game-hall-world-action { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-top: 13px; padding: 0 14px; border-radius: 99px; color: #fff; background: #4f7b50; font-size: 13px; font-weight: 900; }
.game-hall-world-paths { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.game-hall-world-paths em { padding: 5px 8px; border-radius: 99px; color: #557052; background: rgba(255,255,255,.66); font-size: 10px; font-style: normal; font-weight: 800; }
.game-hall-world-scene { position: relative; min-height: 190px; background: linear-gradient(180deg, #cfe7e2 0 48%, #8dbd76 48% 100%); overflow: hidden; }
.game-hall-world-scene::after { content: ""; position: absolute; right: -25px; bottom: -13px; left: -15px; height: 69px; border-radius: 50%; background: #6a8e52; }
.game-hall-world-scene span { position: absolute; top: 20px; right: 24px; font-size: 25px; }
.game-hall-world-scene i, .game-hall-world-scene b, .game-hall-world-scene em { position: absolute; z-index: 1; font-style: normal; }
.game-hall-world-scene i { right: 16px; bottom: 32px; font-size: 52px; }.game-hall-world-scene b { bottom: 30px; left: 20px; font-size: 33px; }.game-hall-world-scene em { right: 74px; bottom: 16px; font-size: 31px; }
.game-hall-section-kicker { display: block; margin-bottom: 2px; }

.game-hall-pet {
    min-height: 190px;
    border: 1px solid rgba(101, 132, 94, 0.24);
    border-radius: 20px;
    background: linear-gradient(135deg, #fffaf0, #e4f1e7);
    box-shadow: 0 14px 32px rgba(76, 96, 66, 0.13);
    overflow: hidden;
}

.game-hall-pet-link {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr);
    min-height: 190px;
    color: inherit;
    text-decoration: none;
}

.game-hall-pet-link:hover { color: inherit; text-decoration: none; }
.game-hall-pet-copy { padding: 22px; }
.game-hall-pet-kicker { color: #6d8066; font-size: 12px; font-weight: 800; }
.game-hall-pet-copy h2 { margin: 7px 0; color: #3e352b; font-size: 25px; font-weight: 900; }
.game-hall-pet-copy p { max-width: 390px; margin: 0; color: #756b60; font-size: 14px; font-weight: 600; line-height: 1.55; }
.game-hall-pet-action { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-top: 13px; padding: 0 14px; border-radius: 99px; color: #fff; background: #4f754e; font-size: 13px; font-weight: 900; }
.game-hall-pet-paths { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.game-hall-pet-paths em { padding: 5px 8px; border-radius: 99px; color: #557052; background: rgba(255,255,255,.7); font-size: 11px; font-style: normal; font-weight: 800; }
.game-hall-pet-scene { position: relative; min-height: 190px; overflow: hidden; background: linear-gradient(180deg,#dfeee5 0 64%,#e4cfa7 64% 100%); }
.game-hall-pet-scene::after { content: ""; position: absolute; right: -18px; bottom: -27px; left: -18px; height: 76px; border-radius: 50%; background: rgba(188,151,99,.28); }
.game-hall-pet-art { position: absolute; z-index: 1; display: block; aspect-ratio: 1; border: 3px solid rgba(255,255,255,.72); border-radius: 46% 46% 18px 18px; background-color: #efe4d1; background-image: url('/game/pet/images/starter-pets.webp'); background-repeat: no-repeat; background-size: 300% 200%; box-shadow: 0 8px 18px rgba(70,62,46,.14); }
.game-hall-pet-art.is-main { right: 10px; bottom: 17px; width: 118px; background-position: 0 0; }
.game-hall-pet-art.is-cat { bottom: 13px; left: 8px; width: 47px; background-position: 0 100%; }
.game-hall-pet-art.is-chick { right: 4px; bottom: 8px; width: 43px; background-position: 50% 0; }

.game-hall-section {
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.game-hall-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.game-hall-section-note {
    margin: -2px 0 9px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #64748b;
    background: #f7faf4;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.game-hall-section-head h2 {
    margin: 0;
    color: #20262e;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.game-hall-section-head span {
    color: #8290a4;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.game-hall-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.game-hall-card {
    min-width: 0;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.game-hall-card-link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 88px;
    padding: 11px;
    color: inherit;
    text-decoration: none;
}

.game-hall-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.game-hall-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff1b8;
    font-size: 28px;
    line-height: 1;
}

.game-hall-card-copy { min-width: 0; }
.game-hall-card-copy strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}
.game-hall-card-copy small { display: block; margin-top: 2px; color: #7b8798; font-size: 11px; font-weight: 700; }
.game-hall-card-copy em { display: block; margin-top: 4px; color: #526273; font-size: 12px; font-style: normal; line-height: 1.35; }

.game-hall-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: #4f7b50;
    font-size: 12px;
    font-weight: 900;
}

.game-hall-activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-hall-activity-row {
    display: grid;
    grid-template-columns: 52px 50px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid rgba(253, 186, 116, 0.46);
    border-radius: 8px;
    color: inherit;
    background: rgba(255, 251, 235, 0.86);
    text-decoration: none;
}

.game-hall-activity-row:hover {
    color: inherit;
    text-decoration: none;
}

.game-hall-activity-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    border-radius: 999px;
    color: #9a3412;
    background: #fff1b8;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.game-hall-activity-time {
    color: #667085;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.game-hall-activity-text {
    min-width: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-hall-loading,
.game-hall-empty {
    padding: 18px 12px;
    border-radius: 8px;
    color: #64748b;
    background: rgba(248, 250, 252, 0.9);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 620px) {
    .game-hall-container {
        padding-right: 7px;
        padding-left: 7px;
    }

    .game-hall-hero {
        padding-top: 8px;
    }

    .game-hall-hero h1 { font-size: 23px; }

    .game-hall-section {
        padding: 10px;
    }
}

@media (max-width: 470px) {
    .game-hall-world-link { grid-template-columns: minmax(0, 1fr) 112px; }
    .game-hall-world-copy { padding: 17px; }
    .game-hall-world-copy h2 { font-size: 22px; }
    .game-hall-world-copy p { font-size: 13px; }
    .game-hall-world-scene em { right: 48px; }
    .game-hall-pet-link { grid-template-columns: minmax(0, 1fr) 112px; }
    .game-hall-pet-copy { padding: 17px; }
    .game-hall-pet-copy h2 { font-size: 22px; }
    .game-hall-pet-copy p { font-size: 13px; }
    .game-hall-pet-art.is-main { right: 5px; width: 98px; }
    .game-hall-pet-art.is-cat { left: 3px; width: 39px; }
    .game-hall-pet-art.is-chick { width: 36px; }
    .game-hall-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
    .game-hall-card-link {
        grid-template-columns: 44px minmax(0, 1fr) 66px;
        min-height: 88px;
        gap: 7px;
        padding: 10px;
    }

    .game-hall-card-icon {
        width: 44px;
        height: 44px;
        font-size: 25px;
    }

    .game-hall-card-action { grid-column: 3; grid-row: 1; justify-self: end; width: 66px; min-width: 0; height: 28px; padding: 0 5px; white-space: nowrap; }

    .game-hall-activity-row {
        grid-template-columns: 48px 46px minmax(0, 1fr);
        gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .game-hall-activity-text {
        font-size: 14px;
    }
}
