@media(max-width:420px){.metrics-4-grid,.admin-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.metrics-4-grid .stat-card{padding:10px 12px!important;min-width:0}.metrics-4-grid .stat-card h3{font-size:16px!important;overflow-wrap:anywhere}.metrics-4-grid .stat-label{font-size:11.5px}.metrics-4-grid .stat-caption{font-size:11px;margin-top:4px}.metrics-4-grid .stat-card>div[style*=space-between]{flex-wrap:wrap;gap:6px}}.shop-card-head{flex-wrap:wrap;gap:4px 10px}.shop-card-title{min-width:0}.shop-card-title h3,.shop-card-head h3{white-space:nowrap}.shop-card-req{flex:1 1 100%;text-align:left!important}.admin-users-table-wrap{overflow-x:auto}.admin-users-table-wrap table{table-layout:auto}.admin-users-table-wrap th,.admin-users-table-wrap td{padding:8px 10px}.admin-users-table-wrap td{vertical-align:middle}.admin-users-table-wrap td:nth-child(4){max-width:200px;overflow-wrap:anywhere}.admin-users-table-wrap .inline-select{max-width:150px}.admin-users-table-wrap td:last-child,.admin-users-table-wrap td:nth-child(7){white-space:nowrap}@media(max-width:860px){#activeRoomHeroCard{padding:14px 16px}#activeRoomHeroCard>div>div:first-child{min-width:0;flex:1 1 100%}#activeRoomHeroCard #activeRoomIcon{flex:none}#activeRoomHeroCard>div>div:last-child{flex-wrap:wrap}.crown-hall-card{gap:10px;padding:14px 16px}.crown-hall-name{min-width:0;flex:1 1 auto}.crown-hall-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crown-hall-count{flex:none;white-space:nowrap}.page-content:has(.community-chat-pane:not([hidden])){box-sizing:border-box;height:calc(100vh - 110px - env(safe-area-inset-bottom,0px));height:calc(100dvh - 110px - env(safe-area-inset-bottom,0px));padding-bottom:8px!important;overflow:hidden;display:flex;flex-direction:column}.page-content:has(.community-chat-pane:not([hidden])) #communityView{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}#communityView .view-header{margin-bottom:8px}#communityView .community-tabs{margin-bottom:10px!important}#communityView .community-chat-pane:not([hidden]){flex:1 1 auto;min-height:0;display:flex;flex-direction:column}#communityView .community-chat-pane>#communityChatSection{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}#communityView .community-chat-pane .chat-room-card{flex:1 1 auto;height:auto!important;min-height:0;max-height:none!important}#communityView .chat-room-card{align-items:stretch!important}.chat-quick-bar{max-width:100%;overflow:hidden}.chat-quick-bar .chat-quick-tags{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chat-quick-bar .chat-quick-tags::-webkit-scrollbar{display:none}.chat-quick-bar .chat-quick-tags>*{flex:none}}@media(max-width:860px){.leaderboard-table-wrap table tbody tr:has(>td.lb-rank-cell){display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px}.leaderboard-table-wrap table tbody tr:has(>td.lb-rank-cell)>td{flex-direction:row;align-items:center;gap:5px;width:auto;text-align:left}.leaderboard-table-wrap table tbody tr:has(>td.lb-rank-cell):after{content:"";flex:0 0 100%;order:4;height:0;margin-top:-6px}tr>td:nth-child(1){order:1}tr>td:nth-child(2){order:2}tr>td:nth-child(3){order:3}tr>td:nth-child(4){order:5}tr>td:nth-child(5){order:6}tr>td:nth-child(6){order:7}tr>td:nth-child(7){order:8}tr>td.lb-rank-cell{flex:none;font-weight:700;font-size:15px!important}tr>td.lb-player-cell{flex:1 1 0;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important}tr>td.lb-player-cell .lb-player-wrap{max-width:100%}tr>td.lb-player-cell .lb-trophy-line{padding-left:32px}tr>td.lb-num-cell:nth-child(3){flex:none}tr>td.lb-num-cell:nth-child(4),tr>td.lb-center-cell:nth-child(5){flex:none}tr>td:nth-child(6){flex:1 1 56px;min-width:56px!important}tr>td:nth-child(6) .alloc-bar-wrap{width:100%}tr>td.lb-center-cell:nth-child(7){flex:none;margin-left:auto}tr>td.lb-center-cell:nth-child(7) button{min-height:30px;padding:3px 10px!important;font-size:12px!important}tr>td.lb-rank-cell:before,tr>td.lb-player-cell:before,tr>td:nth-child(6):before,tr>td:nth-child(7):before{content:none!important;display:none}tr>td.lb-num-cell:nth-child(3):before{content:"長線"}tr>td.lb-num-cell:nth-child(4):before{content:"短線"}tr>td.lb-center-cell:nth-child(5):before{content:"交鋒"}.leaderboard-table-wrap table td.lb-num-cell:nth-child(4) .badge-roi{font-size:12.5px;padding:2px 8px}}
