/* 見出し・メニュー用の書体：Anton（SIL Open Font License。fonts/Anton-OFL.txt） */
@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --orange: #ff6600;          /* image.svg の地色 */
  --orange-deep: #c24600;     /* since 1998 など、控えめな文字 */
  --white: #ffffff;
  --ink: #1f1a17;
  --ink-soft: #4a423d;
  --header-h: 124px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-menu: "Anton", Impact, sans-serif;  /* Anton（fonts フォルダ、OFL）に統一 */
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-jp);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 3D ---------- */
#world { position: fixed; inset: 0; }
#world .css-layer { position: absolute; inset: 0; }
#world canvas { position: absolute; inset: 0; pointer-events: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; justify-content: center;
  z-index: 20; pointer-events: none;
}
.brand {
  pointer-events: auto; display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--white); gap: 0;
}
.brand-logo { width: 320px; height: auto; display: block; }
.brand-since { font-family: var(--font-jp); font-size: 14px; line-height: 1; letter-spacing: .2em; font-weight: 700; color: var(--orange-deep); margin-top: 2px; }
.menu {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 28px; pointer-events: auto;
}
.menu a {
  font-family: var(--font-menu); font-size: 19px; letter-spacing: .06em;
  color: var(--white); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent;
}
.menu a[aria-current="page"] { border-bottom-color: var(--white); }
.menu a.soon { opacity: .55; cursor: default; }
.menu a:focus-visible, .brand:focus-visible, button:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

/* ---------- 展示面 ---------- */
.board {
  background: var(--white); color: var(--ink);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.02);
}
.board-inner { overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,102,0,.45) transparent; }
.board-inner::-webkit-scrollbar { width: 6px; }
.board-inner::-webkit-scrollbar-thumb { background: rgba(255,102,0,.45); border-radius: 3px; }
.board-inner::-webkit-scrollbar-track { background: transparent; margin-block: 14px; }
.board-intro { width: 860px; }
.board-intro .board-inner { padding: 52px 64px 56px; }
.board-intro.compact .board-inner { padding: 36px 60px 40px; }
.board-intro.compact p { font-size: 16px; line-height: 1.8; margin-bottom: .85em; }
.board-intro.compact p.strong:first-child { margin-bottom: 1em; }
.board-intro.compact .text p:last-child { margin-top: 1.4em; }
.board.scrolls .board-inner { padding-right: 52px; }
.board { position: relative; }
.board.scrolls::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0), #fff 85%); transition: opacity .2s;
}
.board.scrolls.at-end::after { opacity: 0; }
.board-intro .text { max-width: 36em; margin: 0 auto; }
.board-intro p { font-size: 17px; line-height: 2; margin: 0 0 1.1em; letter-spacing: .02em; }
.board-intro p.strong { font-weight: 700; }
.board-intro p.strong:first-child { font-size: 23px; line-height: 1.7; margin-bottom: 1.2em; }
.board-intro .text p:last-child { margin: 1.8em 0 0; }

.board-latest { width: 1160px; }
.board-latest .board-inner {
  padding: 36px 40px 40px;
  display: grid; grid-template-columns: 64% 1fr; gap: 40px; align-items: start;
}
.thumbs { display: flex; gap: 10px; margin-bottom: 14px; overflow-x: auto; }
.thumbs button {
  flex: 0 0 auto; width: 96px; aspect-ratio: 3 / 2; padding: 0; border: 3px solid transparent;
  background: #eee; cursor: pointer; overflow: hidden;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button[aria-selected="true"] { border-color: var(--orange); }
.main-image { border-radius: 6px; overflow: hidden; display: block; width: 100%; padding: 0; border: 0; background: #f2f2f2; cursor: zoom-in; position: relative; aspect-ratio: 3 / 2; }
.main-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.latest-label { padding-top: 4px; }
.latest-label .tag { font-family: var(--font-menu); color: var(--orange); font-size: 18px; letter-spacing: .08em; margin: 0 0 10px; }
.latest-label h2 { font-family: var(--font-menu); font-weight: 400; font-size: 46px; line-height: 1.05; margin: 0 0 12px; letter-spacing: .01em; }
.latest-label .meta { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 0 0 22px; letter-spacing: .04em; }
.latest-label .desc p { font-size: 14.5px; line-height: 1.95; margin: 0 0 1em; }
.latest-label .play {
  display: inline-block; margin-top: 8px; background: var(--orange); color: var(--white);
  font-family: var(--font-menu); font-size: 20px; letter-spacing: .06em; padding: 10px 26px; text-decoration: none;
}

/* ---------- 入口の演出 ---------- */
#intro {
  position: fixed; inset: 0; background: var(--orange); z-index: 30;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .3s ease;
}
#intro.out { opacity: 0; pointer-events: none; }
.intro-mark { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--white); }
.intro-mark img { width: min(560px, 78vw); height: auto; }
.intro-mark span { font-size: 18px; font-weight: 700; letter-spacing: .2em; color: var(--orange-deep); }
.intro-hidden .site-header .brand { visibility: hidden; }

#fade { position: fixed; inset: 0; background: var(--orange); opacity: 0; pointer-events: none; z-index: 25; transition: opacity .15s linear; }
#fade.on { opacity: 1; }

/* ---------- スマホ用の「次へ」 ---------- */
#next-fixed {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 22;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--orange); border: 0; border-radius: 999px;
  font-family: var(--font-jp); font-weight: 700; font-size: 15px; padding: 11px 22px; cursor: pointer;
}
#next-fixed img { width: 18px; height: 18px; filter: invert(48%) sepia(98%) saturate(3000%) hue-rotate(2deg) brightness(102%); }

/* ---------- 拡大表示 ---------- */
#lightbox {
  position: fixed; inset: 0; z-index: 40; background: rgba(255,102,0,.97);
  display: flex; align-items: center; justify-content: center; padding: 72px 24px 24px;
}
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: var(--white); color: var(--ink);
  border: 0; font: 700 14px var(--font-jp); padding: 10px 18px; cursor: pointer;
}

/* ---------- 3Dが使えない時 ---------- */
.no3d body, body.no3d { overflow: auto; }
body.no3d #world { position: static; padding: calc(var(--header-h) + 8px) 12px 40px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
body.no3d .board { max-width: 100%; }
.noscript { color: #fff; text-align: center; padding-top: 40vh; }

/* ---------- スマホ ---------- */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  :root { --header-h: 112px; }
  .site-header { flex-direction: column; justify-content: flex-start; padding-top: 14px; height: auto; }
  .brand-logo { width: 230px; }
  .brand-since { font-size: 11px; }
  .menu { position: static; transform: none; margin-top: 10px; gap: 20px; }
  .menu a { font-size: 15px; padding: 2px 0; }
  .board-intro .board-inner, .board-intro.compact .board-inner { padding: 28px 22px 32px; }
  .board.scrolls .board-inner { padding-right: 16px; }
  .board-intro p { font-size: 16px; line-height: 1.9; }
  .board-intro p.strong:first-child { font-size: 19px; }
  .board-latest .board-inner { grid-template-columns: 1fr; gap: 18px; padding: 18px 16px 24px; }
  .latest-label h2 { font-size: 36px; }
  .thumbs button { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  #intro, #fade, .main-image img { transition: none; }
}
[hidden] { display: none !important; }

/* ---------- 戻る（左上） ---------- */
.back {
  position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 6px 0;
  font-family: var(--font-menu); font-size: 19px; letter-spacing: .06em;
}
.back img { width: 20px; height: 20px; transform: scaleX(-1); }

/* ---------- 次の操作のヒント（picos の上） ---------- */
#hint {
  position: fixed; left: 0; top: 0; z-index: 15; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--white); transition: opacity .25s;
}
#hint .hint-text {
  font-family: var(--font-menu); font-size: 22px; letter-spacing: .06em; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(150,50,0,.25);
}
#hint .hint-arrow { width: 26px; height: 26px; transform: rotate(90deg); animation: hint-bob 1s ease-in-out infinite; }
@keyframes hint-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 7px; } }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .back { left: 12px; top: 50%; transform: translateY(-50%); font-size: 15px; }
  .back img { width: 16px; height: 16px; }
  #hint .hint-text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { #hint .hint-arrow { animation: none; } }

/* ---------- WORKS ---------- */
.works-ui {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto minmax(0, 1fr);
  column-gap: 40px; color: var(--ink);
}
.works-ui .years-dom { display: none; }
.works-stage { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; min-height: 0; }
.works-side { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 0; }
.works-side .thumbs { margin: 0; flex: 0 0 auto; }
.device-slot { flex: 1; min-height: 0; background: transparent; border: 0; padding: 0; cursor: zoom-in; border-radius: 12px; }
.device-slot:disabled { cursor: default; }
.works-label { max-height: 100%; display: flex; flex-direction: column; min-height: 0; }
.works-label .board-inner { padding: 30px 32px 32px; min-height: 0; }
.works-label .year { font-family: var(--font-menu); color: var(--orange); font-size: 34px; line-height: 1; margin: 0 0 10px; letter-spacing: .03em; }
.works-label h2 { font-family: var(--font-jp); font-weight: 700; font-size: 24px; line-height: 1.45; margin: 0 0 8px; text-wrap: balance; }
.works-label .meta { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin: 0 0 18px; letter-spacing: .04em; }
.works-label .desc p { font-size: 14.5px; line-height: 1.95; margin: 0 0 1em; }
.works-label .desc p:last-child { margin-bottom: 0; }

/* ---------- AI MUSIC ---------- */
.board-music .board-inner { padding: 40px 48px 44px; }
.board-music h2 { font-family: var(--font-menu); font-weight: 400; font-size: 40px; margin: 0 0 18px; letter-spacing: .02em; }
.board-music .desc p { font-size: 14.5px; line-height: 1.95; margin: 0 0 1em; }
.board-music .play {
  display: inline-block; margin-top: 8px; background: var(--orange); color: var(--white); border-radius: 999px;
  font-family: var(--font-menu); font-size: 18px; letter-spacing: .06em; padding: 10px 26px; text-decoration: none;
}
.board-music.compact .board-inner { padding: 30px 40px 34px; }

@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .works-ui { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr) auto; row-gap: 10px; }
  .works-ui .years-dom { display: flex; justify-content: safe center; gap: 6px; overflow-x: auto; grid-row: 1; }
  .years-dom button {
    flex: 0 0 auto; font-family: var(--font-menu); font-size: 16px; letter-spacing: .04em; color: var(--white);
    background: var(--orange); border: 2px solid var(--white); border-radius: 8px; padding: 6px 10px; cursor: pointer;
  }
  .years-dom button[aria-selected="true"] { background: var(--white); color: var(--orange); }
  .works-stage { grid-row: 2 / 4; grid-column: 1; }
  .works-side { grid-row: 4; grid-column: 1; gap: 8px; }
  .works-label { max-height: 168px; }
  .works-stage .device-slot { min-height: 160px; }
  .works-label .board-inner { padding: 18px 18px 20px; }
  .works-label .year { font-size: 26px; }
  .works-label h2 { font-size: 19px; }
  .board-music .board-inner, .board-music.compact .board-inner { padding: 24px 20px 28px; }
  .board-music h2 { font-size: 32px; }
}
.works-side .thumbs button { width: 82px; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) { .works-side .thumbs button { width: 68px; } }

/* タブレットの縦長：スマホと同じ並びで、少し大きく */
@media (orientation: portrait) and (min-width: 761px) and (max-width: 1100px) {
  .brand-logo { width: 280px; }
  .menu a { font-size: 18px; }
  .back { font-size: 18px; }
  .board-intro p { font-size: 17px; }
  .works-label { max-height: 220px; }
}

/* スマホ（幅760px以下）：展示面を大きく使う */
@media (max-width: 760px) {
  :root { --header-h: 100px; }
  .site-header { padding-top: 10px; }
  .brand-logo { width: 200px; }
  .menu { margin-top: 6px; }
  #next-fixed { left: 16px; transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); padding: 10px 18px; }  /* Android の戻るジェスチャーと重ならない高さ */
  .works-side .thumbs button { width: 56px; }
  .works-label { max-height: 150px; }
  .works-ui { row-gap: 8px; }
}

/* スマホの横向きなど、高さの低い画面：ヘッダーを1行に */
@media (orientation: landscape) and (max-height: 559px) {
  :root { --header-h: 58px; }
  .site-header { height: 58px; }
  .brand { flex-direction: row; align-items: baseline; gap: 10px; }
  .brand-logo { width: 150px; }
  .brand-since { font-size: 11px; }
  .menu { right: 16px; gap: 18px; }
  .menu a { font-size: 15px; }
  .back { left: 16px; font-size: 15px; }
  .back img { width: 16px; height: 16px; }
  .board-intro .board-inner, .board-intro.compact .board-inner { padding: 22px 28px 24px; }
  .board-intro p { font-size: 15px; line-height: 1.8; }
  .board-intro p.strong:first-child { font-size: 18px; }
  .board-latest .board-inner { padding: 18px 20px 20px; gap: 20px; }
  .latest-label h2 { font-size: 30px; }
  .thumbs button { width: 64px; }
  .works-ui { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 20px; }
  .works-label .board-inner { padding: 16px 18px; }
  .works-label .year { font-size: 24px; }
  .works-label h2 { font-size: 18px; }
  .works-side .thumbs button { width: 56px; }
  .board-music .board-inner, .board-music.compact .board-inner { padding: 20px 24px; }
  .board-music h2 { font-size: 28px; }
  #hint .hint-text { font-size: 15px; }
}

/* 本文の一部をオレンジ色に（content の ==文== ） */
.orange { color: var(--orange); }

/* LATEST：縦長の画像（スマホのゲーム画面）の時 */
.board-latest.portrait .board-inner { grid-template-columns: auto minmax(0, 1fr); gap: 48px; }
.board-latest.portrait .latest-media { width: calc(var(--img-h) * var(--ar)); }
.board-latest.portrait .main-image { width: 100%; height: var(--img-h); aspect-ratio: auto; background: transparent; border-radius: 14px; }
.board-latest.portrait .thumbs { flex-wrap: nowrap; }
.board-latest.portrait .thumbs button { width: auto; height: 72px; aspect-ratio: var(--ar); }
.board-latest.portrait .latest-label { max-width: 30em; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .board-latest.portrait .board-inner { grid-template-columns: 1fr; gap: 18px; }
  .board-latest.portrait .latest-media { width: auto; display: flex; flex-direction: column; align-items: center; }
  .board-latest.portrait .main-image { width: calc(var(--img-h) * var(--ar)); }
  .board-latest.portrait .thumbs button { height: 60px; }
}
@media (orientation: landscape) and (max-height: 559px) {
  .board-latest.portrait .board-inner { gap: 24px; }
  .board-latest.portrait .thumbs button { height: 48px; }
}

/* スマホ：行間を詰める（PC 向けの 1.9〜2.0 のままだと、狭い画面では間延びする） */
@media (max-width: 760px) {
  .board-intro p, .board-intro.compact p { font-size: 16px; line-height: 1.65; margin-bottom: .8em; }
  .board-intro p.strong:first-child { font-size: 19px; line-height: 1.5; margin-bottom: .9em; }
  .board-intro .text p:last-child { margin-top: 1.2em; }
  .latest-label .desc p, .works-label .desc p, .board-music .desc p { font-size: 15px; line-height: 1.65; margin-bottom: .7em; }
  .works-label h2 { line-height: 1.35; }
}

/* WORKS のサムネイル：画像の縦横比のまま（切り抜かない）。枠は付けず、選択中は不透明＋下に白い線 */
.works-ui .works-side .thumbs { gap: 12px; overflow: visible; flex-wrap: wrap; padding-bottom: 8px; }
.works-ui .works-side .thumbs button {
  width: auto; height: 56px; aspect-ratio: auto; padding: 0; border: 0; background: none; border-radius: 3px;
  opacity: .45; transition: opacity .15s;
}
.works-ui .works-side .thumbs button img { width: auto; height: 100%; object-fit: contain; border-radius: 3px; }
.works-ui .works-side .thumbs button:hover { opacity: .8; }
.works-ui .works-side .thumbs button[aria-selected="true"] { opacity: 1; box-shadow: 0 6px 0 -2px var(--white); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .works-ui .works-side .thumbs { gap: 10px; justify-content: center; }
  .works-ui .works-side .thumbs button { height: 44px; }
}
@media (orientation: landscape) and (max-height: 559px) {
  .works-ui .works-side .thumbs button { height: 40px; }
}

/* WORKS のサムネイル：選ばれていないものは黒で暗く（下線なし） */
.works-ui .works-side .thumbs button { opacity: 1; background: #000; overflow: hidden; }
.works-ui .works-side .thumbs button img { opacity: .4; transition: opacity .15s; border-radius: 0; }
.works-ui .works-side .thumbs button:hover { opacity: 1; }
.works-ui .works-side .thumbs button:hover img { opacity: .7; }
.works-ui .works-side .thumbs button[aria-selected="true"] { box-shadow: none; }
.works-ui .works-side .thumbs button[aria-selected="true"] img { opacity: 1; }

/* スマホ：BACK は ← だけにして、メニューの行の左端に */
@media (max-width: 760px) {
  .back { left: 14px; padding: 6px 8px 6px 0; }
  .back span { display: none; }
  .back img { width: 20px; height: 20px; }
}

/* CONTACT */
.board-contact .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.board-contact .links .play { margin-top: 0; }
@media (max-width: 760px) { .menu { gap: 14px; } .menu a { font-size: 14px; } }

.board-contact .mail { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.board-contact .mail-addr { font-size: 20px; font-weight: 700; letter-spacing: .02em; user-select: all; overflow-wrap: anywhere; }
.board-contact .mail-copy {
  font: 700 13px var(--font-jp); color: var(--orange); background: var(--white);
  border: 2px solid var(--orange); border-radius: 999px; padding: 5px 14px; cursor: pointer;
}
@media (max-width: 760px) { .board-contact .mail-addr { font-size: 17px; } }

/* 拡大表示の「閉じる」：ほかのボタン（次へ・コピー）と同じ白い丸ボタン */
.lightbox-close {
  top: calc(env(safe-area-inset-top, 0px) + 18px); right: 18px;
  display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--orange); border: 0; border-radius: 999px;
  font: 700 15px var(--font-jp); padding: 10px 20px; cursor: pointer;
  box-shadow: 0 2px 0 rgba(150, 50, 0, .18);
}
.lightbox-close::before { content: "×"; font: 700 20px/1 var(--font-jp); margin-top: -2px; }
.lightbox-close:focus { outline: none; }
.lightbox-close:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
#lightbox img { border-radius: 6px; }

/* AI MUSIC：再生中の曲 */
.board-music .now { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 10px; border-radius: 12px; background: #fff3ea; }
.board-music .now[hidden] { display: none; }
.board-music .now-art { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.board-music .now-text { flex: 1; min-width: 0; }
.board-music .now-label { margin: 0; font: 400 12px var(--font-menu); letter-spacing: .08em; color: var(--orange); }
.board-music .now-title { margin: 2px 0 0; font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-music .now-toggle, .board-music .now-next {
  flex: 0 0 auto; border: 2px solid var(--orange); background: var(--white); color: var(--orange);
  border-radius: 999px; font: 700 13px var(--font-jp); padding: 6px 14px; cursor: pointer;
}
.board-music .now-toggle.is-playing { background: var(--orange); color: var(--white); }
.board-music .now-next { padding: 6px 10px; display: flex; }
.board-music .now-next img { width: 14px; height: 14px; filter: invert(48%) sepia(98%) saturate(3000%) hue-rotate(2deg) brightness(102%); }

/* 再生中の小さなプレーヤー（AI MUSIC 以外の展示で、曲が流れている時だけ） */
#mini-player {
  position: fixed; left: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 22;
  display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 5px;
  background: var(--white); border-radius: 999px; box-shadow: 0 2px 0 rgba(150, 50, 0, .18); max-width: min(320px, calc(100vw - 32px));
}
#mini-player[hidden] { display: none; }
#mini-player .mini-open { display: flex; align-items: center; gap: 10px; min-width: 0; border: 0; background: none; padding: 0 8px 0 0; cursor: pointer; }
#mini-player .mini-art { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; animation: mini-spin 6s linear infinite; }
#mini-player .mini-title { font: 700 13px var(--font-jp); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini-player .mini-stop { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--orange); cursor: pointer; position: relative; }
#mini-player .mini-stop::before { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; background: var(--white); border-radius: 2px; }
@keyframes mini-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #mini-player .mini-art { animation: none; } }
@media (max-width: 760px) {
  #mini-player { bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }
}

/* 検索エンジン・JavaScript なしの人向けの文字だけの版（build-public.py が中身を入れる） */
#static { position: relative; z-index: 50; max-width: 760px; margin: 0 auto; padding: 120px 20px 60px; background: #fff; color: #222; line-height: 1.8; }
#static h1, #static h2, #static h3 { font-family: Anton, sans-serif; font-weight: 400; color: #ff6600; }
#static img { max-width: 100%; height: auto; }
.js #static { display: none; }
