* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #dde6ea; font-family: system-ui, -apple-system, Segoe UI, sans-serif; }
#app canvas { display: block; }
#overlay {
  position: absolute; top: 14px; left: 14px; width: 330px; max-height: calc(100% - 28px); overflow-y: auto;
  background: rgba(10, 26, 34, 0.88); color: #e6f4f7; border-radius: 16px; padding: 16px 16px 10px;
  backdrop-filter: blur(6px); box-shadow: 0 8px 30px rgba(0,0,0,.25); font-size: 14px;
}
header .logo { font-weight: 800; font-size: 22px; letter-spacing: .3px; }
header .sub { color: #8fb3bb; font-size: 13px; margin-top: 2px; }
.case { margin-top: 8px; font-size: 12px; color: #b9d4da; background: rgba(255,255,255,.06); padding: 6px 8px; border-radius: 8px; }
#vrslot { position: relative; height: 46px; margin: 12px 0 6px; }
#vrslot #vrbtn { position: absolute !important; left: 0 !important; bottom: 0 !important; width: 100% !important; transform: none !important;
  background: #1e8f7a !important; border: none !important; border-radius: 10px !important; font: 700 15px system-ui !important; opacity: 1 !important; padding: 12px !important; }
#vrslot a#vrbtn { background: #7a4a1e !important; font-size: 12px !important; text-decoration: none; }
ol#steps { list-style: none; padding: 0; margin: 8px 0; }
ol#steps li { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; color: #8fb3bb; }
ol#steps li span { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 12px; flex: none; }
ol#steps li.done { color: #6fd6a2; }
ol#steps li.done span { background: #1f6f4c; }
ol#steps li.cur { background: rgba(30,111,122,.45); color: #fff; font-weight: 600; }
ol#steps li.cur span { background: #2fb3a0; }
.hint { color: #ffd65a; background: rgba(255,214,90,.1); border-radius: 8px; padding: 8px; min-height: 40px; }
.warn { display: none; margin-top: 8px; background: #c83a46; color: #fff; padding: 8px; border-radius: 8px; font-weight: 600; }
.toast { display: none; margin-top: 8px; background: #23855e; color: #fff; padding: 8px; border-radius: 8px; }
.row { display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.row button { flex: 1; }
button { background: #2fb3a0; color: #062126; border: none; border-radius: 9px; padding: 9px 8px; font-weight: 700; cursor: pointer; font-size: 13px; }
button.ghost { background: rgba(255,255,255,.1); color: #e6f4f7; }
button.ghost.on { background: #e0b84a; color: #1a1a1a; }
button.sm { padding: 6px 4px; font-size: 12px; }
.views span { color: #8fb3bb; font-size: 12px; }
details { margin-top: 12px; color: #b9d4da; }
summary { cursor: pointer; font-weight: 600; }
.controls { padding-left: 16px; margin: 6px 0; font-size: 12.5px; line-height: 1.45; }
.fine { color: #6f8f97; font-size: 11px; margin: 10px 0 0; }
@media (max-width: 700px) { #overlay { width: calc(100% - 28px); max-height: 45%; } }
