/* Quick Math keeps its established canvas art and opts the hosted page into the shared shell. */
html.source-page,html.source-page body{width:100%;height:100%;margin:0;overflow:hidden;background:transparent}
.source-page body{display:grid;place-items:center}
.source-page canvas{display:block;width:min(100vw,56.25vh);height:min(100vh,177.7778vw);max-width:100%;max-height:100%}
.source-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

html.tt-shell .gift-legend{display:block;margin:0}
html.tt-shell .gift-legend-row{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
html.tt-shell .gift-legend-row:last-child{border-bottom:0}
html.tt-shell .practice-answer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
html.tt-shell .practice-answer button{min-height:46px}
html.tt-shell fieldset+fieldset{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
html.tt-shell .preview-wrap{position:relative}
html.tt-shell .preview-tag{position:absolute;right:10px;top:10px;z-index:2;padding:5px 9px;border-radius:7px;background:#ffd43b;color:#101114;font-size:14px;font-weight:800;text-transform:uppercase;box-shadow:0 2px 10px #0008}
html.tt-shell .effects{grid-template-columns:repeat(3,minmax(0,1fr))}
html.tt-shell .effects button{min-width:0}
html.tt-shell .streaming-panel p{color:var(--copy);font-size:15px;line-height:1.6}
html.tt-shell .streaming-panel a{color:var(--accent-text)}
html.tt-shell .panel h3{font-size:16px}
html.tt-shell .panel p{overflow-wrap:anywhere}
@media(max-width:600px){html.tt-shell .practice-answer{grid-template-columns:1fr}html.tt-shell .effects{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.source-page *{animation:none!important;transition:none!important}}
