/* Web product icon treatments, product grid and product cards. */
.md-icon-playstation {
  background:
    radial-gradient(circle at 32% 26%, #5ce4ff 0 13%, transparent 14%),
    linear-gradient(145deg, #165aff, #081c74 72%, #151923 73%);
}

.md-icon-playstation::after {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 18%;
  height: 14%;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  transform: rotate(-8deg);
}

.md-icon-roblox {
  background:
    radial-gradient(circle at 34% 26%, #62d7ff, transparent 28%),
    linear-gradient(145deg, #1173ff, #07194f 74%);
}

.md-icon-roblox::after {
  content: "";
  position: absolute;
  width: 36%;
  height: 36%;
  border-radius: 7px;
  background: linear-gradient(145deg, #72e2ff, #164eff);
  box-shadow: 0 0 0 8px rgba(22, 78, 255, 0.28);
  transform: rotate(16deg);
}

.md-icon-roblox::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 9%;
  height: 9%;
  border-radius: 2px;
  background: #061648;
  transform: rotate(16deg);
}

.md-icon-pubg {
  background:
    linear-gradient(180deg, rgba(255, 226, 100, 0.16), transparent 42%),
    linear-gradient(145deg, #f0a428, #513610 68%, #151923 69%);
}

.md-icon-pubg > span {
  padding: 4px 7px;
  border: 2px solid rgba(255, 235, 158, 0.9);
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0;
}

.md-icon-ml {
  background:
    radial-gradient(circle at 35% 25%, #9be7ff 0 11%, transparent 12%),
    linear-gradient(145deg, #223dff, #7c36ff 62%, #151923 63%);
}

.md-icon-ml::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 16%;
  width: 19%;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffec7a, #ff9c34);
  transform: rotate(35deg);
}

.md-icon-any-game {
  background:
    radial-gradient(circle at 34% 26%, #72e7ff 0 12%, transparent 13%),
    linear-gradient(145deg, #2933d9, #111827 72%);
}

.md-icon-any-game::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.78);
}

.md-action-icon.md-icon-steam::after,
.md-action-icon.md-icon-playstation::after,
.md-action-icon.md-icon-ml::after,
.md-action-icon.md-icon-any-game::after {
  transform: scale(0.72);
}

.md-action-icon.md-icon-pubg {
  font-size: 0;
}

.md-action-icon.md-icon-pubg::after {
  content: "PUBG";
  position: relative;
  z-index: 2;
  padding: 2px 4px;
  border: 1px solid rgba(255, 235, 158, 0.9);
  border-radius: 3px;
  font-size: 9px;
}

.md-action-icon.md-icon-roblox::after {
  width: 34%;
  height: 34%;
  border-radius: 5px;
}

.md-action-icon.md-icon-roblox::before {
  width: 8%;
  height: 8%;
}

.md-product-icon--asset {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.md-action-icon--asset {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.md-product-icon--asset img,
.md-action-icon--asset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.md-product-badge {
  position: absolute;
  top: 2px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4d63;
}

.md-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.md-section-head h2 {
  font-size: 32px;
  font-weight: 600;
}

.md-section-head p {
  color: #bfc3ce;
  font-size: 17px;
}

.md-action-list {
  display: grid;
  gap: 12px;
}

.md-action-list button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 0 18px;
}

.md-autopay-shell {
  display: grid;
  gap: 16px;
}

.md-panel-top,
.md-autopay-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.md-panel-top {
  margin-bottom: 18px;
}

.md-panel-top .md-section-head {
  margin-bottom: 0;
}

.md-step-back {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #24262d;
  color: #f7f8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.md-step-back[hidden] {
  display: none;
}

.md-step-back svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.md-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(124px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.md-stepper::-webkit-scrollbar {
  display: none;
}

.md-step-pill {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  background: #15171d;
  color: #848b99;
}

.md-step-pill b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #242832;
  color: #aeb5c4;
  font-size: 12px;
}

.md-step-pill em {
  overflow: hidden;
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-step-pill.is-active {
  border-color: rgba(73, 118, 255, 0.58);
  background: linear-gradient(145deg, rgba(39, 104, 255, 0.24), rgba(123, 60, 255, 0.12));
  color: #f7f8ff;
}

.md-step-pill.is-active b,
.md-step-pill.is-done b {
  background: linear-gradient(135deg, #2e8cff, #7b3cff);
  color: #fff;
}

.md-step-pill.is-done {
  color: #cbd0db;
}

.md-autopay-content {
  display: grid;
  gap: 14px;
}

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

.md-autopay-product-card,
.md-choice-card,
.md-field-card,
.md-summary-card,
.md-pay-option,
.md-autopay-empty {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: #181a20;
  color: #f7f8ff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.md-autopay-product-card {
  min-height: 178px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
  border-color: rgba(255, 255, 255, 0.06);
  font: inherit;
  text-align: center;
}

.md-autopay-product-card strong,
.md-choice-card strong,
.md-field-card strong,
.md-summary-card strong,
.md-pay-option strong {
  color: #fbfcff;
  font-weight: 760;
  letter-spacing: 0;
}

.md-autopay-product-card strong {
  font-size: 18px;
}

.md-autopay-product-card span:last-child {
  max-width: 100%;
  color: #aeb4c1;
  font-size: 13px;
  line-height: 1.22;
}

.md-choice-list {
  display: grid;
  gap: 12px;
}

.md-autopay-search {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.md-autopay-search span {
  color: #c8ceda;
  font-size: 13px;
  font-weight: 700;
}

.md-autopay-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #101218;
  color: #f7f8ff;
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 0 15px;
}

.md-autopay-search input:focus {
  border-color: rgba(76, 130, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(76, 130, 255, 0.16);
}

.md-autopay-search-empty[hidden],
.md-choice-card[hidden] {
  display: none;
}

.md-choice-card {
  min-height: 96px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.06);
  font: inherit;
  text-align: left;
}

.md-choice-card--price {
  grid-template-columns: minmax(0, 1fr) auto;
}

.md-choice-card--price em {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  color: #7eb2ff;
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.md-choice-kicker,
.md-field-card span,
.md-summary-card span,
.md-pay-option span {
  color: #87909f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.md-choice-card strong {
  font-size: 20px;
  line-height: 1.08;
}

.md-choice-card small,
.md-pay-option small {
  color: #b2b8c6;
  font-size: 14px;
  line-height: 1.25;
}

.md-field-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.md-field-card strong {
  font-size: 21px;
}

.md-field-card input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #101218;
  color: #f7f8ff;
  font: inherit;
  font-size: 17px;
  outline: none;
  padding: 0 14px;
}

.md-autopay-field {
  display: grid;
  gap: 8px;
}

.md-autopay-field span {
  color: #c8ceda;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.md-field-hint {
  color: #8892a3;
  font-size: 12px;
  line-height: 1.3;
}

.md-field-card input:focus {
  border-color: rgba(76, 130, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(76, 130, 255, 0.16);
}

.md-summary-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.md-summary-card div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.md-summary-card strong {
  overflow-wrap: anywhere;
  font-size: 16px;
}

.md-pay-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.md-pay-option {
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.06);
  font: inherit;
  text-align: left;
}
