* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", system-ui, sans-serif;
}

html {
  scroll-behavior: auto;
}

:root {
  --primary: #165DFF;
  --primary-dark: #0d47a1;
  --bg: #ffffff;
  --card: #f7f9fc;
  --text: #1f2937;
  --sub: #6b7280;
  --border: #e5e7eb;
  --success: #00c48c;
  --danger: #ff4d4f;
  --warning: #f59e0b;
  --lux: #fbbf24;
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f1f5f9;
  --sub: #94a3b8;
  --border: #334155;
  --success: #00c48c;
  --danger: #ff4d4f;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: 0.25s;
  margin-left: 8px;
}

.theme-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.login-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  margin-left: 8px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}

.user-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  position: relative;
}

.user-nav .username {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: none;
}

.user-nav:hover .username {
  display: block;
}

.user-avatar-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  margin-left: 8px;
  position: relative;
  transition: transform 0.2s;
}

.user-avatar-nav:hover {
  transform: scale(1.1);
}

.user-avatar-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.user-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  width: 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s;
  z-index: 100;
  overflow: hidden;
}

.user-nav:hover .user-dropdown, .user-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.dropdown-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
}

.dropdown-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-name {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.dropdown-lux {
  text-align: center;
  font-size: 14px;
  color: var(--sub);
  margin-top: 4px;
}

.dropdown-level {
  padding: 12px 16px;
  background: var(--bg);
}

.level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.level-label {
  font-size: 12px;
  color: var(--sub);
}

.level-value {
  font-size: 14px;
  font-weight: 600;
}

.dropdown-level .progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.dropdown-level .progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}

.dropdown-login-prompt {
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: #9ca3af;
}

.dropdown-menu {
  padding: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--bg);
}

.hidden {
  display: none !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
  margin-bottom: 60px;
  border-radius: 0 0 30px 30px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--sub);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 16px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
  justify-content: stretch;
}

.card-grid .card {
  height: 100%;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.card:hover::before {
  transform: scaleY(1);
}

.card-icon {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.6;
}

.platform-section {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  margin: 60px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.platform-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.platform-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.1);
}

.platform-icon {
  font-size: 28px;
  color: var(--primary);
}

.platform-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  text-decoration: none;
  color: var(--sub);
  font-size: 14px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--sub);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.footer-brand-text p {
  font-size: 12px;
  color: var(--sub);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 40px;
  }
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  text-align: left;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--sub);
  font-size: 13px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-info {
  text-align: center;
}

.footer-info p {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 4px;
}

.footer-daily {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.daily-content {
  max-width: 700px;
  text-align: center;
}

.daily-text {
  font-size: 14px;
  color: var(--sub);
  margin-bottom: 4px;
  font-style: italic;
  line-height: 1.5;
  opacity: 0.8;
}

.daily-info {
  font-size: 12px;
  color: var(--sub);
  opacity: 0.6;
}

.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
}

.toast.error {
  background: var(--danger);
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 77, 79, 0.3);
}

.fun-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ball {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 20s infinite ease-in-out;
}

.ball-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.ball-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #10b981, #34d399);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.ball-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, 50px) rotate(90deg); }
  50% { transform: translate(0, 100px) rotate(180deg); }
  75% { transform: translate(-50px, 50px) rotate(270deg); }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: start;
}

.server-box {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.server-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.server-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.server-box:hover::before {
  transform: scaleY(1);
}

.server-box.loading {
  opacity: 0.6;
  pointer-events: none;
}

.server-box.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.server-header {
  cursor: pointer;
  padding-bottom: 12px;
}

.server-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.online {
  background: var(--success);
  animation: pulse 2s infinite;
}

.dot.offline {
  background: var(--danger);
}

.compact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}

.progress-fill.low {
  background: var(--success);
}

.progress-fill.medium {
  background: #f59e0b;
}

.progress-fill.high {
  background: var(--danger);
}

.progress-rainbow {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #ff6b6b);
  background-size: 200% 100%;
  animation: rainbowMove 3s linear infinite;
}

@keyframes rainbowMove {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.compact-text {
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
}

.detail-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 14px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.label {
  color: var(--sub);
}

.value {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copyBtn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.copyBtn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.motd-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.motd-text {
  display: block;
  text-align: left;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
  line-height: 1.5;
}

.players-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.players-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.players-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.player-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text);
}

.toggle-btn-wrapper {
  text-align: center;
  margin-top: 12px;
}

.toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--sub);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tooltip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--sub);
  color: var(--bg);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  z-index: 10;
}

.refresh-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 20px;
  flex-wrap: wrap;
}

.refresh-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.refresh-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.refresh-info {
  font-size: 13px;
  color: var(--sub);
  opacity: 0.8;
}

.auth-container {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--sub);
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  background: var(--bg);
  border-radius: 12px;
  padding: 4px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: 0.25s;
}

.form-group textarea {
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--sub);
}

.form-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
  margin-top: 8px;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}

.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--sub);
}

.form-footer a {
  color: var(--primary);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.verify-section {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  border: 1px solid var(--border);
}

.verify-section p {
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 12px;
}

.verify-key {
  font-family: monospace;
  font-size: 12px;
  color: var(--primary);
  word-break: break-all;
  padding: 8px;
  background: var(--card);
  border-radius: 6px;
  margin-bottom: 12px;
}

.verify-btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: 0.25s;
  margin-right: 10px;
}

.verify-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.verify-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.verify-btn.primary:hover {
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.verify-status {
  font-size: 13px;
  margin-top: 12px;
  padding: 8px;
  border-radius: 6px;
}

.verify-status.waiting {
  background: #fef3c7;
  color: #92400e;
}

.verify-status.success {
  background: #dcfce7;
  color: #166534;
}

.verify-status.error {
  background: #fee2e2;
  color: #991b1b;
}

.user-section {
  padding: 60px 0;
}

.user-card {
  background: var(--card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.user-header-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.user-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-header-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.user-header-info h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-header-info p {
  font-size: 14px;
  color: var(--sub);
}

.user-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
}

.stat-item .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .stat-label {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
}

.section-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.section-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--sub);
  cursor: pointer;
  border-radius: 8px;
  transition: 0.25s;
}

.section-tab.active {
  background: var(--primary);
  color: #fff;
}

.section-tab:hover:not(.active) {
  background: var(--card);
}

.lux-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.lux-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.lux-progress-container {
  margin-bottom: 16px;
}

.lux-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.lux-progress-label .level {
  font-weight: 600;
}

.lux-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.lux-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.lux-info {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--sub);
}

.lux-info span {
  font-weight: 500;
  color: var(--text);
}

.signin-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}

.signin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}

.signin-btn.disabled {
  background: var(--border);
  cursor: not-allowed;
  transform: none;
}

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

.task-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: 0.25s;
}

.task-card:hover {
  border-color: var(--primary);
}

.task-card.completed {
  opacity: 0.6;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.task-name {
  font-size: 16px;
  font-weight: 600;
}

.task-points {
  font-size: 14px;
  font-weight: 600;
  color: var(--lux);
}

.task-desc {
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 12px;
}

.task-btn {
  width: 100%;
  padding: 8px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
}

.task-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.task-btn:disabled {
  background: var(--border);
  cursor: not-allowed;
}

.task-btn.completed {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.history-list {
  max-height: 400px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 8px;
}

.history-item .history-desc {
  font-size: 14px;
}

.history-item .history-amount {
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
}

.history-item .history-date {
  font-size: 12px;
  color: var(--sub);
}

.settings-form {
  max-width: 600px;
}

.settings-form .form-group {
  margin-bottom: 24px;
}

.settings-form input {
  width: 100%;
}

.settings-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.settings-actions .btn {
  flex: 1;
}

@media (max-width: 768px) {
  .nav-inner {
    height: 56px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .platform-section {
    padding: 24px;
  }

  .user-header {
    flex-direction: column;
    text-align: center;
  }

  .user-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .tasks-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hero-section {
  background: linear-gradient(135deg, #165DFF 0%, #3b82f6 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.hero-section h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.features-section {
  padding: 60px 20px;
}

.features-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.6;
}

.pricing-section {
  padding: 60px 20px;
  background: var(--card);
}

.pricing-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.05) 0%, transparent 100%);
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-card .price-label {
  font-size: 14px;
  color: var(--sub);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
}

.pricing-card li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-btn {
  margin-top: 24px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: 0.25s;
}

.pricing-btn:hover {
  background: var(--primary);
  color: #fff;
}

.disclaimer-section {
  padding: 40px 20px;
}

.disclaimer-box {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid #f59e0b;
}

.disclaimer-box h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.disclaimer-box p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.6;
}

.user-container {
  padding: 40px 20px;
}

.user-section {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.user-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.profile-info p {
  color: var(--sub);
  font-size: 14px;
  margin-bottom: 20px;
}

.profile-lux {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.lux-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.lux-detail {
  flex: 1;
}

.lux-detail .lux-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.lux-detail .lux-label {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
}

.profile-level {
  margin-top: 16px;
}

.level-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.level-info-row .level-label {
  font-size: 14px;
  color: var(--sub);
}

.level-info-row .level-value {
  font-size: 18px;
  font-weight: 600;
}

.level-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.level-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s;
}

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

.save-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
  margin-top: 8px;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}

.sign-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.sign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.3);
}

.sign-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.verify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.verify-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.verify-modal {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s ease;
}

.verify-modal-overlay.show .verify-modal {
  transform: scale(1) translateY(0);
}

.verify-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.verify-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.verify-modal-title .icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.verify-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--sub);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.verify-modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.verify-modal-body {
  margin-bottom: 24px;
}

.verify-modal-body p {
  font-size: 14px;
  color: var(--sub);
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.verify-code-box {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.verify-code-box:hover {
  border-color: var(--primary);
}

.verify-code {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  word-break: break-all;
  line-height: 1.6;
  letter-spacing: 1px;
}

.verify-code-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.copy-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.verify-mailto-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.verify-mailto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.35);
}

.verify-sent-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.verify-sent-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.verify-sent-btn.polling {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.verify-status {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.verify-status.waiting {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
}

.verify-status.success {
  background: rgba(0, 196, 140, 0.1);
  color: #166534;
}

.verify-status.error {
  background: rgba(255, 77, 79, 0.1);
  color: #991b1b;
}

.verify-status .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

.verify-tip {
  font-size: 12px;
  color: var(--sub);
  text-align: center;
  margin-top: 16px;
  opacity: 0.7;
}

.verify-tip a {
  color: var(--primary);
  text-decoration: none;
}

.verify-tip a:hover {
  text-decoration: underline;
}

.nav-bell{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;transition:.2s;position:relative}
.nav-bell:hover{background:rgba(22,93,255,.08)}
.nav-bell .icon{width:18px;height:18px}
[data-theme="dark"] .nav-bell .icon{filter:invert(1)}

/* ===== 图标反色适配（Tabler SVG stroke=currentColor，经 <img> 加载时解析为黑色，
       需按背景深浅反色，避免深色模式/白字按钮下出现“黑色图标不可见”） ===== */
img[src*="tabler-icons"] {
  background: none !important;
  border-radius: 0;
}
/* 深色主题：所有 Tabler 线稿图标反白（含未带 .icon 类的 img）；
   品牌彩色图标（快手/小红书/GitCode/B站/微信/Cookie/爱发电）保留原色 */
[data-theme="dark"] img[src*="tabler-icons"]:not([src*="kuaishou"]):not([src*="xiaohongshu"]):not([src*="gitcode"]):not([src*="bilibili"]):not([src*="wechat"]):not([src*="cookie-daa"]):not([src*="heart"]) {
  filter: invert(1);
}
/* 浅色主题：白字主按钮内的图标反白（form-btn / btn-primary / btn-primary-hero / btn-danger 等） */
:root:not([data-theme="dark"]) .form-btn img[src*="tabler-icons"],
:root:not([data-theme="dark"]) .btn-primary img[src*="tabler-icons"],
:root:not([data-theme="dark"]) .btn-primary-hero img[src*="tabler-icons"],
:root:not([data-theme="dark"]) .btn-danger img[src*="tabler-icons"],
:root:not([data-theme="dark"]) .auth-submit img[src*="tabler-icons"],
:root:not([data-theme="dark"]) .submit-btn img[src*="tabler-icons"] {
  filter: invert(1);
}

/* ===== 全局防横向溢出 / 长文本换行 ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, canvas, svg, table { max-width: 100%; }
p, h1, h2, h3, h4, h5, li, td, th, label, blockquote {
  overflow-wrap: break-word;
  word-break: break-word;
}
/* flex / grid 子项允许收缩，防止内容撑破容器 */
.nav-inner > *, .footer-content > * { min-width: 0; }

/* ===== 移动端汉堡菜单（按钮默认隐藏，≤768px 显示） ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
}
.nav-toggle:hover { border-color: var(--primary); }
.nav-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .nav-inner { position: relative; flex-wrap: nowrap; }
  .logo { order: 1; min-width: 0; }
  .logo-text { font-size: 16px; white-space: nowrap; }
  .nav-links { order: 2; gap: 10px; margin-left: auto; }
  .nav-toggle { display: inline-flex; order: 3; flex-shrink: 0; }

  /* 收起状态：隐藏快捷链接，仅保留用户区 */
  .nav-links > a { display: none; }
  .user-nav { gap: 8px; margin-left: 4px; }
  .user-nav .username { display: none; }

  /* 展开状态：整个 nav-links 变为下拉面板 */
  .nav-links.nav-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    z-index: 1000;
  }
  .nav-links.nav-open > a {
    display: block;
    padding: 13px 20px;
    font-size: 15px;
    border-radius: 0;
  }
  .nav-links.nav-open > a::after { display: none; }
  /* 用户区仍保留在顶栏，不进下拉面板 */
  .nav-links.nav-open .user-nav { display: none; }

  /* 长内容兜底换行 */
  body { overflow-wrap: break-word; }
  .container { width: 100%; box-sizing: border-box; }
}

/* ===== 移动端全局加固：防止长文本/表格/图片撑破布局 ===== */
@media (max-width: 768px) {
  /* 行内 code 与单元格长文本允许断行（不动 pre 代码块，其自带横向滚动） */
  code,
  td,
  th {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }
  /* flex 行内长内容可收缩 */
  .ep-row,
  .auth-line,
  .ep-row > *,
  .auth-line > * {
    min-width: 0;
  }
  /* 通用容器防子元素撑破 */
  .container,
  .nf-screen-inner,
  main,
  section,
  article {
    min-width: 0;
    max-width: 100%;
  }
  /* 图片/媒体自适应 */
  img,
  video,
  canvas,
  svg {
    max-width: 100%;
    height: auto;
  }
}