* { box-sizing: border-box; }
html { background: #f6f2e7; color: #252e34; scroll-padding: 16px; }
body { margin: 0; min-height: 100vh; font: 16px/1.65 system-ui, sans-serif; background-image: repeating-linear-gradient(5deg, transparent 0 3px, #86724b06 3px 4px); }
header, main { width: min(1200px, 90%); margin: auto; }
header { height: 78px; border-bottom: 1px solid #aaa899; display: flex; align-items: center; justify-content: space-between; }
a { color: inherit; text-decoration: none; }
.brand, nav { display: flex; align-items: center; gap: 12px; }
.brand { font: bold 20px serif; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
nav { gap: 25px; }
nav a { padding: 10px 1px; }
nav [aria-current] { color: #344bc1; box-shadow: inset 0 -2px #344bc1; }
main { padding: 38px 0 220px; }
h1, h2 { font-family: 'Songti SC', 'Noto Serif CJK SC', serif; line-height: 1.18; margin: 0; }
h1 { font-size: 56px; letter-spacing: .045em; }
h2 { font-size: 26px; }
p { margin: 14px 0 18px; line-height: 1.65; }
.subtitle { margin: 9px 0 28px; font-size: 18px; letter-spacing: .04em; color: #4b594f; }
.recommendations { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.feature, .secondary, #empty { border: 1px solid #b5b4a5; border-radius: 4px; overflow: hidden; }
.feature { grid-row: span 2; background: #e1e6df; position: relative; display: flex; flex-direction: column; }
.feature::before { content: ''; position: absolute; top: 0; right: 30px; width: 22px; height: 49px; background: #344bc1; clip-path: polygon(0 0,100% 0,100% 100%,50% 79%,0 100%); }
.feature .details { padding: 34px 48px 0 34px; }
.feature h2 { font-size: 36px; }
.feature img { width: 100%; height: 240px; object-fit: cover; margin-top: auto; }
.secondary { display: flex; align-items: center; gap: 20px; padding: 22px; }
.secondary img { width: 24%; max-width: 108px; }
.alley { background: #eee2d1; }
.garden { background: #e9e8d8; }
button, .action, input { font: inherit; }
button, .action { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #344bc1; background: #344bc1; color: white; padding: 8px 18px; border-radius: 4px; }
.add[aria-pressed=true] { color: #344bc1; background: #f5f2e8; }
button:hover, .action:hover { filter: brightness(.93); }
:focus-visible { outline: 3px solid #925121; outline-offset: 4px; }
.dock { position: fixed; right: max(5vw, 16px); bottom: 14px; display: grid; justify-items: end; gap: 5px; max-width: 90vw; pointer-events: none; }
.dock > * { pointer-events: auto; }
#copy { gap: 11px; background: #faf7ed; color: #344bc1; border-radius: 28px; box-shadow: 0 3px 12px #35332619; }
.sheets { width: 13px; height: 15px; border: 1.5px solid; box-shadow: -3px -3px #faf7ed,-4px -4px currentColor; }
#feedback:not(:empty), #storage:not(:empty) { background: #faf7ed; color: #283758; padding: 6px 12px; border-left: 3px solid #344bc1; }
#manual { padding: 6px; color: inherit; max-width: 100%; }
#empty { text-align: center; padding: 28px; background: #e1e6df; }
#empty img { width: min(400px, 100%); display: block; margin: auto; }
#empty h2 { margin: 12px 0 24px; }
.row { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; padding: 18px 8px; border-top: 1px solid #aaa899; }
.row img { width: 100%; height: 96px; object-fit: contain; }
.row p { margin-bottom: 0; }
.remove { background: transparent; color: #344bc1; }
[hidden] { display: none !important; }
@media (max-width: 950px) {
  .recommendations { grid-template-columns: 1fr 1fr; }
  .feature { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .feature .details { padding: 30px; }
  .feature img { height: 100%; min-height: 230px; object-fit: contain; }
  .secondary { flex-direction: column; align-items: start; }
  .secondary img { height: 90px; width: 90px; }
}
@media (max-width: 600px) {
  header { height: 62px; }
  nav { gap: 14px; }
  .brand { gap: 6px; font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  main { padding-top: 24px; }
  h1 { font-size: 36px; }
  .subtitle { margin: 6px 0 20px; font-size: 16px; }
  .recommendations { display: flex; flex-direction: column; gap: 14px; }
  .feature { display: flex; align-items: stretch; }
  .feature .details { padding: 22px 44px 0 22px; }
  .feature h2 { font-size: 28px; }
  .feature img { height: 150px; min-height: 0; object-fit: cover; }
  .secondary { flex-direction: row; align-items: center; padding: 18px; gap: 12px; }
  .secondary img { width: 23%; height: auto; }
  .secondary h2 { font-size: 23px; }
  .row { grid-template-columns: 60px 1fr; gap: 12px; }
  .row button { grid-column: 2; justify-self: start; }
}
