:root{-webkit-text-size-adjust:100%;color:#2b1d10;background:#fdf6ec;font-family:-apple-system,system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{overscroll-behavior:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none}.screen{height:100%;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.home{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:28px;display:flex}.greeting{margin:0;font-size:30px;font-weight:700}.call-button{color:#fff;background:#2e9e5b;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:220px;height:220px;display:flex;box-shadow:0 8px #1f7442,0 12px 24px #0000002e}.call-button:active{transform:translateY(4px);box-shadow:0 4px #1f7442}.call-icon{font-size:64px;line-height:1}.call-label{font-size:28px;font-weight:800}.call-hint{opacity:.75;margin:0 24px;font-size:19px}.message{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:36px;display:flex}.message-text{margin:0 28px;font-size:28px;font-weight:700;line-height:1.35}.retry-button{color:#fff;background:#2e9e5b;border-radius:999px;padding:22px 44px;font-size:26px;font-weight:800;box-shadow:0 6px #1f7442}.in-call{background:#000;flex-direction:column;padding:0;display:flex;position:relative}.video-area{background:#2d4560;flex:50%;min-height:0;position:relative}.remote-video,.remote-video video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.self-video{top:calc(12px + env(safe-area-inset-top));background:#8a6a4f;border:2px solid #fff;border-radius:14px;width:92px;height:124px;position:absolute;right:12px;overflow:hidden}.self-video video{object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.caption-panel{color:#222;padding:18px 20px calc(110px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;background:#fffaf0;flex:50%;overflow-y:auto}.caption-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.caption-label{color:#777;font-size:17px}.caption-note{color:#a15c00;font-size:16px;font-weight:600}.caption-text{font-size:clamp(26px,7.5vw,38px);font-weight:800;line-height:1.28}.hangup-button{color:#fff;background:#e53935;border-radius:50%;width:76px;height:76px;font-size:34px;box-shadow:0 4px 12px #0000004d}.in-call .hangup-button{left:50%;bottom:calc(18px + env(safe-area-inset-bottom));position:absolute;transform:translate(-50%)}
