
:root {
  --bg: #101310;
  --panel: #171b17;
  --panel-2: #1c211c;
  --panel-3: #242b24;
  --green: #55f58b;
  --green-hover: #72ffa0;
  --text: #f2f5f1;
  --muted: #919990;
  --border: #2a302a;
  --radius: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 23px 15px 14px;
  background: #131713;
  border-right: 1px solid #242a24;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 29px;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -1.8px;
}
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-x { color: var(--green); }
.side-label, .eyebrow {
  color: #8b958a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}
.side-label { padding: 0 12px 10px; }
.nav-list { display: grid; gap: 4px; }
.nav-item {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #aab1a9;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  font-weight: 650;
  transition: background .18s, color .18s;
}
.nav-item:hover { background: #202720; color: white; }
.nav-item.active { color: var(--green); background: #1b2b1e; }
.nav-icon { width: 20px; text-align: center; font-size: 20px; }
.nav-new {
  margin-left: auto;
  padding: 2px 5px;
  color: #101810;
  background: var(--green);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 900;
}
.side-divider { height: 1px; background: var(--border); margin: 20px 8px; }
.game-item img { width: 21px; height: 21px; object-fit: contain; }
.game-item span { font-size: 13px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-promo {
  position: relative;
  overflow: hidden;
  margin: 0 1px 15px;
  padding: 16px;
  border: 1px solid #304334;
  border-radius: 14px;
  background: linear-gradient(145deg, #1b2c1e, #171d17 75%);
}
.promo-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  top: -70px;
  right: -40px;
  background: #55f58b;
  opacity: .1;
  filter: blur(25px);
  border-radius: 50%;
}
.promo-icon { display: block; color: var(--green); font-size: 21px; }
.sidebar-promo strong { display: block; margin: 7px 0; font-size: 13px; line-height: 1.45; }
.sidebar-promo p { margin: 0 0 13px; color: var(--muted); font-size: 11px; }
.account-button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 10px 7px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
}
.account-button:hover { background: #202620; }
.avatar {
  width: 37px;
  height: 37px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  object-fit: cover;
  background: #283d2d;
  color: var(--green);
  font-weight: 850;
}
.account-copy { display: grid; min-width: 0; }
.account-copy strong { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.account-copy small { color: var(--muted); font-size: 10px; }
.account-dots { margin-left: auto; color: #889087; letter-spacing: 2px; }
.mobile-close, .mobile-menu, .mobile-scrim, .mobile-brand { display: none; }

.main-area { min-height: 100vh; margin-left: 246px; }
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 34px;
  background: rgba(16, 19, 16, .91);
  border-bottom: 1px solid rgba(43, 49, 43, .75);
  backdrop-filter: blur(18px);
}
.search-box {
  width: min(520px, 60%);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 0 13px;
  background: #1b201b;
  border: 1px solid #2b322b;
  border-radius: 10px;
}
.search-box:focus-within { border-color: #4b885d; box-shadow: 0 0 0 3px #55f58b0d; }
.search-symbol { color: #9ba49a; font-size: 24px; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; color: white; background: transparent; border: 0; outline: 0; }
.search-box input::placeholder { color: #788177; }
.search-box kbd { padding: 3px 5px; color: #8d968d; background: #262c26; border-radius: 4px; font-size: 9px; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  font-size: 12px;
  transition: transform .16s, background .16s, border-color .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #0b170e; background: var(--green); }
.btn-primary:hover { background: var(--green-hover); }
.btn-quiet { color: #c2c9c0; background: transparent; }
.btn-quiet:hover { background: #202720; }
.btn-outline { color: #e2e7e0; background: #171c17; border-color: #343c34; }
.btn-outline:hover { border-color: #6b8d71; }
.btn-small { min-height: 34px; padding: 0 11px; font-size: 11px; }
.btn-wide { width: 100%; margin-top: 7px; }
.icon-button {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c3cbc2;
  background: #1a201a;
  border: 1px solid #2b332b;
  border-radius: 10px;
  font-size: 20px;
}
.icon-button:hover { color: var(--green); border-color: #476c4e; }

.page-content { width: min(1440px, 100%); margin: auto; padding: 27px 34px 20px; }
.hero-banner {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 34px 43px;
  background: linear-gradient(105deg, #1b2c1e 0%, #19231a 46%, #152018 100%);
  border: 1px solid #2d4431;
  border-radius: 20px;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; display: inline-block; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px #55f58b; }
.hero-banner h1 { margin: 14px 0 10px; font-size: clamp(34px, 4vw, 49px); line-height: 1.06; letter-spacing: -2px; }
.hero-banner h1 span { color: var(--green); }
.hero-banner p { max-width: 440px; color: #a9b4a8; font-size: 13px; }
.hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.hero-art { position: absolute; inset: 0 0 0 53%; }
.hero-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid #75e99230; border-radius: 50%; transform: translate(-50%, -50%) rotate(-24deg); }
.orbit-one { width: 330px; height: 240px; }
.orbit-two { width: 260px; height: 320px; transform: translate(-50%, -50%) rotate(40deg); }
.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: linear-gradient(145deg, #233d2a, #142218);
  border: 1px solid #5bf58c70;
  border-radius: 36px;
  box-shadow: 0 0 90px #55f58b20, inset 0 0 25px #55f58b0b;
  transform: translate(-50%, -50%) rotate(-9deg);
}
.hero-play svg { width: 75px; height: 75px; filter: drop-shadow(0 0 15px #55f58b30); }
.float-tag { position: absolute; padding: 7px 11px; color: #e8ffed; background: #202e22; border: 1px solid #46664b; border-radius: 8px; font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.tag-one { top: 28%; left: 11%; transform: rotate(-8deg); }
.tag-two { bottom: 25%; right: 8%; transform: rotate(7deg); }
.hero-spark { position: absolute; color: var(--green); font-size: 30px; }
.spark-one { top: 20%; right: 23%; }
.spark-two { bottom: 18%; left: 22%; font-size: 22px; }
.hero-bottom-glow { position: absolute; bottom: -100px; left: 25%; width: 50%; height: 120px; background: var(--green); opacity: .05; filter: blur(45px); }

.trending-strip { display: flex; align-items: center; gap: 25px; padding: 20px 4px 25px; border-bottom: 1px solid #272d27; }
.trending-title { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 800; }
.trend-flame { color: var(--green); font-size: 18px; }
.trending-games { display: flex; flex-wrap: wrap; gap: 9px; }
.trend-game { display: flex; align-items: center; gap: 8px; padding: 7px 11px; color: #cbd2c9; background: #1a201a; border: 1px solid #2a312a; border-radius: 8px; font-size: 11px; font-weight: 700; }
.trend-game:hover { color: var(--green); border-color: #4b7452; }
.trend-game img { width: 18px; height: 18px; object-fit: contain; }

.feed-section { padding-top: 28px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-header h2, .shorts-heading h2, .games-page h2, .creator-page h2 { margin: 5px 0 4px; font-size: 25px; letter-spacing: -.8px; }
.green-dot { color: var(--green); font-size: 12px; vertical-align: middle; }
.section-subtitle { margin: 0; color: var(--muted); font-size: 12px; }
.feed-controls { display: flex; gap: 9px; align-items: center; }
.segmented { display: flex; gap: 3px; padding: 4px; background: #191e19; border: 1px solid #2a312a; border-radius: 9px; }
.segmented button { padding: 6px 11px; color: #8f998f; background: transparent; border: 0; border-radius: 6px; font-size: 11px; }
.segmented button.selected { color: #eaf9ed; background: #2a342b; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chip { padding: 7px 13px; color: #aab2a9; background: #191e19; border: 1px solid #2a312a; border-radius: 20px; font-size: 11px; font-weight: 750; }
.chip:hover, .chip.selected { color: #09160d; background: var(--green); border-color: var(--green); }
.clips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 17px; }
.clip-card { min-width: 0; overflow: hidden; }
.clip-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1a211a;
  border: 1px solid #2c332c;
  border-radius: 12px;
}
.clip-media video { width: 100%; height: 100%; display: block; object-fit: cover; background: #121712; }
.clip-media video:hover { cursor: pointer; }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #28442d, #141914 70%); }
.media-placeholder::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(135deg, transparent 45%, #55f58b 45%, transparent 46%); background-size: 30px 30px; }
.media-placeholder .placeholder-play { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; padding-left: 3px; color: var(--green); background: #142018d9; border: 1px solid #55f58b50; border-radius: 50%; font-size: 18px; }
.clip-game {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #f1f5f0;
  background: #0c100cce;
  border: 1px solid #ffffff15;
  border-radius: 7px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
}
.clip-game img { width: 15px; height: 15px; object-fit: contain; }
.clip-duration { position: absolute; bottom: 9px; right: 9px; padding: 3px 6px; color: white; background: #080a08cc; border-radius: 5px; font-size: 10px; font-weight: 800; }
.clip-info { display: flex; gap: 10px; padding-top: 12px; }
.clip-avatar { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #263b2b; }
.clip-info-main { min-width: 0; flex: 1; }
.clip-title { display: -webkit-box; overflow: hidden; margin: 0 0 4px; color: #edf1ec; font-size: 13px; font-weight: 800; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; cursor: pointer; }
.clip-title:hover { color: var(--green); }
.clip-creator { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #8f998e; font-size: 10px; }
.clip-creator button { padding: 0; color: #aab4a8; background: transparent; border: 0; }
.clip-creator button:hover { color: var(--green); }
.clip-stats { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: #899287; font-size: 10px; }
.clip-stats button { padding: 0; color: #a4ada2; background: transparent; border: 0; }
.clip-stats button:hover, .clip-stats button.liked { color: var(--green); }
.clip-menu { color: #8e988d; background: transparent; border: 0; align-self: flex-start; }
.loading-card { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 160px; color: var(--muted); }
.loader { width: 20px; height: 20px; display: inline-block; border: 2px solid #384339; border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { padding: 55px 15px; text-align: center; color: var(--muted); }
.empty-state > span { color: var(--green); font-size: 42px; }
.empty-state h3 { margin: 7px 0; color: white; }
.empty-state p { margin: 0 0 20px; }
.load-more { display: flex; margin: 30px auto; }

.shorts-page, .games-page, .creator-page, .channel-page { padding-top: 22px; }
.shorts-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.shorts-heading h2 span { color: var(--green); }
.shorts-layout { display: flex; justify-content: center; gap: 14px; min-height: 500px; }
.shorts-stage { width: min(420px, 100%); display: grid; justify-items: center; gap: 20px; }
.shorts-placeholder { min-height: 500px; width: 100%; display: grid; align-content: center; justify-items: center; gap: 12px; color: var(--muted); background: #171c17; border: 1px solid var(--border); border-radius: 18px; }
.short-card { position: relative; overflow: hidden; width: 100%; max-width: 420px; height: min(74vh, 720px); min-height: 500px; background: #050705; border: 1px solid #303830; border-radius: 18px; scroll-snap-align: start; }
.short-card video { width: 100%; height: 100%; display: block; object-fit: cover; background: #080b08; }
.short-card::after { content: ""; pointer-events: none; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #000d); }
.short-overlay { position: absolute; z-index: 2; inset: auto 15px 18px; display: flex; align-items: flex-end; gap: 13px; }
.short-copy { flex: 1; min-width: 0; }
.short-game { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 5px 8px; background: #111a14d9; border-radius: 7px; font-size: 10px; font-weight: 800; }
.short-game img { width: 15px; height: 15px; }
.short-title { margin: 0 0 7px; font-size: 15px; font-weight: 850; text-shadow: 0 2px 8px #000; }
.short-creator { display: flex; align-items: center; gap: 7px; color: #d4ddd3; font-size: 11px; }
.short-creator img { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; }
.short-creator button { padding: 4px 9px; color: #09160d; background: var(--green); border: 0; border-radius: 6px; font-size: 10px; font-weight: 850; }
.short-actions { display: grid; gap: 15px; justify-items: center; }
.short-action { display: grid; justify-items: center; gap: 3px; padding: 0; color: white; background: transparent; border: 0; font-size: 11px; font-weight: 750; text-shadow: 0 2px 5px black; }
.short-action .action-circle { width: 43px; height: 43px; display: grid; place-items: center; background: #202820d9; border: 1px solid #ffffff25; border-radius: 50%; font-size: 18px; }
.short-action:hover, .short-action.liked { color: var(--green); }
.shorts-navigation { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.short-nav-button { width: 42px; height: 42px; color: #dce5db; background: #202620; border: 1px solid #343d34; border-radius: 50%; font-size: 20px; }
.short-nav-button:hover { color: var(--green); border-color: var(--green); }

.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.game-card { min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 22px; background: linear-gradient(140deg, #202920, #171c17); border: 1px solid #303930; border-radius: 14px; text-align: left; }
.game-card:hover { transform: translateY(-2px); border-color: #52835c; }
.game-card img { width: 36px; height: 36px; object-fit: contain; margin-bottom: 8px; }
.game-card strong { font-size: 16px; }
.game-card span { color: var(--muted); font-size: 11px; }

.channel-banner { height: 180px; background: linear-gradient(110deg, #203c26, #1c2a1d 50%, #152018); border: 1px solid #304633; border-radius: 16px; background-size: cover; background-position: center; }
.channel-profile-row { display: flex; align-items: center; gap: 17px; padding: 18px 6px 24px; }
.channel-avatar-wrap { width: 82px; height: 82px; flex: 0 0 auto; overflow: hidden; background: #263a2a; border: 4px solid var(--bg); border-radius: 50%; margin-top: -35px; }
.channel-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.channel-details { min-width: 0; flex: 1; }
.channel-details h2 { margin: 0; font-size: 23px; }
.channel-details p { margin: 3px 0; color: var(--muted); font-size: 11px; }
.channel-tabs { display: flex; gap: 22px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.channel-tabs button { padding: 12px 4px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-weight: 800; }
.channel-tabs button.selected { color: var(--green); border-bottom-color: var(--green); }

.creator-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.stat-card { padding: 20px; background: #191e19; border: 1px solid var(--border); border-radius: 12px; }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; margin-top: 5px; font-size: 25px; }
.creator-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 25px 0 16px; }
.creator-toolbar h3, .customize-panel h3 { margin: 0; font-size: 17px; }
.customize-panel { margin-top: 32px; padding: 23px; background: #171c17; border: 1px solid var(--border); border-radius: 14px; }
.customize-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 18px; }
.customize-form label, .form-field { display: grid; gap: 7px; color: #cbd3c9; font-size: 11px; font-weight: 750; }
.customize-form textarea { min-height: 78px; resize: vertical; }
.customize-form input, .customize-form textarea { width: 100%; padding: 11px; color: white; background: #101410; border: 1px solid #343c34; border-radius: 8px; }
.customize-form button { align-self: end; justify-self: start; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 2px 10px; margin-top: 40px; color: #6e786d; border-top: 1px solid #272d27; font-size: 10px; }
.footer-brand { color: white; font-weight: 950; letter-spacing: 1px; }
.footer-brand span { color: var(--green); margin-left: 3px; }

.modal { width: min(440px, calc(100% - 28px)); max-height: 88vh; overflow-y: auto; padding: 30px; color: var(--text); background: #171c17; border: 1px solid #354035; border-radius: 18px; box-shadow: 0 25px 100px #0009; }
.modal::backdrop { background: #050705c9; backdrop-filter: blur(7px); }
.modal h2 { margin: 7px 0 3px; font-size: 24px; }
.modal-subtitle { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 31px; height: 31px; color: #aeb7ac; background: #252c25; border: 0; border-radius: 8px; font-size: 21px; }
.modal-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 19px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; margin-bottom: 19px; background: #101410; border-radius: 9px; }
.auth-tabs button { padding: 9px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: 12px; font-weight: 800; }
.auth-tabs button.selected { color: var(--green); background: #243126; }
.modal form { display: grid; gap: 14px; }
.form-field input, .form-field textarea, .form-field select, .comment-form input {
  width: 100%;
  padding: 12px;
  color: white;
  background: #101410;
  border: 1px solid #333c33;
  border-radius: 8px;
  outline: 0;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #5c9767; }
.form-field textarea { min-height: 85px; resize: vertical; }
.form-field select { color-scheme: dark; }
.form-field input[type=file] { padding: 10px; font-size: 11px; }
.check-field { display: flex; align-items: center; gap: 9px; color: #bac4b8; font-size: 12px; }
.check-field input { accent-color: var(--green); }
.form-message { min-height: 15px; margin: 0; color: var(--green); font-size: 11px; }
.fine-print { margin: 17px 0 0; color: #727c71; font-size: 10px; text-align: center; }
.comments-modal { width: min(520px, calc(100% - 28px)); }
.comments-list { display: grid; gap: 14px; max-height: 44vh; overflow-y: auto; padding: 10px 0 20px; }
.comment-row { display: flex; gap: 10px; }
.comment-row img, .comment-avatar { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #2c3b2e; }
.comment-body { min-width: 0; }
.comment-body strong { font-size: 11px; }
.comment-body p { margin: 3px 0 0; color: #bdc6bb; font-size: 12px; overflow-wrap: anywhere; }
.comment-empty { padding: 25px 0; color: var(--muted); text-align: center; }
.comment-form { display: flex !important; flex-direction: row; gap: 8px !important; padding-top: 14px; border-top: 1px solid var(--border); }
.comment-form input { min-width: 0; flex: 1; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(360px, calc(100% - 44px)); padding: 12px 16px; color: white; background: #253428; border: 1px solid #45664a; border-radius: 10px; box-shadow: 0 12px 40px #0005; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
  .clips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-content { padding-right: 24px; padding-left: 24px; }
  .topbar { padding: 0 24px; }
  .hero-art { left: 52%; }
}
@media (max-width: 850px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 15px 0 50px #0005; }
  .sidebar.open { transform: translateX(0); }
  .mobile-close { display: block; position: absolute; top: 24px; right: 14px; width: 28px; height: 28px; color: white; background: #222922; border: 0; border-radius: 7px; font-size: 20px; }
  .mobile-scrim { position: fixed; inset: 0; z-index: 25; background: #0009; }
  .mobile-scrim.show { display: block; }
  .main-area { margin-left: 0; }
  .mobile-menu { display: inline-flex; flex: 0 0 auto; }
  .mobile-brand { display: flex; align-items: center; gap: 6px; font-size: 20px; letter-spacing: -1px; }
  .mobile-brand .brand-mark { width: 30px; height: 30px; }
  .topbar { gap: 12px; }
  .search-box { width: auto; flex: 1; }
  .hero-banner { min-height: 270px; padding: 29px; }
  .hero-art { left: 55%; opacity: .65; }
  .hero-play { width: 110px; height: 110px; }
  .hero-play svg { width: 60px; }
}
@media (max-width: 600px) {
  .topbar { height: 64px; gap: 8px; padding: 0 12px; }
  .mobile-brand { font-size: 17px; }
  .mobile-brand .brand-mark { width: 27px; height: 27px; }
  .search-box { height: 37px; gap: 5px; padding: 0 8px; }
  .search-box input { font-size: 11px; }
  .search-box kbd, .top-actions .btn-quiet { display: none; }
  .top-actions { gap: 5px; }
  .top-actions .btn-primary { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .page-content { padding: 14px 13px 18px; }
  .hero-banner { min-height: 280px; padding: 25px 21px; border-radius: 15px; }
  .hero-content { max-width: 100%; }
  .hero-banner h1 { font-size: 37px; }
  .hero-banner p { max-width: 260px; font-size: 12px; }
  .hero-art { left: 52%; opacity: .25; }
  .hero-play { width: 90px; height: 90px; border-radius: 24px; }
  .hero-play svg { width: 48px; }
  .float-tag, .hero-spark { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 8px; }
  .hero-actions .btn { min-height: 37px; padding: 0 11px; font-size: 11px; }
  .trending-strip { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px 1px; }
  .trending-games { gap: 7px; }
  .trend-game { padding: 6px 8px; font-size: 10px; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-header h2, .shorts-heading h2, .games-page h2, .creator-page h2 { font-size: 22px; }
  .feed-controls { width: 100%; justify-content: space-between; }
  .filter-chips { margin: 15px 0; gap: 6px; }
  .chip { padding: 6px 10px; font-size: 10px; }
  .clips-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .clip-title { font-size: 13px; }
  .clip-media { border-radius: 10px; }
  .shorts-heading { align-items: flex-start; flex-direction: column; }
  .shorts-layout { gap: 7px; }
  .shorts-stage { width: calc(100% - 42px); }
  .short-card { height: min(69vh, 690px); min-height: 440px; border-radius: 14px; }
  .shorts-placeholder { min-height: 440px; }
  .short-nav-button { width: 35px; height: 35px; }
  .short-overlay { inset: auto 10px 13px; gap: 8px; }
  .short-actions { gap: 11px; }
  .short-action .action-circle { width: 36px; height: 36px; font-size: 16px; }
  .short-title { font-size: 13px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .game-card { min-height: 140px; padding: 14px; }
  .game-card img { width: 29px; height: 29px; }
  .game-card strong { font-size: 14px; }
  .game-card span { font-size: 10px; }
  .channel-banner { height: 125px; }
  .channel-profile-row { flex-wrap: wrap; gap: 10px; padding-left: 2px; }
  .channel-avatar-wrap { width: 65px; height: 65px; }
  .channel-details { width: calc(100% - 85px); flex: auto; }
  .channel-details h2 { font-size: 19px; }
  .channel-profile-row > .btn { margin-left: auto; }
  .creator-stats { gap: 7px; }
  .stat-card { padding: 12px; }
  .stat-card strong { font-size: 20px; }
  .customize-panel { padding: 15px; }
  .customize-form { grid-template-columns: 1fr; }
  .site-footer { justify-content: center; text-align: center; }
  .modal { padding: 25px 20px; }
}
