html.gv-v2 body #modalCard .avp-frame-demo{width:116px!important;max-width:100%!important;min-width:0!important;margin:10px auto!important;padding:0!important}
html.gv-v2 #modalCard #avpTabFrames .avp-item{min-height:174px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#211828!important;border:0!important}
html.gv-v2 #modalCard #avpTabFrames .avp-item-name{position:relative!important;margin:4px 0 10px!important;font-size:13px!important;line-height:1.5!important;color:#f3dfb6!important;background:none!important;width:100%;text-align:center}
html.gv-v2 #modalCard #avpTabNamecolor .avp-title-item{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding:16px!important;min-height:76px;align-items:center;background:#1b1224!important}
html.gv-v2 #diamondShopOverlay .treasury-intro{background:radial-gradient(ellipse at 40% 50%,#170f23ed 25%,#170f2300 73%)!important;border:0!important;box-shadow:none!important;padding:20px!important}
html.gv-v2 #diamondShopOverlay .ds-tab{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:8px!important;text-align:center!important}
html.gv-v2 #diamondShopOverlay .ds-tab .ds-tab-icon{position:static!important;inset:auto!important;transform:none!important;width:28px!important;height:28px!important;object-fit:contain;flex:0 0 28px;margin:0!important}
html.gv-v2 #diamondShopOverlay .ds-tab-founder .ds-tab-new{display:none!important}
@media(max-width:600px){html.gv-v2 #diamondShopOverlay .ds-tab .ds-tab-icon{width:20px!important;height:20px!important;flex-basis:20px!important}html.gv-v2 #diamondShopOverlay .ds-tab{gap:5px!important;font-size:11px!important}}
.gv-nickname-sample{grid-column:1/-1;font:700 22px/1.4 var(--font-display,serif);color:#f0eaff}
html.gv-v2 #modalCard #avpTabFrames .avp-item-tag{display:none!important}
html.gv-v2 #modalCard .gv-nickname-sample span{color:inherit}
html.gv-v2 .gv-frontier-name{width:165px!important;min-width:165px!important;height:48px!important;padding:8px 22px!important;background:url('/v2/art/guild-reborn/ribbon.webp') center/contain no-repeat!important;border:0!important;border-image:none!important;font:700 13px/1 var(--font-display,serif)!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:8!important;box-shadow:none!important;text-transform:none!important}
html.gv-v2 .gv-frontier-name::before,html.gv-v2 .gv-frontier-name::after{display:none!important}


html.gv-v2 .gv-frontier-footer{padding:18px 30px;background:radial-gradient(ellipse at 40% 50%,#08050ac9,transparent 73%)!important;border:0!important}
html.gv-v2 .gv-frontier-footer>span{padding:0!important;background:none!important;border:0!important;border-radius:0!important;text-shadow:0 2px 4px #000,0 1px 1px #000;color:#fff4d7}
html.gv-v2 :is(.gv-ready-mark,.gv-news-badge){background:url('/v2/art/council/reward-seal.webp') center/contain no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:31px!important;min-width:31px!important;height:36px!important;padding:5px 0 0!important;font:700 12px/20px system-ui!important;box-sizing:border-box!important;color:#fff2c6!important;text-shadow:0 1px 2px #42110f}
html.gv-v2 .gv-ready-mark[hidden],html.gv-v2 .gv-news-badge[hidden]{display:none!important}
@media(max-width:600px){html.gv-v2 .gv-frontier-name{width:132px!important;min-width:132px!important;height:40px!important;font-size:12px!important;padding:8px 17px!important}html.gv-v2 body #modalCard .avp-frame-demo{width:94px!important}}
/* The four ornate collections normalize the portrait window to Founder's
   78.5% height. Their full frame grows uniformly around that opening; the
   protruding corners do not shrink the face. Existing row/card gaps reserve
   ornament space. Founder and the plain collections retain their sizing.
   The complete frame keeps its aspect ratio; only the portrait is cropped.
   Insets describe each painting's clear opening, not its decorative bounds. */
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait{--identity-frame:none;--identity-frame-inset:0;--identity-inset:5%;position:relative!important;display:inline-block;vertical-align:middle;isolation:isolate;box-sizing:border-box!important;aspect-ratio:1!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;overflow:visible!important;background:none!important;box-shadow:none!important;transform:none!important;animation:none!important;flex-shrink:0}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait::before{display:none!important;content:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait::after{content:''!important;display:block!important;position:absolute!important;inset:var(--identity-frame-inset)!important;background:var(--identity-frame) center/contain no-repeat!important;border:0!important;border-image:none!important;border-radius:0!important;pointer-events:none!important;z-index:3!important;transform:none!important;opacity:1!important;animation:none!important;box-shadow:none!important;filter:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait>.gv-portrait-window{display:block!important;position:absolute!important;inset:var(--identity-inset)!important;width:auto!important;height:auto!important;max-width:none!important;overflow:hidden!important;border:0!important;border-radius:0!important;padding:0!important;z-index:1!important;box-shadow:none!important;animation:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait>.gv-portrait-window::before,html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait>.gv-portrait-window::after{content:none!important;display:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait>.gv-portrait-window>img,html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait>.gv-portrait-window>video{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;min-width:0!important;max-height:none!important;padding:0!important;margin:0!important;object-fit:cover!important;object-position:center!important;background:transparent!important;border:0!important;border-image:none!important;border-radius:0!important;transform:none!important;animation:none!important;box-shadow:none!important;clip-path:none!important;z-index:1!important;opacity:1!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-wooden{--identity-frame:url('/img/avatar-frames/frame-dark-slim.webp');--identity-inset:4%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-iron{--identity-frame:url('/img/avatar-frames/frame-iron-bolts.webp');--identity-inset:5%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait:is(.gv-frame-alpha,.gv-frame-codex_archivist,.gv-frame-veilstone_silver,.gv-frame-tides_silver){--identity-frame:url('/img/avatar-frames/frame-silver-gold.webp');--identity-inset:5%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait:is(.gv-frame-codex_voice,.gv-frame-veilstone_mythic,.gv-frame-tides_mythic){--identity-frame:url('/img/avatar-frames/frame-steel-rivets.webp');--identity-inset:6%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait:is(.gv-frame-veilstone_bronze,.gv-frame-tides_bronze,.gv-frame-codex_reader){--identity-frame:url('/img/avatar-frames/frame-dark-slim.webp');--identity-inset:4%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait:is(.gv-frame-veilstone_gold,.gv-frame-tides_gold){--identity-frame:url('/img/avatar-frames/frame-silver-gold.webp');--identity-inset:5%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-founder{--identity-frame:url('/v2/art/profile/founder-frame-square.webp');--identity-inset:10.5% 9.5% 11%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-adventurer{--identity-frame:url('/v2/art/profile/frame-adventurer.webp');--identity-frame-inset:-3.87324% -5.28169% -6.69014%;--identity-inset:10.5% 7.98592% 11%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-champion{--identity-frame:url('/v2/art/profile/frame-champion.webp');--identity-frame-inset:-3.87324% -5.28169% -6.69014%;--identity-inset:10.5% 7.98592% 11%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-frame-overlord{--identity-frame:url('/v2/art/profile/frame-overlord.webp');--identity-frame-inset:-4.07857% -6.07143% -8.06429%;--identity-inset:10.5% 7.38571% 11%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait.gv-avatar-prem{--identity-frame:url('/v2/art/profile/frame-premium.webp');--identity-frame-inset:-3.87324% -5.28169% -6.69014%;--identity-inset:10.5% 7.98592% 11%}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait-window.gv-bg-founder{background:radial-gradient(ellipse at 50% 45%,#674333,#201126 80%)!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait-window.gv-bg-overlord{background:radial-gradient(ellipse at 50% 45%,#533172,#170d28 80%)!important}
html.gv-v2 body :is(#modalCard,#sidebarHeroContent,#panelHero) .gv-portrait:is(.h7-medal-in,.gvpc-av,.avp-frame-demo,.avp-preview-avatar,.avp-bg-demo){height:auto!important;min-height:0!important}
html.gv-v2 body #modalCard .gr-profile .gvpc-av.gv-portrait{border:0!important;border-image:none!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
html.gv-v2 body .gr-face{width:56px!important;height:56px!important;background:none!important;border:0!important;overflow:visible!important}
html.gv-v2 body .gr-face .gv-portrait{width:100%!important;height:auto!important;min-width:0!important}
html.gv-v2 body .gr-face>div,html.gv-v2 body .gr-face>.gv-avatar-wrap{width:100%!important;height:100%!important;background:none!important;padding:0!important}
html.gv-v2 body .gr-row{grid-template-columns:32px 56px minmax(160px,1fr) 120px 75px 120px}
/* Legacy hosts can retain a second CSS frame around the painted portrait. */
html.gv-v2 body :is(.gv-avatar-wrap,.gr-face,.chat-msg-avatar,.arena-hist-avatar-wrap):has(.gv-portrait){background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;padding:0!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait:not(:focus-visible),
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait::after,
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait-window,
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait-window>img{outline:0!important;outline-offset:0!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) [class*="gv-frame-"]:has(>.gv-portrait){border:0!important;border-image:none!important;box-shadow:none!important;animation:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) [class*="gv-frame-"]:has(>.gv-portrait):not(:focus-visible){outline:0!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) [class*="gv-frame-"]:has(>.gv-portrait)::before,
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) [class*="gv-frame-"]:has(>.gv-portrait)::after{content:none!important;display:none!important}
html.gv-v2 body .chat-avatar-img.gv-portrait{width:64px!important;height:64px!important}
html.gv-v2 body.gv-signed-out :is(#gameScreen,#createScreen,#worldSelectScreen,#modalOverlay,#chatPanel,.courier-launcher,#veilMeter,#veilOrb){display:none!important}
html.gv-v2 body.gv-signed-out #authScreen{display:flex!important;visibility:visible!important}
@media(max-width:650px){html.gv-v2 body .gr-row{grid-template-columns:23px 48px minmax(65px,1fr) 76px}html.gv-v2 body .gr-face{width:48px!important;height:48px!important}}
html.gv-v2 body :is(#sidebarHeroContent,#panelHero) .hero-profile-avatar-wrap{width:100%!important;height:100%!important}
html.gv-v2 body :is(#sidebarHeroContent,#panelHero) .h7-medal-in.gv-portrait{display:block!important;width:100%!important}
/* Notification anchors must never put a map location back into normal flow. */
html.gv-v2 body .gv-frontier .gv-frontier-location{position:absolute!important;left:var(--x)!important;top:var(--y)!important}
html.gv-v2 body #panelRankings .gr-hall .gr-row{grid-template-columns:32px 56px minmax(160px,1fr) 120px 75px 120px}
html.gv-v2 body #gameScreen .gv-header-portrait{width:44px!important;height:44px!important;border:0!important;background:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait.gv-portrait,html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) .gv-portrait-window{filter:none!important}
html.gv-v2 body :is(#gameScreen,#modalCard,#chatPanel) [class*="gv-bg-"]:has(>.gv-portrait){background:none!important;box-shadow:none!important}
@media(max-width:650px){html.gv-v2 body #panelRankings .gr-hall .gr-row{grid-template-columns:23px 48px minmax(0,1fr) 66px;gap:7px}}

html.gv-v2 body .chat-name-founder{color:#ffcc68!important;background:none!important;-webkit-text-fill-color:#ffcc68!important;animation:none!important;text-shadow:0 1px 2px #170d20}

/* Reserve room for enlarged portraits and their painted corners. */
html.gv-v2 body .chat-msg-avatar{width:64px!important;height:64px!important;flex:0 0 64px!important}
html.gv-v2 body .chat-msg{gap:14px;padding:10px 6px}
html.gv-v2 body #modalCard .gr-profile .gvpc-av.gv-portrait{width:184px!important}
html.gv-v2 body #modalCard .gr-profile .gvpc-hd>div:not(.gvpc-id):not(.gvpc-crest){flex-basis:192px}
@media(max-width:650px){
html.gv-v2 body #modalCard .gr-profile .gvpc-av.gv-portrait{width:124px!important}
html.gv-v2 body #modalCard .gr-profile .gvpc-hd>div:not(.gvpc-id):not(.gvpc-crest){flex-basis:132px}
}html.gv-v2 body :is(#sidebarHeroContent,#panelHero) .h7-medal{width:196px;height:196px;max-width:196px;max-height:196px}
