/* Shared tier artwork and crop for cards, catalogs, member headers and profile
   badges. Context styles may set size/shadow without selecting another source. */
:is(#arenaFull,.profile-levels-full,#detailHero) .ar-anatomy-art{display:block;flex:none;width:92px;aspect-ratio:1;background-image:url('brand-art/app-visual-v1/levels-atlas.png');background-size:438.787879% 329.090909%;background-position:var(--ar-level-x) var(--ar-level-y);background-repeat:no-repeat;pointer-events:none}
:is(#arenaFull,.profile-levels-full) .ar-level-browser,:is(#arenaFull,.profile-levels-full) .ar-level-members{color:var(--ink);padding:2px 0 18px}
:is(#arenaFull,.profile-levels-full) .ar-level-intro{text-align:center;padding:5px 0 16px}
:is(#arenaFull,.profile-levels-full) .ar-level-intro h2,:is(#arenaFull,.profile-levels-full) .ar-level-members-head h2{font-family:'Cinzel',Georgia,serif;font-size:24px;font-weight:600;margin:0 0 6px;line-height:1.2}
:is(#arenaFull,.profile-levels-full) .ar-level-intro p,:is(#arenaFull,.profile-levels-full) .ar-level-members-head p{color:var(--ink-2);font-family:Georgia,serif;font-size:14px;margin:0;line-height:1.4}
:is(#arenaFull,.profile-levels-full) .ar-level-current{display:flex;align-items:center;gap:18px;padding:13px 17px;margin-bottom:16px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
:is(#arenaFull,.profile-levels-full) .ar-level-current .ar-anatomy-art{width:98px}
:is(#arenaFull,.profile-levels-full) .ar-level-current>div{flex:1;min-width:0}
:is(#arenaFull,.profile-levels-full) .ar-level-eyebrow{display:block;text-transform:uppercase;letter-spacing:2px;font-size:9px;font-weight:600;color:var(--ink-2);line-height:1.5}
:is(#arenaFull,.profile-levels-full) .ar-level-current h3{font-family:'Cinzel',Georgia,serif;font-size:20px;line-height:1.2;margin:5px 0 9px}
:is(#arenaFull,.profile-levels-full) .ar-level-current p{font-size:12px;margin:3px 0;line-height:1.4}
:is(#arenaFull,.profile-levels-full) .ar-level-current .ar-level-next{color:var(--ink-2);font-size:11px}
:is(#arenaFull,.profile-levels-full) .ar-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 6px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile{appearance:none;position:relative;display:flex;align-items:center;flex-direction:column;min-width:0;min-height:190px;padding:7px 3px 8px;justify-content:flex-start;gap:0;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ink);font:inherit;cursor:pointer;text-align:center}
:is(#arenaFull,.profile-levels-full) .ar-level-tile.current{border-color:#638eae;background:linear-gradient(160deg,rgba(97,151,190,.16),rgba(88,131,168,.04));box-shadow:inset 0 1px 0 rgba(189,217,239,.18)}
:is(#arenaFull,.profile-levels-full) .ar-level-tile .ar-anatomy-art{width:min(100%,86px);margin:0 0 4px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile .ar-level-eyebrow{font-size:8px;letter-spacing:1.5px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile strong{font-family:Georgia,serif;font-size:15px;font-weight:600;line-height:1.15;min-height:32px;margin:3px 0;display:flex;align-items:center;justify-content:center}
:is(#arenaFull,.profile-levels-full) .ar-level-objective{font-size:9px;line-height:1.4;color:var(--ink-2);min-height:24px;max-width:100%;overflow-wrap:break-word}
:is(#arenaFull,.profile-levels-full) .ar-level-count{font-size:10px;color:var(--ink-2);margin-top:3px}
:is(#arenaFull,.profile-levels-full) .ar-level-badges-title{font:600 17px 'Cinzel',Georgia,serif;margin:23px 0 12px}
:is(#arenaFull,.profile-levels-full) .ar-level-badges-title small{display:block;font:400 11px system-ui,sans-serif;color:var(--ink-2);margin-top:5px}
:is(#arenaFull,.profile-levels-full) .ar-level-members-head{text-align:center;padding:4px 0 23px}
:is(#arenaFull,.profile-levels-full) .ar-level-members-head .ar-anatomy-art{width:138px;margin:0 auto 10px}
:is(#arenaFull,.profile-levels-full) .ar-level-members-head .ar-level-eyebrow{margin:4px 0 7px}
:is(#arenaFull,.profile-levels-full) .ar-level-people{display:grid;gap:8px}
:is(#arenaFull,.profile-levels-full) .ar-level-person{appearance:none;display:flex;align-items:center;gap:13px;width:100%;padding:10px 13px;min-height:76px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
:is(#arenaFull,.profile-levels-full) .ar-level-person.current{border-color:#728daf;background:linear-gradient(110deg,rgba(84,135,174,.18),rgba(84,135,174,.04))}
:is(#arenaFull,.profile-levels-full) .ar-level-portrait{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:none;border-radius:50%;overflow:hidden;background:var(--bg);border:1px solid #7799b1}
:is(#arenaFull,.profile-levels-full) .ar-level-portrait .portrait-frame{flex:none;border-radius:50%;overflow:hidden}
:is(#arenaFull,.profile-levels-full) .ar-level-person-name{font-family:'Cinzel',Georgia,serif;font-size:14px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
:is(#arenaFull,.profile-levels-full) .ar-level-person-name small{display:block;font:500 10px system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;color:var(--ink-2);margin-top:3px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile:focus-visible,:is(#arenaFull,.profile-levels-full) .ar-level-person:focus-visible{outline:2px solid #6eb7e4;outline-offset:2px}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-browser,.dark :is(#arenaFull,.profile-levels-full) .ar-level-members{color:#f4f4f3}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-current,.dark :is(#arenaFull,.profile-levels-full) .ar-level-person{background:linear-gradient(145deg,#082d45,#031d30);border-color:#28516c;box-shadow:inset 0 1px 0 rgba(170,206,231,.12)}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-current h3,.dark :is(#arenaFull,.profile-levels-full) .ar-level-tile,.dark :is(#arenaFull,.profile-levels-full) .ar-level-person{color:#f4f4f3}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-eyebrow,.dark :is(#arenaFull,.profile-levels-full) .ar-level-objective,.dark :is(#arenaFull,.profile-levels-full) .ar-level-count,.dark :is(#arenaFull,.profile-levels-full) .ar-level-intro p,.dark :is(#arenaFull,.profile-levels-full) .ar-level-members-head p,.dark :is(#arenaFull,.profile-levels-full) .ar-level-current .ar-level-next{color:#a6bfd2}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-tile.current{background:linear-gradient(145deg,rgba(35,82,116,.65),rgba(4,29,47,.3));border-color:#5f91b4}
.dark :is(#arenaFull,.profile-levels-full) .ar-level-person.current{background:linear-gradient(110deg,#133c59,#062237);border-color:#6d91ae}
@media(max-width:374px){
:is(#arenaFull,.profile-levels-full) .ar-level-current{gap:12px;padding:12px}
:is(#arenaFull,.profile-levels-full) .ar-level-current .ar-anatomy-art{width:86px}
:is(#arenaFull,.profile-levels-full) .ar-level-current h3{font-size:18px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile{min-height:184px}
:is(#arenaFull,.profile-levels-full) .ar-level-tile strong{font-size:14px}
:is(#arenaFull,.profile-levels-full) .ar-level-objective{font-size:8px}}


/* These are content headers, so they must not inherit the directory's sticky banner. */
:is(#arenaFull,.profile-levels-full) .ar-level-intro,:is(#arenaFull,.profile-levels-full) .ar-level-members-head{position:static;top:auto;z-index:auto;display:block;height:auto;min-height:0;width:auto;flex:none;background:none;color:inherit;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
:is(#arenaFull,.profile-levels-full) .ar-level-intro{padding:5px 0 13px}
:is(#arenaFull,.profile-levels-full) .ar-level-members-head{padding:4px 0 18px}
:is(#arenaFull,.profile-levels-full) .ar-level-current{margin-bottom:10px}

/* Approved standalone replacements retain the frozen atlas for every other tier. */
:is(#arenaFull,.profile-levels-full,#detailHero) .ar-anatomy-cornea{background-image:url('brand-art/anatomy-icons-v1/cornea-c2-45cw.webp');background-size:contain;background-position:center}
:is(#arenaFull,.profile-levels-full,#detailHero) .ar-anatomy-anterior-chamber{background-image:url('brand-art/anatomy-icons-v1/anterior-chamber-thin-iris.webp');background-size:contain;background-position:center}
:is(#arenaFull,.profile-levels-full,#detailHero) .ar-anatomy-lens{background-image:url('brand-art/anatomy-icons-v1/lens-l3.webp');background-size:contain;background-position:center}
