:root {
    color-scheme: dark;
    font-family: 'Segoe UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --bg: #081830;
    --panel: rgba(8, 24, 48, 0.92);
    --panel-border: rgba(255, 255, 255, 0.12);
    --text: #e9f1ff;
    --muted: rgba(228, 235, 255, 0.72);
    --brand: #ffd166;
    --btn-gradient: linear-gradient(135deg, #ffe08a, #ffb347, #ff944d);
    --btn-gradient-strong: linear-gradient(125deg, #00f0ff, #00b0ff, #0061ff);
    --btn-text: #051535;
    --btn-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --link-color: #7cd5ff;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 18% 15%, rgba(26, 80, 176, 0.35), transparent 40%), var(--bg);
    color: var(--text);
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: var(--link-color);
    font-weight: 700;
}
main,
footer {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}
.site-header {
    width: 100%;
    margin: 0;
    padding: 18px clamp(16px, 3vw, 48px);
    background: linear-gradient(100deg, #02102b, #0c42a1 55%, #0c5ad5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.header-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}
.header-brand img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
}
.header-brand span {
    color: #fff;
    font-size: 1rem;
}
.header-nav {
    display: flex;
    gap: 28px;
    flex: 1 1 auto;
    justify-content: center;
    white-space: nowrap;
}
.header-nav a {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--link-color);
    font-weight: 700;
}
.header-nav a:hover {
    color: #fff;
}
.header-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.header-search {
    display: flex;
    align-items: center;
    background: #fdfefe;
    border-radius: 999px;
    padding: 4px 10px;
    min-width: 200px;
}
.header-search input {
    border: none;
    background: transparent;
    font: inherit;
    padding: 6px 8px;
    color: #04204f;
    flex: 1;
}
.header-search button {
    background: var(--btn-gradient);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--btn-text);
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 600;
    box-shadow: var(--btn-shadow);
}
#search-info {
    font-size: 0.85rem;
    color: var(--muted);
    width: min(1200px, 100%);
    margin: 8px auto 0;
    display: block;
}
.favorites-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-gradient);
    border: none;
    color: var(--btn-text);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: var(--btn-shadow);
}
.favorites-icon {
    font-size: 1.1rem;
}
.favorites-label {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: var(--btn-text);
}
.favorites-badge {
    background: #8bc34a;
    color: #031634;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.menu-btn {
    background: var(--btn-gradient-strong);
    border: none;
    border-radius: 12px;
    color: #fff;
    padding: 8px 16px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
}
.favorites-panel {
    position: relative;
    margin-top: 16px;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(12, 28, 52, 0.95);
    display: none;
}
.favorites-panel.show {
    display: block;
}
.favorites-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.favorites-list {
    display: grid;
    gap: 12px;
}
.favorites-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: flex-end;
    align-items: stretch;
    z-index: 3000;
}
.sidebar-overlay.show {
    display: flex;
}
.sidebar-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.sidebar-panel {
    position: relative;
    width: min(360px, 92vw);
    background: rgba(12, 28, 52, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 24px 32px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    max-height: 100vh;
    animation: sidebar-slide 0.2s ease;
}
@keyframes sidebar-slide {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.sidebar-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.sidebar-brand {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sidebar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.close-sidebar {
    background: var(--btn-gradient);
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--btn-text);
    cursor: pointer;
    box-shadow: var(--btn-shadow);
}
.sidebar-section {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}
.sidebar-section h4 {
    margin: 0;
    font-size: 1rem;
}
.sidebar-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sidebar-buttons.column {
    flex-direction: column;
}
.sidebar-button {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    color: var(--btn-text);
    background: var(--btn-gradient);
    font-weight: 700;
    box-shadow: var(--btn-shadow);
}
.sidebar-buttons.column .sidebar-button {
    width: 100%;
    text-align: center;
}
.sidebar-favorites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.sidebar-favorite-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
}
.sidebar-favorite-card img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-favorite-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.sidebar-favorite-card span {
    font-size: 0.75rem;
    color: var(--muted);
}
.sidebar-empty {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}
.layout-grid {
    margin-top: 36px;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}
.detail-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    gap: 28px;
}
.breadcrumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}
.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumbs a {
    text-decoration: none;
    color: var(--link-color);
}
.favorite-toggle {
    background: var(--btn-gradient);
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    color: var(--btn-text);
    font-weight: 700;
    box-shadow: var(--btn-shadow);
}
.favorite-toggle.active {
    background: var(--btn-gradient-strong);
    color: #fff;
}
.player-shell {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 16px;
    background: rgba(8, 24, 48, 0.85);
    display: grid;
    gap: 16px;
}
.player-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.player-preview img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.player-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 48, 0) 40%, rgba(8, 24, 48, 0.75));
    pointer-events: none;
}
.preview-actions {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 48px);
    z-index: 2;
}
.player-preview button,
.player-preview a {
    border-radius: 12px;
    border: none;
    padding: 12px 16px;
    font-weight: 600;
    background: var(--btn-gradient);
    color: var(--btn-text);
    text-decoration: none;
    box-shadow: var(--btn-shadow);
}
.player-preview button.primary {
    background: var(--btn-gradient-strong);
    color: #fff;
}
.player-shell iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 16px;
    display: none;
    background: #000;
}
.player-shell.playing iframe {
    display: block;
}
.player-shell.playing .player-preview {
    display: none;
}
.player-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}
.rating-chip {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rating-stars {
    position: relative;
    font-size: 1.2rem;
    letter-spacing: 4px;
    line-height: 1;
    display: inline-flex;
}
.rating-stars span {
    pointer-events: none;
}
.rating-stars .rating-base {
    color: rgba(255, 255, 255, 0.18);
}
.rating-stars .rating-fill {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffd166;
}
.player-actions {
    display: flex;
    gap: 8px;
}
.player-actions button {
    background: var(--btn-gradient);
    border: none;
    border-radius: 14px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
}
.player-actions button[data-action="exit-fullscreen"] {
    display: none;
}
.player-actions button[data-action="exit-fullscreen"].visible {
    display: inline-flex;
}
.detail-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.detail-columns h2 {
    margin-top: 0;
}
.pill-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}
.pill-list li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
}
.article-block h2 {
    margin-top: 0;
}
.article-block h3 {
    margin-top: 24px;
    margin-bottom: 8px;
}
.article-block p {
    line-height: 1.7;
    margin: 12px 0;
}
.theme-chain {
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    gap: 16px;
}
.theme-chain-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.theme-chain-links a {
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    font-weight: 600;
    transition: background 0.2s ease;
}
.theme-chain-links a:hover {
    background: rgba(255, 255, 255, 0.16);
}
.also-like {
    display: grid;
    gap: 18px;
}
.card-grid,
.game-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.hot-grid {
    grid-template-columns: repeat(6, minmax(120px, 1fr));
}
.weekly-grid {
    grid-template-columns: repeat(11, minmax(90px, 1fr));
}
@media (max-width: 1200px) {
    .hot-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .weekly-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
}
.game-card,
.grid-card {
    padding: 0;
}
.card-hit {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;
    border-radius: 18px;
    background: rgba(8, 24, 48, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.card-hit img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
.card-hit::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.card-label {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #f6f7ff;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffe08a, #ffc94d, #ffb347);
    color: #2d2d2d;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.card-meta {
    margin: 10px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}
.comments {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}
.comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}
.comment-list::-webkit-scrollbar {
    width: 6px;
}
.comment-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}
.comment {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 28, 52, 0.7);
}
.comment-form {
    display: grid;
    gap: 12px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    font: inherit;
}
.comment-form label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
}
.comment-form .agree-field {
    justify-content: center;
    text-align: center;
    justify-self: center;
    width: auto;
    white-space: nowrap;
}
.comment-form button {
    justify-self: center;
    padding: 12px 32px;
    border-radius: 999px;
    background: var(--btn-gradient-strong);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
}
.sidebar {
    display: grid;
    gap: 24px;
}
.sidebar-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
}
.sidebar-grid {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    display: grid;
    gap: 16px;
}
.sidebar-grid-head p {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #8eb8ff;
}
.sidebar-grid-head h3 {
    margin: 0;
    font-size: 1.1rem;
}
.sidebar-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 12px;
}
.sidebar-card {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(142, 184, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}
.sidebar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-card-rating {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.65rem;
    border-radius: 999px;
    background: rgba(8, 24, 48, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}
.sidebar-card-label {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
}
.game-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 14px;
}
.game-list li {
    display: grid;
    gap: 8px;
}
.ranked-list {
    list-style: decimal;
    margin: 12px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chips a {
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--btn-gradient);
    color: var(--btn-text);
    font-weight: 600;
    box-shadow: var(--btn-shadow);
}
.chips span {
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    font-weight: 600;
}
.home-grids {
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    gap: 24px;
}
.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}
.section-head p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8eb8ff;
}
.theme-filter {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}
.theme-filter button {
    border: none;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.theme-filter button.active {
    background: var(--btn-gradient);
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
}
.theme-filter button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.theme-filter-empty {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}
.ghost-link {
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    color: var(--btn-text);
    font-size: 0.85rem;
    background: var(--btn-gradient);
    font-weight: 700;
    box-shadow: var(--btn-shadow);
}
footer {
    margin-top: 48px;
    padding: 56px 24px 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}
.footer-links a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 700;
}
.footer-grid {
    width: min(1200px, 100%);
    margin: 0 auto 48px;
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    text-align: left;
}
.footer-tag {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #8eb8ff;
}
.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
}
.footer-social a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}
.footer-social a:hover {
    text-decoration: underline;
}
.footer-company h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    color: #fff;
}
.footer-company p,
.footer-meta p {
    margin: 12px 0;
    line-height: 1.7;
    color: var(--muted);
}
.footer-company strong,
.footer-meta strong {
    color: #fff;
}
.footer-meta a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 700;
}
.footer-meta a:hover {
    text-decoration: underline;
}
.footer-map iframe {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    min-height: 200px;
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--btn-gradient-strong);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--btn-shadow);
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 18px;
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.toast.show {
    opacity: 1;
}
@media (max-width: 1080px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .header-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        white-space: normal;
    }
    .header-tools {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
@media (max-width: 720px) {
    main,
    footer {
        padding: 0 16px;
    }
    .detail-card,
    .home-grids {
        padding: 24px;
    }
    .player-preview img {
        height: 260px;
    }
    .header-inner {
        align-items: flex-start;
    }
    .header-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .header-search {
        width: 100%;
    }
    .player-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}