:root{
  --bg: #f7f4fb; --panel: #ffffff; --panel-2: #ece6f4; --line: #d7cae7;
  --accent: #5b259d; --accent-soft: #d7c9e9; --accent-dim: #f3f0f8;
  --text: #1e1429; --muted: #634d80; --muted-2: #a494b8;
  --good: #259d5b; --bad: #b3402f;
}

.url-row{ display: flex; gap: 10px; }
.url-row input{ flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: var(--panel-2); color: var(--text); }
.url-row input:focus{ outline: none; border-color: var(--accent); }
.app{ padding: 13px 24px; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); white-space: nowrap; }
.app:hover{ filter: brightness(1.08); }

.banner{ display: none; margin-top: 20px; padding: 26px; border-radius: 12px; text-align: center; }
.banner.show{ display: block; }
.banner.up{ background: rgba(37,157,91,0.1); border: 2px solid var(--good); }
.banner.down{ background: rgba(179,64,47,0.1); border: 2px solid var(--bad); }
.banner.checking{ background: var(--panel-2); border: 2px solid var(--line); }
.banner .headline{ font-size: 22px; font-weight: 800; }
.banner.up .headline{ color: var(--good); }
.banner.down .headline{ color: var(--bad); }
.banner .sub{ font-size: 13px; color: var(--muted); margin-top: 8px; }

.attempt-log{ margin-top: 14px; display: flex; gap: 6px; justify-content: center; }
.attempt-dot{ width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.attempt-dot.ok{ background: var(--good); }
.attempt-dot.fail{ background: var(--bad); }
.attempt-dot.pending{ background: var(--muted-2); animation: pulse 1s infinite; }
@keyframes pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: .3; } }

.info-card{ margin-top: 18px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.info-card b{ color: var(--text); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
