:root {
  --blush: #e2f3ee; --petal: #fbfaf3; --pink: #f05a28; --deep: #b33a0c; --plum: #12284a; --soft: #4a5d7a; --butter: #ffe36e; --hot: #e04e1f;
  --line: 2px solid var(--plum); --pop: 4px 4px 0 var(--plum); --hair: 1px solid #bcd9d2;
  --top: 108px; --sidew: 296px;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--petal); color: var(--plum); font: 1.0625rem/1.55 var(--body); }
a { color: var(--deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "SOFT" 100; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; left: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.dots { background-image: radial-gradient(circle at 12px 12px, var(--dot, #c9e6de) 1.6px, transparent 2.2px); background-size: 26px 26px; }
.hand { font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-weight: 700; font-style: italic; }

/* Top: sponsor strip, then the bar */
.topbar { position: sticky; top: 0; z-index: 30; }
.ticker { height: 44px; display: flex; align-items: center; gap: .6rem; background: #fff3c9; border-bottom: 1px solid #e6cf7a; padding-left: .8rem; overflow: hidden; }
.ticker > b { flex: none; background: var(--butter); border: 1.5px solid var(--plum); border-radius: 6px; padding: .05rem .5rem; font-size: .8rem; rotate: -2deg; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker ul { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; width: max-content; }
.ticker li a { display: flex; align-items: center; gap: .45rem; height: 32px; padding: 0 .75rem; border: 1.5px dashed #cbb15a; border-radius: 8px; font: 600 .82rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--plum); text-decoration: none; white-space: nowrap; background: #fffbea; }
.ticker li a.taken { border-style: solid; border-color: var(--plum); background: #fff; }
.ticker li a i { font-style: normal; font-size: .68rem; background: #f3dc8a; border-radius: 4px; padding: .1rem .25rem; }
.ticker li a:hover { background: var(--butter); }
@media (prefers-reduced-motion: no-preference) { .ticker ul { animation: slide 60s linear infinite; } .ticker:hover ul { animation-play-state: paused; } @keyframes slide { to { translate: -50% 0; } } }
.bar { height: 64px; display: flex; align-items: center; gap: .8rem; padding: 0 1.2rem; background: var(--hot); color: #fff; border-bottom: var(--line); }
.logo { font: 800 1.55rem/1 var(--display); font-variation-settings: "SOFT" 100; color: #fff; text-decoration: none; margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.logo span { background: var(--butter); border: 2px solid var(--plum); border-radius: 9px; width: 2rem; height: 2rem; display: grid; place-items: center; font-size: 1.1rem; rotate: -5deg; }
.bar .sp { flex: 1; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 1.25rem; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.iconbtn:hover { background: #ffffff26; }
.cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; background: var(--butter); color: var(--plum); font-weight: 800; text-decoration: none; border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--plum); white-space: nowrap; }
.cta:hover { translate: -1px -1px; box-shadow: 4px 4px 0 var(--plum); }
.cta.alt { background: var(--hot); color: #fff; border-color: #fff; box-shadow: 3px 3px 0 var(--plum); }
.online { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: 0 .9rem; background: var(--plum); color: #fff; border: 2px solid #fff; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.online:hover { background: #0b1c36; }
#menu { display: none; }

/* Frame: sidebar and main */
.frame { display: grid; grid-template-columns: var(--sidew) minmax(0, 1fr); align-items: start; }
.side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); overflow-y: auto; background: #f3faf7; border-right: var(--hair); --dot: #d3ece5; overscroll-behavior: contain; }
.sidesearch { position: sticky; top: 0; z-index: 2; padding: .9rem .75rem; background: #f3faf7; border-bottom: var(--hair); }
.sidesearch input { width: 100%; font: inherit; font-size: 1rem; min-height: 46px; padding: .5rem .9rem; border: 1.5px solid var(--plum); border-radius: 12px; background: #fff; color: var(--plum); box-shadow: 3px 3px 0 #aed0c8; }
.side { display: flex; flex-direction: column; }
.sidenav { padding: .8rem .75rem 1.5rem; flex: 1 0 auto; }
.sidecoffee { position: sticky; bottom: 0; background: #f3faf7; border-top: var(--hair); padding: .8rem .75rem 1rem; display: grid; gap: .5rem; }
.sidecoffee p { margin: 0; font-size: .86rem; color: var(--soft); text-align: center; }
.sidecoffee .cta { justify-content: center; }
.srow { display: flex; align-items: center; gap: .7rem; min-height: 42px; padding: .2rem .4rem; border-radius: 10px; color: var(--plum); text-decoration: none; font-weight: 600; font-size: 1rem; }
.srow:hover { background: #d9efe9; }
.srow .sico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid #9cc4bb; background: var(--tint, #fff); font-size: 1rem; }
.srow .nm { flex: 1; min-width: 0; }
.srow b { flex: none; font: 700 .78rem/1 ui-monospace, Menlo, monospace; background: #d9efe9; color: var(--soft); border-radius: 999px; padding: .28rem .5rem; }
.srow.open { background: #d9efe9; }
.scount { font-size: .86rem; color: var(--soft); margin: .5rem .4rem 1.1rem; } .scount b { color: var(--plum); }
.slabel { display: inline-block; margin: .2rem .4rem .5rem; background: var(--butter); padding: .1rem .5rem; border-radius: 4px; rotate: -1.5deg; font-size: .85rem; }
.subnav { margin: .1rem 0 .6rem 1.35rem; padding-left: .6rem; border-left: 2px solid #bcd9d2; display: grid; }
.subnav a { padding: .32rem .55rem; border-radius: 8px; color: var(--soft); text-decoration: none; font-size: .93rem; line-height: 1.3; }
.subnav a:hover { background: #d9efe9; color: var(--plum); }
.subnav a.on { background: var(--butter); color: var(--plum); font-weight: 800; border: 1.5px solid var(--plum); box-shadow: 2px 2px 0 var(--plum); }
#sres a { display: block; padding: .5rem .6rem; border-radius: 8px; color: var(--plum); text-decoration: none; font-weight: 600; font-size: .96rem; }
#sres a:hover { background: #d9efe9; } #sres a small { display: block; color: var(--soft); font-weight: 400; } #sres p { padding: .5rem .6rem; color: var(--soft); margin: 0; }
.main { min-width: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem, 3vw, 2.3rem); }

/* Hero */
.hero { background-color: var(--hot); --dot: #b33a0c; color: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center; padding-block: 2.4rem 2.8rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; font: 800 .78rem/1 var(--body); letter-spacing: .06em; padding: .55rem .9rem; border-radius: 999px; border: var(--line); box-shadow: 3px 3px 0 var(--plum); background: var(--butter); color: var(--plum); }
.badge.b2 { background: var(--plum); color: #fff; border-color: #fff; }
.badge.b3 { background: #fff; text-decoration: none; } .badge.b3:hover { background: var(--butter); }
#live { scroll-margin-top: calc(var(--top) + 2rem); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); font-weight: 800; color: var(--plum); display: grid; justify-items: start; gap: .28em; line-height: 1; }
.hero h1 span { background: var(--butter); padding: .1em .28em .16em; border-radius: 4px; clip-path: polygon(0 6%, 2% 0, 98% 3%, 100% 12%, 99% 90%, 97% 100%, 3% 97%, 0 88%); }
.hero h1 span:nth-child(1) { rotate: -1.6deg; } .hero h1 span:nth-child(2) { rotate: 1deg; margin-left: .35em; } .hero h1 span:nth-child(3) { rotate: -1deg; }
.hero .lede { font-size: 1.15rem; color: #e2f3ee; max-width: 34rem; margin: 1.4rem 0 0; }
.search { display: block; margin-top: 1.5rem; max-width: 33rem; }
.search input { width: 100%; font: inherit; font-size: 1.08rem; padding: .95rem 1.2rem; border: var(--line); border-radius: 14px; background: #fff; color: var(--plum); box-shadow: 5px 5px 0 var(--plum); }
.search input::placeholder, .sidesearch input::placeholder { color: #7f9c99; }
.tries { margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; color: var(--butter); }
.tries a { border: 1.5px solid #b9dfd5; border-radius: 999px; padding: .28rem .8rem; text-decoration: none; color: #fff; font-size: .93rem; background: #d9481a; min-height: 34px; display: inline-flex; align-items: center; }
.tries a:hover { background: var(--plum); }
.herocta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.pegs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; justify-items: center; }
.peg { display: grid; justify-items: center; gap: .1rem; text-decoration: none; }
.peg i { font-style: normal; font-size: clamp(2.6rem, 5vw, 4rem); width: 1.75em; height: 1.75em; display: grid; place-items: center; background: #fff; border: var(--line); border-radius: 26px; box-shadow: 6px 6px 0 var(--plum); position: relative; }
.peg i::before { content: ""; position: absolute; top: -13px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--plum); }
.peg b { background: var(--butter); color: var(--plum); padding: .08rem .6rem; font-size: 1rem; border: 1.5px solid var(--plum); margin-top: -.3rem; position: relative; }
.peg:nth-child(odd) i { rotate: -4deg; } .peg:nth-child(even) i { rotate: 5deg; } .peg:nth-child(odd) b { rotate: 3deg; } .peg:nth-child(even) b { rotate: -3deg; }
.peg:nth-child(2) i { background: #e6dbff; } .peg:nth-child(3) i { background: #d8f5c9; } .peg:nth-child(4) i { background: #ffe9b8; } .peg:nth-child(5) i { background: #cfe8ff; } .peg:nth-child(6) i { background: #ffd9d2; }
.peg:hover i { translate: -2px -2px; }
.pegnote { grid-column: 1 / -1; color: var(--butter); font-size: 1.1rem; rotate: -2deg; margin: .4rem 0 0; }
@media (prefers-reduced-motion: no-preference) { .peg i { animation: drop .5s cubic-bezier(.2, 1.4, .4, 1) backwards; } .peg:nth-child(2) i { animation-delay: .06s; } .peg:nth-child(3) i { animation-delay: .12s; } .peg:nth-child(4) i { animation-delay: .18s; } .peg:nth-child(5) i { animation-delay: .24s; } .peg:nth-child(6) i { animation-delay: .3s; } @keyframes drop { from { opacity: 0; translate: 0 -26px; scale: .7; } } }

.heroart { position: relative; display: grid; justify-items: center; }
.girl { width: min(100%, 25rem); height: auto; display: block; }
.tagnote { position: absolute; background: var(--butter); color: var(--plum); border: 1.5px solid var(--plum); padding: .05rem .6rem; font-size: 1.02rem; text-decoration: none; box-shadow: 2px 2px 0 var(--plum); }
.tagnote:hover { background: #fff; }
.t1 { left: 0; top: 30%; rotate: -8deg; } .t2 { right: 0; top: 18%; rotate: 6deg; } .t3 { left: 4%; top: 6%; rotate: 5deg; }
.t4 { right: 2%; top: 52%; rotate: -5deg; } .t5 { left: 2%; top: 66%; rotate: 7deg; } .t6 { right: 8%; top: 78%; rotate: 4deg; }
@media (prefers-reduced-motion: no-preference) { .girl { animation: drop .6s cubic-bezier(.2, 1.3, .4, 1) backwards; } }

/* Sponsors */
.sponsors { padding-block: 3rem 3.4rem; }
.sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .6rem 1.5rem; }
.sechead h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.sechead p { margin: 0; color: var(--soft); } .sechead p a { font-weight: 800; }
.cabinet { margin-top: 1.2rem; background: #bcd9d2; border: var(--line); border-radius: 18px; padding: .9rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; box-shadow: 0 8px 0 #9cc4bb; }
.slot { background: #fff; border-radius: 10px; padding: .6rem .6rem 1.3rem; position: relative; text-decoration: none; color: var(--plum); min-width: 0; border: 1px solid #9cc4bb; display: block; }
.slot::after { content: ""; position: absolute; left: 50%; bottom: .5rem; width: 34%; height: 6px; translate: -50% 0; border-radius: 9px; background: #84b3a9; }
.slot > div { border: 2px dashed #8aa9a6; border-radius: 6px; background: #fff7d6; min-height: 5.6rem; display: grid; place-content: center; text-align: center; padding: .5rem; gap: .15rem; }
.slot.taken > div { border-style: solid; border-color: var(--plum); background: #fff; }
.slot strong { font-size: 1.02rem; line-height: 1.15; overflow-wrap: anywhere; } .slot small { color: var(--soft); font-size: .84rem; line-height: 1.25; }
.slot:hover > div { background: var(--butter); }
.dm { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.3rem; background: var(--butter); border: var(--line); border-radius: 16px; padding: 1.4rem 1.6rem; box-shadow: 7px 7px 0 var(--plum); color: var(--plum); text-decoration: none; }
.dm:hover { translate: -2px -2px; box-shadow: 9px 9px 0 var(--plum); }
.dm .face { flex: none; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--hot); border: var(--line); display: grid; place-items: center; font: 800 2.2rem/1 var(--display); color: #fff; }
.dm small { display: block; font-size: 1.05rem; } .dm strong { display: block; font: 800 clamp(1.8rem, 4.4vw, 2.8rem)/1.05 var(--display); font-variation-settings: "SOFT" 100; }
.dm u { font-weight: 800; } .dm p { margin: .35rem 0 0; font-size: .97rem; }

/* Shelves: one board a category */
.shelves { background: #eef8f4; border-top: var(--hair); padding-block: 3.2rem 4rem; }
.shelves .sechead p { max-width: 26rem; }
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 2.2rem 1.5rem; margin-top: 2.4rem; align-items: start; }
.board { background: var(--tint); border: var(--line); border-radius: 14px; padding: 1.5rem 1rem 1.1rem; position: relative; box-shadow: 0 6px 0 var(--plum); scroll-margin-top: calc(var(--top) + 2rem); }
.board h3 { position: absolute; top: -1.05rem; left: .8rem; background: var(--butter); border: 1.5px solid var(--plum); padding: .22rem .7rem; font: 800 1.12rem/1.2 var(--body); font-style: italic; rotate: -2deg; max-width: calc(100% - 1.6rem); }
.board h3 a { color: inherit; text-decoration: none; }
.board .tally { text-align: right; font-size: .84rem; color: var(--soft); margin: 0 0 .3rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 52px; padding: .45rem .1rem; border-bottom: 1.5px dashed #5f848066; color: var(--plum); text-decoration: none; font-weight: 700; line-height: 1.25; }
a.row:hover .rn { text-decoration: underline wavy var(--pink); }
.row.soon { color: var(--soft); font-weight: 500; }
.pill { flex: none; font: 800 .74rem/1 var(--body); border-radius: 999px; padding: .55rem .55rem; }
.pill.ready { background: #1f8a4c; color: #fff; border: 1.5px solid var(--plum); box-shadow: 2px 2px 0 var(--plum); rotate: -5deg; }
.pill.later { color: var(--soft); font-style: italic; font-weight: 600; }
.row.extra { display: none; } .searching .row.extra { display: flex; }
.dig { display: inline-flex; align-items: center; min-height: 44px; margin-top: .9rem; padding: 0 1rem; background: var(--plum); color: #fff; font-weight: 800; text-decoration: none; border-radius: 8px; font-size: .95rem; }
.dig:hover { background: var(--deep); }
.searching .sponsors, .searching .rules, .searching .ask, .searching .dig, .searching .herocta { display: none; }
#none { margin-top: 2rem; font-size: 1.15rem; }

/* Rules, ask, foot */
.rules { padding-block: 3.5rem; }
.rules h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.4rem; margin-top: 1.6rem; counter-reset: r; }
.three div { counter-increment: r; background: #fff; border: var(--line); border-radius: 16px; padding: 1.2rem; box-shadow: var(--pop); }
.three div::before { content: counter(r); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--hot); color: #fff; font: 800 1.1rem/1 var(--display); border: var(--line); margin-bottom: .7rem; }
.three h3 { font-size: 1.3rem; } .three p { margin: .4rem 0 0; color: var(--soft); }
.ask { background-color: var(--hot); --dot: #b33a0c; color: #fff; }
.ask .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; padding-block: 3rem; }
.ask .hook { flex: none; width: 6.5rem; height: 6.5rem; border: 3px dashed #fff; border-radius: 22px; display: grid; place-items: center; font: 800 3rem/1 var(--display); rotate: -5deg; }
.ask h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; } .ask p { margin: .5rem 0 1.1rem; color: #e2f3ee; max-width: 32rem; }
.ask > .wrap > div:not(.hook) { flex: 1 1 18rem; }
.livesec { background: #eef8f4; border-top: var(--line); }
.livesec .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 20rem); gap: 2.5rem; align-items: center; padding-block: 3.5rem; }
.livelabel { color: var(--deep); margin: 0 0 .5rem; font-size: 1.05rem; }
.livesec h2.tape { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.livesec p { color: var(--soft); max-width: 30rem; margin: 1rem 0 1.2rem; }
.pulse { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: #2fd06f; box-shadow: 0 0 0 0 #2fd06f88; }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 1.8s infinite; } @keyframes pulse { to { box-shadow: 0 0 0 9px #2fd06f00; } } }
.livecard { background: #fff; border: var(--line); border-radius: 20px; padding: 1.5rem 1.4rem 1.2rem; box-shadow: 7px 7px 0 var(--plum); position: relative; min-width: 0; }
.livecard::before { content: ""; position: absolute; top: -.7rem; left: 50%; translate: -50% 0; width: 6.5rem; height: 1.3rem; background: var(--butter); rotate: -2deg; opacity: .95; }
.livecard .cap { font-size: .8rem; letter-spacing: .08em; color: var(--soft); margin: 0; max-width: none; }
.livenum { margin: .5rem 0 1rem !important; display: flex; align-items: center; gap: .6rem; } .livenum b { font: 800 2.3rem/1 var(--display); color: var(--plum); font-variant-numeric: tabular-nums; }
.livenum.tot b { font-size: 3rem; color: var(--deep); } .livenum.tot { margin-bottom: 1.2rem !important; }
.livenum .pulse { background: var(--pink); box-shadow: 0 0 0 0 #f05a2888; }
.bars { height: 5.4rem; display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; align-items: end; }
.bars i { background: var(--pink); border-radius: 2px 2px 0 0; min-height: 2px; } .bars i.z { background: #bcd9d2; }
.axis { display: flex; justify-content: space-between; font-size: .68rem; color: var(--soft); margin: .35rem 0 1.3rem; }
.lands { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .45rem; } .lands li { display: flex; justify-content: space-between; gap: 1rem; } .lands b { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .livesec .wrap { grid-template-columns: minmax(0, 1fr); } }
.foot { background: var(--plum); color: #bcd9d2; padding-block: 2.8rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot p { margin: .6rem 0 0; max-width: 24rem; } .foot nav { display: grid; gap: .2rem; align-content: start; } .foot nav b { color: #fff; margin-bottom: .3rem; }
.foot nav a { color: #bcd9d2; padding: .3rem 0; text-decoration: none; } .foot nav a:hover { color: #fff; text-decoration: underline; }

/* Category page */
.cathero, .toolhero { background-color: var(--hot); --dot: #b33a0c; color: #fff; }
.cathero .wrap, .toolhero .wrap { padding-block: 1.6rem 2.2rem; position: relative; }
.crumb { margin: 0 0 1.1rem; font-size: .95rem; color: #cbe8e0; } .crumb a { color: #fff; text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.tape { display: inline-block; background: var(--butter); color: var(--plum); padding: .12em .32em .18em; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; rotate: -1deg; clip-path: polygon(0 5%, 1.5% 0, 98.5% 3%, 100% 11%, 99.3% 91%, 98% 100%, 2% 97%, 0 89%); max-width: 100%; overflow-wrap: anywhere; text-wrap: balance; }
.toolhero .lede, .cathero .lede { color: #e2f3ee; font-size: 1.13rem; max-width: 38rem; margin: 1.1rem 0 0; }
.toolhero .wrap { padding-right: clamp(1rem, 12vw, 11rem); }
.stamp { position: absolute; right: clamp(1rem, 3vw, 2.3rem); bottom: -1.4rem; width: 7.4rem; height: 7.4rem; border-radius: 50%; background: var(--butter); color: var(--plum); border: 2px dashed var(--plum); outline: 5px solid var(--butter); display: grid; place-items: center; text-align: center; font-size: .82rem; line-height: 1.15; rotate: 9deg; padding: .7rem; box-shadow: 4px 5px 0 var(--plum); z-index: 2; }
.catbody { padding-block: 2.4rem 4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr)); gap: .9rem; }
.card { position: relative; display: flex; flex-direction: column; gap: .3rem; background: #fff; border: var(--line); border-radius: 16px; padding: 1rem 1rem 2.7rem; color: var(--plum); text-decoration: none; min-width: 0; box-shadow: 4px 4px 0 var(--tint), 4px 4px 0 2px var(--plum); transition: translate .12s, box-shadow .12s; }
a.card:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--tint), 6px 6px 0 2px var(--plum); }
.card .ico { font-size: 1.4rem; line-height: 1; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--tint); border-radius: 10px; border: 1.5px solid var(--plum); }
.card .nm { font: 700 1.12rem/1.2 var(--display); font-variation-settings: "SOFT" 100; margin-top: .35rem; overflow-wrap: anywhere; }
.card .bl { font-size: .92rem; color: var(--soft); line-height: 1.35; }
.tag { position: absolute; left: 1rem; bottom: .8rem; font-size: .78rem; font-weight: 800; border-radius: 999px; padding: .12rem .6rem; border: 1.5px solid var(--plum); }
.tag.ready { background: #1f8a4c; color: #fff; } .tag.later { background: transparent; border-style: dashed; color: var(--soft); border-color: #8aa9a6; }
.card.soon { background: transparent; border-style: dashed; border-color: #8aa9a6; box-shadow: none; }
.card.soon .ico { filter: grayscale(.6); opacity: .7; border-color: #8aa9a6; background: transparent; } .card.soon .nm { color: var(--soft); }

/* Tool page: body and the sponsor rail */
.toolgrid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; align-items: start; }
.toolmain { min-width: 0; padding-block: 2.4rem 3.5rem; }
.rail { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 1.1rem .9rem 2rem; border-left: var(--hair); background: #f3faf7; }
.rail .railhead { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.rail .railhead b { background: var(--butter); padding: .1rem .5rem; rotate: -2deg; font-size: .85rem; } .rail .railhead small { color: var(--soft); font-size: .8rem; }
.rail .cabinet { grid-template-columns: 1fr; margin: 0; padding: .6rem; gap: .6rem; box-shadow: 0 6px 0 #9cc4bb; }
.rail .slot > div { min-height: 4.6rem; }
.morehead { font-size: 1.6rem; font-weight: 800; margin: 3rem 0 1rem; }
.prose { max-width: 42rem; padding-block: 2.5rem 4rem; } .prose h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }

@media (max-width: 1279px) { .toolgrid { grid-template-columns: minmax(0, 1fr); } .rail { display: none; } }
@media (max-width: 1023px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  #menu { display: grid; }
  .side { position: fixed; left: 0; top: var(--top); z-index: 25; width: min(var(--sidew), 88vw); translate: -105% 0; transition: translate .2s; box-shadow: 8px 0 0 #12284a22; border-right: var(--line); }
  .navopen .side { translate: 0 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .girl { width: min(72%, 19rem); }
  .cabinet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bar .lbl { display: none; } .cta.coffee { padding: 0 .75rem; } .bar .cta { min-width: 0; }
  .bar { padding: 0 .6rem; gap: .3rem; } .logo { font-size: 1.25rem; } .cta.top { padding: 0 .7rem; font-size: .9rem; }
  .dm { flex-direction: column; align-items: flex-start; }
  .stamp { position: static; rotate: 4deg; margin-top: 1.2rem; width: 6.6rem; height: 6.6rem; } .toolhero .wrap { padding-right: clamp(1rem, 3vw, 2.3rem); }
}
@media (max-width: 430px) { .bar .coffee { display: none; } .online { padding: 0 .7rem; } }
@media print { .topbar, .side, .rail, .foot, .ask, .livesec, .morehead, .grid, .stamp { display: none !important; } .frame, .toolgrid { display: block; } .toolhero, .cathero { background: none; color: #000; } .crumb { display: none; } }

/* Tool pages */
.toolbody { margin-top: 1.6rem; background: var(--petal); border: var(--line); border-radius: 24px; padding: clamp(1rem, 3.5vw, 2rem); box-shadow: 6px 6px 0 var(--tint), 6px 6px 0 2px var(--plum); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.5rem; align-items: start; }
.fields { display: grid; gap: 1rem; min-width: 0; }
.field { display: grid; gap: .3rem; min-width: 0; }
.lab { font-weight: 700; } .lab em { font-style: normal; font-weight: 500; color: var(--soft); }
.field small, .hint { color: var(--soft); font-size: .92rem; }
input[type=text], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  font: inherit; color: var(--plum); background: #fff; border: 1.5px solid var(--plum); border-radius: 12px; padding: .65rem .8rem; width: 100%; min-height: 46px; min-width: 0; }
textarea { resize: vertical; }
.seg { display: flex; border: 1.5px solid var(--plum); border-radius: 12px; overflow: hidden; background: #fff; }
.seg.wrap { flex-wrap: wrap; border: 0; background: none; gap: .4rem; margin-bottom: 1rem; overflow: visible; }
.seg button { flex: 1; font: inherit; font-weight: 700; color: var(--plum); background: none; border: 0; border-right: 1.5px solid var(--plum); padding: .55rem .5rem; min-height: 46px; cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg.wrap button { flex: none; border: 1.5px solid var(--plum); border-radius: 999px; padding: .4rem .9rem; background: #fff; }
.seg button[aria-checked=true] { background: var(--pink); color: #fff; }
.checks, .group { display: grid; gap: .1rem; }
.tick { display: flex; gap: .65rem; align-items: flex-start; padding: .5rem .3rem; min-height: 44px; border-radius: 10px; cursor: pointer; }
.tick:hover { background: #e2f3ee; }
.tick input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--pink); flex: none; }
.tick:has(input[type=checkbox]:checked) span { text-decoration: line-through; color: var(--soft); }
.checks .tick:has(input:checked) span, .plain .tick:has(input:checked) span { text-decoration: none; color: inherit; font-weight: 700; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.5rem; }
.group h3, .quiz legend { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; font-family: var(--display); }
.count { margin: 0 0 1rem; font-weight: 800; color: var(--deep); }
.btn { font: inherit; font-weight: 800; color: #fff; background: var(--pink); border: var(--line); border-radius: 999px; padding: .6rem 1.3rem; min-height: 46px; cursor: pointer; box-shadow: 3px 3px 0 var(--plum); }
.btn:hover { translate: -1px -1px; box-shadow: 4px 4px 0 var(--plum); } .btn:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--plum); }
.btn.ghost { background: #fff; color: var(--plum); }
.acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; align-items: center; }
.acts input { flex: 1 1 12rem; width: auto; }
.out { background: var(--tint); border: 1.5px solid var(--plum); border-radius: 18px; padding: 1.2rem; min-width: 0; }
.big { font: 800 clamp(1.7rem, 4.5vw, 2.5rem)/1.1 var(--display); font-variation-settings: "SOFT" 100; margin: 0; overflow-wrap: anywhere; }
.sub { margin: .4rem 0 0; }
.rows { margin: 1rem 0 0; display: grid; gap: .1rem; }
.rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px dashed #5f8480; }
.rows dt { color: var(--soft); } .rows dd { margin: 0; font-weight: 800; text-align: right; }
.list { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.said { background: #fff; border: 1.5px solid var(--plum); border-radius: 14px; padding: 1rem; margin-top: .8rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.out > :first-child { margin-top: 0; }
.pickcard { font: 600 1.4rem/1.3 var(--display); min-height: 6rem; display: grid; align-items: center; background: var(--tint); }
.note { font-size: .92rem; color: var(--soft); margin: .9rem 0 0; }
.clock { text-align: center; } .clock .acts { justify-content: center; }
.face { font: 800 clamp(3.5rem, 14vw, 6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.phase { font-weight: 800; font-size: 1.2rem; margin: 0 0 .3rem; }
.quiz { display: grid; gap: 1.2rem; margin-bottom: 1.5rem; } .quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.logwrap { overflow-x: auto; margin-top: 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px dashed #5f8480; vertical-align: top; }
th { font-size: .85rem; color: var(--soft); white-space: nowrap; }
.x { font: inherit; font-size: 1.3rem; line-height: 1; background: none; border: 0; color: var(--deep); cursor: pointer; min-width: 44px; min-height: 44px; }
.fine { color: var(--soft); font-size: .95rem; max-width: 46rem; margin: 1rem 0 0; }
.how { margin-top: 2rem; max-width: 46rem; } .how h2 { font-size: 1.5rem; } .how p { margin: .6rem 0 0; }

/* Period calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: .6rem; }
.cal b { text-align: center; font-size: .8rem; color: var(--soft); }
.cal button { aspect-ratio: 1; min-height: 40px; font: inherit; font-weight: 700; border: 1.5px solid transparent; border-radius: 50%; background: #fff; color: var(--plum); cursor: pointer; padding: 0; }
.cal button.p { background: var(--pink); color: #fff; border-color: var(--plum); }
.cal button.pp { background: #b9dfd5; border: 1.5px dashed var(--deep); }
.cal button.f { background: #e6dbff; } .cal button.o { background: #b79bff; }
.cal button.t { outline: 2.5px solid var(--plum); outline-offset: 1px; }
.calhead { display: flex; justify-content: space-between; align-items: center; gap: .5rem; } .calhead h3 { font-size: 1.3rem; }
.key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; margin-top: .8rem; color: var(--soft); }
.key i { display: inline-block; width: .9rem; height: .9rem; border-radius: 50%; vertical-align: -2px; margin-right: .3rem; border: 1px solid var(--plum); }

/* Fake call */
.call { position: fixed; inset: 0; z-index: 50; background: #101014; color: #fff; display: grid; grid-template-rows: 1fr auto; text-align: center; padding: 12vh 2rem 10vh; font-family: system-ui, sans-serif; }
.call h2 { font: 400 2.4rem/1.2 system-ui, sans-serif; letter-spacing: 0; } .call p { color: #a8a8b3; margin: .4rem 0 0; }
.call .acts { justify-content: space-around; }
.call button { width: 76px; height: 76px; border-radius: 50%; border: 0; font-size: 1.9rem; cursor: pointer; color: #fff; }
.burning { animation: burn 2.4s ease-in forwards; }
@keyframes burn { 30% { filter: sepia(1) saturate(4) hue-rotate(-20deg); } 100% { filter: brightness(0) blur(6px); opacity: 0; scale: .9; translate: 0 -30px; } }

@media print {
  body { background: #fff; } .top, .foot, .shelf.more, .acts, .crumb, .fine, .x, .fields, .btn { display: none !important; }
  .toolbody, .out, .card { box-shadow: none; border-color: #999; }
}
.fine.safe { background: #fff; border: 1.5px dashed var(--plum); border-radius: 14px; padding: .8rem 1rem; }

/* RoamKit */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap; src: url(/fonts/bricolage.woff2) format("woff2"); }
.offchip { display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: 0 .9rem; border: 2px dashed var(--plum); border-radius: 999px; background: #fff; color: var(--plum); font-weight: 800; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.offchip.ok { border-style: solid; background: #d9f2e4; }
.offstate { background: #fff; border: 2px dashed var(--plum); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 700; }
.offstate.ok { border-style: solid; background: #d9f2e4; }
@media (max-width: 760px) { .offchip .lbl { display: none; } .offchip { padding: 0 .75rem; } }
.genfields { margin-bottom: 1.4rem; }
.clocks, .notes, .phrases { display: grid; gap: .7rem; }
.clockrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; background: var(--tint); border: 1.5px solid var(--plum); border-radius: 16px; padding: .7rem .6rem .7rem 1rem; }
.clockrow b { display: block; font: 800 1.15rem/1.2 var(--display); overflow-wrap: anywhere; } .clockrow small { color: var(--soft); }
.clocktime { text-align: right; } .clocktime b { font-size: 1.5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.notecard { display: grid; gap: .5rem; background: var(--tint); border: 1.5px solid var(--plum); border-radius: 16px; padding: .9rem; }
.notecard .acts { margin-top: 0; }
.notes { margin-top: 1.2rem; }
.phrases { grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); margin-top: 1rem; }
.phrase { font: inherit; color: var(--plum); text-align: left; display: grid; gap: .15rem; background: #fff; border: 1.5px solid var(--plum); border-radius: 14px; padding: .7rem .9rem; cursor: pointer; min-height: 44px; }
.phrase:hover { background: var(--tint); }
.phrase small { color: var(--soft); } .phrase b { font-size: 1.25rem; line-height: 1.25; overflow-wrap: anywhere; } .phrase i { color: var(--deep); }
.bigshow { position: fixed; inset: 0; z-index: 60; background: #fff; color: #000; display: grid; align-content: center; justify-items: center; gap: 1.2rem; padding: 6vh 6vw; text-align: center; cursor: pointer; overflow: auto; }
.bigshow p { margin: 0; font: 800 clamp(2rem, 9vw, 5.5rem)/1.15 system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.bigshow small { font-size: clamp(1.1rem, 3.5vw, 1.8rem); white-space: pre-wrap; overflow-wrap: anywhere; } .bigshow em { color: #666; font-size: .95rem; }
.dial { width: min(13rem, 60vw); aspect-ratio: 1; margin: 0 auto 1rem; border: 4px solid var(--plum); border-radius: 50%; background: #fff; position: relative; transition: rotate .15s linear; }
.dial span { position: absolute; top: .3rem; left: 50%; translate: -50% 0; font: 800 1.2rem/1 var(--display); color: var(--deep); }
.dial i { position: absolute; left: 50%; top: 16%; width: 0; height: 0; translate: -50% 0; border: .9rem solid transparent; border-bottom: 4.6rem solid var(--pink); border-top: 0; }
.dial.arrow i { top: 14%; }
select { max-width: 100%; }
@media (max-width: 480px) { .bar .online { display: none; } .bar { gap: .4rem; } }
@media (max-width: 350px) { .bar { gap: .25rem; padding-left: .5rem; padding-right: .5rem; } .bar .logo { font-size: 1.2rem; } .offchip { padding: 0 .5rem; border-width: 1.5px; } }
