.home { max-width: 560px; width: 100%; margin: auto; }
.home h1 { margin: 24px 0 8px; font-size: 30px; }
.home p { line-height: 1.7; opacity: .75; }
.entry-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.entry-tabs button { padding: 12px; border-radius: 10px; }
.entry-tabs .selected { background: #2563eb; color: white; }
.home input:not([type=checkbox]), .host-dialog input:not([type=checkbox]) { width: 100%; box-sizing: border-box; }
.home details { margin: 16px 0; }
.home details .field { margin-top: 16px; }
.home [hidden] { display: none !important; }
.home .primary { width: 100%; margin-top: 16px; }
.owned-room { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #8884; }
.owned-room button { flex-shrink: 0; }
.owned-room span { overflow-wrap: anywhere; }
.home .meta { margin-top: 24px; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; }
.account-bar span { flex: 1 1 180px; overflow-wrap: anywhere; }
.account-bar button { padding: 9px 12px; border-radius: 9px; }
.home .bandwidth-note { padding: 12px 14px; border: 1px solid #8884; border-radius: 10px; font-size: 13px; opacity: 1; }
.host-dialog { width: min(520px, calc(100vw - 32px)); max-height: 85vh; box-sizing: border-box; overflow: auto; border: 1px solid #8885; border-radius: 18px; background: var(--panel, #18202f); color: var(--text, #edf3ff); padding: 24px; }
.host-dialog::backdrop { background: #0009; }
.host-dialog form { display: grid; gap: 14px; }
.host-dialog label { display: grid; gap: 8px; }
.host-dialog .check-row { display: flex; align-items: center; gap: 8px; }
.host-dialog input[type=checkbox] { width: 18px; height: 18px; margin: 0; padding: 0; flex: 0 0 auto; }
.host-dialog .host-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.host-dialog .host-heading h2 { margin: 0; }
.host-dialog .host-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.host-dialog button { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: var(--surface-soft); color: var(--text); }
.host-dialog button[type=submit] { background: #2563eb; color: white; }
.host-dialog button.danger { color: var(--danger); }
.host-dialog hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
.host-dialog p, .host-dialog h3 { margin: 0; }
.host-dialog output { overflow-wrap: anywhere; }
.host-dialog .invite-link { overflow-wrap: anywhere; font-size: 13px; }
.host-dialog .owner-room { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #8884; }
.host-dialog .owner-room span { min-width: 0; overflow-wrap: anywhere; }
.host-dialog .owner-room button { flex: 0 0 auto; }
.danger { color: #ef6666; }
@media(max-width: 600px) { .home { padding: 24px 20px; } .owned-room { align-items: flex-start; flex-direction: column; } }
