#camp-screen { background: #101014; }
.camp-nav { flex: 0 0 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.camp-nav > strong { font-size: 15px; }
.camp-nav > span { color: #b7ff2a; font-size: 12px; min-width: 44px; text-align: right; }
.camp-icon-button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; background: transparent; }
.camp-friends { display: flex; flex: 0 0 auto; gap: 12px; padding: 4px 20px 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; border-bottom: 1px solid #303037; }
.camp-friend { flex: 0 0 80px; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: transparent; font-size: 12px; line-height: 18px; color: #c5c5ce; }
.camp-avatar { position: relative; display: block; width: 44px; height: 44px; padding: 3px; border: 2px solid #4b4b57; border-radius: 50%; background: #2d3038; }
.camp-avatar img { width: 100%; height: 100%; object-fit: contain; }
.camp-friend[aria-pressed="true"] { color: #b7ff2a; }
.camp-friend[aria-pressed="true"] .camp-avatar { border-color: #b7ff2a; background: #373d29; }
.camp-friend[data-visit-camp="party"] .camp-avatar { background: #493343; }
.camp-friend .camp-avatar-pin { position: absolute; right: -7px; bottom: -2px; width: 17px; height: 17px; color: #f9a0ca; }
.camp-header { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 12px 18px; }
.camp-owner { flex: 1 1 auto; min-width: 0; }
.camp-header h2 { margin: 0 0 5px; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.camp-header p { margin: 0; color: #b3b3bf; font-size: 11px; line-height: 1.6; }
.camp-header p span { color: #ffa1d0; margin-right: 7px; }
#camp-save .icon { width: 22px; height: 22px; }
#camp-save[aria-pressed="true"] { color: #b7ff2a; }
#camp-voice { display: flex; flex: 0 0 60px; min-height: 54px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #b7ff2a; color: #101014; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 650; }
#camp-voice .icon { width: 26px; height: 23px; filter: brightness(0); }
.camp-scene { position: relative; isolation: isolate; flex: 1 1 400px; min-height: 180px; overflow: hidden; background: #899675; }
.camp-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camp-object { position: absolute; padding: 0; min-width: 44px; min-height: 44px; background: transparent; transform-origin: 50% 90%; }
.camp-object img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(2px 6px 3px #181e2648); }
.camp-object::after { content: ""; position: absolute; inset: -3px; border: 1px solid transparent; border-radius: 8px; pointer-events: none; }
.camp-object:hover::after, .camp-object:focus-visible::after { border-color: #fafaf5; box-shadow: 0 0 0 1px #27273055; }
#camp-screen [hidden] { display: none !important; }
.camp-object-house { left: 56%; top: 3%; width: 38%; height: 33%; z-index: 1; }
.camp-object-radish { left: 12%; top: 38%; width: 29%; height: 33%; z-index: 3; }
.camp-object-radish img { animation: camp-float 3.4s ease-in-out infinite; }
.camp-object-anu { left: 59%; top: 40%; width: 24%; height: 30%; z-index: 3; }
.camp-object-anu img { animation: camp-idle 4.2s ease-in-out infinite; }
.camp-object-amu { left: 39%; top: 58%; width: 24%; height: 29%; z-index: 5; }
.camp-object-amu img { animation: camp-idle 3.8s ease-in-out infinite; }
.camp-object-fountain { left: 5%; top: 30%; width: 43%; height: 43%; z-index: 3; }
.camp-object-fountain img { animation: camp-idle 2.5s ease-in-out infinite; }
.camp-object-spring { left: 60%; top: 44%; width: 26%; height: 25%; z-index: 4; }
.camp-object-spring img { animation: camp-spring 2.8s ease-in-out infinite; }
.camp-recent { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 20px; }
.camp-recent .icon { flex: 0 0 23px; height: 23px; color: #b7ff2a; }
.camp-recent p { margin: 0; font-size: 12px; color: #dddde5; line-height: 1.65; }
.camp-recent small { display: block; color: #a5a5b3; font-size: 10px; }
.camp-actions { position: relative; flex: 0 0 auto; padding: 6px 20px 26px; }
.camp-actions::after { content: ""; position: absolute; bottom: 8px; left: calc(50% - 66px); width: 132px; height: 5px; border-radius: 4px; background: #f7f7f2; }
.camp-join { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; width: 100%; background: #b7ff2a; color: #101014; border-radius: 6px; font-size: 15px; font-weight: 750; }
.camp-join .icon { width: 24px; height: 24px; filter: brightness(0); }
#camp-screen .tabs { margin-top: 0; }
#camp-screen[data-guest="true"] .tabs { display: none; }
.camp-toast { position: absolute; z-index: 5; bottom: 90px; left: 20px; right: 20px; padding: 12px; border: 1px solid #53535c; border-radius: 6px; background: #26262ff5; font-size: 12px; line-height: 1.6; text-align: center; pointer-events: none; }
.camp-toast:empty { display: none; }
.camp-detail { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; background: #06060a80; }
.camp-detail-sheet { position: relative; width: 100%; max-height: 80%; overflow: auto; background: #202026; border-radius: 8px 8px 0 0; padding: 24px 24px 40px; box-shadow: 0 -12px 36px #0005; }
.camp-detail-close { position: absolute; right: 9px; top: 9px; }
.camp-detail-close .icon { width: 20px; height: 20px; }
.camp-detail-art { display: block; width: 128px; height: 140px; object-fit: contain; margin: 0 auto 16px; }
.camp-detail-sheet small { color: #ffaad3; font-size: 11px; }
.camp-detail-sheet h3 { font-size: 23px; margin: 7px 0 12px; }
.camp-detail-sheet p { font-size: 13px; line-height: 1.8; color: #cdccd6; margin: 0; }
.camp-detail-source { border-top: 1px solid #414149; margin-top: 17px !important; padding-top: 13px; font-size: 11px !important; color: #aeadbc !important; }
@keyframes camp-idle { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg) translateY(-2px); } }
@keyframes camp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes camp-spring { 0%,60%,100% { transform: scaleY(1); } 72% { transform: scaleY(.84); } 82% { transform: scaleY(1.06) translateY(-5px); } }
.paused #camp-screen *, .document-hidden #camp-screen *, #camp-column[hidden] * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { #camp-screen * { animation: none !important; } }
@media (max-height: 740px) {
  body.export .camp-nav { flex-basis: 44px; }
  body.export .camp-header { padding-top: 8px; padding-bottom: 8px; }
  body.export .camp-recent { min-height: 53px; padding-top: 7px; padding-bottom: 7px; }
}
@media (max-height: 620px) {
  body.export #camp-screen .statusbar { flex-basis: 36px; }
  body.export #camp-screen .island { display: none; }
  body.export .camp-friends { padding-top: 2px; padding-bottom: 6px; }
  body.export .camp-friend { min-height: 50px; font-size: 11px; line-height: 14px; }
  body.export .camp-avatar { width: 32px; height: 32px; padding: 1px; }
  body.export .camp-header h2 { font-size: 18px; }
  body.export .camp-header { padding-left: 14px; padding-right: 14px; }
  body.export .camp-scene { min-height: 150px; }
}
