/* marketplace: the shop's skin over the engine's market.css (lib/marketplace/static/css/), for the
   Weird Plugin Directory, Imported Goods, the suppliers entrance and the store map.

   market.css holds the layout and reads every colour, font and size from a --mk- property. This
   file gives those properties the shop's values, from the tokens in site.css, and adds what only
   the shop has: the wires the aisle sign hangs from, its yellow stripe, the slogan's script, the
   crooked stamp on Imported Goods. It loads after market.css (css.files in market/brand.json). */
.dir{
  --mk-ground:var(--sp-cream-light);
  --mk-text:var(--sp-ink);
  --mk-text-strong:var(--sp-navy-deep);
  --mk-muted:var(--sp-muted);
  --mk-link:var(--shareware-blue);
  --mk-nav:var(--sp-navy);
  --mk-line:var(--sp-navy);
  --mk-rule:var(--sp-cream-strip);
  --mk-line-soft:var(--halftone-gray);
  --mk-surface:#fff;
  --mk-sunk:var(--sp-cream-strip);
  --mk-strong-ground:var(--sp-navy);
  --mk-strong-text:#fff;
  --mk-accent:var(--sp-yellow);
  --mk-accent-text:var(--ink-black);
  --mk-alert:var(--sp-red);
  --mk-focus:var(--sp-yellow);
  --mk-focus-strong:var(--sp-yellow);
  --mk-control:auto;
  --mk-font-body:var(--font-body);
  --mk-font-display:var(--font-display);
  --mk-font-ui:var(--font-ui);
  --mk-font-mono:var(--font-mono);
  --mk-display-weight:400;
  --mk-display-case:uppercase;
  --mk-leading:1.65;          /* site.css's body line height, which the pages took before */
  --mk-space-list:0;          /* its source links stand 25 px apart at that line height */
}

/* the hanging aisle sign: a yellow stripe at the bottom and two wires up to the ceiling */
.dir-sign{border-bottom:6px solid var(--sp-yellow)}
.dir-sign::before,.dir-sign::after{content:"";position:absolute;top:-22px;width:2px;height:22px;background:var(--sp-navy-deep)}
.dir-sign::before{left:18%}
.dir-sign::after{right:18%}

/* the slogan in the shop's script */
.dir-slogan{font-family:"Pacifico",cursive}

/* the counters on the store map: yellow tiles with the navy text, red number and grey note of the
   other tiles, where market.css puts the accent's own text colour on the accent */
.dir-map__cell--extra a{color:var(--mk-text-strong);border-color:var(--mk-text-strong)}
.dir-map__cell--extra .dir-map__no{color:var(--mk-alert)}
.dir-map__cell--extra .dir-map__note{color:var(--mk-muted)}

/* the stamp on an Imported Goods item, put on crooked */
.dir-stamp{transform:rotate(-2deg)}

/* The shop's navy button is a link too: keep its text white over the link colour of .dir a. */
.dir .sp-btn--navy{color:#fff}

/* the line on a Directory plugin page that says where the shop picked it (curation.annotate) */
.cu-picked{background:var(--mk-surface);border-left:6px solid var(--mk-accent);padding:8px 12px;margin:14px 0;font-size:.95rem}
