/* PoC 7.8 · shared/responsive.css · from poc76b.html lines 741–822 */
@media (max-width:760px){
 .rail{display:none}
 .copy{bottom:var(--cb,96px)}
 .copy h1,.copy h2.hero{font-size:30px}.copy h2{font-size:26px}
 .copy p{font-size:15px}
 .copy .tr{display:table;margin:6px 0 0}
 .hints{margin-top:10px;gap:6px}
 .hintp{font-size:10px;letter-spacing:.1em;padding:4px 10px 4px 8px}
 .hintl{font-size:10px}
 .label{font-size:10px}
 #snd span{display:none}#snd svg{margin-right:0}
 .hud{gap:6px;padding:10px}.hud .pill{font-size:11px;padding:5px 9px}.pill.cu{padding:4px 8px}
 .copy[data-c="0"]:has(h2.hero.on){top:clamp(150px,22vh,200px)}
 .slogan{font-size:1.3rem;letter-spacing:.02em;line-height:1.45}
 .wmean{top:calc(var(--sy,64%) + 5.6rem)}.wmean button{font-size:11.5px;letter-spacing:.14em;padding:12px 5px}.wexp{font-size:13.5px}
 .slogan span{display:block}
 #plate{top:62px;right:16px;width:120px;transform:none}
 #plate .pcap{top:calc(100% + 6px)}
 #plate .pcap b{font-size:15px}
 #plate .pempty{padding:18%;font-size:11px}
 #plat{top:96px;width:calc(100vw - 32px)}
 .dial button{padding:22px 7px 4px;font-size:11px}
 #line{top:92px}
 .fl-row{grid-template-columns:1fr;justify-items:center;gap:12px}
 .node b{font-size:10px}
 .node i{width:34px;height:34px;font-size:12px}
 .fl-line{top:17px}
 .fl-status{font-size:13px;min-height:4em}
 #net{left:16px;right:16px;top:90px;bottom:auto;height:calc(100svh - 500px);min-height:300px}
 #net .map{height:calc(52% - 18px)}
 .copy[data-c="3"]>p.ln{font-size:14px}
 .copy[data-c="3"].tight>p.ln{font-size:13px;line-height:1.35}
 .copy[data-c="3"].tight .hints{margin-top:6px}
 .copy[data-c="3"].tight h2{font-size:22px}
 .copy[data-c="3"].tight .acts{gap:6px;margin-top:8px}
 .copy[data-c="3"].tight .btn{min-height:36px;padding:4px 12px;font-size:13px}
 #net.tight .map{height:calc(100% - 44px - 64px)}
 .copy[data-c="3"].tight .hintp{max-width:none}
 .copy[data-c="3"].tight .k{letter-spacing:.16em}
 .copy[data-c="3"].tight .tr{display:inline-block;margin:0 0 0 8px;font-size:9px;letter-spacing:.1em;padding:1px 7px}
 .copy[data-c="3"].tight .btn{min-height:32px;padding:3px 11px;font-size:12.5px}
 #net.xtight .lg{display:none}
 #net.tight.xtight .map{top:4px;height:calc(100% - 4px - 54px)}
 #net.tight.xtight .feed{height:44px}
 #net.xtight .ag small{font-size:8px;line-height:9px}
 #net.tight .feed{height:56px;padding-bottom:4px}
 #net.tight .feed p:not(:last-of-type){display:none}
 #net.tight .feed:has(.esc:not([hidden])){height:92px;z-index:3}
 #net.tight:has(.esc:not([hidden])) .wf{opacity:0;pointer-events:none;transition:opacity .3s}
 #net .lg{font-size:10px;gap:2px 12px;right:72px;justify-content:flex-start;padding-left:4px} /* master pass · the legend wraps before the guide's corner */
 #net .map{top:44px}
 .wf .wfl{display:none}
 .ag{width:30px;height:30px;margin:-15px 0 0 -15px}
 .ag span{top:calc(100% + 3px);font-size:10px;line-height:12px;letter-spacing:-.01em}.ag small{font-size:9px;line-height:12px}
 .wk em{font-size:10px}
 .wf{height:26px}.wf .st{font-size:9px}
 .feed{height:calc(48% - 30px);min-height:0;padding:6px 10px}
 .feed p{font-size:11px}
 .feed{padding-top:20px!important}
 .feed .fh{display:block;top:5px;left:10px;font-size:9px}
 .tray{gap:4px}.tray button{width:36px;height:36px}
 .copy::before{inset:-40px -16px -30px -16px;background:linear-gradient(0deg,rgba(5,3,20,.8),rgba(5,3,20,.62) 70%,transparent)}
 #chip{top:52px;font-size:11px}
 #card{left:16px!important;right:16px;top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom));width:auto}
 .sideL{font-size:10px;top:calc(var(--ht,44%) - 12px)}
 .ray{filter:blur(3px)}
 .path li{font-size:16px}
}
/* master pass · the three continuity tasks stay on one row on every phone: a wrapped row pushes the kicker up under the header */
@media (max-width:760px){.copy[data-c="4"] .seg{flex-wrap:nowrap}.copy[data-c="4"] .seg button{padding:6px 8px;font-size:13px;white-space:nowrap}}
@media (max-width:760px) and (max-height:700px){
 /* short phones (375x667): keep the production line clear of the copy block */
 #line{top:88px}
 .fl-tag{font-size:9px;letter-spacing:.14em;margin-bottom:8px;white-space:normal;overflow:visible;text-overflow:clip;padding:0 10px;text-wrap:balance}
 .fl-row{gap:8px}
 #token{padding:6px 12px;font-size:13px}
 .fl-status{min-height:2.6em;margin-top:8px;font-size:12px}
 /* master pass · once the line has been started the panel grows (tally, run again): the plain-words box and the hint step aside so the heading stays clear */
 body:has(#line.on:not(.idle)) .copy.on[data-c="2"]>p.plain,body:has(#line.on:not(.idle)) .copy.on[data-c="2"]>.hints{display:none}
}
/* master pass · continuity is the tallest card: its compact layout applies up to 800 px tall (360x780 Android phones too), not only to 375x667 */
@media (max-width:760px) and (max-height:800px){
 /* continuity on short phones: the task description, result and legend must fit under the header (7.3) */
 .copy[data-c="4"] #mgrid{height:84px;margin-top:6px}
 .copy[data-c="4"] .tdesc{margin-top:6px;font-size:13px}.copy[data-c="4"] .tdesc .td1{font-size:13.5px}.copy[data-c="4"] .tdesc .td2{font-size:12.5px}
 .copy[data-c="4"] .bleg{margin-top:5px}.copy[data-c="4"] .bleg span{padding:2px 8px 2px 6px;font-size:11px}
 .copy[data-c="4"] .acts{margin-top:8px}
 /* master pass · the whole continuity card fits under the header: kicker and label on one line, the three tasks on one row, the tap pill alone shows where to start */
 .copy[data-c="4"] .k{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px}.copy[data-c="4"] .k .tr{margin-top:0;font-size:9px;padding:1px 6px}
 .copy[data-c="4"] h2{margin-top:4px}
 .copy[data-c="4"] .seg{flex-wrap:nowrap}.copy[data-c="4"] .seg button{padding:6px 7px;font-size:12.5px;min-height:34px;white-space:nowrap}
 .copy[data-c="4"] .acts .btn.sm{min-height:34px;padding:5px 12px;font-size:13px}
 .copy[data-c="4"] .hintl.show{display:none}
 .copy[data-c="4"] #mgrid{height:76px;margin-top:4px}
}
@media (max-height:620px) and (min-width:761px){.copy h1,.copy h2{font-size:34px}.copy{bottom:56px}.copy[data-c="3"] h2{max-width:min(40vw,520px)}.copy[data-c="3"]{max-width:calc(46vw - clamp(16px,6vw,96px) - 20px)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* PoC 7.7 · phones: "Contact us" sits under the FlowiTech name so the header fits in one band */
@media (max-width:520px){
 .hud{display:grid;grid-template-columns:auto 1fr repeat(4,auto);column-gap:6px;row-gap:3px;align-items:center}
 .brand{grid-area:1/1}
 .pill.cu{grid-area:2/1;justify-self:start;margin:0;white-space:nowrap}
 .hud .lang{grid-area:1/3/3/4}#pause{grid-area:1/4/3/5}#snd{grid-area:1/5/3/6}#guideT{grid-area:1/6/3/7}
}
/* master pass · on a phone the plain-words box says what the poetic line says on Continuity, so the page keeps its height */
@media (max-width:700px){.copy[data-c="4"]>p.ln{display:none}.copy p.plain{padding:.45em .75em .5em .85em;font-size:14px;line-height:1.4}}
@media (max-width:700px) and (max-height:760px){.copy[data-c="3"]>p.ln,.copy[data-c="2"]>p.ln{display:none}}
@media (max-width:700px) and (max-height:760px){.copy p.plain{font-size:13px;line-height:1.33;padding:.3em .65em .35em .75em;margin:.35em 0 .1em}.copy p.plain b{font-size:9.5px;margin-bottom:.05em}}
/* master pass · phones: the header floats over the page, and at the footer the last page's copy slid under it ("Your next possibility"
   under the FlowiTech name); a soft dark band behind the header keeps both readable without hiding the picture */
@media (max-width:700px){.hud::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:calc(100% + 18px);background:linear-gradient(rgba(6,7,18,.86),rgba(6,7,18,.62) 72%,rgba(6,7,18,0));pointer-events:none}
.copy p.plain{background:linear-gradient(90deg,rgba(8,14,26,.78),rgba(8,14,26,.6));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ag em,.ag small{text-shadow:0 1px 3px rgba(4,6,16,.95),0 0 10px rgba(4,6,16,.85)}}
