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

html, body {
  height: 100%;
  background: #ffffff;
  color: #17191b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.viewport {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.left-shutter {
  width: 100%;
  flex: 0 0 auto;
  background: #fafbfc;
  border-bottom: 1px solid #e5e9ef;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  max-height: 45vh;
}

.logo-wrapper {
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e9ef;
}

.logo-wrapper img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.mirrors h1,
.mirrors h2 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
  color: #0f172a;
}

.mirror-notice,
.mirror-notice-bottom {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.mirrors ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mirrors a {
  color: #111827;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.89rem;
  line-height: 1.4;
  transition: color 0.16s ease;
  word-break: break-all;
}

.mirrors a:hover,
.mirrors a:focus-visible {
  color: #313c48;
  outline: none;
}

.quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.8rem;
  font-size: 0.9rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-item .label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 450;
}

.stat-item .value {
  font-weight: 580;
  color: #1e293b;
}

.stat-item .online {
  color: #16a34a;
  font-weight: 600;
}

.status {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #6b7280;
}

.dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.horizontal-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 16px;
  gap: 32px;
  background: #fdfefe;
  scroll-snap-type: y proximity;
}

.card {
  width: 100%;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 
    0 4px 18px -3px rgba(0,0,0,0.07),
    0 2px 8px -2px rgba(0,0,0,0.05);
  transition: 
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 14px 38px -10px rgba(0,0,0,0.13),
    0 6px 20px -6px rgba(0,0,0,0.09);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eef2f6;
  background: #f8fafc;
}

.card h1 {
  padding: 20px 20px 8px;
  font-size: 1.48rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  color: #0f172a;
}

.card .caption {
  padding: 0 20px 20px;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.5;
}

.seo-text {
  padding: 0 20px 24px;
  font-size: 0.94rem;
  color: #334155;
}

.seo-text h2,
.seo-text h3 {
  font-size: 1.18rem;
  font-weight: 620;
  color: #111827;
  margin: 1.5em 0 0.7em;
}

.text-block {
  padding: 20px 20px 32px;
}

.text-block ol,
.text-block ul {
  padding-left: 1.6em;
  margin: 1.2em 0;
}

.text-block li {
  margin-bottom: 0.6em;
}

.text-block p {
  margin-bottom: 1.1em;
}

.warning {
  color: #c2410c;
  font-weight: 560;
  padding: 1em 1.2em;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  margin: 1.4em 0;
}

.verdict {
  font-weight: 680;
  color: #0f172a;
  font-size: 1.05rem;
  margin: 1.8em 0 1em;
  padding-top: 1.4em;
  border-top: 1px solid #e2e8f0;
}

.seo-final {
  margin-top: 2em;
  padding-top: 1.4em;
  border-top: 1px solid #e2e8f0;
  font-size: 0.93rem;
  color: #475569;
  font-weight: 500;
}

.horizontal-feed::-webkit-scrollbar {
  width: 8px;
}

.horizontal-feed::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.horizontal-feed::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
  border: 2px solid #f1f5f9;
}

.horizontal-feed::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

@media (min-width: 768px) {
  .viewport {
    flex-direction: row;
  }

  .left-shutter {
    width: 340px;
    max-height: 100vh;
    border-bottom: none;
    border-right: 1px solid #e5e9ef;
    padding: 32px 24px;
    gap: 40px;
  }

  .logo-wrapper img {
    max-width: 100%;
  }

  .horizontal-feed {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 32px 32px 32px 24px;
    gap: 48px;
    scroll-snap-type: x proximity;
  }

  .card {
    width: 540px;
    flex: 0 0 540px;
  }

  .card h1 {
    font-size: 1.62rem;
    padding: 24px 28px 10px;
  }

  .card .caption,
  .seo-text,
  .text-block {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (min-width: 1024px) {
  .left-shutter {
    width: 360px;
    padding: 40px 28px;
  }

  .horizontal-feed {
    padding: 40px 40px 40px 32px;
    gap: 64px;
  }

  .card {
    width: 580px;
    flex: 0 0 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover {
    transition: none;
    transform: translateY(0) !important;
  }

  .horizontal-feed {
    scroll-behavior: auto;
  }
}

body {
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}