/* 見本版だけの見た目：上の帯／合言葉の入口／PDF の「見本」の透かし（style.css の色と字をそのまま使う） */

/* ---------- 上の帯 ---------- */
/* iPhone SE（375×667）でも、ホームの「募集の記録をつける」が最初の画面に入る高さ（1段＋1行）にする */
.mihon { background: var(--ink); color: #fff; padding: calc(6px + var(--safe-t)) 16px 6px; }
.mihon-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.mihon-tag { flex: none; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .1em; padding: 2px 10px; border-radius: 3px; }
/* Safari は素の select の高さを変えさせないので、本体の select.in-s と同じく appearance を外して矢印を描く */
.mihon-who { flex: 1 1 0; min-width: 0; max-width: 280px; min-height: 44px; padding: 0 30px 0 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; color: #fff; font-size: 16px;
  appearance: none; -webkit-appearance: none; background-color: #33332F; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.mihon-reset { flex: none; margin-left: auto; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: none; color: #fff; font-size: 15px; cursor: pointer; }
.mihon-note { max-width: 1080px; margin: 4px auto 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.82); }
@media print { .mihon { display: none; } }

/* ---------- 合言葉の入口 ---------- */
.pass { position: relative; margin-top: 28px; }
.pass .in-t { text-align: center; letter-spacing: .15em; font-size: 18px; }
/* 見た目だけ●で隠す：欄の文字を透明にして、上に●を重ねる。type="password" や -webkit-text-security は日本語が打てなくなるので使わない（会社の決まり） */
.pass .in-t.masked { color: transparent; caret-color: transparent; }
.pass .in-t.masked::placeholder { color: var(--gray); letter-spacing: .05em; }
.pass .dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; letter-spacing: .2em; overflow: hidden; white-space: nowrap; }
.show { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; color: var(--ink2); cursor: pointer; min-height: 44px; }
.show input { width: 20px; height: 20px; accent-color: var(--accent); }
.hidden-user { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.gate p + p { margin-top: 10px; }
.gate p.err { color: var(--ng); }
.gate .btn.go { margin-top: 12px; }
.gate .foot { margin-top: 24px; font-size: 14px; }

/* ---------- PDF の透かし（見本の記録を本物とまちがえないように。印刷にも出る） ---------- */
html[data-demo] .sheet { position: relative; }
html[data-demo] .sheet::after { content: '見本'; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 150px; font-weight: 700; letter-spacing: .2em; color: rgba(200,50,43,.13); pointer-events: none; white-space: nowrap; }
