/* Original PvPGN artwork; preserve native-size corners and repeat only edge tiles. */
#profile.player-profile{position:relative;padding:40px;background:#000;box-shadow:none}
.profile-game-frame{position:absolute;inset:0;display:grid;grid-template-columns:22px minmax(0,1fr) 22px;grid-template-rows:22px minmax(0,1fr) 22px;pointer-events:none}
.profile-game-frame .frame-tl{background:url('../themes/bnet/images/metalborder-left-top.gif') left top no-repeat}
.profile-game-frame .frame-top{background:url('../themes/bnet/images/metalborder-top.gif') left top repeat-x}
.profile-game-frame .frame-tr{background:url('../themes/bnet/images/metalborder-right-top-profile.gif') right top no-repeat}
.profile-game-frame .frame-left{background:url('../themes/bnet/images/metalborder-left.gif') left top repeat-y}
.profile-game-frame .frame-right{background:url('../themes/bnet/images/metalborder-right-profile.gif') right top repeat-y}
.profile-game-frame .frame-bl{background:url('../themes/bnet/images/metalborder-left-bot-profile.gif') left bottom no-repeat}
.profile-game-frame .frame-bottom{background:url('../themes/bnet/images/metalborder-bot-profile.gif') left bottom repeat-x}
.profile-game-frame .frame-br{background:url('../themes/bnet/images/metalborder-right-bot-profile.gif') right bottom no-repeat}
.profile-game-emblem{width:150px;height:100px;border:0;background:none}
.profile-game-emblem img{max-width:145px;max-height:90px}
.profile-win-summary{display:grid;gap:8px;margin-top:18px;justify-items:center}
.profile-win-summary>span{font:18px Georgia,serif;color:#ead59d}
.profile-win-summary small{font:10px/1.6 Arial,sans-serif;color:#bdb49f}
.profile-win-meter{display:block;appearance:none;-webkit-appearance:none;box-sizing:content-box;width:140px;max-width:100%;height:22px;border:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-image:url('../themes/bnet/images/expbar-top.gif') 7 0 repeat;background:#080808 url('../themes/bnet/images/expbar-bg.gif') repeat-x;color:#168cd0}
.profile-win-meter::-webkit-progress-bar{background:#080808 url('../themes/bnet/images/expbar-bg.gif') repeat-x}
.profile-win-meter::-webkit-progress-value{background:#168cd0 url('../themes/bnet/images/expbar-var.gif') repeat-x}
.profile-win-meter::-moz-progress-bar{background:#168cd0 url('../themes/bnet/images/expbar-var.gif') repeat-x}
body[data-game=STAR] #profile .profile-identity,body[data-game=SEXP] #profile .profile-identity{background:#080d10 url('../themes/bnet/res/star-bg.gif') repeat}
body[data-game=WAR3] #profile .profile-identity,body[data-game=W3XP] #profile .profile-identity,body[data-game=W2BN] #profile .profile-identity{background:#120d08 url('../themes/bnet/res/wood-bg.gif') repeat}
body[data-theme=modern] #profile.player-profile{padding:32px}
body[data-theme=modern] .profile-game-frame{display:none}
body[data-theme=modern] .profile-win-summary>span{color:#dfc99f}
@media(max-width:600px){#profile.player-profile{padding:32px 28px}.profile-win-summary{margin-top:12px}.layout-4 .profile-win-summary{grid-column:1/-1}}
