/* GENERATED: python3 scripts/build-public-css.py — edit resources/styles modules only.
   Source SHA-256: 7cc3d50a7258348e2e1f7370d186a9a9f7563e087f21d53714cb15483a430dbe */

/* Source: resources/styles/foundation.css */
/* Global primitives shared by the public site and its local administration. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1c293e;
  background: #f2f5fa;
  font-synthesis: none;
  --blue: #2e64ee;
  --line: #eaf0f6;
  --muted: #8895a8;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea, select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  opacity: .6;
  cursor: wait;
}
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
:is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #97b6ff;
  outline-offset: 3px;
}
h1, h2, h3, p {
  margin: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -.7px;
}
h2 {
  font-size: 19px;
  line-height: 1.6;
}
h3 {
  font-size: 15px;
}
svg {
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.test-ribbon {
  font-size: 13px;
  text-align: center;
  background: #eaf1ff;
  color: #4b6387;
  padding: 8px 12px;
  line-height: 1.6;
}
.full, .block {
  width: 100%;
}
.block {
  display: flex;
  text-align: center;
}
.inline {
  width: auto;
  align-self: flex-start;
}
.center {
  text-align: center;
}
/* Artwork is used by promotions, public resources and the local cover picker. */
.art {
  background-image: url('games.png');
  background-size: 300% 200%;
  background-repeat: no-repeat;
}
.art-1 {
  background-position: 0% 0%;
}
.art-2 {
  background-position: 50% 0%;
}
.art-3 {
  background-position: 100% 0%;
}
.art-4 {
  background-position: 0% 100%;
}
.art-5 {
  background-position: 50% 100%;
}
.art-6 {
  background-position: 100% 100%;
}

/* Source: resources/styles/shared.css */
/* Shell geometry is defined once. Page variants change these custom properties. */
.app {
  --blue: #2456ce;
  --muted: #65758b;
  --public-text: #25364e;
  --public-line: #dce5f0;
  --public-control: 44px;
  --public-action: 48px;
  --public-radius: 12px;
  --app-max-width: 520px;
  --app-gutter: 20px;
  --app-bottom-space: 104px;
  --support-bottom-space: 180px;
  --app-background: #fff;
  --app-margin: 0 auto;
  --app-min-height: calc(100dvh - 32px);
  --app-border: 0;
  --app-radius: 0;
  --app-shadow: 0 12px 70px #28426407;
  --nav-background: #fffffffa;
  --nav-border: var(--line);
  --nav-color: #63748b;
  --nav-active: #007aff;
  --nav-padding-top: 9px;
  --nav-icon-size: 25px;
  --nav-font-size: 11px;
  --nav-gap: 2px;
  width: 100%;
  max-width: var(--app-max-width);
  min-height: var(--app-min-height);
  margin: var(--app-margin);
  position: relative;
  border: var(--app-border);
  border-radius: var(--app-radius);
  background: var(--app-background);
  box-shadow: var(--app-shadow);
  color: var(--public-text);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: calc(var(--app-bottom-space) + env(safe-area-inset-bottom, 0px));
}
.app.has-floating-support {
  padding-bottom: calc(var(--support-bottom-space) + env(safe-area-inset-bottom, 0px));
}
.app main, .app section, .app form, .app .stack > *, .app .button-row > * {
  min-width: 0;
}
.app h1 {
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.app h2 {
  font-size: 20px;
  line-height: 1.5;
}
.app h3 {
  font-size: 16px;
  line-height: 1.5;
}
.app p, .app label {
  overflow-wrap: anywhere;
}
.app .app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--app-gutter);
  gap: 12px;
}
.app .brand {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: var(--public-control);
  font-size: clamp(22px, 6vw, 26px);
  line-height: 1.25;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: anywhere;
  letter-spacing: -.7px;
  color: var(--blue);
}
.app .brand small {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0;
}
.app .avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2e9df;
  color: #7f6d5c;
}
.app .search {
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 8px;
  margin: 0 var(--app-gutter) 18px;
  padding: 2px 8px 2px 12px;
  border-radius: 13px;
  color: #91a2be;
  background: #f0f4ff;
}
.app .search input, .app .search select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  flex: 1 1 0;
  min-height: 48px;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--public-text);
  background: transparent;
  border: 0;
}
.app .search button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--blue);
  border-radius: 9px;
}
.app .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 700px;
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-around;
  padding: var(--nav-padding-top) 7px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--nav-border);
  background: var(--nav-background);
  z-index: 10;
  backdrop-filter: blur(12px);
}
.app .bottom-nav a {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  max-width: 100%;
  min-height: 48px;
  gap: var(--nav-gap, 2px);
  font-size: var(--nav-font-size, 11px);
  line-height: 1.4;
  color: var(--nav-color);
}
.app .bottom-nav svg {
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
}
.app .bottom-nav[data-navigation-pending]::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nav-active);
  opacity: .65;
  pointer-events: none;
}
/* One shared heading/avatar component for recommendation, discovery and points. */
.app .store-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
}
.app .store-page-header h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.8px;
  color: #1c1c1e;
}
.app .store-page-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #7f6d5c;
  border-radius: 50%;
  background: #eee2ce;
}
.app .store-page-avatar svg {
  width: 25px;
  height: 25px;
}
.app .bottom-nav a.active {
  color: var(--nav-active);
}
.app > .support-entry {
  position: fixed;
  z-index: 40;
  left: auto;
  right: max(16px, calc((100vw - var(--app-max-width)) / 2 + var(--app-gutter)));
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  max-width: min(240px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid #dce3ff;
  border-radius: 999px;
  background: #fff;
  color: #294fbc;
  box-shadow: 0 5px 22px #344cb81f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.app > .support-entry span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.app > .support-entry svg {
  width: 22px;
  height: 22px;
}
.app > .support-entry:hover {
  background: #f3f5ff;
}
.app .page-pad {
  padding: 12px 22px 24px;
}
.app .muted {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 9px 0 20px;
}
.app .small-note {
  margin-top: 10px;
  text-align: center;
}
.app .small-note, .app .site-note, .app .stack label small, .app .stack > small {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.app .site-note {
  text-align: center;
  padding: 25px 22px 12px;
}
.app .eyebrow {
  display: block;
  color: #8095b1;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.app .notice {
  background: #f1f6ff;
  border: 1px solid #e2ebfc;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding: 14px;
  border-radius: 12px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.app .flash, .app .error-box {
  margin: 0 var(--app-gutter) 20px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.65;
  border-radius: 12px;
  background: #edf9f3;
  color: #277851;
  border: 1px solid #d5eee0;
  overflow-wrap: anywhere;
}
.app .error-box {
  background: #fff4ef;
  color: #9b3526;
  border-color: #f7dccc;
}
.app .error-box ul {
  padding-left: 18px;
  margin: 5px 0 0;
}
/* Form controls are scoped to forms; search variants own their own dimensions. */
.app .stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app .stack label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #42546e;
}
.app .stack :is(input, textarea, select) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #c9d5e5;
  border-radius: var(--public-radius);
  padding: 12px 14px;
  background: #fff;
  color: #273c5b;
  font-size: 16px;
  line-height: 1.5;
}
.app .stack textarea {
  min-height: 120px;
  resize: vertical;
  overflow-wrap: anywhere;
}
.app .stack label small {
  font-weight: 400;
}
.app .stack :is(input[type="checkbox"], input[type="radio"]) {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex: 0 0 20px;
}
.app .stack label:has(input[type="checkbox"]), .app .stack label:has(input[type="radio"]) {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
  gap: 10px;
}
.app input::placeholder, .app textarea::placeholder {
  color: #66768c;
  opacity: 1;
}
.app input[aria-invalid="true"], .app textarea[aria-invalid="true"], .app select[aria-invalid="true"], .app input:user-invalid, .app textarea:user-invalid {
  border-color: #b73526;
  background: #fffafa;
}
.app .primary, .app .secondary, .app .auth-wechat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--public-action);
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--public-radius);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.app .primary {
  background: var(--blue);
  color: #fff;
}
.app .secondary {
  min-height: 44px;
  color: #405979;
  background: #f0f4fa;
  border-color: #cad6e6;
}
.app .primary:hover {
  background: #1b46b2;
}
.app .secondary:hover {
  background: #e6edf8;
  border-color: #aebfd7;
}
.app .primary:active, .app .secondary:active, .app .auth-wechat:active {
  box-shadow: inset 0 2px 5px #14264726;
}
.app :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #2456ce;
  outline-offset: 3px;
}
.app :is(button, input, select, textarea):disabled, .app [aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .6;
}
.app a[aria-disabled="true"] {
  pointer-events: none;
}
.app :is(button, .primary, .secondary, .auth-wechat)[aria-busy="true"] {
  cursor: progress;
  pointer-events: none;
}
.app :is(button, .primary, .secondary, .auth-wechat)[aria-busy="true"]::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: public-control-spin .8s linear infinite;
}
@keyframes public-control-spin {
  to {
    transform: rotate(360deg);
  }
}
.app .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.app .button-row > :is(a, button) {
  flex: 1 1 140px;
}
.app .back-link, .app .back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid #c5d6ef;
  border-radius: 10px;
  background: #eef4ff;
  color: #214fa8;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px #28426408;
}
.app main > .back-link, .app main > .back {
  margin-right: var(--app-gutter);
  margin-left: var(--app-gutter);
  max-width: calc(100% - 2 * var(--app-gutter));
}
.app .back-link:hover, .app .back:hover {
  background: #e0ebff;
  border-color: #9cb9e3;
}
.app .back-link:active, .app .back:active {
  background: #d5e3fc;
}
.app .back-link svg, .app .back svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.app .promo {
  margin: 0 var(--app-gutter) 24px;
  padding: 15px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #dedee5;
  border-radius: 16px;
  background: #fff;
}
.app .promo:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 3px;
}
.app .promo-logo {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  min-width: 43px;
  display: grid;
  place-items: center;
  background: #3265ef;
  color: #fff;
  border-radius: 13px;
  box-shadow: 0 5px 10px #3265ef20;
}
.app .promo-logo svg {
  width: 25px;
  height: 25px;
}
.app .promo-copy {
  min-width: 0;
  flex: 1;
}
.app .promo-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}
.app .promo-copy strong small {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: #535663;
  background: #f0f0f4;
  border-radius: 4px;
  padding: 1px 3px;
  margin-left: 3px;
}
.app .promo-copy > span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.app .promo-copy, .app .promo-copy strong, .app .promo-copy > span {
  white-space: normal;
  overflow-wrap: anywhere;
}
.app .promo > b {
  min-width: 0;
  max-width: 42%;
  padding: 5px 10px;
  border-radius: 12px;
  background: #edf4ff;
  font-size: 13px;
  line-height: 1.5;
  color: var(--blue);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.app .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 21px;
  margin: 21px 0 12px;
  gap: 10px;
}
.app .section-title span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.app .empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
  font-size: 15px;
  line-height: 1.7;
}
.app .empty a {
  color: var(--blue);
}
.app .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 25px 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #7590b9;
}
.app .pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  background: #f0f5ff;
  border-radius: 8px;
  color: var(--blue);
}
@media (min-width: 760px) {
  .app {
    --app-margin: 30px auto;
    --app-border: 1px solid #e0e7f2;
    --app-radius: 24px 24px 0 0;
    --app-min-height: 860px;
  }
}
@media (max-width: 700px) {
  .app {
    --app-shadow: none;
  }
  .app .promo {
    gap: 9px;
  }
}
@media (max-width: 360px) {
  .app {
    --app-gutter: 16px;
  }
  .app .app-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .app .page-pad {
    padding-right: 18px;
    padding-left: 18px;
  }
  .app .promo {
    flex-wrap: wrap;
  }
  .app .promo > b {
    flex: 0 1 auto;
    max-width: calc(100% - 54px);
    margin-left: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app .primary, .app .secondary, .app .auth-wechat {
    transition: none;
  }
  .app [aria-busy="true"]::after {
    animation: none;
  }
}

/* Source: resources/styles/public-views.css */
/* Account, authentication and non-store public pages. */
.app .auth-page {
  padding: 24px 24px 32px;
}
.app .auth-page h1 {
  font-size: 29px;
}
.app .auth-page .stack {
  margin-top: 24px;
}
/* Guest pages share the storefront shell and its horizontal gutter. */
.app.app-store-auth {
  --muted: #62626a;
}
.app.app-store-auth .brand {
  color: var(--public-text);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.8px;
}
.app.app-store-auth .brand small {
  display: none;
}
.app.app-store-auth .avatar {
  background: #eee2ce;
}
.app.app-store-auth .avatar svg {
  width: 25px;
  height: 25px;
}
.app.app-store-auth .auth-page {
  padding: 12px var(--app-gutter) 24px;
}
.app.app-store-auth .auth-page h1 {
  font-size: 24px;
  margin: 0;
}
.app.app-store-auth .auth-help {
  margin-top: 12px;
}
.app .auth-switch {
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
  margin: 20px 0;
}
.app .auth-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 3px;
  color: var(--blue);
  font-weight: 600;
}
.app .auth-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.app .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.app .auth-divider::before, .app .auth-divider::after {
  content: "";
  height: 1px;
  background: var(--public-line);
  flex: 1;
}
.app .auth-wechat {
  width: 100%;
  color: #fff;
  background: #087f45;
}
.app .auth-wechat:hover {
  background: #066d3a;
}
.app .auth-wechat svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.app .auth-recovery-link, .app a.small-note {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  margin: 0;
  border-radius: 10px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.6;
}
.app .auth-recovery-link:hover, .app a.small-note:hover {
  background: #f0f4ff;
}
.app .auth-help {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.app .page-pad > a:not(.primary):not(.secondary) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.5;
}
.app .order-card {
  display: block;
  border: 1px solid #e5ebf5;
  border-radius: 15px;
  padding: 17px;
  margin-top: 17px;
}
.app .order-card-head, .app .order-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.app .order-card-head strong {
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.app .badge {
  font-size: 13px;
  line-height: 1.5;
  color: #206348;
  background: #eaf8f1;
  padding: 3px 6px;
  border-radius: 5px;
  white-space: nowrap;
}
.app .badge.gray {
  color: #596b83;
  background: #f0f3f7;
}
.app .order-number {
  max-width: 250px;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.app .order-card > .order-number {
  margin: 10px 0;
}
.app .order-meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.app .order-meta b {
  color: #3568ed;
}
.app .data-card {
  border: 1px solid #e2eaf6;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}
.app .data-card h2 {
  margin-bottom: 16px;
}
.app .data-card dl {
  display: grid;
  grid-template-columns: minmax(68px, auto) minmax(0, 1fr);
  font-size: 14px;
  line-height: 1.7;
  gap: 14px 10px;
  margin: 0;
}
.app .data-card dt {
  color: var(--muted);
}
.app .data-card dd {
  margin: 0;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.app .success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #2d9d75;
  background: #e7f8f0;
  border-radius: 50%;
  font-size: 25px;
  margin: 5px auto 18px;
}
.app .wallet {
  background: linear-gradient(120deg, #2456ce, #356ce0);
  color: #fff;
  border-radius: 20px;
  padding: 23px;
  margin: 24px 0;
}
.app .wallet > span, .app .wallet small {
  font-size: 14px;
}
.app .wallet > strong {
  font-size: clamp(24px, 7vw, 46px);
  display: block;
  line-height: 1.2;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.app .wallet small {
  font-weight: 400;
  margin-left: 7px;
}
.app .wallet p {
  font-size: 13px;
  line-height: 1.6;
}
.app .menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 17px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.app .ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}
.app .ledger-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}
.app .ledger-row small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 4px;
}
.app .ledger-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.app .ledger-row > b {
  text-align: right;
  white-space: nowrap;
  color: #536d99;
}
.app .ledger-row > b.positive {
  color: #17734f;
}
.app .logout-form {
  margin-top: 30px;
}
.app .account-identity {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 24px;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}
.app .account-identity dt {
  color: #65758b;
}
.app .account-identity dd {
  margin: 0;
  color: #475569;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.app .empty a:not(.primary):not(.secondary), .app .page-pad > p > a[href="/profile"]:not(.primary):not(.secondary), .app nav.data-card > a:not(.primary):not(.secondary), .app .ledger-row small > a[href*="#comment-form"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--blue);
}
.app .empty a:not(.primary):not(.secondary):hover, .app .page-pad > p > a[href="/profile"]:not(.primary):not(.secondary):hover, .app nav.data-card > a:not(.primary):not(.secondary):hover, .app .ledger-row small > a[href*="#comment-form"]:hover {
  background: #f0f4ff;
}
.app .data-card.stack > a[href="/login"]:not(.primary):not(.secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #cad6e6;
  border-radius: 10px;
  background: #f0f4fa;
  color: #405979;
  font-size: 15px;
  line-height: 1.6;
}
.app .data-card.stack > a[href="/login"]:not(.primary):not(.secondary):hover {
  background: #e6edf8;
}
.app .data-card > p > a[href^="/recharge/"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.app .ledger-row > a[href^="/articles/"] {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.app .recharge-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 16px;
}
.app .recharge-history > h2 {
  margin: 26px 0 14px;
  font-size: 21px;
}
.app .recharge-record {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}
.app .recharge-record-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.app .recharge-record-heading > div {
  min-width: 0;
}
.app .recharge-amount {
  display: block;
  color: #1c293e;
  font-size: 24px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.app .recharge-points {
  display: block;
  margin-top: 5px;
  color: #65758b;
  font-size: 14px;
}
.app .recharge-state {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 7px;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.app .recharge-state-pending {
  background: #fff5df;
  color: #865a14;
}
.app .recharge-state-review {
  background: #fff0e9;
  color: #93441a;
}
.app .recharge-state-paid {
  background: #eaf7f0;
  color: #23734c;
}
.app .recharge-record-meta {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}
.app .recharge-record-meta > div {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.7;
}
.app .recharge-record-meta > div:last-child {
  margin-bottom: 0;
}
.app .recharge-record-meta dt {
  color: #7b8798;
}
.app .recharge-record-meta dd {
  margin: 0;
  color: #475569;
  overflow-wrap: anywhere;
}
.app .recharge-number {
  font-variant-numeric: tabular-nums;
}
.app .recharge-record-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.app .recharge-record-footer p {
  flex: 1 1 140px;
  color: #65758b;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.app .recharge-record-footer .secondary {
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .app .auth-page {
    padding-right: 20px;
    padding-left: 20px;
  }
  .app .recharge-record {
    padding: 15px;
  }
  .app .recharge-amount {
    font-size: 22px;
  }
}

/* Help disclosures retain a full touch target and readable answers. */
.app .help-page details {
    border-bottom: 1px solid #e5ebf5;
    padding: 8px 16px;
}

.app .help-page summary {
    min-height: 44px;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 650;
    line-height: 1.6;
}

.app .help-page details p {
    font-size: 14px;
    line-height: 1.8;
    color: #65758b;
}

/* Source: resources/styles/admin.css */
/* Site-local administration. The independent control-panel app has its own CSS. */
.admin-body {
  --blue: #2456ce;
  --muted: #65758b;
  background: #f4f7fb;
  color: #25364e;
  font-size: 16px;
  line-height: 1.65;
}
.admin-body .test-ribbon {
  font-size: 14px;
  line-height: 1.6;
  color: #4b6387;
}
.admin-body .admin-header {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 23px 30px;
  border-bottom: 1px solid #e3eaf5;
}
.admin-body .brand {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: -1.3px;
  color: var(--blue);
}
.admin-body .brand small {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0;
}
.admin-body .admin-header > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.admin-body .admin-header > a:last-child {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.5;
  color: #405979;
}
.admin-body .admin-shell {
  width: 100%;
  max-width: 1250px;
  min-width: 0;
  display: grid;
  grid-template-columns: 195px minmax(0,1fr);
  margin: auto;
  gap: 30px;
  padding: 30px;
}
.admin-body .admin-main, .admin-body .admin-nav, .admin-body .admin-card {
  min-width: 0;
  max-width: 100%;
}
.admin-body .admin-main {
  padding-bottom: 40px;
}
.admin-body .admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overscroll-behavior-inline: contain;
}
.admin-body .admin-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 15px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: #526984;
}
.admin-body .admin-nav a.active {
  color: var(--blue);
  background: #e6eeff;
  font-weight: 700;
}
.admin-body .admin-title {
  margin: 5px 0 25px;
}
.admin-body .admin-title h1 {
  font-size: 27px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.admin-body .admin-title p {
  margin-top: 9px;
}
.admin-body .admin-title p, .admin-body .eyebrow {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.admin-body .eyebrow {
  display: block;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}
.admin-body .admin-card {
  background: #fff;
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
}
.admin-body .admin-card > h2 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.admin-body .admin-card > p {
  font-size: 16px;
  line-height: 1.7;
  color: #536780;
  overflow-wrap: anywhere;
}
.admin-body .admin-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
  margin-bottom: 24px;
}
.admin-body .admin-stats section {
  padding: 21px;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  background: #fff;
}
.admin-body .admin-stats span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.admin-body .admin-stats strong {
  font-size: 29px;
  display: block;
  margin-top: 12px;
  color: #305eaf;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.admin-body .admin-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.admin-body .admin-toolbar > span, .admin-body .integration-state {
  font-size: 14px;
  line-height: 1.6;
  color: #526984;
}
.admin-body .notice, .admin-body .flash, .admin-body .error-box, .admin-body .muted, .admin-body .small-note {
  font-size: 14px;
  line-height: 1.7;
}
.admin-body .notice, .admin-body .muted, .admin-body .small-note {
  color: var(--muted);
}
.admin-body .muted {
  margin: 9px 0 20px;
}
.admin-body .small-note {
  margin-top: 10px;
  text-align: center;
}
.admin-body .notice {
  background: #f1f6ff;
  border: 1px solid #e2ebfc;
  padding: 14px;
  border-radius: 12px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.admin-body .flash, .admin-body .error-box {
  margin: 0 0 22px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #edf9f3;
  color: #277851;
  border: 1px solid #d5eee0;
  overflow-wrap: anywhere;
}
.admin-body .error-box {
  background: #fff4ef;
  color: #9b3526;
  border-color: #f7dccc;
}
.admin-body .error-box ul {
  padding-left: 18px;
  margin: 5px 0 0;
}
.admin-body .stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-body .stack label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  color: #42546e;
}
.admin-body .stack label small, .admin-body .stack > small, .admin-body .stack legend {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
}
.admin-body :is(input:where(:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])), textarea, select) {
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #c4d2e4;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #25364e;
  background: #fff;
}
.admin-body .stack :is(input, textarea, select) {
  width: 100%;
}
.admin-body textarea {
  min-height: 120px;
  overflow-wrap: anywhere;
  resize: vertical;
}
.admin-body input::placeholder, .admin-body textarea::placeholder {
  color: #65758b;
  opacity: 1;
}
.admin-body .stack :is(input[type="checkbox"], input[type="radio"]) {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  flex: 0 0 20px;
}
.admin-body .stack label:has(input[type="checkbox"]), .admin-body .stack label:has(input[type="radio"]) {
  min-height: 44px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.admin-body button {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
}
.admin-body .primary, .admin-body .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.admin-body .primary {
  background: var(--blue);
  color: #fff;
}
.admin-body .primary:hover {
  background: #1b46b2;
}
.admin-body .secondary {
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  background: #f0f4fa;
  color: #405979;
  border-color: #cad6e6;
}
.admin-body .secondary:hover {
  background: #e6edf8;
}
.admin-body .credit-form .primary, .admin-body .admin-toolbar .primary {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
}
.admin-body .credit-form {
  display: flex;
  gap: 7px;
  min-width: 350px;
  align-items: center;
}
.admin-body .credit-form input {
  min-height: 48px;
  max-width: 120px;
  padding: 12px;
  font-size: 16px;
}
.admin-body .admin-search {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
.admin-body .admin-search input {
  flex: 1 1 180px;
}
.admin-body .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-body .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-body .form-grid > *, .admin-body .stack > * {
  min-width: 0;
  max-width: 100%;
}
.admin-body .stack fieldset {
  min-width: 0;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  padding: 18px;
}
.admin-body .editor {
  max-width: 800px;
}
.admin-body .narrow {
  max-width: 640px;
}
.admin-body .cover-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.admin-body .cover-picker label {
  display: flex;
  align-items: center;
  font-weight: 400;
}
.admin-body .cover-picker .art {
  width: 63px;
  height: 63px;
  border-radius: 12px;
}
.admin-body .cover-picker input {
  width: auto;
}
.admin-body .admin-card input[type="file"] {
  max-width: 100%;
}
.admin-body :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #2456ce;
  outline-offset: 3px;
}
.admin-body :is(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: .6;
}
.admin-body button[aria-busy="true"] {
  cursor: progress;
}
.admin-body input[aria-invalid="true"], .admin-body textarea[aria-invalid="true"], .admin-body select[aria-invalid="true"] {
  border-color: #b73526;
  background: #fffafa;
}
.admin-body .table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.admin-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}
.admin-body th, .admin-body td {
  padding: 14px 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 14px;
  line-height: 1.65;
}
.admin-body th {
  color: #526984;
  font-weight: 500;
  background: #f7f9fd;
  white-space: nowrap;
}
.admin-body td {
  color: #435973;
}
.admin-body td strong, .admin-body td small {
  display: block;
  font-size: 14px;
  line-height: 1.65;
}
.admin-body td strong {
  color: #344e74;
}
.admin-body td small {
  max-width: 270px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.admin-body td a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  margin-right: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--blue);
  white-space: nowrap;
}
.admin-body .order-number {
  max-width: 250px;
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #8fa0b5;
  font-family: ui-monospace, SFMono-Regular, monospace;
  line-height: 1.8;
}
.admin-body .admin-main code {
  display: block;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #344e70;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-body .admin-main summary {
  min-height: 44px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
}
.admin-body .badge {
  font-size: 10px;
  color: #2f8b69;
  background: #eaf8f1;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.admin-body .badge.gray {
  color: #8d9bb0;
  background: #f0f3f7;
}
.admin-body .empty {
  text-align: center;
  color: #8d9cb2;
  padding: 40px 10px;
  font-size: 13px;
  line-height: 2;
}
.admin-body .empty a {
  color: var(--blue);
}
.admin-body .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 25px 8px;
  font-size: 12px;
  color: #7590b9;
}
.admin-body .pagination a {
  padding: 8px;
  background: #f0f5ff;
  border-radius: 8px;
}
.admin-body .community-grid {
  display: grid;
  gap: 16px;
}
.admin-body .article-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}
.admin-body .article-filter label {
  flex: 1 1 180px;
  display: grid;
  gap: 6px;
}
.admin-body .article-filter button {
  min-height: 44px;
}
.admin-body .article-filter input, .admin-body .article-filter select {
  min-width: 0;
  width: 100%;
}
.admin-body .integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr));
  gap: 16px;
}
.admin-body .integration-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.admin-body .integration-card p {
  flex: 1;
}
.admin-body .integration-state {
  background: #edf2fa;
  border-radius: 7px;
  padding: 5px 9px;
}
.admin-body .redeem-paused button {
  cursor: not-allowed;
  opacity: .65;
}
@media (max-width: 700px) {
  .admin-body .admin-header {
    padding: 18px 16px;
    flex-wrap: wrap;
  }
  .admin-body .admin-header .brand {
    flex: 1 1 180px;
  }
  .admin-body .admin-shell {
    display: block;
    padding: 16px;
  }
  .admin-body .admin-nav {
    flex-direction: row;
    max-width: 100%;
    overflow-x: auto;
    gap: 5px;
    margin: 0 -2px 23px;
  }
  .admin-body .admin-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 13px;
    font-size: 14px;
    white-space: nowrap;
  }
  .admin-body .admin-title h1 {
    font-size: 25px;
  }
  .admin-body .admin-card {
    padding: 18px;
  }
  .admin-body .admin-stats {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .admin-body .admin-stats section {
    padding: 17px;
  }
  .admin-body .admin-stats strong {
    font-size: 25px;
  }
  .admin-body .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-body .admin-toolbar {
    align-items: flex-start;
  }
}

/* Source: resources/styles/catalog.css */
/* Recommendation rails, discovery results and native type/tag filters. */
body.store-catalog-page { background: #f2f2f7; }
.app.app-store-catalog { --blue: #007aff; --line: #dedee5; --public-text: #1c1c1e; --app-max-width: 700px; --app-gutter: 20px; --app-bottom-space: 90px; --app-background: #f2f2f7; --app-min-height: 100dvh; --app-margin: 0 auto; --app-border: 0; --app-radius: 0; --app-shadow: none; --nav-background: #f2f2f7ee; --nav-border: #dedee5; --nav-color: #8e8e93; --nav-font-size: 11px; --nav-gap: 2px; --nav-icon-size: 25px; --nav-padding-top: 9px; }
.app-store-catalog .store-spotlights { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 10px); gap: 12px; overflow-x: auto; margin-right: calc(-1 * var(--app-gutter)); padding-right: var(--app-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.app-store-catalog .store-catalog-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 10px); gap: 14px; overflow-x: auto; margin-right: calc(-1 * var(--app-gutter)); padding-right: var(--app-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.app-store-catalog .promo { margin: 18px 0 8px; }
.app-store-catalog .store-discovery-search { margin: 0 0 9px; padding: 4px 12px; min-height: 44px; gap: 9px; background: #e4e4ea; border-radius: 12px; color: #8e8e93; display: flex; height: 44px; }
.app-store-catalog .store-discovery-search input { font-size: 16px; color: #1c1c1e; min-height: 36px; padding: 0; line-height: 1.4; height: 36px; background: transparent; border: 0; min-width: 0; flex: 1 1 0; }
.app-store-catalog .store-discovery-search input::placeholder { color: #85858b; opacity: 1; }
.app-store-catalog .store-discovery-search button { min-height: 44px; font-size: 13px; color: #74747c; padding: 0 2px; height: 44px; min-width: 44px; flex: 0 0 auto; }
.app-store-catalog .catalog-filters { display: contents; }
.app-store-catalog .category-tabs { flex: 1 1 auto; display: flex; flex-wrap: nowrap; gap: 12px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 0; margin: 0; border: 0; }
.app-store-catalog .category-tabs a { padding: 9px 0; min-height: 44px; border-radius: 0; font-size: 14px; color: #8e8e93; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1.5; }
.app-store-catalog .type-filters { position: relative; flex: 0 0 auto; margin: 0; }
.app-store-catalog .type-filters summary { padding: 7px 0; gap: 0; color: #8e8e93; font-size: 13px; display: inline-flex; align-items: center; min-height: 44px; line-height: 1.6; list-style: none; cursor: pointer; }
.app-store-catalog .type-filters summary::after { display: none; }
.app-store-catalog .store-filter-caption { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.app-store-catalog .store-filter-caption svg { width: 16px; height: 16px; }
.app-store-catalog .type-filter-options { position: absolute; top: 100%; right: 0; z-index: 8; width: min(500px,calc(100vw - 40px)); max-height: 50dvh; overflow: auto; padding: 12px; border-radius: 14px; border: 1px solid #dedee5; box-shadow: 0 10px 24px #15151c12; background: #f9f9fb; display: flex; flex-wrap: wrap; gap: 5px; }
.app-store-catalog .type-filter-options a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; color: #65758b; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
.app-store-catalog .store-discovery-list { padding: 0; margin: 0; }
.app-store-catalog .store-discover-item { padding: 8px 0; gap: 14px; align-items: flex-start; border-bottom: 0; display: flex; }
.app-store-catalog .store-discover-item > .art { width: 64px; height: 64px; border-radius: 15px; margin-top: 1px; flex-shrink: 0; }
.app-store-catalog .store-discover-copy { min-height: 76px; border-bottom: 1px solid #dedee5; padding: 0 0 10px; flex: 1 1 0; min-width: 0; }
.app-store-catalog .store-discover-copy h3 { font-size: 16px; font-weight: 500; line-height: 1.4; color: #1c1c1e; overflow-wrap: anywhere; }
.app-store-catalog .store-discover-copy .store-catalog-english { font-size: 14px; color: #7c7c81; line-height: 1.4; margin: 1px 0 3px; white-space: nowrap; display: block; text-overflow: ellipsis; overflow: hidden; }
.app-store-catalog .pagination { margin-left: 0; margin-right: 0; }
.app-store-catalog .type-filters summary .selected-type { display: none; }
.app-store-catalog .store-catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; align-items: center; }
.app-store-catalog .store-catalog-tags > .store-discover-status { background: none; color: #85858b; padding: 1px 0; border-radius: 0; font-size: 10px; font-weight: 400; margin: 0; }
.app-store-catalog main { padding: 20px var(--app-gutter) 12px; }
.app-store-catalog .type-filters summary::-webkit-details-marker { display: none; }
.app-store-catalog .type-filters[open] summary { color: #285be0; }
.app-store-catalog .category-tabs a:hover { background: #f3f6fc; color: #2e64ee; }
.app-store-catalog .type-filter-options a:hover { background: #f3f6fc; color: #2e64ee; }
.app-store-catalog .category-tabs::-webkit-scrollbar { display: none; }
.app-store-catalog .category-tabs a[aria-current="page"] { color: #ff9500; background: transparent; font-weight: 550; }
.app-store-catalog .type-filter-options a[aria-current="page"] { color: #007aff; background: #e6efff; font-weight: 650; }
.app-store-catalog .store-spotlights::-webkit-scrollbar { display: none; }
.app-store-catalog .store-catalog-rail::-webkit-scrollbar { display: none; }
.app-store-catalog .store-spotlight { position: relative; display: block; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 19px; scroll-snap-align: start; background: #d9d9e4; }
.app-store-catalog .store-spotlight-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-store-catalog .store-spotlight-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; padding: 28px 12px 12px; gap: 10px; color: #fff; background: linear-gradient(transparent,rgba(0,0,0,.75)); }
.app-store-catalog .store-spotlight-caption > .art { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; }
.app-store-catalog .store-spotlight-caption > span:last-child { min-width: 0; }
.app-store-catalog .store-spotlight-caption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; font-weight: 650; line-height: 1.3; }
.app-store-catalog .store-spotlight-caption small { display: block; font-size: 14px; line-height: 1.5; color: #f3f3f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-store-catalog .store-catalog-section { margin: 28px 0 0; }
.app-store-catalog .store-catalog-section h2 { margin: 0 0 6px; font-size: 21px; font-weight: 700; line-height: 1.45; color: #1c1c1e; }
.app-store-catalog .store-catalog-section h2 > a { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; }
.app-store-catalog .store-catalog-section h2 svg { width: 17px; height: 17px; color: #86868b; }
.app-store-catalog .store-catalog-column { min-width: 0; scroll-snap-align: start; }
.app-store-catalog .store-catalog-item { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 14px; padding: 8px 0; min-height: 82px; }
.app-store-catalog .store-catalog-item > .art { width: 64px; height: 64px; border-radius: 15px; }
.app-store-catalog .store-catalog-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; border-bottom: 1px solid #dedee5; padding: 0 0 12px; margin-bottom: -8px; }
.app-store-catalog .store-catalog-column > a:last-child .store-catalog-copy { border-bottom: 0; }
.app-store-catalog .store-catalog-copy strong { font-size: 16px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.app-store-catalog .store-catalog-copy > span { color: #7c7c81; font-size: 14px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-store-catalog .store-catalog-copy small { color: #8e8e93; font-size: 11px; margin-top: 2px; line-height: 1.4; }
.app-store-catalog .store-browse-all { display: flex; justify-content: center; padding: 22px 0 12px; color: #007aff; font-size: 14px; }
.app-store-catalog .store-browse-all a { display: inline-flex; align-items: center; min-height: 44px; }
.app-store-catalog .store-discovery-toolbar { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; min-width: 0; }
.app-store-catalog .store-sort-form { display: flex; align-items: center; flex: 0 0 auto; max-width: 130px; }
.app-store-catalog .store-sort-form select { min-width: 0; width: 100%; max-width: 108px; min-height: 44px; border: 0; border-radius: 0; background-color: transparent; color: #ff9500; font-size: 14px; padding: 0; cursor: pointer; }
.app-store-catalog .store-sort-form button { color: #a66300; font-size: 11px; padding: 0; min-height: 44px; min-width: 44px; }
.app-store-catalog .store-sort-form button[hidden] { display: none; }
.app-store-catalog .store-catalog-tags > span { background: #007aff; color: white; font-size: 11px; font-weight: 550; line-height: 1.35; padding: 2px 6px; border-radius: 6px; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.app-store-catalog .store-catalog-tags > .store-language-tag { background: #28bf50; }
.app-store-catalog .store-discover-status { display: block; font-size: 11px; line-height: 1.45; color: #85858b; margin-top: 5px; }
.app-store-catalog .store-catalog-copy > .store-catalog-cost { font-size: 11px; color: #85858b; white-space: normal; }
.app-store-catalog .store-catalog-cost b { font-weight: 400; }
.app-store-catalog .store-catalog-cost small { font-size: 10px; margin-left: 2px; }
.app-store-catalog .type-filters[data-active-filter] > summary { color: #007aff; }
@media(max-width:359px) {
  .app.app-store-catalog { --app-gutter: 16px; }
  .app-store-catalog .category-tabs { gap: 10px; }
  .app-store-catalog .store-discover-item > .art { width: 58px; height: 58px; border-radius: 13px; }
  .app-store-catalog .store-discover-item { gap: 11px; }
  .app-store-catalog .type-filter-options { width: calc(100vw - 32px); }
  .app-store-catalog .store-discovery-toolbar { gap: 8px; }
  .app-store-catalog .store-sort-form { max-width: 106px; }
  .app-store-catalog .store-catalog-item { grid-template-columns: 58px minmax(0,1fr); gap: 11px; }
  .app-store-catalog .store-catalog-item > .art { width: 58px; height: 58px; border-radius: 13px; }
}
@media(min-width:760px) {
  .app-store-catalog .store-discover-item > .art { width: 68px; height: 68px; border-radius: 16px; }
  .app-store-catalog .category-tabs { gap: 20px; }
  .app-store-catalog .store-spotlight-caption { padding: 38px 14px 14px; }
  .app-store-catalog .store-spotlight-caption strong { font-size: 19px; }
  .app-store-catalog .store-catalog-item { grid-template-columns: 68px minmax(0,1fr); min-height: 90px; }
  .app-store-catalog .store-catalog-item > .art { width: 68px; height: 68px; border-radius: 16px; }
}

/* Source: resources/styles/detail.css */
/* Resource product, metadata, media, description and redemption confirmation. */
body.store-detail-page { background: #f2f2f7; }
.app.app-store-detail { --blue: #2e64ff; --line: #dedee6; --public-text: #202124; --app-max-width: 700px; --app-gutter: 20px; --app-bottom-space: 90px; --app-background: #f2f2f7; --app-min-height: 100dvh; --app-margin: 0 auto; --app-border: 0; --app-radius: 0; --app-shadow: none; --nav-background: #f2f2f7ee; --nav-border: #dedee6; --nav-color: #8e8e93; }
.app.app-store-detail .app-detail { padding: 10px var(--app-gutter) 24px; min-width: 0; }
.app-store-detail .app-detail-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-store-detail .store-round-control { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d9d9e1; color: #202124; border-radius: 50%; background: transparent; }
.app-store-detail .store-copy-status { position: absolute; top: 16px; left: 72px; right: 72px; font-size: 12px; text-align: center; color: #536078; pointer-events: none; }
.app-store-detail .app-detail-product { grid-template-columns: 116px minmax(0,1fr); gap: 16px; align-items: stretch; margin: 0 0 16px; display: grid; }
.app-store-detail .app-detail-cover { width: 116px; height: 116px; border-radius: 27px; box-shadow: 0 1px 4px #16171f0a; min-height: 0; overflow: hidden; }
.app-store-detail .store-product-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.app-store-detail .app-detail h1 { color: #171719; font-size: 19px; line-height: 1.3; letter-spacing: -.3px; font-weight: 650; overflow-wrap: anywhere; }
.app-store-detail .app-detail-english { margin: 3px 0 0; color: #707077; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.app-store-detail .store-get-row { margin-top: auto; padding-top: 10px; }
.app-store-detail .store-get { display: inline-flex; min-width: 80px; min-height: 44px; padding: 7px 20px; align-items: center; justify-content: center; background: var(--blue); border-radius: 24px; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.5; }
.app-store-detail .store-get:disabled { background: #e1e3eb; color: #626875; opacity: 1; cursor: default; }
.app-store-detail .store-price { color: #6b6c76; font-size: 11px; line-height: 1.5; margin-top: 4px; }
.app-store-detail .store-price strong { font-weight: 500; color: #596679; }
.app-store-detail .store-availability { color: #727780; font-size: 12px; line-height: 1.65; margin: -4px 0 12px; }
.app-store-detail .store-facts { display: flex; margin: 0; padding: 16px 0; border-color: #dedee6; border-bottom: 0; gap: 0; border-top: 1px solid #dedee6; }
.app-store-detail .store-facts > div { flex: 1 1 0; min-width: 0; flex-direction: column; padding: 0 8px; align-items: center; display: flex; text-align: center; }
.app-store-detail .store-facts > div:first-child { flex-grow: 1.35; padding-left: 0; }
.app-store-detail .store-facts > div:last-child { padding-right: 0; }
.app-store-detail .store-facts dt { margin: 0 0 3px; font-size: 11px; color: #74747e; line-height: 1.4; }
.app-store-detail .store-facts dd { display: flex; flex-direction: column; align-items: center; gap: 1px; font-weight: 400; color: #62626c; font-size: 13px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.app-store-detail .store-facts dd strong { font-size: 18px; font-weight: 550; line-height: 1.4; }
.app-store-detail .store-facts dd small { font-size: 11px; line-height: 1.45; font-weight: 400; overflow-wrap: normal; word-break: normal; }
.app-store-detail .store-device-icons { display: inline-flex; gap: 14px; height: 25px; align-items: center; justify-content: center; color: #35363d; }
.app-store-detail .store-facts .store-device-text { font-size: 12px; }
.app-store-detail .store-preview { padding: 4px 0 16px; border-bottom: 1px solid #dedee6; }
.app-store-detail .app-detail-gallery { gap: 10px; margin-right: calc(-1 * var(--app-gutter)); padding: 0 var(--app-gutter) 0 0; scrollbar-width: none; scroll-snap-type: x mandatory; display: flex; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; }
.app-store-detail .app-detail-gallery::-webkit-scrollbar { display: none; }
.app-store-detail .app-detail-gallery > a { flex: 0 0 100%; max-width: none; min-width: 0; border-radius: 15px; background: #e8e8ee; display: flex; align-items: center; justify-content: center; overflow: hidden; scroll-snap-align: start; }
.app-store-detail .app-detail-gallery img { width: 100%; max-width: 100%; height: clamp(158px,43vw,300px); object-fit: contain; display: block; }
.app-store-detail .store-description { border-bottom: 1px solid #dedee6; padding: 22px 0; }
.app-store-detail .app-detail-description { font-size: 14px; line-height: 1.8; color: #303139; white-space: pre-wrap; overflow-wrap: anywhere; }
.app-store-detail .store-description-preview { font-size: 14px; line-height: 1.8; color: #303139; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.app-store-detail .store-description-disclosure summary { list-style: none; cursor: pointer; min-height: 44px; }
.app-store-detail .store-description-disclosure summary::-webkit-details-marker { display: none; }
.app-store-detail .store-description-more { display: block; color: var(--blue); font-size: 14px; line-height: 1.5; text-align: right; padding: 4px 0; }
.app-store-detail .store-description-less { display: none; color: var(--blue); font-size: 14px; line-height: 1.5; text-align: right; padding: 4px 0; }
.app-store-detail .store-description-disclosure[open] .store-description-preview { display: none; }
.app-store-detail .store-description-disclosure[open] .store-description-more { display: none; }
.app-store-detail .store-description-disclosure[open] .store-description-less { display: block; }
.app-store-detail .store-usage-notes { padding: 14px 0; font-size: 13px; color: #6a6b75; border-bottom: 1px solid #dedee6; }
.app-store-detail .store-related { padding: 22px 0 18px; }
.app-store-detail .store-related h2 { color: #202124; font-size: 18px; margin-bottom: 12px; }
.app-store-detail .store-related-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 12px); gap: 14px; overflow-x: auto; margin-right: calc(-1 * var(--app-gutter)); padding-right: var(--app-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.app-store-detail .store-related-column { scroll-snap-align: start; min-width: 0; }
.app-store-detail .store-related-item { display: grid; grid-template-columns: 60px minmax(0,1fr); align-items: center; gap: 12px; padding: 10px 0; }
.app-store-detail .store-related-item > .art { width: 60px; height: 60px; border-radius: 14px; }
.app-store-detail .store-related-copy { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid #dedee6; padding-bottom: 10px; }
.app-store-detail .store-related-copy strong { font-size: 14px; line-height: 1.45; font-weight: 550; color: #202124; overflow-wrap: anywhere; }
.app-store-detail .store-related-copy > span { font-size: 12px; line-height: 1.5; color: #777780; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-store-detail .store-related-copy small { font-size: 11px; line-height: 1.5; color: #83838b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-store-detail .store-help-links { display: flex; gap: 16px; justify-content: center; padding: 16px 0 22px; font-size: 13px; color: #4773ce; }
.app-store-detail .store-confirmation { scroll-margin-top: 16px; border: 1px solid #d8deec; border-radius: 16px; background: #fff; margin: 14px 0; }
.app-store-detail .store-confirmation > summary { min-height: 48px; padding: 14px 16px; cursor: pointer; color: #2858c3; font-size: 15px; font-weight: 600; }
.app-store-detail .store-confirmation-body { padding: 0 16px 18px; }
.app-store-detail .store-confirmation-body h2 { font-size: 19px; }
.app-store-detail .store-confirmation-body p { font-size: 13px; margin: 10px 0; color: #657184; line-height: 1.7; }
.app-store-detail .store-confirmation .redeem-summary { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; font-size: 14px; }
.app-store-detail .store-help-links a { display: inline-flex; min-height: 44px; align-items: center; }
.app-store-detail .store-share-fallback { margin: 0 0 14px; padding: 10px 12px; background: #e8edfa; border-radius: 10px; color: #2858c3; font-size: 13px; overflow-wrap: anywhere; }
.app-store-detail .store-share-fallback[hidden] { display: none; }
.app-store-detail .app-detail-cover--custom { background-size: cover; background-position: center; }
.app-store-detail .store-facts > div + div { border-left: 1px solid #e7ebf1; }
.app-store-detail .app-detail > .promo { margin: 18px 0 0; }
@media(max-width:359px) {
  .app.app-store-detail { --app-gutter: 16px; }
  .app-store-detail .app-detail-product { grid-template-columns: 96px minmax(0,1fr); gap: 12px; }
  .app-store-detail .app-detail-cover { width: 96px; height: 96px; border-radius: 22px; }
  .app-store-detail .app-detail h1 { font-size: 17px; }
  .app-store-detail .store-price { font-size: 10px; }
  .app-store-detail .store-facts > div { padding: 0 5px; }
  .app-store-detail .store-facts dd strong { font-size: 16px; }
}
@media(min-width:760px) {
  .app-store-detail .app-detail-product { grid-template-columns: 136px minmax(0,1fr); }
  .app-store-detail .app-detail-cover { width: 136px; height: 136px; border-radius: 30px; }
  .app-store-detail .app-detail h1 { font-size: 21px; }
}
/* Native acquisition sheet: one existing form, two review stages. */
.app-store-detail .store-confirmation[hidden], .app-store-detail .store-confirmation-body [hidden], .exchange-dialog .exchange-stage[hidden], .exchange-dialog [hidden], .resource-access .credential-copy[hidden] { display: none; }
.app-store-detail .exchange-dialog { width: min(100% - 32px, 520px); max-height: calc(100dvh - 48px); padding: 26px 22px 20px; margin: auto; border: 0; border-radius: 24px; background: #fff; color: #202124; overflow: auto; overscroll-behavior: contain; box-shadow: 0 20px 80px #151c3433; }
.app-store-detail .exchange-dialog::backdrop { background: #161b3480; backdrop-filter: blur(5px); }
body:has(.exchange-dialog[open]) { overflow: hidden; }
.app-store-detail .exchange-dialog .store-confirmation-body { padding: 0; }
.app-store-detail .exchange-stage h2 { margin: 8px 34px 12px 0; font-size: 23px; line-height: 1.35; }
.app-store-detail .exchange-stage p { font-size: 14px; line-height: 1.7; color: #657184; }
.app-store-detail .exchange-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; background: #f0f2f6; color: #596273; border: 0; border-radius: 50%; font-size: 28px; }
.app-store-detail .exchange-stage .exchange-step { margin: 0 44px 6px 0; font-size: 12px; color: #5475b3; }
.app-store-detail .exchange-requirements { margin: 20px 0; }
.app-store-detail .exchange-requirements > div { padding: 15px 0; border-bottom: 1px solid #e8ebf1; }
.app-store-detail .exchange-requirements dt { font-size: 14px; color: #657184; margin-bottom: 6px; }
.app-store-detail .exchange-requirements dd { margin: 0; color: #252d3c; font-size: 17px; overflow-wrap: anywhere; }
.app-store-detail .exchange-stage .exchange-note { background: #f3f5f9; padding: 12px; border-radius: 12px; font-size: 13px; }
.app-store-detail .exchange-enhanced-actions { display: grid; gap: 10px; margin-top: 12px; }
.app-store-detail .exchange-stage .exchange-product { margin-bottom: 16px; font-size: 17px; color: #252d3c; overflow-wrap: anywhere; }
.app-store-detail .exchange-offer { padding: 16px; border: 2px solid #2e64ff; border-radius: 16px; background: #f1f5ff; }
.app-store-detail .exchange-offer strong { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 17px; }
.app-store-detail .exchange-offer strong span { color: #2455d6; }
.app-store-detail .exchange-offer p { margin: 8px 0 0; }
.app-store-detail .exchange-balance { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 22px 0; gap: 8px; text-align: center; }
.app-store-detail .exchange-balance > div { min-width: 0; }
.app-store-detail .exchange-balance dt { color: #657184; font-size: 12px; margin-bottom: 6px; }
.app-store-detail .exchange-balance dd { color: #252d3c; margin: 0; font-size: 18px; font-weight: 650; overflow-wrap: anywhere; }
.app-store-detail .exchange-balance small { font-size: 11px; font-weight: 400; }
.app-store-detail .exchange-stage .full { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; border-radius: 13px; text-align: center; font-size: 15px; }
.app-store-detail .exchange-text-button { min-height: 44px; background: transparent; border: 0; color: #2455d6; font-size: 14px; }
@media(max-width:599px) {
 .app-store-detail .exchange-dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 16px); margin: auto 0 0; border-radius: 24px 24px 0 0; padding: 26px 20px max(20px,env(safe-area-inset-bottom)); }
}


/* Successful delivery is the primary screen; the receipt is a secondary link. */
body.resource-result-page { background: #f2f2f7; }
.app.resource-result-shell { --blue: #007aff; --app-max-width: 600px; --app-background: transparent; --app-border: 0; --app-radius: 0; --app-shadow: none; --app-margin: 0 auto; --app-bottom-space: 110px; }
.resource-result-shell .resource-access { padding: 24px 20px; margin: 28px 16px 20px; background: #fff; border-radius: 24px; }
.resource-access .resource-success-heading { display: flex; justify-content: center; align-items: center; gap: 10px; }
.resource-access .resource-success-heading > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: #29bc61; color: white; border-radius: 50%; font-size: 21px; }
.resource-access .resource-success-heading h1 { font-size: 24px; line-height: 1.4; margin: 0; }
.resource-access .resource-success-subtitle { font-size: 14px; line-height: 1.6; text-align: center; margin: 7px 0 24px; color: #7b8494; }
.resource-access .resource-result-product { display: flex; gap: 13px; align-items: center; margin: 0 0 18px; min-width: 0; }
.resource-access .resource-result-product > div { min-width: 0; }
.resource-access .resource-result-product h2 { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.resource-access .resource-result-product p { font-size: 14px; line-height: 1.5; color: #7b8494; margin: 3px 0 0; overflow-wrap: anywhere; }
.resource-access .resource-result-product img, .resource-access .resource-result-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 13px; object-fit: cover; }
.resource-access .resource-time { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; border-radius: 13px; background: #edf3ff; margin: 0 0 18px; }
.resource-access .resource-time > div { min-width: 0; }
.resource-access .resource-time strong { display: block; font-size: 14px; }
.resource-access .resource-time small { display: block; margin-top: 4px; color: #78869c; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.resource-access .resource-time time { color: #0869f9; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.resource-access .resource-delivery-content { padding: 0; border: 0; background: transparent; margin: 0 0 18px; }
.resource-access .credential-card { padding: 16px; border: 1px solid #e0e5ee; border-radius: 16px; background: #fff; margin: 0; }
.resource-access .credential-card h2 { font-size: 16px; margin: 0 0 8px; }
.resource-access .credential-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf0f5; }
.resource-access .credential-symbol { width: 18px; flex-shrink: 0; color: #7b8494; font-size: 19px; text-align: center; }
.resource-access .credential-value { flex: 1; min-width: 0; }
.resource-access .credential-value > p { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.resource-access .credential-value details p { overflow-wrap: anywhere; white-space: pre-wrap; font-size: 14px; margin-top: 8px; }
.resource-access .credential-value summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; }
.resource-access .credential-value summary::-webkit-details-marker { display: none; }
.resource-access .credential-reveal-label { padding: 8px; background: #edf3ff; color: #0869f9; font-size: 13px; border-radius: 8px; }
.resource-access .credential-dots { letter-spacing: 1px; }
.resource-access .credential-copy { min-height: 44px; min-width: 48px; padding: 8px; border: 0; background: #edf3ff; border-radius: 8px; color: #0869f9; font-size: 13px; }
.resource-access .resource-access-help { color: #8a94a5; font-size: 12px; line-height: 1.7; margin-top: 10px; }
.resource-access .credential-status { color: #657184; font-size: 12px; line-height: 1.6; margin: 0; }
.resource-access > a.block { margin-top: 12px; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 15px; }
.resource-access .resource-install-title { margin: 24px 0 12px; font-size: 17px; }
.resource-access .credential-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.resource-access .credential-steps li { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.6; }
.resource-access .credential-steps b { display: inline-flex; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #edf3ff; color: #0869f9; justify-content: center; align-items: center; }
.resource-access .credential-warning { padding: 12px; background: #fff5e6; color: #8b530e; border-radius: 12px; font-size: 13px; line-height: 1.7; margin: 0 0 20px; }
.resource-access .resource-result-help { text-align: center; margin: 20px 0 0; color: #7b8494; font-size: 13px; line-height: 1.8; }
.resource-access .resource-result-help a { color: #0869f9; min-height: 44px; display: inline-flex; align-items: center; }
.resource-access [data-resource-download][hidden], .resource-access [data-resource-expired][hidden] { display: none; }
@media(max-width:359px) {
 .resource-result-shell .resource-access { margin-left: 8px; margin-right: 8px; padding-left: 16px; padding-right: 16px; }
 .resource-access .resource-time { flex-direction: column; align-items: flex-start; }
}

.resource-access .resource-success-heading.is-expired > span { background: #c38a32; }
.resource-access .resource-time.is-expired { background: #f0f1f4; }
.resource-access .resource-time.is-expired time { color: #7b8494; }

/* Source: resources/styles/points.css */
/* Points, account and orders share the recommendation/discovery shell and blue actions. */
body.store-points-page { background: #f2f2f7; }
.app.app-store-points { --blue: #007aff; --line: #dedee5; --public-text: #1c1c1e; --app-max-width: 700px; --app-gutter: 20px; --app-bottom-space: 90px; --app-background: #f2f2f7; --app-min-height: 100dvh; --app-margin: 0 auto; --app-border: 0; --app-radius: 0; --app-shadow: none; --nav-background: #f2f2f7ee; --nav-border: #dedee5; --nav-color: #8e8e93; --nav-active: #007aff; --nav-font-size: 11px; --nav-gap: 2px; --nav-icon-size: 25px; --nav-padding-top: 9px; }
.app-store-points .store-points-page-content { padding: 20px var(--app-gutter) 12px; }
.app-store-points .store-points-balance { padding: 22px 0; border-bottom: 1px solid var(--line); }
.app-store-points .store-points-balance h2 { font-size: 14px; font-weight: 500; color: #62626a; }
.app-store-points .store-points-value { display: block; color: #1c1c1e; font-size: 50px; font-weight: 650; letter-spacing: -1px; line-height: 1.5; overflow-wrap: anywhere; }
.app-store-points .store-points-balance .muted { margin: 0; font-size: 13px; color: #62626a; }
.app-store-points .store-points-balance > a { color: var(--blue); font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.app-store-points .store-points-actions, .app-store-points .store-points-checkin { margin-top: 24px; }
.app-store-points .store-points-actions h2, .app-store-points .store-points-checkin h2 { font-size: 20px; color: #1c1c1e; }
.app-store-points .account-section { margin-top: 24px; }
.app-store-points .account-section h2 { font-size: 20px; line-height: 1.4; font-weight: 650; color: #1c1c1e; margin: 0 0 12px; }
.app-store-points .store-points-links { margin-top: 12px; padding: 0 16px; border-radius: 16px; background: #fff; }
.app-store-points .store-points-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 74px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.app-store-points .store-points-links a:last-child { border-bottom: 0; }
.app-store-points .store-points-links a > span { min-width: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 500; }
.app-store-points .store-points-links small { display: block; margin-top: 3px; font-size: 13px; color: #62626a; font-weight: 400; }
.app-store-points .store-points-links svg { color: #8e8e93; width: 17px; }
.app-store-points .store-points-checkin p { color: #62626a; font-size: 14px; line-height: 1.7; margin: 10px 0; }
.app-store-points .store-points-checkin form { margin-top: 12px; }
.app.app-store-points .primary { color: var(--blue); background: #e8f0ff; }
.app.app-store-points .primary:hover { background: #dbe8ff; }
.app-store-points.account-order-first h1 { font-size: 30px; line-height: 1.3; font-weight: 750; letter-spacing: -.8px; margin: 0 0 6px; color: #1c1c1e; }
.app-store-points .c-profile, .app-store-points .c-wallet, .app-store-points .c-checkin { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 16px; margin: 16px 0; border: 0; border-radius: 16px; background: #fff; color: #1c1c1e; min-width: 0; }
.app-store-points .c-profile { padding: 16px 0; background: transparent; }
.app-store-points .c-profile-avatar { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #e4e4ea; color: #62626a; }
.app-store-points .c-profile-avatar svg { width: 28px; height: 28px; }
.app-store-points .c-profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-store-points .c-profile-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.app-store-points .c-profile strong { font-size: 20px; }
.app-store-points .c-profile .account-identity { margin: 6px 0 0; padding: 0; gap: 6px; font-size: 13px; line-height: 1.5; flex-wrap: wrap; }
.app-store-points .c-profile .account-identity dt, .app-store-points .c-profile .account-identity dd { color: #62626a; }
.app-store-points .c-profile small, .app-store-points .c-checkin small { display: block; color: #62626a; font-size: 13px; margin-top: 6px; }
.app-store-points .c-wallet { flex-wrap: wrap; }
.app-store-points .c-wallet > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-store-points .c-wallet strong { font-size: 18px; color: var(--blue); overflow-wrap: anywhere; }
.app-store-points .c-checkin > div { min-width: 0; overflow-wrap: anywhere; }
.app-store-points .c-checkin .primary { min-height: 44px; white-space: normal; }
.app-store-points.account-order-first .menu-links { padding: 0 16px; background: #fff; border: 0; border-radius: 16px; margin: 16px 0; }
.app-store-points.account-order-first .menu-links a { min-height: 54px; font-size: 16px; }
.app-store-points.account-order-first .menu-links a:last-child { border-bottom: 0; }
.app-store-points.account-order-first .c-membership { background: #fff; }
.app-store-points .c-back { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); }
.app-store-points .c-ledger { margin-top: 30px; scroll-margin-top: 16px; }
#recharge-history-title { scroll-margin-top: 20px; }
.app-store-points .c-order-intro { color: #62626a; font-size: 14px; line-height: 1.6; margin-top: 8px; }
.app-store-points .c-segments { display: flex; background: #e4e4ea; padding: 4px; border-radius: 12px; gap: 4px; margin: 20px 0; }
.app-store-points .c-segments a { flex: 1; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: #62626a; }
.app-store-points .c-segments a.active { background: #fff; color: var(--blue); box-shadow: 0 1px 3px #1c1c1e12; }
.app-store-points .c-order, .app-store-points .order-card { padding: 18px 16px; background: #fff; border: 0; border-radius: 16px; margin: 14px 0; }
.app-store-points .c-order-top { display: flex; align-items: center; gap: 12px; }
.app-store-points .c-order-top > div { flex: 1; min-width: 0; }
.app-store-points .c-order-top h2 { font-size: 17px; margin: 0 0 6px; line-height: 1.4; overflow-wrap: anywhere; }
.app-store-points .c-order-top p { font-size: 13px; color: #62626a; margin: 0; }
.app-store-points .c-game-icon { display: grid; place-items: center; background: #e8f0ff; border-radius: 12px; width: 46px; height: 46px; flex-shrink: 0; color: var(--blue); }
.app-store-points .c-order-status { font-size: 12px; color: #237449; white-space: nowrap; }
.app-store-points .c-order-status.is-expired { color: #62626a; }
.app-store-points .c-remaining { font-size: 16px; font-weight: 600; color: #a44924; margin: 16px 0 4px; }
.app-store-points .c-deadline { color: #62626a; font-size: 13px; overflow-wrap: anywhere; }
.app-store-points .c-order-actions { display: flex; gap: 10px; margin-top: 14px; }
.app-store-points .c-order-actions > a { flex: 1; min-width: 0; text-align: center; min-height: 44px; display: flex; justify-content: center; align-items: center; overflow-wrap: anywhere; }
@media(max-width:359px) {
 .app.app-store-points { --app-gutter: 16px; }
 .app-store-points .c-order { padding: 14px; }
 .app-store-points .c-order-status { white-space: normal; max-width: 48px; }
 .app-store-points .c-checkin { gap: 10px; padding: 14px; }
}
@media(min-width:760px) {
 .app-store-points .c-profile strong { font-size: 21px; }
 .app-store-points .c-order-top h2 { font-size: 18px; }
}

/* Source: resources/styles/services.css */
/* Account service pages use the store shell; keep finance and identity controls native. */
.app.app-store-services { --muted: #62626a; --public-line: #dedee5; }
.app-store-services .page-pad { padding: 20px var(--app-gutter) 12px; }
.app-store-services .store-page-header h1 { min-width: 0; overflow-wrap: anywhere; margin: 0; }
.app.app-store-services .service-back { display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; min-height: 44px; padding: 0; margin: 0 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 500; }
.app-store-services .service-back svg { width: 17px; height: 17px; transform: rotate(180deg); }
.app-store-services h2 { font-size: 20px; line-height: 1.4; margin: 24px 0 12px; color: #1c1c1e; overflow-wrap: anywhere; }
.app-store-services h3 { font-size: 18px; line-height: 1.4; margin: 0 0 12px; color: #1c1c1e; overflow-wrap: anywhere; }
.app-store-services p { line-height: 1.65; overflow-wrap: anywhere; }
.app-store-services .data-card { background: #fff; border: 0; border-radius: 16px; padding: 20px; margin: 16px 0; min-width: 0; }
.app-store-services .data-card h2 { margin-top: 0; margin-bottom: 12px; }
.app-store-services .data-card p:first-child { margin-top: 0; }
.app-store-services .data-card > p:last-child { margin-bottom: 0; }
.app-store-services .data-card .notice { margin: 12px 0; }
.app-store-services .notice { background: #e9effa; border-color: #d7e3f7; color: #3c526f; border-radius: 12px; line-height: 1.65; font-size: 14px; overflow-wrap: anywhere; }
.app-store-services .muted, .app-store-services .small-note { color: #62626a; }
.app-store-services .stack { gap: 16px; }
.app-store-services .stack > label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.app-store-services input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .app-store-services textarea, .app-store-services select { min-width: 0; width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #d1d1d6; border-radius: 12px; background: #f7f7fa; color: #1c1c1e; font-size: 16px; line-height: 1.5; }
.app-store-services textarea { resize: vertical; }
.app-store-services input:focus-visible, .app-store-services textarea:focus-visible, .app-store-services select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.app-store-services .primary, .app-store-services .secondary { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.app-store-services .primary { border-radius: 12px; font-size: 16px; }
.app-store-services .secondary { background: #eef0f5; border-color: #dcdce3; color: var(--blue); border-radius: 12px; }
.app-store-services .stack > button, .app-store-services .stack > form > button { width: 100%; }
.app-store-services .data-card dl { gap: 12px; }
.app-store-services .data-card dd { min-width: 0; }
.app-store-services .order-number { font-size: 13px; line-height: 1.6; color: #62626a; overflow-wrap: anywhere; word-break: break-word; }
.app-store-services .ledger-row { padding: 16px 0; border-color: var(--line); }
.app-store-services .ledger-row:last-child { border-bottom: 0; }
.app-store-services .ledger-row strong { color: #1c1c1e; }
.app-store-services .recharge-history { margin-top: 28px; }
.app-store-services .recharge-record { border: 0; border-radius: 16px; padding: 20px; margin: 16px 0; }
.app-store-services .recharge-record-meta { border-color: var(--line); }
.app-store-services .recharge-record-meta dt, .app-store-services .recharge-record-footer p { color: #62626a; }
.app-store-services .recharge-record-footer { align-items: center; }
.app-store-services .recharge-record-footer .secondary { flex: 0 0 auto; }
.app-store-services .success-icon { margin-top: 8px; }
.app-store-services .empty { font-size: 14px; color: #62626a; }
.app-store-services details.data-card > summary { min-height: 48px; font-size: 16px; color: #1c1c1e; line-height: 1.5; }
.app-store-services nav.data-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.app-store-services nav.data-card > a { margin: 0; }
.app-store-services nav.data-card > a[aria-current="page"] { background: #e8f0ff; border-color: transparent; color: var(--blue); }
.app-store-services .redeem-form { margin: 20px 0; }
.app-store-services .resource-access-help { margin-top: 0; color: #62626a; }
@media(max-width:359px) {
 .app-store-services .data-card, .app-store-services .recharge-record { padding: 16px; }
 .app-store-services .data-card dl { grid-template-columns: minmax(64px,auto) minmax(0,1fr); gap: 10px; }
 .app-store-services .recharge-record-footer { flex-wrap: wrap; }
 .app-store-services .recharge-record-footer .secondary { width: 100%; }
}

/* Source: resources/styles/orders.css */
/* Order list entrypoints and secondary receipts share product identity. */
.order-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-identity .order-art { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 13px; object-fit: cover; }
.order-identity-copy { min-width: 0; }
.order-identity-copy h2 { font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; margin: 0; }
.order-identity-copy p { font-size: 13px; line-height: 1.5; color: #7b8494; overflow-wrap: anywhere; margin-top: 4px; }
.order-list-page, .receipt-detail { --blue: #007aff; }
.order-list-page .order-list-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: #7b8494; }
.order-list-page .order-list-meta strong { color: #3d5c87; font-weight: 500; }
.app-store-points .order-list-page .c-order-top .order-identity p { color: #7b8494; font-size: 13px; margin-top: 3px; }
.receipt-detail .receipt-resource-card { background: #fff; padding: 20px; border-radius: 18px; margin: 8px 0 20px; }
.receipt-detail .receipt-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 18px 0; margin-top: 16px; border-top: 1px solid #edf0f5; }
.receipt-detail .receipt-overview > div { min-width: 0; }
.receipt-detail .receipt-overview span { display: block; font-size: 12px; color: #7b8494; margin-bottom: 8px; }
.receipt-detail .receipt-overview strong { font-size: 16px; overflow-wrap: anywhere; }
.receipt-detail .receipt-active { color: #248058; }
.receipt-detail .receipt-expired { color: #7b8494; }
.receipt-detail .receipt-deadline { padding: 13px; border-radius: 12px; background: #edf3ff; margin-bottom: 18px; }
.receipt-detail .receipt-deadline strong { color: #245dc2; display: block; font-size: 16px; }
.receipt-detail .receipt-deadline span { color: #70809a; display: block; font-size: 12px; line-height: 1.6; margin-top: 5px; }
.app.app-store-services .receipt-detail .receipt-access { background: #007aff; color: #fff; border-color: #007aff; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.receipt-detail .receipt-helper { color: #7b8494; font-size: 13px; line-height: 1.7; margin-top: 12px; }
.receipt-detail .receipt-record { border-radius: 16px; background: #fff; margin: 18px 0; }
.receipt-detail .receipt-record summary { min-height: 48px; padding: 15px; cursor: pointer; font-size: 15px; font-weight: 600; }
.receipt-detail .receipt-record dl { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 16px 12px; padding: 4px 16px 20px; font-size: 13px; line-height: 1.6; }
.receipt-detail .receipt-record dt { color: #7b8494; }
.receipt-detail .receipt-record dd { margin: 0; overflow-wrap: anywhere; }
.receipt-detail .receipt-links { display: grid; gap: 8px; }
.receipt-detail .receipt-subtle-link { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; color: #637c9e; font-size: 13px; text-align: center; }
@media(max-width:359px) {
 .receipt-detail .receipt-resource-card { padding: 16px; }
 .receipt-detail .receipt-overview strong { font-size: 14px; }
 .order-identity .order-art { width: 48px; height: 48px; flex-basis: 48px; }
 .order-identity-copy h2 { font-size: 15px; }
}

.app-store-points .order-list-page .c-order-actions > .primary { background: #007aff; color: #fff; border-color: #007aff; }

.admin-body .admin-workspaces,
.admin-body .admin-header-actions,
.admin-body .admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-body .admin-workspaces {
  padding: 4px;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  background: #f1f5fc;
  gap: 4px;
}

.admin-body .admin-workspaces a,
.admin-body .admin-header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  color: #405979;
}

.admin-body .admin-workspaces a[aria-current] {
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}

.admin-body .admin-quick-links {
  margin-top: 12px;
}

@media (max-width: 700px) {
  .admin-body .admin-workspaces {
    order: 1;
    width: 100%;
  }
  .admin-body .admin-workspaces a {
    flex: 1 1 0;
    justify-content: center;
  }
  .admin-body .admin-header-actions {
    gap: 2px;
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .admin-body .admin-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    margin-inline: 0;
  }
  .admin-body .admin-nav a {
    justify-content: center;
    padding-inline: 4px;
    text-align: center;
    white-space: normal;
  }
}
