:root {
    --hd-bg: #070b14;
    --hd-bg-soft: #0b1120;
    --hd-surface: rgba(15, 23, 42, 0.78);
    --hd-surface-strong: #111a2e;
    --hd-surface-hover: #17223a;
    --hd-border: rgba(148, 163, 184, 0.14);
    --hd-border-strong: rgba(148, 163, 184, 0.24);
    --hd-text: #f8fafc;
    --hd-text-soft: #cbd5e1;
    --hd-muted: #7f8da3;
    --hd-accent: #22d3ee;
    --hd-accent-2: #60a5fa;
    --hd-accent-soft: rgba(34, 211, 238, 0.1);
    --hd-danger: #fb7185;
    --hd-success: #34d399;
    --hd-warning: #fbbf24;
    --hd-radius-sm: 10px;
    --hd-radius: 16px;
    --hd-radius-lg: 24px;
    --hd-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
    --hd-content: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--hd-bg);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body.hd-site {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--hd-text);
    background:
        radial-gradient(circle at 8% -10%, rgba(34, 211, 238, 0.10), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(96, 165, 250, 0.10), transparent 28%),
        var(--hd-bg);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.hd-site a {
    color: inherit;
    text-decoration: none;
}

body.hd-site img {
    max-width: 100%;
}

.hd-container {
    width: min(calc(100% - 40px), var(--hd-content));
    margin: 0 auto;
}

.hd-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--hd-border);
    background: rgba(7, 11, 20, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hd-header-main {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.hd-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 20px;
}

.hd-brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.19), rgba(96, 165, 250, 0.07));
    color: #a5f3fc;
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.07);
}

.hd-brand-mark svg {
    width: 19px;
    height: 19px;
}

.hd-brand small {
    display: block;
    margin-top: 1px;
    color: var(--hd-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hd-nav-group {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    color: var(--hd-text-soft);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 150ms ease, background 150ms ease;
}

.hd-nav-link:hover,
.hd-nav-link.is-active {
    color: var(--hd-text);
    background: rgba(148, 163, 184, 0.08);
}

.hd-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.hd-search {
    position: relative;
    width: min(310px, 25vw);
}

.hd-search input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 15px;
    border: 1px solid var(--hd-border);
    outline: none;
    border-radius: 13px;
    color: var(--hd-text);
    background: rgba(15, 23, 42, 0.62);
    font: inherit;
    font-size: 13px;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.hd-search input::placeholder {
    color: #607088;
}

.hd-search input:focus {
    border-color: rgba(34, 211, 238, 0.48);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.06);
}

.hd-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #7dd3fc;
    background: transparent;
    cursor: pointer;
}

.hd-search button:hover {
    background: var(--hd-accent-soft);
}

.hd-search svg {
    width: 17px;
    height: 17px;
}

.hd-auth-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hd-btn,
.hd-btn-primary,
.hd-btn-ghost {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.hd-btn:hover,
.hd-btn-primary:hover,
.hd-btn-ghost:hover {
    transform: translateY(-1px);
}

.hd-btn-primary {
    color: #06111d;
    background: linear-gradient(120deg, #67e8f9, #38bdf8 60%, #60a5fa);
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.12);
}

.hd-btn-ghost,
.hd-btn {
    border-color: var(--hd-border);
    color: var(--hd-text-soft);
    background: rgba(15, 23, 42, 0.5);
}

.hd-btn-ghost:hover,
.hd-btn:hover {
    color: var(--hd-text);
    border-color: var(--hd-border-strong);
    background: rgba(30, 41, 59, 0.72);
}

.hd-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hd-border);
    border-radius: 11px;
    background: rgba(15, 23, 42, 0.55);
    color: var(--hd-text);
}

.hd-menu-toggle svg {
    width: 19px;
}

.hd-trending {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.hd-trending-scroll {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hd-trending-scroll::-webkit-scrollbar {
    display: none;
}

.hd-trending-label {
    position: sticky;
    left: 0;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 8px;
    color: #67e8f9;
    background: rgba(7, 11, 20, 0.96);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hd-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(148, 163, 184, 0.10);
    border-radius: 999px;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.36);
    font-size: 12px;
    font-weight: 700;
    transition: all 150ms ease;
}

.hd-chip:hover {
    color: #e2e8f0;
    border-color: rgba(34, 211, 238, 0.24);
    background: rgba(34, 211, 238, 0.07);
}

.hd-main {
    padding: 30px 0 56px;
}

.hd-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 26px;
    padding: 30px 32px;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    background:
        linear-gradient(120deg, rgba(34, 211, 238, 0.08), transparent 42%),
        linear-gradient(160deg, rgba(15, 23, 42, 0.84), rgba(10, 16, 30, 0.92));
    box-shadow: var(--hd-shadow);
}

.hd-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    top: -150px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.09);
    filter: blur(4px);
    pointer-events: none;
}

.hd-eyebrow {
    margin: 0 0 10px;
    color: #67e8f9;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hd-hero h1,
.hd-section-title h1,
.hd-section-title h2 {
    margin: 0;
    letter-spacing: -0.035em;
}

.hd-hero h1 {
    max-width: 760px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
}

.hd-hero p {
    max-width: 680px;
    margin: 13px 0 0;
    color: var(--hd-muted);
    font-size: 14px;
    line-height: 1.75;
}

.hd-hero-stat {
    min-width: 150px;
    padding: 18px 20px;
    border: 1px solid var(--hd-border);
    border-radius: 18px;
    background: rgba(7, 11, 20, 0.45);
}

.hd-hero-stat strong {
    display: block;
    color: var(--hd-text);
    font-size: 28px;
    letter-spacing: -0.04em;
}

.hd-hero-stat span {
    display: block;
    margin-top: 4px;
    color: var(--hd-muted);
    font-size: 11px;
    font-weight: 700;
}

.hd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
    color: var(--hd-muted);
    font-size: 12px;
}

.hd-breadcrumb a:hover {
    color: #a5f3fc;
}

.hd-breadcrumb-sep {
    color: #3f4d62;
}

.hd-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.hd-section-title h2 {
    font-size: 22px;
}

.hd-section-title p {
    margin: 6px 0 0;
    color: var(--hd-muted);
    font-size: 12px;
}

.hd-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hd-video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    background: rgba(15, 23, 42, 0.55);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hd-video-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.20);
    background: rgba(17, 26, 46, 0.85);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.hd-video-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0b1120;
}

.hd-video-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 350ms ease;
}

.hd-video-card:hover .hd-video-cover img {
    transform: scale(1.035);
}

.hd-video-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.58), transparent);
    pointer-events: none;
}

.hd-video-badge {
    position: absolute;
    z-index: 2;
    left: 10px;
    bottom: 10px;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    color: #dffbff;
    background: rgba(6, 17, 29, 0.70);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
}

.hd-video-play {
    position: absolute;
    z-index: 3;
    inset: 50% auto auto 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: white;
    background: rgba(7, 11, 20, 0.56);
    backdrop-filter: blur(8px);
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

.hd-video-card:hover .hd-video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hd-video-play svg {
    width: 17px;
    margin-left: 2px;
}

.hd-video-body {
    padding: 13px 14px 14px;
}

.hd-video-title {
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    color: #edf4ff;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 750;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hd-video-card:hover .hd-video-title {
    color: #a5f3fc;
}

.hd-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 11px;
    color: var(--hd-muted);
    font-size: 11px;
}

.hd-video-meta-group {
    display: flex;
    align-items: center;
    gap: 11px;
}

.hd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hd-meta-item svg {
    width: 13px;
    height: 13px;
}

.hd-card-author {
    overflow: hidden;
    color: #8ea1b9;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-pagination-wrap {
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    background: rgba(15, 23, 42, 0.46);
}

.hd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.hd-pagination a,
.hd-pagination b {
    min-width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid var(--hd-border);
    border-radius: 10px;
    color: var(--hd-text-soft);
    background: rgba(7, 11, 20, 0.38);
    font-size: 12px;
    font-weight: 800;
}

.hd-pagination a:hover,
.hd-pagination b {
    border-color: rgba(34, 211, 238, 0.26);
    color: #cffafe;
    background: rgba(34, 211, 238, 0.09);
}

.hd-pagination .hd-total {
    min-width: auto;
    color: var(--hd-muted);
    border-color: transparent;
    background: transparent;
}

.hd-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    border: 1px dashed var(--hd-border-strong);
    border-radius: var(--hd-radius);
    color: var(--hd-muted);
    text-align: center;
}

/* Dancer directory */
.hd-page-heading {
    margin-bottom: 22px;
}

.hd-page-heading h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.04em;
}

.hd-page-heading p {
    margin: 9px 0 0;
    color: var(--hd-muted);
    font-size: 13px;
}

.hd-segmented {
    width: fit-content;
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    border: 1px solid var(--hd-border);
    border-radius: 13px;
    background: rgba(15, 23, 42, 0.56);
}

.hd-segmented a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 9px;
    color: var(--hd-muted);
    font-size: 12px;
    font-weight: 800;
}

.hd-segmented a.is-active {
    color: #dffbff;
    background: rgba(34, 211, 238, 0.11);
}

.hd-star-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.hd-star-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    background: rgba(15, 23, 42, 0.50);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hd-star-card:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.18);
    background: rgba(17, 26, 46, 0.82);
}

.hd-star-avatar {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 13px;
    background: #0b1120;
}

.hd-star-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 280ms ease;
}

.hd-star-card:hover img {
    transform: scale(1.035);
}

.hd-star-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
}

.hd-star-name {
    margin: 11px 2px 2px;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-star-card:hover .hd-star-name {
    color: #a5f3fc;
}

/* Player page */
.hd-theater-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.hd-player-card {
    overflow: hidden;
    border: 1px solid var(--hd-border);
    border-radius: 20px;
    background: #020409;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.hd-player-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    background: #000;
}

.hd-player-info {
    padding: 18px 20px 20px;
}

.hd-player-info h1 {
    margin: 0;
    color: #eef6ff;
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.hd-player-info p {
    margin: 8px 0 0;
    color: var(--hd-muted);
    font-size: 12px;
}

.hd-player-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hd-side-card {
    padding: 20px;
    border: 1px solid var(--hd-border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.55);
}

.hd-side-card + .hd-side-card {
    margin-top: 14px;
}

.hd-side-card h3 {
    margin: 0 0 13px;
    font-size: 14px;
}

.hd-detail-list {
    display: grid;
    gap: 11px;
    margin: 0;
}

.hd-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 12px;
}

.hd-detail-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hd-detail-row dt {
    color: var(--hd-muted);
}

.hd-detail-row dd {
    margin: 0;
    overflow: hidden;
    color: var(--hd-text-soft);
    font-weight: 700;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-notice {
    padding: 13px 14px;
    border: 1px solid rgba(34, 211, 238, 0.13);
    border-radius: 12px;
    color: #9fb1c8;
    background: rgba(34, 211, 238, 0.05);
    font-size: 11px;
    line-height: 1.65;
}

/* Account center */
.hd-account-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.hd-account-profile,
.hd-account-content {
    border: 1px solid var(--hd-border);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.55);
}

.hd-account-profile {
    padding: 22px;
}

.hd-account-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.20);
    border-radius: 17px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.08);
    font-size: 20px;
    font-weight: 900;
}

.hd-account-email {
    margin: 15px 0 4px;
    overflow: hidden;
    color: var(--hd-text);
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
}

.hd-account-role {
    color: var(--hd-muted);
    font-size: 11px;
}

.hd-account-menu {
    display: grid;
    gap: 6px;
    margin-top: 22px;
}

.hd-account-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-radius: 11px;
    color: #9fb0c5;
    font-size: 12px;
    font-weight: 750;
}

.hd-account-menu a:hover,
.hd-account-menu a.is-active {
    color: #e2faff;
    background: rgba(34, 211, 238, 0.07);
}

.hd-account-content {
    padding: 24px;
}

.hd-account-content h1 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -0.035em;
}

.hd-account-content > p {
    margin: 7px 0 0;
    color: var(--hd-muted);
    font-size: 12px;
}

.hd-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.hd-stat-card {
    padding: 17px;
    border: 1px solid var(--hd-border);
    border-radius: 15px;
    background: rgba(7, 11, 20, 0.36);
}

.hd-stat-card span {
    display: block;
    color: var(--hd-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hd-stat-card strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: #effaff;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-account-panel {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--hd-border);
    border-radius: 15px;
    background: rgba(7, 11, 20, 0.30);
}

.hd-account-panel h3 {
    margin: 0 0 8px;
    font-size: 13px;
}

.hd-account-panel p {
    margin: 0;
    color: var(--hd-muted);
    font-size: 11px;
    line-height: 1.75;
}

/* Footer */
.hd-footer {
    margin-top: 18px;
    border-top: 1px solid var(--hd-border);
    background: rgba(5, 8, 15, 0.72);
}

.hd-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 38px 0 30px;
}

.hd-footer-brand {
    font-size: 17px;
    font-weight: 900;
}

.hd-footer p {
    max-width: 520px;
    margin: 10px 0 0;
    color: #69788f;
    font-size: 11px;
    line-height: 1.75;
}

.hd-footer h4 {
    margin: 0 0 12px;
    color: #cbd5e1;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hd-footer-links {
    display: grid;
    gap: 8px;
}

.hd-footer-links a {
    color: #77869c;
    font-size: 11px;
}

.hd-footer-links a:hover {
    color: #a5f3fc;
}

.hd-footer-copy {
    padding: 17px 0 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    color: #536176;
    font-size: 10px;
    text-align: center;
}

.hd-mobile-nav {
    display: none;
}

@media (max-width: 1120px) {
    .hd-header-main {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
    }

    .hd-search {
        width: 230px;
    }

    .hd-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hd-star-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .hd-theater-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 900px) {
    .hd-container {
        width: min(calc(100% - 28px), var(--hd-content));
    }

    .hd-header-main {
        min-height: 64px;
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .hd-menu-toggle {
        display: grid;
        place-items: center;
    }

    .hd-nav-group,
    .hd-header-tools {
        display: none;
    }

    .hd-header.is-menu-open .hd-mobile-menu {
        display: block;
    }

    .hd-mobile-menu {
        display: none;
        padding: 0 0 14px;
    }

    .hd-mobile-menu .hd-nav-group,
    .hd-mobile-menu .hd-header-tools,
    .hd-mobile-menu .hd-auth-actions {
        display: flex;
    }

    .hd-mobile-menu .hd-nav-group {
        align-items: stretch;
        flex-direction: column;
    }

    .hd-mobile-menu .hd-nav-link {
        justify-content: flex-start;
    }

    .hd-mobile-menu .hd-header-tools {
        margin-top: 10px;
        align-items: stretch;
        flex-direction: column;
    }

    .hd-mobile-menu .hd-search {
        width: 100%;
    }

    .hd-mobile-menu .hd-auth-actions {
        margin-top: 2px;
    }

    .hd-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }

    .hd-hero-stat {
        width: fit-content;
        min-width: 135px;
    }

    .hd-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hd-star-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hd-theater-layout,
    .hd-account-grid {
        grid-template-columns: 1fr;
    }

    .hd-account-profile {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        align-items: center;
    }

    .hd-account-email {
        margin-top: 0;
    }

    .hd-account-role {
        grid-column: 2;
    }

    .hd-account-menu {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.hd-site {
        padding-bottom: 66px;
    }

    .hd-container {
        width: min(calc(100% - 22px), var(--hd-content));
    }

    .hd-main {
        padding-top: 20px;
    }

    .hd-trending-scroll {
        min-height: 40px;
    }

    .hd-hero {
        margin-bottom: 20px;
        padding: 22px 19px;
        border-radius: 18px;
    }

    .hd-hero h1 {
        font-size: 30px;
    }

    .hd-hero p {
        font-size: 12px;
    }

    .hd-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hd-video-grid {
        gap: 11px;
    }

    .hd-video-card {
        border-radius: 13px;
    }

    .hd-video-body {
        padding: 10px 10px 11px;
    }

    .hd-video-title {
        min-height: 38px;
        font-size: 12px;
        line-height: 1.5;
    }

    .hd-video-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hd-video-play {
        display: none;
    }

    .hd-pagination-wrap {
        padding: 11px;
    }

    .hd-pagination a,
    .hd-pagination b {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
    }

    .hd-star-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .hd-star-card {
        padding: 8px;
        border-radius: 13px;
    }

    .hd-star-avatar {
        border-radius: 10px;
    }

    .hd-player-card {
        border-radius: 14px;
    }

    .hd-player-info {
        padding: 15px;
    }

    .hd-side-card,
    .hd-account-content,
    .hd-account-profile {
        padding: 17px;
        border-radius: 16px;
    }

    .hd-stat-grid {
        grid-template-columns: 1fr;
    }

    .hd-account-menu {
        grid-template-columns: 1fr;
    }

    .hd-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 30px;
    }

    .hd-mobile-nav {
        position: fixed;
        z-index: 90;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 6px;
        border: 1px solid var(--hd-border-strong);
        border-radius: 16px;
        background: rgba(9, 14, 26, 0.90);
        backdrop-filter: blur(18px);
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    }

    .hd-mobile-nav a {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        border-radius: 11px;
        color: #718096;
        font-size: 9px;
        font-weight: 800;
    }

    .hd-mobile-nav a:hover,
    .hd-mobile-nav a.is-active {
        color: #cffafe;
        background: rgba(34, 211, 238, 0.07);
    }

    .hd-mobile-nav svg {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 430px) {
    .hd-video-grid {
        grid-template-columns: 1fr;
    }

    .hd-star-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
