.online-section{margin:34px 0;padding:26px;border:1px solid #454044;border-radius:12px;background:linear-gradient(125deg,#211d23,#15171d);scroll-margin-top:24px}
.online-section .section-heading{margin-bottom:18px}.online-section h2{font-size:22px}
.online-intro{color:#b9b1ae;line-height:1.8;font-size:13px;margin:0 0 18px}
.online-toolbar,.room-title,.room-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.online-toolbar .primary-button,.room-actions .primary-button{min-width:150px;padding:13px 22px;font-size:14px}
.online-identity{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px;color:#a69c97}.online-identity strong{color:#e9cfaf}
#online-status{min-height:24px;margin:16px 0;font-size:13px;color:#e9bb84;line-height:1.7}
#room-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.room-card{padding:20px;background:#101216;border:1px solid #363238;border-radius:8px;min-width:0}.room-card h3{font-size:17px;color:#f4dac1;margin:0 0 12px}.room-card p,.room-card>span{color:#a9a3a6;font-size:12px}.room-card .secondary-button{width:100%;margin-top:18px;padding:10px;font-size:13px}
.rooms-empty{grid-column:1/-1;text-align:center;border:1px dashed #514049;padding:30px 12px;border-radius:8px;color:#a69c97;font-size:13px}
.room-title h3{margin:0;font-size:20px;color:#f4dac1}.room-title p{color:#bcb0aa;font-size:13px}
#room-players{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.room-player{display:flex;flex-direction:column;gap:12px;background:#111318;padding:18px;border-radius:8px;border:1px solid #403740;min-width:0}.room-player strong{font-size:14px;overflow-wrap:anywhere}.room-player span{font-size:12px;color:#b4a5a1;line-height:1.7}
.online-section button:disabled,#start-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
#battle-network{font-size:11px;color:#e9bb84;margin-left:10px}.online-battle #pause-button{font-size:12px}
@media(max-width:600px){.online-section{padding:18px 14px}.online-section .section-heading{gap:8px}.online-section .section-heading h2{font-size:19px}.online-section .section-index{display:none}#room-players{grid-template-columns:1fr}.online-toolbar{align-items:stretch}.online-toolbar .primary-button{width:100%}#room-list{grid-template-columns:1fr}.site-header nav{gap:8px}.site-header .nav-item{font-size:12px}.online-section .subtle{font-size:10px}}
