/* OffGamers PUBG Mobile direct top-up — 1:1 layout tokens */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,400;8..144,500;8..144,600&display=swap");

.md-content__inner:has(.og-pubg),
.md-content__inner:has(.og-pubg) > * {
  margin: 0;
  max-width: none;
}

.md-typeset:has(.og-pubg) {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #e5e7eb;
}

.md-typeset .og-pubg {
  --og-blue: #7c3aed;
  --og-blue-dark: #a78bfa;
  --og-ink: #f3f4f6;
  --og-muted: #9ca3af;
  --og-line: #2f2f35;
  --og-card: #1c1c1f;
  --og-bg: #141416;
  background: var(--og-bg);
  margin: -1.2rem -1.2rem 0;
  padding: 1.5rem 0 2.5rem;
}

.md-typeset .og-pubg__shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.md-typeset .og-pubg h1,
.md-typeset .og-pubg h2,
.md-typeset .og-pubg h3,
.md-typeset .og-pubg h4 {
  border: 0;
  padding: 0;
  letter-spacing: normal;
  color: var(--og-ink);
}

.md-typeset .og-pubg__crumb {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 12px;
}

.md-typeset .og-pubg__crumb a {
  color: #9ca3af;
  text-decoration: none;
}

.md-typeset .og-pubg__crumb a:hover {
  color: var(--og-blue-dark);
}

.md-typeset .og-pubg__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.md-typeset .og-pubg__hero-img {
  flex: 0 0 200px;
  width: 200px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #111114;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.md-typeset .og-pubg__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-typeset .og-pubg__hero-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.md-typeset .og-pubg__region {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--og-line);
  border-radius: 999px;
  background: #232327;
  color: var(--og-ink);
  font: inherit;
  font-size: 12px;
  cursor: default;
}

.md-typeset .og-pubg__region svg {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.md-typeset .og-pubg__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 960px) {
  .md-typeset .og-pubg__grid {
    grid-template-columns: 1fr;
  }
}

.md-typeset .og-pubg__card {
  background: var(--og-card);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--og-line);
  overflow: hidden;
}

.md-typeset .og-pubg__tabs {
  display: flex;
  gap: 0;
  padding: 0 0.5rem;
  background: #16161a;
}

.md-typeset .og-pubg__tab {
  flex: 1 1 50%;
  margin: 0;
  padding: 1rem 0.75rem 0.85rem;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: transparent;
  color: var(--og-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.md-typeset .og-pubg__tab.is-active {
  background: var(--og-card);
  color: var(--og-blue-dark);
  font-weight: 600;
}

.md-typeset .og-pubg__tab.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--og-blue);
}

.md-typeset .og-pubg__panel {
  padding: 1.1rem 1.25rem 1.35rem;
}

.md-typeset .og-pubg__userid {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #fb7185;
  border-radius: 12px;
  background: #111114;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.md-typeset .og-pubg__userid:focus {
  outline: none;
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.22);
}

.md-typeset .og-pubg__save {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  color: var(--og-muted);
  font-size: 12px;
}

.md-typeset .og-pubg__save input {
  width: 16px;
  height: 16px;
  accent-color: var(--og-blue-dark);
}

.md-typeset .og-pubg__save-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2a2a30;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
}

.md-typeset .og-pubg__divider {
  margin: 1.1rem 0;
  border: 0;
  border-top: 2px dotted #2f2f35;
}

.md-typeset .og-pubg__denom-title {
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
}

.md-typeset .og-pubg__denoms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 720px) {
  .md-typeset .og-pubg__denoms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.md-typeset .og-pubg__denom {
  position: relative;
  margin: 0;
  min-height: 52px;
  padding: 0.65rem 0.55rem;
  border: 1px solid var(--og-line);
  border-radius: 12px;
  background: #232327;
  color: var(--og-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.md-typeset .og-pubg__denom:hover {
  border-color: rgba(167, 139, 250, 0.45);
}

.md-typeset .og-pubg__denom.is-active {
  border-color: var(--og-blue);
  box-shadow: inset 0 0 0 1px var(--og-blue);
  color: var(--og-blue-dark);
  background: rgba(124, 58, 237, 0.16);
}

.md-typeset .og-pubg__denom-badge {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 12px;
  line-height: 1;
}

.md-typeset .og-pubg__denom.has-badge {
  padding-top: 1.15rem;
}

.md-typeset .og-pubg__sidebar {
  position: sticky;
  top: 4.5rem;
}

.md-typeset .og-pubg__checkout {
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 16px;
  background: #1c1c1f;
  border: 1px solid var(--og-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.md-typeset .og-pubg__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--og-line);
  border-radius: 999px;
  overflow: hidden;
  background: #232327;
}

.md-typeset .og-pubg__qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: #232327;
  color: var(--og-ink);
  font-size: 18px;
  cursor: pointer;
}

.md-typeset .og-pubg__qty-btn:hover {
  background: #2a2a30;
}

.md-typeset .og-pubg__qty-input {
  width: 42px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--og-line);
  border-right: 1px solid var(--og-line);
  background: #111114;
  color: #fff;
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.md-typeset .og-pubg__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1rem 0 0.25rem;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.md-typeset .og-pubg__price-currency {
  font-size: 28px;
}

.md-typeset .og-pubg__buy {
  width: 100%;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #2a2a30;
  color: rgba(255, 255, 255, 0.35);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: not-allowed;
}

.md-typeset .og-pubg__buy.is-ready {
  background: #ff4d5a;
  color: #fff;
  cursor: pointer;
}

.md-typeset .og-pubg__buy.is-ready:hover {
  background: #ff6370;
}

.md-typeset .og-pubg__note {
  margin: 0.75rem 0 0;
  color: var(--og-muted);
  font-size: 11px;
  line-height: 1.45;
}

.md-typeset .og-pubg__scam {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 90, 0.35);
  background: rgba(255, 77, 90, 0.12);
  color: #fecaca;
  font-size: 12px;
  line-height: 1.55;
}

.md-typeset .og-pubg__scam strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 13px;
}

.md-typeset .og-pubg__scam ul {
  margin: 0.35rem 0 0.35rem 1rem;
  padding: 0;
}

.md-typeset .og-pubg__below {
  margin-top: 1.5rem;
}

.md-typeset .og-pubg__overview {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--og-blue);
  border-radius: 0 10px 10px 0;
  background: rgba(124, 58, 237, 0.14);
  font-size: 13px;
  color: #ddd6fe;
}

.md-typeset .og-pubg__overview h2 {
  margin: 0 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
}

.md-typeset .og-pubg__overview p {
  margin: 0;
}

.md-typeset .og-pubg__content {
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  background: #1c1c1f;
  border: 1px solid var(--og-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.md-typeset .og-pubg__content h2 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
}

.md-typeset .og-pubg__content h3 {
  margin-top: 1.2rem;
  font-size: 14px;
  font-weight: 600;
}

.md-typeset .og-pubg__content p,
.md-typeset .og-pubg__content li {
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.65;
}

.md-typeset .og-pubg__region-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 600;
}

.md-typeset .og-pubg__region-banner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
