@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --blush: #e9ecfe; --petal: #f9faff; --pink: #335cfa; --deep: #173ac0; --plum: #0b183c; --soft: #465279; --butter: #ffe36e; --hot: #2851eb;
  --line: 2px solid var(--plum); --pop: 4px 4px 0 var(--plum); --hair: 1px solid #c5cdf1;
  --top: 108px; --sidew: 296px;
  --display: "Fraunces", "Iowan Old Style", Georgia, 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: #ffffff; padding: 8px 12px; z-index: 99; }
.dots { background-image: radial-gradient(circle at 12px 12px, var(--dot, #d1d9fe) 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: #ffffff; }
.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: #ffffff; border-bottom: var(--line); }
.logo { font: 800 1.55rem/1 var(--display); font-variation-settings: "SOFT" 100; color: #ffffff; 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: #ffffff; 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: #ffffff; border-color: #ffffff; 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: #ffffff; border: 2px solid #ffffff; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.online:hover { background: #122458; }
#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: #f4f6ff; border-right: var(--hair); --dot: #dce2fe; overscroll-behavior: contain; }
.sidesearch { position: sticky; top: 0; z-index: 2; padding: .9rem .75rem; background: #f4f6ff; 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: #ffffff; color: var(--plum); box-shadow: 3px 3px 0 #bdc8f5; }
.side { display: flex; flex-direction: column; }
.sidenav { padding: .8rem .75rem 1.5rem; flex: 1 0 auto; }
.sidecoffee { position: sticky; bottom: 0; background: #f4f6ff; 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: #e2e7fe; }
.srow .sico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid #aab5e2; background: var(--tint, #ffffff); font-size: 1rem; }
.srow .nm { flex: 1; min-width: 0; }
.srow b { flex: none; font: 700 .78rem/1 ui-monospace, Menlo, monospace; background: #e0e5fe; color: var(--soft); border-radius: 999px; padding: .28rem .5rem; }
.srow.open { background: #e2e7fe; }
.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 #c5cdf1; 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: #e2e7fe; 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: #e2e7fe; } #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: #1439bf; color: #ffffff; }
.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: #ffffff; border-color: #ffffff; }
.badge.b3 { background: #ffffff; 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: #e9ecfe; 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: #ffffff; color: var(--plum); box-shadow: 5px 5px 0 var(--plum); }
.search input::placeholder, .sidesearch input::placeholder { color: #8b95b8; }
.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 #c2cdfd; border-radius: 999px; padding: .28rem .8rem; text-decoration: none; color: #ffffff; font-size: .93rem; background: #1f44d3; 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: #ffffff; 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: #ffffff; 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; }
.family { 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: #ffffff; }
.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) { .family { 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: #c8d0f6; 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 #a1ade1; }
.slot { background: #ffffff; border-radius: 10px; padding: .6rem .6rem 1.3rem; position: relative; text-decoration: none; color: var(--plum); min-width: 0; border: 1px solid #aab5e2; display: block; }
.slot::after { content: ""; position: absolute; left: 50%; bottom: .5rem; width: 34%; height: 6px; translate: -50% 0; border-radius: 9px; background: #8c9ad7; }
.slot > div { border: 2px dashed #9ba5c6; 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: #ffffff; }
.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: #ffffff; }
.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: #f0f3ff; 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 #727eae66; 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: #ffffff; 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: #ffffff; 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: #ffffff; 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: #ffffff; 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: #1439bf; color: #ffffff; }
.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 #ffffff; 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: #e9ecfe; max-width: 32rem; }
.ask > .wrap > div:not(.hook) { flex: 1 1 18rem; }
.livesec { background: #f0f3ff; 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: #ffffff; 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 #335cfa88; }
.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: #cbd3f5; }
.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: #cad2f5; 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: #ffffff; margin-bottom: .3rem; }
.foot nav a { color: #cad2f5; padding: .3rem 0; text-decoration: none; } .foot nav a:hover { color: #ffffff; text-decoration: underline; }

/* Category page */
.cathero, .toolhero { background-color: var(--hot); --dot: #1439bf; color: #ffffff; }
.cathero .wrap, .toolhero .wrap { padding-block: 1.6rem 2.2rem; position: relative; }
.crumb { margin: 0 0 1.1rem; font-size: .95rem; color: #d4dcfe; } .crumb a { color: #ffffff; 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: #e9ecfe; 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: #ffffff; 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: #ffffff; } .tag.later { background: transparent; border-style: dashed; color: var(--soft); border-color: #9ba5c6; }
.card.soon { background: transparent; border-style: dashed; border-color: #9ba5c6; box-shadow: none; }
.card.soon .ico { filter: grayscale(.6); opacity: .7; border-color: #9ba5c6; 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: #f4f6ff; }
.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 #a1ade1; }
.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 #0b183c22; border-right: var(--line); }
  .navopen .side { translate: 0 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .family { 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: #000000; } .crumb { display: none; } }

/* "parentkit" is a longer word than "girlkit": the header needs a tighter fit on the smallest phones */
@media (max-width: 400px) { .logo span { display: none; } .logo { font-size: 1.12rem; } .bar { padding: 0 .4rem; gap: .2rem; } .iconbtn { width: 40px; } .online { padding: 0 .55rem; gap: .3rem; } .cta.top { padding: 0 .55rem; font-size: .85rem; gap: .3rem; } .cta.top > span[aria-hidden] { display: none; } }

/* ---------- Tool pages (ParentKit's own tool kit, in the same look) ---------- */
.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); }
.toolbody > * + * { margin-top: 1.25rem; }
.toolbody p { margin: 0; }
.toolbody h2, .toolbody h3, .toolbody h4, .toolbody legend { font-family: var(--display); font-variation-settings: "SOFT" 100; line-height: 1.15; margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
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; line-height: 1.4; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: inherit; font-weight: 800; color: var(--plum); background: #fff; border: var(--line); border-radius: 999px; padding: .55rem 1.2rem; min-height: 46px; cursor: pointer; box-shadow: 3px 3px 0 var(--plum); text-decoration: none; }
.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.primary { background: var(--pink); color: #fff; }
.btn.quiet { border-color: transparent; background: none; box-shadow: none; text-decoration: underline; font-weight: 500; color: var(--soft); } .btn.quiet:hover { translate: none; color: var(--plum); }
.btn.big { min-height: 4rem; font-size: 1.15rem; flex: 1 1 9rem; border-radius: 16px; background: var(--butter); }
.btn.big.primary { background: var(--pink); }
.btn.tap { width: 100%; min-height: 6rem; font-size: 1.4rem; border-radius: 20px; background: var(--pink); color: #fff; box-shadow: 5px 5px 0 var(--plum); }
.btn.tap.on { background: var(--butter); color: var(--plum); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field > span { font-weight: 700; }
.field small, .tip, .example-note, .progress, .sec-note, .cut-note { font-size: .92rem; color: var(--soft); }
.progress { font-weight: 800; color: var(--deep); }
.field-inline { grid-template-columns: auto 8rem; align-items: center; justify-content: start; gap: .75rem; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; padding: .3rem; border-radius: 10px; cursor: pointer; } .field-check:hover { background: var(--blush); }
.field-check input, .radios input, .checklist input[type=checkbox], .boxcell input { width: 1.35rem; height: 1.35rem; accent-color: var(--pink); margin: .12rem 0 0; flex: none; }
.field-check span { font-weight: 500; }
.with-unit { display: flex; align-items: center; gap: .5rem; } .with-unit i { font-style: normal; color: var(--soft); min-width: 1.2rem; font-weight: 700; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .9rem; min-width: 0; }
legend { font-weight: 700; font-size: 1.2rem; padding: 0; margin-bottom: .7rem; }
.inputs { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: 1rem; align-items: start; }
.radios { display: flex; flex-direction: column; gap: .45rem; } .radios.inline { flex-direction: row; flex-wrap: wrap; gap: .4rem 1rem; }
.radios label { display: flex; gap: .5rem; align-items: flex-start; min-height: 2rem; cursor: pointer; }
.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; border-radius: 50%; } .x:hover { background: var(--blush); } .x:disabled { opacity: .3; cursor: default; }
.add { display: flex; gap: .5rem; margin-top: .5rem; } .add input { flex: 1; min-width: 0; }
.result { background: var(--tint); border: 1.5px solid var(--plum); border-radius: 18px; padding: clamp(1rem, 3vw, 1.4rem); position: sticky; top: calc(var(--top) + 1rem); display: grid; gap: .8rem; min-width: 0; }
.result-label { color: var(--soft); font-weight: 700; }
.result-big { font: 800 clamp(1.7rem, 4.2vw, 2.5rem)/1.1 var(--display); font-variation-settings: "SOFT" 100; overflow-wrap: anywhere; }
.result-big.small { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; }
.result-note, .result-empty { color: var(--soft); font-size: .95rem; }
.stats { display: grid; gap: 0; margin: 0; }
.stats > div { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: .5rem 0; border-top: 1px dashed var(--soft); align-items: baseline; }
.stats dt { color: var(--soft); } .stats dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; } .stats small { grid-column: 1 / -1; color: var(--soft); font-size: .85rem; text-align: right; }
.scroll { overflow-x: auto; scrollbar-width: thin; }
.table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px dashed var(--soft); vertical-align: top; }
.table th { font-size: .85rem; color: var(--soft); }
.table.edit td { padding: .25rem .4rem .25rem 0; border: 0; } .table.edit td:first-child { min-width: 11rem; } .table.edit td:nth-child(2) { width: 6.5rem; } .table.edit td:nth-child(3) { min-width: 7.5rem; }
.splitbar { height: 1.1rem; background: var(--butter); border: 1.5px solid var(--plum); border-radius: 999px; overflow: hidden; } .splitbar i { display: block; height: 100%; background: var(--pink); border-right: 1.5px solid var(--plum); }
.toolbody .sub { font-size: 1.3rem; margin-top: 1.5rem; }
.timer { display: grid; gap: .9rem; justify-items: center; text-align: center; }
.log, .vote { display: grid; gap: 1.1rem; }
.log-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.log-list ul { list-style: none; margin: .3rem 0 1rem; padding: 0; background: #fff; border: 1.5px solid var(--plum); border-radius: 14px; overflow: hidden; }
.log-list li { display: flex; align-items: center; gap: 1rem; padding: .1rem .2rem .1rem 1rem; border-bottom: 1px dashed var(--soft); } .log-list li:last-child { border: 0; }
.log-list time { font-weight: 800; min-width: 5.2rem; } .log-list li span { flex: 1; }
.name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)); gap: .8rem; }
.name-card { position: relative; text-align: left; background: #fff; border: var(--line); border-radius: 14px; padding: .8rem 2.2rem .8rem 1rem; cursor: pointer; box-shadow: 3px 3px 0 var(--tint), 3px 3px 0 2px var(--plum); min-height: 4.2rem; }
.name-card b { display: block; font: 700 1.3rem/1.2 var(--display); } .name-card small { color: var(--soft); font-size: .88rem; }
.name-card .heart { position: absolute; right: .8rem; top: .7rem; color: #c9cfe6; font-size: 1.2rem; }
.name-card.on { background: var(--butter); } .name-card.on .heart { color: #e0245e; }
.name-big { font-size: clamp(2.5rem, 9vw, 4.5rem); text-align: center; padding: 1.5rem 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1.5px solid var(--plum); border-radius: 999px; padding: 0 .2rem 0 1rem; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.chips li:not(:has(button)) { padding-right: 1rem; } .chips.big li { font: 800 1.4rem var(--display); padding: .4rem 1.2rem; background: var(--butter); box-shadow: 3px 3px 0 var(--plum); }
.prompts { display: grid; gap: 1.25rem; }
/* printable sheets */
.sheet { background: #fff; border: 1.5px solid var(--plum); border-radius: 14px; padding: clamp(1rem, 3vw, 1.8rem); min-width: 0; }
.sheet + .sheet { margin-top: 1.5rem; }
.sheet-title { font: 800 1.7rem/1.15 var(--display) !important; font-variation-settings: "SOFT" 100; margin-bottom: .4rem !important; }
.sheet-who { color: var(--soft); margin-bottom: 1rem !important; }
.bare { border: 0 !important; background: transparent !important; padding: .15rem .25rem !important; min-height: 2.75rem !important; width: 100%; border-radius: 6px !important; }
.bare:hover { background: var(--blush) !important; }
.gtable { border-collapse: collapse; width: 100%; min-width: 34rem; table-layout: fixed; }
.gtable th, .gtable td { border: 1.5px solid var(--plum); padding: .15rem; vertical-align: middle; font-size: .95rem; }
.gtable thead th { background: var(--butter); } .gtable thead th input { text-align: center; font-weight: 800; }
.gtable .corner { width: 30%; font-weight: 700; font-size: .9rem; } .grid-sheet.wide .corner { width: 42%; }
.rowhead { text-align: left; } .rowwrap { display: flex; align-items: center; }
.rowlabel { flex: 1; min-width: 0; font-weight: 700; resize: none; field-sizing: content; }
.boxcell { text-align: center; height: 3.1rem; }
.box { display: inline-block; width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--plum); border-radius: 5px; }
.sheet-footer { margin-top: .75rem !important; font-size: .95rem; color: var(--soft); }
.sheet-note { margin-top: .75rem; border-bottom: 1.5px dashed var(--soft) !important; }
.checklist .cols { columns: 2 17rem; column-gap: 2.5rem; margin-top: 1rem; }
.checklist section { break-inside: avoid; margin-bottom: 1.5rem; } .checklist h3 { margin-bottom: .4rem; font-size: 1.2rem; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; border-bottom: 1px dashed var(--soft); }
.checklist li label { display: flex; gap: .7rem; flex: 1; padding: .6rem 0; cursor: pointer; }
.checklist input:checked + span { text-decoration: line-through; color: var(--soft); }
.kvs { display: grid; gap: .6rem; }
.kv { display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: 1rem; border-bottom: 1px dashed var(--soft); padding-bottom: .5rem; } .kv b { font-weight: 800; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.card-cut { border: 1.5px dashed var(--plum); padding: 1rem; border-radius: 8px; }
.card-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card-cut.small { font-size: .72rem; padding: .6rem; } .card-cut.small .sheet-title { font-size: .95rem !important; } .card-cut.small .kvs { gap: .2rem; } .card-cut.small .kv { padding-bottom: .15rem; gap: .4rem; }
.cut-note { margin: 1rem 0 .5rem !important; }
ol.agree { padding: 0 0 0 1.4rem; margin: 1rem 0; } ol.agree li + li { margin-top: .5rem; }
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; } .signs i { display: block; border-bottom: 1.5px solid var(--plum); height: 2rem; } .signs span { font-size: .9rem; color: var(--soft); }
.steps { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.steps li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; border: 1.5px solid var(--plum); border-radius: 14px; padding: .5rem .9rem; background: #fff; }
.pic { font-size: 2.4rem; line-height: 1; background: none; border: 0; cursor: pointer; min-width: 3.2rem; min-height: 3.2rem; border-radius: 8px; }
.steps input { flex: 1 1 8rem; font: 700 1.3rem var(--display); min-width: 0; } .steps .box { width: 2.2rem; height: 2.2rem; flex: none; } .move { display: flex; margin-left: auto; }
.sumlist { columns: 3 9rem; margin: 1rem 0 0; padding-left: 2.2rem; font-size: 1.25rem; } .sumlist li { margin-bottom: 1.1rem; break-inside: avoid; padding-left: .3rem; } .sumlist li::marker { color: var(--soft); font-size: .85rem; }
.blank { display: inline-block; width: 3rem; border-bottom: 1.5px solid var(--plum); }
.table-cols { columns: 3 11rem; column-gap: 2rem; } .table-cols section { break-inside: avoid; margin-bottom: 1.5rem; } .table-cols ul { list-style: none; margin: .4rem 0 0; padding: 0; font-size: 1.15rem; line-height: 1.75; }
.book .cover { text-align: center; padding: 2rem 0; border-bottom: 1.5px solid var(--plum); margin-bottom: 1.5rem; }
.recipe { margin-bottom: 2rem; } .recipe h3 { font-size: 1.5rem; } .recipe h4 { margin: 1rem 0 .3rem; } .recipe .from { color: var(--soft); } .recipe .story { font-style: italic; margin-top: .6rem; }
.recipe ul, .recipe ol { margin: 0; padding-left: 1.3rem; } .recipe li { margin-bottom: .25rem; } .qa h4 { margin: 1rem 0 .2rem; }
.printonly { display: none; }
.fine { color: var(--soft); font-size: .95rem; max-width: 46rem; margin: 1rem 0 0; }
.how { margin-top: 2.2rem; max-width: 46rem; } .how h2 { font-size: 1.6rem; font-weight: 800; } .how p, .how li { margin: .6rem 0 0; } .how ul { margin: 0; padding-left: 1.2rem; } .how h3 { font-size: 1.15rem; margin-top: 1.2rem; font-family: var(--body); font-weight: 800; letter-spacing: 0; } .how h3 + p { margin-top: .25rem; color: var(--soft); }
.ask-soon { font-weight: 800; background: var(--butter); color: var(--plum); display: inline-block; padding: .5rem .9rem; border: var(--line); border-radius: 10px; }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } .result { position: static; } .card-row, .signs { grid-template-columns: minmax(0, 1fr); } }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .how, .fine, .noprint, .actions, .example-note, .x, .add, .tip, .toolhero .lede { display: none !important; }
  body:has(.sheet) .toolhero, body:has(.sheet) .inputs, body:has(.sheet) .filters { display: none !important; }
  .toolhero h1 { clip-path: none; background: none; padding: 0; rotate: none; font-size: 20pt; }
  .wrap { max-width: none; padding: 0; } .toolmain { padding: 0; }
  .toolbody, .sheet, .result { box-shadow: none; border: 0; padding: 0; margin: 0; background: none; position: static; }
  .calc { grid-template-columns: 1fr; } .printonly { display: block; }
  .sheet.answers, .recipe { break-before: page; }
  .bare:hover { background: none !important; } .gtable { min-width: 0; } .rowlabel { white-space: pre-wrap; }
  .sheet-note:placeholder-shown, .sheet-who:placeholder-shown { display: none; }
  .card-row { grid-template-columns: repeat(2, 1fr); } .signs { grid-template-columns: repeat(3, 1fr); } .steps li { break-inside: avoid; }
}
