/* Hand-written parts of the market's stylesheet: what the design files put in
   inline styles or repeat per page (the top bar on every page, the phone top
   bar), real cover images, and the small states the designs have no rule for
   (form errors, sent boxes, report form, disabled parts). Values from
   docs/design/apps-shared/DESIGN.md. */

body{font-family:'Libre Franklin','Franklin Gothic Medium','Helvetica Neue',Arial,sans-serif;color:#121212;background:#FAFAF7;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
#main:focus{outline:none}
html.lock{overflow:hidden}

/* The top bar stays in view on every page but the search page (an app shell of its own). */
body:not(.scr-platen) .tb{position:sticky;top:0}
.m-lang{display:none;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 4px 12px;min-height:52px;font-size:15px;font-weight:600}
.acct-btn .avatar svg{display:block}
.mi svg{flex:none}
@media (max-width:900px){
  body:not(.scr-platen) .tb{position:relative}
  .tabs{scrollbar-width:none}
}
@media (max-width:600px){
  /* Top bar on one line: the language switch moves into the account menu. */
  .logo-tag{display:none}
  .tb-right>.lang{display:none}
  .m-lang{display:flex}
  .favlink{padding:0 6px;gap:6px}
  .acct-btn{padding:0 4px}
  .acct-btn>svg{display:none}
  .menu{width:min(290px,calc(100vw - 24px))}
}

/* Real covers: the release image through the market's proxy, on the grey square. */
.cover img{display:block;width:100%;height:100%;object-fit:cover}
.lrow .cover,.more .cover,.irow .cover{width:100%}

/* Grey boxes the design draws inline: forms in a drawer, "sent", the lot. */
.dform{margin:0;background:#EFEEE8;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:14px}
.donebox{margin:0;background:#EFEEE8;border-radius:14px;padding:18px 20px;display:flex;gap:12px;align-items:flex-start;font-size:15px;color:#2B2A27}
.donebox:focus{outline:none}
.lotbox{margin:0 0 28px;background:#EFEEE8;border-radius:14px;padding:18px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.soldby{margin-top:24px;background:#EFEEE8;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:6px}
.emptybox{border-top:3px solid #121212;padding:24px 0 8px;display:flex;flex-direction:column;gap:10px;max-width:520px}
.emptyt{font-size:28px;font-weight:800;letter-spacing:-0.03em;line-height:1.1}

/* Form bits */
.fcol{display:flex;flex-direction:column;gap:6px;min-width:0}
.frow{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap}
.ferr{margin:0;font-size:14px;color:#A3260F;font-weight:600}
.ferr[hidden]{display:none}
.field[readonly]{background:#F2F1EC;color:#5E5B55}
.rform{margin-top:8px;background:#EFEEE8;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:12px}
.report p{overflow-wrap:anywhere}

/* A part of the design with no back end yet: shown, not usable. */
.soon{opacity:.45;pointer-events:none}

.btn-o:disabled,.btn-o:disabled:hover{background:#D9D7D0;color:#5E5B55;cursor:default;filter:none}
.dpill{min-height:44px}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none !important;animation:none !important;scroll-behavior:auto !important}
}

/* Between the phone layout and a wide screen the top bar's words do not fit beside the tabs (1078 px at 1024): only the icons there. */
@media (min-width:901px) and (max-width:1180px){.tb-label{display:none}}
