/* My Profile: premium dark account dashboard. */

body .ok-profile-page,
body .ok-profile-login {
  --profile-bg: #070b12;
  --profile-panel: rgba(14, 20, 33, .92);
  --profile-panel-strong: rgba(18, 26, 42, .96);
  --profile-panel-soft: rgba(23, 34, 55, .78);
  --profile-line: rgba(132, 167, 229, .22);
  --profile-line-strong: rgba(132, 167, 229, .34);
  --profile-text: #f7fbff;
  --profile-muted: #aebbd4;
  --profile-soft: #7f8faa;
  --profile-blue: #86b7ff;
  --profile-cyan: #63e6f2;
  --profile-violet: #b69cff;
  --profile-pink: #ff9bd2;
  --profile-orange: #ffb36b;
  --profile-green: #74f0b2;
  --profile-red: #ff7b91;
  --profile-radius: 20px;
}

body:has(.ok-profile-page),
body:has(.ok-profile-login) {
  overflow-x: hidden;
}

body:has(.ok-profile-page) .site-main,
body:has(.ok-profile-login) .site-main,
body:has(.ok-profile-page) .okb-footer,
body:has(.ok-profile-login) .okb-footer {
  overflow-x: hidden;
}

body .ok-profile-page {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 66px) 0 clamp(72px, 8vw, 120px);
  color: var(--profile-muted);
  isolation: isolate;
}

body .ok-profile-page *,
body .ok-profile-page *::before,
body .ok-profile-page *::after {
  box-sizing: border-box;
}

body .ok-profile-page :where(h1, h2, h3, p) {
  margin-top: 0;
}

body .ok-profile-page :where(a, button, input, select) {
  font: inherit;
}

body .ok-profile-page :where(a) {
  color: inherit;
}

body .ok-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 218px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--profile-line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0, rgba(99, 230, 242, .22), transparent 27%),
    radial-gradient(circle at 70% 8%, rgba(182, 156, 255, .22), transparent 28%),
    radial-gradient(circle at 92% 95%, rgba(255, 179, 107, .20), transparent 28%),
    linear-gradient(135deg, rgba(17, 27, 46, .98), rgba(9, 14, 24, .96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

body .ok-profile-hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  pointer-events: none;
}

body .ok-profile-hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 6vw, 70px);
  bottom: -58px;
  width: clamp(180px, 24vw, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(182, 156, 255, .18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(134, 183, 255, .15), rgba(255, 155, 210, .10)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 13px);
  opacity: .74;
  pointer-events: none;
}

body .ok-profile-user,
body .ok-profile-hero > .ok-hero-btn {
  position: relative;
  z-index: 1;
}

body .ok-profile-user {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

body .ok-profile-avatar {
  width: clamp(78px, 8vw, 104px);
  height: clamp(78px, 8vw, 104px);
  display: grid;
  place-items: center;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, var(--profile-cyan), var(--profile-violet) 52%, var(--profile-orange));
}

body .ok-profile-avatar img,
body .ok-profile-avatar .avatar {
  width: 100%;
  height: 100%;
  display: block;
  border: 4px solid #0a101b;
  border-radius: 20px;
  object-fit: cover;
  background: #101827;
}

body .ok-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(134, 183, 255, .34);
  border-radius: 999px;
  background: rgba(134, 183, 255, .13);
  color: var(--profile-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .ok-profile-hero h1 {
  max-width: 720px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--profile-text);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 950;
  line-height: .94;
  letter-spacing: 0;
}

body .ok-profile-hero p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--profile-muted);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body .ok-profile-hero > .ok-hero-btn,
body .ok-inline-btn,
body .ok-account-btn,
body .ok-filter-box button,
body .ok-pin-view-btn,
body .ok-purchase-actions a,
body .ok-purchase-actions span,
body .ok-danger-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 10px 18px;
  color: #07101d;
  background: var(--profile-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(134, 183, 255, .20);
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

body .ok-profile-hero > .ok-hero-btn::before {
  content: "\f51e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body .ok-inline-btn::before {
  content: "\f543";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body .ok-filter-box button::before {
  content: "\f12d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body .ok-profile-hero > .ok-hero-btn:hover,
body .ok-inline-btn:hover,
body .ok-account-btn:hover,
body .ok-filter-box button:hover,
body .ok-pin-view-btn:hover,
body .ok-purchase-actions a:hover {
  transform: translateY(-1px);
  background: var(--profile-violet);
  color: #080b12;
}

body .ok-profile-tabs {
  position: sticky;
  top: 90px;
  z-index: 20;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 24px auto 28px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid var(--profile-line);
  border-radius: 18px;
  background: rgba(7, 11, 18, .86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

body .ok-profile-tabs::-webkit-scrollbar {
  display: none;
}

body .ok-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 9px 14px;
  background: transparent;
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

body .ok-tab::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--profile-blue);
}

body .ok-tab[data-tab="overview"]::before { content: "\f3fd"; }
body .ok-tab[data-tab="purchases"]::before { content: "\f09d"; color: var(--profile-green); }
body .ok-tab[data-tab="downloads"]::before { content: "\f019"; color: var(--profile-cyan); }
body .ok-tab[data-tab="search-history"]::before { content: "\f002"; color: var(--profile-violet); }
body .ok-tab[data-tab="refunds"]::before { content: "\f2f5"; color: var(--profile-orange); }
body .ok-tab[data-tab="account"]::before { content: "\f007"; color: var(--profile-pink); }

body .ok-tab:hover {
  border-color: rgba(134, 183, 255, .24);
  background: rgba(134, 183, 255, .08);
  color: var(--profile-text);
}

body .ok-tab.active {
  border-color: rgba(134, 183, 255, .30);
  background: rgba(134, 183, 255, .16);
  color: var(--profile-text);
}

body .ok-tab-panel {
  display: none;
}

body .ok-tab-panel.active {
  display: block;
}

body .ok-stat-grid,
body .ok-credit-balance-grid,
body .ok-overview-grid {
  display: grid;
  gap: 14px;
}

body .ok-stat-grid--summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

body .ok-credit-balance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

body .ok-overview-grid {
  grid-template-columns: 1.1fr .9fr;
}

body .ok-stat-card,
body .ok-credit-balance-card,
body .ok-info-card,
body .ok-help-card,
body .ok-account-card,
body .ok-filter-box,
body .ok-purchase-item,
body .ok-download-history-head,
body .ok-download-history-item,
body .ok-empty-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: var(--profile-radius);
  background:
    radial-gradient(circle at 0 0, rgba(134, 183, 255, .12), transparent 13rem),
    linear-gradient(145deg, rgba(18, 27, 44, .94), rgba(9, 14, 24, .94));
  box-shadow: 0 18px 52px rgba(0, 0, 0, .20);
}

body .ok-stat-card::before,
body .ok-credit-balance-card::before,
body .ok-info-card::before,
body .ok-help-card::before,
body .ok-account-card::before,
body .ok-purchase-item::before,
body .ok-download-history-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--profile-blue), var(--profile-violet));
}

body .ok-stat-card,
body .ok-credit-balance-card {
  min-height: 122px;
  padding: 20px;
}

body .ok-stat-card:nth-child(2),
body .ok-credit-balance-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0, rgba(182, 156, 255, .18), transparent 12rem),
    linear-gradient(145deg, rgba(24, 21, 41, .95), rgba(10, 15, 24, .96));
}

body .ok-stat-card:nth-child(3),
body .ok-credit-balance-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 179, 107, .17), transparent 12rem),
    linear-gradient(145deg, rgba(31, 23, 18, .95), rgba(10, 15, 24, .96));
}

body .ok-stat-card span,
body .ok-credit-balance-card span,
body .ok-purchase-meta span,
body .ok-account-row span {
  display: block;
  color: var(--profile-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body .ok-stat-card strong,
body .ok-credit-balance-card strong {
  display: block;
  margin-top: 8px;
  color: var(--profile-text);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 950;
  line-height: 1;
}

body .ok-stat-card:nth-child(1) strong { color: var(--profile-blue); }
body .ok-stat-card:nth-child(2) strong { color: var(--profile-violet); }
body .ok-stat-card:nth-child(3) strong { color: var(--profile-orange); }
body .ok-credit-balance-card:nth-child(1) strong { color: var(--profile-cyan); }
body .ok-credit-balance-card:nth-child(2) strong { color: var(--profile-blue); }
body .ok-credit-balance-card:nth-child(3) strong { color: var(--profile-green); }

body .ok-credit-balance-card small {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 167, 229, .18);
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

body .ok-info-card,
body .ok-help-card,
body .ok-account-card {
  padding: clamp(22px, 3vw, 30px);
}

body .ok-help-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
}

body .ok-info-card h2,
body .ok-help-card h2,
body .ok-account-card h2,
body .ok-download-history-head h2,
body .ok-empty-box h3 {
  margin-bottom: 10px;
  color: var(--profile-text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.05;
}

body .ok-info-card p,
body .ok-help-card p,
body .ok-download-history-head p,
body .ok-empty-box p {
  margin: 0 0 20px;
  color: var(--profile-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

body .ok-help-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(182, 156, 255, .16);
  color: var(--profile-violet);
  font-size: 20px;
  font-weight: 950;
}

body .ok-help-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--profile-blue);
  font-weight: 900;
  text-decoration: none;
}

body .ok-help-card a::after {
  content: "\f061";
  margin-left: 8px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body .ok-filter-box {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr)) auto;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
}

body .ok-filter-box input,
body .ok-filter-box select,
body .ok-download-history-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(132, 167, 229, .22);
  border-radius: 13px;
  background: rgba(6, 10, 18, .72);
  color: var(--profile-text);
  padding: 10px 12px;
  outline: none;
  font-size: 13px;
  font-weight: 800;
}

body .ok-filter-box input::placeholder {
  color: rgba(174, 187, 212, .66);
}

body .ok-filter-box :where(input, select):focus,
body .ok-download-history-controls select:focus {
  border-color: rgba(134, 183, 255, .72);
  box-shadow: 0 0 0 4px rgba(134, 183, 255, .12);
}

body .ok-purchase-list,
body .ok-download-history-list {
  display: grid;
  gap: 12px;
}

body .ok-purchase-item {
  padding: 16px;
}

body .ok-purchase-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 14px;
}

body .ok-purchase-main h3,
body .ok-download-history-main h3 {
  margin: 0 0 7px;
  color: var(--profile-text);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
}

body .ok-purchase-main p,
body .ok-download-history-main p {
  margin: 0;
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

body .ok-purchase-main p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body .ok-purchase-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 179, 107, .22);
  border-radius: 14px;
  padding: 8px 12px;
  background: rgba(255, 179, 107, .10);
  color: var(--profile-orange);
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
}

body .ok-purchase-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body .ok-purchase-meta div {
  min-width: 0;
  border: 1px solid rgba(132, 167, 229, .16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(6, 10, 18, .42);
}

body .ok-purchase-meta strong {
  display: block;
  margin-top: 6px;
  color: var(--profile-text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body .ok-purchase-meta .ok-purchase-date-status strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body .ok-on-demand-label,
body .ok-status-paid,
body .ok-status-failed,
body .ok-status-processing,
body .ok-status-refunded {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

body .ok-on-demand-label {
  background: rgba(134, 183, 255, .14);
  color: var(--profile-blue);
}

body .ok-status-paid {
  background: rgba(116, 240, 178, .13);
  color: var(--profile-green);
}

body .ok-status-processing {
  background: rgba(255, 179, 107, .14);
  color: var(--profile-orange);
}

body .ok-status-failed {
  background: rgba(255, 123, 145, .13);
  color: var(--profile-red);
}

body .ok-status-refunded {
  background: rgba(182, 156, 255, .14);
  color: var(--profile-violet);
}

body .ok-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body .ok-purchase-actions a,
body .ok-purchase-actions span {
  min-height: 38px;
  border: 1px solid rgba(134, 183, 255, .24);
  background: rgba(134, 183, 255, .12);
  color: var(--profile-blue);
  box-shadow: none;
}

body .ok-purchase-actions span {
  opacity: .72;
  cursor: not-allowed;
}

body .ok-download-history-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
  padding: 20px;
}

body .ok-download-history-head span,
body .ok-download-history-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(99, 230, 242, .22);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(99, 230, 242, .10);
  color: var(--profile-cyan);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

body .ok-download-history-note {
  margin-bottom: 12px;
  border: 1px solid rgba(134, 183, 255, .26);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(134, 183, 255, .10);
  color: var(--profile-blue);
  font-size: 13px;
  font-weight: 850;
}

body .ok-download-history-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

body .ok-download-history-controls label {
  color: var(--profile-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body .ok-download-history-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
}

body .ok-download-history-thumb,
body .ok-search-history-query {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(132, 167, 229, .22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 20%, rgba(99, 230, 242, .16), transparent 60%),
    rgba(6, 10, 18, .64);
  color: var(--profile-blue);
  font-size: 22px;
  font-weight: 950;
  text-decoration: none;
}

body .ok-download-history-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body .ok-download-history-main {
  min-width: 0;
}

body .ok-download-history-main a {
  color: inherit;
  text-decoration: none;
}

body .ok-download-history-main a:hover {
  color: var(--profile-blue);
}

body .ok-empty-box {
  padding: clamp(34px, 7vw, 70px) 20px;
  text-align: center;
  border-style: dashed;
}

body .ok-account-card {
  max-width: 820px;
  margin: 0 auto;
}

body .ok-account-row {
  display: grid;
  grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(132, 167, 229, .16);
}

body .ok-account-row:last-of-type {
  border-bottom: 0;
}

body .ok-account-row strong {
  min-width: 0;
  color: var(--profile-text);
  font-size: 15px;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

body .ok-account-row--pin strong {
  letter-spacing: .16em;
}

body .ok-account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

body .ok-danger-btn {
  background: rgba(255, 123, 145, .12);
  color: var(--profile-red);
  box-shadow: none;
}

body .ok-danger-btn:hover {
  background: var(--profile-red);
  color: #080b12;
}

body .ok-profile-login {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: clamp(360px, 48vw, 520px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .62fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  margin: 0 auto clamp(44px, 6vw, 78px);
  padding: clamp(30px, 6vw, 70px) 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(99, 230, 242, .16), transparent 18rem),
    radial-gradient(circle at 92% 70%, rgba(182, 156, 255, .16), transparent 18rem);
  color: var(--profile-muted);
  box-shadow: none;
}

body:has(.ok-profile-login) {
  overflow-x: hidden;
}

body .ok-profile-login::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(134, 183, 255, .24), rgba(182, 156, 255, .22), transparent);
  pointer-events: none;
}

body .ok-profile-login::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: min(380px, 34vw);
  height: min(380px, 34vw);
  border: 1px solid rgba(132, 167, 229, .18);
  border-radius: 40px;
  background:
    radial-gradient(circle at 28% 24%, rgba(99, 230, 242, .16), transparent 34%),
    linear-gradient(135deg, rgba(134, 183, 255, .10), rgba(255, 179, 107, .08)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 13px);
  opacity: .78;
  transform: translateY(-50%) rotate(8deg);
  pointer-events: none;
}

body .ok-profile-login-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(134, 183, 255, .28);
  border-radius: 15px;
  background:
    radial-gradient(circle at 35% 20%, rgba(99, 230, 242, .22), transparent 58%),
    rgba(134, 183, 255, .12);
  color: var(--profile-blue);
  font-size: 22px;
}

body .ok-profile-login h1 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 10px;
  color: var(--profile-text);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

body .ok-profile-login p {
  position: relative;
  z-index: 1;
  max-width: 610px;
  color: var(--profile-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body .ok-profile-login-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 100%;
}

body .ok-profile-login-actions::before {
  content: "Credits, purchases, invoices, downloads";
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--profile-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body .ok-profile-login-actions::after {
  display: none;
  content: none;
}

body .ok-profile-login-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 167, 229, .24);
  border-radius: 13px;
  padding: 10px 16px;
  background: rgba(99, 230, 242, .08);
  color: var(--profile-blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

body .ok-profile-login .ok-hero-btn {
  min-height: 42px;
  border-radius: 13px;
  padding: 10px 17px;
  background: var(--profile-blue);
  color: #07101d;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(134, 183, 255, .18);
}

body .ok-profile-login .ok-hero-btn:hover {
  background: var(--profile-violet);
}

body .ok-profile-login .ok-profile-login-link:hover {
  border-color: rgba(99, 230, 242, .38);
  background: rgba(99, 230, 242, .13);
  color: var(--profile-cyan);
}

body .ok-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  body .ok-profile-page {
    width: min(760px, calc(100% - 24px));
  }

  body .ok-profile-hero,
  body .ok-stat-grid--summary,
  body .ok-credit-balance-grid,
  body .ok-overview-grid,
  body .ok-purchase-main,
  body .ok-download-history-head {
    grid-template-columns: 1fr;
  }

  body .ok-profile-hero > .ok-hero-btn {
    width: max-content;
  }

  body .ok-filter-box,
  body .ok-purchase-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body .ok-profile-login {
    width: min(520px, calc(100% - 20px));
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 0 auto 38px;
    padding: 26px 0 32px;
    overflow: hidden;
  }

  body .ok-profile-login::after,
  body .ok-profile-login-actions::after {
    display: none;
  }

  body .ok-profile-login h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.04;
  }

  body .ok-profile-login p {
    max-width: 100%;
    font-size: 15px;
  }

  body .ok-profile-login-actions {
    gap: 9px;
  }

  body .ok-profile-login .ok-hero-btn,
  body .ok-profile-login .ok-profile-login-link {
    width: min(100%, 100%);
    max-width: 100%;
  }

  body:has(.ok-profile-page) .okb-footer :where(h2, p, a, span),
  body:has(.ok-profile-login) .okb-footer :where(h2, p, a, span) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body:has(.ok-profile-page) .okb-footer h2,
  body:has(.ok-profile-login) .okb-footer h2 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.08;
  }

  body .ok-profile-page {
    width: min(520px, calc(100% - 18px));
    padding-top: 20px;
  }

  body .ok-profile-hero {
    min-height: 0;
    border-radius: 22px;
    padding: 20px;
  }

  body .ok-profile-user {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  body .ok-profile-hero > .ok-hero-btn,
  body .ok-inline-btn,
  body .ok-filter-box button,
  body .ok-danger-btn,
  body .ok-account-btn,
  body .ok-purchase-actions a,
  body .ok-purchase-actions span {
    width: 100%;
  }

  body .ok-profile-tabs {
    top: 74px;
    justify-content: flex-start;
    width: 100%;
    margin: 16px 0 22px;
    border-radius: 16px;
  }

  body .ok-tab {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  body .ok-filter-box,
  body .ok-purchase-meta,
  body .ok-download-history-item,
  body .ok-account-row,
  body .ok-help-card {
    grid-template-columns: 1fr;
  }

  body .ok-download-history-date {
    width: max-content;
    max-width: 100%;
  }

  body .ok-account-row strong {
    text-align: left;
  }

  body .ok-account-actions,
  body .ok-download-history-controls {
    justify-content: stretch;
  }
}

/* Full-bleed logged-out profile gateway. */
body .site-main > .ok-profile-login,
body .ok-profile-login {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: clamp(52px, 7vw, 94px) max(24px, calc((100vw - 1180px) / 2)) clamp(58px, 7vw, 100px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 18% 28%, rgba(99, 230, 242, .15), transparent 22rem),
    radial-gradient(circle at 78% 70%, rgba(182, 156, 255, .16), transparent 24rem),
    linear-gradient(90deg, rgba(13, 24, 32, .72), rgba(7, 11, 18, .08) 30%, rgba(7, 11, 18, .08) 70%, rgba(31, 27, 47, .66)) !important;
}

body .ok-profile-login::before {
  left: max(24px, calc((100vw - 1180px) / 2)) !important;
  right: max(24px, calc((100vw - 1180px) / 2)) !important;
}

body .ok-profile-login::after {
  right: max(24px, calc((100vw - 1180px) / 2)) !important;
}

@media (max-width: 680px) {
  body .site-main > .ok-profile-login,
  body .ok-profile-login {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 34px 10px 42px !important;
  }
}
