* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #f3f3f3;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.boot { padding: 40px; text-align: center; font-weight: 900; }
.login-screen {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 16px 40px;
}
.back {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fab028;
  font-size: 22px;
  font-weight: 900;
}
.login-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 22px rgba(0,0,0,.1);
  text-align: center;
}
.brand-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: #111;
  color: #fab028;
  font-size: 44px;
  font-weight: 900;
}
.login-card h1 { margin: 0; font-size: 22px; }
.login-card p { color: #555; font-weight: 800; }
.phone-art {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  margin: 8px auto 20px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #fab028;
  font-weight: 900;
}
.login-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  text-align: left;
  color: #555;
  font-size: 13px;
  font-weight: 900;
}
.login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
}
.links {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 26px;
  color: #777;
  font-size: 13px;
  font-weight: 800;
}
.links button {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #777;
  font-size: 13px;
  font-weight: 800;
}
.login-card form > button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 900;
}
.error {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #ffe0e0;
  color: #a40000;
  font-size: 13px;
  font-weight: 900;
}
.success {
  margin: 0 0 10px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}
.phone-app {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 72px;
  background: #f3f3f3;
}
.topbar-mobile {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 52px;
  display: grid;
  grid-template-columns: 58px 1fr 56px;
  align-items: center;
  padding: 0 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.topbar-mobile strong {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #777;
  font-size: 13px;
}
.topbar-mobile strong span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fab028;
  color: #fff;
}
.topbar-mobile button {
  border: 0;
  background: transparent;
  color: #333;
  font-weight: 900;
}
.topbar-mobile .menu-button {
  width: 52px;
  min-height: 34px;
  padding: 0;
  text-align: left;
  font-size: 12px;
}
.screen-body { padding: 8px 7px 20px; }
.action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.action-row a,
.action-row button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fab028;
  font-size: 13px;
  font-weight: 900;
}
.action-row span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 50%;
  background: #fff;
  color: #fab028;
}
.user-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 800;
}
.user-line span:last-child { color: #13a356; text-align: right; }
.marquee {
  overflow: hidden;
  margin: 4px 0 10px;
  border-radius: 7px;
  background: #111;
  color: #ff2b2b;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.marquee span {
  display: inline-block;
  padding: 10px 16px;
  animation: marquee 16s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
.games { display: grid; gap: 7px; }
.game-row {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 8px;
  align-items: center;
  padding: 9px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.12);
}
.game-row h2 { margin: 0 0 4px; font-size: 13px; }
.game-type {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #111;
  color: #fab028;
  font-size: 9px;
  font-weight: 900;
}
.stars { color: #fab028; font-size: 9px; letter-spacing: 1px; }
.game-row p { margin: 0; font-size: 10px; font-weight: 700; }
.game-row .result-line { margin: 2px 0; color: #111; font-size: 11px; }
.game-row b { display: inline-block; margin-right: 12px; }
.side { display: grid; gap: 5px; justify-items: end; }
.side small { color: #d93c72; font-size: 9px; font-weight: 900; }
.side button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fab028;
  color: #111;
  font-size: 10px;
  font-weight: 900;
}
.side .running { color: #16a34a; }
.side .upcoming { color: #b7791f; }
.side .closed { color: #d93c72; }
.bottom-tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  width: min(100%, 540px);
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0,0,0,.14);
}
.bottom-tabs button {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 11px;
  font-weight: 800;
}
.bottom-tabs span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #333;
  font-size: 12px;
  font-weight: 900;
}
.bottom-tabs .active span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: -26px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #fab028;
  color: #111;
  box-shadow: 0 5px 12px rgba(0,0,0,.18);
}
.bottom-tabs button:not(.active) span {
  color: #555;
}
.app-panel {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.12);
}
.app-panel h2 { margin: 0; font-size: 18px; }
.profile-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.profile-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fab028;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.profile-card p { margin: 0; color: #777; font-size: 13px; font-weight: 800; }
.setting-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: #f6f6f6;
  color: #111;
  font-weight: 900;
}
.setting-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fab028;
  color: #fff;
}
.setting-row em { color: #777; font-size: 12px; font-style: normal; }
.danger-link span { background: #e53935; }
.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.panel-action {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 900;
}
.ledger-list {
  display: grid;
  gap: 8px;
}
.ledger-row {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: #f3f3f3;
  font-size: 12px;
}
.ledger-row small { color: #777; }
.fund-balance {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 10px;
  background: #111;
  color: #fff;
}
.fund-balance span { color: #fab028; font-size: 12px; font-weight: 900; }
.fund-balance strong { font-size: 34px; }
.locked-note,
.empty-state-mobile {
  padding: 12px;
  border-radius: 8px;
  background: #f6f6f6;
  color: #555;
  font-size: 13px;
  font-weight: 800;
}

.settings-screen {
  margin: -8px -7px 0;
  padding-bottom: 74px;
  background: #e5e5e5;
}
.settings-cover {
  min-height: 184px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 28px 16px 22px;
  background: #dedede;
  text-align: center;
}
.settings-cover h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.settings-cover p {
  margin: 0;
  color: #8b8b8b;
  font-size: 12px;
  font-weight: 900;
}
.settings-avatar-wrap {
  position: relative;
  width: 94px;
  height: 94px;
}
.settings-avatar {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #f06d49;
  color: #2b2b2b;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.camera-btn {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 30px;
  min-height: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fab028;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.settings-title {
  padding: 13px 16px 7px;
  color: #aaa;
  font-size: 12px;
  font-weight: 900;
}
.settings-list {
  overflow: hidden;
  margin: 0 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.settings-list-last {
  margin-bottom: 10px;
}
.settings-row {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 18px;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background: #fff;
  color: #262626;
  text-align: left;
}
.settings-row:last-child {
  border-bottom: 0;
}
.settings-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3d6;
  color: #fab028;
  font-size: 13px;
  font-weight: 900;
}
.settings-row strong {
  min-width: 0;
  color: #282828;
  font-size: 13px;
  font-weight: 900;
}
.settings-row em {
  color: #d7a12f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.settings-row b {
  color: #cfcfcf;
  font-size: 15px;
}
.settings-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  grid-column: 3 / 5;
  justify-self: end;
  border-radius: 999px;
  background: #d9d8e8;
}
.settings-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.16);
}
.settings-toggle.on {
  background: #fab028;
}
.settings-toggle.on::after {
  left: 21px;
}
.settings-row.danger-link {
  font: inherit;
  cursor: pointer;
}
.settings-row.danger-link .settings-icon {
  background: #ffe4e4;
  color: #e53935;
}
.settings-row.danger-link strong {
  color: #e53935;
}

.settings-row.has-toggle {
  grid-template-columns: 34px minmax(0, 1fr) 52px;
  grid-template-rows: auto auto;
}

.settings-row.has-toggle .settings-icon {
  grid-row: 1 / 3;
}

.settings-row.has-toggle em {
  grid-column: 2;
  grid-row: 2;
  text-align: left;
}

.settings-row.has-toggle .settings-toggle {
  grid-column: 3;
  grid-row: 1 / 3;
}

.funds-screen {
  display: grid;
  gap: 10px;
  padding: 10px 6px 82px;
}
.fund-action {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #342a3d;
  text-align: left;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.fund-icon {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 2px solid #fee48a;
  color: #e8c323;
  font-size: 15px;
  font-weight: 900;
}
.fund-action strong {
  min-width: 0;
  color: #3c3346;
  font-size: 14px;
  font-weight: 900;
}
.fund-action em {
  min-width: 0;
  color: #777;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.fund-action b {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff6cd;
  color: #f2bf24;
  font-size: 15px;
  font-weight: 900;
}

.drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0,0,0,.45);
}
.side-drawer {
  position: relative;
  width: min(82vw, 292px);
  min-height: 100vh;
  background: #efefef;
  color: #3c3346;
  box-shadow: 10px 0 24px rgba(0,0,0,.28);
}
.drawer-profile {
  min-height: 78px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: #fab028;
}
.drawer-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #6bb7e8;
  color: #fff;
  font-weight: 900;
}
.drawer-profile strong,
.drawer-profile span {
  display: block;
  line-height: 1.2;
}
.drawer-profile strong {
  font-size: 14px;
}
.drawer-profile span {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
}
.drawer-profile b {
  min-width: 42px;
  color: inherit;
  font-size: 13px;
  text-align: right;
}
.drawer-profile button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c3346;
  font-size: 22px;
  font-weight: 900;
}
.drawer-title {
  padding: 18px 20px 8px;
  color: #9b929f;
  font-size: 12px;
  font-weight: 900;
}
.drawer-list {
  display: grid;
  gap: 2px;
}
.drawer-list button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3c3346;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
}
.drawer-list button:active {
  background: #e5e5e5;
}
.drawer-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #6f6577;
  font-size: 13px;
  font-weight: 900;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.45);
}
.close-style-backdrop {
  align-items: center;
}
.game-modal {
  width: min(100%, 340px);
  position: relative;
  display: grid;
  gap: 12px;
  padding: 24px 18px 18px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.close-style-modal {
  width: min(100%, 300px);
  gap: 11px;
  padding: 26px 18px 12px;
  border-radius: 0;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffe4e4;
  color: #e53935;
  font-weight: 900;
}
.close-style-modal .modal-close {
  display: none;
}
.close-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: -8px auto 5px;
  border-radius: 50%;
  background: #f5dddd;
  color: #ff3030;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}
.close-style-modal h3 {
  margin: 0 0 8px;
  color: #f85e8d;
  font-size: 13px;
  font-weight: 900;
}
.game-modal h2 {
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.modal-result {
  margin: 0;
  color: #d40000;
  font-size: 22px;
  font-weight: 900;
}
.modal-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.modal-times span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: #f6f6f6;
  color: #777;
  font-size: 11px;
  font-weight: 900;
}
.modal-times strong {
  color: #111;
}
.close-time-table {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 2px auto 12px;
}
.close-time-table div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 30px;
  color: #b4b4b4;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}
.close-time-table strong {
  color: #9b9b9b;
  font-size: 11px;
  text-align: center;
}
.modal-ok {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: #fab028;
  color: #111;
  font-weight: 900;
}
.close-style-modal .modal-ok {
  min-height: 38px;
}

.fund-modal-backdrop {
  align-items: end;
  padding: 0;
}
.add-fund-modal {
  width: min(100%, 540px);
  display: grid;
  gap: 14px;
  padding: 0 16px 18px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 34px rgba(0,0,0,.26);
}
.fund-modal-head {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.fund-modal-head h2 {
  margin: 0;
  color: #222;
  font-size: 16px;
  text-align: center;
}
.fund-modal-head button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  font-weight: 900;
}
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.quick-amounts button {
  min-height: 38px;
  border: 1px solid #fab028;
  border-radius: 7px;
  background: #fff;
  color: #fab028;
  font-weight: 900;
}
.amount-field {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 12px;
  font-weight: 900;
}
.amount-field div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.amount-field span {
  min-height: 42px;
  display: grid;
  place-items: center;
  background: #f6f6f6;
  color: #555;
  font-weight: 900;
}
.amount-field input {
  width: 100%;
  min-height: 42px;
  border: 0;
  padding: 10px;
  font-size: 15px;
}
.pay-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #fab028;
  color: #fff;
  font-weight: 900;
}
.fund-message {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff7df;
  color: #8a6500;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.fund-done {
  min-height: 38px;
  border-radius: 8px;
}

.banner-slider {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #121212, #383838);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.banner-slider:is(button) {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.banner-slider.has-image {
  min-height: 118px;
  background-size: cover;
  background-position: center;
}
.banner-slider strong {
  color: #fab028;
  font-size: 22px;
  font-weight: 900;
}
.banner-slider span {
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 800;
}
.home-game-switch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 7px;
  margin: 8px 0;
  max-height: 176px;
  overflow-y: auto;
  padding-right: 2px;
}
.home-game-switch button,
.theme-choice button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 5px rgba(0,0,0,.1);
}
.all-game-lobby {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.all-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.lobby-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 4px 10px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #121212, #303030);
  color: #fff;
  text-align: left;
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
}
.lobby-card span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.lobby-card strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 900;
}
.lobby-card em {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.lobby-card-1 { background: linear-gradient(135deg, #0f5d8f, #23a7a1); }
.lobby-card-2 { background: linear-gradient(135deg, #246b3a, #80aa2d); }
.lobby-card-3 { background: linear-gradient(135deg, #8c2633, #e0644a); }
.lobby-card-4 { background: linear-gradient(135deg, #57308f, #b34ed0); }
.lobby-card-5 { background: linear-gradient(135deg, #8a5a12, #d69822); }
.play-type-screen {
  display: grid;
  gap: 10px;
  padding-bottom: 82px;
}
.play-type-screen h2 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}
.play-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.play-type-grid button {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  text-align: left;
  box-shadow: 0 1px 7px rgba(0,0,0,.1);
}
.play-type-grid strong {
  font-size: 13px;
  font-weight: 900;
}
.play-type-grid span {
  color: #777;
  font-size: 11px;
  font-weight: 800;
}

.phone-app[data-ludo="true"] .banner-slider,
.play-type-screen h2:first-child {
  letter-spacing: 0;
}

.action-row button:nth-child(2),
.action-row button:nth-child(3),
.home-game-switch button:nth-child(n+4) {
  background: #151515;
  color: #ffd25a;
}

.action-row button:nth-child(2) span,
.action-row button:nth-child(3) span {
  background: #ffd25a;
  color: #151515;
}

.play-type-screen .play-type-grid button {
  position: relative;
  overflow: hidden;
}

.play-type-screen .play-type-grid button::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px;
  height: 4px;
  border-radius: 999px;
  background: #fab028;
  opacity: .8;
}

@media (max-width: 380px) {
  .action-row,
  .home-game-switch {
    grid-template-columns: 1fr 1fr;
  }
}
.section-label {
  color: #777;
  font-size: 12px;
  font-weight: 900;
}
.drawer-pills {
  grid-template-columns: 1fr;
  padding-top: 8px;
}
.drawer-pills button {
  width: auto;
  margin: 0 12px;
  border-radius: 8px;
  background: #fff6dc;
}
.play-entry-modal {
  width: min(100%, 360px);
  text-align: left;
}
.play-entry-modal h2,
.play-entry-modal .modal-result {
  text-align: center;
}
.bid-entry-form {
  display: grid;
  gap: 10px;
}
.bid-entry-form label {
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 12px;
  font-weight: 900;
}
.bid-entry-form input,
.bid-entry-form select,
.amount-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: #111;
  font-size: 14px;
}
.mini {
  margin: 0;
  padding: 9px;
  border-radius: 8px;
  font-size: 12px;
}
.theme-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 14px 8px;
}
.theme-choice button {
  text-transform: capitalize;
}
.theme-choice .active {
  background: #fab028;
}
.soft-action {
  margin-top: 2px;
  background: #f6f6f6;
  color: #222;
}
.theme-clean {
  background: #eef3f5;
}
.theme-clean .topbar-mobile strong span,
.theme-clean .action-row button,
.theme-clean .modal-ok,
.theme-clean .pay-button,
.theme-clean .theme-choice .active {
  background: #2d9cdb;
  color: #fff;
}
.theme-clean .game-type,
.theme-clean .fund-balance {
  background: #17445d;
}
.theme-night {
  background: #191919;
}
.theme-night .screen-body,
.theme-night .phone-app {
  background: #191919;
}
.theme-night .game-row,
.theme-night .play-type-grid button,
.theme-night .app-panel,
.theme-night .fund-action,
.theme-night .settings-list,
.theme-night .home-game-switch button {
  background: #252525;
  color: #f6f6f6;
}
.theme-night .game-row p,
.theme-night .settings-row strong,
.theme-night .fund-action strong,
.theme-night .play-type-grid strong {
  color: #f6f6f6;
}

/* QuickCred-style mobile app skin */
body {
  background: #f5f6fb;
  color: #566a7f;
}
.login-screen {
  display: grid;
  align-items: center;
}
.login-card {
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}
.brand-mark {
  background: #eef0ff;
  color: #696cff;
  border-radius: 14px;
}
.login-card form > button,
.pay-button,
.modal-ok {
  background: #696cff;
  color: #fff;
  box-shadow: 0 2px 6px rgba(105,108,255,.35);
}
.phone-app {
  background: #f5f6fb;
}
.topbar-mobile {
  min-height: 60px;
  border-bottom: 1px solid #e8eaf2;
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}
.topbar-mobile strong {
  color: #566a7f;
  font-size: 12px;
}
.topbar-mobile strong span,
.bottom-tabs .active span,
.action-row span,
.fund-icon,
.settings-icon {
  background: #eef0ff;
  color: #696cff;
}
.topbar-mobile button {
  color: #566a7f;
}
.banner-slider {
  border-radius: 12px;
  background: linear-gradient(135deg, #696cff, #8c8eff);
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}
.banner-slider strong {
  color: #fff;
}
.action-row button,
.home-game-switch button,
.play-type-grid button,
.game-row,
.app-panel,
.fund-action,
.settings-list,
.ledger-row,
.add-fund-modal {
  border-radius: 12px;
  background: #fff;
  color: #566a7f;
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}
.action-row button {
  background: #696cff;
  color: #fff;
}
.home-game-switch button {
  color: #696cff;
}
.game-type {
  background: #eef0ff;
  color: #696cff;
}
.side button,
.quick-amounts button {
  background: #eef0ff;
  color: #696cff;
}
.bottom-tabs {
  border-top: 1px solid #e8eaf2;
  box-shadow: 0 -4px 18px rgba(67,89,113,.08);
}
.bottom-tabs .active span {
  border-color: #fff;
}
.side-drawer {
  background: #fff;
  box-shadow: 10px 0 24px rgba(67,89,113,.18);
}
.drawer-profile {
  background: #696cff;
  color: #fff;
}
.drawer-pills button {
  background: #eef0ff;
  color: #696cff;
}
.drawer-list button {
  color: #566a7f;
}
.settings-cover {
  background: linear-gradient(135deg, #696cff, #8c8eff);
}
.settings-cover.compact {
  min-height: 132px;
  padding: 18px 16px 16px;
}
.settings-cover p,
.settings-title,
.fund-action em,
.play-type-grid span,
.ledger-row small {
  color: #8592a3;
}
.theme-choice .active {
  background: #696cff;
  color: #fff;
}
.fund-balance {
  background: #696cff;
}
.fund-balance span {
  color: #dadaff;
}

/* Codex mobile linked pages polish */
.topbar-mobile strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.topbar-mobile strong span {
  flex: 0 0 auto;
}

.history-filter-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}

.history-filter-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.history-filter-card label {
  display: grid;
  gap: 6px;
  color: #566a7f;
  font-size: 11px;
  font-weight: 900;
}

.history-filter-card select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #e8eaf2;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #566a7f;
  font-size: 12px;
  font-weight: 800;
}

.history-filter-card button {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #fab028;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.history-table-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 4px;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 900;
}

.history-row {
  background: #fff;
}

.profile-mobile-page,
.guide-mobile-page,
.share-mobile-page,
.rate-list-mobile {
  display: grid;
  gap: 10px;
}

.profile-mobile-page .profile-card {
  border: 0;
  padding: 0 0 14px;
}

.profile-mobile-page h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 16px;
}

.rate-row-mobile {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #f8f6ff;
  box-shadow: 0 2px 7px rgba(47,43,66,.06);
}

.rate-row-mobile strong {
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.rate-row-mobile span {
  color: #d59a15;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.game-rate-card {
  gap: 14px;
}

.rate-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  padding: 0 6px;
}

.rate-tabs button {
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9b95a6;
  font-size: 12px;
  font-weight: 900;
}

.rate-tabs button.active {
  border-bottom-color: var(--mytka-yellow);
  color: var(--mytka-yellow-dark);
}

.rate-section {
  display: grid;
  gap: 10px;
}

.guide-mobile-page p {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8f7fb;
  color: #566a7f;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  white-space: pre-wrap;
}

.mobile-theme-choice {
  margin-top: 8px;
}

@media (max-width: 420px) {
  .phone-app {
    width: 100%;
  }

  .screen-body {
    padding: 8px 7px 86px;
  }

  .topbar-mobile {
    grid-template-columns: 50px minmax(0, 1fr) 58px;
  }

  .topbar-mobile strong {
    font-size: 11px;
  }

  .action-row a,
  .action-row button,
  .bottom-tabs button {
    font-size: 10px;
  }

  .play-type-grid {
    grid-template-columns: 1fr;
  }

  .rate-row-mobile {
    grid-template-columns: 1fr;
  }

  .rate-row-mobile span {
    text-align: left;
  }
}

/* Codex MYTKA-style yellow/white mobile theme */
:root {
  --mytka-yellow: #ffb72c;
  --mytka-yellow-dark: #f2a512;
  --mytka-bg: #f2f2f2;
  --mytka-text: #2f2b42;
  --mytka-muted: #6e6a78;
  --mytka-green: #35c981;
  --mytka-red: #ff1e31;
}

body {
  background: var(--mytka-bg);
  color: var(--mytka-text);
}

.phone-app,
.theme-clean,
.theme-night {
  background: var(--mytka-bg) !important;
  color: var(--mytka-text);
}

.theme-night .screen-body,
.theme-night .phone-app {
  background: var(--mytka-bg) !important;
}

.topbar-mobile {
  min-height: 58px;
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.topbar-mobile strong,
.topbar-mobile button {
  color: var(--mytka-text);
}

.topbar-mobile strong span,
.brand-mark,
.action-row span,
.bottom-tabs .active span,
.fund-icon,
.settings-icon,
.drawer-avatar {
  background: #fff8e8 !important;
  color: var(--mytka-yellow) !important;
}

.login-card form > button,
.pay-button,
.modal-ok,
.theme-clean .modal-ok,
.theme-clean .pay-button,
.history-filter-card button,
.theme-choice .active {
  background: var(--mytka-yellow) !important;
  color: var(--mytka-text) !important;
  box-shadow: 0 3px 10px rgba(255,183,44,.35) !important;
}

.banner-slider {
  min-height: 58px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 0;
  background: #fff !important;
  color: var(--mytka-text);
  box-shadow: 0 1px 5px rgba(0,0,0,.12);
}

.banner-slider strong {
  color: var(--mytka-text) !important;
  font-size: 18px;
}

.banner-slider span {
  color: var(--mytka-muted);
}

.action-row {
  gap: 8px;
  margin-bottom: 8px;
}

.action-row a,
.action-row button,
.theme-clean .action-row button {
  min-height: 42px;
  border-radius: 999px;
  background: var(--mytka-yellow) !important;
  color: var(--mytka-text) !important;
  box-shadow: 0 2px 6px rgba(255,183,44,.28);
}

.action-row button:nth-child(2),
.action-row button:nth-child(3) {
  background: var(--mytka-yellow) !important;
  color: var(--mytka-text) !important;
}

.user-line {
  color: var(--mytka-text);
}

.user-line span:last-child {
  color: #18aa62;
}

.marquee {
  border-radius: 0;
  background: transparent;
  color: var(--mytka-red);
  font-size: 15px;
  font-weight: 900;
}

.marquee span {
  padding: 5px 0 8px;
}

.home-game-switch {
  display: none;
}

.game-row,
.theme-night .game-row,
.app-panel,
.theme-night .app-panel,
.fund-action,
.theme-night .fund-action,
.ledger-row,
.theme-night .ledger-row,
.settings-list,
.theme-night .settings-list,
.play-type-grid button,
.theme-night .play-type-grid button,
.add-fund-modal {
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--mytka-text) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.14) !important;
}

.game-row {
  grid-template-columns: minmax(0, 1fr) 64px;
  min-height: 88px;
  padding: 10px 10px 10px 12px;
}

.game-row h2,
.theme-night .game-row h2 {
  color: var(--mytka-text) !important;
  font-size: 14px;
  letter-spacing: .2px;
}

.game-type {
  display: none;
}

.stars {
  color: var(--mytka-yellow) !important;
  font-size: 11px;
}

.game-row p,
.theme-night .game-row p {
  color: #111 !important;
  font-size: 12px;
}

.game-row .result-line {
  color: #111 !important;
  font-size: 12px;
}

.side {
  align-self: stretch;
  align-content: space-between;
}

.side small,
.side .running {
  color: var(--mytka-green) !important;
}

.side .closed,
.side .upcoming {
  color: var(--mytka-green) !important;
}

.side button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mytka-yellow) !important;
  color: #fff !important;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(255,183,44,.35);
}

.bottom-tabs {
  min-height: 66px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}

.bottom-tabs button {
  min-height: 66px;
  color: var(--mytka-text);
}

.bottom-tabs span {
  color: var(--mytka-text);
}

.bottom-tabs .active span {
  width: 50px;
  height: 50px;
  margin-top: -26px;
  border: 4px solid #fff;
  background: var(--mytka-yellow) !important;
  color: var(--mytka-text) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.panel-action {
  border-radius: 8px;
  background: #111 !important;
  color: #fff !important;
}

.quick-amounts button {
  border-color: var(--mytka-yellow);
  background: #fff8e8 !important;
  color: var(--mytka-yellow-dark) !important;
}

.amount-field select:focus,
.amount-field input:focus,
.bid-entry-form input:focus,
.bid-entry-form select:focus,
.login-card input:focus {
  outline: 2px solid rgba(255,183,44,.24);
  border-color: var(--mytka-yellow);
}

.drawer-profile,
.settings-cover {
  background: var(--mytka-yellow) !important;
  color: var(--mytka-text) !important;
}

.drawer-list button,
.drawer-profile strong,
.drawer-profile span,
.drawer-profile b {
  color: var(--mytka-text) !important;
}

.drawer-pills button {
  background: #fff8e8 !important;
  color: var(--mytka-text) !important;
}

/* Codex Matka777-style simple drawer */

/* 7Horses user app skin */
:root {
  --brand: #2f91dc;
  --brand-dark: #0b5c9c;
  --accent: #ffffff;
}

.app-shell,
.login-screen {
  background: #2f91dc !important;
}

.topbar,
.menu-panel,
.bottom-nav {
  background: linear-gradient(120deg, #4aa2e7, #2f86d2) !important;
}

.brand-badge,
.settings-avatar,
.profile-avatar {
  background: #ffffff !important;
  color: #2f86d2 !important;
}

.games,
.panel,
.wallet-card,
.profile-card {
  border-radius: 8px !important;
}

.game-card,
.panel-row,
.setting-row {
  border-radius: 7px !important;
}

.primary-btn,
.login-card form > button,
.add-money,
.play-submit {
  background: #0b5c9c !important;
  color: #ffffff !important;
}
.side-drawer {
  width: min(76vw, 302px);
  min-height: 100vh;
  overflow-y: auto;
  background: #f1f1f1 !important;
  box-shadow: 8px 0 20px rgba(0,0,0,.24) !important;
}

.drawer-profile {
  min-height: 84px;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  padding: 12px 16px;
  background: var(--mytka-yellow) !important;
}

.drawer-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  background: #fff !important;
  color: var(--mytka-yellow) !important;
}

.drawer-profile strong {
  color: var(--mytka-text) !important;
  font-size: 15px;
}

.drawer-profile span {
  color: var(--mytka-text) !important;
  font-size: 14px;
}

.drawer-profile button {
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--mytka-text) !important;
  font-size: 24px;
  line-height: 1;
}

.drawer-title {
  padding: 18px 20px 8px;
  color: #9a92a2;
  font-size: 13px;
  font-weight: 800;
}

.drawer-list {
  gap: 0;
}

.drawer-list button {
  min-height: 52px;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 9px 22px;
  color: #362b47 !important;
  font-size: 15px;
  font-weight: 700;
}

.drawer-list span {
  width: 24px;
  height: 24px;
  color: #362b47;
}

.settings-cover h2,
.settings-cover p {
  color: var(--mytka-text) !important;
}

.settings-toggle.on {
  background: var(--mytka-yellow) !important;
}

.fund-balance,
.theme-clean .fund-balance {
  background: #111 !important;
}

.fund-balance span {
  color: var(--mytka-yellow) !important;
}

/* Codex wallet/passbook clean yellow theme */
.wallet-balance-card,
.theme-clean .wallet-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  align-content: center;
  padding: 18px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffb72c, #ffc95f) !important;
  color: var(--mytka-text) !important;
  box-shadow: 0 6px 18px rgba(255,183,44,.28) !important;
}

.wallet-balance-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -46px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
}

.wallet-balance-card span {
  color: rgba(47,43,66,.78) !important;
  font-size: 13px;
  letter-spacing: 0;
}

.wallet-balance-card strong {
  color: #111;
  font-size: 42px;
  line-height: 1;
}

.wallet-balance-card em {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(47,43,66,.62);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-ledger-row {
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title amount"
    "note note"
    "date date";
  gap: 3px 10px;
  min-height: 72px;
  padding: 13px 14px;
  border-left: 4px solid var(--mytka-yellow);
}

.wallet-ledger-row strong {
  grid-area: title;
  color: var(--mytka-text);
  font-size: 13px;
  line-height: 1.2;
}

.wallet-ledger-row span {
  grid-area: note;
  color: #111;
  font-size: 13px;
  line-height: 1.25;
}

.wallet-ledger-row small {
  grid-area: date;
  color: var(--mytka-muted) !important;
  font-size: 11px;
}

@media (max-width: 420px) {
  .wallet-balance-card {
    min-height: 104px;
    padding: 16px 18px;
  }

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

  .wallet-ledger-row {
    padding: 12px;
  }
}

/* Codex user app button loader */
button,
a {
  position: relative;
}
.is-loading-action {
  pointer-events: none !important;
  opacity: .78 !important;
}
.is-loading-action::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: codexSpin .7s linear infinite;
  z-index: 4;
}
.is-loading-action > * {
  opacity: .25;
}
.codex-page-loader {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(246,247,251,.46);
  backdrop-filter: blur(2px);
  z-index: 9999;
}
.codex-page-loader.is-visible {
  display: grid;
}
.codex-page-loader__spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(105,108,255,.18);
  border-top-color: #696cff;
  border-radius: 50%;
  animation: codexSpin .75s linear infinite;
  box-shadow: 0 14px 36px rgba(105,108,255,.24);
}
@keyframes codexSpin { to { transform: rotate(360deg); } }

/* Codex mobile settings bottom spacing fix */
.phone-app {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.settings-screen {
  min-height: calc(100vh - 60px);
  padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px));
}

.settings-list-last {
  margin-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.bottom-tabs {
  min-height: calc(70px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-tabs button {
  min-height: 70px;
  padding-bottom: 8px;
}

.bottom-tabs .active span {
  margin-top: -18px;
}

.download-link-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.download-link-row button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #282828;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.download-panel-app a {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.settings-detail-card {
  display: grid;
  gap: 14px;
  margin: 12px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  color: #282828;
  box-shadow: 0 4px 18px rgba(67,89,113,.08);
}

.settings-detail-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.settings-detail-kicker,
.settings-detail-note {
  margin: 0;
  color: #8592a3;
  font-size: 13px;
  font-weight: 900;
}

.settings-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.settings-choice-grid button,
.settings-primary-action {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #282828;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.settings-choice-grid button.active,
.settings-primary-action {
  background: #fab028;
  color: #111;
}

.password-panel label {
  display: grid;
  gap: 7px;
  color: #566a7f;
  font-size: 13px;
  font-weight: 900;
}

.password-panel input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #e8eaf2;
  border-radius: 10px;
  background: #f8f9ff;
  color: #282828;
  font: inherit;
}

@media (max-width: 380px) {
  .settings-choice-grid {
    grid-template-columns: 1fr;
  }
}
