/* Haeyo Korean — app mode and the Today screen (2026-11-08, 앱_기획_2026-11-08.md §3).
   html.app = the iOS/Android app (Capacitor) or the browser preview (?app=1). Everything here is scoped to it, except .today, which is
   the same screen on the web (#/today). Loaded after v2calm.css so the calm rules still win elsewhere. */

/* ---------- the phone's safe areas: notch at the top, home bar at the bottom ---------- */
html.app .v2-nav{padding-top:env(safe-area-inset-top)}
html.app body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
html.app .tabbar{display:grid;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
html.app .fab{bottom:calc(78px + env(safe-area-inset-bottom))}
html.app .v2-sheet{top:calc(100% + env(safe-area-inset-top))}

/* ---------- not in the app: Live, the basket, the admin, the PayPal words (§2-8) ---------- */
html.app .v2-mb[data-menu="live"], html.app .v2-sheet[data-menu="live"], html.app .bagbtn,
html.app footer a[href*="#/live"], html.app footer a[href*="#/enrol"], html.app footer a[href*="#/book"], html.app footer a[href*="#/admin"],
html.app .gisalt, html.app .okpcmp.okptrial, html.app [data-app-hide]{display:none !important}
html.app .v2-nav .okcta{display:none}

/* ---------- Today ---------- */
.today{padding:18px 0 28px}
.today .wrap{max-width:720px}
.td-top{display:flex;align-items:center;gap:16px;margin:4px 0 18px}
.td-sign{flex:none;display:grid;place-items:center;width:84px;height:84px;border:2px solid var(--ink);border-radius:18px;background:var(--butter,#fff3b0);box-shadow:4px 4px 0 var(--ink);font:700 34px/1 var(--hand);color:var(--ink);transform:rotate(-3deg)}
.td-date{margin:0 0 2px;color:var(--muted);font-size:.9rem}
.td-top h1{margin:0 0 8px;font-size:1.5rem;line-height:1.2}
.td-week{display:flex;align-items:center;gap:5px;margin:0;font-size:.82rem;color:var(--muted)}
.td-week i{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--line);background:#fff}
.td-week i.on{background:var(--coral-deep);border-color:var(--coral-deep)}
.td-week i.now{box-shadow:0 0 0 2px var(--butter,#fff3b0)}
.td-week i.fut{opacity:.5}
.td-week span{margin-inline-start:6px}
.td-c{margin:0 0 16px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff}
.td-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px}
.td-h h2{margin:0;font-size:1.05rem}
.td-h a{font-size:.88rem;font-weight:700;color:var(--coral-deep);text-decoration:none}
.td-h .cap{font-size:.8rem;color:var(--muted)}
.td-sub{margin:0 0 12px;color:var(--muted);font-size:.92rem}
.td-card.lcard2{width:100%;min-height:0}
.td-do{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.td-do li a{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;color:var(--ink);text-decoration:none;min-height:56px}
.td-do li i{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-style:normal;font-weight:800;font-size:.9rem;color:#fff}
.td-do li.done i{background:var(--coral-deep);border-color:var(--coral-deep)}
.td-do li.done a{background:var(--cream,#fbf7ef)}
.td-do li b{display:block;font-size:.98rem}
.td-do li small{display:block;color:var(--muted);font-size:.82rem;margin-top:2px}
.td-ko{margin:4px 0 2px;font-size:1.45rem;line-height:1.35;font-weight:700}
.td-en{margin:0 0 12px;color:var(--muted)}
.td-say{display:flex;gap:8px;flex-wrap:wrap}
.td-say .btn{min-height:44px}
.td-when{margin:0 0 10px}
.td-join{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:var(--cream,#fbf7ef)}
.td-join p{margin:0;flex:1 1 220px}
html[data-theme=dark] .td-c, html[data-theme=dark] .td-week i{background:transparent}

/* ---------- the plan screen in the app (store prices, no PayPal) ---------- */
.applans{padding:18px 0 32px}
.applans .wrap{max-width:720px}
.applans h1{font-size:1.5rem;margin:0 0 6px}
.applans .lead{color:var(--muted);margin:0 0 18px}
.applan{display:grid;gap:6px;padding:18px;border:1px solid var(--line);border-radius:18px;margin:0 0 12px;background:#fff}
.applan.life{border-color:var(--ink);box-shadow:4px 4px 0 var(--ink)}
.applan .pr{display:flex;align-items:baseline;gap:8px}
.applan .pr b{font-size:1.6rem}
.applan .pr span{color:var(--muted)}
.applan ul{margin:6px 0 10px;padding-inline-start:18px;color:var(--muted);font-size:.92rem}
.applan .btn{min-height:48px}
.applans .small{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0 0;font-size:.88rem}
.applans .small button{background:none;border:0;padding:0;color:var(--coral-deep);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;min-height:44px}
.applans .legal{font-size:.78rem;color:var(--muted);margin:14px 0 0}
html[data-theme=dark] .applan{background:transparent}

/* ---------- account deletion (My page → Profile) ---------- */
.mpdel{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line)}
.mpdel .linkbtn{color:var(--muted)}

/* in the app the footer keeps only the small print — the menus are in the header and the bottom tabs */
html.app .okfcols, html.app .v2-fgrid > :not(:first-child){display:none}
/* 2026-11-10: the foot of Today on the website (a member's #/ is Today; the site home is #/about) */
.td-site{margin:6px 2px 0;font:500 var(--fs-14,14px)/1.5 var(--ui);color:var(--mute)}
.td-site a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink2);text-decoration:underline;text-underline-offset:3px}
.td-card .td-start{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:14px;padding:0 22px;font-style:normal;width:auto;align-self:flex-start}
/* 2026-11-11: Today in the header for a signed-in member on a wider screen (a phone has it as the first tab of the tab bar).
   The logo goes to the site home; this pill, in the colour of the 오늘 sign, goes back to Today. */
.v2-tdl{display:none}
@media (min-width:641px){
  .v2-tdl{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px 0 10px;border-radius:9999px;border:1.5px solid var(--ink);background:var(--butter,#fff3b0);font:700 13.5px/1 var(--ui);color:var(--ink);text-decoration:none;white-space:nowrap}
  .v2-tdl .dot{width:9px;height:9px;border-radius:50%;background:var(--ink)}
  .v2-tdl:hover{background:#ffe98a}
  .v2-tdl[aria-current=page]{box-shadow:2px 2px 0 var(--ink)}
}
@media (min-width:1024px){ .v2-tdl{min-height:40px;margin-right:6px;font-size:14px} }
