/* WISHualization member area. Phone first; the same colours and fonts as the website. */
:root {
  --night: #0F0C2E; --ink: #16123F; --text: #1C1A33; --muted: #5A5F78; --paper: #F5F7FB; --surface: #fff; --line: #E2E6EF;
  --teal: #05A4CC; --teal-ink: #037A99; --orange: #FF6500; --orange-soft: #FFF1E8; --orange-ink: #C2410C; --green: #1FA463;
  --display: "Poppins", "Hind Madurai", system-ui, sans-serif; --body: "Hind Madurai", "Noto Sans Tamil", "Nirmala UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
body.ta { font-size: 16.5px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin: 4px 0 8px; }
h2 { font-size: 1.2rem; margin-bottom: 8px; }
h3 { font-size: 1rem; }
p { margin: 0 0 10px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.eyebrow { font: 600 .74rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.brand img { width: 140px; }
.area { font: 600 .82rem var(--display); color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.lang { margin-left: auto; font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: var(--ink); }
.out-form { margin: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--teal-ink); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
.main { width: 100%; max-width: 720px; margin: 0 auto; padding: 18px 16px 110px; flex: 1; display: grid; gap: 14px; align-content: start; }
.foot { text-align: center; font-size: .88rem; color: var(--muted); padding: 10px 16px 90px; }
body.out .foot { padding-bottom: 24px; }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px 9px; text-decoration: none; color: var(--muted); font: 500 .78rem var(--display); }
.tabs a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current] { color: var(--orange-ink); }
@media (min-width: 760px) {
  .tabs { position: static; display: flex; justify-content: center; gap: 6px; border-top: 0; border-bottom: 1px solid var(--line); padding: 6px; background: #fff; }
  .tabs a { display: flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 10px; font-size: .93rem; }
  .tabs a[aria-current] { background: var(--paper); }
  .main { padding-bottom: 40px; }
  .foot { padding-bottom: 24px; }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card.narrow { max-width: 460px; width: 100%; margin: 6vh auto 0; }
.card.soft { background: #F0EEFB; border-color: #DDD8F6; color: #2D2763; }
.hello { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.lede { color: var(--muted); }
.next { border-top: 6px solid var(--orange); }
.next-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.next-head h2 { font-size: 1.4rem; }
.count { font: 600 .85rem var(--display); background: var(--orange-soft); color: var(--orange-ink); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.facts { display: grid; gap: 8px; margin: 12px 0 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.due { margin-top: 14px; background: var(--orange-soft); border-radius: 12px; padding: 12px; }
.due p { color: var(--orange-ink); font-weight: 600; }
ul.plain { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ok { color: #1B5E36; font-weight: 600; }
.link-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.link-card span:first-child { display: grid; }
.link-card small { color: var(--muted); }
.bar { flex: 0 0 40%; height: 10px; background: #ECEEF4; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 200px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; background: none; color: var(--ink); }
.btn.primary { background: var(--orange); color: var(--ink); }
.btn.line { border-color: var(--ink); }
.btn.quiet { color: var(--muted); }
.btn.wa { background: #25D366; color: #fff; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; margin: 0; }

.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font: 600 .95rem var(--display); color: var(--ink); }
label small, fieldset small { font: 400 .86rem var(--body); color: var(--muted); }
input, select, textarea { font: 400 1.05rem/1.4 var(--body); color: var(--text); background: var(--paper); border: 1px solid #CBD1DE; border-radius: 12px; min-height: 50px; padding: 10px 14px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(5,164,204,.3); border-color: var(--teal); }
input:disabled, select:disabled { opacity: .7; }
.code-in { font: 600 1.8rem var(--display); letter-spacing: .4em; text-align: center; }
.alert { background: #FFF1F0; color: #8A1C12; border: 1px solid #F5C2BD; border-radius: 12px; padding: 10px 14px; }
.ok-note { background: #EAF7EE; color: #1D5C32; border: 1px solid #BFE3CB; border-radius: 12px; padding: 10px 14px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
legend { font: 600 .98rem var(--display); color: var(--ink); padding: 0; margin-bottom: 6px; }
.q.tight { margin-top: -6px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick { display: flex; gap: 10px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 .95rem var(--body); cursor: pointer; background: #fff; min-width: 0; }
.pick input { width: 20px; height: 20px; min-height: 0; accent-color: var(--orange); }
.pick:has(input:checked) { border-color: var(--orange); background: #FFFAF6; }

/* 1-10 scales */
.scale { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.scale legend { float: left; width: 100%; font: 500 1rem/1.4 var(--body); color: var(--text); margin-bottom: 10px; }
.scale legend + * { clear: both; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.dots label { display: block; }
.dots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dots span { display: grid; place-items: center; height: 40px; border-radius: 10px; border: 1px solid #CBD1DE; font: 600 .95rem var(--display); color: var(--ink); background: var(--paper); cursor: pointer; }
.dots input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.dots input:focus-visible + span { outline: 3px solid var(--teal); }
.total { font: 700 1.3rem var(--display); color: var(--ink); text-align: right; }
.grp { margin-top: 8px; color: var(--teal-ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.wheel-wrap { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; position: sticky; top: 64px; z-index: 5; }
.wheel-svg { width: min(78vw, 320px); height: auto; }
@media (min-width: 760px) { .wheel-wrap { position: static; } }

/* Pre-work list */
.pw-list { display: grid; gap: 10px; }
.pw-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-decoration: none; color: var(--text); }
.pw-item .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 1rem var(--display); }
.pw-item.done .num { background: var(--green); }
.pw-item .txt { display: grid; }
.pw-item small { color: var(--muted); font-size: .88rem; }
.pw-item .st { font: 600 .85rem var(--display); color: var(--orange-ink); }
.pw-item.done .st { color: #1B5E36; }
.back { margin: 0; font-size: .95rem; }
.tick { color: var(--green); }
audio { width: 100%; }

/* E-ticket (shared markup with the booking pages) */
.ticket-card h2 { margin-bottom: 2px; }
.eticket { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 8px; }
.eticket header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 4px solid var(--orange); }
.eticket header img { width: 130px; }
.eticket header span { font: 600 .75rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.et-body { display: grid; grid-template-columns: 1fr; }
.et-info { padding: 14px 16px; display: grid; gap: 2px; }
.et-name { font: 700 1.25rem var(--display); color: var(--ink); margin: 0; }
.et-city { font: 600 1rem var(--display); color: var(--orange-ink); margin: 0; }
.et-info p { margin: 0; }
.et-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 10px 0 0; }
.et-info dt { color: var(--muted); font-size: .82rem; }
.et-info dd { margin: 0; font: 600 .95rem var(--display); color: var(--ink); }
.et-due { color: var(--orange-ink); font-weight: 600; }
.et-qr { border-top: 2px dashed #CBD1DE; padding: 16px; display: grid; justify-items: center; gap: 4px; }
.et-qr svg { width: 210px; height: 210px; }
.et-qr svg path { fill: var(--ink); }
.et-qr small { color: var(--muted); font-size: .8rem; }
@media (min-width: 560px) { .et-body { grid-template-columns: 1fr 200px; } .et-qr { border-top: 0; border-left: 2px dashed #CBD1DE; } .et-qr svg { width: 170px; height: 170px; } }
.signout-bottom { display: none; }
@media (max-width: 759px) {
  .area, .out-form { display: none; }
  .signout-bottom { display: block; text-align: center; }
}

/* ---------- The year of practice (stage 6) ---------- */
.ic { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.bell:hover { background: var(--paper); }
.bell b { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); color: var(--ink); font: 700 .68rem/18px var(--display); text-align: center; padding: 0 4px; }
body.year .lang { margin-left: auto; }
.today-head .sub, .sub { color: var(--muted); margin: 0; }
.today-head { display: grid; gap: 2px; }
.small-btn { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.go { font: 600 .9rem var(--display); color: var(--orange-ink); white-space: nowrap; }
.next-mini { border-left: 6px solid var(--orange); }

.banner { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: var(--orange-soft); border-color: #FFD9C2; }
.banner .ic { width: 28px; height: 28px; color: var(--orange-ink); }
.banner span { display: grid; }
.banner small { color: var(--muted); }

/* Practice card */
.practice { border-top: 6px solid var(--teal); display: grid; gap: 12px; }
.pr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pr-head h2 { margin: 0; }
.streak { display: grid; justify-items: center; min-width: 76px; padding: 8px 10px; border-radius: 16px; background: var(--paper); }
.streak b { font: 700 1.9rem/1 var(--display); color: var(--ink); }
.streak span { font: 500 .72rem/1.2 var(--display); color: var(--muted); text-align: center; }
.nudge { margin: 0; background: #F0EEFB; color: #2D2763; border-radius: 12px; padding: 8px 12px; font-size: .92rem; }
.voice audio { display: block; }
.add-voice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 2px dashed #CBD1DE; border-radius: 14px; text-decoration: none; color: var(--ink); font: 600 .95rem var(--display); }
.add-voice .ic { color: var(--orange-ink); }
.mine-links { display: flex; gap: 8px; flex-wrap: wrap; }
.mine-links a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 .9rem var(--display); }
.mine-links .ic { width: 18px; height: 18px; color: var(--teal-ink); }
.ticks { display: grid; gap: 8px; }
.tick-form, .cheer-form { margin: 0; }
.tick { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--text); min-height: 58px; }
.tick .box { flex: 0 0 30px; height: 30px; border-radius: 9px; border: 2px solid #CBD1DE; display: grid; place-items: center; color: transparent; background: var(--paper); }
.tick .box .ic { width: 18px; height: 18px; stroke-width: 3; }
.tick .t { display: grid; }
.tick b { font: 600 .98rem/1.3 var(--display); color: var(--ink); }
.tick small { color: var(--muted); font-size: .84rem; }
.tick.core .box { border-color: var(--teal); }
.tick.on { border-color: #BFE3CB; background: #F3FBF6; }
.tick.on .box { background: var(--green); border-color: var(--green); color: #fff; }
.tick:disabled { opacity: .6; }
.action-form { display: flex; gap: 8px; margin: -2px 0 4px 42px; }
.action-form input { min-height: 42px; padding: 8px 12px; font-size: .98rem; }
.counted { margin: 0; color: #1B5E36; font: 600 .95rem var(--display); display: flex; gap: 6px; align-items: center; }
.counted .ic { width: 18px; height: 18px; stroke-width: 3; }
.pr-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0; font-size: .92rem; }
.rule { margin: 0; }

/* 21-day challenge */
.challenge { text-decoration: none; color: var(--text); border-top: 6px solid var(--orange); display: grid; gap: 10px; }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ch-head .eyebrow { margin: 0; }
.ch-prompt { font: 500 1.05rem/1.45 var(--body); color: var(--ink); margin: 0; }
.boxes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 6px 0; }
.boxes span { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font: 600 .85rem var(--display); color: var(--muted); }
.boxes.small span { height: 14px; border-radius: 4px; }
.boxes.small { gap: 4px; grid-template-columns: repeat(21, 1fr); }
.boxes .done { background: var(--green); border-color: var(--green); color: #fff; }
.boxes .miss { background: #F3F4F7; color: #A5AABD; }
.boxes .now { border: 2px solid var(--orange); color: var(--orange-ink); }
ol.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
ol.days li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); }
ol.days li:first-child { border-top: 0; }
ol.days .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 600 .85rem var(--display); color: var(--ink); }
ol.days li.done .n { background: var(--green); color: #fff; }
ol.days li.now .n { background: var(--orange); }
ol.days li.miss { color: var(--muted); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font: 500 .98rem/1.4 var(--body); color: var(--text); cursor: pointer; }
.check-row input { width: 22px; height: 22px; min-height: 0; margin-top: 1px; flex: 0 0 auto; accent-color: var(--green); padding: 0; }

/* Sessions */
.session-card { border-left: 6px solid var(--teal); display: grid; gap: 8px; }
.session-card.live { border-left-color: var(--orange); background: #FFFBF7; }
.session-card h2 { margin: 0; font-size: 1.15rem; }
.session-card h2 small { display: block; font: 600 .8rem var(--display); color: var(--teal-ink); margin-bottom: 2px; }
.when { font: 600 .98rem var(--display); color: var(--ink); margin: 0; }
.join { justify-self: start; }
.join-later { margin: 0; }
.session-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; font-size: .92rem; }
.session-links a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 600; }
.session-links .ic { width: 18px; height: 18px; }
.batch-line { margin: -4px 0 0; }
.ses-list { list-style: none; margin: 0; padding: 0; }
.ses-list li { border-top: 1px solid var(--line); }
.ses-list li:first-child { border-top: 0; }
.ses-list a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--text); }
.ses-list .num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 600 .85rem var(--display); color: var(--ink); }
.ses-list .txt { display: grid; }
.ses-list b { font: 600 .95rem/1.35 var(--display); color: var(--ink); }
.ses-list small { color: var(--muted); font-size: .85rem; }
.ses-list.past .num { background: #EEF0F5; color: var(--muted); }
.tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 480px) {
  .ses-list a { grid-template-columns: 36px minmax(0, 1fr); row-gap: 4px; }
  .ses-list .tags { grid-column: 2; justify-content: flex-start; }
  .ses-list .tags:empty { display: none; }
}
.tag { font: 600 .72rem var(--display); font-style: normal; padding: 3px 8px; border-radius: 999px; background: #E3F5FA; color: var(--teal-ink); white-space: nowrap; }
.tag.ok { background: #E3F4EA; color: #1B5E36; }

.audio-card { display: grid; gap: 8px; }
.audio-card h2 { margin: 0; }
.news-card { text-decoration: none; color: var(--text); border-left: 6px solid var(--ink); }
.news-card p:last-child { margin: 0; }
.partner .partner-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.partner h2 { margin: 0; }
.partner p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.tile { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 .93rem/1.3 var(--display); }
.tile .ic { color: var(--teal-ink); width: 24px; height: 24px; }
.tile.hot { background: var(--orange-soft); border-color: #FFD9C2; }
.tile.hot .ic { color: var(--orange-ink); }

/* My WISH hub */
.hubs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub { display: grid; gap: 10px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--text); min-height: 118px; }
.hub .ic { width: 28px; height: 28px; color: var(--orange-ink); }
.hub span { display: grid; gap: 2px; }
.hub b { font: 600 1rem/1.25 var(--display); color: var(--ink); }
.hub small { color: var(--muted); font-size: .84rem; line-height: 1.35; overflow-wrap: anywhere; }
.privacy { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .88rem; margin: 0; }
.privacy .ic { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; margin-top: 2px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font: 600 .88rem var(--display); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips a i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.chips.seg a { flex: 1 1 0; justify-content: center; }

/* Wish board */
.wish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wish { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); }
.wish .pic { position: relative; aspect-ratio: 4 / 3; background: var(--paper); }
.wish .pic img { width: 100%; height: 100%; object-fit: cover; }
.wish .nopic { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; opacity: .85; }
.wish .nopic .ic { width: 36px; height: 36px; }
.wish .pic em { position: absolute; left: 8px; top: 8px; background: var(--green); color: #fff; font: 600 .74rem var(--display); font-style: normal; padding: 3px 10px; border-radius: 999px; }
.wish .wtxt { display: grid; gap: 4px; padding: 10px 12px 12px; align-content: start; }
.wish .wtxt b { font: 600 .95rem/1.3 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.wish .wtxt small { color: var(--muted); font-size: .82rem; }
.wish .bar { height: 6px; flex: none; }
.wish.done { border-color: #BFE3CB; }
.area-chip { justify-self: start; font: 600 .72rem var(--display); color: var(--c); background: #F3F4F7; background: color-mix(in srgb, var(--c) 12%, #fff); padding: 2px 8px; border-radius: 999px; }
.picks.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .picks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-pick span { display: inline-flex; gap: 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.area-pick i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .two-col { grid-template-columns: 1fr; } }
.photo-field { display: grid; gap: 10px; }
.photo-field img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
input[type=file] { min-height: 0; padding: 10px; background: #fff; }
details.fulfil { border: 1px solid #BFE3CB; background: #F6FCF8; border-radius: 14px; padding: 12px 14px; display: grid; gap: 12px; }
details.fulfil[open] { display: grid; }
details.fulfil summary { cursor: pointer; font: 600 1rem var(--display); color: #1B5E36; }
details.fulfil > *:not(summary) { margin-top: 12px; }

/* Reading view (My scene, path card) */
.reading { display: grid; gap: 18px; }
.read-item .eyebrow { margin-bottom: 4px; }
.read { font: 400 1.12rem/1.75 var(--body); color: var(--ink); white-space: normal; margin: 0; }
.read-item.scene .read { font-size: 1.2rem; }
.btns + .muted { margin-top: -6px; }

/* 90-day plans */
.milestone { border-top: 1px solid var(--line); padding-top: 10px; }
.milestone:first-of-type { border-top: 0; padding-top: 0; }
.milestone legend { font-size: .9rem; color: var(--teal-ink); }
.weeks { display: grid; gap: 6px; }
.week { display: grid; grid-template-columns: 78px 1fr 34px; gap: 8px; align-items: center; }
.week .wk { display: grid; font: 600 .85rem/1.2 var(--display); color: var(--ink); }
.week .wk small { color: var(--muted); font: 400 .78rem var(--body); }
.week input:not([type=checkbox]) { min-height: 42px; padding: 8px 10px; font-size: .95rem; }
.week.now { background: var(--orange-soft); border-radius: 12px; padding: 4px 6px; margin: 0 -6px; }
.mini-check { display: grid; place-items: center; }
.mini-check input { width: 24px; height: 24px; min-height: 0; padding: 0; accent-color: var(--green); }
.sticky-save { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 10; display: flex; justify-content: center; padding: 8px 0; }
.sticky-save .btn { box-shadow: 0 8px 24px rgba(15, 12, 46, .18); }
@media (min-width: 760px) { .sticky-save { bottom: 12px; } }

/* Journal */
.jlist { list-style: none; margin: 0; padding: 0; }
.jlist .jday { font: 600 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 0 4px; }
.jlist .jday:first-child { padding-top: 0; }
.jlist a { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.kind { justify-self: start; font: 600 .72rem var(--display); padding: 2px 9px; border-radius: 999px; background: #E3F5FA; color: var(--teal-ink); }
.kind.k-grat { background: #E3F4EA; color: #1B5E36; }
.kind.k-week { background: var(--orange-soft); color: var(--orange-ink); }
.snip { font-size: .95rem; color: var(--text); }

/* Community */
.compose summary { display: flex; gap: 10px; align-items: center; cursor: pointer; font: 600 1rem var(--display); color: var(--ink); list-style: none; }
.compose summary::-webkit-details-marker { display: none; }
.compose summary .ic { color: var(--orange-ink); }
.compose[open] summary { margin-bottom: 12px; }
.feed { display: grid; gap: 12px; }
.post { display: grid; gap: 10px; }
.post header { display: flex; gap: 10px; align-items: center; }
.post header span:last-child { display: grid; }
.post header small { color: var(--muted); font-size: .82rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 700 1rem var(--display); color: var(--ink); flex: 0 0 auto; }
.post.k-news { border-left: 6px solid var(--ink); }
.post.k-news .avatar { background: var(--ink); color: #fff; }
.post.k-story .avatar { background: var(--orange-soft); color: var(--orange-ink); }
.post.pinned { background: #FBFAFF; }
.pbody { overflow-wrap: anywhere; }
.pphoto { border-radius: 14px; width: 100%; max-height: 420px; object-fit: cover; }
.state { margin: 0; font: 600 .86rem var(--display); padding: 6px 10px; border-radius: 10px; }
.state.wait { background: #E3F5FA; color: var(--teal-ink); }
.state.no { background: #FFF1F0; color: #8A1C12; }
.cheer { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font: 600 .9rem var(--display); color: var(--muted); }
.cheer.on { color: var(--orange-ink); border-color: #FFD9C2; background: var(--orange-soft); }
.cheer.on .ic { fill: currentColor; }

/* More */
.list-card { padding: 8px 18px; }
.list-card h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.more-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.list-card h2 + .more-row { border-top: 0; }
.more-row .ic { color: var(--teal-ink); }
.more-row span { display: grid; }
.more-row b { font: 600 .98rem var(--display); color: var(--ink); }
.more-row small { color: var(--muted); font-size: .84rem; }
.more-row i { font-style: normal; color: var(--muted); font-size: 1.3rem; }

/* Progress */
.pbars { display: grid; gap: 10px; }
.pbar { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; }
.pbar .lbl { font: 600 .88rem var(--display); color: var(--ink); }
.pbar .track { height: 14px; border-radius: 99px; background: #ECEEF4; overflow: hidden; }
.pbar .track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.pbar b { font: 700 1rem var(--display); color: var(--ink); text-align: right; }
.rounds { list-style: none; margin: 0; padding: 0; }
.rounds li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rounds li:first-child { border-top: 0; }
.rounds li span { display: grid; }
.rounds small { font-size: .85rem; }
.wheels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.wheels figure { margin: 0; display: grid; justify-items: center; gap: 4px; }
.wheels .wheel-svg { width: 100%; max-width: 240px; height: auto; }
.wheels figcaption { font: 600 .88rem var(--display); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.score-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.score-table th, .score-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.score-table th[scope=row] { text-align: left; font-weight: 500; white-space: normal; }
.score-table thead th { font: 600 .8rem var(--display); color: var(--muted); }

/* Downloads, updates */
.dl-list, .notes { list-style: none; margin: 0; padding: 0; }
.dl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.dl-list li:first-child { border-top: 0; }
.dl-list li > span { display: grid; }
.dl-list small { color: var(--muted); font-size: .84rem; }
.notes a { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.notes li:first-child a { border-top: 0; }
.notes b { font: 600 .98rem var(--display); color: var(--ink); }
.notes small { color: var(--muted); font-size: .8rem; }
.notes li.new b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; }
.push-state { font: 600 .95rem var(--display); color: var(--ink); }

/* Practice tracker */
.month-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.month-nav a { font-size: 1.3rem; text-decoration: none; padding: 0 10px; }
.month-nav h2 { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font: 600 .72rem var(--display); color: var(--muted); text-align: center; padding-bottom: 2px; }
.cal .day { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 10px; background: var(--paper); border: 1px solid transparent; }
.cal .day b { font: 600 .9rem var(--display); color: var(--ink); }
.cal .day i { font-style: normal; font-size: .64rem; color: var(--muted); line-height: 1; }
.cal .did { background: var(--green); }
.cal .did b, .cal .did i { color: #fff; }
.cal .some { background: #DDF0E4; }
.cal .none b { color: #A5AABD; }
.cal .today { border-color: var(--orange); }
.legend { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.legend .day { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.legend .did { background: var(--green); }
.legend .some { background: #DDF0E4; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stats div { display: grid; }
.stats b { font: 700 1.6rem var(--display); color: var(--ink); }
.stats span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 420px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } }

/* Tabs with five items fit small phones */
.tabs a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body.year .tabs a { font-size: .72rem; padding: 8px 2px 9px; }
body.ta.year .tabs a { font-size: .66rem; }
@media (min-width: 760px) { body.year .tabs a { font-size: .93rem; padding: 8px 14px; } }
@media (max-width: 759px) { body.year .lang { padding: 3px 10px; } }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: var(--ink); color: #fff; font: 600 .92rem var(--display); padding: 10px 18px; border-radius: 999px; z-index: 50; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.main > * { min-width: 0; }
details.all-ses summary { cursor: pointer; font: 600 .95rem var(--display); color: var(--teal-ink); padding: 8px 0 4px; }
