/* * Wartip — Streamers page
 *  * Extracted in original cascade order from PHP to preserve appearance.
 *  * Sections are retained and labeled to make future cleanup safer. */

/* ===== streamers-block-01 ===== */

:root {
  --font-display: 'Kanit','Tahoma',sans-serif;
  --font-body: 'Kanit','Tahoma',system-ui,sans-serif;
  --bg: #000000;
  --surface: rgba(8,8,10,.86);
  --card: #070708;
  --line: rgba(255,255,255,.07);
  --text: #ffffff;
  --muted: rgba(255,255,255,.56);
  --purple: #913ef6;
  --purple2: #ad52ff;
  --green: #35d891;
  --nav: #000000;
  --soft: rgba(255,255,255,.045);
  --shadow: 0 18px 48px -34px rgba(0,0,0,.96);
  --ring: rgba(145,62,246,.22)
;
}

[data-theme="dark"] {
  --bg: #000000;
  --surface: rgba(8,8,10,.86);
  --card: #070708;
  --line: rgba(255,255,255,.09);
  --text: #ffffff;
  --muted: rgba(255,255,255,.56);
  --nav: #000000;
  --soft: rgba(255,255,255,.045);
  --shadow: 0 18px 48px -34px rgba(0,0,0,.96);
  --ring: rgba(145,62,246,.22);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --card: #ffffff;
  --line: #e6e1eb;
  --text: #211a30;
  --muted: #736c80;
  --nav: #ffffff;
  --soft: #f7f5f9;
  --shadow: 0 16px 48px -33px rgba(38,23,63,.30);
  --ring: rgba(145,62,246,.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
}

a {
  color: inherit;
}

button,input {
  font-family: var(--font-body);
}

.wrap {
  width: min(1120px,calc(100% - 40px));
  margin-inline: auto;
}

/* Navbar cloned from index.php — same layout, theme and scroll compression. */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}

.brand:hover {
  transform: scale(1.03);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .01em;
  line-height: 1;
}

.brand-name i {
  font-style: normal;
  color: #be63ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .93rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s,background .2s,border-color .2s,box-shadow .2s;
}

.btn-primary {
  background: linear-gradient(135deg,#8f41ff,#b55cff);
  color: #fff;
  box-shadow: 0 12px 28px -18px rgba(159,74,255,.85);
}

.btn-primary:hover {
  box-shadow: 0 15px 32px -18px rgba(159,74,255,.95);
}

.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.icon-btn {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background .2s,border-color .2s,width .3s,height .3s,min-height .3s;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.i-sun {
  display: none;
}

[data-theme="dark"] .i-sun {
  display: block;
}

[data-theme="dark"] .i-moon {
  display: none;
}

.menu-btn {
  display: none;
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(1360px,calc(100% - 18px));
  min-height: 58px;
  padding: 8px 12px 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(128,118,255,.22);
  background: #000000;
  box-shadow: 0 14px 42px -28px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: width .34s cubic-bezier(.2,.75,.2,1),top .34s cubic-bezier(.2,.75,.2,1),min-height .34s cubic-bezier(.2,.75,.2,1),padding .34s cubic-bezier(.2,.75,.2,1),border-radius .34s cubic-bezier(.2,.75,.2,1),background .34s ease,box-shadow .34s ease,border-color .34s ease;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(164,104,255,.08);
}

.nav .brand {
  gap: 9px;
  min-width: max-content;
  align-items: center;
}

.nav .nav-logo-image {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 5px 12px rgba(132,55,255,.18));
  transition: transform .2s ease;
}

.nav .brand:hover .nav-logo-image {
  transform: translateY(-1px) scale(1.03);
}

.nav .brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 12px;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  color: #e7e2f5;
  font-size: .94rem;
  font-weight: 600;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  transition: font-size .3s ease,gap .3s ease,padding .3s ease,background .2s,color .2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b762ff;
  opacity: 0;
  transform: translateX(-50%) scale(.4);
  transition: opacity .2s ease,transform .2s ease;
}

.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap .3s ease;
}

.nav .btn-ghost {
  padding: 0 22px;
}

.nav .btn-primary {
  padding: 0 26px;
}

.nav .icon-btn,.nav .btn-ghost,.nav .btn-primary,.nav .account-trigger {
  min-height: 42px;
  border-radius: 999px;
}

.account-menu {
  position: relative;
  z-index: 65;
  flex: none;
}

.account-menu summary {
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #fff;
  font-family: var(--font-body);
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}

.account-trigger:hover,.account-menu[open] .account-trigger {
  background: rgba(255,255,255,.06);
}

.account-gear {
  width: 18px;
  height: 18px;
  color: #b762ff;
}

.account-chevron {
  width: 15px;
  height: 15px;
  color: rgba(255,255,255,.60);
  transition: transform .2s;
}

.account-menu[open] .account-chevron {
  transform: rotate(180deg);
}

.account-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(290px,calc(100vw - 32px));
  padding: 9px;
  background: #0a0910;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(0,0,0,.38);
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg,#7a0bf2,#b25aff);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.account-profile-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}

.account-profile-label {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}

.account-profile-text strong {
  overflow-wrap: anywhere;
  font-size: .94rem;
}

.account-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: 500 .92rem/1.4 var(--font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-option:hover {
  background: rgba(255,255,255,.05);
}

.account-option svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-option-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.55);
}

.account-logout {
  margin: 0;
  padding: 6px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.account-option-danger {
  color: #ef6d8e;
}

[data-theme="light"] .nav {
  border-color: #e7dff1;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px -32px rgba(46,28,74,.30),inset 0 1px 0 rgba(255,255,255,.92);
}

[data-theme="light"] .nav::before {
  box-shadow: inset 0 0 0 1px rgba(137,86,225,.04);
}

[data-theme="light"] .nav .brand-name {
  color: #211a34;
}

[data-theme="light"] .nav .brand-name i {
  color: #9345ee;
}

[data-theme="light"] .nav-links a {
  color: #6d657f;
}

[data-theme="light"] .nav-links a:hover {
  color: #211a34;
  background: #f3eff9;
}

[data-theme="light"] .nav-links a.is-active {
  color: #35224e;
}

[data-theme="light"] .nav .icon-btn,[data-theme="light"] .nav .btn-ghost,[data-theme="light"] .nav .account-trigger {
  background: #fff;
  border-color: #e7e0ef;
  color: #211a34;
}

[data-theme="light"] .nav .icon-btn:hover,[data-theme="light"] .nav .btn-ghost:hover,[data-theme="light"] .nav .account-trigger:hover {
  background: #f4f0fa;
}

[data-theme="light"] .account-popover {
  background: #060607;
  border-color: rgba(255,255,255,.08);
  color: #fff;
}

[data-theme="light"] .account-profile {
  border-color: rgba(255,255,255,.08);
}

[data-theme="light"] .account-profile-label,[data-theme="light"] .account-option-arrow {
  color: rgba(255,255,255,.56);
}

[data-theme="light"] .account-option {
  color: #fff;
}

[data-theme="light"] .account-option:hover {
  background: rgba(255,255,255,.05);
}

@media (min-width:901px) {
  .nav.is-scrolled {
    top: 8px;
    width: min(1080px,calc(100% - 42px));
    min-height: 50px;
    padding: 5px 8px 5px 17px;
    border-radius: 22px;
    border-color: rgba(139,117,255,.27);
    background: #000000;
    box-shadow: 0 16px 42px -27px rgba(0,0,0,.92),inset 0 1px 0 rgba(255,255,255,.045);
  }
  [data-theme="light"] .nav.is-scrolled {
    background: #ffffff;
    border-color: #e7dff1;
  }
  .nav.is-scrolled .brand-name {
    font-size: 1.04rem;
  }
  .nav.is-scrolled .nav-links {
    gap: 4px;
  }
  .nav.is-scrolled .nav-links a {
    padding: 6px 10px;
    font-size: .86rem;
  }
  .nav.is-scrolled .nav-actions {
    gap: 6px;
  }
  .nav.is-scrolled .icon-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }
  .nav.is-scrolled .btn-ghost,.nav.is-scrolled .btn-primary,.nav.is-scrolled .account-trigger {
    min-height: 38px;
  }
  .nav.is-scrolled .btn-ghost {
    padding-inline: 17px;
  }
  .nav.is-scrolled .btn-primary {
    padding-inline: 20px;
  }
  .nav.is-scrolled .account-trigger {
    padding-inline: 15px;
  }
}

@media (max-width:900px) {
  .nav {
    width: calc(100% - 14px);
    padding: 7px 10px 7px 16px;
    min-height: 56px;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links a {
    font-size: .88rem;
    padding: 8px 10px;
  }
  .nav .btn-primary {
    padding: 0 18px;
  }
  .nav .btn-ghost {
    padding: 0 16px;
  }
  .nav.is-scrolled {
    top: 6px;
    width: calc(100% - 28px);
    min-height: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 20px;
  }
}

@media (max-width:820px) {
  .menu-btn {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px;
    background: #0a0910;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(0,0,0,.34);
  }
  [data-theme="light"] .nav-links {
    background: #ffffff;
    border-color: #e7dff1;
  }
  .nav.open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
  }
}

@media (max-width:700px) {
  .nav {
    top: 8px;
    width: calc(100% - 12px);
    padding: 7px 10px 7px 12px;
  }
  .nav .brand {
    gap: 7px;
  }
  .nav .nav-logo-image {
    width: 30px;
    height: 30px;
  }
  .nav .brand-name {
    font-size: 1.04rem;
  }
  .nav .icon-btn,.nav .btn-ghost,.nav .btn-primary,.nav .account-trigger {
    min-height: 40px;
  }
  .nav.is-scrolled {
    top: 5px;
    width: calc(100% - 20px);
    min-height: 48px;
    padding: 4px 7px 4px 12px;
  }
}

@media (max-width:560px) {
  .nav {
    width: calc(100% - 12px) !important;
    min-height: 54px !important;
    padding: 6px 7px 6px 13px !important;
    gap: 8px !important;
  }
  .nav .brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    margin-right: auto !important;
  }
  .nav .brand-name {
    display: inline-block !important;
    font-size: .92rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .nav-actions {
    flex: 0 0 auto !important;
    gap: 5px !important;
    margin-left: auto !important;
  }
  .nav .icon-btn,.nav .menu-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
  .nav .btn-ghost {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: .80rem !important;
  }
  .nav .btn-register {
    display: none !important;
  }
  .nav.is-scrolled {
    top: 5px !important;
    width: calc(100% - 12px) !important;
    min-height: 50px !important;
    padding: 5px 6px 5px 12px !important;
  }
  .nav.is-scrolled .brand-name {
    font-size: .86rem !important;
  }
  .nav.is-scrolled .icon-btn,.nav.is-scrolled .menu-btn {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }
  .nav.is-scrolled .btn-ghost {
    min-height: 36px !important;
    padding-inline: 11px !important;
  }
}

@media (max-width:360px) {
  .nav {
    padding-left: 10px !important;
    gap: 5px !important;
  }
  .nav .brand-name {
    font-size: .80rem !important;
  }
  .nav-actions {
    gap: 4px !important;
  }
  .nav .icon-btn,.nav .menu-btn {
    width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
  }
  .nav .btn-ghost {
    padding: 0 10px !important;
    font-size: .75rem !important;
    min-height: 35px !important;
  }
  .nav.is-scrolled .brand-name {
    font-size: .76rem !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nav,.nav * {
    transition: none !important;
  }
}

.hero {
  padding: 160px 0 34px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%,rgba(146,70,255,.12),transparent 28%),radial-gradient(circle at 78% 10%,rgba(78,76,255,.08),transparent 26%);
}

.hero-inner {
  position: relative;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a260ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #9a4cf6;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px,6vw,74px);
  line-height: .95;
  letter-spacing: -.065em;
  margin: 14px 0;
  color: var(--text);
}

.hero h1 span {
  background: linear-gradient(135deg,#bd8dff,#7f48ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53,216,145,.09);
}

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

.search {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search svg {
  width: 19px;
  height: 19px;
  stroke: #a060ff;
  fill: none;
  stroke-width: 2;
}

.search input {
  width: 100%;
  height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 500 14px var(--font-body);
}

.search input::placeholder {
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.filters button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font: 700 11px var(--font-body);
  cursor: pointer;
}

.filters button.active {
  background: linear-gradient(135deg,var(--purple),var(--purple2));
  color: #fff;
}

.filters button[data-filter="live"]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--green);
}

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 20px 50px -42px rgba(0,0,0,.48);
  transition: transform .22s,border-color .22s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(149,81,255,.32);
}

.cover {
  display: block;
  height: 140px;
  position: relative;
  background: linear-gradient(135deg,#21163e,#09080d) center/cover;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 40%,rgba(3,3,4,.48));
}

.mark {
  position: absolute;
  right: 18px;
  top: 9px;
  color: rgba(255,255,255,.08);
  font-size: 70px;
  font-weight: 900;
  font-style: italic;
}

.body {
  position: relative;
  padding: 46px 17px 17px;
}

.avatar-shell {
  position: absolute;
  left: 17px;
  top: -36px;
  width: 70px;
  height: 70px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg,#9b4dff,#5a46da);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.avatar-shell.live {
  background: conic-gradient(#ff2d55,#ff5978,#ff2d55,#ff7b95,#ff2d55);
  box-shadow: 0 0 0 0 rgba(255,45,85,.18),0 10px 24px rgba(0,0,0,.25);
  animation: wtLiveRingRed 1.8s ease-in-out infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #4f34bd;
  color: #fff;
  border: 3px solid var(--card);
}

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

.badge {
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 999px;
  background: #ff234d;
  border: 2px solid var(--card);
  color: #ffffff;
  font-size: 7px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(255,35,77,.28);
}

.name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.handle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.bio {
  min-height: 34px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donate {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg,var(--purple),var(--purple2));
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}

.empty {
  grid-column: 1/-1;
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: var(--surface);
}

[hidden] {
  display: none !important;
}

@keyframes wtLiveRingRed {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(255,45,85,.18),0 10px 24px rgba(0,0,0,.25);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255,45,85,0),0 10px 24px rgba(0,0,0,.25);
  }
}

@media (max-width:980px) {
  .grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .wt-nav-links a {
    padding-inline: 11px;
  }
}

@media (max-width:760px) {
  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .tools {
    grid-template-columns: 1fr;
  }
  .filters {
    width: 100%;
  }
  .filters button {
    flex: 1;
  }
  .wt-nav-links {
    display: none;
  }
  .wt-btn {
    padding: 0 14px;
  }
  .wt-nav {
    padding-left: 12px;
  }
  .wt-brand-name {
    font-size: 1.05rem;
  }
}

@media (max-width:520px) {
  .wrap {
    width: min(100% - 22px,1120px);
  }
  .hero {
    padding-top: 125px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card .cover {
    height: 155px;
  }
  .wt-nav-actions .wt-btn-ghost {
    display: none;
  }
}

.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.name-row .name {
  min-width: 0;
}

.wt-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 16px;
  height: 16px;
  color: #249cff;
  filter: drop-shadow(0 0 6px rgba(36,156,255,.18));
}

.wt-verified-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* V95: black is exclusive to the dark theme; keep the original dark palette. */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  pointer-events: none;
}

html[data-theme="dark"] .nav,
html[data-theme="dark"] .nav.is-scrolled {
  background: #000000 !important;
  border-color: rgba(255,255,255,.085) !important;
}

html[data-theme="dark"] .nav::before {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018) !important;
}

html[data-theme="dark"] .nav .brand-name,
html[data-theme="dark"] .nav .nav-links a,
html[data-theme="dark"] .nav .icon-btn,
html[data-theme="dark"] .nav .btn-ghost,
html[data-theme="dark"] .nav .account-trigger {
  color: #ffffff !important;
}

html[data-theme="dark"] .nav .icon-btn,
html[data-theme="dark"] .nav .btn-ghost,
html[data-theme="dark"] .nav .account-trigger {
  background: #050505 !important;
  border-color: rgba(255,255,255,.08) !important;
}

html[data-theme="dark"] .nav .nav-links a:hover {
  background: rgba(255,255,255,.045) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .nav .nav-links a.is-active {
  background: transparent !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .nav .nav-links {
  background-color: transparent;
}

html[data-theme="dark"] .hero::before {
  background: radial-gradient(circle at 20% 30%,rgba(146,70,255,.10),transparent 28%),radial-gradient(circle at 78% 10%,rgba(78,76,255,.06),transparent 26%) !important;
}

/* V66: page loader — same visual language as auth_success.php */

html.wt-streamer-loading,html.wt-streamer-loading body {
  overflow: hidden !important;
}

.wt-streamer-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 44%,rgba(124,47,240,.10),transparent 25%),#000000;
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease,visibility .32s ease;
}

.wt-streamer-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wt-streamer-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-width: 150px;
}

.wt-streamer-loader-logo-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
}

.wt-streamer-loader-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(140,53,255,.12),transparent 68%);
  filter: blur(6px);
}

.wt-streamer-loader-logo {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(140,53,255,.22));
  animation: wtStreamerLogoPulse 1.65s ease-in-out infinite;
}

.wt-streamer-loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 14px;
}

.wt-streamer-loader-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg,#b56cff,#8c35ff);
  box-shadow: 0 0 12px rgba(140,53,255,.24);
  animation: wtStreamerDotPulse 1.05s ease-in-out infinite;
}

.wt-streamer-loader-dot:nth-child(2) {
  animation-delay: .14s;
}

.wt-streamer-loader-dot:nth-child(3) {
  animation-delay: .28s;
}

.wt-streamer-loader-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes wtStreamerLogoPulse {
  0%,100% {
    transform: scale(1);
    opacity: .96;
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
  }
}

@keyframes wtStreamerDotPulse {
  0%,70%,100% {
    transform: translateY(0) scale(.82);
    opacity: .34;
  }
  35% {
    transform: translateY(-4px) scale(1.08);
    opacity: 1;
  }
}

/* V67: keep current Streamers item non-navigating, but preserve the same hover feedback as index. */

.nav-links a[data-current-page] {
  cursor: default;
  user-select: none;
}

/* Match index navbar hover/shimmer behaviour. */

.nav .btn,
.nav .icon-btn {
  position: relative;
  overflow: hidden;
}

.nav .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,transparent 0%,rgba(255,255,255,.45) 50%,transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left .6s cubic-bezier(.19,1,.22,1);
}

.nav .btn:hover::before {
  left: 160%;
}

.nav .icon-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.30),transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left .5s ease;
}

.nav .icon-btn:hover::before {
  left: 100%;
}

.nav .brand:hover {
  transform: scale(1.03);
}

html[data-theme="dark"] .nav .nav-links a:hover,
html[data-theme="dark"] .nav .nav-links a[data-current-page]:hover {
  color: #fff !important;
  background: rgba(255,255,255,.045) !important;
}

html[data-theme="dark"] .nav .btn-ghost:hover,
html[data-theme="dark"] .nav .account-trigger:hover {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.nav .btn-primary:hover {
  box-shadow: 0 15px 32px -18px rgba(159,74,255,.95) !important;
}

html[data-theme="dark"] .nav .icon-btn:hover {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.12) !important;
}

/* V95 — complete white theme for the streamer directory. */

html[data-theme="light"],html[data-theme="light"] body {
  background: #ffffff !important;
  color: #211a30;
}

html[data-theme="light"] body::before {
  background: #ffffff;
}

html[data-theme="light"] .hero::before {
  background: radial-gradient(circle at 20% 30%,rgba(143,62,246,.065),transparent 31%),radial-gradient(circle at 78% 10%,rgba(118,81,255,.045),transparent 29%) !important;
}

html[data-theme="light"] .nav,
html[data-theme="light"] .nav.is-scrolled {
  background: rgba(255,255,255,.98) !important;
  border-color: #e7e1ee !important;
  box-shadow: 0 12px 36px -27px rgba(57,30,91,.26),inset 0 1px 0 #fff !important;
}

html[data-theme="light"] .nav .brand-name {
  color: #211a34 !important;
}

html[data-theme="light"] .nav .nav-links a {
  color: #6d657f !important;
}

html[data-theme="light"] .nav .nav-links a.is-active {
  color: #35224e !important;
}

html[data-theme="light"] .nav .nav-links a:hover,
html[data-theme="light"] .nav .nav-links a[data-current-page]:hover {
  color: #211a34 !important;
  background: #f3eff9 !important;
}

html[data-theme="light"] .nav .icon-btn,
html[data-theme="light"] .nav .btn-ghost,
html[data-theme="light"] .nav .account-trigger {
  background: #ffffff !important;
  border-color: #e7e0ef !important;
  color: #211a34 !important;
}

html[data-theme="light"] .nav .icon-btn:hover,
html[data-theme="light"] .nav .btn-ghost:hover,
html[data-theme="light"] .nav .account-trigger:hover {
  background: #f4effa !important;
  border-color: #d8c8e9 !important;
  color: #211a34 !important;
}

html[data-theme="light"] .nav .btn-primary {
  color: #fff !important;
}

html[data-theme="light"] .nav-links {
  background-color: transparent;
}

html[data-theme="light"] .account-popover {
  background: #fff !important;
  border-color: #e7e1ee !important;
  color: #211a34 !important;
  box-shadow: 0 18px 40px -20px rgba(39,22,58,.25) !important;
}

html[data-theme="light"] .account-profile {
  border-color: #eee8f2 !important;
}

html[data-theme="light"] .account-profile-label,
html[data-theme="light"] .account-option-arrow {
  color: #746e7f !important;
}

html[data-theme="light"] .account-option {
  color: #211a34 !important;
}

html[data-theme="light"] .account-option:hover {
  background: #f7f3fa !important;
}

html[data-theme="light"] .account-option-danger {
  color: #c73568 !important;
}

html[data-theme="light"] .account-logout {
  border-color: #eee8f2 !important;
}

html[data-theme="light"] .search,
html[data-theme="light"] .filters {
  background: #fff;
  border-color: #e6e1eb;
  box-shadow: 0 14px 35px -30px rgba(50,29,80,.30);
}

html[data-theme="light"] .search input {
  color: #211a30;
}

html[data-theme="light"] .search input::placeholder {
  color: #8a8493;
}

html[data-theme="light"] .filters button:not(.active) {
  color: #70697c;
}

html[data-theme="light"] .filters button:not(.active):hover {
  background: #f4effa;
  color: #312044;
}

html[data-theme="light"] .card {
  background: #fff;
  border-color: #e7e2eb;
  box-shadow: 0 18px 42px -34px rgba(45,29,68,.28);
}

html[data-theme="light"] .card:hover {
  border-color: #cdb9ec;
  box-shadow: 0 22px 46px -31px rgba(82,42,145,.26);
}

html[data-theme="light"] .avatar {
  border-color: #fff;
}

html[data-theme="light"] .badge {
  border-color: #fff;
}

html[data-theme="light"] .name {
  color: #211a30;
}

html[data-theme="light"] .name:hover {
  color: #8643db;
}

html[data-theme="light"] .handle,
html[data-theme="light"] .bio {
  color: #777080;
}

html[data-theme="light"] .empty {
  background: #fbfaff;
  border-color: #ded7e8;
  color: #777080;
}

html[data-theme="light"] .donate {
  color: #fff;
}

html[data-theme="light"] .wt-streamer-loader {
  background: radial-gradient(circle at 50% 44%,rgba(124,47,240,.065),transparent 25%),#ffffff;
}

@media (max-width:820px) {
  html[data-theme="light"] .nav-links {
    background: #ffffff !important;
    border-color: #e7e1ee !important;
  }
}

@media (max-width:600px) {
  .wt-streamer-loader-logo-wrap {
    width: 92px;
    height: 92px;
  }
  .wt-streamer-loader-logo {
    width: 72px;
    height: 72px;
  }
  .wt-streamer-loader-inner {
    gap: 22px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .wt-streamer-loader-logo,.wt-streamer-loader-dot {
    animation: none !important;
  }
  .wt-streamer-loader-dot {
    opacity: .72;
  }
  .wt-streamer-loader {
    transition: none;
  }
}

/* ===== wartip-unified-header-contact-v2 ===== */

/* Unified navbar: compact logo-only brand. Both pages share same proportions. */

#nav .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  padding: 0 !important;
  margin: 0 !important;
}

#nav .nav-logo-image {
  display: block !important;
  width: 46px !important;
  height: 42px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: transform .25s ease !important;
  filter: drop-shadow(0 5px 12px rgba(139,63,247,.21)) !important;
}

#nav .brand:hover .nav-logo-image {
  transform: translateY(-1px) scale(1.045) !important;
}

#nav .brand-name {
  display: none !important;
}

#nav.is-scrolled .brand {
  flex-basis: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
}

#nav.is-scrolled .nav-logo-image {
  width: 40px !important;
  height: 36px !important;
}

#nav .nav-links {
  min-width: 0 !important;
}

#nav .nav-links a {
  white-space: nowrap !important;
}

@media (max-width:820px) {
  #nav .brand {
    flex-basis: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
  #nav .nav-logo-image {
    width: 40px !important;
    height: 38px !important;
  }
  #nav .nav-links {
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width:560px) {
  #nav .brand,#nav.is-scrolled .brand {
    flex: 0 0 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
  #nav .nav-logo-image,#nav.is-scrolled .nav-logo-image {
    width: 39px !important;
    height: 36px !important;
  }
}

/* Contact two-button layout and ready CTA directly under the contact channels. */

.wt-contact-section {
  position: relative;
  padding: 86px 0 86px;
  background: #000;
  color: #fff;
  scroll-margin-top: 100px;
}

.wt-contact-section .wt-contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: 52px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.wt-contact-section .wt-contact-copy {
  flex: 1 1 540px;
  min-width: 0;
  max-width: 690px;
}

.wt-contact-section .wt-contact-copy h2 {
  margin: 0;
  font: 600 clamp(36px,4.2vw,60px)/1.14 'Kanit',sans-serif;
  letter-spacing: -.035em;
}

.wt-contact-section .wt-contact-copy h2 span {
  background: linear-gradient(135deg,#c885ff,#8e4bfb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wt-contact-section .wt-contact-copy p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.62);
  font: 400 13px/1.85 'Kanit',sans-serif;
  max-width: 52ch;
}

.wt-contact-section .wt-contact-channels {
  width: min(100%,400px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 1 400px;
}

.wt-contact-section .wt-contact-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid rgba(171,116,234,.20);
  border-radius: 20px;
  background: #0d0b12;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transition: background .22s,border-color .22s,transform .22s;
}

.wt-contact-section .wt-contact-button:hover {
  transform: translateY(-2px);
  background: #171020;
  border-color: rgba(171,116,234,.50);
}

.wt-contact-section .wt-contact-icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #b46aff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wt-contact-section .wt-facebook-icon {
  fill: #b46aff;
  stroke: none;
}

.wt-contact-section .wt-contact-button-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.wt-contact-section .wt-contact-button-copy strong {
  font: 600 14px/1.3 'Kanit',sans-serif;
  color: inherit;
}

.wt-contact-section .wt-contact-button-copy small {
  font: 400 12px/1.5 'Kanit',sans-serif;
  color: rgba(255,255,255,.65);
  overflow-wrap: anywhere;
}

.wt-contact-section .wt-contact-arrow {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
}

.wt-contact-section .wt-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 46px 0 0;
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 22px;
  background: #0a090d;
  box-shadow: none;
}

.wt-contact-section .wt-contact-cta>div {
  display: grid;
  gap: 5px;
}

.wt-contact-section .wt-contact-cta strong {
  font: 600 16px 'Kanit',sans-serif;
  color: #fff;
}

.wt-contact-section .wt-contact-cta span {
  font: 400 12px 'Kanit',sans-serif;
  color: rgba(255,255,255,.60);
}

.wt-contact-section .wt-contact-cta .wt-core-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg,#903cf6,#ae52ff);
  color: #fff;
  font: 600 13px 'Kanit',sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.wt-contact-section .wt-contact-cta .wt-core-button span {
  color: #fff;
  font: inherit;
}

html[data-theme="light"] .wt-contact-section {
  background: #fff;
  color: #211a30;
}

html[data-theme="light"] .wt-contact-section .wt-contact-layout {
  border-top-color: #e9e3ee;
}

html[data-theme="light"] .wt-contact-section .wt-contact-copy p {
  color: #756d80;
}

html[data-theme="light"] .wt-contact-section .wt-contact-button {
  background: #faf8fd;
  border-color: #e9e0f0;
  color: #271d35;
}

html[data-theme="light"] .wt-contact-section .wt-contact-button:hover {
  background: #f5ecff;
  border-color: #ba96e4;
}

html[data-theme="light"] .wt-contact-section .wt-contact-button-copy small {
  color: #766b80;
}

html[data-theme="light"] .wt-contact-section .wt-contact-cta {
  background: #faf8fd;
  border-color: #e9e0f0;
}

html[data-theme="light"] .wt-contact-section .wt-contact-cta strong {
  color: #211a30;
}

html[data-theme="light"] .wt-contact-section .wt-contact-cta>div>span {
  color: #766b80;
}

@media (max-width:760px) {
  .wt-contact-section {
    padding: 60px 0 66px;
  }
  .wt-contact-section .wt-contact-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 35px;
  }
  .wt-contact-section .wt-contact-copy {
    flex: 0 1 auto;
  }
  .wt-contact-section .wt-contact-channels {
    width: 100%;
    flex: 0 1 auto;
  }
  .wt-contact-section .wt-contact-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }
  .wt-contact-section .wt-contact-cta .wt-core-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .wt-contact-section .wt-contact-button {
    transition: none;
  }
}

/* ===== wartip-mobile-polish-v3 ===== */

/* Wartip mobile polish — both pages, layout-only. */

@media (max-width: 760px) {
  html,body {
    overflow-x: clip;
  }
  #nav.nav {
    top: 9px !important;
    width: calc(100% - 20px) !important;
    min-height: 58px !important;
    padding: 7px 9px 7px 14px !important;
    border-radius: 22px !important;
    gap: 7px !important;
  }
  #nav.nav.is-scrolled {
    top: 6px !important;
    width: calc(100% - 20px) !important;
    min-height: 54px !important;
    border-radius: 20px !important;
  }
  #nav .brand, #nav.is-scrolled .brand {
    flex: 0 0 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 0 !important;
  }
  #nav .nav-logo-image,#nav.is-scrolled .nav-logo-image {
    width: 43px !important;
    height: 39px !important;
    object-fit: contain !important;
  }
  #nav .nav-actions {
    gap: 7px !important;
    margin-left: auto !important;
  }
  #nav .icon-btn,#nav .menu-btn {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
  }
  #nav .btn-ghost {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
  #nav .nav-links {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    gap: 2px !important;
    padding: 9px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,.24) !important;
  }
  #nav .nav-links a {
    display: block !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    min-height: 42px !important;
  }
  #nav .nav-links a.is-active {
    background: rgba(146,72,255,.095) !important;
  }
  #nav .account-popover {
    max-width: calc(100vw - 24px) !important;
  }
  .wt-contact-section {
    padding: 56px 0 62px !important;
  }
  .wt-contact-section .wrap {
    width: min(100% - 32px,1120px) !important;
  }
  .wt-contact-section .wt-contact-layout {
    border-top: 1px solid rgba(167,110,229,.12) !important;
    padding-top: 34px !important;
    gap: 23px !important;
  }
  .wt-contact-section .wt-contact-copy h2 {
    font-size: clamp(34px,9vw,43px) !important;
    line-height: 1.13 !important;
  }
  .wt-contact-section .wt-contact-copy p {
    font-size: 12.5px !important;
    line-height: 1.85 !important;
    margin-top: 11px !important;
  }
  .wt-contact-section .wt-contact-channels {
    gap: 10px !important;
    width: 100% !important;
  }
  .wt-contact-section .wt-contact-button {
    min-height: 67px !important;
    border-radius: 17px !important;
    padding: 12px 15px !important;
  }
  .wt-contact-section .wt-contact-cta {
    margin-top: 32px !important;
    padding: 20px !important;
    border-radius: 19px !important;
    gap: 17px !important;
  }
  .wt-contact-section .wt-contact-cta .wt-core-button {
    min-height: 47px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 370px) {
  #nav.nav {
    width: calc(100% - 12px) !important;
    padding-left: 10px !important;
    padding-right: 7px !important;
  }
  #nav .nav-actions {
    gap: 5px !important;
  }
  #nav .btn-ghost {
    padding: 0 10px !important;
    font-size: 11px !important;
  }
  #nav .icon-btn,#nav .menu-btn {
    width: 37px !important;
    height: 37px !important;
    min-height: 37px !important;
    flex-basis: 37px !important;
  }
  #nav .brand,#nav.is-scrolled .brand {
    min-width: 41px !important;
    max-width: 41px !important;
    flex-basis: 41px !important;
  }
  #nav .nav-logo-image,#nav.is-scrolled .nav-logo-image {
    width: 40px !important;
  }
}

/* Streamer directory mobile: compact discovery, two-column cards, coherent touch targets. */

@media (max-width:760px) {
  .wrap {
    width: min(100% - 32px,1120px) !important;
  }
  .hero {
    padding: 126px 0 24px !important;
  }
  .hero::before {
    inset: 55px 0 auto !important;
    height: 280px !important;
  }
  .hero h1 {
    margin: 0 0 13px !important;
    font-size: clamp(35px,9.5vw,51px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.045em !important;
  }
  .hero p {
    font-size: 12.8px !important;
    line-height: 1.8 !important;
    max-width: 38ch !important;
  }
  .tools {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 10px !important;
    margin: 25px 0 20px !important;
  }
  .search {
    min-height: 54px !important;
    padding: 0 15px !important;
    border-radius: 16px !important;
    gap: 10px !important;
  }
  .search input {
    height: 52px !important;
    min-width: 0 !important;
    font-size: 13px !important;
  }
  .filters {
    width: 100% !important;
    min-height: 48px !important;
    padding: 5px !important;
    border-radius: 16px !important;
  }
  .filters button {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }
  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    padding-bottom: 66px !important;
  }
  .grid .card {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
  }
  .grid .card .cover {
    height: clamp(98px,29vw,142px) !important;
    flex: none !important;
  }
  .grid .card .body {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 185px !important;
    padding: 35px 11px 12px !important;
  }
  .grid .card .avatar-shell {
    width: 53px !important;
    height: 53px !important;
    left: 11px !important;
    top: -27px !important;
    padding: 2.5px !important;
  }
  .grid .card .avatar {
    border-width: 2.5px !important;
  }
  .grid .card .name-row {
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .grid .card .name {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  .grid .card .wt-verified-badge {
    width: 14px !important;
    height: 14px !important;
  }
  .grid .card .handle {
    font-size: 10px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
  .grid .card .bio {
    flex: 1 !important;
    font-size: 10.2px !important;
    line-height: 1.55 !important;
    margin: 9px 0 12px !important;
    min-height: 32px !important;
  }
  .grid .card .donate {
    min-height: 39px !important;
    margin-top: auto !important;
    border-radius: 12px !important;
    font-size: 11px !important;
  }
  .grid .empty {
    min-height: 170px !important;
  }
}

@media (max-width:350px) {
  .grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  .grid .card .cover {
    height: 165px !important;
  }
  .grid .card .body {
    min-height: 170px !important;
    padding: 43px 16px 16px !important;
  }
  .grid .card .avatar-shell {
    width: 65px !important;
    height: 65px !important;
    top: -33px !important;
    left: 16px !important;
  }
  .grid .card .name {
    font-size: 15px !important;
  }
}
