/* feature:title-achievements-53df: physical Shutdown PNG/UV panel, rarity grouping, fixed card geometry. */
#modal[data-view="titles"] .tc-filters{display:flex;gap:5px;overflow-x:auto;max-width:100%;padding:5px 2px 9px;scrollbar-width:thin}
#modal[data-view="titles"] .tc-filter{flex:0 0 auto;min-width:68px;min-height:30px;font:700 12px Arial,sans-serif;color:#e8d9ca!important;border:5px solid transparent!important;border-image:url("../button/button.png?v=cabare-uv-1") 8 fill / 5px / 0 stretch!important;background:transparent!important;padding:3px 7px!important;transform:none!important;white-space:nowrap}
#modal[data-view="titles"] .tc-filter.selected{color:#fff0b8!important;border-image:url("../button/button-active.png?v=cabare-uv-1") 8 fill / 5px / 0 stretch!important}
#modal[data-view="titles"] .tc-title[data-rarity]{min-height:100px;min-width:0;box-sizing:border-box;transform:none!important}
#modal[data-view="titles"] .tc-title .tc-title-body{min-width:0;overflow:hidden}
#modal[data-view="titles"] .tc-title-name{overflow-wrap:anywhere;min-width:0}
#modal[data-view="titles"] .tc-title-rarity{display:inline-block;margin-inline-start:5px;padding:1px 4px;border:1px solid var(--title-ink);color:var(--title-light);background:var(--title-tint);font:700 10px Arial,sans-serif;text-shadow:1px 1px #000}
#modal[data-view="titles"] .tc-title-category{display:block;color:var(--title-ink);font:700 10px Arial,sans-serif;letter-spacing:.04em;line-height:1.35}
#modal[data-view="titles"] .tc-title.worn .tc-title-rarity{animation:title-achievement-glow 2.8s ease-in-out infinite}
#modal[data-view="titles"] .tc-title[data-rarity="celestial"].unlocked .tc-title-hex,
#modal[data-view="titles"] .tc-title[data-rarity="mythic"].unlocked .tc-title-hex{animation:title-gem 3.6s ease-in-out infinite}
#modal[data-view="titles"] .tc-title[data-rarity="legendary"].unlocked .tc-title-name{animation:title-letter-glow 4.6s ease-in-out infinite}
#modal[data-view="titles"] .tc-stat{min-width:0}
#modal[data-view="titles"] .tc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@keyframes title-achievement-glow{0%,100%{box-shadow:inset 0 0 1px var(--title-ink)}50%{box-shadow:inset 0 0 7px var(--title-ink),0 0 6px var(--title-ink)}}
@media(max-width:700px){#modal[data-view="titles"] .tc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#modal[data-view="titles"] .tc-title[data-rarity]{min-height:91px}#modal[data-view="titles"] .tc-filter{min-height:27px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#modal[data-view="titles"] .tc-title-rarity,#modal[data-view="titles"] .tc-title[data-rarity] :is(.tc-title-hex,.tc-title-name){animation:none!important}}

/* feature:title-advanced-filters: fixed-size RPG controls, paint-only hover. */
#modal[data-view="titles"] .tc-filters{gap:5px!important;flex-wrap:nowrap;max-height:48px;overflow-x:auto;overflow-y:hidden}
#modal[data-view="titles"] .tc-filter{display:inline-flex;align-items:center;gap:5px;justify-content:center;box-sizing:border-box!important;height:34px;min-height:34px;flex-shrink:0}
#modal[data-view="titles"] .tc-filter-count{font:700 11px Arial,sans-serif;color:#f9e6b3;background:#20191e;padding:0 4px;min-width:17px;text-align:center;border:1px solid #8e6a45}
#modal[data-view="titles"] .tc-filter-tools{display:grid;grid-template-columns:minmax(160px,2fr) repeat(3,minmax(110px,1fr));gap:8px;align-items:end;min-width:0;margin:0 2px 10px}
#modal[data-view="titles"] .tc-filter-field{display:flex;flex-direction:column;gap:4px;min-width:0;color:#f1dcb1;font:700 11px Arial,sans-serif}
#modal[data-view="titles"] :is(.tc-filter-search,.tc-filter-select){width:100%;height:36px;min-height:36px;box-sizing:border-box!important;padding:2px 9px!important;margin:0!important;color:#f9efe1!important;font:12px Arial,sans-serif;appearance:auto;background:#191721!important;border:6px solid transparent!important;border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 6px / 0 stretch!important;outline:none;transform:none!important;transition:filter .15s ease!important}
#modal[data-view="titles"] :is(.tc-filter-search,.tc-filter-select):is(:hover,:focus-visible){filter:brightness(1.16);border-image:url("../login/frame-active.png?v=cabare-uv-1") 24 fill / 6px / 0 stretch!important;outline:1px solid #f1d197;outline-offset:-6px}
#modal[data-view="titles"] .tc-filter-select option{background:#211a20;color:#fff3dc}
#modal[data-view="titles"] .tc-title-entry[hidden],#modal[data-view="titles"] .tc-filter-empty[hidden]{display:none!important}
#modal[data-view="titles"] .tc-filter-empty{padding:18px 9px;text-align:center;color:#f0ddbe;font:13px Arial,sans-serif}
@media(max-width:700px){#modal[data-view="titles"] .tc-filter-tools{grid-template-columns:repeat(2,minmax(0,1fr))}#modal[data-view="titles"] .tc-filter-search-field{grid-column:1/-1}}
@media(max-width:390px){#modal[data-view="titles"] .tc-filter-tools{gap:5px}#modal[data-view="titles"] .tc-filter-field{font-size:11px}}
@media(prefers-reduced-motion:reduce){#modal[data-view="titles"] :is(.tc-filter-search,.tc-filter-select){transition:none!important}}
