/* The shared fires (src/fire/fire.js): the campfire's panel, and the room you sit down in. The room's
   log uses main.css's .chat-list and .msg. */
/* The panel: a line on who is by the fires, one suggested fire in a card with its button, and (with two
   or more burning) the others behind a link. */
.fire-sec{gap:12px;padding-top:14px;border-top:1px solid rgba(243,231,207,.12)}
.fire-status{display:flex;align-items:center;gap:9px;margin:0;font-size:14.5px;color:var(--cream)}
.fire-status .pxi{flex:none}
/* Turnstile's widget (src/online.js): nothing unless it has to ask; then its box, in the panel or in a corner */
.fire-captcha{display:flex;justify-content:center;width:100%}
.captcha-box{max-width:100%}
.fire-captcha:empty{display:none}
.captcha-box{margin:10px 0 0}
.captcha-box.corner{position:fixed;right:16px;bottom:calc(var(--safe-b) + 16px);z-index:60;margin:0}
.fire-card{display:flex;flex-direction:column;gap:12px;padding:14px;background:rgba(255,236,205,.05);box-shadow:inset 0 0 0 1px rgba(243,231,207,.14)}
.fc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.fc-name{font-family:var(--f-story);font-weight:700;font-size:18px;line-height:1.25}
.fc-sub{margin:3px 0 0;font-size:13px;color:var(--cream-dim)}
.fire-card > .fc-sub{margin:0}
.fc-count{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none;text-align:right}
.fc-count .n{display:inline-flex;align-items:center;gap:6px;font-family:var(--f-px);font-size:15px;color:var(--ember-hi);font-variant-numeric:tabular-nums}
.fc-count .left{font-size:12px;color:var(--cream-dim)}
.fire-go{width:100%;box-sizing:border-box;justify-content:center;padding:12px 14px;font-size:15px;font-weight:700}
.fire-more{align-self:flex-start;padding:0;font-size:13.5px}
.fire-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fire-list li{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 10px;background:rgba(255,236,205,.04);box-shadow:inset 0 0 0 1px rgba(243,231,207,.1)}
.fire-list .nm{font-weight:700}
.fire-list .ct{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--cream-dim);font-variant-numeric:tabular-nums}

/* The room (the user's mock-up, 2026-10-13): the painting alive on a WebGL canvas (src/fire/stage.js),
   the names, bubbles and seat buttons over it; a title card top left, the buttons top right, the log in
   a panel. Dark glass, thin gold lines, soft corners. */
.fire-room{--fr-gold:#d9a05b;--fr-gold-hi:#f0c27a;--fr-line:rgba(217,160,91,.45);--fr-line-soft:rgba(217,160,91,.22);
  --fr-glass:linear-gradient(180deg,rgba(31,20,13,.80),rgba(17,11,8,.86));--fr-ink:#f3e7cf;--fr-dim:#cdb999;--fr-faint:#9a876c;
  position:fixed;inset:0;z-index:9;overflow:hidden;background:#07060c;opacity:0;transition:opacity .5s ease}
/* Behind the painting, the same room blurred and dark, for wherever the painting can't reach the edge. */
.fire-room::before{content:"";position:absolute;inset:-40px;background:url(../assets/camp/fire/plate-noflame-small.webp) center / cover no-repeat;filter:blur(24px) brightness(.45)}
.fire-room.on{opacity:1}
.fr-stage{position:absolute;left:0;top:0;transform-origin:0 0;user-select:none;-webkit-user-select:none}
.fr-stage.pick,.fr-stage.who{cursor:pointer}
.fr-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.fr-marks,.fr-bubbles{position:absolute;inset:0}
.fr-bubbles{pointer-events:none}
/* A free seat: lit on the canvas when pointed at; the button is there for the keyboard. */
.fr-seat{position:absolute;padding:0;border:0;background:none;pointer-events:none;opacity:0}
/* The names under the seats. */
.fr-tag{position:absolute;transform:translateX(-50%);padding:3px 10px 4px;border:1px solid rgba(217,160,91,.55);border-radius:8px;font:inherit;font-size:12.5px;line-height:1.25;white-space:nowrap;
  color:var(--fr-ink);background:rgba(20,13,9,.82);box-shadow:0 2px 8px rgba(0,0,0,.35)}
span.fr-tag{pointer-events:none}
button.fr-tag{cursor:pointer}
button.fr-tag:hover,button.fr-tag:focus-visible{background:rgba(36,24,16,.92);border-color:var(--fr-gold-hi);outline:none}
.fr-tag.me{color:#2a1406;font-weight:700;background:linear-gradient(180deg,#f6c879,#e09645);border-color:#ffd99c}
button.fr-tag.me:hover,button.fr-tag.me:focus-visible{background:linear-gradient(180deg,#ffd391,#eba653);border-color:#ffe3b0}
.fr-tag.blocked{color:var(--fr-faint);text-decoration:line-through}
/* The village's painted speech bubble (main.css, .village .bubble), without the night tint: by the fire
   the paper is lit. */
.fr-bubble{position:absolute;z-index:3;transform-origin:0 0;transform:translate(-18px,-100%);width:max-content;max-width:212px;min-width:30px;padding:0 8px 0 0;
  border:solid transparent;border-width:18px 18px 40px 47px;border-image:url(../assets/camp/village/ui/bubble.webp) 36 36 81 94 fill / 18px 18px 40px 47px stretch;
  font-family:var(--f-story);font-size:14px;line-height:1.35;text-align:center;color:#3a2a1a;word-break:keep-all;overflow-wrap:anywhere;
  opacity:0;transition:opacity .25s ease;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.fr-bubble.on{opacity:1}
/* Something thrown (fire.js fly): over the painting, spinning on its way; down and gone where it lands. */
/* The comic marks beside a face (src/fire/fire.js markFace): hung from their point (the wrapper, turned there),
   popping in, each with its own small motion, fading as the face goes. Under the bubbles. */
.fr-mark{position:absolute;z-index:2;width:0;height:0;transform-origin:0 0;pointer-events:none}
.fr-mark img{position:absolute;display:block;max-width:none;height:auto;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45));animation:frMarkIn .28s cubic-bezier(.2,1.5,.4,1) both}
.fr-mark.happy img{animation:frMarkIn .28s cubic-bezier(.2,1.5,.4,1) both,frMarkBeat .45s ease-in-out .3s infinite alternate}
.fr-mark.surprised img{animation:frMarkJump .34s cubic-bezier(.2,1.8,.4,1) both}
.fr-mark.ouch img{animation:frMarkPuff .32s cubic-bezier(.2,1.6,.4,1) both,frMarkDrift 1.2s ease-out .32s both}
.fr-mark.sleepy img{animation:frMarkIn .5s ease-out both,frMarkRise 2.8s ease-in-out .5s both}
.fr-mark.out img{animation:frMarkOut .25s ease-in both}
@keyframes frMarkIn{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes frMarkBeat{to{transform:scale(1.1)}}
@keyframes frMarkJump{0%{opacity:0;transform:translateY(18%) scale(.5)}60%{opacity:1;transform:translateY(-8%) scale(1.08)}100%{opacity:1;transform:none}}
@keyframes frMarkPuff{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}
@keyframes frMarkDrift{to{transform:scale(1.12)}}
@keyframes frMarkRise{to{transform:translateY(-14%)}}
@keyframes frMarkOut{to{opacity:0;transform:scale(.85)}}
@media (prefers-reduced-motion:reduce){.fr-mark img{animation:none!important}.fr-mark.out img{opacity:0}}
.fr-thrown{position:absolute;z-index:4;line-height:1;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 3px rgba(0,0,0,.55));will-change:left,top,transform}
.fr-thrown.down{transition:left .28s ease-in,top .28s ease-in,transform .28s ease-in,opacity .3s ease .3s;opacity:0}
.fr-bubble.flip{transform:translate(18px,-100%) scaleX(-1)}
.fr-bubble.flip .words{transform:scaleX(-1)}
.fr-bubble .words{display:block;margin:-7px 0 -7px -21px}

/* The room's icons. */
.fri{display:block;width:20px;height:20px;flex:none}
.fri .f{fill:currentColor}
.fri .s{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* The top: the fire's card on the left, the buttons on the right. */
.fr-bar{position:absolute;z-index:2;top:calc(var(--safe-t) + 16px);left:16px;right:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;pointer-events:none}
.fr-bar > *{pointer-events:auto}
.fr-name{display:flex;align-items:center;gap:12px;min-width:min(360px,calc(100vw - 260px));box-sizing:border-box;padding:0 4px 0 0;
  border:16px solid transparent;border-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M8 .75H40A7.25 7.25 0 0 0 47.25 8V40A7.25 7.25 0 0 0 40 47.25H8A7.25 7.25 0 0 0 .75 40V8A7.25 7.25 0 0 0 8 .75Z' fill='rgba(23,14,9,.86)' stroke='rgba(217,160,91,.62)' stroke-width='1.2'/%3E%3Cpath d='M9.87 4.25H38.13A10.75 10.75 0 0 0 43.75 9.87V38.13A10.75 10.75 0 0 0 38.13 43.75H9.87A10.75 10.75 0 0 0 4.25 38.13V9.87A10.75 10.75 0 0 0 9.87 4.25Z' fill='none' stroke='rgba(217,160,91,.24)' stroke-width='1'/%3E%3C/svg%3E") 16 fill / 16px stretch;filter:drop-shadow(0 10px 24px rgba(0,0,0,.4))}
.fr-flame{display:block;width:38px;height:42px;margin:-6px 0 -6px -4px;flex:none}
.fr-flame svg{display:block;width:100%;height:100%;filter:drop-shadow(0 0 8px rgba(255,140,50,.45))}
.fr-title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.fr-title b{font-size:19px;font-weight:700;letter-spacing:.01em;color:var(--fr-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fr-title span{font-size:13.5px;color:var(--fr-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fr-count{display:inline-flex;align-items:center;gap:6px;align-self:flex-end;margin:0 0 1px 6px;font-size:14px;color:var(--fr-dim);font-variant-numeric:tabular-nums;white-space:nowrap}
.fr-count .fri{width:16px;height:16px;color:var(--fr-gold)}
.fr-acts{display:flex;align-items:center;gap:10px}
.fr-btn{height:46px;min-width:50px;box-sizing:border-box;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-size:15px;color:var(--fr-ink);
  background:rgba(22,14,9,.80);border:1px solid var(--fr-line-soft);border-radius:12px;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.35);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:border-color .15s,background .15s,transform .08s}
.fr-btn:hover{background:rgba(40,26,17,.88);border-color:var(--fr-line)}
.fr-btn:active{transform:translateY(1px)}
.fr-btn:focus-visible{outline:2px solid var(--fr-gold-hi);outline-offset:2px}
.fr-btn .fri{color:#f2d6a8}
.fr-btn.fr-gear{padding:0}
.fr-btn.fr-gear.on{border-color:var(--fr-gold-hi);box-shadow:0 0 10px rgba(255,205,135,.3)}
.fr-btn.fr-more{font-family:var(--f-story);font-weight:700;letter-spacing:.04em;color:var(--fr-gold-hi)}
.fr-chatfold{display:none;padding:0}
.fr-chatfold .fri{width:22px;height:22px}
.fire-room.walk .fr-chatfold{display:inline-flex}
.fr-chatfold[aria-pressed="true"]{border-color:var(--fr-gold-hi)}
.fire-room.chat-off .fr-chat{display:none}
/* the keys, on coming in: a box each, on one line */
.fr-keys{position:absolute;z-index:6;left:50%;bottom:calc(var(--safe-b) + 80px);transform:translate(-50%,8px);display:flex;gap:10px;white-space:nowrap;opacity:0;transition:opacity .4s,transform .4s;pointer-events:none}
.fr-keys.on{opacity:1;transform:translate(-50%,0)}
.fr-keys span{display:inline-flex;align-items:baseline;gap:8px;padding:11px 17px;border-radius:12px;background:rgba(20,13,9,.8);border:1px solid var(--fr-line-soft);color:var(--fr-ink);font-size:18px;line-height:1.1}
.fr-keys b{color:var(--fr-gold-hi);font-weight:700}
.fr-leave{padding:0 20px 0 16px;border:1.5px solid rgba(232,170,90,.78)}
.fr-leave:hover{border-color:var(--fr-gold-hi)}
/* 접기 (Fold away): folds the room away into the dock, the seat kept, and standing too (the user's picture,
   2026-10-19; its icon and word in place of the X, 2026-10-20). */
.fr-fold{padding:0 18px 0 13px}
.fr-fold .fri{width:22px;height:22px}

/* The log: a glass panel down the right of a wide screen, along the bottom of anything narrower. fit()
   in fire.js keeps the ring of seats clear of it. */
.fr-chat{position:absolute;z-index:2;left:0;right:0;bottom:0;height:42vh;height:42dvh;padding-bottom:var(--safe-b);display:flex;flex-direction:column;box-sizing:border-box;
  background:var(--fr-glass);border:1px solid var(--fr-line);border-bottom:0;border-radius:18px 18px 0 0;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 -10px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,220,170,.06)}
/* In the walkable room the picture behind them changes every frame, and a blur over it is worked out again each time: a
   little more of the panel's own colour stands in for it. */
.fire-room.walk .fr-chat,.fire-room.walk .fr-btn{backdrop-filter:none;-webkit-backdrop-filter:none}
.fire-room.walk .fr-chat{--fr-glass:linear-gradient(180deg,rgba(31,20,13,.91),rgba(17,11,8,.94))}
.fire-room.log-right .fr-chat{left:auto;right:16px;top:calc(var(--safe-t) + 80px);bottom:calc(var(--safe-b) + 16px);width:372px;height:auto;padding-bottom:0;border-bottom:1px solid var(--fr-line);border-radius:18px;
  box-shadow:0 16px 40px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,220,170,.06)}
.fr-orn{display:block;color:var(--fr-gold)}
.fr-orn svg{display:block;width:100%;height:auto}
.fr-orn .ln{fill:none;stroke:currentColor;stroke-width:1;opacity:.55}
.fr-orn .dm,.fr-orn .lf{fill:currentColor;opacity:.9}
.fr-orn .dt{fill:currentColor;opacity:.7}
.fr-orn .vn{fill:none;stroke:#2a1a10;stroke-width:.9;opacity:.6}
.fr-chat > .fr-orn{width:70%;margin:12px auto 0}
/* The log's letters in five sizes (the room's menu, fire.js setTextSize; 3 is as drawn). */
.fire-room{--fr-k:1}
.fire-room[data-text="1"]{--fr-k:.86}
.fire-room[data-text="2"]{--fr-k:.93}
.fire-room[data-text="4"]{--fr-k:1.1}
.fire-room[data-text="5"]{--fr-k:1.22}
.fr-log{padding:10px 14px 12px;gap:10px}
.fr-hint{min-height:0;padding:0 16px 6px;font-size:12.5px;text-align:center;color:var(--fr-gold-hi)}
.fr-hint:empty{display:none}
/* Where you sat down, and who's here; someone sat down or got up. */
.fr-log .msg.intro{margin:2px 0 4px;text-align:center;font-size:calc(13.5px * var(--fr-k));line-height:1.7;color:var(--fr-dim)}
.fr-log .msg.intro p{margin:0}
.fr-log .msg.intro .fr-orn{width:100%;margin:12px 0 0}
.fr-log .msg.sys{text-align:center;font-size:calc(12.5px * var(--fr-k));color:var(--fr-faint)}
/* A line: their face, name and time over it; yours on the right. (Smaller bubbles and closer lines since
   2026-10-22: they took too much of the log.) */
.fr-log .msg{font-size:calc(14px * var(--fr-k));line-height:1.45}
.fr-log .msg:not(.sys):not(.intro):not(.me){display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:9px;align-items:start}
.fr-log .msg.cont{margin-top:-5px}
.fr-log .msg.cont .mb{grid-column:2}
.fr-log .av{width:34px;height:34px;padding:0;border:1.5px solid var(--fr-gold);border-radius:50%;overflow:hidden;background:#2a1c14;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.fr-log .av img{display:block;width:100%;height:100%;object-fit:cover}
.fr-log .mh{display:flex;align-items:baseline;gap:8px;margin:0 0 3px}
.fr-log .mh .who{font-family:var(--f-story);font-weight:700;font-size:calc(14.5px * var(--fr-k));line-height:1.2;color:var(--fr-gold-hi);padding:0;border:0;background:none;cursor:pointer}
.fr-log .mh .who:hover,.fr-log .mh .who:focus-visible{text-decoration:underline;text-underline-offset:3px;outline:none}
.fr-log .time{font-size:calc(11.5px * var(--fr-k));color:var(--fr-faint);margin:0;font-variant-numeric:tabular-nums}
.fr-log .bub{display:inline-block;max-width:100%;box-sizing:border-box;padding:5px 10px 6px;border:1px solid rgba(255,236,205,.13);border-radius:10px;background:rgba(255,236,205,.07);
  color:var(--fr-ink);word-break:keep-all;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.fr-log .msg:not(.me) .bub[data-msg]{cursor:pointer}
.fr-log .msg.me{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.fr-log .msg.me .bub{max-width:88%;background:rgba(255,154,60,.17);border-color:rgba(255,176,96,.34)}
.fr-log .msg.me.cont{margin-top:-6px}
.fr-log .msg.pending{opacity:.6}
.fr-log .msg.failed{opacity:.55}
.fr-log .msg.failed .bub{text-decoration:line-through;text-decoration-color:rgba(232,87,42,.8)}
/* What you say: the field with its smiley, the orange button, the emoji over them. */
.fr-say{position:relative;display:flex;gap:10px;padding:12px 14px 14px;border-top:1px solid rgba(217,160,91,.16)}
.fr-field{flex:1;min-width:0;display:flex;align-items:center;gap:4px;padding:0 6px 0 14px;border:1px solid var(--fr-line-soft);border-radius:12px;background:rgba(0,0,0,.34);transition:border-color .15s,box-shadow .15s}
.fr-field:focus-within{border-color:var(--fr-line);box-shadow:0 0 0 3px rgba(217,160,91,.12)}
.fr-field input[type=text]{flex:1;min-width:0;padding:13px 0;border:0;background:none;box-shadow:none;font-size:14.5px;color:var(--fr-ink)}
.fr-field input[type=text]:focus{box-shadow:none}
.fr-field input::placeholder{color:var(--fr-faint)}
.fr-emo{width:36px;height:36px;flex:none;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:none;color:var(--fr-gold);cursor:pointer}
.fr-emo .fri{width:24px;height:24px}
.fr-emo:hover,.fr-emo[aria-expanded=true]{background:rgba(217,160,91,.14);color:var(--fr-gold-hi)}
.fr-emo:focus-visible{outline:2px solid var(--fr-gold-hi);outline-offset:1px}
.fr-send{flex:none;padding:0 22px;border:0;border-radius:12px;font:inherit;font-size:15px;font-weight:700;color:#2a1406;cursor:pointer;
  background:linear-gradient(180deg,#ffbd6e,#f28a32);box-shadow:inset 0 1px 0 rgba(255,236,190,.6),0 3px 0 #b5561c,0 8px 18px rgba(242,138,50,.22);transition:transform .08s,filter .15s}
.fr-send:hover{filter:brightness(1.06)}
.fr-send:active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgba(255,236,190,.6),0 1px 0 #b5561c}
.fr-send:focus-visible{outline:2px solid var(--fr-gold-hi);outline-offset:2px}
.fr-emojis{position:absolute;z-index:4;right:14px;bottom:calc(100% + 6px);display:grid;grid-template-columns:repeat(8,36px);gap:2px;padding:8px;
  background:linear-gradient(180deg,rgba(36,23,15,.96),rgba(22,14,9,.97));border:1px solid var(--fr-line);border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.5)}
.fr-emojis button{width:36px;height:36px;padding:0;border:0;border-radius:9px;background:none;font-size:21px;line-height:1;cursor:pointer;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.fr-emojis button:hover,.fr-emojis button:focus-visible{background:rgba(217,160,91,.16);outline:none}
/* The menu (other fires, the invite link) and the card on someone's name (report, block). */
.fr-pop{position:absolute;z-index:5;min-width:210px;max-width:min(320px,calc(100vw - 16px));box-sizing:border-box;padding:12px;display:flex;flex-direction:column;gap:8px;
  background:linear-gradient(180deg,rgba(36,23,15,.97),rgba(22,14,9,.98));border:1px solid var(--fr-line);border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.5)}
.fr-pop-h{font-size:12.5px;letter-spacing:.03em;color:var(--fr-dim)}
.fr-pop-note{margin:0;font-size:12px;line-height:1.5;color:var(--fr-faint)}
.fr-pop-item{font:inherit;font-size:14px;text-align:left;color:var(--fr-ink);background:rgba(255,236,205,.06);border:0;border-radius:10px;padding:10px 12px;cursor:pointer}
.fr-pop-item:hover,.fr-pop-item:focus-visible{background:rgba(217,160,91,.18);outline:none}
.fr-moves{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fr-moves li{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;font-size:13.5px}
.fr-moves .ct{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--fr-dim)}
.fr-moves .ct .fri{width:14px;height:14px;color:var(--fr-gold)}
.fr-pop .btn{border-radius:10px;box-shadow:none;background:rgba(255,236,205,.08)}
.fr-pop .btn:hover{background:rgba(217,160,91,.18)}
.fr-pop .btn.primary{justify-content:center;color:#2a1406;background:linear-gradient(180deg,#ffbd6e,#f28a32);box-shadow:0 2px 0 #b5561c}
.fr-moves .btn{padding:6px 11px;font-size:13px}
/* Someone's card: what to throw at them (fire.js THROWN). */
.fr-throw{display:flex;gap:6px}
.fr-throw button{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px 7px;border:1px solid var(--fr-line-soft);border-radius:10px;background:rgba(255,236,205,.06);color:var(--fr-ink);font:inherit;font-size:12px;line-height:1;cursor:pointer}
.fr-throw button .emo{font-size:22px;line-height:1}
.fr-throw button:hover,.fr-throw button:focus-visible{background:rgba(217,160,91,.18);outline:none}
/* The log's text size: five A's, the one in use lit. */
.fr-pop input[type=text]{border-radius:10px;box-shadow:inset 0 0 0 1px var(--fr-line-soft);background:rgba(0,0,0,.3)}
.fr-pop input[type=text]:focus{box-shadow:inset 0 0 0 1px var(--fr-line),0 0 0 3px rgba(217,160,91,.12)}
.fr-link{width:100%;font-size:13px}
/* The report card. */
.fr-reasons{display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.fr-reasons label,.fr-check{display:flex;align-items:center;gap:8px;cursor:pointer}
.fr-reasons input,.fr-check input{accent-color:var(--ember);margin:0}
.fr-note{width:100%;font-size:13px}
.fr-check{font-size:13px;color:var(--fr-dim)}
.fr-pop-links a{color:var(--fr-gold-hi)}
/* The camp's menu tab, at the fire in the room's look. */
body.at-fire .nav-toggle{width:26px;height:62px;top:calc(50% - 31px);background:rgba(22,14,9,.84);border:1px solid var(--fr-line,rgba(217,160,91,.45));border-left:0;border-radius:0 12px 12px 0;box-shadow:0 8px 20px rgba(0,0,0,.35)}
body.at-fire .nav-toggle:hover{background:rgba(40,26,17,.9)}
/* The room has its own sound button (this beats main.css's rule that shows the camp's). */
@media (max-width:760px){
  .fr-bar{top:calc(var(--safe-t) + 10px);left:10px;right:10px;gap:8px}
  .fr-name{min-width:0;flex:1;gap:9px;border-width:12px;border-image-width:12px}
  .fr-flame{width:30px;height:34px;margin:-4px 0 -4px -2px}
  .fr-title b{font-size:16px}
  .fr-title span{font-size:12px}
  .fr-count{font-size:13px;margin-left:2px}
  .fr-btn{height:42px;min-width:42px;padding:0 10px}
  .fr-leave{padding:0 12px}
  .fr-leave span{display:none}
  /* (접기 keeps only its icon here, as 일어나기 does: with its word the fire's name was cut to "Pi…") */
  .fr-fold{min-width:42px;padding:0 10px}
  .fr-fold span{display:none}
  /* The menu's tab would sit on the seats at the left edge; Leave the fire is the way out. */
  body.at-fire .nav-toggle{opacity:0;pointer-events:none}
  .fr-say{padding:10px 10px 12px}
  .fr-send{padding:0 16px}
  .fr-emojis{right:10px;grid-template-columns:repeat(8,34px)}
  .fr-emojis button{width:34px;height:34px}
}
@media (max-width:420px){
  .fr-title span{display:none}
  .fr-acts{gap:6px}
  .fr-btn{height:40px;min-width:40px;padding:0 9px}
  .fr-title b{font-size:15px}
  .fr-count{font-size:12.5px;gap:4px}
}
/* (A phone zooms into a field whose letters are smaller than 16px.) */
@media (pointer:coarse){
  .fr-field input[type=text]{font-size:16px}
}
/* Before the first sit-down: what happens to what is said. */
.fire-notice{position:fixed;inset:0;z-index:35;display:grid;place-items:center;padding:16px;background:rgba(6,5,10,.6)}
.fn-card{width:min(440px,100%);padding:18px;display:flex;flex-direction:column;gap:12px}
.fn-card h2{margin:0;font-family:var(--f-story);font-size:19px}
.fn-card p{margin:0;font-size:14px;line-height:1.6;color:var(--cream)}
.fn-card .fn-links{font-size:13px;color:var(--cream-dim)}
.fn-card .fn-links a{color:var(--ember-hi)}
.fn-acts{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
/* Standing by the fire (before you choose a seat): nothing to say yet. */
.fire-room.standing .fr-say{display:none}

/* The dock (src/ui.js, Dock; the user's picture, 2026-10-19): the fire you sit at, its room folded away,
   in a card at the bottom right of the camp and its buildings, in the camp's card look (styles/camp.css).
   The flame in a lit ring, the fire's name, how many sit there, a chevron to open it again. A line said
   there flares the flame and leaves a dot; for five seconds the card opens on who said it. Meditating,
   the flame alone. Back from an expedition, your seat offered back, with an X to let it go. */
/* (Over pages, panels and the meditation; under the menu, the settings, toasts and dialogs.) */
.fire-dock{position:fixed;z-index:11;right:22px;bottom:calc(var(--safe-b) + 40px);transform-origin:100% 100%;transition:opacity .25s ease,transform .34s cubic-bezier(.3,1.45,.5,1)}
/* (Folding: hidden until the shrinking room reaches it, then it settles in.) */
.fire-dock.arriving{opacity:0;transform:scale(.96);transition:none}
.fire-dock[hidden]{display:none}
.fd-main{display:flex;align-items:center;gap:13px;min-height:66px;box-sizing:border-box;padding:9px 16px 9px 10px;border:2px solid var(--cp-line);border-radius:16px;background:#1b120d;
  box-shadow:0 0 0 1px rgba(0,0,0,.35),0 12px 28px rgba(0,0,0,.4);color:var(--cp-text);font:inherit;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}
.fd-main:hover{background:#24180f;border-color:var(--cp-line-hi)}
.fd-main:focus-visible{outline:2px solid var(--cp-gold);outline-offset:2px}
.fd-badge{position:relative;flex:none;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;
  background:radial-gradient(circle at 50% 64%,#4d240d 0,#29150b 55%,#170d08 100%);box-shadow:inset 0 0 0 2px #e9822f,inset 0 0 12px rgba(255,120,40,.35),0 0 14px rgba(255,140,50,.32)}
.fd-flame{display:block;width:22px;height:30px;transform-origin:50% 92%;transition:transform .4s cubic-bezier(.3,1.7,.5,1);filter:drop-shadow(0 0 6px rgba(255,150,60,.55))}
.fd-flame svg{display:block;width:100%;height:100%}
.fire-dock.lit .fd-flame{transform:scale(1.2);animation:fd-flare 1.3s ease-out}
@keyframes fd-flare{0%{filter:drop-shadow(0 0 6px rgba(255,150,60,.55))}30%{filter:drop-shadow(0 0 13px rgba(255,180,80,.95)) brightness(1.18)}100%{filter:drop-shadow(0 0 6px rgba(255,150,60,.55))}}
.fd-dot{position:absolute;top:0;right:0;width:12px;height:12px;border-radius:50%;background:#f0473b;box-shadow:0 0 0 2.5px #1b120d,0 0 8px rgba(240,71,59,.55);opacity:0;transform:scale(.3);transition:opacity .25s,transform .3s cubic-bezier(.3,1.7,.5,1)}
.fire-dock.unread .fd-dot{opacity:1;transform:none}
.fd-body{display:flex;flex-direction:column;justify-content:center;min-width:0;max-width:210px;transition:max-width .35s var(--ease)}
.fd-top{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%}
.fd-name{max-width:100%;font:700 16.5px/1.15 var(--cp-bold);color:#fbf7ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-n{display:inline-flex;align-items:center;gap:6px;font:400 14px/1 var(--cp-sans);color:var(--cp-muted);white-space:nowrap}
.fd-n svg{flex:none;width:17px;height:17px;fill:#d9a05b}
.fd-line{display:flex;align-items:center;gap:8px;min-width:0;max-width:0;max-height:0;opacity:0;overflow:hidden;transition:max-width .35s var(--ease),max-height .35s var(--ease),opacity .25s,margin .35s var(--ease)}
.fd-av{flex:none;width:26px;height:26px;border-radius:50%;overflow:hidden;border:1.5px solid #d9a05b;background:#2a1c14}
.fd-av:empty{display:none}
.fd-av img{display:block;width:100%;height:100%;object-fit:cover}
.fd-text{min-width:0;font:400 14px/1.3 var(--cp-sans);color:#ece3d6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fire-dock.peek .fd-body{max-width:300px}
.fire-dock.peek .fd-top{flex-direction:row;align-items:center;gap:14px}
.fire-dock.peek .fd-line{max-width:300px;max-height:30px;opacity:1;margin-top:8px}
.fd-chev{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-left:2px}
.fd-chev svg{width:20px;height:20px;fill:none;stroke:#e9dccb;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fd-go,.fd-x{display:none}
.fd-x svg{width:13px;height:13px;fill:none;stroke:#e9dccb;stroke-width:2.6;stroke-linecap:round}
/* Your seat offered back. */
.fire-dock.back .fd-flame{filter:saturate(.6) brightness(.85)}
.fire-dock.back .fd-chev{display:none}
.fire-dock.back .fd-go{display:inline-flex;align-items:center;height:38px;padding:0 15px 2px;margin-left:2px;border-radius:8px;background:#fd9a3c;
  box-shadow:inset 0 1px 0 #fccd6c,inset 0 -3px 0 #e07f35;font:700 15.5px/1 var(--cp-bold);color:#1c1007;white-space:nowrap}
.fire-dock.back .fd-main:hover .fd-go{filter:brightness(1.06)}
.fire-dock.back .fd-x{display:grid;place-items:center;position:absolute;top:-10px;right:-10px;width:26px;height:26px;padding:0;border:1.5px solid #ad7338;border-radius:50%;background:#1d1410;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.45)}
.fire-dock.back .fd-x:hover{background:#2a1c12}
.fire-dock.back .fd-x:focus-visible{outline:2px solid var(--cp-gold);outline-offset:2px}
/* Meditating by the water: the flame alone, and quiet (the user's picture). */
body.meditating .fd-main{padding:0;min-height:0;border:0;background:none;box-shadow:none}
body.meditating .fd-body,body.meditating .fd-chev,body.meditating .fd-go,body.meditating .fd-x{display:none}
body.meditating .fd-badge{width:54px;height:54px;box-shadow:inset 0 0 0 2px #e9822f,inset 0 0 12px rgba(255,120,40,.35),0 0 16px rgba(255,140,50,.38),0 6px 18px rgba(0,0,0,.45)}
/* Out of the way: before the camp opens, in the room itself, on the way out, in the wardrobe and the
   expedition journal. */
body.pre .fire-dock,body.at-fire .fire-dock,body.leaving .fire-dock,body:has(.creator) .fire-dock,body:has(.ej) .fire-dock{opacity:0;pointer-events:none}
/* A panel on the right ends above the dock (src/ui.js, Dock.place: --dock-room). */
@media (min-width:761px){
  body.fire-docked:not(.panel-left) .panel{max-height:calc(100vh - 126px - max(54px,var(--dock-room,0px)));max-height:calc(100dvh - 126px - max(54px,var(--dock-room,0px)))}
}
@media (max-width:760px){
  .fire-dock{right:12px;bottom:calc(var(--safe-b) + 16px)}
  .fd-main{min-height:54px;padding:7px 13px 7px 7px;gap:10px;border-radius:14px}
  .fd-badge{width:40px;height:40px}
  .fd-flame{width:19px;height:26px}
  .fd-name{font-size:15px}
  .fd-n{font-size:13px}
  .fire-dock.peek .fd-body{max-width:min(250px,calc(100vw - 132px))}
  /* (The panel is a sheet over the bottom: the dock steps back under it.) */
  body.panel-open .fire-dock{opacity:0;pointer-events:none}
}

/* Off on an expedition while you sit at a fire (src/ui.js, awayNotice; the user's picture, 2026-10-19). */
.an-card{width:min(430px,100%);box-sizing:border-box;display:grid;grid-template-columns:auto 1fr;column-gap:18px;row-gap:18px;align-items:center;padding:24px 26px 22px;
  background:#1b120d;border:2px solid var(--cp-line);border-radius:18px;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 18px 40px rgba(0,0,0,.5)}
.an-ico{display:grid;place-items:center;width:66px;height:66px;border-radius:14px;background:#241912;border:1px solid var(--cp-line-soft)}
.an-txt h2{margin:0 0 7px;font:700 19px/1.25 var(--cp-bold);color:#fbf7ee}
.an-txt p{margin:0;font:400 15px/1.55 var(--cp-sans);color:#d9cfc2;word-break:keep-all}
.an-ok{grid-column:2;justify-self:center;min-width:132px;height:46px;padding:0 30px 3px;border:0;border-radius:8px;cursor:pointer;background:#fd9a3c;
  box-shadow:inset 0 1px 0 #fccd6c,inset 0 -3px 0 #e07f35,0 3px 0 rgba(0,0,0,.35);font:700 17px/1 var(--cp-bold);color:#1c1007;transition:filter .15s,transform .08s}
.an-ok:hover{filter:brightness(1.06)}
.an-ok:active{transform:translateY(1px)}
.an-ok:focus-visible{outline:2px solid var(--cp-gold);outline-offset:3px}
/* The campers in 3D (src/fire/people3d.js): a hand over your own, a fist while you drag it round; the pose
   button only while you sit in 3D; the chosen pose in its list. */
.fr-stage.d3{touch-action:none}
.fr-stage.mine3d{cursor:grab}
.fr-stage.turning{cursor:grabbing}
.fr-pose[hidden]{display:none}
.fr-pop-item.on{background:rgba(217,160,91,.22);box-shadow:inset 0 0 0 1px rgba(240,194,122,.55)}
