.fb-check-page { min-height: 100vh; background: #f4f6f8; }
.fb-check-shell { width: min(1380px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 90px; }
.fb-check-heading { margin-bottom: 22px; }
.fb-check-heading .eyebrow { margin-bottom: 7px; color: #2864d8; }
.fb-check-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.fb-check-heading > p:last-child { margin: 10px 0 0; color: var(--muted); }
.fb-check-card { padding: 26px; border: 1px solid #e0e5eb; border-radius: 13px; background: #fff; box-shadow: 0 16px 42px rgba(24, 39, 57, .06); }
.fb-check-notice { padding: 14px 16px; border-left: 4px solid #2864d8; border-radius: 8px; background: #eef4ff; }
.fb-check-notice strong { color: #224e9f; }
.fb-check-notice p { margin: 6px 0 0; color: #526276; font-size: 13px; line-height: 1.7; }
.fb-check-input-label { display: grid; gap: 9px; margin-top: 22px; color: #27364a; font-size: 14px; font-weight: 900; }
.fb-check-input-label textarea { width: 100%; padding: 13px 14px; resize: vertical; border: 1px solid #cfdae6; border-radius: 8px; outline: 0; font: 14px/1.7 Consolas, "Courier New", monospace; }
.fb-check-input-label textarea:focus { border-color: #2864d8; box-shadow: 0 0 0 3px rgba(40, 100, 216, .1); }
.fb-check-actions { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; margin-top: 14px; }
.fb-check-actions .button { min-height: 44px; }
.fb-check-progress { display: flex; gap: 10px; align-items: center; margin-top: 15px; padding: 11px 13px; border-radius: 8px; background: #f2f6fb; color: #526276; font-size: 12px; }
.fb-check-progress[hidden] { display: none; }
.fb-check-progress i { width: 16px; height: 16px; border: 2px solid #b8c8dc; border-top-color: #2864d8; border-radius: 50%; animation: fb-spin .8s linear infinite; }
.fb-check-status { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.fb-check-status.error { color: #bc3d35; }
.fb-check-status.success { color: #16804b; }
.fb-result-title { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 24px 0 14px; }
.fb-result-title span { height: 1px; background: #dce3eb; }
.fb-result-summary { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 13px; }
.fb-result-summary span { padding: 7px 10px; border-radius: 999px; background: #f1f4f8; color: #526276; font-size: 12px; }
.fb-result-summary .alive { background: #ebfaf1; color: #167044; }
.fb-result-summary .unavailable { background: #fff0ef; color: #b43a32; }
.fb-result-summary .unknown { background: #fff7e4; color: #84631c; }
.fb-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fb-result-column { overflow: hidden; border: 1px solid #dce3eb; border-radius: 10px; background: #fff; }
.fb-result-column header { display: grid; gap: 4px; padding: 13px 14px; background: #f5f7fa; }
.fb-result-column header span { color: var(--muted); font-size: 10px; }
.fb-result-column.alive header { background: #effaf3; }
.fb-result-column.unavailable header { background: #fff2f1; }
.fb-result-column.unknown header { background: #fff8e8; }
.fb-result-list { min-height: 230px; max-height: 360px; padding: 8px 14px; overflow-y: auto; }
.fb-result-list p { margin: 14px 0; color: #98a2ad; font-size: 12px; }
.fb-result-item { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.fb-result-item:last-child { border-bottom: 0; }
.fb-result-item strong { font: 13px Consolas, "Courier New", monospace; }
.fb-result-item small { color: var(--muted); font-size: 10px; }
.fb-result-column > button { width: 100%; min-height: 40px; border: 0; background: #2864d8; color: #fff; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
.fb-result-column.unavailable > button { background: #e45249; }
.fb-result-column.unknown > button { background: #bd8b25; }
.fb-result-column > button:disabled { cursor: not-allowed; opacity: .42; }
.fb-check-footnote { margin: 18px 0 0; text-align: center; color: #7a8794; font-size: 12px; }
.fb-check-toast { position: fixed; right: 24px; bottom: 24px; z-index: 1200; padding: 12px 16px; border-radius: 9px; background: #172235; color: #fff; font-size: 13px; font-weight: 900; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .18s ease, transform .18s ease; }
.fb-check-toast.visible { opacity: 1; transform: translateY(0); }
.fb-check-toast.error { background: #b63c34; }

@keyframes fb-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .fb-result-grid { grid-template-columns: 1fr; }
  .fb-result-list { min-height: 140px; }
}

@media (max-width: 600px) {
  .fb-check-shell { width: calc(100% - 24px); padding-top: 26px; }
  .fb-check-card { padding: 16px; }
  .fb-check-actions { grid-template-columns: 1fr; }
  .fb-check-toast { right: 12px; bottom: 12px; left: 12px; text-align: center; }
}
