  @font-face { font-family: "Pixeloid"; src: url("PixeloidSans.ttf"); font-display: swap; }
  @font-face { font-family: "Pixeloid"; src: url("PixeloidSans-Bold.ttf"); font-weight: 700; font-display: swap; }
  :root {
    /* chikūpod palette: brown + cream + lavender are the brand, charcoal supports, lime is the spark. Coral is for warnings only (not used here). */
    --brown: #2B1F1B; --cream: #F1EFE8; --lavender: #C9BCD1; --charcoal: #1B272B; --lime: #A8F03C;
    --lav-dark: #8c7c9c; --lav-mid: #A394B3; --lav-light: #E3DBE8; --paper: #FBFAF6; --lime-dark: #4f8a1c; --steel: #566d75;
    --shadow: 6px 6px 0 rgba(27, 39, 43, .42), 0 26px 44px -14px rgba(10, 8, 12, .55);
    --gloss: linear-gradient(180deg, #F6F1F8 0%, #DDD2E4 14%, #C9BCD1 52%, #B6A7C5 100%);
    --gloss-dark: linear-gradient(180deg, #A99BB9 0%, #8c7c9c 50%, #75668a 100%);
  }
  * { box-sizing: border-box; }
  html { background: var(--brown); scroll-behavior: smooth; }
  body { margin: 0; color: var(--cream); font: 16px/1.55 "Pixeloid", ui-monospace, monospace; padding-bottom: 72px; -webkit-font-smoothing: none; }
  #rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
  a { color: inherit; }
  img { max-width: 100%; height: auto; }
  ::selection { background: var(--lime); color: var(--brown); }

  /* ticker */
  .ticker { position: relative; z-index: 3; background: var(--gloss); color: var(--brown); border-bottom: 3px solid var(--brown); overflow: hidden; white-space: nowrap; font-size: 13px; letter-spacing: .08em; }
  .ticker .run { display: inline-block; padding: 5px 0; animation: run 46s linear infinite; }
  .ticker span { margin: 0 22px; }
  .ticker span:nth-child(even) { margin: 0; opacity: .55; }
  @keyframes run { to { transform: translateX(-50%); } }

  .shell { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px 20px 28px; }
  .menubar { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 6px 0 30px; }
  .brand { font: 700 34px/1 "Pixeloid", monospace; letter-spacing: .06em; margin-right: auto; text-shadow: 3px 3px 0 var(--charcoal); }
  .brand b { color: var(--lime); font-weight: 700; }
  .nav { display: flex; gap: 6px; flex-wrap: wrap; }
  .nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 76px; padding: 6px 8px 5px; text-decoration: none; font-size: 13px; color: var(--cream); border: 2px solid transparent; text-shadow: 2px 2px 0 var(--charcoal); }
  .nav a:hover, .nav a:focus-visible { background: rgba(27, 39, 43, .45); border: 2px dotted var(--lavender); outline: 0; }
  canvas.ico { width: 40px; height: 40px; image-rendering: pixelated; filter: drop-shadow(2px 2px 0 rgba(27, 39, 43, .6)); }

  /* windows */
  .desktop { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px 24px; align-items: start; }
  .win { position: relative; scroll-margin-top: 20px; background: var(--cream); color: var(--brown); border: 3px solid var(--brown); border-radius: 7px 7px 2px 2px; box-shadow: inset 0 0 0 2px var(--paper), var(--shadow); transform: translate(var(--tx, 0px), var(--ty, 0px)); }
  .win.hidden { display: none; }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--gloss); border-bottom: 3px solid var(--brown); border-radius: 4px 4px 0 0; padding: 4px 6px 4px 10px; font-size: 14px; user-select: none; touch-action: none; }
  .bar .ttl { display: flex; align-items: center; gap: 7px; font-weight: 700; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
  .bar .ttl canvas { width: 16px; height: 16px; image-rendering: pixelated; }
  .bar .ctl { display: flex; gap: 4px; }
  .bar button { all: unset; box-sizing: border-box; width: 22px; height: 20px; border: 2px solid var(--brown); border-radius: 3px; background: linear-gradient(180deg, #fff 0%, var(--cream) 55%, var(--lavender) 100%); color: var(--brown); font: 700 12px/16px "Pixeloid", monospace; text-align: center; cursor: pointer; }
  .bar button:hover { background: var(--lime); }
  .bar button:focus-visible { outline: 3px solid var(--brown); outline-offset: 1px; }
  .body { padding: 20px; }
  .win.min .body { display: none; }
  .body p { margin: 0 0 10px; }
  .body p:last-child { margin-bottom: 0; }
  .dim { color: var(--steel); }
  .dark { background: var(--charcoal); color: var(--cream); box-shadow: inset 0 0 0 2px #2c3b41, var(--shadow); }
  .dark .bar { background: var(--gloss-dark); color: var(--paper); }
  .dark .bar .ttl { text-shadow: 0 1px 0 rgba(27, 39, 43, .5); }
  .term { color: var(--lime); }
  .cur { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  .btn { display: inline-block; background: linear-gradient(180deg, #CFF77F 0%, var(--lime) 55%, #8bd02f 100%); color: var(--brown); border: 3px solid var(--brown); border-radius: 4px; padding: 7px 18px; font: 700 15px "Pixeloid", monospace; cursor: pointer; text-decoration: none; box-shadow: 0 3px 0 var(--brown); }
  .btn:hover { filter: brightness(1.05); }
  .btn:active { transform: translateY(3px); box-shadow: none; }
  .btn.alt { background: linear-gradient(180deg, #fff 0%, var(--cream) 55%, var(--lavender) 100%); }
  .btn:focus-visible, input:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
  .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

  /* hero */
  h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; margin: 4px 0 16px; font-weight: 700; letter-spacing: .01em; }
  h1 span { background: var(--brown); color: var(--lime); padding: 0 10px; box-shadow: 4px 4px 0 var(--lavender); }
  .lede { margin: 0 0 20px; font-size: 20px; line-height: 1.45; }
  .termbox { background: var(--charcoal); padding: 10px 12px; border: 3px solid var(--brown); border-radius: 3px; font-size: 14px; box-shadow: inset 0 0 0 2px #2c3b41; min-height: 5.8em; }

  /* the device: a pixel-art keychain shell (assets/pod-shell.png, drawn at 2x) holding the screen */
  .stage { padding: 30px 16px 22px; background: linear-gradient(180deg, var(--lav-light) 0%, var(--lavender) 100%); }
  .devbox { position: relative; width: min(100%, 316px); aspect-ratio: 316 / 414; margin: 0 auto; }
  .shellimg { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(8px 10px 0 rgba(27, 39, 43, .3)); }
  .pod { position: absolute; left: 12.03%; top: 9.66%; width: 75.95%; height: 67.63%; image-rendering: pixelated; border: 0; border-radius: 0; box-shadow: none; }
  .led { display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: var(--lime); border: 2px solid var(--brown); border-radius: 50%; box-shadow: 0 0 0 2px rgba(168, 240, 60, .35); animation: led 2.6s ease-in-out infinite; }
  @keyframes led { 50% { opacity: .45; } }
  .caption { width: fit-content; max-width: 100%; margin: 22px auto 0 !important; padding: 8px 12px; background: var(--brown); color: var(--cream); border: 3px solid var(--brown); box-shadow: inset 0 0 0 2px rgba(241, 239, 232, .22); font-size: 12px; line-height: 1.45; text-align: center; }

  /* form */
  label, legend { display: block; font-weight: 700; margin-bottom: 4px; }
  input[type=email], input[type=text] { width: 100%; font: 16px "Pixeloid", monospace; padding: 9px 11px; border: 3px solid var(--brown); border-radius: 3px; background: #fff; color: var(--brown); box-shadow: inset 2px 2px 0 rgba(43, 31, 27, .12); }
  input::placeholder { color: #9a8f93; }
  label .dim { font-weight: 400; font-size: 13px; }
  form label + input { margin-bottom: 14px; }
  .fine { font-size: 13px; color: var(--steel); margin-top: 14px; line-height: 1.5; }
  .hp { position: absolute; left: -9999px; }
  .err { background: var(--charcoal); color: var(--cream); border: 3px solid var(--lime); padding: 6px 10px; margin: 0 0 10px; font-size: 14px; }
  .pitch { margin: 0 0 14px; }

  /* taskbar */
  .taskbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 8px; background: var(--gloss); border-top: 3px solid var(--brown); padding: 5px 8px; font-size: 14px; color: var(--brown); }
  .taskbar button { all: unset; box-sizing: border-box; cursor: pointer; border: 3px solid var(--brown); border-radius: 4px; background: linear-gradient(180deg, #fff 0%, var(--cream) 60%, var(--lav-light) 100%); padding: 2px 10px; font: 700 13px "Pixeloid", monospace; color: var(--brown); white-space: nowrap; }
  .taskbar button:hover { background: var(--lav-light); }
  .taskbar button:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; }
  #start { background: linear-gradient(180deg, #CFF77F 0%, var(--lime) 55%, #8bd02f 100%); padding: 2px 16px; }
  .tasks { display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
  .tasks button.off { background: var(--lav-dark); color: var(--cream); }
  .tray { display: flex; align-items: center; gap: 10px; margin-left: auto; border: 3px solid var(--brown); border-radius: 4px; background: var(--cream); padding: 2px 10px; white-space: nowrap; box-shadow: inset 2px 2px 0 rgba(43, 31, 27, .14); }
  .batt { display: inline-block; width: 20px; height: 9px; border: 2px solid var(--brown); position: relative; }
  .batt i { position: absolute; inset: 1px; background: var(--lime-dark); }
  #startmenu { position: fixed; left: 8px; bottom: 54px; z-index: 60; width: 240px; background: var(--cream); color: var(--brown); border: 3px solid var(--brown); border-radius: 7px 7px 2px 2px; box-shadow: inset 0 0 0 2px var(--paper), var(--shadow); display: none; overflow: hidden; }
  #startmenu.open { display: block; }
  #startmenu a, #startmenu button { all: unset; display: flex; gap: 8px; align-items: center; box-sizing: border-box; width: 100%; padding: 8px 14px; cursor: pointer; font-size: 15px; }
  #startmenu a:hover, #startmenu button:hover, #startmenu a:focus-visible, #startmenu button:focus-visible { background: var(--lime); }
  #startmenu hr { border: 0; border-top: 3px solid var(--brown); margin: 0; }
  #startmenu canvas { width: 18px; height: 18px; image-rendering: pixelated; }
  #toast { position: fixed; left: 50%; bottom: 66px; transform: translateX(-50%); z-index: 70; background: var(--charcoal); color: var(--lime); border: 3px solid var(--lime); border-radius: 4px; padding: 6px 14px; display: none; font-size: 14px; max-width: 90vw; }
  .foot { width: fit-content; max-width: 100%; text-align: center; color: var(--cream); font-size: 13px; margin: 44px auto 0; padding: 10px 18px; background: rgba(43, 31, 27, .82); border: 3px solid var(--brown); border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(241, 239, 232, .14); }
  .foot a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

  /* text pages: privacy, thanks */
  .prose h2 { font-size: 15px; margin: 22px 0 4px; letter-spacing: .08em; }
  .prose p { margin: 0 0 8px; }
  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0 0 14px; }
  .facts div { border: 3px solid var(--brown); border-radius: 3px; background: var(--lav-light); padding: 6px 10px; }
  .facts dt { font-size: 12px; color: var(--steel); }
  .facts dd { margin: 0; font-weight: 700; }
  main:not(.desktop) > .win { max-width: 760px; margin: 0 auto; }

  /* layout of the windows on the desktop (wide screens); the DOM order is the phone order */
  #w-needs { grid-column: 1 / span 4; grid-row: 3; }
  #w-snacks { grid-column: 5 / span 3; grid-row: 3; }
  #w-cam { grid-column: 8 / span 5; grid-row: 3; }
  #w-dev { grid-column: 1 / span 7; grid-row: 4; }
  #w-release { grid-column: 8 / span 5; grid-row: 4; }
  #w-player { grid-column: 1 / span 4; grid-row: 5; }
  #w-lab { grid-column: 5 / span 3; grid-row: 5; }
  #w-alert { grid-column: 8 / span 5; grid-row: 5; margin-left: 24px; }
  #w-helper { grid-column: 3 / span 6; grid-row: 6; }

  /* needs.exe: a Sims-style motives panel */
  .track { height: 14px; border: 3px solid var(--cream); background: #3a2d29; position: relative; overflow: hidden; }
  .track i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); transform-origin: left; animation: pulse 4s ease-in-out infinite alternate; }
  @keyframes pulse { from { transform: scaleX(.7); } to { transform: scaleX(1); } }
  .need { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; margin: 10px 0; font-size: 13px; }
  .need b { grid-column: 2; font-size: 12px; color: var(--lavender); margin-top: -4px; }
  .n-hunger { --w: 12%; --c: #8bd02f; animation: none !important; }
  .n-satiety { --w: 0%; --c: #8bd02f; animation: none !important; }
  .n-curious { --w: 94%; --c: #A394B3; animation-delay: -1s; }
  .n-balance { --w: 28%; --c: #D6D1C6; animation: wobble 1.4s ease-in-out infinite alternate !important; }
  .n-tidy { --w: 18%; --c: #5fa8b8; animation: none !important; }
  @keyframes wobble { from { transform: scaleX(.18); } to { transform: scaleX(.46); } }

  /* snacks.exe: an inventory grid */
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tile { all: unset; box-sizing: border-box; cursor: pointer; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--brown); border-radius: 3px; background: var(--lav-light); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .8), inset -2px -2px 0 rgba(140, 124, 156, .4); font: 700 22px "Pixeloid", monospace; color: var(--steel); }
  .tile:hover, .tile:focus-visible { background: var(--lime); outline: 3px solid var(--charcoal); outline-offset: 2px; }
  .tile img { width: 42px; height: 42px; image-rendering: pixelated; }
  .tile.empty { background: var(--cream); box-shadow: none; }

  /* alert popup */
  .dlg .body { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
  .dlg canvas { width: 44px; height: 44px; image-rendering: pixelated; }
  .dlg .row { margin-top: 12px; }
  .dlg p { margin: 0; }

  /* readme and status */
  .note-title { font-weight: 700; letter-spacing: .06em; font-size: 14px; }
  .list { margin: 0; padding: 0; list-style: none; }
  .list li { padding-left: 18px; position: relative; margin: 0 0 8px; }
  .list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--lav-dark); border: 2px solid var(--brown); }

  /* player.exe */
  .track-title { font-size: 13px; margin: 0 0 10px; }
  .eq { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-bottom: 4px; }
  .eq i { flex: 1; background: var(--lav-dark); border: 2px solid var(--brown); animation: eq 1.1s ease-in-out infinite alternate; }
  .eq i:nth-child(2n) { animation-duration: 0.8s; background: var(--lavender); }
  .eq i:nth-child(3n) { animation-duration: 1.4s; }
  @keyframes eq { from { height: 12%; } to { height: 100%; } }

  /* made-by.exe */
  .lab { display: flex; align-items: center; gap: 12px; }
  .lab p { margin: 0 0 8px; font-size: 14px; }
  canvas.labico { width: 48px; height: 48px; image-rendering: pixelated; flex: none; }
  .win.small .body { padding: 14px; }

  /* sticky note */
  .sticky { position: absolute; right: -22px; top: -20px; z-index: 2; width: 150px; padding: 10px 12px; background: #F3EBC2; color: var(--brown); border: 3px solid var(--brown); transform: rotate(4deg); box-shadow: 5px 5px 0 rgba(27, 39, 43, .35); font-size: 13px; line-height: 1.5; }
  .sticky::before { content: ""; position: absolute; left: 50%; top: -9px; width: 34px; height: 12px; margin-left: -17px; background: rgba(201, 188, 209, .85); border: 2px solid var(--brown); }

  /* cam_01.exe */
  .camwrap { padding: 10px 10px 12px; }
  .cam { position: relative; overflow: hidden; border: 3px solid var(--lavender); background: #0d1017; line-height: 0; }
  .cam img { width: 100%; height: auto; image-rendering: pixelated; animation: camfloat 5.4s ease-in-out infinite; }
  @keyframes camfloat { 50% { transform: translateY(-1.5%); } }
  .cam::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .16) 2px 3px); box-shadow: inset 0 0 40px rgba(0, 0, 0, .45); }
  .hud { position: absolute; z-index: 2; font-size: 12px; line-height: 1; letter-spacing: .1em; color: var(--cream); background: rgba(27, 39, 43, .78); padding: 4px 6px; }
  .hud.tl { left: 8px; top: 8px; display: flex; align-items: center; } .hud.tr { right: 8px; top: 8px; }
  .hud.bl { left: 8px; bottom: 8px; } .hud.br { right: 8px; bottom: 8px; }
  .hud .led { margin-right: 6px; }
  .camnote { margin: 10px 2px 0 !important; font-size: 12px; color: var(--lavender); }

  /* devlog.exe */
  .devhead { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 700; margin-bottom: 14px !important; letter-spacing: .04em; }
  .devhead .dim { font-weight: 400; font-size: 13px; }
  .dev { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .dev li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; }
  .pill { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .08em; padding: 2px 6px; border: 3px solid var(--brown); border-radius: 3px; background: var(--lav-light); }
  .pill.now { background: var(--lime); }
  .pill.off { background: var(--cream); color: var(--steel); }
  .pill .led { width: 7px; height: 7px; margin-right: 5px; background: var(--brown); box-shadow: none; }

  /* release.exe */
  .prog { height: 26px; border: 3px solid var(--brown); background: #fff; padding: 2px; box-shadow: inset 2px 2px 0 rgba(43, 31, 27, .15); margin: 8px 0 6px; }
  .prog i { display: block; height: 100%; width: 3%; min-width: 14px; background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 12px); animation: progblink 1.6s steps(2) infinite; }
  @keyframes progblink { 50% { opacity: .55; } }
  .proginfo { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
  .proginfo span:first-child { font-weight: 700; }

  /* helper.exe */
  .dlg .face { width: 56px; height: 56px; image-rendering: pixelated; }

  @media (min-width: 900px) { .bar { cursor: grab; } .bar.dragging { cursor: grabbing; } }
  @media (max-width: 899px) {
    .desktop { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
    .win { transform: none !important; margin: 0 !important; }
    .menubar { gap: 14px; margin-bottom: 20px; }
    .brand { font-size: 30px; width: 100%; }
    .nav { width: 100%; }
    .nav a { min-width: 0; flex: 1; }
    .body { padding: 16px; }
    .stage { padding-top: 40px; }
    .sticky { display: none; }
    #w-hero { order: 1; } #w-pod { order: 9; } #w-join { order: 3; } #w-dev { order: 4; } #w-cam { order: 5; } #w-readme { order: 6; } #w-needs { order: 7; } #w-snacks { order: 8; }
    #w-release { order: 9; } #w-helper { order: 10; } #w-alert { order: 11; } #w-lab { order: 12; } #w-player { order: 13; }
    .dev li { grid-template-columns: 1fr; gap: 6px; } .pill { justify-self: start; padding: 2px 10px; }

  }
  @media (prefers-reduced-motion: reduce) { .ticker .run, .cur, .track i, .need .track i, .led, .cam img, .prog i { animation: none !important; } .eq i { animation: none !important; height: 60%; } html { scroll-behavior: auto; } }

  /* join.exe */
  .banner { display: flex; align-items: center; margin: 0 0 12px !important; padding: 7px 12px; background: var(--brown); color: var(--lime); border: 3px solid var(--brown); box-shadow: inset 0 0 0 2px #46342e; font-weight: 700; letter-spacing: .06em; }
  .pitch { font-size: 15px; line-height: 1.55; margin: 0 0 16px !important; }
  fieldset.ask { border: 0; margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  fieldset.ask legend { float: left; margin: 0 4px 0 0; padding: 0; }
  .opt { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 400; cursor: pointer; }
  .opt input { accent-color: var(--lime-dark); width: 18px; height: 18px; flex: none; }
  .agree { margin: 4px 0 0; font-size: 14px; align-items: flex-start; line-height: 1.4; }
  .agree input { margin-top: 2px; }
  /* release.exe */
  .nudge { margin: 4px 0 0 !important; font-weight: 700; letter-spacing: .08em; color: var(--brown); }
  .blink { animation: blink 1s steps(1) infinite; }
  @media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

  .cam img.switching { filter: brightness(1.6) contrast(.6) saturate(0); opacity: .75; }

  /* top block: two stacked columns so the heights balance */
  .top { grid-column: 1 / -1; display: grid; grid-template-columns: 8fr 4fr; gap: 26px 24px; align-items: start; }
  .col { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
  @media (max-width: 899px) { .top, .col { display: contents; } }

  /* smaller type for the form's questions */
  fieldset.ask legend, fieldset.ask .opt { font-size: 13px; }
  fieldset.ask { gap: 14px; }
  .opt input { width: 15px; height: 15px; }
  form label[for="price"] { font-size: 13px; }
  .agree { font-size: 12px; }

  /* softer "help it along" */
  .blink { animation: nudge 2.8s ease-in-out infinite; }
  @keyframes nudge { 50% { opacity: .45; } }

  /* chikūki.exe: a chat window */
  .chat { background: #fff; }
  .chat .who { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--lav-light); border-bottom: 3px solid var(--brown); font-size: 13px; line-height: 1.3; }
  .chat .who img { width: 40px; height: 40px; image-rendering: pixelated; border: 3px solid var(--brown); background: var(--lavender); }
  .chat .who b { font-size: 15px; }
  .msgs { height: 190px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; background: linear-gradient(180deg, #fff, #f6f2f8); }
  .msg { max-width: 82%; padding: 6px 10px; border: 3px solid var(--brown); border-radius: 4px; line-height: 1.4; }
  .msg.it { align-self: flex-start; background: var(--lav-light); }
  .msg.me { align-self: flex-end; background: var(--lime); }
  .msg.typing { color: var(--steel); background: var(--cream); }
  .replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-top: 3px solid var(--brown); background: var(--cream); }
  .replies .btn { padding: 3px 10px; font-size: 13px; }

  .n-full { --w: 100%; --c: #8bd02f; animation: none !important; }

  /* round 5 */
  .stage { padding: 24px 16px 18px; }
  .banner { font-size: 12px; padding: 4px 10px; letter-spacing: .05em; animation: nudge 3.2s ease-in-out infinite; }
  .pitch { font-size: 14px; }
  fieldset.ask legend, fieldset.ask .opt, form label[for="price"], form label[for="price"] .dim { font-size: 12px; }
  .agree { font-size: 11px; } .fine { font-size: 11px; }
  .btn.sm { font-size: 13px; padding: 5px 14px; }
  .btn.help { animation: nudge 2.8s ease-in-out infinite; font-size: 14px; }
  .devterm .body { font-size: 13px; line-height: 1.7; }
  .devterm p { margin: 0 0 4px; }
  .dl-cmd { color: var(--lavender); } .dl-cmd span { color: var(--lime); } .dl-cmd em { font-style: normal; color: #8aa0a8; margin-left: 10px; font-size: 12px; }
  .dl { color: var(--cream); padding-left: 4px; } .dl b { display: inline-block; min-width: 70px; color: var(--lavender); }
  .dl b.now { color: var(--lime); } .dl.off { color: #8aa0a8; }
  .dl-cmd .cur { font-style: normal; color: var(--lime); margin-left: 6px; }
  /* lower windows: balanced columns */
  .mid { grid-column: 1 / -1; columns: 3; column-gap: 24px; }
  .mid > .win { break-inside: avoid; margin: 0 0 24px; display: inline-block; width: 100%; }
  .mid > .win.hidden { display: none; }
  @media (max-width: 1099px) { .mid { columns: 2; } }
  @media (max-width: 899px) { .mid { display: contents; } .mid > .win { display: block; margin: 0; } }
  .mid > #w-alert { margin-left: 0; }
  .tiles { max-width: 250px; margin: 0 auto; }

  /* round 6 */
  .devbox { width: min(100%, 280px); aspect-ratio: 316 / 408; }
  .pod { top: 8.33%; height: 68.63%; }
  .top { grid-template-columns: 17fr 7fr; }
  .caption { font-size: 11px; padding: 6px 10px; }
  .stage { padding: 20px 14px 16px; }

  /* round 7: three equal columns of equal-width windows */
  .trio { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .trio > .col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .trio .win { margin: 0 !important; width: 100%; }
  .trio h1 { font-size: clamp(30px, 3.4vw, 42px); }
  .trio .lede { font-size: 17px; }
  .trio .body { padding: 16px; }
  .trio .devbox { width: min(100%, 250px); }
  .trio .stage { padding: 18px 12px 14px; }
  .trio .termbox { font-size: 12px; min-height: 5.4em; }
  .trio .row .btn { font-size: 13px; padding: 5px 12px; }
  @media (max-width: 899px) { .trio, .trio > .col { display: contents; } }
  .trio .sticky { top: auto; bottom: -18px; right: -14px; width: 130px; font-size: 11px; padding: 8px 10px; }
  /* round 8: full-width hero banner above the three columns */
  .herobanner { grid-column: 1 / -1; }
  .herobanner .body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 26px 30px; }
  .herobanner h1 { font-size: clamp(36px, 5vw, 64px); }
  .herobanner .lede { margin-bottom: 0; }
  .herobanner .termbox { margin-top: 0; }
  @media (max-width: 899px) { .herobanner .body { grid-template-columns: 1fr; gap: 16px; padding: 18px; } }
  #w-pod.small .devbox { width: min(100%, 190px); }
