/* my.linxshot.com: one centered card, same tokens and type as linxshot.com, light theme only. */
@font-face { font-family: Geist; src: url('/assets/fonts/geist-variable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f8fafc; --card: #ffffff; --line: #dce3ed; --line-soft: #e8edf3;
  --text: #182230; --text-2: #475569; --muted: #64748b;
  --primary: #2563eb; --primary-hover: #1d4ed8;
  --success: #047857; --warning: #92400e; --danger: #b91c1c;
  --radius-sm: 10px; --radius-md: 12px; --radius-lg: 16px;
  --font: Geist, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
a { color: var(--primary-hover); }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
h1:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 960px; margin: 0 auto; padding: 20px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lang-button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text-2); font: inherit; font-size: .875rem; cursor: pointer; }
.lang-button:hover { border-color: #94a3b8; color: var(--text); }

.wrap { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 16px 48px; }
.card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 48px -32px rgba(30, 50, 80, .3); }
.card > * + * { margin-top: 16px; }
.card h1 { font-size: 1.625rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.card-subtitle { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; }
.card > .card-subtitle { margin-top: 28px; }
.lead { color: var(--text-2); }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.notice { padding: 12px 14px; border: 1px solid #d9e4f5; border-radius: var(--radius-sm); background: #f5f9ff; color: #1e3a8a; font-size: .9375rem; }
.notice-ok { border-color: #bfe3d2; background: #f0faf5; color: var(--success); }
.notice-warn { border-color: #f3d9b1; background: #fffaf0; color: var(--warning); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s; }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-hover); color: #ffffff; }
.btn-secondary { border-color: #c7d2e0; background: var(--card); color: var(--text); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 1rem; }
.btn-link { padding: 4px 0; border: 0; background: none; color: var(--primary-hover); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.btn-link:disabled { color: var(--muted); cursor: default; text-decoration: none; }

.form { display: grid; gap: 10px; }
.form label { font-size: .875rem; font-weight: 600; }
.form input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c7d2e0; border-radius: var(--radius-sm); background: #ffffff; color: var(--text); font: inherit; font-size: 1rem; }
.form input:focus { border-color: var(--primary); outline: 3px solid rgba(37, 99, 235, .2); outline-offset: 0; }
.code-input { letter-spacing: .4em; font-variant-numeric: tabular-nums; font-size: 1.25rem !important; }
.form-info { color: var(--text-2); font-size: .9375rem; }
.form-message { color: var(--danger); font-size: .875rem; }
.form-message[hidden], .form-message:empty { display: none; }
.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.turnstile-box { min-height: 65px; }

.plan-options { display: grid; gap: 10px; border: 0; }
.plan-option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: #f7faff; }
.plan-option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.plan-option-body { display: grid; gap: 2px; }
.plan-option-name { font-weight: 650; }
.plan-option-price { color: var(--text-2); }
.plan-option-sub { color: var(--success); font-size: .8125rem; font-weight: 600; }
.trial-line { font-weight: 550; }

.actions { display: grid; gap: 10px; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: .875rem; }
.card > .account-bar { margin-top: 28px; }

.plan-box { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.plan-box > * + * { margin-top: 10px; }
.plan-box-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan-box-label { color: var(--muted); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.plan-badge { padding: 2px 10px; border-radius: 999px; background: #eef2f7; font-size: .875rem; }
.plan-badge-pro { background: var(--primary); color: #ffffff; }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e6f4ee; color: var(--success); font-size: 1.5rem; font-weight: 700; }

.loading { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.loading-lg { padding: 24px 0; }
.spinner { flex: 0 0 22px; width: 22px; height: 22px; border: 3px solid #dbe4f3; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 24px 16px 32px; color: var(--muted); font-size: .8125rem; }
.foot a { color: var(--muted); }

@media (max-width: 480px) {
  .card { padding: 24px 20px; }
  .card h1 { font-size: 1.4rem; }
  .stores { grid-template-columns: 1fr; }
}
.stack > * + * { margin-top: 12px; }
.stack > .form { margin-top: 20px; }
