/* ======================= v12.23 ======================= */

/* (4) the Hymn / Relic chips sit to the RIGHT of the quest banner (never on top of it); the banner keeps its full width and its text stays readable */
.rels{left:calc(50% + 340px)}
.hz.q-left .rels{left:calc(50% + 172px)}

/* (5) a card's type line is always ONE line inside its own band: it can never wrap down behind the text box or up behind the art */
.card .c-type{white-space:nowrap;overflow:visible}
.card .c-type span{white-space:nowrap}
.card[data-cid="mite"] .c-type{letter-spacing:.1em;gap:3px}
.card[data-cid="mite"] .c-type span{font-size:.92em;letter-spacing:.1em}
.card[data-cid="mite"] .c-type::before,.card[data-cid="mite"] .c-type::after{width:5px}

/* (7) GUARDIAN: a steel heater-shield frame round the portrait (rival's too) + a shield badge, readable at a glance */
.tok .gshield{position:absolute;left:-12px;top:-9px;width:calc(100% + 24px);height:calc(100% + 20px);overflow:visible;z-index:0;pointer-events:none;filter:drop-shadow(0 4px 5px rgba(0,0,0,.65))}
.tok .gshield .gs-o{fill:#8e9bb4;stroke:#0b0f1a;stroke-width:2.2;stroke-linejoin:round}
.tok .gshield .gs-i{fill:#2d3b57;stroke:#eef3ff;stroke-width:1.6;stroke-linejoin:round}
.tok.guardian.mine .gshield .gs-o{fill:#8fa6d6}
.tok.guardian.theirs .gshield .gs-o{fill:#b4a0a0}
.tok.guardian .tring{box-shadow:0 0 0 1px #000,0 0 0 3px rgba(238,243,255,.9),0 0 10px 2px rgba(190,210,255,.55),inset 0 0 0 2px rgba(255,255,255,.55)}
.tok .gbadge{position:absolute;left:-14px;top:2px;width:30px;height:34px;z-index:5;display:grid;place-items:center;pointer-events:none;color:#101a33;
  background:linear-gradient(160deg,#fbfdff,#b6c4e0 55%,#7a8aad);clip-path:path("M15 0 C20 3 26 4 30 4 V18 C30 27 23 32 15 34 C7 32 0 27 0 18 V4 C4 4 10 3 15 0Z");filter:drop-shadow(0 2px 2px rgba(0,0,0,.8))}
.tok .gbadge .ico{font-size:17px;color:#14224a;stroke-width:2.6;margin-top:-2px}

/* servant name plates: a little wider so long names shrink to fit (js fitNames) instead of ending in "…" */
.tok .tname{max-width:138px}

/* very long card names: one step smaller so two lines always fit the name plate (hand cards included) */
.card .c-name.nl3{font-size:12px;letter-spacing:-.012em}
#hand .card .c-name.nl3{font-size:12.2px;letter-spacing:-.012em}

/* v12.23: builder grid at fractional stage scales - a roomier line box so the name never reports a clipped glyph box */
#builder .db-c .card .c-name{line-height:1.2}

/* v12.23: a servant name too long for one line wraps to two instead of shrinking or ending in an ellipsis */
.tok .tname.tn2{white-space:normal;text-overflow:clip;line-height:1.08;max-width:116px;padding:3px 8px 2px;bottom:-12px;border-radius:12px}
