.g-page { max-width: 860px; }
.tabs { margin-bottom: 14px; }
.tip { color: var(--muted); line-height: 1.55; text-align: center; max-width: 560px; margin: 0 auto 12px; }
.tip.small { font-size: 0.88rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 14px; }
.len { font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.len select, .len input { font: inherit; color: var(--ink); }
.len select { background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 6px 10px; }
.pats { justify-content: center; display: flex; margin-bottom: 10px; }
.foot { margin-top: 26px; text-align: center; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
/* breathing */
.breath { display: grid; justify-items: center; gap: 14px; }
.ring { position: relative; width: min(78vw, 340px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #7dd3fc 14%, transparent), transparent 70%); }
.ball { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c4f1ff, #7dd3fc 45%, #6366f1); box-shadow: 0 0 60px rgba(125, 211, 252, 0.5); transform: scale(0.45); transition: transform 1.2s ease-in-out; }
.say { position: relative; display: grid; justify-items: center; color: #10233f; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.say b { font: 600 clamp(1.3rem, 5vw, 1.8rem) var(--font-head); }
.say span { font: 600 2.2rem var(--font-head); min-height: 1.2em; }
.bar { width: min(78vw, 340px); height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; display: none; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7dd3fc, #6366f1); transition-property: width; transition-timing-function: linear; }
.ring.still .ball { transition: none !important; transform: scale(0.8) !important; }
.ring.still + .bar { display: block; }
@media (prefers-reduced-motion: reduce) { .ball { transition: none !important; transform: scale(0.8) !important; } .bar { display: block; } }
.rounds { text-align: center; font-weight: 700; min-height: 1.4em; margin: 8px 0 0; }
/* feelings */
.feels { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.feel { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 700 0.95rem var(--font); cursor: pointer; }
.feel span { font-size: 2.6rem; }
.feel:hover, .feel.on { border-color: var(--gold); }
.feel.on { background: var(--gold-soft); }
.answer { margin: 14px auto 0; max-width: 560px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.answer[hidden] { display: none; }
.answer p { margin: 0 0 12px; line-height: 1.55; }
.kind { margin: 18px auto 0; max-width: 560px; padding: 16px; border-radius: 18px; text-align: center; background: linear-gradient(135deg, color-mix(in srgb, #f59e0b 18%, var(--surface)), color-mix(in srgb, #ec4899 14%, var(--surface))); }
.kind span { font-weight: 800; font-size: 0.85rem; color: var(--muted); }
.kind p { font: 600 1.4rem/1.35 var(--font-head); margin: 6px 0 10px; }
.diary { margin: 16px auto 0; max-width: 560px; text-align: center; color: var(--muted); }
.diary > span { font-weight: 800; font-size: 0.85rem; }
.diary div { font-size: 1.8rem; letter-spacing: 6px; margin: 4px 0; }
.link { font: inherit; color: var(--focus); background: none; border: 0; text-decoration: underline; cursor: pointer; }
/* 5-4-3-2-1 */
.senses { text-align: center; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); max-width: 560px; margin: 0 auto; }
.senses .step { margin: 0; color: var(--muted); font-weight: 800; font-size: 0.85rem; }
.senses .big { font-size: 3.6rem; margin: 4px 0; }
.senses h2 { margin: 0 0 8px; }
.dots { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.dot { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--line-strong); background: var(--surface-2); color: var(--ink); font: 600 1.3rem var(--font-head); cursor: pointer; }
.dot.on { background: #2fbf71; border-color: #2fbf71; color: #fff; }
/* sounds */
.sounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.snd { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 700 1rem var(--font); cursor: pointer; }
.snd span { font-size: 2.8rem; }
.snd.on { border-color: #7dd3fc; background: color-mix(in srgb, #7dd3fc 16%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, #7dd3fc 30%, transparent); }
.vsel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); }
.vsel select { font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; }
