/* Profile-only extension of the shared interior theme. The official image stays
   static; enlarge main-raw's canvas, with a full-image control for wide weapons. */
.site-theme.profile-page:not(.home-page){--profile-gold:#ddc397;--muted:#b2c6d6;--ink:#eef5f9;scrollbar-color:#6d8495 #102131;caret-color:#ddc397}
.site-theme.profile-page:not(.home-page) .profile-main{max-width:1600px;margin-inline:auto}
.site-theme.profile-page:not(.home-page) .profile-main ::selection{background:#ddc397;color:#09131f}
.site-theme.profile-page:not(.home-page) .profile-main :focus-visible{outline:2px solid #ddc397;outline-offset:4px}
.site-theme.profile-page:not(.home-page) .profile-cinematic{padding:0;background:#102131;border:1px solid #344957;border-radius:16px;box-shadow:0 14px 36px #02091266,inset 0 1px #ffffff08}
.site-theme.profile-page:not(.home-page) .profile-cinematic::before{opacity:.15}
.site-theme.profile-page:not(.home-page) .profile-character{display:block;min-height:0}
.site-theme.profile-page:not(.home-page) .profile-character-copy{padding:30px 32px 26px;display:grid;grid-template-columns:1fr auto;column-gap:36px;align-items:start;border-bottom:1px solid #324756}
.site-theme.profile-page:not(.home-page) .profile-character-copy h2{color:#ddc397;font-size:clamp(42px,4.8vw,72px);grid-column:1;margin:0 0 10px}
.site-theme.profile-page:not(.home-page) .character-status{margin:14px 0 0;grid-column:1}
.site-theme.profile-page:not(.home-page) .character-location{grid-column:1;margin:0 0 12px}
.site-theme.profile-page:not(.home-page) .character-class{grid-column:1;flex-direction:row;flex-wrap:wrap;gap:8px 18px;margin:0}
.site-theme.profile-page:not(.home-page) .character-facts{grid-column:2;grid-row:1/5;grid-template-columns:repeat(3,minmax(65px,1fr));max-width:380px;padding:0;border:0;gap:16px 24px}
.site-theme.profile-page:not(.home-page) .character-ilvl{padding-top:12px;border-top:1px solid #344957}
.site-theme.profile-page:not(.home-page) .character-actions{grid-column:1/-1;margin-top:22px}
.site-theme.profile-page:not(.home-page) .profile-character-copy>.profile-notice{grid-column:1/-1}
.site-theme.profile-page:not(.home-page) .profile-armory-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.site-theme.profile-page:not(.home-page) .profile-armory{padding:26px 24px 18px;min-width:0}
.site-theme.profile-page:not(.home-page) .profile-character h3,.site-theme.profile-page:not(.home-page) .profile-roster h2,.site-theme.profile-page:not(.home-page) .profile-library-section h2,.site-theme.profile-page:not(.home-page) .library-card h3{color:#ddc397;font:400 30px/1.2 var(--display);text-transform:uppercase;margin:0 0 24px}
.site-theme.profile-page:not(.home-page) .armory-stage{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:8px}
.site-theme.profile-page:not(.home-page) .profile-character figure{height:720px;overflow:hidden;width:100%;min-width:0}
.site-theme.profile-page:not(.home-page) .profile-character figure>img{position:absolute;top:0;left:50%;transform:translateX(-50%);max-height:none;max-width:none;padding:0;width:100%;height:100%;object-fit:contain}
.site-theme.profile-page:not(.home-page) .profile-character figure[data-media-kind="main-raw"]:not([data-full-image="true"])>img{width:185%;height:100%}
.site-theme.profile-page:not(.home-page) .armory-stage{max-width:980px;margin-inline:auto}
.site-theme.profile-page:not(.home-page) .armory-slots,.site-theme.profile-page:not(.home-page) .armory-weapons{padding:0;margin:0;list-style:none;display:grid;gap:10px;min-width:0;justify-items:center}
.site-theme.profile-page:not(.home-page) .armory-slot{position:relative;min-width:0;width:60px;height:60px;z-index:2}
.site-theme.profile-page:not(.home-page) .armory-slot:has(details[open]){z-index:5}
.site-theme.profile-page:not(.home-page) .armory-slot-empty{width:60px;height:60px;display:grid;place-items:center;border:1px solid #344957;background:#0a1825;border-radius:4px;color:#698091}
.site-theme.profile-page:not(.home-page) .armory-slot-empty svg{width:24px;height:24px;opacity:.6}
.site-theme.profile-page:not(.home-page) .armory-slot-label{font:12px/1.4 Arial,sans-serif;color:#b2c6d6;display:block;margin-bottom:6px}
.site-theme.profile-page:not(.home-page) .armory-item{--item-accent:#a7b7c2;position:relative;width:60px;height:60px;border:2px solid var(--item-accent);border-radius:4px;background:#09131f;box-shadow:inset 0 0 0 1px #000;min-width:0}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="POOR"]{--item-accent:#9d9d9d}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="COMMON"]{--item-accent:#eeeeee}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="UNCOMMON"]{--item-accent:#65cb67}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="RARE"]{--item-accent:#69afff}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="EPIC"]{--item-accent:#d5a0ff}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="LEGENDARY"]{--item-accent:#ffad55}
.site-theme.profile-page:not(.home-page) .armory-item[data-quality="ARTIFACT"],.site-theme.profile-page:not(.home-page) .armory-item[data-quality="HEIRLOOM"]{--item-accent:#ddc397}
.site-theme.profile-page:not(.home-page) .armory-item summary{padding:0;display:grid;place-items:center;width:56px;height:56px;min-height:0;cursor:pointer;list-style:none;position:relative;border-radius:2px}
.site-theme.profile-page:not(.home-page) .armory-item summary::-webkit-details-marker{display:none}
.site-theme.profile-page:not(.home-page) .armory-item summary>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:2px;padding:0}
.site-theme.profile-page:not(.home-page) .armory-icon-missing{width:26px;height:26px;color:#91a7b8}
.site-theme.profile-page:not(.home-page) .armory-item-info{position:absolute;z-index:6;top:-2px;left:calc(100% + 12px);width:250px;padding:14px;font:13px/1.5 Arial,sans-serif;overflow-wrap:anywhere;background:#102131;border:1px solid #6b7e8d;border-radius:8px;box-shadow:0 8px 24px #0008;color:#eef5f9}
.site-theme.profile-page:not(.home-page) .armory-item-info strong{color:var(--item-accent);font-weight:600}
.site-theme.profile-page:not(.home-page) .armory-item-info p{margin:8px 0 0;font-size:12px;color:#b2c6d6}
.site-theme.profile-page:not(.home-page) .armory-slots:last-child .armory-item-info{left:auto;right:calc(100% + 12px)}
.site-theme.profile-page:not(.home-page) .armory-weapons{display:flex;justify-content:center;gap:12px;margin:8px auto 0}
.site-theme.profile-page:not(.home-page) .armory-weapons .armory-item-info{top:auto;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%)}
.site-theme.profile-page:not(.home-page) .armory-image-controls{text-align:center;margin-top:12px}
.site-theme.profile-page:not(.home-page) .armory-image-controls p{font:12px/1.6 Arial,sans-serif;color:#b2c6d6;margin:6px 0}
.site-theme.profile-page:not(.home-page) .armory-state{font:14px/1.7 Arial,sans-serif;color:#b2c6d6;max-width:70ch;margin:18px 0 0}
.site-theme.profile-page:not(.home-page) .profile-library,.site-theme.profile-page:not(.home-page) .profile-roster{margin-top:14px}
.site-theme.profile-page:not(.home-page) .character-choice,.site-theme.profile-page:not(.home-page) .library-card{border-radius:14px;background:#102537;border:1px solid #344957;box-shadow:0 8px 22px #02091244,inset 0 1px #ffffff06}
.site-theme.profile-page:not(.home-page) .character-choice[aria-pressed="true"]{border-color:#ddc397;background:#1a3040}
.site-theme.profile-page:not(.home-page) .character-choice[aria-pressed="true"]::after{display:none}
.site-theme.profile-page:not(.home-page) .profile-settings{background:#102131;border:1px solid #344957;border-radius:16px;padding:10px 24px}
.site-theme.profile-page:not(.home-page) .profile-settings>details>summary{color:#ddc397}
.site-theme.profile-page:not(.home-page) .profile-main select,.site-theme.profile-page:not(.home-page) .profile-main input{border-radius:8px}
.site-theme.profile-page:not(.home-page) .profile-main .profile-button{border-radius:8px;background:#142c3e;color:#eef5f9;border:1px solid #476174}
.site-theme.profile-page:not(.home-page) .profile-main .profile-primary{background:#ddc397;border-color:#ddc397;color:#09131f}
.site-theme.profile-page:not(.home-page) .profile-main .profile-text-button{background:transparent;border:0;color:#ddc397;border-radius:6px}
.site-theme.profile-page:not(.home-page) .profile-main .profile-button:disabled{background:#132638;border-color:#344957;color:#9db1c0;cursor:default}
@media(hover:hover){.site-theme.profile-page:not(.home-page) .profile-main .profile-button:hover:not(:disabled):not([aria-selected="true"]):not([aria-pressed="true"]){background:#26445b}.site-theme.profile-page:not(.home-page) .profile-main .profile-primary:hover:not(:disabled):not([aria-selected="true"]):not([aria-pressed="true"]){background:#eddbb8;color:#09131f}.site-theme.profile-page:not(.home-page) .armory-item:hover{filter:brightness(1.1)}}
@media(max-width:760px){.site-theme.profile-page:not(.home-page) .profile-main{padding-inline:16px}.site-theme.profile-page:not(.home-page) .profile-character-copy{padding:24px 18px;display:block}.site-theme.profile-page:not(.home-page) .profile-character-copy h2{font-size:48px}.site-theme.profile-page:not(.home-page) .character-facts{max-width:none;margin-top:24px;gap:16px}.site-theme.profile-page:not(.home-page) .character-facts>div:nth-child(3){grid-column:auto}.site-theme.profile-page:not(.home-page) .profile-armory{padding:24px 10px 18px}.site-theme.profile-page:not(.home-page) .profile-armory>h3{margin-left:8px}.site-theme.profile-page:not(.home-page) .armory-stage{grid-template-columns:52px minmax(0,1fr) 52px;gap:3px}.site-theme.profile-page:not(.home-page) .profile-character figure{height:560px}.site-theme.profile-page:not(.home-page) .profile-character figure[data-media-kind="main-raw"]:not([data-full-image="true"])>img{width:230%} .site-theme.profile-page:not(.home-page) .armory-slots{gap:10px}.site-theme.profile-page:not(.home-page) .armory-slot,.site-theme.profile-page:not(.home-page) .armory-slot-empty,.site-theme.profile-page:not(.home-page) .armory-item{width:48px;height:48px}.site-theme.profile-page:not(.home-page) .armory-item summary{width:44px;height:44px}.site-theme.profile-page:not(.home-page) .armory-item-info{width:min(225px,calc(100vw - 120px));left:calc(100% + 5px)}.site-theme.profile-page:not(.home-page) .armory-slots:last-child .armory-item-info{left:auto;right:calc(100% + 5px)}.site-theme.profile-page:not(.home-page) .armory-weapons .armory-item-info{left:50%}
.site-theme.profile-page:not(.home-page) .profile-settings{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.site-theme.profile-page:not(.home-page) .profile-main *{scroll-behavior:auto;transition:none}}
