/* Pinned — instant prints on a corkboard. No external images: cork, pins, tape and doodles are CSS / inline SVG. */

:root {
  --cork: #c08d58;
  --paper: #fcfbf6;
  --ink: #27211c;
  --pencil: #655a50;
  --marker: #d12a24;
  --biro: #1f4fb0;
  --focus: #1238a8;
  --n0: #f9e27a; --n1: #f6b0c2; --n2: #a9d6ec; --n3: #c3e294; --n4: #f8bc7c; --n5: #d2c1ea;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --ui: 'Patrick Hand', 'Segoe Print', 'Comic Sans MS', system-ui, sans-serif;
  --mark: 'Permanent Marker', 'Caveat', 'Segoe Print', cursive;
  --cjk: system-ui, 'Malgun Gothic', 'Apple SD Gothic Neo', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans KR', 'Noto Sans TC', sans-serif;
  --gut: 40px;
  --tilt: 1;
  --lift: 0 1px 1px rgba(40, 20, 0, .28), 0 7px 12px -5px rgba(40, 20, 0, .55);
  --lift-hi: 0 2px 3px rgba(40, 20, 0, .22), 0 26px 34px -12px rgba(40, 20, 0, .62);
}
@media (max-width: 1100px) { :root { --gut: 28px; } }
@media (max-width: 700px)  { :root { --gut: 20px; } }
@media (max-width: 480px)  { :root { --gut: 16px; --tilt: .55; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 18px/1.35 var(--ui);
  background-color: var(--cork);
  /* cork: noise-generated dark + light granules, fine fibre and broad tone blotches; odd tile sizes so nothing lines up */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='257' height='257'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.21' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .27 0 0 0 0 .14 0 0 0 0 .05 9 0 0 0 -5.3'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.75'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='257' height='257' filter='url(%23a)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='233' height='233'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.26' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .84 0 0 0 0 .6 0 9 0 0 -5.6'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.42'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='233' height='233' filter='url(%23b)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='199' height='199'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .17 0 0 0 0 .06 0 0 3 0 -1.45'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='199' height='199' filter='url(%23c)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='419' height='419'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .22 0 0 0 0 .07 1.6 0 0 0 -.72'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.6'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='419' height='419' filter='url(%23d)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #c69560, #b9854f 60%, #b5814c);
  background-size: 257px 257px, 233px 233px, 199px 199px, 419px 419px, 100% 100%;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--paper); padding: 8px 14px; box-shadow: var(--lift); font: 18px var(--ui); }
.skip:focus { top: 10px; }

/* ------------------------------------------------------------------ header */
.top { max-width: calc(1360px + 2 * var(--gut)); margin: 0 auto; padding: 14px var(--gut) 0; }
.top-in { display: flex; align-items: center; gap: 14px 22px; min-height: 52px; }
.logo {
  position: relative; flex: none; display: inline-block; text-decoration: none;
  font: 31px/1 var(--mark); letter-spacing: .5px; color: var(--ink);
  background: var(--paper); padding: 9px 18px 7px 34px;
  transform: rotate(-2.2deg); box-shadow: var(--lift);
}
.logo::before { /* red push-pin */
  content: ''; position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 2px, transparent 3.5px), radial-gradient(circle, #e0463c 0 50%, #a3201a 100%);
  box-shadow: 2px 3px 2px -1px rgba(30, 15, 0, .5);
}
.tag {
  margin: 0; font: 700 25px/1.05 var(--hand); color: #3a2a17;
  background: #ead6ad; padding: 6px 14px 5px; transform: rotate(1deg); box-shadow: var(--lift);
}
.tag span { font-weight: 500; }
.when {
  margin: 0 0 0 auto; position: relative; flex: none;
  font: 17px/1.2 var(--ui); background: var(--paper); padding: 7px 14px 6px; transform: rotate(1.2deg); box-shadow: var(--lift);
}
.when::before { /* washi tape strip */
  content: ''; position: absolute; left: 50%; top: -9px; width: 54px; height: 16px; margin-left: -27px; transform: rotate(-4deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 5px, transparent 5px 10px), rgba(214, 120, 140, .72);
}

/* sticky-note tabs */
.tabs ul {
  position: relative; display: flex; gap: 8px; list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 16px var(--gut) 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(60, 35, 10, .45) transparent;
}
.tabs li { flex: none; }
.tab {
  --r: -1.5deg;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 56px; height: 54px; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%), var(--c, var(--n0));
  box-shadow: 0 1px 1px rgba(40, 20, 0, .22), 0 6px 7px -5px rgba(40, 20, 0, .6);
  transform: rotate(calc(var(--r) * var(--tilt)));
  transition: transform .18s ease, box-shadow .18s ease;
}
.tabs li:nth-child(3n+2) .tab { --r: 1.2deg; }
.tabs li:nth-child(3n) .tab { --r: -.4deg; }
.tab img { display: block; width: 24px; height: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.tb-c { font: 16px/1 var(--mark); }
.tab.board { width: 72px; }
.tb-ic { /* a tiny drawn grid of prints */
  width: 26px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 18'%3E%3Cg fill='%23fff' stroke='%2327211c' stroke-width='1.3'%3E%3Crect x='1.5' y='2' width='7' height='8' transform='rotate(-6 5 6)'/%3E%3Crect x='10' y='1.5' width='7' height='8' transform='rotate(4 13.5 5.5)'/%3E%3Crect x='18' y='2.5' width='7' height='8' transform='rotate(-3 21.5 6.5)'/%3E%3Crect x='5.5' y='9' width='7' height='8' transform='rotate(5 9 13)'/%3E%3Crect x='14' y='9.5' width='7' height='8' transform='rotate(-5 17.5 13.5)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.tab:hover { transform: translateY(-3px) rotate(0deg); box-shadow: 0 2px 2px rgba(40, 20, 0, .2), 0 12px 12px -7px rgba(40, 20, 0, .6); }
.tab[aria-current="page"] {
  transform: translateY(4px) scale(1.12) rotate(0deg); z-index: 1;
  box-shadow: 0 2px 2px rgba(40, 20, 0, .25), 0 12px 14px -7px rgba(40, 20, 0, .7);
}
.tab[aria-current="page"]::before {
  content: ''; position: absolute; top: -7px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 1.6px, transparent 3px), radial-gradient(circle, #e0463c 0 50%, #a3201a 100%);
  box-shadow: 1px 3px 2px -1px rgba(30, 15, 0, .55);
}
.c0 { --c: var(--n0); } .c1 { --c: var(--n1); } .c2 { --c: var(--n2); }
.c3 { --c: var(--n3); } .c4 { --c: var(--n4); } .c5 { --c: var(--n5); }

/* ------------------------------------------------------------------ board */
.wrap { max-width: calc(1360px + 2 * var(--gut)); margin: 0 auto; padding: 4px var(--gut) 30px; overflow-x: clip; }
.sec { margin: 0 0 54px; }

.note {
  display: inline-block; max-width: 100%; margin: 0 0 22px; font-weight: 400;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 50%), var(--c, var(--n0));
  box-shadow: 0 1px 1px rgba(40, 20, 0, .22), 0 8px 9px -6px rgba(40, 20, 0, .6);
  transform: rotate(calc(-1.1deg * var(--tilt)));
}
.sec:nth-child(even) .note { transform: rotate(calc(.9deg * var(--tilt))); }
.note > a, h1.note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 10px 18px 9px; text-decoration: none; color: var(--ink); }
.note img { display: block; width: 32px; height: 24px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.nn { font: 27px/1 var(--mark); }
.nc { font: 700 23px/1 var(--hand); color: #3b3026; }
.see { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.note > a { transition: transform .18s ease; }
.note > a:hover { transform: translateY(-2px); }
.note > a:hover .see { color: var(--marker); }
h1.note { margin: 0; }

.prints {
  --cols: 1;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 44px 34px; align-items: start;
  padding: 12px 0 18px;
}
@media (min-width: 560px)  { .prints { --cols: 2; gap: 40px 24px; } }
@media (min-width: 900px)  { .prints { --cols: 3; gap: 44px 30px; } }
@media (min-width: 1320px) { .prints { --cols: 4; gap: 46px 34px; } }

/* one instant print */
.print {
  --r: 0deg; --y: 0px; --pin: #d8342c; --pin-d: #9d1f19; --px: 50%;
  position: relative; display: block; padding: 13px 13px 0; text-decoration: none; color: var(--ink);
  background: linear-gradient(165deg, #fffefa, #f3f0e6);
  box-shadow: var(--lift);
  transform: translateY(var(--y)) rotate(calc(var(--r) * var(--tilt)));
  transition: transform .22s ease, box-shadow .22s ease;
}
.print:hover, .print:focus-visible {
  z-index: 2;
  transform: translateY(calc(var(--y) - 8px)) rotate(0deg) scale(1.02);
  box-shadow: var(--lift-hi);
}
.print:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.t0 { --r: -2.6deg; --y: 6px; }  .t1 { --r: 1.5deg; --y: -4px; } .t2 { --r: -.8deg; --y: 12px; }
.t3 { --r: 2.3deg; --y: 0px; }   .t4 { --r: -1.8deg; --y: -6px; } .t5 { --r: .7deg; --y: 10px; }
.t6 { --r: -2.9deg; --y: 2px; }  .t7 { --r: 1.9deg; --y: 8px; }  .t8 { --r: -.4deg; --y: -2px; }

/* fastener: k0–k3 push-pins, k4–k5 washi tape */
.print::before {
  content: ''; position: absolute; z-index: 3; top: -7px; left: var(--px); width: 19px; height: 19px; margin-left: -9.5px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 2.2px, transparent 3.8px), radial-gradient(circle, var(--pin) 0 50%, var(--pin-d) 100%);
  box-shadow: 3px 5px 3px -1px rgba(30, 15, 0, .45), inset -1px -2px 2px rgba(0, 0, 0, .2);
}
.k1 { --pin: #2f6fd6; --pin-d: #1b3f86; --px: 46%; }
.k2 { --pin: #2f9a52; --pin-d: #1b5c30; --px: 54%; }
.k3 { --pin: #f1bf2c; --pin-d: #a87b0c; --px: 48%; }
.k4::before, .k5::before {
  top: -14px; width: 96px; height: 27px; margin-left: -48px; border-radius: 0;
  box-shadow: none; transform: rotate(-4deg);
  clip-path: polygon(0 0, 100% 0, 97% 17%, 100% 34%, 97% 50%, 100% 67%, 97% 84%, 100% 100%, 0 100%, 3% 84%, 0 67%, 3% 50%, 0 34%, 3% 17%);
}
.k4::before { --px: 52%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px), rgba(238, 196, 86, .8); }
.k5::before {
  --px: 47%; transform: rotate(3deg);
  background: radial-gradient(circle, rgba(255, 255, 255, .6) 0 1.6px, transparent 2.2px) 0 0/9px 9px, rgba(126, 196, 178, .78);
}

.ph { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #3a322b; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), inset 0 0 22px rgba(0, 0, 0, .14); pointer-events: none; }

/* score: a round dot sticker stuck on the photo */
.dot {
  --dc: #ffd75a;
  position: absolute; z-index: 2; top: 23px; left: 23px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font: 19px/1 var(--ui); color: #241b12;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), transparent 58%), var(--dc);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 -2px 3px rgba(0, 0, 0, .12);
  transform: rotate(-8deg);
}
.d9 { --dc: #a5d86f; } .d8 { --dc: #ffd75a; } .d7 { --dc: #f6a861; }
.h .dot::after { /* hand-drawn heart in red marker for 9.5+ */
  content: ''; position: absolute; left: 42px; top: -8px; width: 32px; height: 30px; transform: rotate(16deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 26.5C8 20.5 2.8 14.6 3.6 9 4.4 3.8 10.6 2.4 13.8 6.1c1.3 1.5 2 3.2 2.2 3.9.6-1.6 1.9-4 4.3-5.4 3.9-2.2 8.7.1 8.4 5.3-.3 6.1-6.6 11.3-12.9 16.9' stroke='%23fff' stroke-width='5.5'/%3E%3Cpath d='M16 26.5C8 20.5 2.8 14.6 3.6 9 4.4 3.8 10.6 2.4 13.8 6.1c1.3 1.5 2 3.2 2.2 3.9.6-1.6 1.9-4 4.3-5.4 3.9-2.2 8.7.1 8.4 5.3-.3 6.1-6.6 11.3-12.9 16.9M15 25.4l2.4 1.9' stroke='%23d12a24' stroke-width='2.6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

/* caption in the thick bottom margin */
.cap { display: flex; flex-direction: column; height: 114px; padding: 9px 2px 11px; }
.nm {
  font: 700 25px/1 var(--hand); color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere;
}
.l .nm { -webkit-line-clamp: 1; line-clamp: 1; }
.lc { display: block; margin-top: 3px; font: 13px/1.3 var(--cjk); color: var(--pencil); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.wh { display: flex; flex-direction: column; min-width: 0; }
.tw { font: 500 21px/1.05 var(--hand); color: var(--pencil); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf {
  display: flex; align-items: center; gap: 3px; margin-top: 2px;
  font: 700 19px/1 var(--hand); color: var(--biro); white-space: nowrap; transform: rotate(-3deg); transform-origin: 0 50%;
}
.bf::before { /* little drawn cup */
  content: ''; flex: none; width: 19px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cg fill='none' stroke='%231f4fb0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5h10.6v3.6c0 2.3-1.9 4.3-4.2 4.3H7.2C4.9 14.4 3 12.4 3 10.1z'/%3E%3Cpath d='M13.8 7.6c3.1-.4 3.6 3.9.2 4.1M6.6 1.4c-1 1.1.9 1.9 0 3.1M10 1.4c-1 1.1.9 1.9 0 3.1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.pr { position: relative; flex: none; padding: 7px 14px 6px; font: 700 25px/1 var(--hand); color: var(--ink); white-space: nowrap; }
.pr::after { /* circled in red marker */
  content: ''; position: absolute; inset: -4px -5px -3px -6px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M28 8C50 2 92 3 108 12c12 7 9 22-8 28-20 7-58 8-80 2C4 37 3 24 12 15 20 8 42 4 64 5' fill='none' stroke='%23d12a24' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

/* ------------------------------------------------------------------ country toolbar */
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin: 2px 0 18px; }
.bar .note { flex: none; transform: rotate(calc(-1.4deg * var(--tilt))); }
.tools {
  flex: 1 1 620px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0;
  padding: 10px 18px 10px 40px; min-height: 60px;
  background:
    linear-gradient(90deg, transparent 24px, rgba(209, 42, 36, .45) 24px 25.5px, transparent 25.5px),
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(70, 120, 200, .2) 29px 30px),
    var(--paper);
  box-shadow: var(--lift); transform: rotate(calc(.35deg * var(--tilt)));
}
.tools label { display: flex; align-items: center; gap: 8px; }
.lb { font: 700 22px/1 var(--hand); color: var(--marker); }
.tools input[type="search"] {
  width: 15em; max-width: 100%; padding: 4px 2px 3px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 19px/1.2 var(--ui); -webkit-appearance: none; appearance: none;
}
.tools input[type="search"]::placeholder { color: #8a7f74; }
.tools select {
  font: 18px/1.2 var(--ui); color: var(--ink); padding: 4px 30px 4px 10px; border: 2px solid var(--ink); border-radius: 7px 10px 6px 11px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2327211c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center/12px 8px no-repeat, #fff;
}
.f-b { position: relative; cursor: pointer; font: 19px/1.2 var(--ui); }
.f-b input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.box { flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 3px 6px 4px 5px; background: #fff; }
.f-b input:checked + .box {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3.5 11.5l5 5.5C11 10 15 5 21 1.5' fill='none' stroke='%231f4fb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat, #fff;
}
.f-b input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.go { font: 18px var(--mark); padding: 4px 14px; border: 2px solid var(--ink); background: var(--n0); cursor: pointer; }
.status { margin: 0 0 0 auto; font: 600 20px/1 var(--hand); color: var(--pencil); white-space: nowrap; }

.empty {
  display: block; max-width: 520px; margin: 26px auto; padding: 18px 22px; text-align: center;
  font: 700 25px/1.2 var(--hand); background: var(--n1); box-shadow: var(--lift); transform: rotate(-1deg);
}
.empty a { display: inline-block; margin-top: 6px; font: 19px var(--ui); color: var(--biro); }

/* "Pin more" */
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 34px 0 10px; }
.more {
  position: relative; display: inline-block; padding: 16px 30px 13px; text-decoration: none; color: var(--ink);
  font: 23px/1 var(--mark); background: #f1dfbd; box-shadow: var(--lift);
  transform: rotate(-1.2deg); transition: transform .18s ease, box-shadow .18s ease;
}
.more::before {
  content: ''; position: absolute; top: -8px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 2px, transparent 3.6px), radial-gradient(circle, #2f6fd6 0 50%, #1b3f86 100%);
  box-shadow: 3px 5px 3px -1px rgba(30, 15, 0, .45);
}
.more:hover, .more:focus-visible { transform: translateY(-3px) rotate(0deg); box-shadow: var(--lift-hi); }
.left { font: 600 20px/1 var(--hand); background: var(--paper); padding: 4px 10px; box-shadow: var(--lift); transform: rotate(1deg); }

/* ------------------------------------------------------------------ footer */
.foot { max-width: calc(1360px + 2 * var(--gut)); margin: 0 auto; padding: 10px var(--gut) 44px; }
.foot-card {
  position: relative; max-width: 780px; margin: 0 auto; padding: 18px 24px 8px;
  font: 17px/1.45 var(--ui); background: var(--paper); box-shadow: var(--lift); transform: rotate(calc(-.5deg * var(--tilt)));
}
.foot-card::before {
  content: ''; position: absolute; left: 50%; top: -11px; width: 110px; height: 22px; margin-left: -55px; transform: rotate(2deg);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px), rgba(238, 196, 86, .8);
}
.foot-card p { margin: 0 0 10px; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 899px) {
  .tag span { display: none; }
}
@media (max-width: 700px) {
  .top { padding-top: 10px; }
  .top-in { gap: 10px 14px; min-height: 44px; }
  .logo { font-size: 25px; padding: 7px 13px 6px 28px; }
  .logo::before { left: 8px; width: 14px; height: 14px; margin-top: -8px; }
  .tag { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; }
  .when { font-size: 15px; padding: 5px 10px 4px; }
  .tabs ul { gap: 7px; padding-top: 14px; padding-bottom: 14px; }
  .tab { width: 50px; height: 48px; gap: 4px; }
  .tab.board { width: 62px; }
  .tab img { width: 22px; height: 16.5px; }
  .tb-c { font-size: 15px; }
  .bar { gap: 12px; margin-bottom: 12px; }
  .bar .note { max-width: 100%; }
  .note > a, h1.note { padding: 8px 14px 7px; gap: 3px 10px; }
  .nn { font-size: 23px; }
  .nc { font-size: 21px; }
  .note img { width: 28px; height: 21px; }
  .tools { flex-basis: 100%; gap: 8px 16px; padding: 8px 12px 8px 34px; }
  .tools { background:
    linear-gradient(90deg, transparent 20px, rgba(209, 42, 36, .45) 20px 21.5px, transparent 21.5px),
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(70, 120, 200, .2) 29px 30px),
    var(--paper); }
  .f-q { flex: 1 1 100%; }
  .f-s .lb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .tools select, .f-b { font-size: 17px; }
  .f-q input[type="search"] { flex: 1; width: auto; min-width: 0; }
  .status { flex: 1 1 100%; margin: -2px 0 0; font-size: 18px; }
  .sec { margin-bottom: 40px; }
}
@media (max-width: 380px) {
  .tools select, .f-b { font-size: 16px; }
  .tools select { padding-right: 26px; }
}

/* ------------------------------------------------------------------ reduced motion: prints stay put */
@media (prefers-reduced-motion: reduce) {
  .print, .tab, .note > a, .more { transition: none; }
  .print:hover, .print:focus-visible { transform: translateY(var(--y)) rotate(calc(var(--r) * var(--tilt))); }
  .tab:hover { transform: rotate(calc(var(--r) * var(--tilt))); }
  .tab[aria-current="page"] { transform: translateY(4px) scale(1.12); }
  .note > a:hover, .more:hover, .more:focus-visible { transform: none; }
}
