/* Allegiance is a material and a crest, never colour alone. */
html.gv-v2 [data-veil]{--veil-accent:#e4bf73;--veil-haze:#97652255;--veil-edge:#ba985f;--veil-well:#201d24;--veil-art:url('/v2/art/profile/chamber.webp')}
html.gv-v2 [data-veil=warden]{--veil-art:url('/v2/art/profile/warden-chamber.webp')}
html.gv-v2 [data-veil=seeker]{--veil-accent:#d7b7ff;--veil-haze:#743dad66;--veil-edge:#9770bd;--veil-well:#211b30;--veil-art:url('/v2/art/profile/seeker-chamber.webp')}
html.gv-v2 #sidebarLeft .gv-hero-chamber[data-veil],html.gv-v2 #panelHero .gv-hero-chamber[data-veil]{background:linear-gradient(180deg,#10121b11,transparent 220px,#151620ee 590px),var(--veil-art) center top/100% auto no-repeat,#151620!important;border-right:1px solid var(--veil-edge)}
html.gv-v2 .gv-hero-chamber[data-veil] .h7-medal-in{border-color:var(--veil-accent)!important;box-shadow:0 0 0 5px #10131c99,0 0 34px var(--veil-haze)!important}
html.gv-v2 .gv-hero-chamber .veil-allegiance{position:relative!important;inset:auto!important;display:flex;align-items:center;justify-content:center;gap:10px;width:calc(100% - 36px);height:40px;margin:6px 18px 16px;padding:4px 12px;border:0;border-top:1px solid var(--veil-edge);border-bottom:1px solid var(--veil-edge);border-radius:0;background:linear-gradient(90deg,transparent,var(--veil-haze),transparent);color:var(--veil-accent);font:700 12px var(--font-display,serif);letter-spacing:.08em;text-transform:uppercase}
.veil-allegiance-symbol{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 2px 5px #0008)}
html.gv-v2 .gv-hero-chamber .veil-profile-mail{position:relative;display:flex;align-items:center;gap:12px;width:calc(100% - 36px);height:50px;margin:12px 18px;padding:8px 14px;border:1px solid var(--veil-edge);border-radius:6px;background:linear-gradient(120deg,var(--veil-haze),#171820);color:#f2e2c6;box-shadow:inset 0 0 0 3px #10111a66}
html.gv-v2 .gv-hero-chamber .veil-profile-mail img{width:34px;height:34px;object-fit:contain}
.veil-mail-label{font:700 15px var(--font-display,serif);letter-spacing:.04em}
.veil-mail-count{position:absolute;right:8px;top:8px;min-width:25px;height:25px;padding:3px 6px;border:1px solid #ffe6a0;border-radius:50%;background:#e9ba5f;color:#201420;font:800 12px system-ui;box-shadow:0 2px 10px #0008}
[data-veil-mail][data-unread=true] .veil-mail-count{animation:veil-mail-pulse 2.4s ease-in-out infinite}
.gv-frontier-location[data-art=mailbox] .veil-mail-count{right:18%;top:10%;min-width:30px;height:30px;padding:6px}
.gv-frontier-location[data-art=mailbox][data-unread=true] .gv-frontier-building{animation:veil-post-sway 4.5s ease-in-out infinite;transform-origin:50% 90%}
.gv-frontier-location[data-art=mailbox] .gv-frontier-name{font-size:clamp(10px,1.1vw,17px)}
html.gv-v2 #modalCard.ghc-inventory{padding:0!important;max-width:min(1000px,calc(100vw - 24px))!important;overflow:hidden;background:linear-gradient(120deg,var(--veil-haze),#171621f5 65%),url('/v2/art/profile/chamber.webp') center/cover!important}
html.gv-v2 #modalCard .veil-kit{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);color:#e9dfcd;margin:0!important;width:100%!important;border:0!important;border-radius:0!important}
html.gv-v2 #modalCard .veil-kit .inv-slot .item-icon-wrap{width:76px!important;height:76px!important;aspect-ratio:1;flex:0 0 76px;max-width:76px!important}
html.gv-v2 .veil-kit .inv-modal-header{padding:22px 64px 20px 28px;background:linear-gradient(100deg,var(--veil-haze),#17182088);border-bottom:1px solid var(--veil-edge);flex-shrink:0}
html.gv-v2 .veil-kit .section-title{font:700 27px var(--font-display,serif);color:var(--veil-accent)}
html.gv-v2 .veil-kit .inv-count{font:700 16px system-ui;color:#e9d6af;padding:7px 12px;border:1px solid var(--veil-edge);background:#13151e88;border-radius:5px}
html.gv-v2 .veil-kit .inv-scroll-area{overflow:auto;min-height:0;max-height:none;padding:0 26px 24px;scrollbar-width:thin;scrollbar-color:var(--veil-edge) #17151e}
.veil-kit-tabs{display:flex;gap:24px;border-bottom:1px solid #af997e44;margin-bottom:18px}
.veil-kit-tab{padding:17px 3px;border:0;border-bottom:3px solid transparent;background:none;color:#b9afc2;font:700 16px var(--font-display,serif);cursor:pointer}
.veil-kit-tab[aria-selected=true]{color:var(--veil-accent);border-bottom-color:var(--veil-accent)}
.veil-kit-search{width:100%;height:44px;border:1px solid #a3937977;border-radius:5px;background:#12131caa;color:#fff0d8;padding:0 14px;font:14px system-ui}
.veil-kit-search::placeholder{color:#bdb3c3}
.veil-kit-guide{font:13px system-ui;color:#c7bdca;margin:12px 0 18px}
html.gv-v2 .veil-kit .inv-sec-tab-wrap{border:0;background:none;margin:0}
html.gv-v2 .veil-kit .inv-sec-tab{display:none}
html.gv-v2 .veil-kit .inv-sec-body{padding:0}
html.gv-v2 .veil-kit .inv-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html.gv-v2 .veil-kit .inv-slot{--item-hue:#9f9aaa;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:auto!important;height:auto!important;aspect-ratio:auto;min-height:163px;padding:15px 8px 11px;border:1px solid color-mix(in srgb,var(--item-hue) 65%,transparent);border-radius:9px;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--item-hue) 22%,transparent),transparent 68%),linear-gradient(#252330bb,#12141cdd);box-shadow:inset 0 0 0 3px #12141c66;cursor:pointer;transition:transform .16s ease,border-color .16s ease}
html.gv-v2 .veil-kit .inv-slot.uncommon{--item-hue:#80c394}html.gv-v2 .veil-kit .inv-slot.rare{--item-hue:#76b8f8}html.gv-v2 .veil-kit .inv-slot.epic{--item-hue:#bd8cec}html.gv-v2 .veil-kit .inv-slot.legendary{--item-hue:#e9bb62}html.gv-v2 .veil-kit .inv-slot.mythic{--item-hue:#eb849e}
html.gv-v2 .veil-kit .inv-slot:hover{transform:translateY(-3px);border-color:var(--item-hue)}
html.gv-v2 .veil-kit .inv-slot>img,html.gv-v2 .veil-kit .inv-slot>.item-icon{width:76px!important;height:76px!important;flex-shrink:0}
.veil-kit-item-name{font:600 13px/1.4 system-ui,sans-serif;color:#eee2ce;text-align:center;max-width:100%;margin-top:10px;overflow-wrap:anywhere}
.veil-kit-item-type{font:11px system-ui;color:var(--item-hue);text-transform:capitalize;margin-top:5px}
html.gv-v2 .veil-kit .inv-rarity-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
html.gv-v2 .veil-kit .inv-rarity-pill{padding:8px 10px;min-height:34px;font:12px system-ui;border-radius:4px}
.veil-kit-empty{padding:35px 10px;text-align:center;color:#c8bdcb;font:15px system-ui}
html.gv-v2 .veil-kit [hidden]{display:none!important}
html.gv-v2 .veil-kit [data-kit-page="1"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
html.gv-v2 .veil-kit [data-kit-page="1"] .inv-sec-tab{display:block;font:700 17px var(--font-display,serif);background:none;color:var(--veil-accent);padding:0 0 12px}
html.gv-v2 .veil-kit [data-kit-page="1"] .inv-sec-full{grid-column:1/-1}
html.gv-v2 .veil-kit .inv-currency-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.gv-v2 .veil-kit .inv-cur-chip{display:grid;grid-template-columns:36px 1fr;padding:12px;gap:4px 9px;width:auto;background:#191a2577;border:1px solid #a3937944;border-radius:6px;min-width:0}
.veil-kit-resource-name{grid-column:1/-1;font:11px/1.4 system-ui;color:#c5bdc8;white-space:normal}
html.gv-v2 .veil-kit .inv-mat-slot{height:auto;min-height:110px;background:#191a2577;border-color:#a3937955;padding:12px}
html.gv-v2 .veil-kit .dim{opacity:.65}
html.gv-v2 .veil-kit .inv-action-bar{display:flex;gap:12px;justify-content:space-between;padding:16px 26px;background:#13151ef2;border-top:1px solid var(--veil-edge);flex-shrink:0}
html.gv-v2 .veil-kit .inv-action-bar button{min-height:44px;border:1px solid var(--veil-edge);border-radius:5px;padding:10px 26px;font:700 14px var(--font-display,serif);color:#efdfbd;background:linear-gradient(#46404a,#24222d)}
html.gv-v2 .veil-kit .inv-act-close{background:linear-gradient(#ead3a2,#b08a52)!important;color:#251c19!important}
html.gv-v2 #modalCard.ghc-settings{padding:0!important;max-width:min(850px,calc(100vw - 24px))!important;overflow:auto}
html.gv-v2 .ghc-settings .gvset{display:grid;grid-template-columns:170px minmax(0,1fr);padding:0!important}
html.gv-v2 .ghc-settings .gvset-head{grid-column:1/-1;padding:26px 50px 22px 26px;margin:0;border-bottom:1px solid var(--veil-edge);background:linear-gradient(100deg,var(--veil-haze),transparent)}
.veil-settings-intro{font:13px/1.5 system-ui;color:#bfb5c7;margin:8px 0 0;letter-spacing:0;text-transform:none}
html.gv-v2 .ghc-settings .gvset-tabs{display:flex;flex-direction:column;gap:5px;padding:20px 12px;border-right:1px solid #a3937944;margin:0;background:#11131d66}
html.gv-v2 .ghc-settings .gvset-tab{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid transparent;text-align:left;padding:12px;font-size:13px;background:none}
html.gv-v2 .ghc-settings .gvset-tab.active{background:var(--veil-haze);border-color:var(--veil-edge);color:var(--veil-accent)}
html.gv-v2 .ghc-settings .gvset-body{height:390px!important;max-height:55dvh;overflow:auto;padding:22px;transition:none!important}
html.gv-v2 .ghc-settings .gvset-foot{grid-column:1/-1;padding:16px 26px;border-top:1px solid #a3937944}
.veil-setting-help{display:block;max-width:330px;font:12px/1.5 system-ui;color:#bdb4c6;margin-top:5px}
html.gv-v2 .ghc-settings .settings-toggle-row{gap:16px;min-height:70px}
html.gv-v2 .ghc-settings .settings-toggle-row{position:relative}
html.gv-v2 .ghc-settings .settings-toggle-row input{display:block!important;position:absolute;right:0;top:50%;transform:translateY(-50%);width:44px;height:44px;margin:0;opacity:0;cursor:pointer}
html.gv-v2 .ghc-settings .settings-toggle-row input:focus-visible+.settings-toggle{outline:2px solid var(--veil-accent);outline-offset:4px}
html.gv-v2 .ghc-settings .settings-toggle-row input:checked+.settings-toggle{background:#347252}
html.gv-v2 .ghc-settings .settings-toggle-row input:checked+.settings-toggle:after{transform:translateX(18px);background:#c5e4b6}
html.gv-v2 .ghc-settings .gvset-btn{min-height:44px;background:#272633;border:1px solid #a3937955;color:#e9ddc8;border-radius:5px}
@keyframes veil-mail-pulse{0%,100%{box-shadow:0 0 0 0 #f7c56b00}50%{box-shadow:0 0 0 6px #f7c56b22}}
@keyframes veil-post-sway{0%,75%,100%{transform:rotate(0)}82%{transform:rotate(-2deg)}90%{transform:rotate(2deg)}}
html[data-veil-motion=off] [data-veil-mail] *,[data-running=false] [data-veil-mail] *{animation:none!important}
html[data-veil-hidden=true] [data-veil-mail] *{animation-play-state:paused!important}
html[data-veil-motion=off] .gv-hero-chamber *,html[data-veil-motion=off] .ghc-wardrobe *{animation:none!important}
@media(max-width:650px){html.gv-v2 .veil-kit .inv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html.gv-v2 .veil-kit .inv-scroll-area{padding:0 12px 16px}html.gv-v2 .veil-kit .inv-modal-header{padding:18px 48px 18px 16px}html.gv-v2 .veil-kit .section-title{font-size:22px}html.gv-v2 .veil-kit .inv-slot{min-height:150px;padding:10px 5px}html.gv-v2 .veil-kit .inv-slot>img,html.gv-v2 .veil-kit .inv-slot>.item-icon{width:64px!important;height:64px!important}.veil-kit-item-name{font-size:12px}html.gv-v2 .veil-kit [data-kit-page="1"]{grid-template-columns:1fr}html.gv-v2 .veil-kit .inv-currency-rail{grid-template-columns:repeat(3,minmax(0,1fr))}html.gv-v2 .veil-kit .inv-cur-chip{padding:8px;grid-template-columns:28px 1fr;gap:3px}html.gv-v2 .veil-kit .inv-action-bar{padding:12px}html.gv-v2 .ghc-settings .gvset{display:block}html.gv-v2 .ghc-settings .gvset-tabs{flex-direction:row;overflow:auto;padding:10px;border-right:0}html.gv-v2 .ghc-settings .gvset-tab{flex:1;flex-direction:column;gap:5px;font-size:10px;padding:8px 4px}html.gv-v2 .ghc-settings .gvset-body{padding:14px;max-height:53dvh;height:350px!important}html.gv-v2 .ghc-settings .gvset-head{font-size:24px}html.gv-v2 .ghc-settings .settings-toggle-row{font-size:13px}}
@media(prefers-reduced-motion:reduce){[data-veil-mail] *,html.gv-v2 .veil-kit .inv-slot{animation:none!important;transition:none!important}}
html.gv-v2 #headerMailBtn{position:relative;min-width:44px;min-height:44px;background:linear-gradient(#684b2a,#2c2130);border:1px solid #dab66f;border-radius:7px;overflow:visible}
html.gv-v2 #headerMailBtn img{width:28px;height:28px;object-fit:contain}
html.gv-v2 #headerMailBadge{display:none!important}
html.gv-v2 #headerMailBtn .veil-mail-count{top:-5px;right:-4px;min-width:19px;height:19px;font-size:10px;padding:2px}
@media(max-width:420px){html.gv-v2 .veil-kit .inv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
