.drift-demo { position:relative; margin:28px 0 12px; border:1px solid #444; background:#fff; border-radius:4px; overflow:hidden; color:#333; }
.drift-room { position:relative; width:100%; height:440px; overflow:hidden; cursor:grab; touch-action:none; }
.drift-room.is-dragging { cursor:grabbing; touch-action:none; }
.drift-webgl { position:absolute; inset:0; }
.drift-webgl canvas { display:block; width:100%; height:100%; }
.drift-tablet-hit { position:absolute; translate:-50% -50%; width:42px; height:58px; padding:0; border:0; background:transparent; color:transparent; cursor:pointer; }
.drift-tablet-hit:focus-visible { outline:2px solid #555; outline-offset:4px; }
.drift-demo.is-approaching .drift-tablet-hit { visibility:hidden; }
.drift-console { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); height:70.588%; aspect-ratio: .52 / .72; overflow:hidden; background:#f0f0f0; }
.drift-console[hidden],.drift-tablet-close[hidden] { display:none; }
.drift-console canvas { display:block; width:100%; height:100%; touch-action:none; }
.drift-demo button { font-family:var(--sans); }
.drift-original-search { position:absolute; left:5%; top:6%; width:90%; height:8%; padding:0 10px; background:#444; color:#fff; border:2px solid transparent; border-radius:20px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; font:11px Arial,sans-serif; }
.drift-original-search.active { border-color:#00f; }
.drift-tablet-close { position:absolute; left:14px; top:14px; border:1px solid #aaa; border-radius:20px; background:#fffffff0; color:#333; padding:8px 12px; font-size:12px; cursor:pointer; }
.drift-demo-footer { position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:space-between; gap:12px; background:#ffffffed; border-top:1px solid #eee; padding:10px 14px; font-size:11px; pointer-events:none; }
.drift-demo-footer button { pointer-events:auto; border:0; background:none; color:inherit; text-decoration:underline; cursor:pointer; font-size:12px; }
.essay .drift-demo-caption { font-size:12px; color:var(--muted); }
@media(max-width:640px){.drift-room { height:430px; }}
