:root {
  color-scheme: light;
  --paper: #faf6ee;
  --ink: #20241e;
  --sage: #c3cba3;
  --olive: #52603c;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
.pixel-fallback { display: none; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 20%, #fffaf3 0%, var(--paper) 70%);
}
.page { width: min(100% - 32px, 492px); margin: 0 auto; padding: 36px 0 max(32px, env(safe-area-inset-bottom)); }
.identity { display: flex; align-items: center; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.avatar { display: block; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #746f4f45, 0 3px 12px #473e2410; }
h1 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.7px; line-height: 1.3; color: #34432a; }
.products { list-style: none; display: grid; gap: 14px; padding: 0; margin: 0; }
.product {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 118px minmax(0, 1fr) 20px; gap: 18px; align-items: center;
  min-height: 172px; padding: 14px 18px 14px 14px;
  color: inherit; text-decoration: none; border-radius: 22px;
  background: #fffcf7;
  box-shadow: 0 0 0 1px #71674c2d, 0 3px 5px #4337190a, 0 8px 18px #43371905;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out);
}
.product::before {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: #f5f6e9; box-shadow: 0 0 0 1px #7c8b5866, 0 9px 24px #43371914;
  opacity: 0; transition: opacity 180ms ease;
}
.art { display: flex; align-items: center; justify-content: center; width: 118px; height: 144px; }
.art img { display: block; max-width: 100%; width: auto; height: auto; max-height: 144px; object-fit: contain; transition: transform 220ms var(--ease-out); }
.copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.format { display: inline-block; margin-bottom: 7px; padding: 3px 9px 4px; border-radius: 7px; background: var(--sage); color: #27301f; font-size: 12px; font-weight: 600; line-height: 1.15; }
.title { font-size: 23px; font-weight: 750; letter-spacing: -.7px; line-height: 1.14; text-wrap: balance; }
.subtitle { margin-top: 6px; font-size: 16px; font-weight: 400; line-height: 1.35; color: #3d4038; text-wrap: pretty; }
.arrow { width: 20px; height: 24px; fill: none; stroke: var(--olive); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms var(--ease-out); }
.product:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; transition: none; }
.product:focus-visible::before { opacity: 1; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: translateY(-3px); }
  .product:hover::before { opacity: 1; }
  .product:hover .arrow { transform: translateX(3px); }
  .product:hover .art img { transform: rotate(-2deg) scale(1.025); }
}
.product:active { transform: scale(.98); }
.product:active::before { opacity: 1; }
@media (max-width: 480px) {
  .page { padding-top: 26px; }
  .identity { gap: 10px; margin-bottom: 23px; }
  .avatar { width: 72px; height: 72px; }
  h1 { font-size: 22px; }
  .product { grid-template-columns: 94px minmax(0, 1fr) 16px; gap: 12px; padding: 12px; min-height: 156px; border-radius: 19px; }
  .art { width: 94px; height: 132px; }
  .art img { max-height: 132px; }
  .title { font-size: 20px; letter-spacing: -.6px; }
  .subtitle { font-size: 15px; }
  .arrow { width: 16px; }
}
@media (max-width: 350px) {
  .page { width: calc(100% - 24px); }
  .product { grid-template-columns: 74px minmax(0, 1fr) 14px; gap: 9px; }
  .art { width: 74px; }
  .title { font-size: 18px; }
  .subtitle { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .product, .art img, .arrow { transition: none; }
  .product:hover, .product:active, .product:hover .art img, .product:hover .arrow { transform: none; }
}
