.challenge-notice{position:fixed;z-index:85;top:max(82px,calc(env(safe-area-inset-top) + 70px));right:max(16px,env(safe-area-inset-right));width:min(320px,calc(100vw - 32px));padding:18px;background:#1a242af5;border:1px solid #b5f578;border-radius:12px;box-shadow:0 8px 32px #0008,0 0 18px #b5f57818;color:#eef4ed}
.challenge-notice[hidden]{display:none}
.dm-lobby-notice{top:auto;bottom:max(24px,env(safe-area-inset-bottom));max-height:calc(100dvh - 120px);overflow:auto;padding:14px}
.dm-lobby-notice strong{font-size:17px}
.dm-lobby-notice [data-roster]{max-height:64px;overflow:auto;overflow-wrap:anywhere;margin-bottom:10px}
.dm-lobby-notice-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.dm-lobby-notice .button{min-height:40px;padding:8px;font-size:11px}
.dm-lobby-notice .button[hidden]{display:none}
.dm-lobby-notice [data-action=start]{grid-column:1/-1}
.dm-lobby-notice [data-invites]{border-top:1px solid #53604f;margin-top:12px;padding-top:10px}
.dm-lobby-notice [data-invites]>p{margin:0 0 7px}
.dm-lobby-notice [data-players]{max-height:180px;overflow:auto}
.dm-lobby-notice-player{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px;font-size:12px}
.dm-lobby-notice-player span{min-width:0;overflow-wrap:anywhere}
.dm-lobby-notice-player .button{flex-shrink:0}
.dm-lobby-notice [data-action=copy]{width:100%;margin-top:7px}
@media(max-width:700px){.dm-lobby-notice{bottom:max(78px,calc(env(safe-area-inset-bottom) + 68px));max-height:calc(100dvh - 160px)}}
.challenge-notice small{display:block;font-size:9px;letter-spacing:1.5px;color:#b5f578}
.challenge-notice strong{display:block;font-size:19px;margin-top:9px;overflow-wrap:anywhere}
.challenge-notice p{font-size:12px;margin:5px 0 14px;color:#b9c5cd}
.challenge-notice-actions{display:flex;gap:8px}
.challenge-notice-actions .button{flex:1;min-height:44px;padding:9px;font-size:12px}
.camera-zoom-button{display:none;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;padding:6px 10px;border:1px solid #576555;border-radius:7px;background:#243121;color:#d6f1bf;font-size:11px;touch-action:manipulation}
.arena-card:fullscreen .camera-zoom-button{display:inline-flex}
@media(any-pointer:coarse),(max-width:600px),(max-width:1000px) and (max-height:500px){
  body.mobile-battle .camera-zoom-button{display:inline-flex;min-height:40px;padding-inline:8px}
  body.mobile-battle .arena-footer{min-height:44px;height:auto}
  body.mobile-battle .arena-footer-actions{gap:8px}
  body.mobile-battle #cancel-match{min-height:40px}
}
@media(max-width:430px){
  body.mobile-battle #sound-volume{width:60px}
  .challenge-notice{top:max(72px,calc(env(safe-area-inset-top) + 60px));padding:14px}
  .dm-lobby-notice{top:auto}
}
