@charset "utf-8";
/*公共*/
.clear{ clear:both;}

/*头部搜索*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e6e6e6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  background: rgba(30, 30, 46, 0.9);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid #3a3a5d;
  margin-top: 20px;
}
header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #4cc9f0;
}
h1 {
  color: #4cc9f0;
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.subtitle {
  color: #a9a9b8;
  font-size: 1.2rem;
}
.player-section {
  margin-bottom: 30px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}
#videoPlayer {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
}
.controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.player-wrapper:hover .controls-overlay {
  opacity: 1;
}
.control-btn {
  background: rgba(76, 201, 240, 0.9);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.control-btn:hover {
  background: #3db5d8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
}
.control-btn:disabled {
  background: #555;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.input-section {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
#streamUrl {
  flex: 1;
  min-width: 300px;
  padding: 18px 25px;
  border: 2px solid #3a3a5d;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  transition: border 0.3s;
}
#streamUrl:focus {
  border-color: #4cc9f0;
}
#streamUrl::placeholder {
  color: #888;
}
#loadBtn {
  padding: 18px 40px;
  background: linear-gradient(90deg, #4361ee, #3a0ca3);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}
#loadBtn:hover {
  background: linear-gradient(90deg, #3a56d4, #2d0a8a);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(67, 97, 238, 0.4);
}
.status-panel {
  background: rgba(40, 40, 60, 0.7);
  border-radius: 15px;
  padding: 25px;
  margin-top: 20px;
  border-left: 5px solid #4cc9f0;
}
.status-title {
  color: #4cc9f0;
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#statusText {
  color: #b0b0c0;
  line-height: 1.6;
  font-size: 1.1rem;
  min-height: 24px;
}
.error {
  color: #ff6b6b !important;
  font-weight: 600;
}
.success {
  color: #51cf66 !important;
}
.warning {
  color: #ffd43b !important;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.info-card {
  background: rgba(50, 50, 70, 0.6);
  padding: 20px;
  border-radius: 12px;
  border-top: 4px solid #4361ee;
}
.info-card h3 {
  color: #a5d8ff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.info-card p {
  color: #ccc;
  font-size: 1rem;
}
footer {
  margin-top: 40px;
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  padding-top: 20px;
  border-top: 1px solid #3a3a5d;
  width: 100%;
}
@media (max-width: 768px) {
  .container {
	  padding: 20px;
	  border-radius: 15px;
  }
  h1 {
	  font-size: 2.2rem;
  }
  .input-section {
	  flex-direction: column;
  }
  #streamUrl, #loadBtn {
	  width: 100%;
	  min-width: unset;
  }
  .controls-overlay {
	  flex-direction: column;
	  gap: 15px;
	  padding: 15px;
  }
}

