/* The classroom. One long wall; things hang on it: blackboards, an exam paper, a desk, a soft board, a register. */
:root {
  --wall: #e7dcc3; --wall2: #d9ccae; --board: #21402f; --board2: #183226; --chalk: #f1f3ea; --dim: #a9b9ac;
  --yellow: #f7dc7c; --pink: #f6a6b8; --blue: #9fd3ec; --orange: #f5b47a; --wood: #7d5230; --wood2: #5c3b20;
  --paper: #fbf6e6; --ink: #1d1a17; --pen: #1f4fa3; --red: #c8372d; --rule: #b9cfe3; --grey: #7a7264;
  --disp: 'Fredericka the Great', 'Patrick Hand', cursive; --hand: 'Patrick Hand', 'Comic Sans MS', cursive; --pen-f: 'Caveat', 'Patrick Hand', cursive;
  --mono: 'Geist Mono', ui-monospace, monospace; --serif: 'Instrument Serif', 'Times New Roman', serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --smear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='500'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .03' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  --grain: repeating-linear-gradient(91deg, #8a5a33 0 3px, #7d5230 3px 8px, #94623a 8px 10px, #76492a 10px 15px, #85562f 15px 21px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--wall2); }
body { margin: 0; color: var(--ink); font-family: var(--hand); font-size: 19px; line-height: 1.3; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: var(--noise), linear-gradient(180deg, rgba(255,255,255,.25), transparent 240px), var(--wall); background-blend-mode: soft-light, normal, normal; }
h1, h2, h3, p { margin: 0; font-weight: 400; } button { font: inherit; color: inherit; cursor: pointer; } img { max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; } .skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sec { padding: 22px 10px; scroll-margin-top: 8px; } .sec > * { width: min(980px, 100%); margin-inline: auto; }
.c { text-align: center; } .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .c .row { justify-content: center; }
.rv { opacity: 0; transform: translateY(26px) rotate(.4deg); transition: opacity .7s, transform .8s cubic-bezier(.2,.8,.2,1); } .rv.in { opacity: 1; transform: none; }

/* ---------- blackboards ---------- */
.board { position: relative; padding: 11px 11px 0; border-radius: 9px; background: linear-gradient(90deg, rgba(0,0,0,.28), transparent 3%, transparent 97%, rgba(0,0,0,.28)), var(--grain); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 0 #4a2f18, 0 16px 34px rgba(60,40,15,.38); }
.board:not(:has(.tray)) { padding-bottom: 11px; }
.slate { position: relative; overflow: hidden; padding: 30px 16px 38px; border-radius: 3px; color: var(--chalk); background: var(--smear), var(--noise), radial-gradient(ellipse at 28% 18%, #2c5240, var(--board) 62%, var(--board2)); background-size: 100% 100%, 240px 240px, auto; background-blend-mode: soft-light, overlay, normal; box-shadow: inset 0 0 0 2px rgba(0,0,0,.45), inset 0 0 70px rgba(0,0,0,.4); }
.slate > * { position: relative; z-index: 1; }
.tray { position: relative; height: 22px; margin: 0 -4px; border-radius: 3px 3px 7px 7px; background: linear-gradient(180deg, #a5714a, #8a5a33 40%, #5c3b20); box-shadow: 0 6px 10px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.22); display: flex; align-items: flex-start; gap: 14px; padding: 0 26px; }
.tray::after { content: ''; position: absolute; left: 10px; right: 10px; top: 3px; height: 4px; border-radius: 2px; background: rgba(241,243,234,.5); filter: blur(2.5px); }
.ck { display: block; width: 34px; height: 8px; margin-top: -5px; border-radius: 3px; background: #f4f4ec; box-shadow: 0 2px 2px rgba(0,0,0,.35); transform: rotate(-2deg); position: relative; z-index: 1; } .ck.y { background: var(--yellow); transform: rotate(3deg); } .ck.p { background: var(--pink); } .ck.b { background: var(--blue); } .ck.short { width: 18px; }
.duster { all: unset; cursor: pointer; margin-left: auto; margin-top: -15px; width: 62px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #b98052, #8a5a33); box-shadow: 0 3px 4px rgba(0,0,0,.4); position: relative; z-index: 1; transition: transform .2s; } .duster i { position: absolute; left: 0; right: 0; bottom: -4px; height: 7px; border-radius: 0 0 3px 3px; background: #dcdccf; } .duster:active { transform: translateY(-5px) rotate(-6deg); }
.kick { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
h2 { font-family: var(--disp); font-size: clamp(34px, 9.4vw, 60px); line-height: 1; margin: 8px 0 10px; text-wrap: balance; }
h2 u, h1 u { text-decoration: none; color: var(--yellow); background: linear-gradient(transparent 84%, rgba(247,220,124,.55) 84% 93%, transparent 93%) no-repeat 0 0 / 0% 100%; transition: background-size .9s .35s cubic-bezier(.3,.8,.3,1); }
.in h2 u, .hero h1 u { background-size: 100% 100%; }
.sub { color: var(--dim); max-width: 44ch; } .c .sub { margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2.5px solid var(--chalk); border-radius: 14px 18px 12px 20px / 18px 12px 20px 14px; background: transparent; color: var(--chalk); padding: 9px 18px; font-size: 20px; line-height: 1.1; transition: transform .12s, background .15s, box-shadow .15s; } .btn:active { transform: scale(.95) rotate(-1deg); }
.btn.y { background: var(--yellow); border-color: var(--yellow); color: var(--ink); } .btn.sm { font-size: 16px; padding: 6px 12px; border-width: 2px; }
.btn.ink { border-color: var(--ink); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); background: #fff; } .btn.ink.y { background: var(--yellow); } .btn.ink:active { box-shadow: 0 0 0 var(--ink); transform: translate(3px, 3px); }
.dust { position: fixed; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; z-index: 90; top: 0; left: 0; }
.mark { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; color: var(--chalk); opacity: .8; z-index: 0 !important; animation: fade 2.6s forwards; } @keyframes fade { 60% { opacity: .6; } to { opacity: 0; } }

/* ---------- 1 · hero ---------- */
.hero { padding-top: 14px; }
.wallrow { display: flex; justify-content: space-between; align-items: flex-start; padding: 4px 14px 0; height: 122px; }
.clock { width: 82px; filter: drop-shadow(0 6px 6px rgba(60,40,15,.35)); } .clock svg { display: block; } .clock line { transform-origin: 50px 50px; } [data-ss] { transition: transform .25s cubic-bezier(.4,2.4,.5,1); }
.bell { all: unset; cursor: pointer; width: 58px; align-self: flex-start; filter: drop-shadow(0 6px 5px rgba(60,40,15,.3)); } .bell svg { display: block; overflow: visible; } [data-bellbody] { transform-origin: 40px 14px; } .bell.ring [data-bellbody] { animation: ring .9s cubic-bezier(.3,.6,.4,1); }
@keyframes ring { 12% { transform: rotate(22deg); } 30% { transform: rotate(-18deg); } 48% { transform: rotate(13deg); } 66% { transform: rotate(-8deg); } 84% { transform: rotate(4deg); } }
.cal { width: 78px; background: #fff; border-radius: 4px; text-align: center; box-shadow: 0 6px 10px rgba(60,40,15,.3); position: relative; transform: rotate(1.5deg); font-family: var(--mono); } .cal::before { content: ''; position: absolute; top: -7px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #aaa, #555); }
.cal b { display: block; background: var(--red); color: #fff; font-size: 10px; letter-spacing: .2em; padding: 3px 0; border-radius: 4px 4px 0 0; font-weight: 600; } .cal strong { display: block; font: 400 40px/1 var(--serif); padding-top: 3px; } .cal i { display: block; font-style: normal; font-size: 9px; letter-spacing: .18em; color: var(--grey); padding-bottom: 4px; }
.cal span { position: absolute; left: 50%; top: 100%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font: 400 15px var(--hand); color: var(--red); margin-top: 3px; }
.board.big .slate { padding-top: 14px; min-height: 76vh; }
.corners { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; } .corner { text-align: left; font-size: 15px; line-height: 1.25; border: 1.5px solid rgba(241,243,234,.55); padding: 4px 8px; border-radius: 2px 6px 3px 5px; color: var(--chalk); } .corner.r { text-align: right; } .corner span { color: var(--dim); font-size: 13px; } .corner b { font-weight: 400; color: var(--yellow); }
.crest { width: 46px; height: auto; opacity: .9; }
.hero h1 { font-family: var(--disp); font-size: clamp(40px, 11.6vw, 112px); line-height: .92; margin: 10px 0 6px; }
.write > span { display: inline-block; clip-path: inset(-10% 100% -10% 0); animation: write 1s steps(16) .25s forwards; } .write > span + span { animation-delay: 1.1s; animation-duration: .7s; } @keyframes write { to { clip-path: inset(-10% -4% -10% 0); } }
.aside { font-size: 22px; color: var(--pink); transform: rotate(-2deg); display: inline-block; opacity: 0; animation: pop .5s 1.9s forwards; } @keyframes pop { from { opacity: 0; transform: rotate(-6deg) scale(.8); } to { opacity: 1; transform: rotate(-2deg); } }
.notice { position: relative; margin: 22px auto 8px; width: min(440px, 100%); border: 2.5px dashed var(--dim); border-radius: 12px; padding: 16px 14px; min-height: 164px; display: grid; place-items: center; text-align: center; }
.notice h3 { font-family: var(--disp); font-size: 34px; color: var(--yellow); line-height: 1; margin: 4px 0; } .notice .when { font-size: 24px; line-height: 1.1; } .notice .where { font-size: 19px; color: var(--blue); margin-bottom: 6px; } .notice small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: block; } [data-ev-time]:not(:empty)::before { content: ' · '; }
.notice canvas { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); border-radius: 12px; touch-action: none; cursor: grab; transition: opacity .6s; } .notice.open canvas { opacity: 0; pointer-events: none; }
.announce { margin: 14px auto 0; width: min(440px, 100%); background: var(--yellow); color: var(--ink); padding: 10px 14px; font-size: 20px; line-height: 1.15; transform: rotate(-1deg); box-shadow: 3px 6px 12px rgba(0,0,0,.4); text-align: left; } .announce::before { content: 'From the office: '; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; display: block; color: #7a5a06; }
.slip, .register, .sheet, .compose { --hole: var(--wall); }
.slip { position: relative; margin: 28px auto 0; width: min(440px, 100%); padding: 16px 14px 14px 40px; text-align: left; color: var(--ink); background: linear-gradient(90deg, transparent 29px, #e9a3a3 29px 30.5px, transparent 30.5px), linear-gradient(transparent 31px, var(--rule) 31px 32px) 0 6px / 100% 32px, var(--paper); transform: rotate(-1.2deg); box-shadow: 4px 8px 18px rgba(0,0,0,.45); }
.slip::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 7px 16px, var(--board) 5px, transparent 5.5px) 0 0 / 14px 64px; }
.tape { position: absolute; top: -11px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(247,220,124,.75); transform: rotate(2deg); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sliphead { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); display: flex; justify-content: space-between; } .sliphead b { color: var(--grey); font-weight: 500; }
.line { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; } .line span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.line input { flex: 1; min-width: 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: 700 30px/1.1 var(--pen-f); color: var(--pen); padding: 0 2px; outline: none; border-radius: 0; } .line input::placeholder { color: rgba(31,79,163,.35); }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .sugg:empty { margin: 0; } .chip { border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); padding: 3px 11px; font-size: 16px; }
.ans3 { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.stampbtn { border: 2.5px solid currentColor; border-radius: 8px; background: rgba(255,255,255,.6); padding: 9px 4px; font: 600 12px/1.15 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, background .15s, color .15s; } .stampbtn small { display: block; font: 400 15px var(--hand); letter-spacing: 0; text-transform: none; opacity: .8; margin-top: 2px; }
.stampbtn.yes { color: #1d6b3c; } .stampbtn.maybe { color: #a36a00; } .stampbtn.no { color: var(--red); } .stampbtn:active { transform: scale(.94); }
.stampbtn.on { color: #fff; transform: rotate(-2.5deg) scale(1.03); animation: thud .35s; box-shadow: 0 3px 0 rgba(0,0,0,.25); } .stampbtn.yes.on { background: #1d6b3c; border-color: #1d6b3c; } .stampbtn.maybe.on { background: #c98a00; border-color: #c98a00; } .stampbtn.no.on { background: var(--red); border-color: var(--red); }
@keyframes thud { 0% { transform: scale(1.5) rotate(6deg); opacity: .3; } 60% { transform: scale(.94) rotate(-3deg); } }
.slipmsg { min-height: 1.2em; margin-top: 8px; font: 700 23px/1.1 var(--pen-f); color: var(--red); }
.talk { margin: 30px auto 0; width: min(440px, 100%); text-align: left; border: 2px solid var(--chalk); padding: 10px 12px; transform: rotate(.8deg); border-radius: 3px 8px 4px 6px; } .talk h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; }
.talk p { font-size: 20px; line-height: 1.25; } .talk span { white-space: nowrap; } .talk span.m { opacity: .55; } .talk span.new { animation: chalkin .8s; } @keyframes chalkin { from { opacity: 0; letter-spacing: .3em; } }
.online { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); } .online::before, .livedot { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #58d68d; margin-right: 6px; animation: blink 1.6s infinite; vertical-align: 0; } @keyframes blink { 50% { opacity: .35; } }
.livedot.off { background: #b9b2a2; animation: none; }
.down { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 26px; color: var(--dim); text-decoration: none; font-size: 18px; } .down svg { width: 30px; animation: bob 1.6s infinite ease-in-out; } @keyframes bob { 50% { transform: translateY(7px); } }
.scribble { position: absolute !important; color: rgba(241,243,234,.32); pointer-events: none; z-index: 0 !important; } .s1 { width: 46px; right: 26px; top: 84px; transform: rotate(14deg); } .s2 { width: 130px; left: 6px; bottom: 16px; transform: rotate(-5deg); }
.scribble path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s 2.2s forwards; } @keyframes draw { to { stroke-dashoffset: 0; } }
.flyby { position: fixed; z-index: 30; left: 0; top: 0; pointer-events: none; display: flex; align-items: center; gap: 6px; font-size: 17px; color: var(--ink); white-space: nowrap; } .flyby svg { width: 38px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); } .flyby span { background: var(--paper); padding: 2px 8px; border-radius: 3px; box-shadow: 0 3px 6px rgba(0,0,0,.25); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 2 · the test paper ---------- */
.sheet { position: relative; padding: 30px 18px 26px; color: var(--ink); background: var(--noise), linear-gradient(180deg, #fffdf6, #f7f0dc); background-blend-mode: multiply, normal; box-shadow: 0 1px 0 #fff inset, 6px 12px 26px rgba(60,40,15,.32); transform: rotate(-.6deg); max-width: 720px !important; } .sheet.rv.in { transform: rotate(-.6deg); }
.sheet::after { content: ''; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 34px 34px; border-color: transparent transparent var(--wall) #e3d8bd; filter: drop-shadow(-2px -2px 2px rgba(0,0,0,.15)); }
.clip { position: absolute; top: -14px; left: 50%; width: 74px; height: 32px; margin-left: -37px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4a4a4a, #1c1c1c); box-shadow: 0 4px 6px rgba(0,0,0,.4); } .clip::after { content: ''; position: absolute; left: 22px; right: 22px; top: -9px; height: 14px; border: 3px solid #9aa0a6; border-bottom: 0; border-radius: 8px 8px 0 0; }
.sheethead { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; border-bottom: 3px double var(--ink); padding-bottom: 10px; } .sheethead img { width: 34px; height: auto; }
.school { font: 400 clamp(22px, 6vw, 30px)/1 var(--serif); text-transform: uppercase; letter-spacing: .04em; } .exam { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; color: #4a443a; }
.meta { display: flex; justify-content: space-between; font: italic 400 17px var(--serif); padding: 6px 2px 0; }
h2.ink { font-family: var(--serif); font-size: clamp(36px, 9.6vw, 58px); letter-spacing: -.01em; margin: 16px 0 6px; } h2.ink u { color: var(--red); background-image: none; font-style: italic; text-decoration: underline wavy var(--red) 2px; text-underline-offset: 6px; }
.instr { font: italic 400 18px/1.25 var(--serif); color: #4a443a; max-width: 52ch; }
.quiz { margin-top: 18px; min-height: 290px; } .quiz h3 { font: 400 26px/1.15 var(--serif); margin-bottom: 14px; display: flex; gap: 10px; } .quiz h3 b { font-weight: 400; } .quiz h3 i { margin-left: auto; font: 500 12px var(--mono); padding-top: 8px; white-space: nowrap; }
.opts { display: grid; gap: 4px; } .opts button { position: relative; display: flex; gap: 12px; align-items: center; text-align: left; border: 0; border-bottom: 1px dashed #cfc5ab; background: none; padding: 11px 6px; font: 400 21px/1.15 var(--hand); color: var(--ink); border-radius: 6px; }
.opts button em { flex: none; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--mono); font-style: normal; } .opts button:hover { background: rgba(31,79,163,.06); }
.opts button.pick em { background: var(--pen); border-color: var(--pen); color: #fff; } .opts button svg { position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -30px; pointer-events: none; overflow: visible; } .opts button svg path { stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .28s forwards; }
.prog { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; } .prog i { flex: 1; height: 3px; background: #e0d6bd; } .prog i.on { background: var(--ink); }
.result { position: relative; text-align: center; padding-top: 6px; } .grade { position: relative; display: inline-grid; place-items: center; width: 124px; height: 124px; font: 700 54px/1 var(--pen-f); color: var(--red); transform: rotate(-8deg); } .grade svg { position: absolute; inset: 0; overflow: visible; } .grade svg path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw .7s .15s forwards; }
.result h3 { display: block; font: 700 clamp(38px, 10vw, 54px)/1 var(--pen-f); color: var(--red); margin: 4px 0 6px; transform: rotate(-2deg); } .result .rem { font: 600 24px/1.15 var(--pen-f); color: var(--red); max-width: 34ch; margin: 0 auto 16px; } .result .row { justify-content: center; }
.result .sig { font: 700 26px var(--pen-f); color: var(--red); text-align: right; margin-top: 14px; transform: rotate(-3deg); } .result .sig small { display: block; font: 500 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* ---------- 3 · the desk and the ID ---------- */
.desk { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 20% 0, rgba(255,235,190,.35), transparent 60%), repeating-linear-gradient(2deg, #b9844f 0 5px, #b07a47 5px 11px, #c08a55 11px 14px, #a87342 14px 22px); box-shadow: inset 0 0 0 3px #7a4f2c, inset 0 0 60px rgba(60,30,5,.45), 0 16px 30px rgba(60,40,15,.35); }
.carve { position: absolute; top: 60px; width: 86px; pointer-events: none; mix-blend-mode: multiply; opacity: .55; z-index: 0; } .carve.a { left: 0; transform: rotate(-8deg); } .carve.b { right: 0; top: 66px; transform: rotate(6deg); } .deskin { position: relative; padding: 26px 14px 26px; }
.tagk { margin: 0 0 4px; } .tagk span { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: #fff; color: var(--ink); padding: 4px 9px; transform: rotate(-1.5deg); box-shadow: 2px 3px 5px rgba(0,0,0,.25); }
h2.carved { color: #3a2412; text-shadow: 0 1px 0 rgba(255,225,180,.55); } h2.carved u { color: #7a1d16; background-image: linear-gradient(transparent 84%, rgba(122,29,22,.35) 84% 93%, transparent 93%); }
.subd { color: #4a2f18; max-width: 44ch; font-size: 19px; }
.maker { display: grid; gap: 8px; margin-top: 6px; } .maker > *, .two > * { min-width: 0; }
.hangwrap { position: relative; display: grid; justify-items: center; padding-top: 6px; touch-action: pan-y; perspective: 1100px; }
.nail { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6e6e6, #777 60%, #333); box-shadow: 0 3px 4px rgba(0,0,0,.45); z-index: 2; }
.hang { width: min(340px, 86vw); transform-origin: 50% 6px; transform: rotate(calc(var(--sw, 0) * 1deg)); will-change: transform; cursor: grab; }
.lanyard { display: block; width: 88%; margin: 0 auto -3%; overflow: visible; filter: drop-shadow(0 4px 3px rgba(40,20,0,.35)); }
.holder { position: relative; padding: 5.5% 3.2% 3.2%; border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 40%), var(--hc, #e9c53b); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45), inset 0 -8px 14px rgba(0,0,0,.12), 0 18px 30px rgba(40,20,0,.5); }
.slot { position: absolute; top: 2.6%; left: 50%; width: 15%; height: 3.4%; margin-left: -7.5%; border-radius: 9px; background: rgba(40,20,0,.55); box-shadow: inset 0 1px 2px #000; }
.flip { position: relative; aspect-ratio: 1040 / 656; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.9,.3,1); transform: rotateY(calc(var(--f, 0) * 180deg + var(--rx, 0) * 16deg)) rotateX(calc(var(--ry, 0) * -12deg)); cursor: pointer; }
.face { position: absolute; inset: 0; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; } .face canvas { width: 100%; height: 100%; display: block; } .face.back { transform: rotateY(180deg); }
.face.front::after { content: ''; position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .75; pointer-events: none; background: linear-gradient(calc(110deg + var(--rx, 0) * 70deg), transparent 28%, rgba(255,255,255,.75) 46%, rgba(160,225,255,.55) 52%, transparent 70%); background-size: 240% 240%; background-position: calc(50% + var(--rx, 0) * 80%) calc(50% + var(--ry, 0) * 80%); }
.notebook { position: relative; margin-top: 14px; padding: 18px 16px 20px 44px; color: var(--ink); background: linear-gradient(90deg, transparent 33px, #e9a3a3 33px 34.5px, transparent 34.5px), linear-gradient(transparent 31px, var(--rule) 31px 32px) 0 4px / 100% 32px, var(--paper); box-shadow: 5px 10px 22px rgba(40,20,0,.45); transform: rotate(.5deg); border-radius: 2px 8px 8px 2px; }
.notebook::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 7px 16px, #8a5a33 5px, transparent 5.5px) 0 0 / 14px 64px; opacity: .85; }
.lbl, label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin: 12px 0 4px; } .notebook > label:first-child { margin-top: 0; }
.notebook input[type=text], .notebook select { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: 700 28px/1.1 var(--pen-f); color: var(--pen); padding: 0 2px; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; } .notebook select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1a17' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center / 12px; }
.notebook ::placeholder { color: rgba(31,79,163,.32); opacity: 1; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .part { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--ink); border-radius: 12px; background: rgba(255,255,255,.7); } .part button { border: 0; background: none; padding: 5px 13px; font-size: 22px; color: var(--ink); } .part span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--grey); } .part b { display: block; font: 400 17px var(--hand); letter-spacing: 0; text-transform: none; color: var(--ink); }
.sw { display: flex; gap: 8px; flex-wrap: wrap; } .sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); padding: 0; } .sw button.on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--pen); }
.hintk { font-size: 16px; color: var(--grey); margin-top: 8px; }

/* ---------- 4 · the game ---------- */
.game { margin: 20px auto 0; width: min(480px, 100%); } .stage { position: relative; height: 230px; border-bottom: 3px solid var(--chalk); overflow: hidden; }
.miniboard { position: absolute; left: 6px; top: 8px; border: 2px solid rgba(241,243,234,.5); padding: 5px 8px; font-size: 15px; line-height: 1.15; color: rgba(241,243,234,.7); text-align: left; transform: rotate(-1deg); } .miniboard small { color: var(--yellow); font-size: 13px; }
.teacher { position: absolute; left: 50%; top: 8px; width: 92px; margin-left: -46px; transition: transform .16s; transform-origin: 50% 100%; } .teacher svg { width: 100%; display: block; } .teacher .f { display: none; } .stage.look .teacher .f { display: block; animation: snap .18s; } .stage.look .teacher .b { display: none; } .stage.warn .teacher { transform: rotate(-5deg); } .stage:not(.look):not(.warn).run .teacher .b { animation: writeb 1.1s infinite ease-in-out; }
@keyframes snap { from { transform: scaleX(.2); } } @keyframes writeb { 50% { transform: translate(2px, -2px) rotate(1.5deg); } }
.bubble { position: absolute; left: calc(50% + 44px); top: 6px; font-size: 20px; color: var(--pink); white-space: nowrap; opacity: 0; transition: opacity .15s; } .stage.look .bubble, .stage.warn .bubble { opacity: 1; } .stage.look .bubble { color: #ff8a8a; font-size: 23px; }
.benches { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: space-around; } .bn { width: 15%; aspect-ratio: 1 / .62; border: 2.5px solid var(--chalk); border-radius: 6px 6px 2px 2px; position: relative; transition: transform .15s; } .bn::after { content: ''; position: absolute; left: 24%; right: 24%; top: -19px; aspect-ratio: 1; border-radius: 50%; border: 2.5px solid var(--chalk); background: var(--chit, var(--board)); } .bn.has { transform: translateY(-4px); } .bn.has::after { background: var(--yellow); border-color: var(--yellow); } .stage.look .bn::after { transform: translateY(3px); }
.chit { position: absolute; bottom: 52px; left: 0; width: 24px; height: 18px; margin-left: -12px; background: var(--paper); border-radius: 3px; box-shadow: 0 3px 6px rgba(0,0,0,.4); background-image: linear-gradient(transparent 5px, #b9cfe3 5px 6px, transparent 6px 10px, #b9cfe3 10px 11px, transparent 11px); will-change: transform; } .stage.caught { animation: shake .4s; } @keyframes shake { 20% { transform: translateX(-8px) } 40% { transform: translateX(8px) } 60% { transform: translateX(-5px) } 80% { transform: translateX(4px) } }
.hudg { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 10px 0; } .hudg b { color: var(--yellow); font-size: 16px; }
.hold { width: 100%; margin-top: 12px; padding: 18px; font-size: 24px; user-select: none; touch-action: none; -webkit-user-select: none; } .hold.down { background: var(--chalk); color: var(--ink); } .gmsg { min-height: 1.4em; margin-top: 10px; color: var(--yellow); text-align: center; font-size: 21px; } .best { font-size: 17px; color: var(--dim); text-align: center; margin-top: 6px; }

/* ---------- 5 · soft board ---------- */
.softboard { padding: 12px; border-radius: 9px; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent 3%, transparent 97%, rgba(0,0,0,.25)), var(--grain); box-shadow: 0 2px 0 #4a2f18, 0 16px 34px rgba(60,40,15,.38); }
.banner { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: 14px 16px 12px; margin: 6px 6px -18px; transform: rotate(-.8deg); box-shadow: 3px 6px 12px rgba(0,0,0,.35); } .banner p:last-child { font-size: 18px; color: #4a443a; } .banner h2 { margin-top: 6px; } .banner::before, .banner::after { content: ''; position: absolute; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #c8372d 60%, #7a1d16); box-shadow: 0 3px 3px rgba(0,0,0,.4); } .banner::before { left: 8px; } .banner::after { right: 8px; background: radial-gradient(circle at 35% 30%, #9cc4f2, #2f6fb8 60%, #153a66); }
.cork { position: relative; width: 100%; height: 640px; border-radius: 3px; background: #b98a56; background-image: radial-gradient(rgba(60,35,10,.25) 1px, transparent 1.4px), radial-gradient(rgba(255,230,180,.18) 1px, transparent 1.4px), radial-gradient(ellipse at 30% 20%, rgba(255,235,190,.25), transparent 60%); background-size: 7px 7px, 11px 11px, auto; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4), inset 0 0 50px rgba(0,0,0,.35); overflow: hidden; touch-action: pan-y; }
.pin { position: absolute; background: #fff; padding: 6px 6px 4px; box-shadow: 0 6px 14px rgba(0,0,0,.35); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; color: var(--ink); will-change: transform; transition: box-shadow .2s; } .pin.up { box-shadow: 0 22px 34px rgba(0,0,0,.45); cursor: grabbing; } .pin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; pointer-events: none; background: #ccc; } .pin p { font-size: 15px; line-height: 1.05; padding: 5px 2px 1px; pointer-events: none; }
.pin::before { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #c8372d 60%, #7a1d16); box-shadow: 0 3px 4px rgba(0,0,0,.4); } .pin:nth-child(3n)::before { background: radial-gradient(circle at 35% 30%, #ffe08a, #d9a516 60%, #7a5a06); } .pin:nth-child(4n)::before { background: radial-gradient(circle at 35% 30%, #9cc4f2, #2f6fb8 60%, #153a66); }
.pin:nth-child(5n)::before { top: -9px; width: 56px; height: 18px; margin-left: -28px; border-radius: 1px; background: rgba(159,211,236,.8); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.lb { position: fixed; inset: 0; z-index: 95; background: rgba(8,16,12,.92); display: none; place-items: center; padding: 18px; } .lb.on { display: grid; } .lb figure { margin: 0; background: #fff; padding: 10px 10px 6px; max-width: min(720px, 100%); color: var(--ink); transform: rotate(-1deg); animation: pop2 .3s; } @keyframes pop2 { from { transform: scale(.85) rotate(4deg); opacity: 0; } } .lb img { width: 100%; max-height: 70vh; object-fit: contain; display: block; background: #111; } .lb figcaption { font-size: 22px; padding: 8px 4px 4px; line-height: 1.1; } .lb small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* ---------- 6 · votes ---------- */
.swipe { position: relative; width: min(320px, 84vw); height: 300px; margin: 22px auto 14px; } .vc { position: absolute; inset: 0; color: var(--ink); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; box-shadow: 0 12px 28px rgba(0,0,0,.45); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; background: linear-gradient(transparent 29px, var(--rule) 29px 30px) 0 10px / 100% 30px, var(--paper); clip-path: polygon(0 0, 100% 0, 100% 97%, 94% 100%, 88% 97%, 80% 100%, 72% 97%, 64% 100%, 55% 97%, 46% 100%, 38% 97%, 30% 100%, 21% 97%, 12% 100%, 5% 97%, 0 100%); }
.vc.drag { transition: none; } .vc h3 { font-family: var(--serif); font-size: 36px; line-height: 1; margin-top: 16px; } .vc .lr { display: flex; justify-content: space-between; gap: 10px; font-size: 20px; line-height: 1.05; margin-bottom: 10px; } .vc .lr span { flex: 1; padding: 10px 6px; border: 2px solid var(--ink); border-radius: 12px; display: grid; place-items: center; } .vc .lr span:first-child { background: #ffd0c8; } .vc .lr span:last-child { background: #c9ecd3; }
.vc small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); } .vc .say { position: absolute; top: 44%; font: 700 30px var(--pen-f); opacity: 0; } .vc .say.l { left: 14px; color: var(--red); transform: rotate(-12deg); } .vc .say.r { right: 14px; color: #1d6b3c; transform: rotate(12deg); }
.tally { display: grid; gap: 10px; width: min(440px, 100%); margin: 0 auto; } .tl { font-size: 17px; text-align: left; } .tl p { display: flex; justify-content: space-between; color: var(--dim); font-size: 16px; } .tl .bar { display: flex; height: 16px; border: 2px solid var(--chalk); border-radius: 3px 8px 4px 7px; overflow: hidden; } .tl .bar i { background: repeating-linear-gradient(-55deg, var(--pink) 0 3px, transparent 3px 6px); transition: width .7s cubic-bezier(.2,.8,.2,1); } .tl .bar i + i { background: repeating-linear-gradient(55deg, var(--blue) 0 3px, transparent 3px 6px); border-left: 2px solid var(--chalk); } .tl p b { font-weight: 400; color: var(--chalk); } .tl p .mine { color: var(--yellow); }

/* ---------- 7 · doodle ---------- */
.pad { position: relative; margin: 18px auto 12px; width: 100%; aspect-ratio: 4 / 3; max-height: 440px; border: 2px dashed var(--dim); border-radius: 10px; } .pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: 10px; } .pad span { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(241,243,234,.25); font-size: 26px; pointer-events: none; }
.chalks { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; padding: 8px 0; } .chalks button { width: 44px; height: 18px; border-radius: 4px; border: 0; transform: rotate(-6deg); box-shadow: 0 2px 4px rgba(0,0,0,.4); transition: transform .15s; } .chalks button.on { transform: rotate(-6deg) translateY(-7px); box-shadow: 0 9px 8px rgba(0,0,0,.4); }

/* ---------- 8 · paper planes ---------- */
.planes { padding: 6px 4px; } .subw { color: #4a443a; max-width: 46ch; }
.compose { position: relative; margin: 18px 0 0; padding: 16px 16px 16px 44px; max-width: 560px; background: linear-gradient(90deg, transparent 33px, #e9a3a3 33px 34.5px, transparent 34.5px), linear-gradient(transparent 31px, var(--rule) 31px 32px) 0 12px / 100% 32px, var(--paper); box-shadow: 5px 10px 22px rgba(60,40,15,.3); transform: rotate(-.7deg); transform-origin: 30% 50%; }
.compose textarea { width: 100%; border: 0; background: transparent; resize: none; outline: none; font: 700 28px/32px var(--pen-f); color: var(--pen); padding: 0; margin-top: 2px; } .compose textarea::placeholder { color: rgba(31,79,163,.32); } .compose .row { justify-content: space-between; margin-top: 8px; } .count { font: 500 11px var(--mono); color: var(--grey); }
.compose.fold { animation: fold .5s forwards cubic-bezier(.5,0,.8,.4); } @keyframes fold { 40% { transform: rotate(-3deg) scale(.9, .55); } to { transform: rotate(-14deg) scale(.12, .1); opacity: 0; } } .compose.back { animation: back .5s; } @keyframes back { from { transform: translateY(-30px) rotate(3deg); opacity: 0; } }
.throwmsg { min-height: 1.2em; font: 700 22px/1.1 var(--pen-f); color: var(--red); margin-top: 6px; }
.landed { margin: 26px 0 0; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #4a443a; } .landed b { font: 400 30px/1 var(--serif); color: var(--ink); vertical-align: -4px; margin-right: 4px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px 14px; margin-top: 16px; }
.note { position: relative; background: var(--paper); color: var(--ink); padding: 14px 10px 10px; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 3px 6px 12px rgba(60,40,15,.3); font-size: 19px; line-height: 1.12; transform: rotate(var(--r, 0deg)); transition: transform .2s; overflow-wrap: anywhere; } .note:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.note:nth-child(3n) { background: #fdeb8a; } .note:nth-child(4n+1) { background: #ffd9d2; } .note:nth-child(5n+2) { background: #d6ecf7; } .note::before { content: ''; position: absolute; top: -8px; left: 50%; width: 54px; height: 17px; margin-left: -27px; background: rgba(255,255,255,.6); box-shadow: 0 1px 2px rgba(0,0,0,.15); transform: rotate(-2deg); }
.note .who { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; } .note svg { width: 30px; height: 30px; border-radius: 50%; background: #fff9; flex: none; } .note .who span { overflow: hidden; text-overflow: ellipsis; }
.note.new { animation: land .7s cubic-bezier(.2,1.3,.4,1); } @keyframes land { from { transform: scale(.2) rotate(40deg); opacity: 0; } } .note.eg { opacity: .7; } .note.wait { outline: 2px dashed var(--grey); outline-offset: -6px; }
.note .x { position: absolute; top: 2px; right: 2px; width: 30px; height: 30px; border: 0; background: none; font: 400 20px/1 var(--hand); color: var(--grey); border-radius: 50%; } .note .x:hover { color: var(--red); } .note:has(.x) p { padding-right: 16px; }
.plane { position: fixed; z-index: 85; width: 52px; height: 52px; pointer-events: none; top: 0; left: 0; filter: drop-shadow(0 8px 6px rgba(0,0,0,.3)); }

/* ---------- 9 · the cup ---------- */
.cup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 210px; margin-top: 26px; border-bottom: 3px solid var(--chalk); padding: 0 6px; } .cup div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.cup i { display: block; width: 100%; min-height: 6px; height: 0; border: 2.5px solid var(--chalk); border-bottom: 0; border-radius: 8px 10px 0 0; transition: height 1.1s cubic-bezier(.2,.8,.2,1); background-image: repeating-linear-gradient(-55deg, currentColor 0 3px, transparent 3px 8px); opacity: .95; } .cup b { font-family: var(--disp); font-size: 28px; font-weight: 400; }
.cup svg { width: 34px; color: var(--yellow); opacity: 0; transform: translateY(8px) scale(.6); transition: .5s .6s; } .cup .lead svg { opacity: 1; transform: none; }
.cupn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; font-size: 17px; padding: 6px 6px 0; } .cupn .you { color: var(--yellow); }

/* ---------- 10 · the register ---------- */
.register { position: relative; max-width: 720px !important; padding: 22px 16px 24px 44px; color: var(--ink); background: linear-gradient(90deg, transparent 33px, #e9a3a3 33px 34.5px, transparent 34.5px), var(--noise), linear-gradient(180deg, #fffdf6, #f5edd6); background-blend-mode: normal, multiply, normal; box-shadow: 0 0 0 1px #d8cdb0, 8px 8px 0 -1px #efe6cf, 8px 8px 0 0 #d8cdb0, 16px 16px 0 -1px #efe6cf, 16px 16px 0 0 #d8cdb0, 22px 30px 34px rgba(60,40,15,.3); border-radius: 2px 10px 10px 2px; margin-bottom: 20px; }
.register::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 20px; background: linear-gradient(90deg, #1d4d33, #2c6a48); border-radius: 2px 0 0 2px; }
.register header { border-bottom: 3px double var(--ink); padding-bottom: 8px; } .register .exam { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.register .line { margin-top: 16px; } .ans3.big { margin-top: 16px; } .ans3.big .stampbtn { padding: 14px 4px; font-size: 13px; }
.rows { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 19px; } .rows th { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--grey); border-bottom: 2px solid var(--ink); padding: 4px 6px; } .rows td { border-bottom: 1px solid var(--rule); padding: 5px 6px; font: 700 24px/1.05 var(--pen-f); color: var(--pen); } .rows td:first-child { font: 500 11px var(--mono); color: var(--grey); width: 38px; } .rows td:nth-child(3) { font: 400 16px var(--hand); color: var(--ink); } .rows td:last-child { color: var(--red); width: 46px; text-align: center; } .rows th:last-child { text-align: center; }
.rows tr.me td { background: rgba(247,220,124,.4); } .rows tr.new td { animation: chalkin .8s; } .rows .none td { font: italic 400 18px var(--serif); color: var(--grey); }
.totals { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); } .totals b { font: 700 24px var(--pen-f); color: var(--red); letter-spacing: 0; vertical-align: -2px; }
.take { margin-top: 20px; }

footer { text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b5f48; padding: 26px 18px 118px; } footer svg { display: block; margin: 0 auto 8px; }
/* the dock is a wooden ruler */
.dock { max-width: calc(100vw - 12px); overflow-x: auto; scrollbar-width: none; position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 2px; padding: 11px 6px 6px; border-radius: 4px; box-shadow: 0 10px 26px rgba(40,20,0,.5), inset 0 1px 0 rgba(255,255,255,.4); background: repeating-linear-gradient(90deg, rgba(60,35,10,.7) 0 1px, transparent 1px 8px) 4px 0 / 100% 5px no-repeat, repeating-linear-gradient(90deg, rgba(60,35,10,.8) 0 1.5px, transparent 1.5px 40px) 4px 0 / 100% 9px no-repeat, linear-gradient(180deg, #f1cf7e, #dfb65c); } .dock::-webkit-scrollbar { display: none; }
.dock a, .dock button { color: #3a2412; text-decoration: none; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 9px; border-radius: 4px; white-space: nowrap; border: 0; background: none; display: grid; place-items: center; } .dock a.go { background: var(--red); color: #fff; } .dock a.at { background: rgba(60,35,10,.16); } .dock a.go.at { background: var(--red); box-shadow: 0 0 0 2px #fff inset; }
.dock .cross { display: none; } .dock [aria-pressed=true] .cross { display: block; } .dock [aria-pressed=true] .waves { display: none; }
.toasts { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 96; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: calc(100% - 24px); }
.toast { pointer-events: auto; border: 0; display: flex; align-items: center; gap: 8px; max-width: 100%; background: var(--board); color: var(--chalk); border: 3px solid var(--wood); border-radius: 6px; padding: 6px 12px; font: 400 18px/1.15 var(--hand); box-shadow: 0 10px 22px rgba(0,0,0,.4); animation: toast 4.6s forwards; text-align: left; } .toast svg { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff3; } .toast b { font-weight: 400; color: var(--yellow); }
@keyframes toast { 0% { transform: translateY(-70px) rotate(-3deg); opacity: 0; } 8%, 88% { transform: none; opacity: 1; } 100% { transform: translateY(-70px); opacity: 0; } }

@media (min-width: 860px) {
  body { font-size: 20px; } .sec { padding: 34px 24px; }
  .board { padding: 16px 16px 0; } .board:not(:has(.tray)) { padding-bottom: 16px; } .slate { padding: 50px 44px 58px; } .tray { height: 28px; }
  .wallrow { height: 168px; padding: 6px 60px 0; } .clock { width: 118px; } .bell { width: 78px; } .cal { width: 100px; } .cal strong { font-size: 54px; } .cal span { font-size: 18px; }
  .board.big .slate { padding-top: 22px; } .corner { font-size: 18px; } .corner span { font-size: 15px; } .crest { width: 58px; }
  .s1 { width: 90px; right: 90px; top: 150px; } .s2 { width: 200px; left: 40px; bottom: 40px; }
  .sheet { padding: 44px 54px 40px; } .deskin { padding: 44px 44px 48px; } .maker { grid-template-columns: 440px 1fr; gap: 40px; align-items: start; } .hangwrap { position: sticky; top: 20px; } .hang { width: 430px; } .notebook { margin-top: 30px; padding: 26px 26px 28px 56px; }
  .softboard { padding: 16px; } .banner { width: 62%; margin: 10px 10px -30px; padding: 20px 26px; } .planes { padding: 10px 20px; } .wall { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px; }
  .register { padding: 40px 44px 40px 78px; background: linear-gradient(90deg, transparent 58px, #e9a3a3 58px 59.5px, transparent 59.5px), var(--noise), linear-gradient(180deg, #fffdf6, #f5edd6); } .ans3.big { gap: 14px; } .ans3.big .stampbtn { font-size: 15px; padding: 18px 6px; }
  .dock a, .dock button { font-size: 11px; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; } html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; } }
