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

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: #f8fafc;
  min-height: 100vh;
  padding: 16px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
}

h1 { font-size: 1.8rem; margin: 16px 0 8px; text-align: center; }
h2 { font-size: 1.1rem; margin-bottom: 8px; color: #93c5fd; }
.intro, .note { text-align: center; opacity: 0.85; line-height: 1.5; margin-bottom: 16px; }
.note { font-size: 0.85rem; margin-top: 16px; }
.loading { text-align: center; opacity: 0.7; }

.buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }

button {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: wait; }

.result {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.7;
  min-height: 24px;
  text-align: center;
}
.result small { opacity: 0.75; }

section {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; vertical-align: top; }
th { width: 42%; font-weight: 600; opacity: 0.9; }
td { word-break: break-word; }
tr:last-child th, tr:last-child td { border-bottom: none; }
