/* Shared first-visit dialog and phone orientation layout. */
body{min-width:0;height:100dvh}
.composer{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin}
.download-notice{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:30px;border:1px solid #ffffff38;border-radius:24px;background:linear-gradient(135deg,#242631df,#101119e8);color:#fff;box-shadow:0 24px 90px #0009;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);font:inherit}
.download-notice::backdrop{background:#0009;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.download-notice h2{font-size:24px;line-height:1.35;margin:8px 0 20px;font-weight:600}.download-notice p{font-size:15px;line-height:1.75;color:#d2d3de}.download-notice strong{color:#fff;font-weight:600}.notice-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}.notice-actions button{min-height:44px;font-size:14px}.notice-actions .primary{margin:0}.notice-kicker{font-size:11px;letter-spacing:.2em;color:#a8caff}.download-notice .notice-small{font-size:13px;color:#aaaebf}
.rotate-notice{position:fixed;inset:0;z-index:100;background:#0b0b0c;display:grid;place-items:center;padding:28px;text-align:center}.rotate-card{max-width:360px;padding:30px 24px;border:1px solid #ffffff26;border-radius:24px;background:linear-gradient(135deg,#ffffff12,#ffffff04);box-shadow:0 20px 70px #0007}.rotate-card h2{font-size:24px;font-weight:600}.rotate-card p{font-size:16px;line-height:1.7;color:#bbbfcf}.rotate-icon{width:64px;height:38px;border:2px solid #8ebaff;border-radius:9px;margin:12px auto 24px;transform:rotate(-20deg)}
@media (orientation:portrait) and (max-width:600px),(orientation:portrait) and (pointer:coarse) and (max-width:1100px){#siteShell{visibility:hidden}}
@media (max-height:600px) and (orientation:landscape){
 header{display:none}.logo{font-size:9px}.header-note{display:none}
 .composer{width:560px;top:calc((100dvh - 76px)/2);max-height:calc(100dvh - 88px);padding:14px 18px;border-radius:18px;clip-path:inset(0 round 18px)}
 .eyebrow{display:none}h1{font-size:20px;margin:0 0 10px}.language-switch{margin-bottom:8px}.fieldhead{margin-bottom:6px}
 textarea,.text-highlight{height:70px;padding:10px 12px;font-size:16px;line-height:1.5}
 .actions{margin-top:10px}.btn{min-height:40px;padding:8px 12px}.status{margin-top:8px}.language-hint{margin-top:5px}
 details.advanced{margin-top:10px;padding-top:10px}.advanced-body{max-height:none}.hint{margin:6px 0}
 .visual{bottom:70px}.keys-viewport{height:70px}.white{height:68px}.black{height:43px}.lab{bottom:5px;font-size:6px}.transport{bottom:76px;left:14px;right:14px;font-size:9px}
 .download-notice{padding:18px 24px}.download-notice h2{font-size:21px;margin:5px 0 10px}.download-notice p{font-size:14px;margin:8px 0}.notice-actions{margin-top:12px;flex-direction:row}.notice-actions button{flex:1}
}
@media(prefers-reduced-motion:no-preference){.download-notice[open]{animation:notice-in .24s ease-out}@keyframes notice-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
