/* JOB SRO ACCOUNT - the player page's colours (client/player): page #07080c with a #1b2338 glow, dark cards with a thin gold
   border and gold corner marks, gold buttons. ONE plain system font everywhere (owner 2026-11-08: the player page's script
   font is for character names there only). Phone first; two columns from 860 px. */
:root { --bg:#07080c; --glow:#1b2338; --text:#e9e4d8; --dim:#9a937f; --gold:#c9a45a; --gold2:#e6c77d; --cream:#f3e6c4; --line:#4a3519;
  --red:#e2857a; --green:#9fd18b; --field:#0e0f14; }
* { box-sizing:border-box; }
html, body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body { min-height:100vh; display:flex; flex-direction:column;
  background:radial-gradient(1100px 520px at 50% -120px, var(--glow) 0%, rgba(27,35,56,.35) 45%, rgba(7,8,12,0) 75%) no-repeat, var(--bg); }
a { color:var(--gold2); }
.hide { display:none !important; }

.top { width:100%; max-width:1000px; margin:0 auto; padding:12px 16px 0; display:flex; align-items:center; gap:12px; }
.top a.home { display:flex; align-items:center; gap:8px; color:var(--text); text-decoration:none; font-weight:700; letter-spacing:.04em; }
.top a.home img { width:30px; height:30px; }
.topnav { margin-left:auto; display:flex; gap:14px; align-items:center; }
.topnav a { text-decoration:none; font-weight:600; }
button.link { background:none; border:0; color:var(--gold2); font:inherit; font-weight:600; cursor:pointer; padding:6px 0; }

main { flex:1; width:100%; max-width:1000px; margin:0 auto; padding:18px 16px 40px; display:flex; flex-direction:column; align-items:center; gap:16px; }
.msg { margin:60px auto; text-align:center; color:var(--dim); font-size:16px; }
.msg b { display:block; color:var(--text); font-size:22px; margin-bottom:6px; }
footer { text-align:center; color:#5d584c; font-size:12px; padding:0 16px 28px; }

/* the card */
.panel { position:relative; width:min(460px, 100%); padding:22px clamp(14px, 4vw, 26px) 20px; border:1px solid rgba(201,164,90,.75); border-radius:6px;
  background:radial-gradient(70% 40% at 50% 0%, rgba(29,42,68,.85) 0%, rgba(13,18,32,.6) 60%, rgba(9,11,17,0) 100%), linear-gradient(#0c0f18, #090b11);
  box-shadow:0 0 0 1px #000, inset 0 0 0 1px rgba(230,199,125,.08), inset 0 0 60px rgba(0,0,0,.55), 0 18px 40px rgba(0,0,0,.55); }
.orn { position:absolute; width:18px; height:18px; pointer-events:none; border-color:var(--gold2); border-style:solid; border-width:0; opacity:.9; }
.orn.tl { top:5px; left:5px; border-top-width:2px; border-left-width:2px; }
.orn.tr { top:5px; right:5px; border-top-width:2px; border-right-width:2px; }
.orn.bl { bottom:5px; left:5px; border-bottom-width:2px; border-left-width:2px; }
.orn.br { bottom:5px; right:5px; border-bottom-width:2px; border-right-width:2px; }
.title, .name { margin:0; text-align:center; font-weight:700; color:var(--cream); line-height:1.2; letter-spacing:.02em;
  text-shadow:0 0 10px rgba(243,230,196,.18), 0 2px 3px rgba(0,0,0,.8); overflow-wrap:anywhere; }
.title { font-size:clamp(24px, 6.5vw, 30px); }
.name { font-size:clamp(26px, 7.5vw, 34px); }
.sub { text-align:center; color:var(--dim); margin:6px 0 16px; }
.sub b { color:var(--gold2); }

form { display:flex; flex-direction:column; gap:12px; }
label { display:flex; flex-direction:column; gap:5px; color:var(--dim); font-size:13px; font-weight:600; letter-spacing:.03em; }
label small { font-weight:400; color:#7d7766; letter-spacing:0; }
input { width:100%; background:var(--field); color:var(--text); border:1px solid var(--line); border-radius:6px; padding:11px 12px; font:inherit; font-size:16px; }
input:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 2px rgba(201,164,90,.2); }
.btn { display:block; width:100%; min-height:48px; text-align:center; text-decoration:none; line-height:46px; padding:0 14px; cursor:pointer;
  background:linear-gradient(#4a3519,#2a1d10); color:var(--gold2); border:1px solid var(--gold); border-radius:6px; font-weight:700; font-size:15px; letter-spacing:.08em; }
.btn:hover { color:#ffe7a8; box-shadow:0 0 0 1px rgba(230,199,125,.35), 0 0 16px rgba(230,199,125,.18); }
.btn:disabled { opacity:.55; cursor:wait; }
.err { margin:0; color:var(--red); min-height:0; font-size:14px; }
.err:empty, .ok:empty { display:none; }
.ok { margin:0; color:var(--green); font-size:14px; }
.note { color:var(--dim); font-size:13px; margin:0 0 4px; }
.links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin:16px 0 0; font-size:14px; }

.captcha { display:flex; flex-direction:column; gap:6px; }
.captcha .pic { display:flex; gap:8px; align-items:center; }
.captcha img { width:160px; height:56px; border:1px solid var(--line); border-radius:5px; background:#0e1019; image-rendering:auto; }
.captcha button { background:#1c140b; border:1px solid var(--line); color:var(--gold2); border-radius:6px; padding:8px 12px; font:inherit; font-size:13px; cursor:pointer; }

/* dashboard */
.dash { width:100%; display:grid; grid-template-columns:1fr; gap:16px; }
.dash .head { width:100%; }
.status { text-align:center; margin:6px 0 12px; font-weight:700; letter-spacing:.04em; }
.status.okc { color:var(--green); }
.status.bad { color:var(--red); }
.wallet { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:6px 0 14px; }
.wallet div { text-align:center; padding:10px 6px; border:1px solid var(--line); border-radius:6px; background:linear-gradient(#17120c, #100c08); }
.wallet span { display:block; color:var(--dim); font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.wallet b { display:block; color:#ffe7a8; font-size:24px; }
.rows { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0; }
.rows dt { color:var(--dim); } .rows dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.box { background:linear-gradient(#17120c, #100c08); border:1px solid var(--line); border-radius:8px; box-shadow:inset 0 0 0 1px rgba(201,164,90,.14); padding:12px 14px; min-width:0; }
.box h2 { margin:0 0 10px; color:var(--gold2); font-size:14px; letter-spacing:.14em; text-transform:uppercase; }
.empty { color:var(--dim); margin:0; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th { text-align:left; color:var(--dim); font-weight:600; font-size:12px; letter-spacing:.06em; text-transform:uppercase; padding:6px 6px; border-bottom:1px solid var(--line); }
td { padding:8px 6px; border-bottom:1px solid rgba(74,53,25,.45); vertical-align:top; }
tr:last-child td { border-bottom:0; }
td a { text-decoration:none; font-weight:700; }
.scroll { overflow-x:auto; }
details { border-top:1px solid rgba(74,53,25,.6); padding:10px 0; }
details:first-of-type { border-top:0; }
summary { cursor:pointer; color:var(--text); font-weight:700; padding:4px 0; }
summary::marker { color:var(--gold); }
details form { margin-top:10px; }

/* phone: tables turn into stacked rows */
@media (max-width:560px) {
  table.stack thead { display:none; }
  table.stack tr { display:block; padding:8px 0; border-bottom:1px solid rgba(74,53,25,.45); }
  table.stack tr:last-child { border-bottom:0; }
  table.stack td { display:flex; justify-content:space-between; gap:12px; border:0; padding:3px 2px; }
  table.stack td::before { content:attr(data-l); color:var(--dim); font-size:12px; letter-spacing:.04em; }
}
@media (min-width:860px) {
  .dash { grid-template-columns:1fr 1fr; }
  .dash .head { grid-column:1 / -1; justify-self:center; width:min(560px, 100%); }
}
