/* The tier colour system. Anything that carries a rating gets --tier (the accent) and
   --tier-ink (text on that accent); cards, chips, tiles and badges all draw from those two. */
[data-rating="open-doors"],[data-value="open-doors"]{--tier:var(--gk-open);--tier-ink:var(--gk-open-ink)}
[data-rating="picky-hosts"],[data-value="picky-hosts"]{--tier:var(--gk-picky);--tier-ink:var(--gk-picky-ink)}
[data-rating="bouncers"],[data-value="bouncers"]{--tier:var(--gk-bouncer);--tier-ink:var(--gk-bouncer-ink)}
[data-rating="brick-walls"],[data-value="brick-walls"]{--tier:var(--gk-brick);--tier-ink:var(--gk-brick-ink)}
[data-rating="not-tested"],[data-value="not-tested"]{--tier:var(--gk-untested);--tier-ink:var(--slate)}

/* The door. Open Doors is an empty doorway, Picky Hosts has a slot to look through, Bouncers
   has a bar across it, Brick Walls is bricked up, and Not tested is only sketched in. */
.gk-door{flex:none;width:14px;height:14px;fill:none;stroke:var(--tier,currentColor);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gk-door[data-rating="not-tested"] path{stroke-dasharray:1.7 2.1}

/* The badge: door and name in the tier's colour. No box; the colour is the mark. */
.badge{display:inline-flex;align-items:center;gap:6px;color:var(--tier,var(--mist));font:600 .8125rem/1.2 var(--label);letter-spacing:.03em;white-space:nowrap}
.badge:not(:has(svg))::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:currentColor}
.badge[data-rating="not-tested"]:not(:has(svg))::before{background:none;border:1.5px dashed currentColor}

/* "connector": the rating rests on an official connector, not a hands-on audit. */
.gk-connector{display:inline-flex;align-items:center;min-height:18px;padding:0 7px;border:1px solid color-mix(in srgb,var(--gk-open) 45%,transparent);border-radius:var(--r-pill);color:var(--gk-open);font:400 .6875rem/1.5 var(--mono);letter-spacing:.02em;text-transform:lowercase;white-space:nowrap;vertical-align:middle}
