/* Keep the game invitation secondary, beneath the standalone-assistant link. */
.vetdle-challenge{width:100%;max-width:460px;margin-top:20px}
@media(max-width:700px){
 #experience .vetdle-challenge{width:calc(100% - 12px);max-width:360px;align-self:center}
}
/* Explicit, conspicuous continuation replaces all countdowns. */
#next{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:220px;max-width:290px;min-height:64px;padding:12px 17px;text-align:left;box-shadow:0 5px 14px #4a5fec29}
#next>span,.discovery-offer>span{display:flex;flex-direction:column;gap:5px;min-width:0}
#next small{font-size:8px;letter-spacing:1px;opacity:.8;font-weight:500}
#next strong{font-size:12px;line-height:1.4;font-weight:650}
#next>svg,.discovery-offer>svg{width:22px;height:22px;flex:none;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
#next.next-ready{box-shadow:0 0 0 4px #4a5fec16,0 5px 14px #4a5fec29}
#experience #assembly-view{padding-bottom:0}
#skip-animation{background:#fff;border:1px solid #bac5e6;color:#465bc4}
#automation-panel>footer{display:flex;justify-content:space-between;gap:16px;align-items:center}
#automation-panel>footer>.button{min-height:48px;box-shadow:0 4px 12px #4a5fec25}
#automation-panel>footer>span{font-size:10px;color:#8291a8}
#story-rail{grid-template-columns:repeat(10,minmax(0,1fr))}
#discovery-context{display:flex;align-items:center;gap:12px;margin-bottom:11px;color:#7c88a2;font-size:10px}
#discovery-context[hidden]{display:none}
#discovery-return{display:inline-flex;align-items:center;gap:5px;padding:5px 8px 5px 3px;color:#5868b2;font-size:11px;border-radius:6px}
#discovery-return:hover{background:#e9edf9}
#discovery-return svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8;fill:none}
#experience[data-view="discovery"] #story-director,#experience[data-view="discovery"] #mobile-story-actions{display:none!important}
#experience[data-view="discovery"] #stage{display:flex;flex-direction:column}
#experience[data-topic]:not([data-topic=""]) .clinic-feature-line>span,#experience[data-topic]:not([data-topic=""]) .clinic-feature-line>div,#experience[data-topic]:not([data-topic=""]) #clinic-details-toggle,#experience[data-topic]:not([data-topic=""]) #clinic-feature-details{display:none}
#experience[data-topic]:not([data-topic=""]) .clinic-feature-line{display:flex;padding:7px 14px;min-height:0;justify-content:flex-end}
#experience[data-topic]:not([data-topic=""]) .clinic-feature-line label{display:flex;flex-direction:row;align-items:center;gap:9px}
#experience[data-topic]:not([data-topic=""]) .clinic-feature-line label{width:min(100%,330px)}
#experience[data-topic]:not([data-topic=""]) .clinic-feature-line label>span{margin:0}
#experience #assembly-view.settled #skip-animation{background:#4960ed;color:#fff;border-color:#4960ed;min-height:42px;box-shadow:0 4px 12px #4a5fec25}
#experience #assembly-view.settled #skip-animation:after{content:' →';margin-left:10px;font-size:16px}
@media(min-width:701px){#experience[data-view="clinic"][data-topic]:not([data-topic=""]) .chapter-header h1{font-size:27px}#experience[data-view="clinic"][data-topic]:not([data-topic=""]) .stage{gap:12px;padding-top:15px}#experience[data-topic]:not([data-topic=""]) #clinic-record-links{display:none}}
.discovery-scene{display:flex;flex-direction:column;justify-content:center;gap:24px;max-width:1240px;width:100%;margin:auto;padding:18px 0}
.discovery-heading .eyebrow{font-size:10px;color:#8172b6;letter-spacing:1.5px;margin:0 0 13px}
.discovery-heading h1{font-size:clamp(27px,3.4vw,46px);line-height:1.18;letter-spacing:-1.8px;color:#2d3b52;margin:0 0 12px}
.discovery-heading h1 span{color:#7283a8;font-weight:450}
.discovery-heading>p:last-child{font-size:14px;line-height:1.5;color:#6d7e9c;margin:0}
.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.discovery-card{--accent:#6d80c4;--tint:#eef2ff;display:grid;grid-template-columns:42px 1fr;gap:11px 14px;align-items:center;min-height:135px;padding:20px;text-align:left;border:1px solid #dfe5f0;border-radius:16px;background:#fff;color:#304968;box-shadow:0 3px 14px #2a446307;transition:transform .18s,border-color .18s,box-shadow .18s;cursor:pointer}
.discovery-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 8px 20px #34476913}
.discovery-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.discovery-card.tone-mint{--accent:#549a81;--tint:#eaf6f0}.discovery-card.tone-amber{--accent:#b18c45;--tint:#fcf4e6}.discovery-card.tone-rose{--accent:#be7a9e;--tint:#faeef5}.discovery-card.tone-violet{--accent:#9171bd;--tint:#f1ebfa}.discovery-card.tone-coral{--accent:#bb7c70;--tint:#faefeb}
.discovery-card-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--tint);border-radius:12px;color:var(--accent)}
.discovery-card svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6}
.discovery-card-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.discovery-card-copy strong{font-size:17px;font-weight:650;line-height:1.3}.discovery-card-copy>span{font-size:12px;line-height:1.45;color:#7989a0}
.discovery-card-action{grid-column:2;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:650;color:var(--accent)}.discovery-card-action svg{width:13px;height:13px}
.discovery-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dee4f0;padding-top:22px}
.discovery-free{background:#fff;border:1px solid #cdd7eb;color:#5b6f94;font-size:13px;min-height:55px;gap:12px;padding:13px 18px}
.discovery-free svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5}
.discovery-offer{gap:22px;min-height:58px;padding:12px 20px;text-align:left}
.discovery-offer small{font-size:10px;font-weight:400;opacity:.8}.discovery-offer strong{font-size:13px}
.discovery-hint{margin:0;color:#8a97ad;font-size:10px;text-align:center}
.branch-explain-scene{min-height:0;display:flex;align-items:center;justify-content:center;padding:20px;border:1px solid #dfe5f0;border-radius:17px;background:#fff}
.discovery-visual{display:flex;flex-direction:column;gap:25px;width:100%;max-width:1120px;margin:auto}
.discovery-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.visual-stock .discovery-flow{grid-template-columns:repeat(4,minmax(0,1fr))}
.discovery-flow-card{position:relative;border:1px solid #dfe4f1;border-radius:14px;background:#f7f8fd;padding:22px}
.discovery-flow-card+.discovery-flow-card:before{content:"";position:absolute;left:-19px;top:50%;height:2px;width:18px;background:#c1c9e4}
.flow-symbol{width:44px;height:44px;border:1px solid #e0ddf0;border-radius:12px;background:#f0edf9;color:#8b76ba;display:grid;place-items:center;margin-bottom:20px}
.flow-symbol svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.6;fill:none}
.discovery-flow-card h2{font-size:17px;line-height:1.3;color:#425778;margin:0 0 10px}.discovery-flow-card p{font-size:12px;line-height:1.6;color:#75859f;margin:0}
.discovery-footnote{margin:0;color:#8a97ab;font-size:11px;text-align:center;line-height:1.45}
.stock-example{display:flex;align-items:center;gap:30px;background:#fcf8ed;padding:15px 22px;border-radius:12px;color:#9b875f;font-size:11px}
.demand-bars{display:flex;align-items:flex-end;gap:9px;height:65px;flex:1;padding-top:15px;max-width:350px;margin:0 auto}
.demand-bars i{display:block;position:relative;flex:1;height:var(--height);background:#c7b37f;border-radius:4px 4px 0 0;min-width:10px;animation:bar-grow .9s ease backwards;transform-origin:bottom}
.demand-bars b{position:absolute;top:-16px;left:50%;transform:translateX(-50%);font-size:9px;font-weight:500}
@keyframes bar-grow{from{transform:scaleY(.1);opacity:.3}}
@media(max-width:1050px) and (min-width:701px){.discovery-card{padding:16px;gap:10px}.discovery-card-copy strong{font-size:15px}.discovery-card-copy>span{font-size:11px}.discovery-flow-card{padding:16px}.discovery-flow-card h2{font-size:15px}.discovery-flow-card p{font-size:11px}}
@media(max-width:700px){
 #experience #next{min-width:0;max-width:none;min-height:43px;padding:7px 11px;gap:8px;text-align:left;justify-content:space-between}
 #next>span{gap:2px}#next small{font-size:6.5px;letter-spacing:.7px}#next strong{font-size:10px;line-height:1.25}#next>svg{width:18px;height:18px}
 #experience #assembly-view{padding-bottom:0}
 #automation-panel>footer{gap:9px;flex-direction:column}#automation-panel>footer>.button{width:100%;min-height:41px}#automation-panel>footer>span{font-size:8px}
 #discovery-context{margin-bottom:5px;gap:8px;font-size:8px}#discovery-return{font-size:9px;padding:3px 5px 3px 0}#discovery-return svg{width:12px;height:12px}
 #experience[data-topic]:not([data-topic=""]) .chapter-header .eyebrow{display:none}
 #experience[data-topic]:not([data-topic=""]) #narration{font-size:10px;line-height:1.4}
 #experience[data-topic]:not([data-topic=""]) .clinic-feature-line>span,#experience[data-topic]:not([data-topic=""]) .clinic-feature-line>div,#experience[data-topic]:not([data-topic=""]) #clinic-details-toggle{display:none}
 #experience[data-topic]:not([data-topic=""]) #clinic-record-links{display:none}
 #experience .discovery-scene{padding:7px 0 0;gap:14px;justify-content:center;min-height:0}
 .discovery-heading .eyebrow{font-size:7px;letter-spacing:.8px;margin-bottom:8px}.discovery-heading h1{font-size:26px;letter-spacing:-.9px;line-height:1.12;margin-bottom:8px}.discovery-heading h1 span{display:block}
 .discovery-heading>p:last-child{font-size:11px;line-height:1.4}
 .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .discovery-card{grid-template-columns:27px 1fr;min-height:102px;padding:10px;gap:7px;align-content:start;border-radius:12px}
 .discovery-card-icon{width:27px;height:27px;border-radius:8px}.discovery-card svg{width:18px;height:18px}
 .discovery-card-copy{display:contents}.discovery-card-copy strong{font-size:12px;line-height:1.3}.discovery-card-copy>span{grid-column:1/-1;font-size:9px;line-height:1.4}
 .discovery-card-action{grid-column:1/-1;font-size:8px;gap:5px}.discovery-card-action svg{width:10px;height:10px}
 .discovery-bottom{flex-direction:column;gap:8px;padding-top:12px;align-items:stretch}.discovery-free{min-height:38px;font-size:10px;padding:9px;gap:7px}.discovery-free svg{width:16px;height:16px}
 .discovery-offer{min-height:44px;padding:8px 13px;justify-content:space-between}.discovery-offer>span{gap:2px}.discovery-offer small{font-size:8px}.discovery-offer strong{font-size:11px}
 .discovery-hint{font-size:8px;line-height:1.4}
 #experience .branch-explain-scene{padding:13px;border-radius:12px;align-items:center}
 .discovery-visual{gap:12px;margin:0 auto}
 .discovery-flow{grid-template-columns:1fr;gap:9px}.visual-stock .discovery-flow{grid-template-columns:1fr 1fr;gap:8px}
 .discovery-flow-card{padding:12px;display:grid;grid-template-columns:30px 1fr;gap:5px 10px;border-radius:10px}
 .discovery-flow-card+.discovery-flow-card:before{display:none}.flow-symbol{width:30px;height:30px;border-radius:8px;grid-row:1/3;margin:0}.flow-symbol svg{width:19px;height:19px}
 .discovery-flow-card h2{font-size:12px;line-height:1.35;margin:0}.discovery-flow-card p{font-size:10px;line-height:1.45;margin:0}
 .visual-stock .discovery-flow-card{display:flex;flex-direction:column;gap:7px;padding:10px}.visual-stock .flow-symbol{width:26px;height:26px}.visual-stock .flow-symbol svg{width:17px;height:17px}
 .visual-stock .discovery-flow-card h2{font-size:11px}.visual-stock .discovery-flow-card p{font-size:9px}
 .discovery-footnote{font-size:9px}.stock-example{padding:8px 10px;gap:12px;font-size:8px;line-height:1.4}.stock-example>span:first-child{max-width:65px}.stock-example>span:last-child{display:none}.demand-bars{height:42px;padding-top:13px;gap:5px}.demand-bars b{font-size:8px;top:-13px}
}
@media(max-width:700px) and (max-height:690px){
 #experience .discovery-scene{gap:9px;padding-top:0}.discovery-heading h1{font-size:22px;margin-bottom:6px}.discovery-heading .eyebrow{display:none}.discovery-heading>p:last-child{font-size:10px}
 .discovery-card{min-height:89px;padding:8px;gap:5px}.discovery-card-copy strong{font-size:11px}.discovery-card-copy>span{font-size:8.5px}.discovery-card-action{font-size:7px}
 .discovery-bottom{padding-top:9px;gap:6px}.discovery-hint{font-size:7px}
 #experience .branch-explain-scene{padding:10px}.discovery-visual{gap:9px}.discovery-flow{gap:7px}.discovery-flow-card{padding:9px;gap:4px 8px}.discovery-flow-card h2{font-size:11px}.discovery-flow-card p{font-size:9px}
 .visual-stock .discovery-flow-card{gap:5px;padding:8px}.visual-stock .discovery-flow-card h2{font-size:10px}.visual-stock .discovery-flow-card p{font-size:8px;line-height:1.4}.visual-stock .flow-symbol{display:none}.stock-example{padding:6px 8px}.demand-bars{height:36px}.discovery-footnote{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.demand-bars i{animation:none}.discovery-card{transition:none}}
html[data-reduced="true"] .demand-bars i{animation:none}
@media(max-width:700px){.visual-stock .discovery-flow-card h2{font-size:12px}.visual-stock .discovery-flow-card p{font-size:10px;line-height:1.45}.visual-stock .discovery-flow-card{padding:11px;gap:7px}.discovery-footnote{font-size:9px}}
@media(max-width:350px) and (max-height:600px){.visual-stock .discovery-flow-card h2{font-size:11px}.visual-stock .discovery-flow-card p{font-size:9px}.visual-stock .discovery-flow-card{padding:9px}}

