
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #0c1524;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  color: #f0f4f8;
  position: relative;
}

#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: none;
  z-index: 1;
}

.header-action-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;               /* 위아래 사이 간격 (중첩 해결) */
  margin-top: 10px !important;
  pointer-events: auto !important;
}

/* 좌측 중앙 실시간 네온사인 전광판 (기본 숨김) */
.neon-board-container {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  z-index: 45;
  width: 320px;
  background: rgba(8, 15, 28, 0.92);
  backdrop-filter: blur(14px);
  border: 1.5px solid #00f0ff;
  border-radius: 18px;
  padding: 10px 14px 12px;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35), inset 0 0 12px rgba(0, 240, 255, 0.12);
  user-select: none;
  display: none;
}

.neon-board-container.open {
  display: block !important;
}

.neon-board-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.25);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.neon-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff0055;
  box-shadow: 0 0 8px #ff0055;
  animation: neonBlink 1s infinite alternate;
}

@keyframes neonBlink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.neon-ticker-viewport {
  height: 224px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.neon-ticker-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: neonScrollDown 30s linear infinite;
}

.neon-ticker-viewport:hover .neon-ticker-track {
  animation-play-state: paused;
}

@keyframes neonScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0%); }
}

.neon-item {
  height: 26px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 4px;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.neon-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.neon-date {
  font-size: 10px;
  color: #64748b;
  font-family: ui-monospace, monospace;
  flex-shrink: 0;
}

.neon-nick {
  font-weight: 700;
  color: #ffeaa7;
  text-shadow: 0 0 6px rgba(255, 234, 167, 0.35);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.neon-kw {
  font-weight: 800;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 8px;
  border: 1px solid;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  transition: all 0.2s ease;
}

/* 우측 상단 컨트롤 레이아웃 */
.top-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.top-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 2. 눈 내림 조절 카드 (윗 버튼과 완벽히 동일한 크기) */
.snow-control-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 200px !important;           /* 윗 버튼과 정확히 일치하는 너비 (길어짐 해결) */
  height: 34px !important;           /* 윗 버튼과 동일한 높이 */
  padding: 0 14px !important;
  background: rgba(14, 22, 36, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  position: static !important;        /* 기존 absolute 해제 (겹침 방지) */
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  user-select: none;
  /* 추가된 속성: 투명도 0으로 설정 및 부드러운 전환 효과 */
  opacity: 0; 
  transition: opacity 0.3s ease-in-out;
  pointer-events: auto !important; /* 투명해도 마우스/터치를 감지하도록 유지 */
}

/* 마우스 호버(PC) 또는 터치/슬라이더 조작(모바일) 시 100% 보이게 변경 */
.snow-control-card:hover,
.snow-control-card:active,
.snow-control-card:focus-within {
  opacity: 1;
}

.snow-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #ffeaa7 !important;
  white-space: nowrap !important;
}

/* 3. 카드 안쪽 슬라이더 바 (길이 제한) */
.snow-slider {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 95px !important;            /* 슬라이더 바 폭을 카드에 맞춤 */
  height: 5px !important;
  border-radius: 3px !important;
  outline: none !important;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.25) 0%, #74b9ff 50%, #ffffff 100%) !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.snow-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #e2f1ff !important;
  border: 2px solid #3867d6 !important;
  cursor: pointer !important;
}

.bgm-btn {
  background: rgba(16, 25, 41, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 235, 167, 0.28);
  color: #ffeaa7;
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  user-select: none;
  white-space: nowrap;
}

.bgm-btn:hover {
  background: rgba(26, 40, 66, 0.95);
  border-color: #ffd700;
  transform: translateY(-2px);
}

.bgm-btn.playing {
  border-color: #ffd700;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.4);
}

.music-note-icon {
  display: inline-block;
  font-size: 13px;
}

.bgm-btn.playing .music-note-icon {
  animation: noteBounce 1.2s ease-in-out infinite alternate;
}

@keyframes noteBounce {
  0% { transform: scale(1) rotate(-5deg); }
  100% { transform: scale(1.25) rotate(10deg); }
}

/* BGM 탐색 바 */
.bgm-progress-card {
  width: 300px;
  background: rgba(13, 22, 38, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 14px;
  padding: 6px 12px 7px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  user-select: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bgm-progress-card.open {
  display: flex !important;
}

.bgm-progress-label {
  font-size: 10.5px;
  color: #ffd700;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bgm-seek-bar {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}

.bgm-seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #ffffff;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.bgm-seek-bar::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.bgm-time-text {
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #cbd5e1;
  min-width: 65px;
  text-align: right;
}

/* 실시간 라디오 플레이어 카드 */
.radio-player-card {
  width: 300px;
  background: rgba(13, 22, 38, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 235, 167, 0.3);
  border-radius: 18px;
  padding: 10px 12px 11px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  gap: 7px;
  user-select: none;
}

.radio-player-card.open {
  display: flex !important;
}

.radio-audio-bar-wrap {
  width: 100%;
  margin-top: 3px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.radio-audio-controls {
  width: 100%;
  height: 36px;
  outline: none;
}

.radio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
  margin-bottom: 2px;
}

.radio-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  transition: all 0.3s ease;
}

.radio-live-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: radioPulse 1.2s infinite alternate;
}

@keyframes radioPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.25); }
}

.radio-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffeaa7;
  letter-spacing: -0.3px;
}

.radio-status {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}

.radio-status.active {
  color: #38bdf8;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

.radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.radio-channel-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.radio-channel-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  transform: translateY(-1px);
}

.radio-channel-btn.active {
  background: rgba(34, 197, 94, 0.22);
  border-color: #22c55e;
  color: #86efac;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

.stn-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

.stn-badge.kbs { background: #1d4ed8; color: #eff6ff; }
.stn-badge.mbc { background: #0284c7; color: #f0f9ff; }
.stn-badge.sbs { background: #059669; color: #ecfdf5; }

/* 중앙 상단 헤더 */
header {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 580px;
}

header h1 {
  font-size: 23px;
  font-weight: 700;
  color: #fdfbf7;
  text-shadow: 0 0 18px rgba(255, 235, 167, 0.7);
  letter-spacing: -0.5px;
}

header p {
  margin-top: 4px;
  font-size: 12.5px;
  color: #a4bdd6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.forest-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  background: rgba(14, 22, 36, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  color: #ffeaa7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* 1. 수정 사항 및 의견 보내기 버튼 */
.feedback-mail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 200px !important;           /* 아랫 카드와 정확히 일치하는 너비 */
  height: 34px !important;
  background: rgba(14, 22, 36, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #ffeaa7 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  position: static !important;        /* 기존 absolute 해제 (겹침 방지) */
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease;
}

.feedback-mail-btn:hover {
  background: rgba(26, 40, 66, 0.95) !important;
  border-color: #ffd700 !important;
}

/* 마우스 호버 라벨 */
#hoverLabel {
  position: absolute;
  z-index: 20;
  background: rgba(14, 21, 35, 0.94);
  border: 1.5px solid #ffd700;
  color: #fff;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

/* 하단 메인 도크 */
.dock-container {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 660px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.dock-toggle-btn {
  pointer-events: auto;
  background: rgba(16, 25, 41, 0.92);
  backdrop-filter: blur(16px);
  border: 1.5px solid #ffd700;
  color: #ffeaa7;
  padding: 10px 22px;
  border-radius: 28px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 215, 0, 0.3);
  transition: all 0.25s ease;
  user-select: none;
}

.dock-toggle-btn:hover {
  background: rgba(28, 43, 70, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
}

.dock-toggle-arrow {
  font-size: 11px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dock-content-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(16px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.28s ease, 
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.dock-container.open .dock-content-wrap {
  max-height: 550px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dock-container.open .dock-toggle-arrow {
  transform: rotate(180deg);
}

.tree-target-bar {
  background: rgba(14, 22, 36, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #f1f5f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.tree-target-info {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tree-target-name { color: #ffd700; font-weight: 700; }
.tree-target-guide { font-size: 11px; color: #9cb3c9; }

.selector-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.scroll-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22, 33, 52, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffeaa7;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 5;
  font-size: 13px;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.scroll-arrow-btn:hover { background: #ffd700; color: #111; transform: scale(1.1); }
.scroll-arrow-btn.left { left: 4px; }
.scroll-arrow-btn.right { right: 4px; }

.ornament-selector {
  width: 100%;
  background: rgba(14, 22, 36, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 7px 38px 9px 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  scroll-behavior: smooth;
}
.ornament-selector.grabbing { cursor: grabbing; scroll-behavior: auto; }
.ornament-selector::-webkit-scrollbar { height: 4px; }
.ornament-selector::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.35); border-radius: 2px; }

.selector-label {
  font-size: 11px;
  color: #9cb3c9;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  flex-shrink: 0;
}

.ornament-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 5px 11px;
  font-size: 12px;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ornament-chip:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.ornament-chip.active {
  background: rgba(226, 166, 59, 0.25);
  border-color: #ffd700;
  color: #ffd700;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

/* 색상 & 명도 선택기 */
.color-picker-card {
  background: rgba(14, 22, 36, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 9px 16px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.color-preview-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ff0000;
  transition: background 0.1s linear;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.slider-sublabel {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}

.hue-slider, .lightness-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 10px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.hue-slider {
  background: linear-gradient(to right, 
    #ff0000 0%, #ff7f00 14%, #ffff00 28%, #00ff00 42%, 
    #00ffff 57%, #0077ff 71%, #8b00ff 85%, #ff007f 93%, #ff0000 100%
  );
}

.lightness-slider {
  background: linear-gradient(to right, #000000 0%, #ff0000 50%, #ffffff 100%);
}

.hue-slider::-webkit-slider-thumb, .lightness-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.color-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9cb3c9;
  padding: 0 2px;
}

.hex-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #f7fafc;
  letter-spacing: 0.5px;
}

/* 별명 + 소원 입력 도크 */
.input-dock {
  background: rgba(16, 25, 41, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 10px 14px 10px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.nickname-wrap {
  width: 120px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 10px;
  display: flex;
  flex-direction: column;
}

.nickname-wrap input {
  width: 100%;
  height: 26px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffeaa7;
  font-size: 13.5px;
  font-weight: 700;
}

.nickname-wrap input::placeholder { color: #64748b; font-weight: 500; }
.nickname-sub { font-size: 10.5px; color: #64748b; margin-top: 3px; }

.textarea-wrap { flex: 1; display: flex; flex-direction: column; }
.input-dock textarea {
  width: 100%;
  height: 26px;
  max-height: 120px;
  background: transparent;
  border: none;
  outline: none;
  color: #f7fafc;
  font-size: 14.5px;
  line-height: 1.45;
  resize: none;
}
.input-dock textarea::placeholder { color: #72849a; }

.input-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: #6d8096;
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2a63b;
  border: none;
  color: #101620;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.send-btn:hover { background: #f7bb4d; transform: scale(1.05); }
.send-btn:disabled { background: #313d4e; color: #5e6f82; cursor: not-allowed; transform: none; }
.send-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* 소원 상세 모달 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 16, 0.78);
  backdrop-filter: blur(8px);
  z-index: 60;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 410px;
  border-radius: 22px;
  padding: 26px;
  position: relative;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75);
  animation: pop 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  background: #182234;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

@keyframes pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 13.5px;
  padding: 5px 14px;
  border-radius: 16px;
  background: #ffffff;
  color: #0d1522 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.3px;
}

.modal-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: #ffd700; display: inline-block; }
.modal-shape-tag { font-size: 12.5px; color: #ffeaa7; display: flex; align-items: center; gap: 5px; font-weight: 600; }
.modal-author-tag { font-size: 12px; color: #38bdf8; font-weight: 700; }
.modal-tree-tag { font-size: 11px; color: #94a3b8; margin-left: auto; background: rgba(255, 255, 255, 0.08); padding: 3px 8px; border-radius: 10px; }
.modal-text { font-size: 15.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-all; color: #f8fafc; padding: 6px 0; }
.modal-date { margin-top: 16px; font-size: 11.5px; color: #94a3b8; text-align: right; }

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s;
}
.close-btn:hover { background: rgba(255, 255, 255, 0.25); }

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(16, 25, 41, 0.96);
  border: 1px solid #ffd700;
  color: #ffeaa7;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 모바일 반응형 */
@media (max-width: 768px) {
  .top-controls {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .snow-control-card { padding: 5px 10px; gap: 6px; }
  .snow-slider { width: 60px; }
  .bgm-btn { padding: 6px 10px; font-size: 11px; }
  .bgm-progress-card { width: 240px; padding: 5px 8px; }
  
  header { top: 54px; }
  header h1 { font-size: 18px; }
  .dock-container { bottom: 10px; width: calc(100% - 16px); gap: 6px; }
  .dock-toggle-btn { padding: 8px 18px; font-size: 12.5px; }
  .nickname-wrap { width: 85px; padding-right: 6px; }

  .radio-player-card {
    width: 260px;
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  }

  .neon-board-container {
    width: 260px;
    left: 10px;
    z-index: 100;
  }

  .radio-channel-btn { font-size: 10px; padding: 5px 4px; }
  .stn-badge { font-size: 8px; }
  .scroll-arrow-btn { display: none; }
  .ornament-selector { padding: 6px 12px 8px 12px; }
}

/* 모바일 화면 대응 */
@media (max-width: 768px) {
  .forest-back-btn {
    top: 14px;
    left: 14px;
    padding: 8px 12px;
  }
  .forest-back-btn .back-text {
    font-size: 11px;
  }
}