/* Godly Social · black and gold, square corners. "Faith. Community. Connection." */
:root {
  --bg: #0A0A0B; --panel: #121213; --panel-2: #18181A; --line: #2A2A2D; --line-2: #3B3B3F;
  --text: #F2EDE3; --muted: #9B968B; --gold: #C9AA6B; --gold-2: #A88A4E; --gold-hi: #E6CC92; --gold-dim: rgba(201, 170, 107, .14);
  --danger: #D9725F; --ok: #8DB07F; --pray: #B9C9A7;
  --serif: "Cinzel", "Trajan Pro", "Cardo", "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --side: 250px; --rail: 320px; --tab: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }   /* square, not round */
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--text); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; }
.ic { flex: none; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .tiny { font-size: 12.5px; color: var(--muted); } .center { text-align: center; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #0A0A0B; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; font: 600 14px/1 var(--sans); letter-spacing: .02em; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #D3B676, #BC9C5D); color: #0B0B0C; }
.btn-primary:hover { background: linear-gradient(180deg, #DEC285, #C6A665); }
.btn-soft, .btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-soft:hover, .btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--text); }
.btn-outline:hover { background: var(--gold-dim); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #0A0A0B; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-round { width: 46px; height: 46px; padding: 0; }
.btn-grow { flex: 1; }

/* avatars: square with a fine gold edge */
.av { object-fit: cover; flex: none; background: var(--panel-2); border: 1px solid var(--line-2); }
.av-ini { display: inline-grid; place-items: center; color: var(--gold-hi); font-family: var(--serif); font-weight: 600; background: linear-gradient(145deg, hsl(var(--h) 12% 16%), #101011); border-color: rgba(201, 170, 107, .45); }
.av-find { width: 58px; height: 58px; display: grid; place-items: center; background: transparent; border: 1px dashed var(--gold); color: var(--gold); }
.cross { flex: none; }

/* layout */
.main { max-width: 620px; margin: 0 auto; padding: 16px 14px calc(var(--tab) + 28px + env(safe-area-inset-bottom)); }
.main.wide { max-width: 980px; }
body.out .main, body.bare .main { max-width: none; padding: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 12px; padding-top: env(safe-area-inset-top);
  background: rgba(10, 10, 11, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.wm { font: 600 19px/1 var(--serif); letter-spacing: .1em; color: var(--text); white-space: nowrap; }
.tb-right { display: flex; gap: 4px; }
.tb-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--text); }
.tb-btn:hover { color: var(--gold); }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--gold); color: #0A0A0B; font: 700 10.5px/1 var(--sans); }
.tb-btn .badge, .tabbar .badge { position: absolute; top: 4px; right: 2px; }
.side, .rail { display: none; }
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 10, 11, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar a { position: relative; display: grid; place-items: center; width: 56px; height: 48px; color: var(--muted); }
.tabbar a.on { color: var(--gold); }
.tabbar a.on .av { border-color: var(--gold); outline: 1px solid var(--gold); outline-offset: 2px; }
.tab-create { color: var(--gold) !important; }
@media (min-width: 1000px) {
  .topbar, .tabbar { display: none; }
  .side { position: fixed; top: 0; bottom: 0; left: max(0px, calc(50% - 620px)); width: var(--side); display: flex; flex-direction: column; gap: 6px; padding: 26px 16px; border-right: 1px solid var(--line); }
  .side .brand { padding: 4px 10px 22px; }
  .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-nav a { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 15.5px; color: var(--text); border-left: 2px solid transparent; }
  .side-nav a:hover { background: var(--panel); color: var(--gold-hi); }
  .side-nav a.on { font-weight: 600; background: var(--panel); border-left-color: var(--gold); color: var(--gold-hi); }
  .side-nav a .badge { margin-left: auto; }
  .side-create { margin: 16px 8px 0; padding: 15px; font-size: 15px; }
  .side-me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border-top: 1px solid var(--line); }
  .side-me div { display: grid; line-height: 1.3; } .side-me small { color: var(--muted); }
  body.in .main { padding: 26px 0 60px; margin-left: max(calc(var(--side) + 24px), calc(50% - 620px + var(--side) + 24px)); margin-right: auto; }
  body.in .main:not(.wide) { max-width: 600px; }
  .rail { display: block; position: fixed; top: 0; bottom: 0; overflow-y: auto; left: calc(max(calc(var(--side) + 24px), calc(50% - 620px + var(--side) + 24px)) + 628px); width: var(--rail); padding: 26px 0; }
  body.in .main.wide { max-width: 940px; }
}
@media (min-width: 1000px) and (max-width: 1270px) { .rail { display: none; } }
@media (min-width: 1271px) { body.in .word-feed { display: none; } }

/* cards, text */
.card { background: var(--panel); border: 1px solid var(--line); padding: 18px; margin: 0 0 14px; }
.card-t { font: 600 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card-head a { color: var(--gold); font-weight: 600; font-size: 13px; }
.page-h { font: 600 26px/1.2 var(--serif); letter-spacing: .06em; margin: 8px 2px 18px; }
.kick { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.flash { padding: 13px 16px; margin: 0 0 14px; font-weight: 500; background: var(--gold-dim); border: 1px solid rgba(201, 170, 107, .45); border-left: 3px solid var(--gold); color: var(--text); }
.flash-err { background: rgba(217, 114, 95, .1); border-color: rgba(217, 114, 95, .45); border-left-color: var(--danger); }
.more { display: block; margin-top: 10px; color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .06em; }
.back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 12px; color: var(--muted); font-weight: 500; }
.back:hover { color: var(--gold); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); border: 1px solid var(--line); background: var(--panel); }
.empty h3, .empty h1 { color: var(--text); margin: 14px 0 6px; font: 600 19px/1.3 var(--serif); letter-spacing: .05em; }
.empty .ic { margin: 0 auto; color: var(--gold); }
.empty .btn { margin-top: 16px; }
.empty.big { padding: 90px 20px; border: 0; background: none; } .empty.big .cross { margin: 0 auto; }
.tabs { display: flex; margin: 4px 0 16px; border-bottom: 1px solid var(--line); }
.tabs a { flex: 1; text-align: center; padding: 12px 10px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--gold); border-bottom-color: var(--gold); }

/* daily word */
.word { background: linear-gradient(150deg, #171513, #0E0E0F 60%); border: 1px solid rgba(201, 170, 107, .45); position: relative; overflow: hidden; }
.word::after { content: ""; position: absolute; right: -26px; top: -26px; width: 64px; height: 64px; background: linear-gradient(135deg, transparent 49%, rgba(201, 170, 107, .5) 49.5% 50.5%, transparent 51%); }
.word blockquote { margin: 14px 0 10px; font: 500 20px/1.45 var(--serif); letter-spacing: .01em; color: var(--text); }
.word cite { display: block; font-style: normal; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.word-feed .btn { position: absolute; right: 14px; bottom: 14px; }

/* people row */
.circle-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; margin: 0 -14px 4px; padding-left: 14px; scrollbar-width: none; }
.circle-row::-webkit-scrollbar { display: none; }
.circ { display: grid; justify-items: center; gap: 7px; width: 66px; flex: none; font-size: 11.5px; letter-spacing: .03em; color: var(--text); position: relative; }
.circ .av { border: 1px solid var(--gold); outline: 1px solid rgba(201, 170, 107, .3); outline-offset: 3px; }
.circ.me .av { border-color: var(--line-2); outline-color: transparent; }
.circ.me i { position: absolute; top: 42px; left: 44px; width: 20px; height: 20px; display: grid; place-items: center; background: var(--gold); color: #0A0A0B; font-style: normal; font-weight: 700; border: 2px solid var(--bg); }
.circ span:last-child { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.circle-row.small { margin-bottom: 10px; }

/* composer */
.composer { padding: 14px 16px; }
.cmp-row { display: flex; gap: 12px; align-items: flex-start; }
.cmp-row textarea { flex: 1; border: 0; background: transparent; resize: none; padding: 10px 0; font-size: 16px; outline: none; min-height: 44px; }
.cmp-row textarea::placeholder { color: var(--muted); }
.cmp-kinds { display: none; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.composer.open .cmp-kinds, .composer:focus-within .cmp-kinds { display: flex; }
.cmp-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-kinds span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.cmp-kinds input:checked + span { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-hi); }
.cmp-bar { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.tool { display: grid; place-items: center; width: 40px; height: 40px; color: var(--gold); cursor: pointer; border: 1px solid transparent; }
.tool:hover { border-color: var(--line-2); }
.aud { margin-left: auto; border: 1px solid var(--line-2); background: var(--panel-2); padding: 9px 10px; font-size: 13px; color: var(--text); }
.cmp-preview { position: relative; margin: 10px 0 0 54px; }
.cmp-preview img, .cmp-preview video { max-height: 320px; border: 1px solid var(--line); }
.cmp-preview button { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 18px; }

/* posts */
.feed { min-height: 40vh; }
.post { background: var(--panel); border: 1px solid var(--line); margin: 0 0 14px; }
.post-h { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; }
.post-who { display: grid; line-height: 1.3; min-width: 0; flex: 1; }
.post-who b { font-weight: 600; }
.post-who small { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.kind { display: inline-block; padding: 5px 9px; border: 1px solid rgba(201, 170, 107, .5); color: var(--gold); font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.k-prayer .kind { border-color: rgba(185, 201, 167, .45); color: var(--pray); }
.post-body { padding: 2px 16px 14px; font-size: 15.5px; overflow-wrap: anywhere; }
.post-body.clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.post-body a, .c-body a, .pr-bio a, .bubble a { color: var(--gold); font-weight: 500; }
.post-verse { margin: 4px 14px 16px; padding: 28px 22px; background: linear-gradient(150deg, #19170F, #0F0F10); border: 1px solid rgba(201, 170, 107, .45); font: 500 19px/1.5 var(--serif); text-align: center; color: var(--text); }
.post-media { background: #000; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-media img { width: 100%; max-height: 680px; object-fit: cover; }
.post-media video { width: 100%; max-height: 680px; }
.answered { display: flex; align-items: center; gap: 6px; margin: 12px 16px 6px; padding: 10px 12px; border: 1px solid rgba(141, 176, 127, .4); color: var(--ok); font-weight: 600; font-size: 13.5px; }
.post-f { display: flex; align-items: center; gap: 2px; padding: 6px 8px 8px; }
.act { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid transparent; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.act:hover { color: var(--text); }
.act.on { color: var(--gold); }
.act.on .ic { fill: currentColor; }
.act.pray { border-color: var(--line-2); color: var(--pray); margin-left: 4px; font-size: 12.5px; letter-spacing: .04em; }
.act.pray.on { background: var(--gold); border-color: var(--gold); color: #0A0A0B; }
.act.pray.on .ic { fill: none; }
.act.save { margin-left: auto; }
.act.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.15); } }
.loadmore { display: block; text-align: center; padding: 16px; color: var(--gold); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; border: 1px solid var(--line); }

/* menus */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { color: var(--gold); }
.menu-list { position: absolute; right: 0; top: 38px; z-index: 20; min-width: 230px; padding: 6px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.menu-list form { margin: 0; }
.menu-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; background: none; text-align: left; font-size: 14px; }
.menu-list button:hover { background: var(--panel); color: var(--gold-hi); }
.menu-list .danger { color: var(--danger); }

/* people */
.person { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.person:last-of-type { border-bottom: 0; }
.pn { display: grid; line-height: 1.3; flex: 1; min-width: 0; }
.pn b { font-weight: 600; }
.pn small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* comments */
.comment { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-body { flex: 1; font-size: 14.5px; overflow-wrap: anywhere; } .c-body small { color: var(--muted); }
.link-x { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; padding: 4px 8px; }
.c-form { display: flex; gap: 10px; align-items: flex-end; padding-top: 14px; }
.c-form textarea, .th-form textarea { flex: 1; border: 1px solid var(--line-2); background: var(--bg); padding: 11px 14px; resize: none; outline: none; max-height: 160px; }
.c-form textarea:focus, .th-form textarea:focus { border-color: var(--gold); }
.praying { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.praying b { display: flex; align-items: center; gap: 6px; color: var(--pray); font-weight: 600; }
.faces { display: flex; gap: 4px; }

/* explore */
.search { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; margin: 0 0 14px; background: var(--panel); border: 1px solid var(--line-2); color: var(--muted); }
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; }
.search .x { font-size: 22px; }
.hello h2 { font: 600 20px/1.3 var(--serif); letter-spacing: .04em; margin-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tile { position: relative; aspect-ratio: 1; background: var(--panel-2); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile-v { position: absolute; top: 8px; right: 8px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.pw-mini { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pw-mini > span:not(.av) { flex: 1; } .pw-mini > .av { flex: none; }
.pw-mini em { font-style: normal; color: var(--pray); font-weight: 600; font-size: 12px; white-space: nowrap; }
.pw-head { text-align: center; padding: 20px 10px 10px; }
.pw-head h1 { font: 600 26px/1.25 var(--serif); letter-spacing: .06em; margin: 12px 0 8px; }
.pw-head p { color: var(--muted); margin: 0 0 18px; font-style: italic; }

/* profile */
.profile { padding: 20px; }
.pr-top { display: flex; align-items: center; gap: 22px; }
.pr-av { border-color: var(--gold) !important; }
.pr-counts { display: flex; flex: 1; justify-content: space-around; text-align: center; }
.pr-counts { gap: 10px; } .pr-counts a { display: grid; min-width: 0; } .pr-counts b { font: 600 20px/1.2 var(--serif); } .pr-counts span { color: var(--muted); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.pr-name { font: 600 22px/1.25 var(--serif); letter-spacing: .04em; margin-top: 16px; display: flex; align-items: center; gap: 6px; }
.pr-handle { margin: 2px 0 10px; color: var(--muted); }
.pr-bio { margin: 0 0 8px; } .pr-verse { margin: 0 0 8px; color: var(--gold-hi); font-style: italic; display: flex; gap: 6px; align-items: center; }
.pr-site a { color: var(--gold); font-weight: 600; }
.pr-btns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pr-btns .btn-soft { flex: 1; }
.testimony { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.testimony summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; color: var(--gold); }
.testimony div { margin-top: 10px; }
.lock { color: var(--muted); }

/* messages */
.conv { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.conv:last-child { border-bottom: 0; }
.cv-t { display: grid; flex: 1; min-width: 0; } .cv-t small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv.unread .cv-t small { color: var(--text); font-weight: 600; }
.cv-r { display: grid; justify-items: end; gap: 4px; color: var(--muted); }
.thread { display: flex; flex-direction: column; height: calc(100dvh - 58px - var(--tab) - 40px - env(safe-area-inset-bottom)); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 1000px) { .thread { height: calc(100dvh - 60px); } }
.th-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.th-who { display: grid; line-height: 1.25; flex: 1; } .th-who small { color: var(--muted); }
.back-ic { display: grid; place-items: center; width: 34px; height: 34px; }
.th-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.th-hello, .th-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 16px; }
.msg { display: flex; align-items: flex-end; gap: 6px; max-width: 80%; }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble { padding: 11px 14px; background: var(--panel-2); border: 1px solid var(--line-2); overflow-wrap: anywhere; }
.msg.mine .bubble { background: linear-gradient(180deg, #D3B676, #BC9C5D); border-color: transparent; color: #0B0B0C; }
.msg.mine .bubble a { color: #0B0B0C; text-decoration: underline; }
.msg small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.msg-flag { border: 0; background: none; color: var(--muted); opacity: 0; padding: 2px; }
.msg:hover .msg-flag { opacity: 1; }
.th-form { display: flex; gap: 10px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }

/* alerts */
.alert { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); position: relative; }
.alert:last-child { border-bottom: 0; }
.alert.new::before { content: ""; position: absolute; left: -12px; width: 5px; height: 5px; background: var(--gold); }
.al-t { flex: 1; font-size: 14.5px; } .al-t b { font-weight: 600; } .al-t small { display: block; color: var(--muted); } .al-t q { color: var(--muted); }
.al-ic { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); color: var(--muted); }
.al-like { color: var(--gold); border-color: rgba(201, 170, 107, .5); } .al-pray, .al-answered { color: var(--pray); }
.req-link { display: flex; align-items: center; gap: 12px; } .req-link span { flex: 1; display: grid; } .req-link small { color: var(--muted); }

/* forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 7px; font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form label small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form textarea, .form select { width: 100%; padding: 14px 15px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--text); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); }
.form input::placeholder, .form textarea::placeholder { color: #6E6A62; }
.form input[type=date] { color-scheme: dark; }
.form fieldset { border: 1px solid var(--line); padding: 14px 16px 16px; display: grid; gap: 12px; margin: 0; }
.form legend { padding: 0 6px; font-weight: 600; color: var(--gold); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--text); }
.form .check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.form .check a { color: var(--gold); }
.at-in { display: flex; align-items: center; border: 1px solid var(--line-2); background: var(--bg); padding-left: 14px; }
.at-in:focus-within { border-color: var(--gold); }
.at-in span { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 16px; }
.at-in input { border: 0 !important; background: none !important; padding-left: 4px !important; }
.av-edit { display: flex !important; align-items: center; gap: 14px; cursor: pointer; }
.danger-zone { border-color: rgba(217, 114, 95, .4); }

/* sign in / create account: black with gold diagonal lines (David's look) */
.auth { position: relative; overflow: hidden; min-height: 100dvh; display: grid; place-items: center; padding: 40px 20px; background: #070708; }
.auth::before, .auth::after { content: ""; position: absolute; width: 56vmax; height: 56vmax; pointer-events: none; }
.auth::before { left: -16vmax; top: -16vmax; background: linear-gradient(135deg, #131315 0 49.6%, #C9AA6B 49.6% 49.85%, transparent 49.85%); transform: rotate(0deg); }
.auth::after { right: -25vmax; bottom: -25vmax; background: linear-gradient(135deg, transparent 50.15%, #C9AA6B 50.15% 50.4%, #131315 50.4%); }
.auth-card { position: relative; z-index: 1; width: min(440px, 100%); text-align: center; }
.auth-card.wide { width: min(560px, 100%); text-align: left; background: rgba(18, 18, 19, .92); border: 1px solid var(--line); padding: 28px 24px; }
.auth-logo { display: inline-block; margin-bottom: 18px; }
.auth-logo .cross { margin: 0 auto; }
.auth-name { font: 600 clamp(34px, 9vw, 46px)/1 var(--serif); letter-spacing: .06em; color: #F6F1E8; margin: 0; }
.auth-tag { margin: 16px 0 40px; font: 500 12.5px/1 var(--sans); letter-spacing: .34em; color: #CFC8BB; text-transform: uppercase; }
.auth h1.auth-h { font: 600 20px/1.3 var(--serif); letter-spacing: .08em; margin: 0 0 6px; }
.auth .form { text-align: left; }
.fld { position: relative; display: flex; align-items: center; border: 1px solid #3A3A3D; background: rgba(10, 10, 11, .85); }
.fld:focus-within { border-color: var(--gold); }
.fld > .ic { margin: 0 4px 0 18px; color: #A9A397; }
.fld input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 19px 14px !important; font-size: 17px !important; }
.fld .eye { border: 0; background: none; color: #A9A397; padding: 0 16px; height: 100%; }
.fld .eye:hover { color: var(--gold); }
.auth-row { display: flex; justify-content: flex-end; margin: -2px 0 6px; }
.auth-row a, .auth-alt a, .legal a { color: var(--gold); font-weight: 500; }
.auth .btn-lg { padding: 19px; font-size: 17px; }
.auth .btn-outline { border-color: var(--gold); }
.auth-alt { margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.auth .flash { text-align: left; }
.auth .muted { margin: 0 0 20px; }
.oauth { gap: 12px; margin-top: 14px; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .2em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.alt-form { margin-top: 12px; text-align: center; }
.code-in { text-align: center; font-size: 26px !important; letter-spacing: .35em; font-weight: 700; }
.legal { margin-top: 16px; }

/* the front door (godly.social/ and /login): picture side left, Log In right. Square corners everywhere except the Log in button. */
.gate { min-height: 100dvh; display: grid; background: #070708; }
.gate-show { display: none; }
.gate-side { display: grid; place-items: center; padding: 44px 22px 34px; background: #070708; }
.gate-box { width: min(420px, 100%); }
.gate-mlogo { display: block; margin: 0 auto 26px; border: 1px solid rgba(201, 170, 107, .45); }
.gate-title { font: 600 17px/1.3 var(--sans); letter-spacing: .01em; color: var(--text); margin: 0 0 22px; text-align: center; }
.gate .flash { font-size: 14px; }
.gate-form { display: grid; gap: 12px; }
.fl { position: relative; display: block; height: 60px; border: 1px solid #3B3B3F; background: #0E0E0F; transition: border-color .15s; }
.fl:focus-within { border-color: var(--gold); }
.fl input { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; padding: 24px 16px 6px; font-size: 16px; color: var(--text); }
.fl input[type=password], .fl input[name=password] { padding-right: 54px; }
.fl > span { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #8E897F; font-size: 15.5px; pointer-events: none; transition: top .15s, font-size .15s, color .15s; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span { top: 17px; font-size: 12px; color: #A9A397; }
.fl input:focus + span { color: var(--gold); }
.fl input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 40px #0E0E0F inset; caret-color: var(--text); }
.fl .eye { position: absolute; right: 0; top: 0; bottom: 0; width: 52px; border: 0; background: none; color: #A9A397; display: grid; place-items: center; cursor: pointer; }
.fl .eye:hover { color: var(--gold); }
.gate .gate-login { height: 52px; margin-top: 6px; border: 0; border-radius: 999px !important; background: linear-gradient(180deg, #D8BC7D, #BC9C5D); color: #0B0B0C; font: 700 15.5px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transition: filter .15s, opacity .15s, transform .1s; }
.gate .gate-login:hover { filter: brightness(1.07); }
.gate .gate-login:active { transform: translateY(1px); }
.gate-form:has(input:placeholder-shown) .gate-login { opacity: .62; }
.gate-forgot { display: block; width: max-content; margin: 22px auto 0; color: var(--text); font-weight: 600; font-size: 14.5px; }
.gate-forgot:hover { color: var(--gold-hi); }
.gate-new { display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 64px; border: 1px solid var(--gold); color: var(--gold-hi); font: 600 15.5px/1 var(--sans); letter-spacing: .02em; transition: background .15s; }
.gate-new:hover { background: var(--gold-dim); }
.gate-new.is-soon { border-color: #3B3B3F; color: var(--muted); cursor: default; } .gate-new.is-soon:hover { background: none; }
.gate-brand { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; margin: 28px auto 0; }
.gate-brand span { font: 600 16px/1 var(--serif); letter-spacing: .16em; color: #F6F1E8; }
.gate-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.gate-links a:hover { color: var(--gold); }

/* the picture side */
.gate-show { position: relative; overflow: hidden; flex-direction: column; align-items: center; padding: 44px 40px 40px; background: radial-gradient(60% 50% at 50% 70%, rgba(201, 170, 107, .10), transparent 70%), #070708; }
.gate-logo { position: absolute; left: 40px; top: 36px; }
.gate-logo img { display: block; border: 1px solid rgba(201, 170, 107, .45); }
.gate-h { margin: 120px 0 0; text-align: center; font: 600 clamp(30px, 3.1vw, 44px)/1.3 var(--sans); letter-spacing: -.01em; color: #F6F1E8; }
.gate-h em { font-style: normal; background: linear-gradient(90deg, #F1DCA4, #C9AA6B 55%, #A9853F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate-stage { position: relative; width: 560px; height: 470px; margin-top: 40px; flex: none; }
.gc { position: absolute; overflow: hidden; background: #111; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.gc-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gc-left { left: 40px; top: 62px; width: 200px; height: 340px; transform: rotate(-5deg); }
.gc-right { right: 34px; top: 64px; width: 200px; height: 340px; transform: rotate(4deg); }
.gc-mid { left: 160px; top: 18px; width: 240px; height: 410px; z-index: 2; box-shadow: 0 40px 80px rgba(0, 0, 0, .75), 0 0 0 1px rgba(201, 170, 107, .25); }
.gc-bars { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; gap: 4px; }
.gc-bars i { flex: 1; height: 2.5px; background: rgba(255, 255, 255, .35); } .gc-bars i.on { background: #fff; }
.gc-who { position: absolute; left: 12px; top: 24px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.gc-who i { display: grid; place-items: center; width: 30px; height: 30px; font: 600 14px/1 var(--serif); font-style: normal; color: var(--gold-hi); background: #121213; border: 1.5px solid var(--gold); }
.gc-who small { opacity: .75; }
.gc-cap { position: absolute; left: 14px; right: 14px; bottom: 64px; margin: 0; color: #fff; font: 600 14px/1.35 var(--sans); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.gc-reply { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 12px; color: #fff; }
.gc-reply span { flex: 1; height: 36px; border: 1.5px solid rgba(255, 255, 255, .8); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.gc-reply.short span { border-color: rgba(255, 255, 255, .7); }
.gc-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font: 700 14px/1 var(--sans); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
.gc-amen { left: 18px; top: 22px; transform: rotate(-9deg); background: #F4EEE2; color: #1A1712; }
.gc-amen .ic { color: #A9853F; } .gc-amen .ic:last-child { color: #B8453A; }
.gc-praying { right: 4px; top: 128px; background: linear-gradient(180deg, #D8BC7D, #BC9C5D); color: #0B0B0C; transform: rotate(2deg); }
.gc-ring { position: absolute; z-index: 3; right: 30px; bottom: 34px; width: 84px; height: 84px; padding: 4px; background: linear-gradient(135deg, #F1DCA4, #C9AA6B 50%, #8E6E35); transform: rotate(4deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
.gc-ring i { display: grid; place-items: center; width: 100%; height: 100%; background: #121213; border: 3px solid #070708; font: 600 30px/1 var(--serif); font-style: normal; color: var(--gold-hi); }
.gc-heart { position: absolute; z-index: 3; left: 0; bottom: 50px; width: 82px; height: 82px; transform: rotate(-16deg); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .6)); }

@media (min-width: 900px) {
  .gate { grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); }
  .gate-show { display: flex; }
  .gate-side { background: #121213; border-left: 1px solid rgba(201, 170, 107, .22); padding: 60px 48px; }
  .gate-box { width: min(440px, 100%); }
  .gate-mlogo { display: none; }
  .gate-title { text-align: left; }
}
@media (min-width: 900px) and (max-width: 1180px) { .gate-stage { transform: scale(.8); transform-origin: top center; margin-bottom: -94px; } .gate-h { margin-top: 110px; } }
@media (min-width: 900px) and (max-height: 820px) { .gate-h { margin-top: 84px; } .gate-stage { margin-top: 28px; } }
.foot { position: relative; text-align: center; padding: 22px 16px 34px; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; background: #070708; } .foot a { color: inherit; text-decoration: underline; }
.rail-foot { color: var(--muted); font-size: 12px; padding: 0 6px; line-height: 1.7; } .rail-foot a:hover { color: var(--gold); }
.prose { padding: 26px; } .prose h1 { font: 600 24px/1.25 var(--serif); letter-spacing: .05em; margin-bottom: 14px; } .prose h3 { margin: 20px 0 6px; font-size: 15px; color: var(--gold); letter-spacing: .06em; } .prose p { margin: 0 0 10px; color: #D6D0C4; }

/* admin */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 14px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); padding: 16px 18px; }
.stat b { display: block; font: 600 26px/1.1 var(--serif); color: var(--text); } .stat span { color: var(--muted); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.stat.hot { background: var(--gold-dim); } .stat.hot b { color: var(--gold-hi); }
.report { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rep-t { margin-top: 8px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.rep-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.table .tr { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.table .tr a { display: flex; align-items: center; gap: 8px; }
.card-head input { padding: 9px 12px; border: 1px solid var(--line-2); background: var(--bg); }

/* report dialog + toast */
.dlg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; background: rgba(0, 0, 0, .7); }
@media (min-width: 700px) { .dlg { place-items: center; } }
.dlg-box { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-top: 2px solid var(--gold); padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.dlg-box h3 { font: 600 18px/1.3 var(--serif); letter-spacing: .06em; margin-bottom: 10px; }
.dlg-box label { display: flex; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.dlg-box input[type=radio] { accent-color: var(--gold); }
.dlg-box textarea { width: 100%; margin-top: 12px; border: 1px solid var(--line-2); padding: 10px; background: var(--bg); }
.dlg-btns { display: flex; gap: 10px; margin-top: 16px; } .dlg-btns .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 120; padding: 13px 20px; background: var(--panel-2); border: 1px solid var(--gold); color: var(--text); font-weight: 600; font-size: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }

