:root { color-scheme: light; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #14283c; background: #f3f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(900px, 100% - 32px); margin: 0 auto; padding: 40px 0 28px; }
header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 17px; color: white; background: #1769aa; font-size: 28px; font-weight: 800; box-shadow: 0 8px 20px #1769aa33; }
.eyebrow { margin: 0 0 6px; color: #1769aa; font-size: 11px; letter-spacing: .14em; font-weight: 800; }
h1 { max-width: 650px; margin: 0; color: #102b46; font-size: clamp(26px, 5vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.intro { margin: 11px 0 0; color: #647789; line-height: 1.55; }
.panel, .result { padding: 24px; border: 1px solid #e1e9f0; border-radius: 20px; background: white; box-shadow: 0 12px 34px #16324a0b; }
label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 700; }
.url-row { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; padding: 14px; border: 1px solid #cbd8e4; border-radius: 11px; outline: none; font: inherit; }
input:focus { border-color: #1769aa; box-shadow: 0 0 0 3px #1769aa1b; }
button { border: 0; border-radius: 11px; padding: 0 18px; color: white; background: #1769aa; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
button:hover { background: #0d568f; }
button:disabled { opacity: .58; cursor: wait; }
.hint { margin: 10px 0 0; color: #748697; font-size: 13px; line-height: 1.5; }
.status { min-height: 20px; margin: 12px 0 0; color: #1769aa; font-size: 14px; }
.status.error { color: #b42318; }
.result { margin-top: 20px; }
.hidden { display: none; }
.video-wrap { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #0c1c2b; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 24px 0 13px; }
h2 { margin: 0; color: #102b46; font-size: 23px; }
.secondary { min-height: 44px; padding: 0 15px; color: #1769aa; border: 1px solid #cfe1ef; background: #f1f8fd; }
.secondary:hover { background: #e3f1fb; }
.translated-text { max-height: 54vh; overflow: auto; padding: 17px; border-radius: 12px; background: #f5f8fb; white-space: pre-wrap; line-height: 1.75; font-size: 16px; }
footer { padding: 18px 4px 0; color: #778898; font-size: 12px; line-height: 1.5; }
@media (max-width: 620px) { .shell { width: min(100% - 22px, 900px); padding-top: 24px; } header { gap: 12px; } .brand-mark { width: 45px; height: 45px; flex-basis: 45px; border-radius: 14px; } .panel, .result { padding: 16px; border-radius: 16px; } .url-row { flex-direction: column; } .url-row button { min-height: 48px; } .result-head { align-items: flex-start; flex-direction: column; } }
