/* ==========================================================================
   Terra 24 Global Scenic Live & Ambient BGM - Premium Stylesheet
   Theme: Deep Space Dark Glassmorphism & Neon Glow
   ========================================================================== */

:root {
  --bg-main: #070B14;
  --bg-surface: #0E1626;
  --bg-card: rgba(18, 28, 48, 0.7);
  --bg-card-hover: rgba(28, 42, 70, 0.85);
  --border-glass: rgba(0, 229, 255, 0.15);
  --border-glass-active: rgba(0, 229, 255, 0.5);
  --accent-cyan: #00E5FF;
  --accent-purple: #7C4DFF;
  --accent-emerald: #00E676;
  --accent-rose: #FF1744;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.15);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 90px; /* Space for sticky bottom audio bar */
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent-cyan), #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  opacity: 0.85;
}

.kst-clock-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 50px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.kst-badge {
  background: var(--accent-cyan);
  color: #070B14;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.kst-time-string {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.header-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-inquiry-btn:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  transform: translateY(-1px);
}

.header-inquiry-btn svg {
  flex-shrink: 0;
}

/* Control Bar (Search & Category Tabs) */
.control-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 20px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(14, 22, 38, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 36px 10px 42px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: rgba(18, 28, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
  background: rgba(28, 42, 70, 0.7);
}

.tab-btn.active {
  color: #070B14;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  font-weight: 600;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

/* ==========================================================================
   Main Viewer Section
   ========================================================================== */
.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  flex: 1;
}

.viewer-section {
  margin-bottom: 36px;
}

.video-card-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: var(--transition);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
  overflow: hidden;
  cursor: pointer;
}

/* Theater / Pseudo Fullscreen Mode (Cross-Platform Mobile Fallback) */
.video-container.theater-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding-top: 0 !important;
  z-index: 999999 !important;
  background: #000000 !important;
  border-radius: 0 !important;
}

.video-container.theater-fullscreen #liveVideoPlayer,
.video-container.theater-fullscreen .live-youtube-player,
.video-container.theater-fullscreen .fallback-canvas {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
}

/* Native Fullscreen API Styles */
.video-container:fullscreen,
.video-container:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  padding-top: 0 !important;
  background: #000000 !important;
}

.video-container:fullscreen #liveVideoPlayer,
.video-container:fullscreen .live-youtube-player,
.video-container:fullscreen .fallback-canvas,
.video-container:-webkit-full-screen #liveVideoPlayer,
.video-container:-webkit-full-screen .live-youtube-player,
.video-container:-webkit-full-screen .fallback-canvas {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
}

#liveVideoPlayer, .fallback-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Top Overlay */
.video-top-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-status-pill {
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 23, 68, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-rose);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 23, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 23, 68, 0); }
}

.live-text {
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.player-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.action-icon-btn {
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.action-icon-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: scale(1.08);
}

/* Video Bottom Meta Overlay */
.video-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.95) 85%);
  z-index: 10;
  pointer-events: auto;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean View / Zen Mode: 화면 클릭/터치 시 오버레이 숨김 */
.video-container.overlay-hidden .video-top-overlay {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none !important;
}

.video-container.overlay-hidden .video-bottom-overlay {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none !important;
}

.meta-tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.meta-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.category-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--border-glass);
}

.country-badge {
  background: rgba(124, 77, 255, 0.15);
  color: #B388FF;
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.current-spot-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
  word-break: keep-all;
}

.current-spot-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 900px;
  word-break: keep-all;
}

.meta-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-label {
  color: var(--text-muted);
}

.detail-val {
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   Catalog & Spots Grid Section
   ========================================================================== */
.catalog-section {
  margin-bottom: 40px;
}

.section-title-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.result-count {
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.spot-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.spot-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-glass-active);
  box-shadow: 0 10px 24px rgba(0, 229, 255, 0.12);
}

.spot-card.active-card {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #020408;
  overflow: hidden;
}

.card-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spot-card:hover .card-thumb-img {
  transform: scale(1.05);
}

.card-category-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(4px);
  color: var(--accent-cyan);
  border: 1px solid var(--border-glass);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-country {
  font-size: 0.75rem;
  color: #B388FF;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  word-break: keep-all;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.card-time-badge {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Sticky Bottom Audio Controller Bar
   ========================================================================== */
.audio-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.audio-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.audio-info-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  max-width: 320px;
}

.sound-wave-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.sound-wave-anim span {
  width: 3px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sound-wave-anim.playing span:nth-child(1) { animation: wave 0.8s ease-in-out infinite alternate 0.1s; }
.sound-wave-anim.playing span:nth-child(2) { animation: wave 0.8s ease-in-out infinite alternate 0.3s; }
.sound-wave-anim.playing span:nth-child(3) { animation: wave 0.8s ease-in-out infinite alternate 0.5s; }
.sound-wave-anim.playing span:nth-child(4) { animation: wave 0.8s ease-in-out infinite alternate 0.2s; }
.sound-wave-anim.playing span:nth-child(5) { animation: wave 0.8s ease-in-out infinite alternate 0.4s; }

@keyframes wave {
  0% { height: 4px; }
  100% { height: 22px; }
}

.track-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-label {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.track-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-controls-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.audio-ctrl-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.audio-ctrl-btn.play-btn {
  background: var(--accent-cyan);
  color: #070B14;
  width: 44px;
  height: 44px;
}

.audio-ctrl-btn.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}

.audio-track-selector-wrap {
  flex: 1;
  max-width: 320px;
}

.track-select {
  width: 100%;
  background: rgba(18, 28, 48, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
}

.track-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.audio-volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.volume-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.volume-btn:hover {
  color: var(--text-main);
}

.volume-slider {
  width: 90px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* ==========================================================================
   Footer & Customer Support
   ========================================================================== */
.site-footer {
  background: #05080E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 20px 30px 20px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.4fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-heading {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-link-btn:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-link-btn.highlight-btn {
  color: var(--accent-cyan);
  font-weight: 600;
}

.company-details {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.company-name {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 4px;
}

.mail-link {
  color: var(--accent-cyan);
  text-decoration: none;
}

.mail-link:hover {
  text-decoration: underline;
}

.banner-iframe-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 22, 38, 0.5);
}

.banner-iframe-wrap iframe {
  display: block;
}

.footer-bottom-bar {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
}

.copyright-text {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #0E1626;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin: 16px 0 6px 0;
}

.modal-body h4:first-child {
  margin-top: 0;
}

/* Inquiry Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: var(--accent-rose);
}

.form-group input,
.form-group textarea {
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.form-cancel-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  cursor: pointer;
}

.form-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.form-submit-btn {
  background: var(--accent-cyan);
  border: none;
  color: #070B14;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-btn:hover {
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

.form-status-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  text-align: center;
}

.form-status-msg.success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
}

.form-status-msg.error {
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid var(--accent-rose);
  color: var(--accent-rose);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-banner-block {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .kst-clock-widget {
    padding: 4px 10px;
  }
  .kst-time-string {
    font-size: 0.78rem;
  }
  .header-inquiry-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
  .control-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-wrap {
    max-width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-banner-block {
    grid-column: span 1;
  }
  .audio-info-wrap {
    min-width: 160px;
    max-width: 180px;
  }
  .audio-track-selector-wrap {
    display: none; /* Hide dropdown on small mobile, use prev/next */
  }

  /* Mobile Video & Overlay Optimization: 비디오 가림 원천 방지 */
  .viewer-section {
    margin-bottom: 24px;
  }
  .video-card-wrapper {
    border-radius: var(--radius-md);
  }
  .video-top-overlay {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .live-status-pill {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
  .action-icon-btn {
    min-width: 42px;
    min-height: 42px;
    padding: 10px;
  }
  .video-bottom-overlay {
    padding: 18px 14px 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.9) 70%);
  }
  .current-spot-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .current-spot-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .meta-details-row {
    gap: 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 140px; /* More space for multi-row mobile audio bar */
  }
  .main-container {
    padding: 14px 12px;
  }
  .audio-player-bar {
    height: auto;
    padding: 10px 0;
  }
  .audio-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .audio-volume-wrap {
    display: none;
  }
  
  /* 초소형 모바일: 비디오 가림 0% 클린 뷰 */
  .video-bottom-overlay {
    padding: 12px 10px 8px 10px;
  }
  .current-spot-title {
    font-size: 1.0rem;
  }
  .current-spot-desc {
    display: none; /* 모바일에서 영상 시야를 온전히 확보하기 위해 비디오 내 장문 설명 숨김 */
  }
  .meta-details-row .detail-item:last-child {
    display: none; /* 모바일에서 출처 텍스트 숨기고 최적 시간만 표시 */
  }
  .meta-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
  }
}
