:root{
  --bg:#0b0d12;
  --text:#e9ecf5;
  --muted:rgba(233,236,245,.65);
  --border:rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius:22px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
}
.wrap{height:100%;display:flex;flex-direction:column}
.topbar{
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--border);
}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.logo{
  width:26px;height:26px;border-radius:9px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.35));
}
.brand b{font-size:14px; letter-spacing:.2px; white-space:nowrap}
.sub{
  font-size:12px;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 62vw;
}
.pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color: var(--muted);
  font-size:12px;
}
.dot{width:9px;height:9px;border-radius:999px;background: rgba(255,255,255,.18)}
.dot.on{background: rgba(255,255,255,.92)}
main{
  flex:1;
  display:flex;
  align-items:stretch;
  justify-content:center;
  padding:16px;
}
.card{
  width:min(860px, 100%);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  background: rgba(255,255,255,.02);
}
.pad{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.center{ text-align:center; padding:26px; max-width: 520px; }
.h1{font-size:32px; letter-spacing:-.6px; margin:0 0 10px 0;}
.p{margin:0;font-size:14px;color: var(--muted);line-height:1.45;}
.hint{margin-top:16px;font-size:12px;color: rgba(233,236,245,.55);}
.corner{
  position:absolute;
  left:14px;
  bottom:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.btnGhost{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(233,236,245,.78);
  padding:10px 12px;
  border-radius: 14px;
  font-size:12px;
}
.flashStage{position:absolute; inset:0; background:#000;}
.flash{position:absolute; inset:0; background:#fff; opacity:0; transition: opacity 60ms linear;}
.flash.on{opacity:1;}


/* Full-screen flash overlay (Beacon) */
.pageFlash{
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 60ms linear;
}
.pageFlash.on{ opacity: 1; }


/* Primary action button (Apple-simple) */
.primaryBtn{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.92);
  color: #0b0d12;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  width: min(420px, 86vw);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.primaryBtn:active{ transform: translateY(1px); }
.hidden{ display:none !important; }

.notice{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(233,236,245,.68);
  line-height: 1.4;
}
