/* Phones: every feature card fits on one screen (owner review 2026-10-23:
   "very long cards, hard to see on a phone"). Loaded last; phone-only. */
/* The reminder's "saved to your history" line: only phones show it, inside
   the card, in place of the history row under it. */
.routine-sub-after{display:none}
@media(max-width:540px){
/* Chapter cards: tighter copy above each demo. */
.chapter-copy{padding:18px 18px 14px}
.chapter h3{font-size:31px;letter-spacing:-1.4px;margin:6px 0 10px}
.chapter-copy>p{font-size:13px;line-height:1.6}
.chapter-number{top:14px;right:18px;font-size:22px}

/* Doctor brief: a short excerpt - no overline, visit note or attachments
   line (owner review 2026-10-23). */
.scene.share-study,.reader-demo{min-height:466px}
html[lang=ka] .scene.share-study,html[lang=ka] .reader-demo{min-height:505px}
.reader-document{top:8px}
.reader-toolbar{height:42px}
.reader-body{padding:14px 17px 12px}
.reader-heading h4{font-size:22px;margin-top:0}
.reader-chart-head{margin-top:10px}
.reader-overline,.reader-visit,.reader-source{display:none}
.reader-footer{padding:10px 17px}
.share-card{width:230px;height:322px}
.share-card-qr>img{width:118px;height:118px}
.share-card-caption{bottom:30px}

/* Reminder: the clock, the notification and the week; no history line. */
.film-routine{min-height:440px}
.film-routine .film-stage{height:440px}
.film-routine .film-time{top:18px;font-size:46px}
.film-routine .film-time>.routine-day{margin-bottom:8px}
.film-routine .film-time>span:last-child{display:none}
.film-routine .film-notification{top:112px;padding:18px 16px}
.film-routine .film-routine-log{display:none}
/* Taken: the card's own subtitle changes, on the button's beat. */
.routine-sub{display:grid}
.routine-sub>span{grid-area:1/1}
.routine-sub-before{animation-name:film-before}
.routine-sub-after{display:block;animation-name:film-after}
.film-routine .film-week{top:356px;padding-top:12px}

/* Conversations: shorter section, shorter frames. */
.conversation-section{padding:48px 0}
.conversation-heading h2{font-size:32px;margin-bottom:0}
.conversation-rail{padding-top:22px;padding-bottom:20px}
.conversation-card{height:590px;min-height:590px;max-height:590px;padding:20px 15px 20px}
.conversation-card header{margin-bottom:16px}
.conversation-reply-bubble .detailed-chat-brief{height:255px;max-height:255px}

/* Family: smaller circle card under the copy. */
.family-copy{padding:26px 22px 4px}
.family h2{font-size:32px;margin-top:0}
.family p{margin:14px 0 18px}
.family-visual{min-height:0;padding:66px 0 36px}
.family-mini{width:225px;padding:18px}
.family-mini header{padding-bottom:12px}
.family-member{margin-top:11px}
.family-pet-peek{top:-58px;width:78px;height:78px}
}
@media(max-width:400px){html[lang=ka] .scene.share-study,html[lang=ka] .reader-demo{min-height:528px}}
