:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7ff;
  background: #0b1533;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(35, 101, 236, .34), transparent 55%),
    linear-gradient(160deg, #102757 0%, #0b1533 55%, #071029 100%);
}

button, input { font: inherit; }
button { cursor: pointer; }

.shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 32px; }
.hero { margin: 0 0 28px; }
.eyebrow { color: #7de6ff; font-size: .72rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 9px; }
h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); letter-spacing: -.05em; line-height: 1.05; margin: 0; }
.intro { color: #bac9ed; line-height: 1.6; margin: 14px 0 0; max-width: 600px; }

.panel {
  background: rgba(15, 29, 65, .9);
  border: 1px solid rgba(151, 185, 255, .18);
  border-radius: 18px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .28);
  padding: clamp(20px, 5vw, 30px);
}
h2 { font-size: 1.35rem; letter-spacing: -.025em; margin: 0 0 22px; }
label { display: block; font-size: .86rem; font-weight: 700; margin: 18px 0 8px; }
input {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: #09142f;
  border: 1px solid #34466f;
  border-radius: 10px;
  outline: none;
  padding: 0 14px;
}
input:focus { border-color: #69d7ff; box-shadow: 0 0 0 3px rgba(105, 215, 255, .14); }
input::placeholder { color: #7e8eaf; }
.submit-row { display: flex; gap: 10px; }
.submit-row input { min-width: 0; }
button {
  min-height: 46px;
  color: #07142f;
  background: linear-gradient(180deg, #8cf9bd, #37d99b);
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  padding: 0 18px;
  white-space: nowrap;
  transition: filter .15s, transform .15s;
}
button:hover { filter: brightness(1.08); transform: translateY(-1px); }
button:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .7; transform: none; }
.actions { margin-top: 16px; }
button.secondary { color: #e9f2ff; background: #263d70; border: 1px solid #48629a; }
.cooldown, .message { min-height: 1.3em; margin: 12px 0 0; font-size: .88rem; }
.cooldown { color: #f3c878; }
.message { color: #bac9ed; }
.message.error { color: #ff9a9a; }
.message.success { color: #83f0bd; }

.requests-panel { margin-top: 20px; }
.section-heading { align-items: center; display: flex; justify-content: space-between; gap: 12px; }
.section-heading h2 { margin-bottom: 0; }
.count { color: #9eb2dd; font-size: .85rem; }
.request-list { list-style: none; margin: 22px 0 0; padding: 0; }
.request-item { align-items: center; border-top: 1px solid rgba(151, 185, 255, .14); display: flex; gap: 16px; justify-content: space-between; padding: 16px 0; }
.request-title { font-weight: 800; overflow-wrap: anywhere; }
.request-meta { color: #9eafd3; font-size: .82rem; margin-top: 6px; }
.empty { color: #aebfe2; padding: 12px 0; }
footer { color: #8293b7; font-size: .8rem; line-height: 1.5; padding: 18px 4px; }

@media (max-width: 520px) {
  .shell { padding-top: 38px; }
  .submit-row { flex-direction: column; }
  .submit-row button { width: 100%; }
  .request-item { align-items: flex-start; }
}
