/* ===========================================================
   Fanwenfree — Modern Warm Theme
   A refined, warm gaming UI with violet & coral accents.

   Palette
   ─────────────────────────────────────────────────────────
   Page background   #fafaf9   (warm stone-50)
   Surface           #ffffff   (pure white cards)
   Surface hover     #f5f5f4
   Border            #e7e5e4
   Border accent     #ddd6fe
   Primary           #7c3aed   (violet-600)
   Primary hover     #6d28d9   (violet-700)
   Primary soft      #f5f3ff   (violet-50)
   Accent coral      #f43f5e   (rose-500)
   Accent teal       #14b8a6   (teal-500)
   Accent gold       #eab308   (yellow-500)
   Text primary      #1c1917   (stone-900)
   Text secondary    #57534e   (stone-600)
   Text muted        #a8a29e   (stone-400)
   =========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    max-width: 660px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont,
        'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', sans-serif;
    color: #1c1917;
    line-height: 1.65;
    min-height: 100vh;
    background: #fafaf9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ────── Scrollbar ─────── */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #fafaf9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7c3aed, #6d28d9);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8b5cf6, #7c3aed);
}

/* ─────── Navbar ────── */
.hdvsvs-navbar {
    max-width: 660px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7e5e4;
    position: sticky;
    top: 0;
    z-index: 50;
}

.hdvsvs-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: transform .25s ease;
}
.hdvsvs-nav-logo:hover {
    transform: translateY(-1px);
}

.hdvsvs-nav-logo img {
    height: 38px;
    width: 38px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 8px rgba(124, 58, 237, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.hdvsvs-nav-logo:hover img {
    transform: rotate(-3deg) scale(1.04);
    box-shadow: 0 4px 14px rgba(124, 58, 237, .28);
}

.hdvsvs-nav-title-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.hdvsvs-nav-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .3px;
    background: linear-gradient(135deg, #7c3aed, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hdvsvs-nav-subtitle {
    font-size: .62rem;
    color: #a8a29e;
    letter-spacing: .6px;
    margin-top: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ─────── Menu Icon / Dropdown ─────── */
#nav-open {
    display: block;
    height: 20px;
    filter: brightness(0) saturate(100) invert(27%) sepia(72%) saturate(1450%) hue-rotate(248deg) brightness(95%) contrast(92%);
    opacity: .8;
    transition: transform .2s ease, opacity .2s ease;
}
.hdvsvs-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    cursor: pointer;
    transition: all .2s ease;
}
.hdvsvs-menu-icon:hover {
    background: #ede9fe;
    border-color: #c4b5fd;
}
.hdvsvs-menu-icon:hover #nav-open {
    transform: scale(1.06);
}

#nav-close {
    display: none;
    height: 20px;
    filter: brightness(0);
}

.hdvsvs-menu {
    width: 260px;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    position: absolute;
    align-items: stretch;
    height: auto;
    top: 60px;
    right: 10px;
    padding: 8px 0;
    z-index: 60;
    margin: 0;
    list-style: none;
    display: none;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .03);
}

.hdvsvs-menu li {
    position: relative;
}
.hdvsvs-menu li a {
    font-size: .92rem;
    color: #57534e;
    text-decoration: none;
    font-weight: 500;
    transition: all .25s ease;
    padding: 11px 20px;
    display: block;
    border-left: 3px solid transparent;
    border-radius: 0 10px 10px 0;
    margin: 2px 5px;
}
.hdvsvs-menu li a:hover {
    color: #7c3aed;
    background: #f5f3ff;
    border-left-color: #7c3aed;
    padding-left: 24px;
}

.hdvsvs-menu.open {
    display: flex;
    flex-direction: column;
    animation: menuFadeIn .25s ease-out;
}
.hdvsvs-menu.open #nav-open {
    display: none;
}
.hdvsvs-menu.open #nav-close {
    display: block;
}

@keyframes menuFadeIn {
    0% { opacity: 0; transform: translateY(-8px) scale(.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─────── Game Card ─────── */
.hdvsvs-game-item {
    border-radius: 12px;
    position: relative;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .03);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}
.hdvsvs-game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(124, 58, 237, .1), 0 0 0 1px rgba(124, 58, 237, .12);
}

.hdvsvs-game-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hdvsvs-game-cover {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
}
.hdvsvs-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 9px;
    display: block;
    transition: transform .4s ease;
}
.hdvsvs-game-cover img:hover {
    transform: scale(1.04);
}

.hdvsvs-game-cover-recommend {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
}
.hdvsvs-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 9px;
    display: block;
    transition: transform .4s ease;
}
.hdvsvs-game-cover-recommend img:hover {
    transform: scale(1.04);
}

.hdvsvs-game-item h3 {
    color: #1c1917;
    margin: 5px 0;
    font-size: .8rem;
    font-weight: 600;
}
.hdvsvs-game-item p {
    color: #a8a29e;
    margin: 0;
    font-size: .82rem;
}

.hdvsvs-game-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 7px 3px 3px;
}
.hdvsvs-game-info p:first-child {
    color: #1c1917;
    font-size: .82rem;
    font-weight: 600;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.hdvsvs-game-info p:nth-child(2) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: 4.5em;
    font-size: .74rem;
    color: #57534e;
    font-weight: 400;
}
.hdvsvs-game-info p:last-child {
    font-size: .7rem;
    color: #a8a29e;
    font-weight: 500;
    margin-top: 2px;
}

.common-game-right {
    display: flex;
    width: 20%;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 8px;
    right: 0;
    justify-content: center;
    align-items: center;
}

/* ─────── Section Containers ─────── */
.hdvsvs-recomed-div {
    margin: 0 10px;
    border-radius: 12px;
    padding: 4px 0 10px;
}

.hdvsvs-detail-recomed-div {
    margin: 10px 18px;
    border-radius: 12px;
    padding: 10px 0;
}

.hdvsvs-common-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e7e5e4;
    position: relative;
    overflow: hidden;
}
.hdvsvs-common-recommend-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #7c3aed, #f43f5e);
    border-radius: 3px 0 0 3px;
}
.hdvsvs-common-recommend-title p {
    color: #1c1917;
    font-size: .98rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: .2px;
    position: relative;
    z-index: 1;
    padding-left: 8px;
}
.hdvsvs-common-recommend-title img {
    width: 16px;
    height: 16px;
    opacity: .45;
    transition: all .2s ease;
    filter: brightness(0) saturate(100) invert(27%) sepia(72%) saturate(1450%) hue-rotate(248deg) brightness(95%) contrast(92%);
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.hdvsvs-common-recommend-title img:hover {
    opacity: .75;
    transform: translateX(2px);
}

/* ─────── Grid Layouts ─────── */
.hdvsvs-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}
.hdvsvs-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
}
.hdvsvs-game-big-2 {
    grid-column: span 2;
    grid-row: span 2;
}
.game-big-3 {
    grid-column: span 3;
    grid-row: span 3;
}

/* ─────── Footer ─────── */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 28px;
    background: #ffffff;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #e7e5e4;
    position: relative;
}

.hdvsvs-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}
.hdvsvs-footer-links a {
    font-size: .76rem;
    color: #57534e;
    text-decoration: none;
    transition: color .25s ease;
    position: relative;
}
.hdvsvs-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: #7c3aed;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.hdvsvs-footer-links a:hover {
    color: #7c3aed;
}
.hdvsvs-footer-links a:hover::after {
    transform: scaleX(1);
}

footer .hdvsvs-copyright {
    font-size: .72rem;
    color: #a8a29e;
    margin: 6px 0 0;
    letter-spacing: .2px;
}

/* ─────── Floating Buttons ─────── */
#back-top,
#back-home {
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: all .25s ease;
    filter: brightness(0) saturate(100) invert(27%) sepia(72%) saturate(1450%) hue-rotate(248deg) brightness(95%) contrast(92%);
    opacity: .65;
    padding: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    border: 1px solid #e7e5e4;
    box-sizing: content-box;
}
#back-top:hover,
#back-home:hover {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(124, 58, 237, .18);
    background: #f5f3ff;
}

#flow {
    position: fixed;
    bottom: 90px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px;
    z-index: 100;
    transition: opacity .3s ease;
}

/* ─────── Game Detail ─────── */
.hdvsvs-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .03);
    margin: 18px;
    overflow: hidden;
}

.game-detail-iframe {
    width: 100%;
}

.hdvsvs-game-detail-img {
    width: 100%;
    position: relative;
}
.hdvsvs-game-detail-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 1 / .8;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: all .3s ease;
}
.hdvsvs-game-detail-img img:hover {
    transform: scale(1.015);
    box-shadow: 0 6px 20px rgba(124, 58, 237, .12);
}

.hdvsvs-detail-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4px 6px;
    order: 1;
    z-index: 1;
}
.hdvsvs-detail-info h2 {
    color: #1c1917;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.2px;
}
.hdvsvs-detail-info p {
    color: #57534e;
    font-size: .92rem;
    margin: 5px 0;
    line-height: 1.7;
}
.hdvsvs-detail-info a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    margin-bottom: 10px;
}

/* ─────── Game Instructions / Article blocks ─────── */
.hdvsvs-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 18px;
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .03);
}
.hdvsvs-game-instructions p {
    color: #57534e;
    line-height: 1.75;
    font-size: .92rem;
}

/* ─────── Play Button ─────── */
.hdvsvs-game-gameplay-button {
    display: flex;
    background: linear-gradient(135deg, #7c3aed 0%, #f43f5e 100%);
    border-radius: 12px;
    padding: 12px 34px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 14px rgba(124, 58, 237, .25);
    margin: 0 auto;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.hdvsvs-game-gameplay-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(124, 58, 237, .35);
}
.hdvsvs-game-gameplay-button img {
    width: 46px;
    height: 46px;
    transition: transform .3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .12));
}
.hdvsvs-game-gameplay-button:hover img {
    transform: scale(1.06) rotate(6deg);
}
.hdvsvs-game-gameplay-button p {
    color: #fff;
    margin: 0 12px 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .2px;
}

/* ─────── Game Iframe Page ─────── */
.hdvsvs-game-iframe {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100vh;
    position: relative;
    background: #fafaf9;
}
#iframe-menu-btn {
    margin-top: 18px;
    margin-left: 56px;
    position: absolute;
    height: 38px;
}
#iframe-back-btn {
    margin-top: 18px;
    margin-left: 18px;
    position: absolute;
    height: 40px;
    cursor: pointer;
    filter: brightness(0) saturate(100) invert(27%) sepia(72%) saturate(1450%) hue-rotate(248deg) brightness(95%) contrast(92%);
    opacity: .65;
    transition: transform .2s ease, opacity .2s ease;
    padding: 9px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    box-sizing: content-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
#iframe-back-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    background: #f5f3ff;
}

/* ─────── News / Article Pages ─────── */
.hdvsvs-news-detail {
    color: #57534e;
    text-align: start;
    padding: 26px 20px;
    margin: 18px 14px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .03);
}
.hdvsvs-news-detail img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.hdvsvs-news-detail h3 {
    color: #1c1917;
    font-size: 1.45rem;
    margin: 0 0 6px;
    padding-bottom: 12px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #7c3aed, #f43f5e, transparent) 1;
    font-weight: 800;
    letter-spacing: -.2px;
    line-height: 1.3;
}
.hdvsvs-news-detail h4 {
    color: #7c3aed;
    font-size: 1.08rem;
    margin: 24px 0 8px 0;
    font-weight: 700;
    position: relative;
    padding-left: 12px;
}
.hdvsvs-news-detail h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: linear-gradient(180deg, #7c3aed, #f43f5e);
    border-radius: 3px;
}
.hdvsvs-news-detail p {
    color: #57534e;
    font-size: .92rem;
    line-height: 1.8;
    margin: 8px 0;
}
.hdvsvs-news-detail a {
    color: #7c3aed;
    text-decoration: none;
    border-bottom: 1px dashed rgba(124, 58, 237, .25);
    transition: color .2s ease, border-color .2s ease;
}
.hdvsvs-news-detail a:hover {
    color: #f43f5e;
    border-bottom-color: rgba(244, 63, 94, .5);
}
.hdvsvs-news-detail ul {
    padding-left: 20px;
    margin: 8px 0;
}
.hdvsvs-news-detail li {
    color: #57534e;
    margin: 6px 0;
    font-size: .9rem;
    line-height: 1.7;
}
.hdvsvs-news-detail li::marker {
    color: #7c3aed;
}
.hdvsvs-news-detail strong {
    color: #1c1917;
    font-weight: 600;
}

/* ─────── 404 Page ─────── */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 18px;
}
.error-page h1 {
    font-size: 1.8em;
    color: #1c1917;
    margin: 10px 0;
}
.error-page p {
    font-size: 1em;
    color: #57534e;
    padding: .5rem 1rem;
}
.error-page img {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
}

/* ─────── Game Mark / New Badge ─────── */
.hdvsvs-game-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 4vh;
    position: absolute;
    border-radius: 0 0 8px 8px;
    top: -10px;
    left: -10px;
    z-index: 2;
}
.hdvsvs-game-mark img {
    width: 50px;
    height: 25px;
}
.hdvsvs-game-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 4vh;
    position: absolute;
    border-radius: 0 0 8px 8px;
    top: 0;
    left: -10px;
    z-index: 2;
}
.hdvsvs-game-new img {
    width: 50px;
    height: 50px;
}
.hdvsvs-game-mark p {
    color: #fff;
    font-size: 1rem;
    margin: 0 10px;
    font-weight: 600;
}

#hdvsvs-game-body {
    margin-top: 20px;
}

/* ─────── Iframe Menu (in-page) ─────── */
.iframe-menu {
    display: flex;
    width: 60%;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    position: absolute;
    align-items: stretch;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 8;
    margin: 0;
    list-style: none;
    display: none;
    padding: 10px;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .08);
}
.iframe-menu.open {
    display: flex;
    flex-direction: column;
}
.iframe-menu li a {
    font-size: .92rem;
    color: #57534e;
    text-decoration: none;
    font-weight: 500;
    transition: color .25s, padding-left .25s;
    padding: 10px 14px;
    display: block;
    border-radius: 8px;
}
.iframe-menu li a:hover {
    color: #7c3aed;
    background: #f5f3ff;
    padding-left: 20px;
}

.iframe-list-item a {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: space-between;
    align-items: center;
}
.iframe-list-item a img {
    margin: 0;
    height: 38px;
    width: 38px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}
.iframe-list-item a p {
    margin: 0 14px;
    position: relative;
    color: #1c1917;
}
.iframe-list-item-close a {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: flex-end;
    align-items: center;
}
.iframe-list-item-close img {
    margin: 0;
    height: 38px;
    width: 38px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    cursor: pointer;
}
#iframe-close-btn {
    right: 0;
    top: 0;
}

/* ─────── Touch / Interaction ────── */
@media (hover: none) and (pointer: coarse) {
    .hdvsvs-game-item:active {
        transform: translateY(-2px) scale(.98);
        box-shadow: 0 4px 12px rgba(124, 58, 237, .12);
    }
    .hdvsvs-game-cover img:active {
        transform: scale(1.02);
    }
    .recommend-item-btn:active {
        transform: translateY(-2px) scale(.97);
    }
    #back-top:active,
    #back-home:active {
        transform: scale(.9);
    }
}

.hdvsvs-game-item,
.recommend-item-btn,
.hdvsvs-common-recommend-title,
.hdvsvs-game-gameplay-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* ─────── Animations ─────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hdvsvs-game-item {
    animation: fadeInUp .4s ease both;
}
.hdvsvs-game-item:nth-child(1) { animation-delay: .04s; }
.hdvsvs-game-item:nth-child(2) { animation-delay: .08s; }
.hdvsvs-game-item:nth-child(3) { animation-delay: .12s; }
.hdvsvs-game-item:nth-child(4) { animation-delay: .16s; }
.hdvsvs-game-item:nth-child(5) { animation-delay: .2s; }
.hdvsvs-game-item:nth-child(6) { animation-delay: .24s; }

/* ─────── Responsive ─────── */
@media (max-width: 480px) {
    .hdvsvs-game-item-div {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .hdvsvs-recommend-content,
    .hdvsvs-recommend-content-hot {
        grid-template-columns: repeat(2, 1fr);
    }
    .hdvsvs-game-detail-title {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    #flow {
        bottom: 72px;
        right: 8px;
    }
    .hdvsvs-nav-subtitle {
        display: none;
    }
    .hdvsvs-navbar {
        height: 56px;
    }
    .hdvsvs-nav-logo img {
        height: 34px;
        width: 34px;
    }
    .hdvsvs-nav-title {
        font-size: 1.02rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hdvsvs-game-item-div {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .hdvsvs-recommend-content,
    .hdvsvs-recommend-content-hot {
        grid-template-columns: repeat(4, 1fr);
    }
}
