/* Shared pages: checkout, account, support and legal documents. */
.eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; }
.accent { color: var(--accent); }
.narrow { max-width: 760px; padding-block: 62px 75px; min-height: 64vh; }
.narrow h1 { margin: 17px 0 34px; }
.narrow h2 { font-size: 25px; margin: 36px 0 17px; }
.narrow h3 { font-size: 20px; margin: 26px 0 12px; }
.narrow p { margin: 14px 0; font-size: 14px; }
.narrow ul,.narrow ol { color: var(--muted); padding-left: 22px; }
.narrow li { margin-bottom: 12px; }
.narrow a:not(.button):not(.wordmark) { text-decoration: underline; text-underline-offset: 4px; }
.narrow details { padding: 21px 0; }
.narrow summary { font-size: 16px; }
.narrow summary:after { content: '+'; color: var(--accent); font-weight: 400; font-size: 22px; }
.narrow details[open] summary:after { content: '−'; }
.back { font-size: 12px; color: var(--muted); }
.checkout { padding-block: 35px 85px; min-height: 65vh; }
.checkout-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; margin-top: 38px; }
.checkout-grid h1 { font-size: 48px; margin: 20px 0; }
.lead { font-size: 16px; line-height: 1.8; }
.clean-list { list-style: none; padding: 0; margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.clean-list li { padding-left: 20px; position: relative; margin-top: 10px; }
.clean-list li:before { content: '·'; position: absolute; left: 1px; color: var(--accent); }
.purchase-panel,.license-panel,.info-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.pill { display: inline-block; border: 1px solid var(--line); padding: 4px 9px; border-radius: 5px; font-size: 10px; color: #b3b3bc; letter-spacing: .04em; }
.price { font-size: 65px; font-weight: 500; letter-spacing: -.06em; line-height: 1.15; margin-top: 20px; }
.price span { font-size: 31px; color: var(--muted); margin-left: 10px; }
.purchase-panel>p { font-size: 12px; margin: 8px 0 26px; }
.purchase-panel>small { display: block; text-align: center; font-size: 11px; line-height: 1.75; margin-top: 20px; }
.check { display: flex; gap: 11px; align-items: start; color: var(--muted); font-size: 12px; margin: 22px 0; line-height: 1.75; }
.check input { accent-color: var(--accent); margin-top: 5px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.receipt-email { display: grid; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: .8rem; }
.wide { width: 100%; }
.field { display: block; font-size: 12px; color: var(--muted); }
input[type=email],input[type=password],input[type=text],input[type=search],.key-row input { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 7px; padding: 12px 14px; max-width: 100%; }
.field input { display: block; width: 100%; margin-top: 8px; }
.account { padding-block: 50px 70px; }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 35px; }
.account-heading h1 { font-size: 40px; margin: 15px 0 9px; overflow-wrap: anywhere; }
.account-heading p { font-size: 14px; }
.text-button { background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 12px; }
.text-button:hover { color: var(--accent); }
.account-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.license-panel { min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.license-panel h2 { font-size: 36px; margin: 24px 0 14px; }
.license-panel>p { font-size: 14px; margin-bottom: 29px; max-width: 460px; }
.key-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.key-row { display: flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--bg); }
.key-row input { flex: 1; min-width: 0; font: 14px/1.6 ui-monospace,Consolas,monospace; letter-spacing: .04em; padding: 15px 14px; border: 0; border-radius: 0; background: none; }
.copy-button { background: none; border: 0; border-left: 1px solid var(--line); color: var(--accent); font-size: 13px; font-weight: 600; padding: 8px 16px; white-space: nowrap; }
.copy-button:hover { background: var(--raised); }
.license-panel .key-feedback { margin: 7px 0; min-height: 18px; font-size: 11px; color: var(--accent); }
.license-panel .download-meta { font-size: 11px; margin: 11px 0 0; text-align: center; }
.account-aside { display: flex; flex-direction: column; gap: 20px; }
.info-panel .eyebrow { margin-bottom: 23px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.narrow .steps { padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 34px; }
.steps li:before { content: '0' counter(step); position: absolute; top: 3px; left: 0; color: var(--accent); font: 10px ui-monospace,Consolas,monospace; }
.steps strong { font-size: 14px; color: var(--text); font-weight: 500; }
.steps p { font-size: 13px; margin: 6px 0 0; line-height: 1.75; }
.help-panel { border: 1px solid var(--line); border-radius: 12px; padding: 25px 30px; }
.help-panel h3 { font-size: 18px; }
.help-panel p { font-size: 13px; margin: 10px 0; }
.account-note { font-size: 12px; }
.account-note { margin-top: 28px; }
.account-note a { color: var(--accent); }
.notice { border: 1px solid #59414e; padding: 15px 20px; margin-top: 24px; background: #21191f; border-radius: 8px; color: var(--text); font-size: 13px; }
.purchase-lead { font-size: 12px; margin: 8px 0 22px; color: var(--muted); }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--raised); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s ease; }
.pay-method strong { font-size: 15px; font-weight: 600; }
.pay-method--ru { color: white; font-weight: 600; }
.pay-method-wrap summary { list-style: none; }
.pay-method-wrap summary::-webkit-details-marker, .pay-method-wrap summary::marker { display: none; content: ''; }
.pay-method-wrap .notice { margin-top: 8px; }
.pay-method-wrap .notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-header { margin-bottom: 28px; }
.legal-title { font-size: 42px; }
.legal-content { font-size: 14px; overflow-wrap: anywhere; }
.legal-content strong { color: var(--text); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table td,.admin-table th { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table-wrap { overflow: auto; }
.inline-form { display: flex; align-items: center; gap: 12px; }
.admin-title { font-size: 35px; margin-bottom: 20px; }

/* Cabinet: licence status and facts, then the build picker (views/build-picker.php). */
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.is-active { color: #a2d8b6; border-color: rgba(162, 216, 182, .3); background: rgba(162, 216, 182, .08); }
.status-pill.is-paused { color: #f2c46d; border-color: rgba(242, 196, 109, .3); background: rgba(242, 196, 109, .08); }
.license-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; padding: 0; }
.license-facts li { min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); color: var(--text); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.license-facts small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.license-facts .fact-link { display: block; width: max-content; margin-top: 4px; color: var(--accent); font-size: 11px; font-weight: 600; }
.license-facts .fact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.license-support { margin-top: 24px; }
.build-picker { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.build-picker h3 { margin: 0 0 16px; font-size: 20px; }
.pick-step { display: grid; gap: 9px; margin-bottom: 18px; }
.pick-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.pick-label b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--action-ink); font-size: 11px; }
.pick-games { display: inline-flex; width: max-content; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.pick-games a { padding: 9px 18px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s; }
.pick-games a:is(:hover, :focus-visible) { background-color: var(--action-soft-hover); color: var(--action-soft-text); }
.pick-games a[aria-current] { background-color: var(--accent); color: var(--action-ink); }
.pick-games a[aria-current]:is(:hover, :focus-visible) { background-color: var(--action-hover); color: var(--action-hover-ink); }
.pick-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pick-platform { display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.pick-platform svg { width: 26px; height: 26px; color: var(--muted); }
.pick-platform small { color: var(--muted); font-size: 11px; font-weight: 400; }
.pick-platform[aria-current] { border-color: var(--accent); background: var(--raised); }
.pick-platform:is(:hover, :focus-visible) { border-color: var(--action-hover); background-color: var(--action-soft-hover); color: var(--action-soft-text); }
.pick-platform[aria-current] svg { color: var(--accent); }
.pick-platform.is-soon:not([aria-current]) { opacity: .55; }
.pick-result .button { margin-top: 6px; padding-block: 15px; font-size: 15px; }
.soon-box { display: grid; gap: 4px; margin-top: 6px; padding: 16px 18px; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 12px; color: var(--muted); font-size: 13px; }
.soon-box strong { color: var(--text); font-size: 14px; }
.order-summary h3 { margin: 8px 0 4px; }
.order-summary .button { margin-top: 8px; }
@media (max-width: 768px) {
  .license-facts { grid-template-columns: 1fr 1fr; }
  .license-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pick-platforms { grid-template-columns: repeat(2, 1fr); }
}
