/* =====================================================================
   style.css — whois検索・ドメインの有効期限チェック ツール固有の微調整のみ（wl-）。
   共通スタイルは /_shared/shirugear.css（結果表示は sg-result）。
   ===================================================================== */
.wl-inputrow {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.wl-inputrow .sg-input { flex: 1 1 auto; min-width: 0; }
.wl-inputrow .sg-btn { flex: 0 0 auto; white-space: nowrap; }
.wl-inputrow .sg-btn:disabled { opacity: 0.6; cursor: wait; }

.wl-msg { margin: var(--sg-space-3, 12px) 0 0; font-size: 0.92rem; line-height: 1.7; }
.wl-msg--error { color: #c92a2a; }
.sg-dark .wl-msg--error { color: #ff8787; }

.sg-result__value,
.sg-result-row__value { font-variant-numeric: tabular-nums; }
.sg-result-row__value { text-align: right; overflow-wrap: anywhere; }
.wl-result .sg-result__value { overflow-wrap: anywhere; }
.wl-result[data-level="soon"] .sg-result__value,
.wl-result[data-level="soon"] .sg-result__sub { color: #e8590c; }
.wl-result[data-level="expired"] .sg-result__value,
.wl-result[data-level="expired"] .sg-result__sub { color: #c92a2a; }
.sg-dark .wl-result[data-level="soon"] .sg-result__value,
.sg-dark .wl-result[data-level="soon"] .sg-result__sub { color: #ffa94d; }
.sg-dark .wl-result[data-level="expired"] .sg-result__value,
.sg-dark .wl-result[data-level="expired"] .sg-result__sub { color: #ff8787; }
.wl-result[data-level="none"] .sg-result__value { font-size: 1.4rem; }

.wl-small { display: block; font-size: 0.8rem; color: var(--sg-muted-fg, #777); }
.wl-status {
  display: inline-block;
  margin: 2px 0 2px 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(59, 91, 219, 0.08);
}
.wl-status--alert { background: rgba(232, 89, 12, 0.14); color: #d9480f; font-weight: 600; }
.sg-dark .wl-status--alert { color: #ffa94d; }
.wl-note { font-size: 0.9rem; line-height: 1.75; text-align: left; }
.wl-note p { margin: 0.4em 0; }

.wl-jp p { line-height: 1.8; }

.wl-recent__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wl-linkbtn {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--sg-primary, #3b5bdb);
  font-size: 0.85rem;
  cursor: pointer;
}
.wl-recent { list-style: none; margin: 8px 0 0; padding: 0; }
.wl-recent li + li { border-top: 1px solid var(--sg-border, #e5e7eb); }
.wl-recent__item {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wl-recent__name { font-weight: 600; overflow-wrap: anywhere; }
.wl-recent__note { font-size: 0.85rem; color: var(--sg-muted-fg, #777); text-align: right; flex: 0 0 auto; max-width: 60%; }
.wl-lv--soon { color: #e8590c; }
.wl-lv--expired { color: #c92a2a; }

.wl-list { margin: 0; padding-left: 1.2em; line-height: 1.85; overflow-wrap: anywhere; }
.wl-src { font-size: 0.88rem; overflow-wrap: anywhere; }
.wl-wide { overflow-x: auto; }
.wl-table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
.wl-table th,
.wl-table td { border: 1px solid var(--sg-border, #e5e7eb); padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.6; }
.wl-table code { font-size: 0.8rem; overflow-wrap: anywhere; }
.wl-result .sg-result-row__label { flex: 0 0 auto; max-width: 42%; }
