/* POP Maker product portal · projects, assets, subscription and coins */

.portal-view {
  --project-layout-gap: 16px;
  flex: 1; min-width: 0; margin-left: calc(var(--sidebar-w) + 24px); padding: 38px 44px 72px;
  overflow-y: auto; transition: margin-left .2s var(--ease-out);
}
body.nav-collapsed .portal-view { margin-left: calc(var(--sidebar-collapsed-w) + 24px); }
.portal-page-head, .portal-stats, .portal-toolbar, .portal-project-grid, .asset-filter-row,
.asset-library-grid, .asset-project-list, .asset-detail-nav, .asset-library-guide,
.portal-pagination, .wallet-overview, .billing-section { width: min(1200px,100%); margin-inline: auto; }
.portal-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.portal-eyebrow { display: block; margin-bottom: 6px; color: var(--brand); font-family: var(--font-mono); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.portal-page-head h1 { font-size: 30px; line-height: 1.25; }
.portal-page-head p { margin-top: 7px; color: var(--text-2); font-size: 12.5px; }
.portal-primary-btn, .wallet-action {
  min-height: 39px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--grad);
  color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(255,179,32,.22);
}
.portal-primary-btn:hover, .wallet-action:hover { filter: brightness(1.08); }
.portal-secondary-btn { border: 1px solid var(--line); background: var(--card); color: var(--text-2); box-shadow: none; }
.portal-secondary-btn:hover { border-color: rgba(124,92,255,.45); color: var(--text); background: var(--card-2); }

.portal-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--project-layout-gap); margin-bottom: 18px; }
.portal-stat-card { padding: 16px 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(23,26,33,.72); }
.portal-stat-card span { display: block; color: var(--meta); font-size: 10px; }
.portal-stat-card strong { display: block; margin-top: 5px; font-size: 21px; line-height: 1.2; }
.portal-stat-card em { display: block; margin-top: 4px; color: var(--text-2); font-size: 9px; font-style: normal; }

.portal-toolbar, .asset-filter-row {
  display: flex; align-items: center; gap: 9px; margin-bottom: 18px;
  padding: 7px; border: 1px solid var(--line-soft); border-radius: 12px;
  background: rgba(18,20,25,.76);
}
.portal-search { height: 38px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(23,26,33,.86); color: var(--meta); }
.portal-search:focus-within { border-color: rgba(255,197,82,.75); box-shadow: 0 0 0 2px rgba(255,197,82,.12); }
.portal-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 11.5px; }
.portal-toolbar select {
  height: 38px; min-width: 132px; padding: 0 42px 0 11px; border: 1px solid var(--line); border-radius: 9px;
  background-color: rgba(23,26,33,.92);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A6ABB8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 12px 8px;
  -webkit-appearance: none; appearance: none;
  color: var(--text-2); font: inherit; font-size: 11px;
}
.portal-toolbar select:focus,.portal-toolbar select:focus-visible {
  border: 1px solid #FFC552; outline: none; box-shadow: 0 0 0 2px rgba(255,197,82,.14);
}
.portal-toolbar select option { background: #171a21; color: var(--text-2); }
.portal-toolbar select option:checked { background: #3b2b13; color: #FFC552; }
.portal-project-grid { grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: var(--project-layout-gap); }
.project-card-menu { position: absolute; top: 8px; right: 8px; display: flex; gap: 5px; opacity: 0; transition: opacity .15s; }
.project-card:hover .project-card-menu { opacity: 1; }
.project-card-action { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(13,14,18,.78); color: var(--text-2); cursor: pointer; backdrop-filter: blur(4px); }
.project-card-action:hover { background: var(--card-2); color: var(--text); }
.project-card-action.danger:hover { background: rgba(240,85,93,.8); color: #fff; }
.project-opening-status {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(13,14,18,.58); opacity: 0; pointer-events: none;
  transition: opacity .15s;
}
.project-opening-status::after {
  content: ''; width: 24px; height: 24px; border: 3px solid rgba(255,255,255,.28);
  border-top-color: #ffb338; border-radius: 50%; animation: project-opening-spin .7s linear infinite;
}
.project-card.is-opening { cursor: progress; pointer-events: none; transform: none; }
.project-card.is-opening .project-opening-status { opacity: 1; }
@keyframes project-opening-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .project-opening-status::after { animation-duration: 1.4s; } }

.workspace.is-project-opening .input-area,
.workspace.is-project-opening .panel-tabs,
.workspace.is-project-opening .panel-empty { opacity: .42; }
.project-opening-skeleton {
  width: min(100%, 520px); padding: 18px 16px; display: flex; flex-direction: column; gap: 13px;
  pointer-events: none;
}
.project-opening-line,
.project-opening-block,
.workspace.is-project-opening .panel-body::after {
  display: block; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.045) 20%, rgba(255,255,255,.1) 38%, rgba(255,255,255,.045) 56%);
  background-size: 240% 100%; animation: project-opening-pulse 1.1s ease-in-out infinite;
}
.project-opening-line { width: 100%; height: 12px; }
.project-opening-line.short { width: 42%; }
.project-opening-line.medium { width: 72%; }
.project-opening-block { width: 100%; height: 92px; margin: 5px 0; }
.workspace.is-project-opening .panel-body { position: relative; }
.workspace.is-project-opening .panel-body::after {
  content: ''; position: absolute; inset: 24px; height: min(46%, 260px); pointer-events: none;
}
@keyframes project-opening-pulse { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .project-opening-line, .project-opening-block, .workspace.is-project-opening .panel-body::after { animation: none; }
}
.project-empty-state, .asset-empty-state { grid-column: 1 / -1; padding: 70px 24px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--meta); }
.project-empty-state strong, .asset-empty-state strong { display: block; color: var(--text-2); font-size: 15px; }
.project-empty-state p, .asset-empty-state p { margin-top: 6px; font-size: 11px; }
.portal-pagination {
  display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 2px;
}
.portal-pagination.hidden { display: none; }
.portal-pagination button {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  color: var(--text-2); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
}
.portal-pagination button:hover:not(:disabled) {
  border-color: rgba(255,179,32,.5); background: var(--card-2); color: #FFC552;
}
.portal-pagination button:active:not(:disabled) { transform: translateY(1px); }
.portal-pagination button:focus-visible { outline: 2px solid rgba(255,197,82,.7); outline-offset: 2px; }
.portal-pagination button.active {
  border-color: rgba(255,179,32,.62); background: var(--brand-dim); color: #FFC552;
}
.portal-pagination button:disabled { opacity: .36; cursor: default; }
.portal-page-ellipsis {
  min-width: 18px; color: var(--meta); text-align: center; font-size: 12px; line-height: 34px;
}
.portal-page-summary { margin-left: 5px; color: var(--meta); font-size: 10px; }

.asset-project-toolbar { justify-content: space-between; }
.asset-project-toolbar .portal-search { max-width: 720px; }
#asset-project-detail .asset-detail-nav,
#asset-project-detail .asset-detail-stats,
#asset-project-detail .asset-subtype-tabs { display: none; }
#asset-project-detail .asset-detail-head { margin-bottom: 16px; }
.asset-library-guide {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 11px 14px;
  border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(255,255,255,.018);
  color: var(--meta); font-size: 9.5px;
}
.asset-library-guide span {
  width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-dim); color: #c5baff; font-size: 9px; font-weight: 800;
}
.asset-library-guide strong { color: var(--text-2); font-weight: 600; }
.asset-library-guide i { margin-inline: 4px; color: rgba(255,255,255,.22); font-size: 14px; font-style: normal; }
.asset-project-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 15px; }
.asset-project-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px;
  background: var(--card); cursor: pointer; transition: transform .18s,border-color .18s,box-shadow .18s;
}
.asset-project-card:hover, .asset-project-card:focus-visible {
  transform: translateY(-3px); border-color: rgba(124,92,255,.48);
  box-shadow: 0 18px 45px rgba(0,0,0,.22); outline: 0;
}
.asset-project-preview {
  position: relative; display: grid; height: 168px; overflow: hidden; background: #101217;
}
.asset-project-preview.has-multiple { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.asset-project-preview.has-multiple img:first-child { grid-row: 1 / 3; }
.asset-project-preview.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.asset-project-preview.count-2 img:first-child { grid-row: auto; }
.asset-project-preview img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.asset-project-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,8,11,.03) 38%,rgba(7,8,11,.72)); pointer-events: none; }
.asset-project-kind {
  position: absolute; z-index: 1; top: 10px; left: 10px; max-width: calc(100% - 20px);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(9,10,14,.68);
  color: #eceef5; font-size: 8.5px; backdrop-filter: blur(5px);
}
.asset-project-preview > strong {
  position: absolute; z-index: 1; right: 10px; bottom: 9px; color: #fff; font-size: 10px;
}
.asset-project-card-body { padding: 14px; }
.asset-project-card .asset-project-copy strong { font-size: 13.5px; }
.asset-project-card .asset-project-copy span { margin-top: 5px; }
.asset-project-card .asset-project-counts { margin-top: 13px; }
.asset-project-card .asset-project-counts span { flex: 1; min-width: 0; }
.asset-project-row {
  display: grid; grid-template-columns: 116px minmax(180px,1fr) auto 76px 18px; align-items: center; gap: 20px;
  min-height: 92px; padding: 11px 18px 11px 11px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(110deg,rgba(27,29,37,.92),rgba(20,22,28,.78)); cursor: pointer;
  transition: transform .18s, border-color .18s, background .18s;
}
.asset-project-row:hover, .asset-project-row:focus-visible { transform: translateY(-2px); border-color: rgba(124,92,255,.42); background: linear-gradient(110deg,rgba(31,32,43,.98),rgba(23,24,32,.9)); outline: 0; }
.asset-project-cover { position: relative; height: 70px; overflow: hidden; border-radius: 10px; background: #101217; }
.asset-project-cover img { width: 100%; height: 100%; object-fit: cover; }
.asset-project-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 38%,rgba(8,9,12,.78)); }
.asset-project-cover span { position: absolute; z-index: 1; left: 8px; bottom: 7px; max-width: calc(100% - 16px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; font-size: 8.5px; font-weight: 700; }
.asset-project-copy { min-width: 0; }
.asset-project-copy strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.asset-project-copy span { display: block; margin-top: 7px; color: var(--meta); font-size: 10px; }
.asset-project-counts { display: flex; align-items: center; gap: 8px; }
.asset-project-counts span { min-width: 72px; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(255,255,255,.025); color: var(--meta); font-size: 9px; }
.asset-project-counts i { margin-right: 4px; color: var(--text); font-size: 12px; font-style: normal; font-weight: 800; }
.asset-project-total { text-align: right; }
.asset-project-total strong { display: block; font-size: 17px; line-height: 1; }
.asset-project-total span { display: block; margin-top: 5px; color: var(--meta); font-size: 8.5px; }
.asset-project-arrow { color: var(--meta); font-size: 22px; transition: transform .18s, color .18s; }
.asset-project-row:hover .asset-project-arrow { color: #b8aaff; transform: translateX(3px); }
.asset-detail-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--meta); font-size: 10px; }
.asset-back-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  color: var(--text-2); font: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer;
}
.asset-back-btn:hover { border-color: rgba(255,179,32,.55); background: var(--card-2); color: #FFC552; }
.asset-breadcrumb-root { color: var(--text-2); }
.asset-detail-nav strong { max-width: 420px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #FFC552; font-weight: 600; }
.asset-detail-head { margin-bottom: 20px; }
.asset-detail-stats { margin-bottom: 22px; }
#asset-project-stats, #asset-stats { grid-template-columns: repeat(3,1fr); }
#asset-project-stats .portal-stat-card span,
#asset-stats .portal-stat-card span,
#project-stats .portal-stat-card span { font-size: 13px; }
#asset-project-stats .portal-stat-card strong,
#asset-stats .portal-stat-card strong,
#project-stats .portal-stat-card strong { font-size: 21px; line-height: 1.2; }
.asset-filter-row { justify-content: space-between; }
.asset-type-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.asset-type-tabs button { padding: 7px 13px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: var(--text-2); font: inherit; font-size: 11px; cursor: pointer; }
.asset-type-tabs button:hover { background: var(--card); color: var(--text); }
.asset-type-tabs button.active { border-color: rgba(255,179,32,.4); background: var(--brand-dim); color: #FFC552; font-weight: 700; }
.asset-type-tabs button span { margin-left: 4px; color: var(--meta); font-size: 9px; }
#asset-type-tabs { flex-wrap: nowrap; padding: 4px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(255,255,255,.018); }
#asset-type-tabs button { min-width: 118px; padding: 9px 14px; border-radius: 8px; }
#asset-type-tabs .asset-type-icon {
  display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -2px;
  background: center / contain no-repeat;
}
#asset-type-tabs .asset-type-icon-image { background-image: url("icon-image.svg"); }
#asset-type-tabs .asset-type-icon-video { background-image: url("icon-video.svg"); }
#asset-type-tabs button.active .asset-type-icon { filter: none; }
#asset-type-tabs button.active .asset-type-icon-image {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.5' y='2.5' width='13' height='11' rx='2' stroke='%23FFC552' stroke-width='1.5'/%3E%3Ccircle cx='5.2' cy='6' r='1.2' fill='%23FFC552'/%3E%3Cpath d='M2.8 12l3.2-3.1 2.2 2 2.3-2.1 2.6 3.2' stroke='%23FFC552' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#asset-type-tabs button.active .asset-type-icon-video {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.5' y='3' width='9.5' height='10' rx='2' stroke='%23FFC552' stroke-width='1.5'/%3E%3Cpath d='M11 6.2l3.2-1.8v7.2L11 9.8V6.2Z' fill='%23FFC552'/%3E%3C/svg%3E");
}
#asset-type-tabs button.active span { color: #FFC552; }
.asset-detail-tools { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.asset-subtype-tabs { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(255,255,255,.02); }
.asset-subtype-tabs button { padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--meta); font: inherit; font-size: 9px; cursor: pointer; white-space: nowrap; }
.asset-subtype-tabs button:hover { color: var(--text-2); }
.asset-subtype-tabs button.active { background: var(--card-2); color: var(--text); }
.asset-subtype-tabs button span { margin-left: 3px; color: #FFC552; }
.asset-search { max-width: 280px; }
.asset-library-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 15px; }
.library-asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--card); transition: transform .18s, border-color .18s; }
.library-asset-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.library-asset-preview { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #101217; cursor: pointer; }
.library-asset-preview img,
.library-asset-preview video,
.asset-project-preview video { display: block; width: 100%; height: 100%; object-fit: cover; }
.asset-type-chip { position: absolute; top: 9px; left: 9px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; background: rgba(10,11,15,.72); color: #dfe2ea; font-size: 9px; backdrop-filter: blur(5px); }
.asset-video-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.asset-video-mark svg { width:40px; height:40px; }
.asset-video-mark svg path:first-of-type { fill:#000; fill-opacity:.52; }
.library-asset-body { padding: 12px; }
.library-asset-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; font-weight: 700; }
.library-asset-meta { margin-top: 4px; color: var(--meta); font-size: 9.5px; }
.library-asset-actions { display: flex; gap: 6px; margin-top: 11px; }
.library-asset-actions button { flex: 1; padding: 6px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--text-2); font: inherit; font-size: 9.5px; cursor: pointer; }
.library-asset-actions button:hover { background: var(--card-2); color: var(--text); }
.library-asset-actions button.danger:hover { border-color: rgba(240,85,93,.3); color: #ff8d93; }

.wallet-overview { display: grid; grid-template-columns: 1fr 1.35fr; gap: 15px; margin-bottom: 30px; }
.wallet-card { position: relative; overflow: hidden; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: rgba(23,26,33,.82); }
.wallet-card::after { content: ''; position: absolute; width: 170px; height: 170px; right: -80px; bottom: -100px; border-radius: 50%; background: rgba(124,92,255,.12); filter: blur(4px); }
.coin-wallet-card::after { background: rgba(255,186,65,.12); }
.wallet-card-top { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 11.5px; }
.wallet-icon { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 8px; font-size: 11px; }
.coin-icon { background: rgba(255,190,73,.13); color: #ffc55f; }
.quota-icon { background: var(--brand-dim); color: #b7a8ff; }
.wallet-card > strong, .quota-number strong { display: inline-block; margin-top: 13px; font-size: 31px; line-height: 1.1; }
.wallet-card p { margin-top: 7px; color: var(--meta); font-size: 10.5px; }
.wallet-action { position: relative; z-index: 2; min-height: 32px; margin-top: 15px; padding-inline: 13px; background: linear-gradient(120deg,#e7aa3c,#ffcb66); color: #251803; font-size: 10px; }
.quota-number span { margin-left: 6px; color: var(--meta); font-size: 12px; }
.wallet-progress { height: 6px; margin-top: 14px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.wallet-progress i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }

.billing-section { margin-top: 28px; }
.billing-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.billing-section-head span { color: #9782ff; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.billing-section-head h2 { margin-top: 3px; font-size: 20px; }
.billing-section-head em { color: var(--meta); font-size: 10px; font-style: normal; }
.billing-section-head em b { color: var(--text); }
.plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.plan-card.recommended { border-color: rgba(124,92,255,.55); box-shadow: 0 0 0 1px rgba(124,92,255,.14), 0 18px 60px rgba(32,19,78,.2); }
.plan-card.current { border-color: rgba(62,207,142,.4); }
.plan-badge { position: absolute; top: 13px; right: 13px; padding: 3px 7px; border-radius: 99px; background: var(--brand-dim); color: #c6bbff; font-size: 8px; font-weight: 800; }
.plan-tier { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-height: 40px; color: var(--brand); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.plan-tier span { padding: 3px 7px; border-radius: 99px; background: var(--brand-dim); color: var(--text-2); font-size: 8px; font-weight: 700; letter-spacing: 0; }
.plan-name { margin-top: 10px; font-size: 18px; font-weight: 850; }
.plan-description { min-height: 48px; margin-top: 7px; color: var(--meta); font-size: 10.5px; line-height: 1.65; }
.plan-price { margin-top: 8px; font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.plan-price small { color: var(--meta); font-size: 10px; font-weight: 500; }
.plan-price-note { min-height: 30px; margin-top: 6px; color: var(--meta); font-size: 9px; line-height: 1.5; }
.plan-quota { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; padding: 11px; border-radius: 10px; background: rgba(255,255,255,.035); color: var(--text-2); font-size: 9px; line-height: 1.45; }
.plan-quota strong { color: var(--text); font-size: 11px; }
.plan-includes { margin-top: 18px; color: var(--text); font-size: 10px; font-weight: 800; }
.plan-features { display: flex; flex-direction: column; gap: 9px; margin: 11px 0 20px; color: var(--text-2); font-size: 10px; line-height: 1.45; }
.plan-features span { display: flex; align-items: flex-start; }
.plan-features span::before { content: '✓'; flex: 0 0 auto; margin-right: 7px; color: var(--ok); font-weight: 900; }
.plan-button { width: 100%; min-height: 36px; margin-top: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--card-2); color: var(--text); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.plan-card.recommended .plan-button { border: 0; background: var(--grad); }
.plan-button:disabled { opacity: .55; cursor: default; }

.coin-package-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.coin-package { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.coin-package-mark { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#ffd572,#d99b31); color: #342000; font-size: 18px; font-weight: 900; box-shadow: 0 8px 22px rgba(219,155,48,.18); }
.coin-package-copy { min-width: 0; }
.coin-package-copy strong { display: block; font-size: 14px; }
.coin-package-copy span { display: block; margin-top: 3px; color: #e9bc62; font-size: 9.5px; }
.coin-buy { margin-left: auto; padding: 7px 10px; border: 1px solid rgba(255,198,89,.25); border-radius: 8px; background: rgba(255,198,89,.08); color: #ffd171; font: inherit; font-size: 10px; cursor: pointer; }
@media (max-width: 1280px) {
  .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 920px) {
  .portal-view, body.nav-collapsed .portal-view { margin-left: 0; padding: 28px 18px 60px; }
  .portal-stats { grid-template-columns: 1fr 1fr; }
  .wallet-overview, .plan-grid, .coin-package-grid { grid-template-columns: 1fr; }
  .asset-filter-row { align-items: stretch; flex-direction: column; }
  .asset-detail-tools { align-items: stretch; flex-direction: column; }
  .asset-subtype-tabs { overflow-x: auto; }
  .asset-search { max-width: none; }
  .asset-project-row { grid-template-columns: 96px minmax(0,1fr) auto 14px; gap: 13px; }
  .asset-project-counts { display: none; }
  .asset-project-card .asset-project-counts { display: flex; }
}

@media (max-width: 620px) {
  .portal-page-head { align-items: flex-start; flex-direction: column; }
  .portal-primary-btn { width: 100%; }
  .portal-toolbar { align-items: stretch; flex-direction: column; }
  .portal-toolbar select { width: 100%; }
  .portal-stats { grid-template-columns: 1fr 1fr; }
  .portal-stat-card { padding: 13px; }
  .portal-stat-card strong { font-size: 18px; }
  .asset-project-row { grid-template-columns: 82px minmax(0,1fr) 14px; min-height: 78px; padding: 9px 12px 9px 9px; }
  .asset-project-cover { height: 58px; }
  .asset-project-total { display: none; }
  .asset-project-copy strong { font-size: 12.5px; }
  .asset-project-copy span { font-size: 9px; }
  .asset-library-guide { overflow-x: auto; }
  .asset-library-guide > * { flex: 0 0 auto; }
  .asset-project-list { grid-template-columns: 1fr; }
  .asset-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .portal-pagination { gap: 6px; margin-top: 18px; }
  .portal-page-summary { width: 100%; margin-left: 0; text-align: center; }
  .library-asset-body { padding: 10px; }
  .billing-section-head { align-items: flex-start; flex-direction: column; }
}

/* ChatGPT-inspired plan selection */
#billing-view {
  background: #f7f7f8;
  color: #202123;
  font-family: "Segoe UI",Arial,sans-serif;
}
#billing-view .portal-page-head,
#billing-view .wallet-overview,
#billing-view .billing-section { width: min(1240px,100%); }
#billing-view .billing-page-head {
  align-items: center; justify-content: center; flex-direction: column;
  margin-bottom: 42px; text-align: center;
}
#billing-view .portal-eyebrow { color: #6e6e80; letter-spacing: .12em; }
#billing-view .portal-page-head h1 { color: #202123; font-size: 36px; font-weight: 650; letter-spacing: -.03em; }
#billing-view .portal-page-head p { color: #6e6e80; font-size: 13px; }
#billing-view .local-prototype-badge {
  margin-top: 10px; border-color: #d9d9e3; background: #fff; color: #565869;
}
#billing-view .billing-plan-section { margin-top: 0; }
#billing-view .billing-section-head { margin-bottom: 18px; }
#billing-view .billing-section-head span { color: #6e6e80; letter-spacing: .08em; }
#billing-view .billing-section-head h2 { color: #202123; font-size: 22px; font-weight: 600; }
#billing-view .billing-section-head em { color: #6e6e80; }
#billing-view .billing-section-head em b { color: #202123; }
#billing-view .plan-grid { gap: 16px; }
#billing-view .plan-card {
  min-height: 640px; padding: 30px 28px; border-radius: 12px;
}
#billing-view .plan-card.recommended { border-color: #202123; box-shadow: none; }
#billing-view .plan-card.current { border-color: #10a37f; box-shadow: 0 0 0 1px #10a37f; }
#billing-view .plan-badge {
  top: 18px; right: 18px; padding: 5px 9px;
  background: #202123; color: #fff;
}
#billing-view .plan-tier { min-height: 34px; color: #ffc64f; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; }
#billing-view .plan-tier span { background: rgba(255,190,73,.16); color: #d8d0c0; font-family: var(--font-ui); }
#billing-view .plan-name { margin-top: 14px; font-size: 24px; font-weight: 850; }
#billing-view .plan-description { min-height: 52px; margin-top: 14px; font-size: 11px; line-height: 1.65; }
#billing-view .plan-price { margin-top: 20px; font-size: 36px; font-weight: 850; letter-spacing: 0; }
#billing-view .plan-price small { color: #6e6e80; font-size: 11px; }
#billing-view .plan-button {
  min-height: 44px; margin-top: 22px; border-radius: 8px; font-size: 12px;
}
#billing-view .plan-card.recommended .plan-button { background: #10a37f; border-color: #10a37f; }
#billing-view .plan-button:hover:not(:disabled) { filter: brightness(.94); }
#billing-view .plan-button:disabled { border-color: #d9d9e3; background: #ececf1; color: #6e6e80; opacity: 1; }
#billing-view .plan-bonus {
  display: grid;
  grid-template-columns: 22px auto 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(255,190,73,.2);
  border-radius: 9px;
  background: rgba(255,190,73,.09);
}
#billing-view .plan-bonus img { width: 22px; height: 22px; object-fit: contain; }
#billing-view .plan-bonus span { color: var(--meta); font-size: 9px; }
#billing-view .plan-bonus strong { justify-self: end; color: #ffc55f; font-size: 10.5px; }
#billing-view .plan-includes { margin-top: 18px; color: #202123; font-size: 10.5px; font-weight: 650; }
#billing-view .plan-features { gap: 11px; margin: 13px 0 0; color: #353740; font-size: 10.5px; }
#billing-view .plan-features span { line-height: 1.5; }
#billing-view .plan-features span::before { content: '✓'; margin-right: 8px; color: #202123; }
#billing-view .plan-quota { display: flex; margin-top: 14px; }
#billing-view .wallet-overview { grid-template-columns: 1.35fr 1fr; margin-top: 34px; margin-bottom: 36px; }
#billing-view .wallet-card {
  border-color: #d9d9e3; border-radius: 16px; background: #fff; color: #202123;
}
#billing-view .wallet-card::after { display: none; }
#billing-view .wallet-card-top { color: #565869; }
#billing-view .quota-icon { background: #ececf1; color: #202123; }
#billing-view .coin-icon { background: #fff5d6; color: #8a5b00; }
#billing-view .wallet-card > strong,
#billing-view .quota-number strong { color: #202123; font-weight: 650; }
#billing-view .wallet-card p,
#billing-view .quota-number span { color: #6e6e80; }
#billing-view .wallet-progress { background: #ececf1; }
#billing-view .wallet-progress i { background: #10a37f; }
#billing-view .wallet-action {
  min-height: 36px; border: 1px solid #202123; border-radius: 8px;
  background: #fff; color: #202123; box-shadow: none;
}
#billing-view .coin-package {
  border-color: #d9d9e3; border-radius: 14px; background: #fff; color: #202123;
}
#billing-view .coin-package-mark { background: #fff5d6; color: #8a5b00; box-shadow: none; }
#billing-view .coin-package-copy span { color: #6e6e80; }
#billing-view .coin-buy {
  border-color: #202123; background: #202123; color: #fff; font-weight: 700;
}
@media (max-width: 920px) {
  #billing-view .wallet-overview { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  #billing-view .billing-page-head { align-items: center; }
  #billing-view .portal-page-head h1 { font-size: 29px; }
  #billing-view .plan-card { min-height: 0; }
}

/* Theme-colored ChatGPT-style plan layout */
#billing-view {
  /* 透出 body 的微弱点阵背景，避免会员页形成一整块深色面板。 */
  background: transparent;
  color: var(--text);
  font-family: var(--font-ui);
}
#billing-view .portal-eyebrow { color: #9c89ff; }
#billing-view .billing-page-head .portal-eyebrow,
#billing-view .billing-page-head .local-prototype-badge { display: none; }
#billing-view .portal-page-head h1,
#billing-view .billing-section-head h2,
#billing-view .billing-section-head em b { color: var(--text); }
#billing-view .portal-page-head p,
#billing-view .billing-section-head em { color: var(--text-2); }
#billing-view .local-prototype-badge {
  border-color: rgba(124,92,255,.3); background: var(--brand-dim); color: #c8bdff;
}
#billing-view .billing-section-head span { color: #9c89ff; }
#billing-view .billing-plan-section .billing-section-head > div > span { display: none; }
#billing-view .plan-card {
  border-color: var(--line); background: var(--card); color: var(--text);
}
#billing-view .plan-card:not(.recommended) .plan-button {
  background: #fff;
  color: #0f0f13;
  border-color: #fff;
}
#billing-view .plan-card.recommended {
  border-color: rgba(124,92,255,.72);
  box-shadow: 0 0 0 1px rgba(124,92,255,.18),0 20px 60px rgba(45,27,112,.2);
}
#billing-view .plan-card.current {
  border-color: var(--ok); box-shadow: 0 0 0 1px rgba(62,207,142,.18);
}
#billing-view .plan-badge { background: var(--grad); color: #fff; }
#billing-view .plan-description,
#billing-view .plan-price small { color: var(--meta); }
#billing-view .plan-button {
  border-color: rgba(124,92,255,.5); background: var(--grad); color: #fff;
}
#billing-view .plan-card.recommended .plan-button { border-color: rgba(124,92,255,.5); background: var(--grad); }
#billing-view .plan-button:disabled {
  border-color: var(--line); background: var(--card-2); color: var(--meta);
}
#billing-view .plan-includes { color: var(--text); }
#billing-view .plan-features { color: var(--text-2); }
#billing-view .plan-features span::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  vertical-align: -2px;
  background: center / contain no-repeat url('check.svg');
}

#billing-view .billing-section-head h2 {
  font-size: 24px;
  font-weight: 850;
}
#billing-view .billing-panel { padding-bottom: 10px; }
#billing-view .plan-grid {
  grid-template-columns: repeat(4,minmax(260px,1fr));
  align-items: stretch;
}
#billing-view .plan-badge {
  top: 18px;
  right: 18px;
  background: #ffe477;
  color: #16110a;
}
#billing-view .plan-price-note {
  color: #9aa1b3;
}
#billing-view .plan-quota {
  min-height: 54px;
  background: rgba(255,255,255,.035);
}
#billing-view .plan-features {
  margin-top: 14px;
  gap: 10px;
}
#billing-view .wallet-card {
  border-color: var(--line); background: var(--card); color: var(--text);
}
#billing-view .wallet-card-top { color: var(--text-2); }
#billing-view .quota-icon { background: var(--brand-dim); color: #b7a8ff; }
#billing-view .coin-icon { background: rgba(255,190,73,.13); color: #ffc55f; }
#billing-view .wallet-card > strong,
#billing-view .quota-number strong { color: var(--text); }
#billing-view .wallet-card p,
#billing-view .quota-number span { color: var(--meta); }
#billing-view .wallet-progress { background: rgba(255,255,255,.08); }
#billing-view .wallet-progress i { background: var(--grad); }
#billing-view .wallet-action {
  border-color: rgba(124,92,255,.45); background: var(--brand-dim); color: #d7d0ff;
}
#billing-view .coin-package {
  border-color: var(--line); background: var(--card); color: var(--text);
}
#billing-view .coin-package-mark { background: rgba(255,190,73,.13); color: #ffc55f; }
#billing-view .coin-package-copy span { color: var(--meta); }
#billing-view .coin-buy {
  border-color: rgba(124,92,255,.45); background: var(--brand-dim); color: #d7d0ff;
}
/* Separate membership plans from coin purchases */
#billing-view .billing-switch {
  width: min(420px,100%);
  margin: 2px auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
html.membership-purchase-locked #billing-view .billing-switch,
html.membership-purchase-locked #billing-view [data-billing-panel="membership"],
html.membership-purchase-locked #billing-view #coin-vip-cta {
  display: none !important;
}
html.membership-purchase-locked #billing-view [data-billing-panel="coins"] {
  display: block !important;
}
#billing-view .billing-switch button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--meta);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s,color .18s,box-shadow .18s;
}
#billing-view .billing-switch button:hover { color: var(--text-2); }
#billing-view .billing-switch button.active {
  background: #fff;
  color: #0f0f13;
  box-shadow: none;
}
#billing-view .billing-film-hero {
  position: relative;
  /* 与胶卷素材等高，避免形成比胶卷更高的深色底框。 */
  height: 165px;
  margin-bottom: 42px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
}
#billing-view .billing-film-rail {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  display: flex;
  gap: 8px;
  width: max-content;
  height: 165px;
  transform: translate(-1647px, -50%);
  animation: billing-film-scroll 34s linear infinite;
  will-change: transform;
}
#billing-view .billing-film-frame {
  position: relative;
  width: 1639px;
  height: 165px;
  flex: 0 0 auto;
}
#billing-view .billing-film-base {
  display: block;
  width: 1639px;
  height: 165px;
}
#billing-view .billing-film-photos {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  grid-template-columns: repeat(9, 175px);
  gap: 8px;
  width: 1647px;
  height: 165px;
  padding: 17px 4px;
  box-sizing: border-box;
  transform: scaleX(.995143);
  transform-origin: left top;
}
#billing-view .billing-film-photos img {
  display: block;
  width: 175px;
  height: 131px;
  border-radius: 4px;
  object-fit: cover;
}
#billing-view .billing-film-hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: '';
  pointer-events: none;
}
#billing-view .billing-film-hero::after {
  background: linear-gradient(90deg, var(--bg) 0%, rgba(13,14,18,.72) 4%, transparent 13%, transparent 84%, rgba(13,14,18,.16) 90%, rgba(13,14,18,.62) 96%, var(--bg) 100%);
}
#billing-view .billing-film-content {
  position: relative;
  z-index: 3;
  isolation: isolate;
  display: flex;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  text-align: center;
}
#billing-view .billing-film-content :is(h1, p) { text-shadow: 0 2px 16px rgba(0,0,0,.72); }
#billing-view .billing-film-hero .billing-page-head { margin: 0; }
#billing-view .billing-film-hero .billing-switch { margin: 8px auto 0; }
@keyframes billing-film-scroll {
  from { transform: translate(-1647px, -50%); }
  to { transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  #billing-view .billing-film-rail { animation: none; }
}
#billing-view .billing-panel {
  width: min(1240px,100%);
  margin: 0 auto;
}
#billing-view .billing-panel.active { display: block; }
#billing-view .billing-single-wallet {
  width: min(620px,100%);
  grid-template-columns: 1fr;
  margin-top: 30px;
}
#billing-view .billing-coin-wallet { margin-bottom: 28px; }
#billing-view .billing-single-explainer {
  grid-template-columns: 1fr;
  width: min(620px,100%);
}

@media (max-width: 620px) {
  #billing-view .billing-film-hero { height: 148px; margin-bottom: 30px; }
  #billing-view .billing-film-content { padding-inline: 12px; }
  #billing-view .billing-film-hero .billing-switch { width: min(360px,100%); margin-top: 7px; }
  #billing-view .billing-switch { margin-bottom: 24px; }
  #billing-view .billing-switch button { min-height: 38px; }
}

/* Purchase-first billing layout */
#billing-view .coin-store-section { margin-top: 0; }
#billing-view .coin-store-head { align-items: flex-end; }
#billing-view .coin-store-head > div > span { display: none; }
#billing-view .coin-store-head p { margin-top: 6px; color: var(--meta); font-size: 11px; }
#billing-view .coin-package-grid { gap: 18px; }
#billing-view .coin-package {
  position: relative;
  min-height: 360px;
  padding: 22px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  background: radial-gradient(320px 160px at 100% 0,rgba(255,193,78,.08),transparent 70%),var(--card);
  transition: transform .2s,border-color .2s,box-shadow .2s;
}
#billing-view .coin-package > * { position: relative; z-index: 1; }
#billing-view .coin-package:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}
#billing-view .coin-package.featured {
  border-color: rgba(255,179,32,.72);
  box-shadow: 0 0 0 1px rgba(255,179,32,.13),0 20px 55px rgba(104,53,5,.20);
  background: radial-gradient(360px 190px at 100% 0,rgba(255,179,32,.18),transparent 70%),var(--card);
}
#billing-view .coin-package,
#billing-view .coin-package.featured {
  border-color: var(--line);
  background: var(--card);
  box-shadow: none;
}
#billing-view .coin-package:hover {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card),var(--card)) padding-box,
    linear-gradient(110deg,#ffb338,#ff7a30,#9c6bff,#6e4dd7,#ffb338) border-box;
  background-size: 100% 100%,260% 100%;
  animation: coin-package-border-flow 1.35s linear infinite;
  box-shadow: 0 22px 55px rgba(0,0,0,.32),0 0 18px rgba(255,179,56,.12),0 0 24px rgba(156,107,255,.1);
}
#billing-view .coin-package.featured:hover {
  background:
    linear-gradient(var(--card),var(--card)) padding-box,
    linear-gradient(110deg,#ffb338,#ff7a30,#9c6bff,#6e4dd7,#ffb338) border-box;
  background-size: 100% 100%,260% 100%;
}
@keyframes coin-package-border-flow {
  from { background-position: 0 0,0% 50%; }
  to { background-position: 0 0,260% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #billing-view .coin-package:hover { animation: none; }
}
#billing-view .coin-package-head {
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#billing-view .coin-package-head > span { color: var(--text-2); font-size: 11px; font-weight: 750; letter-spacing: .06em; }
#billing-view .coin-package-head em {
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--brand-dim);
  color: var(--brand);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
#billing-view .coin-package.featured .coin-package-head em {
  background: var(--grad);
  color: #0f0f13;
}
#billing-view .coin-package-balance { margin-top: 24px; display: flex; align-items: center; gap: 13px; }
#billing-view .coin-package-mark {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  color: transparent;
  box-shadow: none;
}
#billing-view .coin-package-copy strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
}
#billing-view .coin-package-copy span { margin-top: 6px; color: var(--meta); font-size: 9.5px; }
#billing-view .coin-package-description { margin-top: 18px; color: var(--text-2); font-size: 11px; }
#billing-view .coin-package-reward {
  margin-top: 16px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}
#billing-view .coin-package-reward span { color: var(--meta); font-size: 9.5px; }
#billing-view .coin-package-reward.has-bonus span { color: #f0c66d; }
#billing-view .coin-package-reward strong { color: var(--text-2); font-size: 10px; white-space: nowrap; }
#billing-view .coin-package-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
#billing-view .coin-package-price strong { display: block; color: var(--text); font-size: 24px; line-height: 1; }
#billing-view .coin-package-price span { display: block; margin-top: 5px; color: var(--meta); font-size: 8.5px; }
#billing-view .coin-buy {
  min-width: 104px;
  min-height: 40px;
  margin-left: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}
#billing-view .coin-buy:hover { filter: brightness(1.08); }
@media (max-width: 920px) {
  #billing-view .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #billing-view .coin-package { min-height: 0; }
}

@media (max-width: 620px) {
  #billing-view .plan-grid { grid-template-columns: 1fr; }
  #billing-view .coin-store-head { align-items: flex-start; }
  #billing-view .coin-package { padding: 19px; }
  #billing-view .coin-package-footer { align-items: stretch; flex-direction: column; }
  #billing-view .coin-buy { width: 100%; }
}

/* Live country pricing states used by the current API-backed billing flow. */
#billing-view .pricing-status {
  min-height: 180px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text-2);
  font-size: 12px;
  text-align: center;
}
#billing-view .pricing-status button {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255,179,32,.55);
  border-radius: 8px;
  background: var(--brand-dim);
  color: var(--brand-2);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
#billing-view .pricing-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,.12);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: pricing-spin .7s linear infinite;
}
@keyframes pricing-spin { to { transform: rotate(360deg); } }

.profile-record-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0 4px;
}
.profile-record-pager button {
  min-width: 82px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.profile-record-pager button:disabled {
  opacity: .45;
  cursor: default;
}
.profile-record-pager span {
  color: var(--meta);
  font-size: 13px;
}
