/* TNW purchase channels — Hollyland-inspired SEA layout */
.tnw-channel { background: #f6f7fb; color: #111; min-height: 100vh; }
.tnw-channel-hero {
  padding: 120px 24px 36px;
  text-align: center;
  background: #fff;
}
.tnw-channel-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.tnw-channel-sec {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}
.tnw-channel-sec h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.tnw-channel-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tnw-channel-platform {
  background: #fff;
  border-radius: 16px;
  padding: 42px 24px 32px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.tnw-channel-platform svg {
  width: 42px; height: 42px;
  stroke: #111; fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.tnw-channel-platform h3 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.tnw-channel-platform a {
  color: #1677ff;
  font-size: 13px;
  font-weight: 500;
}
.tnw-channel-platform a:hover { opacity: .75; }
.tnw-channel-platform:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(16,24,40,.08); }

.tnw-channel-finder {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.tnw-channel-filters {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  margin-bottom: 16px;
}
.tnw-channel-filters-3 { grid-template-columns: 180px 180px minmax(0, 1fr); }
#offline, #managers { scroll-margin-top: 84px; }
.tnw-channel-field {
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 12px;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  color: #111;
  width: 100%;
}
.tnw-channel-list {
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 8px;
  min-height: 560px;
  max-height: 640px;
  overflow: auto;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
}
.tnw-channel-cats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid #f0f2f7;
  margin-bottom: 10px;
}
.tnw-channel-cat {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0 12px;
  font: inherit;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: relative;
}
.tnw-channel-cat.on {
  color: #111;
  font-weight: 600;
}
.tnw-channel-cat.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #e11d48;
}
.tnw-channel-count {
  font-size: 13px;
  color: #888;
  margin: 8px 0 14px;
}
.tnw-channel-store {
  padding: 14px 2px 16px;
  border-bottom: 1px solid #f3f4f8;
  cursor: pointer;
  border-radius: 10px;
  transition: background .25s, transform .25s;
}
.tnw-channel-store:hover,
.tnw-channel-store.is-on { background: #f7f8fc; }
.tnw-channel-store:last-child { border-bottom: 0; }
.tnw-channel-store h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.tnw-channel-store p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.tnw-channel-store svg { flex: 0 0 14px; margin-top: 2px; color: #888; }
.tnw-channel-store .meta { color: #888; }
.tnw-channel-map {
  background: #fff;
  border-radius: 16px;
  min-height: 560px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
  position: relative;
}
.tnw-channel-map,
.tnw-channel-map.leaflet-container {
  width: 100%;
  height: 560px;
  background: #eef2f6;
  font-family: inherit;
}
.tnw-channel-map .leaflet-control-attribution,
.tnw-channel-map.leaflet-container .leaflet-control-attribution { font-size: 10px; }
.tnw-channel-map-fallback {
  position: absolute;
  inset: auto 16px 16px 16px;
  background: rgba(255,255,255,.92);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #555;
}

.tnw-channel-empty {
  padding: 40px 8px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.tnw-channel-mgr {
  padding: 48px 24px 80px;
}
.tnw-channel-mgr h2 { margin-bottom: 22px; }
.tnw-channel-tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px;
  background: #fff;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
  flex-wrap: wrap;
}
.tnw-channel-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.tnw-channel-tab.on {
  background: #111;
  color: #fff;
  font-weight: 600;
}
.tnw-channel-mgr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tnw-channel-mgr-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
  transition: transform .35s, box-shadow .35s;
}
.tnw-channel-mgr-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,24,40,.08); }
.tnw-channel-mgr-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}
.tnw-channel-mgr-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #666;
}

@media (max-width: 1100px) {
  .tnw-channel-finder { grid-template-columns: 1fr; }
  .tnw-channel-map,
  .tnw-channel-map.leaflet-container,
  .tnw-channel-list { min-height: 420px; height: 420px; }
}
@media (max-width: 800px) {
  .tnw-channel-hero { padding-top: 96px; }
  .tnw-channel-platform-grid,
  .tnw-channel-mgr-grid,
  .tnw-channel-filters,
  .tnw-channel-filters-3 { grid-template-columns: 1fr; }
  .tnw-channel-sec { padding: 20px 16px 8px; }
}

.tnw-rise {
  opacity: 0;
  animation: tnwRise .55s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes tnwRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.leaflet-div-icon.tnw-pin-wrap {
  background: none !important;
  border: none !important;
  animation: tnwPinDrop .6s cubic-bezier(.2,.8,.2,1) both;
}
.tnw-pin {
  position: relative;
  width: 40px;
  height: 40px;
}
.tnw-pin-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
  overflow: hidden;
  z-index: 2;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
}
.tnw-pin-core img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.tnw-pin-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(17,17,17,.38);
  animation: tnwPinPulse 1.8s ease-out infinite;
  z-index: 1;
  pointer-events: none;
}
.tnw-pin.is-on .tnw-pin-core,
.tnw-pin-wrap:hover .tnw-pin-core {
  transform: scale(1.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.32);
}
.tnw-pin.is-on .tnw-pin-pulse { border-color: rgba(0,117,255,.55); }
@keyframes tnwPinDrop {
  0% { opacity: 0; transform: translateY(-34px) scale(.55); }
  70% { opacity: 1; transform: translateY(3px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
@keyframes tnwPinPulse {
  0% { transform: scale(.72); opacity: .65; }
  100% { transform: scale(1.7); opacity: 0; }
}
