:root{font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;color:#3a2a1c;background:#fbf6ea}*{box-sizing:border-box}body{margin:0}.app{max-width:860px;margin:0 auto;padding:0 16px 48px}header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:16px 0;border-bottom:2px solid #e8d9b8}header h1{font-size:22px;margin:0;cursor:pointer}nav button,button{font:inherit;padding:8px 14px;border-radius:10px;border:1px solid #d8c49a;background:#fff;color:#3a2a1c;cursor:pointer}nav button.on{background:#5a3a28;color:#fff;border-color:#5a3a28}button.primary{background:#5a3a28;color:#fff;border-color:#5a3a28}button.danger{color:#b3261e;border-color:#e0a8a4}button:disabled{opacity:.45;cursor:not-allowed}main{padding-top:16px}.hint{color:#8a7360;font-size:14px}.warn{color:#b3261e}.ok{color:#2e7d32}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.row.center{justify-content:center}.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.card{background:#fff;border:1px solid #e8d9b8;border-radius:14px;padding:12px}.card img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;cursor:pointer}.card h3{margin:10px 0 4px}.card p{margin:0 0 8px;color:#8a7360;font-size:14px}.cta{margin-top:20px}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stage{margin:12px 0;border-radius:16px;overflow:hidden;border:1px solid #e8d9b8;background:#efe0c2}.stage img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.kenburns{animation:kb 24s ease-in-out infinite alternate}@keyframes kb{0%{transform:scale(1)}to{transform:scale(1.08)}}.page-text{font-size:18px;line-height:1.8;background:#fff;border:1px solid #e8d9b8;border-radius:12px;padding:16px}.dots{display:flex;gap:6px;justify-content:center;margin:12px 0}.dot{width:12px;height:12px;padding:0;border-radius:50%;border:1px solid #d8c49a;background:#fff}.dot.on{background:#5a3a28}.style-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.create label,.settings label{display:block;margin:12px 0;font-weight:600}.create input,.create textarea,.create select,.settings input,.settings select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #d8c49a;border-radius:10px;font:inherit;background:#fff}.create .row label,.settings .row label{display:flex;gap:6px;align-items:center;margin:0}.create .row select{width:auto;margin-top:0}.gen-list{margin-top:16px;display:grid;gap:12px}.gen-item{display:flex;gap:12px;background:#fff;border:1px solid #e8d9b8;border-radius:12px;padding:10px}.gen-item img,.thumb-ph{width:160px;height:107px;object-fit:cover;border-radius:8px;flex:none}.thumb-ph{display:flex;align-items:center;justify-content:center;background:#efe0c2;color:#8a7360;font-size:14px}.gen-item p{margin:6px 0;color:#5a4a3a}@media(max-width:560px){.gen-item{flex-direction:column}.gen-item img,.thumb-ph{width:100%;height:auto;aspect-ratio:3/2}}
