/* RECOA マイページ — アプリ(html.is-app)の時だけ効く見た目 [appui1028]
   ブラウザでは .app-hero と .app-only を隠すだけ。値は my.css の変数(--or・--hair・--sub・--en)を使う */
.app-hero,.app-only{display:none}

/* ---- ログイン画面(案 B: ロゴから入る) ---- */
html.is-app #vLogin{place-items:start center;padding-top:0}
html.is-app #vLogin .brand{display:none}
html.is-app .app-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;position:relative;overflow:hidden;
  height:clamp(190px,32svh,262px);margin:0 calc(var(--gut) * -1) 22px;border-bottom:1px solid var(--hair)}
.app-hero .ring{position:absolute;left:50%;top:50%;border:1px solid var(--or);border-radius:50%;transform:translate(-50%,-62%)}
.app-hero .r1{width:150px;height:150px;opacity:.22}
.app-hero .r2{width:250px;height:250px;opacity:.12}
.app-hero .r3{width:360px;height:360px;opacity:.06}
.app-hero .wm{position:relative;font-family:var(--en);font-weight:700;font-size:54px;letter-spacing:.02em;line-height:1;display:flex;align-items:center;color:var(--ink)}
.app-hero .wm i{display:inline-block;width:.66em;height:.66em;border-radius:50%;background:var(--or);margin:0 .03em 0 .05em}
.app-hero .wm-k{position:relative;font-family:var(--en);font-weight:600;font-size:11px;letter-spacing:.24em;color:var(--sub)}
html.is-app .app-hero .ring{animation:apRipple 2.4s cubic-bezier(.2,.7,.2,1) both}
html.is-app .app-hero .r2{animation-delay:.18s}
html.is-app .app-hero .r3{animation-delay:.36s}
@keyframes apRipple{from{transform:translate(-50%,-62%) scale(.35);opacity:0}}
@media (prefers-reduced-motion:reduce){ html.is-app .app-hero .ring{animation:none} }
html.is-app #vLogin .auth-h{font-size:19px;line-height:1.5;margin-bottom:8px}
html.is-app #vLogin .auth-h br{display:none}
html.is-app #vLogin .auth-foot{margin-top:28px}

/* ---- 押し心地(ボタン・タブ・メニューだけ。文章や写真は今まで通り選べる) ---- */
html.is-app{-webkit-tap-highlight-color:transparent}
html.is-app .btn,html.is-app .tabs a,html.is-app .nav a,html.is-app .mtop a,html.is-app .filters button,html.is-app .kinds button,html.is-app .rows a,html.is-app .now a,html.is-app .can a{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

/* ---- 上の帯からログアウトを外す(押し間違いを防ぐ)。ログアウトは「困った時は」の下 ---- */
html.is-app .mtop-me a[href="#logout"]{display:none}
html.is-app .app-only{display:block}
html.is-app .help-out{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.help-out p{margin:0;color:var(--sub);font-size:14.5px}

/* ---- [rpush1028] 通知を受け取るかを聞く枠(下のタブの上・影なし) ---- */
.push-ask{position:fixed;left:max(12px, env(safe-area-inset-left, 0px));right:max(12px, env(safe-area-inset-right, 0px));bottom:calc(76px + env(safe-area-inset-bottom, 0px));z-index:35;
  background:var(--paper);border:1px solid var(--ink);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:8px}
.push-ask-h{margin:0;font-weight:700;font-size:16px}
.push-ask-p{margin:0;font-size:14px;color:var(--sub);line-height:1.7}
.push-ask-act{display:flex;align-items:center;gap:12px;margin-top:4px}
.push-ask-act .btn{flex:1;min-height:46px}
.push-ask-no{background:none;border:0;font:inherit;font-size:14px;color:var(--sub);text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 8px;cursor:pointer}

/* [mycraft1031] アプリ: パスワード決め(#vChange)もログインと同じ印・印を少し低く(キーボードが出てもボタンが隠れにくい) */
html.is-app #vChange{place-items:start center;padding-top:0}
html.is-app #vChange .brand{display:none}
html.is-app .app-hero{height:clamp(150px,22svh,200px)}
html.is-app .app-hero .wm{font-size:46px}
html.is-app #vChange .auth-h{font-size:19px;line-height:1.5;margin-bottom:8px}
html.is-app #vChange .auth-h br{display:none}

/* [myshape1101] 形を役目で分ける(my.css と同じ決まり) */
.push-ask{border-radius:var(--r-soft,12px)}

/* [review1103] 素材: 紙のスキャン(アプリの時だけ app.js が置く) */
.mat-scan{display:flex;flex-direction:column;gap:6px;margin-top:10px;text-align:center}
.mat-scan .btn{width:100%}
.mat-scan small{color:var(--sub);font-size:13px;line-height:1.6}
/* 説明の 1 文字だけが次の行に落ちない(古い iOS は今のまま) */
html.is-app .drop small{text-wrap:balance}
html.is-app .rows-hn{text-wrap:pretty}
