.ms-studio,.ms-studio *{box-sizing:border-box}.ms-studio{--ms-purple:#5b328a;--ms-red:#e51b28;--ms-yellow:#ffdc47;--ms-ink:#24203a;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ms-ink);background:#fffdf8;border:2px solid #e9e1f2;border-radius:18px;overflow:hidden;width:100%;max-width:none;line-height:1.25;isolation:isolate;margin:0 auto}.ms-studio button{appearance:none;font:inherit;font-weight:750;text-transform:none;letter-spacing:normal;cursor:pointer;line-height:1.2;border:1px solid #d9cce8;background:white;color:var(--ms-ink);border-radius:12px;padding:8px;margin:0;box-shadow:none;min-height:40px;transition:background .12s,border .12s;touch-action:manipulation}.ms-studio button:hover:not(:disabled){border-color:var(--ms-purple);background:#f7f0ff}.ms-studio button:focus-visible,.ms-studio input:focus-visible{outline:3px solid #1469e8;outline-offset:2px}.ms-studio button:disabled{opacity:.38;cursor:default}.ms-studio .ms-top{display:flex;align-items:center;gap:14px;padding:8px 15px;background:linear-gradient(100deg,#ffeb83,#fff4be 70%);border-bottom:3px solid #ffd73b;min-height:60px}.ms-studio .ms-logo{width:clamp(100px,14vw,166px);height:auto;display:block;object-fit:contain;margin:0}.ms-studio .ms-brand{flex:1;display:flex;flex-direction:column;gap:2px}.ms-studio .ms-brand strong{font-weight:950;font-size:clamp(21px,3vw,35px);letter-spacing:-1.3px;color:var(--ms-purple);line-height:1.05}.ms-studio .ms-brand strong span{color:var(--ms-red)}.ms-studio .ms-brand small{font-size:12px;font-weight:700}.ms-studio .ms-full{background:white;border:2px solid var(--ms-purple);white-space:nowrap}.ms-studio .ms-workspace{display:grid;grid-template-columns:76px minmax(0,1fr) 210px;gap:9px;padding:9px;min-height:450px;height:clamp(470px,68vh,900px)}.ms-studio .ms-tools,.ms-studio .ms-options{background:#f4ecff;border:1px solid #e3d6f5;border-radius:15px;display:flex;flex-direction:column;gap:6px;min-height:0;padding:6px;overflow:auto}.ms-studio .ms-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px;font-size:10px;min-height:42px;flex:1}.ms-studio .ms-tools .ms-icon{font-size:25px;line-height:1}.ms-studio button[aria-pressed=true]{background:#ffdf49;border:2px solid #8c54ba;color:#38204d}.ms-studio .ms-rule{height:1px;background:#d7c5eb;margin:1px 4px}.ms-studio .ms-main{min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #ded4e7;border-radius:13px;overflow:hidden;background:#eae7f0}.ms-studio .ms-canvasbar{display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 8px;background:white;border-bottom:1px solid #e3d6ed;flex-wrap:wrap}.ms-studio .ms-name{font-size:14px;flex:1}.ms-studio .ms-zoom{display:flex;gap:3px;align-items:center}.ms-studio .ms-zoom button{min-height:31px;padding:4px 8px;font-size:13px}.ms-studio .ms-status{font-size:10px;color:#64616a;white-space:nowrap}.ms-studio .ms-viewport{position:relative;flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;display:grid;place-items:start center;padding:6px;scrollbar-width:thin}.ms-studio .ms-paper{background:#fff;box-shadow:0 2px 12px #0002;display:block;width:1px;height:1px;justify-self:center;align-self:center;flex:none}.ms-studio .ms-canvas{display:block;width:100%;height:100%;max-width:none;max-height:none;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}.ms-studio .ms-loading{position:absolute;inset:0;display:grid;place-items:center;background:#fff9;font-weight:800;color:#5b328a;pointer-events:none}.ms-studio .ms-loading[hidden]{display:none}.ms-studio .ms-options{padding:10px;gap:9px}.ms-studio .ms-options h3{font:inherit;font-size:19px;font-weight:900;margin:0;color:var(--ms-purple);line-height:1.1}.ms-studio .ms-palette,.ms-studio .ms-recent{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.ms-studio .ms-palette button,.ms-studio .ms-recent button{min-width:0;min-height:0;padding:0;aspect-ratio:1;border-radius:50%;border:1px solid #30213b55;background:var(--swatch)}.ms-studio .ms-palette button:hover,.ms-studio .ms-recent button:hover{background:var(--swatch);border-color:#22122d}.ms-studio .ms-palette button[aria-pressed=true],.ms-studio .ms-recent button[aria-pressed=true]{background:var(--swatch);outline:2px solid var(--ms-purple);outline-offset:1px;border:1px solid white}.ms-studio .ms-custom{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;font-weight:750}.ms-studio input[type=color]{width:44px;height:34px;min-width:44px;padding:2px;cursor:pointer;background:white;border:1px solid #c7acd9;border-radius:8px}.ms-studio .ms-recent-wrap small{font-size:10px;font-weight:700}.ms-studio .ms-recent{margin-top:4px;min-height:12px}.ms-studio .ms-range{font-size:12px;font-weight:750;display:grid;grid-template-columns:1fr auto;gap:5px}.ms-studio .ms-range input{grid-column:1/-1;display:block;width:100%;margin:0;accent-color:#7951aa;min-height:22px}.ms-studio .ms-range output{font-size:11px;font-weight:600}.ms-studio .ms-check{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750}.ms-studio .ms-check input{width:18px;height:18px;accent-color:var(--ms-purple);margin:0}.ms-studio .ms-hint{font-size:11px;line-height:1.25;margin:0;color:#574968}.ms-studio .ms-save{background:#16883b;color:white;border-color:#127233;margin-top:auto;font-size:13px;min-height:40px}.ms-studio .ms-save:hover:not(:disabled){background:#10732e;color:white}.ms-studio .ms-reset{background:#ffdf49;border-color:#d0aa25;font-size:13px}.ms-studio .ms-footer{display:flex;gap:12px;align-items:center;padding:8px 12px;background:#fff8dc;border-top:1px solid #e8dfba;min-height:75px}.ms-studio .ms-footer>strong{color:var(--ms-purple);font-size:14px;max-width:100px}.ms-studio .ms-characters{display:flex;gap:6px;flex:1;min-width:0}.ms-studio .ms-characters button{display:flex;align-items:center;gap:5px;text-align:left;font-size:11px;flex:1;min-width:0;padding:3px 6px}.ms-studio .ms-characters img{width:39px;height:49px;object-fit:contain;background:white;border-radius:5px;flex:none}.ms-studio .ms-footer-note{max-width:130px;font-size:11px;font-weight:700;color:#7b396d}.ms-studio:fullscreen,.ms-studio.ms-expanded{width:100%;height:100%;max-width:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;background:#fffdf8}.ms-studio.ms-expanded{position:fixed;inset:0;z-index:2147483000}.ms-studio:fullscreen .ms-workspace,.ms-studio.ms-expanded .ms-workspace{flex:1;height:auto;min-height:0}.ms-studio:fullscreen .ms-top,.ms-studio.ms-expanded .ms-top,.ms-studio:fullscreen .ms-footer,.ms-studio.ms-expanded .ms-footer{flex:none}
@media(max-width:900px){.ms-studio .ms-workspace{grid-template-columns:65px minmax(0,1fr) 175px}.ms-studio .ms-options{padding:7px;gap:7px}.ms-studio .ms-status{display:none}.ms-studio .ms-footer-note{display:none}}
@media(max-width:620px){.ms-studio{border-radius:10px}.ms-studio .ms-top{padding:6px 8px;gap:7px;min-height:45px}.ms-studio .ms-brand small{display:none}.ms-studio .ms-full span{display:none}.ms-studio .ms-full{min-width:40px}.ms-studio .ms-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(280px,1fr) auto;gap:5px;padding:5px;height:auto;min-height:0}.ms-studio .ms-tools{flex-direction:row;gap:3px;padding:3px;overflow-x:auto;overflow-y:hidden}.ms-studio .ms-tools button{flex:1 0 47px;font-size:8px;padding:4px 1px;min-height:42px}.ms-studio .ms-tools .ms-icon{font-size:20px}.ms-studio .ms-rule{display:none}.ms-studio .ms-main{height:clamp(330px,55dvh,650px)}.ms-studio .ms-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:7px;overflow:visible}.ms-studio .ms-options h3,.ms-studio .ms-palette{grid-column:1/-1}.ms-studio .ms-options h3{font-size:15px}.ms-studio .ms-palette{grid-template-columns:repeat(12,1fr);gap:5px}.ms-studio .ms-recent-wrap{display:none}.ms-studio .ms-hint{display:none}.ms-studio .ms-custom{grid-column:1/-1}.ms-studio .ms-check{grid-column:1/-1}.ms-studio .ms-save{margin-top:0}.ms-studio .ms-footer{padding:5px;gap:5px;display:block;min-height:0}.ms-studio .ms-footer>strong{font-size:12px;display:block;margin:0 0 4px;max-width:none}.ms-studio .ms-characters{gap:3px}.ms-studio .ms-characters button{font-size:10px;line-height:1.1;padding:3px;gap:3px}.ms-studio .ms-characters img{width:30px;height:39px}.ms-studio:fullscreen,.ms-studio.ms-expanded{overflow-y:auto}.ms-studio:fullscreen .ms-workspace,.ms-studio.ms-expanded .ms-workspace{flex:none}.ms-studio:fullscreen .ms-main,.ms-studio.ms-expanded .ms-main{height:55dvh}}
.ms-studio .ms-social{display:grid;gap:5px;padding-top:4px;border-top:1px solid #dbcde8}.ms-studio .ms-social strong{font-size:12px}.ms-studio .ms-social small{font-size:10px;line-height:1.3;color:#574968}.ms-studio .ms-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ms-studio .ms-social-grid button{font-size:10px;min-height:32px;padding:5px 2px;color:white;border:0}.ms-studio .ms-social-grid button:hover{filter:brightness(.9);color:white}.ms-studio .ms-social-grid .ms-instagram{background:linear-gradient(125deg,#a23bb5,#df315c,#d26b18)}.ms-studio .ms-social-grid .ms-facebook{background:#185bc6}.ms-studio .ms-social-grid .ms-tiktok{background:#151515}.ms-studio .ms-social-grid .ms-whatsapp{background:#147e43}.ms-studio .ms-viewport{display:block}.ms-studio .ms-paper{margin:auto}.ms-studio .ms-canvas[data-tool=pan]{cursor:grab}.ms-studio .ms-canvas[data-tool=pan]:active{cursor:grabbing}.ms-studio .ms-dialog{border:0;border-radius:16px;padding:20px;max-width:min(90vw,420px);box-shadow:0 10px 50px #0005;color:var(--ms-ink);background:white;font:inherit}.ms-studio .ms-dialog::backdrop{background:#21163988}.ms-studio .ms-dialog h3{font-size:20px;margin:0 0 8px}.ms-studio .ms-dialog p{font-size:14px;margin:0 0 12px}.ms-studio .ms-dialog-actions{display:flex;gap:8px;flex-wrap:wrap}.ms-studio .ms-dialog-actions button{flex:1}.ms-studio .ms-dialog-actions .ms-primary{background:var(--ms-yellow);border-color:#a08322}.ms-studio .ms-workspace{height:clamp(550px,76vh,1000px)}.ms-studio .ms-options{gap:7px}.ms-studio .ms-footer{min-height:66px}.ms-studio .ms-characters img{width:48px;height:57px}
@media(max-width:620px){.ms-studio .ms-workspace{height:auto}.ms-studio .ms-social{grid-column:1/-1}.ms-studio .ms-social-grid{grid-template-columns:repeat(4,1fr)}.ms-studio .ms-characters img{width:30px;height:39px}.ms-studio .ms-main{height:clamp(350px,60dvh,700px)}.ms-studio:fullscreen .ms-main,.ms-studio.ms-expanded .ms-main{height:60dvh}.ms-studio .ms-palette button{min-height:24px}.ms-studio .ms-palette{grid-template-columns:repeat(9,minmax(0,1fr))}.ms-studio .ms-tools button{font-size:10px}}

/* 1.0.1: wider studio, independent of centered theme column. */
.ms-studio:not(:fullscreen):not(.ms-expanded){width:min(1600px,calc(100vw - 48px));max-width:none;margin-inline:calc((100% - min(1600px,calc(100vw - 48px)))/2)}
.ms-studio .ms-palette{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.ms-studio .ms-palette button{width:100%;min-height:0;flex:none}
.ms-studio .ms-options>*{flex-shrink:0}
@media(min-width:901px){.ms-studio .ms-workspace{grid-template-columns:82px minmax(0,1fr) 278px;height:clamp(690px,86vh,1180px)}.ms-studio .ms-options{padding:12px;gap:8px}.ms-studio .ms-tools button{font-size:11px}}
@media(min-width:621px) and (max-width:900px){.ms-studio .ms-workspace{grid-template-columns:65px minmax(0,1fr) 225px;height:clamp(690px,86vh,1000px)}}
@media(max-width:620px){.ms-studio:not(:fullscreen):not(.ms-expanded){width:calc(100vw - 24px);margin-inline:calc((100% - (100vw - 24px))/2)}.ms-studio .ms-palette{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.ms-studio .ms-palette button{min-height:0}}

/* 1.0.2 – branded page heading, compact layout without scaling canvas coordinates. */
h1.ms-page-title{font-size:0!important;line-height:0!important;letter-spacing:0!important;text-shadow:none!important;-webkit-text-stroke:0!important;text-align:center!important;display:block!important;margin:0 auto 18px!important;padding:0!important;width:min(100%,900px)!important;max-width:100%!important;aspect-ratio:1900 / 227;background:url("page-title.webp") center/contain no-repeat!important;color:transparent!important;overflow:hidden}
.ms-studio .ms-compact-toggle{white-space:nowrap;border:2px solid var(--ms-purple);font-size:14px;min-height:36px}
.ms-studio.ms-compact:not(:fullscreen):not(.ms-expanded){width:min(1120px,calc(100vw - 32px));margin-inline:calc((100% - min(1120px,calc(100vw - 32px)))/2)}
.ms-studio.ms-compact .ms-top{min-height:44px;padding:4px 9px;gap:8px}.ms-studio.ms-compact .ms-logo{width:110px}.ms-studio.ms-compact .ms-brand strong{font-size:24px}.ms-studio.ms-compact .ms-brand small{display:none}
@media(min-width:621px){.ms-studio.ms-compact:not(:fullscreen):not(.ms-expanded) .ms-workspace{grid-template-columns:60px minmax(0,1fr) 220px;height:clamp(365px,calc(100dvh - 235px),680px);min-height:0;padding:5px;gap:5px}.ms-studio.ms-compact .ms-tools button{flex:1 0 38px;min-height:38px;font-size:9px;padding:2px}.ms-studio.ms-compact .ms-tools .ms-icon{font-size:19px}.ms-studio.ms-compact .ms-options{padding:6px;gap:6px}.ms-studio.ms-compact .ms-footer{min-height:50px;padding:4px 8px}.ms-studio.ms-compact .ms-characters img{width:32px;height:40px}}
@media(min-width:621px) and (max-width:780px){.ms-studio.ms-compact:not(:fullscreen):not(.ms-expanded) .ms-workspace{grid-template-columns:52px minmax(0,1fr) 175px}}
@media(max-width:620px){.ms-studio .ms-compact-toggle{font-size:12px;white-space:normal;min-width:56px;max-width:85px;padding:4px}.ms-studio.ms-compact .ms-logo{width:80px}.ms-studio.ms-compact .ms-brand strong{font-size:19px}.ms-studio.ms-compact:not(:fullscreen):not(.ms-expanded){width:calc(100vw - 16px);margin-inline:calc((100% - (100vw - 16px))/2)}.ms-studio.ms-compact:not(:fullscreen):not(.ms-expanded) .ms-main{height:clamp(240px,45dvh,440px)}.ms-studio.ms-compact .ms-palette{grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}.ms-studio .ms-top{flex-wrap:wrap}.ms-studio .ms-brand{min-width:75px}}
@media(forced-colors:active){h1.ms-page-title{font-size:2rem!important;line-height:1.2!important;color:CanvasText!important;background:none!important;aspect-ratio:auto}}

/* 1.0.3 – original-brand-inspired artwork and matched display controls. */
.ms-studio .ms-brand{min-width:0}.ms-studio .ms-brand-title{display:block;width:min(100%,265px);height:auto;margin:0;object-fit:contain}.ms-studio.ms-compact .ms-brand-title{width:min(100%,210px)}
.ms-studio .ms-display-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none;width:356px;max-width:100%;align-items:stretch}
.ms-studio .ms-display-controls button{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;max-width:none;height:44px;min-height:44px;padding:5px 8px;font:inherit;font-size:14px;font-weight:800;line-height:1.15;white-space:normal;border:2px solid var(--ms-purple);border-radius:12px;text-align:center}
.ms-studio .ms-display-controls button span{display:inline;overflow-wrap:normal}
@media(min-width:621px) and (max-width:900px){.ms-studio .ms-display-controls{width:292px;gap:6px}.ms-studio .ms-display-controls button{font-size:12px}.ms-studio .ms-brand-title{width:min(100%,210px)}}
@media(max-width:620px){.ms-studio .ms-top{flex-wrap:wrap}.ms-studio .ms-brand-title{width:min(100%,190px)}.ms-studio .ms-display-controls{width:100%;flex:1 0 100%;gap:6px}.ms-studio .ms-display-controls button{height:40px;min-height:40px;font-size:13px}.ms-studio.ms-compact .ms-brand-title{width:min(100%,175px)}}

/* 1.0.4 – compact integrated heading, original-character cards and indexable text. */
.ms-studio .ms-top{min-height:64px;padding:8px 16px;gap:14px}
.ms-studio .ms-brand{flex:1;min-width:0;align-items:flex-start;justify-content:center}
.ms-studio .ms-brand-title,.ms-studio.ms-compact .ms-brand-title{width:min(100%,540px);height:auto;max-height:65px;object-fit:contain;object-position:left center}
.ms-studio .ms-brand h1.ms-page-title{width:min(100%,540px)!important;max-width:100%!important;aspect-ratio:1900 / 227;flex:none;margin:0!important;background-position:left center!important}
.ms-studio.ms-compact .ms-brand h1.ms-page-title,.ms-studio.ms-compact .ms-brand-title{width:min(100%,460px)!important}
.ms-studio .ms-footer,.ms-studio.ms-compact .ms-footer{display:block;padding:14px 12px 12px;min-height:0;background:#fff8dc}
.ms-studio .ms-footer>strong{display:block;max-width:none;font-size:18px;margin:0 0 10px}
.ms-studio .ms-characters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ms-studio .ms-characters button{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:0;padding:9px;border:2px solid #9962c2;border-radius:16px;background:#fff;text-align:left;box-shadow:0 3px 8px #48236312;transition:background .12s,border .12s}
.ms-studio .ms-characters button:hover:not(:disabled){background:#fbf4ff;border-color:#5b328a}
.ms-studio .ms-characters button[aria-pressed=true],.ms-studio .ms-characters button[aria-pressed=true]:hover{background:#ffdf49;border-color:#5b328a;box-shadow:inset 0 0 0 1px #5b328a,0 3px 8px #48236318}
.ms-studio .ms-characters img,.ms-studio.ms-compact .ms-characters img{display:block;width:100%;height:auto;max-height:192px;aspect-ratio:400/518;object-fit:contain;background:white;border:1px solid #e2d7ec;border-radius:9px;margin:0}
.ms-studio .ms-character-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.ms-studio .ms-character-name{font-size:clamp(16px,1.6vw,25px);font-weight:900;line-height:1.08;color:#4d247b;overflow-wrap:anywhere}
.ms-studio .ms-character-choose{font-size:13px;font-weight:500;color:#4e425c}
.ms-studio .ms-character-active{display:none;font-size:11px;line-height:1.3;color:white;background:#5b328a;padding:3px 9px;border-radius:20px;font-weight:800}
.ms-studio .ms-character-cta{display:block;background:#fff;border:2px solid #e51b28;border-radius:999px;padding:7px 10px;font-size:clamp(11px,1.1vw,14px);line-height:1.15;color:#c80b20;font-weight:850;text-align:center;width:100%}
.ms-studio .ms-characters button[aria-pressed=true] .ms-character-active{display:inline-block}
.ms-studio .ms-characters button[aria-pressed=true] .ms-character-choose{display:none}
.ms-studio .ms-characters button[aria-pressed=true] .ms-character-cta{background:#d9081b;color:#fff;border-color:#d9081b}
.ms-studio .ms-footer-note{display:block;max-width:none;text-align:center;margin-top:11px;font-size:12px;font-weight:600}
.ms-seo{box-sizing:border-box;width:min(1600px,calc(100vw - 48px));max-width:none;margin:20px calc((100% - min(1600px,calc(100vw - 48px)))/2) 24px;padding:20px 24px;border:1px solid #e0c9f4;border-radius:16px;background:#fffdf8;color:#24203a;line-height:1.6}
.ms-seo h2{color:#4d247b;font-size:clamp(20px,2.1vw,30px);font-weight:800;line-height:1.25;margin:0 0 10px;text-transform:none;letter-spacing:normal}
.ms-seo p{font-size:16px;font-weight:400;margin:0;line-height:1.65}
/* Keep fullscreen focused on the drawing, with a shorter chooser. */
.ms-studio:fullscreen .ms-footer,.ms-studio.ms-expanded .ms-footer{padding:6px 10px}
.ms-studio:fullscreen .ms-footer>strong,.ms-studio.ms-expanded .ms-footer>strong,.ms-studio:fullscreen .ms-footer-note,.ms-studio.ms-expanded .ms-footer-note{display:none}
.ms-studio:fullscreen .ms-characters img,.ms-studio.ms-expanded .ms-characters img{height:70px;width:100%;max-height:70px}
.ms-studio:fullscreen .ms-character-choose,.ms-studio.ms-expanded .ms-character-choose{display:none}
.ms-studio:fullscreen .ms-character-name,.ms-studio.ms-expanded .ms-character-name{font-size:15px}
.ms-studio:fullscreen .ms-character-copy,.ms-studio.ms-expanded .ms-character-copy{gap:3px}
.ms-studio:fullscreen .ms-character-cta,.ms-studio.ms-expanded .ms-character-cta{padding:3px 6px;font-size:11px}
@media(max-width:900px){.ms-studio .ms-characters{gap:8px}.ms-studio .ms-characters button{gap:7px;padding:7px;grid-template-columns:minmax(0,39%) minmax(0,1fr)}.ms-studio .ms-character-name{font-size:16px}.ms-studio .ms-character-choose{font-size:11px}.ms-studio .ms-character-cta{padding:5px 4px;font-size:11px}}
@media(max-width:620px){.ms-studio .ms-top{padding:8px;gap:7px}.ms-studio .ms-brand{flex-basis:100%;align-items:center}.ms-studio .ms-brand-title,.ms-studio .ms-brand h1.ms-page-title,.ms-studio.ms-compact .ms-brand-title,.ms-studio.ms-compact .ms-brand h1.ms-page-title{width:min(100%,390px)!important;background-position:center!important;object-position:center}.ms-studio .ms-footer,.ms-studio.ms-compact .ms-footer{padding:10px 8px}.ms-studio .ms-characters{grid-template-columns:1fr;gap:8px}.ms-studio .ms-characters button{grid-template-columns:105px minmax(0,1fr);gap:12px;padding:8px}.ms-studio .ms-characters img,.ms-studio.ms-compact .ms-characters img{max-height:135px}.ms-studio .ms-character-name{font-size:19px}.ms-studio .ms-character-cta{max-width:180px;padding:7px 10px;font-size:13px}.ms-seo{width:calc(100vw - 24px);margin:14px calc((100% - (100vw - 24px))/2) 18px;padding:15px}.ms-seo p{font-size:15px}}
@media(forced-colors:active){.ms-studio .ms-brand h1.ms-page-title{aspect-ratio:auto;background:none!important;color:CanvasText!important}}

/* 1.0.5 – remove the theme's unused top spacing on the coloring page only. */
body.ms-coloring-page main:has(.ms-studio),
body.ms-coloring-page #contenuto:has(.ms-studio),
body.ms-coloring-page .site-content:has(.ms-studio),
body.ms-coloring-page .page-content:has(.ms-studio),
body.ms-coloring-page .entry-content:has(.ms-studio),
body.ms-coloring-page .container:has(.ms-studio),
body.ms-coloring-page article:has(.ms-studio),
body.ms-coloring-page .wp-block-shortcode:has(.ms-studio),
body.ms-coloring-page .ms-page-host {
    padding-top:0!important;
    margin-top:0!important;
}
body.ms-coloring-page .ms-studio:not(:fullscreen):not(.ms-expanded){margin-top:12px!important;}
body.ms-coloring-page .entry-header[hidden],body.ms-coloring-page .page-header[hidden]{display:none!important;}
/* Purchase CTA between the character chooser and the SEO copy. */
.ms-book-purchase{box-sizing:border-box;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;margin:18px auto 12px;padding:0 12px;}
.ms-book-purchase .ms-book-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;min-width:min(290px,100%);max-width:100%;padding:13px 30px;border:2px solid #fff9eb;border-radius:999px;background:linear-gradient(#ed1728,#cf0619);box-shadow:0 3px 0 #b60918;color:#fff!important;font-family:inherit;font-size:clamp(18px,2vw,23px);font-weight:800;line-height:1.2;text-decoration:none!important;transition:background .15s,transform .15s;}
.ms-book-purchase .ms-book-button:hover{background:#ba0718;transform:translateY(-1px);}
.ms-book-purchase .ms-book-button:focus-visible{outline:3px solid #5b328a;outline-offset:4px;}
.ms-book-purchase .ms-book-affiliate{display:block;font-size:12px;font-weight:400;line-height:1.3;color:#414141;margin:0;}
.ms-book-purchase + .ms-seo{margin-top:16px;}
