.tws-otp-video{position:relative;width:100%;aspect-ratio:16/9;background:#111;border-radius:12px;overflow:hidden}
.tws-otp-cover{all:unset;box-sizing:border-box;position:absolute;inset:0;cursor:pointer;background:#222 center/cover no-repeat;display:flex;align-items:center;justify-content:center}
.tws-otp-cover::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.45))}
.tws-otp-cover:disabled{cursor:progress}
.tws-otp-play{position:relative;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 6px 24px rgba(0,0,0,.35);transition:transform .2s}
.tws-otp-play::after{content:"";position:absolute;left:31px;top:23px;border-style:solid;border-width:15px 0 15px 24px;border-color:transparent transparent transparent #b8860b}
.tws-otp-cover:hover .tws-otp-play,.tws-otp-cover:focus-visible .tws-otp-play{transform:scale(1.08)}
.tws-otp-title{position:absolute;left:20px;right:20px;bottom:16px;color:#fff;font-size:18px;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.tws-otp-player{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}

.tws-otp-lock{overflow:hidden}
.tws-otp-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.6)}
.tws-otp-modal.is-open{display:flex}
.tws-otp-box{position:relative;width:100%;max-width:400px;background:#fff;color:#222;border-radius:14px;padding:28px 24px 22px;box-shadow:0 20px 60px rgba(0,0,0,.35);font-size:15px;line-height:1.45}
.tws-otp-close{all:unset;position:absolute;top:8px;right:12px;font-size:28px;line-height:1;color:#888;cursor:pointer}
.tws-otp-close:hover{color:#222}
.tws-otp-h{margin:0 0 4px;font-size:21px;color:#222}
.tws-otp-sub{margin:0 0 18px;color:#666}
.tws-otp-step label{display:block;margin:0 0 14px;font-weight:600;font-size:14px}
.tws-otp-step select,.tws-otp-step input{display:block;width:100%;box-sizing:border-box;margin-top:6px;height:46px;padding:0 12px;border:1px solid #ccc;border-radius:8px;font-size:16px;background:#fff;color:#222}
.tws-otp-step select:focus,.tws-otp-step input:focus{outline:0;border-color:#b8860b;box-shadow:0 0 0 3px rgba(184,134,11,.18)}
.tws-otp-phone{display:flex;margin-top:6px}
.tws-otp-dial{display:flex;align-items:center;padding:0 12px;border:1px solid #ccc;border-right:0;border-radius:8px 0 0 8px;background:#f5f5f5;font-weight:600}
.tws-otp-phone input{margin-top:0;border-radius:0 8px 8px 0}
.tws-otp-s2 input[name=code]{letter-spacing:6px;text-align:center;font-size:20px}
.tws-otp-btn{display:block;width:100%;height:48px;border:0;border-radius:8px;background:#b8860b;color:#fff;font-size:16px;font-weight:600;cursor:pointer}
.tws-otp-btn:hover{background:#9a7009}
.tws-otp-btn:disabled{opacity:.65;cursor:progress}
.tws-otp-sent{margin:0 0 12px;color:#2e7d32;font-size:14px}
.tws-otp-links{display:flex;justify-content:space-between;margin-top:12px}
.tws-otp-link{all:unset;color:#b8860b;font-size:14px;cursor:pointer}
.tws-otp-link:disabled{color:#aaa;cursor:default}
.tws-otp-msg{margin:12px 0 0;min-height:1em;font-size:14px;color:#2e7d32}
.tws-otp-msg.is-error{color:#c62828}
.tws-otp-msg:empty{margin:0}
