.dmt-app,.dmt-app *{box-sizing:border-box}
.dmt-app{touch-action:manipulation;-webkit-tap-highlight-color:transparent;--surface:rgba(6,56,143,.44);--surface-strong:rgba(4,42,117,.78);--glass:rgba(235,248,255,.74);--glass-strong:rgba(245,251,255,.86);--line:rgba(205,235,255,.86);--line-soft:rgba(255,255,255,.2);--text:#ffffff;--title:#ffffff;--blue:#0d60d5;--deep:#032b76;--navy:#031f57;--yellow:#ffc326;--cream:#fff9ed;position:relative;left:50%;right:50%;width:100vw;max-width:100vw;margin-left:-50vw;margin-right:-50vw;min-height:100svh;overflow:hidden;isolation:isolate;font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;color:var(--text);background:
radial-gradient(circle at 20% 0%, rgba(132,233,255,.35), transparent 28%),
radial-gradient(circle at 82% 18%, rgba(255,130,215,.22), transparent 24%),
linear-gradient(180deg, rgba(0,67,166,.18), rgba(1,27,86,.66)),
#0a68d0 var(--dmt-bg) center/cover no-repeat;
}
.dmt-app::before{content:"";position:absolute;inset:0;z-index:-2;background:
linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 18%, rgba(0,18,64,.25) 100%),
radial-gradient(circle at 50% 48%, rgba(255,255,255,.15), transparent 42%)}
.dmt-app::after{content:"";position:absolute;inset:auto -10% -12% -10%;height:42%;z-index:-1;background:linear-gradient(180deg, rgba(0,43,121,0), rgba(0,26,82,.56));filter:blur(14px)}
.dmt-app:fullscreen,.dmt-app.is-fullscreen{position:fixed!important;inset:0!important;left:0!important;right:0!important;margin:0!important;z-index:999999!important;width:100vw!important;height:100svh!important;min-height:100svh!important;border-radius:0!important}
.dmt-app button,.dmt-app h2,.dmt-app h3,.dmt-app p,.dmt-app span,.dmt-app div,.dmt-app figure,.dmt-app article,.dmt-app section{font-family:inherit}
.dmt-shell{position:relative;z-index:1;max-width:1280px;min-height:100svh;margin:0 auto;display:flex;flex-direction:column;padding:16px clamp(14px,2.8vw,34px) calc(18px + env(safe-area-inset-bottom))}
.dmt-header{display:grid;grid-template-columns:minmax(108px,1fr) auto minmax(108px,1fr);align-items:center;gap:14px;min-height:88px}
.dmt-home{justify-self:start}
.dmt-logo{margin:0!important;justify-self:center;text-align:center!important;font-size:clamp(2rem,4.3vw,4rem)!important;line-height:1.04!important;letter-spacing:-.04em!important;color:var(--title)!important;-webkit-text-fill-color:var(--title)!important;text-shadow:0 4px 0 rgba(3,73,164,.92),0 10px 24px rgba(0,0,0,.38)!important;max-width:min(92vw,760px);white-space:normal;text-wrap:balance}
.dmt-tools{justify-self:end;display:flex;align-items:center;gap:10px}
.dmt-icon-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:52px;min-height:52px;padding:8px 16px;border:2px solid rgba(255,255,255,.75);border-radius:999px;background:linear-gradient(180deg,#5ca6ff 0%,#1157bf 100%);color:#fff;font:inherit;font-size:1rem;font-weight:900;cursor:pointer;box-shadow:0 5px 0 rgba(4,43,112,.66),0 10px 24px rgba(0,0,0,.18);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.dmt-icon-btn:hover,.dmt-icon-btn:focus-visible,.dmt-primary:hover,.dmt-primary:focus-visible,.dmt-secondary:hover,.dmt-secondary:focus-visible,.dmt-answer:hover,.dmt-answer:focus-visible{transform:translateY(-2px);filter:brightness(1.05)}
.dmt-icon-btn:active,.dmt-primary:active,.dmt-secondary:active,.dmt-answer:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(4,43,112,.55)}
.dmt-main{flex:1;display:grid;place-items:center;padding:12px 0 20px}
.dmt-start-screen,.dmt-card-screen,.dmt-end-screen{width:min(1120px,100%)}
.dmt-start-screen,.dmt-end-card,.dmt-quiz{position:relative;overflow:hidden}
.dmt-start-screen::before,.dmt-end-card::before,.dmt-quiz::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 26%);pointer-events:none}
.dmt-start-screen{padding:clamp(28px,4vw,50px);border-radius:34px;background:linear-gradient(145deg,rgba(5,75,187,.78),rgba(3,41,114,.80));border:1px solid rgba(220,244,255,.75);box-shadow:0 26px 70px rgba(0,23,75,.38),inset 0 1px 0 rgba(255,255,255,.22);backdrop-filter:blur(16px);text-align:center}
.dmt-kicker{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0 auto 16px!important;padding:10px 18px;border-radius:999px;background:rgba(34,109,219,.82);border:1px solid rgba(255,255,255,.25);color:#fff!important;font-weight:900;line-height:1.25}
.dmt-start-screen h3{max-width:920px;margin:0 auto 14px!important;font-size:clamp(2.1rem,5vw,4.2rem)!important;line-height:1.05!important;letter-spacing:-.035em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 4px 0 rgba(6,63,151,.98),0 10px 24px rgba(0,0,0,.26)!important;text-wrap:balance}
.dmt-start-screen>p:not(.dmt-kicker){max-width:820px;margin:0 auto;font-size:clamp(1.06rem,1.9vw,1.36rem);line-height:1.45;font-weight:800;color:#f5fbff!important}
.dmt-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:12px;max-width:980px;margin:26px auto 28px}
.dmt-preview-item{display:grid;justify-items:center;align-content:start;gap:8px;padding:10px 6px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15)}
.dmt-preview-item img{width:72px;height:72px;object-fit:contain;border-radius:999px;padding:6px;background:radial-gradient(circle at 50% 35%, rgba(255,255,255,.98), rgba(224,243,255,.96) 64%, rgba(188,227,255,.82));border:3px solid rgba(255,255,255,.92);box-shadow:0 10px 18px rgba(0,0,0,.18);mix-blend-mode:multiply;animation:dmt-float 3.2s ease-in-out infinite;animation-delay:calc(var(--i) * -.13s)}
.dmt-preview-item span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:.82rem;font-weight:900;text-shadow:0 2px 5px rgba(0,0,0,.38)}
.dmt-primary,.dmt-secondary,.dmt-answer{font-family:inherit;font-weight:900;cursor:pointer}
.dmt-primary,.dmt-secondary{appearance:none;border-radius:999px;padding:16px 28px;font-size:clamp(1rem,2vw,1.32rem);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.dmt-primary{color:#fff;background:linear-gradient(180deg,#ffd959 0%,#f8a100 100%);border:3px solid #fff1b2;box-shadow:0 7px 0 #bc6e03,0 16px 28px rgba(0,0,0,.2);text-shadow:0 2px 0 rgba(129,67,0,.5)}
.dmt-secondary{color:#fff;background:linear-gradient(180deg,#7cb3ff 0%,#2a6fd6 100%);border:2px solid #cce4ff;box-shadow:0 6px 0 #0b469e}
.dmt-card-screen{display:grid;gap:16px}
.dmt-status{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.dmt-progress,.dmt-pearls{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:999px;background:rgba(8,77,185,.76);border:1px solid rgba(255,255,255,.44);font-weight:900;font-size:1rem;backdrop-filter:blur(8px);box-shadow:0 12px 24px rgba(0,28,82,.22)}
.dmt-pearls{background:linear-gradient(180deg,rgba(134,84,216,.94),rgba(95,51,167,.95))}
.dmt-card{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr);grid-template-areas:"figure copy";align-items:center;gap:clamp(18px,2.6vw,36px);min-height:0;padding:clamp(22px,3.8vw,40px);border-radius:36px;text-align:left;color:#103f87;background:linear-gradient(145deg,rgba(220,244,255,.66),rgba(246,251,255,.54));border:1px solid rgba(230,247,255,.82);box-shadow:0 24px 60px rgba(0,24,81,.28);backdrop-filter:blur(16px)}
.dmt-copy{grid-area:copy;min-width:0;display:grid;align-content:center;gap:0}
.dmt-figure{grid-area:figure;margin:0;display:grid;justify-items:center;align-content:center;gap:14px;cursor:pointer}
.dmt-title{margin:0 0 14px!important;color:#e33122!important;font-size:clamp(2rem,4vw,3.6rem)!important;line-height:1.06!important;text-align:left!important;letter-spacing:-.03em!important;text-wrap:balance}
.dmt-text{margin:0;color:#0a3d91!important;font-size:clamp(1.18rem,2vw,1.85rem);line-height:1.4;font-weight:900;text-wrap:pretty}
.dmt-divider{margin:18px 0 15px;border-top:3px dashed rgba(119,179,226,.72)}
.dmt-extra{margin:0;color:#164d8f!important;font-size:clamp(1rem,1.7vw,1.24rem);line-height:1.45;font-weight:800;text-align:left}
.dmt-image{display:block;width:min(100%,320px);aspect-ratio:1/1;object-fit:contain;padding:12px;border-radius:28px;background:radial-gradient(circle at 50% 32%, rgba(255,255,255,.98), rgba(224,244,255,.86) 60%, rgba(180,225,255,.4));border:1px solid rgba(255,255,255,.75);box-shadow:0 18px 34px rgba(0,31,83,.18);mix-blend-mode:multiply}
.dmt-tap-hint{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.88);border:1px solid rgba(91,164,222,.28);color:#0752ae;font-size:1rem;font-weight:900;box-shadow:0 10px 22px rgba(0,40,108,.12)}
.dmt-learn-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.dmt-quiz{max-width:980px;margin:auto;padding:clamp(24px,4vw,40px);border-radius:34px;background:linear-gradient(145deg,rgba(220,244,255,.68),rgba(246,251,255,.56));border:1px solid rgba(230,247,255,.84);box-shadow:0 22px 52px rgba(1,38,103,.25);color:#093e8b;backdrop-filter:blur(16px)}
.dmt-question{margin:0 0 22px!important;color:#0a3d91!important;font-size:clamp(1.5rem,3vw,2.45rem)!important;line-height:1.18!important;text-align:center!important;text-wrap:balance}
.dmt-answers{display:grid;gap:14px}
.dmt-answer{appearance:none;width:100%;padding:17px 20px;border:2px solid rgba(112,183,236,.72);border-radius:22px;background:rgba(255,255,255,.9);color:#0a438f;font-size:clamp(1rem,1.85vw,1.25rem);line-height:1.34;box-shadow:0 6px 0 #8dc0ef;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.dmt-answer.is-correct{background:#dff8d7;border-color:#64c249;color:#266d12;box-shadow:0 6px 0 #3f9927}
.dmt-answer.is-wrong{animation:dmt-shake .35s;background:#fff0e8;border-color:#f47d56;box-shadow:0 6px 0 #efb4a1}
.dmt-feedback{min-height:2em;margin:18px 0 10px!important;font-size:clamp(1rem,1.8vw,1.2rem);line-height:1.38;font-weight:900;text-align:center}
.dmt-feedback.is-success{color:#1f7a12}.dmt-feedback.is-hint{color:#ab4f07}
.dmt-dots{display:flex;justify-content:center;gap:8px;margin:4px 0 0;flex-wrap:wrap}
.dmt-dot{width:15px;height:15px;border:2px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(44,124,216,.72)}
.dmt-dot.is-active{background:#fff;transform:scale(1.25)}
.dmt-dot.is-done{background:#ffd23f}
.dmt-prev{justify-self:center}
.dmt-prev:disabled{opacity:.42;cursor:not-allowed;transform:none!important}
.dmt-end-card{max-width:800px;margin:auto;padding:clamp(34px,5vw,56px);border-radius:38px;color:#08428e;background:linear-gradient(145deg,rgba(220,244,255,.68),rgba(246,251,255,.58));border:1px solid rgba(230,247,255,.84);box-shadow:0 26px 56px rgba(0,24,81,.28);backdrop-filter:blur(16px);text-align:center}
.dmt-end-card h3{max-width:660px;margin:10px auto 14px!important;color:#e13222!important;font-size:clamp(2rem,4.4vw,3.4rem)!important;line-height:1.08!important;letter-spacing:-.03em!important;text-wrap:balance}
.dmt-end-card p{max-width:620px;margin:0 auto 24px;font-size:clamp(1.06rem,1.85vw,1.26rem);line-height:1.48;font-weight:800;color:#08428e!important}
.dmt-treasure{font-size:clamp(4.6rem,9vw,6.4rem);line-height:1;filter:drop-shadow(0 8px 8px rgba(0,0,0,.24));animation:dmt-float 2.6s ease-in-out infinite}
.dmt-footer{text-align:center;color:#f3fbff;font-weight:900;font-size:clamp(.96rem,1.7vw,1.2rem);text-shadow:0 2px 6px rgba(0,0,0,.58)}
.dmt-bubble{position:absolute;bottom:-35px;width:25px;height:25px;border:3px solid rgba(255,255,255,.75);border-radius:50%;pointer-events:none;z-index:20;animation:dmt-bubble 1.35s ease-out forwards}
.dmt-pop{animation:dmt-pop .35s ease-out}
.dmt-toast{position:absolute;left:50%;bottom:24px;z-index:50;transform:translateX(-50%);padding:12px 18px;border-radius:999px;background:rgba(3,32,93,.92);border:2px solid rgba(255,255,255,.7);color:#fff;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.3)}
@keyframes dmt-pop{from{opacity:.25;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@keyframes dmt-float{50%{transform:translateY(-8px)}}
@keyframes dmt-bubble{to{transform:translateY(-80vh) scale(1.5);opacity:0}}
@keyframes dmt-shake{25%{transform:translateX(-8px)}50%{transform:translateX(8px)}75%{transform:translateX(-5px)}}
@media (max-width: 1080px){
  .dmt-shell{padding-inline:18px}
  .dmt-header{grid-template-columns:auto 1fr auto}
  .dmt-logo{font-size:clamp(1.8rem,4.2vw,3rem)!important}
  .dmt-preview{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}
}
@media (max-width: 900px){
  .dmt-card{grid-template-columns:1fr;grid-template-areas:"copy" "figure";text-align:center}
  .dmt-copy{gap:0}
  .dmt-title,.dmt-extra{text-align:center!important}
  .dmt-image{width:min(100%,260px)}
  .dmt-preview{grid-template-columns:repeat(5,minmax(58px,1fr));gap:10px}
}
@media (max-width: 720px){
  .dmt-app{min-height:100dvh}
  .dmt-shell{padding:14px 14px 18px}
  .dmt-header{grid-template-columns:1fr auto 1fr;gap:8px;min-height:74px}
  .dmt-icon-btn{min-width:46px;min-height:46px;padding:8px 12px;font-size:.95rem}
  .dmt-home span{display:none}
  .dmt-logo{font-size:clamp(1.5rem,7vw,2.2rem)!important;max-width:65vw}
  .dmt-start-screen,.dmt-card,.dmt-quiz,.dmt-end-card{border-radius:28px}
  .dmt-start-screen,.dmt-quiz,.dmt-end-card{padding:22px 18px}
  .dmt-card{padding:22px 18px}
  .dmt-preview{grid-template-columns:repeat(4,minmax(56px,1fr))}
  .dmt-preview-item span{font-size:.74rem}
  .dmt-status{gap:10px}
  .dmt-progress,.dmt-pearls{width:100%;font-size:.96rem}
  .dmt-primary,.dmt-secondary{width:100%;justify-content:center}
  .dmt-learn-actions,.dmt-card-screen{gap:14px}
  .dmt-dots{margin-top:0}
}
@media (max-width: 480px){
  .dmt-main{padding-top:8px}
  .dmt-logo{max-width:58vw;font-size:clamp(1.3rem,8vw,1.9rem)!important}
  .dmt-start-screen h3{font-size:clamp(1.7rem,10vw,2.35rem)!important}
  .dmt-preview{grid-template-columns:repeat(3,minmax(54px,1fr))}
  .dmt-preview-item img{width:62px;height:62px}
  .dmt-title{font-size:clamp(1.6rem,9vw,2.3rem)!important}
  .dmt-text{font-size:1.05rem}
  .dmt-question{font-size:1.35rem!important}
  .dmt-answer{padding:15px 16px;font-size:1rem}
  .dmt-tap-hint{font-size:.94rem}
}

@media (pointer: coarse){
  .dmt-app{touch-action:manipulation}
  .dmt-icon-btn{min-width:58px;min-height:58px}
  .dmt-primary,.dmt-secondary{min-height:60px;padding:18px 28px}
  .dmt-answer{min-height:64px;padding:18px 18px}
  .dmt-tap-hint{min-height:48px;padding:12px 18px}
  .dmt-preview-item{padding:12px 6px}
  .dmt-preview-item img{width:76px;height:76px}
}
/* v8 game layer */
.dmt-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:780px;margin:22px auto 4px}
.dmt-how>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:12px 14px;border-radius:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18)}
.dmt-how span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(#ffd858,#f7a000);color:#fff;font-weight:900;box-shadow:0 4px 0 #b56a00}
.dmt-how strong{color:#fff;font-size:1rem}.dmt-how small{color:#ddecff;font-size:.82rem;font-weight:800}
.dmt-route{position:relative;max-width:920px;width:100%;margin:0 auto;padding:20px 24px 6px}
.dmt-route::before{content:"";position:absolute;left:34px;right:34px;top:27px;height:5px;border-radius:99px;background:linear-gradient(90deg,rgba(255,210,63,.95) var(--dmt-route-progress,0%),rgba(255,255,255,.25) var(--dmt-route-progress,0%));box-shadow:0 2px 8px rgba(0,0,0,.18)}
.dmt-submarine{position:absolute;top:-4px;left:calc(34px + (100% - 68px) * var(--dmt-route-ratio,0));z-index:3;font-size:2rem;line-height:1;transform:translateX(-50%);filter:drop-shadow(0 4px 3px rgba(0,0,0,.35));transition:left .42s cubic-bezier(.22,.8,.25,1)}
.dmt-dots{position:relative;z-index:2;display:grid;grid-template-columns:repeat(var(--dmt-total-cards,13),1fr);gap:0;margin:0}
.dmt-dot{justify-self:center;width:18px;height:18px;border:3px solid rgba(255,255,255,.82);background:#2a78d6;box-shadow:0 3px 8px rgba(0,0,0,.2);transition:transform .2s ease,background .2s ease}
.dmt-dot.is-active{background:#fff;transform:scale(1.4)}.dmt-dot.is-done{background:#ffd23f}
.dmt-character-wrap{position:relative;display:grid;place-items:center}
.dmt-speech-tail{position:absolute;right:-8px;top:34%;width:26px;height:26px;background:rgba(242,250,255,.75);border-right:1px solid rgba(255,255,255,.8);border-top:1px solid rgba(255,255,255,.8);transform:rotate(45deg);z-index:-1}
.dmt-character-intro{display:inline-flex;align-items:center;max-width:100%;margin:0 0 8px!important;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.72);color:#0751ad!important;font-size:clamp(.92rem,1.4vw,1.05rem);font-weight:900;box-shadow:0 8px 18px rgba(0,49,113,.1)}
.dmt-tap-hint{appearance:none;cursor:pointer}
.dmt-card-nav{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}
.dmt-swipe-hint{display:none;color:#eaf7ff;font-size:.9rem;font-weight:900;text-shadow:0 2px 6px rgba(0,0,0,.45)}
.dmt-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:650px;margin:24px auto 28px}
.dmt-badges>div{display:grid;place-items:center;gap:8px;min-height:132px;padding:16px 10px;border-radius:24px;background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.86);box-shadow:0 14px 28px rgba(0,35,91,.13);font-size:2.5rem;animation:dmt-badge-in .55s both}
.dmt-badges>div:nth-child(2){animation-delay:.12s}.dmt-badges>div:nth-child(3){animation-delay:.24s}
.dmt-badges strong{color:#0a438f;font-size:.92rem;line-height:1.2;text-align:center}
.dmt-confetti{position:absolute;top:-30px;z-index:30;width:12px;height:22px;border-radius:3px;background:hsl(var(--h),90%,60%);pointer-events:none;animation:dmt-confetti-fall 2.2s ease-in forwards}
@keyframes dmt-badge-in{from{opacity:0;transform:translateY(18px) scale(.86)}to{opacity:1;transform:none}}
@keyframes dmt-confetti-fall{to{transform:translate(var(--x),110vh) rotate(620deg);opacity:.1}}
@media(pointer:coarse){.dmt-swipe-hint{display:inline-flex}.dmt-dot{width:20px;height:20px}.dmt-route{padding-inline:18px}.dmt-route::before{left:28px;right:28px}.dmt-submarine{left:calc(28px + (100% - 56px) * var(--dmt-route-ratio,0))}}
@media(max-width:720px){.dmt-how{grid-template-columns:1fr;max-width:420px}.dmt-how>div{padding:10px 12px}.dmt-route{overflow:hidden;padding-inline:8px}.dmt-route::before{left:18px;right:18px}.dmt-submarine{left:calc(18px + (100% - 36px) * var(--dmt-route-ratio,0));font-size:1.65rem}.dmt-dot{width:14px;height:14px;border-width:2px}.dmt-badges{grid-template-columns:1fr}.dmt-badges>div{grid-template-columns:auto 1fr;min-height:82px;font-size:2rem}.dmt-card-nav{display:grid}.dmt-swipe-hint{justify-content:center}}

/* v9 reliability, fullscreen and typography fixes */
html.dmt-page-locked,body.dmt-page-locked{overflow:hidden!important;overscroll-behavior:none!important}
.dmt-app [hidden]{display:none!important}
.dmt-app{font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.dmt-route,.dmt-dots,.dmt-submarine{display:none!important}

.dmt-header{grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,1fr)!important;width:100%}
.dmt-home{justify-self:start!important}
.dmt-tools{justify-self:end!important}
.dmt-logo{justify-self:center!important;align-self:center!important;margin:0!important;max-width:min(68vw,760px)!important;letter-spacing:0!important;overflow-wrap:anywhere;hyphens:auto}

.dmt-copy{justify-items:start!important;align-content:center!important;width:100%}
.dmt-copy>*{max-width:100%;width:100%}
.dmt-character-intro{justify-self:start!important;width:auto!important;max-width:100%!important;text-align:start!important;line-height:1.35!important;white-space:normal}
.dmt-title,.dmt-text,.dmt-extra{margin-inline:0!important;text-align:start!important;letter-spacing:0!important;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.dmt-title{line-height:1.14!important}
.dmt-text{line-height:1.48!important}
.dmt-extra{line-height:1.5!important}
.dmt-question,.dmt-answer,.dmt-feedback{text-align:center!important;letter-spacing:0!important;overflow-wrap:anywhere;hyphens:auto}

.dmt-app.is-fullscreen{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;margin:0!important;z-index:2147483000!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;background-attachment:scroll!important}
.dmt-app.is-fullscreen .dmt-shell{width:100%;max-width:1280px;min-height:100%;height:auto;margin:0 auto;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}
.dmt-app.is-fullscreen .dmt-header{position:sticky;top:0;z-index:100;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(3,39,105,.78);box-shadow:0 12px 28px rgba(0,21,68,.25);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.dmt-app.is-fullscreen .dmt-main{align-items:start;padding-top:18px}
.dmt-app.is-fullscreen .dmt-fullscreen{background:linear-gradient(180deg,#f26e68,#b72f3d);border-color:#ffd7d3;box-shadow:0 5px 0 #7d1d28,0 10px 24px rgba(0,0,0,.18)}

.dmt-touch-pulse{animation:dmt-touch-pulse .19s ease-out}
@keyframes dmt-touch-pulse{50%{transform:scale(.98)}}

@media(max-width:900px){
  .dmt-copy{justify-items:center!important}
  .dmt-character-intro{justify-self:center!important;text-align:center!important}
  .dmt-title,.dmt-text,.dmt-extra{text-align:center!important}
}

@media(max-width:720px){
  .dmt-header{grid-template-columns:56px minmax(0,1fr) 112px!important;gap:6px!important}
  .dmt-logo{max-width:100%!important;font-size:clamp(1.25rem,6.8vw,2rem)!important;line-height:1.12!important}
  .dmt-tools{gap:6px!important}
  .dmt-icon-btn{min-width:50px!important;min-height:50px!important;padding:7px 10px!important}
  .dmt-card{gap:16px!important}
  .dmt-title{line-height:1.16!important}
  .dmt-text,.dmt-extra{width:100%!important}
  .dmt-app.is-fullscreen .dmt-shell{padding-inline:10px!important}
  .dmt-app.is-fullscreen .dmt-header{border-radius:16px}
}

@media(max-width:420px){
  .dmt-header{grid-template-columns:50px minmax(0,1fr) 102px!important}
  .dmt-logo{font-size:clamp(1.08rem,6.2vw,1.58rem)!important}
  .dmt-icon-btn{min-width:46px!important;min-height:46px!important;padding:6px 8px!important}
  .dmt-title{font-size:clamp(1.55rem,8vw,2.15rem)!important}
  .dmt-text{font-size:1.02rem!important}
  .dmt-extra{font-size:.98rem!important}
}


/* v10 final alignment and intro fixes */
.dmt-header{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:96px!important;padding:0 168px!important;width:100%!important;gap:0!important}
.dmt-home{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;justify-self:auto!important}
.dmt-tools{position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;gap:10px!important;justify-self:auto!important}
.dmt-logo{display:block!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:auto!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;-webkit-hyphens:none!important;line-break:auto!important;text-wrap:nowrap!important;font-size:clamp(1.75rem,3.6vw,3.55rem)!important;line-height:1.05!important;letter-spacing:0!important;text-align:center!important;margin:0 auto!important}
.dmt-start-screen h3,.dmt-title,.dmt-question{word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;-webkit-hyphens:none!important}
.dmt-start-screen{padding-bottom:30px!important}
.dmt-start-screen>p:not(.dmt-kicker){max-width:860px!important}
.dmt-how{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:16px!important;max-width:920px!important;margin:26px auto 18px!important}
.dmt-how>div{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;column-gap:12px!important;align-content:center!important;align-items:center!important;min-height:112px!important;padding:14px 16px!important;text-align:left!important}
.dmt-how span{grid-row:1 / span 2!important;align-self:center!important}
.dmt-how strong{display:block!important;font-size:1.05rem!important;line-height:1.18!important}
.dmt-how small{display:block!important;margin-top:4px!important;font-size:.88rem!important;line-height:1.25!important}
.dmt-preview{margin:20px auto 24px!important}
.dmt-preview-item{align-content:start!important}
.dmt-card-screen{width:min(1100px,100%)!important}
.dmt-card,.dmt-quiz,.dmt-end-card{overflow:visible!important}
.dmt-card-nav{margin-top:2px!important}
@media(max-width:980px){
  .dmt-header{padding:0 148px!important}
  .dmt-logo{font-size:clamp(1.55rem,3.8vw,2.9rem)!important}
}
@media(max-width:760px){
  .dmt-header{min-height:82px!important;padding:0 118px 0 58px!important}
  .dmt-logo{font-size:clamp(1.12rem,4.9vw,2rem)!important}
  .dmt-tools{gap:6px!important}
  .dmt-how{grid-template-columns:1fr!important;max-width:460px!important;gap:12px!important}
  .dmt-how>div{min-height:92px!important}
}
@media(max-width:480px){
  .dmt-header{padding:0 106px 0 52px!important}
  .dmt-logo{font-size:clamp(1rem,5.3vw,1.55rem)!important}
  .dmt-home{left:0!important}
  .dmt-tools{right:0!important}
}

/* v11 editable screens and fixed 1-2-3 rows */
.dmt-how{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:16px!important;
  width:min(920px,100%)!important;
  max-width:920px!important;
}
.dmt-how>div{
  order:initial!important;
  flex:1 1 0!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
}
.dmt-how>div:nth-child(1){order:1!important}
.dmt-how>div:nth-child(2){order:2!important}
.dmt-how>div:nth-child(3){order:3!important}
.dmt-badges{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:16px!important;
  width:min(900px,100%)!important;
  max-width:900px!important;
}
.dmt-badges>div{
  order:initial!important;
  flex:1 1 0!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  grid-template-columns:1fr!important;
  align-content:center!important;
}
.dmt-badges>div:nth-child(1){order:1!important}
.dmt-badges>div:nth-child(2){order:2!important}
.dmt-badges>div:nth-child(3){order:3!important}
.dmt-badges>div>span{display:block;font-size:2.5rem;line-height:1}
.dmt-end-card{max-width:1040px!important}
.dmt-preview[hidden],.dmt-badges[hidden]{display:none!important}
@media(max-width:700px){
  .dmt-how,.dmt-badges{
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    width:min(460px,100%)!important;
  }
  .dmt-how>div,.dmt-badges>div{width:100%!important;flex:none!important}
  .dmt-badges>div{grid-template-columns:auto 1fr!important;justify-items:start!important;text-align:left!important}
  .dmt-badges>div>span{font-size:2.1rem}
}
