/* Musical Sketch: sticker album theme.
   Loaded last on every public page. The whole site becomes a friendly
   sticker album: light-blue dotted album paper, white cards held on with
   washi tape, die-cut sticker buttons and seals in four bright colours,
   and Patrick Hand for interface text (Caveat stays for big titles and
   Bravura for notation; the score editor's music is untouched). */
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');
:root{
  --st-paper:#eaf3ff;--st-dot:#cfe0f6;--st-card:#fff;
  --st-ink:#26313f;--st-ink-soft:#5d6b7c;--st-ink-faint:#8f9db0;
  --st-line:#d5e3f3;--st-line-soft:#e6eef8;
  --st-coral:#ff7a6b;--st-coral-dk:#e8604f;--st-sky:#4aaef0;--st-sky-dk:#2f8fd8;
  --st-sun:#ffbe2e;--st-sun-dk:#e5a10f;--st-mint:#3fcf9c;--st-mint-dk:#22ad7c;
  --st-tape-y:rgba(255,222,120,.82);--st-tape-p:rgba(255,170,190,.75);--st-tape-b:rgba(140,210,255,.75);
  --st-card-shadow:0 2px 0 #d8e4f3,0 12px 26px rgba(60,90,140,.12);
  --st-hand:"Patrick Hand","DM Sans",system-ui,sans-serif;
  --st-pop:cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Album paper ------------------------------------------------- */
html body{background:var(--st-paper) radial-gradient(var(--st-dot) 1.3px,transparent 1.5px) 0 0/18px 18px!important}
html body :is(.paper-staves,.paper-wash,.ambient-light){display:none!important}
html body.home-page .page{background:transparent!important}
html body.home-page .home-bottom-bar{background:rgba(255,255,255,.92);border-top:2px dashed var(--st-line)}

/* ---------- Handwritten interface text ---------------------------------- */
html body :is(p,li,label,button,a,input,textarea,select,dd,dt,small,td,th,h2,h3,h4,h5,legend,summary):not(.toolbar *):not(.score-wrap *):not(.ms-style-panel *):not(.brand):not(.brand-link):not(.smufl):not(.info-wordmark){font-family:var(--st-hand)!important}
/* Titles keep Caveat. */
html body:not(#ms-sticker-titles) :is(.ach-section-head h2,.ach-track-title h3,.ach-next h3,.ach-card h4,.ach-recent-item strong,.ach-rank-name,
  .ms-profile-rank-name,.ms-unlocked-item strong,.completion-panel h2,.ach-track-next-label strong,.paper-heading h1){font-family:"Caveat","Segoe Print",cursive!important}
html body:not(#ms-sticker-titles) :is(.auth-card h1,.verify-card h1,.username-card h1,.auth-success h1){font-family:"Caveat","Segoe Print",cursive!important;font-size:clamp(40px,5vw,48px)!important;font-weight:700!important;letter-spacing:0!important;color:var(--st-ink)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html.public-sketch-ui body:not(.creator-mode) .paper-heading h1{font-size:clamp(30px,3.2vw,40px)!important;font-weight:700!important;letter-spacing:0!important}
/* Text in spans and divs that set their own font. */
html body :is(.daily-footer,.daily-footer *,.ms-streak-count,.ms-streak-count *,.ms-quest-week-label,.no-challenge-message,.home-profile-menu *,
  .tutorial-eyebrow,.tutorial-step-counter,#tutorialStepCounter,.constraint-chip,.ms-chip-label,.msx-tier,.ach-count,.ach-earned,.ach-track-level *,
  .completion-metric *,.info-eyebrow,.info-caption,.info-updated,.calendar-month,.calendar-weekdays *,.sketch-meta,.provider-note,.subtitle){font-family:var(--st-hand)!important}
html body{color:var(--st-ink)}

/* ---------- Washi tape --------------------------------------------------- */
html body :is(.ms-home-progress,.info-panel,.auth-card,.library-board,.verify-card,.tutorial-guide,.challenge-constraints,
  .ach-hero,.ach-track,.ach-recent,.username-card){position:relative}
html body :is(.ms-home-progress,.info-panel,.auth-card,.library-board,.verify-card,.ach-hero,.ach-track,.ach-recent,.username-card,.completion-panel)::before{
  content:"";position:absolute;z-index:3;top:-11px;left:50%;width:88px;height:22px;pointer-events:none;
  transform:translateX(-50%) rotate(-3deg);background:var(--st-tape-y);box-shadow:0 1px 2px rgba(0,0,0,.08)}
html body .completion-panel{position:relative}
html body .completion-panel::before{top:0}
html body .ach-track:nth-child(3n+2)::before{background:var(--st-tape-p);transform:translateX(-50%) rotate(2deg)}
html body .ach-track:nth-child(3n)::before{background:var(--st-tape-b);transform:translateX(-50%) rotate(-1deg)}
html body .info-panel::before,html body .library-board::before{background:var(--st-tape-b);transform:translateX(-50%) rotate(2deg)}
html body .auth-card::before{background:var(--st-tape-p)}

/* ---------- Cards -------------------------------------------------------- */
html body :is(.ms-home-progress,.info-panel,.info-feature,.info-credits,.info-contact-panel,.auth-card,.library-board,.verify-card,.username-card,
  .tutorial-guide,.challenge-constraints,.ms-profile-rank,.ms-unlocked,
  .ach-hero,.ach-next,.ach-track,.ach-recent,.ach-card){
  background:#fff!important;border:0!important;border-radius:24px!important;box-shadow:var(--st-card-shadow)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body :is(.ms-profile-rank,.ms-unlocked){box-shadow:0 2px 0 #e2ebf6!important;background:#f7fbff!important}
/* The daily reset is one quiet line on the paper, not another card. */
html body.home-page .daily-footer{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.home-page .daily-footer #todayLabel{display:none}
html body.home-page .daily-footer .clock{display:inline-block;margin-left:4px;padding:1px 9px;border-radius:10px;background:#fff1c9;color:#7a5600;
  box-shadow:0 0 0 2px #fff,0 2px 5px rgba(229,161,15,.25)}

/* ---------- Sticker buttons ----------------------------------------------- */
/* Primary: a coral die-cut sticker, stuck on at a slight tilt. */
html body :is(.challenge-link,.info-primary,.account-primary,.email-submit,.username-submit,.sketch-button.primary,.button-link,
  .success-btn,#confirmSubmitBtn,#tryTodayChallenge),
html.public-sketch-ui body:not(.creator-mode) :is(.submit-main,.tutorial-actions button.primary){
  background:var(--st-coral)!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:16px!important;
  box-shadow:0 0 0 3px #fff,0 6px 14px rgba(232,96,79,.32)!important;
  font-family:var(--st-hand)!important;letter-spacing:.01em!important;text-transform:none!important;
  transition:transform .18s var(--st-pop),background-color .2s,box-shadow .2s!important}
/* Stickers sit straight; on hover they lift and peel off at an angle.
   The magnetic offset (home buttons) is kept in the same transform. */
html body :is(.challenge-link,.info-primary,.account-primary,.email-submit,.username-submit,.sketch-button.primary,.button-link,.success-btn,#confirmSubmitBtn,#tryTodayChallenge):hover,
html.public-sketch-ui body:not(.creator-mode) :is(.submit-main,.tutorial-actions button.primary):hover:not(:disabled){
  background:#ff8a7c!important;transform:translate3d(var(--magnet-x,0px),calc(var(--magnet-y,0px) - 2px),0) rotate(-2deg)}
html body :is(.challenge-link,.info-primary,.account-primary,.email-submit,.username-submit,.sketch-button.primary,.button-link,.success-btn,#confirmSubmitBtn,#tryTodayChallenge):active,
html.public-sketch-ui body:not(.creator-mode) :is(.submit-main,.tutorial-actions button.primary):active:not(:disabled){transform:translate3d(var(--magnet-x,0px),calc(var(--magnet-y,0px) + 1px),0) rotate(0)}
/* Wide buttons peel less, so their far ends don't swing out of line. */
html body :is(.account-primary,.email-submit,.username-submit,.sketch-button.primary,.success-btn):hover,
html.public-sketch-ui body:not(.creator-mode) .submit-main:hover:not(:disabled){transform:translateY(-2px) rotate(-1deg)}
html.public-sketch-ui body:not(.creator-mode) .submit-main:disabled{background:#c9d4e2!important;box-shadow:0 0 0 3px #fff,0 3px 8px rgba(60,90,140,.12)!important;transform:none;opacity:1}
html body.home-page .challenge-link{font-size:clamp(19px,1.6vw,21px)!important;font-weight:400!important;border-radius:18px!important}
html body.home-page .challenge-link .arrow{animation:none}
html.ms-done-today body.home-page .challenge-link{background:var(--st-mint)!important;box-shadow:0 0 0 3px #fff,0 6px 14px rgba(34,173,124,.3)!important}
html.ms-done-today body.home-page .challenge-link:hover{background:#56d9aa!important}
/* Secondary: white sticker pills. */
html body :is(.home-tutorial-link,.home-auth-link,.hero-staff-control,.info-secondary,.info-back,.back-to-menu,.guest-link,.secondary-button,.nav-button,
  .ms-profile-rank-link,.ach-action,.secondary-btn,#cadenceFeedbackLaunch,.contact-launch,.sketch-button:not(.primary)),
html.public-sketch-ui body:not(.creator-mode) :is(.top-btn,.submit-secondary,.tutorial-actions button:not(.primary),.dialog-actions button:not(.danger-btn):not(.success-btn):not(#confirmSubmitBtn)){
  background:#fff!important;color:var(--st-ink)!important;border:2px solid var(--st-line)!important;border-radius:999px!important;
  box-shadow:0 2px 0 var(--st-line)!important;font-family:var(--st-hand)!important;font-weight:400!important;letter-spacing:.01em!important;
  transition:transform .18s var(--st-pop),border-color .2s,background-color .2s!important}
html body :is(.home-tutorial-link,.home-auth-link,.hero-staff-control,.info-secondary,.info-back,.back-to-menu,.guest-link,.secondary-button,.nav-button,
  .ms-profile-rank-link,.ach-action,.secondary-btn,#cadenceFeedbackLaunch,.contact-launch,.sketch-button:not(.primary)):hover,
html.public-sketch-ui body:not(.creator-mode) :is(.top-btn,.submit-secondary,.tutorial-actions button:not(.primary)):hover{
  border-color:var(--st-sky)!important;background:#f5fbff!important;transform:translate3d(var(--magnet-x,0px),calc(var(--magnet-y,0px) - 1px),0) rotate(-2deg)}
html body :is(.home-auth-link,.home-tutorial-link,.back-to-menu,.info-back,.top-btn){font-size:15px!important}
/* Small text actions stay text links (no pill): a pill around a long phrase
   leaves no room for its padding and the words run into the outline. */
html body :is(.forgot-button,.back-button){background:none!important;border:0!important;box-shadow:none!important;padding:6px 2px!important;
  color:var(--st-ink)!important;font-family:var(--st-hand)!important;font-size:15px!important;font-weight:400!important;
  text-decoration:underline!important;text-decoration-color:var(--st-coral)!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}
html body :is(.forgot-button,.back-button):hover{color:var(--st-coral)!important}
html body .hero-staff-control{font-size:13px!important}
html body .danger-btn{border-radius:999px!important;font-family:var(--st-hand)!important;font-weight:400!important}

/* ---------- Form fields ------------------------------------------------- */
html body :is(input[type="email"],input[type="password"],input[type="text"],input[type="search"],textarea):not(.score-wrap *){
  border:2px solid var(--st-line)!important;border-radius:14px!important;background:#fff!important;color:var(--st-ink)!important;box-shadow:none!important}
html body :is(input[type="email"],input[type="password"],input[type="text"],input[type="search"],textarea):focus{
  border-color:var(--st-sky)!important;box-shadow:0 0 0 4px rgba(74,174,240,.2)!important;outline:none}
html body .tabs{background:#eef5fd!important;border:0!important;border-radius:999px!important;padding:4px!important}
html body .tabs .tab{border-radius:999px!important;font-family:var(--st-hand)!important;font-size:16px!important}
html body .tabs .tab[aria-selected="true"]{background:#fff!important;color:var(--st-ink)!important;box-shadow:0 0 0 2px var(--st-line)!important}
html body .logged-in-avatar{background:var(--st-sky)!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 5px 12px rgba(47,143,216,.3)!important}

/* ---------- Home ---------------------------------------------------------- */
html body.home-page .home-auth-link{min-height:40px}
html body.home-page .hero-staff::before{background:transparent!important;box-shadow:none!important}
html body.home-page :is(.hero-staff-controls::before,.centerpiece::before){display:none!important}
html body.home-page .hero-staff-controls{background:transparent!important;box-shadow:none!important;border:0!important}
html body.home-page .home-profile-avatar{background:var(--st-sky);color:#fff}
html body.home-page .home-profile-menu{border:0!important;border-radius:18px!important;box-shadow:var(--st-card-shadow)!important}
html body.home-page .ms-home-progress{border-radius:22px!important}
/* The home card's tape crosses its left edge, clear of the streak and the button above. */
html body.home-page .ms-home-progress::before{top:calc(50% - 9px);left:-12px;width:36px;height:18px;transform:rotate(-8deg)}

/* Colour on the home page: coloured nav icon and staff controls. */
html body.home-page .brand-ink{position:relative}
/* Nav icons are little coloured stickers drawn in pencil: a medal, a person
   for Log in and a sketchbook for My Sketches. */
html body.home-page .home-auth-link .home-nav-icon{width:25px;height:25px;margin:-5px 7px -5px -7px;stroke:var(--st-ink);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;overflow:visible}
html body.home-page .home-nav-icon .ni-sun{fill:var(--st-sun)}
html body.home-page .home-nav-icon .ni-coral{fill:var(--st-coral)}
html body.home-page .home-nav-icon .ni-sky{fill:var(--st-sky)}
html body.home-page .home-nav-icon .ni-mint{fill:var(--st-mint)}
html body.home-page .home-nav-icon .ni-white{fill:#fff;stroke:none}
html body.home-page .home-nav-icon .ni-white-line{fill:none;stroke:#fff;stroke-width:1.6}
html body.home-page .home-nav-icon .ni-line{fill:none}
html body.home-page .home-auth-link:hover .home-nav-icon{transform:rotate(-8deg) scale(1.08)}
html body.home-page .home-nav-icon{transition:transform .2s var(--st-pop)}
@media(max-width:480px){html body.home-page .home-achievements-link .home-nav-icon{margin:-5px -4px}}
@media(max-width:380px){html body.home-page .home-sketches-link .home-nav-icon{margin:-5px -4px}}
html body.home-page #homeStaffPlay svg{fill:var(--st-mint-dk)}
html body.home-page #homeStaffClear svg{fill:var(--st-coral)}
html body .ms-quest .msx-locked{border-color:var(--tier,#ff7a6b);background:color-mix(in srgb,var(--tier,#ff7a6b) 13%,#fff)}
html body .ms-quest .msx-locked .msx-glyph{fill:var(--tier,#ff7a6b);fill-opacity:.75}

/* ---------- Sketch page chrome ------------------------------------------ */
html.public-sketch-ui body:not(.creator-mode) .titlebar{background:#fff!important;border-bottom:2px solid var(--st-line-soft)!important}
html.public-sketch-ui body:not(.creator-mode) .toolbar{background:#f6faff!important;border-bottom:2px solid var(--st-line-soft)!important}
html.public-sketch-ui body:not(.creator-mode) .toolbar .divider{background:var(--st-line)!important}
html.public-sketch-ui body:not(.creator-mode) .icon-btn{border-radius:12px!important}
html.public-sketch-ui body:not(.creator-mode) .icon-btn:hover{background:#eaf4ff!important}
html.public-sketch-ui body:not(.creator-mode) .icon-btn[aria-pressed="true"]:not(.voice-btn){background:#fff1c9!important;border-color:var(--st-sun)!important;color:var(--st-ink)!important;
  box-shadow:0 0 0 2px #fff inset}
html.public-sketch-ui body:not(.creator-mode) .status{background:#fff!important;border-top:2px solid var(--st-line-soft)!important}
html.public-sketch-ui body:not(.creator-mode) .challenge-constraints{color:var(--st-ink)!important}
html.public-sketch-ui body:not(.creator-mode) .constraint-chip{border-radius:999px!important;background:#fff1c9!important;border:0!important;color:#7a5600!important;
  box-shadow:0 0 0 2px #fff,0 2px 5px rgba(229,161,15,.25)!important;transform:rotate(-1.5deg)}
html.public-sketch-ui body:not(.creator-mode) .challenge-constraints[data-state="complete"] .constraint-chip{background:#d7f6ea!important;color:#14724f!important;
  box-shadow:0 0 0 2px #fff,0 2px 5px rgba(34,173,124,.25)!important}
html.public-sketch-ui body:not(.creator-mode) .constraint-meter{border-radius:99px;background:#eef3f9}
html.public-sketch-ui body:not(.creator-mode) #constraintMeterFill{background:var(--st-sun)!important;border-radius:99px}
html.public-sketch-ui body:not(.creator-mode) .challenge-constraints[data-state="complete"] #constraintMeterFill{background:var(--st-mint)!important}
html.public-sketch-ui body:not(.creator-mode) .daily-reset-panel,html.public-sketch-ui body:not(.creator-mode) .sketch-elapsed-timer{font-family:var(--st-hand)!important}
html.public-sketch-ui body:not(.creator-mode) .mobile-score-nav{border:0!important;border-radius:18px!important;box-shadow:var(--st-card-shadow)!important}
html.public-sketch-ui body:not(.creator-mode) .mobile-score-nav button{border-radius:12px!important}
html.public-sketch-ui body:not(.creator-mode) .mobile-score-nav button[aria-pressed="true"]{background:#fff1c9!important;border-color:var(--st-sun)!important}
/* Tutorial */
html.public-sketch-ui body:not(.creator-mode) .tutorial-guide{border-radius:24px!important}
html.public-sketch-ui body:not(.creator-mode) .tutorial-progress-track{background:#eef3f9!important;border-radius:99px!important}
html.public-sketch-ui body:not(.creator-mode) .tutorial-progress-fill{background:var(--st-sun)!important;border-radius:99px!important}
html.public-sketch-ui body:not(.creator-mode) .tutorial-hint{background:#f5fbff!important;border:2px dashed var(--st-line)!important;border-radius:16px!important}
/* Dialogs */
html body :is(.completion-dialog,.confirm,dialog.feedback-dialog,.cadence-feedback-dialog){border:0!important;border-radius:28px!important;
  box-shadow:0 0 0 4px #fff,0 26px 60px rgba(40,70,120,.28)!important}
html body :is(.completion-dialog,.confirm)::backdrop{background:rgba(70,110,170,.35)!important;backdrop-filter:blur(3px)}
html body .completion-panel h2{color:var(--st-ink)!important}
html body .completion-metric{background:#f5fbff!important;border:0!important;border-radius:16px!important}
html.public-sketch-ui .completion-share #copySolutionLink,html.public-sketch-ui .completion-share-actions :is(#showShareMenu,#viewOfficialScore){border-radius:999px!important;font-family:var(--st-hand)!important}
html.public-sketch-ui .completion-share-actions #showShareMenu{background:var(--st-sky)!important;border:0!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 5px 12px rgba(47,143,216,.3)!important}
html.public-sketch-ui .completion-share #solutionUrl{border-radius:999px!important}

/* ---------- My Sketches --------------------------------------------------- */
html body .calendar-day{border-radius:14px!important;font-family:var(--st-hand)!important;transition:transform .18s var(--st-pop)!important}
html body .calendar-day.has-sketches{border:0!important;color:#fff!important;background:var(--st-coral)!important;box-shadow:0 0 0 3px #fff,0 4px 9px rgba(40,60,100,.2)!important}
html body .calendar-day.has-sketches:nth-child(4n+1){background:var(--st-sky)!important}
html body .calendar-day.has-sketches:nth-child(4n+2){background:var(--st-sun)!important;color:#5c4100!important}
html body .calendar-day.has-sketches:nth-child(4n+3){background:var(--st-mint)!important}
/* Sketched days sit straight in the grid and peel up at an angle on hover. */
html body .calendar-day.has-sketches{transform:none}
html body .calendar-day.has-sketches:nth-child(odd):hover{transform:rotate(-3deg) scale(1.05)}
html body .calendar-day.has-sketches:nth-child(even):hover{transform:rotate(2.5deg) scale(1.05)}
/* How many sketches: the number written inside a pencil-sketched minim notehead. */
html body .calendar-day.has-sketches .calendar-day-dot{display:none!important}
html body .calendar-day.has-sketches{--cal-loop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='rgba(38,49,63,.16)' transform='translate(1.2 1.8)'/%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='%23fff'/%3E%3Cpath d='M33.3 12.1C33.4 12.3 33.5 12.9 33.7 13.3C34.0 13.7 34.2 14.2 34.5 14.6C34.8 15.1 35.3 15.4 35.5 15.9C35.6 16.4 35.6 17.1 35.6 17.6C35.6 18.2 35.6 18.7 35.4 19.2C35.3 19.8 35.0 20.3 34.8 20.8C34.6 21.3 34.5 21.7 34.2 22.2C34.0 22.7 33.6 23.4 33.2 23.9C32.8 24.4 32.4 24.9 31.9 25.4C31.4 25.9 30.7 26.4 30.1 26.9C29.6 27.4 29.2 27.9 28.6 28.4C28.1 28.8 27.4 29.1 26.8 29.4C26.2 29.7 25.7 29.9 25.1 30.1C24.5 30.4 23.9 30.6 23.3 30.8C22.6 31.0 21.9 31.2 21.2 31.3C20.5 31.4 19.6 31.4 18.9 31.5C18.2 31.5 17.5 31.5 16.8 31.6C16.1 31.6 15.4 31.8 14.7 31.7C14.0 31.7 13.2 31.5 12.6 31.3C11.9 31.2 11.3 31.0 10.7 30.8C10.2 30.7 9.8 30.7 9.3 30.4C8.9 30.2 8.3 29.7 7.8 29.3C7.4 28.9 7.0 28.6 6.7 28.2C6.4 27.8 6.3 27.3 6.1 26.8C5.9 26.3 5.5 25.8 5.3 25.3C5.1 24.8 5.1 24.5 5.0 24.0C4.9 23.5 4.7 22.8 4.7 22.3C4.7 21.8 4.7 21.4 4.8 21.0C4.9 20.5 5.2 20.2 5.4 19.6C5.6 19.1 5.7 18.5 5.9 17.8C6.2 17.2 6.6 16.5 7.1 16.0C7.5 15.5 8.0 15.3 8.5 14.9C8.9 14.5 9.2 13.9 9.6 13.5C10.0 13.0 10.3 12.6 10.9 12.2C11.5 11.8 12.4 11.5 13.1 11.2C13.7 10.8 14.3 10.4 14.9 10.1C15.6 9.8 16.2 9.6 16.9 9.4C17.6 9.1 18.4 8.7 19.1 8.5C19.8 8.4 20.5 8.6 21.1 8.6C21.8 8.5 22.6 8.5 23.2 8.4C23.8 8.3 24.3 8.0 24.9 8.0C25.6 8.1 26.5 8.5 27.2 8.7C27.8 8.9 28.4 9.0 28.9 9.2C29.4 9.3 29.5 9.5 30.0 9.7C30.5 10.0 31.3 10.3 31.8 10.7C32.3 11.0 32.6 11.7 33.0 12.0C33.3 12.3 33.6 12.3 33.9 12.7C34.1 13.0 34.5 13.8 34.7 14.1' fill='none' stroke='%233a4556' stroke-width='1.5' stroke-opacity='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.9 26.4C4.8 26.2 4.3 25.7 4.2 25.2C4.1 24.8 4.2 24.2 4.2 23.7C4.1 23.1 3.8 22.4 3.9 21.8C3.9 21.2 4.2 20.7 4.4 20.2C4.6 19.7 4.8 19.3 4.9 18.8C5.1 18.2 5.1 17.6 5.4 17.0C5.7 16.4 6.1 15.9 6.5 15.3C6.9 14.7 7.5 14.1 7.9 13.6C8.4 13.1 8.8 12.7 9.3 12.3C9.8 11.9 10.4 11.7 10.9 11.3C11.5 10.9 12.0 10.2 12.6 9.9C13.3 9.5 14.0 9.6 14.7 9.4C15.5 9.1 16.4 8.4 17.1 8.2C17.7 8.0 18.1 8.2 18.9 8.1C19.6 7.9 20.7 7.4 21.4 7.4C22.2 7.3 22.5 7.6 23.1 7.6C23.8 7.7 24.9 7.5 25.5 7.6C26.2 7.6 26.5 7.6 27.1 7.7C27.7 7.9 28.7 8.0 29.3 8.3C30.0 8.5 30.4 8.8 30.9 9.1C31.4 9.3 31.8 9.6 32.3 9.9C32.8 10.2 33.2 10.5 33.7 10.8C34.1 11.2 34.5 11.5 34.9 12.0C35.2 12.5 35.5 13.0 35.7 13.5C35.9 14.1 36.0 14.8 36.1 15.3C36.2 15.8 36.3 16.2 36.4 16.7C36.4 17.1 36.5 17.4 36.5 17.9C36.5 18.5 36.6 19.4 36.4 20.0C36.2 20.7 35.9 21.1 35.6 21.6C35.2 22.2 34.6 22.9 34.3 23.4C34.0 23.9 34.0 24.0 33.6 24.5C33.2 25.0 32.6 25.9 32.2 26.3C31.7 26.8 31.3 26.9 30.7 27.3C30.2 27.8 29.2 28.5 28.6 28.9C28.0 29.3 27.8 29.5 27.1 29.8C26.5 30.1 25.5 30.4 24.8 30.7C24.1 31.1 23.8 31.7 23.1 31.9C22.5 32.1 21.5 31.8 20.8 31.9C20.0 32.1 19.3 32.4 18.6 32.5C18.0 32.7 17.6 32.9 16.9 32.9C16.2 32.8 15.0 32.5 14.3 32.4C13.6 32.3 13.1 32.2 12.6 32.1C12.0 32.0 11.5 32.2 10.9 32.0C10.3 31.8 9.5 31.3 8.9 31.0C8.3 30.7 7.8 30.5 7.4 30.3C7.0 30.0 6.9 29.7 6.6 29.3C6.3 28.9 5.6 28.3 5.4 27.8C5.1 27.4 4.9 26.9 4.8 26.7' fill='none' stroke='%233a4556' stroke-width='1.0' stroke-opacity='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html body .calendar-day.has-sketches:nth-child(3n+1){--cal-loop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='rgba(38,49,63,.16)' transform='translate(1.2 1.8)'/%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='%23fff'/%3E%3Cpath d='M6.3 27.4C6.1 27.2 5.5 26.8 5.4 26.4C5.2 26.0 5.4 25.7 5.3 25.2C5.2 24.7 4.6 23.8 4.6 23.2C4.5 22.7 4.8 22.4 4.9 21.9C5.1 21.5 5.4 20.9 5.4 20.4C5.5 19.8 5.3 19.0 5.5 18.4C5.7 17.8 6.2 17.5 6.5 17.0C6.9 16.6 7.2 16.2 7.6 15.7C7.9 15.2 8.0 14.5 8.4 14.1C8.8 13.6 9.5 13.4 10.1 12.9C10.6 12.4 11.3 11.8 11.9 11.3C12.5 10.9 12.9 10.7 13.6 10.3C14.2 10.0 15.1 9.6 15.7 9.4C16.3 9.2 16.8 9.1 17.4 8.9C18.1 8.8 18.9 8.8 19.6 8.7C20.3 8.6 20.9 8.3 21.6 8.2C22.3 8.2 23.1 8.3 23.9 8.3C24.6 8.3 25.4 8.2 26.1 8.2C26.7 8.3 27.1 8.7 27.7 8.9C28.2 9.0 28.9 8.9 29.5 9.1C30.0 9.2 30.3 9.6 30.7 10.0C31.2 10.3 31.9 10.8 32.3 11.2C32.7 11.6 32.8 12.0 33.1 12.4C33.4 12.7 33.8 13.1 34.1 13.5C34.4 13.8 34.8 14.2 35.0 14.7C35.3 15.1 35.4 15.7 35.5 16.3C35.5 16.8 35.5 17.3 35.4 17.8C35.3 18.3 35.1 18.9 35.0 19.5C34.9 20.1 34.8 20.9 34.6 21.4C34.4 21.9 34.1 22.1 33.7 22.6C33.4 23.1 33.0 24.0 32.7 24.6C32.3 25.1 32.1 25.6 31.7 26.0C31.2 26.4 30.3 26.5 29.7 26.9C29.2 27.3 29.0 27.9 28.4 28.3C27.9 28.7 27.3 29.1 26.6 29.4C25.9 29.7 24.9 29.8 24.2 30.0C23.5 30.3 23.0 30.7 22.4 31.0C21.8 31.3 21.1 31.7 20.4 31.8C19.7 31.9 18.8 31.5 18.1 31.6C17.4 31.6 16.8 31.9 16.3 31.9C15.7 31.9 15.2 31.6 14.5 31.5C13.8 31.4 12.8 31.5 12.1 31.4C11.5 31.3 11.2 31.3 10.6 31.0C10.1 30.7 9.3 30.2 8.8 29.8C8.3 29.4 8.0 29.0 7.7 28.7C7.3 28.4 7.1 28.2 6.7 27.8C6.4 27.4 5.8 26.8 5.5 26.4C5.2 26.0 5.0 25.6 4.9 25.4' fill='none' stroke='%233a4556' stroke-width='1.5' stroke-opacity='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M35.9 20.7C35.7 21.0 35.1 22.0 34.8 22.6C34.4 23.1 34.1 23.4 33.8 23.9C33.4 24.3 33.1 24.9 32.7 25.4C32.4 25.9 32.1 26.6 31.5 27.0C31.0 27.4 30.2 27.6 29.6 28.0C29.0 28.4 28.4 29.1 27.9 29.5C27.3 29.8 26.8 29.9 26.1 30.2C25.5 30.6 24.5 31.0 23.8 31.3C23.1 31.7 22.7 32.1 22.0 32.2C21.3 32.3 20.4 32.0 19.7 32.1C19.0 32.2 18.4 32.6 17.8 32.7C17.2 32.7 16.6 32.8 15.9 32.7C15.1 32.6 14.0 32.4 13.3 32.2C12.6 32.1 12.2 32.0 11.6 31.9C11.1 31.8 10.5 31.9 9.9 31.7C9.3 31.6 8.6 31.3 8.1 30.9C7.6 30.5 7.1 29.8 6.8 29.4C6.5 29.0 6.4 28.9 6.1 28.6C5.9 28.3 5.6 27.9 5.3 27.4C5.0 26.9 4.4 26.1 4.2 25.6C4.0 25.1 4.2 24.8 4.2 24.3C4.2 23.7 4.2 22.9 4.2 22.3C4.2 21.8 3.8 21.4 3.9 20.9C3.9 20.4 4.3 20.0 4.5 19.4C4.6 18.9 4.5 18.3 4.7 17.7C5.0 17.2 5.4 16.8 5.8 16.2C6.2 15.7 6.7 14.8 7.1 14.3C7.6 13.8 8.0 13.4 8.5 13.0C9.0 12.6 9.7 12.4 10.2 12.0C10.7 11.6 11.0 11.0 11.6 10.6C12.2 10.2 13.0 9.9 13.7 9.5C14.5 9.2 15.4 8.9 16.1 8.7C16.8 8.5 17.4 8.5 18.0 8.4C18.7 8.2 19.4 7.9 20.1 7.7C20.8 7.5 21.4 7.1 22.2 7.1C22.9 7.1 23.9 7.5 24.6 7.5C25.3 7.6 25.8 7.4 26.3 7.5C26.9 7.5 27.2 7.8 27.9 7.9C28.5 8.1 29.5 8.2 30.1 8.4C30.7 8.6 31.0 9.0 31.4 9.4C31.9 9.7 32.5 10.0 32.9 10.3C33.4 10.6 33.7 10.9 34.1 11.3C34.4 11.7 34.9 12.5 35.2 12.9C35.5 13.4 35.7 13.5 35.9 14.0C36.0 14.5 36.1 15.4 36.2 16.0C36.3 16.5 36.6 16.9 36.6 17.4C36.6 17.9 36.2 18.2 36.1 18.7C36.0 19.2 36.0 20.1 36.0 20.4' fill='none' stroke='%233a4556' stroke-width='1.0' stroke-opacity='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html body .calendar-day.has-sketches:nth-child(3n+2){--cal-loop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='rgba(38,49,63,.16)' transform='translate(1.2 1.8)'/%3E%3Cpath d='M35.1 14.5L35.5 16.0L35.6 17.5L35.5 19.0L35.1 20.6L34.4 22.2L33.5 23.7L32.3 25.2L31.0 26.6L29.4 27.9L27.7 29.0L25.9 30.0L23.9 30.8L21.9 31.4L19.9 31.9L17.8 32.1L15.8 32.1L13.9 31.9L12.1 31.5L10.4 30.9L8.9 30.2L7.5 29.2L6.4 28.1L5.5 26.9L4.9 25.5L4.5 24.0L4.4 22.5L4.5 21.0L4.9 19.4L5.6 17.8L6.5 16.3L7.7 14.8L9.0 13.4L10.6 12.1L12.3 11.0L14.1 10.0L16.1 9.2L18.1 8.6L20.1 8.1L22.2 7.9L24.2 7.9L26.1 8.1L27.9 8.5L29.6 9.1L31.1 9.8L32.5 10.8L33.6 11.9L34.5 13.1Z' fill='%23fff'/%3E%3Cpath d='M5.1 24.1C5.1 23.8 5.2 23.0 5.2 22.5C5.1 21.9 4.9 21.4 5.0 20.8C5.1 20.2 5.5 19.5 5.7 18.9C6.0 18.3 6.1 17.7 6.4 17.2C6.6 16.7 7.0 16.3 7.3 15.9C7.6 15.5 7.8 15.1 8.1 14.6C8.5 14.2 8.9 13.4 9.4 13.0C10.0 12.5 10.6 12.3 11.2 11.9C11.9 11.5 12.6 11.0 13.2 10.7C13.8 10.4 14.2 10.3 14.9 10.1C15.5 9.8 16.4 9.6 17.1 9.4C17.7 9.1 18.3 8.7 19.0 8.5C19.8 8.4 20.7 8.7 21.5 8.5C22.2 8.4 22.9 7.9 23.6 7.9C24.2 7.9 24.6 8.3 25.2 8.4C25.9 8.6 26.9 8.7 27.4 8.8C28.0 8.9 28.0 8.7 28.6 8.9C29.1 9.1 30.0 9.7 30.6 10.0C31.2 10.3 31.6 10.5 32.0 10.8C32.4 11.2 32.4 11.8 32.8 12.2C33.1 12.5 33.8 12.6 34.1 13.0C34.4 13.4 34.6 14.0 34.8 14.5C35.0 15.1 35.4 15.7 35.5 16.2C35.6 16.7 35.3 17.2 35.3 17.6C35.3 18.1 35.4 18.5 35.4 19.0C35.3 19.5 35.3 19.9 35.1 20.5C35.0 21.1 34.6 22.0 34.3 22.6C33.9 23.2 33.5 23.4 33.0 23.9C32.6 24.4 32.0 25.2 31.6 25.7C31.2 26.1 31.1 26.1 30.6 26.6C30.1 27.0 29.3 27.8 28.7 28.2C28.1 28.7 27.8 29.0 27.2 29.3C26.5 29.7 25.4 30.1 24.8 30.3C24.1 30.5 23.8 30.4 23.2 30.6C22.6 30.7 21.8 31.2 21.2 31.3C20.5 31.5 19.9 31.4 19.2 31.5C18.4 31.6 17.3 32.0 16.6 32.0C15.8 32.1 15.4 31.7 14.8 31.7C14.1 31.6 13.2 31.9 12.6 31.7C12.0 31.6 11.8 31.1 11.2 30.9C10.7 30.6 9.8 30.6 9.3 30.4C8.8 30.2 8.7 29.9 8.2 29.5C7.8 29.1 7.1 28.5 6.7 28.1C6.3 27.6 6.3 27.4 6.1 27.0C5.8 26.6 5.7 26.3 5.5 25.9C5.3 25.4 4.9 24.8 4.8 24.3C4.7 23.8 4.8 23.4 4.9 22.9C5.0 22.3 5.3 21.2 5.3 20.9' fill='none' stroke='%233a4556' stroke-width='1.5' stroke-opacity='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.9 23.6C3.9 23.4 3.7 22.7 3.8 22.2C3.9 21.7 4.2 21.1 4.3 20.6C4.4 20.0 4.2 19.5 4.4 18.9C4.5 18.3 5.0 17.5 5.3 17.0C5.6 16.5 5.9 16.2 6.2 15.7C6.6 15.3 7.0 14.9 7.4 14.4C7.8 13.9 8.1 13.1 8.6 12.6C9.1 12.1 9.9 11.7 10.6 11.3C11.3 11.0 12.0 10.9 12.6 10.5C13.2 10.2 13.6 9.7 14.3 9.4C14.9 9.0 15.6 8.7 16.4 8.4C17.1 8.1 18.1 7.7 18.8 7.6C19.6 7.5 20.1 7.7 20.8 7.7C21.4 7.6 22.0 7.3 22.7 7.3C23.3 7.2 23.8 7.3 24.6 7.4C25.3 7.4 26.3 7.4 26.9 7.5C27.6 7.6 28.0 8.0 28.6 8.2C29.1 8.4 29.8 8.7 30.4 8.9C30.9 9.1 31.3 9.3 31.8 9.5C32.3 9.8 33.0 10.0 33.4 10.4C33.9 10.9 34.4 11.7 34.7 12.2C35.0 12.7 35.2 13.1 35.4 13.5C35.6 13.8 35.6 13.9 35.9 14.4C36.1 14.8 36.6 15.7 36.8 16.3C36.9 16.8 36.9 17.4 36.8 17.9C36.6 18.5 36.1 18.9 36.0 19.4C35.8 20.0 35.9 20.7 35.7 21.3C35.5 21.9 35.3 22.5 34.9 23.0C34.6 23.6 34.0 23.9 33.6 24.4C33.2 24.9 32.9 25.3 32.5 25.8C32.1 26.2 31.7 26.7 31.1 27.1C30.6 27.5 29.9 28.0 29.3 28.4C28.6 28.8 28.0 29.2 27.4 29.5C26.7 29.8 26.0 30.1 25.3 30.5C24.7 30.8 24.0 31.0 23.4 31.3C22.7 31.6 21.9 32.1 21.2 32.3C20.5 32.5 19.8 32.4 19.0 32.5C18.3 32.6 17.6 32.8 17.0 32.8C16.3 32.9 15.9 32.9 15.2 32.9C14.6 32.8 13.7 32.7 13.0 32.5C12.4 32.3 11.9 31.8 11.3 31.6C10.7 31.4 10.2 31.7 9.6 31.5C9.1 31.2 8.6 30.4 8.1 30.1C7.5 29.8 6.7 29.8 6.4 29.5C6.0 29.2 6.1 28.8 5.9 28.3C5.6 27.9 4.8 27.2 4.6 26.7C4.3 26.2 4.5 25.6 4.5 25.2C4.4 24.7 4.2 24.2 4.2 24.0' fill='none' stroke='%233a4556' stroke-width='1.0' stroke-opacity='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html body .calendar-day.has-sketches .calendar-day-marker{display:grid!important;place-items:center;gap:0!important;
  width:37px;height:32px;margin:auto 0 -4px -5px;padding:0 0 1px!important;border-radius:0;background:var(--cal-loop) center/100% 100% no-repeat!important;
  color:var(--st-ink)!important;font:400 16px/1 var(--st-hand)!important;font-variant-numeric:tabular-nums;box-shadow:none!important}
@media(max-width:680px){html body .calendar-day.has-sketches .calendar-day-marker{width:28px;height:25px;margin:auto 0 -3px -4px;font-size:13px!important}}
@media(max-width:400px){html body .calendar-day.has-sketches .calendar-day-marker{width:26px;height:23px;font-size:12px!important}}
html body .calendar-day[aria-pressed="true"],html body .calendar-day.is-selected{outline:3px solid var(--st-ink)!important;outline-offset:2px}
html body .composition{border:0!important;border-radius:20px!important;box-shadow:var(--st-card-shadow)!important;background:#fff!important}

/* ---------- Info pages ----------------------------------------------------- */
html body.info-page .info-header{background:transparent!important;border-bottom:0!important}
html body.info-page .info-feature{border-radius:20px!important}
html body.info-page .info-feature:nth-child(odd){transform:rotate(-.5deg)}
html body.info-page .info-feature:nth-child(even){transform:rotate(.5deg)}
html body.info-page .info-feature-number{border:0!important;color:#fff!important;background:var(--st-coral)!important;box-shadow:0 0 0 3px #fff,0 3px 7px rgba(40,60,100,.2)!important}
html body.info-page .info-feature:nth-child(4n+2) .info-feature-number{background:var(--st-sky)!important}
html body.info-page .info-feature:nth-child(4n+3) .info-feature-number{background:var(--st-sun)!important;color:#5c4100!important}
html body.info-page .info-feature:nth-child(4n) .info-feature-number{background:var(--st-mint)!important}
html body.info-page .info-pill{border:0!important;background:#fff1c9!important;color:#7a5600!important;border-radius:999px!important}
html body.info-page a:not([class]){color:var(--st-sky-dk)}
html body.info-page .info-credits{background:#f7fbff!important;box-shadow:0 2px 0 #e2ebf6!important}

/* ---------- Verify -------------------------------------------------------- */
html body .verify-card .mark{border:0!important;background:var(--st-mint)!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 5px 12px rgba(34,173,124,.3)!important;transform:rotate(-6deg)}

/* ---------- Progress layer: sticker colours ---------------------------- */
html body .ms-bar{height:9px;background:#edf3fa}
html body .ms-bar-fill{background:var(--st-sun)}
html body .ms-pip{width:8px;height:8px}
html body .ms-pip.is-done{background:var(--st-coral)}
html body .ms-quest-week.is-met{color:var(--st-mint-dk)}
html body .ms-tabs{border:0;background:#fff;box-shadow:var(--st-card-shadow)}
html body .ms-tabs a{font-size:16px!important}
html body .ms-tabs a[aria-current="page"]{background:var(--st-coral);color:#fff;box-shadow:0 0 0 2px #fff inset}
html body .ach-stat dd{font-family:var(--st-hand)!important;font-size:36px}
html body .ach-stats{border:0;background:#f7fbff;gap:0}
html body .ach-stat{background:transparent}
html body .ach-stat:nth-child(odd){border-right:2px dashed var(--st-line)}
html body .ach-stat:nth-child(-n+2){border-bottom:2px dashed var(--st-line)}
html body .ach-stat.is-sketches dd{color:var(--st-sky-dk)}html body .ach-stat.is-streak dd{color:#f07a2a}
html body .ach-stat.is-best dd{color:#e64d6b}html body .ach-stat.is-unlocked dd{color:var(--st-mint-dk)}
html body :is(.ach-track-blurb,.ach-next-goal,.ach-card-desc,.ach-points,.ach-rank-next,.ms-quest-label,.ach-sync){font-size:15px}
html body .ach-track-next{background:#f5fbff;border-radius:16px}
html body .ach-check{background:var(--st-mint)}
html body .ach-track.is-complete .ach-track-next{background:#e6f9f1}
html body .ach-track-done{color:var(--st-mint-dk)}
/* Seals: die-cut stickers, stuck on at a tilt; locked ones are empty dashed spots. */
html body .msx-emblem{--tier:#ff7a6b;--tier-hi:#ff9d8f;transform:rotate(-7deg);
  filter:drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 5px 6px rgba(40,60,100,.25))}
html body .msx-silver{--tier:#4aaef0;--tier-hi:#7cc6f5}html body .msx-gold{--tier:#ffbe2e;--tier-hi:#ffd56b}html body .msx-platinum{--tier:#3fcf9c;--tier-hi:#77e0bb}
html body :is(.ach-track,.ach-next,.ach-recent-item,.ach-card):nth-child(even) .msx-emblem{transform:rotate(6deg)}
html body .msx-emblem .msx-edge{fill:var(--tier);stroke:none}html body .msx-emblem .msx-rim{fill:var(--tier)}
html body .msx-emblem .msx-face{fill:var(--tier-hi)}html body .msx-emblem .msx-ring{stroke:#fff;opacity:.6;stroke-dasharray:3 3}
html body .msx-emblem .msx-glyph{fill:#fff}html body .msx-gold .msx-glyph{fill:#7a4c00}
html body .msx-locked{filter:none;transform:none!important;border:2.5px dashed #b6c8de;border-radius:50%;background:rgba(255,255,255,.75);box-sizing:border-box}
html body .msx-locked :is(.msx-edge,.msx-rim,.msx-face,.msx-ring){fill:none!important;stroke:none!important}
html body .msx-locked .msx-glyph{fill:#c7d5e6}html body .msx-locked .msx-lock{display:none}
html body .msx-tier-dot{box-shadow:0 0 0 1.5px #fff}
html body .msx-tier-bronze{--tier:var(--st-coral)}html body .msx-tier-silver{--tier:var(--st-sky)}
html body .msx-tier-gold{--tier:var(--st-sun)}html body .msx-tier-platinum{--tier:var(--st-mint)}

/* ---------- Levels as piano keys ---------------------------------------- */
/* Each ladder is a little keyboard: one white key per level, with black
   keys in the real piano pattern. Reached keys light up in sticker colours. */
html body .ach-ladder{gap:0;padding:0 1px;filter:drop-shadow(0 3px 0 #dbe6f3)}
html body .ach-ladder::before,html body .ach-ladder::after{display:none}
html body .ach-step{z-index:auto;height:88px;align-content:end;gap:3px;padding-bottom:10px;background:#fff;
  border:2px solid #cfdcec;border-left-width:0;border-radius:0 0 11px 11px;overflow:visible}
html body .ach-step:first-child{border-left-width:2px;border-top-left-radius:6px}
html body .ach-step:last-child{border-top-right-radius:6px}
/* Black keys sit after keys 1, 2, 4, 5 and 6 of each octave (C D _ F G A _).
   Steps are not stacking contexts (z-index:auto), so every black key paints
   above both of its neighbours instead of being cut in half by the next one. */
html body .ach-step:not(:last-child):not(:nth-child(7n+3)):not(:nth-child(7n))::after{
  content:"";position:absolute;z-index:4;top:-2px;right:calc(-1px - min(13%,9px));width:min(26%,18px);height:50%;border-radius:0 0 5px 5px;
  background:linear-gradient(#465267,#26313f);box-shadow:0 2px 0 rgba(0,0,0,.15)}
html body .ach-node{width:auto;height:auto;background:none!important;border:0!important;box-shadow:none!important;
  color:#b3c1d3;font:400 15px/1 var(--st-hand)!important}
html body .ach-step-need{font:400 16px/1 var(--st-hand);color:#9fb0c5}
html body .ach-step:not(.is-earned) .ach-node{visibility:hidden}
html body .ach-step.is-earned{border-color:#fff;background:var(--st-coral);box-shadow:inset 0 -5px 0 rgba(0,0,0,.12)}
html body .ach-step.is-earned:nth-child(4n+2){background:var(--st-sky)}
html body .ach-step.is-earned:nth-child(4n+3){background:var(--st-sun)}
html body .ach-step.is-earned:nth-child(4n){background:var(--st-mint)}
html body .ach-step.is-earned :is(.ach-node,.ach-step-need){color:#fff!important}
html body .ach-step.is-earned:nth-child(4n+3) :is(.ach-node,.ach-step-need){color:#6b4a00!important}
html body .ach-step.is-next{background:#fff8e1;box-shadow:inset 0 0 0 2px var(--st-sun)}
html body .ach-step.is-next :is(.ach-node,.ach-step-need){color:var(--st-ink)}
html body .ach-step:hover .ach-node{transform:none}
@media(max-width:520px){
  html body .ach-step{height:76px;padding-bottom:8px}
  html body .ach-node{font-size:13px!important}
  html body .ach-step-need{font-size:14px}
}

/* ---------- Reduced motion ---------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  html body :is(.challenge-link,.info-primary,.account-primary,.submit-main,.home-tutorial-link,.home-auth-link,.calendar-day){transition:none!important}
}

/* Short landscape phones: the sketch title bar is tight, so its Feedback
   pill (and its pencil outline) stays clear of the toolbar below. */
@media(max-height:500px){
  html.public-sketch-ui body:not(.creator-mode) .titlebar #cadenceFeedbackLaunch{min-height:26px!important;height:26px!important;padding:0 11px!important;font-size:13px!important}
}

/* Shared sketch page: "Play today's sketch" is the main call to action, so it
   wears the coral primary sticker like "Begin Today's Sketch" on the home page
   (the doubled ID outranks the white secondary-button rule above). */
html.public-sketch-ui body #tryTodayChallenge#tryTodayChallenge.top-btn{background:var(--st-coral)!important;color:var(--st-ink)!important;border:0!important;
  box-shadow:0 0 0 2px var(--sk-pencil,#3a4556),3px 3px 0 2px var(--sk-pencil,#3a4556)!important}
html.public-sketch-ui body #tryTodayChallenge#tryTodayChallenge.top-btn:hover{background:#ff8a7c!important;
  box-shadow:0 0 0 2px var(--sk-pencil,#3a4556),5px 5px 0 2px var(--sk-pencil,#3a4556)!important}
