/* ============================================================
   contributors.css — Takumi Senpai · Field Contributors Board
   Path: /css/contributors.css
   Load on: index.html (after open-case.css, before notify.css)
   Version: 2026-05-20-board
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   SECTION WRAPPER
   ════════════════════════════════════════════════════════════ */
#contributors-section {
  position: relative;
  background-color: #0d0a06;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent                     0px,
      transparent                     47px,
      rgba(201, 150, 60, 0.022)       47px,
      rgba(201, 150, 60, 0.022)       48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent                     0px,
      transparent                     3px,
      rgba(255, 255, 255, 0.006)      3px,
      rgba(255, 255, 255, 0.006)      4px
    );
  border-top:    1px solid rgba(201, 150, 60, 0.08);
  border-bottom: 1px solid rgba(201, 150, 60, 0.08);
  padding: 64px 24px 72px;
  overflow: hidden;
}

/* Vignette */
#contributors-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Corner watermark */
#contributors-section::after {
  content: 'EVIDENCE ON FILE';
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-family: 'Space Mono', monospace;
  font-size: 0.44rem;
  letter-spacing: 0.38em;
  color: rgba(201, 150, 60, 0.05);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Inner ─────────────────────────────────────────────────── */
.ctb-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* ── Eyebrow ────────────────────────────────────────────────── */
.ctb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.46rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #c9a84c;
  opacity: 0.70;
  margin-bottom: 18px;
}
.ctb-eyebrow::before,
.ctb-eyebrow::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(201, 150, 60, 0.30);
}

/* ── Title ──────────────────────────────────────────────────── */
.ctb-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(240, 236, 228);
  line-height: 1.25;
  margin-bottom: 14px;
}

/* ── Sub copy ───────────────────────────────────────────────── */
.ctb-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: rgba(240, 236, 228, 0.42);
  max-width: 560px;
  margin: 0 auto 12px;
}

/* ════════════════════════════════════════════════════════════
   JOIN CTA LINE  — "Join the investigation…"
   ════════════════════════════════════════════════════════════ */
.ctb-join-line {
  margin: 0 auto 36px;
  font-family: 'Courier Prime', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  color: rgba(240, 236, 228, 0.30);
}

.ctb-join-link {
  color: rgba(201, 150, 60, 0.75);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 150, 60, 0.35);
  padding-bottom: 1px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
  background: none;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  padding: 10px;
}
.ctb-join-link:hover {
  color: rgba(201, 150, 60, 1.0);
  border-color: rgba(201, 150, 60, 0.70);
}

/* ════════════════════════════════════════════════════════════
   INVESTIGATION BOARD CARD WRAPPER
   捜査資料を無造作に貼り付けたような傾いたカード
   ════════════════════════════════════════════════════════════ */
.ctb-board-wrap {
  position: relative;
  margin: 0 auto 28px;
  max-width: 740px;
}

/* 紙テープ — カード最上部 */
.ctb-board-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: rgba(240, 232, 170, 0.40);
  border-radius: 1px;
  z-index: 4;
  pointer-events: none;
}

/* プッシュピン — 左上 */
.ctb-board-pin {
  position: absolute;
  top: -11px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e05050, #cc3333);
  box-shadow: 0 2px 7px rgba(0,0,0,0.65), inset 0 -1px 2px rgba(0,0,0,0.4);
  z-index: 4;
  pointer-events: none;
}

/* カード本体 — 古い捜査書類風 */
.ctb-board {
  position: relative;
  min-height: 64px;
  background-color: #f0e8d4;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent        0px,
      transparent        23px,
      rgba(0, 0, 0, 0.040) 23px,
      rgba(0, 0, 0, 0.040) 24px
    ),
    /* 紙の軽い斑点テクスチャ */
    radial-gradient(ellipse at 20% 30%, rgba(180,140,60,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(120,90,30,0.05) 0%, transparent 55%);
  border: 1px solid rgba(160, 120, 50, 0.28);
  box-shadow:
    0 3px 10px rgba(0,0,0,0.42),
    0 12px 32px rgba(0,0,0,0.52),
    inset 0 1px 0 rgba(255,255,240,0.55);
  padding: 28px 24px 22px;
  transform: rotate(-1deg);
  transform-origin: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ctb-board:hover {
  transform: rotate(-0.3deg) scale(1.005);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.48),
    0 20px 48px rgba(0,0,0,0.58),
    inset 0 1px 0 rgba(255,255,240,0.55);
}

/* ── ヘッダースタンプ ────────────────────────────────────────── */
.ctb-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(100, 70, 20, 0.18);
}

.ctb-board-stamp {
  font-family: 'Special Elite', cursive;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b1515;
  opacity: 0.85;
  text-shadow: 1px 0 0 rgba(139,21,21,0.2);
}

.ctb-board-id {
  font-family: 'Courier Prime', monospace;
  font-size: 0.44rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(26, 18, 8, 0.32);
}

/* ── Loading dots ───────────────────────────────────────────── */
.ctb-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
}

.ctb-loading-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(139, 21, 21, 0.50);
  animation: ctbDotPulse 1.4s ease-in-out infinite;
}
.ctb-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.ctb-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ctbDotPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%       { opacity: 1.00; transform: scale(1.1); }
}

/* ── Count label ────────────────────────────────────────────── */
.ctb-count {
  font-family: 'Courier Prime', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 18, 8, 0.40);
  margin-bottom: 18px;
}

/* ── Pills container ────────────────────────────────────────── */
.ctb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  justify-content: center;
  align-items: center;
}

/* ── Single name pill — 捜査ボードの貼り付け名前票 ─────────── */
.ctb-pill {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #1a1208;
  background: rgba(255, 252, 238, 0.90);
  border: none;
  border-radius: 1px;
  padding: 6px 16px 5px;
  transform: rotate(var(--ctb-rotate, 0deg));
  cursor: default;
  transition:
    background 0.18s ease,
    transform 0.22s ease,
    box-shadow 0.18s ease;
  position: relative;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.28),
    0 4px 12px rgba(0,0,0,0.18);
}

/* セロテープ風上部装飾 */
.ctb-pill::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 13px;
  background: rgba(240, 232, 170, 0.55);
  border-radius: 1px;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* 下部の細い手書き線 */
.ctb-pill::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(26, 18, 8, 0.12);
  pointer-events: none;
}

.ctb-pill:hover {
  background: rgba(255, 240, 220, 0.95);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.32),
    0 0 0 1px rgba(139, 21, 21, 0.22);
  transform: rotate(0deg) translateY(-2px) scale(1.04);
  z-index: 1;
}

/* ── Empty state ────────────────────────────────────────────── */
.ctb-empty {
  font-family: 'Courier Prime', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: rgba(26, 18, 8, 0.38);
  padding: 12px 0;
  font-style: italic;
}

/* ── CTA line at the bottom ─────────────────────────────────── */
.ctb-cta-line {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.28);
}
.ctb-cta-link {
  color: rgba(201, 150, 60, 0.65);
  text-decoration: none;
  transition: color 0.18s ease;
}
.ctb-cta-link:hover {
  color: rgba(201, 150, 60, 1.0);
}
/* button 要素として使う場合のリセット — 見た目はリンクと同一 */
.ctb-cta-link--btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}


/* ════════════════════════════════════════════════════════════
   NEXT ACTION CTA  (#ocNextActionCTA)
   ════════════════════════════════════════════════════════════ */
#ocNextActionCTA {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: min(460px, calc(100vw - 32px));
  background: #1a1208;
  border: 1px solid rgba(201, 150, 60, 0.35);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  box-shadow:
    0 -6px 28px rgba(0,0,0,0.55),
    0 -2px 8px  rgba(201,150,60,0.10);
  z-index: 100000;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  padding: 22px 22px 24px;
  box-sizing: border-box;
}

#ocNextActionCTA.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

#ocNextActionCTA.is-hiding {
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.ocna-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(240, 236, 228, 0.35);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.15s ease;
}
.ocna-close:hover { color: rgba(240, 236, 228, 0.80); }

.ocna-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.44rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(201, 150, 60, 0.55);
  margin: 0 0 8px;
}
.ocna-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(240, 236, 228);
  margin: 0 0 4px;
}
.ocna-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.60rem;
  letter-spacing: 0.06em;
  color: rgba(240, 236, 228, 0.42);
  margin: 0 0 18px;
}

.ocna-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ocna-btn {
  flex: 1 1 auto;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  padding: 11px 14px;
  cursor: pointer;
  border: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.ocna-btn--primary {
  background: #8b1515;
  color: rgb(240, 230, 200);
  box-shadow: 0 2px 8px rgba(139, 21, 21, 0.35);
}
.ocna-btn--primary:hover {
  background: #a01818;
  box-shadow: 0 4px 14px rgba(139, 21, 21, 0.50);
}

.ocna-btn--ghost {
  background: transparent;
  color: rgba(240, 236, 228, 0.65);
  border: 1px solid rgba(201, 150, 60, 0.25);
}
.ocna-btn--ghost:hover {
  background: rgba(201, 150, 60, 0.08);
  color: rgb(240, 236, 228);
  border-color: rgba(201, 150, 60, 0.50);
}

@media (max-width: 480px) {
  #ocNextActionCTA {
    width: 100%;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 18px 18px 26px;
  }
  .ocna-btn-row { flex-direction: column; }
  .ocna-btn     { min-width: unset; width: 100%; }
}


/* ════════════════════════════════════════════════════════════
   TINY MEMORY CHECKBOX  (.oc-tiny-memory-label)
   ════════════════════════════════════════════════════════════ */
.oc-tiny-memory-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
  padding: 14px 16px;
  background: rgba(201, 150, 60, 0.08);
  border: 1.5px dashed rgba(139, 90, 20, 0.45);
  border-radius: 3px;
  margin: 4px 0 14px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
}
.oc-tiny-memory-label:hover {
  background: rgba(201, 150, 60, 0.14);
  border-color: rgba(139, 90, 20, 0.70);
  box-shadow: 0 0 0 2px rgba(201, 150, 60, 0.10);
}

.oc-tiny-memory-cb {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.oc-tiny-memory-box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(139, 90, 20, 0.55);
  border-radius: 2px;
  background: rgba(255, 250, 240, 0.92);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.oc-tiny-memory-box::after {
  content: '';
  display: block;
  width: 12px;
  height: 7px;
  border-left:  3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(-45deg) translate(1px, -2px);
  transition: border-color 0.15s ease, opacity 0.15s ease;
  opacity: 0;
}

.oc-tiny-memory-cb:checked + .oc-tiny-memory-box {
  background: #8b1515;
  border-color: #8b1515;
  box-shadow:
    0 0 0 3px rgba(139, 21, 21, 0.22),
    inset 0 1px 3px rgba(0, 0, 0, 0.25);
}
.oc-tiny-memory-cb:checked + .oc-tiny-memory-box::after {
  border-color: #f5ead8;
  opacity: 1;
}

.oc-tiny-memory-cb:focus-visible + .oc-tiny-memory-box {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

.oc-tiny-memory-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.oc-tiny-memory-text strong {
  font-family: 'Special Elite', cursive;
  font-size: 0.95rem;
  color: #1a1208;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.3;
}
.oc-tiny-memory-text em {
  font-family: 'Courier Prime', monospace;
  font-style: italic;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: rgba(30, 20, 8, 0.65);
  line-height: 1.55;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Contributors section
   ════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  #contributors-section { padding: 52px 18px 60px; }
  .ctb-pills             { gap: 12px; }
  .ctb-pill              { font-size: 0.80rem; padding: 5px 12px 4px; }
  .ctb-board             { padding: 22px 16px 18px; }
}


/* ============================================================
   open-case-reassurance.css
   「安心宣言」リスト用スタイル追加分
   contributors.css または open-case.css に末尾追記してください。
   ============================================================ */

/* ── Reassurance declarations list ───────────────────────── */
.oc-reassurance-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 10px 14px;
  border: 1px dashed rgba(139, 26, 26, 0.35);
  border-radius: 3px;
  background: rgba(139, 26, 26, 0.04);
}

.oc-reassurance-list li {
  font-family: 'Space Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--oc-muted, #6b5c4e);
  letter-spacing: 0.01em;
}

/* モバイルでも潰れないよう最小フォントサイズを保証 */
@media (max-width: 480px) {
  .oc-reassurance-list li {
    font-size: 0.68rem;
    line-height: 1.8;
  }
}