/*
 * iTVJ (itvj.com) comment theme — v1
 * Public URL: https://chimatter.com/comments/themes/itvj/v1.css
 *
 * Site tokens (itvj_com/site/assets/css/itvj.css):
 *   bg #fff9ee (cream paper) / paper #fff / line #eadfc9 / line2 #d9ccb0
 *   ink #232b45 / ink2 #5b647d / main #2f55d4 (dark #2343b0, light #e8eeff) / hot #f2583e
 *   radius 16px / small 10px / pill controls with a 1-step drop shadow. Fonts: Zen Maru Gothic + Nunito.
 *
 * The site is LIGHT-FIXED (no toggle), so this release ships light tokens unconditionally and has no
 * prefers-color-scheme override. JA and EN views share the same threads; text comes from the SDK's
 * data-locale, not from this file.
 *
 * The site uses its own drawer (.talk: right panel on desktop, bottom sheet on phones) and does not
 * load the central drawer.js, so this file has no .cmt-drawer rules.
 *
 * Contrast: white on #2f55d4 6.2:1, ink #232b45 on white 14:1, ink2 #5b647d on cream 5.6:1, error #b3261e 6.5:1.
 */

.cmt-root {
  --cmt-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui,
              -apple-system, "Segoe UI", sans-serif;
  --cmt-gap: 0.9rem;
  --cmt-max-width: 46rem;
  --cmt-fg: #232b45;
  --cmt-muted: #5b647d;
  --cmt-border: #d9ccb0;
  --cmt-anchor-color: #2343b0;
  --cmt-highlight: rgba(47, 85, 212, 0.12);
}

.cmt-root .cmt { border-radius: 10px; background: #fff9ee; }
.cmt-root[data-cmt-form] { margin-top: 1.1rem; }
.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: #fff;
  border: 2px solid #d9ccb0;
  border-radius: 10px;
  font-size: 1rem;
  color-scheme: light;
}
.cmt-root .cmt-input::placeholder { color: #5b647d; opacity: 1; }
.cmt-root .cmt-input:focus { border-color: #2f55d4; }
.cmt-root .cmt-submit {
  min-height: 44px;
  padding-inline: 1.4em;
  border: 2px solid #2343b0;
  border-radius: 999px;
  background: #2f55d4;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 0 #2343b0;
}
.cmt-root .cmt-submit:hover:not(:disabled) { background: #2343b0; }
.cmt-root .cmt-input:focus-visible,
.cmt-root .cmt-submit:focus-visible,
.cmt-root .cmt-anchor:focus-visible { outline: 3px solid #2f55d4; outline-offset: 2px; }
.cmt-root .cmt-form-error { color: #b3261e; }
.cmt-root .cmt-form-notice,
.cmt-root .cmt-notice { color: var(--cmt-muted); }
.cmt-root .cmt-credential-retry {
  min-height: 44px;
  padding-inline: 1.4em;
  border: 2px solid #d9ccb0;
  border-radius: 999px;
  background: #fff;
  color: #2343b0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 0 #d9ccb0;
}
.cmt-root .cmt-credential-retry:focus-visible { outline: 3px solid #2f55d4; outline-offset: 2px; }
