:root{color:#26302b;background:#f7f3e8;font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.app{color:#26302b;background:#f7f3e8;min-height:100vh}header{z-index:2;background:#fffdf7;border-bottom:1px solid #ded8c9;justify-content:space-between;align-items:center;padding:16px max(20px,50% - 590px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand strong{font-size:1.1rem;display:block}.brand small{color:#66716b;font-size:.75rem;display:block}.logo{color:#fff;background:#315c48;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.theme{cursor:pointer;background:0 0;border:1px solid #d8d2c5;border-radius:9px;width:40px;height:40px}.dark .app{color:#eef1eb;background:#222522}.dark header,.dark .card,.dark .suggest,.dark .reading{background:#2b2f2c;border-color:#454a46}.dark input,.dark select,.dark .empty{color:#eef1eb;background:#242825;border-color:#555b55}.dark .author,.dark .brand small,.dark .section-title span{color:#b6beb7}main{max-width:1180px;margin:auto;padding:0 20px 60px}.hero{text-align:center;padding:55px 10px 35px}.hero h1{margin:0 0 12px;font-family:Georgia,serif;font-size:clamp(2rem,5vw,3rem)}.hero p{color:#66716b;max-width:650px;margin:auto}.controls{gap:12px;margin-bottom:32px;display:flex}.controls input{flex:1}.controls select{width:190px}input,select{color:#26302b;background:#fffdf7;border:1px solid #d5d0c3;border-radius:9px;padding:12px}.section-title{justify-content:space-between;align-items:end;display:flex}.section-title h2,.reading h2,.suggest h2{margin:0 0 14px;font-family:Georgia,serif;font-size:1.7rem}.section-title span{color:#66716b;font-size:.85rem}.grid{grid-template-columns:repeat(4,1fr);gap:20px;display:grid}.card{background:#fffdf7;border:1px solid #ded8c9;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000b}.card img{aspect-ratio:2/3;object-fit:cover;width:100%;display:block}.card-body{padding:15px}.tag{color:#315c48;background:#e9eee7;border-radius:99px;padding:4px 9px;font-size:.72rem;font-weight:700;display:inline-block}.card h3{margin:10px 0 2px;font-family:Georgia,serif;font-size:1.1rem}.card p{margin:7px 0;font-size:.86rem}.author{color:#66716b}.card button,.reading button,.submit{color:#fff;cursor:pointer;background:#315c48;border:0;border-radius:8px;width:100%;margin-top:10px;padding:10px;font-weight:600}.card button.saved{background:#b58b35}.empty{text-align:center;color:#66716b;background:#fffdf7;border:1px dashed #c9c2b3;border-radius:10px;padding:30px}.reading,.suggest{background:#fffdf7;border:1px solid #ded8c9;border-radius:12px;margin-top:50px;padding:25px}.reading ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.reading li{border:1px solid #ded8c9;border-radius:8px;justify-content:space-between;align-items:center;padding:12px;display:flex}.reading li small{color:#66716b;display:block}.reading button{width:auto;color:inherit;background:0 0;border:1px solid #c9c2b3;margin:0}.suggest form{gap:14px;max-width:700px;display:grid}.suggest label{gap:6px;font-size:.9rem;font-weight:600;display:grid}.submit{width:auto}.success{background:#e5f1e8;border-radius:8px;margin:12px 0;padding:12px}.error{color:#8a3027;background:#f7e2df;border-radius:8px;margin:12px 0;padding:12px}footer{text-align:center;color:#66716b;border-top:1px solid #ded8c9;padding:25px;font-size:.85rem}@media (width<=900px){.grid{grid-template-columns:repeat(3,1fr)}}@media (width<=680px){.controls{flex-direction:column}.controls select{width:100%}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.hero{padding-top:38px}.card-body{padding:12px}.reading li{gap:10px}.reading li button{flex-shrink:0}}@media (width<=440px){.grid{grid-template-columns:1fr}.brand small{display:none}}
