/* 모아 야영지 (/plaza, /camp). The shared footer keeps public/styles.css; this file is the camp's own look. */
.camp {
  --camp-night: #07080c;
  --camp-ink: #f3e6cc;
  --camp-dim: #b9a98c;
  --camp-ember: #ff9a4a;
  --camp-ember-deep: #c8571f;
  --camp-panel: rgba(22, 17, 13, 0.94);
  --camp-line: rgba(255, 190, 120, 0.22);
  --camp-portal: #8fd0ff;
  --camp-top-h: 52px;
  --camp-radius: 10px;
  --camp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--camp-night);
  color: var(--camp-ink);
}
.camp-top {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  height: var(--camp-top-h); padding: 0 16px;
  background: linear-gradient(#0d0b09, #07080c);
  border-bottom: 1px solid var(--camp-line);
}
.camp-home { display: inline-flex; align-items: center; gap: 6px; color: var(--camp-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.camp-title { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--camp-ember); }
.camp-icons { margin-left: auto; display: flex; gap: 6px; }
.camp-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--camp-line); background: rgba(255, 170, 90, 0.06); color: var(--camp-ink); cursor: pointer;
  transition: background-color 150ms, transform 150ms var(--camp-ease);
}
.camp-icon:hover { background: rgba(255, 170, 90, 0.16); }
.camp-icon:active { transform: scale(0.94); }
.camp-icon:focus-visible, .play-btn:focus-visible, .slot:focus-visible, .tip-act:focus-visible, .panel-close:focus-visible { outline: 2px solid var(--camp-ember); outline-offset: 2px; }
#sound-btn .snd-on { display: none; }
#sound-btn[aria-pressed="true"] .snd-on { display: inline; }
#sound-btn[aria-pressed="true"] .snd-off { display: none; }
.camp-bag { border-color: rgba(255, 154, 74, 0.55); }

.camp-main { position: relative; height: calc(100% - var(--camp-top-h)); overflow: hidden; background: var(--camp-night); }
/* the camp is one screen: no page scroll (the footer's company info is on /plaza/credits, linked bottom right) */
html:has(> body.camp:not(.camp-credits)), body.camp:not(.camp-credits) { height: 100%; overflow: hidden; }
body.camp:not(.camp-credits) { width: 100%; margin: 0; }
body.camp:not(.camp-credits) > .foot { display: none; }
.camp-stage { display: block; width: 100%; height: 100%; touch-action: none; outline: none; }
.camp-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pl-tag {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(8, 10, 16, 0.72); border: 1px solid rgba(143, 208, 255, 0.45);
  color: #e9f4ff; font-size: 13px; font-weight: 700; line-height: 1.3;
  text-shadow: 0 1px 2px #000;
}
.pl-tag--stall { border-color: rgba(255, 170, 90, 0.6); color: #fff0d9; }
.pl-tag--goblin { font-size: 22px; padding: 2px 12px; border-color: rgba(216, 168, 255, 0.8); color: #ffe2b0; }
.pl-on { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: #9fe3b4; }
.pl-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.camp-play {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(20, 13, 8, 0.82); border: 1px solid var(--camp-line);
}
.play-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 154, 74, 0.16); color: var(--camp-ink); font: inherit; font-size: 14px; font-weight: 700;
  transition: background-color 150ms;
}
.play-btn:hover { background: rgba(255, 154, 74, 0.32); }

.panel {
  position: absolute; right: 12px; top: 12px; z-index: 6;
  width: min(360px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto;
  padding: 12px 14px 16px; border-radius: var(--camp-radius);
  background: var(--camp-panel); border: 1px solid var(--camp-line);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8);
}
.panel--info { right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, calc(100% - 32px)); }
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.panel-title { margin: 0; font-size: 17px; font-weight: 800; }
.panel-sub { margin: 14px 0 8px; font-size: 14px; color: var(--camp-ember); }
.panel-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--camp-ink); font-size: 20px; cursor: pointer; }
.panel-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.panel-tabs [role="tab"] { flex: 1; min-height: 36px; border-radius: 8px; border: 1px solid var(--camp-line); background: transparent; color: var(--camp-dim); font: inherit; font-weight: 700; cursor: pointer; }
.panel-tabs [aria-selected="true"] { background: rgba(255, 154, 74, 0.18); color: var(--camp-ink); border-color: rgba(255, 154, 74, 0.6); }
.info-sum { margin: 0; font-size: 15px; line-height: 1.55; color: var(--camp-ink); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slots--empty { min-height: 72px; border: 1px dashed var(--camp-line); border-radius: 8px; }
.slot {
  position: relative; display: grid; grid-template-rows: 64px auto; justify-items: center; gap: 4px;
  padding: 4px; border-radius: 8px; border: 1px solid var(--camp-line); background: rgba(255, 255, 255, 0.03);
  color: var(--camp-ink); font: inherit; cursor: pointer; transition: border-color 150ms, transform 150ms var(--camp-ease);
}
.slot:hover { border-color: rgba(255, 154, 74, 0.7); transform: translateY(-1px); }
.slot-img { width: 64px; height: 64px; object-fit: cover; object-position: center; border-radius: 6px; background: #1d1611; }
.slot-img--none { visibility: hidden; }
.slot-mark { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; display: grid; place-items: center; border-radius: 6px; background: #5a3a24; font-size: 22px; font-weight: 800; }
.slot-n { position: absolute; top: 6px; right: 6px; padding: 0 5px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); font-size: 12px; font-weight: 800; }
.slot-name { width: 100%; font-size: 11px; line-height: 1.25; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.tip {
  position: fixed; left: 0; top: 0; z-index: 9; max-width: 240px;
  padding: 10px 12px; border-radius: 8px;
  background: #1b130d; border: 1px solid rgba(255, 154, 74, 0.55); box-shadow: 0 12px 28px -12px #000;
}
.tip-name { display: block; font-size: 14px; font-weight: 800; }
.tip-desc { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--camp-ink); }
.tip-act { margin-top: 8px; width: 100%; min-height: 36px; border-radius: 8px; border: 0; background: var(--camp-ember); color: #1a0f07; font: inherit; font-weight: 800; cursor: pointer; }
.tip-act:hover { background: #ffb06e; }

.toast {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 8; margin: 0;
  padding: 8px 14px; border-radius: 999px; background: rgba(20, 13, 8, 0.9); border: 1px solid var(--camp-line);
  font-size: 14px; font-weight: 700; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}

.warp { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: none; background: rgba(214, 233, 255, 0); transition: background-color 300ms ease-out; }
.warp--on { background: rgba(214, 233, 255, 0.94); }
.warp-card {
  display: grid; justify-items: center; gap: 10px; width: min(320px, calc(100% - 48px)); padding: 10px 10px 14px; border-radius: 12px;
  background: #182031; border: 1px solid rgba(143, 208, 255, 0.7); box-shadow: 0 20px 50px -20px rgba(30, 60, 120, 0.8);
  opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 250ms, transform 300ms var(--camp-ease);
}
.warp--on .warp-card { opacity: 1; transform: none; }
.warp--reduced, .warp--reduced .warp-card { transition-duration: 200ms; }
.warp-img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; background: #2a3447; }
.warp-q { display: grid; place-items: center; width: 100%; aspect-ratio: 1200 / 630; border-radius: 8px; background: linear-gradient(135deg, #3b2a55, #6a3f8a); font-size: 64px; font-weight: 900; color: #ffd79a; }
.warp-name { font-size: 18px; color: #eaf4ff; }
.warp--q .warp-card { border-color: rgba(216, 168, 255, 0.8); }

.load { position: absolute; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--camp-night); transition: opacity 400ms; }
.load--done { opacity: 0; pointer-events: none; }
.load-name { font-size: 22px; color: var(--camp-ember); letter-spacing: -0.01em; }
.load-bar { width: 200px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.load-bar i { display: block; height: 100%; background: var(--camp-ember); transform-origin: left; transform: scaleX(0.05); transition: transform 300ms; }

.flat { position: absolute; inset: 0; overflow: auto; padding: 16px; }
.flat-plan { position: relative; width: min(100%, 760px); aspect-ratio: 220 / 230; margin: 0 auto; }
.flat-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.fm-forest { fill: #0d120e; }
.fm-field { fill: #1b1d16; }
.fm-ruins { fill: #2a2a2d; }
.fm-camp { fill: #3a2c1f; stroke: #6b4a2b; stroke-width: 0.8; }
.fm-path { fill: none; stroke: #6c5a40; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fm-fire { fill: var(--camp-ember); }
.flat-pins { position: absolute; inset: 0; }
.flat-pin {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 2px; width: 64px;
  color: var(--camp-ink); text-decoration: none; font-size: 10px; line-height: 1.2; text-align: center;
}
.flat-pin img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 2px solid var(--camp-portal); background: #18202c; }
.flat-pin--stall img { border-color: var(--camp-ember); border-radius: 8px; }
.flat-pin span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px #000; }

@media (max-width: 480px) {
  .camp-home span, .camp-title { font-size: 15px; }
  .camp-top { gap: 8px; padding: 0 12px; }
  .camp-icon { width: 38px; height: 38px; }
  .panel { right: 8px; left: 8px; top: auto; bottom: 8px; width: auto; max-height: 64%; }
  .panel--info { left: 50%; right: auto; bottom: auto; top: 50%; width: min(340px, calc(100% - 32px)); }
  .play-btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .slot, .camp-icon, .warp, .warp-card, .load, .load-bar i { transition: none; }
}
.tip-count { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.tip-count button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--camp-line); background: transparent; color: var(--camp-ink); font-size: 18px; cursor: pointer; }
.tip-n { min-width: 2ch; text-align: center; font-size: 16px; }
.play-btn--feed { background: rgba(255, 154, 74, 0.38); }
.camp-gather {
  position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%);
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(160, 220, 140, 0.6);
  background: rgba(24, 40, 20, 0.86); color: #e6f6d8; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.camp-gather:hover { background: rgba(40, 66, 32, 0.92); }
.pop { position: absolute; left: 0; top: 0; color: #ffd98a; font-size: 20px; font-weight: 900; text-shadow: 0 2px 4px #000; opacity: 1; transition: opacity 1.2s ease-out, translate 1.2s var(--camp-ease); }
.pop--up { opacity: 0; translate: 0 -48px; }

/* name tags: rank badge, the red portal, the room's goblins, a soft swap when the ranking changes */
.pl-rank { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--camp-ember); color: #1a0f07; font-size: 11px; font-weight: 900; }
.pl-tag--red { border-color: rgba(255, 90, 74, 0.75); color: #ffe0da; }
.pl-tag--goblin-name { font-size: 12px; padding: 2px 8px; border-color: rgba(216, 168, 255, 0.6); color: #f4e8ff; }
.pl-tag { transition: opacity 300ms; }
.pl-tag--swap { opacity: 0; }
.pl-bubble {
  position: absolute; left: 0; top: 0; max-width: 220px; padding: 7px 11px; border-radius: 12px;
  background: rgba(255, 244, 228, 0.92); color: #2a160c; font-size: 13px; font-weight: 600; line-height: 1.4;
  box-shadow: 0 6px 16px -8px #000; opacity: 0.94; transition: opacity 800ms; word-break: keep-all;
}
.pl-bubble--out { opacity: 0; }
.camp-bag--got { animation: camp-got 700ms var(--camp-ease); }
@keyframes camp-got { 30% { transform: scale(1.18); background: rgba(255, 154, 74, 0.4); } }
.tip-img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; background: #2a1d14; }

/* minimap */
.mm { position: absolute; left: 12px; bottom: 12px; z-index: 4; display: grid; gap: 6px; justify-items: start; }
.mm-toggle { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--camp-line); background: rgba(20, 13, 8, 0.82); color: var(--camp-ink); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.mm-toggle:focus-visible, .mm-dot:focus-visible, .ask button:focus-visible { outline: 2px solid var(--camp-ember); outline-offset: 2px; }
.mm-plan { position: relative; width: 150px; aspect-ratio: 220 / 230; border-radius: 8px; overflow: hidden; border: 1px solid var(--camp-line); background: #0d120e; box-shadow: 0 10px 24px -12px #000; }
.mm--closed .mm-plan { display: none; }
.mm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-dot { position: absolute; width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; transform: translate(-50%, -50%); cursor: pointer; }
.mm-dot::after { content: ""; position: absolute; inset: -6px; }
.mm-dot--stall { background: var(--camp-ember); border-radius: 2px; }
.mm-dot--portal { background: #5aa8ff; }
.mm-dot--red { background: #ff4a3a; }
.mm-dot--fire { width: 11px; height: 11px; background: radial-gradient(#ffd27a, #ff7a2a); }
.mm-dot--chest { background: #c99a5b; border-radius: 2px; }
.mm-me { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid #111; transform: translate(-50%, -50%); pointer-events: none; }

/* 블린블린 농장 */
.farm-hud { position: absolute; left: 12px; top: 12px; z-index: 4; display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--camp-radius); background: rgba(30, 12, 10, 0.84); border: 1px solid rgba(255, 90, 74, 0.5); }
.farm-name { font-size: 15px; color: #ffb3a6; }
.farm-next { font-size: 12px; color: var(--camp-dim); }
.farm-left { font-variant-numeric: tabular-nums; color: var(--camp-ink); }
.ask { position: absolute; left: 50%; top: 50%; z-index: 7; transform: translate(-50%, -50%); width: min(300px, calc(100% - 32px)); padding: 16px; border-radius: var(--camp-radius); background: var(--camp-panel); border: 1px solid rgba(216, 168, 255, 0.6); box-shadow: 0 24px 48px -20px #000; text-align: center; }
.ask-text { margin: 0 0 12px; font-size: 16px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.ask-row { display: flex; gap: 8px; }
.ask-row button { flex: 1; min-height: 42px; border-radius: 8px; border: 1px solid var(--camp-line); background: transparent; color: var(--camp-ink); font: inherit; font-weight: 800; cursor: pointer; }
.ask-row .ask-yes { background: var(--camp-ember); color: #1a0f07; border-color: transparent; }
.camp-credit { position: absolute; right: 10px; bottom: 8px; z-index: 3; font-size: 11px; color: var(--camp-dim); text-decoration: none; opacity: 0.8; }
.camp-credit:hover { color: var(--camp-ink); text-decoration: underline; }
@media (max-width: 480px) {
  .mm-plan { width: 112px; }
  .mm { bottom: 8px; left: 8px; }
  .camp-gather { bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .camp-bag--got { animation: none; } .pl-bubble, .pl-tag { transition: none; } }

/* /plaza/credits */
.camp-credits { min-height: 100svh; }
.camp-back { text-decoration: none; }
.credits { max-width: 720px; margin: 0 auto; padding: 24px 16px 56px; line-height: 1.6; }
.credits h1 { margin: 0 0 12px; font-size: 26px; color: var(--camp-ember); }
.credits h2 { margin: 28px 0 8px; font-size: 17px; }
.credits ul { margin: 0; padding-left: 18px; }
.credits li { margin: 6px 0; color: var(--camp-ink); }
.credits p { color: var(--camp-dim); }
.credits a { color: var(--camp-ember); }
.credits-note { margin-top: 28px; font-size: 13px; }

/* 야영지 talk (public/plaza/chat-ui.js; camp-chat-ref.md 적용안): a see-through panel on the left above the bottom bar */
.camp {
  --chat-name: #c9b58a;
  --chat-text: #eae6dc;
  --chat-system: #8f8fe8;
  --chat-lore: #c8a96a;
  --chat-bg: rgba(10, 8, 6, 0.55);
  --chat-bar: rgba(10, 8, 6, 0.75);
  --chat-line-c: rgba(160, 140, 110, 0.45);
  --chat-w: min(30%, 480px);
  --chat-bottom: 76px;
}
.chat {
  position: absolute; left: 12px; bottom: var(--chat-bottom); z-index: 5;
  width: var(--chat-w); min-width: 300px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  height: calc(10 * 1.55em + 84px); max-height: calc(100% - var(--chat-bottom) - 24px);
  background: var(--chat-bg); border: 1px solid var(--chat-line-c); font-size: 14px;
}
.chat-tabs { display: flex; align-items: stretch; background: var(--chat-bar); border-bottom: 1px solid var(--chat-line-c); }
.chat-tab { padding: 5px 14px; border: 0; border-right: 1px solid var(--chat-line-c); background: rgba(201, 181, 138, 0.12); color: var(--chat-name); font: inherit; font-size: 13px; font-weight: 700; }
.chat-fold { margin-left: auto; width: 34px; border: 0; background: transparent; color: var(--chat-name); font: inherit; cursor: pointer; }
.chat-log { margin: 0; padding: 6px 10px; list-style: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--chat-line-c) transparent; }
.chat-line { position: relative; padding: 1px 0; line-height: 1.55; color: var(--chat-text); overflow-wrap: anywhere; }
.chat-name { color: var(--chat-name); font-weight: 600; }
.chat-name--me::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 5px 2px 0; border-radius: 50%; background: var(--chat-name); vertical-align: middle; }
.chat-sep { color: var(--chat-name); }
.chat-line--system .chat-text { color: var(--chat-system); }
.chat-line--lore .chat-text { color: var(--chat-lore); }
.chat-report { margin-left: 6px; padding: 0 5px; border: 1px solid var(--chat-line-c); border-radius: 3px; background: transparent; color: #b8ab92; font: inherit; font-size: 11px; line-height: 1.5; cursor: pointer; opacity: 0; }
.chat-line:hover .chat-report, .chat-report:focus-visible, .chat-report:disabled { opacity: 1; }
.chat-input { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: var(--chat-bar); border-top: 1px solid var(--chat-line-c); }
.chat-fire { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--chat-line-c); color: var(--camp-ember); }
.chat-prefix { color: var(--chat-text); opacity: 0.85; white-space: nowrap; }
.chat-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--chat-text); font: inherit; font-size: 16px; caret-color: var(--chat-text); } /* 16px+ keeps iOS Safari from zooming on focus */
.chat-tab:focus-visible, .chat-fold:focus-visible, .chat-report:focus-visible, .chat-btn:focus-visible { outline: 2px solid var(--chat-name); outline-offset: 1px; }
.chat-peek { position: absolute; left: 12px; bottom: var(--chat-bottom); z-index: 4; width: var(--chat-w); min-width: 300px; margin: 0; padding: 6px 10px; list-style: none; pointer-events: none; font-size: 14px; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, 0.6); }
.chat-peek .chat-line { animation: chat-fade 8s linear forwards; }
@keyframes chat-fade { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
.chat-btn { display: none; }
.pl-say {
  position: absolute; left: 0; top: 0; max-width: 260px; padding: 4px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(8, 7, 6, 0.62); color: #fff; font-size: 14px; line-height: 1.4; border-radius: 2px; opacity: 1; transition: opacity 600ms linear;
}
.pl-say--out { opacity: 0; }
/* the minimap moves right so the talk has the left side */
.mm { left: auto; right: 12px; bottom: 28px; justify-items: end; }
@media (max-width: 700px), (pointer: coarse) {
  .chat { left: 0; right: 0; bottom: 0; width: auto; min-width: 0; height: min(56%, 420px); border-width: 1px 0 0; font-size: 15px; z-index: 8; }
  .chat-peek { top: 10px; bottom: auto; left: 10px; width: min(70%, 320px); min-width: 0; font-size: 13px; }
  .chat-btn { display: grid; place-items: center; position: absolute; left: 10px; bottom: 12px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--chat-line-c); background: var(--chat-bar); color: var(--chat-name); cursor: pointer; }
  .chat-open .chat-btn { display: none; }
  .pl-say { font-size: 15px; }
  .mm { bottom: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .pl-say { transition: none; } .chat-peek .chat-line { animation-duration: 0.01s; animation-delay: 7.9s; } }

/* 내 캐릭터 고르기 (picker.js; chars.md §2): the camp stays behind, a card on the right, chips along the bottom */
.picking .camp-play, .picking .camp-gather, .picking .mm, .picking .chat, .picking .chat-peek, .picking .chat-btn, .picking #labels { visibility: hidden; }
.pk { position: absolute; inset: 0; z-index: 9; pointer-events: auto; background: linear-gradient(90deg, rgba(7, 8, 12, 0) 45%, rgba(7, 8, 12, 0.55)); }
.pk-top { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; align-items: center; gap: 8px; }
.pk-title { padding: 6px 12px; border-radius: 999px; background: rgba(20, 13, 8, 0.82); border: 1px solid var(--camp-line); font-size: 14px; font-weight: 800; color: var(--camp-ember); }
.pk-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--camp-line); background: rgba(20, 13, 8, 0.82); color: var(--camp-ink); font-size: 22px; cursor: pointer; }
.pk-arrow { position: absolute; top: 46%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--camp-line); background: rgba(20, 13, 8, 0.82); color: var(--camp-ink); font-size: 28px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.pk-prev { left: 18px; }
.pk-next { left: calc(100% - 420px); }
.pk-card { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100% - 48px)); display: grid; gap: 10px; padding: 22px 22px 20px; border-radius: 16px; background: rgba(18, 13, 10, 0.86); border: 1px solid var(--camp-line); box-shadow: 0 30px 60px -30px #000; }
.pk-job { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(255, 154, 74, 0.16); color: var(--camp-ember); font-size: 13px; font-weight: 700; }
.pk-name { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: var(--camp-ink); }
.pk-intro { margin: 0; font-size: 15px; line-height: 1.55; color: var(--camp-dim); word-break: keep-all; }
.pk-holds { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-pill { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--camp-line); font-size: 13px; color: var(--camp-ink); }
.pk-enter { margin-top: 6px; min-height: 48px; border-radius: 999px; border: 0; background: var(--camp-ember); color: #1a0f07; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; transition: transform 150ms var(--camp-ease), background-color 150ms; }
.pk-enter:hover { background: #ffb06e; }
.pk-enter:active { transform: scale(0.98); }
.pk-chips { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; justify-content: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.pk-chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--camp-line); background: rgba(20, 13, 8, 0.82); color: var(--camp-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pk-chip--on { border: 2px solid var(--camp-ember); color: var(--camp-ember); }
.pk-close:focus-visible, .pk-arrow:focus-visible, .pk-enter:focus-visible, .pk-chip:focus-visible { outline: 2px solid var(--camp-ember); outline-offset: 2px; }
@media (max-width: 700px) {
  .pk { background: linear-gradient(180deg, rgba(7, 8, 12, 0) 40%, rgba(7, 8, 12, 0.6)); }
  .pk-arrow { top: 34%; }
  .pk-next { left: auto; right: 12px; }
  .pk-prev { left: 12px; }
  .pk-card { left: 12px; right: 12px; top: auto; bottom: 12px; transform: none; width: auto; padding: 16px; gap: 8px; }
  .pk-name { font-size: 24px; }
  .pk-holds { display: none; }
  .pk-chips { bottom: auto; top: 58%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .pk-enter { transition: none; } }

/* phones: the five header buttons and the title on one line; the talk peek below the goblin-room clock */
.camp-title { white-space: nowrap; }
@media (max-width: 420px) {
  .camp-top { gap: 6px; padding: 0 10px; }
  .camp-home { font-size: 14px; }
  .camp-title { font-size: 14px; }
  .camp-icons { gap: 4px; }
  .camp-icon { width: 34px; height: 34px; }
  .camp-icon svg { width: 19px; height: 19px; }
}
@media (max-width: 700px), (pointer: coarse) {
  .farm-hud:not([hidden]) ~ .chat-peek { top: 74px; }
}
