:root {
  --page: #f5f7fb;
  --page-soft: #eef3f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #172033;
  --muted: #667085;
  --line: #dfe6ef;
  --line-strong: #ccd6e2;
  --red: #df3347;
  --red-dark: #b92036;
  --blue: #2969d3;
  --blue-dark: #174da9;
  --yellow: #f5c441;
  --green: #178558;
  --green-soft: #eaf8f1;
  --orange: #a55a0b;
  --orange-soft: #fff7e6;
  --danger: #b4233a;
  --danger-soft: #fff0f2;
  --shadow-sm: 0 8px 24px rgba(21, 35, 56, 0.07);
  --shadow-md: 0 18px 48px rgba(21, 35, 56, 0.10);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

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

img {
  max-width: 100%;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(41, 105, 211, 0.10), transparent 30%),
    radial-gradient(circle at 95% 12%, rgba(223, 51, 71, 0.09), transparent 26%),
    linear-gradient(180deg, #fbfcfe 0, var(--page) 42%, var(--page-soft) 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(23, 32, 51, 0.11) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(204, 214, 226, 0.82);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-ball,
.login-ball,
.empty-ball {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 3px solid #172033;
  border-radius: 50%;
  background: linear-gradient(to bottom, var(--red) 0 44%, #172033 44% 56%, #ffffff 56% 100%);
  box-shadow: 0 5px 12px rgba(23, 32, 51, 0.18);
}

.brand-ball::before,
.login-ball::before,
.empty-ball::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 3px solid #172033;
  border-radius: 50%;
  background: #fff;
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.2px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: #435069;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-dark);
  background: #edf4ff;
}

.nav-link.nav-primary {
  color: #fff;
  background: var(--blue);
}

.nav-link.nav-primary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.nav-link.nav-quiet {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--ink);
}

.wrap {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 64px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 650;
}

.alert-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 1px;
}

.alert.success {
  border-color: #b9e2cf;
  color: #105f3e;
  background: var(--green-soft);
}

.alert.success .alert-icon {
  background: var(--green);
}

.alert.success .alert-icon::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}

.alert.error {
  border-color: #f0bdc6;
  color: #8d1730;
  background: var(--danger-soft);
}

.alert.error .alert-icon {
  background: var(--danger);
}

.alert.error .alert-icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 22px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.support-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 42px;
  border: 1px solid #d6e0ec;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 20%, rgba(245, 196, 65, 0.28), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 58%, #fff8e8 100%);
  box-shadow: var(--shadow-md);
}

.support-hero::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 28px solid rgba(223, 51, 71, 0.06);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1,
.page-heading h1,
.transfer-heading h1,
.login-intro h1 {
  margin: 0;
  max-width: 760px;
  color: #152138;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero-content > p,
.page-heading p,
.transfer-heading p,
.login-intro > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #35435b;
  font-size: 14px;
  font-weight: 700;
}

.hero-points i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-style: normal;
}

.account-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(204, 214, 226, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  font-size: 22px;
  font-weight: 850;
}

.account-copy,
.account-value {
  display: grid;
  gap: 3px;
}

.account-copy span,
.account-value span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-copy strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.account-value {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.account-value strong {
  color: var(--green);
  font-size: 23px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.support-disclosure,
.after-transfer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0;
  padding: 17px 19px;
  border: 1px solid #bfe2d1;
  border-radius: var(--radius-md);
  background: #f1fbf6;
}

.disclosure-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
}

.support-disclosure strong,
.after-transfer strong {
  color: #105f3e;
}

.support-disclosure p,
.after-transfer p {
  margin: 3px 0 0;
  color: #517062;
}

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

.support-card,
.history-card,
.transfer-card,
.login-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.support-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 28px;
}

.card-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.bank-line {
  background: linear-gradient(90deg, var(--blue), #69a0f0);
}

.card-line {
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.card-head h2,
.trust-section h2,
.login-card h2,
.card h2 {
  margin: 4px 0 5px;
  color: #18243a;
  font-size: 23px;
  line-height: 1.25;
}

.card-head p,
.login-card-head p,
.card .sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.method-icon {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.bank-icon {
  background: #eaf2ff;
}

.bank-icon::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 5px;
  border: 3px solid var(--blue);
  border-bottom: 0;
  transform: skewY(-10deg);
}

.bank-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 12px;
  height: 15px;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  background: repeating-linear-gradient(90deg, transparent 0 5px, var(--blue) 5px 8px);
}

.card-icon {
  background: #fff2ec;
}

.card-icon::before {
  content: "";
  position: absolute;
  inset: 12px 9px;
  border: 3px solid var(--red);
  border-radius: 5px;
}

.card-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 22px;
  height: 3px;
  background: var(--red);
  box-shadow: 0 7px 0 -1px var(--yellow);
}

.method-tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #edf4ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.method-tag.warm {
  color: #9b3f24;
  background: #fff1eb;
}

.form {
  display: grid;
  gap: 16px;
}

.field,
.gridform label {
  display: grid;
  gap: 7px;
}

.field label,
.form > label,
.gridform label {
  color: #34415a;
  font-size: 14px;
  font-weight: 760;
}

.field-row,
.row2,
.gridform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form input,
.form select,
.gridform input,
.gridform select,
.mini {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form input::placeholder,
.gridform input::placeholder {
  color: #98a2b3;
}

.form input:focus,
.form select:focus,
.gridform input:focus,
.gridform select:focus,
.mini:focus {
  border-color: #6d9de9;
  box-shadow: 0 0 0 4px rgba(41, 105, 211, 0.12);
}

.money-input {
  position: relative;
}

.money-input input {
  padding-right: 42px;
}

.money-input > span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 800;
}

.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amount-chips button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #45536b;
  background: var(--surface-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.amount-chips button:hover,
.amount-chips button.selected {
  border-color: #8fb4ee;
  color: var(--blue-dark);
  background: #edf4ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: #33405a;
  background: var(--surface);
  box-shadow: 0 4px 10px rgba(21, 35, 56, 0.04);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
.copy-btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.amount-chips button:focus-visible {
  outline: 3px solid rgba(41, 105, 211, 0.26);
  outline-offset: 2px;
}

.btn.primary {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.btn.primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.btn.secondary,
.btn.gold {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.btn.secondary:hover,
.btn.gold:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.btn.ghost {
  background: var(--surface-soft);
}

.btn.danger {
  border-color: #edb5bf;
  color: var(--danger);
  background: var(--danger-soft);
}

.btn.small {
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 12px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.wide-btn {
  width: 100%;
  margin-top: 2px;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.danger-note {
  color: var(--danger);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 30px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
  background: var(--surface-soft);
}

.empty-state > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

.trust-section {
  margin-top: 22px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.trust-section h2 {
  margin: 0 0 18px;
}

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

.trust-grid article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-grid article > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: #263a5b;
  font-weight: 850;
}

.trust-grid strong {
  display: block;
  margin-bottom: 3px;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: center;
  min-height: 610px;
}

.login-intro {
  padding: 22px 8px;
}

.login-benefits {
  display: grid;
  gap: 13px;
  max-width: 610px;
  margin-top: 30px;
}

.login-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.login-benefits > div > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.login-benefits p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.login-benefits small {
  color: var(--muted);
  font-size: 13px;
}

.login-card {
  padding: 28px;
}

.login-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.login-card-head h2 {
  margin: 0 0 4px;
}

.login-card-head p {
  font-size: 13px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.privacy-note span {
  color: var(--green);
  font-size: 9px;
  margin-top: 4px;
}

.back-game {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 750;
}

.page-heading,
.transfer-heading,
.adminbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.page-heading h1,
.transfer-heading h1 {
  font-size: clamp(32px, 4vw, 46px);
}

.page-heading p,
.transfer-heading p {
  margin-top: 10px;
  font-size: 15px;
}

.history-card {
  overflow: hidden;
  padding: 10px 18px 18px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 14px 12px;
  color: #6b778c;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.7px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf1f5;
  color: #34415a;
  font-size: 13px;
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.history-table {
  min-width: 920px;
}

.order-code {
  color: var(--blue-dark);
  white-space: nowrap;
}

.reward-value {
  color: var(--green);
  white-space: nowrap;
}

.method-label,
.status-badge,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}

.method-label.method-bank {
  color: var(--blue-dark);
  background: #edf4ff;
}

.method-label.method-card {
  color: #9b3f24;
  background: #fff1eb;
}

.status-badge.success,
.badge.paid,
.badge.success {
  color: #11613f;
  background: var(--green-soft);
}

.status-badge.waiting,
.badge.pending,
.badge.waiting_callback,
.badge.review,
.badge.submitting {
  color: #8a510f;
  background: var(--orange-soft);
}

.status-badge.danger,
.badge.failed,
.badge.submit_failed {
  color: var(--danger);
  background: var(--danger-soft);
}

.status-copy {
  min-width: 250px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-history {
  display: grid;
  justify-items: center;
  padding: 64px 20px;
  text-align: center;
}

.empty-history .empty-ball {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.empty-history h2 {
  margin: 0;
  font-size: 24px;
}

.empty-history p {
  max-width: 460px;
  margin: 8px 0 20px;
  color: var(--muted);
}

.transfer-heading {
  align-items: flex-start;
}

.transfer-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 28px;
}

.qr-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  text-align: center;
}

.qr-frame {
  max-width: 320px;
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}

.qr-frame img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.qr-panel strong {
  display: block;
  color: #27344d;
}

.qr-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.transfer-info {
  display: grid;
  align-content: start;
  gap: 10px;
}

.transfer-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.transfer-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.transfer-row > strong {
  overflow-wrap: anywhere;
  color: #26344f;
  font-size: 16px;
}

.copy-row {
  grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1fr) auto;
}

.highlight-row {
  border-color: #b9d0f1;
  background: #f4f8ff;
}

.highlight-row > strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.content-row {
  border-color: #efc6cd;
  background: #fff7f8;
}

.content-row > strong {
  color: var(--red-dark);
  font-size: 22px;
  letter-spacing: 1px;
}

.copy-btn {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--blue-dark);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.important-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  padding: 13px 14px;
  border: 1px solid #efd7a7;
  border-radius: 14px;
  color: #73460f;
  background: #fff9ec;
}

.important-note > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #bd7114;
  font-weight: 900;
}

.important-note p {
  margin: 0;
  font-size: 13px;
}

.transfer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.after-transfer {
  margin-top: 18px;
}

.footer {
  border-top: 1px solid rgba(204, 214, 226, 0.9);
  background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: #26344f;
}

.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  padding: 13px 16px;
  border-top: 1px solid #edf0f4;
  color: #7b8798;
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border-radius: 12px;
  color: #fff;
  background: #172033;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
  font-weight: 750;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Khu vực quản trị */
.card {
  margin-bottom: 20px;
  padding: 24px;
}

.adminbar.card {
  align-items: center;
}

.adminbar h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

.adminbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

.adminnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.adminnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #4a566b;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 780;
}

.adminnav a.active,
.adminnav a:hover {
  border-color: #b8ceeD;
  color: var(--blue-dark);
  background: #edf4ff;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.stat {
  min-width: 0;
  margin-bottom: 0;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.stat b {
  display: block;
  margin-top: 6px;
  color: #1f2d45;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-help {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-help p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-help details {
  width: min(100%, 540px);
}

.admin-help summary,
.advanced-box summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 780;
}

.admin-help code,
.advanced-box code,
.code-box {
  display: block;
  max-width: 100%;
  margin-top: 10px;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #2f3c54;
  background: var(--surface-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.gridform .wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 3px 2px 0;
}

.mini {
  width: 112px;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
}

.empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.admin-table {
  min-width: 920px;
}

.admin-table td {
  font-size: 12px;
}

.admin-table .technical-detail {
  margin-top: 6px;
}

.technical-detail summary {
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.technical-detail p {
  max-width: 340px;
  margin: 5px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.info-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.info-list b {
  overflow-wrap: anywhere;
  color: #33405a;
  font-size: 13px;
}

.advanced-box {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-login {
  max-width: 500px;
  margin: 70px auto;
}

@media (max-width: 980px) {
  .support-hero,
  .login-shell,
  .transfer-card {
    grid-template-columns: 1fr;
  }

  .support-hero {
    padding: 34px;
  }

  .account-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
  }

  .account-avatar {
    margin: 0;
  }

  .account-value {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
  }

  .account-panel .text-link {
    grid-column: 2 / -1;
    margin-top: 0;
  }

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

  .login-shell {
    min-height: auto;
  }

  .login-intro {
    padding-bottom: 0;
  }

  .transfer-card {
    gap: 20px;
  }

  .qr-panel {
    width: min(100%, 440px);
    margin: 0 auto;
  }

  .adminbar,
  .admin-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .adminnav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(21, 35, 56, 0.10);
  }

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

  .nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .wrap {
    margin-top: 20px;
  }

  .support-hero {
    padding: 26px;
    border-radius: 24px;
  }

  .hero-content h1,
  .login-intro h1 {
    font-size: clamp(32px, 10vw, 46px);
    letter-spacing: -1px;
  }

  .hero-content > p,
  .login-intro > p {
    font-size: 15px;
  }

  .account-panel {
    grid-template-columns: auto 1fr;
  }

  .account-value {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .account-panel .text-link {
    grid-column: 1 / -1;
  }

  .support-grid,
  .trust-grid,
  .grid.two,
  .grid.four,
  .field-row,
  .row2,
  .gridform {
    grid-template-columns: 1fr;
  }

  .support-card,
  .login-card,
  .card {
    padding: 22px;
    border-radius: 22px;
  }

  .trust-section {
    padding: 22px;
  }

  .page-heading,
  .transfer-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading .btn,
  .transfer-actions .btn {
    width: 100%;
  }

  .history-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .history-table-wrap {
    overflow: visible;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table {
    min-width: 0;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody {
    display: grid;
    gap: 14px;
  }

  .responsive-table tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .responsive-table td {
    display: grid;
    grid-template-columns: minmax(115px, 0.65fr) minmax(0, 1.35fr);
    gap: 12px;
    align-items: start;
    padding: 11px 14px;
    border-bottom: 1px solid #edf1f5;
    text-align: right;
  }

  .responsive-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: left;
    text-transform: uppercase;
  }

  .responsive-table td:last-child {
    border-bottom: 0;
  }

  .status-copy {
    min-width: 0;
  }

  .transfer-row,
  .copy-row {
    grid-template-columns: 1fr auto;
    gap: 7px 10px;
  }

  .transfer-row > span {
    grid-column: 1 / -1;
  }

  .transfer-row > strong {
    align-self: center;
  }

  .transfer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .gridform .wide,
  .form-actions {
    grid-column: auto;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .topbar-inner,
  .wrap,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand-copy small {
    display: none;
  }

  .support-hero {
    padding: 22px 20px;
  }

  .hero-points {
    display: grid;
  }

  .support-disclosure,
  .after-transfer {
    padding: 14px;
  }

  .after-transfer {
    display: block;
  }

  .after-transfer p {
    margin-top: 5px;
  }

  .card-head {
    gap: 11px;
  }

  .method-icon {
    width: 44px;
    height: 44px;
  }

  .card-head h2 {
    font-size: 20px;
  }

  .support-card,
  .login-card,
  .card,
  .transfer-card {
    padding: 18px;
  }

  .amount-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .amount-chips button {
    width: 100%;
  }

  .transfer-actions {
    grid-template-columns: 1fr;
  }

  .responsive-table td {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }

  .adminnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .adminnav a {
    justify-content: center;
    text-align: center;
  }

  .inline {
    display: flex;
    width: 100%;
  }

  .inline .mini,
  .inline .btn {
    flex: 1 1 auto;
  }
}

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

/* QR tổng hợp NAPAS */
.support-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.momo-line { background: linear-gradient(90deg, #a50064, #d82d8b); }
.momo-card { border-color: #f0d4e4; }
.momo-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: #a50064;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -2px;
}
.momo-tag { color: #861054; background: #fbeaf4; }
.momo-button {
  color: #fff;
  background: #a50064;
  border-color: #a50064;
}
.momo-button:hover { background: #8b0055; border-color: #8b0055; }
.method-label.method-momo, .method-label.method-qr { color: #861054; background: #fbeaf4; }
.momo-transfer-card { border-color: #efd4e4; }
.momo-qr-panel { background: #fff8fc; }
.momo-qr-frame { border-color: #efc9df; }
.momo-amount-row { background: #fff0f8; border-color: #efc5dc; }
.momo-countdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #f0d4e4;
  border-radius: 14px;
  color: #6f4961;
  background: #fff8fc;
  font-size: 13px;
}
.momo-countdown strong { color: #8b0055; font-size: 16px; }
.success-note { color: #12613f; border-color: #bfe4d0; background: #effaf4; }
.order-continue { display: block; margin-top: 6px; color: #8b0055; font-size: 12px; font-weight: 800; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.admin-warning { padding: 14px 16px; border: 1px solid #f1d29d; border-radius: 14px; color: #7d4b0e; background: #fff8e9; }

@media (max-width: 1180px) {
  .support-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid-three .support-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .support-grid-three { grid-template-columns: 1fr; }
  .support-grid-three .support-card:last-child { grid-column: auto; }
  .admin-section-heading { align-items: stretch; flex-direction: column; }
  .admin-section-heading .btn { width: 100%; }
  .momo-countdown { align-items: flex-start; flex-direction: column; }
}


/* Xác nhận bắt buộc số tiền lẻ QR tổng hợp */
.exact-amount-preview-note {
  margin: 2px 0 14px;
  padding: 13px 14px;
  border: 1px solid #f0bdc6;
  border-radius: 14px;
  color: #7f1930;
  background: #fff4f6;
}

.exact-amount-preview-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.exact-amount-preview-note p {
  margin: 0;
  font-size: 13px;
}

.exact-payment-box {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 22px 16px 18px;
  border: 2px solid #d92646;
  border-radius: 18px;
  background: #fff4f6;
  text-align: center;
  box-shadow: 0 10px 28px rgba(185, 32, 54, 0.13);
}

.exact-payment-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: #d92646;
}

.exact-payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: #b92036;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.exact-payment-label {
  color: #7f1930;
  font-size: 14px;
  font-weight: 800;
}

.exact-payment-amount {
  color: #b92036;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.exact-payment-box p {
  margin: 1px 0 0;
  color: #7f1930;
  font-size: 13px;
  font-weight: 700;
}

.exact-copy-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-color: #e3a8b3;
  color: #9b1c35;
  font-size: 13px;
}

body.modal-locked {
  overflow: hidden;
}

.exact-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 18px;
}

.exact-confirm-modal.is-open {
  display: grid;
}

.exact-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.exact-confirm-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #efb3be;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.exact-confirm-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #fff;
  background: #d92646;
  font-size: 32px;
  font-weight: 900;
}

.exact-confirm-kicker {
  color: #b92036;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.exact-confirm-dialog h2 {
  margin: 5px 0 8px;
  color: #172033;
  font-size: 27px;
  line-height: 1.2;
}

.exact-confirm-dialog > p {
  margin: 0;
  color: #5d6678;
}

.exact-confirm-amount {
  margin: 16px 0 8px;
  padding: 16px 12px;
  border: 2px solid #d92646;
  border-radius: 16px;
  color: #b92036;
  background: #fff4f6;
  font-size: clamp(36px, 8vw, 50px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.exact-confirm-dialog .exact-confirm-example {
  margin: 0 0 14px;
  color: #7f1930;
  font-size: 13px;
}

.exact-confirm-warning {
  display: grid;
  gap: 2px;
  margin: 15px 0;
  padding: 13px 14px;
  border: 1px solid #f0bdc6;
  border-radius: 14px;
  color: #7f1930;
  background: #fff4f6;
  text-align: left;
}

.exact-confirm-warning strong {
  font-size: 15px;
}

.exact-confirm-warning span {
  font-size: 13px;
}

.exact-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
}

.exact-confirm-check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #b92036;
}

.exact-confirm-check span {
  color: #344054;
  font-size: 14px;
}

.exact-confirm-button {
  width: 100%;
  min-height: 50px;
  border-color: #b92036;
  background: #b92036;
}

.exact-confirm-button:hover {
  border-color: #96172b;
  background: #96172b;
}

.exact-confirm-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .exact-confirm-modal {
    align-items: end;
    padding: 10px;
  }

  .exact-confirm-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 22px 16px 18px;
    border-radius: 22px;
  }

  .exact-confirm-dialog h2 {
    font-size: 23px;
  }

  .exact-confirm-icon {
    width: 48px;
    height: 48px;
    font-size: 27px;
  }

  .exact-payment-box {
    padding-inline: 12px;
  }
}

/* ===== PokeWeb Event Center ===== */
code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}code{padding:2px 6px;border-radius:7px;background:#edf2f8;color:#27364d}pre{overflow:auto;padding:16px;border-radius:14px;background:#111827;color:#f8fafc}
.event-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:38px;border:1px solid var(--line);border-radius:30px;background:linear-gradient(135deg,#fff 0%,#f6f9ff 65%,#fff2f3 100%);box-shadow:var(--shadow-md);overflow:hidden}.event-hero-copy h1,.page-heading h1{margin:8px 0 10px;font-size:clamp(30px,5vw,52px);line-height:1.08}.event-hero-copy>p,.page-heading p{max-width:720px;margin:0;color:var(--muted);font-size:17px}.event-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.event-countdown{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;border-radius:24px;background:#172033;color:#fff;text-align:center;box-shadow:0 16px 36px rgba(23,32,51,.2)}.event-countdown span,.event-countdown small{color:#cbd5e1}.event-countdown strong{margin:10px 0;font-size:23px}.account-strip{display:grid;grid-template-columns:auto repeat(5,minmax(0,1fr));gap:14px;align-items:center;margin:22px 0;padding:18px 22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.account-strip>div:not(.account-avatar){display:grid;gap:2px}.account-strip span{color:var(--muted);font-size:12px;font-weight:700}.account-strip strong{font-size:16px}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.feature-card{position:relative;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.feature-card.premium{background:linear-gradient(145deg,#fffaf0,#fff)}.feature-card h2{margin:14px 0 8px}.feature-card p{min-height:78px;margin:0 0 12px;color:var(--muted)}.feature-card a{color:var(--blue);font-weight:800}.feature-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#edf4ff;color:var(--blue);font-weight:900}.egg-premium{background:#fff0cd;color:#a55a0b}.coin-icon{background:#eaf8f1;color:#178558}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.page-heading h1{font-size:clamp(30px,4vw,44px)}.balance-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.balance-pills span{padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px}.balance-pills b{margin-left:5px;color:var(--ink)}.wheels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.wheel-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;padding:26px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow-md);overflow:hidden}.premium-wheel-card{background:linear-gradient(145deg,#fffdf8,#fff7e5)}.wheel-visual{position:relative;display:grid;place-items:center;min-height:250px;border-radius:22px;background:radial-gradient(circle,#fff 0 24%,#eaf1fc 25% 49%,#d9e5f6 50% 52%,#f8fafc 53%)}.premium-wheel{background:radial-gradient(circle,#fff 0 24%,#fff0c7 25% 49%,#e5b946 50% 52%,#fffaf0 53%)}.wheel-visual i{position:absolute;inset:18px;border:2px dashed rgba(41,105,211,.35);border-radius:50%}.premium-wheel i{border-color:rgba(165,90,11,.35)}.egg-core{position:relative;z-index:2;display:grid;place-items:center;width:86px;height:108px;border:5px solid #172033;border-radius:50% 50% 45% 45%;background:linear-gradient(145deg,#fff,#dce9fb);font-size:34px;font-weight:950;box-shadow:0 18px 30px rgba(23,32,51,.18)}.premium-wheel .egg-core{background:linear-gradient(145deg,#fff9e9,#f5c441)}.wheel-card.is-spinning .wheel-visual i{animation:pwe-spin .65s linear infinite}.wheel-card.is-spinning .egg-core{animation:pwe-bounce .45s ease-in-out infinite alternate}@keyframes pwe-spin{to{transform:rotate(360deg)}}@keyframes pwe-bounce{to{transform:translateY(-9px) rotate(3deg)}}.wheel-copy h2{margin:10px 0 6px;font-size:28px}.wheel-copy p{color:var(--muted)}.wheel-copy ul{padding-left:20px;color:#435069}.wheel-copy li{margin:7px 0}.premium-btn{color:#172033;background:linear-gradient(135deg,#f8d568,#f4bd24);box-shadow:0 10px 24px rgba(165,90,11,.18)}.premium-btn:hover{background:linear-gradient(135deg,#f5c441,#e6a80a)}button:disabled,.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.centered{display:block;margin-top:12px;text-align:center}.result-card{position:relative;margin-bottom:22px;padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;text-align:center;box-shadow:var(--shadow-md);overflow:hidden}.result-card h2{position:relative;margin:7px 0;font-size:34px}.result-card p,.result-card small,.result-label,.result-meta{position:relative}.result-label{color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.09em}.result-meta{display:flex;justify-content:center;gap:12px;margin:14px 0}.result-meta span{padding:7px 11px;border-radius:999px;background:#f1f5f9;font-size:13px;font-weight:700}.result-burst{position:absolute;left:50%;top:50%;width:420px;height:420px;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,rgba(245,196,65,.14) 0 8deg,transparent 8deg 18deg);border-radius:50%}.reward-preview{margin-top:26px;padding:26px;border:1px solid var(--line);border-radius:24px;background:#fff}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-title h2,.section-title h3{margin:0}.preview-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.reward-chip-list{display:flex;flex-wrap:wrap;gap:9px}.reward-chip{display:grid;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.reward-chip small{color:var(--muted)}.rarity-common{border-color:#d7dee8!important}.rarity-uncommon{border-color:#8fd1b3!important;background:#f2fbf7!important}.rarity-rare{border-color:#85b8f3!important;background:#f1f7ff!important}.rarity-epic{border-color:#c7a3ef!important;background:#faf5ff!important}.rarity-legendary{border-color:#f0c551!important;background:#fffaf0!important}.exchange-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.exchange-card{position:relative;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.exchange-card img,.reward-placeholder{width:72px;height:72px;border-radius:18px;object-fit:cover}.reward-placeholder{display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-size:26px;font-weight:900}.rarity-badge{display:inline-flex;margin-top:14px;padding:4px 8px;border-radius:999px;background:#eef2f7;font-size:11px;font-weight:850}.exchange-card h2{margin:9px 0 5px}.exchange-card p{min-height:48px;color:var(--muted)}.exchange-card>small{display:block;min-height:40px}.exchange-stock{display:flex;justify-content:space-between;margin:16px 0;padding:10px;border-radius:12px;background:#f8fafc}.coin-balance{min-width:170px;padding:16px 20px;border-radius:20px;background:#172033;color:#fff;text-align:center}.coin-balance span,.coin-balance small{display:block;color:#cbd5e1}.coin-balance strong{font-size:32px}.history-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.history-main,.history-side,.rules-card,.admin-panel{padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.history-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.history-row:first-of-type{border-top:0}.history-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:13px;font-weight:900}.history-row>div:nth-child(2){display:grid}.history-row span,.history-row small,.claim-row small{color:var(--muted)}.history-status{text-align:right}.history-status b,.history-status small{display:block}.status-delivered{color:var(--green)}.status-pending,.status-reserved,.status-processing{color:var(--orange)}.status-failed{color:var(--danger)}.claim-row{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid var(--line)}.claim-row>div{display:grid}.claim-row>div:last-child{text-align:right}.rules-card{font-size:16px}.rules-card h2{margin-top:22px}.rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.rules-grid article{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.rules-grid h2{margin-top:0;font-size:18px}.empty-state-page,.admin-install{padding:50px 28px;border:1px solid var(--line);border-radius:26px;background:#fff;text-align:center;box-shadow:var(--shadow-md)}.admin-install{max-width:760px;margin:40px auto}.install-form{max-width:420px;margin:20px auto}.security-note{margin-top:24px;color:var(--muted)}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.admin-stat-grid article{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.admin-stat-grid span{display:block;color:var(--muted);font-weight:700}.admin-stat-grid strong{display:block;margin-top:8px;font-size:30px}.danger-stat{border-color:#ffc2cb!important;background:#fff5f6!important}.admin-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.admin-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.admin-table th{position:sticky;top:0;z-index:2;background:#f7f9fc;color:#526078;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.admin-table td>strong,.admin-table td>small{display:block}.admin-table td>small{color:var(--muted)}.status-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2f7;font-size:11px;font-weight:850}.quick-admin-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.quick-admin-links a{display:grid;gap:4px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.quick-admin-links span{color:var(--muted);font-size:13px}.admin-form{display:grid;gap:18px}.form-section h2{margin-top:0}.form-section h3{margin:8px 0 16px}.form-section h4{margin:22px 0 10px}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,1fr)}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.four{grid-template-columns:repeat(4,1fr)}.form-grid.six{grid-template-columns:repeat(6,1fr)}.field.full{grid-column:1/-1}.field small{display:block;margin-top:5px;color:var(--muted)}textarea{width:100%;padding:12px 13px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;color:var(--ink);font:inherit;resize:vertical}.toggle-row,.toggle-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.toggle-row label,.toggle-grid label,.check-card{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;font-weight:700}.check-card span{display:grid}.check-card small{color:var(--muted);font-weight:500}.sticky-actions{position:sticky;bottom:12px;z-index:20;display:flex;gap:10px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 14px 40px rgba(23,32,51,.16);backdrop-filter:blur(12px)}.payload-section{padding-top:5px}.pokemon-fields{display:grid;gap:8px}.move-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.move-card{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.move-card>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.move-card input{min-width:0}.weight-summary{display:flex;align-items:center;gap:24px;margin-bottom:18px;padding:16px 20px;border:1px solid #c7d8ef;border-radius:18px;background:#f4f8ff}.weight-summary div{min-width:180px}.weight-summary span,.weight-summary p{color:var(--muted)}.weight-summary strong{display:block;font-size:25px}.weight-summary p{margin:0}.row-actions{display:flex;flex-wrap:wrap;gap:7px}.row-actions form{display:flex;flex-wrap:wrap;gap:5px}.row-actions a,.row-actions button,.catalog-row button,.row-action-stack button,.user-adjust button{padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;cursor:pointer;font-size:12px;font-weight:750}.admin-tabs{display:flex;gap:8px;margin:0 0 18px}.admin-tabs a{padding:9px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:800}.admin-tabs a.active{border-color:#9dbdeb;background:#edf4ff;color:var(--blue-dark)}.catalog-layout{display:grid;grid-template-columns:420px minmax(0,1fr);gap:20px}.catalog-list{display:grid;max-height:780px;overflow:auto}.catalog-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.catalog-row:first-child{border-top:0}.catalog-row>div:nth-child(2){display:grid}.catalog-row small{color:var(--muted)}.catalog-thumb{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4ff;color:var(--blue);font-weight:900}.catalog-thumb img{width:100%;height:100%;border-radius:12px;object-fit:cover}.integration-status{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.integration-status>div{display:grid;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.integration-status .ok{border-color:#a7dfc8;background:#f1fbf6}.integration-status .warn{border-color:#f3d291;background:#fffaf0}.integration-status span{color:var(--muted);font-size:13px}.row-action-stack,.user-adjust{display:grid;gap:5px}.user-adjust input{width:88px;padding:6px;border:1px solid var(--line);border-radius:8px}.action-field{align-self:end}
@media(max-width:1050px){.event-hero{grid-template-columns:1fr}.event-countdown{min-height:160px}.account-strip{grid-template-columns:auto repeat(3,1fr)}.account-strip>div:nth-last-child(-n+2){grid-column:span 1}.wheel-card{grid-template-columns:150px 1fr}.admin-grid,.catalog-layout{grid-template-columns:1fr}.form-grid.four{grid-template-columns:repeat(2,1fr)}.form-grid.six{grid-template-columns:repeat(3,1fr)}.move-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.event-grid,.exchange-grid,.rules-grid,.preview-columns,.wheels-grid,.history-layout,.admin-stat-grid,.quick-admin-links,.integration-status{grid-template-columns:1fr}.event-hero{padding:25px}.account-strip{grid-template-columns:auto 1fr 1fr}.account-strip>div{min-width:0}.wheel-card{grid-template-columns:1fr}.wheel-visual{min-height:200px}.page-heading{align-items:flex-start;flex-direction:column}.balance-pills{justify-content:flex-start}.form-grid.two,.form-grid.three,.form-grid.four,.form-grid.six{grid-template-columns:1fr}.move-grid{grid-template-columns:1fr}.sticky-actions{position:static;flex-wrap:wrap}.weight-summary{align-items:flex-start;flex-direction:column}.catalog-layout{grid-template-columns:1fr}.result-meta{flex-direction:column}.history-side{order:-1}}
.winner-board{margin:24px 0;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.winner-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.winner-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px}.winner-row div{display:grid}.winner-row small{color:var(--muted)}.winner-dot{width:11px;height:11px;border-radius:50%;background:#f5c441;box-shadow:0 0 0 5px rgba(245,196,65,.17)}@media(max-width:760px){.winner-list{grid-template-columns:1fr}}
