/* The style page: a long sheet of notebook paper. */
html, body.stylepage { height: auto; overflow: auto; }
body.stylepage { background: #3b2f2a; color: #1b1b3a; font: 15px/1.45 ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif; padding: 18px 12px 90px; }
#top, #page { max-width: 1180px; margin: 0 auto; }
#top { background: #f7f3e8; border: 3px solid #1b1b3a; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: 6px 8px 0 rgba(0,0,0,.28); padding: 18px 22px 14px; }
.lede { margin: 6px 0 10px; max-width: 70ch; }
#engine { color: #55555f; font-size: 12px; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.sec { background: #f7f3e8; background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(169,196,222,.4) 31px 32.5px); border: 3px solid #1b1b3a; border-radius: 18px 225px 18px 255px / 255px 18px 225px 18px; box-shadow: 6px 8px 0 rgba(0,0,0,.28); margin: 22px 0; padding: 18px 22px 20px; scroll-margin-top: 12px; }
.sec h2, .sec h3, .sec h4 { margin: 0 0 4px; line-height: 0; }
.sec h4 { line-height: 1.3; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #55555f; margin: 14px 0 4px; }
.blurb { margin: 2px 0 12px; max-width: 80ch; }
.tag { margin: 0 0 6px; color: #55555f; }
.fine { font-size: 12px; color: #55555f; margin: 4px 0 0; max-width: 60ch; }
.pad { padding: 12px 16px; display: inline-grid; gap: 2px; }
.row { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.row.tight { gap: 8px; }
.col { display: grid; gap: 12px; justify-items: start; }
figure { margin: 0; } figcaption { font-size: 12px; color: #55555f; text-align: center; }

.swatches { margin-bottom: 10px; }
.swrow { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 104px; font-size: 12px; }
.swrow.small .swatch { width: 60px; }
.chip { height: 46px; border: 2.5px solid #1b1b3a; border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px; }
.swrow.small .chip { height: 24px; }
.swname { font-weight: 700; margin-top: 3px; } .swhex { color: #55555f; font-family: ui-monospace, Menlo, monospace; font-size: 11px; }

.joinnote { position: relative; width: 190px; padding: 22px 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.toast.static { position: static; transform: rotate(-1deg); display: inline-block; }
.menu-demo { min-width: 300px; }

.exhibit { margin: 6px 0 16px; }
.exhibit-canvas { width: 100%; height: min(52vh, 440px); display: block; border: 3px solid #1b1b3a; border-radius: 10px; background: #3b2f2a; }
.exhibit .row { margin-top: 8px; }
.herogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.hero { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 10px; cursor: pointer; background-image: none; transition: transform .08s; }
.hero:hover, .hero:focus-visible { transform: rotate(-.6deg) translateY(-2px); outline: none; }
.herocanvas { width: 150px; height: 150px; border: 2px solid #1b1b3a; border-radius: 8px; align-self: start; }
.heroinfo { min-width: 0; } .heroinfo canvas { margin: -6px 0 -6px -6px; }
.stats { display: grid; gap: 2px; margin: 4px 0; }
.stat { display: grid; grid-template-columns: 54px 1fr; align-items: center; font-size: 11px; }
.stat i { display: block; height: 8px; border: 1.5px solid #1b1b3a; border-radius: 6px; background: #fff; overflow: hidden; }
.stat b { display: block; height: 100%; }
.special { margin: 4px 0 0; font-size: 13px; }

.theme { margin: 16px 0 22px; }
.thumb { width: 450px; max-width: 100%; height: auto; border: 2.5px solid #1b1b3a; border-radius: 8px; display: block; }

.mixer { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.mixer label { display: grid; font-size: 12px; font-weight: 700; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 6px 16px; margin-bottom: 8px; }
.cue { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; font-size: 13px; }
.sound { min-width: 112px; justify-content: flex-start; }
#nowplaying { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) rotate(-.6deg); background: #faf0c8; border: 2.5px solid #1b1b3a; border-radius: 6px; padding: 8px 18px; font-weight: 700; box-shadow: 3px 4px 0 rgba(0,0,0,.3); opacity: 0; transition: opacity .2s; max-width: 92vw; pointer-events: none; }
#nowplaying.on { opacity: 1; }

.phone { width: 400px; max-width: 92vw; aspect-ratio: 800 / 380; background-color: #f7f3e8; background-image: repeating-linear-gradient(to bottom, transparent 0 21px, rgba(169,196,222,.6) 21px 22px); border: 6px solid #1b1b3a; border-radius: 24px; position: relative; overflow: hidden; }
.phonebar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 11px; font-weight: 800; }
.badge { background: #e5484d; color: #fff; border-radius: 999px; padding: 2px 8px; }
.pill { margin-left: auto; border: 2px solid #1b1b3a; border-radius: 999px; padding: 2px 10px; letter-spacing: .08em; }
.phonepad { position: absolute; inset: 30px 0 0 0; }
.pstick { position: absolute; left: 9%; top: 22%; width: 26%; aspect-ratio: 1; border: 3px dashed #1b1b3a; border-radius: 50%; }
.pknob { position: absolute; inset: 27%; border: 3px solid #1b1b3a; border-radius: 50%; background: #fff; }
.pbtns { position: absolute; right: 2%; top: 0; width: 46%; height: 100%; }
.pbtn { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #1b1b3a; border-radius: 50%; box-shadow: 3px 4px 0 #1b1b3a; display: grid; place-items: center; font-size: 10px; font-weight: 800; text-align: center; line-height: 1.05; padding: 2px; }
@media (max-width: 520px) { .hero { grid-template-columns: 1fr; } .herocanvas { width: 100%; height: auto; } }
