:root {
  --blush: #ffe8e8; --petal: #fff9f9; --pink: #f0264f; --deep: #b01235; --plum: #3a0a14; --soft: #7a454d; --butter: #ffe36e; --hot: #de1f48;
  --line: 2px solid var(--plum); --pop: 4px 4px 0 var(--plum); --hair: 1px solid #f2c4c5;
  --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: #fff; padding: 8px 12px; z-index: 99; }
.dots { background-image: radial-gradient(circle at 12px 12px, var(--dot, #ffd1d0) 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: #5a101d; }
#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: #fff4f4; border-right: var(--hair); --dot: #ffdbdb; overscroll-behavior: contain; }
.sidesearch { position: sticky; top: 0; z-index: 2; padding: .9rem .75rem; background: #fff4f4; 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 #f6bcbe; }
.side { display: flex; flex-direction: column; }
.sidenav { padding: .8rem .75rem 1.5rem; flex: 1 0 auto; }
.sidecoffee { position: sticky; bottom: 0; background: #fff4f4; 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: #ffe1e1; }
.srow .sico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid #e3a9ab; 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: #ffe0df; color: var(--soft); border-radius: 999px; padding: .28rem .5rem; }
.srow.open { background: #ffe1e1; }
.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 #f2c4c5; 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: #ffe1e1; 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: #ffe1e1; } #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: #c40f20; 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: #ffe8e8; 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: #b98a8f; }
.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 #ffc0c2; border-radius: 999px; padding: .28rem .8rem; text-decoration: none; color: #fff; font-size: .93rem; background: #d81a26; 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: #f7c7c7; 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 #e39fa1; }
.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 #e3a9ab; display: block; }
.slot::after { content: ""; position: absolute; left: 50%; bottom: .5rem; width: 34%; height: 6px; translate: -50% 0; border-radius: 9px; background: #d98a8b; }
.slot > div { border: 2px dashed #c79a9f; 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: #fff0f0; 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 #b0708c66; 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: #c40f20; 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: #ffe8e8; max-width: 32rem; }
.ask > .wrap > div:not(.hook) { flex: 1 1 18rem; }
.livesec { background: #fff0f0; 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 #ff2e8888; }
.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: #f6cacb; }
.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: #f6c9c9; 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: #f6c9c9; padding: .3rem 0; text-decoration: none; } .foot nav a:hover { color: #fff; text-decoration: underline; }

/* Category page */
.cathero, .toolhero { background-color: var(--hot); --dot: #c40f20; color: #fff; }
.cathero .wrap, .toolhero .wrap { padding-block: 1.6rem 2.2rem; position: relative; }
.crumb { margin: 0 0 1.1rem; font-size: .95rem; color: #ffd3d4; } .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: #ffe8e8; 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: #c79a9f; }
.card.soon { background: transparent; border-style: dashed; border-color: #c79a9f; box-shadow: none; }
.card.soon .ico { filter: grayscale(.6); opacity: .7; border-color: #c79a9f; 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: #fff4f4; }
.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 #e39fa1; }
.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 #3d0a2622; 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: #ffe8e8; }
.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 #b06a6f; }
.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 #b06a6f; 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; }

/* RoseKit tools */
.beat { font-size: 3.4rem; text-align: center; margin: .6rem 0; animation: beat .45s ease-in-out infinite alternate; }
@keyframes beat { to { scale: 1.25; } }
.heartfx { position: fixed; z-index: 60; pointer-events: none; animation: floatup 1.9s ease-out forwards; }
@keyframes floatup { to { translate: var(--dx, 0) -55vh; opacity: 0; rotate: 25deg; } }
.meter { position: relative; height: 2.3rem; background: #fff; border: 1.5px solid var(--plum); border-radius: 999px; overflow: hidden; margin-bottom: .9rem; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff9db0, var(--pink)); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.meter b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; }
.meter.thin { height: .9rem; margin: .6rem 0 0; width: 100%; } .meter.thin i { transition: width .08s; }
.flipcard { display: grid; gap: .8rem; align-content: center; justify-items: center; width: 100%; min-height: 13rem; padding: 1.6rem 1.2rem; text-align: center; font: inherit; color: var(--plum); background: var(--tint); border: var(--line); border-radius: 22px; box-shadow: 5px 5px 0 var(--plum); cursor: pointer; }
.flipcard .q { font: 700 clamp(1.3rem, 4.2vw, 1.9rem)/1.25 var(--display); overflow-wrap: anywhere; }
.flipcard .a { font-weight: 800; font-size: 1.2rem; background: var(--butter); border: 1.5px solid var(--plum); border-radius: 12px; padding: .4rem .9rem; }
.flipcard .tap { color: var(--soft); font-size: .95rem; }
.flipcard.in { animation: dealin .32s ease-out; }
@keyframes dealin { from { rotate: -3deg; translate: 0 14px; opacity: 0; } }
.rulesline { margin: 0 0 1.1rem; color: var(--soft); }
.face.small { font-size: clamp(2.2rem, 9vw, 3.4rem); text-align: center; margin: .8rem 0 0; min-height: 1em; }
.scorebox { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--soft); }
.side2 { display: flex; align-items: center; gap: .5rem; flex: 1 1 13rem; min-width: 0; } .side2 input { flex: 1; min-width: 0; } .side2 b { font: 800 1.7rem/1 var(--display); min-width: 2ch; text-align: center; }
.wheelbox { position: relative; text-align: center; min-width: 0; overflow: hidden; padding: 0 8px 8px; } .wheelbox .acts { justify-content: center; }
.wheel { width: min(100%, 21rem); height: auto; display: block; margin: 0 auto; border-radius: 50%; filter: drop-shadow(4px 5px 0 var(--plum)); }
.pointer { display: block; font-size: 1.7rem; line-height: 1; color: var(--plum); margin-bottom: -.35rem; position: relative; z-index: 2; }
.wheelout { margin-top: 1rem; min-height: 1.2em; }
.dicerow { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.die { flex: 1 1 9rem; max-width: 15rem; min-height: 8.5rem; display: grid; align-content: center; gap: .4rem; text-align: center; padding: 1rem; background: #fff; border: var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--plum); }
.die small { color: var(--soft); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; } .die b { font: 700 1.25rem/1.2 var(--display); overflow-wrap: anywhere; }
.die.roll { rotate: 4deg; background: var(--butter); } .dicerow + .sub { text-align: center; font-weight: 700; font-size: 1.15rem; margin-top: 1.2rem; min-height: 1.5em; } .dicerow ~ .acts { justify-content: center; }
.lookup { display: grid; margin-top: 1rem; }
.lrow { display: grid; grid-template-columns: minmax(7rem, 14rem) minmax(0, 1fr); gap: .3rem 1rem; padding: .7rem 0; border-top: 1px dashed var(--soft); align-items: start; }
.lrow.done { color: var(--soft); } .lrow:has(.x) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: .15rem 0; }
@media (max-width: 520px) { .lrow { grid-template-columns: minmax(0, 1fr); } .lrow:has(.x) { grid-template-columns: minmax(0, 1fr) auto; } }
.asked { text-align: center; display: grid; gap: .7rem; justify-items: center; min-width: 0; } .asked .acts { justify-content: center; } .asked .said { max-width: 30rem; }
.cemoji { font-size: 3.2rem; line-height: 1; margin: 0; } .from { color: var(--deep); font-size: 1.15rem; margin: 0; }
.arena { position: relative; width: 100%; height: 15rem; display: grid; place-items: center; grid-template-columns: 1fr 1fr; }
.arena .yes { transition: scale .2s; position: relative; z-index: 3; } .arena .no.run { position: absolute; transition: left .14s, top .14s; z-index: 2; }
.scratch { position: relative; margin-top: 1rem; border: var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 5px 5px 0 var(--plum); touch-action: none; }
.scratchmsg { padding: 2.2rem 1.4rem; min-height: 11rem; display: grid; align-content: center; gap: .6rem; text-align: center; font: 700 1.4rem/1.35 var(--display); white-space: pre-wrap; overflow-wrap: anywhere; } .scratchmsg p { margin: 0; }
.scratchtop { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.tiles { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.tile { min-width: 4.6rem; padding: .8rem .6rem; background: #fff; border: var(--line); border-radius: 16px; box-shadow: 3px 3px 0 var(--plum); display: grid; text-align: center; }
.tile b { font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; } .tile small { color: var(--soft); font-size: .8rem; } .tile.wide { flex: 1 1 11rem; gap: .3rem; }
.cv { width: 100%; max-width: 26rem; height: auto; border: var(--line); border-radius: 16px; background: #fff; justify-self: center; display: block; }
.cv.tall { max-width: 15rem; } .cv.pad { max-width: 100%; touch-action: none; cursor: crosshair; margin-top: 1rem; }
.filebtn { display: inline-flex; align-items: center; } .filebtn:focus-within { outline: 3px solid var(--pink); outline-offset: 3px; }
input[type=range] { width: 100%; min-height: 44px; accent-color: var(--pink); }
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; width: min(100%, 19rem); margin: 1rem auto; }
.ttt button { aspect-ratio: 1; font-size: 2.4rem; background: #fff; border: var(--line); border-radius: 16px; cursor: pointer; } .ttt button.win { background: var(--butter); }
.tapwrap { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.tappad { min-height: 12rem; font-size: 3rem; border: var(--line); border-radius: 22px; background: var(--tint); cursor: pointer; display: grid; place-items: center; padding: 1rem; touch-action: manipulation; user-select: none; } .tappad.p1 { background: var(--butter); } .tappad:active { scale: .97; }
.memo { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; width: min(100%, 24rem); margin: 1rem auto 0; }
.memo button { aspect-ratio: 1; font-size: 1.9rem; border: var(--line); border-radius: 14px; background: var(--pink); color: #fff; cursor: pointer; background-size: cover; background-position: center; } .memo button.up { background-color: #fff; color: var(--plum); }
.daisy { width: min(100%, 19rem); height: auto; display: block; margin: 1rem auto; overflow: visible; }
.daisy .petal { cursor: pointer; transition: opacity .5s, translate .5s; } .daisy .petal.gone { opacity: 0; translate: 0 60px; pointer-events: none; } .daisy .petal:hover { fill: var(--blush); }
.cookie { font-size: 5.5rem; line-height: 1; background: none; border: 0; cursor: pointer; padding: .4rem; } .cookie.crack { animation: crack .5s; }
@keyframes crack { 30% { rotate: -14deg; scale: 1.15; } 60% { rotate: 12deg; } }
.slip { font: 700 1.25rem/1.35 var(--display); text-align: center; min-height: 4.5rem; display: grid; align-items: center; width: 100%; margin: 0; }
.cardbox { background: var(--pink); border: var(--line); border-radius: 10px; max-width: 100%; margin-top: .6rem; }
.ringstage { display: grid; place-items: center; min-height: 15rem; margin: .6rem 0 1.4rem; background: #fff; border: 1.5px dashed var(--soft); border-radius: 18px; overflow: hidden; }
.ringcircle { border-radius: 50%; background: var(--pink); border: 2px solid var(--plum); }
.group { grid-template-columns: minmax(0, 1fr); } .group + .group { margin-top: 1.6rem; } .toolbody > .group + .out { margin-top: 1rem; }
.cardfields { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.sheet { display: grid; gap: 1rem; margin-top: 1.5rem; } .sheet.cols2 { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); } .sheet.cols3 { grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); }
.lovecard { background: #fff; border: 2px solid var(--plum); border-radius: 18px; padding: 2rem 1.4rem; text-align: center; display: grid; gap: .6rem; align-content: center; min-height: 19rem; outline: 2px dashed var(--pink); outline-offset: -10px; break-inside: avoid; min-width: 0; }
.lovecard h3 { font-size: clamp(1.4rem, 4vw, 2rem); overflow-wrap: anywhere; } .lovecard p { margin: 0; overflow-wrap: anywhere; }
.ctop { color: var(--deep); font-size: 1.1rem; } .cbody { white-space: pre-line; font-size: 1.05rem; } .cfoot { color: var(--soft); margin-top: .6rem !important; }
.lovecard.coupon, .lovecard.slip { min-height: 10rem; border-style: dashed; outline: 0; padding: 1.2rem 1rem; } .lovecard.slip { min-height: 6.5rem; } .lovecard.slip .cbody { font: 700 1.1rem/1.3 var(--display); }
.lovecard.cert { outline: 6px double var(--plum); outline-offset: -14px; min-height: 24rem; background: #fffbea; }
.bingo { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
.bingo button { aspect-ratio: 1; min-width: 0; font: inherit; font-size: clamp(.58rem, 2.1vw, .85rem); line-height: 1.15; font-weight: 700; color: var(--plum); background: #fff; border: 1.5px solid var(--plum); border-radius: 10px; padding: .2rem; cursor: pointer; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; }
.bingo button.on { background: var(--pink); color: #fff; }
.sizer { display: block; } .sizer p { margin: .6rem 0; } .checkline { height: 0; border-top: 2px solid #000; margin: .4rem 0 1rem; max-width: 100%; }
.strip { position: relative; height: 16mm; border: 1px solid #000; background: #fff; margin: 1rem 0 1.4rem; max-width: 100%; overflow: hidden; }
.strip i { position: absolute; bottom: 0; width: 0; border-left: 1px solid #000; } .strip i b { position: absolute; bottom: 7.5mm; left: -2.5mm; font: 600 7pt/1 system-ui, sans-serif; font-style: normal; }

@media print {
  body { background: #fff; } .top, .foot, .shelf.more, .acts, .crumb, .fine, .x, .fields, .btn, .how, .heartfx { display: none !important; }
  .toolbody, .out, .card { box-shadow: none; border-color: #999; }
  body:has(.sheet) .toolhero, body:has(.sheet) .count, body:has(.sheet) .toolbody > :not(.sheet) { display: none !important; }
  body:has(.sheet) .toolbody { border: 0; padding: 0; margin: 0; } body:has(.sheet) .toolmain { padding: 0; }
  .sheet.cols2 { grid-template-columns: 1fr 1fr; } .sheet.cols3 { grid-template-columns: 1fr 1fr 1fr; } .strip, .checkline { max-width: none; overflow: visible; }
  .bingo button.on { background: #ddd; color: #000; }
}
.fine.safe { background: #fff; border: 1.5px dashed var(--plum); border-radius: 14px; padding: .8rem 1rem; }
