/*
 * fudousan-news.com comment theme — v1
 * Public URL: https://chimatter.com/comments/themes/fudousan-news/v1.css
 *
 * Site tokens (fudousan-news_com/site/assets/css/site.css):
 *   bg #FCFAF5 (warm paper) / surface #FFFFFF / surface-2 #F2EEE6 / surface-3 #E6E0D4
 *   ink #2A2621 / ink-3 #5C554A / accent #4A6B2A (moss) / accent-wash #EAF0DF / live #BF231A
 *   Fonts: Inter + Zen Kaku Gothic New.
 *
 * The site is LIGHT-FIXED (no prefers-color-scheme in its CSS), so this release ships light tokens only.
 * Reading pages (/reads/*.html) use the central drawer (drawer.js), so the drawer tokens are set here.
 *
 * Contrast: ink on paper 14.4:1, ink-3 on paper 7.1:1, moss on paper 5.9:1, white on moss 6.1:1, error #b3261e 6.3:1.
 */

.cmt-root {
  --cmt-font: "Zen Kaku Gothic New", "Inter", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cmt-gap: 0.9rem;
  --cmt-max-width: 46rem;
  --cmt-fg: #2a2621;
  --cmt-muted: #5c554a;
  --cmt-border: #e6e0d4;
  --cmt-anchor-color: #4a6b2a;
  --cmt-highlight: #eaf0df;
}

.cmt-drawer {
  --cmt-drawer-accent: #4a6b2a;
  --cmt-drawer-tab-bg: #4a6b2a;
  --cmt-drawer-tab-fg: #ffffff;
  --cmt-drawer-sheet-bg: #fcfaf5;
  --cmt-drawer-fg: #2a2621;
  --cmt-drawer-scrim: rgba(42, 38, 33, 0.45);
  --cmt-drawer-radius: 14px;
  --cmt-drawer-shadow: 0 -10px 36px rgba(42, 38, 33, 0.18);
}

.cmt-root .cmt { border-radius: 10px; background: #ffffff; }
.cmt-root .cmt-label { color: var(--cmt-muted); }
.cmt-root .cmt-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  color: var(--cmt-fg);
  background: #ffffff;
  border: 1px solid #d6cfc1;
  border-radius: 10px;
  font-size: 1rem;
  color-scheme: light;
}
.cmt-root .cmt-input::placeholder { color: #5c554a; opacity: 1; }
.cmt-root .cmt-submit {
  min-height: 44px;
  padding-inline: 1.4em;
  border: 0;
  border-radius: 999px;
  background: #4a6b2a;
  color: #ffffff;
  font-weight: 700;
}
.cmt-root .cmt-submit:hover:not(:disabled) { background: #3b5622; }
.cmt-root .cmt-input:focus-visible,
.cmt-root .cmt-submit:focus-visible,
.cmt-root .cmt-anchor:focus-visible { outline: 3px solid #4a6b2a; outline-offset: 2px; }
.cmt-root .cmt-form-error { color: #b3261e; }
.cmt-root .cmt-form-notice,
.cmt-root .cmt-notice { color: var(--cmt-muted); }
.cmt-drawer .cmt-drawer-title { color: #2a2621; }
