.life-summary{display:grid;gap:5px;padding:10px;border:1px solid #83744466;background:#18231acc;margin:8px 0;color:#cbd6c8}.life-summary>b{color:#e4c56f}.life-summary small{font-size:11px;color:#9eaf9b}.life-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.life-people article{min-width:0}.life-people .training-person{margin:0}.life-message{padding:8px 10px;margin:8px 28px 8px 0;background:#273828;border-radius:6px;overflow-wrap:anywhere}.life-message.mine{margin-left:28px;margin-right:0;background:#29383f}.life-message small{color:#dec783}.life-message p{margin:4px 0}#lifeMessages{max-height:260px;overflow:auto;min-height:90px}#lifeForm label{display:block;margin-top:12px}#lifeForm>.row{display:flex;gap:8px}#lifeDraft{flex:1;min-width:0;width:100%}.life-topics,.life-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.life-feed{max-height:210px;overflow:auto}.life-feed p{padding:6px 0;border-bottom:1px solid #7c734933;overflow-wrap:anywhere}#offlineLifePanel details{margin:14px 0}#offlineLifePanel small{white-space:normal}
.mbox:has(#offlineLifePanel){width:min(100%,680px)}
.mbox:has(#teamSoloPanel){width:min(100%,720px)}
#teamBattleHud{position:absolute;inset:0;z-index:14;pointer-events:none;font-family:var(--font,"Noto Sans",sans-serif)}
#teamBattleHud .team-side{position:absolute;top:calc(112px + var(--safe-t,0px));width:210px;max-width:40%;box-sizing:border-box;color:#e8eff0}
#teamBattleHud .team-side-0{left:calc(10px + var(--safe-l,0px));--team-color:#72e5ff;--team-health:#38b887}
#teamBattleHud .team-side-1{right:calc(10px + var(--safe-r,0px));--team-color:#ff8686;--team-health:#db625f}
#teamBattleHud h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 5px;padding:5px 8px;background:#101b21ee;border-bottom:2px solid var(--team-color);color:var(--team-color);font-size:11px;letter-spacing:.7px}
#teamBattleHud h3 small{color:#e8e0c8;font-size:11px;letter-spacing:0}
#teamBattleHud .team-member{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px;align-items:center;padding:6px;margin-bottom:5px;border:1px solid #71837b88;background:linear-gradient(110deg,#13221ef2,#182320e3);border-radius:5px}
#teamBattleHud .team-avatar{position:relative;width:40px;height:40px;overflow:hidden;border-radius:50%;border:1px solid var(--team-color);background:radial-gradient(circle,#4d6150,#142420 75%);padding:0;pointer-events:auto;cursor:pointer}
#teamBattleHud .team-avatar img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#teamBattleHud .team-avatar>span{display:none;position:absolute;inset:0;text-align:center;font-size:34px;line-height:38px;color:#efb9a3;text-shadow:0 1px 4px #000}
#teamBattleHud .team-vitals{min-width:0}
#teamBattleHud .team-vitals>b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--team-color);font-size:11px;line-height:16px;text-shadow:0 1px 2px #000}
#teamBattleHud .team-meter{position:relative;isolation:isolate;height:12px;overflow:hidden;margin-top:3px;background:#070f16;border:1px solid #54716366;border-radius:2px}
#teamBattleHud .team-meter i{position:absolute;inset:0;transform-origin:left;background:linear-gradient(#71dfa8,var(--team-health));transition:transform .1s linear;z-index:-1}
#teamBattleHud .team-side-1 .team-hp i{background:linear-gradient(#ff9b85,var(--team-health))}
#teamBattleHud .team-mp i{background:linear-gradient(#69bffc,#2865b6)}
#teamBattleHud .team-meter span{display:block;text-align:center;color:#fff;font:bold 9px/12px var(--font);text-shadow:0 1px 2px #000}
#teamBattleHud .is-down{opacity:.48}#teamBattleHud .is-down .team-avatar img{filter:grayscale(1)}#teamBattleHud .is-down .team-avatar>span{display:block}
#teamBattleHud .is-target{border-color:#f3d77d;box-shadow:0 0 0 1px #f3d77d55}
#teamBattleClock{position:absolute;top:calc(22px + var(--safe-t,0px));left:50%;transform:translateX(-50%);padding:6px 15px;border:1px solid #ab9568;border-radius:3px;background:#111d1bf2;color:#f2d693;font-size:12px;font-weight:700;white-space:nowrap;letter-spacing:.5px}
#teamEventNotice{position:absolute;top:calc(58px + var(--safe-t,0px));left:50%;transform:translateX(-50%);width:420px;max-width:calc(100% - 24px);box-sizing:border-box;padding:12px 16px;text-align:center;border:1px solid #d0b56e;border-radius:4px;background:linear-gradient(100deg,#172924f5,#26362df5,#172924f5);box-shadow:0 3px 14px #0008;color:#f8e3a4;animation:team-notice-in .2s ease-out}
#teamEventNotice strong{display:block;font-size:17px;letter-spacing:1px}#teamEventNotice>span{display:block;margin-top:5px;font-size:12px;color:#e7e5d8;line-height:1.4}
#teamEventNotice[data-tone=danger]{border-color:#e3a36f;background:linear-gradient(100deg,#291b19f5,#432820f5,#291b19f5)}
#teamEventNotice[hidden],.team-side-hud #duelMapFooter[hidden]{display:none!important}
.team-side-hud #top .hname,.team-side-hud #top .stg,.team-side-hud #jxMini,.team-side-hud #jxStat,.team-side-hud #playerEffectIcons{display:none!important}
.team-duel-mode #panel,.team-duel-mode #jxDim{display:none!important}
.team-side-hud #duelMapFooter{bottom:112px}
@keyframes team-notice-in{from{opacity:0;transform:translate(-50%,-7px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:650px){#teamBattleHud .team-side{top:calc(144px + var(--safe-t,0px));width:146px;max-width:41%}#teamBattleHud .team-side-0{left:4px}#teamBattleHud .team-side-1{right:4px}#teamBattleHud .team-member{grid-template-columns:28px minmax(0,1fr);gap:4px;padding:4px;margin-bottom:4px}#teamBattleHud .team-avatar{width:26px;height:30px;border-radius:5px}#teamBattleHud .team-avatar>span{font-size:25px;line-height:28px}#teamBattleHud .team-vitals>b{font-size:10px;line-height:12px}#teamBattleHud .team-meter{height:10px;margin-top:2px}#teamBattleHud .team-meter span{font-size:8px;line-height:10px}#teamBattleHud h3{font-size:10px;padding:4px}#teamBattleClock{font-size:11px;padding:5px 10px}#teamEventNotice{padding:9px 12px}#teamEventNotice strong{font-size:14px}#teamEventNotice>span{font-size:11px}}
@media(max-height:500px){#teamBattleHud .team-side{top:100px}#teamBattleHud .team-member{padding:3px;margin-bottom:3px;grid-template-columns:28px minmax(0,1fr)}#teamBattleHud .team-avatar{width:26px;height:28px}#teamBattleHud .team-meter{height:8px;margin-top:2px}#teamBattleHud .team-meter span{line-height:8px;font-size:8px}#teamBattleHud .team-vitals>b{line-height:12px;font-size:10px}.team-side-hud #duelMapFooter{bottom:78px}}
@media(prefers-reduced-motion:reduce){#teamEventNotice{animation:none}#teamBattleHud .team-meter i{transition:none}}
#teamBattleHud .team-gear-open{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:5px 2px;border:1px solid #b3a875;background:#17271ef0;color:#f4d787;font:11px var(--font);cursor:pointer}
#teamBattleHud .team-gear-open img{width:20px;height:20px;object-fit:none;object-position:left top;image-rendering:pixelated}
#teamBattleHud button:focus-visible,#teamGearPanel button:focus-visible{outline:2px solid #ffe68b;outline-offset:2px}
#teamGearPanel{position:absolute;z-index:23;top:100px;right:calc(10px + var(--safe-r,0px));width:340px;max-width:calc(50% - 18px);max-height:calc(100% - 210px);box-sizing:border-box;display:flex;flex-direction:column;padding:8px;gap:6px;border:3px ridge #a99a66;background:linear-gradient(#14251cf5,#0c1714fa);box-shadow:0 4px 14px #0008;color:#e1ddbf;font:12px/1.4 var(--font);pointer-events:auto;overflow:auto;overscroll-behavior:contain}
#teamGearPanel header{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #988958;padding-bottom:6px;color:#ffe49a}
#teamGearPanel button{font:inherit;color:#efe2b4;background:linear-gradient(#293c2d,#101d18);border:1px solid #7f8259;cursor:pointer;padding:5px 9px}
#teamGearPanel button:disabled{opacity:.55;cursor:default}
#teamGearPanel header button{font-size:22px;line-height:20px;padding:0 7px}
#teamGearPanel p{margin:0}
#teamGearPanel>header,#teamGearPanel>.tg-profile,#teamGearPanel>.tg-vitals,#teamGearPanel>nav,#teamGearPanel>.tg-hint,#teamGearPanel>.tg-pages,#teamGearPanel>.tg-detail,#teamGearPanel>.tg-status{flex-shrink:0}
#teamGearPanel .tg-profile{display:flex;gap:10px;align-items:center}
#teamGearPanel .tg-profile>img{width:42px;height:50px;object-fit:contain;image-rendering:pixelated}
#teamGearPanel .tg-profile>div{display:grid;gap:1px;min-width:0}
#teamGearPanel .tg-profile b{color:#ffe49a}
#teamGearPanel .tg-vitals{color:#8cdbc8;font-size:11px}
#teamGearPanel nav{display:flex;gap:5px}
#teamGearPanel nav button{flex:1}#teamGearPanel nav .active{background:#776740;color:#fff3bc;border-color:#e4c777}
#teamGearPanel .tg-hint{font-size:11px;color:#adb89e}
#teamGearPanel .tg-items{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:294px;min-height:48px;flex-shrink:1;overflow:auto;overscroll-behavior:contain}
#teamGearPanel .tg-item{display:flex;align-items:center;gap:7px;min-width:0;text-align:left;padding:4px;background:#14271da6}
#teamGearPanel .tg-item.selected{border-color:#ffdd7e;background:#33412d}
#teamGearPanel .tg-icon{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border:1px solid;background:#091910}
#teamGearPanel .tg-icon img{max-width:32px;max-height:32px;object-fit:contain}
#teamGearPanel .tg-item>span:last-child{display:grid;min-width:0;gap:2px}
#teamGearPanel .tg-item small{font-size:10px;color:#a6b79a}
#teamGearPanel .tg-item b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#teamGearPanel .tg-pages{display:flex;align-items:center;justify-content:space-between;font-size:11px}
#teamGearPanel .tg-pages:empty{display:none}
#teamGearPanel .tg-detail{border-top:1px solid #807b50;padding-top:7px}
#teamGearPanel .tg-description{max-height:170px;overflow:auto;overscroll-behavior:contain}
#teamGearPanel .tg-description .idet{display:flex;gap:8px;align-items:center}
#teamGearPanel .tg-description h4{margin:0 0 3px}
#teamGearPanel .tg-description .pic img{max-width:40px;max-height:48px}
#teamGearPanel .tg-description .sl{font-size:11px}
#teamGearPanel .tg-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}
#teamGearPanel .tg-status{font-size:11px;color:#ffd49e}
@media(max-width:650px){#teamBattleHud .team-gear-open{font-size:10px;gap:2px}}
@media(max-width:600px) and (min-height:501px){
 #teamBattleHud .team-side{top:62px;width:140px}
 #teamBattleHud .team-member{padding:3px;margin-bottom:3px;grid-template-columns:24px minmax(0,1fr)}
 #teamBattleHud .team-avatar{width:24px;height:28px}
 #teamBattleHud .team-meter{height:8px;margin-top:2px}
 #teamBattleHud .team-meter span{line-height:8px;font-size:8px}
 #teamBattleHud .team-gear-open{padding:3px 1px}
 #teamGearPanel{top:auto;bottom:96px;left:8px;right:8px;width:auto;max-width:none;max-height:36%}
 #teamGearPanel .tg-profile>img{width:30px;height:34px}
}
@media(max-height:500px){#teamBattleHud .team-side{top:58px;width:160px}#teamGearPanel{top:10px;width:300px;max-height:calc(100% - 100px)}#teamGearPanel .tg-items{max-height:130px}}
.solo-teams,.solo-opponents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.solo-team{padding:12px;background:#101f24;border:1px solid #477c86;min-width:0}.solo-team h4{margin:0 0 7px;color:#72e5ff}.solo-team>b,.solo-team>small{display:block;margin:4px 0}.solo-team>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid #ffffff18;font-size:12px}.solo-team>div span{overflow-wrap:anywhere}.solo-team>div b{white-space:nowrap}.solo-team-1{background:#251817;border-color:#8d5550}.solo-team-1 h4{color:#ff6b6b}
.solo-opponent{display:grid;gap:6px;padding:12px;text-align:left;background:#182b23;color:#e3d6b3;border:1px solid #827445;cursor:pointer;font:inherit}.solo-opponent:hover{background:#294137}.solo-opponent small{color:#b7c9ad}.solo-prize{color:#f3d77d}.solo-profile{padding:8px;background:#172b25}.solo-opponent:focus-visible{outline:2px solid #f3d77d}
@media(max-width:520px){.solo-teams,.solo-opponents{grid-template-columns:1fr}}
#jxActs #offlinePkBtn.pk-on i{color:#ff7766;filter:drop-shadow(0 0 3px #b52921)}#offlinePkBtn.pk-on .sk{color:#ff9985}#offlinePkBtn:disabled{opacity:.5}
body:not(.jxthumb):has(#offlinePkBtn:not([hidden])) #jxStat{top:calc(188px + var(--safe-t,0px) + var(--effects-hud-h,0px))}
#offlineLifePanel .training-person,#trainingAreasPanel .training-person{height:auto!important;min-height:82px;white-space:normal;line-height:1.4;padding:10px;border:1px solid #827445!important;border-image:none!important;background:#1c2d23;color:#eddaa6;text-shadow:none}
#offlineLifePanel .training-person:hover,#trainingAreasPanel .training-person:hover{background:#2d4231}
@media(max-width:600px){.life-people{grid-template-columns:1fr}#lifeMessages{max-height:200px}.life-topics .btn{font-size:11px}}
#offlineRivalNotice{position:absolute;right:12px;top:140px;width:min(310px,calc(100% - 24px));box-sizing:border-box;z-index:24;padding:12px;background:#13251ff5;border:1px solid #b8a467;border-radius:6px;color:#f4e2b1;box-shadow:0 4px 14px #0008;font-size:12px}#offlineRivalNotice strong{display:block;color:#f3d985}#offlineRivalNotice p{margin:8px 0;line-height:1.5}#offlineRivalNotice.rival-hostile{border-color:#d27663;background:#351e19f5}#offlineRivalNotice.rival-hostile strong{color:#ffaf90}#offlineRivalNotice .btnrow{display:flex;gap:8px}#offlineRivalNotice .btn{flex:1}@media(max-width:600px){#offlineRivalNotice{top:105px;font-size:11px;padding:9px}}
