/* Retro Console Power Estimator Styles */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}
.site-header {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}
.site-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
  font-weight: 700;
}
.tagline {
  margin: 0 0 1rem 0;
  opacity: 0.9;
  font-size: 1.1rem;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  color: #f0e6d2;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom-color: #ffd700;
}
.main-nav a.active {
  border-bottom-color: #ffd700;
  font-weight: 700;
}
calculator-section, .comparison-section, .tips-section, .faq-section, .editorial-note {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.estimator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.input-group label {
  font-weight: 600;
  color: #333;
}
.input-group input, .input-group select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: white;
}
.input-group small {
  color: #666;
  font-size: 0.875rem;
}
.results-section {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 1rem;
}
.playtime-result {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.hours {
  font-size: 3rem;
  font-weight: 700;
  color: #8b4513;
}
.unit {
  font-size: 1.5rem;
  color: #666;
  font-weight: 500;
}
.playtime-details {
  color: #555;
  margin-bottom: 1rem;
}
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary {
  background: #8b4513;
  color: white;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a0522d;
}
.btn-secondary {
  background: #e0e0e0;
  color: #333;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #d0d0d0;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.comparison-table th, .comparison-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #555;
}
.table-note {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
}
.tip-card {
  background: #fff8f0;
  border-left: 4px solid #8b4513;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
}
.tip-card h3 {
  margin: 0 0 0.5rem 0;
  color: #8b4513;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.faq-item h4 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1rem;
}
.faq-item p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}
.editorial-note {
  background: #f0f8ff;
  border-left: 4px solid #4169e1;
  padding: 1rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
}
.editorial-note p {
  margin: 0.25rem 0;
}
.ad-reserve {
  text-align: center;
  padding: 1rem 0;
  margin: 1rem 0;
}
.site-footer {
  background: #333;
  color: #ccc;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid #555;
}
.site-footer a {
  color: #ffd700;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .site-header h1 { font-size: 1.8rem; }
  .estimator-grid { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; }
  .comparison-table { font-size: 0.9rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .container { padding: 0.75rem; }
  .site-header { padding: 1.5rem 0; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
