.ruby-shell{max-width:1100px;margin:auto;padding:0 clamp(16px,4vw,48px) 52px}
.ruby-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid #ffffff36}
.ruby-header>span,.muted{font-size:18px;color:#e5dbe5}
.ruby-shell h1{font-size:clamp(40px,7vw,76px);line-height:1;margin:8px 0 12px}
.ruby-shell h2{font-size:clamp(28px,4vw,39px);margin:0 0 8px}
.ruby-hero{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;margin:36px 0}
.ruby-hero img{width:100%;height:auto;border:2px solid #fae5ec55;border-radius:12px}
.ruby-kicker{color:var(--pink)}
.ruby-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:23px 0}
.ruby-choices.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ruby-note{position:relative;color:#24192a;background:#f2b4d5;border-radius:3px;box-shadow:0 8px 17px #0006;padding:24px 19px 19px;display:flex;flex-direction:column;align-items:start;gap:8px}
.ruby-note:before{content:"";position:absolute;background:#fff8d688;top:-9px;left:39%;width:22%;height:19px;transform:rotate(-5deg)}
.ruby-note.screen{background:#d7c1f2}.ruby-note.paid{background:#aee2ec}
.ruby-label{font-size:17px;letter-spacing:.04em;text-transform:uppercase}
.ruby-link,.ruby-shell button{display:inline-block;border:2px solid currentColor;border-radius:7px;padding:7px 12px;line-height:1.2}
.ruby-note .ruby-link{margin-top:auto;background:#281c32;color:#fff;border-color:#281c32}
.ruby-note small{font-size:17px}
.ruby-section{margin:30px 0}
.ruby-section>p{margin:9px 0}
.ruby-shell details{border-top:1px dashed #ffffff65;padding:12px 0}.ruby-shell summary{cursor:pointer;color:var(--pink)}
.ruby-shell details p{margin:8px 0}
.ruby-back{display:inline-block;margin-top:22px;text-decoration:underline}
.ruby-levels,.ruby-numbers{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
.ruby-shell button[aria-pressed=true]{background:var(--cyan);color:#172125;border-color:var(--cyan)}
.ruby-numbers button{min-width:47px;min-height:44px}
.ruby-puzzle{margin:20px 0;max-width:830px}
.ruby-puzzle img{display:block;width:100%;height:auto;background:#f8ebca;border-radius:6px;margin:10px 0}
.ruby-puzzle a{text-decoration:underline}
@media(max-width:680px){.ruby-hero,.ruby-choices,.ruby-choices.two{grid-template-columns:1fr}.ruby-hero{gap:15px;margin:23px 0}.ruby-note{padding:20px}.ruby-choices{gap:22px}}
[hidden]{display:none!important}
.ruby-level-guide{margin:24px 0 32px}
.ruby-levels.guided{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ruby-levels.guided button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:17px 14px;border:2px solid #877490;background:#29232f;color:var(--white);text-align:center}
.ruby-levels.guided button img{width:76px;height:76px;object-fit:contain}
.ruby-levels.guided strong{font:30px/1.05 Chalk,Hand,sans-serif;color:var(--purple)}
.ruby-levels.guided [data-level="mina"] strong{color:var(--pink)}
.ruby-levels.guided [data-level="cortex"] strong{color:var(--cyan)}
.ruby-level-description{font-size:19px;line-height:1.3}
.ruby-levels.guided .ruby-stages{display:block;width:100%;margin-top:auto;padding-top:10px;border-top:1px solid #ddd0ea55;font-size:17px;line-height:1.35}
.ruby-levels.guided button:hover,.ruby-levels.guided button[aria-pressed=true]{background:#463552;border-color:var(--purple);color:var(--white)}
.ruby-levels.guided button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--purple)}
.ruby-stage-note{font-size:18px;color:#e5dbe5}
@media(max-width:620px){.ruby-levels.guided{grid-template-columns:1fr}}
.ruby-print-page{padding-bottom:42px}.ruby-print-page .play-prompt{text-align:center}
.choices.ruby-overview-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:27px}
.ruby-overview-choices .paper{padding:22px}
.ruby-overview-choices .paper.ruby-viewer-paper{background:#d8c2f0}
.ruby-overview-choices .price{font-size:28px}
.ruby-overview-choices .paper>p{margin-bottom:14px}
.ruby-overview-choices .paper .small{margin-bottom:0}
.ruby-choice-visual{width:100%;height:184px;display:grid;place-items:center;margin:14px 0 10px}
.ruby-choice-visual img{max-width:100%;max-height:184px;border-radius:4px;box-shadow:3px 4px 8px #0003}
@media(max-width:850px){.choices.ruby-overview-choices{grid-template-columns:1fr}}
.ruby-print-video{display:block}
.ruby-overview-choices .version-visual{height:265px}
.ruby-overview-choices .ruby-print-scene{height:auto;aspect-ratio:10/9;max-width:400px;align-self:center}
.ruby-print-scene .print-stack img{height:auto;width:34%;max-width:105px;border-width:4px}
.ruby-phone-scene .phone{width:145px;height:253px;flex-shrink:0}
.ruby-phone-scene .phone-screen{position:relative}
.ruby-phone-scene .phone-screen img{position:absolute;top:-15%;left:0}
.ruby-phone-scene .phone-note{width:auto;max-width:100px;margin-left:10px}
.ruby-levels.guided{align-items:start}
.ruby-level-choice{min-width:0}
.ruby-levels.guided .ruby-level-choice button{width:100%}
.ruby-level-details{margin:6px 0 0;padding:7px 3px;border:0;color:var(--white)}
.ruby-level-details summary{color:var(--cyan);font-size:18px}
.ruby-level-details .ruby-stages{margin-top:9px}
.ruby-level-details .ruby-stage-note{margin-top:6px;font-size:16px}
@media(max-width:620px){
  .ruby-levels.guided{gap:8px}
  .ruby-levels.guided .ruby-level-choice button{flex-direction:row;padding:7px 12px}
  .ruby-levels.guided .ruby-level-choice img{width:42px;height:42px}
  .ruby-levels.guided .ruby-level-choice strong{font-size:25px}
}

[data-picker]{margin-top:16px}
[data-picker]>h1{font-size:clamp(28px,5vw,48px);margin:4px 0 10px}
.ruby-shell .ruby-video{margin:0 0 12px;padding:6px 0}
.ruby-video-player{max-width:760px;aspect-ratio:16/9;margin:8px 0;background:#101113}
.ruby-video-player iframe{display:block;width:100%;height:100%;border:0}
.ruby-video a{text-decoration:underline}
[data-picker] .ruby-level-guide{margin:10px 0 12px}
[data-picker] h2{font-size:clamp(23px,3vw,32px);margin-bottom:5px}
[data-picker] .ruby-levels.guided{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 0}
[data-picker] .ruby-levels.guided button{flex-direction:row;justify-content:center;gap:6px;min-height:44px;padding:5px}
[data-picker] .ruby-levels.guided img{width:34px;height:34px}
[data-picker] .ruby-levels.guided strong{font-size:clamp(17px,3vw,24px)}
.ruby-shell [data-picker] .ruby-level-details{margin:1px 0;padding:2px;border:0}
[data-picker] .ruby-level-details summary{font-size:16px}
[data-picker] .ruby-numbers{gap:5px;margin:6px 0}
[data-picker] .ruby-puzzle{margin-top:9px}
[data-picker] .ruby-puzzle img{margin:6px 0}
@media(max-width:620px){
  .ruby-shell:has([data-picker]) .ruby-header{padding:7px 0}
  [data-picker] .ruby-levels.guided img{width:25px;height:25px}
  [data-picker] .ruby-numbers button{min-width:38px;padding:5px}
}
