:root {
  color-scheme: dark;
  --accent: #baff22;
  --accent-strong: #8dde00;
  --accent-soft: rgba(186,255,34,.12);
  --background: #050705;
  --surface: rgba(15,20,15,.88);
  --surface-raised: rgba(24,31,24,.92);
  --surface-soft: rgba(9,13,9,.92);
  --border: rgba(224,255,209,.105);
  --border-bright: rgba(186,255,34,.22);
  --text: #f6f9f3;
  --muted: #9da698;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0,0,0,.48), 0 2px 0 rgba(255,255,255,.025) inset;
  --shadow-neon: 0 16px 40px rgba(119,205,0,.15), 0 0 0 1px rgba(186,255,34,.08) inset;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: "Sora", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ambient-scene { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; perspective: 1200px; background: radial-gradient(circle at 30% 10%, rgba(186,255,34,.055), transparent 34rem), linear-gradient(155deg, #070a07 0%, #030503 62%, #080c07 100%); }
.ambient-orb { position: absolute; width: min(70vw, 720px); aspect-ratio: 1; right: -16vw; top: 5vh; border-radius: 50%; opacity: .58; transform-style: preserve-3d; transform: rotateX(62deg) rotateZ(-12deg); background: radial-gradient(circle at 38% 32%, rgba(225,255,173,.3) 0 1%, rgba(186,255,34,.12) 12%, rgba(49,95,16,.18) 37%, rgba(5,8,5,.18) 60%, rgba(0,0,0,.86) 72%), conic-gradient(from 35deg, transparent, rgba(186,255,34,.18), transparent 24%, rgba(186,255,34,.07), transparent 58%); border: 1px solid rgba(186,255,34,.18); box-shadow: -45px 60px 150px rgba(75,157,0,.13), 0 0 80px rgba(186,255,34,.08) inset; animation: orb-float 13s ease-in-out infinite alternate; }
.ambient-orb::before { content: ""; position: absolute; inset: 2%; border-radius: 50%; opacity: .75; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 24px, rgba(186,255,34,.12) 25px 26px, transparent 27px 46px), repeating-conic-gradient(from 0deg, transparent 0 13deg, rgba(186,255,34,.11) 14deg 14.5deg, transparent 15deg 29deg); mask-image: radial-gradient(circle, #000 38%, transparent 73%); animation: orb-spin 28s linear infinite; }
.ambient-orb::after { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 48% 45%, rgba(186,255,34,.13), transparent 63%); filter: blur(18px); }
.ambient-orb span { position: absolute; inset: 31%; border-radius: 50%; border: 1px solid rgba(211,255,127,.28); box-shadow: 0 0 45px rgba(186,255,34,.2), 0 0 35px rgba(186,255,34,.13) inset; transform: translateZ(40px); }
.ambient-particles { position: absolute; inset: 0; opacity: .43; background-image: radial-gradient(circle, rgba(210,255,131,.7) 0 1px, transparent 1.3px), radial-gradient(circle, rgba(186,255,34,.45) 0 1px, transparent 1.5px); background-size: 43px 43px, 79px 79px; background-position: 0 0, 18px 21px; mask-image: linear-gradient(to bottom, #000, transparent 78%); animation: particles-drift 24s linear infinite; }
.ambient-grid { position: absolute; left: -20%; right: -20%; bottom: -38vh; height: 75vh; opacity: .2; transform: rotateX(66deg); transform-origin: center top; background-image: linear-gradient(rgba(186,255,34,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(186,255,34,.12) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, transparent, #000 24%, transparent 90%); animation: grid-move 12s linear infinite; }
.ambient-beam { position: absolute; width: 32vw; height: 160vh; left: 9vw; top: -40vh; opacity: .08; transform: rotate(22deg); background: linear-gradient(90deg, transparent, var(--accent), transparent); filter: blur(35px); animation: beam-sweep 11s ease-in-out infinite alternate; }
.app-shell { position: relative; z-index: 1; width: min(100%, 1180px); margin: 0 auto; min-height: 100vh; }
@keyframes orb-float { to { transform: translate3d(-3vw,3vh,0) rotateX(67deg) rotateZ(2deg) scale(1.04); } }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes particles-drift { to { background-position: 43px 43px, -61px 100px; } }
@keyframes grid-move { to { background-position: 0 58px, 58px 58px; } }
@keyframes beam-sweep { to { transform: translateX(25vw) rotate(22deg); opacity: .13; } }
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(5,7,5,.96), rgba(5,7,5,.72), transparent);
  backdrop-filter: blur(18px) saturate(125%);
}
.brand { width: clamp(176px,18vw,224px); height: 72px; flex: 0 0 auto; display: flex; align-items: center; color: var(--text); text-decoration: none; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(157,255,20,.09)); transition: transform .22s ease, filter .22s ease; }
.brand:hover .brand-logo { transform: translateY(-1px) scale(1.012); filter: drop-shadow(0 12px 24px rgba(0,0,0,.56)) drop-shadow(0 0 18px rgba(157,255,20,.15)); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.notification-button { min-height: 44px; position: relative; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border-radius: 15px; color: var(--accent); background: linear-gradient(145deg, rgba(31,42,27,.96), rgba(12,17,11,.96)); border: 1px solid rgba(186,255,34,.2); box-shadow: 0 12px 26px rgba(0,0,0,.24), 0 0 0 1px rgba(186,255,34,.04) inset; font-family: "Rajdhani", sans-serif; font-weight: 700; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.notification-button:hover { transform: translateY(-1px); border-color: rgba(186,255,34,.42); box-shadow: 0 12px 28px rgba(0,0,0,.3), 0 0 20px rgba(156,255,28,.08); }
.notification-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: #ffd84b; color: #181405; border: 2px solid #090b09; font-family: "Sora", sans-serif; font-size: 9px; font-weight: 800; }
.notification-badge[hidden] { display: none; }
.account-button { min-height: 44px; position: relative; padding: 0 13px 0 15px; display: inline-flex; align-items: center; gap: 8px; border-radius: 15px; color: var(--text); background: linear-gradient(145deg, rgba(25,32,25,.92), rgba(10,14,10,.94)); border: 1px solid var(--border); box-shadow: 0 12px 26px rgba(0,0,0,.24), 0 1px 0 rgba(255,255,255,.04) inset; font-family: "Rajdhani", sans-serif; font-weight: 600; }
.account-chevron { color: var(--accent); font-size: 21px; line-height: 1; transition: transform .2s ease; }
.account-button:hover .account-chevron { transform: translateX(2px); }
.account-choice-grid { display: grid; gap: 10px; }
.account-choice-card { width: 100%; min-height: 78px; padding: 13px 14px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; text-align: left; color: var(--text); border-radius: 17px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(27,35,26,.96), rgba(12,16,12,.96)); box-shadow: 0 12px 28px rgba(0,0,0,.18); transition: transform .2s ease, border-color .2s ease; }
.account-choice-card:hover { transform: translateY(-1px); border-color: rgba(186,255,34,.32); }
.account-choice-card > span:nth-child(2) { display: grid; gap: 3px; }
.account-choice-card strong { font-family: "Rajdhani", sans-serif; font-size: 17px; }
.account-choice-card small { color: var(--muted); font-size: 11px; }
.account-choice-card > i { color: var(--accent); font-family: "Rajdhani", sans-serif; font-size: 25px; font-style: normal; }
.account-choice-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: rgba(186,255,34,.08); font-size: 23px; }
.logout-button, .logout-confirm-button { width: 100%; min-height: 46px; margin-top: 12px; border-radius: 14px; border: 1px solid rgba(255,106,106,.22); color: #ff9a9a; background: rgba(114,30,30,.12); font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 700; }
.logout-button:hover, .logout-confirm-button:hover { border-color: rgba(255,106,106,.42); background: rgba(143,37,37,.2); }
.modal-form .logout-confirm-button { margin-top: 0; }
.personal-avatar { width: 72px; height: 72px; margin: 0 auto 12px; display: grid; place-items: center; overflow: hidden; border-radius: 22px; color: #101608; background: linear-gradient(145deg, #d0ff61, var(--accent-strong)); box-shadow: 0 12px 30px rgba(116,219,0,.2); font-family: "Rajdhani", sans-serif; font-size: 24px; font-weight: 700; }
.personal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.notification-list { display: grid; gap: 10px; }
.notification-card { width: 100%; min-height: 76px; padding: 13px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; text-align: left; color: var(--text); border-radius: 17px; border: 1px solid rgba(255,216,75,.24); background: linear-gradient(145deg, rgba(40,37,20,.82), rgba(16,17,12,.96)); }
.notification-card > span:nth-child(2) { display: grid; gap: 3px; }
.notification-card small { color: var(--muted); font-size: 11px; }
.notification-card > b { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; background: #ffd84b; color: #181405; font-size: 10px; }
.notification-card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #ffd84b; background: rgba(255,216,75,.08); font-size: 20px; }
.notification-empty { padding: 26px 18px; display: grid; justify-items: center; gap: 8px; text-align: center; border-radius: 18px; border: 1px solid var(--border); background: var(--surface-raised); }
.notification-empty > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(186,255,34,.08); font-size: 19px; }
.notification-empty p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.main-content { padding: 10px 14px 112px; }
.view { max-width: 780px; margin: 0 auto; }
.home-view { max-width: 980px; }
.home-hero { position: relative; min-height: 430px; padding: clamp(28px,5vw,58px); display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.7fr); align-items: center; gap: clamp(24px,5vw,58px); overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 76% 30%, rgba(174,255,44,.16), transparent 31%), linear-gradient(145deg, rgba(24,31,23,.95), rgba(7,11,7,.98)); border: 1px solid var(--border); box-shadow: 0 34px 90px rgba(0,0,0,.48), 0 0 70px rgba(122,211,0,.06), 0 1px 0 rgba(255,255,255,.05) inset; }
.home-hero::before { content: ""; position: absolute; width: 330px; height: 330px; right: -90px; top: -100px; border-radius: 50%; border: 1px solid rgba(190,255,89,.14); box-shadow: 0 0 0 32px rgba(190,255,89,.025), 0 0 0 72px rgba(190,255,89,.015); }
.home-hero-copy { position: relative; z-index: 1; }
.home-hero h1 { max-width: 670px; margin: 10px 0 18px; font-family: "Rajdhani", sans-serif; font-size: clamp(48px,8vw,82px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; text-shadow: 0 8px 34px rgba(0,0,0,.5); }
.home-hero h1 span { color: var(--accent); text-shadow: 0 0 30px rgba(178,255,47,.18); }
.home-hero-copy > p:last-of-type { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(14px,1.6vw,17px); line-height: 1.7; }
.home-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.home-actions button { min-height: 52px; padding: 0 22px; border-radius: 16px; }
.home-live-card { position: relative; z-index: 1; padding: 24px; border-radius: 24px; background: linear-gradient(145deg, rgba(27,36,26,.9), rgba(9,14,9,.94)); border: 1px solid rgba(210,255,175,.14); box-shadow: 0 22px 55px rgba(0,0,0,.38), 0 0 32px rgba(174,255,44,.07); }
.home-live-kicker { margin-bottom: 18px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.home-live-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: live-pulse 1.8s ease-in-out infinite; }
.home-live-card strong, .home-live-card small { display: block; }
.home-live-card strong { font-family: "Rajdhani", sans-serif; color: var(--text); font-size: 28px; line-height: 1; }
.home-live-card strong span { color: var(--accent); }
.home-live-card small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.home-live-divider { height: 1px; margin: 18px 0; background: var(--border); }
.home-steps { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.home-steps article { padding: 18px; display: flex; gap: 13px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 15px 36px rgba(0,0,0,.18); }
.home-steps article > span { color: var(--accent); font-family: "Rajdhani", sans-serif; font-weight: 700; }
.home-steps strong { display: block; font-size: 13px; }
.home-steps p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 10px 2px 20px; }
.eyebrow { margin: 0 0 6px; color: var(--accent); font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 0 18px rgba(186,255,34,.28); }
h1 { margin: 0; font-family: "Rajdhani", sans-serif; font-size: clamp(36px, 10vw, 58px); line-height: .94; font-weight: 700; letter-spacing: -.045em; background: linear-gradient(125deg, #fff 12%, #dfe6da 58%, #aeb9a8); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 7px 19px rgba(0,0,0,.28)); animation: title-enter .65s cubic-bezier(.2,.8,.2,1) both; }
@keyframes title-enter { from { opacity: 0; transform: translateY(10px) skewY(1.5deg); filter: blur(4px); } }
.page-copy { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.live-status { flex: 0 0 auto; padding-bottom: 2px; color: var(--muted); font-size: 12px; }
.live-status span { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px rgba(186,255,34,.9); animation: live-pulse 1.8s ease-in-out infinite; }
.live-status span::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: inherit; border: 1px solid var(--accent); animation: live-ring 1.8s ease-out infinite; }
.live-status span { position: relative; }
@keyframes live-pulse { 50% { transform: scale(.78); opacity: .7; } }
@keyframes live-ring { to { transform: scale(2.5); opacity: 0; } }
.live-status strong { color: var(--text); }
.primary-button, .send-button { position: relative; overflow: hidden; border: 0; background: linear-gradient(135deg, #d0ff61 0%, var(--accent) 44%, var(--accent-strong) 100%); color: #101608; font-family: "Rajdhani", sans-serif; font-weight: 700; letter-spacing: .01em; box-shadow: 0 13px 34px rgba(104,188,0,.2), 0 1px 0 rgba(255,255,255,.5) inset, 0 -8px 16px rgba(80,139,0,.18) inset; }
.primary-button::after, .send-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.45) 46%, transparent 67%); transform: translateX(-120%); transition: transform .65s ease; }
.primary-button:hover::after, .send-button:hover::after { transform: translateX(120%); }
.hero-action { width: 100%; min-height: 56px; border-radius: 18px; font-size: 19px; box-shadow: var(--shadow-neon); transform: translateZ(0); transition: transform .2s ease, filter .2s ease; }
.hero-action:hover { transform: translateY(-2px); filter: brightness(1.05); }
.stream-note { margin: 12px 0 18px; color: var(--muted); font-size: 12px; text-align: center; }
.search-type-switch { margin: 0 0 16px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; border-radius: 18px; background: rgba(10,14,10,.82); border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,.2) inset; }
.search-type-switch button { min-height: 48px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 700; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.search-type-switch button span { margin-right: 6px; color: #77816f; }
.search-type-switch button.is-active { color: #101608; background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); box-shadow: 0 10px 26px rgba(104,188,0,.18), 0 1px 0 rgba(255,255,255,.42) inset; transform: translateY(-1px); }
.search-type-switch button.is-active span { color: #22330d; }
.search-filters { margin-bottom: 17px; padding: 15px; display: grid; gap: 12px; border-radius: 20px; background: linear-gradient(145deg, rgba(22,29,21,.88), rgba(9,13,9,.94)); border: 1px solid var(--border); box-shadow: 0 16px 38px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.025) inset; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-heading strong { font-family: "Rajdhani", sans-serif; font-size: 16px; }
.filter-heading span { color: var(--muted); font-size: 10px; }
.filter-group { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: center; gap: 9px; }
.filter-label { color: var(--muted); font-size: 10px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { min-height: 34px; padding: 0 11px; border-radius: 11px; border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--muted); font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 600; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.filter-chip:hover { color: var(--text); border-color: rgba(183,255,36,.18); transform: translateY(-1px); }
.filter-chip.is-active { color: #111708; background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); border-color: transparent; box-shadow: 0 7px 20px rgba(119,205,0,.15); }
.filter-reset { justify-self: start; min-height: 28px; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 10px; }
.own-search-tag { display: inline-flex; margin-top: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(183,255,36,.09); border: 1px solid rgba(183,255,36,.14); color: var(--accent); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.search-stream { display: grid; gap: 12px; position: relative; }
.search-stream::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 22px; width: 1px; background: linear-gradient(transparent, rgba(183,255,36,.14), transparent); }
.search-entry { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 10px; position: relative; perspective: 850px; }
.search-entry.is-new { animation: card-rise .55s cubic-bezier(.2,.8,.2,1) both; }
.search-entry.is-new:nth-child(2) { animation-delay: .06s; }
.search-entry.is-new:nth-child(3) { animation-delay: .12s; }
@keyframes card-rise { from { opacity: 0; transform: translateY(14px); } }
.team-logo { width: 46px; height: 46px; z-index: 1; overflow: hidden; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(35,44,34,.98), rgba(12,16,12,.98)); border: 1px solid var(--border-bright); color: var(--accent); font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 700; box-shadow: 0 11px 26px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.07) inset, 0 0 22px rgba(186,255,34,.05); transform: translateZ(18px); }
.team-logo img, .profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.search-bubble { position: relative; min-width: 0; padding: 16px; overflow: hidden; border-radius: 7px var(--radius) var(--radius) var(--radius); background: linear-gradient(145deg, rgba(28,35,27,.94), rgba(10,14,10,.96) 62%); border: 1px solid var(--border); box-shadow: 0 24px 55px rgba(0,0,0,.32), 0 1px 0 rgba(255,255,255,.045) inset, -1px -1px 0 rgba(186,255,34,.025) inset; transform-style: preserve-3d; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; backdrop-filter: blur(18px) saturate(120%); }
.search-bubble::before { content: ""; position: absolute; width: 145px; height: 145px; right: -75px; top: -85px; border-radius: 50%; background: radial-gradient(circle, rgba(186,255,34,.11), transparent 68%); pointer-events: none; }
.search-bubble::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.035), transparent 28%); pointer-events: none; }
.bubble-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bubble-heading strong { display: block; font-family: "Rajdhani", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.bubble-heading small, .timestamp { color: var(--muted); font-size: 11px; }
.timestamp { white-space: nowrap; }
.search-details { position: relative; margin: 13px 0; padding: 13px; border-radius: 16px; background: linear-gradient(135deg, rgba(186,255,34,.1), rgba(69,108,22,.055)); border: 1px solid rgba(186,255,34,.17); box-shadow: 0 11px 28px rgba(0,0,0,.16), 0 1px 0 rgba(255,255,255,.025) inset; }
.search-details b { display: block; margin-bottom: 5px; color: var(--accent); font-family: "Rajdhani", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .01em; text-shadow: 0 0 18px rgba(186,255,34,.16); }
.search-details span { color: #d7ddd3; font-size: 12px; }
.search-note { color: var(--muted); font-size: 12px; line-height: 1.45; }
.action-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.action-row > * { flex: 1; }
.secondary-button, .request-button, .danger-button, .text-button {
  min-height: 42px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
}
.request-button { background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); color: #101608; border-color: transparent; font-family: "Rajdhani", sans-serif; font-size: 15px; font-weight: 700; box-shadow: var(--shadow-neon); }
.request-button.is-sent { background: rgba(183,255,36,.08); color: var(--accent); border-color: rgba(183,255,36,.18); }
.danger-button { color: var(--danger); }
.text-button { min-height: auto; padding: 8px 0; border: 0; background: transparent; color: var(--accent); }
.cooldown { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.request-counter { display: inline-flex; min-width: 21px; height: 21px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: #101608; color: var(--accent); font-size: 10px; }
.search-expiry { display: block; margin-top: 7px; color: #c4d4b9; font-size: 10px; }
.search-expiry.is-ending { color: #ffd36a; }
.challenge-pending { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.challenge-pending > span { display: inline-flex; align-items: center; gap: 7px; color: #dce8d5; font-size: 11px; }
.challenge-pending i { width: 7px; height: 7px; border-radius: 50%; background: #ffc43d; box-shadow: 0 0 12px rgba(255,196,61,.6); }
.challenge-pending .secondary-button { min-height: 36px; padding: 0 12px; color: #ffd36a; }
.search-entry.is-highlighted .search-bubble { border-color: rgba(186,255,34,.62); animation: search-focus-pulse 1.8s ease both; }
@keyframes search-focus-pulse { 0%,100% { box-shadow: 0 24px 55px rgba(0,0,0,.32); } 30% { box-shadow: 0 24px 55px rgba(0,0,0,.32), 0 0 0 4px rgba(186,255,34,.12), 0 0 42px rgba(186,255,34,.2); } }
.planned-search-stream { display: grid; gap: 13px; }
.planned-card { position: relative; overflow: hidden; padding: 17px; border-radius: var(--radius); background: linear-gradient(145deg, rgba(25,33,24,.94), rgba(8,12,8,.97)); border: 1px solid var(--border); box-shadow: 0 22px 55px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.04) inset; }
.planned-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -95px; top: -105px; border-radius: 50%; background: radial-gradient(circle, rgba(186,255,34,.12), transparent 68%); pointer-events: none; }
.planned-card.is-own { border-color: rgba(186,255,34,.2); }
.planned-card-heading { position: relative; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 11px; }
.planned-card-heading > div { min-width: 0; }
.planned-card-heading strong, .planned-card-heading span, .planned-card-heading em { display: block; }
.planned-card-heading strong { overflow: hidden; font-family: "Rajdhani", sans-serif; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.planned-card-heading span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.planned-card-heading em { width: fit-content; margin-top: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(183,255,36,.09); color: var(--accent); font-size: 8px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.planned-card-heading time { max-width: 170px; color: #dfffc6; font-size: 11px; font-weight: 700; text-align: right; text-transform: capitalize; }
.planned-card > p { position: relative; margin: 13px 0 0; color: var(--muted); font-size: 11px; }
.planned-slots { position: relative; margin-top: 14px; display: grid; gap: 7px; }
.planned-slot { min-height: 58px; padding: 8px 9px 8px 13px; display: flex; align-items: center; gap: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(183,255,36,.085), rgba(32,47,22,.26)); border: 1px solid rgba(183,255,36,.14); }
.planned-time { min-width: 76px; display: flex; align-items: baseline; gap: 4px; }
.planned-time b { color: var(--accent); font-family: "Rajdhani", sans-serif; font-size: 22px; line-height: 1; }
.planned-time small { color: var(--muted); font-size: 9px; }
.planned-slot-request { min-height: 40px; margin-left: auto; padding: 0 13px; border-radius: 12px; border: 0; background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); color: #101608; font-family: "Rajdhani", sans-serif; font-weight: 700; box-shadow: 0 8px 20px rgba(104,188,0,.15); }
.planned-slot-owner, .planned-slot-pending { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.planned-slot-owner > button:first-child { min-height: 36px; padding: 0 11px; border-radius: 11px; border: 1px solid rgba(183,255,36,.18); background: rgba(183,255,36,.08); color: var(--accent); }
.planned-slot-owner b { display: inline-grid; min-width: 18px; height: 18px; place-items: center; margin-right: 3px; border-radius: 50%; background: var(--accent); color: #101608; }
.planned-slot-remove { width: 34px; height: 34px; padding: 0; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.025); color: var(--muted); font-size: 18px; }
.planned-slot-pending i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #ffc43d; box-shadow: 0 0 10px rgba(255,196,61,.58); }
.planned-slot-pending button { min-height: 34px; padding: 0 9px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.025); color: #ffd36a; font-size: 9px; }
.planned-group-remove { min-height: 34px; margin-top: 10px; padding: 0; border: 0; background: transparent; color: #ff9797; font-size: 9px; }
.planned-time-rows { display: grid; gap: 8px; }
.planned-time-row { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 7px; }
.planned-time-row input { color-scheme: dark; }
.planned-time-row button, .add-time-button { border-radius: 12px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--muted); }
.planned-time-row button { font-size: 19px; }
.add-time-button { min-height: 40px; color: var(--accent); }
.add-time-button[hidden] { display: none; }
.field-hint { color: var(--muted); font-size: 9px; line-height: 1.45; }
.chat-panel, .private-room, .team-card { position: relative; overflow: hidden; padding: 17px; border-radius: var(--radius); background: linear-gradient(145deg, rgba(21,27,20,.92), rgba(8,12,8,.95)); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(20px) saturate(125%); }
.chat-panel { height: clamp(520px, 66vh, 720px); min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto auto; overflow: visible; }
.private-room { overflow: visible; }
.chat-panel::before, .private-room::before, .team-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.035), transparent 25%); }
.messages { position: relative; z-index: 2; min-height: 300px; display: grid; align-content: start; gap: 10px; }
.chat-panel > .messages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 3px 7px 14px 1px; }
.chat-panel > .messages::-webkit-scrollbar, .messages.compact::-webkit-scrollbar { width: 7px; }
.chat-panel > .messages::-webkit-scrollbar-track, .messages.compact::-webkit-scrollbar-track { background: transparent; }
.chat-panel > .messages::-webkit-scrollbar-thumb, .messages.compact::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(186,255,34,.17); }
.messages.compact { min-height: 220px; max-height: 360px; overflow: auto; padding-right: 3px; }
.message { position: relative; z-index: 1; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 9px; align-items: start; }
.message.is-own { grid-template-columns: minmax(0,1fr) 36px; }
.message.is-own .message-avatar { grid-column: 2; grid-row: 1; }
.message.is-own .message-bubble { grid-column: 1; grid-row: 1; justify-self: end; border-radius: 16px 6px 16px 16px; background: linear-gradient(145deg, rgba(91,129,33,.76), rgba(35,55,19,.94)); border-color: rgba(186,255,34,.22); box-shadow: 0 12px 30px rgba(0,0,0,.24), 0 0 24px rgba(136,219,29,.055), 0 1px 0 rgba(255,255,255,.06) inset; }
.message.is-own .message-author { justify-content: flex-end; }
.message-avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; overflow: hidden; background: var(--surface-raised); color: var(--accent); font-size: 10px; font-weight: 800; }
.message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.message-bubble { width: fit-content; max-width: 100%; padding: 11px 13px; border-radius: 6px 16px 16px 16px; background: linear-gradient(145deg, rgba(29,37,28,.96), rgba(14,19,14,.96)); border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.03) inset; font-size: 13px; line-height: 1.42; }
.message-bubble strong { color: var(--accent); font-size: 11px; }
.message-author { display: inline-flex; align-items: baseline; gap: 5px; color: var(--accent); font-size: 11px; font-weight: 700; }
.personal-chat-author { color: var(--accent); font-weight: 800; }
.author-handle { color: #eef7e8; font-weight: 700; letter-spacing: .01em; }
.club-profile-hover { position: relative; display: inline-flex; z-index: 4; }
.club-hover-trigger { min-height: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent); font: inherit; font-weight: 800; cursor: help; text-align: left; }
.club-hover-trigger:hover, .club-hover-trigger:focus-visible { color: #ddff8c; outline: none; text-shadow: 0 0 12px rgba(183,255,36,.45); }
.club-card-overlay { position: fixed; z-index: 110; width: min(300px, calc(100vw - 24px)); padding: 14px; display: grid; gap: 10px; border-radius: 18px; border: 1px solid rgba(183,255,36,.24); background: linear-gradient(145deg, rgba(28,37,26,.995), rgba(7,11,7,.995)); box-shadow: 0 25px 65px rgba(0,0,0,.7), 0 0 32px rgba(136,219,29,.11), 0 1px 0 rgba(255,255,255,.06) inset; color: var(--text); opacity: 0; pointer-events: none; transform: perspective(600px) translateY(-6px) rotateX(-5deg) scale(.97); transform-origin: 28px 0; transition: opacity .16s ease, transform .2s ease; }
.club-card-overlay[hidden] { display: none; }
.club-card-overlay.is-visible { opacity: 1; pointer-events: auto; transform: perspective(600px) translateY(0) rotateX(0) scale(1); }
.club-card-overlay.opens-up { transform-origin: 28px 100%; }
.club-hover-top { display: flex; align-items: center; gap: 10px; }
.club-hover-top > span:last-child { min-width: 0; display: grid; gap: 1px; }
.club-hover-top small, .club-hover-detail small { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.club-hover-top b { overflow: hidden; color: var(--text); font-family: "Rajdhani", sans-serif; font-size: 16px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.club-hover-logo { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--surface-raised); color: var(--accent); font-size: 11px; font-weight: 800; }
.club-hover-logo img { width: 100%; height: 100%; object-fit: cover; }
.club-hover-detail { padding-top: 8px; display: grid; gap: 1px; border-top: 1px solid var(--border); }
.club-hover-detail b { overflow: hidden; color: #eef7e8; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.club-hover-hint { color: rgba(166,180,158,.62); font-size: 9px; font-weight: 500; }
.club-active-search, .club-search-idle { padding: 10px; display: grid; gap: 4px; border-radius: 13px; border: 1px solid rgba(183,255,36,.14); background: rgba(183,255,36,.06); }
.club-active-search small, .club-search-idle { color: var(--muted); font-size: 9px; }
.club-active-search b { color: #e7ffd1; font-family: "Rajdhani", sans-serif; font-size: 14px; }
.club-active-search button { min-height: 32px; margin-top: 3px; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 10px; font-weight: 700; text-align: left; }
.message-bubble time { margin-left: 5px; color: var(--muted); font-size: 10px; }
.message-bubble p { margin: 4px 0 0; }
.message-new .message-avatar { animation: message-avatar-pop .52s cubic-bezier(.18,.89,.32,1.35) both; }
.message-new .message-bubble { transform-origin: 18px 0; animation: message-bubble-pop .58s cubic-bezier(.16,1,.3,1) both; }
.message-new.is-own .message-bubble { transform-origin: calc(100% - 18px) 0; animation-name: message-bubble-pop-own; }
@keyframes message-bubble-pop {
  0% { opacity: 0; transform: perspective(600px) translate3d(-14px,12px,0) rotateX(-12deg) scale(.9); filter: blur(5px); box-shadow: 0 0 0 rgba(158,255,40,0); }
  58% { opacity: 1; transform: perspective(600px) translate3d(2px,-1px,18px) rotateX(2deg) scale(1.018); filter: blur(0); box-shadow: 0 16px 38px rgba(0,0,0,.28), 0 0 24px rgba(158,255,40,.13); }
  100% { opacity: 1; transform: perspective(600px) translate3d(0,0,0) rotateX(0) scale(1); filter: blur(0); }
}
@keyframes message-avatar-pop {
  0% { opacity: 0; transform: translateY(9px) scale(.65) rotate(-8deg); box-shadow: 0 0 0 rgba(158,255,40,0); }
  65% { opacity: 1; transform: translateY(-2px) scale(1.08) rotate(2deg); box-shadow: 0 0 22px rgba(158,255,40,.28); }
  100% { opacity: 1; transform: none; box-shadow: none; }
}
@keyframes message-bubble-pop-own {
  0% { opacity: 0; transform: perspective(600px) translate3d(14px,12px,0) rotateX(-12deg) scale(.9); filter: blur(5px); }
  58% { opacity: 1; transform: perspective(600px) translate3d(-2px,-1px,18px) rotateX(2deg) scale(1.018); filter: blur(0); box-shadow: 0 16px 38px rgba(0,0,0,.28), 0 0 24px rgba(158,255,40,.13); }
  100% { opacity: 1; transform: perspective(600px) translate3d(0,0,0) rotateX(0) scale(1); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .message-new .message-avatar, .message-new .message-bubble { animation: none; }
}
.message-composer { position: relative; z-index: 45; display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 8px; margin-top: 14px; }
.new-messages-button { position: absolute; z-index: 12; left: 50%; bottom: 91px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(183,255,36,.24); background: linear-gradient(145deg, #27351e, #121a0f); color: #e8ffd5; box-shadow: 0 12px 30px rgba(0,0,0,.46), 0 0 22px rgba(139,219,31,.1); font-size: 10px; font-weight: 700; transform: translateX(-50%); animation: new-messages-in .22s ease-out both; }
.new-messages-button[hidden] { display: none; }
@keyframes new-messages-in { from { opacity: 0; transform: translate(-50%,8px) scale(.94); } }
.composer-input-wrap { position: relative; min-width: 0; }
.message-composer input, .field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--border); background: #090c09; color: var(--text); font-size: 16px; }
.message-composer input { padding-right: 51px; }
.emoji-toggle { position: absolute; z-index: 2; right: 7px; top: 6px; width: 36px; min-height: 36px; padding: 0; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 21px; line-height: 1; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.emoji-toggle:hover, .emoji-toggle[aria-expanded="true"] { color: var(--accent); background: rgba(183,255,36,.08); border-color: rgba(183,255,36,.16); transform: translateY(-1px); }
.emoji-picker { position: absolute; z-index: 80; right: 0; bottom: calc(100% + 9px); width: min(292px, calc(100vw - 46px)); padding: 10px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; border-radius: 17px; background: linear-gradient(145deg, rgba(28,36,27,.98), rgba(8,12,8,.99)); border: 1px solid rgba(211,255,178,.15); box-shadow: 0 22px 55px rgba(0,0,0,.58), 0 0 28px rgba(158,255,40,.08); backdrop-filter: blur(22px); transform-origin: right bottom; animation: emoji-picker-in .2s cubic-bezier(.16,1,.3,1) both; }
.emoji-picker[hidden] { display: none; }
.emoji-picker button { min-height: 38px; padding: 0; border-radius: 10px; border: 1px solid transparent; background: rgba(255,255,255,.025); font-size: 20px; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.emoji-picker button:hover { transform: translateY(-2px) scale(1.1); background: rgba(183,255,36,.09); border-color: rgba(183,255,36,.16); }
@keyframes emoji-picker-in { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
.send-button { border-radius: 14px; font-size: 17px; }
.slow-mode { margin: 9px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.private-list { display: grid; gap: 10px; }
.private-item { width: 100%; padding: 13px; display: flex; align-items: center; gap: 11px; text-align: left; border-radius: 17px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.private-item-copy { min-width: 0; flex: 1; }
.private-item-copy strong, .private-item-copy span { display: block; }
.private-item-copy span { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.unread-count, .nav-badge { display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #101608; font-size: 9px; font-weight: 800; }
.unread-count { width: 21px; height: 21px; }
.nav-badge[hidden], .unread-count[hidden] { display: none; }
.match-summary { margin: 8px 0 14px; padding: 12px; border-radius: 15px; background: rgba(183,255,36,.055); border: 1px solid rgba(183,255,36,.13); }
.match-summary strong { display: block; color: var(--accent); }
.match-summary span { color: var(--muted); font-size: 12px; }
.empty-state { padding: 30px 18px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.empty-state h2 { margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.team-card { text-align: center; }
.profile-logo { width: 82px; height: 82px; margin: 0 auto 12px; overflow: hidden; border-radius: 24px; display: grid; place-items: center; background: var(--surface-raised); border: 1px solid var(--border); color: var(--accent); font-size: 19px; font-weight: 800; }
.team-card h2 { margin: 0; font-size: 22px; }
.team-card > p { margin: 6px 0 18px; color: var(--muted); }
.team-form { display: grid; gap: 12px; text-align: left; }
.logo-upload-field { text-align: left; }
.logo-upload-control { width: 100%; min-height: 58px; padding: 8px; display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 15px; border: 1px solid var(--border); background: #090c09; transition: border-color .2s ease, background .2s ease; }
.logo-upload-control:hover { border-color: rgba(183,255,36,.3); background: rgba(183,255,36,.035); }
.logo-upload-button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 11px; background: linear-gradient(145deg, rgba(183,255,36,.16), rgba(95,157,28,.08)); border: 1px solid rgba(183,255,36,.18); color: var(--accent); font-weight: 700; }
.logo-upload-copy { min-width: 0; display: grid; gap: 2px; text-align: left; }
.logo-upload-copy strong { color: var(--text); font-size: 12px; }
.logo-upload-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.field { display: grid; gap: 6px; }
.field label { color: var(--muted); font-size: 11px; }
.manager-list { display: grid; gap: 8px; margin: 14px 0; text-align: left; }
.manager { padding: 11px; border-radius: 14px; display: flex; justify-content: space-between; gap: 10px; background: var(--surface-raised); border: 1px solid var(--border); }
.manager span { color: var(--muted); font-size: 11px; }
.bottom-nav { position: fixed; z-index: 30; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; padding: 7px; display: grid; grid-template-columns: repeat(4,1fr); border-radius: 23px; background: linear-gradient(145deg, rgba(25,32,24,.95), rgba(8,12,8,.97)); border: 1px solid rgba(224,255,209,.12); box-shadow: 0 25px 65px rgba(0,0,0,.62), 0 1px 0 rgba(255,255,255,.055) inset, 0 -1px 0 rgba(0,0,0,.6) inset; backdrop-filter: blur(22px) saturate(130%); }
.nav-button { min-height: 60px; position: relative; border: 0; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); background: transparent; font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 600; transition: transform .2s ease, color .2s ease, background .2s ease; }
.nav-button.is-active { color: var(--accent); background: linear-gradient(145deg, rgba(186,255,34,.12), rgba(82,130,27,.05)); box-shadow: 0 0 0 1px rgba(186,255,34,.065) inset, 0 8px 20px rgba(0,0,0,.15); transform: translateY(-1px); }
.nav-icon { font-size: 20px; line-height: 1; }
.nav-badge { position: absolute; top: 3px; left: calc(50% + 8px); width: 17px; height: 17px; }
.modal-layer { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.modal-layer[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(4px); }
.modal-sheet { position: relative; width: min(100%, 560px); max-height: min(88vh, 760px); overflow: auto; padding: 12px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: linear-gradient(145deg, rgba(24,31,23,.985), rgba(7,11,7,.99)); border: 1px solid rgba(224,255,209,.13); box-shadow: 0 -32px 90px rgba(0,0,0,.68), 0 1px 0 rgba(255,255,255,.05) inset; animation: sheet-enter .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sheet-enter { from { transform: translateY(28px); opacity: .6; } }
.modal-handle { width: 44px; height: 4px; margin: 0 auto 16px; border-radius: 999px; background: rgba(255,255,255,.17); }
.modal-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.modal-heading h2 { margin: 0; font-family: "Rajdhani", sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.modal-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.icon-button { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--muted); }
.modal-form { display: grid; gap: 12px; margin-top: 18px; }
.mode-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.mode-option { min-height: 48px; padding: 6px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(31,39,30,.95), rgba(12,16,12,.95)); color: var(--muted); font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.16), 0 1px 0 rgba(255,255,255,.035) inset; }
.mode-option.is-active { background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); color: #101608; border-color: transparent; box-shadow: var(--shadow-neon); }
.live-now-note { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 15px; border: 1px solid rgba(183,255,36,.18); background: linear-gradient(135deg, rgba(183,255,36,.09), rgba(25,34,20,.68)); }
.live-now-note > span { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,36,.08), 0 0 16px rgba(183,255,36,.55); animation: livePulse 1.8s ease-in-out infinite; }
.live-now-note div { display: grid; gap: 2px; }
.live-now-note strong { color: var(--text); font-family: "Rajdhani", sans-serif; font-size: 15px; }
.live-now-note small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.checkbox-row { min-height: 44px; display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.discord-button { width: 100%; min-height: 48px; margin-top: 14px; border-radius: 14px; border: 1px solid rgba(124,139,255,.24); background: rgba(88,101,242,.13); color: #dce0ff; font-weight: 700; }
.discord-button:hover { border-color: rgba(151,162,255,.48); background: rgba(88,101,242,.22); }
.auth-tabs { margin: 18px 0 14px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; background: #090c09; border: 1px solid var(--border); }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-family: "Rajdhani", sans-serif; font-weight: 700; }
.auth-tabs button.is-active { color: #101608; background: linear-gradient(135deg, #d0ff61, var(--accent-strong)); box-shadow: 0 7px 20px rgba(113,194,0,.18); }
.auth-form { margin-top: 14px; }
.auth-error { margin: 0; padding: 10px 12px; border-radius: 12px; color: #ffaaaa; background: rgba(143,37,37,.14); border: 1px solid rgba(255,106,106,.2); font-size: 11px; line-height: 1.45; }
.account-details { margin-top: 18px; display: grid; gap: 9px; }
.account-details > span { padding: 12px 13px; display: grid; gap: 3px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--border); }
.account-details small { color: var(--muted); font-size: 10px; }
.account-details strong { overflow-wrap: anywhere; font-family: "Rajdhani", sans-serif; font-size: 16px; }
.personal-profile-card { display: grid; gap: 14px; }
.settings-section { padding: 15px; display: grid; gap: 12px; text-align: left; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(25,32,25,.86), rgba(9,13,9,.92)); }
.settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.settings-heading > div { display: grid; gap: 2px; }
.settings-heading strong { font-family: "Rajdhani", sans-serif; font-size: 17px; }
.settings-heading small, .settings-note, .account-provider-row small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.settings-note { margin: 0; }
.settings-status, .provider-linked { padding: 4px 8px; border-radius: 999px; color: var(--accent); background: rgba(183,255,36,.08); border: 1px solid rgba(183,255,36,.16); font-size: 9px; font-style: normal; }
.account-provider-row { min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.account-provider-row > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.account-provider-row .secondary-button { min-height: 38px; padding: 0 12px; }
.provider-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-family: "Rajdhani", sans-serif; font-weight: 800; }
.discord-provider { color: #fff; background: #5865f2; box-shadow: 0 8px 20px rgba(88,101,242,.2); }
.request-list { display: grid; gap: 9px; margin-top: 16px; }
.request-card { padding: 12px; border-radius: 17px; background: var(--surface-raised); border: 1px solid var(--border); }
.request-team { display: flex; align-items: center; gap: 10px; }
.request-team-copy { min-width: 0; flex: 1; }
.request-team-copy strong, .request-team-copy span { display: block; }
.request-team-copy span { color: var(--muted); font-size: 11px; }
.push-card { margin-top: 12px; padding: 12px; display: flex; align-items: center; gap: 10px; border-radius: 15px; background: rgba(183,255,36,.055); border: 1px solid rgba(183,255,36,.12); color: var(--muted); font-size: 11px; }
.toast-region { position: fixed; z-index: 120; top: 82px; left: 14px; right: 14px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { width: min(100%, 420px); padding: 12px 14px; border-radius: 15px; background: #1a2019; border: 1px solid rgba(183,255,36,.18); box-shadow: var(--shadow); color: var(--text); font-size: 12px; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } }

@media (min-width: 820px) {
  .app-shell { display: grid; grid-template-columns: 210px minmax(0,1fr); grid-template-rows: 82px 1fr; column-gap: 26px; padding: 0 24px; }
  .topbar { grid-column: 1 / -1; padding: 0; }
  .main-content { grid-column: 2; grid-row: 2; padding: 12px 0 60px; }
  .view { max-width: none; }
  .bottom-nav { position: sticky; grid-column: 1; grid-row: 2; top: 100px; left: auto; right: auto; bottom: auto; max-width: none; height: fit-content; margin: 12px 0 0; grid-template-columns: 1fr; border-radius: 22px; background: var(--surface); }
  .nav-button { min-height: 58px; padding: 0 14px; flex-direction: row; justify-content: flex-start; gap: 12px; font-size: 13px; }
  .nav-icon { width: 26px; text-align: center; }
  .nav-badge { top: 9px; right: 9px; left: auto; }
  .modal-layer { align-items: center; padding: 24px; }
  .modal-sheet { border-radius: 27px; padding-bottom: 22px; }
  .search-bubble:hover { transform: translateY(-3px) rotateX(.8deg) rotateY(-.3deg); border-color: rgba(186,255,34,.18); box-shadow: 0 31px 66px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.055) inset; }
}

@media (max-width: 560px) {
  .ambient-orb { width: 135vw; right: -78vw; top: 3vh; opacity: .4; }
  .ambient-particles { opacity: .26; }
  .ambient-grid { opacity: .12; }
  .page-copy { max-width: 270px; }
  .home-hero { min-height: auto; padding: 27px 20px 24px; grid-template-columns: 1fr; border-radius: 24px; }
  .home-hero h1 { font-size: clamp(44px,15vw,64px); }
  .home-live-card { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .home-live-kicker { grid-column: 1 / -1; }
  .home-live-divider { display: none; }
  .home-steps { grid-template-columns: 1fr; }
  .home-actions { display: grid; }
  .bottom-nav { padding: 6px; }
  .nav-button { min-height: 56px; gap: 3px; font-size: 10px; }
  .topbar { padding: 0 12px; }
  .brand { width: 128px; height: 58px; }
  .topbar-actions { gap: 7px; }
  .notification-button { width: 44px; padding: 0; justify-content: center; }
  .notification-label { display: none; }
  .account-button { max-width: 112px; padding: 0 12px; }
  #accountLabel { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filter-group { grid-template-columns: 1fr; }
  .filter-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-chip { padding: 0 7px; }
  .planned-card { padding: 14px; }
  .planned-card-heading { grid-template-columns: 46px minmax(0,1fr); }
  .planned-card-heading time { grid-column: 1 / -1; max-width: none; padding-top: 8px; border-top: 1px solid var(--border); text-align: left; }
  .planned-slot { align-items: flex-start; flex-wrap: wrap; }
  .planned-time { min-width: 70px; padding-top: 7px; }
  .planned-slot-owner, .planned-slot-pending, .planned-slot-request { flex: 1; justify-content: flex-end; }
  .planned-slot-pending { flex-wrap: wrap; }
  .chat-panel { height: max(500px, calc(100svh - 245px)); min-height: 0; padding: 14px; }
  .chat-panel > .messages { min-height: 0; }
  .club-card-overlay { width: min(300px, calc(100vw - 18px)); }
}

@media (max-width: 360px) {
  .brand { width: 108px; }
  .account-button { max-width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
