/* JOIGang Character Sheet — brand: ink #27103A, pink #F674FF/#FFC2FD, purple #A946B4 */
.jgcs {
	--ink: #27103A;
	--ink2: #3a1a54;
	--pink: #F674FF;
	--pink2: #FFC2FD;
	--purple: #A946B4;
	--gold: #ffd76a;
	max-width: 1600px;
	margin: 0 auto;
	padding: 22px clamp(16px, 3vw, 40px) 60px;
	color: #2a1838;
	font-synthesis: none;
}
.jgcs *, .jgcs *::before, .jgcs *::after { box-sizing: border-box; }
.jgcs-btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--pink), var(--pink2));
	color: var(--ink) !important;
	font-weight: 800;
	padding: 11px 24px;
	border-radius: 999px;
	text-decoration: none !important;
	transition: filter .15s, transform .15s;
}
.jgcs-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.jgcs-btn-ghost { background: #fff; border: 2px solid var(--pink); color: var(--purple) !important; }

/* ---------- header button: same format as .jg-hdr-account, purple ---------- */
.jgcs-header-btn {
	background: linear-gradient(135deg, #A946B4, #7d2f96);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 7px 18px;
	border-radius: 999px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: filter .12s;
}
.jgcs-header-btn:hover { filter: brightness(1.1); }
.jgcs-header-slot { display: inline-flex; }
@media (max-width: 640px) { .jgcs-header-btn { padding: 6px 14px; font-size: 12px; } }

/* ---------- lock banner ---------- */
.jgcs-lock {
	display: flex; gap: 18px; align-items: center;
	background: linear-gradient(135deg, var(--ink), #4a1d63);
	color: #fff; border-radius: 18px; padding: 22px 26px; margin-bottom: 22px;
	box-shadow: 0 14px 40px rgba(39,16,58,.3);
}
.jgcs-lock-ico { font-size: 40px; flex: 0 0 auto; }
.jgcs-lock-body h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.jgcs-lock-body p { margin: 0 0 6px; color: #f3e3fb; font-size: 14.5px; line-height: 1.55; }
.jgcs-lock-actions { margin-top: 10px !important; display: flex; gap: 10px; flex-wrap: wrap; }
.jgcs.is-locked .jgcs-hero,
.jgcs.is-locked .jgcs-statcards,
.jgcs.is-locked .jgcs-breakdown,
.jgcs.is-locked .jgcs-ach-grid,
.jgcs.is-locked .jgcs-girls { filter: blur(6px); opacity: .5; pointer-events: none; user-select: none; }

/* ---------- hero ---------- */
.jgcs-hero {
	display: flex; gap: 22px; align-items: center;
	background: linear-gradient(135deg, var(--ink) 0%, #4a1d63 60%, var(--purple) 140%);
	border-radius: 22px; padding: 26px 30px; color: #fff;
	box-shadow: 0 16px 44px rgba(39,16,58,.28); position: relative; overflow: hidden;
}
.jgcs-hero::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
	background: radial-gradient(circle, rgba(246,116,255,.35), transparent 70%);
}
.jgcs-level {
	flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%;
	background: conic-gradient(var(--pink), var(--pink2), var(--gold), var(--pink));
	display: grid; place-items: center; align-content: center; position: relative;
	box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 8px 24px rgba(0,0,0,.35);
}
.jgcs-level::before {
	content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink);
}
.jgcs-level-num { position: relative; font-size: 42px; font-weight: 900; color: #fff; line-height: 1; }
.jgcs-level-lab { position: relative; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink2); margin-top: 2px; }
.jgcs-hero-main { flex: 1; min-width: 0; position: relative; }
.jgcs-hero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.jgcs-name { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: #fff; word-break: break-word; }
.jgcs-virgin { font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.jgcs-virgin.is-virgin { background: #ffe0f4; color: #b5147a; }
.jgcs-virgin.is-not { background: rgba(255,255,255,.16); color: #ffd76a; }
.jgcs-xpbar {
	position: relative; height: 26px; border-radius: 999px;
	background: rgba(0,0,0,.35); overflow: hidden; margin-bottom: 12px;
}
.jgcs-xpfill {
	position: absolute; inset: 0 auto 0 0; height: 100%;
	background: linear-gradient(90deg, var(--purple), var(--pink), var(--pink2));
	box-shadow: 0 0 16px rgba(246,116,255,.6); border-radius: 999px;
	transition: width .6s cubic-bezier(.4,0,.2,1);
}
.jgcs-xptext {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 12.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.jgcs-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.jgcs-badge { background: rgba(255,255,255,.14); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }

/* ---------- stat cards ---------- */
.jgcs-statcards {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 20px 0;
}
@media (max-width: 900px) { .jgcs-statcards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .jgcs-statcards { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.jgcs-statcard {
	background: #fff; border: 1px solid #f0dbf5; border-radius: 16px; padding: 16px 12px;
	text-align: center; box-shadow: 0 6px 18px rgba(169,70,180,.07);
	transition: transform .15s, box-shadow .15s;
}
.jgcs-statcard:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(169,70,180,.16); }
.jgcs-statcard-ico { display: block; font-size: 24px; margin-bottom: 4px; }
.jgcs-statcard-num { display: block; font-size: 28px; font-weight: 900; color: var(--purple); line-height: 1.1; }
.jgcs-statcard-lab { display: block; font-size: 11.5px; color: #6b5580; margin-top: 3px; font-weight: 700; }

/* ---------- breakdown ---------- */
.jgcs-breakdown { background: #fff; border: 1px solid #f0dbf5; border-radius: 16px; padding: 4px 18px; margin-bottom: 24px; }
.jgcs-breakdown > summary { cursor: pointer; font-weight: 800; color: var(--ink); padding: 12px 0; list-style: none; }
.jgcs-breakdown > summary::-webkit-details-marker { display: none; }
.jgcs-breakdown > summary::after { content: " ▾"; color: var(--purple); }
.jgcs-breakdown[open] > summary::after { content: " ▴"; }
.jgcs-breakgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 18px; padding: 4px 0 14px; }
.jgcs-breakrow { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #f0dbf5; font-size: 14px; }
.jgcs-breakrow strong { color: var(--purple); }

/* ---------- section headings ---------- */
.jgcs-h2 { font-size: 22px; font-weight: 900; color: var(--ink); margin: 30px 0 14px; display: flex; align-items: baseline; gap: 10px; }
.jgcs-h2 span { font-size: 15px; color: var(--purple); font-weight: 800; }

/* ---------- achievements: big 16:9 banner icon on top ---------- */
.jgcs-ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .jgcs-ach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .jgcs-ach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .jgcs-ach-grid { grid-template-columns: 1fr; } }
.jgcs-ach {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid #f0dbf5; border-radius: 16px; overflow: hidden;
	transition: transform .12s, box-shadow .12s;
}
.jgcs-ach.is-done { border-color: var(--gold); box-shadow: 0 8px 22px rgba(255,183,60,.22); }
.jgcs-ach.is-locked { opacity: .82; }
.jgcs-ach:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(169,70,180,.16); }
.jgcs-ach-ico { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f3e3fb; }
.jgcs-ach-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jgcs-ach.is-locked .jgcs-ach-ico img { filter: grayscale(1) brightness(.7); }
.jgcs-ach-check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; background: var(--gold); color: #4a2c00; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 900; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.jgcs-ach-lock { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; background: rgba(39,16,58,.72); border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.jgcs-ach-body { padding: 12px 14px 14px; }
.jgcs-ach-body strong { display: block; font-size: 15px; color: var(--ink); }
.jgcs-ach-body small { display: block; font-size: 12.5px; color: #6b5580; line-height: 1.45; margin-top: 3px; }

/* ---------- per-girl: exactly 5 per row, big blocks ---------- */
.jgcs-girls { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .jgcs-girls { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .jgcs-girls { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .jgcs-girls { grid-template-columns: repeat(2, 1fr); } }
.jgcs-girl {
	background: #fff; border: 1px solid #f0dbf5; border-radius: 16px; overflow: hidden;
	box-shadow: 0 6px 16px rgba(169,70,180,.08); transition: transform .15s, box-shadow .15s;
}
.jgcs-girl:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(169,70,180,.2); }
/* source portraits are 16:9 landscape — show them whole, no crop */
.jgcs-girl-portrait { display: block; position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f3e3fb; }
.jgcs-girl-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.jgcs-girl-flag { position: absolute; top: 8px; right: 8px; font-size: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
/* personality tags on hover — same tooltip as the One on One picker (.jg-waifu-tip) */
.jgcs-girl-tip {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: rgba(24, 8, 30, .88);
	color: #fff;
	font-size: 11px;
	line-height: 1.45;
	font-weight: 600;
	padding: 7px 8px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s;
	pointer-events: none;
	text-align: center;
}
.jgcs-girl:hover .jgcs-girl-tip { opacity: 1; transform: translateY(0); }
.jgcs-girl-stats { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.jgcs-girl-stat { font-size: 12px; color: #6b5580; display: flex; justify-content: space-between; }
.jgcs-girl-stat em { font-style: normal; font-weight: 900; color: var(--purple); }

/* ---------- fresh-sheet intro + roster tools ---------- */
.jgcs-fresh {
	background: linear-gradient(135deg, #fff4fe, #fff);
	border: 1px solid #f3d9f7; border-left: 4px solid var(--pink);
	border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
	font-size: 14.5px; color: #5a4470; line-height: 1.55;
}
.jgcs-fresh strong { color: var(--purple); }
.jgcs-girls-tools { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.jgcs-toggle { font-size: 13px; font-weight: 700; color: #6b5580; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
/* dim the unmet card's CONTENT, never the card itself — a parent's
   opacity/filter composites over every descendant, so the request CTA
   could never opt back out of a container-level dim */
.jgcs-girl.is-unmet .jgcs-girl-portrait { opacity: .55; filter: saturate(.4) grayscale(.6); }
/* the tip lives inside the dimmed portrait — lift the dim on hover so the
   personality tags stay legible on the girls you haven't met yet */
.jgcs-girl.is-unmet:hover .jgcs-girl-portrait { opacity: 1; filter: none; }
.jgcs-girl.is-unmet .jgcs-girl-name { opacity: .55; filter: saturate(.4); }
.jgcs-girl-unmet { font-size: 11.5px; color: #9a86ac; font-style: italic; }
.jgcs-girls.jgcs-hide-unmet .jgcs-girl.is-unmet { display: none; }

/* ---------- empty ---------- */
.jgcs-empty { text-align: center; background: #fff; border: 1px solid #f0dbf5; border-radius: 20px; padding: 50px 26px; max-width: 560px; margin: 20px auto; }
.jgcs-empty-ico { font-size: 46px; }
.jgcs-empty h2 { margin: 8px 0 6px; color: var(--ink); }
.jgcs-empty p { color: #6b5580; line-height: 1.6; }
.jgcs-empty-cta { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
	.jgcs-statcards { grid-template-columns: repeat(3, 1fr); }
	.jgcs-hero { flex-direction: column; text-align: center; }
	.jgcs-hero-top { justify-content: center; }
}
@media (max-width: 520px) {
	.jgcs-statcards { grid-template-columns: repeat(2, 1fr); }
	.jgcs-lock { flex-direction: column; text-align: center; }
}

/* ---------- opt-out + leaderboard badge ---------- */
.jgcs-badge-link { background: rgba(255,255,255,.22) !important; color: #fff !important; text-decoration: none !important; }
.jgcs-badge-link:hover { background: rgba(255,255,255,.34) !important; }
.jgcs-optout {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	margin: 16px 0 4px; padding: 12px 16px;
	background: #fff; border: 1px solid #f0dbf5; border-radius: 12px;
	font-size: 13.5px; color: #5a4470;
}
.jgcs-optout label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; }
.jgcs-optout a { color: var(--purple) !important; font-weight: 800; }
.jgcs-optout-status { font-size: 12.5px; color: #1d8348; font-weight: 700; }

/* ---------- leaderboard page ---------- */
.jgcs-lb-head { text-align: center; margin-bottom: 24px; }
.jgcs-lb-head h1 { font-size: 32px; font-weight: 900; color: var(--ink); margin: 0 0 4px; }
.jgcs-lb-head p { color: #6b5580; margin: 0; }
/* minmax(0,1fr) lets tracks shrink below the cards' min-content, and the
   2-col breakpoint sits at 1250 because the theme caps .site-main at 800px
   under a 1200 viewport — 3 columns can't fit that container (Fold-class
   phones land exactly in that zone and got the third column cut off) */
.jgcs-lb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1250px) { .jgcs-lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .jgcs-lb-grid { grid-template-columns: minmax(0, 1fr); } }
.jgcs-lb-card { background: #fff; border: 1px solid #f0dbf5; border-radius: 16px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(169,70,180,.07); }
.jgcs-lb-card h3 { margin: 0 0 12px; font-size: 16px; color: var(--ink); padding-bottom: 10px; border-bottom: 2px solid #f3e3fb; }
.jgcs-lb-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.jgcs-lb-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.jgcs-lb-row:nth-child(odd) { background: #faf3fc; }
.jgcs-lb-row.is-me { background: linear-gradient(135deg, #fff0fe, #ffe4fd); outline: 2px solid var(--pink); }
.jgcs-lb-rank { flex: 0 0 auto; width: 26px; text-align: center; font-weight: 900; color: var(--purple); font-size: 14px; }
.jgcs-lb-name { flex: 1; min-width: 0; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jgcs-lb-val { flex: 0 0 auto; font-weight: 900; color: var(--purple); }

/* ---------- challenges (2nd-gen achievements, CSS-badge icons) ---------- */
.jgcs-chal-ico {
	position: relative; width: 100%; aspect-ratio: 16/9;
	display: grid; place-items: center; overflow: hidden;
}
.jgcs-chal-ico em { font-style: normal; font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.jgcs-chal-g0 { background: linear-gradient(135deg, #7d2f96, #a946b4); }
.jgcs-chal-g1 { background: linear-gradient(135deg, #27103a, #5d2a7e); }
.jgcs-chal-g2 { background: linear-gradient(135deg, #b4468d, #7d2f96); }
.jgcs-chal-g3 { background: linear-gradient(135deg, #4a1d63, #8a3aa6); }
.jgcs-chal-g4 { background: linear-gradient(135deg, #93348f, #b4467a); }
.jgcs-chal-g5 { background: linear-gradient(135deg, #5d2a7e, #a946b4); }
.jgcs-chal.is-locked .jgcs-chal-ico { filter: saturate(.25) brightness(.8); }
.jgcs-chal.is-locked .jgcs-chal-ico em { filter: grayscale(1) opacity(.65); }
.jgcs-chal-prog { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.jgcs-chal-bar { flex: 1; height: 6px; background: #f0dbf5; border-radius: 4px; overflow: hidden; }
.jgcs-chal-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), #d67ae0); border-radius: 4px; }
.jgcs-chal.is-done .jgcs-chal-bar i { background: linear-gradient(90deg, var(--gold), #ffd98a); }
.jgcs-chal-prog b { font-size: 11.5px; font-weight: 700; color: #6b5580; white-space: nowrap; }

/* ---------- live-attendance tiers: hero palette + name tag ---------- */
.jgcs-hero.jgcs-tier-veteran { background: linear-gradient(135deg, #241206 0%, #6e4118 60%, #b87a3a 140%); }
.jgcs-hero.jgcs-tier-legend  { background: linear-gradient(135deg, #171a1f 0%, #4d565f 60%, #a9b4c0 140%); }
.jgcs-hero.jgcs-tier-gold, .jgcs-hero.jgcs-tier-immortal { background: linear-gradient(135deg, #241a02 0%, #7c630e 60%, #d9ad25 140%); }
.jgcs-tier-veteran .jgcs-level  { background: conic-gradient(#8a5a2b, #cd8b45, #f0c088, #8a5a2b); }
.jgcs-tier-legend .jgcs-level   { background: conic-gradient(#7e8894, #c4ccd6, #f2f5f8, #7e8894); }
.jgcs-tier-immortal .jgcs-level { background: conic-gradient(#b5891b, #ecc23f, #fff0b3, #b5891b); }
.jgcs-virgin.is-tier.tier-veteran  { background: #f9e5cf; color: #7c440f; }
.jgcs-virgin.is-tier.tier-legend   { background: #eef1f5; color: #414c58; }
.jgcs-virgin.is-tier.tier-immortal { background: #fff3c4; color: #7c630e; }

/* ---------- per-girl full history rows ---------- */
.jgcs-girl-act {
	display: flex; align-items: baseline; gap: 6px;
	font-size: 11.5px; color: #6b5580; line-height: 1.5;
	border-bottom: 1px dashed #f3e6f8; padding: 2px 0;
}
.jgcs-girl-act:last-child { border-bottom: 0; }
.jgcs-girl-act > span { flex: 1; min-width: 0; }
.jgcs-girl-act b { color: var(--purple); font-weight: 800; white-space: nowrap; }
.jgcs-girl-act em { font-style: normal; font-size: 10.5px; color: #b5893a; font-weight: 700; white-space: nowrap; }
.jgcs-girl-act.is-sum { font-weight: 700; color: #4a3a5c; }

/* ---------- leaderboard: your rank outside the top list ---------- */
.jgcs-lb-gap { list-style: none; text-align: center; color: #b9a3cc; font-weight: 900; letter-spacing: .2em; padding: 2px 0; }

/* girl name caption (from the waifu database / bundled name map) */
.jgcs-girl-name {
	display: block;
	font-size: 12px;
	font-weight: 800;
	color: #4a3a5c;
	padding: 7px 10px 0;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* girls toolbar: search + franchise chips */
.jgcs-girls-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.jgcs-girls-search {
	flex: 0 1 320px;
	border: 1px solid #e2c7ea;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13.5px;
	background: #fff;
	color: #2a1838;
}
.jgcs-girls-search:focus { outline: none; border-color: var(--pink); }
.jgcs-girls-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.jgcs-girls-chip {
	border: 1px solid #e2c7ea;
	background: #fff;
	color: #4a3a5c;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all .12s;
}
.jgcs-girls-chip span { font-weight: 400; opacity: .6; font-size: 11px; }
.jgcs-girls-chip:hover { border-color: var(--pink); }
.jgcs-girls-chip.is-active { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; border-color: var(--pink); }

/* the member''s Permanent Number: same weight as the Level circle */
.jgcs-number { background: conic-gradient(#ffd76a, #fff3c4, #f6a94a, #ffd76a); }
.jgcs-number .jgcs-level-num { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.02em; }
.jgcs-number .jgcs-level-lab { color: var(--gold); }
@media (max-width: 640px) {
	.jgcs-hero { flex-wrap: wrap; }
	.jgcs-level { width: 88px; height: 88px; }
	.jgcs-level-num { font-size: 32px; }
	.jgcs-number .jgcs-level-num { font-size: 22px; }
}

.jgcs-btn-ghost { background: #f3e3fb !important; }

/* ---------- profile icons (avatars) ---------- */
.jgcs-hero-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.jgcs-lb-ava { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.jgcs-lb-ava.is-empty { background: #f0dbf5; display: inline-block; }

/* ---------- admin view banner ---------- */
.jgcs-adminbar { background: #2a1638; color: #ffd76a; border: 1px solid var(--purple); border-radius: 10px; padding: 8px 14px; margin-bottom: 12px; font-size: 13px; }
.jgcs-adminbar a { color: var(--pink); font-weight: 700; }

/* ---------- stream profile card (compact) ---------- */
.jgcs-profile { background: #fff; border: 1px solid #f0dbf5; border-radius: 14px; padding: 12px 14px; margin: 14px 0 18px; box-shadow: 0 6px 18px rgba(169,70,180,.07); }
.jgcs-prof-bar { display: flex; align-items: center; gap: 12px; }
.jgcs-prof-ava { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #f3e3fb; display: grid; place-items: center; font-size: 20px; }
.jgcs-prof-ava img { width: 100%; height: 100%; object-fit: cover; }
.jgcs-prof-headings { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jgcs-prof-title { font-weight: 900; color: var(--ink); font-size: 15px; }
.jgcs-prof-sub { font-size: 11.5px; color: #6b5580; }
.jgcs-prof-editbtn { padding: 6px 16px !important; font-size: 12.5px !important; }
.jgcs-prof-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.jgcs-prof-chip { background: #faf3fc; border-radius: 8px; padding: 5px 10px; font-size: 12.5px; max-width: 100%; }
.jgcs-prof-k { font-weight: 800; color: var(--purple); text-transform: uppercase; font-size: 10px; letter-spacing: .05em; margin-right: 6px; }
.jgcs-prof-v { color: var(--ink); overflow-wrap: anywhere; }
.jgcs-prof-v em { color: #b9a3cc; }
.jgcs-prof-form { margin-top: 12px; }
.jgcs-prof-form label { display: block; font-weight: 700; color: var(--ink); font-size: 13px; margin-bottom: 10px; }
.jgcs-prof-form small { font-weight: 400; color: #6b5580; }
.jgcs-prof-form textarea, .jgcs-prof-form input[type=text] { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; border: 1px solid #e8d3f0; border-radius: 9px; padding: 8px 10px; font: inherit; font-weight: 500; color: var(--ink); background: #fdfaff; }
.jgcs-prof-form textarea:focus, .jgcs-prof-form input[type=text]:focus { outline: 2px solid var(--pink); border-color: transparent; }
.jgcs-prof-form-id { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.jgcs-prof-avaedit { cursor: pointer; text-align: center; font-size: 11px !important; color: var(--purple) !important; }
.jgcs-prof-avatxt { display: block; margin-top: 2px; }
.jgcs-prof-grow { flex: 1; }
.jgcs-prof-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .jgcs-prof-form-row { grid-template-columns: 1fr; } }
.jgcs-prof-check { display: flex !important; align-items: center; gap: 8px; }
.jgcs-prof-check input { width: auto; }
.jgcs-prof-actions { display: flex; align-items: center; gap: 10px; }
.jgcs-prof-status { font-size: 13px; color: #6b5580; }

/* ---------- per-girl like/dislike ---------- */
.jgcs-girl-vote { display: flex; gap: 6px; margin-top: 8px; padding-top: 7px; border-top: 1px dashed #f0dbf5; }
.jgcs-vote-btn {
	flex: 1;
	background: #faf3fc;
	border: 1px solid #f0dbf5;
	border-radius: 8px;
	padding: 4px 0;
	font-size: 15px;
	cursor: pointer;
	filter: grayscale(1) opacity(.55);
	transition: filter .12s, border-color .12s, background .12s;
}
.jgcs-vote-btn:hover { filter: grayscale(0) opacity(1); }
.jgcs-vote-btn.is-on { filter: none; background: #eafbea; border-color: #7fce8f; }
.jgcs-vote-btn.is-down.is-on { background: #fdeaea; border-color: #e59aa5; }

/* ---------- "I'd like to see her" request (public sheet, unmet girls) ---------- */
.jgcs-girl-req { display: flex; margin-top: 8px; padding-top: 7px; border-top: 1px dashed #f0dbf5; }
.jgcs-req-btn {
	flex: 1;
	background: #a946b4;
	border: 1px solid #8f2fa0;
	border-radius: 8px;
	padding: 6px 6px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: border-color .12s, background .12s, color .12s;
}
.jgcs-req-btn:hover { background: #bd54c8; border-color: #a946b4; }
.jgcs-req-btn.is-on { background: #efdff6; border-color: #b26bd4; color: #7c3aa0; }

/* ---------------- One-on-One additions (r43) ---------------- */
/* header sheet dropdown (opens on click of the Character Sheet button) */
.jgcs-header-menu { position: relative; display: inline-flex; }
.jgcs-header-caret { font-size: 10px; margin-left: 2px; }
.jgcs-header-drop {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	background: #2a1638;
	border: 1px solid #3d2352;
	border-radius: 12px;
	padding: 6px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
	z-index: 100000;
	flex-direction: column;
}
.jgcs-header-menu.is-open .jgcs-header-drop { display: flex; }
.jgcs-header-drop a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: #ece2f6 !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.jgcs-header-drop a:hover { background: rgba(246, 116, 255, .16); }

/* One-on-One sheet badge */
.jgcs-ooobadge {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(90deg, rgba(169, 70, 180, .16), transparent);
	border: 1px solid #a946b4;
	border-radius: 12px;
	padding: 10px 16px;
	margin-bottom: 16px;
	font-weight: 900;
	letter-spacing: .08em;
}
.jgcs-ooobadge a { margin-left: auto; font-size: 12.5px; font-weight: 700; letter-spacing: 0; }

/* leaderboard tabs + participation note */
.jgcs-lb-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.jgcs-lb-tab {
	padding: 9px 22px;
	border-radius: 999px;
	border: 1px solid #cdb6dd;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
}
.jgcs-lb-tab.is-active { background: #a946b4; border-color: #a946b4; color: #fff !important; }
.jgcs-lb-note {
	max-width: 720px;
	margin: 0 auto 22px;
	text-align: center;
	padding: 12px 18px;
	border: 1px dashed #a946b4;
	border-radius: 12px;
	font-size: 14.5px;
}
