:root{--navy:#102e38;--orange:#e98138;--paper:#f8f5ef;--ink:#18323c;--muted:#78858a;--line:#e6e4dd}*{box-sizing:border-box}body{margin:0;background:#e7ebe9;color:var(--ink);font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.9}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;transition:transform .15s,background .15s}button:active{transform:scale(.98)}button:disabled{opacity:.5;cursor:wait}a{text-decoration:none;color:inherit}.shell{max-width:780px;min-height:100vh;margin:auto;background:var(--paper)}header{height:92px;display:flex;justify-content:space-between;align-items:center;padding:18px 25px}.brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:bold;line-height:1.6}.brand small{display:block;font-size:10px;font-weight:normal;letter-spacing:1px;color:var(--muted)}.logo{display:grid;place-items:center;background:var(--navy);color:#fff;width:46px;height:48px;border-radius:15px 5px 15px 5px;font-size:27px}.avatar{height:43px;width:43px;background:#fff;border:1px solid var(--line);border-radius:50%}main{padding:0 24px 120px}.hero{position:relative;overflow:hidden;isolation:isolate;background:var(--navy);color:#fff;border-radius:24px;padding:30px;min-height:295px}.eyebrow{font-size:10px;color:#aec0c3;letter-spacing:.5px}.hero h1{font-size:37px;line-height:1.65;margin:14px 0 6px;position:relative;z-index:2}.hero em{font-style:normal;color:#f7ac72}.hero p{color:#b8c9cc;font-size:12px;margin:10px 0 26px}.hero:after{content:'';position:absolute;left:-70px;bottom:-160px;width:350px;height:350px;border:1px solid #44616a;border-radius:50%;z-index:-1;box-shadow:0 0 0 35px #28464f44,0 0 0 70px #28464f22}.hero-label{font-size:8px;letter-spacing:2px;color:#90a7ac}.book-art{position:absolute;left:30px;top:68px;width:195px;height:195px}.book-art i{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;width:93px;height:144px;box-shadow:-5px 10px 18px #0004;border-radius:2px 7px 7px 2px;border-right:7px solid #ffffff22;font-size:18px;font-style:normal;line-height:1.8}.book-art i:nth-child(1){background:#b56a42;left:90px;top:12px;transform:rotate(14deg)}.book-art i:nth-child(2){background:#f1e0bd;color:#304647;left:5px;top:0;transform:rotate(-12deg)}.book-art i:nth-child(3){background:#758b79;left:47px;top:47px;transform:rotate(-2deg)}.search{margin:25px 0 16px;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:8px 16px;gap:10px}.search span{font-size:27px}.search input{border:0;background:transparent;outline:none;width:100%;padding:6px}.chips{display:flex;gap:8px;overflow:auto;white-space:nowrap;padding-bottom:10px;scrollbar-width:none}.chips button{background:#fff;padding:8px 15px;border:1px solid var(--line);border-radius:30px;font-size:11px;color:var(--ink)}.chips button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.section-title h2{margin:0;font-size:19px}.section-title span{font-size:10px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:#fff;border-radius:16px;border:1px solid #ebe8e2;overflow:hidden;padding:10px;display:flex;flex-direction:column}.cover{position:relative;display:grid;place-items:center;height:190px;background:#f3f1eb;border-radius:9px;cursor:pointer}.cover img{width:100%;height:175px;object-fit:contain;mix-blend-mode:multiply}.cover .placeholder{width:99px;height:144px;background:var(--navy);color:#eac8a2;box-shadow:-6px 7px 0 #ddd5c9;display:flex;align-items:center;justify-content:center;text-align:center;font-size:17px;padding:12px;border-right:7px solid #ffffff22}.badge{position:absolute;top:5px;right:5px;border-radius:6px;background:#e98138;color:#fff;font-size:10px;padding:1px 7px}.card h3{font-size:12px;font-weight:normal;line-height:1.9;min-height:47px;margin:12px 0 9px}.card .price{font-size:12px;font-weight:bold;margin-top:auto}.card .old{color:#97a0a2;font-size:10px;text-decoration:line-through;height:18px}.add{background:#f6eee4;color:#96512b;border-radius:8px;padding:7px;margin-top:10px;font-size:12px}.tab{display:none}.tab.active{display:block}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:780px;background:#fffefbeF;backdrop-filter:blur(16px);display:flex;justify-content:space-around;border-top:1px solid var(--line);padding:10px 8px calc(9px + env(safe-area-inset-bottom));z-index:5}nav button{display:flex;align-items:center;flex-direction:column;gap:2px;background:none;color:#7d888c;font-size:10px;min-width:51px}nav b{font-size:25px;line-height:1.4;font-weight:normal;position:relative}nav button.selected{color:#ca6b2d}sup{position:absolute;top:-4px;right:-13px;background:var(--orange);color:white;font-size:9px;border-radius:15px;min-width:16px}.page-title{margin:20px 0 24px}.page-title span{font-size:11px;color:var(--muted)}.page-title h1{font-size:28px;margin:5px 0}.panel,.summary,.order,.ledger-row,.cart-row{background:white;border:1px solid var(--line);padding:20px;border-radius:17px;margin:15px 0}.primary{background:var(--orange);color:#fff;border-radius:11px;padding:13px 16px;font-weight:bold}.secondary{background:#e9eeeb;color:var(--navy);border-radius:11px;padding:11px 16px}.wide{width:100%;margin-top:12px}small,.muted{display:block;color:var(--muted);font-size:11px}.summary strong{float:left;font-size:17px}.summary p{font-size:11px;color:var(--muted)}.cart-row{display:flex;align-items:center;gap:15px;padding:15px}.cart-row h3{font-size:12px;margin:0}.cart-row .info{flex:1}.qty{display:flex;align-items:center;gap:9px}.qty button{width:30px;height:30px;border-radius:8px;background:#f2ede5}.wallet-card{padding:28px;background:linear-gradient(125deg,#264953,#102e38);border-radius:22px;color:white;position:relative;overflow:hidden}.wallet-card>span{font-size:12px;color:#adc5cd}.wallet-card strong{display:block;font-size:36px;margin:18px 0 24px;font-weight:normal}.wallet-footer{display:flex;justify-content:space-between;color:#d9b58f;font-size:11px}.panel input{display:block;border:1px solid var(--line);border-radius:10px;padding:11px;width:100%;margin:8px 0 12px;outline-color:var(--orange)}h2{font-size:18px}.ledger-row{display:flex;justify-content:space-between;font-size:11px;padding:13px}.ledger-row strong{font-size:13px}.order header{height:auto;padding:0;gap:10px}.order h3{margin:0}.status{border-radius:18px;background:#eff2e9;font-size:10px;padding:4px 10px}.empty{text-align:center;color:var(--muted);padding:45px 20px;background:#f0eee8;border-radius:16px;grid-column:1/-1}.profile-icon{font-size:40px}.panel p{font-size:12px}#banner{padding:13px 20px;background:#ffebd7;color:#764221;margin:0 24px 16px;border-radius:10px;font-size:12px}dialog{border:0;border-radius:20px;max-width:440px;width:90%;padding:26px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#102e38bb;backdrop-filter:blur(4px)}dialog img{display:block;height:210px;max-width:100%;object-fit:contain;margin:auto}dialog p{white-space:pre-line;max-height:230px;overflow:auto;font-size:13px}.close{background:#e8e2d9;width:32px;height:32px;border-radius:50%;font-size:24px}.loading{padding:45px;text-align:center;color:var(--muted)}:focus-visible{outline:3px solid #e98138;outline-offset:3px}@media(max-width:550px){main{padding-left:16px;padding-right:16px}header{padding:16px;height:82px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero{padding:25px 21px;min-height:290px}.hero h1{font-size:30px}.book-art{left:1px;top:83px;transform:scale(.8);transform-origin:left center}.hero p{font-size:11px;max-width:160px}.cover{height:172px}.cover img{height:155px}.section-title span{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
