/* standalone pages (account / shop) — built on the app's own design system.
   All colours, fonts, radii and shadows come from styles.css + body.tb.
   Only the pieces the app screens don't already have live here. */

.hidden{display:none!important}
#app{padding-bottom:24px}
.stack{display:flex;flex-direction:column;gap:10px}
.sect a{text-decoration:none}
.foot{font-size:10px;color:var(--muted);text-align:center;line-height:1.9;font-weight:600;padding:16px 0 6px;opacity:.9}

/* ---------- auth (same type scale as the app's auth screen) ---------- */
.authwrap{display:flex;flex-direction:column;padding:6px 18px 28px}
.authwrap .t-display{font-size:23px;line-height:1.42}
.authwrap .auth-p{margin:10px 0 16px;max-width:300px}
.authwrap .auth-tabs{margin:0 0 14px;max-width:none}
.authwrap form{display:flex;flex-direction:column;gap:9px}
.authwrap .label{margin-bottom:0;margin-top:3px}
.authwrap .btn{margin-top:8px}
.authwrap .hint{margin-top:2px}

/* ---------- form controls inside .inp ---------- */
.inp select{flex:1;border:none;outline:none;background:transparent;font-family:var(--body);font-size:15px;font-weight:800;color:var(--ink);-webkit-appearance:none;appearance:none;min-width:0}
.inp.ta{padding:11px 15px;align-items:flex-start}
.inp textarea{flex:1;border:none;outline:none;background:transparent;font-family:var(--body);font-size:13px;font-weight:700;line-height:1.75;color:var(--ink);resize:none;min-height:44px}
.inp input::placeholder,.inp textarea::placeholder{color:var(--muted);opacity:.8;font-weight:600}
body.tb .inp select,body.tb .inp textarea{color:#FBF2DF}

/* stepper value is typeable but keeps the app's 24px/900 figure */
.stepper .v input{
  width:4.4ch;border:none;outline:none;background:transparent;font-family:var(--body);
  font-size:24px;font-weight:900;letter-spacing:-.4px;color:inherit;text-align:center;direction:ltr;padding:0;
}

/* ---------- request / bid cards ---------- */
.ritem{
  background:linear-gradient(180deg,#3B3023,#352B1F);border:1px solid #4A3C29;border-radius:20px;
  padding:13px;box-shadow:var(--sh2);display:flex;flex-direction:column;gap:11px;
}
.ritem .hd{display:flex;align-items:center;gap:11px}
.ritem .thumb{width:52px;height:52px;border-radius:14px;overflow:hidden;flex:none;border:1px solid #5C4A31;background:#332A1E}
.ritem .thumb img{width:100%;height:100%;object-fit:cover}
.ritem .mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ritem .mid b{font-size:13px;font-weight:800;color:#FBF2DF;line-height:1.45}
.ritem .mid span{font-size:10.5px;color:#C0AF93;font-weight:600;line-height:1.55}
.ritem .pill{margin-top:1px}
.pill.mut{background:#3A2F22;color:#C0AF93;border:1px solid #4A3C29}

.bestrow{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:14px;
  background:rgba(199,154,69,.12);border:1px solid #5C4A31;font-size:10.5px;font-weight:700;color:#C0AF93;
}
.bestrow b{font-size:14.5px;font-weight:900;color:#F0DFB4;letter-spacing:-.2px}

.btn.mini{height:34px;font-size:11px;font-weight:800;padding:0 13px;border-radius:12px;width:auto;flex:none;margin:0}

/* ---------- timer readable on the dark theme ---------- */
body.tb .timer{color:#F0DFB4;border-color:#7A5F32;background:#3A2F22}
.best .timer{margin-inline-start:4px;padding:4px 8px;font-size:11px}

/* ---------- inline messages ---------- */
.err,.okmsg{display:none;font-size:11px;font-weight:700;padding:9px 12px;border-radius:12px;line-height:1.65;margin-top:9px}
.err{background:#3A1F1F;border:1px solid #6B3838;color:#F3B9B9}
.okmsg{background:#1C3A28;border:1px solid #2E5B41;color:#8FE3B4}

/* ---------- leftovers the dark theme must cover ---------- */
body.tb .quick .q{background:#3A2F22;border-color:#4A3C29;color:#C0AF93}
body.tb .quick .q:active{background:#463724;color:#F0DFB4}
body.tb .best .shop .logo{background:var(--metal);color:#3A2A08;border-color:#7A5F32;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 14px -8px rgba(160,120,40,.8)}
body.tb .gtee{color:#E4C078}
body.tb .sect a{color:#E4C078}

/* timer sits on the same line as its label */
.best .best-sub{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.best .best-sub .timer{margin-inline-start:2px}

/* keep a price and its unit on one line */
.best .bigprice{flex-wrap:nowrap;white-space:nowrap}
.ritem .pill{align-self:flex-start}

/* auth fields: LTR content, right edge in an RTL page */
.authwrap .inp input{direction:ltr;text-align:right}

/* keep the price line and the timer chip from touching */
.best .best-sub{margin-top:6px;line-height:1.5}
