/* The lobby (19 November 2026): the member home drawn in the live room's own
   language (gatherings/redesign-room.css). Same Sanctuary tokens, EB Garamond
   for the words that matter, ink tiles with a gold ring on whatever is live,
   heavenly gold for the one action that enters a room. Self-contained: this
   page no longer loads room.css. Handoff: docs/members-lobby-design-handoff-2026-11-19.md */
@font-face{font-family:'EB Garamond';src:url('/assets/fonts/EBGaramond.ttf') format('truetype');font-weight:400 800;font-display:swap}
:root{color-scheme:dark;--bg:#1A1815;--ground:#0E0D0B;--surface:#211E19;--line:#2E2A24;--edge:#3E382F;--fg:#FBF9F4;--muted:#9A9289;--faint:#5B554D;--gold:#D4AF37;--gold-ink:#8A6D1F;--vellum:#EFE9DA;--paper:#FBF9F4;--rose:#D98F8F;--live:#E5484D;--body:"Helvetica Neue",Helvetica,Inter,Arial,sans-serif;--serif:'EB Garamond',Garamond,Georgia,"Times New Roman",serif;--mono:ui-monospace,Menlo,monospace}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body.lobby{margin:0;min-height:100dvh;background:var(--ground);color:var(--fg);font:15px/1.5 var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--gold)}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.12;margin:0}
p{margin:0}

/* The scripture backdrop from the room: a globe wider than the screen, its
   centre well below the fold, only the top arc showing, felt not seen. */
.lobby-arc{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.lobby-globe{position:absolute;left:50%;top:78vh;width:120vw;height:120vw;transform:translateX(-50%);border-radius:50%;opacity:.14;background:#0E0D0B url('/assets/world-map-dark.jpg') center/cover no-repeat;box-shadow:inset 0 0 160px rgba(0,0,0,.9),0 0 0 1.5px rgba(212,175,55,.6),0 0 120px rgba(212,175,55,.25)}
.lobby-arc::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 40% at 50% 100%,rgba(243,217,122,.10),rgba(212,175,55,.03) 50%,transparent 80%)}
@media(max-width:999px){.lobby-globe{width:230vw;height:230vw;top:80vh}}

.member-home{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:0 20px calc(40px + env(safe-area-inset-bottom,0px))}

/* Head: 72px, the lockup at the left, quiet links at the right. */
.member-nav{display:flex;align-items:center;gap:22px;height:72px}
.member-nav .lockup{margin-right:auto;display:flex;align-items:center;gap:6px;text-decoration:none;color:var(--muted);font:300 22px var(--body);letter-spacing:.01em}
.member-nav a:not(.lockup){color:var(--muted);text-decoration:none;font-size:14px}.member-nav a:not(.lockup):hover{color:var(--fg)}
.mk{display:inline-flex;width:22px;height:22px;color:var(--gold);flex:none}.mk svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.mk.big{width:40px;height:40px;margin-bottom:14px}

/* Eyebrows and type */
.ey{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:500}
.ey.faint{color:var(--faint)}
.lead{color:var(--muted);font-size:16px;line-height:1.55;max-width:560px}
.small{color:var(--muted);font-size:13px;line-height:1.5}
#error,#status{font-size:13px;margin:6px 0}#error:not(:empty){color:#ffc4b4}#status{color:var(--muted)}

/* Buttons start from the room's flat base. */
button,.gold,.ghost{margin:0;font:500 13px/1.3 var(--body);border-radius:999px;padding:9px 14px;background:transparent;border:1px solid var(--edge);color:var(--fg);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;min-height:40px}
.ghost{background:transparent}.ghost:hover{border-color:var(--muted)}
.gold{background:linear-gradient(135deg,#F1DD8E,#D4AF37);border:0;color:#1A1815;font-weight:600;padding:10px 18px;box-shadow:0 0 12px rgba(243,217,122,.3)}
.gold:hover{box-shadow:0 0 18px rgba(243,217,122,.45),0 0 48px rgba(212,175,55,.28)}
.gold.wide{width:100%}
.quiet{border:0;padding:6px 4px;color:var(--muted);min-height:0;font-weight:400}.quiet:hover{color:var(--fg)}
.ib{width:32px;height:32px;padding:4px;border:0;color:var(--muted);min-height:0}.ib svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
button:disabled{opacity:.45;cursor:default}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* Fields */
label{display:block;color:var(--muted);font-size:13px;margin:0 0 14px}
input:not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:6px;background:var(--bg);border:1px solid var(--edge);border-radius:12px;color:var(--fg);font:15px var(--body);padding:11px 14px}
textarea{resize:vertical;min-height:84px}
select{appearance:none;-webkit-appearance:none;background:var(--bg) no-repeat right 14px center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9289' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");padding-right:38px}
input::placeholder,textarea::placeholder{color:var(--faint)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.check{display:flex;gap:12px;align-items:flex-start;color:var(--fg)}.check input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:var(--gold)}.check small{color:var(--muted)}

/* Signed out: one ink card on the arc, the way the prayer card sits on the globe. */
.auth-card{width:min(520px,100%);margin:clamp(24px,10vh,96px) auto 0;padding:40px 40px 32px;text-align:center;background:rgba(26,24,21,.78);border:1px solid rgba(212,175,55,.35);border-radius:20px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.auth-card h1{font-size:40px;margin:8px 0 10px}.auth-card .lead{margin:0 auto 24px;font-size:15px}
.auth-card label{text-align:left}.auth-card form{margin-bottom:8px}.auth-card form button{width:100%;margin-top:4px}.auth-card form .ghost{margin-top:10px}
.auth-card .small{margin-top:18px}

/* Signed in: the heading row, then the live stage, invitations, the filter and the tiles. */
.home-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:28px 0 24px}
.home-heading h1{font-size:48px;margin:6px 0 10px}
.home-heading .actions{display:flex;gap:8px;flex:none}

.live-stage{position:relative;overflow:hidden;border:1px solid var(--gold);border-radius:14px;background:linear-gradient(145deg,#2A231D,#141210);box-shadow:0 0 0 1px var(--gold) inset,0 0 40px rgba(212,175,55,.18);padding:26px 28px;margin:0 0 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;isolation:isolate}
.live-stage::before{content:"";position:absolute;right:-12%;top:-60%;width:60%;aspect-ratio:1;border-radius:50%;background:#0E0D0B url('/assets/world-map-dark.jpg') center/cover;opacity:.16;box-shadow:0 0 0 1.5px rgba(212,175,55,.5),0 0 90px rgba(212,175,55,.25);z-index:-1}
.live-stage .ey{display:inline-flex;align-items:center;gap:8px}
.live-stage h2{font-size:36px;margin:8px 0 6px}
.live-stage .who{color:var(--muted);font-size:14px}
.live-stage .faces{margin-top:16px}
.live-stage .enter{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;color:#EAD27A;font:500 13px var(--body)}
.live-stage .enter .disc{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#FBEBA6 0%,#EAD27A 38%,#D4AF37 100%);color:#1A1815;box-shadow:0 0 18px rgba(243,217,122,.45),0 0 48px rgba(212,175,55,.28)}
.live-stage .enter .disc svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.live-stage .enter:hover .disc{box-shadow:0 0 24px rgba(243,217,122,.6),0 0 64px rgba(212,175,55,.35)}
.live{width:9px;height:9px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px rgba(229,72,77,.25),0 0 14px 2px rgba(229,72,77,.8);animation:lobby-pulse 2s ease-in-out infinite;display:inline-block;flex:none}
@keyframes lobby-pulse{0%,100%{box-shadow:0 0 0 3px rgba(229,72,77,.25),0 0 14px 2px rgba(229,72,77,.8)}50%{box-shadow:0 0 0 6px rgba(229,72,77,.12),0 0 22px 4px rgba(229,72,77,.55)}}
@media(prefers-reduced-motion:reduce){.live{animation:none}}

/* Faces: the room's own avatar, a gold hairline, stacked. */
.faces{display:flex;align-items:center;padding-left:8px;min-height:30px}
.faces .face,.face{width:30px;height:30px;border-radius:50%;object-fit:cover;border:1.5px solid var(--gold);margin-left:-8px;background:#2A231D;color:#F2D9B9;font-size:11px;display:grid;place-items:center;overflow:hidden;flex:none}
.face img{width:100%;height:100%;object-fit:cover;display:block}
.faces .more{margin-left:-8px;border-color:var(--edge);color:var(--muted);font-size:10px}
.faces .label{margin-left:10px;color:var(--muted);font-size:13px}

/* Invitations: gold-ruled rows, the way the current request sits in the rail. */
#invitations:empty{display:none}
#invitations{display:grid;gap:8px;margin-bottom:20px}
.invite{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px 12px 12px;background:rgba(212,175,55,.08);border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:12px}
.invite .face{width:38px;height:38px;margin:0;font-size:13px}
.invite b{display:block;font-weight:500;font-size:16px;font-family:var(--serif);font-size:20px}
.invite span{color:var(--muted);font-size:13px}
@media(max-width:999px){.invite{grid-template-columns:38px minmax(0,1fr)}.invite .gold{grid-column:1/-1}}

/* The filter: the room's segment control. */
.seg{display:inline-flex;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:3px;gap:2px;margin:0 0 18px}
.seg button{border:0;background:transparent;color:var(--muted);padding:7px 14px;white-space:nowrap;font-size:13px;min-height:0}
.seg button[aria-pressed=true]{background:var(--vellum);color:var(--gold-ink)}

/* Tiles: the Riverside grid, 14px corners, ink gradient, a name strip at the foot. */
.gathering-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.tile{position:relative;display:flex;flex-direction:column;min-height:236px;border:1px solid var(--edge);border-radius:14px;background:linear-gradient(145deg,#2A231D,#141210);overflow:hidden;isolation:isolate}
.tile.is-live{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold) inset,0 0 40px rgba(212,175,55,.18)}
.tile.is-past{opacity:.72}
.tile .top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px 0}
.tile .top .ey{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.tile .when{color:var(--muted);font-size:12px;white-space:nowrap}
.tile h3{font-size:26px;padding:10px 18px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tile .meta{padding:6px 18px 0;color:var(--muted);font-size:13px;display:flex;flex-wrap:wrap;gap:4px 10px}
.tile .meta .ey{font-size:10px;color:var(--faint)}
.tile .faces{padding:14px 18px 0}
.tile .strip{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 18px 14px;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.tile .strip .face{width:34px;height:34px;margin:0;font-size:12px;border-width:1px}
.tile .strip .host{min-width:0;flex:1}
.tile .strip .host b{display:block;font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile .strip .host span{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile .strip .acts{display:flex;align-items:center;gap:6px;flex:none}
.tile .strip .gold{padding:7px 14px;min-height:34px}.tile .strip .ghost{padding:6px 12px;min-height:34px}
.tile .top .right{display:flex;align-items:center;gap:8px;min-width:0}.tile .logo{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none}
.empty-state{grid-column:1/-1;padding:40px 24px;text-align:center;color:var(--muted);font-size:15px;border:1px dashed var(--edge);border-radius:14px}

.equipment-note{margin:40px 0 0;max-width:640px}.equipment-note .ey{display:block;margin-bottom:8px}.equipment-note p+p{margin-top:8px}

/* Host a gathering: the rail's own drawer, 380 wide at the right edge, over a scrim. */
.drawer-scrim{position:fixed;inset:0;z-index:110;background:rgba(14,13,11,.6);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.create-drawer{position:fixed;z-index:120;right:16px;top:16px;bottom:16px;width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;background:rgba(26,24,21,.96);border:1px solid var(--edge);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);overflow:hidden}
.create-drawer[hidden],.drawer-scrim[hidden]{display:none}
.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 14px 14px 20px;border-bottom:1px solid var(--line);flex:none}
.drawer-head h2{font-size:28px;margin-top:4px}
.drawer-body{overflow:auto;padding:18px 20px 20px;min-height:0}
.drawer-body .lead{font-size:14px;margin-bottom:18px}
.drawer-body form .small{margin-bottom:14px}.drawer-body .form-grid{grid-template-columns:1fr}
#createError:not(:empty){color:#ffc4b4;margin-top:10px;font-size:13px}

footer{display:flex;align-items:center;gap:8px;margin-top:56px;color:var(--faint);font-size:13px}
footer .mk{width:16px;height:16px;color:var(--faint)}

@media(max-width:999px){
 .member-home{padding:0 12px 32px}
 .member-nav{height:52px;gap:14px}.member-nav .lockup{font-size:18px}.member-nav .lockup .mk{width:18px;height:18px}.member-nav a:not(.lockup){font-size:13px}
 .auth-card{padding:26px 20px 22px;border-radius:16px}.auth-card h1{font-size:32px}
 .home-heading{flex-direction:column;align-items:stretch;margin:16px 0 18px}.home-heading h1{font-size:36px}.home-heading .actions{width:100%}.home-heading .actions .gold{flex:1}
 .live-stage{grid-template-columns:1fr;padding:18px 16px;gap:14px}.live-stage h2{font-size:28px}.live-stage .enter{flex-direction:row;justify-content:flex-start;gap:14px;width:100%;padding-top:4px;font-size:15px}.live-stage .enter .disc{width:52px;height:52px}
 .seg{display:flex;overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}.seg::-webkit-scrollbar{display:none}.seg button{padding:7px 12px}
 .gathering-grid{grid-template-columns:1fr;gap:10px}.tile{min-height:0}.tile h3{font-size:22px}
 .form-grid{grid-template-columns:1fr}
 .create-drawer{left:0;right:0;top:auto;bottom:0;width:auto;max-height:92dvh;border-radius:16px 16px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}
 .drawer-head{padding:14px 10px 12px 16px}.drawer-head h2{font-size:24px}.drawer-body{padding:14px 16px 20px}
}
