/* TapMe Reels account pages. Same palette as the landing page:
   near-black and off-white, orange only for the main action. */
:root {
  --ground: #0B0B0F; --panel: #131318; --panel-hi: #1A1A21; --line: #26262E;
  --ink: #E9E9ED; --muted: #9A9AA6; --faint: #6B6B76;
  --orange: #FA7C20; --orange-hi: #FF9445; --on-orange: #1A0A00;
  --green-hi: #4FA57C; --pink: #DB2FB2;
  --sans: Inter, "Segoe UI", system-ui, sans-serif; --mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--ground); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

header.bar { padding: 22px clamp(16px, 4vw, 40px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 20px; height: 31px; }
.logo .word { font-weight: 600; font-size: 24px; letter-spacing: -1px; line-height: 1; }
.logo .word small { font-size: 15px; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: 4px; }

main { flex: 1; display: grid; place-items: center; padding: 16px 16px 64px; }
.card { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 36px); }
.card.wide { max-width: 640px; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 26px; }

label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
input { width: 100%; font: inherit; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input:focus { border-color: var(--muted); outline: none; }
.hint { font-size: 13px; color: var(--faint); margin-top: 6px; }

.btn { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 22px; font: 700 16px var(--sans); cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.msg { display: none; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.msg.show { display: block; }
.msg.error { background: rgba(219,47,178,.1); border: 1px solid rgba(219,47,178,.4); }
.msg.ok { background: rgba(79,165,124,.1); border: 1px solid rgba(79,165,124,.45); }

.links { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--faint); margin-top: 16px; text-align: center; }

.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-of-type { border-bottom: 0; }
.row span:first-child { color: var(--muted); }
.pill { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.active { color: var(--green-hi); border-color: rgba(79,165,124,.5); }
.price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.box { background: var(--panel-hi); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 22px 0; }
footer { text-align: center; color: var(--faint); font-size: 13px; padding: 20px 16px 28px; }
