/* =====================================================================
   style.css — 洗濯表示マークの意味早見 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる。
   ===================================================================== */

/* 系統の切替（複数行に折り返す） */
.sg-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: var(--sg-space-1, 4px);
}
.sg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* 記号カードのグリッド */
.ls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sg-space-3, 12px);
}
@media (max-width: 480px) {
  .ls-grid {
    grid-template-columns: 1fr;
  }
}

.ls-card {
  display: flex;
  gap: var(--sg-space-3, 12px);
  align-items: flex-start;
  padding: var(--sg-space-3, 12px);
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 10px);
  background: var(--sg-surface, #fff);
}

/* 記号（SVG） */
.ls-glyph {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  color: var(--sg-fg, #1f2937);
}
.ls-glyph svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ls-body {
  flex: 1 1 auto;
  min-width: 0;
}
.ls-cat {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--sg-muted, #777);
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: 999px;
  padding: 0 8px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.ls-name {
  margin: 2px 0 4px;
  font-weight: 700;
  line-height: 1.5;
}
.ls-meaning {
  margin: 0 0 6px;
  line-height: 1.6;
}
.ls-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--sg-muted, #666);
}

.ls-empty {
  text-align: center;
  padding: var(--sg-space-3, 12px) 0;
}
