/* 読みこみ画面と「タップしてはじめる」（2026-12-04 ローディング担当・js/loading.js）
   style.css の loader の節（出し入れ・背景・札・一言・ヒント）はそのまま使い、ここで帯と押す所を足す。
   光らせない・点滅させない・左だけの太線は使わない。動きは prefers-reduced-motion で止める */
#loader{--land:clamp(150px,36svh,340px);padding-bottom:calc(var(--land) + 12px);overflow:hidden;
  -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;}
#loader img{-webkit-touch-callout:none;pointer-events:none;-webkit-user-drag:none;}
/* the old little track is gone: the band at the bottom does its work */
#loader .ldTrack{display:none;}
.ldBox{position:relative;z-index:1;}
html.ldRe .ldEmb{width:168px;margin-bottom:14px;}

/* 下の帯：画面の幅いっぱい。SVG は 1マス＝3〜4px で描く */
.ldLand{position:absolute;left:0;right:0;bottom:0;height:var(--land);overflow:hidden;pointer-events:none;}
.ldLand svg{position:absolute;left:0;bottom:0;display:block;}
.ldLand .b{transition:transform .55s cubic-bezier(.2,1.25,.35,1);}
.ldLand svg.still .b{transition:none;}

/* 一言（読みこみ中）→ 押す所（読み終わったら） */
.ldMsg[hidden],.ldStart[hidden],.ldTip[hidden]{display:none!important;}
.ldStart{display:grid;justify-items:center;gap:14px;margin-top:20px;animation:ldUp .32s var(--out) both;}
@keyframes ldUp{from{opacity:0;transform:translateY(8px);}}
/* the button is a ticket, like the ones on the title */
.ldGo{display:grid;grid-template-columns:52px auto;align-items:stretch;min-height:58px;font:inherit;cursor:pointer;padding:0;text-align:left;
  background:#ffcf4a;color:var(--ink);border:3px solid var(--ink);border-radius:8px;box-shadow:0 6px 0 #070d1a,0 12px 22px rgba(0,0,0,.35);
  overflow:hidden;transition:transform .14s var(--out),box-shadow .14s var(--out);}
.ldGo .ico{display:grid;place-items:center;background:#f4a93c;border-right:3px dashed var(--ink);}
.ldGo .ico svg{width:30px;height:30px;image-rendering:pixelated;}
.ldGo .tx{display:flex;align-items:center;padding:10px 20px;font-family:var(--display);font-size:21px;letter-spacing:.08em;white-space:nowrap;}
.ldGo:hover{transform:translateY(-2px);box-shadow:0 8px 0 #070d1a,0 14px 24px rgba(0,0,0,.36);}
.ldGo:active{transform:translateY(4px);box-shadow:0 2px 0 #070d1a,0 4px 10px rgba(0,0,0,.3);}
.ldGo:focus-visible{outline:3px solid #fbfbf6;outline-offset:4px;}
/* the sound switch is the quieter of the two */
.ldSnd button{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:700;color:#dfe7f2;background:rgba(10,19,36,.55);
  border:2px solid rgba(223,231,242,.7);padding:5px 12px;cursor:pointer;}
.ldSnd button svg{width:14px;height:14px;}
.ldSnd button[aria-pressed="false"]{color:#97a8c0;border-color:rgba(151,168,192,.6);}
.ldSnd button:focus-visible{outline:2px solid #ffcf4a;outline-offset:3px;}
@media (max-width:420px){ .ldGo .tx{font-size:19px;padding:10px 16px;} }
@media (max-height:560px){ .ldEmb{width:150px;margin-bottom:10px;} .ldTip{display:none;} }

/* タイトルの登場の動きは、押してから始める（読みこみ中は止めておく） */
html.loading #intro,html.loading #intro *{animation-play-state:paused!important;}

@media (prefers-reduced-motion:reduce){ .ldLand .b{transition:none;} .ldStart{animation:none;} .ldGo{transition:none;} }
