:root{
  --bg:#070B0E; --blue:#96BDF6; --txt:#F2F6FC; --dim:#8CA0B6; --line:rgba(150,189,246,.18);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;height:100%}
body{
  background:var(--bg); color:var(--txt);
  font-family:"Cairo",system-ui,-apple-system,"Segoe UI",sans-serif;
  display:flex; flex-direction:column; height:100vh; height:100dvh; overflow:hidden;
  padding-bottom:var(--safe-b);
}
.topbar{
  display:flex; align-items:center; gap:10px; flex:0 0 auto;
  padding:calc(var(--safe-t) + 10px) 14px 10px;
  background:#080D11; border-bottom:1px solid var(--line);
}
.back{
  display:grid; place-items:center; width:36px; height:36px; border-radius:11px;
  background:rgba(150,189,246,.10); border:1px solid var(--line); color:var(--blue);
  text-decoration:none; flex:0 0 auto;
}
.back svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ttl{font-size:15px; font-weight:700; line-height:1.2}
.ttl small{display:block; font-size:11px; color:var(--dim); font-weight:400; margin-top:2px}
.open{
  margin-inline-start:auto; font-size:11.5px; color:var(--blue); text-decoration:none;
  border:1px solid var(--line); border-radius:999px; padding:6px 11px; white-space:nowrap;
}
.frame{flex:1 1 auto; position:relative; background:#070B0E; overflow:hidden}
.frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0; display:block; background:#070B0E}
