.host-hero { padding-bottom: 28px; }
.host-hero .hero-inner { grid-template-columns: 1fr 1fr; align-items: start; }
.engines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.engines .pill { height: 28px; padding: 0 12px; font-size: 12.5px; }

.host-card { padding: 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 90px rgba(124, 108, 255, 0.18); }
.host-card h2 { margin: 0 0 12px; font-size: 15px; letter-spacing: -0.01em; }

.dz { display: grid; justify-items: center; gap: 10px; padding: 30px 18px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--bg-2); color: var(--muted); transition: border-color 0.15s, background 0.15s; }
.dz.over { border-color: var(--accent); background: var(--accent-soft); }
.dz .ico-big { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: #cfc9ff; display: grid; place-items: center; }
.dz strong { color: var(--text); font-size: 16px; }
.dz .row { margin-top: 4px; justify-content: center; }
.dz.compact { padding: 14px; grid-template-columns: auto 1fr auto; text-align: left; justify-items: stretch; align-items: center; gap: 12px; }
.dz.compact .ico-big { width: 36px; height: 36px; border-radius: 10px; }
.dz.compact strong { font-size: 13.5px; }
.progress { width: 100%; height: 8px; border-radius: 4px; background: var(--panel-3); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.2s; }
.dz .msg { min-height: 18px; font-size: 13px; }
.dz .msg.bad { color: var(--bad); }
.errors { text-align: left; width: 100%; display: grid; gap: 4px; color: var(--bad); font-size: 13px; }
.opts { display: grid; gap: 10px; margin-top: 14px; }
.opts label.check { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.opts label.check input { margin-top: 2px; }

.result { display: grid; gap: 12px; padding: 4px 2px 2px; }
.result .ok { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--good); font-size: 15px; }
.result .link-row { display: flex; gap: 8px; }
.result .link-row .input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.result .fine { color: var(--muted); font-size: 12.5px; margin: 0; }

.mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; padding-bottom: 28px; }
.hg { display: grid; gap: 12px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.hg-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
.cover { width: 112px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover.fallback { display: grid; place-items: center; font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, 0.92); }
.hg h3 { margin: 0; font-size: 16px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg .url { display: block; margin-top: 2px; font: 12px ui-monospace, Consolas, monospace; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg .url:hover { color: var(--text); }
.hg .meta { margin-top: 8px; }
.hg-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.versions { display: grid; gap: 4px; }
.vrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--bg-2); font-size: 12.5px; color: var(--muted); }
.vrow b { color: var(--text); }
.vrow.live { outline: 1px solid rgba(52, 211, 153, 0.4); }
.badge-live { background: rgba(52, 211, 153, 0.16); color: var(--good); }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; padding-bottom: 36px; }
.note { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.note h3 { margin: 0 0 6px; font-size: 14px; }
.note p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .host-hero .hero-inner { grid-template-columns: 1fr; }
  .mine { grid-template-columns: 1fr; }
}

.rooms-doc { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.4fr); gap: 14px; padding-bottom: 8px; align-items: start; }
.code { margin: 0; padding: 14px 16px; overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; font: 12.5px/1.55 ui-monospace, Consolas, monospace; color: #cfd6ea; white-space: pre; }
@media (max-width: 980px) { .rooms-doc { grid-template-columns: 1fr; } }
