/* 社区 · 云雾大地图：底图 + 小创造 / 游戏区 PNG 道具层（无方块热区描边） */
.community-map-wrap{margin:0 0 18px}
.community-map{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  width:100%;
  aspect-ratio:16 / 9;
  min-height:min(42vh,360px);
  max-height:min(72vh,640px);
  border:1px solid var(--line,#d9e0ea);
  box-shadow:0 16px 40px #0b1c3312;
  background-color:#cfe6f8;
  background-image:url(assets/community-xyq-map.jpg?v=gamezone-blend-20261101c);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* 小创造道具：形状跟抠图 PNG，禁止方框描边/高亮 */
.community-prop-workshop{
  position:absolute;
  z-index:3;
  margin:0;
  padding:0;
  border:0 !important;
  outline:none !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  display:block;
  line-height:0;
  overflow:visible;
}
.community-prop-workshop:focus,
.community-prop-workshop:focus-visible,
.community-prop-workshop:hover,
.community-prop-workshop:active{
  border:0 !important;
  outline:none !important;
  background:transparent !important;
  box-shadow:none !important;
}
.community-prop-workshop img{
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
  transition:transform .22s ease, filter .22s ease;
  transform:translateY(0) scale(1);
  filter:drop-shadow(0 0 0 transparent);
  will-change:transform, filter;
}
.community-prop-workshop:hover img,
.community-prop-workshop:focus-visible img{
  transform:translateY(-10px) scale(1.02);
  filter:drop-shadow(0 12px 16px rgba(20,30,50,.42));
}
.community-prop-workshop .label{
  position:absolute;
  left:50%;
  bottom:4%;
  transform:translateX(-50%);
  display:none;
  margin:0;
  padding:4px 8px;
  border-radius:8px;
  background:#fffffff0;
  border:1px solid var(--line,#d9e0ea);
  box-shadow:0 4px 12px #0b1c3315;
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
  pointer-events:none;
  line-height:1.2;
  color:var(--ink,#1d2430);
}
/* 名牌已在底图上，默认不重复显示文字小牌 */
.community-prop-workshop:hover .label,
.community-prop-workshop:focus-visible .label{display:none}

/* 旧矩形热区样式保留但不使用（云雾版无此类节点） */
.community-hotspot{
  position:absolute;
  z-index:2;
  margin:0;
  padding:0;
  border:0 !important;
  outline:none !important;
  border-radius:0;
  background:transparent !important;
  box-shadow:none !important;
  cursor:default;
  color:var(--ink,#1d2430);
  font:inherit;
  text-align:center;
  display:none;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  pointer-events:none;
}
.community-hotspot .label{display:none}
.community-hotspot .hint{display:none}
.community-map-legend{
  position:absolute; left:12px; bottom:12px; z-index:3;
  font-size:11px; color:#345;
  background:#ffffffcc; border:1px solid #ffffffaa;
  border-radius:12px; padding:8px 10px;
  backdrop-filter:blur(8px);
  max-width:min(70%,280px);
  line-height:1.45;
  pointer-events:none;
}
.community-back{margin:0 0 12px}
.community-panel{margin-top:14px}
.community-panel .tools{display:grid; gap:12px; margin-top:12px}
.community-tool{display:grid; gap:8px}
.community-tool .tool-actions{display:flex; flex-wrap:wrap; gap:8px}
.community-tool[data-soon="true"]{opacity:.72}
.community-tool[data-soon="true"] .tool-actions .btn{pointer-events:none; opacity:.55}
.community-disclaimer{
  margin-top:12px;
  font-size:12px;
  color:var(--muted,#6e7785);
  line-height:1.5;
}
@media (max-width:720px){
  .community-map{
    min-height:280px;
    max-height:none;
    border-radius:16px;
  }
  .community-prop-workshop:hover img,
  .community-prop-workshop:focus-visible img{
    transform:translateY(-8px) scale(1.02);
  }
  .community-map-legend{font-size:10px; left:8px; bottom:8px; padding:6px 8px}
}
html[data-theme=dark] .community-map{
  border-color:#354050;
  background-color:#152033;
}
html[data-theme=dark] .community-map-legend{
  background:#1c2533cc; border-color:#46556a; color:#bac6d8;
}

/* 游戏区道具：与小创造同系透明 PNG，禁止封面卡白底描边 */
.community-prop-gamezone{
  position:absolute;
  z-index:3;
  margin:0;
  padding:0;
  border:0 !important;
  outline:none !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  display:block;
  line-height:0;
  overflow:visible;
}
.community-prop-gamezone:focus,
.community-prop-gamezone:focus-visible,
.community-prop-gamezone:hover,
.community-prop-gamezone:active{
  border:0 !important;
  outline:none !important;
  background:transparent !important;
  box-shadow:none !important;
}
.community-prop-gamezone img{
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
  transition:transform .22s ease, filter .22s ease;
  transform:translateY(0) scale(1);
  filter:drop-shadow(0 0 0 transparent);
  will-change:transform, filter;
  border:0 !important;
  border-radius:0 !important;
  box-sizing:border-box;
  background:transparent !important;
}
.community-prop-gamezone:hover img,
.community-prop-gamezone:focus-visible img{
  transform:translateY(-10px) scale(1.02);
  filter:drop-shadow(0 12px 16px rgba(20,30,50,.42));
}
.community-prop-gamezone .label{
  position:absolute;
  left:50%;
  bottom:4%;
  transform:translateX(-50%);
  display:none;
  margin:0;
  padding:4px 8px;
  border-radius:8px;
  background:#fffffff0;
  border:1px solid var(--line,#d9e0ea);
  box-shadow:0 4px 12px #0b1c3315;
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
  pointer-events:none;
  line-height:1.2;
  color:var(--ink,#1d2430);
}
/* 名牌已在道具 PNG 上，默认不重复显示文字小牌 */
.community-prop-gamezone:hover .label,
.community-prop-gamezone:focus-visible .label{display:none}

.community-race-frame-wrap{display:grid; gap:10px}
.community-race-frame{
  width:100%;
  min-height:min(68vh,720px);
  height:68vh;
  border:1px solid var(--line,#d9e0ea);
  border-radius:14px;
  background:#111;
}
.community-back{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
@media (max-width:720px){
  .community-prop-gamezone:hover img,
  .community-prop-gamezone:focus-visible img{
    transform:translateY(-8px) scale(1.02);
  }
  .community-race-frame{min-height:52vh; height:52vh}
}
