:root {
  color-scheme: light;
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  color: #3d2719;
  background: #fff5e8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(calc(100% - 2rem), 64rem); margin: auto; padding: clamp(1.35rem, 6vw, 4.5rem) 0 2rem; }
header { margin-bottom: clamp(1.15rem, 4vw, 2.35rem); }
header h1 { margin: 0; font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -.09em; line-height: 1.05; }
header p { margin: .65rem 0 0; color: #795645; }
.work-area { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 1.25rem; }
.filters, .plate { background: #fffdf9; border: 1px solid #efdcca; border-radius: 1rem; }
.filters { padding: clamp(1rem, 4vw, 1.7rem); }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .7rem; font-size: .9rem; font-weight: 750; }
.options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.options label { position: relative; }
.options input { opacity: 0; cursor: pointer; position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.options span { display: grid; place-items: center; min-height: 2.7rem; background: #fff9f3; border: 1px solid #e7d3c1; border-radius: .55rem; font-size: .9rem; font-weight: 680; }
.options input:checked + span { color: #7e341c; background: #ffe4d6; border-color: #a64c31; }
.options input:focus-visible + span, button:focus-visible { outline: 2px solid #862f1a; outline-offset: 3px; }
button { display: block; width: 100%; min-height: 3.25rem; margin-top: 1rem; border: 0; border-radius: .65rem; background: #a83c21; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
button:hover { background: #842d17; }
#pool { margin: .62rem 0 0; font-size: .82rem; color: #795645; text-align: center; }
.plate { margin: 0; overflow: hidden; }
.plate img { display: block; width: 100%; height: auto; max-height: 30rem; aspect-ratio: 5/4; object-fit: cover; background: #eee0d0; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .8rem; padding: .75rem .95rem; color: #62605c; }
#dish { font-size: .9rem; font-weight: 680; }
#photo-note { font-size: .75rem; }
@media(max-width: 680px) { .work-area { grid-template-columns: 1fr; gap: .8rem; } }
