
/* Player profile: identity, connections and power, then actions and collections. */
body[data-page="ultimate-profile"] #page-ultimate-profile{background:#211c2b;padding:28px 24px 48px;color:#f4edf8}
body #page-ultimate-profile #ultimateProfileContent{max-width:1100px;margin:auto;color:#f4edf8}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;padding:24px;background:#2c2538;border:1px solid #76648455;border-radius:20px;align-items:start;overflow:visible}
body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{grid-column:auto;grid-row:auto;width:100%;border-radius:14px;overflow:hidden;align-self:start;background:#211c2b}
body #page-ultimate-profile #ultimateProfileContent .up-portrait-art{aspect-ratio:2/3;min-height:0;flex:none}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption{padding:12px 14px;background:#352b41;flex-direction:row;align-items:center}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption strong{font-size:16px;font-weight:600;line-height:1.3}
body #page-ultimate-profile #ultimateProfileContent .up-profile-main{display:flex;flex-direction:column;padding:0;min-width:0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity{grid-column:auto;grid-row:auto;margin:0;padding:0 44px 0 0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{font:600 clamp(28px,3vw,40px)/1.15 Georgia,serif;overflow-wrap:anywhere}
body #page-ultimate-profile #ultimateProfileContent .up-profile-options{top:0;right:0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-bio{grid-column:auto;grid-row:auto;margin:12px 0 18px;padding:0 36px 0 0;min-height:24px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-bio .up-section-heading{top:0;bottom:auto}
body #page-ultimate-profile #ultimateProfileContent .up-bio-copy{font-size:14px;line-height:1.6;color:#cdbfd7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details{grid-column:auto;grid-row:auto;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-relationship-row,body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{grid-column:auto;grid-row:auto;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;margin:0;padding:13px 14px;min-height:72px;box-sizing:border-box;background:#211c2b88;border:1px solid #76648433;border-radius:10px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{padding-right:48px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-profile-clan-emblem{right:12px;top:22px;width:28px;height:28px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-eyebrow{font-size:10px;letter-spacing:.12em;color:#c6add5}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-link,body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-name{font-size:15px}
body #page-ultimate-profile #ultimateProfileContent .up-hire-value>strong{font-size:19px}
body #page-ultimate-profile #ultimateProfileContent .up-core-stats{grid-column:auto;grid-row:auto;padding:18px 0 0;margin:0}
body #page-ultimate-profile #ultimateProfileContent .up-core-stats h2{font-size:11px;margin:0 0 10px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats{grid-template-columns:1fr 1fr;gap:12px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{gap:5px;padding:12px 14px;border:1px solid #ad7eb255;border-radius:10px;background:#47324c55}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{background:#39304e66;border-color:#a891c555}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats strong{font-size:27px;line-height:1.15}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats span{font-size:12px}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses{margin-top:12px;padding-top:10px;gap:6px 16px;font-size:12px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0;padding:0}
body #page-ultimate-profile #ultimateProfileContent .up-player-action,body #page-ultimate-profile #ultimateProfileContent .up-player-action.up-action-rs{grid-column:auto;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;min-height:84px;margin:0;padding:14px;border:1px solid #a37aab66;border-radius:12px;background:#352b41;box-shadow:none;overflow:hidden;text-align:left;transform:none}
body #page-ultimate-profile #ultimateProfileContent .up-player-action::before,body #page-ultimate-profile #ultimateProfileContent .up-player-action::after{display:none}
body #page-ultimate-profile #ultimateProfileContent .up-player-action:hover:not(:disabled){background:#44344f;border-color:#d4a1cf;transform:none;box-shadow:none}
body #page-ultimate-profile #ultimateProfileContent .up-action-icon,body #page-ultimate-profile #ultimateProfileContent .up-gift-mark{grid-column:1;grid-row:1;width:42px;height:42px;margin:0;padding:0;display:grid;place-items:center;font-size:28px}
body #page-ultimate-profile #ultimateProfileContent .up-action-icon img,body #page-ultimate-profile #ultimateProfileContent .up-action-rs .up-rs-emblem{grid-column:1;grid-row:1;position:static;width:42px;height:42px;margin:0;object-fit:contain;transform:none;filter:none}
body #page-ultimate-profile #ultimateProfileContent .up-player-action:hover .up-action-icon img,body #page-ultimate-profile #ultimateProfileContent .up-action-rs:hover .up-rs-emblem{transform:none}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:4px;min-width:0;align-items:flex-start}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy strong{font:700 15px/1.25 system-ui,sans-serif;color:#f4edf8;text-shadow:none;letter-spacing:0}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy small{font:400 11px/1.4 system-ui,sans-serif;color:#cabbd4;max-width:none}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-end{display:none}
body #page-ultimate-profile #ultimateProfileContent .up-hire-owned:disabled{background:#302b35;opacity:.6}
body #page-ultimate-profile #ultimateProfileContent .up-profile-owner-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{margin-top:22px;background:#2c2538;border:1px solid #76648455;border-radius:14px;padding-bottom:6px}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{padding:12px 18px;border-bottom:1px solid #76648444}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading h2{font-size:16px}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-grid{padding:14px 18px;gap:16px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{grid-column:auto;grid-row:auto;padding:18px;border:1px solid #76648455;border-radius:14px;background:#2c2538}
body #page-ultimate-profile #ultimateProfileContent .up-profile-panel h2{font-size:16px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-muted{color:#c0b2cb;font-size:13px;line-height:1.6}
body #page-ultimate-profile #ultimateProfileContent .up-ally-list{grid-template-columns:1fr}
body #page-ultimate-profile #ultimateProfileContent .up-profile-items{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:850px){
 body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{grid-template-columns:220px minmax(0,1fr);gap:20px;padding:20px}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 body[data-page="ultimate-profile"] #page-ultimate-profile{padding:16px 12px 32px}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{grid-template-columns:1fr;padding:16px;gap:20px}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{max-width:210px;margin:0 auto}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{font-size:30px}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-collections{grid-template-columns:1fr}
 body #page-ultimate-profile #ultimateProfileContent .up-profile-actions{gap:8px}
 body #page-ultimate-profile #ultimateProfileContent .up-player-action,body #page-ultimate-profile #ultimateProfileContent .up-player-action.up-action-rs{padding:11px;grid-template-columns:32px minmax(0,1fr);gap:8px;min-height:82px}
 body #page-ultimate-profile #ultimateProfileContent .up-action-icon,body #page-ultimate-profile #ultimateProfileContent .up-action-icon img,body #page-ultimate-profile #ultimateProfileContent .up-action-rs .up-rs-emblem{width:32px;height:36px}
 body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy strong{font-size:14px}
 body #page-ultimate-profile #ultimateProfileContent .up-accepted-grid{gap:8px;padding:12px}
}

body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-relationship-row{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;gap:7px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action{justify-items:stretch}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action .up-action-icon,body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action .up-action-icon img{width:42px;height:42px;transform:none}
@media(max-width:600px){body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action .up-action-icon,body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action .up-action-icon img{width:32px;height:36px}}

/* Sakura color and contrast, keeping the compact profile arrangement. */
body[data-page="ultimate-profile"] #page-ultimate-profile{
 background:radial-gradient(ellipse at 8% 8%,#69335455,transparent 48%),radial-gradient(ellipse at 94% 45%,#50397744,transparent 55%),#1b1524;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{
 background:radial-gradient(ellipse at 90% 0%,#75406344,transparent 60%),linear-gradient(135deg,#35253d,#241f33);
 border-color:#bd83ad66;box-shadow:0 16px 42px #0b071433,inset 0 1px #ecc3df20;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{box-shadow:0 0 0 1px #dfa3c566,0 10px 28px #10091566}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption{background:linear-gradient(110deg,#552b47,#372747)}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{color:#ffedf8}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-relationship-row,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{background:linear-gradient(125deg,#422b4655,#17132366);border-color:#c28baa33}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-hire-value{border-left:3px solid #c99a60}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{border-left:3px solid #dc86b0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-eyebrow{color:#e5b7d3}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{background:linear-gradient(120deg,#67364e,#3a263e);border-color:#dd82ad66}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{background:linear-gradient(120deg,#514074,#302843);border-color:#b69ae577}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats strong{color:#fff0fa}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses strong{color:#f3c99c}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action{box-shadow:inset 0 1px #ffe4f12b,0 5px 14px #10081833}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-action-battle{background:linear-gradient(120deg,#623049,#342438);border-color:#bf658f}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-action-hire:not(:disabled){background:linear-gradient(120deg,#59412d,#342833);border-color:#b68b55}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-action-gift{background:linear-gradient(120deg,#584177,#33263f);border-color:#a785ce}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-action-rs{background:linear-gradient(120deg,#752e4f,#41223e);border-color:#d785a6}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action:hover:not(:disabled){box-shadow:inset 0 1px #fff0f755,0 6px 20px #a54b852f;border-color:#f3c2dd}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{background:linear-gradient(120deg,#33263d,#272033);border-color:#a97cba66}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{background:linear-gradient(100deg,#5b3b65,#3e2d4c 60%,#33263d);border-color:#b98bc044}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{background:linear-gradient(135deg,#34273f,#251e31);border-color:#a883ad55}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-allies{border-top:2px solid #c78aaf}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-showcase{border-top:2px solid #aa8bcf}
body #page-ultimate-profile #ultimateProfileContent .up-profile-panel h2,
body #page-ultimate-profile #ultimateProfileContent .up-accepted-heading h2{color:#ffe0f1}

/* Mauve surfaces against a dark stage: a distinct profile palette. */
body[data-page="ultimate-profile"] #page-ultimate-profile{background:radial-gradient(ellipse at 0 0,#4c2946,transparent 60%),#18131f}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{
 background:linear-gradient(130deg,#dfcedb,#c4b3ce);border:1px solid #f2deed;box-shadow:0 18px 48px #09050f55;color:#332439;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{color:#342039}
body #page-ultimate-profile #ultimateProfileContent .up-bio-copy{color:#5c4562}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-relationship-row,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{background:#f6eaf152;border-color:#76568240;color:#38273f}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-profile-eyebrow{color:#725177}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details strong,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-link,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-name,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-connection-state,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-rs-person{color:#38273f}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-message{color:#654d68;border-color:#ac6791}
body #page-ultimate-profile #ultimateProfileContent .up-core-stats h2{color:#66436c}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{background:linear-gradient(120deg,#813f65,#583251);border-color:#9d6489}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{background:linear-gradient(120deg,#685084,#463657);border-color:#866b9d}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats span{color:#f2dfee}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses{border-color:#77588044}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses>span{color:#644e6c}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses strong,
body #page-ultimate-profile #ultimateProfileContent .up-rs-bonus{color:#643851}
body #page-ultimate-profile #ultimateProfileContent .up-bio-edit{color:#6f3e68}
body #page-ultimate-profile #ultimateProfileContent .up-profile-options>summary{color:#58315b;border-color:#8b6c9755}
body #page-ultimate-profile #ultimateProfileContent .up-options-list{color:#f7e9f3}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{background:linear-gradient(115deg,#c7b4ce,#b9a6c3);border-color:#e4cce8}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{background:#694c78;border-color:#9c7fa7}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section .up-accepted-gift>.up-gift-sender{color:#3e2947}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section .up-profile-muted{color:#604868}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-gift>.up-accepted-art{background:radial-gradient(ellipse at 50% 35%,#eee0ec,#d6bfdc);box-shadow:inset 0 0 0 1px #fff7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{background:#cfc0d6;border-color:#edddf0;border-top-color:#ab709b}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-showcase{background:#c5bbd5;border-top-color:#8c73ac}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-profile-panel h2{color:#402b49}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-profile-muted{color:#614e6b}
body #page-ultimate-profile #ultimateProfileContent .up-profile-items article{background:#eee4f066;border-color:#94749e55;color:#402b49}
body #page-ultimate-profile #ultimateProfileContent .up-profile-items .up-profile-eyebrow,
body #page-ultimate-profile #ultimateProfileContent .up-profile-items .up-item-quantity{color:#674773}
body #page-ultimate-profile #ultimateProfileContent .up-showcase .up-section-heading button{background:#654976;color:#fff;border:0}

body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{color:#f7e9f3}

/* Sakura stationery: illustrated corners, gold trim and repeating wave ornament. */
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{position:relative;isolation:isolate;border-radius:24px 8px 24px 8px;box-shadow:inset 0 0 0 6px #efe0e654,inset 0 0 0 7px #ac865c66,0 18px 48px #09050f55}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:url("../images/profile/sakura-corner-v1.svg") right top/330px auto no-repeat;opacity:.65;border-radius:inherit}
body #page-ultimate-profile #ultimateProfileContent .up-profile-main{position:relative}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity{padding-top:8px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{max-width:90%;text-shadow:0 1px #fff7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-bio{padding-bottom:14px;border-bottom:1px solid #a77a9855}
body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{border:1px solid #c9a474;box-shadow:0 0 0 4px #f4e3e766,0 0 0 5px #ae875c88,0 12px 28px #39203644}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption{background-image:url("../images/profile/waves-v1.svg"),linear-gradient(110deg,#552b47,#372747);background-size:80px 40px,auto}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{background-image:url("../images/profile/waves-v1.svg"),linear-gradient(120deg,#813f65,#583251);background-size:90px 45px,auto}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{background-image:url("../images/profile/waves-v1.svg"),linear-gradient(120deg,#685084,#463657)}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{position:relative;isolation:isolate;background-image:url("../images/profile/sakura-corner-v1.svg"),linear-gradient(115deg,#c7b4ce,#b9a6c3);background-position:right bottom,center;background-size:260px auto,auto;background-repeat:no-repeat;border-color:#d9bc98}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{background-image:url("../images/profile/waves-v1.svg"),linear-gradient(110deg,#63416e,#47324f);background-size:100px 50px,auto;border-bottom:2px solid #c9a474}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{position:relative;overflow:hidden;border-radius:16px 5px 16px 5px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel::after{content:"";pointer-events:none;position:absolute;right:-32px;bottom:-46px;width:185px;height:145px;background:url("../images/profile/sakura-corner-v1.svg") center/contain no-repeat;opacity:.3}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-section-heading,body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-profile-panel>h2{position:relative;z-index:1}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action{border-radius:12px 4px 12px 4px;box-shadow:inset 0 0 0 3px #ffffff07,inset 0 0 0 4px #e6c09822,0 5px 14px #10081833}
@media(max-width:600px){
 body #page-ultimate-profile #ultimateProfileContent .up-profile-grid::before{background-size:240px auto;opacity:.45}
 body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{background-size:170px auto,auto}
}

/* Illustrate the outer gutters, leaving the centered profile unobstructed. */
body[data-page="ultimate-profile"] #page-ultimate-profile{position:relative;isolation:isolate}
body[data-page="ultimate-profile"] #page-ultimate-profile::before,
body[data-page="ultimate-profile"] #page-ultimate-profile::after{
 content:"";position:absolute;top:0;bottom:0;width:clamp(0px,calc((100% - 1140px)/2),320px);
 background:url("../images/profile/sakura-lantern-side-v1.svg") left top/100% auto repeat-y;
 pointer-events:none;z-index:-1;opacity:.9;
}
body[data-page="ultimate-profile"] #page-ultimate-profile::before{left:0}
body[data-page="ultimate-profile"] #page-ultimate-profile::after{right:0;transform:scaleX(-1);background-position:left 100px}
@media(max-width:1200px){
 body[data-page="ultimate-profile"] #page-ultimate-profile::before,
 body[data-page="ultimate-profile"] #page-ultimate-profile::after{display:none}
}

/* Painted raster artwork replaces the vector side decorations. */
body[data-page="ultimate-profile"] #page-ultimate-profile::before,
body[data-page="ultimate-profile"] #page-ultimate-profile::after{
 background-image:url("../images/profile/sakura-lantern-raster-v1.png");
 background-position:left top;background-size:100% auto;opacity:1;
 -webkit-mask-image:linear-gradient(to right,#000 85%,transparent);
 mask-image:linear-gradient(to right,#000 85%,transparent);
}

/* One continuous illustrated frame; keep the profile itself visually quiet. */
body[data-page="ultimate-profile"] #page-ultimate-profile::before,
body[data-page="ultimate-profile"] #page-ultimate-profile::after{
 background-repeat:no-repeat;background-size:auto 100%;background-position:left top;
 opacity:.85;-webkit-mask-image:linear-gradient(to right,#000 58%,transparent 100%);
 mask-image:linear-gradient(to right,#000 58%,transparent 100%);
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid::before,
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel::after{display:none}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{
 border-radius:20px;border:1px solid #e2cadd;box-shadow:0 18px 48px #09050f55;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{
 border:1px solid #a77893;box-shadow:0 10px 28px #39203644;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption{
 background-image:linear-gradient(110deg,#552b47,#372747);
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{
 background-image:linear-gradient(120deg,#813f65,#583251);
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{
 background-image:linear-gradient(120deg,#685084,#463657);
}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{
 background-image:linear-gradient(115deg,#c7b4ce,#b9a6c3);border-color:#dbc4e0;
}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{
 background-image:linear-gradient(110deg,#63416e,#47324f);border-bottom:1px solid #a588ae;
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action{
 border-radius:12px;box-shadow:inset 0 1px #ffe4f126,0 5px 14px #10081833;
}

/* Reset stale pattern sizing when using full-panel gradients. */
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption,
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div,
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section,
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{
 background-size:100% 100%;background-repeat:no-repeat;background-position:center;
}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{background-color:#c7b4ce}

/* One full-width garden continues behind every profile section. */
body[data-page="ultimate-profile"] #page-ultimate-profile{
 background:#18131f url("../images/profile/sakura-garden-panorama-v1.png") center top/cover no-repeat;
}
body[data-page="ultimate-profile"] #page-ultimate-profile::before,
body[data-page="ultimate-profile"] #page-ultimate-profile::after{display:none}
body #page-ultimate-profile #ultimateProfileContent{max-width:1240px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{
 background:linear-gradient(130deg,rgba(223,206,219,.9),rgba(196,179,206,.86));
 -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{
 background:rgba(199,180,206,.88);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{
 background:rgba(207,192,214,.9);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-showcase{background:rgba(197,187,213,.9)}

/* Approved plum-and-gold garden profile, v10.721. */
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid,
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section,
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{background:linear-gradient(125deg,rgba(57,31,47,.94),rgba(35,24,39,.91));border:1px solid #bc9669;border-radius:16px;color:#f7e8d7;box-shadow:0 12px 32px #10091366;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
body #page-ultimate-profile #ultimateProfileContent .up-profile-grid{padding:20px;gap:24px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-identity h1{color:#fff0dc;text-shadow:none}
body #page-ultimate-profile #ultimateProfileContent .up-bio-copy,
body #page-ultimate-profile #ultimateProfileContent .up-profile-muted,
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section .up-profile-muted,
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-profile-muted{color:#d8b6c2}
body #page-ultimate-profile #ultimateProfileContent .up-profile-bio,
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses{border-color:#bc966936}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-relationship-row,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details>.up-clan-row{background:#251b2980;border:1px solid #ad8d6c80;color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-profile-eyebrow,
body #page-ultimate-profile #ultimateProfileContent .up-core-stats h2{color:#e2b3b5}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details strong,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-link,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-name,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-connection-state,
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-rs-person{color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-details .up-clan-message,
body #page-ultimate-profile #ultimateProfileContent .up-bio-edit,
body #page-ultimate-profile #ultimateProfileContent .up-profile-options>summary{color:#efd1b0;border-color:#bc966980}
body #page-ultimate-profile #ultimateProfileContent .up-profile-portrait{border-color:#c7a16f;box-shadow:0 8px 24px #10071366}
body #page-ultimate-profile #ultimateProfileContent .up-profile-caption{background:linear-gradient(110deg,#4e2b40,#302135);color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div{background:linear-gradient(115deg,#633548,#3d2538);border-color:#b68b78}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats>div+div{background:linear-gradient(115deg,#51405f,#32273f);border-color:#aa8a89}
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats strong,
body #page-ultimate-profile #ultimateProfileContent .up-profile-stats span{color:#ffebdd}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses>span{color:#d8b6c2}
body #page-ultimate-profile #ultimateProfileContent .up-avi-bonuses strong,
body #page-ultimate-profile #ultimateProfileContent .up-rs-bonus{color:#efd1b0}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action{border-color:#bc9669;border-radius:10px;color:#f7e8d7;min-height:76px;padding:12px}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy strong{color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-player-action .up-action-copy small{color:#dfc0cd}
body #page-ultimate-profile #ultimateProfileContent .up-profile-actions .up-player-action:disabled{background:#302a30e8;border-color:#817569;color:#c4b8bc;opacity:.75}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section{margin-top:18px;padding-bottom:0}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section>.up-accepted-heading{background:transparent;border-bottom:1px solid #bc966940;padding:10px 18px}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-heading h2,
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections .up-profile-panel h2{color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-grid{padding:10px 18px 12px;gap:14px}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-section .up-accepted-gift>.up-gift-sender{color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-accepted-gift>.up-accepted-art{background:radial-gradient(ellipse at 50% 35%,#ecdae4,#cdb4cb);box-shadow:inset 0 0 0 1px #f2d8da88;border-radius:10px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections{margin-top:14px;gap:14px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-profile-panel{padding:14px 18px}
body #page-ultimate-profile #ultimateProfileContent .up-profile-items article{background:#382637;border-color:#ad8d6c80;color:#f7e8d7}
body #page-ultimate-profile #ultimateProfileContent .up-profile-items .up-profile-eyebrow,
body #page-ultimate-profile #ultimateProfileContent .up-profile-items .up-item-quantity{color:#d8b6c2}

/* Compact battle chooser and reason-only blocked popup. */
body .up-pvp-dialog{width:min(720px,calc(100vw - 32px));padding:24px;border:1px solid #bc9669;border-radius:18px;background:linear-gradient(135deg,#382333,#211926);color:#f7e8d7;box-shadow:0 24px 80px #08050c99}
body .up-pvp-dialog [hidden]{display:none!important}
body .up-pvp-dialog .up-pvp-heading h2{font-size:26px;color:#ffeedb}
body .up-pvp-dialog .up-pvp-heading .button{padding:8px 16px;border:1px solid #bc966966;border-radius:9px;background:#493044;color:#f7e8d7}
body .up-pvp-dialog p{color:#dbc4ce}
body .up-pvp-dialog .up-pvp-energy{margin:16px 0;padding:12px 14px;background:#ffffff06;border:1px solid #bc966944;color:#f3d7b8}
body .up-pvp-dialog .up-pvp-actions{gap:12px}
body .up-pvp-dialog .up-pvp-rules{grid-column:1/-1;order:2;padding:12px 0 0;color:#d8bac8;font-size:13px}
body .up-pvp-dialog .up-pvp-rules summary{cursor:pointer;width:fit-content}
body .up-pvp-dialog .up-pvp-rules p{font-size:13px;margin:10px 0 0}
body .up-pvp-dialog .up-pvp-action{padding:16px;background:linear-gradient(135deg,#492c41,#2f2236);border:1px solid #bc966955;border-radius:12px}
body .up-pvp-dialog .up-pvp-action h3{font-size:19px;color:#f7e8d7;margin:0}
body .up-pvp-dialog .up-pvp-action p{font-size:13px;margin:10px 0 14px}
body .up-pvp-dialog .up-pvp-action small{font-size:12px;color:#e6c4aa}
body .up-pvp-dialog .up-pvp-action .button{border:1px solid #c495a56b;border-radius:8px;background:linear-gradient(110deg,#793c60,#513759);min-height:42px}
body .up-pvp-dialog .up-pvp-action .button:focus-visible,body .up-pvp-dialog summary:focus-visible{outline:2px solid #edc78e;outline-offset:3px}
body .up-pvp-dialog.up-pvp-blocked{width:min(440px,calc(100vw - 32px));padding:24px}
body .up-pvp-dialog.up-pvp-blocked>p{margin:18px 0 0;font-size:15px;line-height:1.65}
@media(max-width:480px){body .up-pvp-dialog{padding:18px}body .up-pvp-dialog .up-pvp-actions{grid-template-columns:1fr}body .up-pvp-dialog .up-pvp-heading h2{font-size:23px}}

/* Collector-style Allies: portraits and names, with prices on profiles only. */
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-allies{grid-column:1/-1;padding:20px;border:1px solid #bc9669}
body #page-ultimate-profile #ultimateProfileContent .up-ally-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}
body #page-ultimate-profile #ultimateProfileContent .up-ally-heading h2{margin:0;font:600 25px/1.2 Georgia,serif}
body #page-ultimate-profile #ultimateProfileContent .up-ally-heading .up-profile-muted{margin:0;border-left:1px solid #bc966970;padding-left:16px}
body #page-ultimate-profile #ultimateProfileContent .up-ally-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:960px;margin-inline:auto}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;padding:6px;border:1px solid #bc9669;border-radius:12px 4px 12px 4px;background:linear-gradient(140deg,#493044,#231a29);box-shadow:inset 0 0 0 3px #241927,inset 0 0 0 4px #ba925958,0 5px 12px #10081166;overflow:hidden;text-align:left;transition:transform .18s,border-color .18s}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card:hover{transform:translateY(-3px);border-color:#f4cc8f;background:linear-gradient(140deg,#59354b,#302035)}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card:focus-visible{outline:2px solid #f4cc8f;outline-offset:4px}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card>.up-ally-portrait{position:relative;display:grid;place-items:center;flex:none;width:100%;aspect-ratio:4/5;min-width:0;overflow:hidden;border:1px solid #bc966960;border-radius:7px 3px 0 0;background: url("../images/profile/sakura-corner-v1.svg") right bottom/95% auto no-repeat,linear-gradient(135deg,#43293d,#211929)}
body #page-ultimate-profile #ultimateProfileContent .up-ally-monogram{display:grid;place-items:center;width:68%;aspect-ratio:1;border:1px solid #cfaa78;border-radius:50%;background:radial-gradient(circle,#61384b66,#231a2a);box-shadow:0 0 0 5px #bd986215;color:#e9c994;font:500 clamp(28px,4vw,58px)/1 Georgia,serif}
body #page-ultimate-profile #ultimateProfileContent .up-ally-portrait.has-avi .up-ally-monogram{visibility:hidden}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card .up-ally-portrait img{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;object-fit:cover;object-position:center 20%}
body #page-ultimate-profile #ultimateProfileContent .up-ally-card>.up-ally-nameplate{display:flex;align-items:center;justify-content:space-between;flex:1;gap:8px;padding:12px 10px;min-height:54px;background:linear-gradient(110deg,#412638,#281d2c);border:1px solid #bc966970;border-top:1px solid #cfaa78;border-radius:0 0 7px 3px}
body #page-ultimate-profile #ultimateProfileContent .up-ally-nameplate strong{color:#f7e8d7;font:600 15px/1.3 Georgia,serif;overflow-wrap:anywhere}
body #page-ultimate-profile #ultimateProfileContent .up-ally-arrow{flex:none;color:#e6bf88;font-size:22px}
@media(max-width:700px){body #page-ultimate-profile #ultimateProfileContent .up-ally-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-allies{padding:16px}body #page-ultimate-profile #ultimateProfileContent .up-ally-nameplate strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){body #page-ultimate-profile #ultimateProfileContent .up-ally-card{transition:none}}

/* Battle selection: distinct actions and readable live energy. */
body .up-pvp-dialog:not(.up-pvp-blocked){width:min(680px,calc(100vw - 28px));padding:20px;background:radial-gradient(ellipse at top left,#71385035,transparent 60%),linear-gradient(140deg,#2c1d30,#17131f);border-color:#b49269;box-shadow:0 24px 90px #0009}
body .up-pvp-dialog:not(.up-pvp-blocked)>.up-pvp-heading{padding-bottom:10px;border-bottom:1px solid #bd966735}
body .up-pvp-dialog:not(.up-pvp-blocked)>p{margin:10px 0;color:#d5becf;font-size:13px}
body .up-pvp-dialog .up-pvp-energy{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:10px 14px;margin:0 0 12px;background:#100d1870;border:1px solid #d0a56a35;border-radius:12px}
body .up-pvp-meter{min-width:0;--meter:#da739c}
body .up-pvp-meter+ .up-pvp-meter{--meter:#a68cf0}
body .up-pvp-meter-label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:#d7bfd4;margin-bottom:8px}
body .up-pvp-meter-label strong{color:#f5e3cd;font-size:13px;white-space:nowrap}
body .up-pvp-meter progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;border:0;border-radius:5px;overflow:hidden;background:#ffffff12;color:var(--meter)}
body .up-pvp-meter progress::-webkit-progress-bar{background:#ffffff12;border-radius:5px}
body .up-pvp-meter progress::-webkit-progress-value{background:var(--meter);border-radius:5px}
body .up-pvp-meter progress::-moz-progress-bar{background:var(--meter);border-radius:5px}
body .up-pvp-meter.is-low .up-pvp-meter-label strong{color:#ffbba9}
body .up-pvp-dialog .up-pvp-action{--action:#d883a2;padding:12px;border:1px solid #9b647570;background:linear-gradient(145deg,#482a3c,#271c2c);box-shadow:inset 0 1px #ffffff0c}
body .up-pvp-dialog .up-pvp-action[data-action="spotlight"]{--action:#b19ae9;background:linear-gradient(145deg,#392d51,#241d30);border-color:#8973ad80}
body .up-pvp-dialog .up-pvp-action[data-action="sabotage"]{--action:#edb47f;background:linear-gradient(145deg,#49332c,#2d2029);border-color:#ad876b80}
body .up-pvp-dialog .up-pvp-action[data-action="recon"]{--action:#8acabd;background:linear-gradient(145deg,#293e3e,#1e262e);border-color:#6d9d9480}
body .up-pvp-action-heading{display:flex;align-items:center;gap:12px}
body .up-pvp-action-icon{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 3px 6px #0005)}
body .up-pvp-dialog .up-pvp-action h3{font:600 21px/1.2 Georgia,serif;color:#fff0dc}
body .up-pvp-dialog .up-pvp-action p{margin:8px 0;line-height:1.5;color:#e1ccda;font-size:13px}
body .up-pvp-costs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
body .up-pvp-costs span{padding:5px 8px;border-radius:6px;background:#08061140;border:1px solid #ffffff12;color:var(--action);font-size:11px;font-weight:700}
body .up-pvp-dialog .up-pvp-action .button{background:var(--action);color:#211622;border:1px solid #ffffff35;font-weight:750;min-height:40px;box-shadow:0 3px 9px #0002}
body .up-pvp-dialog .up-pvp-action .button:disabled{opacity:1;background:#ffffff08;color:#bba9b6;border-color:#ffffff10;box-shadow:none}
body .up-pvp-dialog .up-pvp-action .button:hover:not(:disabled){filter:brightness(1.12)}
body .up-pvp-dialog .up-pvp-action.is-unavailable{border-style:dashed}
body .up-pvp-dialog .up-pvp-rules{font-size:12px;padding-top:4px}
@media(max-width:480px){body .up-pvp-dialog:not(.up-pvp-blocked){padding:18px}body .up-pvp-dialog .up-pvp-energy{gap:12px;padding:12px}body .up-pvp-meter-label{flex-wrap:wrap;font-size:11px}body .up-pvp-dialog .up-pvp-action{padding:12px}}

/* Profile collection order and owner-only breakdown. */
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections{grid-template-columns:minmax(0,1fr)}
body #page-ultimate-profile #ultimateProfileContent .up-profile-collections>.up-accepted-section{margin:0;min-width:0}
body #page-ultimate-profile #ultimateProfileContent .up-private-stat-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
body #page-ultimate-profile #ultimateProfileContent .up-private-stat-table th,body #page-ultimate-profile #ultimateProfileContent .up-private-stat-table td{padding:10px 6px;border-bottom:1px solid #bc966933;text-align:right}
body #page-ultimate-profile #ultimateProfileContent .up-private-stat-table th:first-child{text-align:left}
body #page-ultimate-profile #ultimateProfileContent .up-private-stat-table tbody tr:last-child{color:#f4cf9b;font-weight:800}
body #page-ultimate-profile #ultimateProfileContent .up-private-stats>.up-pvp-history{margin-top:18px;padding:0;border:0;background:transparent;box-shadow:none}

/* Fill the owner profile portrait column beside the account controls. */
@media(min-width:701px){
 body #page-ultimate-profile #ultimateProfileContent .up-profile-grid.is-own-profile{align-items:stretch}
 body #page-ultimate-profile #ultimateProfileContent .is-own-profile .up-profile-portrait{align-self:stretch;display:flex;flex-direction:column}
 body #page-ultimate-profile #ultimateProfileContent .is-own-profile .up-portrait-art{flex:1 1 auto;aspect-ratio:auto;min-height:360px}
 body #page-ultimate-profile #ultimateProfileContent .is-own-profile .up-portrait-art>img{object-fit:cover;object-position:center}
 body #page-ultimate-profile #ultimateProfileContent .is-own-profile .up-profile-caption{flex:0 0 auto}
}

/* Battle receipt: outcome, reward, costs, then remaining wallet. */
body .up-pvp-dialog .up-pvp-result:not(:empty){margin-top:18px;padding:20px;border:1px solid #b58a6877;border-radius:16px;background:linear-gradient(135deg,#332335,#211b2c);color:#f9e9dd;overflow:hidden}
body .up-pvp-result[data-outcome="success"]{background:radial-gradient(ellipse at top right,#9b74302b,transparent 65%),linear-gradient(135deg,#332335,#211b2c)}
body .up-pvp-result .up-result-banner{display:flex;align-items:center;gap:12px}
body .up-pvp-result .up-result-emblem{width:44px;height:44px;object-fit:contain}
body .up-pvp-result .up-result-kicker{font-size:10px;letter-spacing:.16em;font-weight:800;color:#dfbd83}
body .up-pvp-result[data-outcome="failure"] .up-result-kicker{color:#e9a4b3}
body .up-pvp-result .up-result-banner h3{margin:4px 0 0;font:600 23px/1.2 Georgia,serif;color:#fff0df}
body .up-pvp-result .up-result-reward{display:flex;align-items:center;gap:14px;margin:18px 0;padding:16px;border:1px solid #ddb78340;border-radius:12px;background:#0e0b174d}
body .up-pvp-result .up-result-reward>img{width:52px;height:52px;object-fit:contain}
body .up-pvp-result .up-result-reward strong{display:block;font-size:28px;line-height:1.2;color:#f6d69a}
body .up-pvp-result .up-result-reward span{display:block;margin-top:5px;color:#d2bfcf;font-size:12px}
body .up-pvp-result .up-result-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .up-pvp-result .up-result-metrics>div{padding:12px;border-radius:10px;background:#ffffff06;border:1px solid #c599b026}
body .up-pvp-result .up-result-metrics span{display:block;color:#d0b9cd;font-size:11px;margin-bottom:7px}
body .up-pvp-result .up-result-metrics strong{font-size:14px;color:#f4d9e4}
body .up-pvp-result .up-result-wallet{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #bc966933;font-size:12px}
body .up-pvp-result .up-result-wallet>span{color:#c9b4c9}
body .up-pvp-result .up-result-wallet>strong{color:#f5e8d6}
body .up-pvp-result .up-result-intel{margin-top:14px;padding:14px;border-radius:10px;background:#79bdaa12;border:1px solid #8ab9a840}
body .up-pvp-result .up-result-intel p{font-size:12px;line-height:1.5;margin:7px 0 0}
@media(max-width:480px){body .up-pvp-dialog .up-pvp-result:not(:empty){padding:14px}body .up-pvp-result .up-result-metrics{grid-template-columns:1fr}body .up-pvp-result .up-result-reward strong{font-size:23px}}
