.screen.hx-book{justify-content:flex-start;align-items:stretch;gap:8px;overflow:hidden;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));color:var(--hx-ink);background:radial-gradient(1.5px 1.5px at 12% 18%,#fff9 50%,transparent 51%),radial-gradient(1.5px 1.5px at 72% 9%,#fff8 50%,transparent 51%),radial-gradient(1px 1px at 38% 32%,#fff7 50%,transparent 51%),radial-gradient(1px 1px at 88% 41%,#fff6 50%,transparent 51%),radial-gradient(1px 1px at 55% 70%,#fff5 50%,transparent 51%),radial-gradient(circle at 80% 0%,#3b4b8a55 0,transparent 45%),linear-gradient(180deg,#0f1b3d,#0a1230)}.hx-head{flex:none;display:flex;align-items:center;gap:12px;height:50px;padding:0 10px 0 6px;border-radius:14px;border:2px solid #f5c76b;box-shadow:0 4px #3f2612,0 8px 18px #0008,inset 0 1px #fff3;background:repeating-linear-gradient(90deg,#ffffff08 0 2px,transparent 2px 46px),linear-gradient(180deg,#8a5a2e,#6b4423 50%,#4e2f14)}.hx-back{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font:900 20px var(--font);color:#3b1d00;border:2px solid #fde68a;background:radial-gradient(circle at 40% 30%,#fff3b0,#f5c76b 55%,#d99a2b);box-shadow:0 2px #3f2612}.hx-title{flex:1;min-width:0;font:900 clamp(20px,3.4vw,28px) var(--font);color:#fff3d6;text-shadow:0 2px 0 #3f2612,0 3px 8px #0009;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hx-pill{flex:none;display:inline-flex;align-items:center;gap:6px;padding:4px 14px;border-radius:99px;font:900 16px var(--font);color:#fde68a;background:linear-gradient(180deg,#1c2b5c,#111c42);border:2px solid #d99a2b}.hx-pill.coin{color:#3b1d00;background:linear-gradient(180deg,#fff3b0,#ffd23f 45%,#f59e0b);border-color:#fde68a;box-shadow:0 2px #9a3412}.hx-prog{flex:none;height:7px;margin:-2px 4px 0;border-radius:99px;background:#0b1430;border:1px solid #d99a2b66;overflow:hidden}.hx-prog div{height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#fde68a);box-shadow:0 0 8px #fbbf24aa}.hx-body{flex:1;min-height:0;display:flex;gap:12px}.hx-rail{flex:none;width:clamp(150px,24vw,260px);display:flex;flex-direction:column;gap:8px;min-height:0;padding:7px;border-radius:16px;border:2px solid #f5c76b88;box-shadow:0 6px 16px #0008,inset 0 0 0 3px #3f2612;background:linear-gradient(180deg,#7a4f2a,#5a3519)}.hx-art{flex:1 1 auto;min-height:90px;border-radius:11px;background:center / cover no-repeat;position:relative;box-shadow:inset 0 0 0 2px #0004}.hx-art span{position:absolute;left:50%;bottom:8px;transform:translate(-50%);white-space:nowrap;padding:3px 12px;border-radius:99px;font:800 13px var(--font);color:#3b1d00;background:linear-gradient(180deg,#fff3b0,#f5c76b);border:1.5px solid #b45309;box-shadow:0 2px #3f2612}.hx-album .hx-rail .hx-art{flex:0 1 46%;background-position:center 80%}.hx-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 8px;scrollbar-width:thin}.hx-tabs{flex:none;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:1px}.hx-tabs.v{flex-direction:column;overflow-x:hidden;overflow-y:auto;min-height:0}.hx-tab{flex:none;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:99px;cursor:pointer;white-space:nowrap;font:800 14px var(--font);color:var(--hx-ink);background:linear-gradient(180deg,#fff8e8,#ecd6ac);border:1.5px solid #c99a5b;box-shadow:0 2px #3f261299}.hx-tab.on{background:linear-gradient(180deg,#fff3b0,#ffd23f 45%,#f59e0b);border-color:#fde68a;color:#3b1d00;box-shadow:0 2px #9a3412,0 0 0 2px #f5c76b66}.hx-tab .hx-el{width:18px;height:18px;position:static}.hx-star{font-style:normal;width:18px;text-align:center;color:#b45309;font-weight:900}.hx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:10px}.hx-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px 8px;cursor:pointer;text-align:center;font-family:var(--font);color:var(--hx-ink);border-radius:14px;border:2px solid #c99a5b;background:radial-gradient(circle at 50% 0%,#fffaf0,transparent 70%),linear-gradient(180deg,#fbf1dc,#ecd6ac);box-shadow:inset 0 0 0 2px #fff8,inset 0 0 0 3px #e9c98a,0 4px #8a5a2e,0 8px 14px #0007;transition:transform .12s}.hx-card:hover{transform:translateY(-2px)}.hx-card:active{transform:translateY(1px)}.hx-name{font:900 15px var(--font);color:#5b2d0b;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hx-sub{font-size:12px;color:var(--hx-ink2);font-weight:700}.hx-ico{width:76px;height:76px;display:grid;place-items:center}.hx-ico img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #5b2d0b44)}.hx-ico.big{width:96px;height:96px;flex:none}.hx-ribbon{position:absolute;top:-2px;right:8px;padding:6px 6px 9px;font:900 13px var(--font);font-style:normal;color:#3b1d00;background:linear-gradient(180deg,#ffe58a,#f59e0b);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);filter:drop-shadow(0 2px 0 #9a3412)}.hx-card.pack{border-color:#e0a93a}.hx-buy{width:100%;margin-top:2px;min-height:36px;border-radius:99px;cursor:pointer;font:900 17px var(--font);color:#3b1d00;border:2px solid #fde68a;background:linear-gradient(180deg,#fff3b0,#ffd23f 45%,#ff9f1c);box-shadow:0 3px #b45309}.hx-buy.poor{background:#d8ceb9;border-color:#c5b89c;color:#7a6a52;box-shadow:0 3px #9c8f76}.hx-note{font-size:13px;color:#e7d7bd;text-align:center;padding:4px}.hx-note b{color:#fde68a}.hx-link{border:0;background:none;color:#fde68a;font:800 13px var(--font);text-decoration:underline;cursor:pointer}.hx-empty{grid-column:1 / -1;color:#e7d7bd;text-align:center;padding:20px}.hx-el{z-index:2;position:absolute;top:6px;left:6px;width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-style:normal;background:var(--c);border:1.5px solid #fff8;box-shadow:0 1px 2px #0006}.hx-el svg{width:64%;height:64%;fill:#fff}.hx-el[style*="#e2e8f0"] svg{fill:#475569}.hx-name .hx-el{position:static;width:20px;height:20px;vertical-align:-3px;margin-left:4px}.hx-port{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;position:relative;flex:none;background:radial-gradient(circle at 50% 40%,#fffaf0,#f3dfb6);border:3px solid #d99a2b;box-shadow:inset 0 0 0 2px #fff8,0 2px 4px #0004}.hx-port img{width:92%;height:92%;object-fit:contain}.hx-port span{font:900 34px var(--font);color:#f5c76b;text-shadow:0 2px 0 #0008}.hx-card.no .hx-port,.hx-port.no{background:radial-gradient(circle at 50% 35%,#243a78,#0f1b3d);border-color:#8a6a3a}.hx-card.no{filter:saturate(.75)}.hx-lock{position:absolute;right:-2px;bottom:-2px;font-size:14px;font-style:normal;filter:drop-shadow(0 1px 1px #000a)}.hx-port.big{width:96px;height:96px}.hx-chip{font-size:11px;font-weight:800;padding:1px 10px;border-radius:99px;background:#5b2d0b;color:#fff3d6}.hx-card.no .hx-chip{background:#6b5a4a}.hx-evo{position:absolute;z-index:2;top:5px;right:5px;font:900 11px var(--font);font-style:normal;padding:1px 7px;border-radius:99px;color:#3b1d00;background:linear-gradient(180deg,#fff3b0,#f5c76b);border:1px solid #b45309}.hx-sheet-bg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px;background:#050a1ccc;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:hxFade .15s}.hx-sheet{width:min(440px,100%);max-height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:14px;color:var(--hx-ink);border-radius:18px;border:2px solid #c99a5b;background:linear-gradient(180deg,#fbf1dc,#ecd6ac);box-shadow:inset 0 0 0 3px #e9c98a,0 6px #8a5a2e,0 18px 40px #000c;animation:hxUp .2s ease-out}.hx-sheet-top{display:flex;align-items:center;gap:12px;text-align:left}.hx-sheet-top .hx-name{white-space:normal;font-size:19px}.hx-tag{font-style:normal;font-size:12px;padding:1px 8px;border-radius:99px;background:#f59e0b;color:#3b1d00;vertical-align:2px}.hx-stats{display:flex;flex-direction:column;gap:5px}.hx-stat{display:grid;grid-template-columns:82px 1fr 34px;align-items:center;gap:8px;font-size:13px;font-weight:800}.hx-stat div{height:9px;border-radius:99px;background:#5b2d0b33;overflow:hidden}.hx-stat i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#fde68a)}.hx-stat b{text-align:right;color:#5b2d0b}.hx-chain{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;border-radius:12px;background:#5b2d0b14}.hx-mini{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px}.hx-mini img,.hx-mini span{width:54px;height:54px;border-radius:50%;object-fit:contain;display:grid;place-items:center;background:#fffaf0;border:2px solid #d99a2b}.hx-mini span{background:#1c2b5c;color:#f5c76b;font:900 22px var(--font)}.hx-mini.me img,.hx-mini.me span{box-shadow:0 0 0 3px #f59e0b}.hx-arrow{display:flex;flex-direction:column;align-items:center;color:#b45309;font-weight:900}.hx-arrow i{font-style:normal;font-size:11px}.hx-qty{display:flex;align-items:center;justify-content:center;gap:10px}.hx-qty button{width:40px;height:40px;border-radius:50%;cursor:pointer;font:900 22px var(--font);color:#3b1d00;border:2px solid #c99a5b;background:linear-gradient(180deg,#fff8e8,#ecd6ac);box-shadow:0 2px #8a5a2e}.hx-qty .hx-max{width:auto;padding:0 14px;border-radius:99px;font-size:14px}.hx-qty button[disabled]{opacity:.45}.hx-qty b{min-width:40px;text-align:center;font:900 26px var(--font);color:#5b2d0b}.hx-sum{display:grid;grid-template-columns:auto auto;justify-content:center;column-gap:14px;row-gap:2px;font-weight:800}.hx-sum span{color:var(--hx-ink2);text-align:right}.hx-sum b{color:#5b2d0b}.hx-sheet-act{display:flex;gap:10px}.hx-btn{flex:1;min-height:44px;border-radius:99px;cursor:pointer;font:900 17px var(--font);color:#3b1d00;border:2px solid #fde68a;background:linear-gradient(180deg,#fff3b0,#ffd23f 45%,#ff9f1c);box-shadow:0 3px #b45309}.hx-btn.ghost{color:#fff3d6;border-color:#8a5a2e;background:linear-gradient(180deg,#7a4f2a,#5a3519);box-shadow:0 3px #3f2612}.hx-btn[disabled]{opacity:.6}@keyframes hxFade{0%{opacity:0}}@keyframes hxUp{0%{transform:translateY(18px);opacity:0}}@media (orientation: portrait){.hx-body{flex-direction:column;gap:8px}.hx-rail{width:auto;flex-direction:column;padding:5px}.hx-shop .hx-rail .hx-art{flex:none;height:clamp(96px,20vh,150px);background-position:center 58%;min-height:0}.hx-album .hx-rail{background:none;border:0;box-shadow:none;padding:0}.hx-album .hx-rail .hx-art{display:none}.hx-tabs.v{flex-direction:row;overflow-x:auto;overflow-y:hidden}.hx-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.hx-sheet-bg{align-items:flex-end;padding:0}.hx-sheet{width:100%;border-radius:18px 18px 0 0;max-height:86%;padding-bottom:max(14px,env(safe-area-inset-bottom))}}@media (orientation: landscape) and (max-height: 440px){.screen.hx-book{gap:6px;padding-top:max(5px,env(safe-area-inset-top));padding-bottom:4px}.hx-head{height:40px}.hx-back{width:32px;height:32px;font-size:17px}.hx-title{font-size:21px}.hx-pill{font-size:14px;padding:2px 11px}.hx-rail{width:clamp(128px,20vw,190px);padding:5px;gap:6px}.hx-tab{padding:3px 10px;font-size:12.5px}.hx-album .hx-rail .hx-art{flex:0 1 40%;min-height:64px}.hx-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.hx-card{padding:7px 6px 6px;gap:2px}.hx-ico,.hx-port{width:56px;height:56px}.hx-port span{font-size:26px}.hx-name{font-size:13.5px}.hx-buy{min-height:30px;font-size:15px}.hx-sheet{max-height:100%;padding:10px;gap:7px;width:min(560px,100%)}.hx-ico.big,.hx-port.big{width:70px;height:70px}.hx-stat{font-size:12px}.hx-btn{min-height:38px}}@media (orientation: landscape) and (max-height: 440px){.hx-album .hx-sheet{display:grid;grid-template-columns:1fr 1fr;column-gap:14px;width:min(680px,100%)}.hx-album .hx-sheet-top{grid-column:1;grid-row:1}.hx-album .hx-stats{grid-column:2;grid-row:1 / span 2;align-self:center;gap:4px}.hx-album .hx-chain{grid-column:1;grid-row:2;padding:4px}.hx-album .hx-sheet-act{grid-column:1 / -1}.hx-album .hx-mini img,.hx-album .hx-mini span{width:42px;height:42px}.hx-stat{grid-template-columns:70px 1fr 26px}}
