/* 每日主题横幅 + 园区池塘钓鱼样式 */
#daily-theme-pill {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid #5a3c28;
  background: linear-gradient(180deg, #fff8de, #ffe7a8);
  color: #462e1f;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 0 #5a3c28;
  cursor: pointer;
  white-space: nowrap;
}
#daily-theme-pill small { color: #a85616; font-size: 11px; font-weight: 700; }
#daily-theme-pill[hidden], body.photo-mode #daily-theme-pill, body.world-boss-active #daily-theme-pill, body:not([data-zone="lounge"]) #daily-theme-pill { display: none !important; }
@media (max-width: 780px) {
  #daily-theme-pill { top: 56px; font-size: 11px; padding: 4px 10px; }
  #daily-theme-pill small { display: none; }
}

#daily-theme-dialog { width: min(520px, 94vw); }
.dt-today {
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5d6, #ffe3a8);
  border: 2px solid #5a3c28;
  margin-bottom: 12px;
}
.dt-today strong { display: block; font-size: 15px; color: #462e1f; margin-bottom: 5px; }
.dt-today p { margin: 0; font-size: 12px; line-height: 1.55; color: #6e4f3a; }
.dt-list { display: grid; gap: 7px; }
.dt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 11px;
  background: #fffdf8;
  border: 1.5px solid #dbc09c;
  font-size: 12px;
}
.dt-row.is-today { background: #fff4cf; border-color: #5a3c28; font-weight: 900; }
.dt-row small { color: #8c6b50; font-size: 11px; }

/* 园区池塘钓鱼 */
#park-fishing-dialog { width: min(600px, 94vw); max-height: min(88dvh, 780px); overflow-y: auto; }
.pond-stage {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #b8e8f8, #6bbce0 58%, #3c8fb8);
  border: 2.5px solid #5a3c28;
  margin-bottom: 12px;
  text-align: center;
}
.pond-water { min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pond-bobber { font-size: 32px; transition: transform .25s ease; }
.pond-bobber.is-cast { transform: translateY(6px); }
.pond-bobber.is-bite { animation: pond-bite .22s ease-in-out infinite alternate; }
@keyframes pond-bite { from { transform: translateY(2px) scale(1.1); } to { transform: translateY(14px) scale(0.95); } }
.pond-status {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 242, 0.92);
  border: 1.5px solid #5a3c28;
  color: #462e1f;
  font-size: 12px;
  font-weight: 800;
}
.pond-qte { margin-top: 10px; }
.pond-qte-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #5a3c28;
  overflow: hidden;
}
.pond-qte-zone {
  position: absolute;
  left: 34%;
  width: 38%;
  top: 0;
  bottom: 0;
  background: rgba(84, 196, 114, 0.55);
}
#pond-qte-cursor {
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 12px;
  margin-left: -6px;
  border-radius: 999px;
  background: #f46c3b;
  border: 1.5px solid #5a3c28;
}
.pond-qte-prog {
  margin-top: 7px;
  height: 10px;
  border-radius: 999px;
  background: rgba(20, 50, 70, 0.45);
  border: 1.5px solid #5a3c28;
  overflow: hidden;
}
#pond-qte-fill { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #ffe066, #5ec472); }
.pond-qte small { display: block; margin-top: 5px; color: #fffdf5; font-size: 11px; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.pond-actions { display: flex; gap: 8px; align-items: center; }
.pond-actions .wide { flex: 1; margin: 0; }
.pond-sell-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  border: 2px solid #5a3c28;
  border-bottom: 4px solid #8a5b08;
  background: linear-gradient(180deg, #ffe899, #ffd257);
  color: #462e1f;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.pond-sell-btn:disabled { opacity: 0.55; cursor: default; }
.pond-codex {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.pond-codex-item {
  padding: 8px 4px;
  text-align: center;
  border-radius: 11px;
  background: #f5ead8;
  border: 1.5px solid #d5bc98;
  opacity: 0.65;
}
.pond-codex-item.is-owned { background: #fffdf8; border-color: #5a3c28; opacity: 1; }
.pond-icon { display: block; font-size: 22px; }
.pond-codex-item b { display: block; font-size: 11px; color: #462e1f; margin-top: 2px; }
.pond-codex-item small { display: block; font-size: 9px; color: #8c6b50; }
@media (max-width: 560px) {
  .pond-codex { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pond-actions { flex-direction: column; }
  .pond-actions .wide, .pond-sell-btn { width: 100%; }
}

/* 园区菜单分组标签 & 音量手感设置 */
.menu-group-label {
  padding: 8px 10px 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #a86426;
  border-top: 1px dashed rgba(168, 120, 74, 0.35);
  margin-top: 4px;
}
.menu-head + .menu-group-label { border-top: 0; margin-top: 0; }
#park-audio-dialog { width: min(460px, 92vw); }
.paudio-list { display: grid; gap: 10px; margin-bottom: 14px; }
.paudio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  background: #fffdf8;
  border: 2px solid #dbc09c;
}
.paudio-row strong { display: block; font-size: 13px; color: #462e1f; font-weight: 900; }
.paudio-row small { display: block; margin-top: 2px; font-size: 10px; color: #8c6b50; }
.paudio-ctrl { display: flex; align-items: center; gap: 8px; }
.paudio-ctrl input[type="range"] { width: 115px; accent-color: #f49442; }
.paudio-ctrl b { min-width: 36px; text-align: right; font-size: 12px; color: #5a3c28; font-variant-numeric: tabular-nums; }
.paudio-toggle input[type="checkbox"] { width: 22px; height: 22px; accent-color: #f49442; }

/* 乱斗区实时 TOP 3 排名条 + 切地图按钮 + 局内事件提示（胡桃鎏金战报风） */
#brawl-live-strip {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(640px, calc(100vw - 470px));
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(46, 33, 25, 0.92), rgba(28, 19, 14, 0.94));
  border: 2px solid #e6be72;
  color: #fff6e4;
  font-size: 11px;
  box-shadow: 0 3px 0 rgba(32, 18, 10, 0.72), 0 8px 20px rgba(10, 8, 6, 0.45), inset 0 1px 0 rgba(255, 236, 184, 0.25);
  overflow: hidden;
}
#brawl-live-strip[hidden], body.photo-mode #brawl-live-strip { display: none !important; }
.brawl-top3 { display: inline-flex; align-items: center; gap: 9px; overflow: hidden; white-space: nowrap; }
.brawl-top3 span { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.brawl-top3 span b { color: #ffe07d; font-variant-numeric: tabular-nums; margin-left: 1px; }
.brawl-top3 span.is-me { color: #8ff7b2; background: rgba(94, 196, 114, 0.18); padding: 1px 6px; border-radius: 999px; }
.brawl-event-chip {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 198, 72, 0.22);
  border: 1.5px solid #ffd466;
  color: #ffe89e;
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}
.brawl-event-chip.is-final { background: linear-gradient(180deg, #f26452, #c93326); border-color: #ffe39a; color: #fffaf0; animation: brawl-chip-pulse 0.9s ease-in-out infinite alternate; }
.brawl-event-chip.is-event { background: linear-gradient(180deg, #4cc77d, #2c9657); border-color: #c8ffdc; color: #ffffff; }
@keyframes brawl-chip-pulse { from { transform: scale(1); } to { transform: scale(1.04); } }
.brawl-map-btn {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid #f0c97a;
  background: linear-gradient(180deg, rgba(255, 224, 148, 0.25), rgba(212, 152, 62, 0.22));
  color: #ffefc2;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, background 0.14s ease;
}
.brawl-map-btn:hover { background: rgba(255, 224, 148, 0.36); transform: translateY(-1px); }
@media (max-width: 1260px) {
  #brawl-live-strip { max-width: min(500px, calc(100vw - 440px)); gap: 6px; padding: 4px 10px; font-size: 10.5px; }
  .brawl-top3 span:nth-child(2):not(.is-me),
  .brawl-top3 span:nth-child(3):not(.is-me) { display: none; }
}
@media (max-width: 960px) {
  #brawl-live-strip { max-width: calc(100vw - 380px); }
  .brawl-map-btn { display: none; }
}
@media (max-width: 720px) {
  #brawl-live-strip { top: 56px; max-width: calc(100vw - 24px); font-size: 10px; gap: 5px; padding: 3px 8px; }
  .brawl-top3 span:nth-child(2):not(.is-me),
  .brawl-top3 span:nth-child(3):not(.is-me) { display: none; }
}
