:root {
  color-scheme: dark;
  --bg: #08090d;
  --surface: #11131a;
  --surface-2: #171a23;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f3f1eb;
  --muted: #a8a8ad;
  --accent: #d76355;
  --accent-soft: rgba(215, 99, 85, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 78% 25%, rgba(215, 99, 85, 0.13), transparent 28rem), var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.user-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.user-wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.42), rgba(8, 9, 13, 0.72)),
    radial-gradient(circle at top right, rgba(215, 99, 85, 0.14), transparent 28rem);
}

.user-wallpaper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) blur(1px);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
}

.radio-fab {
  z-index: 1;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: rgba(8, 9, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand span,
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 800;
  box-shadow: inset 0 0 24px rgba(215, 99, 85, 0.08);
}

.brand-mark {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 114, 255, 0.24), rgba(12, 12, 18, 0.84)),
    rgba(9, 10, 16, 0.92);
  box-shadow:
    inset 0 0 28px rgba(244, 114, 255, 0.16),
    0 0 28px rgba(244, 114, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a,
.ghost-button,
.nav-section {
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.ghost-button:hover,
.nav-section:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.portal-nav {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  top: 78px;
  display: none;
  width: min(720px, calc(100vw - 36px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 26, 0.97);
  box-shadow: var(--shadow);
}

.portal-nav.open {
  display: grid;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 18px;
  margin: 6px auto;
  background: var(--text);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  padding: 68px 0 84px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 760;
}

h2 {
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  font-size: 20px;
}

p {
  color: var(--muted);
}

.hero-actions,
.footer-links,
.auth-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(180deg, #e26e61, #b84d42);
  box-shadow: 0 14px 36px rgba(215, 99, 85, 0.22);
}

.secondary-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.primary-button:hover,
.secondary-button:hover,
.portal-card:hover,
.member-card:hover,
.metric-card:hover,
.feature-grid article:hover,
.record-card:hover,
.life-card:hover {
  transform: translateY(-3px);
}

.hero-object {
  display: grid;
  place-items: center;
}

.device {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 0.72;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(145deg, #050609, #171923 58%, #07080d);
  box-shadow: var(--shadow), inset 0 0 0 8px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.device::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), transparent 10%), linear-gradient(180deg, rgba(215, 99, 85, 0.28), transparent 55%);
  filter: blur(0.2px);
}

.device-light {
  position: absolute;
  top: 72px;
  left: 58px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 54px #fff, 0 0 120px rgba(255, 255, 255, 0.45);
}

.crest {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 132px;
  font-weight: 800;
}

.device-lines {
  position: absolute;
  right: 28px;
  bottom: 34px;
  display: grid;
  gap: 9px;
}

.device-lines span {
  width: 86px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.metric-grid,
.portal-grid,
.member-grid,
.feature-grid,
.data-grid,
.record-grid,
.life-grid,
.split-forms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 84px;
}

.member-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.metric-card,
.portal-card,
.member-card,
.feature-grid article,
.data-grid article,
.auth-card,
.wide-form,
.radio-player,
.rule-list article,
.record-card,
.notice-panel,
.life-card,
.brand-stage {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.metric-card,
.portal-card,
.feature-grid article,
.data-grid article,
.rule-list article,
.record-card,
.notice-panel,
.life-card,
.brand-stage {
  padding: 24px;
}

.metric-card span,
.data-grid span,
.radio-player span,
.record-card span,
.notice-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong,
.data-grid strong,
.notice-panel strong {
  display: block;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.content-band,
.page-head,
.auth-shell,
.radio-shell {
  padding: 84px 0;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  border-top: 1px solid var(--line);
}

.page-head {
  max-width: 780px;
}

.page-head h1 {
  font-size: clamp(44px, 6vw, 76px);
}

.rule-list {
  display: grid;
  gap: 16px;
  margin-bottom: 84px;
}

.table-section {
  margin-bottom: 84px;
}

.table-section > h2 {
  margin-bottom: 18px;
}

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

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

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.record-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.member-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 206px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
}

.member-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
}

.member-card:hover::after {
  opacity: 1;
}

.member-card.reveal.is-visible {
  animation: memberFloat 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.member-card:nth-child(2) {
  animation-delay: 40ms;
}

.member-card:nth-child(3) {
  animation-delay: 80ms;
}

.member-card:nth-child(4) {
  animation-delay: 120ms;
}

.member-orbit {
  position: absolute;
  left: -10%;
  top: -34%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 99, 85, 0.12), transparent 70%);
  filter: blur(2px);
  z-index: -1;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.member-avatar {
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.member-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.member-card h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.member-card p {
  margin-bottom: 0;
}

.member-kicker {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-card .badge {
  align-self: start;
  margin-left: 0;
}

@keyframes memberFloat {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.status {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge.ok {
  border-color: rgba(91, 194, 137, 0.45);
  color: #9fe0bb;
}

.auth-shell,
.radio-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: start;
}

.auth-card,
.wide-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.auth-stack {
  flex-direction: column;
}

.auth-card.compact {
  padding: 18px;
}

.wide-form.narrow {
  max-width: 620px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(215, 99, 85, 0.65);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.flash {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.flash.success {
  border-color: rgba(91, 194, 137, 0.45);
}

.flash.error {
  border-color: rgba(255, 117, 117, 0.5);
}

.flash.info {
  border-color: rgba(215, 99, 85, 0.5);
}

.notice-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 84px;
}

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

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

.life-card form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.life-card strong {
  font-size: 36px;
}

.life-card.danger {
  border-color: rgba(255, 117, 117, 0.6);
  background: linear-gradient(180deg, rgba(255, 117, 117, 0.08), rgba(255, 255, 255, 0.02));
}

.brand-stage {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 84px;
}

.unicorn-mark {
  display: grid;
  place-items: center;
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font-size: 88px;
  font-weight: 800;
  box-shadow: inset 0 0 48px rgba(215, 99, 85, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.radio-player {
  padding: 24px;
}

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

.radio-shell > .radio-listener-panel {
  grid-column: 1 / -1;
}

.radio-listener-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.14));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.radio-listener-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.radio-listener-head strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.radio-listener-list {
  display: grid;
  gap: 12px;
}

.radio-listener-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 10, 18, 0.42);
}

.radio-listener-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

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

.radio-listener-copy {
  min-width: 0;
}

.radio-listener-copy strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 15px;
}

.radio-listener-copy span,
.radio-listener-meta {
  color: var(--muted);
  font-size: 13px;
}

.radio-listener-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.radio-listener-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  white-space: nowrap;
}

.radio-listener-pill.muted {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  width: min(1180px, calc(100% - 36px));
  margin: 40px auto 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  justify-content: flex-end;
}

.team-channel-grid,
.team-queue-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 84px;
}

.team-channel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.team-channel-card,
.team-task-column,
.team-task-card,
.team-locked-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.team-channel-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  min-height: 640px;
}

.team-channel-card.locked {
  opacity: 0.74;
}

.team-channel-head,
.team-task-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.team-chat-feed {
  display: grid;
  gap: 12px;
  min-height: 260px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.team-chat-message {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.team-chat-message.own {
  border-color: rgba(215, 99, 85, 0.45);
  background: rgba(215, 99, 85, 0.12);
}

.team-chat-message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.team-chat-message header strong {
  font-size: 14px;
}

.team-chat-message header span {
  color: var(--muted);
  font-size: 12px;
}

.team-chat-message p {
  margin: 0;
  color: var(--text);
}

.team-chat-form {
  margin-top: auto;
}

.team-locked-note {
  margin-top: auto;
  padding: 16px;
  color: var(--muted);
}

.team-task-shell {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 84px;
  align-items: start;
}

.team-task-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.team-task-column {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  min-width: 0;
}

.team-task-column h2,
.team-task-card h3 {
  margin-bottom: 0;
}

.team-task-column h2 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.team-task-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.team-task-card.empty {
  min-height: 160px;
  align-content: center;
}

.team-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.team-inline-form {
  display: grid;
  gap: 12px;
}

.team-queue-list {
  display: grid;
  gap: 12px;
}

.team-queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-queue-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.team-queue-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 16px;
}

.team-queue-item p {
  margin-bottom: 0;
}

:root {
  --accent-2: #8b5cf6;
  --ambient-start: rgba(215, 99, 85, 0.18);
  --ambient-end: rgba(139, 92, 246, 0.12);
  --hover-glow: #a855f7;
}

body {
  background:
    radial-gradient(circle at 78% 25%, var(--ambient-start), transparent 28rem),
    radial-gradient(circle at 12% 12%, var(--ambient-end), transparent 26rem),
    var(--bg);
}

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

h1,
h2,
h3,
strong {
  overflow-wrap: normal;
  word-break: normal;
}

p,
a,
span,
small,
label,
li {
  overflow-wrap: anywhere;
}

a,
button,
.metric-card,
.portal-card,
.member-card,
.record-card,
.notice-panel,
.life-card,
.team-task-card,
.team-chat-message,
.y-post-card,
.permission-option {
  min-width: 0;
}

a:hover,
button:hover,
h1:hover,
h2:hover,
h3:hover,
p:hover,
span:hover,
strong:hover,
.eyebrow:hover {
  text-shadow: 0 0 18px var(--hover-glow);
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.secondary-button:hover,
.ghost-button:hover,
.main-nav a:hover,
.main-nav a.active,
.nav-section:hover {
  color: var(--text);
  border-color: rgba(168, 85, 247, 0.4);
}

textarea {
  resize: vertical;
}

.avatar {
  overflow: hidden;
}

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

.account-top-grid,
.studio-grid,
.studio-page-grid,
.permission-grid,
.y-layout,
.admin-user-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 84px;
}

.account-top-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-avatar-card {
  align-content: start;
}

.account-avatar-preview {
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(215, 99, 85, 0.14), rgba(139, 92, 246, 0.12));
  color: var(--text);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  overflow: hidden;
}

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

.account-wallpaper-card {
  align-content: start;
}

.account-wallpaper-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  color: var(--muted);
}

.account-wallpaper-preview img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.account-wallpaper-preview.empty {
  padding: 18px;
  text-align: center;
}

.account-form {
  margin-bottom: 48px;
}

.page-studio-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  margin: 26px 0 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(215, 99, 85, 0.12), rgba(139, 92, 246, 0.12));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-studio-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.page-studio-copy h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 64px);
}

.page-studio-copy p:last-child {
  margin-bottom: 0;
}

.page-studio-image {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.page-studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.studio-page-card {
  align-content: start;
}

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

.permission-card {
  align-content: start;
}

.permission-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.permission-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.permission-option span {
  display: grid;
  gap: 6px;
}

.role-editor-grid,
.role-color-grid {
  display: grid;
  gap: 16px;
}

.role-editor-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 24px;
}

.role-color-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-editor-card {
  align-content: start;
}

.role-editor-form {
  display: grid;
  gap: 16px;
}

.role-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.role-permission-grid {
  margin-bottom: 0;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.danger-button {
  border-color: rgba(255, 102, 102, 0.45);
  color: #ffd2d2;
  background: rgba(120, 16, 16, 0.16);
}

.danger-button:hover {
  border-color: rgba(255, 130, 130, 0.65);
  background: rgba(145, 18, 18, 0.24);
}

.y-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: start;
}

.y-main,
.y-sidebar,
.y-feed,
.leaderboard-list {
  display: grid;
  gap: 16px;
}

.y-post-card,
.y-compose-card {
  overflow: hidden;
}

.y-post-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    linear-gradient(145deg, rgba(215, 99, 85, 0.04), rgba(139, 92, 246, 0.05));
  box-shadow: var(--shadow);
}

.y-post-head,
.y-post-actions,
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.y-post-head,
.y-post-actions {
  justify-content: space-between;
}

.y-post-meta,
.leaderboard-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.y-post-meta span,
.leaderboard-meta span {
  color: var(--muted);
  font-size: 13px;
}

.y-post-image {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.y-post-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.y-post-body {
  margin-bottom: 0;
  color: var(--text);
  font-size: 16px;
}

.y-daily-lock {
  margin-bottom: 0;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.leaderboard-rank,
.points-badge {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.leaderboard-rank {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--text);
}

.points-badge {
  min-width: 78px;
  min-height: 34px;
  padding: 0 12px;
  background: linear-gradient(135deg, rgba(215, 99, 85, 0.18), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(168, 85, 247, 0.24);
  color: var(--text);
}

.leaderboard-panel {
  overflow: hidden;
}

.leaderboard-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
}

.leaderboard-name,
.y-post-meta strong {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.admin-user-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.admin-user-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.admin-user-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-user-head strong {
  font-size: 26px;
  line-height: 1.05;
}

.admin-user-meta {
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 86px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 19, 26, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .content-band,
  .auth-shell,
  .radio-shell,
  .site-footer,
  .team-task-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-object {
    order: -1;
  }

  .metric-grid,
  .portal-grid,
  .member-grid,
  .feature-grid,
  .data-grid,
  .record-grid,
  .life-grid,
  .split-forms,
  .team-channel-grid,
  .team-queue-grid,
  .team-task-board,
  .account-top-grid,
  .studio-grid,
  .studio-page-grid,
   .permission-grid,
   .role-color-grid,
   .y-layout,
   .admin-user-grid {
     grid-template-columns: 1fr;
   }

  .portal-nav {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 10px;
  }

  .portal-nav.open {
    display: grid;
  }

  .record-card,
  .life-card,
  .life-card form,
  .brand-stage,
  .page-studio-banner {
    grid-template-columns: 1fr;
  }

  .member-card,
  .leaderboard-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.radio-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 999px;
  background: rgba(10, 11, 18, 0.86);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.radio-fab span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(215, 99, 85, 0.2), rgba(139, 92, 246, 0.22));
}

.fingerprint-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fingerprint-mini {
  position: relative;
  width: 14px;
  height: 18px;
  border: 1px solid rgba(168, 85, 247, 0.55);
  border-radius: 999px 999px 8px 8px;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.28);
}

.fingerprint-mini::before,
.fingerprint-mini::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: inherit;
}

.fingerprint-mini::after {
  inset: 6px 4px;
  border-color: rgba(255, 190, 230, 0.38);
}

.hero.hoy-reference-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.76fr);
  grid-template-areas: "copy object";
  align-items: center;
}

.hero-copy {
  grid-area: copy;
  justify-self: start;
  max-width: 720px;
}

.hero-object {
  grid-area: object;
  justify-self: end;
}

.hero-rail {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-rail i {
  display: block;
  width: 1px;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.hero-support-card {
  display: grid;
  gap: 10px;
  width: min(430px, 100%);
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(215, 99, 85, 0.12), rgba(139, 92, 246, 0.14));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.hero-support-card span,
.member-module span,
.team-tab-link,
.role-description {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-stack {
  display: grid;
  gap: 18px;
  margin-bottom: 84px;
}

.member-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(215, 99, 85, 0.04), rgba(139, 92, 246, 0.06));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.member-accordion summary {
  list-style: none;
  cursor: pointer;
}

.member-accordion summary::-webkit-details-marker {
  display: none;
}

.member-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
}

.member-summary-main {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.member-summary-avatar {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.member-summary-copy {
  display: grid;
  gap: 8px;
}

.member-summary-copy h2 {
  margin-bottom: 0;
}

.member-summary-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.member-body {
  padding: 0 26px 26px;
}

.member-swiper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.member-module {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(8, 10, 18, 0.76);
  scroll-snap-align: start;
}

.member-module strong {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.98;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--role-color-border, rgba(255, 255, 255, 0.12)) !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--role-color-text, var(--text)) !important;
  background-image: linear-gradient(135deg, var(--role-color-start, rgba(255, 255, 255, 0.08)), var(--role-color-end, rgba(255, 255, 255, 0.03))) !important;
  background-size: 200% 200%;
  animation: roleGlow 9s linear infinite;
}

.role-description {
  color: var(--muted);
  font-size: 12px;
}

.role-besitzerin {
  color: #ffe6f8;
  background-image: linear-gradient(135deg, rgba(232, 163, 215, 0.26), rgba(255, 176, 204, 0.2));
  border-color: rgba(255, 182, 212, 0.44);
}

.role-projektleitung {
  color: #ffd3ef;
  background-image: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(239, 68, 68, 0.22));
  border-color: rgba(220, 86, 157, 0.42);
}

.role-teamleitung {
  color: #ffe0ea;
  background-image: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.22));
  border-color: rgba(137, 120, 255, 0.38);
}

.role-teamsupporter {
  color: #dff7ff;
  background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(125, 211, 252, 0.22));
  border-color: rgba(125, 211, 252, 0.38);
}

.role-member-plus {
  color: #fff4cf;
  background-image: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(250, 204, 21, 0.16));
  border-color: rgba(250, 204, 21, 0.38);
}

.role-member {
  color: #eef2f7;
  background-image: linear-gradient(135deg, rgba(203, 213, 225, 0.18), rgba(148, 163, 184, 0.18));
  border-color: rgba(203, 213, 225, 0.3);
}

.role-guest {
  color: #f5dfcd;
  background-image: linear-gradient(135deg, rgba(180, 83, 9, 0.24), rgba(180, 83, 9, 0.1));
  border-color: rgba(217, 119, 6, 0.36);
}

@keyframes roleGlow {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(168, 85, 247, 0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.16);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(168, 85, 247, 0);
  }
}

.team-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.team-tab-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.team-tab-link.active {
  color: var(--text);
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(135deg, rgba(215, 99, 85, 0.16), rgba(139, 92, 246, 0.18));
}

.team-overview-grid,
.admin-account-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 84px;
}

.team-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-single-grid {
  grid-template-columns: 1fr;
}

.admin-login-shell,
.admin-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  margin-bottom: 32px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 28rem),
    radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.14), transparent 22rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.admin-login-form,
.admin-hero-side {
  align-content: center;
}

.fingerprint-mark {
  width: 120px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.34);
  background:
    radial-gradient(circle at center, rgba(125, 211, 252, 0.18), transparent 58%),
    repeating-radial-gradient(circle at center, transparent 0 8px, rgba(125, 211, 252, 0.26) 8px 9px);
  box-shadow: inset 0 0 40px rgba(125, 211, 252, 0.12), 0 0 48px rgba(59, 130, 246, 0.12);
}

.admin-section {
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.admin-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.admin-section summary::-webkit-details-marker {
  display: none;
}

.admin-section-body {
  padding: 0 24px 24px;
}

.admin-account-shell,
.admin-account-toolbar {
  display: grid;
  gap: 18px;
}

.admin-account-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-account-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(7, 9, 16, 0.8);
}

.admin-account-card-head,
.admin-account-card-meta,
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-dialog {
  width: min(780px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(12, 14, 24, 0.96);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48);
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.admin-dialog-form {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-admin .page-head,
.page-admin-login .page-head {
  max-width: none;
}

.admin-role-stack {
  display: grid;
  gap: 12px;
}

.page-radio-popup .site-header,
.page-radio-popup .site-footer,
.page-radio-popup .radio-fab {
  display: none;
}

.page-radio-popup main {
  width: min(540px, calc(100% - 24px));
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.radio-popup-shell {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(215, 99, 85, 0.12), rgba(139, 92, 246, 0.16));
}

.role-superuser {
  color: #fff1ff;
  background-image: linear-gradient(135deg, rgba(244, 114, 255, 0.28), rgba(192, 132, 252, 0.2));
  border-color: rgba(233, 173, 255, 0.42);
}

.role-owner {
  color: #fff4da;
  background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(251, 113, 133, 0.18));
  border-color: rgba(251, 191, 110, 0.4);
}

.role-admin {
  color: #ffe1f4;
  background-image: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(239, 68, 68, 0.22));
  border-color: rgba(220, 86, 157, 0.42);
}

.role-leitung {
  color: #ffe7ee;
  background-image: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.22));
  border-color: rgba(137, 120, 255, 0.38);
}

.role-manager {
  color: #e2f7ff;
  background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(125, 211, 252, 0.22));
  border-color: rgba(125, 211, 252, 0.38);
}

.role-vertrauter {
  color: #fff8d6;
  background-image: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(250, 204, 21, 0.16));
  border-color: rgba(250, 204, 21, 0.38);
}

.role-gefaehrte {
  color: #f0f5fa;
  background-image: linear-gradient(135deg, rgba(203, 213, 225, 0.18), rgba(148, 163, 184, 0.18));
  border-color: rgba(203, 213, 225, 0.3);
}

.role-test-zeit {
  color: #fbe5d0;
  background-image: linear-gradient(135deg, rgba(180, 83, 9, 0.24), rgba(217, 119, 6, 0.12));
  border-color: rgba(217, 119, 6, 0.36);
}

.role-buendnis {
  color: #d9fbff;
  background-image: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(14, 165, 233, 0.18));
  border-color: rgba(45, 212, 191, 0.34);
}

.entry-center-shell {
  min-height: calc(100svh - 132px);
  display: grid;
  place-items: center;
  padding: 36px 0 84px;
}

.entry-center-panel {
  width: min(1040px, 100%);
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(244, 114, 255, 0.16), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(215, 99, 85, 0.12), transparent 22rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.entry-copy {
  max-width: 680px;
}

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

.entry-form-grid .auth-card {
  min-height: 100%;
}

.bank-admin-grid {
  margin-top: 32px;
}

.adaptive-banner .page-studio-image,
.banner-preview-frame {
  aspect-ratio: var(--banner-ratio, 16 / 9);
}

.adaptive-banner .page-studio-image img,
.banner-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: var(--banner-fit, cover);
  object-position: var(--banner-focus-x, 50%) var(--banner-focus-y, 50%);
  transform: scale(var(--banner-zoom, 1));
  transform-origin: center;
}

.banner-editor-card {
  position: relative;
}

.banner-preview-card {
  display: grid;
  gap: 10px;
}

.banner-preview-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.26);
}

.banner-preview-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--muted);
}

.banner-editor-dialog {
  width: min(980px, calc(100vw - 32px));
}

.banner-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.banner-editor-controls {
  display: grid;
  gap: 16px;
}

.banner-editor-controls input[type="range"] {
  padding: 0;
}

@media (max-width: 900px) {
  .hero.hoy-reference-hero,
  .admin-login-shell,
  .admin-hero-panel,
  .team-overview-grid,
  .member-summary,
  .entry-form-grid,
  .banner-editor-shell {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    position: static;
    transform: none;
    justify-items: start;
    margin-top: 18px;
  }

  .hero-object {
    justify-self: start;
  }

  .radio-shell > .radio-listener-panel {
    grid-column: auto;
  }

  .member-summary-main {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .member-summary-side {
    justify-items: start;
  }

  .radio-fab {
    right: 14px;
    bottom: 14px;
  }
}
