:root{color-scheme:dark;font-family:system-ui,"Noto Sans KR",sans-serif;color:#f5f5f5;background:#090909}*{box-sizing:border-box}body{margin:0}.screen{min-height:100dvh;display:flex;flex-direction:column}header{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#141414;font-weight:700}header a{color:#ffe100;text-decoration:none;font-size:14px}#status{padding:12px;color:#dedede;text-align:center;min-height:48px}#peerInfo{color:#aaa;text-align:center;padding:8px}.video-area{position:relative;flex:1;min-height:240px;max-height:calc(100dvh - 205px);background:#101010;display:flex;align-items:center;justify-content:center;overflow:hidden}video#remoteVideo{width:100%;height:100%;object-fit:contain;background:black}#localVideo{position:absolute;bottom:12px;right:12px;width:min(28%,170px);height:140px;object-fit:cover;border:1px solid #555;border-radius:12px;background:#202020;transform:scaleX(-1)}#emptyVideo{position:absolute;color:#a5a5a5;text-align:center;padding:20px;pointer-events:none}footer{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;padding:14px 10px calc(14px + env(safe-area-inset-bottom));background:#171717}button{border:0;border-radius:28px;background:#424242;color:#fff;padding:12px 17px;font-size:14px;font-weight:600}button:disabled{opacity:.38}button.green{background:#248344}button.red{background:#ac3034}.incoming{position:absolute;z-index:2;top:45%;left:50%;transform:translate(-50%,-50%);width:min(95%,340px);padding:22px;background:#292929;border:1px solid #444;border-radius:18px;text-align:center;box-shadow:0 10px 45px #000a}.incoming p{font-size:18px;font-weight:700}.incoming button{margin:6px}@media(max-width:500px){#localVideo{height:100px}button{padding:12px;font-size:13px}.video-area{max-height:calc(100dvh - 225px)}}
