:root { --ink:#edf0ff; --muted:#a8aed3; --canvas:#0c0d18; --panel:#17192a; --line:#2c304d; --leaf:#9eff60; --violet:#a896ff; --orange:#ffb65f; --viewport-gutter:clamp(20px,3.5vw,112px); }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; color:var(--ink); background:radial-gradient(circle at 82% 9%, #34266a 0, transparent 26rem), radial-gradient(circle at 10% 40%, #1b4b4e 0, transparent 31rem), var(--canvas); font-family:Inter, ui-sans-serif, system-ui, sans-serif; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom, black, transparent 60%); }
.page-shell { position:relative; width:min(1920px, calc(100% - (var(--viewport-gutter) * 2))); margin:auto; }
.topbar { position:sticky; z-index:60; top:0; min-height:92px; display:flex; align-items:center; gap:17px; border-bottom:1px solid var(--line); background:rgba(12,13,24,.9); box-shadow:0 12px 28px #07081399; backdrop-filter:blur(18px); }
.top-actions { display:flex; align-items:center; gap:18px; }.top-actions a { color:var(--muted); font-size:.84rem; font-weight:700; text-decoration:none; }.top-actions a:hover { color:var(--ink); }
.brand { justify-self:start; display:flex; align-items:center; gap:12px; color:var(--ink); font-family:Georgia,serif; font-size:1.45rem; font-weight:700; text-decoration:none; letter-spacing:-.04em; }
.brand-mark { width:46px; height:46px; display:block; flex:0 0 auto; background:url("/(C)%20maple-advisor-icon.png") center/contain no-repeat; filter:drop-shadow(0 0 9px #9eff6090) drop-shadow(0 0 16px #8672ff42); }
.character-navigation { display:flex; min-width:0; align-items:center; gap:11px; }
.character-navigation[hidden] { display:none; }
.navigation-scope-label { color:#7f86a7; font-size:.56rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.active-character-context { display:flex; min-width:0; align-items:center; gap:9px; padding-left:11px; border-left:1px solid #ffffff20; }
.active-character-context[hidden] { display:none; }
.top-character-image { width:36px; height:36px; flex:0 0 auto; border:1px solid #7d72ac; border-radius:50%; background:#111324; object-fit:cover; }
.top-character-copy { display:grid; min-width:0; gap:2px; line-height:1.1; }
.top-character-copy strong { overflow:hidden; color:#f0efff; font-size:.82rem; text-overflow:ellipsis; white-space:nowrap; }
.top-character-copy span { overflow:hidden; color:#aeb4d0; font-size:.68rem; text-overflow:ellipsis; white-space:nowrap; }
.top-profile-tabs { min-width:0; }
.top-profile-tabs[hidden] { display:none; }
.top-profile-tabs .profile-tablist { display:flex; align-items:center; gap:3px; padding:0; border:0; }
.top-profile-tabs .profile-tab { min-width:0; padding:9px 10px; border:0; border-radius:7px; font-size:.63rem; white-space:nowrap; }
.top-profile-tabs .profile-tab.is-active { border:1px solid #6555a4; background:#2a2149; box-shadow:none; transform:none; }
.top-profile-tabs .profile-tab.is-active::after { right:10px; bottom:2px; left:10px; }
.global-navigation { display:flex; align-items:center; gap:10px; min-height:42px; margin-left:4px; padding-left:20px; border-left:1px solid #8eff5f88; box-shadow:-9px 0 18px -14px #9eff60; }
.global-tab { min-width:0; padding:9px 11px; border:1px solid transparent; border-radius:7px; background:transparent; color:#aeb5d0; font-size:.63rem; font-weight:900; letter-spacing:.055em; text-transform:uppercase; white-space:nowrap; }
.global-tab:hover { background:#ffffff09; color:#edf0ff; filter:none; }
.global-tab.is-active { border-color:#6555a4; background:#2a2149; color:#c6f6a9; box-shadow:inset 0 2px #a69cff5c; }
.top-search-slot { width:min(100%, 300px); margin-left:auto; }
.top-search-slot[hidden] { display:none; }
.region-lock { border:1px solid #9eff6055; border-radius:999px; color:var(--leaf); padding:8px 13px; font-size:.77rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.hero { max-width:790px; padding:108px 0 76px; }
.eyebrow { margin:0 0 13px; color:var(--leaf); font-size:.72rem; font-weight:800; letter-spacing:.15em; }
h1 { margin:0; font:700 clamp(3.1rem,8vw,6.8rem)/.94 Georgia,serif; letter-spacing:-.075em; }
h1 em { color:var(--violet); font-weight:400; }
.intro { max-width:600px; color:var(--muted); font-size:1.12rem; line-height:1.65; margin:27px 0 32px; }
.search-panel { display:flex; gap:10px; padding:8px; background:#f4f5ff; border-radius:13px; box-shadow:0 21px 55px #0007; }
.search-panel--topbar { gap:6px; padding:4px; border:1px solid #6c639b; border-radius:10px; box-shadow:0 10px 24px #0005; }
.search-panel--topbar input { padding:9px 12px; font-size:.84rem; }
.search-panel--topbar button { padding:9px 13px; font-size:.76rem; white-space:nowrap; }
#profile:not([hidden]) { margin-top:18px; }
input { flex:1; min-width:0; padding:14px 16px; border:0; outline:0; background:transparent; color:#15162a; font:600 1rem inherit; }
input::placeholder { color:#767a92; }
button { border:0; border-radius:8px; padding:14px 20px; background:linear-gradient(135deg,var(--violet),#7158df); color:white; font:800 .93rem inherit; cursor:pointer; }
button:hover { filter:brightness(1.1); }
.example-button { margin:12px 0 0; padding:0; color:var(--muted); background:none; text-decoration:underline; font-size:.85rem; }
.status-message { margin:0 0 25px; padding:15px 18px; border:1px solid var(--line); border-radius:10px; background:#151729; color:var(--muted); }
.status-message[data-kind="error"] { color:#ffb8bd; border-color:#9e4859; background:#311b25; }
.profile { margin:0 0 92px; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:rgba(21,23,40,.84); box-shadow:0 32px 70px #0005; }
.profile-header { display:grid; grid-template-columns:136px 1fr auto; gap:27px; align-items:center; padding:34px; background:linear-gradient(120deg,#26214d,#18263b); }
.character-image { width:136px; height:136px; object-fit:contain; border-radius:14px; background:#0f1122; }
h2 { margin:0; font:700 clamp(2.4rem,5vw,4rem)/1 Georgia,serif; letter-spacing:-.06em; }.class-level,.guild { margin:8px 0 0; color:var(--muted); }.guild { color:var(--orange); font-size:.87rem; }
.profile-origin { align-self:stretch; display:flex; flex-direction:column; justify-content:center; gap:6px; border-left:1px solid #ffffff22; padding-left:27px; color:var(--muted); }.profile-origin span { font-size:.67rem; letter-spacing:.12em; }.profile-origin strong { color:var(--ink); }.profile-origin small { max-width:145px; font-size:.72rem; }
.profile-submit { display:inline-flex; align-items:center; gap:8px; margin-top:12px; padding:8px 11px; border:1px solid #9eff6066; border-radius:7px; color:var(--leaf); font-size:.75rem; font-weight:800; text-decoration:none; }.profile-submit:hover { background:#9eff6014; }.profile-upload { display:inline-flex; margin:8px 0 0 8px; padding:8px 11px; border:1px solid #8470ed; border-radius:7px; background:#26214d; color:#f0efff; font:800 .75rem inherit; cursor:pointer; }.profile-upload:hover { background:#362b6a; }.profile-image-status { min-height:16px; margin:5px 0 0; color:var(--muted); font-size:.7rem; }
.stat-section,.equipment-section { padding:38px 34px; }.equipment-section { border-top:1px solid var(--line); }.section-heading h3 { margin:0; font:700 1.8rem Georgia,serif; letter-spacing:-.04em; }
.stat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-top:22px; }.stat-card { min-height:96px; padding:15px; border:1px solid #373b59; border-radius:10px; background:#111324; }.stat-card span { display:block; color:var(--muted); font-size:.74rem; line-height:1.25; }.stat-card strong { display:block; color:var(--leaf); margin-top:11px; font-size:1.13rem; }
.equipment-layout { display:grid; gap:25px; margin-top:25px; }.gear-group { padding:18px; border:1px solid #30354f; border-radius:13px; background:linear-gradient(125deg,#131527,#0f1120); }.gear-group-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:13px; }.gear-group-heading h4 { margin:0; color:var(--leaf); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; }.gear-group-heading p { margin:0; color:var(--muted); font-size:.72rem; }.gear-slot-grid { display:grid; gap:10px; }.gear-group--wse .gear-slot-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.gear-group--armor .gear-slot-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.gear-group--rings .gear-slot-grid,.gear-group--valuable .gear-slot-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.gear-group--accessories .gear-slot-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }.gear-group--other .gear-slot-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.equipment-card { position:relative; display:flex; gap:11px; align-items:center; min-height:86px; padding:12px; overflow:visible; border:2px solid transparent; border-radius:10px; background:linear-gradient(#101221,#101221) padding-box,linear-gradient(to bottom right,var(--main-potential,#323651) 0 48%,#323651 48% 52%,var(--additional-potential,#323651) 52% 100%) border-box; box-shadow:inset 0 1px #ffffff08; }.equipment-card > :not(.exceptional-sparkles) { position:relative; z-index:1; }.equipment-card img { width:45px; height:45px; flex:0 0 auto; object-fit:contain; image-rendering:auto; }.equipment-copy { min-width:0; }.equipment-meta { display:flex; align-items:center; gap:7px; min-height:19px; }.equipment-card .slot-name { color:var(--violet); font-size:.68rem; }.starforce-badge,.ring-level-badge { display:inline-grid; min-height:20px; place-items:center; padding:2px 5px; border-radius:5px; font-size:.67rem; font-weight:900; line-height:1; }.starforce-badge { min-width:33px; border:1px solid #f8ce54aa; background:linear-gradient(135deg,#5c4513,#2c220d); color:#ffe27c; box-shadow:inset 0 1px #fff2a33b,0 0 10px #f3b82c23; }.ring-level-badge { min-width:36px; border:1px solid #7d8ff5aa; background:linear-gradient(135deg,#34376e,#202244); color:#d8ddff; box-shadow:inset 0 1px #ffffff2b,0 0 10px #899dff1f; }.equipment-card h4 { margin:3px 0 0; font-size:.84rem; line-height:1.18; }.equipment-card p { margin:0; color:var(--muted); font-size:.69rem; line-height:1.32; }.empty-slot { display:block; min-height:82px; padding:14px; border-style:dashed; background:linear-gradient(#101221,#101221) padding-box,linear-gradient(to bottom right,#323651,#222640) border-box; }.empty-slot .slot-name { display:block; }.empty-slot p { margin-top:7px; color:#6f7596; }.exceptional-sparkles { position:absolute; z-index:3; inset:-9px; pointer-events:none; }.exceptional-sparkles i { position:absolute; color:#ff586b; font-style:normal; font-size:1rem; line-height:1; text-shadow:0 0 7px #ff304f,0 0 14px #ff304f; animation:exceptional-twinkle 1.8s ease-in-out infinite; }.exceptional-sparkles i:nth-child(1) { top:-2px; left:8%; }.exceptional-sparkles i:nth-child(2) { top:-6px; right:13%; animation-delay:.45s; }.exceptional-sparkles i:nth-child(3) { right:7%; bottom:-5px; animation-delay:.9s; }.exceptional-sparkles i:nth-child(4) { bottom:-6px; left:16%; animation-delay:1.35s; }@keyframes exceptional-twinkle { 0%,100% { opacity:.3; transform:scale(.65) rotate(0); } 50% { opacity:1; transform:scale(1.35) rotate(25deg); } }.unavailable-section { margin:0 34px 34px; padding:14px 16px; border-left:3px solid var(--orange); background:#382c1e; color:#f8daa8; font-size:.85rem; }.unavailable-section p { margin:0; }
.form-hero { max-width:790px; padding:84px 0 42px; }.form-hero.compact { padding-bottom:24px; }.form-hero h1 { font-size:clamp(2.9rem,7vw,5.7rem); }.form-card { margin:0 0 84px; padding:34px; border:1px solid var(--line); border-radius:18px; background:rgba(21,23,40,.9); box-shadow:0 24px 62px #0005; }.form-card h2 { font-size:2.15rem; }.form-note { max-width:780px; margin:15px 0 30px; color:var(--muted); line-height:1.55; }.field-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.form-card label { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:.77rem; font-weight:700; }.form-card input,.form-card textarea { width:100%; margin:0; padding:11px 12px; border:1px solid #383d5e; border-radius:8px; background:#111324; color:var(--ink); font:600 .94rem inherit; }.form-card textarea { min-height:98px; resize:vertical; }.breakdown-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:26px 0; }.breakdown-grid fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin:0; padding:15px; border:1px solid #373b59; border-radius:10px; background:#101221; }.breakdown-grid legend { padding:0 5px; color:var(--leaf); font-size:.74rem; font-weight:800; letter-spacing:.08em; }.wide-field { margin:0 0 18px; }.form-status { min-height:22px; margin:14px 0 0; color:var(--muted); font-size:.85rem; }.form-status[data-kind="error"] { color:#ffb8bd; }.admin-bar { display:flex; align-items:end; gap:12px; }.admin-bar label { flex:1; }.submission-list { display:grid; gap:13px; margin-top:22px; }.submission-card { padding:20px; border:1px solid #373b59; border-radius:10px; background:#101221; }.submission-card h3 { margin:0; font:700 1.45rem Georgia,serif; }.submission-card p { color:var(--muted); line-height:1.45; }.submission-card pre { max-height:260px; overflow:auto; padding:13px; border-radius:7px; background:#090a13; color:#cbd0ef; font-size:.75rem; }.submission-card button { margin:4px 8px 0 0; }.profile-image-preview { display:block; width:180px; height:180px; margin:12px 0; border-radius:10px; background:#0f1122; object-fit:contain; }.reject-button { background:#633547; }.approve-button { background:linear-gradient(135deg,#70b848,#478a36); }
.approved-calibration { margin:0 34px 34px; padding:21px; border:1px solid #9eff6066; border-radius:12px; background:linear-gradient(120deg,#193020,#13251f); }.approved-calibration strong { display:block; color:var(--leaf); font:700 2rem Georgia,serif; }.approved-calibration p:last-child { margin:8px 0 0; color:var(--muted); font-size:.8rem; }
.equipment-card { display:block; min-height:0; }.equipment-card-trigger { display:flex; width:100%; min-width:0; align-items:center; gap:11px; padding:12px; border:0; border-radius:8px; background:transparent; color:inherit; font:inherit; text-align:left; }.equipment-card-trigger:hover { background:#ffffff08; filter:none; }.equipment-card-trigger:focus-visible { outline:2px solid var(--violet); outline-offset:2px; }.equipment-card-trigger .equipment-copy { flex:1; }.equipment-card .equipment-name { display:block; margin-top:3px; color:var(--ink); font-size:.84rem; font-weight:800; line-height:1.18; }.item-expand-icon { flex:0 0 auto; color:var(--muted); font-size:1.1rem; line-height:1; transition:transform .2s ease,color .2s ease; }.equipment-card.is-expanded .item-expand-icon { color:var(--leaf); transform:rotate(180deg); }.group-item-detail { margin-top:12px; padding-top:12px; border-top:1px solid #323651; }.item-detail-panel { overflow:visible; opacity:1; }.item-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.item-detail-block { padding:10px; border:1px solid #363a58; border-radius:8px; background:#0b0d19; }.item-detail-block h5 { margin:0 0 8px; color:#c9ccef; font-size:.69rem; letter-spacing:.08em; text-transform:uppercase; }.item-detail-block ul { display:grid; gap:5px; margin:0; padding:0; list-style:none; }.item-detail-block li { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:.7rem; line-height:1.25; }.item-detail-block strong { max-width:62%; color:var(--ink); font-weight:700; text-align:right; }.item-detail-block--total { border-color:#9eff6066; }.item-detail-block--total h5 { color:var(--leaf); }.item-detail-block--potential { border-color:#ffd45b66; }.item-detail-block--potential h5 { color:#ffe181; }.item-detail-block--additional { border-color:#b36cff66; }.item-detail-block--additional h5 { color:#d7b4ff; }.item-detail-block--exceptional { border-color:#ff586b77; }.item-detail-block--exceptional h5 { color:#ff8b98; }.item-description,.item-detail-empty { grid-column:1/-1; margin:0; padding:10px; border-radius:8px; background:#0b0d19; color:var(--muted); font-size:.72rem; line-height:1.45; }
.gear-group--wse .gear-slot-grid,.gear-group--armor .gear-slot-grid,.gear-group--rings .gear-slot-grid,.gear-group--accessories .gear-slot-grid,.gear-group--valuable .gear-slot-grid,.gear-group--other .gear-slot-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.gear-slot-grid { align-items:start; }.group-item-detail { display:none; }.equipment-card.is-expanded .equipment-card-trigger { border-radius:8px 8px 0 0; box-shadow:inset 0 -1px #ffffff22; }.item-detail-panel { max-height:0; overflow:hidden; opacity:0; transition:max-height .35s ease,opacity .2s ease; }.equipment-card.is-expanded .item-detail-panel { max-height:3400px; opacity:1; }.item-detail-grid { grid-template-columns:1fr; padding:0 12px 12px; }.item-detail-block { position:relative; overflow:visible; }.item-detail-block--identity { border-color:#4d5277; background:linear-gradient(145deg,#15182b,#0b0d19); }.item-detail-block--stats { border-color:#8be85d88; background:linear-gradient(145deg,#162617,#0b0d19); }.item-detail-block--stats h5 { color:var(--leaf); }.stat-detail-row { position:relative; align-items:flex-start; }.stat-detail-value { position:relative; display:inline-flex; flex-wrap:wrap; justify-content:flex-end; gap:2px; max-width:72%; color:var(--ink); text-align:right; cursor:help; }.stat-detail-value > strong { max-width:none; }.stat-breakdown { color:#8990b6; white-space:normal; }.stat-source--base { color:#dce1ff; }.stat-source--scroll { color:#ffd670; }.stat-source--starforce { color:#95ee6b; }.stat-source--additional { color:#cf9dff; }.stat-source--exceptional { color:#ff7283; }.stat-breakdown-tooltip,.scroll-tooltip { position:absolute; z-index:8; right:0; bottom:calc(100% + 8px); display:none; width:min(285px,calc(100vw - 64px)); padding:10px; border:1px solid #515779; border-radius:8px; background:#0a0b16; box-shadow:0 12px 30px #0009; color:#c9cdef; font-size:.72rem; line-height:1.45; text-align:left; }.stat-breakdown-tooltip strong,.scroll-tooltip strong { display:block; max-width:none; margin-bottom:5px; color:var(--ink); text-align:left; }.stat-breakdown-tooltip span,.scroll-tooltip span { display:block; }.stat-detail-value:hover .stat-breakdown-tooltip,.stat-detail-value:focus-within .stat-breakdown-tooltip,.scroll-count-trigger:hover .scroll-tooltip,.scroll-count-trigger:focus .scroll-tooltip { display:block; }.item-detail-block--scroll { border-color:#f8ce5488; }.item-detail-block--scroll h5 { color:#ffe181; }.scroll-count-trigger { position:relative; display:inline-flex; align-items:center; min-height:27px; padding:4px 8px; border:1px solid #f8ce54aa; border-radius:6px; background:#2c220d; color:#ffe27c; font-size:.78rem; font-weight:900; cursor:help; outline:none; }.item-detail-block--grade { border-color:var(--grade-color,#323651); box-shadow:inset 0 0 16px color-mix(in srgb,var(--grade-color,#323651) 10%,transparent); }.item-detail-block--grade h5 { color:var(--grade-color,#c9ccef); }.item-detail-block--exceptional { border-color:#ff586b; background:linear-gradient(145deg,#32151f,#120b12); box-shadow:0 0 15px #ff304f33,inset 0 0 18px #ff304f1f; animation:exceptional-panel-glow 1.8s ease-in-out infinite; }.item-detail-block--exceptional h5 { color:#ff9aa7; }.item-detail-block--soul { border-color:#77d5ff77; background:linear-gradient(145deg,#102333,#0b0d19); }.item-detail-block--soul h5 { color:#8edfff; }@keyframes exceptional-panel-glow { 0%,100% { box-shadow:0 0 10px #ff304f22,inset 0 0 14px #ff304f12; } 50% { box-shadow:0 0 22px #ff304f66,inset 0 0 25px #ff304f2b; } }
footer { position:relative; padding:28px 20px; color:#858aa9; border-top:1px solid var(--line); text-align:center; font-size:.76rem; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media (max-width:900px) { .gear-group--armor .gear-slot-grid,.gear-group--accessories .gear-slot-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }@media (max-width:780px) { .hero { padding:72px 0 54px; }.profile-header { grid-template-columns:92px 1fr; padding:23px; gap:18px; }.character-image { width:92px; height:92px; }.profile-origin { grid-column:1/-1; border-left:0; border-top:1px solid #ffffff22; padding:16px 0 0; }.stat-grid { grid-template-columns:repeat(2,1fr); }.stat-section,.equipment-section { padding:27px 23px; }.unavailable-section { margin:0 23px 23px; } }
@media (max-width:460px) { .page-shell { width:calc(100% - 26px); }.topbar { height:76px; }.region-lock { font-size:.62rem; padding:7px 9px; }.search-panel { flex-direction:column; }.search-panel button { width:100%; }.profile-header { grid-template-columns:1fr; }.character-image { width:90px; height:90px; } }
@media (max-width:620px) { .item-detail-grid { grid-template-columns:1fr; } }

@media (max-width:980px) {
  .topbar { flex-wrap:wrap; gap:10px 12px; padding:12px 0; }
  .character-navigation { order:5; flex-basis:100%; flex-wrap:wrap; }
  .top-profile-tabs { width:100%; }
  .global-navigation { margin-left:0; padding-left:13px; }
  .top-search-slot { width:min(100%, 360px); }
}

@media (max-width:780px) {
  .brand { gap:8px; font-size:1.2rem; }
  .brand-mark { width:38px; height:38px; }
  .region-lock { padding:7px 9px; font-size:.65rem; }
}

@media (max-width:560px) {
  .topbar { gap:9px; padding:10px 0; }
  .active-character-context { flex:1 1 auto; padding-left:10px; }
  .character-navigation { gap:8px; }
  .global-navigation { gap:7px; padding-left:10px; }
  .top-search-slot { order:6; width:100%; }
  .top-profile-tabs { overflow-x:auto; width:100%; }
  .search-panel--topbar { flex-direction:row; }
  .search-panel--topbar button { width:auto; }
}

/* Character identity header */
.profile-header { grid-template-columns:176px minmax(0,1fr) 205px; gap:30px; padding:34px 38px; background:linear-gradient(120deg,#28234f 0%,#1b2841 57%,#152238 100%); }
.character-image { width:176px; height:176px; }
.profile-identity { min-width:0; }
.world-badge { display:inline-flex; align-items:center; gap:7px; min-height:25px; padding:4px 10px; border:1px solid #79dcff70; border-radius:999px; background:linear-gradient(135deg,#183852,#172841); box-shadow:inset 0 1px #c9f4ff29,0 6px 16px #09142435; color:#b5efff; font-size:.69rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.world-badge::before { content:"✦"; color:#75dcff; font-size:.74rem; }
.profile-identity h2 { margin-top:8px; }
.identity-facts { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:8px; }
.class-level { display:inline-flex; align-items:center; min-height:30px; margin:0; padding:4px 10px; border:1px solid #ffffff1c; border-radius:7px; background:#0d1322a6; color:#b7bdd7; font-size:.82rem; font-weight:700; letter-spacing:.01em; }
.guild-card { display:inline-flex; align-items:center; min-height:30px; margin:0; padding:4px 11px; border:1px solid #ffba5d83; border-radius:7px; background:linear-gradient(135deg,#3e2b23,#241b27); box-shadow:inset 0 1px #ffe0aa23; color:#ffc773; font-size:.77rem; font-weight:900; letter-spacing:.04em; }
.union-card,.popularity-card { display:inline-flex; align-items:center; min-height:30px; margin:0; padding:4px 10px; border:1px solid #ffffff26; border-radius:7px; background:#11182aa8; color:#d5d9e8; font-size:.77rem; font-weight:800; letter-spacing:.01em; }
.profile-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:13px; }
.profile-submit,.profile-upload { margin:0; }
.profile-origin { align-self:center; min-width:0; padding:17px 18px; border:1px solid #90b8e640; border-radius:12px; background:linear-gradient(145deg,#17283c,#111b30); box-shadow:inset 0 1px #d7efff16; }
.profile-origin strong { color:#eff5ff; font-size:1.02rem; }
.profile-origin small { max-width:none; color:#aeb9d1; line-height:1.3; }

@media (max-width:780px) {
  .profile-header { grid-template-columns:92px minmax(0,1fr); padding:23px; gap:18px; }
  .character-image { width:92px; height:92px; }
  .profile-origin { grid-column:1 / -1; padding:14px 16px; }
}

@media (max-width:460px) {
  .profile-header { grid-template-columns:1fr; }
  .profile-actions { align-items:stretch; }
  .profile-submit,.profile-upload { justify-content:center; }
}

/* Character stats hierarchy */
.stat-grid { display:grid; grid-template-columns:minmax(330px,1.08fr) minmax(0,1.92fr); gap:16px; margin-top:14px; }
.stat-card--combat-power { display:flex; flex-direction:column; justify-content:center; min-height:250px; padding:30px; overflow:hidden; border-color:#9cff6db8; background:radial-gradient(circle at 84% 12%,#aaff8036 0 2px,transparent 3px),radial-gradient(circle at 89% 17%,#aaff8026 0 1px,transparent 2px),radial-gradient(circle at 74% 0%,#69d9571e 0 20%,transparent 48%),linear-gradient(145deg,#1c4425,#0f1c1d 58%,#111324); box-shadow:inset 0 1px #efffe33b,0 18px 38px #07150a77,0 0 26px #8eff5821; }
.stat-card--combat-power span { color:#d2ffc3; font-size:.88rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.stat-card--combat-power strong { margin-top:15px; color:#b6ff90; font-size:clamp(2.7rem,4.5vw,4.3rem); line-height:.9; letter-spacing:-.075em; text-shadow:0 0 24px #8eff586b; }
.stat-details-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.stat-card--detail { display:flex; flex-direction:column; justify-content:center; min-height:98px; padding:15px; border-color:#38405e; background:linear-gradient(145deg,#15182a,#101221); }
.stat-card--detail strong { margin-top:10px; color:#9eff60; font-size:1.15rem; }
.stat-card--range { border-color:#5c9bc473; background:linear-gradient(145deg,#142536,#101221); }
.stat-card--range strong { color:#9be6ff; }

@media (max-width:780px) {
  .stat-grid { grid-template-columns:1fr; }
  .stat-card--combat-power { min-height:164px; }
}

@media (max-width:560px) {
  .stat-details-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Keep the neutral stat panel distinct from green potential grades. */
.item-detail-block--stats {
  border-color:#77c4ff88;
  background:linear-gradient(145deg,#132638,#0b0d19);
}

.item-detail-block--stats h5 { color:#9adfff; }

/* Scroll help stays below its badge, within the expanded equipment card. */
.equipment-card.is-expanded .item-detail-panel { overflow:visible; }
.scroll-tooltip {
  top:calc(100% + 8px);
  right:auto;
  bottom:auto;
  left:0;
}

.scroll-upgrade-badge {
  display:inline-grid;
  min-height:20px;
  place-items:center;
  padding:2px 5px;
  border:1px solid #f8ce54aa;
  border-radius:5px;
  background:linear-gradient(135deg,#5c4513,#2c220d);
  color:#ffe27c;
  font-size:.67rem;
  font-weight:900;
  line-height:1;
  box-shadow:inset 0 1px #fff2a33b,0 0 10px #f3b82c23;
}
.title-status-badge { display:inline-grid; min-height:20px; place-items:center; padding:2px 6px; border:1px solid; border-radius:5px; font-size:.64rem; font-weight:900; line-height:1; text-transform:uppercase; }.title-status-badge.is-active { border-color:#8be85d99; background:#18301d; color:#b5ff91; }.title-status-badge.is-expired { border-color:#ff718499; background:#351720; color:#ffb1ba; }.reserved-tab-note { margin:0; padding:0 20px 20px; color:var(--muted); font-size:.78rem; }
.union-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; padding:0 20px 18px; }.union-panel,.union-champions-section { border:1px solid #414765; border-radius:11px; background:linear-gradient(145deg,#15182a,#0d0f1b); }.union-panel { min-height:260px; overflow:hidden; }.union-panel header,.union-champions-section > header { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:13px 14px 10px; border-bottom:1px solid #30354f; }.union-panel h4,.union-champions-section h4 { margin:0; color:#f3edff; font-size:.9rem; }.union-panel header p,.union-champions-section > header p { margin:0; color:var(--muted); font-size:.7rem; text-align:right; }.union-effect-list { display:grid; gap:7px; max-height:260px; margin:0; padding:12px 14px; overflow:auto; list-style:none; }.union-effect-list li { display:flex; align-items:baseline; justify-content:space-between; gap:10px; color:#c8cce3; font-size:.72rem; line-height:1.35; }.union-effect-list li::before { content:"✦"; color:#e6d08b; }.union-effect-list small { flex:0 0 auto; color:#f3d97a; font-size:.67rem; font-weight:800; }.union-champions-section { margin:0 20px 20px; padding-bottom:14px; }.union-champion-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; padding:14px; }.union-champion-card { position:relative; display:grid; min-height:220px; grid-template-rows:1fr auto; justify-items:center; padding:14px; overflow:visible; border:1px solid #474d70; border-radius:10px; background:radial-gradient(circle at 50% 28%,#252854,#10121f 68%); text-align:center; }.union-champion-grade { position:absolute; z-index:3; top:11px; right:11px; display:grid; width:32px; height:32px; place-items:center; border:2px solid #f7d457; border-radius:50%; background:#5d4714; color:#ffe690; font-size:.78rem; font-weight:900; box-shadow:0 0 12px #eac44240; }.union-champion-sprite { position:relative; display:grid; width:100%; min-height:150px; place-items:center; outline:none; cursor:help; }.union-champion-sprite img { position:relative; z-index:1; display:none; width:112px; height:145px; object-fit:contain; image-rendering:auto; filter:drop-shadow(0 6px 8px #000a); }.union-champion-sprite.has-sprite img { display:block; }.union-champion-sprite-placeholder { color:#ab8dff; font-size:3rem; text-shadow:0 0 20px #956aff; }.union-champion-sprite.has-sprite .union-champion-sprite-placeholder { display:none; }.union-champion-copy { display:grid; gap:3px; width:100%; padding-top:10px; border-top:1px solid #ffffff1c; }.union-champion-copy strong { color:var(--ink); font-size:.82rem; }.union-champion-copy small { color:var(--muted); font-size:.7rem; }.union-champion-tooltip { position:absolute; z-index:8; bottom:calc(100% + 8px); left:50%; display:none; width:min(270px,calc(100vw - 64px)); padding:10px; transform:translateX(-50%); border:1px solid #565d84; border-radius:8px; background:#090b16; box-shadow:0 14px 30px #000c; text-align:left; }.union-champion-tooltip > strong { display:block; color:#f5edc9; font-size:.75rem; }.union-champion-tooltip .union-effect-list { max-height:none; padding:8px 0 0; }.union-champion-tooltip .union-effect-list li { font-size:.69rem; }.union-champion-sprite:hover .union-champion-tooltip,.union-champion-sprite:focus-visible .union-champion-tooltip { display:block; }.union-champion-card--locked { place-content:center; gap:10px; border-style:dashed; border-color:#5a5d72; background:linear-gradient(145deg,#171821,#101117); color:#72778f; font-size:.74rem; }.union-champion-lock { font-size:1.35rem; opacity:.55; filter:grayscale(1); }.union-champion-total { margin:0 14px; padding:12px 14px; border:1px solid #c68aff77; border-radius:9px; background:linear-gradient(100deg,#271c3e,#111424); }.union-champion-total h5 { margin:0; color:#deb9ff; font-size:.74rem; letter-spacing:.08em; text-transform:uppercase; }.union-champion-total .union-effect-list { max-height:none; padding:10px 0 0; }

/* Neutral information panels: rarity colors stay reserved for potential grades. */
.item-detail-block--stats,
.item-detail-block--soul {
  border-color:#a6adba88;
  background:linear-gradient(145deg,#1b1d27,#0b0d19);
}

.item-detail-block--stats h5,
.item-detail-block--soul h5 { color:#d9ddea; }

.set-effects-section {
  padding:28px 34px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(115deg,#13172a,#101221);
}

.section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; }
.section-caption { margin:0; color:var(--muted); font-size:.75rem; }
.set-effects-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); align-items:start; gap:12px; margin-top:14px; }
.set-effect-card { overflow:hidden; border:1px solid #7664bc88; border-radius:10px; background:linear-gradient(145deg,#18172d,#10111e); box-shadow:inset 0 1px #ffffff09; }
.set-effect-trigger { display:grid; grid-template-columns:minmax(0,1fr) auto auto; width:100%; min-height:74px; align-items:center; gap:10px; padding:16px; border:0; background:transparent; color:inherit; font:inherit; text-align:left; }
.set-effect-trigger:hover { background:#ffffff08; filter:none; }
.set-effect-trigger:focus-visible { outline:2px solid var(--violet); outline-offset:-2px; }
.set-effect-card h3 { margin:0; color:var(--ink); font-size:1rem; }
.set-effect-count { display:inline-grid; min-width:48px; min-height:27px; place-items:center; padding:3px 7px; border:1px solid #c9b5ff77; border-radius:6px; background:#2a2445; color:#ded0ff; font-size:.78rem; font-weight:900; }
.set-effect-expand-icon { color:#c9b5ff; font-size:1rem; transition:transform .2s ease; }
.set-effect-card.is-expanded .set-effect-expand-icon { transform:rotate(180deg); }
.set-effect-detail { display:none; padding:0 16px 16px; border-top:1px solid #ffffff16; }
.set-effect-card.is-expanded .set-effect-detail { display:block; }
.set-effect-card ul { display:grid; gap:7px; margin:13px 0 0; padding:0; list-style:none; }
.set-effect-card li { display:grid; grid-template-columns:48px minmax(0,1fr); gap:8px; color:var(--muted); font-size:.74rem; line-height:1.4; }
.set-effect-card li strong { color:#f0e8ff; }

@media (max-width:780px) {
  .set-effects-section { padding:23px; }
}

/* Reusable top-level section disclosure: add this structure for future profile panels. */
.collapsible-section { padding:0; }
.section-collapse-trigger { display:flex; width:100%; align-items:center; justify-content:space-between; gap:16px; border:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.section-collapse-trigger:hover { background:#ffffff05; filter:none; }
.section-collapse-trigger:focus-visible { outline:2px solid var(--violet); outline-offset:-3px; }
.section-collapse-trigger .eyebrow { margin:0; }
.section-collapse-icon { flex:0 0 auto; color:var(--muted); font-size:1.35rem; line-height:1; transition:transform .2s ease,color .2s ease; }
.section-collapse-trigger[aria-expanded="true"] .section-collapse-icon { color:var(--leaf); transform:rotate(180deg); }
.collapsible-section.is-collapsed .section-collapse-content { display:none; }
.equipment-section .section-collapse-trigger { padding:38px 34px 0; }
.equipment-section .section-collapse-content { padding:0 34px 38px; }
.set-effects-section .section-collapse-trigger { padding:28px 34px 0; }
.set-effects-section .section-collapse-content { padding:0 34px 28px; }
.reserved-profile-section .section-collapse-trigger { padding:28px 34px 0; }
.reserved-profile-section .section-collapse-content { padding:0 34px 28px; }
.section-reserved-note { margin:13px 0 0; padding:12px 14px; border:1px dashed #464d72; border-radius:9px; color:var(--muted); background:#0e101d; font-size:.78rem; }

/* Symbol groups retain the in-game hierarchy: Arcane, Authentic, then Grand Authentic. */
.symbol-groups { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(180px,.56fr); gap:14px; margin-top:16px; }
.symbol-group { min-width:0; padding:14px; border:1px solid #3b4165; border-radius:11px; background:linear-gradient(145deg,#15182b,#0d0f1c); }
.symbol-group h4 { margin:0 0 12px; color:#d6ccff; font-size:.76rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.symbol-group--arcane h4 { color:#b8b1ff; }.symbol-group--authentic h4 { color:#8ce9ff; }.symbol-group--grand h4 { color:#ffe28a; }
.symbol-slot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.symbol-group--grand .symbol-slot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.symbol-card { position:relative; display:flex; min-height:93px; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:8px; border:1px solid #4b5277; border-radius:9px; background:linear-gradient(145deg,#191d34,#0f1120); cursor:help; outline:none; }
.symbol-card:hover,.symbol-card:focus-visible { z-index:4; border-color:#b6a2ff; background:linear-gradient(145deg,#202442,#121426); box-shadow:0 0 16px #9e87ff2b; }
.symbol-card:focus-visible { outline:2px solid #d8c7ff; outline-offset:2px; }
.symbol-card img { width:48px; height:48px; object-fit:contain; image-rendering:auto; }
.symbol-level { color:#eef0ff; font-size:.73rem; font-weight:900; line-height:1; white-space:nowrap; }
.symbol-card--empty { border-style:dashed; color:#747b9d; font-size:.67rem; font-weight:800; text-align:center; }
.symbol-tooltip { position:absolute; z-index:10; bottom:calc(100% + 9px); left:50%; display:none; width:min(300px,calc(100vw - 66px)); padding:13px; border:1px solid #696f9a; border-radius:9px; background:#090b16; box-shadow:0 15px 35px #000c; color:#cdd2ec; text-align:left; }
.symbol-card:hover .symbol-tooltip,.symbol-card:focus-visible .symbol-tooltip { display:block; }
.symbol-tooltip > strong { display:block; color:#f4f1ff; font-size:.8rem; line-height:1.35; }
.symbol-tooltip p { margin:8px 0 11px; color:#afb6d4; font-size:.7rem; line-height:1.45; white-space:pre-line; }
.symbol-effects { display:grid; gap:4px; padding-top:9px; border-top:1px solid #ffffff1c; }
.symbol-effects div { display:flex; justify-content:space-between; gap:12px; color:#aeb5d2; font-size:.71rem; }
.symbol-effects strong { color:#c8ffae; font-size:.71rem; }

/* HEXA Matrix: three panels above, two wide panels below, then Used and Remaining. */
.hexa-category-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:13px; margin-top:16px; }
.hexa-category { min-width:0; padding:13px; border:1px solid #454b6e; border-radius:11px; background:linear-gradient(145deg,#15182b,#0d0f1b); }
.hexa-category--common,.hexa-category--mastery,.hexa-category--enhance { grid-column:span 4; }.hexa-category--stat,.hexa-category--skill { grid-column:span 6; }
.hexa-category h4,.hexa-resource-group h4 { margin:0 0 11px; color:#ddd4ff; font-size:.74rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.hexa-category--common h4 { color:#d2d6e3; }.hexa-category--mastery h4 { color:#ffbf7b; }.hexa-category--enhance h4 { color:#79c6ff; }.hexa-category--stat h4 { color:#d4a4ff; }.hexa-category--skill h4 { color:#e8a4ff; }
.hexa-core-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(74px,1fr)); gap:9px; }
.hexa-core-card { position:relative; display:flex; min-height:92px; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:9px; border:1px solid #3f4668; border-radius:8px; background:#101321; cursor:help; outline:none; }
.hexa-core-card:hover,.hexa-core-card:focus-visible { z-index:4; border-color:#b6a2ff; background:#171b31; box-shadow:0 0 16px #9e87ff2b; }.hexa-core-card:focus-visible { outline:2px solid #d8c7ff; outline-offset:2px; }
.hexa-core-card img { width:48px; height:48px; object-fit:contain; image-rendering:auto; }.hexa-core-card > span:not(.hexa-lock-icon) { color:#b9f58f; font-size:.72rem; font-weight:900; line-height:1; white-space:nowrap; }
.hexa-core-card--stat { border-color:#8d69b58a; background:linear-gradient(145deg,#211a32,#101321); }.hexa-core-card--stat > span:not(.hexa-lock-icon) { color:#e0b4ff; }
.hexa-core-card--locked { border-style:dashed; border-color:#575d70; background:linear-gradient(145deg,#171a21,#11131a); filter:grayscale(1); }.hexa-lock-icon { color:#a0a6b2; font-size:1.45rem; line-height:1; }
.hexa-tooltip { position:absolute; z-index:12; bottom:calc(100% + 9px); left:50%; display:none; width:min(320px,calc(100vw - 66px)); padding:13px; border:1px solid #696f9a; border-radius:9px; background:#090b16; box-shadow:0 15px 35px #000c; color:#cdd2ec; text-align:left; }.hexa-core-card:hover .hexa-tooltip,.hexa-core-card:focus-visible .hexa-tooltip { display:block; }.hexa-tooltip > strong { display:block; color:#f4f1ff; font-size:.8rem; line-height:1.35; }.hexa-tooltip p { margin:8px 0; color:#afb6d4; font-size:.7rem; line-height:1.45; white-space:pre-line; }.hexa-tooltip small { display:block; padding-top:8px; border-top:1px solid #ffffff1c; color:#c4f7a3; font-size:.69rem; line-height:1.4; white-space:pre-line; }
.hexa-resource-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-top:15px; }
.hexa-resource-group { padding:13px; border:1px solid #454b6e; border-radius:11px; background:linear-gradient(145deg,#15182b,#0d0f1b); }.hexa-resource-group h4 { color:#e6d08b; }.hexa-resource-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.hexa-resource-card { display:flex; min-height:90px; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:9px; border:1px solid #565b7a; border-radius:9px; background:linear-gradient(145deg,#171a2b,#10121e); cursor:help; outline:none; text-align:center; }.hexa-resource-card:hover,.hexa-resource-card:focus-visible { border-color:#e6d08b; box-shadow:0 0 14px #e6d08b2b; }.hexa-resource-card:focus-visible { outline:2px solid #fff0a8; outline-offset:2px; }.hexa-resource-card img { display:block; width:56px; height:56px; margin-inline:auto; object-fit:contain; }.hexa-resource-card strong { color:#f5edc9; font-size:1rem; line-height:1; font-variant-numeric:tabular-nums; }

/* Union effect text is intentionally plain and left-aligned; decorative bullets made these data lists harder to scan. */
.union-effect-list { scrollbar-width:thin; scrollbar-color:#8d79c9 #101321; }
.union-effect-list li { justify-content:flex-start; text-align:left; }
.union-effect-list li::before { content:none; }
.union-panel--board-effects .union-effect-list li::before,
.union-panel--member-effects .union-effect-list li::before { content:"✦"; color:#e6d08b; }
.union-effect-list small { margin-left:auto; }
.union-effect-list::-webkit-scrollbar { width:9px; }
.union-effect-list::-webkit-scrollbar-track { margin:7px 3px; border-radius:999px; background:#0b0d18; }
.union-effect-list::-webkit-scrollbar-thumb { border:2px solid #0b0d18; border-radius:999px; background:linear-gradient(#a48ce6,#7560ad); box-shadow:0 0 8px #9e87ff55; }
.union-effect-list::-webkit-scrollbar-thumb:hover { background:linear-gradient(#c2adff,#8b72ca); }

/* Title effects deserve the same clearly bounded treatment as equipment stats. */
.item-detail-block--title-effects { border-color:#707891; background:linear-gradient(145deg,#181b2a,#0b0d19); }
.item-detail-block--title-effects h5 { color:#e2e6f1; }
.item-detail-block--title-effects li { justify-content:flex-start; }
.item-detail-block--title-effects li > span:empty { display:none; }
.item-detail-block--title-effects li strong { max-width:none; text-align:left; }

@media (max-width:780px) {
  .hexa-category--common,.hexa-category--mastery,.hexa-category--enhance { grid-column:span 6; }
  .hexa-category--enhance { grid-column:span 12; }
}

@media (max-width:540px) {
  .hexa-category--common,.hexa-category--mastery,.hexa-category--enhance,.hexa-category--stat,.hexa-category--skill { grid-column:span 12; }
  .hexa-resource-summary { grid-template-columns:1fr; }
}

/* A collapsed top-level panel should read as a deliberate card, not a missing section. */
.collapsible-section.is-collapsed {
  margin:14px 18px;
  border:1px solid #444a70;
  border-radius:13px;
  background:linear-gradient(115deg,#171a2d,#101321);
  box-shadow:inset 0 1px #ffffff0b,0 12px 24px #00000024;
}
.set-effects-section.is-collapsed,.equipment-section.is-collapsed { border-top:1px solid #444a70; border-bottom:1px solid #444a70; }
.collapsible-section.is-collapsed .section-collapse-trigger {
  min-height:66px;
  padding:14px 16px 14px 18px;
  border-radius:12px;
  background:radial-gradient(circle at 96% 50%,#9eff6010,transparent 26%),linear-gradient(105deg,#1d2037,#111321);
}
.collapsible-section.is-collapsed .section-collapse-trigger:hover { background:radial-gradient(circle at 96% 50%,#9eff6020,transparent 30%),linear-gradient(105deg,#222640,#15172a); }
.collapsible-section.is-collapsed .section-collapse-trigger .eyebrow { display:flex; align-items:center; gap:10px; font-size:.75rem; }
.collapsible-section.is-collapsed .section-collapse-trigger .eyebrow::before { content:""; width:8px; height:8px; flex:0 0 auto; border:1px solid #baff8b; border-radius:2px; background:#9eff60; box-shadow:0 0 11px #9eff6088; transform:rotate(45deg); }
.section-collapse-icon { width:32px; height:32px; flex:0 0 auto; background:url("/(C)%20section-expand-icon.svg") center/contain no-repeat; color:transparent; font-size:0; transform:none !important; filter:drop-shadow(0 0 5px #a896ff44); }
.section-collapse-trigger[aria-expanded="true"] .section-collapse-icon { background-image:url("/(C)%20section-collapse-icon.svg"); filter:drop-shadow(0 0 6px #9eff6066); }

@media (max-width:780px) {
  .equipment-section .section-collapse-trigger { padding:27px 23px 0; }
  .equipment-section .section-collapse-content { padding:0 23px 27px; }
  .set-effects-section .section-collapse-trigger { padding:23px 23px 0; }
  .set-effects-section .section-collapse-content { padding:0 23px 23px; }
  .reserved-profile-section .section-collapse-trigger { padding:23px 23px 0; }
  .reserved-profile-section .section-collapse-content { padding:0 23px 23px; }
  .collapsible-section.is-collapsed { margin:12px 10px; }
  .collapsible-section.is-collapsed .section-collapse-trigger { min-height:60px; padding:12px 13px; }
}

/* Combat Power is the primary stat: center it and give the value visual energy. */
.stat-card--combat-power {
  position:relative;
  isolation:isolate;
  align-items:center;
  text-align:center;
  background:
    radial-gradient(circle at 50% 48%,#c4ff8b2e 0 12%,transparent 42%),
    radial-gradient(circle at 50% 50%,transparent 0 31%,#aaff8026 31.5% 32%,transparent 33%),
    radial-gradient(circle at 50% 50%,transparent 0 42%,#aaff8016 42.5% 43%,transparent 44%),
    linear-gradient(145deg,#193e24,#0e1b1d 61%,#101321);
}

.stat-card--combat-power::before,
.stat-card--combat-power::after {
  position:absolute;
  z-index:-1;
  content:"";
  border:1px solid #baff8b2e;
  border-radius:999px;
  pointer-events:none;
}

.stat-card--combat-power::before { width:72%; height:36%; transform:rotate(-10deg); }
.stat-card--combat-power::after { width:59%; height:52%; transform:rotate(17deg); }

.stat-card--combat-power span {
  width:100%;
  color:#e2ffd7;
  font-size:.82rem;
  letter-spacing:.17em;
  text-align:center;
}

.stat-card--combat-power strong {
  width:100%;
  min-width:0;
  margin-top:14px;
  color:#c4ff9c;
  font-size:clamp(2.65rem,4.15vw,4.25rem);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.065em;
  line-height:1;
  white-space:nowrap;
  text-align:center;
  text-shadow:0 0 10px #cdffa163,0 0 28px #8eff5855,0 4px 0 #09200c;
}

.pet-identity-grid,.gear-group--pets .gear-slot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:10px; }
.pet-identity-grid { margin-top:14px; }
.gear-group--pets .gear-slot-grid { margin-top:10px; }
.pet-identity-card { display:flex; height:70px; min-width:0; align-items:center; justify-content:center; gap:10px; padding:9px 12px; border:1px solid #4b5072; border-radius:10px; background:linear-gradient(145deg,#171a2d,#10121f); color:#d9ddea; font-size:.78rem; font-weight:800; }
.pet-identity-card img { width:50px; height:50px; flex:0 0 auto; object-fit:contain; image-rendering:auto; }
.pet-identity-card span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gear-group--pets .equipment-card:not(.is-expanded) .equipment-card-trigger { min-height:86px; }
.pet-equipment-card { display:block; min-height:0; }
.pet-empty-slot { min-height:86px; }

.stat-card--ability { justify-content:flex-start; padding:12px 15px; border-color:#70778a; background:linear-gradient(145deg,#1b1d27,#10121d); }
.stat-card--ability > span { color:#d9ddea; font-weight:800; }
.inner-ability-lines { display:grid; gap:3px; margin-top:8px; }
.inner-ability-lines p { overflow:hidden; margin:0; color:#c9cdd8; font-size:.67rem; font-weight:700; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.inner-ability-lines .inner-ability-unavailable { color:var(--muted); font-weight:600; }

.equipment-card.is-expanded .item-detail-grid { padding-top:10px; }
.item-detail-block--grade li > span:empty { display:none; }
.item-detail-block--grade li { justify-content:flex-start; }
.item-detail-block--grade li strong { max-width:none; text-align:left; }

/* A one-pixel transparent NEXON look image is treated as unavailable, rather than as a champion sprite. */
.union-champion-sprite-placeholder { color:#8f95ad; font-size:.68rem; font-weight:800; line-height:1.45; letter-spacing:.08em; text-align:center; text-shadow:none; text-transform:uppercase; white-space:pre-line; }

/* Profile workspace tabs: everything after Character Stats belongs to one view at a time. */
.profile-tabs { border-top:1px solid var(--line); background:linear-gradient(180deg,#111426 0%,#131527 100%); }
.profile-tablist { display:flex; align-items:end; gap:7px; padding:17px 34px 0; border-bottom:1px solid #343956; }
.profile-tab { position:relative; min-width:174px; padding:12px 16px; border:1px solid transparent; border-bottom:0; border-radius:10px 10px 0 0; background:transparent; color:#979dbb; font-size:.76rem; font-weight:900; letter-spacing:.055em; text-transform:uppercase; transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease; }
.profile-tab:hover { background:#ffffff09; color:#daddf1; filter:none; }
.profile-tab:focus-visible { outline:2px solid #b9a7ff; outline-offset:-3px; }
.profile-tab.is-active { z-index:1; border-color:#6764a6; background:linear-gradient(145deg,#242453,#15182c); color:#c6f6a9; box-shadow:inset 0 2px #a69cff5c; transform:translateY(1px); }
.profile-tab.is-active::after { position:absolute; right:17px; bottom:-1px; left:17px; height:2px; background:#9eff60; box-shadow:0 0 10px #9eff6088; content:""; }
.profile-tab-panel { min-width:0; }
.profile-tab-panel.is-entering { animation:profile-tab-enter .24s ease-out both; }
.boss-wikipedia { margin:24px 0 92px; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:linear-gradient(145deg,rgba(24,28,53,.96),rgba(14,16,31,.98)); box-shadow:0 32px 70px #0005; }
.boss-wiki-shell { padding:clamp(26px,3vw,50px); }
.boss-wiki-intro { max-width:790px; }
.boss-wiki-intro h2 { margin:0; color:#f2f1ff; font:700 clamp(2.25rem,4vw,4rem)/.95 Georgia,serif; letter-spacing:-.055em; }
.boss-wiki-intro > p:last-child { max-width:720px; margin:15px 0 0; color:#aeb6d0; font-size:.88rem; line-height:1.6; }
.boss-wiki-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:28px; padding:11px; border:1px solid #414768; border-radius:13px; background:#0e1020b8; }
.boss-wiki-search { position:relative; flex:1 1 430px; max-width:660px; }
.boss-wiki-search::before { position:absolute; z-index:1; top:50%; left:14px; width:11px; height:11px; transform:translateY(-60%); border:2px solid #aeb5cf; border-radius:50%; content:""; pointer-events:none; }
.boss-wiki-search::after { position:absolute; z-index:1; top:57%; left:25px; width:7px; height:2px; transform:rotate(45deg); border-radius:2px; background:#aeb5cf; content:""; pointer-events:none; }
.boss-wiki-search input { box-sizing:border-box; width:100%; padding:11px 14px 11px 42px; border:1px solid #5a5286; border-radius:9px; background:#121426; color:#f0efff; font-size:.84rem; }
.boss-wiki-search input:focus { border-color:#ad96ff; box-shadow:0 0 0 3px #9c7dff1e; }
.boss-wiki-count { margin:0; color:#c5f6a7; font-size:.72rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.boss-wiki-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:22px; }
.boss-wiki-card { position:relative; isolation:isolate; min-width:0; overflow:visible; border:1px solid #524c80; border-radius:17px; background:radial-gradient(110% 85% at 50% -22%,#362b5d86,transparent 58%),linear-gradient(145deg,#15182d,#0b0d1a); box-shadow:inset 0 1px #ffffff0d,0 18px 38px #0000002e; transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.boss-wiki-card::before { position:absolute; z-index:-1; inset:8px; border:1px solid #a98bff1f; border-radius:11px; background:radial-gradient(circle at 20% 15%,#b18aff14,transparent 31%),radial-gradient(circle at 80% 10%,#85ffac12,transparent 27%); box-shadow:inset 0 0 38px #8060ff0c; content:""; pointer-events:none; }
.boss-wiki-card::after { position:absolute; z-index:-1; top:10px; left:22px; width:68px; height:1px; background:linear-gradient(90deg,#9c83f9,transparent); box-shadow:0 0 10px #a682ff; content:""; pointer-events:none; }
.boss-wiki-card:hover { transform:translateY(-3px); border-color:#9588d5; box-shadow:inset 0 1px #ffffff15,0 22px 45px #00000048,0 0 24px #8d72f31e; }
.boss-wiki-card-heading { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 76px; gap:16px; align-items:center; min-height:148px; padding:22px 20px 18px; border-radius:16px 16px 0 0; border-bottom:1px solid #7563a53c; background:radial-gradient(circle at 18% 5%,#503a8259,transparent 43%),linear-gradient(116deg,#29254a,#15182f 67%,#1a1733); }
.boss-wiki-card-heading::before { position:absolute; top:21px; left:20px; color:#b494ff66; font:1rem/1 Georgia,serif; content:"✦"; }
.boss-wiki-card-heading > div:first-child { position:relative; padding-top:20px; }
.boss-wiki-card h3 { overflow:hidden; margin:0; color:#f3f0ff; font:700 clamp(1.45rem,2vw,2rem)/.98 Georgia,serif; letter-spacing:-.045em; text-overflow:ellipsis; text-shadow:0 3px 17px #0008; white-space:nowrap; }
.boss-wiki-current-difficulty { display:inline-block; margin-top:11px; color:#d8d9ef; font-size:.62rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.boss-wiki-current-difficulty.boss-difficulty--easy { color:#a8efb8; }.boss-wiki-current-difficulty.boss-difficulty--normal { color:#c4ccff; }.boss-wiki-current-difficulty.boss-difficulty--chaos { color:#ffa8dc; }.boss-wiki-current-difficulty.boss-difficulty--hard { color:#ffb4aa; }.boss-wiki-current-difficulty.boss-difficulty--extreme { color:#ffe28b; }
/* Selection-sheet crops are 64 × 64 pixels; retain that exact image area. */
.boss-wiki-portrait { display:grid; width:64px; height:64px; place-items:center; overflow:hidden; border:1px solid #aa92ff; border-radius:14px; background:radial-gradient(circle,#654c9a,#17172f 66%); color:#f2e9ff; font:700 1.8rem Georgia,serif; box-shadow:0 0 0 4px #8d70f014,0 0 21px #a680ff42; }
.boss-wiki-portrait-image { display:block; width:64px; height:64px; max-width:none; object-fit:none; }
.boss-wiki-difficulties { display:flex; flex-wrap:wrap; gap:7px; padding:13px 18px; border-bottom:1px solid #76649a31; background:#0f1121b5; }
.boss-wiki-difficulty { position:relative; padding:6px 9px; border:1px solid #514a76; border-radius:8px; background:#0a0c17; color:#aeb3c9; font-size:.59rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.boss-wiki-difficulty:hover { border-color:#ad97e8; color:#f0edff; background:#24213d; filter:none; }
.boss-wiki-difficulty.is-active { border-color:#b28eff; background:linear-gradient(145deg,#49387a,#272040); color:#f5f0ff; box-shadow:inset 0 1px #ffffff21,0 0 14px #9c7dff34; }
.boss-wiki-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; padding:17px 18px 0; }
.boss-wiki-metrics > div { position:relative; display:grid; grid-template-columns:34px minmax(0,1fr); min-width:0; min-height:66px; padding:9px; border:1px solid #46436d; border-radius:11px; background:linear-gradient(135deg,#171a2d,#0b0d18); box-shadow:inset 0 1px #ffffff09; cursor:help; }
.boss-wiki-metrics > div::before { position:absolute; top:7px; left:7px; width:10px; height:10px; border-top:1px solid #a183eea0; border-left:1px solid #a183eea0; content:""; pointer-events:none; }
.boss-wiki-metrics > div:focus { border-color:#a88cff; outline:0; box-shadow:inset 0 1px #ffffff13,0 0 0 2px #9c7dff25; }
.boss-wiki-metric-rune { display:grid; width:27px; height:27px; place-items:center; align-self:center; border:1px solid #8f7dc5; border-radius:50%; color:#c8b9ff; background:radial-gradient(circle,#3c315f,#121426 70%); box-shadow:0 0 12px #9878f333; font:700 .82rem Georgia,serif; }
.boss-wiki-metric--level .boss-wiki-metric-rune { border-color:#88e89d; color:#b8ffad; box-shadow:0 0 13px #7dff9540; }.boss-wiki-metric--authentic-force .boss-wiki-metric-rune { border-color:#b18bfa; color:#e1ccff; }
.boss-wiki-metric-copy { min-width:0; }.boss-wiki-metrics dt { overflow:hidden; color:#9fa4bf; font-size:.57rem; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-metrics dd { margin:6px 0 0; }.boss-wiki-metrics dd > strong { display:block; overflow:hidden; color:#f1efff; font-size:.83rem; text-overflow:ellipsis; text-shadow:0 1px 8px #000; white-space:nowrap; }.boss-wiki-metric--level dd > strong,.boss-wiki-metric--authentic-force dd > strong { color:#c6ffad; }.boss-wiki-metrics dd > strong.is-pending { color:#d9bd91; font-weight:700; }
.boss-wiki-tooltip { position:absolute; z-index:10; bottom:calc(100% + 13px); left:50%; width:max-content; max-width:min(300px,calc(100vw - 42px)); padding:10px 12px; transform:translate(-50%,7px) scale(.98); border:1px solid #8e7cd1; border-radius:12px; background:linear-gradient(145deg,#15152a,#080a13); color:#e7e4ff; box-shadow:0 17px 36px #000b,0 0 22px #8164f12d; font-size:.66rem; font-weight:600; line-height:1.45; opacity:0; pointer-events:none; transition:opacity .16s ease,transform .16s ease; visibility:hidden; }
.boss-wiki-tooltip--table { width:244px; padding:0 12px 13px 18px; overflow:hidden; border-color:#9b83df; background:radial-gradient(circle at 15% 88%,#69f88f1b,transparent 42%),linear-gradient(145deg,#20213a,#090a13); }
.boss-wiki-metrics .boss-wiki-tooltip-title { display:block; overflow:visible; padding:13px 9px 10px 31px; color:#ebebfb; font:800 .64rem/1.2 Georgia,serif; letter-spacing:.12em; text-overflow:clip; text-transform:uppercase; white-space:normal; }
.boss-wiki-tooltip-rail { position:absolute; top:49px; bottom:18px; left:20px; width:9px; border:1px solid #adf8b8; border-radius:8px; background:repeating-linear-gradient(to bottom,#baffb9 0 7px,#355b4e 7px 11px); box-shadow:0 0 12px #79ff9c90,inset 0 0 4px #fff; }
.boss-wiki-tooltip table { position:relative; width:calc(100% - 31px); margin-left:31px; border-collapse:separate; border-spacing:0 4px; color:#e7e4ff; font-size:.66rem; line-height:1.2; }
.boss-wiki-tooltip th,.boss-wiki-tooltip td { padding:6px 9px; text-align:left; }
.boss-wiki-tooltip th { padding-top:1px; padding-bottom:4px; color:#acb2ca; font-size:.56rem; font-weight:800; letter-spacing:.04em; }
.boss-wiki-tooltip td { border-top:1px solid #60617f; border-bottom:1px solid #353653; background:#0b0d18; }
.boss-wiki-tooltip td:first-child { border-left:1px solid #454663; border-radius:7px 0 0 7px; }.boss-wiki-tooltip td:last-child { border-right:1px solid #454663; border-radius:0 7px 7px 0; }
.boss-wiki-tooltip tr.is-current td { border-color:#9c80df; background:linear-gradient(90deg,#322552,#24243c); box-shadow:0 0 13px #9a79e331; }
.boss-wiki-tooltip td:last-child,.boss-wiki-tooltip th:last-child { text-align:right; }.boss-wiki-tooltip td:last-child { color:#a9ff91; font-weight:900; }
.boss-wiki-metric:hover .boss-wiki-tooltip,.boss-wiki-metric:focus .boss-wiki-tooltip { transform:translate(-50%,0); opacity:1; visibility:visible; }
.boss-wiki-card-status { min-height:34px; margin:15px 18px 18px; color:#9fa7c2; font-size:.64rem; line-height:1.48; }

/* Boss Wikipedia's bespoke arcane-card system. The ornamental vector frame,
   rune icons, and progression rail are project-owned assets rather than a
   generic dashboard table treatment. */
.boss-wiki-card { min-height:447px; padding:12px; border:0; border-radius:29px; background:radial-gradient(100% 95% at 5% 0,#4b377979,transparent 47%),radial-gradient(75% 110% at 100% 100%,#24235473,transparent 57%),linear-gradient(142deg,#15162d,#090a15 72%); box-shadow:0 23px 45px #00000068,0 0 30px #704ee51c; }
.boss-wiki-card::before,.boss-wiki-card::after { display:none; }
.boss-wiki-card:hover,.boss-wiki-card:focus-within { z-index:20; }
.boss-wiki-card-frame { position:absolute; z-index:0; inset:0; width:100%; height:100%; pointer-events:none; user-select:none; }
.boss-wiki-card > :not(.boss-wiki-card-frame) { position:relative; z-index:1; }
.boss-wiki-card-heading { grid-template-columns:minmax(0,1fr) 93px; min-height:177px; margin:4px 5px 0; padding:31px 28px 25px; border:1px solid #9d88e13b; border-radius:20px 20px 0 0; background:radial-gradient(circle at 12% 11%,#7051a38d,transparent 35%),radial-gradient(75% 150% at 100% 0,#3e2f6f5c,transparent 55%),linear-gradient(114deg,#2a214d,#171831 65%,#19182f); box-shadow:inset 0 1px #ffffff15; }
.boss-wiki-card-heading::before { top:22px; left:29px; color:#bea0ff; font-size:1.15rem; text-shadow:0 0 13px #b18cff; }
.boss-wiki-card-heading > div:first-child { padding-top:14px; }
.boss-wiki-card-heading > div:first-child::before,.boss-wiki-card-heading > div:first-child::after { display:none; }
.boss-wiki-card h3 { display:flex; align-items:center; gap:15px; overflow:visible; font-family:"Palatino Linotype",Georgia,serif; font-size:clamp(2rem,3.4vw,3.15rem); font-weight:700; letter-spacing:-.065em; text-shadow:0 5px 22px #05040d; white-space:normal; }
.boss-wiki-card h3::after { height:1px; flex:1 1 32px; min-width:18px; margin-top:6px; background:linear-gradient(90deg,#c3a6ffb7,transparent); box-shadow:0 0 9px #a987ff99; content:""; }
.boss-wiki-current-difficulty { margin-top:14px; color:#ccffc1; font-family:"Palatino Linotype",Georgia,serif; font-size:.68rem; letter-spacing:.13em; text-shadow:0 0 9px #75fa8b88; }
.boss-wiki-portrait { width:72px; height:72px; border:2px solid #d3b6ff; border-radius:17px; background:#18142d; box-shadow:0 0 0 8px #b68dff13,0 0 30px #ad7fff8f,inset 0 0 0 2px #090a16; }
.boss-wiki-portrait::before { position:absolute; width:89px; height:89px; border:1px solid #c5a6ff5a; border-radius:50%; content:""; pointer-events:none; }
.boss-wiki-portrait-image { width:64px; height:64px; border-radius:12px; }
.boss-wiki-difficulties { margin:0 5px; padding:15px 23px; border-top:1px solid #bca5ff23; border-bottom:1px solid #a68bda45; background:#0d0e1b94; }
.boss-wiki-difficulty { display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border-color:#655c91; border-radius:8px; background:#0b0c18; color:#bebbd4; font-size:.62rem; letter-spacing:.08em; }
.boss-wiki-difficulty-icon { width:17px; height:17px; flex:0 0 auto; filter:drop-shadow(0 0 5px #b18cff6e); }
.boss-wiki-difficulty.is-active { border-color:#c6a6ff; background:linear-gradient(145deg,#5a418b,#2d2547); box-shadow:inset 0 1px #ffffff35,0 0 15px #a27bff66; }
.boss-wiki-metrics { gap:13px; margin:0 5px; padding:21px 21px 0; }
.boss-wiki-metrics > div { grid-template-columns:45px minmax(0,1fr); min-height:78px; padding:12px 13px; border:1px solid #8978c9; border-radius:13px; background:linear-gradient(135deg,#14162a,#0b0c18); box-shadow:inset 0 1px #ffffff10,0 8px 18px #00000026; }
.boss-wiki-metrics > div::before { top:9px; left:9px; width:14px; height:14px; border-color:#c7b0ffb4; }
.boss-wiki-metric-rune { width:35px; height:35px; align-self:center; border:0; border-radius:0; background:none; box-shadow:none; }
.boss-wiki-metric-rune img { display:block; width:35px; height:35px; filter:drop-shadow(0 0 8px #9e7cff80); }
.boss-wiki-metric--level .boss-wiki-metric-rune,.boss-wiki-metric--authentic-force .boss-wiki-metric-rune { border:0; box-shadow:none; }
.boss-wiki-metric--level .boss-wiki-metric-rune img { filter:drop-shadow(0 0 9px #83ff9f9e); }
.boss-wiki-metrics dt { color:#adb1c8; font-size:.6rem; letter-spacing:.015em; }.boss-wiki-metrics dd { margin-top:7px; }.boss-wiki-metrics dd > strong { color:#f7f4ff; font-family:"Palatino Linotype",Georgia,serif; font-size:1rem; letter-spacing:.01em; }.boss-wiki-metric--level dd > strong,.boss-wiki-metric--authentic-force dd > strong { color:#c8ffad; text-shadow:0 0 11px #75ff9280; }
.boss-wiki-phases { position:relative; z-index:1; margin:17px 5px 0; border:1px solid #806bbf; border-radius:14px; background:linear-gradient(145deg,#121426,#090a15); box-shadow:inset 0 1px #ffffff0d,0 10px 24px #0000002d; }
.boss-wiki-phases::before { position:absolute; top:0; right:18px; left:18px; height:1px; background:linear-gradient(90deg,transparent,#c5a5ff99 18% 82%,transparent); box-shadow:0 0 9px #a980ff7a; content:""; pointer-events:none; }
.boss-wiki-phases summary { display:grid; grid-template-columns:minmax(0,1fr) auto 29px; gap:12px; align-items:center; min-height:54px; padding:0 18px; cursor:pointer; list-style:none; }
.boss-wiki-phases summary::-webkit-details-marker { display:none; }
.boss-wiki-phases summary:hover { background:#ffffff08; }
.boss-wiki-phases summary:focus-visible { outline:2px solid #bd9aff; outline-offset:3px; }
.boss-wiki-phase-title { color:#f0ecff; font:700 .92rem/1 "Palatino Linotype",Georgia,serif; letter-spacing:.13em; text-transform:uppercase; }
.boss-wiki-phase-title::before { display:inline-block; width:20px; height:20px; margin:0 10px -5px 0; border:1px solid #b99dff; border-radius:50% 50% 50% 4px; box-shadow:0 0 10px #a67dff92; content:""; transform:rotate(45deg); }
.boss-wiki-phase-count { color:#c3ff9e; font-size:.8rem; font-weight:900; letter-spacing:.065em; text-align:right; text-transform:uppercase; white-space:nowrap; }
.boss-wiki-phase-chevron { position:relative; width:24px; height:24px; border:1px solid #7459a4; border-radius:7px; background:#1a1630; box-shadow:inset 0 1px #ffffff12; transition:transform .2s ease,background .2s ease; }
.boss-wiki-phase-chevron::before,.boss-wiki-phase-chevron::after { position:absolute; top:11px; width:8px; height:2px; border-radius:2px; background:#d5c2ff; content:""; }
.boss-wiki-phase-chevron::before { left:5px; transform:rotate(45deg); }.boss-wiki-phase-chevron::after { right:5px; transform:rotate(-45deg); }
.boss-wiki-phases[open] .boss-wiki-phase-chevron { transform:rotate(180deg); background:#382553; }
.boss-wiki-phase-list { display:grid; gap:0; padding:0 18px 17px; border-top:1px solid #a98cf145; }
.boss-wiki-phase { display:grid; gap:10px; padding:14px 0; border-bottom:1px solid #ffffff10; }.boss-wiki-phase:last-child { padding-bottom:4px; border-bottom:0; }
.boss-wiki-phase-heading { display:grid; grid-template-columns:29px minmax(0,1fr) auto auto; gap:9px; align-items:center; }
.boss-wiki-phase-rune { display:grid; width:26px; height:26px; place-items:center; border:1px solid #aa8bff; border-radius:6px; color:#e5d8ff; background:radial-gradient(circle,#4b3970,#171326 70%); box-shadow:0 0 10px #936dff65; font:800 .5rem/1 system-ui,sans-serif; }
.boss-wiki-phase:nth-child(3n) .boss-wiki-phase-rune { border-color:#82dcfa; color:#d2f8ff; box-shadow:0 0 11px #66cfff7a; }
.boss-wiki-phase-heading strong { overflow:hidden; color:#eceaff; font:700 .9rem/1.2 "Palatino Linotype",Georgia,serif; letter-spacing:.055em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.boss-wiki-phase-hp { color:#f3efff; font-size:.94rem; font-weight:900; text-shadow:0 1px 8px #000; white-space:nowrap; }.boss-wiki-phase-share { min-width:42px; color:#aaffd7; font-size:.84rem; font-weight:900; text-align:right; text-shadow:0 0 8px #79ffc399; }
.boss-wiki-phase-track { display:flex; height:12px; overflow:hidden; border:1px solid #564a7a; border-radius:999px; background:repeating-linear-gradient(90deg,#0a0b15 0,#0a0b15 calc(12.5% - 1px),#312a4a calc(12.5% - 1px),#312a4a 12.5%); box-shadow:inset 0 1px #ffffff08; }
.boss-wiki-phase-segment { min-width:1px; border-right:1px solid #ffffffbf; box-shadow:inset 0 1px #ffffff45,0 0 10px var(--phase-glow,#9c7bff96); }
.boss-wiki-phase-segment:nth-child(6n + 1) { --phase-glow:#9c7bffb8; background:linear-gradient(90deg,#764fd1,#aa85ff 52%,#d0bcff); }
.boss-wiki-phase-segment:nth-child(6n + 2) { --phase-glow:#53d9ffb8; background:linear-gradient(90deg,#247bc2,#49caf2 50%,#a3f5ff); }
.boss-wiki-phase-segment:nth-child(6n + 3) { --phase-glow:#78f6b0b8; background:linear-gradient(90deg,#238b70,#51dca5 50%,#b7ffd9); }
.boss-wiki-phase-segment:nth-child(6n + 4) { --phase-glow:#ffd36cb8; background:linear-gradient(90deg,#b36a20,#f1b947 50%,#fff0a5); }
.boss-wiki-phase-segment:nth-child(6n + 5) { --phase-glow:#ff8b74b8; background:linear-gradient(90deg,#ba4d40,#f37b5d 50%,#ffd0bd); }
.boss-wiki-phase-segment:nth-child(6n) { --phase-glow:#ff78d6b8; background:linear-gradient(90deg,#a53d97,#df65c8 50%,#ffc0ef); }
.boss-wiki-phase--group { gap:12px; padding-bottom:16px; }.boss-wiki-phase--group .boss-wiki-phase-heading { padding-bottom:12px; border-bottom:1px solid #aa8bff45; }
.boss-wiki-phase-components { display:grid; gap:12px; padding-left:38px; }
.boss-wiki-phase-component { display:grid; gap:8px; }.boss-wiki-phase-component + .boss-wiki-phase-component { padding-top:12px; border-top:1px solid #ffffff10; }
.boss-wiki-phase-component-heading { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:center; }
.boss-wiki-phase-component-heading strong { overflow:hidden; color:#dcd7f3; font:700 .8rem/1.2 "Palatino Linotype",Georgia,serif; letter-spacing:.05em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.boss-wiki-phase-component-hp { color:#f3efff; font-size:.84rem; font-weight:900; white-space:nowrap; }.boss-wiki-phase-component-share { min-width:42px; color:#aaffd7; font-size:.76rem; font-weight:900; text-align:right; text-shadow:0 0 8px #79ffc399; }
.boss-wiki-rewards { position:relative; z-index:1; margin:12px 5px 0; border:1px solid #4e8d83; border-radius:14px; background:linear-gradient(145deg,#101a22,#090d15); box-shadow:inset 0 1px #d7fff10b,0 10px 24px #0000002d; }
.boss-wiki-rewards::before { position:absolute; top:0; right:18px; left:18px; height:1px; background:linear-gradient(90deg,transparent,#7affce8a 18% 82%,transparent); box-shadow:0 0 9px #69ffca6e; content:""; pointer-events:none; }
.boss-wiki-rewards summary { display:grid; grid-template-columns:minmax(0,1fr) auto auto 29px; gap:10px; align-items:center; min-height:50px; padding:0 18px; cursor:pointer; list-style:none; }.boss-wiki-rewards summary::-webkit-details-marker { display:none; }.boss-wiki-rewards summary:hover { background:#ffffff08; }.boss-wiki-rewards summary:focus-visible { outline:2px solid #85f2ce; outline-offset:3px; }
.boss-wiki-reward-title { color:#edfdf7; font:700 .84rem/1 "Palatino Linotype",Georgia,serif; letter-spacing:.13em; text-transform:uppercase; }.boss-wiki-reward-title::before { display:inline-block; width:14px; height:14px; margin:0 12px -2px 3px; border:1px solid #8fffd3; background:radial-gradient(circle,#dcfff2 0 18%,#5be7b0 22% 43%,#173b38 48%); box-shadow:0 0 10px #72ffcda3; content:""; transform:rotate(45deg); }
.boss-wiki-reward-count { color:#b9ffd0; font-size:.75rem; font-weight:900; letter-spacing:.065em; text-align:right; text-transform:uppercase; white-space:nowrap; }.boss-wiki-reward-energy { padding:5px 8px 4px; border:1px solid #f4c86b96; border-radius:8px 3px 8px 3px; color:#ffdda0; background:linear-gradient(135deg,#5d3f1a87,#201509a8); box-shadow:inset 0 1px #fff3bd2b,0 0 12px #eeb34832; font-size:.62rem; font-weight:900; letter-spacing:.045em; text-transform:uppercase; white-space:nowrap; }.boss-wiki-reward-energy::before { margin-right:5px; color:#fff0b4; content:"✦"; }.boss-wiki-reward-energy.is-empty { border-color:#7382938c; color:#b2bdca; background:linear-gradient(135deg,#26313a86,#151a23a8); box-shadow:inset 0 1px #e6f1ff18; }.boss-wiki-reward-energy.is-empty::before { color:#c4cfdd; content:"—"; }.boss-wiki-rewards[open] .boss-wiki-phase-chevron { transform:rotate(180deg); background:#194438; }
.boss-wiki-reward-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(116px,1fr)); gap:10px; margin:0; padding:15px 18px 19px; border-top:1px solid #78d9b43d; list-style:none; }
.boss-wiki-reward-item { position:relative; display:grid; min-width:0; min-height:132px; grid-template-rows:76px minmax(34px,auto); gap:8px; align-items:center; justify-items:center; padding:11px 8px 9px; border:1px solid #64bda17a; border-radius:11px; color:#e6f7f1; background:linear-gradient(145deg,#132923 0%,#0d171b 52%,#0a1017 100%); box-shadow:inset 0 1px #ffffff12,inset 0 -14px 22px #00000030,0 6px 12px #00000024; cursor:help; outline:0; }
.boss-wiki-reward-item::before { position:absolute; top:0; right:15px; left:15px; height:1px; background:linear-gradient(90deg,transparent,#a8ffe0,transparent); box-shadow:0 0 8px #83ffcfab; content:""; }.boss-wiki-reward-item:hover,.boss-wiki-reward-item:focus-visible { z-index:8; border-color:#9dffe0; background:linear-gradient(145deg,#194036 0%,#101f22 56%,#0b1219 100%); box-shadow:inset 0 1px #ffffff18,0 0 0 1px #6df4bf3d,0 9px 17px #00000035,0 0 18px #55f2bd29; transform:translateY(-2px); }
.boss-wiki-reward-icon-frame { position:relative; display:grid; width:68px; height:68px; place-items:center; border:2px solid #a8ffda; border-radius:14px; background:radial-gradient(circle at 50% 40%,#38685880,#132722 62%,#0c1419); box-shadow:inset 0 0 0 1px #ecfff54a,inset 0 0 16px #00000064,0 0 16px #62e5b273; isolation:isolate; overflow:hidden; }.boss-wiki-reward-icon-frame::after { position:absolute; z-index:2; inset:4px; border:1px solid #e6fff694; border-radius:9px; box-shadow:inset 0 0 8px #74ffd356,0 0 7px #97ffdc5e; content:""; pointer-events:none; }
.boss-wiki-reward-icon { position:relative; z-index:1; width:68px; height:68px; object-fit:contain; filter:drop-shadow(0 3px 5px #000b); }.boss-wiki-reward-name { display:-webkit-box; overflow:hidden; color:#ecfff7; font-size:.64rem; font-weight:800; letter-spacing:.012em; line-height:1.28; text-align:center; text-wrap:balance; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.boss-wiki-reward-item.has-quantity .boss-wiki-reward-name { padding-bottom:14px; }
.boss-wiki-reward-quantity { position:absolute; z-index:3; right:7px; bottom:7px; min-width:29px; padding:4px 5px 3px; border:1px solid #8fffd5; border-radius:7px 3px 7px 3px; color:#d9fff0; background:linear-gradient(135deg,#1a6a57,#0b2925); box-shadow:inset 0 1px #e4fff52b,0 0 10px #56f0b86e; font:900 .62rem/1 system-ui,sans-serif; letter-spacing:.02em; text-align:center; text-shadow:0 1px 2px #001b13; }
.boss-wiki-reward-tooltip { position:absolute; z-index:20; bottom:calc(100% + 12px); left:50%; display:grid; width:min(252px,calc(100vw - 36px)); gap:7px; padding:13px 14px 12px; border:1px solid #8fffd4; border-radius:11px; color:#e9fff7; background:linear-gradient(145deg,#102d29,#0b131a 64%,#090d16); box-shadow:inset 0 1px #ffffff19,0 18px 30px #000d,0 0 24px #63f5bf48; cursor:default; opacity:0; pointer-events:none; transform:translate(-50%,6px); transition:opacity .16s ease,transform .16s ease,visibility .16s ease; visibility:hidden; }.boss-wiki-reward-tooltip::before { position:absolute; top:100%; right:0; left:0; height:14px; background:transparent; content:""; }.boss-wiki-reward-tooltip::after { position:absolute; bottom:-6px; left:50%; width:10px; height:10px; border-right:1px solid #8fffd4; border-bottom:1px solid #8fffd4; background:#0c171b; content:""; transform:translateX(-50%) rotate(45deg); }
.boss-wiki-reward-tooltip-stats { display:grid; gap:7px; margin-top:2px; padding:9px; border:1px solid #77c4ff88; border-radius:8px; background:linear-gradient(145deg,#132638,#0b0d19); box-shadow:inset 0 1px #d8f2ff14; }.boss-wiki-reward-tooltip-stats-heading { color:#9adfff; font-size:.59rem; font-weight:900; letter-spacing:.08em; line-height:1.25; text-transform:uppercase; }.boss-wiki-reward-tooltip-stats-rows { display:grid; gap:4px; }.boss-wiki-reward-tooltip-stat-row { display:flex; align-items:baseline; justify-content:space-between; gap:10px; color:#c1cce0; font-size:.66rem; line-height:1.25; }.boss-wiki-reward-tooltip-stat-row strong { color:#ecf7ff; font-weight:900; text-align:right; }.boss-wiki-reward-tooltip-source--stats { color:#9adfff; }
.boss-wiki-reward-set-progress { display:grid; gap:7px; margin-top:2px; padding:9px; border:1px solid #bd9cff8c; border-radius:8px; background:linear-gradient(145deg,#272044,#100f20); box-shadow:inset 0 1px #f1e8ff18; }.boss-wiki-reward-set-progress-heading { color:#dfd1ff; font-size:.58rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }.boss-wiki-reward-set-progress-row { display:grid; gap:4px; color:#c3bfd8; font-size:.64rem; line-height:1.35; }.boss-wiki-reward-set-progress-row strong { color:#f3edff; font-size:.65rem; }.boss-wiki-reward-set-progress-count { color:#baff98; font-weight:850; }.boss-wiki-reward-set-progress-gain { color:#d4ffbd; font-weight:750; }.boss-wiki-reward-set-progress-cp { padding-top:5px; border-top:1px solid #c7b2ff2b; color:#a9a3bf; font-size:.57rem; }
.boss-wiki-reward-set-panel { position:absolute; z-index:21; bottom:calc(100% + 12px); left:calc(50% + 145px); display:grid; width:330px; max-width:calc(100vw - 34px); gap:9px; padding:13px; border:1px solid #bfa2ff; border-radius:12px; color:#e7e0ff; background:linear-gradient(145deg,#282044,#11101f 58%,#0a0c15); box-shadow:inset 0 1px #ffffff22,0 20px 34px #000d,0 0 25px #a67bff50; cursor:default; opacity:0; pointer-events:none; transform:translateY(6px); transition:opacity .16s ease,transform .16s ease,visibility .16s ease; visibility:hidden; }.boss-wiki-reward-item.is-set-panel-left .boss-wiki-reward-set-panel { right:calc(50% + 145px); left:auto; }.boss-wiki-reward-set-panel::before { position:absolute; top:0; bottom:-14px; left:-22px; width:22px; background:transparent; content:""; }.boss-wiki-reward-item.is-set-panel-left .boss-wiki-reward-set-panel::before { right:-22px; left:auto; }.boss-wiki-reward-set-panel::after { position:absolute; bottom:-6px; left:-6px; width:12px; height:12px; border-right:1px solid #bfa2ff; border-bottom:1px solid #bfa2ff; background:#131120; box-shadow:2px 2px 6px #0008; content:""; transform:rotate(45deg); }.boss-wiki-reward-item.is-set-panel-left .boss-wiki-reward-set-panel::after { right:-6px; left:auto; border-right:0; border-bottom:0; border-top:1px solid #bfa2ff; border-left:1px solid #bfa2ff; box-shadow:-2px -2px 6px #0008; }.boss-wiki-reward-set-panel-header { display:grid; grid-template-columns:1fr auto; gap:2px 10px; align-items:end; padding-bottom:9px; border-bottom:1px solid #d8c5ff36; }.boss-wiki-reward-set-panel-header span:first-child { grid-column:1 / -1; color:#bba5ef; font-size:.54rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }.boss-wiki-reward-set-panel-header strong { color:#fff5ff; font:800 .84rem/1.1 "Palatino Linotype",Georgia,serif; letter-spacing:.07em; text-transform:uppercase; }.boss-wiki-reward-set-panel-count { color:#baff9b; font-size:.66rem; font-weight:900; text-align:right; white-space:nowrap; }.boss-wiki-reward-set-panel-note { margin:0; color:#c9c2df; font-size:.62rem; line-height:1.35; }.boss-wiki-reward-set-panel-pieces { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; margin:0; padding:0; list-style:none; }.boss-wiki-reward-set-panel-pieces li { display:grid; grid-template-columns:15px minmax(0,1fr); gap:3px 5px; align-items:center; min-width:0; padding:6px; border:1px solid #534d6a; border-radius:7px; background:#0b0c17b8; }.boss-wiki-reward-set-panel-piece-marker { display:grid; grid-row:1 / span 2; width:14px; height:14px; place-items:center; border:1px solid #84799e; border-radius:50%; color:transparent; background:#211b33; font-size:.58rem; font-weight:900; }.boss-wiki-reward-set-panel-pieces strong { overflow:hidden; color:#e3dff0; font-size:.58rem; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-reward-set-panel-pieces small { overflow:hidden; color:#9690ad; font-size:.48rem; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-reward-set-panel-pieces li.is-equipped { border-color:#7be9a5aa; background:#113225bd; }.boss-wiki-reward-set-panel-pieces li.is-equipped .boss-wiki-reward-set-panel-piece-marker { border-color:#a6ffbf; color:#173526; background:#75f29d; box-shadow:0 0 8px #6dffaa8a; }.boss-wiki-reward-set-panel-pieces li.is-equipped strong { color:#d6ffe4; }.boss-wiki-reward-set-panel-pieces li.is-reward { border-color:#e6c082; background:#3728139c; }.boss-wiki-reward-set-panel-pieces li.is-reward .boss-wiki-reward-set-panel-piece-marker { border-color:#ffe0a2; color:#fff2ca; background:#846024; box-shadow:0 0 9px #ffce6f75; }.boss-wiki-reward-set-panel-pieces li.is-reward strong { color:#fff0c8; }.boss-wiki-reward-set-panel-effects { display:grid; gap:4px; padding-top:2px; }.boss-wiki-reward-set-panel-effect { display:grid; grid-template-columns:43px minmax(0,1fr); gap:7px; padding:5px 6px; border:1px solid #4d4861; border-radius:6px; color:#aaa4bd; background:#0c0d17; font-size:.54rem; line-height:1.3; }.boss-wiki-reward-set-panel-effect strong { color:#d0c7e7; font-size:.54rem; letter-spacing:.035em; text-transform:uppercase; }.boss-wiki-reward-set-panel-effect.is-active { border-color:#7fe8a6a5; color:#c9ffdb; background:#173126a8; }.boss-wiki-reward-set-panel-effect.is-active strong { color:#acffc7; }.boss-wiki-reward-set-panel-effect.is-new { border-color:#ffcf83; color:#fff0c9; background:linear-gradient(90deg,#523b1d,#242033); box-shadow:0 0 13px #ffc5673d; }.boss-wiki-reward-set-panel-effect.is-new strong { color:#ffe5a6; }.boss-wiki-reward-set-panel-cp { margin:0; padding-top:8px; border-top:1px solid #d5c2ff2b; color:#aba3c2; font-size:.54rem; line-height:1.35; }.boss-wiki-reward-set-panel-source { width:max-content; max-width:100%; overflow:hidden; color:#cbb0ff; font-size:.56rem; font-weight:800; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-reward-set-panel-source:hover { color:#eee3ff; text-decoration:underline; }
.boss-wiki-reward-item:hover .boss-wiki-reward-tooltip,.boss-wiki-reward-item:focus-visible .boss-wiki-reward-tooltip { opacity:1; pointer-events:auto; transform:translate(-50%,0); visibility:visible; }.boss-wiki-reward-tooltip-category { color:#a5ffca; font-size:.61rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.boss-wiki-reward-tooltip-set { width:max-content; max-width:100%; overflow:hidden; padding:4px 7px; border:1px solid #ad94ff80; border-radius:999px; color:#ddd2ff; background:#3f2a6a4a; font-size:.57rem; font-weight:900; letter-spacing:.05em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }.boss-wiki-reward-tooltip-description { color:#e7f8f2; font-size:.72rem; font-weight:650; line-height:1.42; }.boss-wiki-reward-tooltip-source { width:max-content; max-width:100%; overflow:hidden; padding-top:7px; border-top:1px solid #8fffd43d; color:#83f6c3; font-size:.61rem; font-weight:800; letter-spacing:.03em; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-reward-tooltip-source:hover { color:#d0ffea; text-decoration:underline; }
.boss-wiki-reward-item:hover .boss-wiki-reward-set-panel,.boss-wiki-reward-item:focus-visible .boss-wiki-reward-set-panel { opacity:1; pointer-events:auto; transform:translateY(0); visibility:visible; }
.boss-wiki-set-preview-list { display:grid; gap:9px; padding:0 18px 18px; border-top:1px solid #78d9b43d; }.boss-wiki-set-preview-list:empty { display:none; }.boss-wiki-set-preview { overflow:hidden; border:1px solid #9c7ad5a8; border-radius:10px; background:linear-gradient(145deg,#201b38,#0e1020 66%); box-shadow:inset 0 1px #f1eaff13; }.boss-wiki-set-preview summary { display:grid; grid-template-columns:minmax(0,1fr) auto 25px; gap:9px; align-items:center; min-height:42px; padding:0 12px; cursor:pointer; list-style:none; }.boss-wiki-set-preview summary::-webkit-details-marker { display:none; }.boss-wiki-set-preview summary:hover { background:#ffffff08; }.boss-wiki-set-preview[open] .boss-wiki-phase-chevron { transform:rotate(180deg); background:#493372; }.boss-wiki-set-preview-title { overflow:hidden; color:#f0eaff; font:800 .7rem/1.2 "Palatino Linotype",Georgia,serif; letter-spacing:.1em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }.boss-wiki-set-preview-title::before { display:inline-block; width:10px; height:10px; margin:0 8px 1px 1px; border:1px solid #e1c8ff; background:radial-gradient(circle,#fff5ff 0 18%,#ab82f4 24% 48%,#2b2046 52%); box-shadow:0 0 9px #b98cff8d; content:""; transform:rotate(45deg); }.boss-wiki-set-preview-count { color:#c9ffa9; font-size:.62rem; font-weight:900; white-space:nowrap; }.boss-wiki-set-preview-body { display:grid; gap:10px; padding:11px 12px 12px; border-top:1px solid #b5a0f333; }.boss-wiki-set-preview-status { margin:0; color:#c5c2d9; font-size:.65rem; line-height:1.4; }.boss-wiki-set-piece-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:6px; margin:0; padding:0; list-style:none; }.boss-wiki-set-piece-list li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:center; min-width:0; padding:7px 8px; border:1px solid #565070; border-radius:7px; color:#aaa7bf; background:#0c0d18a8; font-size:.6rem; }.boss-wiki-set-piece-list li::before { width:7px; height:7px; border:1px solid #827aa2; border-radius:50%; background:#242038; box-shadow:0 0 0 2px #161425; content:""; }.boss-wiki-set-piece-list li.is-equipped { border-color:#83eeb0a8; color:#b9ffcf; background:#13332783; }.boss-wiki-set-piece-list li.is-equipped::before { border-color:#b9ffd0; background:#5cf6a1; box-shadow:0 0 9px #5effa0a8; }.boss-wiki-set-piece-list span { grid-column:2; grid-row:1; color:#aaa4be; font-size:.53rem; text-align:right; }.boss-wiki-set-piece-list strong { grid-column:1 / -1; overflow:hidden; color:#e5e0f4; font-size:.61rem; text-overflow:ellipsis; white-space:nowrap; }.boss-wiki-set-piece-list li.is-equipped strong { color:#d5ffe4; }.boss-wiki-set-effect-list { display:grid; gap:5px; }.boss-wiki-set-effect { display:grid; grid-template-columns:86px minmax(0,1fr); gap:8px; align-items:start; padding:7px 8px; border:1px solid #514b68; border-radius:7px; color:#aaa5bd; background:#0d0d18; font-size:.6rem; line-height:1.35; }.boss-wiki-set-effect strong { color:#d1c8e9; font-size:.59rem; letter-spacing:.035em; text-transform:uppercase; }.boss-wiki-set-effect.is-active { border-color:#86e6aaa3; color:#c8ffdc; background:linear-gradient(90deg,#1b403188,#111525); box-shadow:inset 0 0 13px #59e99a16; }.boss-wiki-set-effect.is-active strong { color:#aaffc5; }.boss-wiki-set-effect-line { min-width:0; }.boss-wiki-set-preview-source { width:max-content; max-width:100%; color:#c9a8ff; font-size:.59rem; font-weight:800; text-decoration:none; }.boss-wiki-set-preview-source:hover { color:#e7d7ff; text-decoration:underline; }
@media (max-width:760px) { .boss-wiki-reward-set-panel { right:auto; bottom:auto; left:50%; top:calc(100% + 10px); width:min(330px,calc(100vw - 34px)); transform:translate(-50%,-6px); }.boss-wiki-reward-item.is-set-panel-left .boss-wiki-reward-set-panel { right:auto; left:50%; }.boss-wiki-reward-set-panel::after,.boss-wiki-reward-item.is-set-panel-left .boss-wiki-reward-set-panel::after { top:-6px; right:auto; bottom:auto; left:50%; border-top:1px solid #bfa2ff; border-left:1px solid #bfa2ff; border-right:0; border-bottom:0; box-shadow:-2px -2px 6px #0008; transform:translateX(-50%) rotate(45deg); }.boss-wiki-reward-item:hover .boss-wiki-reward-set-panel,.boss-wiki-reward-item:focus-visible .boss-wiki-reward-set-panel { transform:translate(-50%,0); } }
@media (max-width:430px) { .boss-wiki-reward-list { grid-template-columns:repeat(2,minmax(0,1fr)); padding:12px; gap:8px; }.boss-wiki-reward-item { min-height:124px; grid-template-rows:70px minmax(32px,auto); padding:9px 6px 8px; }.boss-wiki-reward-icon-frame { width:62px; height:62px; }.boss-wiki-reward-icon { width:62px; height:62px; }.boss-wiki-reward-name { font-size:.62rem; }.boss-wiki-set-preview-list { padding:0 12px 12px; }.boss-wiki-set-effect { grid-template-columns:1fr; gap:4px; }.boss-wiki-reward-set-panel-pieces { grid-template-columns:1fr; } }
.boss-wiki-phase-pending { margin:14px 0 1px; color:#d9bd91; font-size:.64rem; line-height:1.45; }
.boss-wiki-phases.is-pending { border-color:#80684a; }.boss-wiki-phases.is-pending .boss-wiki-phase-count { color:#e5c58e; }
.boss-wiki-card-status { min-height:31px; margin:16px 26px 21px; color:#aeb1c7; font-size:.65rem; }
.boss-wiki-tooltip { z-index:30; bottom:calc(100% + 17px); padding:12px 14px; border-color:#b8a0f6; border-radius:15px; background:#0a0b16; box-shadow:0 22px 45px #000d,0 0 30px #916cff42; }
.boss-wiki-tooltip--table { width:320px; max-width:calc(100vw - 42px); min-height:352px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:0 22px 45px #000d,0 0 30px #916cff42; overflow:visible; }
.boss-wiki-tooltip-frame { position:absolute; z-index:0; inset:0; width:100%; height:100%; pointer-events:none; }
.boss-wiki-tooltip--table > :not(.boss-wiki-tooltip-frame) { position:relative; z-index:1; }
.boss-wiki-tooltip--table > .boss-wiki-tooltip-rail { position:absolute; }
.boss-wiki-metrics .boss-wiki-tooltip-title { padding:31px 30px 14px 87px; color:#f1edff; font:700 .88rem/1.1 "Palatino Linotype",Georgia,serif; letter-spacing:.1em; text-shadow:0 2px 10px #000; }
.boss-wiki-tooltip-badge { position:absolute; top:22px; left:30px; display:grid; width:34px; height:34px; place-items:center; border:1px solid #c7afff; border-radius:50%; color:#f0e7ff; background:radial-gradient(circle at 35% 30%,#7254a6,#211936 66%); box-shadow:0 0 0 4px #9e7eff18,0 0 15px #ae83ff8a; font:800 .53rem/1 system-ui,sans-serif; letter-spacing:.03em; }
.boss-wiki-tooltip-badge.is-level { border-color:#aaffac; color:#d7ffc7; background:radial-gradient(circle at 35% 30%,#4f8c61,#182c23 67%); box-shadow:0 0 0 4px #7cff9818,0 0 15px #86ff9c8a; }
.boss-wiki-tooltip-badge.is-force { color:#f3dcff; font:700 1.25rem/1 "Palatino Linotype",Georgia,serif; }
.boss-wiki-tooltip-rail { top:73px; bottom:31px; left:28px; width:48px; border:0; border-radius:0; background:none; box-shadow:none; }
.boss-wiki-tooltip-rail img { display:block; width:100%; height:100%; }
.boss-wiki-tooltip table { width:calc(100% - 102px); margin:0 29px 21px 83px; border-spacing:0 8px; font-size:.76rem; }
.boss-wiki-tooltip th,.boss-wiki-tooltip td { padding:8px 12px; }.boss-wiki-tooltip th { padding-top:0; padding-bottom:4px; color:#c5c7d7; font-size:.62rem; letter-spacing:.05em; }.boss-wiki-tooltip td { border-top:1px solid #777493; border-bottom:1px solid #4e4b69; background:#10111f; }.boss-wiki-tooltip td:first-child { border-left:1px solid #696681; border-radius:10px 0 0 10px; }.boss-wiki-tooltip td:last-child { border-right:1px solid #696681; border-radius:0 10px 10px 0; }.boss-wiki-tooltip tr.is-current td { border-color:#c0a1ff; background:linear-gradient(90deg,#5b438c,#28243d); box-shadow:0 0 16px #a178ff70; }.boss-wiki-tooltip td:last-child { color:#c0ff9e; text-shadow:0 0 10px #79ff9990; }
.boss-efficiency-panel { min-height:300px; }
.boss-efficiency-shell { container-type:inline-size; padding:clamp(26px,2.1vw,44px); }
.boss-efficiency-intro { max-width:750px; }
.boss-efficiency-intro h3 { margin:0; font:700 clamp(1.9rem,3.4vw,2.75rem)/1 Georgia,serif; letter-spacing:-.05em; }
.boss-efficiency-intro > p:last-child { margin:13px 0 0; color:var(--muted); font-size:.86rem; line-height:1.55; }
.boss-loadout { margin-top:24px; padding:18px; border:1px solid #525c82; border-radius:14px; background:linear-gradient(135deg,#1c2039,#111321 56%,#171d2c); box-shadow:inset 0 1px #ffffff0c; }
.boss-loadout-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:16px; border-bottom:1px solid #ffffff1a; }
.boss-loadout-heading .eyebrow { margin:0; }
.boss-loadout-heading h4 { margin:5px 0 0; color:#f1efff; font-size:1.1rem; }
.boss-loadout-heading p:last-child { max-width:690px; margin:7px 0 0; color:#aeb6d1; font-size:.74rem; line-height:1.45; }
.boss-loadout-content { display:grid; grid-template-columns:minmax(370px,1.45fr) minmax(260px,.95fr) minmax(205px,.72fr); gap:14px; margin-top:15px; }
.boss-loadout-sources,.boss-loadout-adjustments,.boss-loadout-summary-panel { min-width:0; padding:13px; border:1px solid #3d4669; border-radius:10px; background:#0f1120b8; }
.boss-loadout h5 { margin:0 0 11px; color:#d8ddf4; font-size:.69rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.boss-buff-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.boss-buff-tile { position:relative; display:grid; min-height:108px; grid-template-rows:42px auto auto; align-content:center; justify-items:center; gap:3px; padding:9px 6px 7px; border:1px solid #3f4767; border-radius:9px; background:linear-gradient(145deg,#111526,#0c0e1a); color:#dce3fd; cursor:pointer; text-align:center; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease; }
.boss-buff-tile:hover { transform:translateY(-2px); border-color:#8c9bd2; background:#171b31; }
.boss-buff-tile.is-active { border-color:#f18a28; background:linear-gradient(145deg,#35200f,#18131c); box-shadow:inset 0 0 0 1px #ffb05033,0 0 16px #f2831c1c; }
.boss-buff-tile input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.boss-buff-icon { display:grid; width:38px; height:38px; place-items:center; overflow:hidden; border:0; border-radius:0; background:transparent; color:#fff9dc; font-size:1.25rem; line-height:1; text-shadow:0 1px 4px #000; }
.boss-buff-icon img { display:block; width:100%; height:100%; border-radius:0; image-rendering:auto; object-fit:fill; }
.boss-buff-tile strong { width:100%; overflow:hidden; color:#eef0ff; font-size:.64rem; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
.boss-buff-tile small { color:#b9c5e2; font-size:.58rem; line-height:1.2; }
.boss-buff-check { position:absolute; right:5px; bottom:5px; display:grid; width:16px; height:16px; place-items:center; border:1px solid #64708f; border-radius:4px; color:transparent; font-size:.68rem; font-weight:900; }
.boss-buff-tile.is-active .boss-buff-check { border-color:#ffd36b; background:#ff9d1f; color:#17111a; }
.boss-buff-note { margin:10px 0 0; color:#97a3c5; font-size:.63rem; line-height:1.4; }
.boss-loadout-adjustments { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; align-content:start; }
.boss-loadout-adjustments h5 { grid-column:1 / -1; margin-bottom:2px; }
.boss-loadout-input { min-width:0; padding:8px; border:1px solid #303754; border-radius:8px; background:#111423; }
.boss-loadout-input > span { display:block; min-height:27px; color:#aeb6d0; font-size:.64rem; line-height:1.25; }
.boss-loadout-input-label { display:flex !important; align-items:center; gap:6px; }
.boss-loadout-input-label img { width:23px; height:23px; flex:0 0 auto; image-rendering:auto; object-fit:contain; }
.boss-loadout-input > div { display:flex; align-items:center; gap:6px; }
.boss-loadout-input--level > div { flex-wrap:wrap; }
.boss-loadout-input--level strong { color:#a8ff78; font-size:.74rem; }
.boss-loadout-input--champion strong { width:100%; color:#8ee9ff; font-size:.66rem; line-height:1.35; }
.boss-loadout-input--champion em { width:100%; color:#cbb7ff; font-size:.61rem; font-style:normal; line-height:1.25; }
.boss-loadout-input input { width:100%; min-width:0; padding:5px 2px; border:0; border-bottom:1px solid #69719a; border-radius:0; outline:none; background:transparent; color:#f0edff; font:800 .8rem/1 inherit; font-variant-numeric:tabular-nums; }
.boss-loadout-input input:focus { border-color:#b8a7ff; box-shadow:0 2px 0 -1px #b8a7ff; }
.boss-loadout-input small { flex:0 0 auto; color:#c4ff9c; font-size:.64rem; font-weight:800; }
.boss-loadout-summary-panel { display:flex; flex-direction:column; }
.boss-loadout-summary { display:grid; gap:5px; }
.boss-loadout-summary div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; color:#aeb6cf; font-size:.66rem; }
.boss-loadout-summary strong { color:#e3f4d8; font-size:.73rem; font-variant-numeric:tabular-nums; }
.boss-loadout-summary-panel > p { margin:14px 0 0; padding-top:11px; border-top:1px solid #ffffff18; color:#d9c5ff; font-size:.68rem; line-height:1.4; }
.boss-loadout-summary-panel > small { margin-top:auto; padding-top:11px; color:#909ab9; font-size:.62rem; line-height:1.4; }
.boss-controls { display:grid; grid-template-columns:minmax(280px,620px) minmax(0,1fr); gap:16px; align-items:end; margin-top:25px; padding:17px; border:1px solid #3a4162; border-radius:13px; background:linear-gradient(130deg,#171a30,#10121f); }
.uptime-control-heading { display:flex; align-items:baseline; justify-content:space-between; gap:15px; color:#dce2f6; font-size:.78rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.uptime-control output { color:#c4ff9c; font-size:1.1rem; font-variant-numeric:tabular-nums; letter-spacing:0; }
.uptime-control input { width:100%; height:24px; margin:7px 0 0; padding:0; accent-color:#9eff60; cursor:pointer; }
.uptime-control p { min-height:30px; margin:2px 0 0; color:#aeb5cf; font-size:.7rem; line-height:1.35; }
.boss-filter-group { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.boss-filter { padding:8px 11px; border:1px solid #494f75; border-radius:999px; background:#101220; color:#abb2cf; font-size:.69rem; font-weight:900; letter-spacing:.04em; }
.boss-filter:hover { color:#f3f0ff; background:#1d2139; filter:none; }
.boss-filter.is-active { border-color:#91dc6d; background:#213d25; color:#c8ffa9; box-shadow:0 0 13px #9eff6020; }
.boss-prototype-note { display:flex; align-items:flex-start; gap:12px; margin-top:15px; padding:13px 15px; border:1px solid #a6764c; border-radius:10px; background:linear-gradient(100deg,#2b211d,#171525); color:#d6c1b1; font-size:.74rem; line-height:1.45; }
.boss-prototype-note strong { flex:0 0 auto; color:#ffd29a; font-size:.71rem; letter-spacing:.08em; text-transform:uppercase; }
.boss-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:20px; }
.boss-card { min-width:0; padding:15px; border:1px solid #3c4262; border-radius:12px; background:linear-gradient(145deg,#171a30,#10121e); box-shadow:inset 0 1px #ffffff08; }
.boss-card:hover { border-color:#736fb3; box-shadow:inset 0 1px #ffffff0e,0 12px 25px #00000025; }
.boss-card-heading { display:flex; min-width:0; align-items:center; gap:11px; }
.boss-sigil { display:grid; width:52px; height:52px; flex:0 0 auto; place-items:center; overflow:hidden; border:1px solid #8d79c9; border-radius:13px; background:radial-gradient(circle,#6a4c9e 0, #262044 57%,#111321 100%); color:#f2e9ff; font-family:Georgia,serif; font-size:1.6rem; line-height:1; box-shadow:0 0 14px #9e87ff36; }
.boss-sigil-image { display:block; width:100%; height:100%; object-fit:cover; image-rendering:auto; }
.boss-card h4 { overflow:hidden; margin:0; color:#f0f1ff; font-size:.95rem; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.boss-difficulty { display:inline-block; margin-top:5px; padding:3px 7px; border:1px solid #5a6085; border-radius:999px; color:#c9cee6; font-size:.62rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.boss-difficulty--easy { border-color:#72bb85; color:#a8efb8; }.boss-difficulty--normal { border-color:#7780b0; color:#c4ccff; }.boss-difficulty--chaos { border-color:#b05d93; color:#ffa8dc; }.boss-difficulty--hard { border-color:#c86b61; color:#ffb4aa; }.boss-difficulty--extreme { border-color:#d0a94c; color:#ffe28b; }
.boss-difficulty-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-top:13px; padding-top:12px; border-top:1px solid #ffffff16; }
.boss-difficulty-tab { padding:5px 8px; border:1px solid #454c71; border-radius:7px; background:#10121f; color:#aab2cd; font-size:.61rem; font-weight:900; letter-spacing:.045em; text-transform:uppercase; }
.boss-difficulty-tab:hover { border-color:#9584d5; color:#ece8ff; background:#222640; filter:none; }
.boss-difficulty-tab.is-active { border-color:#a88cff; background:#33275a; color:#f0eaff; box-shadow:0 0 11px #9c7dff2b; }
.boss-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:8px; margin-top:15px; }
.boss-metric { min-width:0; padding:9px; border:1px solid #303651; border-radius:8px; background:#0f1120; }
.boss-metric span { display:block; color:#929ab9; font-size:.63rem; line-height:1.2; }
.boss-metric strong { display:block; overflow:hidden; margin-top:5px; color:#eff1ff; font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.boss-metric strong.is-pending { color:#c9ae8b; font-weight:700; }
.boss-metric strong.is-clear { color:#a8ff8c; }.boss-metric strong.is-mincut { color:#ffe28b; }.boss-metric strong.is-warning { color:#ff9f94; }
.boss-card-footnote { min-height:31px; margin:12px 0 0; color:#989fba; font-size:.66rem; line-height:1.35; }
.boss-rotation-advisor { margin-top:14px; padding:13px; border:1px solid #a77ae0; border-radius:10px; background:linear-gradient(145deg,#1d1936,#111321 60%); box-shadow:inset 0 1px #ffffff0c,0 0 22px #9164df10; }
.boss-rotation-advisor-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.boss-rotation-advisor .eyebrow { margin:0; color:#ddadff; font-size:.59rem; }
.boss-rotation-advisor h5 { margin:4px 0 0; color:#f5efff; font-size:.9rem; }
.boss-rotation-advisor-badge { flex:0 0 auto; margin-top:1px; padding:4px 6px; border:1px solid #a279d1; border-radius:999px; color:#dec8ff; font-size:.55rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.boss-rotation-advisor-intro,.boss-rotation-evidence { margin:10px 0 0; color:#b8c0da; font-size:.66rem; line-height:1.45; }
.boss-rotation-timeline { display:grid; gap:7px; margin:12px 0 0; padding:0; list-style:none; }
.boss-rotation-timeline li { display:grid; grid-template-columns:78px minmax(0,1fr); gap:8px; min-width:0; padding:8px; border:1px solid #353b5e; border-radius:7px; background:#0d0f1cce; }
.boss-rotation-timeline li > strong { color:#d6d9f3; font-size:.66rem; font-variant-numeric:tabular-nums; }
.boss-rotation-timeline li b,.boss-rotation-timeline li span { display:block; }
.boss-rotation-timeline li b { color:#f1f0ff; font-size:.68rem; }
.boss-rotation-timeline li span { margin-top:3px; color:#aab2cf; font-size:.61rem; line-height:1.35; }
.boss-rotation-timeline li.is-ascent { border-color:#7ecaff; }.boss-rotation-timeline li.is-ascent > strong { color:#8bd8ff; }.boss-rotation-timeline li.is-burst { border-color:#ca82ff; }.boss-rotation-timeline li.is-burst > strong { color:#e1adff; }.boss-rotation-timeline li.is-threshold { border-color:#98df6d; }.boss-rotation-timeline li.is-threshold > strong { color:#baff90; }.boss-rotation-timeline li.is-shield { border-color:#8b7199; }.boss-rotation-timeline li.is-shield > strong { color:#ccb8d4; }
.boss-rotation-sequence-shell { margin-top:10px; padding:9px; border:1px solid #51436d; border-radius:8px; background:#0d0e1b; }
.boss-rotation-sequence-label { margin:0 0 7px; color:#cdb7f4; font-size:.59rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.boss-rotation-sequence { display:flex; flex-wrap:wrap; gap:5px; }
.boss-rotation-sequence span { display:flex; flex:1 1 86px; flex-direction:column; gap:3px; min-width:0; padding:6px; border:1px solid #494365; border-radius:6px; background:#151426; color:#ece8ff; font-size:.59rem; font-weight:800; line-height:1.2; }
.boss-rotation-sequence small { color:#a5ff83; font-size:.55rem; font-weight:900; }
.boss-rotation-evidence { padding-top:10px; border-top:1px solid #ffffff12; color:#9ba5c5; }
@media (min-width:1000px) { .boss-card--rotation-open { grid-column:span 2; }.boss-card--rotation-open .boss-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.boss-rotation-advisor--simulation { overflow:hidden; padding:0; border-color:#6f5a98; background:#101321; }
.boss-rotation-advisor--simulation[open] { box-shadow:inset 0 1px #ffffff10,0 0 24px #9164df14; }
.boss-rotation-disclosure { display:grid; grid-template-columns:minmax(0,1fr) 28px; gap:12px; align-items:center; min-height:56px; padding:10px 14px; cursor:pointer; list-style:none; transition:background .2s ease; }
.boss-rotation-disclosure::-webkit-details-marker { display:none; }
.boss-rotation-disclosure:hover { background:#ffffff08; }
.boss-rotation-disclosure:focus-visible { outline:2px solid #a987f0; outline-offset:-3px; }
.boss-rotation-disclosure-title { min-width:0; }
.boss-rotation-disclosure-title h5 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.boss-rotation-disclosure-title > span { display:block; margin-top:3px; color:#929bb9; font-size:.62rem; }
.boss-rotation-disclosure-chevron { position:relative; width:26px; height:26px; border:1px solid #735ca3; border-radius:50%; background:#171329; transition:transform .22s ease,background .22s ease; }
.boss-rotation-disclosure-chevron::before,.boss-rotation-disclosure-chevron::after { position:absolute; top:12px; width:7px; height:2px; border-radius:2px; background:#cdb8f7; content:""; }
.boss-rotation-disclosure-chevron::before { left:6px; rotate:45deg; }.boss-rotation-disclosure-chevron::after { right:6px; rotate:-45deg; }
.boss-rotation-advisor--simulation[open] .boss-rotation-disclosure-chevron { transform:rotate(180deg); background:#292042; }
.boss-rotation-advisor-body { padding:0 18px 18px; border-top:1px solid #ffffff10; animation:dusk-rotation-reveal .22s ease both; }
.boss-rotation-advisor-body > .dusk-simulation-summary { margin-top:18px; }
.boss-rotation-advisor--simulation h5 { font-size:1.02rem; }
.boss-rotation-advisor--simulation .boss-rotation-advisor-badge { padding:6px 9px; background:#221a3b; color:#e8d7ff; }
.dusk-simulation-summary { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-top:14px; }
.dusk-simulation-summary > div { min-width:0; padding:10px 11px; border:1px solid #3d4364; border-radius:8px; background:#0c0f1c; }
.dusk-simulation-summary span,.dusk-simulation-summary strong { display:block; }
.dusk-simulation-summary span { color:#969fbd; font-size:.61rem; }
.dusk-simulation-summary strong { margin-top:5px; overflow:hidden; color:#c6ff99; font-size:.78rem; font-variant-numeric:tabular-nums; text-overflow:ellipsis; white-space:nowrap; }
.dusk-snapshot-status { margin:11px 0 0; padding:9px 11px; border:1px solid #467b58; border-radius:7px; background:#10231a; color:#bde6c8; font-size:.66rem; line-height:1.42; }
.dusk-snapshot-status.is-warning { border-color:#9c7142; background:#2a2118; color:#f0cda4; }
.dusk-advisor-tabs { margin-top:14px; }
.dusk-advisor-tablist { display:flex; gap:6px; padding:5px; border:1px solid #3d4364; border-radius:9px; background:#0b0e19; }
.dusk-advisor-tab { flex:1; min-height:38px; border:1px solid transparent; border-radius:6px; background:transparent; color:#929ab8; font:inherit; font-size:.67rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; transition:border-color .18s ease,background .18s ease,color .18s ease; }
.dusk-advisor-tab:hover { color:#e7e2f7; background:#ffffff08; }
.dusk-advisor-tab.is-active { border-color:#7c65ad; background:linear-gradient(135deg,#2f2350,#1c1831); color:#eff0ff; box-shadow:0 0 13px #8c66cd22; }
.dusk-advisor-tab:focus-visible { outline:2px solid #b091ed; outline-offset:2px; }
.dusk-advisor-tab-panel { outline:0; animation:dusk-rotation-reveal .2s ease both; }
.dusk-fight-overview { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(220px,.75fr); overflow:hidden; margin-top:14px; border:1px solid #3d4364; border-radius:10px; background:#0b0e19; }
.dusk-fight-overview .dusk-simulation-graph { margin-top:0; border:0; border-radius:0; border-right:1px solid #3d4364; }
.dusk-simulation-graph { margin-top:14px; padding:15px; border:1px solid #3d4364; border-radius:9px; background:#0b0e19; }
.dusk-simulation-graph-heading,.dusk-simulation-timeline-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.dusk-simulation-graph-heading strong,.dusk-simulation-timeline-heading strong { color:#f0efff; font-size:.75rem; }
.dusk-simulation-graph-heading span,.dusk-simulation-timeline-heading span { color:#919ab8; font-size:.61rem; }
.dusk-state-track { position:relative; height:12px; overflow:hidden; margin-top:13px; border:1px solid #4b4262; border-radius:999px; background:#21172c; }
.dusk-state-track > span { position:absolute; top:0; bottom:0; }
.dusk-state-track > .is-shield { inset:0; background:linear-gradient(90deg,#4e315e,#281a3d); }
.dusk-state-track > .is-eye { z-index:1; background:linear-gradient(90deg,#45c3df,#7bf3e8); box-shadow:0 0 8px #65e7f8; }
.dusk-state-track > .is-fear { z-index:2; background:repeating-linear-gradient(135deg,#100b18 0,#100b18 5px,#9b3657 5px,#9b3657 8px); box-shadow:0 0 8px #d23f7188; }
.kaiser-state-track > .is-transition { inset:0; background:linear-gradient(90deg,#33263f,#181522); }
.kaiser-state-track > .is-targetable { z-index:1; background:linear-gradient(90deg,#5367d8,#75d8f2); box-shadow:0 0 8px #65c9f888; }
.kaiser-state-track > .is-targetable:only-child { inset:0; }
.dusk-hp-chart { display:block; width:100%; height:150px; margin-top:7px; overflow:visible; }
.dusk-grid-line { stroke:#32384f; stroke-width:1; }.dusk-threshold-line { stroke:#7b754e; stroke-width:1; stroke-dasharray:5 5; opacity:.65; }
.dusk-hp-line { fill:none; stroke:#a9ff72; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px #7af04e88); }
.dusk-chart-labels { position:relative; height:18px; margin:0 2px; border-top:1px solid #32374f; }
.dusk-chart-labels span { position:absolute; top:4px; translate:-50% 0; color:#858eaa; font-size:.56rem; font-variant-numeric:tabular-nums; }
.dusk-chart-labels span:first-child { translate:0 0; }.dusk-chart-labels .is-last { right:0; left:auto !important; translate:0 0; }
.dusk-encounter-moments { display:flex; flex-direction:column; padding:15px; background:linear-gradient(145deg,#121829,#0b0e19); }
.dusk-encounter-moments-heading { display:grid; gap:3px; }
.dusk-encounter-moments-heading strong { color:#f0efff; font-size:.75rem; }
.dusk-encounter-moments-heading span { color:#919ab8; font-size:.59rem; line-height:1.35; }
.dusk-encounter-moments ol { display:grid; gap:9px; margin:16px 0; padding:0; list-style:none; }
.dusk-encounter-moments li { display:grid; grid-template-columns:38px minmax(0,1fr); gap:8px; align-items:center; }
.dusk-encounter-moments time { color:#c4b1f5; font-size:.6rem; font-weight:900; font-variant-numeric:tabular-nums; }
.dusk-encounter-moments li.is-threshold time,.dusk-encounter-moments li.is-kill time { color:#baff91; }
.dusk-encounter-moments li.is-burst time { color:#8eeefa; }
.dusk-encounter-moments li.is-transition time { color:#cdb7f4; }.dusk-encounter-moments li.is-phase time { color:#8eeefa; }
.dusk-encounter-moments strong { overflow:hidden; color:#dfe3f3; font-size:.64rem; text-overflow:ellipsis; white-space:nowrap; }
.dusk-encounter-state-key { display:grid; gap:7px; margin-top:auto; padding-top:12px; border-top:1px solid #ffffff12; }
.dusk-encounter-state-key span { display:flex; align-items:center; gap:7px; color:#a9b1ca; font-size:.59rem; }
.dusk-encounter-state-key i { width:18px; height:4px; border-radius:999px; }
.dusk-encounter-state-key .is-shield i { background:#654475; }.dusk-encounter-state-key .is-eye i { background:#61ddec; }
.dusk-encounter-state-key .is-targetable i { background:#61cdec; }.dusk-encounter-state-key .is-transition i { background:#765e8b; }.dusk-encounter-state-key .is-adjusted i { background:#687189; }
.dusk-fight-detail-grid { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(220px,.75fr); gap:14px; align-items:start; }
.dusk-fight-detail-grid .dusk-simulation-timeline-shell { margin-top:14px; }
.dusk-fight-guide-teaser { display:grid; gap:8px; margin-top:14px; padding:15px; border:1px solid #3d4364; border-radius:9px; background:#0d101c; }
.dusk-fight-guide-teaser > span { color:#cdb7f4; font-size:.59rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.dusk-fight-guide-teaser > strong { color:#eef0fa; font-size:.72rem; line-height:1.4; }
.dusk-fight-guide-teaser button { justify-self:start; margin-top:4px; padding:8px 10px; border:1px solid #66518f; border-radius:7px; background:#201834; color:#eee7ff; font:inherit; font-size:.61rem; font-weight:900; cursor:pointer; }
.dusk-fight-guide-teaser button:hover { border-color:#a987f0; background:#2b2145; }
.dusk-fight-guide-teaser button:focus-visible { outline:2px solid #b091ed; outline-offset:2px; }
.dusk-simulation-timeline-shell { margin-top:14px; padding:13px; border:1px solid #3d4364; border-radius:9px; background:#0b0e19; }
.dusk-simulation-timeline { position:relative; display:grid; gap:0; margin:13px 0 0; padding:0; list-style:none; }
.dusk-simulation-timeline::before { position:absolute; top:7px; bottom:7px; left:69px; width:1px; background:linear-gradient(#7c68c7,#4cbcd2,#8cd958); content:""; }
.dusk-simulation-timeline li { position:relative; display:grid; grid-template-columns:54px 12px minmax(0,1fr); gap:9px; padding:7px 0; }
.dusk-simulation-timeline time { padding-top:3px; color:#aab3d1; font-size:.64rem; font-weight:900; font-variant-numeric:tabular-nums; text-align:right; }
.dusk-timeline-marker { z-index:1; width:9px; height:9px; margin-top:4px; border:2px solid #a693dc; border-radius:50%; background:#111321; box-shadow:0 0 7px #9d86e4; }
.dusk-simulation-timeline li.is-threshold .dusk-timeline-marker,.dusk-simulation-timeline li.is-kill .dusk-timeline-marker { border-color:#9eff65; box-shadow:0 0 9px #8cff57; }
.dusk-simulation-timeline li.is-burst .dusk-timeline-marker { border-color:#e18dff; box-shadow:0 0 9px #c36df2; }
.dusk-simulation-timeline li.is-burst-end .dusk-timeline-marker { border-color:#8eeefa; box-shadow:0 0 9px #69dce9; }
.dusk-timeline-event-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dusk-timeline-event-heading > strong { color:#eceeff; font-size:.7rem; }
.dusk-timeline-event-heading em { flex:0 0 auto; padding:3px 6px; border:1px solid #604b72; border-radius:999px; color:#cab3dc; font-size:.53rem; font-style:normal; font-weight:900; text-transform:uppercase; }
.dusk-timeline-event-heading em.is-eye { border-color:#3b8998; color:#8eeefa; }.dusk-timeline-event-heading em.is-threshold { border-color:#648d47; color:#baff91; }.dusk-timeline-event-heading em.is-fear { border-color:#93415d; color:#ff8fb6; }
.dusk-timeline-event-heading em.is-targetable { border-color:#437d9a; color:#8eeefa; }.dusk-timeline-event-heading em.is-transition { border-color:#775b86; color:#d3b5e3; }
.dusk-timeline-event-heading em.is-combined { border-color:#9674c8; color:#e3c9ff; }
.dusk-simulation-timeline p { margin:3px 0 0; color:#9fa8c4; font-size:.61rem; line-height:1.38; }
.dusk-timeline-combined-details { display:grid; gap:3px; margin:5px 0 0; padding:0; color:#9fa8c4; font-size:.61rem; line-height:1.38; list-style:none; }
.dusk-timeline-combined-details li { display:block; padding:0; }
.dusk-timeline-combined-details b { color:#cbd1e7; font-size:inherit; }
.dusk-timeline-hp { display:grid; grid-template-columns:minmax(80px,160px) auto; gap:8px; align-items:center; margin-top:5px; }
.dusk-timeline-hp > span { display:block; height:4px; overflow:hidden; border-radius:999px; background:#252a3e; }
.dusk-timeline-hp i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7fe759,#d2ff8c); }
.dusk-timeline-hp b { color:#b9c1da; font-size:.57rem; font-variant-numeric:tabular-nums; }
.dusk-simulation-assumptions { margin-top:12px; padding:10px 12px; border:1px solid #3d4360; border-radius:8px; background:#0d101c; color:#aeb6d0; }
.dusk-simulation-assumptions summary { color:#d7c7f5; font-size:.65rem; font-weight:900; cursor:pointer; }
.dusk-simulation-assumptions ul { margin:9px 0 0; padding-left:18px; }
.dusk-simulation-assumptions li { margin-top:4px; font-size:.61rem; line-height:1.4; }
.len-engine-prototype { border-color:#477f89; background:linear-gradient(145deg,#0e2027,#101321 65%); }
.len-engine-prototype .boss-rotation-disclosure { grid-template-columns:minmax(0,1fr) auto 28px; }
.len-engine-prototype .boss-rotation-advisor-badge { border-color:#3f8792; background:#102a31; color:#91edf5; }
.len-engine-prototype-summary strong { color:#91edf5; }
.len-engine-prototype-sources { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; }
.len-engine-prototype-source { min-width:0; padding:12px; border:1px solid #3d5360; border-radius:9px; background:#0b111b; }
.len-engine-prototype-source.is-engine { border-color:#347986; background:linear-gradient(145deg,#0d2228,#0b111b); }
.len-engine-prototype-source.is-legacy { border-color:#806542; background:linear-gradient(145deg,#211b13,#0b111b); }
.len-engine-prototype-source.is-boss { border-color:#514678; background:linear-gradient(145deg,#171429,#0b111b); }
.len-engine-prototype-source-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.len-engine-prototype-source-heading strong { color:#eef3fa; font-size:.69rem; }
.len-engine-prototype-source-heading span { flex:0 0 auto; padding:3px 6px; border:1px solid #4b6674; border-radius:999px; color:#a8dfe4; font-size:.52rem; font-weight:900; text-transform:uppercase; }
.len-engine-prototype-source ul { margin:10px 0 0; padding-left:16px; }
.len-engine-prototype-source li { margin-top:5px; color:#a8b4c8; font-size:.61rem; line-height:1.42; }
.len-engine-prototype-procs { margin:12px 0 0; padding:10px 12px; border-left:3px solid #3f8792; background:#0c171e; color:#aebdce; font-size:.63rem; line-height:1.48; }
.len-engine-prototype-inline-version { margin:13px 0 0; color:#71959e; font-size:.55rem; font-weight:900; letter-spacing:.06em; text-align:right; text-transform:uppercase; }
.len-engine-card-version { display:block; margin:12px 0 -2px; color:#658b95; font-size:.52rem; font-weight:900; letter-spacing:.065em; text-align:right; text-transform:uppercase; }
.kanna-rotation-plan { margin-top:14px; padding:14px; border:1px solid #463966; border-radius:10px; background:linear-gradient(145deg,#171126,#0d101c); }
.kanna-rotation-plan-heading h6 { margin:2px 0 0; color:#f0e8ff; font-size:.84rem; }
.kanna-rotation-timeline { display:grid; gap:8px; margin:12px 0 0; padding:0; list-style:none; }
.kanna-rotation-timeline li { display:grid; grid-template-columns:86px minmax(0,1fr); gap:12px; padding:10px 11px; border:1px solid #3d4364; border-radius:8px; background:#0c0f1c; }
.kanna-rotation-timeline strong { color:#c6ff99; font-size:.7rem; font-variant-numeric:tabular-nums; }
.kanna-rotation-timeline span,.kanna-rotation-rules li { color:#aeb6d0; font-size:.64rem; line-height:1.45; }
.kanna-rotation-rules { margin:12px 0 0; padding-left:18px; }
.kanna-rotation-rules li { margin-top:5px; }
.dusk-rotation-guide { display:grid; gap:12px; margin-top:14px; }
.dusk-rotation-mechanic-note { display:grid; gap:5px; padding:11px 13px; border:1px solid #458c70; border-radius:9px; background:#10251f; }
.dusk-rotation-mechanic-note strong { color:#baff91; font-size:.7rem; }
.dusk-rotation-mechanic-note span,.dusk-rotation-guide-intro { color:#aeb9ce; font-size:.63rem; line-height:1.45; }
.dusk-rotation-guide-intro { margin:0; padding:0 2px; }
.dusk-rotation-combo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.dusk-rotation-combo { min-width:0; padding:12px; border:1px solid #414865; border-radius:9px; background:#0b0e19; }
.dusk-rotation-combo--origin-burst { border-color:#9a63c5; background:linear-gradient(145deg,#211530,#0b0e19 68%); }
.dusk-rotation-combo header { display:grid; gap:4px; }
.dusk-rotation-combo header strong { color:#f0efff; font-size:.74rem; }
.dusk-rotation-combo header span { color:#a88bd3; font-size:.58rem; font-weight:800; }
.dusk-rotation-combo p { min-height:34px; margin:8px 0; color:#99a3bf; font-size:.61rem; line-height:1.4; }
.dusk-rotation-combo ol { display:grid; gap:4px; margin:0; padding:0; list-style:none; }
.dusk-rotation-combo li { display:grid; grid-template-columns:58px minmax(0,1fr); gap:8px; align-items:center; padding:6px 7px; border-radius:6px; background:#141728; }
.dusk-rotation-combo time { color:#a8ff83; font-size:.58rem; font-weight:900; font-variant-numeric:tabular-nums; }
.dusk-rotation-combo b { color:#e0e3f2; font-size:.62rem; }
.dusk-rotation-schedule { padding:13px; border:1px solid #3d4364; border-radius:9px; background:#0b0e19; }
.dusk-rotation-schedule ol { display:grid; gap:6px; margin:12px 0 0; padding:0; list-style:none; }
.dusk-rotation-schedule li { display:grid; grid-template-columns:56px minmax(0,1fr); gap:10px; align-items:start; padding:8px; border:1px solid #2e344e; border-radius:7px; background:#111421; }
.dusk-rotation-schedule li > time { color:#baff91; font-size:.64rem; font-weight:900; font-variant-numeric:tabular-nums; }
.dusk-rotation-schedule li strong,.dusk-rotation-schedule li span { display:block; }
.dusk-rotation-schedule li strong { color:#eceeff; font-size:.67rem; }
.dusk-rotation-schedule li span { margin-top:3px; color:#929bb6; font-size:.59rem; line-height:1.35; }
@media (max-width:1000px) { .boss-loadout-content { grid-template-columns:1fr 1fr; }.boss-loadout-sources { grid-column:span 2; }.boss-loadout-summary-panel { grid-column:span 2; }.boss-loadout-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@container (min-width:1450px) { .boss-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (min-width:1600px) { .boss-wiki-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { .boss-grid,.boss-wiki-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.boss-controls { grid-template-columns:1fr; }.boss-filter-group { justify-content:flex-start; }.dusk-simulation-summary,.boss-card:has(.boss-rotation-advisor--simulation) .boss-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@keyframes dusk-rotation-reveal { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:700px) { .boss-rotation-disclosure { gap:10px; padding:10px 12px; }.boss-rotation-advisor-body { padding:0 12px 12px; }.dusk-fight-overview,.dusk-fight-detail-grid,.len-engine-prototype-sources { grid-template-columns:1fr; }.dusk-fight-overview .dusk-simulation-graph { border-right:0; border-bottom:1px solid #3d4364; }.dusk-encounter-moments ol { grid-template-columns:repeat(2,minmax(0,1fr)); }.dusk-encounter-state-key { grid-template-columns:1fr 1fr; }.dusk-rotation-combo-grid { grid-template-columns:1fr; }.dusk-rotation-combo p { min-height:0; } }
@media (max-width:600px) { .boss-efficiency-shell,.boss-wiki-shell { padding:25px 18px 28px; }.boss-grid,.boss-wiki-grid { grid-template-columns:1fr; }.boss-wiki-toolbar { align-items:stretch; flex-direction:column; }.boss-wiki-count { white-space:normal; }.boss-controls { padding:13px; }.boss-prototype-note { flex-direction:column; gap:5px; }.boss-loadout { padding:14px; }.boss-loadout-content { grid-template-columns:1fr; }.boss-loadout-sources,.boss-loadout-summary-panel { grid-column:auto; }.boss-loadout-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.boss-loadout-adjustments { grid-template-columns:1fr; }.boss-buff-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.dusk-simulation-summary { grid-template-columns:1fr; }.dusk-simulation-graph-heading,.dusk-simulation-timeline-heading { align-items:flex-start; flex-direction:column; gap:3px; }.dusk-hp-chart { height:115px; }.dusk-encounter-moments ol { grid-template-columns:1fr; }.dusk-encounter-state-key { grid-template-columns:1fr; }.dusk-simulation-timeline::before { left:57px; }.dusk-simulation-timeline li { grid-template-columns:43px 12px minmax(0,1fr); }.dusk-timeline-event-heading { align-items:flex-start; flex-direction:column; gap:4px; }.dusk-timeline-hp { grid-template-columns:minmax(70px,1fr) auto; } }
@keyframes profile-tab-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:780px) { .profile-tablist { padding-inline:23px; }.profile-tab { min-width:0; flex:1; padding-inline:10px; font-size:.69rem; } }
@media (max-width:460px) { .profile-tablist { gap:3px; padding-inline:12px; }.profile-tab { letter-spacing:.02em; } }

/* Extra Stats: own Link Skill, current twelve-link loadout, and selected Hyper Stats. */
.extra-stats-layout { display:grid; grid-template-columns:minmax(210px,.85fr) minmax(420px,1.7fr) minmax(240px,.9fr); gap:14px; padding:0 20px 20px; }
.extra-stats-panel { min-width:0; padding:14px; border:1px solid #414765; border-radius:11px; background:linear-gradient(145deg,#15182a,#0d0f1b); }
.extra-stats-panel h4 { margin:0 0 12px; color:#d9ddea; font-size:.74rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.extra-stats-panel--own { display:flex; flex-direction:column; align-items:center; text-align:center; }
.extra-own-link-icon { width:62px; height:62px; margin:6px 0 8px; object-fit:contain; image-rendering:auto; }
.extra-stats-panel--own > strong { color:var(--ink); font-size:.9rem; }
.extra-own-link-level { margin-top:4px; color:#b9f58f; font-size:.78rem; font-weight:900; }
.extra-stats-panel--own > p { width:100%; margin:13px 0 6px; padding-top:12px; border-top:1px solid #ffffff1c; color:#bbc0d9; font-size:.72rem; line-height:1.45; text-align:left; white-space:pre-line; }
.extra-stats-panel--own > small { color:#e8e1a8; font-size:.72rem; line-height:1.35; text-align:left; }
.extra-link-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.extra-link-card { position:relative; display:grid; min-height:92px; place-items:center; align-content:center; gap:6px; padding:8px; border:1px solid #3f4668; border-radius:8px; background:#101321; cursor:help; outline:none; }
.extra-link-card:hover,.extra-link-card:focus-visible { z-index:4; border-color:#b6a2ff; background:#171b31; box-shadow:0 0 16px #9e87ff2b; }
.extra-link-card:focus-visible { outline:2px solid #d8c7ff; outline-offset:2px; }
.extra-link-card img { width:48px; height:48px; object-fit:contain; image-rendering:auto; }
.extra-link-card > span { color:#b9f58f; font-size:.72rem; font-weight:900; line-height:1; }
.extra-link-card--empty { border-style:dashed; border-color:#55596c; color:#71768b; cursor:default; font-size:1.1rem; }
.extra-link-tooltip { position:absolute; z-index:9; bottom:calc(100% + 8px); left:50%; display:none; width:min(285px,calc(100vw - 56px)); padding:11px; transform:translateX(-50%); border:1px solid #565d84; border-radius:8px; background:#090b16; box-shadow:0 14px 30px #000c; text-align:left; }
.extra-link-tooltip strong { display:block; color:#f5edc9; font-size:.78rem; }
.extra-link-tooltip p { margin:7px 0; color:#c5cadc; font-size:.7rem; line-height:1.4; white-space:pre-line; }
.extra-link-tooltip small { color:#b9f58f; font-size:.7rem; line-height:1.35; white-space:pre-line; }
.extra-link-card:hover .extra-link-tooltip,.extra-link-card:focus-visible .extra-link-tooltip { display:block; }
.extra-hyper-list { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.extra-hyper-list li { display:grid; grid-template-columns:1fr auto; gap:1px 8px; align-items:baseline; padding-bottom:7px; border-bottom:1px solid #ffffff14; }
.extra-hyper-list strong { color:#e0e4f4; font-size:.76rem; }
.extra-hyper-list span { color:#b9f58f; font-size:.72rem; font-weight:900; }
.extra-hyper-list small { grid-column:1 / -1; color:#adb3ca; font-size:.69rem; }
.extra-hyper-remaining { margin:11px 0 0; color:#e8e1a8; font-size:.7rem; }
@media (max-width:900px) { .extra-stats-layout { grid-template-columns:1fr 1fr; }.extra-stats-panel--chosen { grid-column:span 2; order:-1; } }
@media (max-width:560px) { .extra-stats-layout { grid-template-columns:1fr; padding-inline:12px; }.extra-stats-panel--chosen { grid-column:auto; }.extra-link-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Arcane observatory landing: visible only before a character profile is loaded. */
body.landing-state {
  min-height:100svh;
  overflow-x:hidden;
  background:#04060d url("/(C)%20landing-observatory.png") center center / cover no-repeat fixed;
}
body.landing-state::before {
  z-index:0;
  background:
    linear-gradient(90deg,rgba(2,5,12,.3) 0%,rgba(2,5,12,.13) 43%,rgba(2,5,12,.02) 100%),
    radial-gradient(circle at 20% 48%,rgba(11,24,27,.03),rgba(2,4,10,.28) 66%);
  mask-image:none;
}
body.landing-state .page-shell {
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  min-height:calc(100svh - 70px);
  margin:0;
}
body.landing-state .topbar {
  min-height:76px;
  padding-inline:clamp(24px,5vw,96px);
  border-color:#8588b52b;
  background:linear-gradient(180deg,rgba(5,8,18,.97),rgba(5,8,18,.83));
  box-shadow:0 16px 38px #01030aaa;
  backdrop-filter:blur(18px);
}
body.landing-state .brand {
  color:#f1efff;
  font-size:1.25rem;
  text-shadow:0 0 18px #8e80cf55;
}
body.landing-state .brand-mark {
  width:34px;
  height:34px;
  filter:drop-shadow(0 0 9px #68f0ce77) drop-shadow(0 0 15px #9a72ee66);
}
body.landing-state .region-lock {
  border-color:#72d14c61;
  background:#09130eaa;
  color:#a5ff72;
  box-shadow:inset 0 0 18px #53d6500d;
}
body.landing-state .hero {
  display:flex;
  width:100%;
  max-width:none;
  min-height:calc(100svh - 146px);
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:clamp(72px,8vh,118px) clamp(24px,8vw,160px) clamp(90px,12vh,150px) clamp(24px,17vw,620px);
  animation:landing-content-reveal .7s cubic-bezier(.2,.8,.2,1) both;
}
body.landing-state .hero > * {
  width:min(100%,760px);
}
body.landing-state .hero .eyebrow {
  margin-bottom:20px;
  color:#99ff63;
  font-size:.75rem;
  letter-spacing:.18em;
  text-shadow:0 0 14px #68eb6777;
}
body.landing-state h1 {
  max-width:850px;
  margin:0;
  color:#f4f4ff;
  font-size:clamp(4rem,6.3vw,7.2rem);
  line-height:.87;
  letter-spacing:-.06em;
  text-wrap:balance;
  text-shadow:0 5px 38px #02040bd9;
}
body.landing-state h1 em {
  display:inline-block;
  color:#a98bff;
  font-style:italic;
  font-weight:500;
  text-shadow:0 0 34px #784df247,0 5px 38px #02040bd9;
}
body.landing-state .intro {
  max-width:650px;
  margin:28px 0 30px;
  color:#c0c5d8;
  font-size:1rem;
  line-height:1.65;
  text-shadow:0 2px 14px #02040d;
}
body.landing-state .search-panel {
  position:relative;
  display:flex;
  width:min(100%,760px);
  gap:10px;
  padding:8px;
  border:1px solid #aa9bd68c;
  border-radius:16px;
  background:linear-gradient(120deg,rgba(13,16,31,.92),rgba(10,11,25,.79));
  box-shadow:0 22px 55px #01030cc4,inset 0 1px #ffffff12,0 0 35px #7a5fe91c;
  backdrop-filter:blur(18px);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
body.landing-state .search-panel::before {
  position:absolute;
  z-index:2;
  top:50%;
  left:27px;
  width:16px;
  height:16px;
  transform:translateY(-58%);
  border:2px solid #aeb5cf;
  border-radius:50%;
  content:"";
  pointer-events:none;
}
body.landing-state .search-panel::after {
  position:absolute;
  z-index:2;
  top:52%;
  left:43px;
  width:8px;
  height:2px;
  transform:rotate(45deg);
  border-radius:2px;
  background:#aeb5cf;
  content:"";
  pointer-events:none;
}
body.landing-state .search-panel:focus-within {
  transform:translateY(-1px);
  border-color:#c1adff;
  box-shadow:0 24px 60px #01030cd6,inset 0 1px #ffffff1a,0 0 34px #8568f03b;
}
body.landing-state .search-panel input {
  min-width:0;
  padding:17px 18px 17px 58px;
  color:#eef1ff;
  font-size:1rem;
  background:transparent;
}
body.landing-state .search-panel input::placeholder {
  color:#8c93ad;
  opacity:1;
}
body.landing-state .search-panel button {
  min-width:230px;
  padding:17px 25px;
  border:1px solid #d1c7ff4d;
  border-radius:11px;
  background:linear-gradient(135deg,#8e67ef,#6b4bce);
  box-shadow:inset 0 1px #ffffff3d,0 8px 24px #4f2eb45e;
  color:#fff;
  font-size:.84rem;
  letter-spacing:.04em;
}
body.landing-state .search-panel button:hover {
  background:linear-gradient(135deg,#a47cff,#7957dc);
  box-shadow:inset 0 1px #ffffff4d,0 10px 29px #6240c982;
}
body.landing-state .example-button {
  width:auto;
  margin-top:14px;
  color:#bfaaff;
  font-size:.75rem;
  text-shadow:0 0 12px #8563d866;
}
body.landing-state .status-message {
  position:relative;
  z-index:2;
  width:min(760px,calc(100% - 48px));
  margin:-86px 0 28px clamp(24px,17vw,620px);
  border-color:#5d527e;
  background:rgba(10,12,25,.88);
  backdrop-filter:blur(14px);
}
body.landing-state footer {
  position:relative;
  z-index:2;
  min-height:70px;
  display:grid;
  place-items:center;
  padding:18px;
  border-color:#8588b526;
  background:rgba(4,6,14,.89);
  box-shadow:0 -14px 32px #01030a88;
  backdrop-filter:blur(16px);
}
@keyframes landing-content-reveal {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}
@media (max-width:900px) {
  body.landing-state {
    background-position:66% center;
    background-attachment:scroll;
  }
  body.landing-state::before {
    background:linear-gradient(90deg,rgba(2,5,12,.88) 0%,rgba(2,5,12,.76) 48%,rgba(2,5,12,.24) 100%);
  }
  body.landing-state .hero {
    min-height:calc(100svh - 146px);
    padding:72px clamp(24px,7vw,64px) 96px;
  }
  body.landing-state h1 {
    font-size:clamp(3.75rem,11vw,6rem);
  }
  body.landing-state .status-message {
    margin:-72px 24px 28px;
  }
}
@media (max-width:600px) {
  body.landing-state {
    background-position:61% center;
  }
  body.landing-state::before {
    background:linear-gradient(90deg,rgba(2,5,12,.94),rgba(2,5,12,.7));
  }
  body.landing-state .topbar {
    min-height:70px;
    flex-wrap:nowrap;
    padding-inline:18px;
  }
  body.landing-state .brand {
    font-size:1.05rem;
  }
  body.landing-state .brand-mark {
    width:30px;
    height:30px;
  }
  body.landing-state .region-lock {
    padding:6px 8px;
    font-size:.55rem;
  }
  body.landing-state .hero {
    min-height:calc(100svh - 140px);
    padding:70px 20px 88px;
  }
  body.landing-state .hero .eyebrow {
    margin-bottom:16px;
    font-size:.66rem;
  }
  body.landing-state h1 {
    font-size:clamp(3.2rem,16vw,4.8rem);
    line-height:.9;
  }
  body.landing-state .intro {
    margin:22px 0 24px;
    font-size:.9rem;
  }
  body.landing-state .search-panel {
    flex-direction:column;
    gap:7px;
    padding:7px;
    border-radius:14px;
  }
  body.landing-state .search-panel::before {
    top:28px;
    left:25px;
  }
  body.landing-state .search-panel::after {
    top:30px;
    left:41px;
  }
  body.landing-state .search-panel input {
    padding:13px 14px 13px 54px;
  }
  body.landing-state .search-panel button {
    width:100%;
    min-width:0;
    padding:14px 18px;
  }
  body.landing-state .status-message {
    width:calc(100% - 40px);
    margin:-64px 20px 24px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.landing-state .hero { animation:none; }
  body.landing-state .search-panel { transition:none; }
}
