/* 最初のログイン画面（2026-10-18）。地・コマ・ボタンはほかの画面と同じ作り */
@font-face { font-family: "LOM"; src: url("../day-site-home-20261017/from-codex/assets/ltromatic-bold.ttf"); }
@font-face { font-family: "Goth"; src: local("GothicMB101Pr6N-Bold"), local("A-OTF Gothic MB101 Pr6N B"); }
:root { --ink: #111; --yel: #FBBA12; --cream: #FBF3DC; --red: #E0352B; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #d63d2c; background-image: radial-gradient(rgba(110,10,0,.38) 1.7px, transparent 2.3px); background-size: 7px 7px; color: var(--ink);
  font-family: "Goth", "Hiragino Kaku Gothic ProN", sans-serif; -webkit-text-size-adjust: 100%; }
.wrap { max-width: 440px; margin: 0 auto; padding: calc(9vh + env(safe-area-inset-top, 0px)) 18px 40px; display: flex; flex-direction: column; align-items: center; }
.logo { width: 92%; height: auto; display: block; filter: drop-shadow(3px 3px 0 rgba(17,17,17,.55)); }
/* 入力のコマ: クリーム・黒の枠と影、上に黄色の網点（薄め） */
.who { position: relative; width: 100%; margin-top: 18px; padding: 14px 16px 18px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 4px 4px 0 #000; transform: rotate(-1deg); }
.who::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 62px; pointer-events: none;
  background: linear-gradient(rgba(251,186,18,.65), rgba(251,186,18,.65)), url(../day-site-home-20261017/from-codex/assets/tex/yellow.webp) 0 0/1394px 1098px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%); }
.ttl { position: relative; margin: 0 0 12px; font-family: "LOM"; font-weight: normal; font-size: 34px; line-height: 1; color: var(--yel);
  -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.f { position: relative; display: block; margin-top: 12px; }
.tag { display: inline-block; margin-left: 2px; padding: 4px 9px 2px; background: var(--ink); color: var(--yel); font-family: "LOM"; font-size: 13px; line-height: 1; letter-spacing: .06em; transform: rotate(-2deg); }
.f input { display: block; width: 100%; height: 48px; margin-top: -2px; padding: 0 12px; border: 3px solid var(--ink); border-radius: 0; background: #fff; box-shadow: 3px 3px 0 var(--ink);
  font-family: "LOM", "Goth", sans-serif; font-size: 20px; letter-spacing: .02em; color: var(--ink); -webkit-appearance: none; appearance: none; outline: none; }
.f input::placeholder { color: #b3ab97; }
.f input:focus { box-shadow: 3px 3px 0 var(--red); border-color: var(--ink); background: #fffdf3; }
.err { margin: 12px 0 0; padding: 7px 10px; background: #fff; border: 2px solid var(--red); color: var(--red); font-size: 12.5px; line-height: 1.55; word-break: auto-phrase; }
/* ENTER: ほかの画面の「予約する」「写真を送る」と同じ黄色の丸いボタン */
.go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; margin-top: 18px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--yel); box-shadow: 4px 4px 0 var(--red); font-family: "LOM"; font-size: 24px; letter-spacing: .06em; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.go:active { transform: translate(3px, 3px); box-shadow: none; }
.go i { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; }
.go i::after { content: ""; position: absolute; left: 55%; top: 50%; border: 7px solid transparent; border-left: 10px solid var(--yel); border-right: 0; transform: translate(-50%, -50%); }
/* 点検の直し: 狭い画面（Galaxy S26）で WHO ARE YOU? が 2 行に折れていた → 1 行のまま幅に合わせる。ロゴと入力欄を画面の上下まん中に */
.ttl { white-space: nowrap; font-size: min(34px, 8.6vw); }
.wrap { min-height: 100vh; min-height: 100svh; justify-content: center; padding-top: calc(28px + env(safe-area-inset-top, 0px)); padding-bottom: 56px; }

/* 同じ名前の人が 2 人以上いるときの選択（10/18） */
.pick { margin: 12px 0 0; padding: 9px 10px 10px; background: #fff; border: 2px solid var(--ink); }
.pick p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.55; word-break: auto-phrase; }
.pick button { display: block; width: 100%; margin-top: 6px; padding: 8px 10px; font: inherit; font-size: 15px; color: var(--ink); background: var(--cream); border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.pick button:active { transform: translate(3px, 3px); box-shadow: none; }

/* 誕生日: 年・月・日の選択（10/18）。入力欄と同じ白・黒枠・影 */
.bdsel { display: flex; align-items: center; gap: 6px; margin-top: -2px; }
.bdsel label { display: flex; align-items: center; gap: 4px; }
.bdsel .sy { flex: 1.5; } .bdsel .sm, .bdsel .sd { flex: 1; }
.bdsel span { font-size: 14px; line-height: 1; color: var(--ink); }
.bdsel select { flex: 1; min-width: 0; height: 48px; padding: 0 22px 0 9px; border: 3px solid var(--ink); border-radius: 0; background: #fff; box-shadow: 3px 3px 0 var(--ink);
  font-family: "LOM", sans-serif; font-size: 20px; color: #b3ab97; -webkit-appearance: none; appearance: none; outline: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-size: 6px 6px, 6px 6px; background-position: right 11px center, right 5px center; background-repeat: no-repeat; }
.bdsel select.set { color: var(--ink); }
.bdsel select:focus { box-shadow: 3px 3px 0 var(--red); background-color: #fffdf3; }

/* ---- 案 2: GUEST PASS（紺の網点の地に、入場券の形。ENTER は赤い札） ---- */
body.lv-2 { background-color: #1d2c6e; background-image: radial-gradient(rgba(0,0,0,.33) 1.7px, transparent 2.3px); }
body.lv-2 .who { transform: none; padding-top: 0; }
body.lv-2 .who::before { display: none; }
body.lv-2 .who::after { content: ""; position: absolute; left: -3px; right: -3px; top: 44px; height: 0; border-top: 3px dashed var(--ink); }
body.lv-2 .stub { display: flex; justify-content: space-between; align-items: center; height: 44px; margin: 0 -16px 0; padding: 0 14px; background: var(--yel);
  font-family: "LOM"; font-size: 15px; letter-spacing: .08em; color: var(--ink); border-bottom: 0; }
body.lv-2 .ttl { margin-top: 16px; }
body.lv-2 .go { border-radius: 0; background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-1.5deg); }
body.lv-2 .go i { background: transparent; } body.lv-2 .go i::after { border-left-color: #fff; border-width: 11px; border-left-width: 15px; }
/* ---- 案 3: 吹き出し（黒い網点の地に、白い吹き出しで WHO ARE YOU?） ---- */
body.lv-3 { background-color: #151515; background-image: radial-gradient(rgba(255,255,255,.13) 1.6px, transparent 2.2px); }
body.lv-3 .who { transform: none; background: #fff; border-radius: 26px; margin-top: 30px; padding-top: 18px; box-shadow: 5px 5px 0 var(--red); }
body.lv-3 .who::before { display: none; }
.tail { display: none; }
body.lv-3 .tail { display: block; position: absolute; left: 34px; top: -30px; width: 46px; height: 34px; overflow: visible; }
body.lv-3 .ttl { text-align: center; font-size: min(38px, 9.4vw); }
body.lv-3 .f input, body.lv-3 .bdsel select { background-color: var(--cream); }
.stub { display: none; } body.lv-2 .stub { display: flex; }

/* ゲストとして入る（10/18）: エラーの下に、下線の文字のボタン（主のボタンは ENTER のまま） */
.asg { display: block; margin: 10px auto 0; padding: 4px 6px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }
.asg[hidden] { display: none; }
