/* Shared insignia treatment: chat/rankings, player cards and title wardrobe. */
/* Bus driver uses the complete approved horizontal title, including its lettering. */
.title-style-bus_driver {
  --bus-title-width:156px;position:relative;display:inline-block!important;vertical-align:middle;
  width:var(--bus-title-width)!important;max-width:100%;height:calc(var(--bus-title-width) * 804 / 2252)!important;
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent url('../assets/ui/titles/raid-bus-driver-v1.png') center/contain no-repeat!important;
  box-shadow:none!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
  font-size:0!important;line-height:0!important;text-shadow:none!important;animation:none!important;overflow:visible!important;
}
.title-style-bus_driver>span { font-size:0!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important; }
.title-style-bus_driver::before,.title-style-bus_driver::after { content:none!important; }
.title-style-bus_driver.compact { --bus-title-width:132px; }
.title-preview-badge.title-style-bus_driver { --bus-title-width:260px; }
.title-preview-badge.compact.title-style-bus_driver { --bus-title-width:190px; }
.is-title-bus_driver { --achievement-ink:#ffe7a7;--achievement-line:#a08d59;--achievement-dark:#0a3029;--achievement-light:#3d8e75;--achievement-glow:129,227,190; }
.clv2-title-showcase.is-title-bus_driver { border-color:#a08d59;background:radial-gradient(ellipse at 50% 26%,#387f6544,transparent 62%),linear-gradient(155deg,#112e28,#080f11 80%); }
.clv2-title-showcase.is-title-bus_driver::before,.clv2-title-showcase.is-title-bus_driver::after { content:none; }
.clv2-title-showcase.is-title-bus_driver .clv2-title-sigil.has-emblem { width:min(100%,460px);height:auto; }
.clv2-title-showcase.is-title-bus_driver>p { margin-top:24px;color:#a1c6b5; }
.clv2-title-showcase.is-title-bus_driver>strong { color:#e6d197;font-size:12px; }
.clv2-title-card.is-title-bus_driver { align-items:center;text-align:center;min-height:300px;padding:20px 14px;border-color:#a08d59;background:radial-gradient(ellipse at 50% 0,#529e7533,transparent 70%),#0b1917; }
.clv2-title-card.is-title-bus_driver .clv2-title-emblem-wrap { width:100%; }
.clv2-title-card.is-title-bus_driver .clv2-title-emblem { width:min(100%,300px);height:auto;margin:12px 0; }
.clv2-title-card.is-title-bus_driver>span { color:#f0dbaa; }
.clv2-title-card.is-title-bus_driver button { width:100%;margin-top:auto; }
.clv2-title-card.is-title-bus_driver em { margin-bottom:14px; }
.clv2-title-card.is-locked.is-title-bus_driver { opacity:1;filter:none;border-color:#53675b; }
.clv2-title-card.is-locked.is-title-bus_driver .clv2-title-emblem { opacity:.68;filter:grayscale(.3); }
/* The catalogue already shows the full emblem above these semantic headings. */
.clv2-title-showcase.is-title-bus_driver h2 .title-style-bus_driver,
.clv2-title-card.is-title-bus_driver>strong .title-style-bus_driver {
  width:auto!important;height:auto!important;background:none!important;color:#ffe7a7!important;
  -webkit-text-fill-color:#ffe7a7!important;font-size:inherit!important;line-height:1.3!important;
}
@media(max-width:640px){.clv2-title-showcase.is-title-bus_driver .clv2-title-sigil.has-emblem{width:min(100%,330px)}}
/* Illustrated title plates are also rendered from the style alone on player cards and CMS previews. */
.title-style-champions_ruler {
  --title-plate: url('../assets/ui/titles/champions-ruler-nameplate-v2.webp');
  --title-ink: #ffe7a7;
}
.title-style-special_ops_commander {
  --title-plate: url('../assets/ui/titles/special-ops-commander-red-v1.webp');
  --title-ink: #f4e6e8;
}
:is(.title-style-champions_ruler, .title-style-special_ops_commander) {
  display: inline-block !important;
  vertical-align: middle;
  width: min(190px, 100%) !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 1;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent var(--title-plate) center / contain no-repeat !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
:is(.title-style-champions_ruler, .title-style-special_ops_commander).compact { width: min(142px, 100%) !important; }
.title-preview-badge:is(.title-style-champions_ruler, .title-style-special_ops_commander) { width: min(248px, 100%) !important; }
:is(.title-style-champions_ruler, .title-style-special_ops_commander)::before, :is(.title-style-champions_ruler, .title-style-special_ops_commander)::after { content: none !important; }
:is(.title-style-champions_ruler, .title-style-special_ops_commander):has(> img) { background: transparent !important; }
:is(.title-style-champions_ruler, .title-style-special_ops_commander) > img { display: block; width: 100%; height: auto; }
.clv2-title-showcase:is(.is-title-champions_ruler, .is-title-special_ops_commander) .clv2-title-sigil.has-emblem {
  width: min(100%, 460px);
  height: auto;
  aspect-ratio: 3 / 1;
}
.clv2-title-card:is(.is-title-champions_ruler, .is-title-special_ops_commander) { align-items: center; text-align: center; }
.clv2-title-card:is(.is-title-champions_ruler, .is-title-special_ops_commander) .clv2-title-emblem-wrap { width: 100%; }
.clv2-title-card:is(.is-title-champions_ruler, .is-title-special_ops_commander) .clv2-title-emblem {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 3 / 1;
}
.clv2-title-showcase:is(.is-title-champions_ruler, .is-title-special_ops_commander) h2 :is(.title-style-champions_ruler, .title-style-special_ops_commander),
.clv2-title-card:is(.is-title-champions_ruler, .is-title-special_ops_commander) > strong :is(.title-style-champions_ruler, .title-style-special_ops_commander) {
  width: auto !important;
  aspect-ratio: auto;
  background: none !important;
  color: var(--title-ink) !important;
  -webkit-text-fill-color: var(--title-ink) !important;
  font-size: inherit !important;
  line-height: 1.3 !important;
}

/* Chat squad: generated full title plaque, with semantic text retained. */
.title-style-chat_squad {
  --chat-title-width:156px;position:relative;display:inline-block!important;vertical-align:middle;
  width:var(--chat-title-width)!important;max-width:100%;height:calc(var(--chat-title-width) * 1 / 3)!important;
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent url('../assets/ui/titles/chat-squad-v1.webp') center/contain no-repeat!important;
  box-shadow:none!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
  font-size:0!important;line-height:0!important;text-shadow:none!important;animation:none!important;overflow:visible!important;
}
.title-style-chat_squad>span { font-size:0!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important; }
.title-style-chat_squad::before,.title-style-chat_squad::after { content:none!important; }
.title-style-chat_squad.compact { --chat-title-width:132px; }
.title-preview-badge.title-style-chat_squad { --chat-title-width:260px; }
.title-preview-badge.compact.title-style-chat_squad { --chat-title-width:190px; }
.is-title-chat_squad { --achievement-ink:#ffe7a7;--achievement-line:#a591cc;--achievement-dark:#101435;--achievement-light:#6855ae;--achievement-glow:114,176,255; }
.clv2-title-showcase.is-title-chat_squad { border-color:#a591cc;background:radial-gradient(ellipse at 50% 26%,#7663d744,transparent 62%),linear-gradient(155deg,#201c48,#0a0d20 80%); }
.clv2-title-showcase.is-title-chat_squad::before,.clv2-title-showcase.is-title-chat_squad::after { content:none; }
.clv2-title-showcase.is-title-chat_squad .clv2-title-sigil.has-emblem { width:min(100%,460px);height:auto; }
.clv2-title-showcase.is-title-chat_squad>p { margin-top:24px;color:#bdc5ed; }
.clv2-title-showcase.is-title-chat_squad>strong { color:#e6d197;font-size:12px; }
.clv2-title-card.is-title-chat_squad { align-items:center;text-align:center;min-height:300px;padding:20px 14px;border-color:#a591cc;background:radial-gradient(ellipse at 50% 0,#7162dc33,transparent 70%),#11152b; }
.clv2-title-card.is-title-chat_squad .clv2-title-emblem-wrap { width:100%; }
.clv2-title-card.is-title-chat_squad .clv2-title-emblem { width:min(100%,300px);height:auto;margin:12px 0; }
.clv2-title-card.is-title-chat_squad>span { color:#f0dbaa; }
.clv2-title-card.is-title-chat_squad button { width:100%;margin-top:auto; }
.clv2-title-card.is-title-chat_squad em { margin-bottom:14px; }
.clv2-title-card.is-locked.is-title-chat_squad { opacity:1;filter:none;border-color:#66637d; }
.clv2-title-card.is-locked.is-title-chat_squad .clv2-title-emblem { opacity:.68;filter:grayscale(.3); }
/* The catalogue already shows the full emblem above these semantic headings. */
.clv2-title-showcase.is-title-chat_squad h2 .title-style-chat_squad,
.clv2-title-card.is-title-chat_squad>strong .title-style-chat_squad {
  width:auto!important;height:auto!important;background:none!important;color:#ffe7a7!important;
  -webkit-text-fill-color:#ffe7a7!important;font-size:inherit!important;line-height:1.3!important;
}
@media(max-width:640px){.clv2-title-showcase.is-title-chat_squad .clv2-title-sigil.has-emblem{width:min(100%,330px)}}
.title-style-completionist,.is-title-completionist {
  --achievement-ink:#e0c4ff;--achievement-line:#9070bd;--achievement-dark:#241536;
  --achievement-light:#715198;--achievement-glow:177,112,244;
  --achievement-logo:url('../assets/ui/titles/completionist-v1.webp');
}
.title-style-trophy_hunter,.is-title-trophy_hunter {
  --achievement-ink:#ffe3a3;--achievement-line:#b89553;--achievement-dark:#302011;
  --achievement-light:#8f6330;--achievement-glow:239,179,71;
  --achievement-logo:url('../assets/ui/titles/trophy-hunter-v1.webp');
}
:is(.title-style-completionist,.title-style-trophy_hunter,.title-style-gambling_king,.title-style-asura_balbalta,.title-style-supporter_vip,.title-style-blue_beast,.title-style-secret_police,.title-style-administration,.title-style-flag_brigade) {
  position:relative;display:inline-flex;align-items:center;vertical-align:middle;
  width:fit-content;max-width:100%;white-space:nowrap;box-sizing:border-box;
  padding:.4em .7em .4em 2.2em!important;line-height:1.15!important;
  color:var(--achievement-ink)!important;-webkit-text-fill-color:var(--achievement-ink)!important;
  background:linear-gradient(112deg,var(--achievement-light) -80%,var(--achievement-dark) 40%,#0c0b12 100%)!important;
  border:1px solid var(--achievement-line)!important;border-radius:3px 10px 3px 10px;
  box-shadow:inset 0 1px 0 #fff2,inset 0 -2px 0 #0008,0 2px 6px #0004!important;
  font-weight:900;letter-spacing:.025em;text-shadow:0 1px 2px #000!important;
  animation:none!important;overflow:visible!important;
}
:is(.title-style-completionist,.title-style-trophy_hunter,.title-style-gambling_king,.title-style-asura_balbalta,.title-style-supporter_vip,.title-style-blue_beast,.title-style-secret_police,.title-style-administration,.title-style-flag_brigade)::before {
  content:"";position:absolute;left:.22em;top:50%;width:1.8em;height:1.8em;
  transform:translateY(-50%);background:var(--achievement-logo) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 1px 2px #0009);
}
:is(.title-style-completionist,.title-style-trophy_hunter,.title-style-gambling_king,.title-style-asura_balbalta,.title-style-supporter_vip,.title-style-blue_beast,.title-style-secret_police,.title-style-administration,.title-style-flag_brigade)::after { content:none!important; }
.clv2-title-sigil.has-emblem {
  width:clamp(150px,18vw,240px);border:0;transform:none;background:none;box-shadow:none;
}
.clv2-title-sigil.has-emblem img { display:block;width:100%;height:auto;object-fit:contain; }
.clv2-title-showcase:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) {
  border-color:var(--achievement-line);
  background:radial-gradient(ellipse at 50% 35%,rgba(var(--achievement-glow),.19),transparent 58%),linear-gradient(165deg,#17121e,#0a0b11 75%);
}
.clv2-title-showcase:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade)::before,
.clv2-title-showcase:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade)::after { content:none; }
.clv2-title-showcase:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) > p { margin-top:26px;color:var(--achievement-ink); }
.clv2-title-showcase h2 .public-title-badge { font-size:clamp(22px,2.3vw,36px); }
.clv2-title-showcase:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) > strong { font-size:12px;color:var(--achievement-ink);letter-spacing:.14em; }
.clv2-title-card:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) {
  align-items:center;text-align:center;min-height:300px;border-color:var(--achievement-line);
  background:radial-gradient(ellipse at 50% 0,rgba(var(--achievement-glow),.13),transparent 75%),#0e1019;
}
.clv2-title-emblem { display:block;object-fit:contain;width:88px;height:88px;margin:8px 0; }
.clv2-title-card .public-title-badge { font-size:15px; }
.clv2-title-card > strong { max-width:100%; }
.clv2-title-card:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) > span { color:var(--achievement-ink); }
.clv2-title-card:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) button { width:100%;margin-top:auto; }
.clv2-title-card:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) em { margin-bottom:14px; }
.clv2-title-card.is-locked:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) { opacity:1;filter:none;border-color:#454051; }
.clv2-title-card.is-locked .clv2-title-emblem { opacity:.55;filter:grayscale(.7); }
.clv2-title-progress { display:grid;gap:5px;width:100%;margin:12px 0;font-size:11px;color:#a4a1b0; }
.clv2-title-progress span { display:flex;justify-content:space-between;gap:8px; }
.clv2-title-progress b { color:var(--achievement-ink);font-variant-numeric:tabular-nums; }
.pc-equipped-title:is(.title-style-completionist,.title-style-trophy_hunter,.title-style-gambling_king,.title-style-asura_balbalta,.title-style-supporter_vip,.title-style-blue_beast,.title-style-secret_police,.title-style-administration,.title-style-flag_brigade) { font-size:13px; }
@media(max-width:640px) {
  .clv2-title-sigil.has-emblem { width:170px; }
  .clv2-title-card:is(.is-title-completionist,.is-title-trophy_hunter,.is-title-gambling_king,.is-title-asura_balbalta,.is-title-supporter_vip,.is-title-blue_beast,.is-title-secret_police,.is-title-administration,.is-title-flag_brigade) { padding:18px 12px; }
  .clv2-title-card .public-title-badge { font-size:13px; }
  .clv2-title-showcase h2 .public-title-badge { font-size:25px; }
}

.title-style-gambling_king,.is-title-gambling_king {
  --achievement-ink:#f3dfaa;--achievement-line:#a99560;--achievement-dark:#07281f;
  --achievement-light:#398467;--achievement-glow:56,198,143;
  --achievement-logo:url('../assets/ui/titles/gambling-king-v1.webp');
}
.clv2-title-progress-track { height:5px;overflow:hidden;border-radius:3px;background:#050d0a;border:1px solid #7fa98a33; }
.clv2-title-progress-track i { display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#247153,#9de4aa); }

/* Supporter and cumulative Challenger honours, 2026-10-03. */
.title-style-supporter_vip,.is-title-supporter_vip {
  --achievement-ink:#ffedbd;--achievement-line:#b99553;--achievement-dark:#261634;
  --achievement-light:#906127;--achievement-glow:242,190,91;
  --achievement-logo:url('../assets/ui/titles/supporter-vip-v1.webp');
}
.title-style-blue_beast,.is-title-blue_beast {
  --achievement-ink:#bdefff;--achievement-line:#478fcc;--achievement-dark:#071e39;
  --achievement-light:#165e91;--achievement-glow:62,176,255;
  --achievement-logo:url('../assets/ui/titles/blue-beast-v1.webp');
}
.title-style-supporter_vip { padding-left:3.25em!important; }
.title-style-supporter_vip::before { width:2.8em;height:2.1em;left:.14em; }
.title-style-supporter_vip::after {
  content:""!important;position:absolute;inset:-4px;pointer-events:none;border-radius:inherit;
  background:radial-gradient(ellipse 5px 1px at 18% 0,#fff7d5 30%,transparent 100%),
    radial-gradient(ellipse 1px 5px at 18% 0,#fff7d5 30%,transparent 100%),
    radial-gradient(ellipse 4px 1px at 88% 100%,#ffe6a1 25%,transparent 100%),
    radial-gradient(ellipse 1px 4px at 88% 100%,#ffe6a1 25%,transparent 100%);
  box-shadow:0 0 10px #e5b46140;animation:supporter-title-twinkle 3.8s ease-in-out infinite;
}
.clv2-title-emblem-wrap { display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate; }
.is-title-supporter_vip .clv2-title-emblem-wrap { width:160px;height:118px;max-width:100%; }
.is-title-supporter_vip .clv2-title-emblem { width:160px;height:118px;max-width:100%; }
.is-title-blue_beast .clv2-title-emblem { width:112px;height:112px; }
.clv2-title-showcase.is-title-supporter_vip .clv2-title-sigil.has-emblem { width:clamp(210px,24vw,340px); }
.clv2-title-showcase.is-title-blue_beast .clv2-title-sigil.has-emblem { width:clamp(170px,20vw,270px); }
.is-title-supporter_vip .clv2-title-sigil.has-emblem,
.is-title-supporter_vip .clv2-title-emblem-wrap { position:relative;isolation:isolate; }
.is-title-supporter_vip .clv2-title-sigil.has-emblem img,
.is-title-supporter_vip .clv2-title-emblem { position:relative;z-index:1;filter:drop-shadow(0 0 9px #d6a75044); }
.is-title-supporter_vip :is(.clv2-title-sigil.has-emblem,.clv2-title-emblem-wrap)::before {
  content:"";position:absolute;inset:4% -8%;z-index:0;pointer-events:none;
  border-radius:50%;background:radial-gradient(ellipse,#d9a64926 0,#9f51cf14 46%,transparent 72%);
  box-shadow:inset 0 0 15px #f7d08512;animation:supporter-title-aura 4.8s ease-in-out infinite;
}
.is-title-supporter_vip :is(.clv2-title-sigil.has-emblem,.clv2-title-emblem-wrap)::after {
  content:"";position:absolute;inset:-7%;z-index:2;pointer-events:none;
  background:radial-gradient(ellipse 9px 2px at 14% 31%,#fff4c4 20%,transparent 100%),
    radial-gradient(ellipse 2px 9px at 14% 31%,#fff4c4 20%,transparent 100%),
    radial-gradient(ellipse 7px 1px at 85% 70%,#ffe4ab 20%,transparent 100%),
    radial-gradient(ellipse 1px 7px at 85% 70%,#ffe4ab 20%,transparent 100%),
    radial-gradient(circle 2px at 32% 88%,#fbdc96 25%,transparent 100%),
    radial-gradient(circle 2px at 79% 12%,#ffe6af 25%,transparent 100%);
  animation:supporter-title-sparks 5.4s ease-in-out infinite;
}
.is-title-blue_beast .clv2-title-progress-track i { background:linear-gradient(90deg,#1566c0,#99ecff); }
.clv2-title-card.is-locked.is-title-supporter_vip .clv2-title-emblem { opacity:.65;filter:grayscale(.35); }
.clv2-title-card.is-locked.is-title-supporter_vip .clv2-title-emblem-wrap::before,
.clv2-title-card.is-locked.is-title-supporter_vip .clv2-title-emblem-wrap::after { animation:none;opacity:.35; }
@keyframes supporter-title-twinkle { 0%,100%{opacity:.35} 50%{opacity:1} }
@keyframes supporter-title-aura { 0%,100%{opacity:.45;transform:scale(.94)} 50%{opacity:1;transform:scale(1.03)} }
@keyframes supporter-title-sparks { 0%,100%{opacity:.2;transform:translateY(3px) rotate(-3deg)} 45%{opacity:1;transform:translateY(-3px) rotate(3deg)} }
@media(prefers-reduced-motion:reduce) {
  .title-style-supporter_vip::after,
  .is-title-supporter_vip :is(.clv2-title-sigil.has-emblem,.clv2-title-emblem-wrap)::before,
  .is-title-supporter_vip :is(.clv2-title-sigil.has-emblem,.clv2-title-emblem-wrap)::after { animation:none!important;transform:none!important;opacity:.7; }
}

/* Asura Balbalta: ten thousand correct predictions, hwatu insignia. */
.title-style-asura_balbalta,.is-title-asura_balbalta {
  --achievement-ink:#ffe4bd;--achievement-line:#ba7e46;--achievement-dark:#310c18;
  --achievement-light:#ac3439;--achievement-glow:228,69,68;
  --achievement-logo:url('../assets/ui/titles/asura-balbalta-v1.webp');
}
.is-title-asura_balbalta .clv2-title-emblem { width:112px;height:112px; }
.is-title-asura_balbalta .clv2-title-progress-track i { background:linear-gradient(90deg,#a42b43,#ffcf81); }
.clv2-title-showcase.is-title-asura_balbalta .clv2-title-sigil.has-emblem { width:clamp(190px,21vw,280px);filter:drop-shadow(0 5px 16px #b3323933); }

/* Secret police: the user's original PP emblem, black enamel and silver. */
.title-style-secret_police,.is-title-secret_police {
 --achievement-ink:#ede9e2;--achievement-line:#9b938a;--achievement-dark:#141519;
 --achievement-light:#625b55;--achievement-glow:149,38,46;
 --achievement-logo:url('../assets/ui/titles/secret-police-v1.webp');
}
.title-style-secret_police { padding-left:2.55em!important;border-radius:2px!important;letter-spacing:.08em; }
.title-style-secret_police::before { width:2.1em;height:2.1em;left:.16em; }
.is-title-secret_police .clv2-title-emblem { width:122px;height:122px; }
.clv2-title-showcase.is-title-secret_police { background:radial-gradient(ellipse at 50% 26%,#651b2638,transparent 58%),linear-gradient(160deg,#242125,#080a0e 78%); }
.clv2-title-showcase.is-title-secret_police .clv2-title-sigil.has-emblem { width:clamp(210px,24vw,300px);filter:drop-shadow(0 8px 18px #0009); }
.clv2-title-card.is-title-secret_police { background:radial-gradient(ellipse at 50% 0,#79253426,transparent 65%),linear-gradient(155deg,#201e22,#0c0e13); }
.clv2-title-card.is-title-secret_police>small { max-width:28ch;line-height:1.75; }
@media(max-width:640px){.clv2-title-showcase.is-title-secret_police .clv2-title-sigil.has-emblem{width:220px;max-width:100%}}


/* Administration command insignia: rigid platinum / gunmetal geometry.
   Static metal highlights keep repeated public badges free of animation work. */
.title-style-administration,.is-title-administration {
  --achievement-ink:#eaf1f8;--achievement-line:#8798a9;--achievement-dark:#141c27;
  --achievement-light:#5a6b80;--achievement-glow:139,161,185;
  --achievement-logo:url('../assets/ui/titles/administration-command-badge-v2.webp');
}
.title-style-administration {
  padding:.42em .7em .42em 2.55em!important;border-radius:2px!important;
  background:linear-gradient(125deg,#556173 -18%,#293343 24%,#131c29 52%,#283243 100%)!important;
  box-shadow:inset 0 1px 0 #eef6ff70,inset 0 -2px 0 #02060e,inset 0 0 0 2px #111925,0 2px 5px #0007!important;
  font-weight:900;letter-spacing:.08em;text-shadow:0 1px 2px #000!important;
}
.title-style-administration::before { width:2.2em;height:2.2em;left:.12em; }
/* The CMS's 96px generic thumbnail column clips the complete metal badge. */
.title-form-preview-card:has(>.title-style-administration,.title-style-flag_brigade) { grid-template-columns:max-content minmax(0,1fr); }
.clv2-title-showcase.is-title-administration {
  border-color:#798b9f;
  background:linear-gradient(130deg,#758ba518,transparent 42%),
    radial-gradient(ellipse at 50% 24%,#41577048,transparent 60%),linear-gradient(160deg,#1b2736,#080e18 84%);
  box-shadow:inset 0 0 0 5px #0d1420,inset 0 0 0 6px #a1b4c538;
}
.clv2-title-showcase.is-title-administration .clv2-title-sigil.has-emblem {
  width:clamp(210px,24vw,300px);filter:drop-shadow(0 12px 18px #0009);
}
.clv2-title-showcase.is-title-administration>p { color:#abbaca;letter-spacing:.22em; }
.clv2-title-showcase.is-title-administration>span { max-width:30ch;color:#dce3ed;line-height:1.85;word-break:keep-all; }
.clv2-title-showcase.is-title-administration>strong { letter-spacing:.02em;color:#a7b9cc; }
.clv2-title-showcase.is-title-administration>button { border-color:#75869c;background:#192636;color:#dce8f5; }
.clv2-title-card.is-title-administration {
  padding:24px 18px;border-color:#7c8ea3;
  background:linear-gradient(140deg,#5d789c26,transparent 50%),linear-gradient(160deg,#202d40,#0c1421);
}
.is-title-administration .clv2-title-emblem { width:126px;height:126px;filter:drop-shadow(0 6px 9px #0008); }
.clv2-title-card.is-title-administration>span:first-child { color:#afc2d5;letter-spacing:.16em; }
.clv2-title-card.is-title-administration>small { max-width:25ch;line-height:1.8;word-break:keep-all;color:#cedaea; }
.clv2-title-card.is-title-administration>em { color:#9fb4ca;font-style:normal; }
.clv2-title-card.is-title-administration button { border-color:#647b94;color:#e1ebf5;background:#233247; }
.clv2-title-card.is-locked.is-title-administration { border-color:#4b5b6d; }
.clv2-title-card.is-locked.is-title-administration .clv2-title-emblem { opacity:.7;filter:grayscale(.4); }
.clv2-title-card.is-title-administration button:disabled { color:#a9bdd0;opacity:.8; }
@media(max-width:640px) {
  .title-form-preview-card:has(>.title-style-administration,.title-style-flag_brigade) { grid-template-columns:1fr; }
  .clv2-title-showcase.is-title-administration .clv2-title-sigil.has-emblem { width:220px;max-width:100%; }
  .clv2-title-showcase.is-title-administration>span { max-width:100%;text-wrap:balance; }
}

/* Flag Brigade: crossed standards, silver trim and the established lobby type. */
.title-style-flag_brigade,.is-title-flag_brigade {
  --achievement-ink:#f0e5d0;--achievement-line:#a79980;--achievement-dark:#111828;
  --achievement-light:#314b76;--achievement-glow:114,154,215;
  --achievement-logo:url('../assets/ui/titles/flag-brigade-badge-v1.webp');
  font-family:'Noto Sans KR',sans-serif;
}
.title-style-flag_brigade {padding-left:2.55em!important;border-radius:3px 8px 3px 8px;background:linear-gradient(105deg,#173053,#111828 48%,#40202b)!important;}
.title-style-flag_brigade::before {width:2.15em;height:2.15em;left:.17em;}
.clv2-title-showcase.is-title-flag_brigade {background:radial-gradient(ellipse at 15% 30%,#23477b55,transparent 60%),radial-gradient(ellipse at 85% 30%,#8d293d40,transparent 60%),#080c17;}
.clv2-title-showcase.is-title-flag_brigade .clv2-title-sigil.has-emblem {width:clamp(200px,24vw,290px);max-width:100%;}
.clv2-title-showcase.is-title-flag_brigade>p {letter-spacing:.08em;color:#b8c8e0;}
.clv2-title-showcase.is-title-flag_brigade>span {max-width:29ch;line-height:1.9;word-break:keep-all;color:#d3dbea;}
.clv2-title-showcase.is-title-flag_brigade>strong {color:#c8ff6b;letter-spacing:0;}
.clv2-title-card.is-title-flag_brigade {background:linear-gradient(135deg,#15243c,#111828 55%,#2d1c29);}
.is-title-flag_brigade .clv2-title-emblem {width:128px;height:128px;filter:drop-shadow(0 7px 9px #0008);}
.clv2-title-card.is-title-flag_brigade>small {line-height:1.8;word-break:keep-all;}
.clv2-title-card.is-title-flag_brigade>em {color:#c8ff6b;}
.clv2-title-card.is-title-flag_brigade button,.clv2-title-showcase.is-title-flag_brigade>button {background:#182b30;border-color:#748c67;color:#dcf7c4;}
.clv2-title-card.is-locked.is-title-flag_brigade {border-color:#64708a;}
.clv2-title-progress-territory {width:100%;text-align:left;gap:7px!important;padding:12px;border:1px solid #28324a;border-radius:6px;background:#080c1799;}
.clv2-title-progress-territory>span {color:#c6d1e2;font-size:11px;}
.clv2-title-progress-territory b {font-family:'Barlow Condensed','Noto Sans KR',sans-serif;font-size:15px;color:#f3f5ff;letter-spacing:0;}
.clv2-title-progress-territory>.clv2-title-progress-track:nth-of-type(2) i {background:linear-gradient(90deg,#aa5363,#ead4b0);}
.clv2-title-progress-territory>small {font-size:10px;color:#8b97b0;line-height:1.65;word-break:keep-all;}

/* S1 coronation title: the light layer follows the jewels and the gilded lettering. */
.public-title-badge.title-style-immortal_heir,
.title-preview-badge.title-style-immortal_heir,
span.title-style-immortal_heir {
  --heir-width: 178px;
  --heir-aspect: 1040 / 308;
  --heir-plate: url('../assets/ui/titles/immortal-heir-nameplate-v2.webp');
  --heir-light: url('../assets/ui/titles/immortal-heir-nameplate-light-v2.webp');
  position: relative;
  isolation: isolate;
  display: inline-block !important;
  vertical-align: middle;
  flex: 0 1 auto;
  box-sizing: border-box;
  width: var(--heir-width) !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--heir-aspect);
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent var(--heir-plate) center / contain no-repeat !important;
  box-shadow: none !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
  animation: none !important;
}
.public-title-badge.title-style-immortal_heir.compact,
.title-preview-badge.title-style-immortal_heir.compact {
  --heir-width: 126px;
  --heir-aspect: 640 / 153;
  --heir-plate: url('../assets/ui/titles/immortal-heir-compact-v2.webp');
  --heir-light: url('../assets/ui/titles/immortal-heir-compact-light-v2.webp');
}
.public-title-badge.title-style-immortal_heir:has(> img) { background: transparent !important; }
.public-title-badge.title-style-immortal_heir > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none !important;
  transform: none !important;
}
.title-style-immortal_heir::before,
.title-style-immortal_heir::after { content: none !important; }

@media (prefers-reduced-motion: no-preference) {
  span.title-style-immortal_heir::after,
  .s1-heir-insignia::after {
    content: '' !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: var(--heir-light, url('../assets/ui/titles/immortal-heir-nameplate-light-v2.webp')) center / 100% 100% no-repeat;
  }
}

.clv2-title-showcase.is-title-immortal_heir {
  align-self: start;
  justify-content: flex-end;
  min-height: clamp(352px, 38vw, 520px);
  padding-block: clamp(24px, 3.2vw, 48px);
  padding-inline: clamp(10px, 2vw, 24px);
  border-color: #8e6238;
  background:
    linear-gradient(180deg, #100b1424 0%, #21101856 30%, #180e15cd 66%, #100b10f5 100%),
    url('../assets/ui/season-s1-immortal-king/v3/throne-panorama.webp') 82% center / auto 100% no-repeat,
    #180d14;
}
.clv2-title-showcase.is-title-immortal_heir::before,
.clv2-title-showcase.is-title-immortal_heir::after { content: none; }
.clv2-title-showcase.is-title-immortal_heir > h2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: 100%;
  min-width: 0;
  margin: 0 0 clamp(18px, 3vw, 36px);
  line-height: 0;
}
.clv2-title-showcase.is-title-immortal_heir h2 .title-style-immortal_heir {
  --heir-width: min(100%, 454px);
  min-width: 0;
}
.clv2-title-card.is-title-immortal_heir {
  background: linear-gradient(145deg, #301a21, #141016 63%, #2b1a15);
  border-color: #775333;
}
.is-title-immortal_heir .clv2-title-emblem { object-fit: contain; width: 92px; height: 92px; }
.clv2-title-showcase.is-title-immortal_heir > strong,
.clv2-title-card.is-title-immortal_heir > em { color: #f3d399; }
.clv2-title-card.is-title-immortal_heir > strong { max-width: 100%; }
.clv2-title-card.is-title-immortal_heir .title-style-immortal_heir { --heir-width: 172px; }
.clv2-live-status .public-title-badge.title-style-immortal_heir,
.clv2-profile-name .public-title-badge.title-style-immortal_heir { --heir-width: 146px; }
