
:root {
    --font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --page-bg: #07090c;
    --surface-1: #0b0e13;
    --surface-2: #111620;
    --surface-3: #19202b;
    --surface-glass: rgba(17, 22, 32, 0.78);
    --text-1: #f7f9fb;
    --text-2: #a9b0bb;
    --text-3: #69727f;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --pink: #ff2d69;
    --pink-soft: rgba(255, 45, 105, 0.16);
    --cyan: #20e6ee;
    --cyan-soft: rgba(32, 230, 238, 0.14);
    --violet: #8b5cf6;
    --gold: #f8bd3b;
    --green: #2bd576;
    --gradient-brand: linear-gradient(135deg, var(--pink) 0%, #a855f7 45%, var(--cyan) 100%);
    --gradient-live: radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.36) 0 10%, transparent 28%),
        linear-gradient(145deg, #2737d5 0%, #da2e7d 48%, #0aa9bd 100%);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.42);
    --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.28);
    --shadow-pink: 0 0 28px rgba(255, 45, 105, 0.3);
    --sidebar-width: 220px;
    --right-width: 300px;
    --topbar-height: 64px;
    --bottom-height: 64px;
    --radius-xs: 8px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 44% 16%, rgba(255, 45, 105, 0.12), transparent 26%),
        radial-gradient(circle at 74% 0%, rgba(32, 230, 238, 0.09), transparent 24%),
        var(--page-bg);
    color: var(--text-1);
    font-family: var(--font-family);
}

body.menu-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

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

.scroll-clean {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-clean::-webkit-scrollbar {
    display: none;
}

.app-shell {
    position: relative;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--right-width);
    height: 100vh;
    overflow: hidden;
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: none;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(5px);
}

.sidebar,
.right-panel,
.workspace {
    min-height: 0;
    overflow-y: auto;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding: 22px 16px calc(var(--bottom-height) + 18px);
    border-right: 1px solid var(--line);
    background: rgba(7, 9, 12, 0.88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
    color: white;
}

.brand-mark {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: var(--gradient-brand);
    box-shadow: var(--shadow-pink);
}

.nav-stack,
.genre-list,
.creator-list {
    display: grid;
    gap: var(--space-2);
}

.nav-link {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-xs);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-link i {
    color: var(--text-3);
    text-align: center;
}

.nav-link:hover,
.nav-link.is-active {
    background: linear-gradient(90deg, rgba(255, 45, 105, 0.16), rgba(32, 230, 238, 0.07));
    color: var(--text-1);
}

.nav-link.is-active i {
    color: var(--pink);
}

.nav-link b {
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--pink);
    color: white;
    font-size: 10px;
    text-align: center;
}

.side-section {
    padding-top: var(--space-2);
    border-top: 1px solid var(--line);
}

.eyebrow {
    margin: 0 0 var(--space-3);
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.genre-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.genre-list a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-1);
    transform: translateX(2px);
}

.genre-list i {
    width: 18px;
    color: var(--cyan);
}

.sidebar-card {
    margin-top: auto;
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
    box-shadow: var(--shadow-card);
}

.sidebar-card h2,
.sidebar-card p {
    margin: 0;
}

.sidebar-card h2 {
    font-size: 14px;
}

.sidebar-card p {
    margin: 8px 0 14px;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.5;
}

.workspace {
    padding-bottom: var(--bottom-height);
    border-right: 1px solid var(--line);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    height: var(--topbar-height);
    padding: 0 var(--space-6);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 12, 0.82);
    backdrop-filter: blur(18px);
}

.menu-btn {
    display: none !important;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    width: min(520px, 100%);
}

.search-field i {
    position: absolute;
    left: 16px;
    color: var(--text-3);
    font-size: 13px;
}

.search-field input {
    width: 100%;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: 0;
    background: rgba(17, 22, 32, 0.86);
    color: var(--text-1);
    padding: 0 48px 0 42px;
    font-size: 13px;
}

.search-field input:focus {
    border-color: rgba(32, 230, 238, 0.35);
    box-shadow: 0 0 0 4px rgba(32, 230, 238, 0.08);
}

.shortcut {
    position: absolute;
    right: 12px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
}

.topbar-actions,
.button-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.btn,
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 18px;
    background: transparent;
    color: var(--text-1);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.icon-btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink), #e53fb8);
    box-shadow: 0 10px 26px rgba(255, 45, 105, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(255, 45, 105, 0.3);
}

.btn-ghost,
.btn-quiet {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
}

.btn-quiet:hover,
.btn-ghost:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.075);
}

.btn-light {
    background: rgba(255, 255, 255, 0.18);
    color: white;
}

.icon-btn {
    width: 38px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
}

.content-wrap {
    display: grid;
    gap: var(--space-6);
    padding: var(--space-6);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    min-height: 430px;
    padding: clamp(22px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 62% 24%, rgba(32, 230, 238, 0.16), transparent 22%),
        radial-gradient(circle at 20% 72%, rgba(255, 45, 105, 0.14), transparent 25%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow-soft);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%, rgba(32, 230, 238, 0.08));
    opacity: 0.8;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 460px;
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero h1 span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 380px;
    margin: 18px 0 28px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

.hero-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 360px;
    place-items: center;
}

.phone-card {
    position: relative;
    width: min(270px, 76vw);
    aspect-ratio: 9 / 14.2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 26px;
    background: var(--surface-2);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.58),
        0 0 0 8px rgba(255, 255, 255, 0.035),
        0 0 42px rgba(255, 45, 105, 0.2);
    transform: rotate(4deg);
}

.phone-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 34%, rgba(0, 0, 0, 0.82));
}

.phone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-top,
.phone-actions,
.phone-caption {
    position: absolute;
    z-index: 2;
}

.phone-top {
    top: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
}

.phone-top strong {
    color: white;
}

.phone-actions {
    right: 12px;
    bottom: 78px;
    display: grid;
    gap: 9px;
}

.phone-actions span {
    display: grid;
    gap: 2px;
    place-items: center;
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.phone-actions i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
}

.phone-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
}

.phone-caption strong {
    font-size: 12px;
}

.phone-caption p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.4;
}

.reaction {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: var(--surface-glass);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.reaction-heart {
    top: 42px;
    left: 16%;
    color: var(--pink);
    transform: rotate(-14deg);
}

.reaction-chat {
    bottom: 98px;
    left: 10%;
    color: var(--cyan);
    transform: rotate(8deg);
}

.reaction-gift {
    top: 44px;
    right: 11%;
    color: var(--violet);
    transform: rotate(12deg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(25, 32, 43, 0.9), rgba(13, 17, 24, 0.92));
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.stat-card i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.055);
    font-size: 18px;
}

.stat-card strong,
.stat-card span {
    display: block;
}

.stat-card strong {
    font-size: 20px;
    line-height: 1;
}

.stat-card span {
    margin-top: 5px;
    color: var(--text-2);
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.accent-pink i {
    color: var(--pink);
}

.accent-cyan i {
    color: var(--cyan);
}

.accent-violet i {
    color: var(--violet);
}

.accent-gold i {
    color: var(--gold);
}

.feed-section {
    display: grid;
    gap: var(--space-4);
}

.tabs {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.tabs button {
    position: relative;
    padding: 0 0 8px;
    background: transparent;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 800;
}

.tabs button::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: transparent;
}

.tabs button.is-active {
    color: white;
}

.tabs button.is-active::after {
    background: var(--pink);
}

.feed-panel {
    display: none;
}

.feed-panel.is-active {
    display: grid;
}

.video-grid {
    grid-template-columns: repeat(6, minmax(118px, 1fr));
    gap: var(--space-3);
}

.video-card {
    position: relative;
    aspect-ratio: 9 / 14;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.video-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.video-card:hover img {
    transform: scale(1.06);
}

.video-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 11px;
    font-weight: 900;
}

.creator-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: var(--space-3);
}

.creator-card {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(25, 32, 43, 0.9), rgba(13, 17, 24, 0.92));
    box-shadow: var(--shadow-card);
}

.creator-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.creator-card strong,
.creator-card span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.creator-card strong {
    font-size: 14px;
}

.creator-card span {
    margin-top: 4px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
}

.creator-card button {
    min-height: 34px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: #ff8caf;
    font-size: 12px;
    font-weight: 900;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-4) calc(var(--bottom-height) + 12px);
    background: rgba(5, 6, 7, 0.62);
}

.panel {
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(25, 32, 43, 0.86), rgba(13, 17, 24, 0.84));
    box-shadow: var(--shadow-card);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.panel-heading h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

.panel-heading a {
    color: var(--pink);
    font-size: 11px;
    font-weight: 900;
}

.creator {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.creator img {
    width: 38px;
    height: 38px;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    object-fit: cover;
}

.creator strong,
.creator span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.creator strong {
    font-size: 12px;
}

.creator strong i {
    color: #4aa7ff;
}

.creator span {
    margin-top: 3px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
}

.creator button {
    border: 1px solid rgba(255, 45, 105, 0.18);
    border-radius: 999px;
    background: var(--pink-soft);
    color: #ff7aa1;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.creator button:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-1px);
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
}

.tag-grid a {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-1);
    font-size: 11px;
    font-weight: 900;
}

.tag-grid span {
    overflow: hidden;
    color: var(--text-3);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-card {
    position: relative;
    margin-top: 0;
    display: grid;
    min-height: 176px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: var(--gradient-live);
    box-shadow: var(--shadow-soft);
    color: white;
    isolation: isolate;
}

.live-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.22));
}

.live-card::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 124px;
    height: 124px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    pointer-events: none;
}

.live-orb {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-3);
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.live-card h2,
.live-card p {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
}

.live-card h2 {
    max-width: none;
    color: white;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.live-card p {
    margin: 8px 0 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    line-height: 1.45;
}

.live-card .btn {
    position: relative;
    z-index: 1;
    justify-self: start;
    min-height: 34px;
    padding-inline: 14px;
    font-size: 12px;
}

.bottom-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--bottom-height);
    padding: 10px var(--space-6);
    border-top: 1px solid var(--line);
    background: rgba(14, 18, 25, 0.94);
    backdrop-filter: blur(18px);
}

.bottom-cta div {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.bottom-cta span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--pink-soft);
    color: var(--pink);
}

.bottom-cta p {
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.45;
}

.bottom-cta strong {
    color: white;
}

@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: 78px minmax(0, 1fr) 280px;
    }

    .sidebar {
        align-items: center;
        padding-inline: 12px;
    }

    .brand span:last-child,
    .nav-link span,
    .nav-link b,
    .side-section,
    .sidebar-card {
        display: none;
    }

    .nav-link {
        display: grid;
        width: 46px;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 330px;
    }

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

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

    .creator-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 900px) {
    body {
        overflow: auto;
    }

    .app-shell {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .workspace,
    .right-panel {
        overflow: visible;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
        display: flex;
        width: min(310px, 86vw);
        align-items: stretch;
        padding: 22px 16px;
        overflow-y: auto;
        border-right: 1px solid var(--line-strong);
        background: rgba(9, 12, 17, 0.96);
        box-shadow: 24px 0 70px rgba(0, 0, 0, 0.46);
        transform: translateX(-105%);
        transition: transform 220ms ease;
    }

    body.menu-open .sidebar {
        transform: translateX(0);
    }

    body.menu-open .mobile-backdrop {
        display: block;
    }

    .brand span:last-child,
    .nav-link span,
    .nav-link b,
    .side-section,
    .sidebar-card {
        display: initial;
    }

    .nav-link {
        width: auto;
        grid-template-columns: 22px 1fr auto;
        justify-items: stretch;
        padding: 0 12px;
    }

    .nav-link b {
        display: inline-block;
    }

    .side-section,
    .sidebar-card {
        display: block;
    }

    .workspace {
        min-height: 100vh;
        padding-bottom: 0;
        border-right: 0;
    }

    .menu-btn {
        display: inline-flex !important;
    }

    .topbar {
        padding-inline: var(--space-4);
    }

    .topbar-actions .btn-ghost {
        display: none;
    }

    .content-wrap {
        padding: var(--space-4);
    }

    .right-panel {
        padding: 0 var(--space-4) calc(var(--bottom-height) + 18px);
    }

    .live-card {
        margin-bottom: var(--space-4);
    }

    .bottom-cta {
        align-items: stretch;
        padding: 10px var(--space-4);
    }
}

@media (max-width: 640px) {
    :root {
        --bottom-height: 92px;
    }

    .search-field {
        flex: 1;
    }

    .shortcut {
        display: none;
    }

    .search-field input {
        padding-right: 18px;
    }

    .topbar-actions .btn-primary {
        padding-inline: 13px;
    }

    .hero {
        min-height: 0;
        padding: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .button-row,
    .bottom-cta {
        flex-wrap: wrap;
    }

    .stats-grid,
    .tag-grid {
        grid-template-columns: 1fr;
    }

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

    .reaction {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .bottom-cta .btn {
        width: 100%;
    }
}
