@font-face {
  font-family: PeydaWeb;
  src: url('../fonts/PeydaWeb-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: PeydaWeb;
  src: url('../fonts/PeydaWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: PeydaWeb;
  src: url('../fonts/PeydaWeb-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.rgp-shell,
.rgp-auth {
  --rgp-accent: #f2359d;
  --rgp-accent-alt: #8338ec;
  --rgp-page: #060719;
  --rgp-panel: #0b0d22;
  --rgp-card: #10132d;
  --rgp-card-2: #151936;
  --rgp-line: #292e55;
  --rgp-line-soft: rgba(136, 142, 194, .14);
  --rgp-text: #f7f6ff;
  --rgp-muted: #b9bad2;
  --rgp-subtle: #888ba9;
  --rgp-success: #55dfaa;
  --rgp-danger: #ff809e;
  --rgp-radius: 18px;
  position: relative;
  box-sizing: border-box;
  direction: rtl;
  color: var(--rgp-text);
  font-family: PeydaWeb, Tahoma, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  text-align: right;
}

.rgp-shell *,
.rgp-auth * {
  box-sizing: border-box;
  font-family: inherit;
}

.rgp-shell img,
.rgp-auth img {
  display: block;
  max-width: 100%;
}

.rgp-shell button,
.rgp-shell a,
.rgp-auth button,
.rgp-auth a {
  touch-action: manipulation;
}

.rgp-shell :focus-visible,
.rgp-auth :focus-visible {
  outline: 3px solid #ff9dcc;
  outline-offset: 3px;
}

.rgp-view[hidden],
.rgp-auth-step[hidden],
.rgp-register-fields[hidden],
[data-rgp-resend][hidden] {
  display: none !important;
}

.rgp-kicker {
  display: block;
  margin-bottom: 4px;
  color: #ff89c3;
  font-size: 12px;
  font-weight: 700;
}

.rgp-button {
  min-height: 50px;
  padding: 12px 21px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #b72378;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rgp-accent), #000 23%), #b92383 52%, color-mix(in srgb, var(--rgp-accent-alt), #000 12%));
  box-shadow: 0 12px 28px rgba(184, 42, 151, .24), inset 0 1px 0 rgba(255, 255, 255, .22);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.rgp-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 15px 34px rgba(184, 42, 151, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.rgp-button:active {
  transform: scale(.98);
}

.rgp-button:disabled {
  opacity: .5;
  cursor: wait;
}

/* Login and registration */
.rgp-auth-clean {
  width: min(940px, calc(100% - 28px));
  min-height: 590px;
  margin: 42px auto;
  border: 1px solid #313760;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  background:
    radial-gradient(circle at 15% 20%, rgba(131, 56, 236, .2), transparent 34%),
    linear-gradient(145deg, #0d1029, #08091c 72%);
  box-shadow: 0 30px 90px rgba(0, 0, 12, .55);
}

.rgp-auth-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.rgp-auth-header {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  padding: 42px 28px;
  border-left: 1px solid var(--rgp-line-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(7, 9, 27, .72);
}

.rgp-auth-header::after {
  content: "ورود سریع\Aبدون رمز عبور";
  margin-top: auto;
  padding-top: 28px;
  color: var(--rgp-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.55;
  white-space: pre;
}

.rgp-auth-header a {
  display: block;
}

.rgp-auth-header img {
  width: 176px;
  height: auto;
}

.rgp-auth-header > span {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rgp-line-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rgp-muted);
  font-size: 11px;
  white-space: nowrap;
}

.rgp-auth-header .dashicons {
  color: #ff75b8;
}

.rgp-auth-card {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 590px;
  padding: 48px clamp(34px, 6vw, 72px) 34px;
  display: flex;
  flex-direction: column;
}

.rgp-auth-progress {
  display: grid;
  grid-template-columns: auto minmax(44px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  color: var(--rgp-subtle);
  font-size: 11px;
}

.rgp-auth-progress span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.rgp-auth-progress span::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #656987;
  border-radius: 50%;
  background: #11142e;
}

.rgp-auth-progress span.is-active {
  color: var(--rgp-text);
}

.rgp-auth-progress span.is-active::before {
  border-color: #ff9dcc;
  background: var(--rgp-accent);
  box-shadow: 0 0 0 5px rgba(242, 53, 157, .12);
}

.rgp-auth-progress > i {
  height: 1px;
  background: #353a5f;
}

.rgp-auth-step {
  display: grid;
  gap: 12px;
}

.rgp-auth-heading {
  margin-bottom: 18px;
}

.rgp-auth-heading h1,
.rgp-auth-heading h2 {
  margin: 0 0 8px;
  color: var(--rgp-text);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.4;
}

.rgp-auth-heading h2 {
  font-size: 30px;
}

.rgp-auth-heading p {
  max-width: 46ch;
  margin: 0;
  color: var(--rgp-muted);
  font-size: 14px;
  line-height: 1.95;
}

.rgp-auth-card label {
  display: block;
  color: #e7e7f3;
  font-size: 12px;
  font-weight: 700;
}

.rgp-input-wrap {
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid #383e67;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 46px;
  align-items: center;
  background: rgba(5, 7, 22, .78);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rgp-input-wrap:focus-within {
  border-color: var(--rgp-accent);
  background: #090b22;
  box-shadow: 0 0 0 4px rgba(242, 53, 157, .13);
}

.rgp-input-wrap > .dashicons {
  color: #a4a7c0;
}

.rgp-input-wrap > b {
  padding-right: 10px;
  border-right: 1px solid var(--rgp-line);
  direction: ltr;
  color: #a8abc2;
  font-size: 12px;
  font-weight: 500;
}

.rgp-input-wrap input,
.rgp-auth-card input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #383e67 !important;
  border-radius: 13px !important;
  background: rgba(5, 7, 22, .78) !important;
  box-shadow: none !important;
  color: var(--rgp-text) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.rgp-input-wrap input {
  border: 0 !important;
  background: transparent !important;
}

.rgp-auth-card input::placeholder {
  color: #8589a8;
  opacity: 1;
}

.rgp-auth-card input:focus {
  outline: 0;
  border-color: var(--rgp-accent) !important;
  box-shadow: 0 0 0 4px rgba(242, 53, 157, .13) !important;
}

.rgp-input-wrap input:focus {
  box-shadow: none !important;
}

.rgp-auth-submit {
  width: 100%;
  margin-top: 8px;
}

.rgp-back {
  min-height: 44px;
  margin: -14px 0 0;
  padding: 6px 0;
  border: 0;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #f0a8cb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.rgp-otp-input {
  direction: ltr;
  text-align: center !important;
  letter-spacing: .78em !important;
  padding: 10px 48px 10px calc(12px - .78em) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
}

.rgp-otp-shell {
  position: relative;
  min-height: 72px;
  border: 1px solid transparent;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #080a20;
  background:
    linear-gradient(#080a20, #0c0f29) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--rgp-accent), #fff 14%), var(--rgp-accent-alt)) border-box;
  box-shadow: 0 14px 34px rgba(91, 31, 169, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}

.rgp-otp-shell::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 11px;
  pointer-events: none;
}

.rgp-otp-shell:focus-within {
  box-shadow: 0 0 0 4px rgba(242, 53, 157, .14), 0 18px 42px rgba(91, 31, 169, .24);
}

.rgp-otp-shell > .dashicons {
  position: absolute;
  z-index: 2;
  right: 18px;
  width: 21px;
  height: 21px;
  color: #f18abb;
  font-size: 21px;
  pointer-events: none;
}

.rgp-otp-shell .rgp-otp-input:focus {
  border: 0 !important;
  box-shadow: none !important;
}

.rgp-field-hint {
  margin: -4px 2px 2px;
  color: var(--rgp-subtle);
  font-size: 10px;
  line-height: 1.7;
}

.rgp-register-fields {
  width: 100%;
  margin: 7px 0 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 13px;
}

.rgp-register-fields > div {
  min-width: 0;
  margin: 0 !important;
  display: grid;
  gap: 7px;
}

.rgp-register-fields label {
  margin: 0 !important;
}

.rgp-register-fields input {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.rgp-register-fields .rgp-field-wide {
  grid-column: 1 / -1;
}

.rgp-code-tools {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rgp-code-tools p,
.rgp-code-tools button {
  margin: 0;
  color: var(--rgp-subtle);
  font-size: 11px;
}

.rgp-code-tools button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #f0a0c6;
  font-weight: 700;
  cursor: pointer;
}

.rgp-form-message {
  min-height: 26px;
  margin-top: 7px;
  color: var(--rgp-success);
  font-size: 12px;
  text-align: center;
}

.rgp-form-message.is-error {
  color: var(--rgp-danger);
}

.rgp-auth-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--rgp-line-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rgp-subtle);
  font-size: 10px;
}

.rgp-auth-foot a {
  margin-right: auto;
  color: #dedfec !important;
  text-decoration: none !important;
}

/* Main account panel */
.rgp-app {
  width: min(1240px, calc(100% - 24px));
  min-height: 740px;
  margin: 28px auto;
  border: 1px solid #30355f;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 2%, rgba(108, 42, 201, .16), transparent 28%),
    var(--rgp-page);
  box-shadow: 0 30px 90px rgba(0, 0, 12, .5);
}

.rgp-ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 35% 20%, #000, transparent 54%);
}

.rgp-sidebar {
  min-width: 0;
  padding: 28px 17px 18px;
  border-left: 1px solid var(--rgp-line-soft);
  display: flex;
  flex-direction: column;
  background: rgba(9, 11, 31, .86);
  backdrop-filter: blur(18px);
}

.rgp-brand {
  display: block;
  padding: 0 10px 25px;
  text-decoration: none !important;
}

.rgp-brand img {
  width: 166px;
  height: auto;
}

.rgp-player-card {
  padding: 12px;
  margin-bottom: 22px;
  border: 1px solid var(--rgp-line);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, rgba(26, 30, 63, .92), rgba(14, 17, 43, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.rgp-player-card img {
  width: 48px;
  height: 48px;
  border: 1px solid #3a4070;
  border-radius: 13px;
  object-fit: cover;
}

.rgp-player-card strong,
.rgp-player-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgp-player-card strong {
  color: var(--rgp-text);
  font-size: 13px;
  font-weight: 800;
}

.rgp-player-card small {
  color: var(--rgp-subtle);
  font-size: 10px;
  direction: ltr;
  text-align: right;
}

.rgp-tabs {
  display: grid;
  gap: 6px;
}

.rgp-tabs button,
.rgp-tabs a {
  width: 100%;
  min-height: 49px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  color: #b6b7cc;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.rgp-tabs button:hover,
.rgp-tabs a:hover {
  border-color: rgba(242, 53, 157, .14);
  background: rgba(242, 53, 157, .06);
  color: var(--rgp-text);
}

.rgp-tabs .is-active {
  border-color: rgba(242, 53, 157, .28);
  background: linear-gradient(90deg, rgba(242, 53, 157, .18), rgba(131, 56, 236, .08));
  box-shadow: inset -3px 0 0 var(--rgp-accent);
  color: #fff;
}

.rgp-tabs .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #e580b2;
}

.rgp-sidebar-foot {
  margin-top: auto;
  display: grid;
}

.rgp-sidebar-foot a {
  min-height: 46px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--rgp-subtle) !important;
  font-size: 11px;
  text-decoration: none !important;
}

.rgp-workspace {
  min-width: 0;
  padding: 32px clamp(20px, 3vw, 42px) 42px;
}

.rgp-topbar {
  min-height: 74px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.rgp-topbar h1 {
  margin: 0;
  color: var(--rgp-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
}

.rgp-topbar .rgp-mobile-logo {
  display: none;
}

.rgp-shop-link {
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid #353a65;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 19, 45, .86);
  color: var(--rgp-text) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease;
}

.rgp-shop-link:hover {
  border-color: rgba(242, 53, 157, .55);
  background: #171a3b;
}

.rgp-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(218px, .72fr);
  gap: 15px;
  margin-bottom: 15px;
}

.rgp-mission {
  position: relative;
  padding: 22px;
  border: 1px solid #363b6c;
  border-radius: var(--rgp-radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(242, 53, 157, .15), transparent 31%),
    linear-gradient(145deg, rgba(20, 24, 57, .96), rgba(11, 13, 35, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 15px 34px rgba(0, 0, 12, .2);
}

.rgp-mission::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rgp-accent));
}

.rgp-mission-head {
  margin-bottom: 19px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rgp-line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rgp-mission-head h2 {
  margin: 0;
  color: var(--rgp-text);
  font-size: 20px;
  font-weight: 800;
}

.rgp-status {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(242, 53, 157, .35);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 53, 157, .11);
  color: #ffc1df;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.rgp-mission-summary {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.rgp-mission-art,
.rgp-order-art,
.rgp-track-art {
  border: 1px solid #3b4071;
  border-radius: 15px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #252a59, #11142f);
}

.rgp-mission-art {
  width: 82px;
  height: 82px;
}

.rgp-mission-art img,
.rgp-order-art img,
.rgp-track-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rgp-mission-summary small,
.rgp-mission-summary span,
.rgp-track-product small,
.rgp-track-product span {
  display: block;
  color: var(--rgp-subtle);
  font-size: 11px;
}

.rgp-mission-summary h3,
.rgp-track-product h3 {
  margin: 3px 0;
  color: var(--rgp-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.rgp-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 26px;
}

.rgp-progress::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 9%;
  left: 9%;
  height: 2px;
  background: #353a63;
}

.rgp-progress > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #898ca9;
  font-size: 9px;
  text-align: center;
}

.rgp-progress i {
  width: 17px;
  height: 17px;
  border: 3px solid #42476e;
  border-radius: 50%;
  display: block;
  background: #11142f;
}

.rgp-progress .is-done {
  color: #c9cad9;
}

.rgp-progress .is-done i {
  border-color: var(--rgp-accent);
  background: var(--rgp-accent);
  box-shadow: 0 0 0 4px rgba(242, 53, 157, .1);
}

.rgp-progress .is-current {
  color: #ffd0e6;
  font-weight: 700;
}

.rgp-mission-foot,
.rgp-track-result-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--rgp-line-soft);
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.rgp-mission-foot > div small,
.rgp-track-result-foot > div small,
.rgp-copy small {
  display: block;
  color: var(--rgp-subtle);
  font-size: 9px;
}

.rgp-mission-foot > div strong,
.rgp-track-result-foot > div strong {
  color: var(--rgp-text);
  font-size: 12px;
  font-weight: 800;
}

.rgp-copy {
  min-height: 44px;
  padding: 4px 7px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #e2dfed;
  text-align: right;
  cursor: pointer;
}

.rgp-copy strong {
  display: block;
  color: #f3bdd7;
  font-size: 10px;
  font-weight: 700;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.rgp-detail-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f1acd0 !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.rgp-command-stack {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 11px;
}

.rgp-snapshot,
.rgp-quick-track {
  border: 1px solid #303660;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 24, 55, .94), rgba(11, 14, 36, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.rgp-snapshot {
  min-height: 116px;
  padding: 16px;
}

.rgp-snapshot > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--rgp-muted);
}

.rgp-snapshot .dashicons {
  color: #fa84bf;
}

.rgp-snapshot small,
.rgp-snapshot p {
  font-size: 10px;
}

.rgp-snapshot strong {
  display: block;
  margin-top: 7px;
  color: var(--rgp-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.rgp-snapshot p {
  margin: 7px 0 0;
  color: var(--rgp-subtle);
}

.rgp-snapshot.is-complete .dashicons {
  color: var(--rgp-success);
}

.rgp-quick-track {
  min-height: 68px;
  padding: 12px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--rgp-text);
  text-align: right;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}

.rgp-quick-track:hover {
  border-color: rgba(242, 53, 157, .55);
}

.rgp-quick-track:active {
  transform: scale(.985);
}

.rgp-quick-track > .dashicons {
  color: #fa84bf;
}

.rgp-quick-track strong,
.rgp-quick-track small {
  display: block;
}

.rgp-quick-track strong {
  font-size: 11px;
}

.rgp-quick-track small {
  color: var(--rgp-subtle);
  font-size: 9px;
}

.rgp-quick-track > i {
  color: var(--rgp-muted);
  font-style: normal;
}

.rgp-orders,
.rgp-tracker {
  padding: 22px;
  border: 1px solid #303660;
  border-radius: var(--rgp-radius);
  background: rgba(14, 17, 42, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.rgp-section-head {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rgp-section-head h2 {
  margin: 0;
  color: var(--rgp-text);
  font-size: 20px;
  font-weight: 800;
}

.rgp-section-head p {
  margin: 3px 0 0;
  color: var(--rgp-subtle);
  font-size: 11px;
}

.rgp-section-head > span {
  color: var(--rgp-muted);
  font-size: 10px;
  white-space: nowrap;
}

.rgp-order-list {
  display: grid;
}

.rgp-order-card {
  padding: 14px 2px;
  border-bottom: 1px solid var(--rgp-line-soft);
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.rgp-order-card:last-child {
  border-bottom: 0;
}

.rgp-order-art {
  width: 62px;
  height: 62px;
}

.rgp-order-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.rgp-order-top {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rgp-order-top > div {
  min-width: 0;
}

.rgp-order-top small,
.rgp-order-top span {
  display: block;
  color: var(--rgp-subtle);
  font-size: 10px;
}

.rgp-order-top h3 {
  margin: 2px 0;
  overflow: hidden;
  color: var(--rgp-text);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgp-order-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rgp-order-meta > strong {
  color: var(--rgp-text);
  font-size: 10px;
  white-space: nowrap;
}

.rgp-copy-mini {
  gap: 4px;
  color: #c7c7d7;
  font-size: 9px;
  direction: ltr;
}

.rgp-order-meta > a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rgp-line);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #e2e1eb !important;
  text-decoration: none !important;
}

.rgp-empty {
  padding: 52px 16px;
  text-align: center;
}

.rgp-empty > .dashicons {
  width: 48px;
  height: 48px;
  color: #ed77b2;
  font-size: 48px;
}

.rgp-empty h3 {
  margin: 10px 0 4px;
  color: var(--rgp-text);
  font-size: 19px;
}

.rgp-empty p {
  margin: 0;
  color: var(--rgp-muted);
  font-size: 12px;
}

.rgp-empty .rgp-button {
  margin-top: 18px;
}

.rgp-mission-empty {
  min-height: 370px;
  display: flex;
  align-items: center;
}

.rgp-mission-empty > div {
  max-width: 460px;
}

.rgp-mission-empty h2 {
  margin: 0 0 7px;
  color: var(--rgp-text);
  font-size: 26px;
}

.rgp-mission-empty p {
  margin: 0 0 20px;
  color: var(--rgp-muted);
  font-size: 13px;
}

/* Tracking */
.rgp-tracker {
  min-height: 440px;
  padding: 30px;
}

.rgp-tracker .rgp-section-head h2 {
  font-size: 25px;
}

.rgp-tracker .rgp-section-head p {
  font-size: 12px;
}

.rgp-track-form {
  max-width: 700px;
  margin-top: 30px;
}

.rgp-track-form label {
  display: block;
  margin-bottom: 7px;
  color: #e5e5f0;
  font-size: 12px;
  font-weight: 700;
}

.rgp-track-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.rgp-track-form input {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px !important;
  border: 1px solid #3a406b !important;
  border-radius: 13px !important;
  background: #080a20 !important;
  box-shadow: none !important;
  color: var(--rgp-text) !important;
  direction: ltr;
  font-size: 16px !important;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.rgp-track-form input:focus {
  outline: 0;
  border-color: var(--rgp-accent) !important;
  box-shadow: 0 0 0 4px rgba(242, 53, 157, .13) !important;
}

.rgp-track-result {
  max-width: 760px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(242, 53, 157, .3);
  border-radius: 17px;
  background:
    radial-gradient(circle at 95% 0, rgba(242, 53, 157, .12), transparent 28%),
    linear-gradient(145deg, #151936, #0d1029);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.rgp-track-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rgp-track-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.rgp-track-art {
  width: 72px;
  height: 72px;
}

.rgp-notice {
  max-width: 700px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #784057;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #211020;
  color: #ffc1d0;
}

.rgp-notice strong,
.rgp-notice p {
  display: block;
  margin: 0;
}

.rgp-notice p {
  color: #dcaaba;
  font-size: 11px;
}

/* WooCommerce integration and checkout */
body.rgp-panel-page .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.rgp-panel-page .woocommerce-MyAccount-content,
body.rgp-auth-page .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

body.rgp-auth-page .woocommerce-MyAccount-navigation,
body.rgp-auth-page .woocommerce-form-login,
body.rgp-auth-page .u-columns.col2-set,
.woocommerce-account:not(.logged-in) .rgp-auth ~ .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .rgp-auth ~ .u-columns.col2-set {
  display: none !important;
}

.woocommerce-checkout .woocommerce,
.woocommerce-checkout form.checkout,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout button {
  font-family: PeydaWeb, Tahoma, sans-serif;
}

@keyframes rgpEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes rgpSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .rgp-reveal,
  .rgp-auth-step.is-active {
    animation: rgpEnter .42s cubic-bezier(.16, 1, .3, 1) both;
  }

  .rgp-auth-submit.is-loading .dashicons {
    animation: rgpSpin .8s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rgp-shell *,
  .rgp-auth * {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1020px) {
  .rgp-app {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .rgp-sidebar {
    padding-inline: 13px;
  }

  .rgp-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .rgp-command-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .rgp-quick-track {
    grid-column: 1 / -1;
  }

  .rgp-order-main {
    grid-template-columns: 1fr;
  }

  .rgp-order-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .rgp-auth-clean {
    width: 100%;
    min-height: 0;
    margin: 0;
    border-radius: 18px;
    display: block;
  }

  .rgp-auth-clean::before {
    background-size: 32px 32px;
  }

  .rgp-auth-header {
    min-height: 94px;
    padding: 20px;
    border: 0;
    border-bottom: 1px solid var(--rgp-line-soft);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rgp-auth-header::after {
    display: none;
  }

  .rgp-auth-header img {
    width: 132px;
  }

  .rgp-auth-header > span {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 9px;
  }

  .rgp-auth-card {
    min-height: 515px;
    padding: 30px 20px 22px;
  }

  .rgp-auth-progress {
    margin-bottom: 36px;
  }

  .rgp-auth-heading h1 {
    font-size: 29px;
  }

  .rgp-auth-heading h2 {
    font-size: 25px;
  }

  .rgp-register-fields {
    grid-template-columns: 1fr;
  }

  .rgp-register-fields .rgp-field-wide {
    grid-column: auto;
  }

  .rgp-app {
    width: 100%;
    min-height: 0;
    margin: 0;
    border-radius: 18px;
    display: block;
    overflow: visible;
  }

  .rgp-sidebar {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .rgp-sidebar > .rgp-brand,
  .rgp-player-card,
  .rgp-sidebar-foot {
    display: none;
  }

  .rgp-tabs {
    position: fixed;
    z-index: 1000;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    padding: 7px;
    border: 1px solid #373c66;
    border-radius: 17px;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    background: rgba(10, 12, 32, .95);
    box-shadow: 0 18px 44px rgba(0, 0, 12, .58), inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(16px);
  }

  .rgp-tabs button,
  .rgp-tabs a {
    min-width: 0;
    min-height: 54px;
    padding: 5px 2px;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
  }

  .rgp-tabs .is-active {
    box-shadow: inset 0 -3px 0 var(--rgp-accent);
  }

  .rgp-workspace {
    padding: 19px 12px calc(94px + env(safe-area-inset-bottom));
  }

  .rgp-topbar {
    min-height: 110px;
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .rgp-topbar h1 {
    font-size: 24px;
  }

  .rgp-topbar .rgp-mobile-logo {
    display: block;
    width: 118px;
    height: auto;
    margin-bottom: 15px;
  }

  .rgp-shop-link {
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .rgp-dashboard-grid {
    gap: 11px;
    margin-bottom: 11px;
  }

  .rgp-mission {
    padding: 17px 15px;
  }

  .rgp-mission-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .rgp-mission-head h2 {
    font-size: 19px;
  }

  .rgp-mission-summary {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
  }

  .rgp-mission-art {
    width: 66px;
    height: 66px;
    border-radius: 13px;
  }

  .rgp-mission-summary h3,
  .rgp-track-product h3 {
    font-size: 14px;
  }

  .rgp-progress {
    margin-top: 24px;
  }

  .rgp-progress > div {
    gap: 6px;
    font-size: 9px;
    line-height: 1.35;
  }

  .rgp-progress i {
    width: 15px;
    height: 15px;
  }

  .rgp-mission-foot,
  .rgp-track-result-foot {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .rgp-detail-link {
    grid-column: 1 / -1;
    border-top: 1px solid var(--rgp-line-soft);
    justify-content: flex-start;
  }

  .rgp-command-stack {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .rgp-snapshot {
    min-height: 110px;
    padding: 14px;
  }

  .rgp-snapshot strong {
    font-size: 25px;
  }

  .rgp-quick-track {
    grid-column: 1 / -1;
  }

  .rgp-orders,
  .rgp-tracker {
    padding: 19px 14px;
  }

  .rgp-section-head {
    align-items: flex-start;
  }

  .rgp-section-head h2 {
    font-size: 19px;
  }

  .rgp-order-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .rgp-order-art {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .rgp-order-top h3 {
    font-size: 12px;
  }

  .rgp-order-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 5px;
  }

  .rgp-tracker {
    min-height: 0;
  }

  .rgp-tracker .rgp-section-head h2 {
    font-size: 22px;
  }

  .rgp-track-form {
    margin-top: 24px;
  }

  .rgp-track-form > div {
    grid-template-columns: 1fr;
  }

  .rgp-track-form .rgp-button {
    width: 100%;
  }

  .rgp-track-result {
    padding: 16px;
  }

  .rgp-track-result-head {
    align-items: flex-start;
  }

  .rgp-track-product {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .rgp-track-art {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }
}

@media (max-width: 390px) {
  .rgp-auth-header > span {
    display: none;
  }

  .rgp-auth-card {
    padding-inline: 17px;
  }

  .rgp-auth-progress {
    font-size: 10px;
  }

  .rgp-order-top {
    display: block;
  }

  .rgp-order-top .rgp-status {
    margin-top: 6px;
  }

  .rgp-order-meta > strong {
    grid-column: 1 / -1;
  }

  .rgp-track-result-head {
    display: grid;
  }

  .rgp-track-result-head .rgp-status {
    justify-self: start;
  }
}
