.cat-roster {
  display:grid;
  gap:8px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.cat-count {
  margin:12px 0 8px;
  color:#496153;
  font-size:12px;
  font-weight:750;
}
.cat-card {
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:6px 4px 9px;
  background:#dce9d1;
}
.cat-card[aria-pressed="true"] {
  background:#f9e5b9;
  border-color:#9c612f;
}
.cat-card canvas {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:5 / 4;
  background:#fff7e5;
  border-radius:7px;
  pointer-events:none;
}
.cat-card strong {
  color:#293d35;
  font-size:13px;
}
.cat-card span {
  color:#65462d;
  font-size:11px;
  line-height:1.25;
}
.modal-actions > a,
.level-grid > a {
  display:grid;
  align-content:center;
  border:2px solid var(--ink);
  border-radius:13px;
  color:inherit;
  font-weight:800;
  min-height:49px;
  padding:6px;
  text-align:center;
  text-decoration:none;
  touch-action:manipulation;
}
.modal-actions > a:first-child {
  background:var(--orange);
  color:#fff7e5;
  box-shadow:0 3px 0 #b05c35;
}
.level-grid > a {
  padding:12px 7px;
  background:#dce9d1;
  min-height:86px;
}
.modal-actions > a:focus-visible,
.level-grid > a:focus-visible {
  outline:3px solid #ef7646;
  outline-offset:3px;
}
.app {
  grid-template-rows:44px 48px 48px minmax(280px,1fr);
}
.app:has(#storageNotice:not([hidden])) {
  grid-template-rows:44px 48px 48px minmax(260px,1fr) auto;
}
.cat-collection {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:3px 9px 3px 5px;
  background:#fae6c4;
  border:1px solid #b0835a;
  border-radius:11px;
  text-align:left;
}
.cat-collection canvas {
  flex:none;
  width:40px;
  height:38px;
  pointer-events:none;
  border-radius:7px;
  background:#fff3d9;
}
.cat-collection-copy {
  flex:1;
  min-width:0;
}
.cat-collection-copy strong,.cat-collection-copy small {
  display:block;
  line-height:1.25;
}
.cat-collection-copy strong {
  font-size:14px;
}
.cat-collection-copy small {
  color:#774b33;
  font-size:11px;
  font-weight:650;
}
.cat-collection-progress {
  flex:none;
  padding:3px 7px;
  border-radius:12px;
  color:#704328;
  background:#f1d1a1;
  font-size:11px;
}
.cat-collection-arrow {
  flex:none;
  color:#804e2e;
  font-size:19px;
  line-height:1;
}
