/*
 * FancyNews (fancynews.com) comment theme — v1
 * Public URL: https://chimatter.com/comments/themes/fancynews/v1.css
 *
 * Site tokens (fancynews_com/site/assets/css/fancy.css):
 *   bg #12152b / surface #1c2142 / raised #272d5a / line #343b6e / line2 #4d5596
 *   ink #f4eedc / ink2 #b9bddb / ink3 #8f94bd / amber #ffc24b (ink on amber #2a2150) / red #ff7a6b
 *   radius 18px / small 12px / pill buttons. Fonts: Zen Maru Gothic + Fredoka.
 *
 * The site is DARK-FIXED (no toggle), so this release ships dark tokens unconditionally and has no
 * prefers-color-scheme override. It serves both the Japanese and English views of the same page
 * (shared 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.
 *
 * Dark ink on amber #ffc24b keeps filled controls above 4.5:1.
 */

.cmt-root {
  --cmt-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui,
              -apple-system, "Segoe UI", sans-serif;
  --cmt-gap: 0.9rem;
  --cmt-max-width: 46rem;
  --cmt-fg: #f4eedc;
  --cmt-muted: #b9bddb;
  --cmt-border: #4d5596;
  --cmt-anchor-color: #ffc24b;
  --cmt-highlight: rgba(255, 194, 75, 0.16);
}

.cmt-root .cmt { border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.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: #12152b;
  border-color: #4d5596;
  border-radius: 12px;
  font-size: 1rem;
  color-scheme: dark;
}
.cmt-root .cmt-input::placeholder { color: #8f94bd; opacity: 1; }
.cmt-root .cmt-submit {
  min-height: 44px;
  padding-inline: 1.4em;
  border-radius: 999px;
  background: #ffc24b;
  color: #2a2150;
  font-weight: 700;
}
.cmt-root .cmt-submit:hover:not(:disabled) { background: #ffd070; }
.cmt-root .cmt-input:focus-visible,
.cmt-root .cmt-submit:focus-visible,
.cmt-root .cmt-anchor:focus-visible { outline: 2px solid #ffc24b; outline-offset: 3px; }
.cmt-root .cmt-form-error { color: #ff7a6b; }
.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: 0;
  border-radius: 999px;
  background: #ffc24b;
  color: #2a2150;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cmt-root .cmt-credential-retry:focus-visible { outline: 2px solid #ffc24b; outline-offset: 3px; }
