:root {
  --blue: #4285f4;
  --red: #ea4335;
  --yellow: #fbbc05;
  --green: #34a853;
  --text: #202124;
  --muted: #70757a;
  --line: #dadce0;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: #1a0dab; text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px 0;
  font-size: 13px;
}
.top a { color: var(--text); margin: 0 8px; }
.top-right { display: flex; align-items: center; flex: none; }
@media (max-width: 720px) {
  .top-left { display: none; }
}
.apps-btn {
  width: 40px;
  height: 40px;
  margin: 0 2px 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.apps-btn svg { fill: currentColor; }
.apps-btn:hover, .apps-btn:focus-visible { background: #f1f3f4; outline: none; }
.pin-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(32, 33, 36, 0.46);
  padding: 16px;
}
.pin-layer[hidden] { display: none; }
.pin-card {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 28px 28px 20px;
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.28);
}
.pin-card h2 { margin: 0; font-size: 22px; font-weight: 400; }
.pin-card p { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.pin-input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 28px;
  letter-spacing: 0.55em;
  text-align: center;
  padding: 0 0 0 0.55em;
}
.pin-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 1px 6px rgba(66, 133, 244, 0.28); }
.pin-error { color: var(--red) !important; margin: 10px 0 0 !important; }
.hint.ok { color: var(--green); margin: 10px 0 0; }
.wolf-pair-card { max-width: 420px; }
.pin-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.pin-actions button {
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
}
.pin-actions button.ghost { background: #fff; color: var(--blue); }
.app-icon {
  width: 32px;
  height: 32px;
  margin: 0 8px 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.app-icon img { width: 28px; height: 28px; border-radius: 6px; }
.app-icon:hover { background: #f1f3f4; text-decoration: none; }
.home-apps {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  gap: 28px;
}
.home-apps[hidden] { display: none !important; }
.home-app {
  width: 88px;
  color: var(--text) !important;
  text-decoration: none !important;
  text-align: center;
  font-size: 13px;
}
.home-app img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: block;
  margin: 0 auto 8px;
  box-shadow: 0 1px 3px rgba(32,33,36,.16);
}
.home-app:hover img { box-shadow: 0 2px 8px rgba(32,33,36,.2); }
.top form { margin: 0; }
button.signin {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.signin {
  background: var(--blue);
  color: #fff !important;
  border-radius: 4px;
  padding: 9px 23px;
  font-weight: 600;
  margin-left: 12px;
  text-decoration: none !important;
}
.signin:hover { box-shadow: 0 1px 3px rgba(0,0,0,.24); }
.signin.full { width: 100%; border: 0; cursor: pointer; font-size: 14px; padding: 10px 16px; margin: 18px 0 0; }

.center {
  min-height: calc(100% - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 11vh;
}
.logo {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0 0 28px;
  line-height: 1;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.logo.small { font-size: 34px; letter-spacing: -1px; margin: 0 0 18px; }
.logo.tiny { font-size: 22px; letter-spacing: -0.5px; }
.logo .b { color: var(--blue); }
.logo .r { color: var(--red); }
.logo .y { color: var(--yellow); }
.logo .g { color: var(--green); }
.logo .gap { display: inline-block; width: 0.28em; }

.search { width: min(584px, 92vw); text-align: center; }
.box {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 14px;
  box-shadow: none;
}
.box:hover, .box:focus-within {
  box-shadow: 0 1px 6px rgba(32,33,36,.28);
  border-color: transparent;
}
.box input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  height: 100%;
  background: transparent;
}
.icon { width: 20px; height: 20px; flex: none; }
.icon.mag { margin-right: 12px; }
.icon.mic { margin-left: 12px; }
.actions { margin-top: 28px; }
.actions button {
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  color: #3c4043;
  font-size: 14px;
  padding: 8px 16px;
  margin: 0 6px;
  cursor: pointer;
}
.actions button:hover {
  box-shadow: 0 1px 1px rgba(0,0,0,.1);
  border-color: #dadce0;
}

.foot {
  position: sticky;
  top: 100%;
  background: #f2f2f2;
  color: var(--muted);
  font-size: 14px;
}
.foot > div { padding: 14px 30px; border-top: 1px solid #dadce0; }
.foot .row { display: flex; gap: 24px; }
.foot a { color: var(--muted); }

.auth {
  display: grid;
  place-items: center;
  background: #fff;
}
.card {
  width: min(440px, 92vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px 40px 36px;
}
.card h2 { font-weight: 400; font-size: 24px; margin: 0; }
.hint { color: var(--muted); margin: 8px 0 28px; }
.card label { display: block; font-size: 14px; margin-bottom: 14px; color: var(--muted); }
.card input {
  width: 100%;
  margin-top: 6px;
  font-size: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.back { margin-top: 24px; font-size: 14px; }

.admin {
  background: #f8f9fa;
  min-height: 100%;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.g-top {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 8px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.g-top .ghost {
  border: 0;
  background: transparent;
  border-radius: 24px;
  color: #3c4043;
  font-weight: 500;
}
.g-top .ghost:hover { background: #f1f3f4; }
.g-brand { margin: 0; font-size: 22px; }
.g-sep { color: var(--muted); font-size: 18px; font-weight: 400; padding-left: 4px; }
.g-search {
  flex: 1;
  max-width: 720px;
  height: 46px;
  margin: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f3f4;
  border-radius: 24px;
  padding: 0 16px;
}
.g-search:focus-within { background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,.28); }
.g-search .material-symbols-outlined { color: #5f6368; font-size: 22px; }
.g-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.g-body { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.g-nav { padding: 16px 12px 28px 8px; }
.g-nav a, .g-nav .nav-action {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #202124;
  text-decoration: none;
  padding: 0 16px 0 22px;
  height: 40px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0 20px 20px 0;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.g-nav a .material-symbols-outlined,
.g-nav .nav-action .material-symbols-outlined { font-size: 22px; color: #5f6368; }
.g-nav a:hover, .g-nav .nav-action:hover { background: #f1f3f4; text-decoration: none; }
.g-nav a.on { background: #e8f0fe; color: #1967d2; }
.g-nav a.on .material-symbols-outlined { color: #1967d2; font-variation-settings: "FILL" 1; }
.betty-face {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center 20%;
  flex: none;
}
.g-title { padding: 0 0 6px; }
.g-title h1 { margin: 0; font-size: 26px; font-weight: 400; letter-spacing: -0.3px; }
.g-title p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.admin-shell { min-width: 0; padding: 24px 32px 48px; }
.page { display: flex; flex-direction: column; gap: 22px; }
.dash-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 2px 0 8px;
}
.dash-app {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none !important;
}
.dash-app img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.dash-app:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 6px rgba(32,33,36,.16);
}
.page[hidden] { display: none !important; }
.app-logo, .logo-wrap img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; vertical-align: middle; }
.app-logo.lg { width: 44px; height: 44px; border-radius: 12px; }
.app-logo.betty-face, .app-logo.lg.betty-face { border-radius: 12px; }
.apps td .app-logo { margin-right: 10px; }
.busy .app-logo { width: 22px; height: 22px; margin-right: 8px; }
.media-row, .row-item { display: flex; gap: 14px; align-items: flex-start; }
.media-row .app-logo, .row-item .app-logo { margin-top: 2px; flex: none; }
.media-row > div, .row-main { min-width: 0; flex: 1; }
.row-item .pill { margin-top: 4px; flex: none; }
.head-with-logo { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.head-with-logo > div { min-width: 0; }
.head-with-logo h2 { margin: 0 0 2px; font-size: 16px; font-weight: 500; }
.logo-wrap { display: inline-flex; margin-right: 8px; }
.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn, .admin-bar .who > button, .vm-actions button:not(.ghost), .seerr-form button, .user-form button {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
}
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.jump-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jump {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 16px 20px;
  text-decoration: none !important;
  color: inherit;
  text-align: center;
  min-height: 148px;
}
.jump:hover { box-shadow: 0 1px 6px rgba(32,33,36,.18); text-decoration: none; }
.jump .app-logo { width: 40px; height: 40px; border-radius: 10px; margin: 0 auto 10px; display: block; }
.jump .app-logo.betty-face { border-radius: 12px; }
.jump span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.jump strong { display: block; font-size: 20px; margin: 6px 0 4px; font-weight: 500; line-height: 1.2; }
.jump em { display: block; font-style: normal; color: var(--muted); font-size: 12px; line-height: 1.35; }
.apps tbody tr:hover { background: #f8f9fa; }
.media-layout, .four-grid, .split-grid { display: grid; gap: 20px; }
.media-layout { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); }
.four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.seerr-form, .user-form { display: flex; gap: 12px; padding: 8px 22px 20px; flex-wrap: wrap; align-items: center; }
.user-form[hidden] { display: none !important; }
.seerr-form input, .user-form input, .user-form select {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding: 4px 22px 22px;
}
.poster {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px;
  align-items: center;
}
.poster-art, .poster img { width: 56px; height: 84px; object-fit: cover; border-radius: 6px; background: #f1f3f4; }
.poster strong { display: block; font-size: 14px; }
.poster span { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.pad-list { padding: 8px 8px 12px; }
.user-actions { text-align: right; white-space: nowrap; }
.user-form button.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.user-form label.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.user-form input[type="checkbox"] { flex: none; width: 16px; min-width: 16px; height: 16px; padding: 0; }
.app-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  margin: 0;
  padding: 8px 0 0;
  border: 0;
}
.app-picks[hidden] { display: none !important; }
.app-picks legend { font-size: 12px; color: var(--muted); padding: 0; }
.user-note { margin: -4px 22px 16px; color: var(--muted); font-size: 13px; }
.user-edit-email { font-size: 14px; min-width: 180px; }
.users-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.users-table th, .users-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #eee; vertical-align: middle; }
.users-table th { font-size: 12px; color: var(--muted); font-weight: 700; }
.users-table tbody tr:hover { background: #f8f9fa; }
.tag {
  display: inline-block;
  margin-right: 4px;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f0fe;
  color: #174ea6;
}
.tag.app { background: #e6f4ea; color: #137333; }
.muted { color: var(--muted); }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.ghost {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
}
.admin-main { padding: 18px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.panel-head h1 { font-size: 20px; margin: 0 0 4px; font-weight: 500; }
.panel-head h2 { margin: 0 0 4px; font-size: 18px; font-weight: 500; }
.panel-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.vm-actions { display: flex; gap: 8px; }
.admin-bar .who > button,
.vm-actions button:not(.ghost) {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}
.admin-brand { display: flex; align-items: baseline; gap: 12px; }
.admin-kicker {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.live {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: #e6f4ea;
  border-radius: 99px;
  padding: 4px 10px;
}
.live.bad { color: var(--red); background: #fce8e6; }
.dash { padding: 0; display: flex; flex-direction: column; gap: 22px; max-width: none; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 20px;
  min-width: 0;
}
.card-stat span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.card-stat strong { display: block; font-size: 26px; font-weight: 500; margin: 10px 0 8px; line-height: 1.15; }
.card-stat em { display: block; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.4; }
.card-stat.bad strong { color: var(--red); }
.card-stat.warn strong { color: #e37400; }
.card-stat.ok strong { color: #188038; }
.story {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  color: #3c4043;
  font-size: 14px;
  line-height: 1.5;
}
.notices { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #e37400;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notice.bad { border-left-color: var(--red); }
.notice strong { font-size: 14px; }
.notice span, .sub, .muted { color: var(--muted); font-size: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-grid > section { padding: 14px 16px 16px; border-right: 1px solid #eee; min-width: 0; }
.download-grid > section:last-child { border-right: 0; }
.download-grid h2, .download-grid h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.media-list { list-style: none; margin: 0; padding: 4px 0 8px; }
.media-list li, .row-item { padding: 14px 22px; border-bottom: 1px solid #f1f3f4; min-width: 0; }
.media-list li:last-child, .row-item:last-child { border-bottom: 0; }
.media-list li:hover, .row-item:hover { background: #f8f9fa; }
.media-list li strong, .row-main strong { font-size: 15px; font-weight: 500; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.media-list .sub, .row-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.media-list.roomy { min-height: 180px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 380px); gap: 20px; align-items: start; }
.apps-panel { min-width: 0; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.filters input {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 14px;
  width: 180px;
}
.seg { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.seg button.on { background: #e8f0fe; color: var(--blue); font-weight: 700; }
.table-wrap { overflow: auto; max-height: calc(100vh - 260px); max-width: 100%; }
.apps { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.apps th, .apps td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #eee; vertical-align: middle; overflow: hidden; }
.apps th:nth-child(1), .apps td:nth-child(1) { width: 34%; }
.apps th:nth-child(2), .apps td:nth-child(2) { width: 12%; }
.apps th:nth-child(3), .apps td:nth-child(3) { width: 8%; }
.apps th:nth-child(4), .apps td:nth-child(4) { width: 14%; }
.apps th:nth-child(5), .apps td:nth-child(5) { width: 10%; }
.apps th:nth-child(6), .apps td:nth-child(6) { width: 22%; }
.apps td .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.media-list .sub { white-space: normal; overflow: visible; text-overflow: unset; }
.apps th { position: sticky; top: 0; background: #fafafa; font-size: 12px; color: var(--muted); font-weight: 700; }
.apps td strong { font-weight: 600; }
.apps a { font-size: 12px; margin-right: 6px; }
.apps tr.lvl-bad td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.apps tr.lvl-warn td:first-child { box-shadow: inset 3px 0 0 #e37400; }
.pill { display: inline-block; border-radius: 99px; padding: 2px 8px; font-size: 12px; font-weight: 700; background: #e6f4ea; color: #188038; }
.pill.warn { background: #fef7e0; color: #b06000; }
.pill.bad { background: #fce8e6; color: var(--red); }
.pill.muted { background: #f1f3f4; color: var(--muted); }
.empty { color: var(--muted); padding: 16px; }
.betty-copy { margin: 8px 0 0; color: #3c4043; line-height: 1.45; white-space: pre-wrap; }
.betty-summary-panel { margin-bottom: 20px; }
.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pad { padding: 4px 22px 20px; }
.busy, .disks { list-style: none; margin: 0; padding: 6px 8px 12px; }
.busy li, .disks li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f1f3f4; font-size: 14px; align-items: center; }
.busy li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.busy li em { font-style: normal; color: var(--muted); font-size: 12px; }
.disks li { display: block; }
.disk-top { display: flex; justify-content: space-between; gap: 8px; }
.bar { height: 6px; background: #eee; border-radius: 99px; margin: 6px 0; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }
.disks li.warn .bar i { background: #e37400; }
.vm-layer {
  position: fixed;
  inset: 0;
  background: rgba(32,33,36,.45);
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
}
.vm-layer[hidden] { display: none; }
.guest-layer {
  position: fixed;
  inset: 0;
  background: rgba(32, 33, 36, 0.45);
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}
.guest-layer[hidden] { display: none; }
.guest-card {
  width: min(380px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(32, 33, 36, 0.18);
}
.guest-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.guest-card-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.guest-icon-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: #f1f3f4; }
.icon-btn .material-symbols-outlined { font-size: 18px; }
.guest-card img {
  width: min(260px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
}
.guest-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.vm-stage { width: min(1200px, 100%); height: min(860px, calc(100vh - 36px)); display: flex; flex-direction: column; }
.vm-stage .console { flex: 1; height: auto; min-height: 0; }
.console { position: relative; height: calc(100vh - 160px); min-height: 480px; background: #111; }
.console iframe { width: 100%; height: 100%; border: 0; background: #111; }
.mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0,0,0,.72);
  font-size: 16px;
}
.hidden { display: none; }

.nav-toggle { display: none; }
.nav-backdrop { display: none; }
