:root {
  color-scheme:light;
  --paper:#f7f2e5;
  --ink:#303e35;
  --muted:#6a7161;
  --green:#35775e;
  --yellow:#efb940;
  --coral:#d96946;
  --line:#ddd9c9;
  font-family:"Avenir Next","Trebuchet MS",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-width:320px;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23807957' opacity='.055' filter='url(%23n)' d='M0 0h140v140H0z'/%3E%3C/svg%3E");
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  font:inherit;
  font-weight:750;
  color:inherit;
  cursor:pointer;
}

button {
  border:0;
}

button:disabled {
  opacity:.4;
  cursor:default;
}

button:focus-visible,a:focus-visible,summary:focus-visible,svg:focus-visible {
  outline:3px solid #196c9d;
  outline-offset:4px;
}

button:not(:disabled):active {
  transform:translateY(2px);
}

button {
  transition:background .15s,transform .15s;
}

button[hidden],[hidden] {
  display:none!important;
}

h1,h2,p {
  margin:0;
}

.topbar {
  max-width:1376px;
  margin:auto;
  padding:20px 36px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.back-link {
  font-weight:800;
  color:var(--ink);
  text-decoration:none;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
}

.back-link>span {
  font-size:24px;
}

.club-label {
  font-size:10px;
  font-weight:850;
  letter-spacing:.19em;
  color:var(--muted);
}

.top-actions {
  display:flex;
  gap:10px;
}

.small-button {
  min-height:44px;
  min-width:44px;
  padding:8px 13px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}

.small-button:hover {
  background:#e9e5d6;
}

.small-button span {
  font-size:12px;
}

main {
  max-width:1320px;
  margin:auto;
  padding:30px 36px 0;
}

.heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:30px;
}

.eyebrow {
  font-size:10px;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.heading .eyebrow {
  color:var(--green);
  display:flex;
  gap:8px;
  align-items:center;
}

.heading .eyebrow>span {
  font-size:23px;
}

.heading h1 {
  font-family:"Cooper Black","Bookman Old Style",Georgia,serif;
  font-size:clamp(46px,5.2vw,76px);
  letter-spacing:-.065em;
  line-height:1.12;
  font-weight:950;
}

.heading h1>span {
  color:var(--coral);
}

.heading h1 svg {
  width:62px;
  height:55px;
  margin-left:12px;
  transform:rotate(-6deg);
}

.subtitle {
  color:var(--muted);
  font-size:15px;
  margin-top:8px;
}

.maker-stamp {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  transform:rotate(7deg);
  width:171px;
  height:114px;
  border:1px solid #b8be9c;
  border-radius:50%;
  color:#66774e;
  margin-right:17px;
}

.maker-stamp:before {
  content:"";
  position:absolute;
  inset:5px;
  border:1px dashed #b8be9c;
  border-radius:50%;
}

.maker-stamp span {
  font-size:8px;
  letter-spacing:.14em;
  font-weight:850;
}

.maker-stamp strong {
  font-family:Georgia,serif;
  font-size:22px;
  font-style:italic;
}

.maker-stamp i {
  position:absolute;
  right:-11px;
  top:2px;
  font-size:34px;
  color:var(--coral);
}

.mission-trail {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  padding-bottom:22px;
}

.mission-node {
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  background:transparent;
  min-height:54px;
  padding:7px 10px;
  border-radius:12px;
  border:1px solid transparent;
}

.mission-node:not(:last-child):after {
  content:"";
  position:absolute;
  right:-8px;
  top:26px;
  width:8px;
  border-top:2px dotted #c4c8b4;
}

.mission-node[aria-current="step"] {
  background:#fffaf0;
  border-color:#d3cfb9;
  box-shadow:0 3px 0 #e5e0d0;
}

.mission-node:disabled {
  opacity:.6;
}

.mission-node:not(:disabled):hover {
  background:#eeeadb;
}

.mission-number {
  flex-shrink:0;
  width:33px;
  height:33px;
  display:grid;
  place-items:center;
  border:1.5px solid #c6cbb9;
  border-radius:50%;
  font-size:13px;
  background:var(--paper);
  color:var(--muted);
}

.mission-node[aria-current="step"] .mission-number {
  background:var(--green);
  border-color:var(--green);
  color:white;
  box-shadow:0 0 0 4px #e4e9d9;
}

.mission-node.complete .mission-number {
  color:var(--green);
  border-color:var(--green);
  background:#e1ead7;
}

.mission-name {
  font-size:11px;
  line-height:1.4;
  font-weight:750;
}

.mission-brief {
  display:flex;
  align-items:center;
  gap:19px;
  background:#ececd9;
  border:1px solid #dedfca;
  border-radius:18px 18px 0 0;
  padding:18px 24px;
  position:relative;
}

.portrait {
  width:72px;
  height:72px;
  flex-shrink:0;
  background:#f7f1da;
  border-radius:50%;
  border:1px solid #d9d9be;
  overflow:hidden;
}

.portrait svg {
  width:100%;
  height:100%;
}

.brief-copy {
  flex:1;
}

.brief-copy .eyebrow {
  color:#68744d;
  font-size:9px;
  margin-bottom:5px;
}

.brief-copy h2 {
  font-family:"Cooper Black","Bookman Old Style",Georgia,serif;
  font-size:25px;
  letter-spacing:-.035em;
}

.brief-copy>p:last-child {
  font-size:13px;
  line-height:1.6;
  margin-top:4px;
  max-width:760px;
}

.read-button {
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-size:10px;
  padding:10px;
  min-width:60px;
  border-radius:12px;
}

.read-button:hover {
  background:#e0e2c9;
}

.read-button svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:var(--ink);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.workshop {
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:0;
  background:#fffcf4;
  border:1px solid #d9dac9;
  border-top:0;
  border-radius:0 0 18px 18px;
  overflow:hidden;
  box-shadow:0 6px 0 #e9e4d5;
}

.scene-panel {
  min-width:0;
  padding:14px 16px 0;
  border-right:1px solid var(--line);
}

.scene-top {
  height:30px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-size:10px;
  font-weight:750;
  color:var(--muted);
}

.scene-label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:9px;
  letter-spacing:.12em;
  white-space:nowrap;
}

.scene-label i {
  width:7px;
  height:7px;
  background:#6f9760;
  border-radius:50%;
}

#delivery-count {
  margin-left:auto;
  font-size:10px;
}

.scene-top .text-button {
  display:none;
  min-height:20px;
  font-size:10px;
  padding:0;
}

.scene-scroll {
  border-radius:10px;
  background:#e0eee5;
  overflow:auto;
  border:1px solid #cdded0;
  overscroll-behavior-x:contain;
  scrollbar-color:#9baa80 #e1e8d9;
  scrollbar-width:thin;
}

#scene {
  width:100%;
  display:block;
  touch-action:pan-x pan-y;
  user-select:none;
  outline-offset:-4px;
  cursor:crosshair;
}

#scene.playing {
  cursor:default;
}

.scene-bottom {
  min-height:46px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
  line-height:1.5;
}

.coordinate {
  font-size:9px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.toolbox {
  padding:21px 20px 18px;
  display:flex;
  flex-direction:column;
  background:#fbf8ed;
}

.toolbox-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}

.toolbox-heading .eyebrow {
  color:#8b8367;
  font-size:8px;
  margin-bottom:6px;
}

.toolbox h2 {
  font-family:Georgia,serif;
  font-size:21px;
  letter-spacing:-.04em;
}

.piece-count {
  font-size:11px;
  background:#ece9db;
  padding:6px 8px;
  border-radius:8px;
  font-variant-numeric:tabular-nums;
}

.palette {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.part-button {
  position:relative;
  min-height:87px;
  border:1.5px solid #dedbcc;
  background:#fffdf7;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  touch-action:none;
  padding:8px 4px;
  font-size:12px;
}

.part-button svg {
  width:74px;
  height:47px;
  overflow:visible;
  pointer-events:none;
}

.part-button[aria-pressed="true"] {
  background:#fff0c3;
  border-color:#be902f;
  box-shadow:0 0 0 2px #efb94040;
}

.part-button:not(:disabled):hover {
  background:#f7efdb;
}

.part-button.locked {
  border-style:dashed;
  opacity:.6;
  background:transparent;
}

.part-button small {
  font-size:8px;
  display:block;
  font-weight:500;
}

.tool-tip {
  font-size:11px;
  line-height:1.6;
  min-height:47px;
  margin:12px 0 4px;
  color:var(--muted);
}

.edit-actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  border-top:1px solid var(--line);
  padding-top:10px;
}

.edit-button {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  background:transparent;
  font-size:9px;
  padding:5px 0;
  min-height:51px;
  border-radius:8px;
}

.edit-button>span {
  font-size:25px;
  line-height:1;
}

.edit-button:not(:disabled):hover {
  background:#eae8d8;
}

.text-button {
  background:transparent;
  font-size:11px;
  min-height:44px;
  text-decoration:underline;
  text-underline-offset:3px;
}

.reset-button {
  align-self:center;
  color:var(--muted);
  margin-bottom:5px;
}

.challenge {
  display:flex;
  gap:9px;
  border-top:1px dashed #d4d0bb;
  padding-top:14px;
  margin-top:auto;
  color:#807444;
}

.challenge>span {
  font-size:27px;
}

.challenge p {
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:10px;
  line-height:1.5;
}

.challenge strong {
  font-size:11px;
}

.action-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0 14px;
  gap:16px;
}

.process {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:11px;
  font-weight:700;
  color:#8a8e7b;
}

.process>span {
  display:flex;
  align-items:center;
  gap:7px;
}

.process b {
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border:1px solid #cdd0bc;
  border-radius:50%;
  font-size:10px;
}

.process .active {
  color:var(--green);
}

.process .active b {
  background:#dce8d7;
  border-color:#a8bd9d;
}

.process i {
  font-size:12px;
  font-style:normal;
  color:#b8bba6;
}

.run-actions {
  display:flex;
  gap:16px;
  align-items:center;
}

.run-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:var(--green);
  color:white;
  border:1px solid #24513e;
  border-radius:12px;
  min-height:53px;
  padding:12px 25px;
  font-size:14px;
  box-shadow:0 3px 0 #254e3c;
}

.run-button:not(:disabled):hover {
  background:#29624c;
}

.hint-button {
  background:transparent;
  font-size:12px;
  min-height:48px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  gap:8px;
}

.hint-button>span {
  font-size:23px;
  color:#9a7d36;
}

.hint-button:hover {
  background:#eee8d5;
  border-radius:10px;
}

.hint-panel {
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 20px;
  background:#fcf0c9;
  border:1px solid #e7d7a4;
  border-radius:13px;
  margin-bottom:14px;
}

.hint-panel>span {
  font-size:26px;
  color:#9a7d36;
}

.hint-panel p {
  flex:1;
  font-size:13px;
  line-height:1.6;
}

.result-panel {
  display:flex;
  align-items:center;
  gap:22px;
  padding:25px;
  background:#e8eedb;
  border:1px solid #c7d5b7;
  border-radius:16px;
  scroll-margin-bottom:24px;
}

.result-panel.retry {
  background:#f6ecd8;
  border-color:#ded2b9;
}

.result-icon {
  width:62px;
  height:62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#d5e4bf;
  font-size:37px;
  color:#4b6b36;
  flex-shrink:0;
}

.retry .result-icon {
  background:#eadbb9;
  color:#94702f;
}

.result-copy {
  flex:1;
}

.result-copy .eyebrow {
  font-size:8px;
  color:#6b7c51;
  margin-bottom:7px;
}

.result-copy h2 {
  font-family:Georgia,serif;
  font-size:26px;
  letter-spacing:-.035em;
}

.result-copy p:not(.eyebrow) {
  font-size:12px;
  line-height:1.6;
  margin-top:7px;
  max-width:590px;
}

.result-actions {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:170px;
}

.secondary-button {
  min-height:46px;
  padding:10px 18px;
  background:transparent;
  border:1px solid #b4bca2;
  border-radius:10px;
  font-size:12px;
}

.secondary-button:hover {
  background:#dce5cd;
}

.earned {
  color:#597333;
  font-weight:850;
}

.result-actions .run-button {
  font-size:12px;
  padding:10px 16px;
}

footer {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:23px 0 25px;
  color:#818370;
  font-size:10px;
}

footer>span:first-child {
  font-size:19px;
  color:#ad9864;
}

#save-note {
  margin-left:auto;
  font-size:9px;
}

dialog {
  width:min(540px,calc(100% - 30px));
  max-height:85dvh;
  overflow:auto;
  border:1px solid #c9c6af;
  border-radius:22px;
  padding:35px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 20px 90px #293b3555;
}

dialog::backdrop {
  background:#223c3299;
  backdrop-filter:blur(4px);
}

dialog h2 {
  font-family:Georgia,serif;
  font-size:31px;
  letter-spacing:-.045em;
  margin:10px 0 15px;
}

dialog p,dialog li {
  font-size:13px;
  line-height:1.8;
  margin:12px 0;
}

dialog ol {
  padding-left:20px;
}

dialog li {
  padding-left:6px;
}

dialog .eyebrow {
  font-size:9px;
}

dialog .run-button {
  width:100%;
  margin-top:23px;
}

.dialog-close {
  float:right;
  margin:-17px -17px 0 10px;
}

details {
  font-size:12px;
  margin-top:15px;
}

summary {
  cursor:pointer;
  min-height:44px;
  display:list-item;
  padding-top:12px;
  font-weight:700;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}

.noscript {
  padding:24px;
  background:#fff0c3;
}

.fan-spin {
  transform-box:fill-box;
  transform-origin:center;
  animation:spin .65s linear infinite;
}

.cloud {
  animation:cloud-drift 15s ease-in-out infinite alternate;
}

.celebrate-star {
  animation:pop .6s ease-out both;
  transform-box:fill-box;
  transform-origin:center;
}

@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}

@keyframes cloud-drift {
  to {
    transform:translateX(12px);
  }
}

@keyframes pop {
  from {
    transform:scale(.1);
    opacity:0;
  }
  to {
    transform:scale(1);
    opacity:1;
  }
}

@media(min-width:1500px) {
  main {
    padding-top:40px;
  }
  .heading {
    margin-bottom:36px;
  }
  .topbar {
    padding-top:24px;
    padding-bottom:24px;
  }
}

@media(max-width:1050px) {
  .workshop {
    grid-template-columns:minmax(0,1fr) 215px;
  }
  .toolbox {
    padding:18px 13px;
  }
  .mission-name {
    font-size:10px;
  }
  .mission-node {
    gap:7px;
    padding:6px;
  }
  .scene-panel {
    padding:12px 12px 0;
  }
  .process {
    gap:8px;
    font-size:10px;
  }
  .run-actions {
    gap:5px;
  }
  .run-button {
    padding:12px 18px;
  }
  .brief-copy h2 {
    font-size:23px;
  }
  .palette {
    gap:7px;
  }
  .part-button {
    min-height:77px;
  }
  .part-button svg {
    height:39px;
  }
  .toolbox h2 {
    font-size:19px;
  }
  .club-label {
    font-size:8px;
  }
}

@media(max-width:800px) {
  .topbar {
    padding:12px 20px;
  }
  .club-label {
    display:none;
  }
  main {
    padding:22px 20px 0;
  }
  .heading {
    margin-bottom:22px;
  }
  .heading h1 {
    font-size:59px;
  }
  .heading h1 svg {
    width:45px;
    height:43px;
  }
  .maker-stamp {
    width:136px;
    height:96px;
    margin-right:5px;
  }
  .maker-stamp strong {
    font-size:18px;
  }
  .maker-stamp span {
    font-size:6px;
  }
  .mission-trail {
    gap:5px;
  }
  .mission-node {
    flex-direction:column;
    gap:5px;
    text-align:center;
  }
  .mission-node:not(:last-child):after {
    right:-5px;
    width:5px;
  }
  .mission-name {
    font-size:9px;
  }
  .mission-brief {
    padding:16px;
    gap:14px;
  }
  .portrait {
    width:61px;
    height:61px;
  }
  .workshop {
    grid-template-columns:minmax(0,1fr);
  }
  .scene-panel {
    border-right:0;
  }
  .scene-top .text-button {
    display:block;
  }
  #scene {
    min-width:640px;
  }
  .scene-scroll.overview #scene,#scene.playing {
    min-width:0;
  }
  .toolbox {
    display:grid;
    grid-template-columns:155px minmax(0,1fr);
    column-gap:20px;
    padding:16px;
    border-top:1px solid var(--line);
  }
  .toolbox-heading {
    margin-bottom:8px;
  }
  .palette {
    grid-column:2;
    grid-row:1 / 4;
    grid-template-columns:repeat(4,1fr);
    align-self:center;
  }
  .tool-tip {
    grid-column:1;
    min-height:0;
    margin:0 0 8px;
    font-size:10px;
  }
  .edit-actions {
    grid-column:1;
    padding-top:6px;
  }
  .reset-button {
    grid-column:1;
    margin:0;
    min-height:35px;
    font-size:10px;
  }
  .challenge {
    grid-column:2;
    grid-row:4;
    margin-top:6px;
    padding-top:7px;
    align-items:center;
  }
  .challenge>span {
    font-size:22px;
  }
  .challenge p {
    flex-direction:row;
    gap:8px;
    flex-wrap:wrap;
    font-size:9px;
  }
  .challenge strong {
    font-size:10px;
  }
  .toolbox h2 {
    font-size:18px;
  }
  .toolbox-heading .eyebrow {
    font-size:7px;
  }
  .process {
    gap:6px;
    font-size:9px;
  }
  .process>span {
    gap:4px;
  }
  .process b {
    width:21px;
    height:21px;
  }
  .run-button {
    font-size:12px;
  }
  .hint-button {
    font-size:11px;
    padding:8px;
  }
  .result-panel {
    gap:14px;
    padding:20px;
  }
  .result-icon {
    width:46px;
    height:46px;
    font-size:29px;
  }
}

@media(max-width:550px) {
  .topbar {
    padding:9px 15px;
  }
  .top-actions {
    gap:6px;
  }
  .small-button {
    padding:8px 10px;
  }
  .back-link {
    font-size:13px;
  }
  main {
    padding:20px 12px 0;
  }
  .heading {
    padding:0 4px;
    margin-bottom:20px;
  }
  .heading .eyebrow {
    font-size:8px;
    letter-spacing:.1em;
  }
  .heading h1 {
    font-size:49px;
  }
  .heading h1 svg {
    width:37px;
    height:38px;
    margin-left:5px;
  }
  .subtitle {
    font-size:11px;
    margin-top:5px;
  }
  .maker-stamp {
    display:none;
  }
  .mission-trail {
    padding-bottom:16px;
    gap:3px;
  }
  .mission-node {
    padding:6px 2px;
    border-radius:9px;
  }
  .mission-number {
    width:29px;
    height:29px;
    font-size:11px;
  }
  .mission-name {
    font-size:8px;
    line-height:1.4;
  }
  .mission-node:not(:last-child):after {
    width:3px;
    right:-3px;
    top:21px;
  }
  .mission-brief {
    padding:14px 12px;
    gap:10px;
  }
  .portrait {
    width:49px;
    height:49px;
    align-self:flex-start;
    margin-top:5px;
  }
  .brief-copy h2 {
    font-size:20px;
  }
  .brief-copy .eyebrow {
    font-size:7px;
    letter-spacing:.09em;
  }
  .brief-copy>p:last-child {
    font-size:11px;
    line-height:1.6;
  }
  .read-button {
    min-width:40px;
    padding:8px 3px;
  }
  .read-button span {
    font-size:8px;
  }
  .read-button svg {
    width:21px;
    height:21px;
  }
  .scene-panel {
    padding:12px 9px 0;
  }
  .scene-top {
    gap:8px;
  }
  .scene-label {
    font-size:8px;
    gap:5px;
  }
  #delivery-count {
    font-size:8px;
  }
  .scene-top .text-button {
    font-size:9px;
  }
  .scene-bottom {
    font-size:10px;
    padding:6px 0;
  }
  .coordinate {
    display:none;
  }
  .toolbox {
    padding:14px 12px;
    display:flex;
    gap:0;
  }
  .toolbox-heading {
    margin-bottom:10px;
  }
  .toolbox-heading .eyebrow {
    display:none;
  }
  .toolbox h2 {
    font-size:20px;
  }
  .piece-count {
    padding:4px 8px;
  }
  .palette {
    width:100%;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
  }
  .part-button {
    min-height:78px;
    font-size:10px;
  }
  .part-button svg {
    width:63px;
    height:38px;
  }
  .part-button small {
    font-size:7px;
  }
  .tool-tip {
    font-size:10px;
    margin:10px 0;
    min-height:16px;
  }
  .edit-actions {
    width:100%;
    padding-top:7px;
  }
  .edit-button {
    flex-direction:row;
    gap:6px;
    min-height:44px;
    font-size:10px;
  }
  .edit-button>span {
    font-size:24px;
  }
  .reset-button {
    align-self:center;
    min-height:32px;
  }
  .challenge {
    width:100%;
    padding-top:9px;
    margin-top:5px;
    gap:8px;
  }
  .challenge p {
    flex-direction:row;
    font-size:9px;
  }
  .action-strip {
    flex-direction:column;
    gap:15px;
    padding:20px 0 15px;
  }
  .process {
    font-size:10px;
    gap:12px;
  }
  .run-actions {
    width:100%;
    justify-content:space-between;
    gap:12px;
  }
  .run-button {
    min-height:52px;
    padding:12px 20px;
    font-size:13px;
  }
  .run-actions .run-button {
    flex:1;
  }
  .hint-button {
    padding:8px 10px;
    font-size:11px;
  }
  .result-panel {
    flex-wrap:wrap;
    gap:12px;
    padding:18px;
  }
  .result-copy {
    flex-basis:calc(100% - 70px);
  }
  .result-copy h2 {
    font-size:23px;
  }
  .result-actions {
    width:100%;
    flex-direction:row;
    min-width:0;
  }
  .result-actions>button {
    flex:1;
    padding:10px;
    font-size:11px;
  }
  .result-copy p:not(.eyebrow) {
    font-size:11px;
  }
  .hint-panel {
    padding:12px;
    gap:10px;
  }
  .hint-panel p {
    font-size:11px;
  }
  footer {
    justify-content:center;
    font-size:9px;
    padding-bottom:20px;
  }
  #save-note {
    margin:0;
    width:100%;
    text-align:center;
    font-size:8px;
  }
  dialog {
    padding:25px;
  }
  dialog h2 {
    font-size:28px;
  }
  dialog p,dialog li {
    font-size:12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
