:root {
  color-scheme: light;
  --ink: #253b3a;
  --muted: #71807a;
  --line: #e8e7df;
  --paper: #fbfaf6;
  --cream: #f4f1e8;
  --sage: #e7eee4;
  --green: #466f5d;
  --green-dark: #355847;
  --pink: #f4dfda;
  --rose: #b96e68;
  --lilac: #e9e6f2;
  --yellow: #f5edcf;
  --shadow: 0 20px 55px rgba(49, 61, 53, .07);
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(91, 135, 109, .38);
  outline-offset: 3px;
}

.site-shell { max-width: 1240px; margin: 0 auto; padding: 0 44px; }
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(51, 71, 61, .1);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .025em;
}
.topbar-note, .topbar-link {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.topbar-link { text-decoration: none; }
.topbar-link:hover { color: var(--green-dark); text-decoration: underline; }
.brand-mark { display: inline-block; width: 31px; height: 31px; flex: 0 0 auto; image-rendering: pixelated; }
.brand-mark.small { width: 24px; height: 24px; }
.card-links a:hover, .help-link:hover { color: var(--green-dark); text-decoration: underline; }

.hero {
  min-height: 352px;
  margin: 33px 0 24px;
  padding: 45px 58px 44px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid #e8e5da;
  border-radius: 13px;
  background:
    radial-gradient(circle at 76% 34%, rgba(255,255,255,.78) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 66%, rgba(255,255,255,.78) 0 4px, transparent 5px),
    linear-gradient(108deg, #f4eee4 0%, #f0eee3 49%, #e5ede5 100%);
  background-size: 42px 42px, 42px 42px, auto;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .16;
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(88, 105, 82, .18) 7px 8px, transparent 8px 15px);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 54%, #000 100%);
}
.hero-copy { max-width: 530px; }
.eyebrow {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #89a387; }
.eyebrow.muted { color: #8a9289; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: .99;
  color: #314844;
}
h1 em { color: #6b8770; font-weight: 500; }
.hero-intro { max-width: 440px; margin: 19px 0 20px; color: #67756d; font-size: 14px; line-height: 1.75; }
.hero-meta { display: flex; align-items: center; gap: 9px; color: #758077; font-size: 11px; font-weight: 600; }
.meta-spark { color: #bf8870; font-size: 15px; }
.meta-divider { color: #bdc1b5; }
.hero-art { min-height: 255px; position: relative; }
.home-album { min-height: 320px; height: min(34vw, 370px); display: grid; place-items: center; perspective: 1200px; }
.home-album::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16% 9% 5%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61, 78, 62, .18), rgba(61, 78, 62, 0) 70%);
  filter: blur(17px);
}
.home-album-cover {
  width: min(100%, 460px);
  height: 306px;
  position: relative;
  padding: 11px;
  border: 1px solid rgba(40, 68, 51, .5);
  border-radius: 15px 18px 18px 14px;
  background: linear-gradient(135deg, #64836d, #405e4b 72%, #345342);
  box-shadow: 0 24px 33px rgba(41, 55, 43, .2), 0 4px 7px rgba(41, 55, 43, .12), inset 0 1px rgba(255,255,255,.42);
  transform: rotate(-3deg) rotateY(-7deg);
  transform-style: preserve-3d;
}
.home-album-cover::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(241, 234, 210, .34);
  border-radius: 10px 13px 13px 9px;
  pointer-events: none;
}
.home-album-page {
  height: 100%;
  position: relative;
  z-index: 1;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #d9cdb6;
  border-radius: 9px;
  background: linear-gradient(90deg, #f7f0e2 0%, #fcf8ed 49%, #e2d7c4 50%, #fbf7eb 51%, #f7f0e2 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 20px rgba(123, 101, 69, .1);
  transform: translateZ(5px);
}
.home-album-heading, .home-album-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #788274;
  font: 7px/1.2 "Space Mono", ui-monospace, monospace;
  letter-spacing: .1em;
}
.home-album-heading { padding: 1px 2px 8px; border-bottom: 1px solid rgba(125, 111, 84, .25); }
.home-album-heading span:first-child { color: #486b55; font-weight: 700; }
.home-album-spread { min-height: 0; flex: 1; display: grid; grid-template-columns: 1fr 17px 1fr; align-items: stretch; }
.home-album-leaf { min-width: 0; display: grid; place-items: center; padding: 7px 12px; }
.home-album-binding { display: flex; flex-direction: column; align-items: center; justify-content: space-around; border-left: 1px solid rgba(117, 99, 69, .22); border-right: 1px solid rgba(255,255,255,.65); }
.home-album-binding i { width: 9px; height: 9px; border: 2px solid #a48b60; border-radius: 50%; background: #f8f2e5; box-shadow: 0 1px 2px rgba(49, 44, 34, .18); }
.home-album-sleeve {
  width: min(100%, 112px);
  position: relative;
  padding: 4px;
  border: 1px solid rgba(139, 121, 87, .45);
  border-radius: 7px;
  background: rgba(255, 255, 255, .63);
  box-shadow: 0 4px 8px rgba(67, 56, 39, .15), inset 0 1px rgba(255,255,255,.9);
  transform: rotate(-2deg);
}
.home-album-leaf:last-child .home-album-sleeve { transform: rotate(2deg); }
.home-album-sleeve img { width: 100%; height: auto; display: block; border-radius: 4px; }
.home-album-footer { padding: 8px 2px 0; border-top: 1px solid rgba(125, 111, 84, .25); }
.home-album-footer span:last-child { color: #b88465; font-size: 12px; }
.yarn {
  position: absolute;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 1px solid rgba(108, 119, 96, .35);
  box-shadow: inset 0 0 0 5px rgba(242, 232, 209, .65), inset 0 0 0 7px rgba(108, 119, 96, .26), inset 0 0 0 15px rgba(242, 232, 209, .55), inset 0 0 0 17px rgba(108, 119, 96, .22), inset 0 0 0 27px rgba(242, 232, 209, .56), inset 0 0 0 29px rgba(108, 119, 96, .22);
  background: radial-gradient(circle, #e7c7b5 0 20%, #e4d4b9 21% 42%, #9bac91 43% 61%, #e3d2b7 62% 100%);
}
.yarn-one { top: 36px; right: 120px; transform: rotate(-18deg); }
.yarn-two { width: 104px; height: 104px; top: 114px; right: 41px; border-color: rgba(124, 98, 110, .3); background: radial-gradient(circle, #d9b5b6 0 20%, #d9c0c0 21% 42%, #b9b1ca 43% 62%, #e9dfd3 63% 100%); box-shadow: inset 0 0 0 4px rgba(249, 240, 224, .7), inset 0 0 0 6px rgba(124, 98, 110, .23), inset 0 0 0 12px rgba(249, 240, 224, .68), inset 0 0 0 14px rgba(124, 98, 110, .2), inset 0 0 0 20px rgba(249, 240, 224, .64); }
.needle {
  height: 2px;
  width: 148px;
  position: absolute;
  border-radius: 8px;
  background: #b78c65;
  box-shadow: 0 1px 2px rgba(75, 62, 45, .15);
}
.needle-one { top: 119px; right: 133px; transform: rotate(39deg); }
.needle-two { top: 156px; right: 99px; width: 115px; transform: rotate(-35deg); background: #849579; }
.art-label {
  position: absolute;
  right: 0;
  bottom: 12px;
  padding: 11px 15px;
  border: 1px solid rgba(161, 148, 119, .32);
  border-radius: 6px;
  background: rgba(251, 249, 241, .75);
  color: #798177;
  font: 11px/1.45 "Plus Jakarta Sans", sans-serif;
  transform: rotate(3deg);
}
.art-label b { color: #536f5d; font-size: 12px; }

.profile-hero {
  min-height: 0;
  padding: 18px 32px;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  align-items: center;
  gap: 28px;
  border-radius: 22px;
  border-color: #e8e2d7;
  background:
    radial-gradient(circle, rgba(162, 145, 119, .17) .7px, transparent .9px) 0 0 / 21px 21px,
    #f3efea;
}
.profile-hero::after { display: none; }
.profile-copy { min-width: 0; }
.profile-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: #8c877e; font-size: 12px; }
.profile-breadcrumbs a { color: inherit; text-decoration: none; }
.profile-breadcrumbs a:hover { color: #3d7653; text-decoration: underline; }
.profile-breadcrumbs span[aria-current="page"] { color: #26231f; font-weight: 700; }
.profile-hero h1 { margin: 23px 0 0; color: #1e1c19; font-size: clamp(44px, 5vw, 66px); line-height: .98; }
.profile-hero h1 span, .profile-hero h1 em { display: block; }
.profile-hero h1 em { margin-top: 3px; color: #3d7653; font-weight: 500; }
.profile-intro { max-width: 740px; margin: 21px 0 19px; color: #5c5851; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.5; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-badge { min-height: 34px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e8e2d7; border-radius: 999px; background: #fff; color: #5c5851; font-size: 11px; font-weight: 600; line-height: 1.3; }
.profile-badge-medium { border-color: #d5e7d7; background: #edf5ed; color: #315d3e; }
.profile-feature { width: min(100%, 410px); margin: 0 auto; }
.profile-feature-image { width: 100%; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(50, 45, 37, .09)); }
.profile-hero h1 { margin-top: 14px; font-size: clamp(40px, 4.3vw, 56px); }
.profile-intro { margin: 10px 0 11px; line-height: 1.45; }
.profile-hero + .collection-panel { padding: 13px 20px; }
.profile-hero + .collection-panel .panel-heading { margin-bottom: 8px; }
.profile-hero + .collection-panel .panel-heading .eyebrow { display: none; }
.profile-hero + .collection-panel h2 { font-size: 21px; }
.profile-hero + .collection-panel .progress-numbers { margin-bottom: 6px; }
.profile-hero + .collection-panel .progress-numbers strong { font-size: 23px; }
.profile-hero + .collection-panel .progress-numbers small { font-size: 13px; }
.profile-hero + .collection-panel .progress-caption { margin-top: 5px; }
.profile-hero + .collection-panel + .cards-section { padding-top: 24px; }
.profile-hero + .collection-panel + .cards-section .cards-heading h2 { font-size: 27px; }

.artist-profile--yuka-morii {
  border-color: #eadbd0;
  background:
    radial-gradient(circle, rgba(171, 115, 86, .13) .7px, transparent .9px) 0 0 / 21px 21px,
    #f5eee8;
}
.artist-profile--yuka-morii h1 em { color: #a95f47; }
.artist-profile--yuka-morii .profile-badge-medium {
  border-color: #ead4c9;
  background: #fbefea;
  color: #92523d;
}
.artist-profile--yuka-morii .profile-feature {
  width: min(100%, 450px);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.artist-profile--yuka-morii .profile-feature-image {
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(76, 61, 37, .2));
}

.artist-profile--shinji-kanda {
  border-color: #d7dce1;
  background:
    radial-gradient(circle, rgba(42, 88, 116, .14) .7px, transparent .9px) 0 0 / 21px 21px,
    #f0efed;
}
.artist-profile--shinji-kanda h1 em { color: #286c8d; }
.artist-profile--shinji-kanda .profile-badge-medium {
  border-color: #d1e0e6;
  background: #eaf2f4;
  color: #315d70;
}
.artist-profile--shinji-kanda .profile-feature {
  width: min(100%, 470px);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.artist-profile--shinji-kanda .profile-feature-image {
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(28, 39, 46, .2));
}

.artist-profile--tomokazu-komiya {
  border-color: #e5ddd0;
  background:
    radial-gradient(circle, rgba(160, 127, 83, .12) .7px, transparent .9px) 0 0 / 21px 21px,
    #f3efe8;
}
.artist-profile--tomokazu-komiya h1 em { color: #b44f3c; }
.artist-profile--tomokazu-komiya .profile-badge-medium {
  border-color: #ead9b8;
  background: #faf1dd;
  color: #8c5624;
}
.artist-profile--tomokazu-komiya .profile-feature {
  width: min(100%, 470px);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.artist-profile--tomokazu-komiya .profile-feature-image {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  filter: drop-shadow(0 5px 4px rgba(76, 61, 37, .12)) drop-shadow(0 19px 14px rgba(76, 61, 37, .15)) drop-shadow(0 32px 25px rgba(76, 61, 37, .1));
}

.home-hero {
  min-height: 374px;
  border-color: #e5ddd0;
  border-radius: 22px;
  background:
    radial-gradient(circle, rgba(160, 127, 83, .11) .7px, transparent .9px) 0 0 / 21px 21px,
    #f3efe8;
}
.home-hero::after { display: none; }
  .home-hero .hero-copy { max-width: 580px; }
.home-hero .hero-meta { margin-top: 23px; padding-top: 14px; border-top: 1px dashed #d8cec0; }
.home-hero h1 { font-size: clamp(48px, 5.8vw, 72px); }
.artist-directory { margin: 42px 0 29px; }
.directory-heading {
  margin-bottom: 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.directory-heading .eyebrow { margin-bottom: 7px; }
.directory-intro { max-width: 340px; margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.artist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.artist-tile {
  position: relative;
  min-height: 0;
  padding: 21px 24px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8e2d7;
  border-radius: 19px;
  color: #1e1c19;
  background: #fff;
  box-shadow: 0 6px 22px rgba(50, 45, 37, .035);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.artist-tile:hover { transform: translateY(-3px); border-color: rgba(61, 118, 83, .32); box-shadow: 0 18px 40px rgba(49, 61, 53, .09); }
.tile-topline { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile-medium { display: inline-flex; align-items: center; gap: 5px; max-width: 78%; padding: 5px 11px; border-radius: 9px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.tile-medium span { font-size: 13px; }
.tile-years { flex: 0 0 auto; color: #8c877e; font: 11px/1.3 "Space Mono", ui-monospace, monospace; }
.tile-sage .tile-medium { background: #edf5ed; color: #315d3e; }
.tile-rose .tile-medium { background: #fbf0eb; color: #a64d2d; }
.tile-lilac .tile-medium { background: #f2eef9; color: #584680; }
.tile-gold .tile-medium { background: #f8f2df; color: #89620a; }
.tile-sky .tile-medium { background: #edf2f6; color: #304c66; }
.tile-name { margin: 12px 0 5px; color: #26231f; font: 600 32px/1.1 Fraunces, Georgia, serif; letter-spacing: -.035em; }
.tile-description { margin: 0 0 13px; overflow: hidden; color: #5c5851; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tile-progress { margin-top: auto; padding: 11px 14px 10px; border-radius: 12px; background: #f3efea; }
.tile-progress-numbers { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #69645c; font-size: 12px; }
.tile-owned-count { color: #3d7653; }
.tile-total-count { color: #5c5851; }
.tile-percent { color: #8c877e; font: 700 11px/1 "Space Mono", ui-monospace, monospace; }
.tile-progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #d9d1c4; }
.tile-progress-fill { width: 0; height: 100%; display: block; border-radius: inherit; background: #3d7653; transition: width .25s ease; }
.tile-footer { min-height: 55px; margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e8e2d7; }
.tile-action { color: #27241f; text-decoration: none; font-size: 13px; font-weight: 700; }
.tile-action:hover { color: #3d7653; }
.tile-action span { margin-left: 3px; font-size: 16px; }
.tile-action::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
.home-note { margin: 31px 0 35px; padding: 17px 20px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.home-note-mark { color: #bb8b71; font-size: 18px; }
.home-note p { margin: 0; color: var(--muted); font-size: 11px; }
.no-script-note { grid-column: 1 / -1; padding: 12px; border-radius: 6px; background: #f5f1e8; color: var(--muted); font-size: 11px; }

.collection-panel {
  padding: 26px 31px 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.panel-heading, .progress-layout, .progress-numbers, .progress-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-heading { margin-bottom: 20px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
h2 { margin: 0; color: #304740; font-size: 25px; line-height: 1.15; }
.save-note { display: inline-flex; align-items: center; gap: 7px; color: #828c82; font-size: 11px; font-weight: 500; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: #84a286; box-shadow: 0 0 0 3px #edf4ed; }
.progress-layout { gap: 32px; }
.progress-main { flex: 1; min-width: 190px; }
.progress-numbers { align-items: baseline; margin-bottom: 9px; }
.progress-numbers strong { font-size: 26px; line-height: 1; color: #375947; letter-spacing: -.04em; }
.progress-numbers small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: #77847b; }
.progress-numbers > span { color: #82927f; font-size: 12px; font-weight: 700; }
.progress-track { width: 100%; height: 8px; overflow: hidden; border-radius: 20px; background: #edf0e9; }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #a9c19f, #658d70); transition: width .35s ease; }
.progress-caption { margin-top: 8px; gap: 10px; color: #89918a; font-size: 10px; }
.progress-note { color: #89918a; font-size: 10px; }
.missing-filter-button {
  min-height: 29px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e4eadf;
  border-radius: 999px;
  background: #f7f8f3;
  color: #536d5a;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.missing-filter-button:hover:not(:disabled) { border-color: #c7d9c6; color: #315d3e; transform: translateY(-1px); }
.missing-filter-button[aria-pressed="true"] { border-color: #c7d9c6; background: #eaf2e8; color: #315d3e; }
.missing-filter-button:disabled { cursor: default; opacity: .62; }
.missing-filter-button:focus-visible { outline: 3px solid rgba(91, 135, 109, .3); outline-offset: 2px; }
.missing-filter-count { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; background: #e7ecdf; color: #49674f; font-size: 9px; line-height: 1; }
.missing-filter-arrow { color: #78917a; font-size: 13px; line-height: 1; }
.missing-filter-button[aria-pressed="true"] .missing-filter-arrow { transform: rotate(180deg); }
.progress-actions { display: flex; gap: 9px; }
.button {
  min-height: 41px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 4px 10px rgba(66, 107, 83, .14); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: #dfe5dc; background: #fff; color: #4b6855; }
.button-secondary:hover { background: #f6f8f4; border-color: #c5d4c6; }

.cards-section { padding: 55px 0 25px; }
.cards-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.cards-heading .eyebrow { margin-bottom: 7px; }
.cards-heading h2 { font-size: 30px; }
.list-tools { display: flex; align-items: center; gap: 10px; }
.sort-toggle {
  min-height: 39px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e2e5dd;
  border-radius: 7px;
  background: #fff;
  color: #69786c;
  cursor: pointer;
  font: 600 11px/1 "Plus Jakarta Sans", sans-serif;
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease;
}
.sort-toggle:hover { border-color: #c7d9c6; background: #f7f8f3; color: #315d3e; transform: translateY(-1px); }
.sort-toggle:focus-visible { outline: 3px solid rgba(91, 135, 109, .3); outline-offset: 2px; }
.sort-toggle-icon { color: #78917a; font-size: 15px; line-height: 1; }
.search-box {
  width: 257px;
  height: 39px;
  padding: 0 10px 0 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e2e5dd;
  border-radius: 7px;
  background: #fff;
  color: #8b968a;
}
.search-box > span { font-size: 20px; line-height: 1; transform: rotate(-16deg); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #9ca49a; }
.search-box kbd { padding: 2px 4px; border: 1px solid #ebede7; border-radius: 4px; color: #9ca39a; font-family: inherit; font-size: 9px; }
.card-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.loading-message { grid-column: 1 / -1; padding: 24px; color: #78867b; font-size: 13px; text-align: center; }
.year-heading { grid-column: 1 / -1; margin: 17px 0 -2px; display: flex; align-items: center; gap: 12px; color: #90998f; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.year-heading:first-child { margin-top: 2px; }
.year-heading i { height: 1px; flex: 1; background: #e9ebe5; }
.card-row {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ebebe5;
  border-radius: 11px;
  background: rgba(255,255,255,.9);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card-row:hover { border-color: #d5e0d4; box-shadow: 0 7px 18px rgba(52, 73, 58, .08); transform: translateY(-2px); }
.card-row.is-owned { background: #f7faf5; border-color: #cbdcc9; }
.card-image-frame {
  width: 100%;
  aspect-ratio: 2.5 / 3.5;
  margin-bottom: 11px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 8px;
  background: linear-gradient(145deg, #f2efe5, #e9eee6);
}
.card-image { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 5px 7px rgba(33, 48, 38, .18)); }
.card-image-frame.image-unavailable { color: #839084; font-size: 11px; text-align: center; }
.caught-stamp {
  width: 82px;
  height: 82px;
  position: absolute;
  right: -12px;
  bottom: -12px;
  z-index: 3;
  display: block;
  color: #c9473e;
  mix-blend-mode: multiply;
  opacity: .76;
  transform: rotate(-7deg) scale(.96);
  pointer-events: none;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1), filter .2s ease;
}
.card-row:hover .caught-stamp, .card-row:focus-within .caught-stamp { opacity: .94; transform: rotate(-10deg) scale(1.08); filter: drop-shadow(0 2px 3px rgba(121, 42, 31, .22)); }
.caught-stamp svg { width: 100%; height: 100%; overflow: visible; }
.caught-stamp .ball-top { fill: currentColor; }
.caught-stamp .ball-wear { fill: #fff3e7; opacity: .58; }
.caught-stamp .ball-wear path { fill: none; stroke: #fff3e7; stroke-width: 1.2; stroke-linecap: round; }
.caught-stamp .ball-band { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.caught-stamp .ball-outline { fill: none; stroke: currentColor; stroke-width: 3.8; stroke-linecap: round; stroke-dasharray: 112 2 55 3 54; }
.caught-stamp .ball-button-ring { fill: #fff3e7; stroke: currentColor; stroke-width: 3; }
.caught-stamp .ball-button { fill: currentColor; }
.card-own-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 1;
  border: 1px solid rgba(229, 223, 211, .9);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 8px rgba(30, 45, 35, .14);
  cursor: pointer;
}
.card-own-toggle .checkmark { width: 24px; height: 24px; }
.own-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkmark { width: 21px; height: 21px; display: grid; place-items: center; border: 1.5px solid #c9d1c6; border-radius: 50%; background: #fff; color: #47724f; transition: all .18s ease; }
.checkmark svg { width: 15px; height: 15px; overflow: visible; opacity: 0; transform: rotate(-8deg) scale(.55); transition: opacity .16s ease, transform .18s ease; }
.checkmark path { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.own-toggle input:focus-visible + .checkmark { outline: 3px solid rgba(91, 135, 109, .38); outline-offset: 3px; }
.own-toggle input:checked + .checkmark { border-color: #4d7456; border-radius: 47% 53% 49% 51%; background: #64876c; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px rgba(255, 255, 255, .95); transform: rotate(-9deg); }
.own-toggle input:checked + .checkmark svg { opacity: 1; transform: rotate(-9deg) scale(1); }
.card-info { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.card-copy { min-width: 0; }
.card-title-line { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.card-copy h3 { overflow: hidden; margin: 0; color: #334841; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.card-copy p { min-height: 26px; margin: 4px 0 0; overflow: hidden; color: #8d978c; font-size: 10px; line-height: 1.4; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row-dot { padding: 0 3px; color: #c0c6bc; }
.owned-tag { flex: 0 0 auto; color: #a3aba1; font-size: 9px; font-weight: 600; white-space: nowrap; }
.is-owned .owned-tag { color: #6d8b70; }
.collector-number { justify-self: end; align-self: start; padding: 4px 7px; border-radius: 5px; background: #f3f2eb; color: #737c70; font-size: 10px; font-weight: 700; white-space: nowrap; }
.is-owned .collector-number { background: #edf3e8; color: #67806b; }
.card-links { margin-top: 9px; padding-top: 8px; display: flex; gap: 13px; border-top: 1px solid #eff0e9; }
.card-links a { color: #829084; text-decoration: none; font-size: 9px; font-weight: 600; }
.card-links a span { color: #9fa99d; }
.empty-state { padding: 58px 18px; text-align: center; color: #8b968c; }
.empty-state h3 { margin: 10px 0 4px; color: #53685b; font: 500 23px Fraunces, Georgia, serif; }
.empty-state p { margin-bottom: 10px; font-size: 12px; }
.empty-flower { color: #c4947b; font-size: 26px; }
.text-button { padding: 6px 0; border: 0; background: none; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button:hover { color: var(--green-dark); text-decoration: underline; }

.shopping-note {
  margin: 34px 0 46px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e6e8dd;
  border-radius: 10px;
  background: linear-gradient(105deg, #f4f4eb, #f3f7f0);
}
.shopping-note-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #d7e1d3; border-radius: 50%; background: #fbfcf7; color: #62816b; font-size: 18px; }
.shopping-note > div:nth-child(2) { flex: 1; }
.shopping-note h2 { margin-bottom: 4px; font-size: 18px; }
.shopping-note p { max-width: 690px; margin: 0; color: #7d897e; font-size: 11px; line-height: 1.6; }
.shopping-note .text-button { white-space: nowrap; }

.footer { padding: 19px 0 27px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: #9ba29a; }
.footer-brand { color: #718076; font-size: 10px; }
.footer p { margin: 0; font-size: 9px; line-height: 1.5; }

.shopping-dialog {
  width: min(555px, calc(100vw - 26px));
  max-height: min(92vh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid #e6e7df;
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(29, 47, 39, .22);
}
.shopping-dialog::backdrop { background: rgba(37, 51, 45, .42); backdrop-filter: blur(2px); }
.dialog-top { height: 0; margin: 0; position: sticky; top: 0; z-index: 1; }
.close-button { width: 34px; height: 34px; position: absolute; right: 15px; top: 15px; display: grid; place-items: center; border: 1px solid #e4e6de; border-radius: 50%; background: #fff; color: #647269; cursor: pointer; font-size: 21px; line-height: 1; }
.dialog-content { padding: 34px 34px 29px; }
.dialog-content .eyebrow { margin-bottom: 7px; }
.dialog-content h2 { margin-bottom: 9px; font-size: 30px; }
.dialog-intro { max-width: 445px; margin-bottom: 17px; color: #79857c; font-size: 12px; line-height: 1.65; }
.shopping-summary { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shopping-count { color: #77837a; font-size: 11px; }
.shopping-count b { color: #43664f; font-size: 14px; }
.condition-chip { padding: 5px 8px; display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; background: #eef3e9; color: #627866; font-size: 9px; font-weight: 700; }
.condition-chip span { width: 6px; height: 6px; border-radius: 50%; background: #7e9b7d; }
.mass-entry-preview { overflow: hidden; border: 1px solid #e6e6dc; border-radius: 8px; background: #fff; }
.preview-head { padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edede7; color: #929990; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.copy-button { padding: 4px 6px; border: 0; border-radius: 4px; background: #f4f7f1; color: #53715c; cursor: pointer; font-size: 9px; font-weight: 700; }
.mass-entry-preview pre { max-height: 137px; margin: 0; padding: 11px; overflow: auto; color: #64736a; font: 10px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.dialog-actions { margin-top: 13px; display: flex; gap: 8px; }
.dialog-actions .button { flex: 1; min-height: 40px; }
.affiliate-disclosure { margin: 9px 0 0; color: #7d887f; font-size: 9px; }
.shopping-steps { margin: 20px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.shopping-steps li { display: grid; grid-template-columns: 21px 1fr; gap: 9px; align-items: start; }
.shopping-steps li > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e8eee4; color: #608069; font-size: 9px; font-weight: 700; }
.shopping-steps p { margin: 1px 0 0; color: #768179; font-size: 10px; line-height: 1.6; }
.shopping-steps b { color: #536b59; }
.dialog-footnote { margin: 18px 0 7px; color: #9aa199; font-size: 9px; line-height: 1.55; }
.help-link { color: #7e8e7f; font-size: 9px; font-weight: 600; text-decoration: none; }
.help-link span { color: #9aa698; }
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: #344f40;
  color: #fff;
  box-shadow: 0 10px 26px rgba(35, 49, 39, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  font-size: 11px;
}
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-shell { padding: 0 26px; }
  .hero { padding: 38px 38px; grid-template-columns: 1fr .65fr; }
  .profile-hero { padding: 18px 25px; gap: 25px; }
  .yarn-one { right: 74px; }
  .yarn-two { right: 8px; }
  .needle-one { right: 87px; }
  .needle-two { right: 62px; }
  .progress-layout { align-items: stretch; flex-direction: column; gap: 17px; }
  .profile-hero + .collection-panel .progress-layout { align-items: center; flex-direction: row; gap: 18px; }
  .progress-actions { justify-content: flex-end; }
  .card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer p { order: 3; grid-column: 1 / -1; }
  .artist-grid { gap: 13px; }
  .artist-tile { min-height: 0; padding: 19px 20px 0; }
  .tile-name { font-size: 29px; }
  .tile-description { margin-bottom: 11px; font-size: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .site-shell { padding: 0 16px; }
  .topbar { height: 62px; }
  .brand { font-size: 11px; }
  .brand-mark { width: 27px; height: 27px; }
  .topbar-note { font-size: 9px; }
  .topbar-link { font-size: 10px; }
  .hero { min-height: 0; margin-top: 18px; padding: 31px 24px 27px; display: block; }
  .profile-hero { margin: 18px 0 14px; padding: 21px 18px 16px; }
  .profile-breadcrumbs { gap: 8px; font-size: 10px; }
  .profile-hero h1 { margin-top: 14px; font-size: clamp(37px, 10vw, 46px); }
  .profile-intro { margin: 12px 0 12px; font-size: 14px; line-height: 1.45; }
  .profile-badges { gap: 6px; }
  .profile-badge { min-height: 29px; padding: 5px 9px; font-size: 10px; }
  .profile-feature { width: min(100%, 200px); margin-top: 10px; }
  .artist-profile--tomokazu-komiya .profile-feature { width: min(100%, 330px); margin: 12px auto 8px; }
  .artist-profile--yuka-morii .profile-feature { width: min(100%, 290px); }
  .artist-profile--shinji-kanda .profile-feature { width: min(100%, 300px); }
  .hero-copy { position: relative; z-index: 1; max-width: 100%; }
  h1 { font-size: 49px; }
  .hero-intro { max-width: 370px; margin: 14px 0 14px; font-size: 12px; }
  .home-hero h1 { font-size: 45px; }
  .hero-art { position: absolute; top: 2px; right: -2px; width: 155px; height: 167px; min-height: 0; opacity: .38; }
  .hero-art.home-album { position: relative; top: auto; right: auto; width: 100%; height: 224px; min-height: 0; margin: 14px auto 0; opacity: 1; }
  .home-album-cover { width: min(100%, 360px); height: 216px; padding: 8px; transform: rotate(-2deg) rotateY(-4deg); }
  .home-album-page { padding: 9px 10px 7px; gap: 7px; }
  .home-album-heading, .home-album-footer { font-size: 6px; }
  .home-album-leaf { padding: 5px 8px; }
  .home-album-sleeve { width: min(100%, 96px); padding: 3px; }
  .yarn-one { width: 102px; height: 102px; top: 21px; right: 35px; box-shadow: inset 0 0 0 4px rgba(242,232,209,.7), inset 0 0 0 6px rgba(108,119,96,.25), inset 0 0 0 13px rgba(242,232,209,.6), inset 0 0 0 15px rgba(108,119,96,.22), inset 0 0 0 22px rgba(242,232,209,.6); }
  .yarn-two, .art-label { display: none; }
  .needle-one { width: 104px; top: 76px; right: 54px; }
  .needle-two { width: 87px; top: 104px; right: 23px; }
  .artist-directory { margin-top: 31px; }
  .directory-heading { align-items: start; flex-direction: column; gap: 8px; }
  .directory-heading h2 { font-size: 24px; }
  .directory-intro { font-size: 11px; }
  .artist-grid { grid-template-columns: 1fr; gap: 12px; }
  .artist-tile { min-height: 0; padding: 18px 18px 0; border-radius: 16px; }
  .tile-medium { max-width: 74%; font-size: 10px; }
  .tile-years { font-size: 9px; }
  .tile-name { margin-top: 11px; font-size: 27px; }
  .tile-description { margin-bottom: 11px; font-size: 11px; }
  .tile-progress { padding: 10px 12px; }
  .tile-progress-numbers { font-size: 11px; }
  .tile-footer { min-height: 52px; margin-top: 10px; }
  .tile-action { font-size: 11px; }
  .home-note { margin: 23px 0 28px; padding: 14px; }
  .collection-panel { padding: 14px 15px 13px; }
  .profile-hero + .collection-panel { padding: 14px 15px 13px; }
  .panel-heading { align-items: center; margin-bottom: 10px; }
  .panel-heading .eyebrow { display: none; }
  .panel-heading h2 { font-size: 18px; }
  .profile-hero + .collection-panel h2 { font-size: 18px; }
  .save-note { margin-top: 0; font-size: 9px; white-space: nowrap; }
  .progress-layout { gap: 10px; }
  .profile-hero + .collection-panel .progress-layout { align-items: stretch; flex-direction: column; gap: 10px; }
  .progress-numbers { margin-bottom: 6px; }
  .progress-numbers strong { font-size: 21px; }
  .progress-numbers small { font-size: 12px; }
  .profile-hero + .collection-panel .progress-numbers strong { font-size: 21px; }
  .profile-hero + .collection-panel .progress-numbers small { font-size: 12px; }
  .progress-track { height: 7px; }
  .progress-caption { margin-top: 5px; }
  .progress-note { display: none; }
  .missing-filter-button { max-width: 100%; min-height: 28px; gap: 5px; padding: 4px 7px; font-size: 9px; }
  .missing-filter-count { min-width: 17px; height: 17px; font-size: 8px; }
  .progress-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-height: 36px; padding: 0 7px; font-size: 9px; }
  .cards-section { padding-top: 24px; }
  .profile-hero + .collection-panel + .cards-section { padding-top: 24px; }
  .cards-heading { align-items: stretch; flex-direction: column; gap: 8px; }
  .cards-heading .eyebrow { margin-bottom: 3px; }
  .cards-heading h2 { font-size: 23px; }
  .profile-hero + .collection-panel + .cards-section .cards-heading h2 { font-size: 23px; }
  .search-box { width: auto; min-width: 0; flex: 1; }
  .search-box kbd { display: none; }
  .list-tools { width: 100%; gap: 7px; }
  .sort-toggle { min-height: 34px; padding: 0 9px; gap: 5px; font-size: 9px; }
  .sort-toggle-icon { font-size: 13px; }
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-row { padding: 8px; }
  .card-image-frame { margin-bottom: 8px; }
  .card-copy h3 { font-size: 12px; }
  .card-copy p { font-size: 9px; }
  .collector-number { padding: 4px 5px; font-size: 9px; }
  .card-links { gap: 11px; }
  .shopping-note { margin: 24px 0 32px; padding: 15px; align-items: start; flex-wrap: wrap; gap: 10px; }
  .shopping-note-icon { width: 31px; height: 31px; font-size: 15px; }
  .shopping-note > div:nth-child(2) { flex-basis: calc(100% - 43px); }
  .shopping-note h2 { font-size: 16px; }
  .shopping-note p { font-size: 10px; }
  .shopping-note .text-button { margin-left: 41px; }
  .footer { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; padding: 16px 0 23px; }
  .footer p { order: initial; }
  .dialog-content { padding: 30px 19px 23px; }
  .dialog-content h2 { font-size: 26px; }
  .dialog-actions { flex-direction: column; }
  .shopping-summary { align-items: start; flex-direction: column; gap: 7px; }
  .toast { right: 12px; bottom: 13px; left: 12px; text-align: center; }
}

@media print {
  .topbar, .hero-art, .progress-actions, .list-tools, .missing-filter-button, .card-links, .shopping-note, .footer, .own-toggle, .owned-tag { display: none !important; }
  body { background: #fff; }
  .site-shell { max-width: none; padding: 0; }
  .hero { min-height: auto; margin: 0 0 18px; padding: 10px 0 14px; border: 0; border-bottom: 1px solid #ccc; background: #fff; }
  h1 { font-size: 28px; }
  h1 br { display: none; }
  .hero-intro { margin: 8px 0; }
  .collection-panel { margin: 14px 0; padding: 13px; box-shadow: none; }
  .cards-section { padding: 14px 0; }
  .cards-heading h2 { font-size: 22px; }
  .card-list { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .card-image-frame, .card-own-toggle { display: none; }
  .card-row { margin-bottom: 4px; padding: 6px; display: flex; flex-direction: row; break-inside: avoid; }
  .card-info { width: 100%; }
  .card-copy p { min-height: 0; }
  .card-copy h3 { color: #222; }
  .year-heading { margin: 9px 0 4px; }
  .shopping-dialog { display: none; }
}
