:root{color:#3e342c;font-synthesis:none;background:#f8f6f1;font-family:system-ui,-apple-system,Noto Sans KR,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline-offset:3px;outline:3px solid #b48347}button:disabled{cursor:not-allowed;opacity:.45}#root{justify-content:center;display:flex}.app-shell{width:100%;max-width:440px;min-height:100svh;padding:env(safe-area-inset-top) 0 calc(75px + env(safe-area-inset-bottom));background:#f8f6f1;box-shadow:0 0 24px #49342110}.app-header{justify-content:space-between;align-items:center;padding:23px 22px 16px;display:flex}.app-header h1{letter-spacing:-1px;color:#493a2f;margin:0;font-size:25px;font-weight:780}.app-header p{color:#998878;letter-spacing:-.3px;margin:3px 0 0;font-size:11px}.header-help{color:#755f4e;background:0 0;border:1px solid #d9ccbc;border-radius:50%;width:38px;height:38px;font-weight:700}.demo-ribbon{color:#79644d;background:#eee7da;align-items:center;gap:9px;padding:9px 22px;font-size:11px;display:flex}.demo-ribbon span{letter-spacing:1px;color:#97734d;font-size:9px;font-weight:800}main{padding:0 18px 20px}.shelf-heading{justify-content:space-between;align-items:end;padding:25px 3px 17px;display:flex}.eyebrow{letter-spacing:1.55px;color:#9d866a;font-size:10px;font-weight:750}.shelf-heading h2{letter-spacing:-.8px;margin:7px 0 0;font-size:22px}.book-count{color:#6e553e;font-size:20px;font-weight:760}.book-count small{color:#998a7c;font-size:10px;font-weight:450}.bookshelf{background:linear-gradient(145deg,#f2e9dc,#e8dccb);border:1px solid #e9dbca;border-radius:16px;padding:15px 14px 13px;box-shadow:0 6px 19px #8f745016}.shelf-tools{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.shelf-tools>span{color:#866f59;font-size:12px}.shelf-tools button{color:#6e533d;background:#fff9f0;border:1px solid #d9c6b0;border-radius:10px;min-height:38px;padding:7px 12px;font-size:12px}.featured-books{justify-content:center;align-items:end;gap:13px;min-height:163px;padding:14px 3px 0;display:flex}.book-cover{--book-color:#947e63;--book-text:#fff4e8;background:var(--book-color);width:min(28%,105px);height:138px;color:var(--book-text);border:0;border-radius:3px 6px 5px 2px;justify-content:center;align-items:stretch;padding:9px;transition:transform .23s,box-shadow .23s;display:flex;position:relative;transform:translateZ(0);box-shadow:3px 4px #5b463f3d,4px 7px 13px #5843313b}.book-cover:hover,.book-cover:focus-visible{transform:translateY(-6px);box-shadow:3px 9px #5b463f30,5px 15px 19px #58433152}.book-cover-inner{border:1px solid #ffebc28c;flex-direction:column;justify-content:space-around;align-items:center;gap:7px;width:100%;min-width:0;padding:10px 3px;display:flex}.book-cover-inner strong{overflow-wrap:anywhere;word-break:keep-all;font-size:clamp(11px,3.6vw,15px);line-height:1.4}.book-cover-inner small{opacity:.85;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:9px;line-height:1.3;display:-webkit-box;overflow:hidden}.book-cover-lines{opacity:.7;font-size:17px}.rank-chip{color:#634c32;background:#e0cba8;border-radius:14px;padding:3px 10px;font-size:11px;font-weight:800;position:absolute;top:-14px;left:50%;transform:translate(-50%);box-shadow:0 2px 5px #5b463f2b}.wooden-shelf{background:linear-gradient(#b79875 0%,#947255 55%,#70533d 100%);border-radius:3px;height:10px;margin:5px -5px 14px;box-shadow:0 4px 4px #4c38202b}.section-title{color:#917b65;justify-content:space-between;margin-bottom:10px;font-size:11px;display:flex}.spine-collection{justify-content:center;align-items:end;gap:6px;min-height:126px;animation:.23s appear;display:flex}.book-spine{background:var(--book-color);color:#fff7e6;border:0;border-radius:3px 3px 1px 1px;flex-direction:column;justify-content:space-between;align-items:center;width:calc(16.6667% - 5px);min-width:0;max-width:55px;height:112px;padding:11px 5px 9px;transition:transform .2s;display:flex;position:relative;box-shadow:2px 2px 2px #45362c46}.book-spine:hover,.book-spine:focus-visible{transform:translateY(-7px)}.spine-label{writing-mode:vertical-rl;white-space:nowrap;text-overflow:ellipsis;letter-spacing:-.2px;max-height:78px;font-size:11px;overflow:hidden}.spine-rank{text-align:center;border-top:1px solid #ffebc290;width:100%;padding-top:4px;font-size:10px}.wooden-shelf.lower{margin:0 -5px}.shelf-pagination{justify-content:center;align-items:center;gap:12px;margin-top:12px;display:flex}.shelf-pagination button{color:#7c5d40;background:#fff6e9;border:1px solid #d3bda4;border-radius:50%;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.shelf-pagination span{color:#87705a;text-align:center;min-width:50px;font-size:12px}.small-shelf-message{text-align:center;color:#8c7a68;min-height:48px;padding:7px 0;font-size:12px}.empty-featured{color:#7d664e;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:150px;display:flex}.empty-featured>span{font-size:30px}.empty-featured strong{font-size:14px}.empty-featured small{font-size:11px}.add-book{color:#fff;background:#6a503b;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:51px;margin-top:15px;font-weight:700;display:flex;box-shadow:0 5px 12px #70543a29}.add-book span{font-size:23px;font-weight:300}.tab-bar{width:100%;max-width:440px;min-height:66px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:5;background:#fffefa;border-top:1px solid #e9e2d8;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tab-bar button{color:#a2958a;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:60px;min-height:51px;display:flex}.tab-bar button>span{font-size:23px;line-height:1}.tab-bar button>small{font-size:11px}.tab-bar button.active{color:#76573c;font-weight:750}.coming-soon{text-align:center;background:#f2ece3;border-radius:16px;margin:40px 0;padding:30px 20px}.coming-soon>span{color:#917a60;font-size:38px}.coming-soon h2{font-size:22px}.coming-soon p{color:#8d7765;font-size:14px}.coming-soon div{color:#927e6b;margin:20px 0;font-size:12px}.coming-soon button{color:#fff;background:#70533e;border:0;border-radius:10px;padding:12px 20px}.book-list{max-height:465px;margin:0;padding:0;list-style:none;overflow-y:auto}.book-list li{border-bottom:1px solid #d8c7b5}.book-list button{text-align:left;color:#554432;background:0 0;border:0;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 4px;display:flex}.book-list b{color:#9d825f;text-align:center;width:27px}.book-list button span:nth-child(2){flex:1;font-size:13px;font-weight:650}.book-list button small{color:#9c8675;margin-top:4px;font-size:11px;font-weight:400;display:block}.empty-list{color:#897662;font-size:12px;padding:30px!important}.toast{bottom:calc(81px + env(safe-area-inset-bottom));color:#fff;z-index:20;background:#3e342d;border-radius:12px;width:calc(100% - 36px);max-width:410px;padding:13px 42px 13px 14px;font-size:12px;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 7px 20px #0003}.toast button{color:#fff;background:0 0;border:0;min-width:35px;min-height:35px;font-size:22px;position:absolute;top:5px;right:7px}.modal-backdrop{z-index:30;background:#352719a6;justify-content:center;align-items:end;padding:10px;display:flex;position:fixed;inset:0}.detail-modal{width:100%;max-width:420px;padding:28px 24px max(24px,env(safe-area-inset-bottom));background:#fffdf8;border-radius:20px 20px 12px 12px;position:relative;box-shadow:0 10px 25px #21190f55}.detail-modal h2{margin:11px 0 7px;font-size:25px}.detail-modal .author{color:#917d6c;margin:0;font-size:13px}.detail-modal .quote{color:#654b37;background:#f2eae0;border-radius:12px;margin:20px 0;padding:17px;font-size:14px;line-height:1.65}.detail-modal .hint{color:#988472;font-size:11px;line-height:1.6}.close-button{color:#7e6a57;background:0 0;border:0;min-width:44px;min-height:44px;font-size:26px;position:absolute;top:12px;right:16px}.modal-actions{gap:8px;margin-top:22px;display:flex}.modal-actions button{color:#6c5340;background:#f2ebdf;border:1px solid #d6c5b3;border-radius:10px;flex:1;min-height:46px;font-size:13px}.remove-button{color:#ad6b62;background:0 0;border:0;width:100%;min-height:44px;margin-top:13px;font-size:13px}.add-modal{max-height:80svh;overflow-y:auto}.demo-choice{max-height:47svh;padding:0;list-style:none;overflow-y:auto}.demo-choice li{border-bottom:1px solid #eee4d8}.demo-choice button{text-align:left;color:#48372a;background:0 0;border:0;align-items:center;gap:12px;width:100%;min-height:57px;padding:7px;display:flex}.sample-dot{border-radius:3px;flex:none;width:20px;height:37px}.demo-choice button>span:nth-child(2){flex:1;font-size:13px;font-weight:700}.demo-choice small{color:#927b69;margin-top:4px;font-size:11px;font-weight:400;display:block}@keyframes appear{0%{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width<=350px){.book-cover{height:125px}.featured-books{gap:9px}.spine-collection{gap:4px}.spine-label{font-size:10px}.app-header p{max-width:230px;line-height:1.5}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.shelf-heading{padding:22px 3px 15px}.shelf-heading h2{margin:0}.demo-ribbon{padding:8px 22px}.shelf-tools{justify-content:flex-end;margin-bottom:8px}.spine-collection.cols-5,.spine-collection.cols-4{gap:8px}.spine-collection.cols-5 .book-spine{width:calc(20% - 6.4px);max-width:66px;height:125px}.spine-collection.cols-5 .book-spine:nth-child(2n){height:131px}.spine-collection.cols-5 .book-spine:nth-child(3n){height:119px}.spine-collection.cols-4 .book-spine{width:calc(25% - 6px);max-width:74px;height:125px}.spine-collection.cols-4 .book-spine:nth-child(2n){height:131px}.spine-collection.cols-4 .book-spine:nth-child(3n){height:119px}.shelf-tools{margin-bottom:4px}.featured-books{min-height:150px;padding:10px 3px 0}.spine-collection{min-height:150px}.book-spine{height:136px;padding:9px 5px}.book-spine:nth-child(2n){height:142px}.book-spine:nth-child(3n){height:130px}.spine-label{letter-spacing:0;text-overflow:ellipsis;max-width:100%;max-height:106px;font-size:12px;font-weight:550;line-height:1.26}.spine-label--vertical{writing-mode:vertical-rl;text-orientation:upright;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;letter-spacing:-.3px;font-size:11.5px;line-height:1;overflow:hidden}.spine-label--horizontal{writing-mode:horizontal-tb;white-space:nowrap;text-align:center;max-height:none;font-size:12px}.spine-collection.cols-5 .book-spine,.spine-collection.cols-4 .book-spine{height:139px}.spine-collection.cols-5 .book-spine:nth-child(2n),.spine-collection.cols-4 .book-spine:nth-child(2n){height:145px}.spine-collection.cols-5 .book-spine:nth-child(3n),.spine-collection.cols-4 .book-spine:nth-child(3n){height:133px}.spine-collection.cols-5 .spine-label,.spine-collection.cols-4 .spine-label{max-height:109px;font-size:12px}@media (width<=350px){.featured-books{min-height:139px}.spine-label{font-size:11px}}
