:root {
  color-scheme: light;
  --green-950: #052719;
  --green-900: #073a25;
  --green-800: #085633;
  --green-700: #0b733e;
  --green-600: #11894d;
  --green-500: #20a968;
  --green-200: #c9f1da;
  --green-100: #eaf8ef;
  --cream: #fbfbf6;
  --mist: #eef3ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --text: #102018;
  --muted: #65746b;
  --line: rgba(13, 68, 41, 0.12);
  --shadow-soft: 0 16px 40px rgba(7, 58, 37, 0.12);
  --shadow-strong: 0 28px 80px rgba(5, 39, 25, 0.22);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --app-width: 450px;
  --bottom-nav-height: 86px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--mist); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(32, 169, 104, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(201, 241, 218, 0.75), transparent 24rem),
    linear-gradient(180deg, #f7faf6, #e8f0eb 64%, #dde8e0);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.18), transparent 12rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  transition: opacity .5s ease, visibility .5s ease;
}
.splash img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 34px;
  padding: 16px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
  animation: splashPop .78s cubic-bezier(.18,.9,.2,1);
}
.splash.is-hidden { opacity: 0; visibility: hidden; }
@keyframes splashPop { from { transform: translateY(12px) scale(.88); opacity: .2; } to { transform: none; opacity: 1; } }

.app-frame {
  position: relative;
  width: min(100%, var(--app-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), transparent 15rem),
    #f3f7f4;
  box-shadow: 0 0 0 1px rgba(12, 60, 37, .04), var(--shadow-strong);
}

.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, var(--app-width));
  min-height: 142px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 18px 48px;
  color: #f8fff9;
  background:
    radial-gradient(circle at 82% 20%, rgba(201, 241, 218, .24), transparent 9rem),
    linear-gradient(145deg, rgba(5, 39, 25, .98), rgba(11, 115, 62, .94));
  transform: translateX(-50%);
}
.app-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 70px;
  background: linear-gradient(180deg, rgba(11,115,62,.28), rgba(243,247,244,0));
  pointer-events: none;
}
.app-header__top,
.header-actions,
.brand-mark,
.icon-button,
.avatar-button {
  display: flex;
  align-items: center;
}
.app-header__top {
  position: relative;
  z-index: 2;
  justify-content: space-between;
  gap: 16px;
}
.brand-mark {
  position: relative;
  z-index: 3;
  min-width: 0;
  width: 84px;
  height: 84px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.greeting {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  margin-top: 18px;
}
.greeting span {
  color: rgba(248,255,249,.82);
  font-size: .88rem;
  font-weight: 650;
}
.greeting strong {
  max-width: 260px;
  font-size: 1.34rem;
  line-height: 1.06;
  letter-spacing: 0;
}
.header-actions { gap: 10px; }
.header-actions {
  position: relative;
}
.header-actions--floating {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  left: 50%;
  z-index: 50;
  width: min(100%, var(--app-width));
  justify-content: flex-end;
  padding: 0 18px;
  pointer-events: none;
  transform: translateX(-50%);
}
.header-actions--floating > * { pointer-events: auto; }
.notifications-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 74px;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 54px rgba(7,58,37,.18);
  backdrop-filter: blur(18px);
}
.notifications-panel[hidden] { display: none; }
.notifications-panel > strong {
  padding: 0 2px;
  color: var(--green-700);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.notifications-panel a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  color: var(--ink);
  background: rgba(13,133,73,.07);
  text-decoration: none;
}
.notifications-panel .icon {
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 14px;
  color: var(--green-700);
  background: #fff;
}
.notifications-panel span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.notifications-panel b {
  font-size: .9rem;
}
.notifications-panel small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.avatar-menu {
  display: grid;
  justify-items: center;
  gap: 4px;
}
.icon-button,
.avatar-button {
  position: relative;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #f8fff9;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
button.icon-button { padding: 0; cursor: pointer; }
.avatar-button {
  color: var(--green-800);
  background: rgba(255,255,255,.95);
}
.logout-link {
  color: rgba(248,255,249,.78);
  font-size: .68rem;
  font-style: italic;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.28);
}
.logout-link:hover { color: #fff; text-decoration: underline; }
.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8ee6ad;
  box-shadow: 0 0 0 0 rgba(142,230,173,.58);
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot { 70%, 100% { box-shadow: 0 0 0 9px rgba(142,230,173,0); } }

.app-content {
  position: relative;
  z-index: 45;
  display: grid;
  gap: 20px;
  padding: 112px 16px calc(var(--bottom-nav-height) + 26px + var(--safe-bottom));
}

.home-hero {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  min-height: 620px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 34px;
  color: #f9fff9;
  background:
    radial-gradient(circle at 85% 16%, rgba(142,230,173,.26), transparent 11rem),
    radial-gradient(circle at 10% 86%, rgba(255,255,255,.12), transparent 12rem),
    linear-gradient(150deg, var(--green-950), var(--green-800) 54%, #0f8d52);
  box-shadow: var(--shadow-strong);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 18% -28% auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 16px;
}
.eyebrow,
.section-title span,
.highlight-card span,
.news-card span {
  display: block;
  color: var(--green-600);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-hero .eyebrow { color: rgba(234,248,239,.78); }
.home-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.55rem, 13vw, 4.45rem);
  line-height: .92;
  letter-spacing: 0;
}
.home-hero p {
  max-width: 34rem;
  margin: 0;
  color: rgba(248,255,249,.76);
  font-size: 1rem;
  line-height: 1.56;
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
.primary-action,
.secondary-action,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 20px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-action--split {
  display: grid;
  grid-template-columns: auto 1fr auto;
  justify-content: stretch;
  text-align: left;
}
.primary-action--split strong {
  font-size: .92rem;
  font-weight: 850;
}
.primary-action,
.primary-button {
  color: var(--green-950);
  background: linear-gradient(135deg, #ffffff, #dff8e8);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}
.secondary-action {
  color: #f9fff9;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(16px);
}
.hero-visual {
  position: relative;
  z-index: 2;
  align-self: end;
}
.hero-phone {
  display: grid;
  gap: 14px;
  max-width: 294px;
  margin-left: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 32px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 64px rgba(0,0,0,.24);
}
.hero-phone__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: rgba(248,255,249,.82);
  font-size: .72rem;
  font-weight: 800;
}
.hero-niver-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  color: #f9fff9;
  background: rgba(255,255,255,.14);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}
.hero-niver-card .icon {
  width: 28px;
  height: 28px;
  padding: 7px;
  border-radius: 11px;
  color: var(--green-800);
  background: rgba(255,255,255,.92);
}
.balance-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 24px;
  color: var(--green-950);
  background: linear-gradient(145deg, #fff, #dff8e8);
}
.balance-card small,
.balance-card span {
  color: #4e6b5b;
  font-weight: 780;
}
.balance-card strong {
  font-size: 2.4rem;
  line-height: .95;
}
.mini-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-stack span,
.mini-stack a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border-radius: 17px;
  color: #f9fff9;
  background: rgba(255,255,255,.13);
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
}
.mini-stack .icon { width: 16px; height: 16px; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.quick-action {
  display: grid;
  gap: 9px;
  justify-items: center;
  align-content: center;
  min-height: 106px;
  padding: 12px 6px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-size: .73rem;
  font-weight: 850;
}
.quick-action span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-800), var(--green-500));
  box-shadow: 0 16px 28px rgba(11,115,62,.22);
}

.section-block,
.highlight-section,
.institutional-section,
.news-section,
.members-section {
  display: grid;
  gap: 14px;
}
.section-title {
  display: grid;
  gap: 6px;
  padding: 0 4px;
}
.section-title strong {
  max-width: 24rem;
  font-size: 1.36rem;
  line-height: 1.08;
  letter-spacing: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.service-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 158px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card--featured {
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.22), transparent 7rem),
    linear-gradient(145deg, var(--green-900), var(--green-600));
}
.service-card .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 17px;
  color: var(--green-700);
  background: var(--green-100);
}
.service-card--featured .icon {
  color: var(--green-950);
  background: rgba(255,255,255,.92);
}
.service-card span {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.08;
}
.service-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.34;
}
.service-card--featured small { color: rgba(248,255,249,.78); }

.finance-shell {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: calc(100vh - 210px - var(--bottom-nav-height));
}
.finance-shell__frame {
  display: block;
  width: 100%;
  min-height: 720px;
  height: calc(100vh - 210px);
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.next-lineup {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding-top: 24px;
}
.empty-state-card {
  display: grid;
  gap: 12px;
  place-items: center;
  text-align: center;
  width: 100%;
  padding: 34px 22px;
  min-height: 240px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(228,244,235,.88));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 46px rgba(13,68,41,.12);
}
.empty-state-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: #0d8549;
}
.empty-state-card strong {
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: 0;
}
.empty-state-card p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.lineup-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lineup-team {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 46px rgba(13,68,41,.12);
}
.lineup-team span {
  color: var(--green);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.lineup-team strong {
  display: block;
  margin-top: 4px;
  font-size: 1.75rem;
  color: var(--ink);
}
.lineup-team ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lineup-team li {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--ink);
  font-weight: 750;
  background: rgba(13,133,73,.08);
}

.highlight-section { grid-template-columns: 1fr; }
.highlight-card {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  min-height: 176px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}
.highlight-card > * {
  position: relative;
  z-index: 1;
}
.highlight-card--dark {
  color: #fff;
  background:
    radial-gradient(circle at 92% 16%, rgba(142,230,173,.24), transparent 8rem),
    linear-gradient(145deg, #102018, var(--green-800));
}
.highlight-card--craque::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,39,25,.08) 0%, rgba(5,39,25,.12) 42%, rgba(5,39,25,.52) 100%),
    var(--highlight-bg, linear-gradient(145deg, #102018, var(--green-800)));
  background-size: cover;
  background-position: center 26%;
  transform: scale(1.01);
}
.highlight-card--craque {
  align-content: end;
  padding-top: 120px;
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}
.highlight-card--craque::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5,39,25,0), rgba(5,39,25,.78));
  pointer-events: none;
}
.highlight-card--dark span { color: rgba(234,248,239,.8); }
.highlight-card strong {
  font-size: 1.26rem;
  line-height: 1.12;
}
.highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}
.highlight-card--dark p { color: rgba(248,255,249,.76); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.values-grid article,
.values-grid a,
.news-card,
.member-avatar,
.premium-footer,
.content-card,
.profile-card,
.timeline-item {
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.values-grid article,
.values-grid a {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 18px;
  border-radius: 26px;
}
.values-grid .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 16px;
  color: var(--green-700);
  background: var(--green-100);
}
.values-grid strong { font-size: .98rem; }
.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.36;
}
.admin-card--featured {
  grid-column: 1 / -1;
  min-height: 176px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(142,230,173,.26), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700)) !important;
}
.admin-card--featured .icon {
  color: var(--green-950);
  background: rgba(255,255,255,.92);
}
.admin-card--featured p { color: rgba(248,255,249,.78); }

.news-cards {
  display: grid;
  gap: 12px;
}
.news-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  min-height: 132px;
  padding: 20px;
  border-radius: 28px;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(32,169,104,.2), transparent 7rem),
    linear-gradient(135deg, rgba(234,248,239,.86), rgba(255,255,255,.1));
  pointer-events: none;
}
.news-card > * { position: relative; z-index: 1; }
.news-card--main {
  min-height: 148px;
  padding: 18px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.22), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
}
.news-card--main::before { display: none; }
.news-card--main span { color: rgba(234,248,239,.82); }
.news-card strong {
  max-width: 24rem;
  font-size: 1.08rem;
  line-height: 1.16;
}
.news-card--main strong { font-size: 1.28rem; }
.news-card p {
  margin: 0;
  max-width: 27rem;
  color: rgba(248,255,249,.78);
  font-size: .92rem;
  line-height: 1.42;
}

.birthdays-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding-top: 24px;
}
.birthdays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.birthday-month {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 18px 42px rgba(13,68,41,.1);
}
.birthday-month--featured {
  max-width: 680px;
  width: 100%;
}
.birthday-month h2 {
  margin: 0;
  color: var(--green-700);
  font-size: 1.08rem;
}
.birthday-list {
  display: grid;
  gap: 10px;
}
.birthday-player {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.birthday-player img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(7,58,37,.12);
}
.birthday-player div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.birthday-player strong {
  overflow: hidden;
  color: var(--ink);
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.birthday-player span,
.birthday-empty {
  color: var(--muted);
  font-size: .84rem;
}
.birthday-empty { margin: 0; }

.match-report {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding-top: 48px;
}
.match-report-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 22px 54px rgba(13,68,41,.12);
}
.match-score {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.22), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
}
.match-score span,
.match-article span {
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.match-score strong {
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}
.match-article {
  display: grid;
  gap: 12px;
}
.match-article span { color: var(--green-700); }
.match-article h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}
.match-article p,
.match-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}
.match-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.match-columns section,
.match-scorers {
  padding: 18px;
  border-radius: 22px;
  background: rgba(13,133,73,.07);
}
.match-columns h2,
.match-scorers h2 {
  margin: 0 0 8px;
  color: var(--green-700);
  font-size: 1rem;
}
.match-scorers div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.match-scorers span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--green-700);
  background: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.next-birthday-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding-top: 48px;
}
.next-birthday-card {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.2), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: 0 22px 54px rgba(13,68,41,.16);
}
.next-birthday-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
}
.next-birthday-card div {
  display: grid;
  gap: 10px;
}
.next-birthday-card span {
  color: rgba(234,248,239,.82);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.next-birthday-card h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: .95;
  letter-spacing: 0;
}
.next-birthday-card p {
  margin: 0;
  max-width: 36rem;
  color: rgba(248,255,249,.82);
  font-size: 1.04rem;
  line-height: 1.5;
}

.member-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.member-avatar {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 158px;
  padding: 18px 12px;
  border-radius: 28px;
  text-align: center;
}
.member-avatar img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 10px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(7,58,37,.1);
}
.member-avatar strong { font-size: .92rem; }
.member-avatar span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 780;
}

.gallery-hero {
  display: grid;
  gap: 18px;
  min-height: 244px;
  align-content: end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(142,230,173,.28), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow-strong);
}
.gallery-hero .eyebrow { color: rgba(234,248,239,.78); }
.gallery-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.7rem, 13vw, 4.6rem);
  line-height: .92;
  letter-spacing: 0;
}
.gallery-hero p {
  max-width: 34rem;
  margin: 12px 0 0;
  color: rgba(248,255,249,.76);
  line-height: 1.5;
}
.gallery-count {
  justify-self: start;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--green-950);
  background: rgba(255,255,255,.92);
  font-size: .8rem;
  font-weight: 900;
}
.players-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.player-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.player-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  background: var(--green-100);
}
.player-card div {
  display: grid;
  gap: 5px;
  padding: 0 4px 4px;
  justify-items: center;
  text-align: center;
}
.player-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: .96rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-card span {
  color: var(--green-700);
  font-size: .8rem;
  font-weight: 850;
}
.gallery-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.gallery-empty .icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 20px;
  color: var(--green-700);
  background: var(--green-100);
}
.gallery-empty p {
  margin: 0;
  color: var(--muted);
}

.scout-hero {
  display: grid;
  gap: 18px;
  min-height: 244px;
  align-content: end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(142,230,173,.28), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow-strong);
}
.scout-hero .eyebrow { color: rgba(234,248,239,.78); }
.scout-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 14vw, 5rem);
  line-height: .92;
  letter-spacing: 0;
}
.scout-hero p {
  max-width: 34rem;
  margin: 12px 0 0;
  color: rgba(248,255,249,.76);
  line-height: 1.45;
}
.scout-filter {
  display: grid;
  gap: 7px;
  justify-self: start;
  min-width: 112px;
}
.scout-filter label {
  color: rgba(248,255,249,.72);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scout-filter select {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 17px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  outline: none;
}
.scout-card-shell {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 0%, rgba(32,169,104,.16), transparent 12rem),
    rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.scout-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.scout-table th,
.scout-table td {
  height: 66px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(13,68,41,.09);
  color: var(--muted);
  font-size: clamp(1rem, 4.2vw, 1.45rem);
  text-align: center;
  vertical-align: middle;
}
.scout-table th {
  height: 48px;
  color: var(--green-700);
  font-size: .92rem;
  font-weight: 900;
}
.scout-table th a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 14px;
}
.scout-table th a:hover,
.scout-table .col-p a {
  color: #fff;
  background: var(--green-700);
}
.scout-table tbody tr:last-child td { border-bottom: 0; }
.scout-table .pos {
  width: 42px;
  color: var(--green-800);
  font-weight: 900;
}
.scout-table .jogador {
  width: 54%;
  text-align: left;
}
.scout-table .col-stat { width: 12%; }
.jogador-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.foto-jogador {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(11,115,62,.12);
  border-radius: 50%;
  background: var(--green-100);
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(7,58,37,.12);
}
.scout-table .nome {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(.98rem, 4.5vw, 1.3rem);
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scout-table .valor-principal {
  color: var(--green-800);
  font-weight: 950;
}
.scout-table .zona-baixa .pos { color: #d1293a; }
.scout-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
  text-align: center;
}
.scout-empty .icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 20px;
  color: var(--green-700);
  background: var(--green-100);
}

.premium-footer {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 30px;
  color: #effff4;
  background:
    radial-gradient(circle at 86% 10%, rgba(142,230,173,.2), transparent 10rem),
    linear-gradient(145deg, var(--green-950), var(--green-800));
}
.premium-footer img {
  width: 96px;
  height: 60px;
  object-fit: contain;
  padding: 8px 10px;
  border-radius: 18px;
  background: #fff;
}
.premium-footer strong { font-size: 1.1rem; }
.premium-footer p {
  margin: 6px 0 0;
  color: rgba(248,255,249,.72);
  line-height: 1.46;
}
.premium-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.premium-footer a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .78rem;
  font-weight: 820;
}

.site-credit {
  position: relative;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px calc(var(--bottom-nav-height) + 22px + var(--safe-bottom));
  color: rgba(31,58,45,.58);
  font-size: .76rem;
  font-weight: 650;
}
.site-credit a {
  color: var(--green-800);
  font-weight: 850;
  text-decoration: none;
}
.site-credit a:hover {
  color: var(--green-950);
}

.bottom-nav {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, var(--app-width));
  min-height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding: 10px 7px calc(10px + var(--safe-bottom));
  border-top: 1px solid rgba(13,68,41,.1);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(22px);
  box-shadow: 0 -18px 42px rgba(7,58,37,.14);
  transform: translateX(-50%);
}
.bottom-nav a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  border-radius: 19px;
  color: #75857b;
  font-size: .65rem;
  font-weight: 820;
}
.bottom-nav .icon { width: 20px; height: 20px; }
.bottom-nav a.is-active {
  color: var(--green-800);
  background: var(--green-100);
}

.page-title {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(142,230,173,.22), transparent 9rem),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow-strong);
}
.page-title h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}
.page-title p {
  margin: 0;
  color: rgba(248,255,249,.74);
  line-height: 1.5;
}
.member-grid,
.card-list {
  display: grid;
  gap: 12px;
}
.content-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 28px;
}
.content-card .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 16px;
  color: var(--green-700);
  background: var(--green-100);
}
.content-card h3 { margin: 0; }
.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.chip {
  justify-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: .76rem;
  font-weight: 850;
}
.timeline {
  display: grid;
  gap: 12px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
}
.timeline-item > div {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--green-700);
}
.timeline h3 { margin: 0 0 6px; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.5; }
.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 30px;
}
.profile-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 9px;
  border-radius: 22px;
  background: #fff;
}
.profile-card h2 { margin: 0; }
.profile-card p { margin: 4px 0 0; color: var(--muted); }

.login-page .app-frame {
  min-height: 100vh;
}
.login-page .app-content {
  min-height: 100vh;
  padding: 22px 16px;
  place-items: center;
}
.login-page {
  background:
    linear-gradient(115deg, #f8fbf4 0%, #fff7ca 46%, #edf5ef 100%);
}
.login-page .app-header,
.login-page .header-actions,
.login-page .bottom-nav,
.login-page .site-credit {
  display: none;
}
.login-page .app-frame {
  background: transparent;
  box-shadow: none;
}
.login-screen {
  position: relative;
  width: 100%;
  display: grid;
  gap: 18px;
}
.login-hero {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 356px;
  align-content: end;
  padding: 24px;
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 44%),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.login-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  pointer-events: none;
}
.login-hero > * {
  position: relative;
  z-index: 1;
}
.login-logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  padding: 15px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.login-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.6rem, 13vw, 4rem);
  line-height: .92;
}
.login-hero p {
  margin: 12px 0 0;
  color: rgba(248,255,249,.74);
  line-height: 1.56;
}
.login-hero .eyebrow { color: rgba(234,248,239,.78); }
.login-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.login-card .primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  box-shadow: 0 18px 34px rgba(11,115,62,.24);
}
.form-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-head > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: var(--green-700);
  background: var(--green-100);
}
.form-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.4;
}
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 780;
}
input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255,255,255,.94);
  outline: none;
}
input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(32,169,104,.14);
}
.alert {
  padding: 13px 14px;
  border-radius: 18px;
  color: #8a1820;
  background: #fff0f2;
  font-weight: 800;
}

.toast-stack {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(100px + var(--safe-bottom));
  z-index: 80;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: var(--green-950);
  box-shadow: var(--shadow-strong);
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) {
  .primary-action:hover,
  .secondary-action:hover,
  .primary-button:hover,
  .quick-action:hover,
  .service-card:hover,
  .highlight-card:hover,
  .news-card:hover,
  .member-avatar:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(7,58,37,.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash img,
  .notification-dot,
  .reveal,
  .toast {
    animation: none;
    transition: none;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 719px) {
  .lineup-grid { grid-template-columns: 1fr; }
  .match-columns { grid-template-columns: 1fr; }
  .next-birthday-card { grid-template-columns: 1fr; }
  .next-birthday-card img { max-width: 220px; }
  .empty-state-card { min-height: 230px; border-radius: 24px; }
  .empty-state-card strong { font-size: 1.6rem; }
}

@media (max-width: 374px) {
  .app-content { padding-inline: 12px; }
  .home-hero { min-height: 590px; padding: 20px; }
  .home-hero h1 { font-size: 2.3rem; }
  .quick-action { min-height: 98px; font-size: .68rem; }
  .service-grid,
  .values-grid,
  .member-gallery { gap: 10px; }
}

@media (max-width: 959px) {
  .finance-shell {
    margin: -4px -16px calc(-26px - var(--safe-bottom));
    min-height: calc(100vh - 112px - var(--bottom-nav-height) - var(--safe-bottom));
    min-height: calc(100dvh - 112px - var(--bottom-nav-height) - var(--safe-bottom));
  }
  .finance-shell__frame {
    min-height: 0;
    height: calc(100vh - 112px - var(--bottom-nav-height) - var(--safe-bottom));
    height: calc(100dvh - 112px - var(--bottom-nav-height) - var(--safe-bottom));
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 374px) {
  .finance-shell { margin-inline: -12px; }
}

@media (min-width: 720px) and (max-width: 959px) {
  body { padding: 24px 0; }
  .app-frame,
  .bottom-nav { border-radius: 38px; }
  .app-frame { min-height: calc(100vh - 48px); }
  .app-header {
    top: 24px;
    border-radius: 38px 38px 0 0;
  }
  .header-actions--floating {
    top: calc(24px + env(safe-area-inset-top, 0px) + 18px);
  }
  .bottom-nav { bottom: 24px; }
}

@media (min-width: 960px) {
  :root {
    --app-width: 1180px;
    --bottom-nav-height: 78px;
  }
  body { padding: 24px; }
  .app-frame {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 48px);
    border-radius: 40px;
  }
  .app-header {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 156px;
    padding: 24px 34px 48px;
    border-radius: 40px 40px 0 0;
    transform: none;
  }
  .brand-mark {
    width: 84px;
    height: 84px;
  }
  .greeting strong {
    max-width: 520px;
    font-size: 1.75rem;
  }
  .header-actions--floating {
    top: 48px;
    width: min(calc(100% - 48px), var(--app-width));
    padding: 0 34px;
  }
  .app-content {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    flex: 1;
    gap: 20px;
    padding: 22px 24px 24px;
  }
  .home-hero {
    grid-column: span 12;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: stretch;
    min-height: 420px;
    padding: 30px;
  }
  .home-hero h1 {
    max-width: 15ch;
    font-size: clamp(3.15rem, 4.8vw, 4.85rem);
    line-height: .95;
  }
  .home-hero p {
    max-width: 32rem;
  }
  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }
  .hero-actions > a {
    min-width: 176px;
    padding-inline: 20px;
  }
  .hero-phone {
    max-width: 300px;
    margin-top: 12px;
  }
  .quick-actions {
    grid-column: span 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: stretch;
  }
  .services-section { grid-column: span 12; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .highlight-section {
    grid-column: span 6;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-self: stretch;
  }
  .institutional-section,
  .news-section {
    grid-column: span 6;
    align-self: stretch;
  }
  .highlight-section .highlight-card {
    min-height: 100%;
  }
  .members-section { grid-column: span 6; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card--main { grid-column: span 2; }
  .premium-footer {
    grid-column: span 12;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .gallery-hero,
  .players-gallery,
  .gallery-empty,
  .scout-hero,
  .scout-card-shell { grid-column: span 12; }
  .gallery-hero {
    grid-template-columns: 1fr auto;
    align-items: end;
    min-height: 360px;
    padding: 38px;
  }
  .gallery-hero h1 { font-size: clamp(4rem, 7vw, 6rem); }
  .players-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scout-hero {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 0;
    padding: 28px 38px;
  }
  .scout-hero h1 { font-size: clamp(3.6rem, 5vw, 5rem); }
  .scout-table th,
  .scout-table td {
    height: 76px;
    padding: 0 14px;
  }
  .foto-jogador {
    width: 58px;
    height: 58px;
  }
  .member-grid,
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title,
  .timeline,
  .profile-card,
  .member-grid,
  .card-list { grid-column: span 12; }
  .bottom-nav {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 48px);
    min-height: var(--bottom-nav-height);
    margin: 0 24px 24px;
    padding: 10px;
    border: 1px solid rgba(13,68,41,.1);
    border-radius: 28px;
    transform: none;
  }
  .bottom-nav a {
    grid-template-columns: auto auto;
    justify-content: center;
    min-height: 54px;
    padding: 0 16px;
    font-size: .78rem;
  }
  .login-screen {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    align-items: stretch;
    max-width: 980px;
    min-height: 620px;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 36px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 30px 90px rgba(64,80,40,.18);
    backdrop-filter: blur(22px);
  }
  .login-page {
    padding: 0;
  }
  .login-page .app-frame {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }
  .login-page .app-content {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    min-height: 100vh;
    padding: 32px;
  }
  .login-page .login-screen {
    grid-column: 1;
  }
  .login-hero {
    min-height: auto;
    padding: 46px;
    border-radius: 28px;
    background:
      linear-gradient(140deg, rgba(255,255,255,.2), transparent 42%),
      linear-gradient(150deg, #f2c628 0%, #fee779 54%, #fff0a8 100%);
    color: #15170d;
    box-shadow: none;
  }
  .login-hero::before {
    border-color: rgba(21,23,13,.12);
  }
  .login-logo {
    width: 108px;
    height: 108px;
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(76,58,0,.18);
  }
  .login-hero .eyebrow {
    color: rgba(21,23,13,.56);
  }
  .login-hero h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 5vw, 5.6rem);
    line-height: .9;
  }
  .login-hero p {
    max-width: 31rem;
    color: rgba(21,23,13,.66);
    font-size: 1.02rem;
  }
  .login-card {
    align-content: center;
    gap: 20px;
    padding: 52px;
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22,34,20,.12);
  }
  .login-card .primary-button {
    min-height: 62px;
    color: #15170d;
    background: linear-gradient(135deg, #f2c628 0%, #fff0a8 100%);
    box-shadow: 0 18px 36px rgba(196,149,0,.2);
  }
  .form-head {
    margin-bottom: 12px;
  }
  .form-head > span {
    color: #d6a900;
    background: #fff6cf;
  }
  .login-card label {
    gap: 10px;
  }
  .login-card input {
    min-height: 64px;
    border-radius: 18px;
  }
}
