.onlinePlayModal{max-height:96dvh;height:min(770px,96dvh);display:flex;flex-direction:column;gap:8px;background:radial-gradient(circle at 20% 0%,#2ea68533,transparent 45%),linear-gradient(150deg,#102d3b,#072421 75%);border:1px solid #e8cd9470;padding:14px;color:#fff8e6;overflow:hidden}
.onlineTop,.onlineIdentity,.onlineTabs,.codePanel,.partyJoin,.friendResult,.partyMessage,.partyChatHead,.profileTop,.chatInput,.onlineFooter{display:flex;align-items:center;gap:9px}
.onlineTop{justify-content:space-between;flex-shrink:0}.onlineLogo{display:flex;align-items:center;gap:10px}.onlineLogo>span{font-size:27px}.onlineLogo b{font-size:19px;letter-spacing:.3px;color:#ffe1a1}.onlineLogo small{display:block;color:#bcded1;font-size:9px;letter-spacing:1.4px}.onlineExit{width:38px;height:38px;border-radius:13px;border:1px solid #ffe2ac77;color:#fff;background:#ffffff12;font-size:19px}
.onlineIdentity{background:#193f47ba;border:1px solid #ffffff28;border-radius:15px;padding:8px;flex-shrink:0}.onlineIdentity img,.friendResult>img,.profileTop img,.partyMessage>img{width:40px;height:40px;border-radius:999px;object-fit:cover;background:#fff6dc}.onlineIdentity b,.friendResult b{font-size:14px}.onlineIdentity small,.friendResult small,.onlineFooter small{display:block;font-size:11px;color:#c6e7df}.serverStatus{margin-left:auto;font-size:11px;white-space:nowrap}.liveDot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#8b9ca6;box-shadow:0 0 0 2px #fff1}.isLive{background:#56f7aa;box-shadow:0 0 8px #55ffb5aa}.isOffline{background:#889daa}
.onlineToast{font-size:12px;padding:7px 10px;background:#294a4e;border:1px solid #f7d18655;border-radius:10px;flex-shrink:0;color:#ffe8b9}.onlineTabs{gap:6px;flex-shrink:0}.onlineTabs button{flex:1;border-radius:12px;background:#16363f;border:1px solid #ffffff28;padding:9px 2px;color:#d0ebe3;font-weight:800;font-size:12px}.onlineTabs .active{background:linear-gradient(145deg,#275e5a,#177c64);border-color:#aef4d6;color:white;box-shadow:0 0 14px #37d4a63d}
.onlineTabBody{min-height:0;overflow-y:auto;overflow-x:hidden;padding:3px 2px 12px;flex:1}.onlineTabBody h4{font-size:14px;margin:13px 0 7px;color:#ffdfad}.onlineTabBody button{touch-action:manipulation}.onlinePrimary{display:block;width:100%;padding:12px 10px!important;border-radius:13px!important;border:1px solid #fee8b0!important;background:linear-gradient(160deg,#ffedc6,#c99249)!important;color:#163129!important;font-size:15px;font-weight:900;box-shadow:inset 0 2px 0 #fff9,0 6px 14px #0004}
.partyInstruction{font-size:13px;color:#d9f4e4;padding:6px 3px}.partyCreate{display:grid;gap:12px;padding:12px 7px;background:#123b41aa;border:1px solid #ffffff24;border-radius:16px}.partyJoin input,.friendSearch input,.chatInput input{min-width:0;width:100%;padding:11px!important;border-radius:11px!important;background:#0c2a34!important;border:1px solid #9bcbb777!important;color:#fff!important;font-size:14px}.partyJoin button,.friendSearch button,.chatInput button{flex:0 0 auto;min-height:43px;border:1px solid #f9d99c90;border-radius:11px;background:#335b55;color:#fff3cc;font-weight:900;padding:8px 12px}.codePanel{justify-content:space-between;padding:10px;background:#112e3d;border:1px solid #ffd88d7a;border-radius:14px;flex-wrap:wrap}.codePanel small{display:block;color:#cfe6dc}.codePanel strong{font-size:24px;letter-spacing:3px;color:#ffe1a3}.codePanel button{background:#ffffff18;border:1px solid #ffffff66;border-radius:11px;padding:9px;color:#fff;flex-shrink:0}
.partySlotsLive{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0}.liveSlot{display:flex;align-items:center;gap:8px;background:linear-gradient(150deg,#204f50,#153a3f);border-radius:13px;border:1px solid #8cefc14d;padding:8px;min-width:0;min-height:64px}.liveSlot img{width:39px;height:39px;border-radius:50%;background:#fff8e4}.liveSlot b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.liveSlot small{display:block;color:#c5e8d5;font-size:10px}.liveSlot.empty{opacity:.58;border-style:dashed}.emptySlot{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;border:1px dashed #98d8bb;font-size:24px}.onlineLimit,.onlineHelp{padding:10px 11px;border-radius:12px;background:#133c4299;font-size:11px;color:#d4e8e1;line-height:1.45;margin-top:8px}.onlineLimit b{color:#ffda9b}
.friendSearch{display:flex;gap:7px}.friendResults{display:grid;gap:7px}.friendResult{width:100%;text-align:left;min-width:0;border-radius:13px;background:#17463f99;border:1px solid #ffffff2c;padding:8px;color:white}.friendResult>span:nth-child(2){flex:1;min-width:0}.friendResult>span:nth-child(3){font-size:11px;color:#f9d9a2}.friendResult button{font-size:12px;padding:7px 10px;background:#2a7564;color:white;border:1px solid #9df4c7;border-radius:9px}.friendResult button:disabled{opacity:.4}.emptyFriends{font-size:12px;color:#b9d3cb;padding:10px}.friendProfile{background:#123c3e;border:1px solid #ffd59a77;border-radius:14px;padding:12px;margin-top:9px}.friendProfile p{font-size:12px}.profileTop img{width:48px;height:48px}.profileTop small{display:block;font-size:11px;color:#b9d9c8}.profileStatus{font-size:12px;color:#9ef1cc}
.partyChatHead{justify-content:space-between}.partyChatHead small{font-size:11px;color:#b6d9d0}.partyChatLog{height:clamp(180px,34dvh,320px);overflow:auto;border:1px solid #a0e8d13d;border-radius:13px;background:#082a31;padding:10px;display:flex;flex-direction:column;gap:9px}.partyMessage{align-items:flex-start}.partyMessage.own{flex-direction:row-reverse}.partyMessage>img{width:30px;height:30px}.partyMessage>div{max-width:80%;background:#285d5b;border-radius:12px;padding:6px 10px}.partyMessage.own>div{background:#52507e}.partyMessage small{font-size:10px;color:#d5efe7}.partyMessage p{margin:2px 0;font-size:13px;line-height:1.25;color:#fff}.chatEmpty{margin:auto;color:#bfe2d5;font-size:13px}.stickerRow{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin:8px 0}.stickerRow button{padding:7px 0;border:1px solid #ffffff3a;border-radius:9px;background:#225651;font-size:20px}.chatInput{gap:6px}.chatInput button:disabled,.stickerRow button:disabled{opacity:.35}
.onlineFooter{justify-content:space-between;font-size:10px;color:#abd9ca;flex-wrap:wrap;flex-shrink:0;padding-top:6px;border-top:1px solid #ffffff20}.onlineFooter button{color:#ffe2a3;border:1px solid #ffe2a378;background:transparent;padding:5px;border-radius:7px}.loginRequired{text-align:center;padding:26px 9px;font-size:40px}.loginRequired h3{font-size:20px;margin:10px 0;color:#ffdfa2}.loginRequired p{font-size:13px}.loginRequired button:not(.onlinePrimary){font-size:12px;background:transparent;border:0;color:#d8f5e4;margin-top:12px}.partyInvite{padding:12px;background:#234547;border:1px solid #ffdb9e;border-radius:12px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.partyInvite button{background:#f9d997;color:#234132;border-radius:8px;padding:7px;border:0}
@media(max-width:355px){.onlinePlayModal{padding:10px}.onlineLogo b{font-size:16px}.liveSlot{padding:5px;min-height:56px}.liveSlot img{width:31px;height:31px}.liveSlot small{font-size:9px}.onlineTabBody h4{margin-top:9px}}
