:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #08090c;
  color: #f4f6f8;
  --bg: #08090c;
  --panel: rgba(21, 23, 28, .9);
  --panel-2: rgba(32, 35, 41, .76);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --muted: #aab0ba;
  --warm: #ffb45a;
  --fire: #ff742e;
  --fire-soft: rgba(255, 116, 46, .18);
  --green: #6dd6a1;
  --shadow: 0 28px 80px rgba(0, 0, 0, .48);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 50% -10%, #30343c 0, #15181e 34%, #08090c 69%); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.025), transparent 28%, transparent 72%, rgba(255,255,255,.015)), repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.008) 120px); mix-blend-mode: screen; }
button, a, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.site-chrome { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 11px clamp(16px, 3vw, 36px); background: linear-gradient(180deg, rgba(10,11,14,.94), rgba(10,11,14,.76)); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px) saturate(135%); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.brand { display: inline-flex; gap: 9px; align-items: center; font-weight: 820; text-decoration: none; letter-spacing: .02em; }
.brand::before { content: "🔥"; filter: drop-shadow(0 0 10px rgba(255,115,45,.38)); }
.site-actions { display: flex; gap: 9px; align-items: center; }
.site-actions button, .site-actions a { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: rgba(255,255,255,.045); text-decoration: none; color: #f5f6f7; transition: .18s ease; }
.site-actions button:hover, .site-actions a:hover { border-color: rgba(255,180,90,.35); background: rgba(255,180,90,.08); transform: translateY(-1px); }
#app { min-height: 100vh; padding: 90px clamp(18px, 4vw, 64px) 34px; }
.view-enter { animation: view-in .36s cubic-bezier(.2,.75,.25,1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { color: var(--warm); font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.session-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 10px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #d8dce1; font-size: .82rem; }
.session-pill.subtle { color: var(--muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(109,214,161,.55); }
.button { min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 720; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #17100a; background: linear-gradient(180deg, #ffc276, #ff9c3d); box-shadow: 0 12px 28px rgba(255,128,45,.18), inset 0 1px rgba(255,255,255,.48); }
.button-primary:hover { box-shadow: 0 14px 34px rgba(255,128,45,.25), inset 0 1px rgba(255,255,255,.48); }
.button-secondary { color: #f5f6f8; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)); border-color: var(--line-strong); }
.button-secondary:hover { border-color: rgba(255,180,90,.32); background: rgba(255,180,90,.08); }
.button-ghost { color: #f4d2ad; background: transparent; border-color: rgba(255,180,90,.22); }
.landing-view { width: min(1240px, 100%); min-height: calc(100vh - 124px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(36px, 8vw, 110px); align-items: center; }
.landing-copy h1 { margin: 12px 0 22px; max-width: 760px; font-size: clamp(3.5rem, 7vw, 7.1rem); line-height: .88; letter-spacing: -.066em; font-weight: 850; text-wrap: balance; }
.landing-copy h1 span { color: #aeb4be; font-weight: 560; }
.landing-lead { max-width: 690px; color: #b9bec7; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.66; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 31px 0; }
.desktop-card { max-width: 720px; display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 16px 17px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.desktop-card div { display: grid; gap: 3px; }
.desktop-card strong { color: #f3f4f6; }
.desktop-card span { color: #9299a4; font-size: .86rem; line-height: 1.45; }
.landing-fire { position: relative; width: min(72vw, 440px); min-height: 500px; margin-inline: auto; display: grid; place-items: center; isolation: isolate; --fire-energy: 0; }
.fire-stage { position: relative; width: 100%; aspect-ratio: 1122/1180; z-index: 2; pointer-events: none; filter: drop-shadow(0 28px 42px rgba(0,0,0,.72)); isolation: isolate; }
.fire-stage-v3 .fire-base { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; user-select: none; pointer-events: none; transform: none !important; filter: drop-shadow(0 10px 20px rgba(0,0,0,.58)) saturate(1.04) contrast(1.03); }
.fire-stage-v3 .real-fire-video { position: absolute; z-index: 4; left: 50%; bottom: 19.5%; width: 47%; height: 72%; object-fit: fill; object-position: center bottom; transform: translateX(-50%) scaleX(1) scaleY(1); transform-origin: 50% 100%; pointer-events: none; user-select: none; will-change: transform, filter, opacity; mix-blend-mode: screen; opacity: .94; filter: brightness(1.04) saturate(1.10) contrast(1.05) drop-shadow(0 0 18px rgba(255,95,6,.34)); }
.fire-aura { position: absolute; z-index: 1; left: 50%; top: 57%; width: 62%; height: 56%; transform: translate(-50%,-50%); opacity: calc(.46 + var(--fire-energy)*.38); background: radial-gradient(ellipse,rgba(255,145,58,.28),rgba(255,67,0,.12) 42%,transparent 72%); filter: blur(34px); }
.fire-reflection { position: absolute; z-index: 2; left: 50%; bottom: 5%; width: 74%; height: 25%; transform: translateX(-50%); opacity: calc(.64 + var(--fire-energy)*.24); background: radial-gradient(ellipse,rgba(255,91,12,.22),transparent 70%); filter: blur(26px); }
.fire-apex-name { --name-level: 0; position: absolute; z-index: 6; left: 50%; top: 13.5%; transform: translate(-50%,calc(18px - var(--name-level)*18px)) scale(calc(.93 + var(--name-level)*.08)); transform-origin: center bottom; opacity: var(--name-level); color: transparent; background: linear-gradient(180deg,#fff7c5 0%,#ffd66d 23%,#ff981d 54%,#f34b00 82%,#c52200 100%); -webkit-background-clip: text; background-clip: text; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.55rem,3.3vw,3.1rem); font-weight: 700; font-style: italic; letter-spacing: .09em; white-space: nowrap; text-shadow: 0 0 8px rgba(255,238,177,.42),0 0 18px rgba(255,139,19,.72),0 0 36px rgba(255,57,0,.48); filter: blur(calc((1 - var(--name-level))*2.5px)) drop-shadow(0 0 12px rgba(255,85,0,.56)); mix-blend-mode: screen; pointer-events: none; transition: opacity .08s linear; }
.fire-apex-name::before,.fire-apex-name::after { content:""; position:absolute; left:12%; right:12%; bottom:-10px; height:18px; background:radial-gradient(ellipse,rgba(255,162,42,.56),transparent 68%); filter:blur(9px); opacity:var(--name-level); }
.fire-stage-v3.is-apex .real-fire-video { filter: brightness(1.26) saturate(1.34) contrast(1.08) drop-shadow(0 0 34px rgba(255,91,0,.64)); }
.fire-caption { position: absolute; z-index: 8; bottom: 7%; left: 1%; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9,10,13,.62); backdrop-filter: blur(15px); box-shadow: var(--shadow); }
.fire-caption span { color: var(--warm); font-size: .62rem; letter-spacing: .16em; }
.fire-caption b { font-size: .82rem; }
.spark-layer { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.spark { position: fixed; width: 3px; height: 3px; border-radius: 50%; background: #ffd283; box-shadow: 0 0 8px #ff7518,0 0 16px rgba(255,83,0,.55); animation: spark-rise var(--d) ease-out forwards; }
.spark.big { width: 5px; height: 5px; }
@keyframes spark-rise { 0% { transform: translate3d(0,0,0) scale(.7); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate3d(var(--x),var(--y),0) scale(.1); opacity: 0; } }
.invite-view { width: min(1080px, 100%); min-height: calc(100vh - 124px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); align-items: center; gap: 32px; }
.invite-stage { border: 1px solid var(--line); border-radius: 26px; padding: clamp(25px, 5vw, 48px); background: linear-gradient(155deg, rgba(39,42,49,.88), rgba(13,15,19,.94) 58%); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.06); }
.invite-fire { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 22px; background: radial-gradient(circle at 50% 38%, rgba(255,164,76,.16), rgba(255,255,255,.03)); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(255,108,37,.12); }
.invite-fire img { width: 64px; height: 64px; object-fit: contain; }
.invite-stage h1 { margin: 10px 0 24px; max-width: 650px; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: .97; letter-spacing: -.052em; }
.invite-room-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.045); }
.invite-room-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,135,53,.11); }
.invite-room-card > div:nth-child(2) { display: grid; gap: 2px; }
.invite-room-card span { color: #979ea9; font-size: .84rem; }
.live-badge { display: flex; align-items: center; gap: 6px; color: #a9e2c3; font-size: .76rem; }
.live-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.account-context { color: #abb1bb; line-height: 1.55; margin: 20px 0 14px; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.guest-form { margin-top: 15px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,180,90,.18); background: rgba(255,140,50,.045); }
.guest-form label { display: block; margin-bottom: 9px; color: #e7d4be; font-size: .86rem; }
.guest-name-row { display: flex; gap: 9px; }
.guest-name-row input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(0,0,0,.28); color: #fff; padding: 11px 12px; outline: none; }
.guest-name-row input:focus { border-color: rgba(255,180,90,.5); box-shadow: 0 0 0 3px rgba(255,140,50,.08); }
.guest-policy { display: flex; gap: 12px; align-items: flex-start; margin-top: 19px; padding: 13px; border-radius: 13px; background: rgba(255,255,255,.032); color: #9fa6b0; }
.guest-policy p { margin: 0; font-size: .84rem; line-height: 1.52; }
.guest-policy strong { color: #dfe3e7; }
.policy-icon { color: var(--warm); }
.invite-token { color: #666e79; font-size: .7rem; letter-spacing: .05em; margin: 17px 0 0; }
.invite-desktop-note { align-self: center; border-left: 1px solid var(--line); padding: 8px 0 8px 28px; color: #9ba2ac; }
.invite-desktop-note strong { display: block; color: #e8e9ec; margin: 8px 0 5px; }
.invite-desktop-note p { font-size: .86rem; line-height: 1.55; }
.invite-desktop-note a { color: #f0ba7f; text-decoration: none; font-size: .86rem; }
.desktop-spark { color: var(--warm); }
.app-placeholder { min-height: calc(100vh - 124px); display: grid; place-items: center; align-content: center; text-align: center; }
.placeholder-icon { font-size: 3rem; }
.app-placeholder h1 { margin: 9px 0 4px; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.04em; }
.app-placeholder p { color: var(--muted); }
@media (max-width: 900px) {
  .landing-view, .invite-view { grid-template-columns: 1fr; }
  .landing-fire { width: min(78vw, 400px); min-height: 430px; order: -1; }
  .fire-caption { left: 2%; bottom: 1%; }
  .landing-copy { text-align: center; }
  .landing-copy .session-pill { margin-inline: auto; }
  .landing-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .desktop-card { margin-inline: auto; text-align: left; }
  .invite-desktop-note { border-left: 0; border-top: 1px solid var(--line); padding: 22px 8px 0; }
}
@media (max-width: 620px) {
  .site-chrome { min-height: 58px; padding: 9px 13px; }
  .site-actions [data-action="install-pwa"] { display: none; }
  .site-actions a { font-size: .76rem; padding: 8px 9px; }
  #app { padding: 76px 14px 24px; }
  .landing-fire { width: min(92vw, 340px); min-height: 365px; }
  .fire-stage-v3 .real-fire-video { width: 50%; height: 70%; bottom: 20%; }
  .fire-apex-name { top: 14%; font-size: clamp(1.45rem, 8vw, 2.6rem); }
  .fire-caption { display: none; }
  .landing-copy h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-actions .button { width: 100%; }
  .desktop-card { display: grid; }
  .desktop-card .button { width: 100%; }
  .invite-stage { border-radius: 20px; padding: 24px 18px; }
  .invite-room-card { grid-template-columns: auto 1fr; }
  .live-badge { grid-column: 2; }
  .invite-actions .button { width: 100%; }
  .guest-name-row { display: grid; }
}
/* Campfire application shell */
body.inside-app { overflow: hidden; background: #090a0d; }
body.inside-app .site-chrome { display: none; }
body.inside-app #app { padding: 0; min-height: 100vh; }
.campfire-app { height: 100vh; width: 100vw; display: grid; grid-template-columns: 284px minmax(0, 1fr) 300px; background: #090a0d; overflow: hidden; }
.app-sidebar, .app-members { min-height: 0; background: linear-gradient(180deg, #17191e 0%, #111318 100%); border-color: rgba(255,255,255,.075); }
.app-sidebar { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.075); padding: 14px 11px 10px; }
.app-brand-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 4px 5px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.app-logo { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,144,54,.08); border: 1px solid rgba(255,174,84,.14); }
.app-logo img { width: 31px; height: 31px; object-fit: contain; }
.app-brand-row > div:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.app-brand-row strong { font-size: .93rem; }
.app-brand-row small { color: #737b87; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-section-title { display: flex; align-items: center; justify-content: space-between; padding: 18px 8px 8px; color: #8f96a1; font-size: .68rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.mini-action { width: 27px; height: 27px; border: 0; border-radius: 8px; background: transparent; color: #89919c; font-size: 1.15rem; }
.mini-action:hover { color: #fff; background: rgba(255,255,255,.06); }
.room-list { display: grid; gap: 3px; }
.room-item { width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 7px 8px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; background: transparent; color: #cfd3d8; text-align: left; }
.room-item:hover { background: rgba(255,255,255,.045); }
.room-item.is-active { background: linear-gradient(90deg, rgba(255,151,66,.13), rgba(255,255,255,.045)); border-color: rgba(255,171,87,.13); box-shadow: inset 2px 0 #f6a75c; }
.room-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #30333a, #1c1f25); border: 1px solid rgba(255,255,255,.075); color: #c9cdd2; font-weight: 800; font-size: .72rem; }
.room-meta { min-width: 0; display: grid; gap: 2px; }
.room-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }
.room-meta small { color: #757d88; font-size: .7rem; }
.unread-badge { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: #e58b43; color: #190f08; font-size: .68rem; font-weight: 850; }
.sidebar-spacer { flex: 1; min-height: 18px; }
.sidebar-link { width: 100%; min-height: 38px; display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 5px; border: 0; border-radius: 9px; background: transparent; color: #9ea5af; padding: 7px 9px; text-align: left; text-decoration: none; font-size: .78rem; }
.sidebar-link:hover { color: #e7e9ec; background: rgba(255,255,255,.04); }
.sidebar-link em { font-style: normal; color: #616975; }
.desktop-link { color: #c7a786; }
.account-dock { margin-top: 8px; padding: 10px 9px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.055); }
.account-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #5b4435, #2e2520); color: #efc291; font-size: .7rem; font-weight: 820; }
.account-dock > span:nth-child(2) { display: grid; min-width: 0; }
.account-dock strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; }
.account-dock small { color: #747c86; font-size: .65rem; }
.account-status { width: 8px; height: 8px; border-radius: 50%; background: #6bd39e; box-shadow: 0 0 8px rgba(107,211,158,.45); }
.app-content { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: radial-gradient(circle at 50% -20%, rgba(55,60,69,.38), transparent 40%), #0d0f13; position: relative; }
.room-header { min-height: 69px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 10px 15px 10px 20px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(15,17,21,.84); backdrop-filter: blur(18px); }
.room-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.room-fire { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,135,45,.08); font-size: 1.05rem; }
.room-title div { min-width: 0; }
.room-title h1 { margin: 0; font-size: .98rem; letter-spacing: -.015em; }
.room-title p { margin: 2px 0 0; color: #6f7782; font-size: .69rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.room-header-actions { display: flex; gap: 6px; align-items: center; }
.header-action, .icon-button { border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.035); color: #aeb5be; }
.header-action { min-height: 35px; padding: 7px 10px; font-size: .72rem; }
.header-action:hover, .icon-button:hover { color: #fff; border-color: rgba(255,169,78,.22); background: rgba(255,150,55,.06); }
.icon-button { min-width: 35px; min-height: 35px; display: inline-grid; place-items: center; padding: 5px 8px; }
.people-toggle { grid-auto-flow: column; gap: 4px; font-size: .72rem; }
.mobile-menu, .mobile-close { display: none; }
.watch-invite { margin: 10px 14px 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid rgba(255,170,75,.16); border-radius: 12px; background: linear-gradient(90deg, rgba(255,135,45,.08), rgba(255,255,255,.025)); }
.watch-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; color: #f0b275; background: rgba(255,142,48,.1); }
.watch-invite > div:nth-child(2) { display: grid; gap: 1px; }
.watch-invite strong { font-size: .76rem; }
.watch-invite span { color: #7f8792; font-size: .66rem; }
.button.small { min-height: 32px; padding: 6px 10px; border-radius: 9px; font-size: .68rem; }
.chat-stage { min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.chat-scroll { min-height: 0; overflow-y: auto; padding: 20px clamp(17px,3vw,34px) 10px; scrollbar-color: #2f333a transparent; }
.chat-scroll::before { content: "HOJE"; display: block; width: fit-content; margin: 0 auto 20px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.035); color: #626a75; font-size: .6rem; letter-spacing: .12em; }
.message { max-width: 820px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; padding: 7px 8px; border-radius: 10px; }
.message:hover { background: rgba(255,255,255,.018); }
.message-avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg,#333740,#202329); border: 1px solid rgba(255,255,255,.06); color: #b8bec7; font-size: .67rem; font-weight: 800; }
.message-body { min-width: 0; }
.message-head { display: flex; align-items: center; gap: 7px; min-height: 18px; }
.message-head strong { font-size: .75rem; color: #e0e3e7; }
.message-head time { color: #58606b; font-size: .6rem; }
.guest-chip { padding: 2px 5px; border: 1px solid rgba(255,179,88,.15); border-radius: 5px; color: #b89673; font-size: .55rem; text-transform: uppercase; letter-spacing: .05em; }
.message-body p { margin: 2px 0 0; color: #b3b8c0; font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
.message.is-local .message-body p { color: #d4d7dc; }
.chat-empty { min-height: 100%; display: grid; place-items: center; align-content: center; text-align: center; color: #747c87; }
.chat-empty span { font-size: 2rem; }
.chat-empty strong { color: #aeb4bd; margin-top: 6px; }
.chat-empty p { margin: 3px 0; font-size: .76rem; }
.composer { padding: 9px clamp(12px,2.5vw,26px) 13px; display: grid; grid-template-columns: auto auto minmax(0,1fr) auto; align-items: end; gap: 6px; background: linear-gradient(180deg, transparent, rgba(8,9,12,.65)); }
.composer-tool, .send-button { width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.035); color: #858d98; }
.composer-tool:hover { color: #d8dce2; background: rgba(255,255,255,.055); }
.composer-box { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 5px; padding: 5px 8px 5px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 1px rgba(255,255,255,.015); }
.composer-box:focus-within { border-color: rgba(255,176,86,.24); box-shadow: 0 0 0 3px rgba(255,140,40,.025); }
.composer textarea { width: 100%; min-height: 28px; max-height: 120px; resize: none; border: 0; outline: 0; background: transparent; color: #e1e4e8; padding: 5px 0 3px; font-size: .8rem; }
.composer textarea::placeholder { color: #626a75; }
.composer-format { display: flex; gap: 2px; color: #737b85; }
.composer-format span { min-width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; font-size: .62rem; }
.composer-format span:hover { background: rgba(255,255,255,.045); color: #b9bec6; }
.send-button { color: #1e1209; background: linear-gradient(180deg,#efad6d,#d98942); border-color: transparent; font-weight: 850; }
.voice-dock { margin: 0 14px 12px; min-height: 56px; display: grid; grid-template-columns: minmax(190px,1fr) auto; align-items: center; gap: 10px; padding: 7px 8px 7px 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: linear-gradient(180deg, rgba(31,34,40,.96), rgba(21,23,28,.98)); box-shadow: 0 16px 35px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035); }
.voice-dock.is-joined { border-color: rgba(95,208,154,.14); }
.voice-room-state { display: flex; align-items: center; gap: 9px; min-width: 0; }
.voice-pulse { width: 9px; height: 9px; border-radius: 50%; background: #66707c; }
.is-joined .voice-pulse { background: #6bd39e; box-shadow: 0 0 0 4px rgba(107,211,158,.07), 0 0 12px rgba(107,211,158,.25); }
.voice-room-state div { display: grid; }
.voice-room-state strong { font-size: .72rem; }
.voice-room-state small { color: #68717d; font-size: .62rem; }
.voice-controls { display: flex; align-items: center; gap: 4px; }
.voice-button { min-width: 56px; height: 41px; border: 1px solid transparent; border-radius: 9px; display: grid; place-items: center; gap: 0; background: rgba(255,255,255,.035); color: #abb1ba; font-size: .85rem; }
.voice-button span { font-size: .52rem; color: #707985; }
.voice-button:hover { background: rgba(255,255,255,.06); }
.voice-button.is-on { background: rgba(255,151,66,.11); border-color: rgba(255,164,78,.12); color: #f0b176; }
.voice-button.leave { color: #e28888; background: rgba(208,85,85,.06); }
.app-members { min-height: 0; overflow-y: auto; border-left: 1px solid rgba(255,255,255,.075); padding: 17px 12px; }
.members-heading { display: flex; align-items: center; justify-content: space-between; padding: 4px 7px 14px; }
.members-heading .eyebrow { font-size: .57rem; color: #7e8792; }
.members-heading h2 { margin: 3px 0 0; font-size: .96rem; }
.members-live { display: flex; align-items: center; gap: 6px; padding: 0 8px 12px; color: #707985; font-size: .65rem; }
.members-live span { width: 6px; height: 6px; border-radius: 50%; background: #6bd39e; }
.members-list { display: grid; gap: 2px; }
.member-row { width: 100%; min-height: 48px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; border: 0; border-radius: 10px; background: transparent; color: #aeb4bd; text-align: left; padding: 6px 7px; }
.member-row:hover { background: rgba(255,255,255,.035); }
.member-avatar { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#353942,#202328); color: #bfc4cb; font-size: .63rem; font-weight: 800; }
.presence-light { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #59616c; border: 2px solid #15171c; }
.presence-light.online { background: #64cb96; }
.member-copy { min-width: 0; display: grid; gap: 1px; }
.member-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; }
.member-copy small { color: #646c77; font-size: .59rem; }
.member-copy small.guest-role { color: #9e8063; }
.role-mark { color: #e6aa68; font-size: .72rem; }
.role-mark.vice { color: #98a4b4; }
.members-note { margin: 15px 6px 0; padding: 10px; display: flex; gap: 8px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; color: #6e7681; background: rgba(255,255,255,.018); }
.members-note span { color: #a98865; }
.members-note p { margin: 0; font-size: .62rem; line-height: 1.45; }
.empty-mini { padding: 16px 8px; color: #69717d; font-size: .7rem; }
.mobile-nav, .mobile-more-sheet { display: none; }
@media (max-width: 1080px) {
  .campfire-app { grid-template-columns: 250px minmax(0,1fr); }
  .app-members { position: fixed; z-index: 80; inset: 0 0 0 auto; width: min(320px, 88vw); transform: translateX(105%); transition: transform .2s ease; box-shadow: -22px 0 50px rgba(0,0,0,.35); }
  .app-members.mobile-open { transform: translateX(0); }
  .app-members .mobile-close { display: inline-grid; }
}
@media (max-width: 760px) {
  .campfire-app { display: block; height: 100dvh; }
  .app-sidebar { position: fixed; z-index: 90; inset: 0 auto 0 0; width: min(300px, 88vw); transform: translateX(-105%); transition: transform .2s ease; box-shadow: 22px 0 50px rgba(0,0,0,.38); }
  .app-sidebar.mobile-open { transform: translateX(0); }
  .app-sidebar .mobile-close, .mobile-menu { display: inline-grid; }
  .app-content { height: 100dvh; grid-template-rows: auto auto minmax(0,1fr) auto; padding-bottom: 59px; }
  .room-header { grid-template-columns: auto minmax(0,1fr) auto; min-height: 62px; padding: 8px 9px; }
  .room-title { gap: 7px; }
  .room-fire { display: none; }
  .room-title h1 { font-size: .86rem; }
  .room-title p { font-size: .61rem; }
  .room-header-actions .header-action { display: none; }
  .watch-invite { margin: 7px 8px 0; grid-template-columns: auto minmax(0,1fr) auto; gap: 7px; }
  .watch-invite > div:nth-child(2) span { display: none; }
  .watch-invite .button-ghost { display: none; }
  .watch-invite .button.small { min-height: 29px; padding: 5px 8px; }
  .chat-scroll { padding: 13px 10px 7px; }
  .message { padding-inline: 3px; }
  .composer { grid-template-columns: auto minmax(0,1fr) auto; padding: 6px 8px 8px; }
  .composer > .composer-tool:nth-of-type(2) { display: none; }
  .composer-format { display: none; }
  .composer-box { grid-template-columns: 1fr; }
  .voice-dock { margin: 0 8px 7px; min-height: 54px; grid-template-columns: auto 1fr; padding: 5px 6px 5px 9px; }
  .voice-room-state { max-width: 115px; }
  .voice-room-state strong { font-size: .61rem; }
  .voice-room-state small { display: none; }
  .voice-controls { justify-content: flex-end; overflow-x: auto; }
  .voice-button { min-width: 40px; width: 40px; height: 40px; }
  .voice-button span { display: none; }
  .mobile-nav { position: fixed; z-index: 70; inset: auto 0 0; height: calc(58px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); padding: 4px 5px env(safe-area-inset-bottom); border-top: 1px solid rgba(255,255,255,.075); background: rgba(13,15,19,.96); backdrop-filter: blur(18px); }
  .mobile-nav button { border: 0; background: transparent; color: #707985; display: grid; place-items: center; align-content: center; gap: 2px; font-size: .56rem; }
  .mobile-nav button span { font-size: .95rem; filter: grayscale(.3); }
  .mobile-nav button.active { color: #e6b27c; }
  .mobile-more-sheet { display: grid; position: fixed; z-index: 85; left: 8px; right: 8px; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(25,28,33,.98); box-shadow: 0 -25px 60px rgba(0,0,0,.45); }
  .sheet-handle { width: 38px; height: 4px; border-radius: 5px; background: rgba(255,255,255,.14); margin: 0 auto 8px; }
  .mobile-more-sheet > strong { padding: 8px 9px; font-size: .75rem; color: #d8dce1; }
  .mobile-more-sheet button, .mobile-more-sheet a { border: 0; border-radius: 10px; background: transparent; color: #a7adb6; min-height: 40px; padding: 9px; text-align: left; text-decoration: none; font-size: .72rem; }
  .mobile-more-sheet button:hover, .mobile-more-sheet a:hover { background: rgba(255,255,255,.04); }
}
@media (max-width: 430px) {
  .voice-room-state { display: none; }
  .voice-dock { grid-template-columns: 1fr; }
  .voice-controls { justify-content: space-around; }
  .voice-button { width: 44px; min-width: 44px; }
  .message-avatar { width: 30px; height: 30px; }
  .message { grid-template-columns: 30px minmax(0,1fr); }
}
.campfire-toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; max-width: min(520px, calc(100vw - 28px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 14px; border: 1px solid rgba(255,177,85,.18); border-radius: 12px; background: rgba(24,26,31,.96); color: #d9dde2; box-shadow: 0 18px 55px rgba(0,0,0,.45); font-size: .78rem; line-height: 1.45; transition: .2s ease; }
.campfire-toast.show { opacity: 1; transform: translate(-50%, 0); }
html[data-pwa-installable="true"] [data-action="install-pwa"] { border-color: rgba(255,174,84,.28); color: #f0c08f; }
.creator-credit { margin: 16px 2px 0; color: #656d78; font-size: .72rem; letter-spacing: .01em; }
.creator-credit strong { color: #848c96; font-weight: 650; }
