/* ==================================================================
   まるごと 1日1文 — 「Über diese App」の 新デザイン（2026-10）
   mio-theme.css の「後」に 読み込む。#screen-info の 中だけに 効く。
   ★ Mio は #app の 後ろ（z-index:0）に 描かれる。顔窓 .ab-face と その 周りに
     不透明な 背景を 置かない こと（置くと Mio が 隠れる）。
   ================================================================== */
#screen-info{padding:0; gap:0}
/* 後光（body::before）は 読み物の 後ろでは 薄く する */
body:has(#screen-info:not([hidden]))::before{opacity:.35; transition:opacity .3s}
#screen-info .info-head{position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:10px 18px; background:rgba(245,246,252,.94); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px)}
#screen-info .info-back{border:1.5px solid var(--line); background:var(--panel); color:var(--ink2); font-size:13px; font-weight:700}
#screen-info #info-title{font-family:var(--font); font-size:11px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--accent-hi); margin:0}
.info-scroll{flex:1; min-height:0; overflow:auto; scrollbar-width:none; padding-bottom:calc(30px + env(safe-area-inset-bottom))}
.info-scroll::-webkit-scrollbar{display:none}

/* ---------- 冒頭 ---------- */
.ab-hero{padding:26px 24px 30px; display:flex; flex-direction:column; gap:22px}
.ab-head{display:flex; flex-direction:column; gap:10px}
.ab-wm{font-family:var(--font-title); font-weight:800; font-size:15px; letter-spacing:.12em; color:var(--accent)}
.ab-title{margin:0; font-family:var(--font-title); font-weight:800; font-size:38px; line-height:1.18; color:var(--ink); text-wrap:balance}
.ab-lead{margin:0; font-family:var(--font-title); font-weight:600; font-size:21px; line-height:1.4; color:var(--ink2); text-wrap:balance}
.ab-mio{display:flex; align-items:flex-end; gap:12px}
.ab-face{position:relative; flex:none; width:120px; height:120px}
.ab-face::before{content:""; position:absolute; inset:-8px; border-radius:50%; border:1.5px dashed var(--accent-line)}
.ab-face::after{content:""; position:absolute; right:-2px; top:6px; width:14px; height:14px; transform:rotate(45deg);
  border-radius:3px; background:var(--sun); box-shadow:0 0 0 3px var(--paper)}
/* ★ 2026-10-05: 顔窓は **Live2D では なく 写真**に した（user 判断
   「それか、○窓の mio は 写真で いいよ」）。
   理由: Live2D を 小さな 丸窓に 描くと、スクロールで 枠が 画面外へ 出た ときに
   切り取りが 四角く 崩れる（実測: 枠 y=-5 で 切り取りが 10〜854px に なった）。
   写真なら その 問題が 起きず、**描画も 軽い**（Live2D の 1体分が 不要に なる）。
   画像は 15表情の 一覧（faces.png）から normal を 切り出した 320×320・17KB。 */
.ab-face .ab-face-img{display:block; width:100%; height:100%; border-radius:50%; object-fit:cover}
.ab-say{position:relative; flex:1; margin:0 0 14px; background:var(--panel); border:1.5px solid var(--accent-line);
  border-radius:20px 20px 20px 6px; padding:12px 14px; box-shadow:0 6px 18px -8px rgba(44,71,181,.3);
  font-size:14px; line-height:1.55; color:var(--ink); display:flex; flex-direction:column; gap:3px}
.ab-say b{font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--accent-hi)}
.ab-intro{margin:0; font-size:15px; line-height:1.8; color:var(--ink2); text-wrap:pretty}
.ab-dots{height:8px; margin:0 60px; background-image:radial-gradient(circle,#c9d0f3 2px,transparent 2.6px);
  background-size:12px 8px; background-position:center}

/* ---------- 本文（renderInfoBody が 作る）---------- */
#screen-info #info-body{flex:none; overflow:visible; display:flex; flex-direction:column; gap:16px;
  padding:0 20px; font-size:15px; line-height:1.8; color:var(--ink2)}
#info-body .ab-sec{display:flex; align-items:baseline; gap:12px; padding:30px 4px 0; margin:0}
#info-body .ab-sec span{font-family:var(--font-title); font-weight:800; font-size:13px; letter-spacing:.08em; color:var(--accent-hi)}
#info-body .ab-sec b{font-family:var(--font-title); font-weight:800; font-size:23px; color:var(--ink); line-height:1.3}
#info-body > p{margin:0; padding:0 4px; text-wrap:pretty}
#info-body strong{color:var(--ink)}

.ab-card{background:var(--panel); border:1px solid var(--line); border-radius:26px; padding:4px 18px;
  box-shadow:0 10px 30px -18px rgba(30,35,80,.3)}
.ab-step{display:flex; gap:16px; padding:16px 0}
.ab-step + .ab-step,.ab-fact + .ab-fact{border-top:1px dashed var(--line)}
.ab-gem{position:relative; flex:none; width:36px; height:36px; display:grid; place-items:center; margin-top:2px}
.ab-gem::before{content:""; position:absolute; inset:5px; transform:rotate(45deg); border-radius:6px;
  background:var(--panel); border:2px solid var(--accent); box-sizing:border-box}
.ab-gem b{position:relative; font-size:13px; color:var(--accent)}
.ab-step:first-child .ab-gem::before{background:var(--accent)}
.ab-step:first-child .ab-gem b{color:#fff}
.ab-step-t{display:flex; flex-direction:column; gap:4px; min-width:0}
.ab-step-t b{font-size:17px; color:var(--ink); line-height:1.4}
.ab-step-t span{font-size:14px; line-height:1.65; color:var(--dim); text-wrap:pretty}

.ab-stats{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.ab-stat{background:var(--accent-soft); border-radius:18px; padding:12px 10px; display:flex; flex-direction:column; gap:2px; text-align:center}
.ab-stat b{font-family:var(--font-title); font-weight:800; font-size:19px; color:var(--accent); line-height:1.2}
.ab-stat span{font-size:11px; line-height:1.4; color:var(--ink2)}

.ab-feature{position:relative; overflow:hidden; background:var(--accent); border-radius:26px; padding:22px 20px;
  color:#fff; display:flex; flex-direction:column; gap:12px}
.ab-feature::before,.ab-feature::after{content:""; position:absolute; transform:rotate(45deg); pointer-events:none}
.ab-feature::before{right:-30px; top:-30px; width:130px; height:130px; border-radius:26px; border:1.5px solid rgba(255,255,255,.22)}
.ab-feature::after{right:6px; top:6px; width:58px; height:58px; border-radius:12px; border:1.5px solid rgba(255,255,255,.3)}
.ab-feature p{position:relative; margin:0; font-size:15px; line-height:1.75; max-width:270px; text-wrap:pretty; color:#fff}
.ab-feature small{position:relative; font-size:12px; color:var(--accent-soft)}
.ab-chips{position:relative; display:flex; flex-wrap:wrap; gap:6px}
.ab-chips span{padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.16); font-size:12px; font-weight:700; line-height:1.4}

.ab-levels{position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding-top:4px}
.ab-levels::before{content:""; position:absolute; left:12.5%; right:12.5%; top:16px; border-top:2px dotted #b9c2ef}
.ab-level{position:relative; display:flex; flex-direction:column; align-items:center; gap:10px}
.ab-level i{width:16px; height:16px; margin-top:8px; transform:rotate(45deg); border-radius:4px; background:var(--panel);
  border:2px solid var(--accent); box-sizing:border-box; box-shadow:0 0 0 4px var(--paper)}
.ab-level:first-child i{background:var(--accent)}
.ab-level b{font-size:13px; color:var(--ink); line-height:1.3}

.ab-fact{display:grid; grid-template-columns:96px minmax(0,1fr); gap:12px; padding:15px 0}
.ab-fact b{font-size:12px; letter-spacing:.06em; color:var(--accent); padding-top:2px; line-height:1.5}
.ab-fact span{font-size:14px; line-height:1.65; color:var(--ink2); text-wrap:pretty}

.ab-details{border:1.5px dashed var(--accent-line); border-radius:18px; font-size:13px}
.ab-details summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  padding:12px 18px; font-weight:700; color:var(--ink2); min-height:44px; box-sizing:border-box}
.ab-details summary::-webkit-details-marker{display:none}
.ab-details summary::after{content:"+"; color:var(--accent-hi); font-size:16px}
.ab-details[open] summary::after{content:"−"}
.ab-details div{padding:0 18px 14px; display:flex; flex-direction:column; gap:8px; font-size:12px; line-height:1.5; color:var(--dim)}
.ab-details code{display:block; font-family:ui-monospace,Menlo,Consolas,monospace; color:var(--ink)}
/* ★ 2026-10-06: About の 最後に 法務ページと フォームへの リンクを 置いた ので、
   この 画面で 初めて a を 使う。ブラウザ既定の 青／紫（訪問済み）に ならず、
   アプリの 色に そろえる。 */
.ab-details a{color:var(--accent); text-decoration:underline; text-underline-offset:2px}
.ab-details a:hover{color:var(--accent-hi)}
.ab-details a:visited{color:var(--accent)}

.ab-install{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
.ab-dev{background:var(--panel); border:1px solid var(--line); border-radius:22px; padding:16px 14px; display:flex; flex-direction:column; gap:8px}
.ab-dev b{font-size:15px; color:var(--ink); line-height:1.3}
.ab-dev small{display:block; font-size:11px; color:var(--accent-hi); font-weight:700; letter-spacing:.06em}
.ab-dev span{font-size:13px; line-height:1.6; color:var(--ink2)}
.ab-dev em{font-style:normal; font-weight:700; color:var(--accent)}
#info-body > p.ab-small{font-size:13px; line-height:1.7; color:var(--dim)}

/* ---------- デモ ---------- */
#screen-info #info-demo{position:relative; overflow:hidden; margin:30px 20px 0; background:var(--ink); border-radius:28px;
  padding:26px 22px 22px; color:#fff; display:flex; flex-direction:column; gap:14px}
#screen-info #info-demo[hidden]{display:none}
#info-demo::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(70% 90% at 100% 0%,rgba(142,156,230,.35) 0%,rgba(142,156,230,0) 70%)}
#info-demo > *{position:relative}
.ab-demo-k{font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--sun)}
.ab-demo-t{margin:0; font-family:var(--font-title); font-weight:800; font-size:24px; line-height:1.3; color:#fff}
#info-demo .stat-note{margin:0; font-size:14px; line-height:1.7; color:var(--accent-line); text-wrap:pretty; text-align:left}
#info-demo #btn-info-demo{height:54px; border:0; border-radius:999px; background:#fff; color:var(--accent);
  font-size:17px; font-weight:700; box-shadow:0 4px 0 var(--accent-hi)}

.ab-foot{padding:30px 24px 10px; display:flex; flex-direction:column; align-items:center; gap:6px}
.ab-foot b{font-family:var(--font-title); font-weight:800; font-size:14px; letter-spacing:.12em; color:var(--ink2)}
.ab-foot span{font-size:11px; color:var(--accent-hi)}

@media (max-width:350px){
  .ab-title{font-size:32px}
  .ab-stats{grid-template-columns:1fr}
  .ab-install{grid-template-columns:1fr}
  .ab-fact{grid-template-columns:1fr; gap:2px}
}
