/* Phone reading and touch layout, desktop presentation unchanged. */
@media (max-width: 760px) {
 html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
 body { font-size: 17px; line-height: 1.6; }
 button, input, textarea, select { font-size: 17px; touch-action: manipulation; }
 button { min-height: 46px; }
 input, textarea, select { min-height: 48px; }
 p, li, dd { overflow-wrap: anywhere; }
 pre, code { overflow-wrap: anywhere; white-space: pre-wrap; }
}
@media (max-width:760px) {
 .topinner, main, footer { width: calc(100% - 28px); }
 .topinner { gap: 8px; }
 .top nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
 .navitem { font-size: 16px; min-height: 48px; justify-content: center; white-space: normal; gap: 6px; }
 .account { gap: 6px; }
 .operator > span { max-width: 80px; }
 .crumb { flex-wrap: wrap; padding: 10px 0; gap: 8px; }
 .crumb, .crumb-location, .micro, .eyebrow, .tag, .progress, .act-name,
 .hero-eye, .hero .rec, .cardcopy .micro, .stepbar .micro, .commlabel > span,
 .note-stats, .saverecord small { font-size: 14px; line-height: 1.5; letter-spacing: .03em; }
 .hero-copy p, .commtext p, .taskprompt, .discoverycopy, .dialogline p, .endtext p,
 .helperbody p, .response { font-size: 18px; line-height: 1.65; }
 .hero-copy { padding: 80px 18px 22px; }
 .hero-copy p { max-width: 100%; }
 .hero { min-height: 440px; }
 .hero .actions { flex-wrap: wrap; }
 .button, .textbutton, .termchip, .chip, .compact { font-size: 17px; min-height: 46px; padding: 10px 14px; }
 .comms .compact { width: 46px; height: 46px; min-height: 46px; }
 .cards { grid-template-columns: 1fr; gap: 14px; }
 .missioncard:last-child { display: block; grid-column: auto; }
 .cardpic, .missioncard:last-child .cardpic { height: 150px; }
 .cardcopy { padding: 16px; }
 .cardcopy h3 { font-size: 28px; }
 .section-title { flex-wrap: wrap; }
 .section-title h2 { font-size: 27px; }
 .workhead { gap: 12px; }
 .workhead h1 { font-size: 42px; }
 .workhead > .button { font-size: 16px; min-height: 46px; }
 .stepbar { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
 .workgrid { grid-template-columns: minmax(0,1fr); }
 .workpanel, .debriefbody, .endtext { padding: 19px 16px; }
 .workpanel h2 { font-size: 29px; line-height: 1.2; }
 .option { font-size: 18px; line-height: 1.55; min-height: 56px; padding: 15px 12px; gap: 12px; }
 .evidence dl > div { grid-template-columns: 1fr; }
 .evidence dt, .evidencehead { font-size: 14px; line-height: 1.5; }
 .evidence dd, .feedback, .feedback p, .instrumenthelp, .frame-detail p { font-size: 17px; line-height: 1.65; }
 .addressbook, .packetline, .hex, .reel code { font-size: 15px; line-height: 1.6; }
 .packetline { grid-template-columns: 42px minmax(0,1fr) minmax(0,1fr); gap: 6px; padding: 12px 8px; overflow-wrap: anywhere; }
 .packethead { font-size: 14px; }
 .dial { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
 .dialset { font-size: 17px; min-height: 48px; }
 .sockets { grid-template-columns: minmax(0,1fr) 32px minmax(0,1.25fr); gap: 6px; }
 .sockets > div { grid-template-rows: repeat(3,minmax(56px,auto)); gap: 10px; }
 .sockets > svg { height: 188px; }
 .socket { font-size: 16px; line-height: 1.4; min-height: 56px; padding: 8px; gap: 4px; overflow-wrap: anywhere; }
 .socket svg { width: 14px; }
 .responses { grid-template-columns: 1fr; }
 .helperbody { padding: 18px; }
 .termchip { font-size: 16px; }
 .saverecord { flex-wrap: wrap; gap: 10px; }
 .saverecord .slotactions { width: 100%; flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
 .saverecord .compact, .backup .compact { min-height: 46px; font-size: 16px; padding: 10px 14px; }
 .saverecord span { font-size: 16px; }
 .modalbody { padding: 20px 17px; }
 .modalbody p { font-size: 18px; line-height: 1.65; }
 .modalbody button { min-height: 46px; }
 .modalbody .micro { font-size: 14px; }
 .modal { max-height: calc(100dvh - 24px); }
 .reel { flex-wrap: wrap; }
 .reel .button { margin-left: auto; }
 .search input, #name-input { font-size: 18px; }
}
