:root {
  --ink: #f7f7f7;
  --muted: #aaa7b4;
  --panel: #121214;
  --line: #2b2b31;
  --bg: #000000;
  --accent: #ff335f;
  --accent-2: #23f0a5;
  --accent-3: #f6d743;
  --party-blue: #54a8ff;
  --party-purple: #b85cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 51, 95, 0.18), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(35, 240, 165, 0.14), transparent 22%),
    radial-gradient(circle at 58% 100%, rgba(84, 168, 255, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(100%, 190px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 153, 21, 0.35));
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-item.active,
.nav-item:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 51, 95, 0.26), rgba(35, 240, 165, 0.14)),
    #18181d;
  color: var(--ink);
  transform: translateX(3px);
}

.icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--party-blue));
  color: var(--ink);
  box-shadow: 0 0 18px rgba(255, 51, 95, 0.35);
}

.mini-panel {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 51, 95, 0.16), rgba(246, 215, 67, 0.12)),
    var(--panel);
  box-shadow: 6px 6px 0 #000;
}

.mini-panel strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.mini-panel span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.first-visitor {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.first-visitor p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.first-visitor strong {
  display: block;
  overflow: hidden;
  color: var(--accent-3);
  font-size: 16px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main {
  min-width: 0;
  padding: 22px;
}

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

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-wrap {
  position: relative;
}

.search-wrap input,
form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.94);
  color: var(--ink);
  outline: none;
}

.search-wrap input {
  padding: 0 18px 0 48px;
  font-weight: 600;
}

.search-wrap input:focus,
form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 51, 95, 0.2);
}

.search-icon {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background: var(--muted);
  content: "";
  transform: rotate(45deg);
}

.account-cta,
.upload-cta,
.primary-btn {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ff9f1c 52%, var(--accent-3));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(255, 51, 95, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.account-cta:hover,
.upload-cta:hover,
.primary-btn:hover {
  box-shadow: 0 0 32px rgba(255, 159, 28, 0.42);
  transform: translateY(-2px) rotate(-0.4deg);
}

.account-cta {
  padding: 0 16px;
  background: linear-gradient(135deg, var(--party-blue), var(--party-purple) 55%, var(--accent));
  white-space: nowrap;
}

.upload-cta {
  padding: 0 20px;
}

.primary-btn {
  width: 100%;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.auth-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 420px);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 51, 95, 0.2), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(35, 240, 165, 0.16), transparent 30%),
    #101013;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72), 0 0 38px rgba(255, 51, 95, 0.2);
}

.auth-card h2,
.auth-note {
  margin-bottom: 0;
}

.auth-note {
  color: var(--muted);
  line-height: 1.45;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.94);
  color: var(--ink);
  outline: none;
}

.auth-card textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.94);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.auth-card textarea:focus,
.auth-card input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 51, 95, 0.2);
}

.channel-editor {
  width: min(100%, 480px);
}

.profile-editor-preview {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  box-shadow: 6px 6px 0 #000;
}

.profile-editor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-editor-preview span {
  color: #050506;
  font-size: 30px;
  font-weight: 800;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #18181d;
  color: var(--muted);
  font-weight: 800;
}

.auth-tab.active {
  border-color: rgba(246, 215, 67, 0.72);
  background: linear-gradient(135deg, rgba(246, 215, 67, 0.24), rgba(255, 51, 95, 0.2));
  color: var(--ink);
}

.close-auth {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #18181d;
  color: var(--ink);
  font-weight: 800;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: stretch;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 51, 95, 0.14), rgba(84, 168, 255, 0.11) 42%, rgba(35, 240, 165, 0.1)),
    rgba(18, 18, 20, 0.96);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.1) 19% 20%, transparent 21% 47%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 50%),
    linear-gradient(0deg, transparent 0 84%, rgba(246, 215, 67, 0.18) 85% 86%, transparent 87%);
  content: "";
  mix-blend-mode: screen;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.95;
  text-shadow:
    3px 3px 0 rgba(255, 51, 95, 0.5),
    -2px -2px 0 rgba(35, 240, 165, 0.28);
}

.intro {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.upload-panel,
.rail-section {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(18, 18, 20, 0.92);
}

.upload-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.upload-panel h2,
.section-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.drop-zone {
  display: grid;
  min-height: 142px;
  place-items: center;
  padding: 18px;
  border: 2px dashed rgba(246, 215, 67, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 51, 95, 0.18), transparent 24%),
    radial-gradient(circle at 86% 72%, rgba(35, 240, 165, 0.16), transparent 24%),
    #0b0b0d;
  text-align: center;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone small {
  color: var(--muted);
}

.drop-icon {
  width: 38px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-2), var(--party-blue));
  box-shadow: 0 0 18px rgba(35, 240, 165, 0.38);
}

.drop-icon::before {
  display: block;
  width: 0;
  height: 0;
  margin: 8px auto 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  content: "";
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

form input {
  padding: 0 12px;
}

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

.section-head > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.compact {
  align-items: start;
}

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

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.video-card:hover {
  border-color: rgba(246, 215, 67, 0.7);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 22px rgba(246, 215, 67, 0.12);
  transform: translateY(-4px) rotate(-0.4deg);
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #ff335f, #f6d743 50%, #23f0a5);
}

.thumb::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.26), transparent 18%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.22) 0 8px, transparent 8px 16px);
  content: "";
  mix-blend-mode: overlay;
}

.thumb::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  content: attr(data-duration);
  font-size: 12px;
  font-weight: 800;
}

.thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-meta {
  padding: 12px;
}

.video-meta h3 {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.2;
}

.video-meta p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 51, 95, 0.22), rgba(84, 168, 255, 0.18));
  color: #f2efff;
  font-size: 12px;
  font-weight: 800;
}

.like-chip {
  cursor: pointer;
}

.like-chip.active {
  background: linear-gradient(135deg, rgba(246, 215, 67, 0.32), rgba(35, 240, 165, 0.2));
  color: var(--accent-3);
}

.right-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 22px;
}

.leaderboard,
.channel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.leaderboard {
  list-style: none;
  counter-reset: rank;
}

.leaderboard li,
.channel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 160ms ease, border-color 160ms ease;
}

.channel-card {
  color: var(--ink);
  text-align: left;
}

.leaderboard li:hover,
.channel-card:hover {
  border-color: rgba(35, 240, 165, 0.6);
  transform: translateX(3px);
}

.search-channel-results {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.search-channel-results[hidden] {
  display: none;
}

.leaderboard li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-3), #ff9f1c);
  color: #050506;
  content: counter(rank);
  counter-increment: rank;
  font-size: 12px;
  font-weight: 800;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  color: #050506;
  font-size: 12px;
  font-weight: 800;
}

.channel-main {
  min-width: 0;
}

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

.channel-main span,
.rank-stat {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ranking-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.empty {
  padding: 24px;
  border: 1px dashed #55535d;
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.76);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.channel-dashboard {
  margin-top: 22px;
}

.channel-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(84, 168, 255, 0.16), rgba(255, 51, 95, 0.13), rgba(35, 240, 165, 0.08)),
    rgba(18, 18, 20, 0.96);
  box-shadow: var(--shadow);
}

.channel-avatar-large {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  color: #050506;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 6px 6px 0 #000;
}

.channel-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 58px);
}

.favorite-song {
  display: inline-block;
  margin: 12px 0 0;
  padding: 7px 9px;
  border: 1px solid rgba(246, 215, 67, 0.42);
  border-radius: 8px;
  background: rgba(246, 215, 67, 0.1);
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 800;
}

.channel-edit-btn {
  width: auto;
  padding: 0 18px;
  white-space: nowrap;
}

.channel-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.channel-stats section,
.channel-panel {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(18, 18, 20, 0.92);
}

.channel-stats section {
  padding: 16px;
}

.channel-stats strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.channel-panel {
  padding: 18px;
}

.studio-list {
  display: grid;
  gap: 10px;
}

.studio-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101013;
}

.studio-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3), var(--accent-2));
}

.studio-main {
  min-width: 0;
}

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

.studio-main span,
.panel-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.studio-status {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(35, 240, 165, 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.mini-action {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 51, 95, 0.22), rgba(84, 168, 255, 0.18));
  color: var(--ink);
  font-weight: 800;
}

.channel-side {
  display: grid;
  gap: 14px;
}

.monetization-meter {
  height: 12px;
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #17171b;
}

.monetization-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 180ms ease, background 180ms ease;
}

.monetization-meter span.complete {
  background: linear-gradient(90deg, var(--accent-2), #89ff9d);
}

.requirements-card {
  max-width: 560px;
}

.requirement-list {
  display: grid;
  gap: 16px;
}

.requirement-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #111116;
}

.requirement-top,
.requirement-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.requirement-top strong {
  font-size: 16px;
  line-height: 1.25;
}

.requirement-check {
  display: none;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-2);
  color: #050506;
  font-weight: 900;
}

.requirement-scale,
.requirement-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.requirement-bar {
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #050506;
}

.requirement-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 180ms ease, background 180ms ease;
}

.requirement-item.complete {
  border-color: rgba(35, 240, 165, 0.72);
}

.requirement-item.complete .requirement-check {
  display: grid;
}

.requirement-item.complete .requirement-bar span {
  background: linear-gradient(90deg, var(--accent-2), #89ff9d);
}

.tool-list {
  display: grid;
  gap: 8px;
}

.tool-list button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #101013;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.room-view {
  margin-top: 22px;
}

.room-hero {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 51, 95, 0.16), rgba(246, 215, 67, 0.1), rgba(35, 240, 165, 0.08)),
    rgba(18, 18, 20, 0.96);
  box-shadow: var(--shadow);
}

.room-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 62px);
}

.viral-hero {
  background:
    linear-gradient(135deg, rgba(184, 92, 255, 0.18), rgba(84, 168, 255, 0.12), rgba(255, 51, 95, 0.13)),
    rgba(18, 18, 20, 0.96);
}

.tom-room-hero {
  background:
    linear-gradient(135deg, rgba(246, 215, 67, 0.18), rgba(107, 63, 34, 0.22), rgba(35, 240, 165, 0.1)),
    rgba(18, 18, 20, 0.96);
}

.tom-audio-player {
  display: grid;
  grid-template-columns: auto minmax(220px, 420px);
  gap: 12px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(246, 215, 67, 0.5);
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.72);
}

.tom-audio-player span {
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 800;
}

.tom-audio-player audio {
  width: min(420px, 100%);
  height: 36px;
}

.tom-room-view {
  min-height: calc(100vh - 90px);
  margin: 22px -22px -22px;
  padding: 22px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.78)),
    url("assets/tom-pearl-2.jpeg");
  background-size: auto, calc(100% / 28) calc(100% / 28);
  background-repeat: repeat;
}

.tom-room-main {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(360px, 1.18fr);
  gap: 16px;
  align-items: start;
}

.about-view {
  min-height: calc(100vh - 90px);
  padding-top: 22px;
}

.about-hero {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 51, 95, 0.3), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(246, 215, 67, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(35, 240, 165, 0.16), rgba(184, 92, 255, 0.18)),
    #09090b;
  box-shadow: 8px 8px 0 #000, 0 24px 70px rgba(0, 0, 0, 0.48);
}

.about-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.95;
}

.about-hero .intro {
  max-width: 860px;
  margin-top: 18px;
  font-size: clamp(18px, 2.4vw, 28px);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.about-panel > div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.92);
}

.about-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.game-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 16px;
}

.game-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(246, 215, 67, 0.72);
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.9);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 0 26px rgba(246, 215, 67, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.56), 0 0 34px rgba(246, 215, 67, 0.28);
  transform: translateY(-4px) rotate(-0.5deg);
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.game-card span {
  font-size: 16px;
}

.tom-poll {
  display: grid;
  min-height: 100%;
  align-content: center;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(35, 240, 165, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 10%, rgba(35, 240, 165, 0.18), transparent 30%),
    rgba(8, 8, 10, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 0 26px rgba(35, 240, 165, 0.12);
}

.tom-poll h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.poll-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.poll-actions button {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 51, 95, 0.22), rgba(84, 168, 255, 0.18));
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.poll-actions button.active {
  border-color: rgba(246, 215, 67, 0.8);
  background: linear-gradient(135deg, rgba(246, 215, 67, 0.28), rgba(35, 240, 165, 0.18));
}

.poll-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.poll-results div {
  padding: 16px;
  border-radius: 8px;
  background: #111116;
}

.poll-results span,
.poll-results strong {
  display: block;
}

.poll-results span,
.poll-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.poll-results strong {
  margin-top: 4px;
  color: var(--accent-3);
  font-size: 34px;
  line-height: 1;
}

.poll-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

.trend-layout,
.tom-game-layout,
.match-game-layout,
.launch-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.tom-game-layout[hidden],
.match-game-layout[hidden],
.launch-game-layout[hidden] {
  display: none;
}

.trend-list {
  display: grid;
  gap: 10px;
}

.trend-row {
  display: grid;
  grid-template-columns: auto 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #101013;
}

.trend-rank {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  color: #050506;
  font-weight: 800;
}

.trend-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3), var(--accent-2));
}

.trend-main {
  min-width: 0;
}

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

.trend-main span,
.trend-score {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tom-game-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(246, 215, 67, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 51, 95, 0.16), transparent 32%),
    #101013;
}

.tom-game-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent-3);
  font-weight: 800;
}

.tom-maze {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #050506;
}

.maze-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 6px;
  background: #15151a;
  font-size: clamp(14px, 2.3vw, 24px);
  font-weight: 800;
}

.maze-wall {
  background: linear-gradient(135deg, #262633, #111116);
  box-shadow: inset 0 0 0 1px rgba(84, 168, 255, 0.18);
}

.maze-dot::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px rgba(246, 215, 67, 0.5);
  content: "";
}

.maze-tom {
  overflow: hidden;
  border: 2px solid var(--accent-3);
  background: #000;
}

.maze-tom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maze-poop {
  background: rgba(107, 63, 34, 0.34);
}

.tom-game-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tom-game-controls button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #18181d;
  color: var(--ink);
  font-weight: 800;
}

.game-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}

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

.match-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(246, 215, 67, 0.44);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 51, 95, 0.22), transparent 32%),
    #111116;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, border-color 160ms ease;
}

.match-card:hover {
  border-color: rgba(35, 240, 165, 0.74);
  transform: translateY(-2px);
}

.match-card::before {
  content: "?";
}

.match-card.revealed::before,
.match-card.matched::before {
  content: "";
}

.match-card img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-card.revealed img,
.match-card.matched img {
  display: block;
}

.match-card .emoji-face {
  display: none;
}

.match-card.revealed .emoji-face,
.match-card.matched .emoji-face {
  display: block;
}

.match-card.matched {
  border-color: rgba(35, 240, 165, 0.9);
  box-shadow: 0 0 24px rgba(35, 240, 165, 0.24);
}

.launch-panel {
  image-rendering: pixelated;
}

.pixel-stage {
  position: relative;
  height: min(52vw, 390px);
  min-height: 270px;
  overflow: hidden;
  border: 4px solid #f6d743;
  border-radius: 8px;
  background: #69b7ff;
  box-shadow: inset 0 -16px 0 rgba(0, 0, 0, 0.18), 0 0 28px rgba(246, 215, 67, 0.18);
}

.pixel-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#59bfff 0 58%, #89d75c 59% 74%, #9b5b2e 75% 100%);
}

.pixel-cloud {
  position: absolute;
  width: 86px;
  height: 28px;
  background: #fff;
  box-shadow:
    18px -12px 0 #fff,
    42px -6px 0 #fff,
    62px 0 0 #fff;
  opacity: 0.9;
}

.cloud-a {
  top: 34px;
  left: 18%;
}

.cloud-b {
  top: 70px;
  right: 18%;
}

.pixel-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    linear-gradient(#6fc343 0 28%, #8a4a24 29% 100%);
  background-size: 22px 22px, auto;
}

.pixel-canyon {
  position: absolute;
  left: 7%;
  bottom: 62px;
  width: 62px;
  height: 74px;
  background: #3b2a22;
  clip-path: polygon(0 100%, 22% 0, 78% 0, 100% 100%);
  box-shadow: inset 0 0 0 5px #18100d;
  transform: rotate(-9deg);
}

.pixel-canyon span {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 30px;
  height: 38px;
  background: #111;
  border-radius: 999px 999px 4px 4px;
}

.pixel-tom {
  position: absolute;
  left: 8%;
  bottom: 128px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 0 0 3px #111;
  transform: translate(-50%, 0);
  transition: none;
}

.pixel-tom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poop-cake {
  position: absolute;
  left: 62.5%;
  bottom: 68px;
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  border: 3px solid #2a160f;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(#7b4826, #4d2818);
  font-size: 28px;
  transform: translateX(-50%);
}

.poop-splash {
  position: absolute;
  left: 62.5%;
  bottom: 104px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.splash-poop {
  position: absolute;
  font-size: 26px;
  opacity: 0;
  animation: splashPoop 780ms ease-out forwards;
}

.power-control {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.power-control strong {
  color: var(--accent-3);
}

.power-control input {
  width: 100%;
  accent-color: var(--accent-3);
}

.launch-message {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

@keyframes splashPoop {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(1.15) rotate(var(--r));
  }
}

.toilet-gallery {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(246, 215, 67, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 10%, rgba(107, 63, 34, 0.32), transparent 34%),
    rgba(8, 8, 10, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 0 26px rgba(246, 215, 67, 0.12);
}

.toilet-gallery h2 {
  margin-bottom: 14px;
  color: var(--accent-3);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  text-align: center;
}

.toilet-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.toilet-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.tom-widget {
  position: fixed;
  z-index: 12;
  left: 16px;
  bottom: 16px;
  display: grid;
  width: 180px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(246, 215, 67, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 51, 95, 0.2), transparent 34%),
    #08080a;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.62), 0 0 24px rgba(246, 215, 67, 0.16);
}

.tom-widget-toggle {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.tom-widget.minimized {
  left: -30px;
  bottom: -24px;
  width: 106px;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tom-widget.minimized .happy-meter,
.tom-widget.minimized .happy-percent,
.tom-widget.minimized .aura-toggle,
.tom-widget.minimized h2,
.tom-widget.minimized .tom-celebration,
.tom-widget.minimized .poop-button,
.tom-widget.minimized .tom-widget-toggle {
  display: none;
}

.tom-widget.minimized .tom-photo-wrap {
  cursor: pointer;
  box-shadow: 0 0 24px rgba(246, 215, 67, 0.32);
  transform: rotate(-5deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tom-widget.minimized .tom-photo-wrap:hover {
  box-shadow: 0 0 34px rgba(246, 215, 67, 0.48);
  transform: translate(8px, -6px) rotate(-2deg);
}

.happy-meter {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #17171b;
}

.happy-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
  box-shadow: 0 0 16px rgba(35, 240, 165, 0.35);
  transition: width 140ms ease;
}

.happy-percent {
  margin: 0;
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.aura-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #111116;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.aura-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-3);
}

.aura-toggle:has(input:checked) {
  border-color: rgba(246, 215, 67, 0.72);
  background: linear-gradient(135deg, rgba(246, 215, 67, 0.18), rgba(255, 51, 95, 0.16));
  color: var(--ink);
}

.aura-toggle:has(input:disabled) {
  opacity: 0.48;
}

.tom-widget h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.05;
  text-align: center;
}

.tom-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.tom-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  object-fit: cover;
}

.poop-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.poop-drop {
  position: absolute;
  top: 48%;
  left: 50%;
  font-size: 18px;
  opacity: 0;
  animation: poopRain 980ms ease-out forwards;
  transform: translate(-50%, -50%);
}

.tom-celebration {
  min-height: 16px;
  margin: 0;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.poop-button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, #6b3f22, #ff9f1c 58%, var(--accent-3));
  box-shadow: 0 0 18px rgba(255, 159, 28, 0.3);
  font-size: 24px;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.poop-button:hover {
  box-shadow: 0 0 28px rgba(246, 215, 67, 0.42);
  transform: translateY(-2px) rotate(-2deg);
}

.poop-button:active {
  transform: translateY(1px) scale(0.97);
}

.poop-aura-active {
  cursor: none;
}

.cursor-poop {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  pointer-events: none;
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(246, 215, 67, 0.36));
  animation: poopAura 760ms ease-out forwards;
  transform: translate(-50%, -50%);
}

.tom-widget.complete {
  border-color: rgba(35, 240, 165, 0.9);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.62), 0 0 34px rgba(35, 240, 165, 0.32);
  animation: tomParty 520ms ease-in-out 2;
}

.tom-widget.complete .tom-photo-wrap {
  box-shadow: 0 0 24px rgba(35, 240, 165, 0.34);
}

@keyframes poopRain {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.5) rotate(0deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(1.25) rotate(var(--r));
  }
}

@keyframes tomParty {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-2deg) scale(1.03);
  }

  50% {
    transform: rotate(2deg) scale(1.04);
  }

  75% {
    transform: rotate(-1deg) scale(1.02);
  }
}

@keyframes poopAura {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -92%) scale(1.3) rotate(28deg);
  }
}

@media (max-width: 1120px) {
  .content-grid,
  .channel-grid,
  .trend-layout,
  .tom-game-layout,
  .match-game-layout,
  .launch-game-layout,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .right-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .mini-panel {
    display: none;
  }

  .main {
    padding: 14px;
  }

  .topbar,
  .spotlight,
  .form-grid,
  .right-rail,
  .channel-hero,
  .channel-stats {
    grid-template-columns: 1fr;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .spotlight {
    padding: 18px;
  }

  .account-cta,
  .upload-cta {
    width: 100%;
  }

  .channel-hero {
    text-align: center;
  }

  .channel-avatar-large {
    margin: 0 auto;
  }

  .channel-edit-btn {
    width: 100%;
  }

  .studio-row {
    grid-template-columns: 1fr;
  }

  .trend-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .trend-thumb,
  .trend-score {
    display: none;
  }

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

  .tom-room-view {
    margin: 14px -14px -14px;
    padding: 14px;
    background-size: auto, calc(100% / 8) calc(100% / 8);
  }

  .tom-room-main {
    grid-template-columns: 1fr;
  }

  .tom-audio-player {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tom-audio-player audio {
    width: 100%;
  }

  .game-actions {
    grid-template-columns: 1fr;
  }

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

  .toilet-gallery-grid {
    grid-template-columns: 1fr;
  }

  .tom-widget {
    left: 10px;
    bottom: 10px;
    width: 142px;
  }

  .tom-widget h2 {
    font-size: 13px;
  }

  .poop-button {
    min-height: 38px;
    font-size: 21px;
  }

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