/* PattayaStream Live Map (/3d/ & /th/3d/) — Phone-first, one job: tap an area, open a stream in one tap */
.lm-page {
  background: #0F131E;
  color: #DFE2F2;
  padding-bottom: 40px;
}
.lm-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px);
  gap: 16px;
  align-items: start;
  padding-top: 8px;
}
.lm-stage {
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2A3548;
  background: #081725;
}
.lm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #121826;
  border-bottom: 1px solid #243044;
}
.lm-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #35465E;
  background: #171F30;
  color: #DFE2F2;
  font-family: var(--ps-sans, Mulish, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.lm-ctrl:hover,
.lm-ctrl:focus-visible {
  border-color: #00D8F5;
  color: #FFFFFF;
}
.lm-ctrl[data-active="1"] {
  background: #0E2A38;
  border-color: #00D8F5;
  color: #8CF3FF;
}
.lm-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #171F30;
  border: 1px solid #2D3B50;
  color: #BAC9CD;
  font-family: var(--font-mono, "Source Code Pro", monospace);
  font-size: 13px;
  font-weight: 600;
}
.lm-status.is-live {
  background: #2B0D18;
  border-color: #CC002B;
  color: #FFD6DE;
}
.lm-status .lm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6D7E91;
  flex: none;
}
.lm-status.is-live .lm-dot {
  background: #FF2952;
}
.lm-canvas {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 390 / 430;
  margin: 0 auto;
  background: #081725;
}
.lm-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lm-sea {
  fill: #6E97A6;
  font-family: var(--ps-sans, Mulish, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lm-orient {
  fill: #91B2C0;
  font-family: var(--font-mono, "Source Code Pro", monospace);
  font-size: 12px;
  font-weight: 700;
}
.lm-leader {
  stroke: #497585;
  stroke-width: 1.2;
  fill: none;
}
.lm-pin {
  cursor: pointer;
}
.lm-pin .lm-pt {
  fill: #FFB800;
  stroke: #081725;
  stroke-width: 1.5;
}
.lm-pin .lm-box {
  fill: #1B1F2B;
  stroke: #3B494C;
  stroke-width: 1.2;
}
.lm-pin:hover .lm-box,
.lm-pin:focus-visible .lm-box {
  fill: #222B3B;
  stroke: #00D8F5;
}
.lm-pin[aria-pressed="true"] .lm-box {
  fill: #00D8F5;
  stroke: #00D8F5;
  stroke-width: 2;
}
.lm-pin[aria-pressed="true"] .lm-lbl,
.lm-pin[aria-pressed="true"] .lm-cnt {
  fill: #001F25;
}
.lm-pin.has-live .lm-pt {
  fill: #EA143F;
}
.lm-pin.has-live .lm-box {
  stroke: #CC002B;
}
.lm-pin .lm-lbl {
  fill: #EEF2FA;
  font-family: var(--ps-sans, Mulish, sans-serif);
  font-size: 12.5px;
  font-weight: 700;
}
.lm-pin .lm-cnt {
  fill: #FFB800;
  font-family: var(--font-mono, "Source Code Pro", monospace);
  font-size: 12.5px;
  font-weight: 700;
}
.lm-pin:focus-visible {
  outline: none;
}
.lm-sheet {
  background: #171B27;
  border: 1px solid #2C394C;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lm-sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  border-bottom: 1px solid #263244;
  padding-bottom: 10px;
}
.lm-sheet-head h1 {
  margin: 0;
  font-family: var(--ps-display, "Sofia Sans Extra Condensed", sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
  color: #DFE2F2;
  letter-spacing: 0.01em;
}
.lm-sheet-count {
  font-family: var(--font-mono, "Source Code Pro", monospace);
  font-size: 13px;
  color: #9FB5C4;
  white-space: nowrap;
}
.lm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lm-more {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #35465E;
  background: #121826;
  color: #DFE2F2;
  font-family: var(--ps-sans, Mulish, sans-serif);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lm-more:hover,
.lm-more:focus-visible {
  border-color: #00D8F5;
  color: #FFFFFF;
}
.lm-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #121722;
  border: 1px solid #253144;
}
.lm-av {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #1E293B;
  display: grid;
  place-items: center;
  color: #8CF3FF;
  font-weight: 800;
  font-size: 15px;
  flex: none;
}
.lm-av img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  display: block;
}
.lm-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lm-name {
  color: #F1F5FA;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow-wrap: break-word;
}
.lm-name:hover {
  color: #00D8F5;
}
.lm-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #A9BCC7;
  line-height: 1.3;
}
.lm-plat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #DFE2F2;
  font-weight: 600;
}
.lm-plat svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.lm-live-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #CC002B;
  color: #FFFFFF;
  font-family: var(--font-mono, "Source Code Pro", monospace);
  font-size: 12px;
  font-weight: 700;
}
.lm-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 78px;
  padding: 0 16px;
  border-radius: 999px;
  background: #00D8F5;
  color: #04131A;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.lm-watch:hover,
.lm-watch:focus-visible {
  background: #5CE8FF;
  color: #04131A;
}
.lm-empty {
  margin: 8px 0;
  color: #A9BCC7;
  font-size: 14px;
}
.lm-foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: #8CA2B0;
}
.lm-foot a {
  color: #9EE9F5;
}
@media (max-width: 960px) {
  .lm-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .lm-canvas {
    max-height: 520px;
  }
  .lm-sheet {
    max-height: none;
    border-radius: 18px;
  }
}
@media (max-width: 420px) {
  .lm-top {
    padding: 8px 10px;
  }
  .lm-ctrl,
  .lm-status {
    font-size: 12.5px;
    padding: 0 10px;
  }
  .lm-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }
  .lm-av,
  .lm-av img {
    width: 40px;
    height: 40px;
  }
  .lm-watch {
    min-width: 68px;
    padding: 0 12px;
    font-size: 13.5px;
  }
}
