/*
 * Characters app: the parts of the old character portal's look that the forum doesn't have itself
 * (character cards, the portrait hero, stats, lists, forms, the family map). Everything is inside
 * .cChars, so nothing here touches the rest of the forum, and every colour comes from the active
 * theme's variables. Buttons, messages and the page frame are the forum's own.
 */
.cChars {
	--line: var(--i-box--bo-co);
	--text: var(--i-color_hard);
	--text-2: var(--i-color_root);
	--muted: var(--i-color_soft);
	--primary: var(--i-primary);
	--box: var(--i-box--ba-co);
	--box-head: var(--i-boxHeader--ba-co, var(--i-box--ba-co));
	--page: var(--i-body--ba-co);
	--raised: color-mix(in srgb, var(--box) 95%, var(--text));
	--primary-soft: color-mix(in srgb, var(--primary) 15%, transparent);
	--ok: var(--i-color_positive, #1f8a4c);
	--bad: var(--i-color_negative, #e5484d);
	--warn: var(--i-color_warning, #c98a14);
	--radius: var(--i-box--bo-ra, 8px);
	--font: var(--i-font-family, system-ui, sans-serif);
	color: var(--text);
}
.cChars * { box-sizing: border-box; }
.cChars h1, .cChars h2, .cChars h3 { margin: 0; line-height: 1.25; font-weight: 650; }
.cChars h1 { font-size: 1.6rem; }
.cChars h2 { font-size: 1.1rem; }
.cChars p { margin: 0 0 .8em; }
.cChars p:last-child { margin-bottom: 0; }
.cChars .muted { color: var(--muted); }
.cChars .small { font-size: .85rem; }
.cChars .stack > * + * { margin-top: 20px; }
.cChars .narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- section bar */

.cChars__nav {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin-bottom: 20px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box);
}
.cChars__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.cChars__tabs::-webkit-scrollbar { display: none; }
.cChars__tab {
	display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap;
	padding: 9px 14px; border-radius: 6px; font-weight: 650; font-size: .9rem; color: var(--text-2);
}
.cChars__tab i { opacity: .65; }
.cChars__tab:hover { background: var(--raised); text-decoration: none; color: var(--text); }
.cChars__tab.is-active { background: var(--primary-soft); color: var(--text); }
.cChars__tab.is-active i { color: var(--primary); opacity: 1; }
.cChars__search { position: relative; width: 260px; max-width: 100%; margin: 0; }
.cChars__search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.cChars__search input { width: 100%; padding-left: 34px; }
.cChars .count {
	display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
	border-radius: 999px; background: var(--primary); color: var(--i-primary-contrast, #fff); font-size: .72rem;
}

/* ---------------------------------------------------------------- controls */

.cChars input[type="search"], .cChars input[type="text"], .cChars select, .cChars textarea {
	font: inherit; font-size: .9rem; color: var(--text);
	background: var(--box); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; min-width: 0;
}
.cChars textarea { resize: vertical; padding: 10px 12px; }
.cChars input:focus, .cChars select:focus, .cChars textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.cChars form { margin: 0; }
.cChars .iconbtn {
	width: 32px; height: 32px; border-radius: 6px; border: 0; cursor: pointer; background: transparent; color: var(--muted);
}
.cChars .iconbtn:hover { background: var(--raised); color: var(--text); }
.cChars .linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--primary); }

/* ---------------------------------------------------------------- boxes */

.cChars .box { background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cChars .box__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--box-head);
}
.cChars .box__head h2 { display: flex; align-items: center; gap: 10px; }
.cChars .box__head--section { border-top: 1px solid var(--line); }
.cChars .box__body { padding: 20px 22px; }
.cChars .box__foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--box-head); }
.cChars .pagefoot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cChars .empty { text-align: center; padding: 44px 22px; color: var(--muted); }
.cChars .empty > i { font-size: 2rem; display: block; margin-bottom: 12px; opacity: .6; }
.cChars .empty p { margin-top: 14px; }
.cChars .pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cChars .pagehead p { margin: 6px 0 0; color: var(--muted); }
.cChars .banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.cChars .banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cChars .banner__text { display: flex; align-items: center; gap: 16px; }
.cChars .banner__text > i { font-size: 1.6rem; color: var(--primary); }
.cChars .banner__text strong { display: block; }
.cChars .banner--deceased .banner__text > i { color: var(--muted); }
.cChars .toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cChars .toolbar input[type="search"] { width: 220px; }

.cChars .pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
	font-size: .78rem; font-weight: 650; background: var(--primary-soft); color: color-mix(in srgb, var(--primary) 70%, var(--text));
}
.cChars .pill--deceased { background: color-mix(in srgb, var(--muted) 20%, transparent); color: var(--muted); }
.cChars .head { image-rendering: pixelated; border-radius: 6px; flex: none; }
.cChars .avatar { border-radius: 50%; object-fit: cover; flex: none; }

/* ---------------------------------------------------------------- character cards */

.cChars .characters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cChars .character {
	display: flex; gap: 14px; align-items: center; padding: 14px; color: var(--text);
	background: var(--raised); border: 1px solid var(--line); border-radius: 8px; transition: border-color .15s, transform .15s;
}
.cChars .character:hover { border-color: var(--primary); text-decoration: none; transform: translateY(-1px); }
.cChars .character .head { width: 56px; height: 56px; }
.cChars .character__body { min-width: 0; display: grid; gap: 4px; }
.cChars .character__name { font-weight: 650; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cChars .character__meta { color: var(--text-2); font-size: .85rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cChars .character__owner { color: var(--muted); font-size: .8rem; }
.cChars .character__relation { color: color-mix(in srgb, var(--primary) 70%, var(--text)); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cChars .character__hidden { color: var(--muted); font-size: .8em; margin-left: 4px; }
.cChars .character--deceased .head, .cChars .hero--deceased .head { filter: grayscale(1); opacity: .75; }
.cChars .character--deceased .character__name { color: var(--muted); font-style: italic; }
.cChars .character-slot { display: grid; gap: 6px; }
.cChars .character-slot form { padding-left: 4px; }
.cChars .visibility-toggle { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cChars .visibility-toggle:hover { color: var(--text); }
.cChars .pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- character and member pages */

.cChars .hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 26px; }
.cChars .hero__portrait { padding: 10px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); }
.cChars .hero__portrait .head { width: 132px; height: 132px; display: block; }
.cChars .hero__body { flex: 1; min-width: 240px; display: grid; gap: 14px; }
.cChars .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; max-width: 520px; }
.cChars .stat { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.cChars .stat__label { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cChars .stat__value { font-weight: 650; margin-top: 2px; overflow-wrap: anywhere; }
.cChars .owner { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.cChars .owner:hover { text-decoration: none; }
.cChars .owner:hover .owner__name { text-decoration: underline; }
.cChars .owner__name { font-weight: 650; }
.cChars .owner__sub { color: var(--muted); font-size: .85rem; }
.cChars .prose { color: var(--text-2); overflow-wrap: anywhere; white-space: pre-line; }
.cChars .layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .cChars .layout-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- account page */

.cChars .linkcode { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.cChars .linkcode code { font-size: 1.35rem; font-weight: 650; letter-spacing: .06em; padding: 10px 16px; border-radius: 8px; background: var(--raised); border: 1px dashed var(--line); }
.cChars .account__head { display: flex; align-items: center; gap: 12px; }
.cChars .account__head .head { width: 36px; height: 36px; }
.cChars .account__title { display: grid; }
.cChars .account__title span { font-size: .8rem; font-weight: 500; color: var(--muted); }

/* ---------------------------------------------------------------- lists */

.cChars .rows { list-style: none; margin: 0; padding: 0; }
.cChars .row { display: flex; align-items: center; gap: 14px; padding: 15px 22px; border-top: 1px solid var(--line); }
.cChars .row:first-child { border-top: 0; }
.cChars .row .head { width: 40px; height: 40px; }
.cChars .row__icon { width: 40px; height: 40px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.cChars .row__main { flex: 1; min-width: 0; }
.cChars .row__title { font-weight: 650; color: var(--text); }
.cChars .history .row { padding-top: 12px; padding-bottom: 12px; }
.cChars .badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cChars .heads { display: flex; flex: none; }
.cChars .heads .head { width: 32px; height: 32px; border: 2px solid var(--box); border-radius: 8px; }
.cChars .heads .head + .head { margin-left: -10px; }

.cChars .status {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 10px; border-radius: 999px;
	font-size: .78rem; font-weight: 650; background: var(--raised); color: var(--text-2); border: 1px solid var(--line);
}
.cChars .status--pending { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); border-color: transparent; }
.cChars .status--accepted, .cChars .status--outcome-applied { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); border-color: transparent; }
.cChars .status--denied, .cChars .status--outcome-failed { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); border-color: transparent; }

.cChars .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.cChars .tabs__tab { padding: 10px 16px; color: var(--muted); font-weight: 650; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cChars .tabs__tab:hover { color: var(--text); text-decoration: none; }
.cChars .tabs__tab.is-active { color: var(--text); border-bottom-color: var(--primary); }

/* ---------------------------------------------------------------- forms */

.cChars .form { display: grid; gap: 20px; }
.cChars .field { display: grid; gap: 6px; }
.cChars .field__label { font-weight: 650; }
.cChars .field__help { color: var(--muted); font-size: .85rem; }
.cChars .field input[type="text"], .cChars .field select, .cChars .field textarea,
.cChars .question input[type="text"], .cChars .question select, .cChars .question textarea { width: 100%; }
.cChars fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.cChars fieldset.field legend { padding: 0; margin-bottom: 6px; }
.cChars .req { color: var(--bad); }
.cChars .choices, .cChars .checks { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.cChars .choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cChars .choice input { accent-color: var(--primary); width: 16px; height: 16px; }
.cChars .inline-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.cChars .inline-form__row select { flex: 1; min-width: 180px; }

.cChars .picker__account { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 8px; }
.cChars .picker__account:first-child { margin-top: 0; }
.cChars .picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cChars .pick input { position: absolute; opacity: 0; pointer-events: none; }
.cChars .pick__card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; background: var(--raised); border: 2px solid var(--line); border-radius: 8px; }
.cChars .pick__card .head { width: 40px; height: 40px; }
.cChars .pick__card > span { display: grid; min-width: 0; flex: 1; }
.cChars .pick__name { font-weight: 650; }
.cChars .pick__tick { color: var(--primary); opacity: 0; }
.cChars .pick input:checked + .pick__card { border-color: var(--primary); background: var(--primary-soft); }
.cChars .pick input:checked + .pick__card .pick__tick { opacity: 1; }
.cChars .pick input:focus-visible + .pick__card { outline: 2px solid var(--primary); outline-offset: 2px; }

.cChars .questions { display: grid; gap: 12px; }
.cChars .question { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); }
.cChars .question__grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 8px; }
.cChars .question__foot { display: flex; align-items: center; justify-content: space-between; }
.cChars .question__tools { display: flex; gap: 2px; }

.cChars .answer + .answer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.cChars .answer__q { font-weight: 650; margin-bottom: 4px; }
.cChars .mini { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cChars .mini--flush { margin: 0; }
.cChars .mini .head { width: 56px; height: 56px; }
.cChars .facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 12px; }
.cChars .facts dt { color: var(--muted); }
.cChars .facts dd { margin: 0; }

.cChars .swatches { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.cChars .swatch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cChars .swatch input { accent-color: var(--primary); }
.cChars .swatch__chip { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); }
.cChars .swatch__chip--none { background: repeating-linear-gradient(45deg, var(--raised) 0 3px, var(--line) 3px 5px); }

/* ---------------------------------------------------------------- families */

.cChars .family--coloured { border-top: 4px solid var(--family-colour); }
.cChars .family--coloured .family__name { color: color-mix(in srgb, var(--family-colour) 70%, var(--text)); }
.cChars .family__motto { font-style: italic; color: var(--text-2); }
.cChars .family-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.cChars .fmap {
	position: relative; height: min(72vh, 780px); min-height: 420px; overflow: hidden; background-color: var(--page);
	background-image: radial-gradient(color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 1px); background-size: 22px 22px;
}
.cChars .fmap__svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.cChars .fmap.is-panning .fmap__svg { cursor: grabbing; }
.cChars .fmap__family rect { fill: color-mix(in srgb, var(--box) 70%, transparent); stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 5; }
.cChars .fmap__family.is-flash rect { animation: cchars-fmap-flash 1.4s ease-out; }
@keyframes cchars-fmap-flash { 0%, 40% { stroke: var(--primary); stroke-width: 3; stroke-dasharray: none; } }
.cChars .fmap__label text { fill: var(--muted); font: 700 13px var(--font); letter-spacing: .08em; }
.cChars .fmap__label:hover text { fill: var(--primary); }
.cChars .flink { fill: none; stroke: color-mix(in srgb, var(--text) 38%, transparent); stroke-width: 2; stroke-linejoin: round; transition: opacity .15s; }
.cChars .fnode { cursor: pointer; transition: opacity .15s; }
.cChars .fnode__card { fill: var(--raised); stroke: var(--line); stroke-width: 1.5; transition: stroke .15s; }
.cChars .fnode__head { image-rendering: pixelated; }
.cChars .fnode__name { fill: var(--text); font: 650 14px var(--font); }
.cChars .fnode__meta { fill: var(--muted); font: 12px var(--font); }
.cChars .fnode:hover .fnode__card, .cChars .fnode:focus-visible .fnode__card { stroke: var(--primary); stroke-width: 2; }
.cChars .fnode:focus { outline: none; }
.cChars .fnode.is-focus .fnode__card { stroke: var(--primary); stroke-width: 3; fill: color-mix(in srgb, var(--primary) 14%, var(--raised)); }
.cChars .fnode.is-hidden .fnode__card { stroke-dasharray: 5 4; }
.cChars .fnode.is-hidden { opacity: .8; }
.cChars .fmap.is-tracing .fnode:not(.is-lit) { opacity: .25; }
.cChars .fmap.is-tracing .flink:not(.is-lit) { opacity: .12; }
.cChars .flink.is-lit { stroke: var(--primary); stroke-width: 2.5; }
.cChars .fnode.is-deceased .fnode__card { fill: color-mix(in srgb, var(--raised) 60%, var(--page)); stroke-dasharray: 2 3; }
.cChars .fnode.is-deceased .fnode__head { filter: grayscale(1); opacity: .7; }
.cChars .fnode.is-deceased .fnode__name { fill: var(--muted); font-style: italic; }
.cChars .fmap__family.has-colour rect { stroke: var(--family-colour); stroke-dasharray: none; stroke-width: 2; }
.cChars .fmap__family.has-colour .fmap__label text { fill: color-mix(in srgb, var(--family-colour) 75%, var(--text)); }
.cChars .fnode__crown { font: 900 12px "Font Awesome 6 Free"; fill: var(--primary); }
.cChars .fmap__tools { position: absolute; top: 12px; right: 12px; display: grid; gap: 6px; }
.cChars .fmap__tool { width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: .9rem; background: var(--box); color: var(--text); border: 1px solid var(--line); }
.cChars .fmap__tool:hover { color: var(--primary); border-color: var(--primary); }
.cChars .fmap__hint { position: absolute; left: 12px; bottom: 10px; pointer-events: none; font-size: .78rem; background: color-mix(in srgb, var(--box) 85%, transparent); padding: 4px 10px; border-radius: 6px; }
.cChars .fmap .empty { position: absolute; inset: 0; display: grid; place-content: center; }

@media (max-width: 640px) {
	.cChars .box__head, .cChars .box__body, .cChars .banner { padding-left: 16px; padding-right: 16px; }
	.cChars .hero { padding: 20px 16px; gap: 18px; }
	.cChars .hero__body { min-width: 0; flex-basis: 100%; }
	.cChars .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cChars .stat { padding: 8px 10px; }
	.cChars .toolbar input[type="search"], .cChars__search { width: 100%; }
	.cChars .row { padding: 14px 16px; flex-wrap: wrap; }
	.cChars .box__foot { padding: 14px 16px; }
	.cChars .question__grid { grid-template-columns: minmax(0, 1fr); }
	.cChars .fmap { height: 70vh; min-height: 360px; }
	.cChars .fmap__hint { display: none; }
}

/* The tab on a member's forum profile */
.cChars--profile { padding: 16px; }

/* Quiz questions: answers listed one per line; right and wrong marks for reviewers */
.cChars .choices--stack { flex-direction: column; gap: 8px; }
.cChars .mark { margin-left: 6px; font-weight: 650; }
.cChars .mark--right { color: var(--ok); }
.cChars .mark--wrong { color: var(--bad); }
.cChars .score { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); font-size: .85rem; }
.cChars .q-correct-row { display: flex; align-items: center; gap: 10px; }
.cChars .q-correct-row select { width: auto; min-width: 200px; }
.cChars [hidden] { display: none !important; }

/* Group applications */
.cChars .status--gathering, .cChars .status--invite { color: hsl(268 70% 72%); background: color-mix(in srgb, hsl(268 70% 60%) 16%, transparent); }
.cChars .status--member-confirmed { color: var(--ok); }
.cChars .status--member-invited { color: var(--warn); }
.cChars .status--member-declined, .cChars .status--member-expired, .cChars .status--member-dropped, .cChars .status--member-left { color: var(--muted); }
.cChars .group { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cChars .group__row { display: grid; grid-template-columns: 32px 1fr auto; gap: 4px 10px; align-items: center; }
.cChars .group__row .head { width: 32px; height: 32px; }
.cChars .group__who { display: grid; min-width: 0; }
.cChars .group__who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cChars .group__outcome { grid-column: 2 / -1; }
.cChars .group__row--declined, .cChars .group__row--expired, .cChars .group__row--dropped, .cChars .group__row--left { opacity: .6; }
.cChars .invite { border-color: hsl(268 70% 65%); }
.cChars .cosearch { position: relative; display: grid; gap: 10px; }
.cChars .cosearch__results { position: absolute; z-index: 20; top: 42px; left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: var(--box); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(0 0 0 / .3); max-height: 280px; overflow-y: auto; }
.cChars .cosearch__result { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.cChars .cosearch__result:hover, .cChars .cosearch__result:focus-visible { background: var(--raised); }
.cChars .cosearch__result > span { display: grid; }
.cChars .cosearch__none { padding: 8px 10px; color: var(--muted); }
.cChars .cosearch__picked { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cChars .cosearch__picked:empty { display: none; }
.cChars .cosearch__chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); }
.cChars .cosearch__chip .head { width: 24px; height: 24px; border-radius: 50%; }
.cChars .cosearch__remove { border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.cChars .cosearch__remove:hover { color: var(--bad); }
