/* ================================================
   POLICE APP — Main Stylesheet
   Brand colors: #45aee3 / #2b7ab1 / #88d1f5
   Font: Poppins
================================================ */

:root {
  --p1: #45aee3;
  --p2: #2b7ab1;
  --p3: #88d1f5;
  --dark: #1a3a5c;
  --bg: #eef5fb;
  --surface: #ffffff;
  --muted: #7a9bb8;
  --border: rgba(43, 122, 177, 0.12);
  --shadow-sm: 0 2px 14px rgba(43, 122, 177, 0.09);
  --shadow-md: 0 4px 24px rgba(43, 122, 177, 0.14);
  --shadow-lg: 0 8px 40px rgba(43, 122, 177, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #d6eaf8, #c5ddf2);
  min-height: 100vh;
}

/* ── PAGE ── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 100px 40px 60px;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: rgba(238, 245, 251, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo-word { font-weight: 800; font-size: 20px; color: var(--dark); letter-spacing: 1px; }
.logo-sub { font-size: 9px; color: var(--muted); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; display: block; margin-top: -2px; }
.nav-pills { display: flex; gap: 4px; background: rgba(255,255,255,0.7); border: 1px solid var(--border); border-radius: 14px; padding: 4px; }
.npill { padding: 7px 16px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; transition: all .2s; }
.npill.active { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; }

/* ── PHONE SHELL ── */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(26,58,92,0.35); }
.phone {
  width: 375px; height: 812px;
  background: #080808;
  border-radius: 54px; padding: 11px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 0 8px rgba(255,255,255,0.22), 0 30px 80px rgba(26,58,92,0.28);
  position: relative; flex-shrink: 0;
}
.phone-inner {
  width: 100%; height: 100%; border-radius: 44px;
  overflow: hidden; background: var(--bg);
  position: relative; display: flex; flex-direction: column;
}
.notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 126px; height: 34px; background: #080808;
  border-radius: 0 0 20px 20px; z-index: 100;
}
.status-bar {
  height: 48px; display: flex; align-items: flex-end;
  justify-content: space-between; padding: 0 24px 8px;
  font-size: 12px; font-weight: 600; color: var(--dark);
  flex-shrink: 0; position: relative; z-index: 10;
}

/* ── SCREENS ── */
.screen {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  background: var(--bg); overflow: hidden;
}
.screen.active { display: flex; animation: sIn .28s ease; }
@keyframes sIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 88px; display: flex; flex-direction: column; }

/* ── BOTTOM NAV ── */
.bnav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--surface); border-top: 1px solid var(--border);
  display: flex; padding: 10px 6px 28px; justify-content: space-around; z-index: 50;
}
.bni { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 10px; border-radius: 13px; cursor: pointer; transition: all .2s; }
.bni.on { background: rgba(69,174,227,0.1); }
.bni-icon { font-size: 19px; }
.bni-lbl { font-size: 9px; font-weight: 600; color: var(--muted); }
.bni.on .bni-lbl { color: var(--p1); }

/* ── SHARED ── */
.sec-hdr { padding: 16px 18px 10px; display: flex; align-items: center; gap: 8px; }
.sec-bar { width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--p1), var(--p2)); flex-shrink: 0; }
.sec-txt { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.sec-link { font-size: 11px; font-weight: 700; color: var(--p1); margin-left: auto; cursor: pointer; }
.wcard { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }

/* ── HOME ── */
.hero-card { margin: 4px 14px 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); cursor: pointer; }
.hero-grad { background: linear-gradient(145deg, #1a3a5c, #2b7ab1 45%, #45aee3 80%, #7ecfee); padding: 24px 22px 26px; position: relative; overflow: hidden; }
.hero-mesh { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 15%, rgba(136,209,245,0.3), transparent 50%), radial-gradient(ellipse at 10% 85%, rgba(26,58,92,0.3), transparent 50%); }
.hblob { position: absolute; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.hb1 { width: 140px; height: 140px; background: rgba(255,255,255,0.1); top: -30px; right: -10px; animation: flt 8s ease-in-out infinite alternate; }
.hb2 { width: 80px; height: 80px; background: rgba(43,122,177,0.25); bottom: -10px; left: 20px; animation: flt 10s ease-in-out infinite alternate-reverse; }
@keyframes flt { from { transform: translate(0,0); } to { transform: translate(10px,14px); } }
.hero-police { position: absolute; top: 16px; right: 16px; opacity: .13; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 18px; color: white; letter-spacing: 1px; }
.hero-tag { background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 3px 10px; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: white; display: inline-block; margin-bottom: 9px; position: relative; z-index: 1; }
.hero-title { color: white; font-size: 24px; font-weight: 800; line-height: 1.15; margin-bottom: 5px; position: relative; z-index: 1; letter-spacing: -.3px; }
.hero-sub { color: rgba(255,255,255,.7); font-size: 12px; margin-bottom: 18px; position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 14px; position: relative; z-index: 1; }
.hs-num { color: white; font-size: 20px; font-weight: 800; display: block; }
.hs-lbl { color: rgba(255,255,255,.6); font-size: 9px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; display: block; }
.hs-div { width: 1px; background: rgba(255,255,255,.22); }

.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.qc { border-radius: 18px; padding: 16px 14px; position: relative; overflow: hidden; cursor: pointer; transition: transform .15s; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.qc:hover { transform: scale(.97); }
.qc:nth-child(1) { background: linear-gradient(135deg, #1a4a6e, #2b7ab1); }
.qc:nth-child(2) { background: linear-gradient(135deg, #1a5c3a, #2b9a5c); }
.qc:nth-child(3) { background: linear-gradient(135deg, #5c2b18, #c67c3a); }
.qc:nth-child(4) { background: linear-gradient(135deg, #2b1a5c, #7c5cf6); }
.qc::after { content: ''; position: absolute; right: -10px; bottom: -10px; width: 60px; height: 60px; background: rgba(255,255,255,.08); border-radius: 50%; }
.qc-icon { font-size: 24px; margin-bottom: 7px; display: block; }
.qc-lbl { color: white; font-size: 12px; font-weight: 700; display: block; line-height: 1.2; }
.qc-sub { color: rgba(255,255,255,.55); font-size: 10px; display: block; margin-top: 2px; }

.trail-prev { margin: 0 14px; cursor: pointer; transition: transform .15s; }
.trail-prev:hover { transform: scale(.98); }
.tp-hero { height: 100px; background: linear-gradient(135deg, var(--p2), var(--dark)); position: relative; display: flex; align-items: center; justify-content: center; }
.tp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(136,209,245,.2), transparent 60%); }
.tp-badge { position: absolute; top: 9px; right: 9px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); color: white; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 9px; }
.tp-dist { background: white; color: var(--p2); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 18px; position: relative; z-index: 1; }
.tp-info { padding: 12px 14px; }
.tp-name { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.tp-meta { display: flex; gap: 10px; }
.tp-m { font-size: 11px; color: var(--muted); font-weight: 500; }

.audio-teaser { margin: 0 14px 4px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: transform .15s; }
.audio-teaser:hover { transform: scale(.98); }
.at-top-bar { height: 2px; background: linear-gradient(90deg, #2b9a5c, #88d1f5, transparent); }
.at-inner { padding: 13px 15px; display: flex; align-items: center; gap: 12px; }
.at-icon { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #1a4a1a, #2b7a2b); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.at-nm { flex: 1; }
.at-nm-title { font-size: 13px; font-weight: 700; color: var(--dark); }
.at-nm-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.at-play { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--p1), var(--p2)); display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; box-shadow: 0 4px 14px rgba(43,122,177,.35); flex-shrink: 0; }

/* ── MAP ── */
#leaflet-map { position: absolute; top: 0; left: 0; right: 0; bottom: 168px; z-index: 1; }
.leaflet-control-attribution { font-size: 8px !important; }
.map-top { position: absolute; top: 0; left: 0; right: 0; z-index: 500; padding: 46px 13px 10px; background: linear-gradient(to bottom, rgba(238,245,251,.97) 68%, transparent); pointer-events: none; }
.map-top > * { pointer-events: all; }
.map-search { background: white; border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.ms-txt { font-size: 13px; color: var(--muted); font-weight: 500; flex: 1; }
.ms-filter { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; border-radius: 9px; padding: 4px 10px; font-size: 10px; font-weight: 700; cursor: pointer; }
.map-chips { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.mchip { background: white; border: 1.5px solid var(--border); border-radius: 18px; padding: 4px 11px; font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; cursor: pointer; }
.mchip.on { background: linear-gradient(135deg, var(--p1), var(--p2)); border-color: var(--p1); color: white; }
.map-sheet { position: absolute; bottom: 0; left: 0; right: 0; background: white; border-radius: 24px 24px 0 0; padding: 10px 17px 88px; z-index: 500; box-shadow: 0 -6px 30px rgba(26,58,92,.12); border-top: 1px solid var(--border); }
.msh-handle { width: 32px; height: 4px; background: #dde8f0; border-radius: 2px; margin: 0 auto 12px; }
.msh-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.msh-title { font-size: 15px; font-weight: 800; color: var(--dark); }
.msh-diff { background: rgba(43,154,92,.1); border: 1px solid rgba(43,154,92,.2); border-radius: 8px; padding: 2px 8px; font-size: 9px; font-weight: 700; color: #2b7a52; }
.msh-sub { font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.msh-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.msh-tag { background: rgba(69,174,227,.1); color: var(--p2); border-radius: 9px; padding: 2px 8px; font-size: 9px; font-weight: 700; }
.msh-stats { display: flex; background: var(--bg); border-radius: 14px; padding: 11px; margin-bottom: 10px; border: 1px solid var(--border); }
.msh-stat { flex: 1; display: flex; flex-direction: column; align-items: center; }
.msh-stat + .msh-stat { border-left: 1px solid var(--border); }
.msh-num { font-size: 16px; font-weight: 800; color: var(--dark); }
.msh-lbl { font-size: 9px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-top: 1px; }
.msh-btn { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; border-radius: 14px; padding: 12px; text-align: center; font-size: 13px; font-weight: 700; box-shadow: 0 5px 18px rgba(43,122,177,.3); cursor: pointer; }

/* ── TRAIL ── */
.td-hero { height: 230px; flex-shrink: 0; position: relative; overflow: hidden; background: linear-gradient(160deg, #1a3a5c, #2b7ab1 55%, #45aee3); }
.td-hero-mesh { position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 75%, rgba(136,209,245,.18), transparent 55%); }
.td-status { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); z-index: 10; }
.td-back { position: absolute; top: 52px; left: 17px; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; z-index: 5; cursor: pointer; }
.td-badges { position: absolute; top: 52px; right: 17px; display: flex; gap: 5px; z-index: 5; }
.td-badge { background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); color: white; font-size: 9px; font-weight: 700; padding: 3px 9px; border-radius: 9px; }
.td-badge.gr { background: rgba(43,154,92,.5); border-color: rgba(43,154,92,.3); }
.td-title-area { position: absolute; bottom: 72px; left: 17px; right: 17px; z-index: 5; }
.td-title { color: white; font-size: 22px; font-weight: 800; line-height: 1.1; margin-bottom: 3px; letter-spacing: -.3px; }
.td-sub { color: rgba(255,255,255,.65); font-size: 11px; }
.elev-chart { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; }
.td-body { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding: 14px 17px 95px; display: flex; flex-direction: column; gap: 13px; }
.td-stats { display: flex; gap: 8px; }
.td-stat { flex: 1; background: white; border-radius: 14px; padding: 11px 8px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.tds-icon { font-size: 16px; margin-bottom: 3px; display: block; }
.tds-num { font-size: 13px; font-weight: 800; color: var(--dark); display: block; }
.tds-lbl { font-size: 8px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; display: block; margin-top: 1px; }
.td-sec-title { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.td-hl { display: flex; align-items: center; gap: 9px; background: white; border-radius: 13px; padding: 10px 13px; margin-bottom: 7px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); cursor: pointer; transition: transform .15s; }
.td-hl:hover { transform: translateX(3px); }
.td-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.td-ht { font-size: 12px; font-weight: 700; color: var(--dark); flex: 1; }
.td-hsub { font-size: 10px; color: var(--muted); display: block; margin-top: 1px; }
.td-arr { color: var(--muted); font-size: 12px; }
.gpx-row { display: flex; align-items: center; gap: 9px; background: white; border: 1.5px dashed rgba(69,174,227,.32); border-radius: 13px; padding: 10px 13px; cursor: pointer; }
.gpx-title { font-size: 12px; font-weight: 700; color: var(--p2); }
.gpx-sub { font-size: 10px; color: var(--muted); }
.td-cta { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 17px 32px; background: linear-gradient(to top, white 55%, transparent); display: flex; gap: 8px; z-index: 30; }
.td-cta-sec { background: white; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; font-size: 17px; display: flex; align-items: center; justify-content: center; width: 48px; flex-shrink: 0; cursor: pointer; }
.td-cta-pri { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; border-radius: 12px; padding: 12px; flex: 1; text-align: center; font-size: 13px; font-weight: 700; box-shadow: 0 5px 18px rgba(43,122,177,.3); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── ATTRACTIONS ── */
.at-header { padding: 48px 17px 13px; background: white; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.at-title { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 11px; }
.at-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.at-chip { background: var(--bg); border: 1.5px solid var(--border); border-radius: 18px; padding: 5px 12px; font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; cursor: pointer; }
.at-chip.on { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; border-color: transparent; }
.at-list { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 12px 14px 88px; display: flex; flex-direction: column; gap: 9px; }
.at-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; cursor: pointer; transition: transform .15s; border: 1px solid var(--border); }
.at-card:hover { transform: scale(.98); }
.at-img { width: 82px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.at-img.blue  { background: linear-gradient(135deg, var(--p2), var(--p1)); }
.at-img.green  { background: linear-gradient(135deg, #1a5c3a, #2b9a5c); }
.at-img.brown  { background: linear-gradient(135deg, #2c1a0e, #5c3a1a); }
.at-img.purple { background: linear-gradient(135deg, #2b1a5c, #7c5cf6); }
.at-img.teal   { background: linear-gradient(135deg, #1a4a4a, #2b8a8a); }
.at-info { padding: 12px 13px; flex: 1; }
.at-name { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.at-desc { font-size: 11px; color: var(--muted); line-height: 1.4; margin-bottom: 6px; }
.at-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.at-tag     { background: rgba(69,174,227,.1); color: var(--p2); border-radius: 7px; padding: 2px 7px; font-size: 9px; font-weight: 700; }
.at-tag.gr  { background: rgba(43,154,92,.1);  color: #2b7a52; }
.at-tag.or  { background: rgba(198,124,58,.1); color: #8b4513; }

/* ── AUDIO GUIDE ── */
.ag-hero { height: 210px; flex-shrink: 0; position: relative; overflow: hidden; background: linear-gradient(160deg, #1a2c1a, #2b5c3a 45%, #3a8a52 80%, #4aaa66); }
.ag-mesh { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 22%, rgba(74,170,102,.28), transparent 55%), radial-gradient(ellipse at 15% 78%, rgba(26,44,26,.35), transparent 50%); }
.ag-blob { position: absolute; border-radius: 50%; filter: blur(35px); }
.agb1 { width: 140px; height: 140px; background: rgba(255,255,255,.07); top: -20px; right: -10px; }
.agb2 { width: 90px; height: 90px; background: rgba(26,44,26,.25); bottom: 20px; left: 10px; }
.ag-back { position: absolute; top: 50px; left: 17px; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; z-index: 5; cursor: pointer; }
.ag-content { position: absolute; bottom: 20px; left: 0; right: 0; padding: 0 18px; z-index: 5; }
.ag-cat { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 3px 11px; font-size: 9px; font-weight: 700; color: white; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px; }
.ag-title { font-size: 19px; font-weight: 800; color: white; line-height: 1.15; letter-spacing: -.3px; }
.ag-sub { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }
.ag-body { flex: 1; overflow-y: auto; scrollbar-width: none; padding-bottom: 88px; display: flex; flex-direction: column; }
.ag-stats { display: flex; gap: 9px; padding: 14px 17px 0; }
.ag-stat { flex: 1; background: white; border-radius: 14px; padding: 10px 7px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.ags-icon { font-size: 15px; display: block; margin-bottom: 3px; }
.ags-val { font-size: 11px; font-weight: 800; color: var(--dark); display: block; }
.ags-lbl { font-size: 8px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

.lang-wrap { padding: 0 17px 11px; margin-top: 16px; }
.lang-row { display: flex; gap: 6px; background: white; border-radius: 17px; padding: 4px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.lang-btn { flex: 1; padding: 9px 6px; border-radius: 13px; cursor: pointer; transition: all .25s; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lang-btn.active { background: linear-gradient(135deg, var(--p1), var(--p2)); box-shadow: 0 4px 16px rgba(43,122,177,.35); }
.lang-flag { font-size: 19px; line-height: 1; }
.lang-name { font-size: 8px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.lang-btn.active .lang-name { color: white; }
.lang-dur { font-size: 8px; color: rgba(69,174,227,.8); font-weight: 600; }
.lang-btn.active .lang-dur { color: rgba(255,255,255,.7); }

.player-wrap { padding: 0 17px; }
.player-card { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(69,174,227,.15); }
.player-top { padding: 16px 17px 13px; background: linear-gradient(145deg, #1e4976, #2b7ab1 45%, #45aee3); position: relative; overflow: hidden; }
.player-top::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 82% 18%, rgba(136,209,245,.25), transparent 50%), radial-gradient(ellipse at 12% 88%, rgba(26,58,92,.28), transparent 50%); pointer-events: none; }
.pt-hdr { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.pt-title { font-size: 13px; font-weight: 700; color: white; letter-spacing: -.2px; }
.pt-meta { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; font-weight: 500; }
.pt-qual { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 3px 8px; font-size: 9px; font-weight: 700; color: white; white-space: nowrap; }
.waveform { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; height: 40px; margin-bottom: 11px; cursor: pointer; }
.wbar { flex: 1; border-radius: 2px; min-width: 2px; background: rgba(255,255,255,.18); transition: background .08s; }
.wbar.played { background: rgba(255,255,255,.78); }
.wbar.current { background: white; box-shadow: 0 0 8px rgba(255,255,255,.5); }
.prog-track { position: relative; z-index: 1; height: 4px; background: rgba(255,255,255,.18); border-radius: 4px; cursor: pointer; margin-bottom: 7px; }
.prog-fill { height: 100%; border-radius: 4px; width: 0%; background: linear-gradient(90deg, rgba(255,255,255,.6), white); transition: width .1s linear; position: relative; }
.prog-fill::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: white; box-shadow: 0 2px 8px rgba(26,58,92,.3); }
.prog-times { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.prog-t { font-size: 10px; color: rgba(255,255,255,.45); font-family: monospace; font-weight: 600; }
.player-controls { background: white; padding: 13px 18px 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--border); }
.ctrl-btn { height: 34px; border-radius: 18px; background: var(--bg); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 2px; color: var(--dark); font-size: 9px; font-weight: 700; cursor: pointer; padding: 0 11px; font-family: 'Poppins', sans-serif; white-space: nowrap; }
.ctrl-btn:hover { background: rgba(69,174,227,.08); border-color: rgba(69,174,227,.3); color: var(--p2); }
.ctrl-play { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--p1), var(--p2)); display: flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; box-shadow: 0 6px 22px rgba(43,122,177,.45); transition: transform .2s; }
.ctrl-play:hover { transform: scale(1.06); }
.ctrl-speed { background: rgba(69,174,227,.08); border: 1.5px solid rgba(69,174,227,.2); border-radius: 9px; padding: 4px 9px; font-size: 10px; font-weight: 700; color: var(--p2); cursor: pointer; font-family: 'Poppins', sans-serif; }

.transcript-wrap { padding: 12px 17px 0; }
.transcript-card { background: white; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; overflow: hidden; }
.transcript-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--p1), var(--p3), transparent); }
.tc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.tc-lbl { font-size: 9px; font-weight: 700; color: var(--p1); letter-spacing: 1.5px; text-transform: uppercase; }
.tc-live { display: flex; align-items: center; gap: 4px; background: rgba(69,174,227,.1); border-radius: 9px; padding: 2px 7px; font-size: 9px; font-weight: 700; color: var(--p2); }
.tc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--p1); animation: blk 1.4s ease-in-out infinite; }
@keyframes blk { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.tc-text { font-size: 11px; color: #3a5a78; line-height: 1.8; }
.tc-text .hl { color: var(--p2); font-weight: 600; background: rgba(69,174,227,.1); border-radius: 3px; padding: 0 3px; }

.offline-strip { margin: 11px 17px 0; background: linear-gradient(135deg, rgba(43,154,92,.08), rgba(43,154,92,.04)); border: 1px solid rgba(43,154,92,.18); border-radius: 13px; padding: 9px 13px; display: flex; align-items: center; gap: 9px; }
.os-icon { font-size: 15px; }
.os-t { font-size: 11px; font-weight: 700; color: #2b7a52; }
.os-s { font-size: 9px; color: var(--muted); margin-top: 1px; }

/* ── SELECTOR PANEL ── */
.selector { display: flex; flex-direction: column; gap: 9px; position: sticky; top: 90px; max-width: 320px; width: 100%; }
.sel-btn { background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 16px; padding: 13px 16px; cursor: pointer; text-align: left; transition: all .25s; display: flex; align-items: center; gap: 12px; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.sel-btn:hover { background: rgba(255,255,255,.95); border-color: rgba(69,174,227,.3); }
.sel-btn.active { background: white; border-color: rgba(69,174,227,.45); box-shadow: var(--shadow-md); }
.sel-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(69,174,227,.1); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sel-btn.active .sel-icon { background: linear-gradient(135deg, var(--p1), var(--p2)); }
.sel-lbl { font-size: 13px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 1px; }
.sel-btn.active .sel-lbl { color: var(--dark); }
.sel-sub { font-size: 11px; color: rgba(26,58,92,.32); font-weight: 400; }
.info-box { background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 16px; padding: 16px; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.ib-title { font-size: 10px; font-weight: 700; color: var(--p1); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.ib-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(26,58,92,.5); margin-bottom: 5px; }
.ib-row:last-child { margin-bottom: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .page-wrap { padding: 80px 16px 40px; }
  .site-header { padding: 12px 20px; }
  .selector { display: none; }
  .phone-wrap { margin-top: 0; }
}
