:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #eeeeee;
  --green: #1fae5b;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --header-h: 94px;
  --page-pad-mobile: 16px;
  --page-pad-desktop: 40px;
  --content-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-auth-locked .site-header,
body.is-auth-locked .page-main,
body.is-auth-locked .bottom-nav {
  display: none;
}

body.is-auth-locked .auth-screen {
  display: flex;
}

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

.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.18), transparent 28%),
    linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  position: relative;
}

.auth-screen__back {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #0e5c34;
  border: 1px solid rgba(13, 69, 38, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.auth-screen__back .icon {
  width: 20px;
  height: 20px;
}

.auth-screen__card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  background: #ffffff;
  padding: 24px 18px 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(13, 69, 38, 0.08);
  text-align: center;
}

.auth-screen__logo {
  width: min(70%, 220px);
  height: 56px;
  object-fit: contain;
}

.auth-screen__title {
  margin: 14px 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #0e5c34;
  letter-spacing: 0.04em;
}

.auth-screen__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-screen__form {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.auth-screen__signup-note {
  margin-top: 4px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(31, 174, 91, 0.06);
  border: 1px solid rgba(13, 69, 38, 0.08);
}

.auth-screen__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.auth-screen__check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.auth-screen__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.auth-screen__check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.auth-screen__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.auth-screen__input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(13, 69, 38, 0.22);
  border-radius: 10px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.auth-screen__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 174, 91, 0.12);
}

.auth-screen__hint {
  margin-top: -2px;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.72);
}

.auth-screen__password-field {
  position: relative;
}

.auth-screen__input--password {
  padding-right: 52px;
}

.auth-screen__password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #0e5c34;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.auth-screen__password-toggle:hover {
  background: rgba(31, 174, 91, 0.08);
}

.auth-screen__password-toggle:focus-visible {
  outline: 2px solid rgba(31, 174, 91, 0.45);
  outline-offset: 2px;
}

.auth-screen__password-icon {
  width: 18px;
  height: 18px;
}

.auth-screen__button {
  margin-top: 6px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #0e5c34;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.auth-screen__link {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #0e5c34;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-screen__link--alt {
  margin-top: 6px;
  color: #1c7a46;
}

.auth-screen__error {
  min-height: 20px;
  margin: 12px 0 0;
  color: #8c1d1d;
  font-size: 13px;
  text-align: left;
}

@media (min-width: 768px) {
  .auth-screen__back {
    top: 24px;
    left: 24px;
  }
}

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

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 2;
  flex: 0 0 auto;
}

.icon--avatar {
  width: 18px;
  height: 18px;
  color: #555555;
}

.icon--game {
  width: 60px;
  height: 60px;
  color: #2f6f49;
}

.icon--feature {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.icon--nav {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.icon--modal-back {
  width: 20px;
  height: 20px;
  color: #1f2d22;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.site-header__inner {
  max-width: var(--content-max);
  height: 100%;
  margin: 0 auto;
  padding: 6px var(--page-pad-mobile) 8px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 2px;
}

.brand {
  display: block;
  width: 100%;
  min-width: 0;
  line-height: 0;
}

.brand__logo {
  width: 100%;
  height: 40px;
  object-fit: contain;
}

.site-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.site-header__user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

.avatar {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  display: grid;
  place-items: center;
  padding: 0;
  flex: 0 0 auto;
}

.balance {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.balance--split {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: normal;
  line-height: 1.1;
}

.balance__approved {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.balance__pending {
  color: #d9a404;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.balance__pending:hover {
  color: #bf9000;
}

.site-header__account-label {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-main {
  padding-top: var(--header-h);
}

.page-main__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-mobile) 100px;
}

.hero-banner {
  position: relative;
  width: calc(100% + (var(--page-pad-mobile) * 2));
  height: clamp(180px, 36vw, 320px);
  margin: 0 calc(var(--page-pad-mobile) * -1) 20px;
  border-radius: 0;
  overflow: hidden;
  background: #e3f4e7;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
}

.hero-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-banner__slide.is-active {
  opacity: 1;
}

.hero-banner__slide img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(227, 244, 231, 0) 44%, rgba(227, 244, 231, 0.42) 100%);
}

.main-layout {
  display: block;
}

.main-layout__primary {
  display: block;
}

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

.tournaments-hero {
  position: relative;
  display: block;
  width: 100%;
  height: 35vh;
  min-height: 220px;
  margin-top: 18px;
  padding: 0;
  border: 1px solid rgba(94, 161, 123, 0.22);
  border-radius: 28px;
  overflow: hidden;
  background: #0d1511;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tournaments-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 43, 24, 0.16);
}

.tournaments-hero__media,
.tournaments-hero__media img,
.tournaments-hero__shade {
  position: absolute;
  inset: 0;
}

.tournaments-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2.6px) saturate(1.02);
  transform: scale(1.05);
}

.tournaments-hero__shade {
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.04) 0%, rgba(7, 17, 13, 0.7) 100%),
    linear-gradient(90deg, rgba(7, 17, 13, 0.68) 0%, rgba(7, 17, 13, 0.18) 100%);
}

.tournaments-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 22px 20px 24px;
  color: #ffffff;
}

.tournaments-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 249, 241, 0.16);
  border: 1px solid rgba(225, 244, 231, 0.24);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 255, 241, 0.84);
}

.tournaments-hero__title {
  max-width: 17ch;
  font-size: clamp(1.4rem, 4.4vw, 2.25rem);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.community-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  height: 32vh;
  margin-top: 16px;
  border: 1px solid rgba(94, 161, 123, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background: #0c1510;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.community-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 43, 24, 0.16);
}

.community-hero__media,
.community-hero__media img,
.community-hero__shade {
  position: absolute;
  inset: 0;
}

.community-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(1.6px) saturate(1.02);
  transform: scale(1.04);
}

.community-hero__shade {
  background:
    linear-gradient(180deg, rgba(5, 21, 12, 0.08) 0%, rgba(5, 21, 12, 0.8) 100%),
    linear-gradient(90deg, rgba(5, 21, 12, 0.78) 0%, rgba(10, 54, 28, 0.24) 100%);
}

.community-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  padding: 22px 20px 24px;
  color: #ffffff;
}

.community-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 249, 241, 0.14);
  border: 1px solid rgba(225, 244, 231, 0.2);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 255, 241, 0.84);
}

.community-hero__title {
  max-width: 21ch;
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 1.1;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.community-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #145b32;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.championna-blog-preview {
  margin-top: 16px;
  border: 1px solid rgba(94, 161, 123, 0.18);
  border-radius: 20px;
  background: #ffffff;
  padding: 16px;
}

.championna-blog-preview__head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #153b27;
}

.championna-blog-preview__head p {
  margin: 8px 0 0;
  color: #617166;
  font-size: 0.9rem;
  line-height: 1.5;
}

.championna-blog-preview__grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.championna-blog-preview__card {
  display: grid;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(31, 174, 91, 0.18);
  border-radius: 14px;
  background: #f8fcf9;
  padding: 12px;
}

.championna-blog-preview__badge {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(31, 174, 91, 0.14);
  color: #136238;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.championna-blog-preview__card strong {
  color: #183523;
  font-size: 0.94rem;
}

.championna-blog-preview__card small {
  color: #607166;
  font-size: 0.82rem;
  line-height: 1.45;
}

.game-card {
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
}

.game-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #f7faf7;
}

.game-card__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-card__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}

.wins-mobile {
  margin-top: 20px;
}

.wins-mobile h2,
.panel h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.panel__copy {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.scroll-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  max-height: 120px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scroll-list li {
  padding: 10px 15px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.scroll-list li:first-child {
  border-top: 0;
}

.recent-match {
  padding: 12px 15px;
}

.recent-match__top,
.recent-match__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recent-match__top {
  margin-bottom: 6px;
}

.recent-match__game {
  font-size: 13px;
  font-weight: 700;
}

.recent-match__result {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recent-match__result--win {
  color: var(--green);
}

.recent-match__result--loss {
  color: #cc3b3b;
}

.recent-match__meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.recent-match__bottom {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.features {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-item--action {
  width: 100%;
  border: 0;
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-item--action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(18, 45, 26, 0.08);
}

.feature-item--action:focus-visible {
  outline: 2px solid rgba(31, 174, 91, 0.35);
  outline-offset: 2px;
}

.feature-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f2f2;
}

.feature-item span:last-child {
  font-size: 13px;
  font-weight: 500;
}

.main-layout__sidebar {
  display: none;
}

.bottom-nav {
  position: fixed;
  inset: auto 0 0;
  height: 65px;
  background: var(--white);
  border-top: 1px solid var(--line);
  z-index: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.bottom-nav__item--active {
  color: var(--green);
}

.bottom-nav__icon {
  display: grid;
  place-items: center;
}

.games-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #f5f5f5;
  transform: translateY(100%);
  transition: transform 260ms ease;
  pointer-events: none;
}

.games-modal.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.games-modal__panel {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.games-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--line);
}

.games-modal__back {
  border: 0;
  background: transparent;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.games-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.games-modal__title-wrap {
  display: grid;
  gap: 6px;
}

.games-modal__subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.games-modal__list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.games-modal__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  padding: 12px;
  box-shadow: var(--shadow);
}

.games-modal__item--static {
  cursor: default;
}

.tournament-game-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 0;
  border: 1px solid rgba(94, 161, 123, 0.22);
  border-radius: 20px;
  background: #0d1511;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tournament-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 43, 24, 0.16);
}

.tournament-game-card__media,
.tournament-game-card__media img,
.tournament-game-card__shade {
  position: absolute;
  inset: 0;
}

.tournament-game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2.2px) saturate(1.02);
  transform: scale(1.05);
}

.tournament-game-card__shade {
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.08) 0%, rgba(7, 17, 13, 0.72) 100%),
    linear-gradient(90deg, rgba(7, 17, 13, 0.64) 0%, rgba(7, 17, 13, 0.2) 100%);
}

.tournament-game-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 16px 16px 18px;
  color: #ffffff;
}

.tournament-game-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 249, 241, 0.16);
  border: 1px solid rgba(225, 244, 231, 0.24);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 255, 241, 0.84);
}

.tournament-game-card__title {
  font-size: clamp(1.3rem, 4.2vw, 2rem);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.tournament-game-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #114428;
  font-size: 12px;
  font-weight: 800;
}

.games-modal__visual {
  display: block;
  width: 100%;
  height: 50vh;
  min-height: 240px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7faf7;
}

.games-modal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.games-modal__label {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tournament-register-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.tournament-register-modal__hero {
  position: relative;
  border-radius: 22px;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(94, 161, 123, 0.22);
  background: #0d1511;
}

.tournament-register-modal__hero img,
.tournament-register-modal__shade {
  position: absolute;
  inset: 0;
}

.tournament-register-modal__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2.2px) saturate(1.02);
  transform: scale(1.05);
}

.tournament-register-modal__shade {
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.06) 0%, rgba(7, 17, 13, 0.72) 100%),
    linear-gradient(90deg, rgba(7, 17, 13, 0.64) 0%, rgba(7, 17, 13, 0.24) 100%);
}

.tournament-register-modal__hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
}

.tournament-register-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 249, 241, 0.16);
  border: 1px solid rgba(225, 244, 231, 0.24);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 255, 241, 0.84);
}

.tournament-register-modal__game {
  font-size: clamp(1.4rem, 4.4vw, 2.1rem);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.tournament-register-modal__actions {
  display: grid;
  gap: 12px;
}

.tournament-register-modal__btn {
  width: min(100%, 340px);
  min-height: 52px;
  margin: 0 auto;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.tournament-register-modal__btn--primary {
  border: 0;
  background: linear-gradient(180deg, #25c46b 0%, #1fae5b 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(31, 174, 91, 0.22);
}

.tournament-register-modal__btn--primary:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.tournament-register-modal__btn--secondary {
  border: 1px solid rgba(31, 174, 91, 0.2);
  background: #ffffff;
  color: #125a34;
}

.tournament-register-list {
  border-radius: 16px;
  border: 1px solid rgba(31, 174, 91, 0.12);
  background: #ffffff;
  padding: 12px;
}

.tournament-register-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #173526;
}

.tournament-register-list__head strong {
  font-size: 14px;
}

.tournament-register-list__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(31, 174, 91, 0.1);
  color: #125a34;
  font-weight: 800;
}

.tournament-register-list__state {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.tournament-register-list__items {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tournament-register-list__item {
  border: 1px solid rgba(31, 174, 91, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fcf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tournament-register-list__name {
  font-size: 13px;
  font-weight: 700;
  color: #163221;
}

.tournament-register-list__meta {
  font-size: 11px;
  color: #6f7f76;
}

.tournament-bracket {
  border-radius: 16px;
  border: 1px solid rgba(31, 174, 91, 0.12);
  background: #ffffff;
  padding: 12px;
}

.tournament-bracket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #173526;
}

.tournament-bracket__state {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.tournament-bracket__columns {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.tournament-bracket__column h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #446055;
}

.tournament-bracket__matches {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tournament-bracket__match {
  border: 1px solid rgba(31, 174, 91, 0.1);
  border-radius: 12px;
  background: #f8fcf9;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}

.tournament-bracket__match-title {
  font-size: 11px;
  font-weight: 800;
  color: #4d635a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tournament-bracket__pair {
  font-size: 13px;
  font-weight: 700;
  color: #163221;
}

.tournament-bracket__score {
  font-size: 12px;
  font-weight: 800;
  color: #0e5c34;
}

.tournament-bracket__empty {
  border: 1px dashed rgba(31, 174, 91, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #6f7f76;
  background: #fbfdfb;
}

@media (min-width: 900px) {
  .tournament-bracket__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pwa-install-modal {
  position: fixed;
  inset: 0;
  z-index: 4300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(9, 20, 13, 0.54);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.pwa-install-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pwa-install-modal__panel {
  width: min(100%, 640px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  border-radius: 28px;
  border: 1px solid rgba(16, 94, 52, 0.12);
  background:
    radial-gradient(circle at top left, rgba(31, 174, 91, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  box-shadow: 0 24px 64px rgba(10, 41, 22, 0.22);
  transform: translateY(18px) scale(0.985);
  transition: transform 240ms ease;
}

.pwa-install-modal.is-open .pwa-install-modal__panel {
  transform: translateY(0) scale(1);
}

.pwa-install-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 0;
}

.pwa-install-modal__eyebrow {
  margin: 0 0 6px;
  color: #1fae5b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pwa-install-modal__title {
  margin: 0;
  color: #163221;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 800;
}

.pwa-install-modal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(19, 104, 57, 0.08);
  color: #105e34;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pwa-install-modal__close .icon {
  width: 20px;
  height: 20px;
}

.pwa-install-modal__body {
  padding: 14px 18px 18px;
}

.pwa-install-modal__hero {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(233, 248, 238, 0.96));
  border: 1px solid rgba(31, 174, 91, 0.14);
}

.pwa-install-modal__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-install-modal__brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 20px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(31, 174, 91, 0.14);
}

.pwa-install-modal__brand-copy {
  min-width: 0;
}

.pwa-install-modal__description {
  margin: 0;
  color: #42544a;
  font-size: 14px;
  line-height: 1.6;
}

.pwa-install-modal__platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0e5c34;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pwa-install-modal__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pwa-install-modal__benefit {
  min-height: 72px;
  padding: 14px 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 94, 52, 0.08);
  box-shadow: 0 12px 28px rgba(12, 55, 30, 0.06);
  color: #274032;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pwa-install-modal__steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pwa-install-modal__step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 92, 52, 0.08);
}

.pwa-install-modal__step-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(31, 174, 91, 0.12);
  color: #0e5c34;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.pwa-install-modal__step-text {
  color: #32453b;
  font-size: 14px;
  line-height: 1.55;
}

.pwa-install-modal__note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(31, 174, 91, 0.08);
  color: #395144;
  font-size: 12px;
  line-height: 1.55;
}

.pwa-install-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.pwa-install-modal__button {
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pwa-install-modal__button--primary {
  background: linear-gradient(180deg, #1fb35a, #0e8b43);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(31, 174, 91, 0.22);
}

.pwa-install-modal__button--secondary {
  background: #ffffff;
  color: #0e5c34;
  border: 1px solid rgba(15, 92, 52, 0.14);
}

.kobposh-welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 4400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background:
    radial-gradient(circle at 20% 8%, rgba(57, 205, 116, 0.22), transparent 30%),
    rgba(7, 18, 12, 0.62);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.kobposh-welcome-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.kobposh-welcome-modal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid rgba(189, 247, 207, 0.24);
  background:
    linear-gradient(135deg, rgba(9, 41, 24, 0.94), rgba(11, 76, 39, 0.88)),
    #0d2b19;
  color: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(18px) scale(0.985);
  transition: transform 240ms ease;
}

.kobposh-welcome-modal.is-open .kobposh-welcome-modal__panel {
  transform: translateY(0) scale(1);
}

.kobposh-welcome-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.kobposh-welcome-modal__close .icon {
  width: 20px;
  height: 20px;
}

.kobposh-welcome-modal__hero {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border-radius: 30px 30px 24px 24px;
  background: #102d1a;
}

.kobposh-welcome-modal__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 12, 0.05), rgba(7, 18, 12, 0.72)),
    radial-gradient(circle at 78% 18%, rgba(255, 232, 117, 0.2), transparent 28%);
}

.kobposh-welcome-modal__hero-img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}

.kobposh-welcome-modal__live-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0e5c34;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kobposh-welcome-modal__content {
  padding: 20px 18px 18px;
}

.kobposh-welcome-modal__eyebrow {
  margin: 0 0 8px;
  color: #bdf7cf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kobposh-welcome-modal__title {
  margin: 0;
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(28px, 8vw, 46px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.kobposh-welcome-modal__text {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.kobposh-welcome-modal__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.kobposh-welcome-modal__highlights span {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.kobposh-welcome-modal__highlights .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #a8f3c1;
}

.kobposh-welcome-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.kobposh-welcome-modal__button {
  min-height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.kobposh-welcome-modal__button--primary {
  background: linear-gradient(180deg, #27d969, #0c9a47);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 178, 82, 0.28);
}

.kobposh-welcome-modal__button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e9fff0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(245, 245, 245, 0.96);
  transform: translateY(100%);
  transition: transform 280ms ease;
  pointer-events: none;
}

.deposit-modal.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.deposit-modal__panel {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(31, 174, 91, 0.08) 0, rgba(31, 174, 91, 0.02) 180px, #ffffff 260px),
    #ffffff;
  display: flex;
  flex-direction: column;
}

.deposit-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 174, 91, 0.12);
}

.deposit-modal__back {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 174, 91, 0.08);
  color: var(--green);
  flex: 0 0 auto;
}

.deposit-modal__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.deposit-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(31, 174, 91, 0.75);
}

.deposit-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.deposit-modal__badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(31, 174, 91, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.deposit-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
}

.deposit-modal__card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(31, 174, 91, 0.12);
  box-shadow: 0 12px 30px rgba(18, 45, 26, 0.06);
  padding: 16px;
}

.deposit-modal__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.deposit-modal__field {
  margin-top: 16px;
}

.deposit-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.deposit-modal__input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(31, 174, 91, 0.18);
  background: #f8fff9;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  outline: none;
}

.deposit-modal__input:focus {
  border-color: rgba(31, 174, 91, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 174, 91, 0.12);
}

.deposit-modal__chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.deposit-modal__chip {
  border: 1px solid rgba(31, 174, 91, 0.16);
  background: #ffffff;
  color: var(--green);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.deposit-modal__chip.is-active {
  background: rgba(31, 174, 91, 0.12);
  border-color: rgba(31, 174, 91, 0.28);
}

.deposit-modal__summary {
  margin-top: 14px;
  border-radius: 14px;
  background: #f4fbf6;
  border: 1px solid rgba(31, 174, 91, 0.12);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text);
}

.deposit-modal__summary strong {
  font-size: 18px;
  color: var(--green);
}

.deposit-modal__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.deposit-modal__error {
  min-height: 18px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #b42318;
}

.deposit-modal__submit {
  margin-top: 14px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #25c46b 0%, #1fae5b 100%);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(31, 174, 91, 0.22);
}

.deposit-modal__submit:disabled {
  opacity: 0.55;
}

.stake-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  background: rgba(245, 245, 245, 0.96);
  transform: translateY(100%);
  transition: transform 280ms ease;
  pointer-events: none;
}

.stake-modal.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.stake-modal__panel {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(31, 174, 91, 0.09) 0, rgba(31, 174, 91, 0.03) 170px, #ffffff 260px),
    #ffffff;
  display: flex;
  flex-direction: column;
}

.stake-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 174, 91, 0.12);
}

.stake-modal__back {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 174, 91, 0.08);
  color: var(--green);
  flex: 0 0 auto;
}

.stake-modal__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.stake-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(31, 174, 91, 0.75);
}

.stake-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.stake-modal__badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(31, 174, 91, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.stake-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
}

.stake-modal__card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(31, 174, 91, 0.12);
  box-shadow: 0 12px 30px rgba(18, 45, 26, 0.06);
  padding: 16px;
}

.stake-modal__visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #f4fbf6;
  border: 1px solid rgba(31, 174, 91, 0.1);
}

.stake-modal__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stake-modal__lead {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.stake-modal__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.stake-modal__chip {
  border: 1px solid rgba(31, 174, 91, 0.16);
  background: #ffffff;
  color: var(--green);
  border-radius: 999px;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.stake-modal__chip.is-active {
  background: rgba(31, 174, 91, 0.12);
  border-color: rgba(31, 174, 91, 0.28);
}

.stake-modal__summary {
  margin-top: 14px;
  border-radius: 14px;
  background: #f4fbf6;
  border: 1px solid rgba(31, 174, 91, 0.12);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text);
}

.stake-modal__summary strong {
  font-size: 18px;
  color: var(--green);
}

.stake-modal__error {
  min-height: 18px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #b42318;
}

.stake-modal__submit {
  margin-top: 14px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #25c46b 0%, #1fae5b 100%);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(31, 174, 91, 0.22);
}

.stake-modal__submit:disabled {
  opacity: 0.55;
}

.kobposh-agent-modal {
  position: fixed;
  inset: 0;
  z-index: 3300;
  display: none;
  background: rgba(245, 245, 245, 0.98);
  backdrop-filter: blur(10px);
}

.kobposh-agent-modal.is-open {
  display: block;
}

.kobposh-agent-modal__backdrop {
  position: absolute;
  inset: 0;
}

.kobposh-agent-modal__panel {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
  color: var(--text);
  padding: 18px 16px 24px;
}

.kobposh-agent-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(31, 174, 91, 0.12);
}

.kobposh-agent-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 92, 52, 0.7);
}

.kobposh-agent-modal__title {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #0e5c34;
}

.kobposh-agent-modal__subtitle {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.kobposh-agent-modal__back {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  border-radius: 50%;
  background: #ffffff;
  color: #0e5c34;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.1);
}

.kobposh-agent-modal__back .icon {
  width: 20px;
  height: 20px;
}

.kobposh-agent-modal__list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.kobposh-agent-card {
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(31, 174, 91, 0.06);
}

.kobposh-agent-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.kobposh-agent-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.kobposh-agent-card__role {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.kobposh-agent-card__phone {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.kobposh-agent-card__action {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #0e5c34;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.kobposh-agent-card__action .icon {
  width: 18px;
  height: 18px;
}

.kobposh-agent-card__note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.kobposh-agent-modal__cta {
  margin-top: 16px;
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 14px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(31, 174, 91, 0.18);
}

.kobposh-history-modal {
  position: fixed;
  inset: 0;
  z-index: 3400;
  display: none;
  background: rgba(245, 245, 245, 0.98);
  backdrop-filter: blur(10px);
}

.kobposh-history-modal.is-open {
  display: block;
}

.kobposh-history-modal__panel {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
  color: var(--text);
  padding: 18px 16px 24px;
}

.kobposh-history-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(31, 174, 91, 0.12);
}

.kobposh-history-modal__header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.kobposh-history-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 92, 52, 0.7);
}

.kobposh-history-modal__title {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #0e5c34;
}

.kobposh-history-modal__subtitle {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.kobposh-history-modal__back {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  border-radius: 50%;
  background: #ffffff;
  color: #0e5c34;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.1);
}

.kobposh-history-modal__back .icon {
  width: 20px;
  height: 20px;
}

.kobposh-history-modal__content {
  margin-top: 16px;
}

.kobposh-history-modal__summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 174, 91, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 174, 91, 0.06);
}

.kobposh-history-modal__summary span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.kobposh-history-modal__summary strong {
  font-size: 14px;
  color: var(--green-dark);
}

.kobposh-history-modal__list {
  display: grid;
  gap: 12px;
}

.kobposh-history-card {
  border-radius: 18px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(31, 174, 91, 0.06);
}

.kobposh-history-card__top,
.kobposh-history-card__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.kobposh-history-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.kobposh-history-card__meta {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.kobposh-history-card__result {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.kobposh-history-card__result--win {
  color: var(--green);
}

.kobposh-history-card__result--loss {
  color: #cc3b3b;
}

.kobposh-history-card__bottom {
  margin-top: 12px;
  align-items: center;
}

.kobposh-history-card__amount {
  font-size: 14px;
  font-weight: 800;
}

.kobposh-history-card__amount.is-win {
  color: var(--green);
}

.kobposh-history-card__amount.is-loss {
  color: #cc3b3b;
}

.kobposh-history-card__details {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.kobposh-history-modal__empty {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(31, 174, 91, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 13px;
}

.kobposh-history-modal__more {
  margin-top: 14px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #25c46b 0%, #1fae5b 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(31, 174, 91, 0.18);
}

.kobposh-history-modal__more:disabled {
  opacity: 0.65;
}

body.is-modal-open {
  overflow: hidden;
}

.kobposh-does-modal {
  position: fixed;
  inset: 0;
  z-index: 3450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(245, 245, 245, 0.72);
  backdrop-filter: blur(10px);
}

.kobposh-does-modal.is-open {
  display: flex;
}

.kobposh-does-modal__backdrop {
  position: absolute;
  inset: 0;
}

.kobposh-does-modal__panel {
  position: relative;
  width: min(100%, 420px);
  border-radius: 24px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
  box-shadow: 0 20px 40px rgba(31, 174, 91, 0.12);
  padding: 22px 18px 18px;
  color: var(--text);
}

.kobposh-does-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(31, 174, 91, 0.14);
  background: #ffffff;
  color: #0e5c34;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.1);
}

.kobposh-does-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 92, 52, 0.7);
}

.kobposh-does-modal__title {
  margin: 8px 0 0;
  padding-right: 48px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #0e5c34;
}

.kobposh-does-modal__copy {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.kobposh-does-modal__meta {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #0e5c34;
}

.kobposh-does-modal__error {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8c1d1d;
}

.kobposh-does-modal__balance {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(31, 174, 91, 0.12);
  background: rgba(31, 174, 91, 0.05);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.kobposh-does-modal__balance span {
  font-size: 12px;
  color: var(--muted);
}

.kobposh-does-modal__balance strong {
  font-size: 18px;
  font-weight: 800;
  color: #0e5c34;
}

.kobposh-does-modal__balance--result {
  margin-top: 10px;
  background: rgba(14, 92, 52, 0.08);
}

.kobposh-does-modal__submit {
  margin-top: 16px;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(31, 174, 91, 0.14);
  background: #0e5c34;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(31, 174, 91, 0.18);
}

.kobposh-does-modal__submit:disabled {
  opacity: 0.55;
  box-shadow: none;
}

#retraitModalOverlay[data-theme="kobposh"],
#retraitRuleModalOverlay[data-theme="kobposh"],
#retraitSuccessModalOverlay[data-theme="kobposh"] {
  background: rgba(245, 245, 245, 0.98) !important;
  backdrop-filter: blur(10px);
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel,
#retraitRuleModalOverlay[data-theme="kobposh"] > div,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessModalPanel {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 38px rgba(31, 174, 91, 0.08) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel *,
#retraitRuleModalOverlay[data-theme="kobposh"] > div *,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessModalPanel * {
  color: var(--text);
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel h3,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalTitle,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessModalPanel h3 {
  color: #0e5c34 !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel p,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalMessage,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalDetails,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessPrimary,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessSecondary,
#retraitSuccessModalOverlay[data-theme="kobposh"] .text-white\/80,
#retraitSuccessModalOverlay[data-theme="kobposh"] .text-white\/72 {
  color: var(--muted) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitAvailable,
#retraitModalOverlay[data-theme="kobposh"] #retraitMethodLabel,
#retraitSuccessModalOverlay[data-theme="kobposh"] .text-white,
#retraitRuleModalOverlay[data-theme="kobposh"] .text-white {
  color: var(--text) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitClose,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalContact,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessPending {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background: #ffffff !important;
  color: #0e5c34 !important;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.1) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitNext,
#retraitModalOverlay[data-theme="kobposh"] #retraitBack,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalClose,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessClose,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessWhatsapp1 {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background: #0e5c34 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(31, 174, 91, 0.18) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitNext *,
#retraitModalOverlay[data-theme="kobposh"] #retraitBack *,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalClose *,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessClose *,
#retraitSuccessModalOverlay[data-theme="kobposh"] #retraitSuccessWhatsapp1 * {
  color: #ffffff !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitStep1 > p,
#retraitModalOverlay[data-theme="kobposh"] #retraitStep2 > p,
#retraitSuccessModalOverlay[data-theme="kobposh"] .text-emerald-100\/70,
#retraitSuccessModalOverlay[data-theme="kobposh"] .text-\[\#ffcf9f\] {
  color: #0e5c34 !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel > .mt-3,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalDetails,
#retraitSuccessModalOverlay[data-theme="kobposh"] .border-\[\#ffb26e\]\/25,
#retraitSuccessModalOverlay[data-theme="kobposh"] .border-white\/10,
#retraitSuccessModalOverlay[data-theme="kobposh"] .border-t {
  border-color: rgba(31, 174, 91, 0.12) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitPanel .bg-white\/10,
#retraitRuleModalOverlay[data-theme="kobposh"] #retraitRuleModalDetails,
#retraitSuccessModalOverlay[data-theme="kobposh"] .bg-white\/5,
#retraitSuccessModalOverlay[data-theme="kobposh"] .bg-\[\#1b2437\]\/90,
#retraitSuccessModalOverlay[data-theme="kobposh"] .bg-\[\#101827\]\/96 {
  background: rgba(31, 174, 91, 0.05) !important;
}

#retraitModalOverlay[data-theme="kobposh"] input,
#retraitModalOverlay[data-theme="kobposh"] .retrait-method {
  border-color: rgba(31, 174, 91, 0.18) !important;
  background: #ffffff !important;
  color: var(--text) !important;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.06);
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method * {
  color: var(--text) !important;
}

#retraitModalOverlay[data-theme="kobposh"] input::placeholder {
  color: #7d8d82 !important;
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method.is-selected {
  border-color: rgba(31, 174, 91, 0.38) !important;
  background: rgba(31, 174, 91, 0.1) !important;
  box-shadow:
    0 0 0 2px rgba(31, 174, 91, 0.14),
    0 14px 24px rgba(31, 174, 91, 0.12) !important;
  transform: translateY(-1px);
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method.is-selected * {
  color: #0e5c34 !important;
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method.is-selected .fa-wallet,
#retraitModalOverlay[data-theme="kobposh"] .retrait-method.is-selected img {
  filter: saturate(1.05);
}

#retraitSuccessModalOverlay[data-theme="kobposh"] .grid.h-12.w-12,
#retraitSuccessModalOverlay[data-theme="kobposh"] .bg-emerald-500\/15 {
  background: rgba(31, 174, 91, 0.12) !important;
  border-color: rgba(31, 174, 91, 0.18) !important;
}

#retraitSuccessModalOverlay[data-theme="kobposh"] .grid.h-12.w-12 *,
#retraitSuccessModalOverlay[data-theme="kobposh"] .bg-emerald-500\/15 * {
  color: #0e5c34 !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background:
    radial-gradient(circle at top, rgba(31, 174, 91, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 38px rgba(31, 174, 91, 0.08) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel * {
  color: var(--text);
}

#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel h2,
#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel h3,
#retraitModalOverlay[data-theme="kobposh"] #retraitMethodLabel,
#retraitModalOverlay[data-theme="kobposh"] #retraitAvailableAmount {
  color: #0e5c34 !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel .text-white,
#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel .text-white\/80,
#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel .text-white\/70,
#retraitModalOverlay[data-theme="kobposh"] #retraitModalPanel .text-white\/60,
#retraitModalOverlay[data-theme="kobposh"] #retraitBalanceHint,
#retraitModalOverlay[data-theme="kobposh"] #retraitRuleAlert,
#retraitModalOverlay[data-theme="kobposh"] #retraitError {
  color: var(--muted) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitBalanceBox,
#retraitModalOverlay[data-theme="kobposh"] #retraitRuleAlert,
#retraitModalOverlay[data-theme="kobposh"] #retraitStepMethods,
#retraitModalOverlay[data-theme="kobposh"] #retraitStepForm {
  border-color: rgba(31, 174, 91, 0.12) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitBalanceBox,
#retraitModalOverlay[data-theme="kobposh"] #retraitRuleAlert {
  background: rgba(31, 174, 91, 0.05) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitModalClose {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background: #ffffff !important;
  color: #0e5c34 !important;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.1) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitNextBtn,
#retraitModalOverlay[data-theme="kobposh"] #retraitBackBtn {
  border-color: rgba(31, 174, 91, 0.14) !important;
  background: #0e5c34 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 12px 24px rgba(31, 174, 91, 0.18) !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitNextBtn *,
#retraitModalOverlay[data-theme="kobposh"] #retraitBackBtn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitNextBtn:disabled,
#retraitModalOverlay[data-theme="kobposh"] #retraitBackBtn:disabled {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitStepMethods:not([hidden]),
#retraitModalOverlay[data-theme="kobposh"] #retraitStepForm:not([hidden]) {
  display: block !important;
}

#retraitModalOverlay[data-theme="kobposh"] #retraitAmountInput,
#retraitModalOverlay[data-theme="kobposh"] #retraitFirstNameInput,
#retraitModalOverlay[data-theme="kobposh"] #retraitLastNameInput,
#retraitModalOverlay[data-theme="kobposh"] #retraitPhoneInput,
#retraitModalOverlay[data-theme="kobposh"] .retrait-method {
  border-color: rgba(31, 174, 91, 0.18) !important;
  background: #ffffff !important;
  color: var(--text) !important;
  box-shadow: 0 8px 18px rgba(31, 174, 91, 0.06);
}

#retraitModalOverlay[data-theme="kobposh"] #retraitAmountInput::placeholder,
#retraitModalOverlay[data-theme="kobposh"] #retraitFirstNameInput::placeholder,
#retraitModalOverlay[data-theme="kobposh"] #retraitLastNameInput::placeholder,
#retraitModalOverlay[data-theme="kobposh"] #retraitPhoneInput::placeholder {
  color: #7d8d82 !important;
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method * {
  color: var(--text) !important;
}

#retraitModalOverlay[data-theme="kobposh"] .retrait-method.border-\[\#ffb26e\],
#retraitModalOverlay[data-theme="kobposh"] .retrait-method.bg-\[\#F57C00\]\/20,
#retraitModalOverlay[data-theme="kobposh"] .retrait-method.is-selected {
  border-color: rgba(31, 174, 91, 0.38) !important;
  background: rgba(31, 174, 91, 0.1) !important;
  box-shadow:
    0 0 0 2px rgba(31, 174, 91, 0.14),
    0 14px 24px rgba(31, 174, 91, 0.12) !important;
}

@media (min-width: 700px) {
  .site-header__inner,
  .page-main__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-banner {
    width: calc(100% + 48px);
    height: 65vh;
    min-height: 300px;
    max-height: 520px;
    margin-left: -24px;
    margin-right: -24px;
  }

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

  .tournaments-hero {
    min-height: 260px;
  }

  .community-hero {
    min-height: 220px;
  }
}

@media (min-width: 900px) {
  .pwa-install-modal,
  .kobposh-welcome-modal {
    align-items: center;
    padding: 24px;
  }

  .pwa-install-modal__header {
    padding: 22px 22px 0;
  }

  .pwa-install-modal__body {
    padding: 18px 22px 22px;
  }

  .pwa-install-modal__hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px;
  }

  .pwa-install-modal__actions {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  }

  .kobposh-welcome-modal__panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1fr);
    overflow: hidden;
  }

  .kobposh-welcome-modal__hero {
    min-height: 100%;
    border-radius: 30px 0 0 30px;
  }

  .kobposh-welcome-modal__hero-img {
    height: 100%;
  }

  .kobposh-welcome-modal__content {
    padding: 34px 28px 28px;
  }

  .kobposh-welcome-modal__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header__inner,
  .page-main__inner {
    padding-left: var(--page-pad-desktop);
    padding-right: var(--page-pad-desktop);
  }

  .brand__logo {
    height: 44px;
  }

  .hero-banner {
    width: calc(100% + (var(--page-pad-desktop) * 2));
    height: 65vh;
    min-height: 360px;
    max-height: 620px;
    margin-left: calc(var(--page-pad-desktop) * -1);
    margin-right: calc(var(--page-pad-desktop) * -1);
  }

  .main-layout {
    display: block;
  }

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

  .tournaments-hero {
    min-height: 280px;
  }

  .community-hero {
    min-height: 240px;
  }

  .championna-blog-preview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-card {
    padding: 14px;
  }

  .game-card__media {
    border-radius: 12px;
  }

  .features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .feature-item {
    min-width: 0;
  }

  .panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
  }

  .panel--spaced {
    margin-top: 20px;
  }

  .scroll-list--tall {
    max-height: 200px;
  }
}

@media (min-width: 1200px) {
  .site-header__inner,
  .page-main__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 899px) {
  .pwa-install-modal__panel,
  .kobposh-welcome-modal__panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .main-layout__sidebar {
    display: none;
  }
}

@media (min-width: 900px) {
  .bottom-nav {
    display: none;
  }

  .games-modal {
    display: block;
  }

  .games-modal__panel {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .deposit-modal__body {
    padding: 20px 24px 24px;
  }

  .stake-modal__body {
    padding: 20px 24px 24px;
  }

  .stake-modal__chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stake-modal__visual {
    height: 50vh;
    aspect-ratio: auto;
  }

  .kobposh-agent-modal__panel {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 24px 28px;
  }

  .kobposh-agent-modal__title {
    font-size: 28px;
  }
}

.kobposh-support-help-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 24, 16, 0.42);
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.kobposh-support-help-modal.is-open {
  display: flex;
}

.kobposh-support-help-modal__panel {
  width: min(92vw, 40rem);
  max-height: min(84vh, 44rem);
  overflow: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(25, 143, 80, 0.24);
  background: linear-gradient(180deg, #ffffff, #f3fbf6);
  box-shadow: 0 18px 44px rgba(12, 55, 30, 0.22);
  transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.kobposh-support-help-modal.is-transitioning .kobposh-support-help-modal__panel {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  box-shadow: 0 10px 26px rgba(12, 55, 30, 0.12);
}

.kobposh-support-help__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: start;
  padding: 1rem 1rem 0.7rem;
}

.kobposh-support-help__back,
.kobposh-support-help__close {
  height: 2.4rem;
  width: 2.4rem;
  border: 1px solid rgba(25, 143, 80, 0.3);
  border-radius: 999px;
  background: #ffffff;
  color: #0f4425;
  display: grid;
  place-items: center;
}

.kobposh-support-help__brand {
  min-width: 0;
}

.kobposh-support-help__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #1b7c45;
}

.kobposh-support-help__title {
  margin: 0.3rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #123924;
}

.kobposh-support-help__intro {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #215336;
}

.kobposh-support-help__content {
  padding: 0.75rem 1rem 1rem;
}

.kobposh-support-help__list {
  display: grid;
  gap: 0.55rem;
}

.kobposh-support-help__topic {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(25, 143, 80, 0.22);
  border-radius: 0.95rem;
  background: #ffffff;
  color: #12422a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.75rem 0.8rem;
}

.kobposh-support-help__topic:hover {
  background: #edf9f1;
}

.kobposh-support-help__topic-icon {
  height: 2rem;
  width: 2rem;
  border-radius: 999px;
  background: #e7f6ee;
  color: #146738;
  display: grid;
  place-items: center;
}

.kobposh-support-help__topic-text {
  display: grid;
  gap: 0.2rem;
}

.kobposh-support-help__topic-text strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.kobposh-support-help__topic-text small {
  font-size: 0.77rem;
  color: #3b6c4e;
}

.kobposh-support-help__detail {
  color: #123c27;
}

.kobposh-support-help__article {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(25, 143, 80, 0.18);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.9rem;
}

.kobposh-support-help__article p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.45;
}

.kobposh-support-help__action-wrap {
  margin-top: 0.25rem;
}

.kobposh-support-help__action-btn {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(15, 120, 67, 0.32);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #1fae5b, #0f7c45);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 0.85rem 1rem;
  text-align: center;
  box-shadow: 0 14px 26px rgba(31, 174, 91, 0.18);
  cursor: pointer;
}

.kobposh-support-help__action-btn:hover {
  filter: brightness(1.03);
}

.kobposh-support-help__targets {
  border: 1px solid rgba(25, 143, 80, 0.2);
  border-radius: 0.8rem;
  background: #f3fbf6;
  padding: 0.65rem;
}

.kobposh-support-help__targets-title {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b6f3f;
}

.kobposh-support-help__targets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.kobposh-support-help__target-chip {
  border: 1px solid rgba(20, 103, 56, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: #0f4f2c;
  background: #ffffff;
}

.kobposh-support-help__contact-wrap {
  margin-top: 0.85rem;
}

.kobposh-support-help__contact-btn {
  width: 100%;
  border: 1px solid rgba(15, 120, 67, 0.35);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #0f7c45, #139957);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.78rem 0.9rem;
  text-align: center;
}

.kobposh-support-help__contact-btn:hover {
  filter: brightness(1.03);
}

.site-header,
.page-main,
.site-footer {
  transition: opacity 0.26s ease, transform 0.26s ease;
}

body.kobposh-route-transition .site-header,
body.kobposh-route-transition .page-main,
body.kobposh-route-transition .site-footer {
  opacity: 0;
  transform: translateY(14px) scale(0.988);
}

.kobposh-guest-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 1280;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 13, 0.48);
  padding: 1rem;
}

.kobposh-guest-gate-modal.is-open {
  display: flex;
}

.kobposh-guest-gate-modal__panel {
  position: relative;
  width: min(92vw, 26rem);
  border-radius: 1.2rem;
  border: 1px solid rgba(25, 143, 80, 0.24);
  background: linear-gradient(180deg, #ffffff, #f4fbf6);
  box-shadow: 0 16px 38px rgba(9, 46, 25, 0.24);
  padding: 1rem 1rem 1.1rem;
}

.kobposh-guest-gate-modal__close {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 143, 80, 0.3);
  background: #ffffff;
  color: #0e5c34;
  display: grid;
  place-items: center;
}

.kobposh-guest-gate-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #1a7d45;
}

.kobposh-guest-gate-modal__title {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #123a24;
}

.kobposh-guest-gate-modal__text {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #27583a;
}

.kobposh-guest-gate-modal__action {
  margin-top: 0.9rem;
  width: 100%;
  height: 2.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(15, 120, 67, 0.35);
  background: linear-gradient(135deg, #0f7c45, #139957);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.kobposh-guest-gate-modal__actions {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.kobposh-guest-gate-modal__action {
  margin-top: 0;
}

.kobposh-guest-gate-modal__action--secondary {
  background: #ffffff;
  color: #0f6c3d;
  border: 1px solid rgba(15, 120, 67, 0.35);
}

.kobposh-forgot-modal {
  position: fixed;
  inset: 0;
  z-index: 1290;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 20, 13, 0.48);
}

.kobposh-forgot-modal.is-open {
  display: flex;
}

.kobposh-forgot-modal__panel {
  position: relative;
  width: min(92vw, 26rem);
  border-radius: 1.2rem;
  border: 1px solid rgba(25, 143, 80, 0.24);
  background: linear-gradient(180deg, #ffffff, #f4fbf6);
  box-shadow: 0 16px 38px rgba(9, 46, 25, 0.24);
  padding: 1rem 1rem 1.1rem;
}

.kobposh-forgot-modal__close {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 143, 80, 0.3);
  background: #ffffff;
  color: #0e5c34;
  display: grid;
  place-items: center;
}

.kobposh-forgot-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #1a7d45;
}

.kobposh-forgot-modal__title {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #123a24;
}

.kobposh-forgot-modal__text {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #27583a;
}

.kobposh-forgot-modal__action {
  margin-top: 0.9rem;
  width: 100%;
  height: 2.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(15, 120, 67, 0.35);
  background: linear-gradient(135deg, #0f7c45, #139957);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.kobposh-tournament-rules-modal__panel {
  width: min(94vw, 40rem);
  max-height: min(86vh, 52rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kobposh-tournament-rules-modal__content {
  margin-top: 0.75rem;
  padding-right: 0.25rem;
  overflow-y: auto;
  display: grid;
  gap: 0.8rem;
}

.kobposh-tournament-rules-modal__section {
  border: 1px solid rgba(15, 120, 67, 0.2);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.7rem 0.75rem;
}

.kobposh-tournament-rules-modal__section h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #0f6e3f;
}

.kobposh-tournament-rules-modal__section ul {
  margin: 0.45rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.35rem;
}

.kobposh-tournament-rules-modal__section li {
  color: #1f4d33;
  font-size: 0.88rem;
  line-height: 1.45;
}
