body.market{color-scheme:light;--bg:#f6f8fc;--surface:#fff;--surface2:#f0f4fa;--line:#e1e7ef;--muted:#718096;--text:#172b4d;--accent:#2368dc;--accent2:#2368dc;--red:#dc4d58;--amber:#af7613;--blue:#2368dc;background:#f6f8fc;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.market button,.market .button{font-weight:650}.market .primary{color:#fff;background:#2368dc;border-color:#2368dc}.market .primary:hover{background:#1554be}.market .secondary{background:#fff;color:#2368dc;border-color:#cbd8e9}.market input,.market select,.market textarea{background:#fff;color:#172b4d;border-color:#dce3ed}.market .logo{background:#fff;color:#2461cf;border-radius:9px;box-shadow:none;object-fit:cover}.market .shop-wrap{max-width:1232px;padding:30px 26px 0}.market-header{background:#2158bd;color:#fff}.market-top,.market-header-main,.market-quick{max-width:1232px;margin:auto;padding:9px 26px}.market-top{display:flex;justify-content:space-between;font-size:10px;color:#d5e4ff}.market-top button{padding:0;border:0;background:none;color:#e6eeff;font-size:10px}.market-header-main{display:flex;align-items:center;gap:28px;padding-top:12px;padding-bottom:14px}.market-header .brand{color:#fff;max-width:220px;font-size:21px;letter-spacing:-.7px;flex-shrink:0}.market-header .brand #brandName{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-search{display:flex;align-items:center;flex:1;border-radius:9px;background:#fff;padding:4px 5px 4px 15px;gap:10px;box-shadow:0 2px 8px #123d981f}.market-search>span{color:#54738e;font-size:26px;line-height:1}.market-search input{border:0;margin:0;padding:10px 2px;font-size:12px;box-shadow:none!important;min-width:0}.market-search button{background:#eef4fd;border:0;color:#2158bd;padding:9px 18px}.orders-button{background:#3971d1;border-color:#5a88db;color:#fff;white-space:nowrap;padding:11px 16px}.market-quick{display:flex;gap:21px;background:#174aa7;max-width:none;padding-left:max(26px,calc((100vw - 1180px)/2));padding-top:10px;padding-bottom:10px;overflow-x:auto}.market-quick button{border:0;background:none;color:#e2edff;white-space:nowrap;font-weight:450;padding:0;font-size:11px}.market-quick button:first-child{font-weight:750;color:#fff}.market-hero{display:grid;grid-template-columns:2.1fr 1fr;gap:18px}.hero-primary{position:relative;overflow:hidden;min-height:305px;border-radius:17px;background:linear-gradient(112deg,#1e3b91 0%,#2868d6 70%,#68acff 100%);padding:35px;display:flex;isolation:isolate}.hero-copy{max-width:55%;z-index:2}.hero-label{font-size:9px;letter-spacing:1.4px;color:#c0dcff;font-weight:650}.hero-primary h1{font-size:32px;line-height:1.25;letter-spacing:-1px;color:#fff;margin:15px 0}.hero-primary h1 em{font-style:normal;color:#a3e5ff}.hero-primary p{font-size:11px;color:#d5e4ff;max-width:330px;margin-bottom:22px}.hero-cta{display:inline-flex;gap:25px;align-items:center;background:#fff;color:#2052a7;padding:10px 16px;border-radius:8px;font-size:11px;font-weight:700}.hero-art{position:absolute;right:0;top:0;bottom:0;width:46%;z-index:1}.art-circle{position:absolute;width:260px;height:260px;border:38px solid #ffffff12;border-radius:50%;right:-20px;top:20px}.art-ticket{position:absolute;width:155px;height:195px;display:flex;flex-direction:column;justify-content:space-between;border-radius:15px;padding:20px;box-shadow:0 20px 30px #0e2e7c55}.ticket-back{transform:rotate(-19deg);top:48px;left:5px;background:linear-gradient(145deg,#b1e8ff,#6eb9f0);color:#1c4f9c}.ticket-front{transform:rotate(14deg);top:56px;right:32px;background:linear-gradient(145deg,#fff,#e5efff);color:#2158bd;border:3px solid #ffffff99}.art-ticket>span{font-size:8px;font-weight:800;letter-spacing:1px}.art-ticket b{font-size:34px;letter-spacing:-1px}.ticket-back b{font-size:21px}.art-ticket b span{display:block;font-size:40px}.art-ticket small{font-size:7px;color:#3d679e}.art-spark{position:absolute;font-size:42px;color:#b1e7ff}.spark-one{left:-15px;top:15px}.spark-two{right:8px;bottom:0}.hero-secondary{background:#e9efff;border-radius:17px;padding:24px;position:relative;overflow:hidden}.hero-secondary .hero-label{color:#5079bb;font-size:8px}.hero-secondary h2{font-size:21px;line-height:1.3;color:#1c4795;letter-spacing:-.5px;margin:15px 0 10px}.hero-secondary p{font-size:10px;color:#6280ac;max-width:230px}.qr-art{font-size:76px;line-height:1;color:#4078d3;text-align:right;margin:8px 5px}.market-benefits{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:16px;padding:17px 24px;gap:25px}.market-benefits>span{display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px}.market-benefits i{grid-row:1/3;font-size:24px;color:#2868d6;font-style:normal}.market-benefits b{font-size:11px;font-weight:650}.market-benefits small{font-size:9px;color:#8291a7}.category-section{margin:32px 0}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.market-heading h2{font-size:21px;margin:4px 0 0;letter-spacing:-.5px}.market-heading p{font-size:11px;margin:5px 0 0}.market-eyebrow{color:#8b9ab0;font-size:8px;font-weight:700;letter-spacing:1.3px}.market-categories{display:flex;gap:15px;overflow-x:auto;padding:3px 0 8px}.category-tile{display:flex;flex-direction:column;gap:8px;align-items:center;border:1px solid #e1e7f0;background:#fff;min-width:122px;border-radius:12px;padding:15px 12px;color:#304565;font-size:10px;font-weight:600}.category-tile i{display:grid;place-items:center;background:#ebf2ff;border-radius:13px;width:45px;height:45px;font-style:normal;font-size:24px}.category-tile small{font-size:9px;font-weight:400}.category-tile.selected{border-color:#4f8cde;background:#eef5ff}.market .shop-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.market .shop-card{border-radius:12px;border:1px solid #e1e7f0;background:#fff;box-shadow:0 3px 10px #d5dfec14;transition:transform .15s,box-shadow .15s}.market .shop-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #d5dfec70;border-color:#a6c8f8}.market .shop-image{aspect-ratio:1.15;background:linear-gradient(135deg,#e7eeff,#d6e9fa);color:#2760bf;font-size:44px;font-weight:800;letter-spacing:-3px;position:relative;overflow:hidden}.market .shop-image:after{content:'';position:absolute;width:130px;height:130px;border:20px solid #fff5;border-radius:50%;right:-35px;bottom:-35px}.market .shop-card-content{padding:14px}.market .shop-card h3{font-size:12px;font-weight:650;line-height:1.5;margin-bottom:4px;min-height:36px;letter-spacing:0}.market .shop-card p{font-size:9px;min-height:16px;margin:2px 0 9px}.market .shop-price{font-size:17px;color:#1d53ad;letter-spacing:-.5px}.market .shop-card-bottom{font-size:8px;color:#8b97aa;margin-top:12px;gap:4px;align-items:flex-start}.market .badge{font-size:8px;border-radius:4px;padding:3px 6px;background:#f0f3f8}.market .badge.active,.market .badge.paid{background:#eaf6f0;color:#238567}.market .badge.pending{color:#a27219;background:#fff4da}.market .badge.expired,.market .badge.cancelled{color:#a85b65;background:#f8e9ec}.sort-label{display:flex;align-items:center;gap:10px;font-size:10px;white-space:nowrap;margin:0}.sort-label select{margin:0;font-size:10px;padding:8px 12px}.active-filter{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;border:1px solid #d6e4fa;border-radius:10px;padding:10px 15px;background:#edf4ff;font-size:11px}.active-filter button{font-size:10px;padding:0;background:none;border:0;color:#2368dc}.market .pagination{justify-content:center;margin:28px 0}.market .pagination button{background:#fff;border-color:#dce5f1;color:#285eaa;font-size:10px}.market-support{background:#fff;border:1px solid #e1e7ef;border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:25px 30px;margin-top:35px;gap:20px}.market-support h2{font-size:20px;margin:4px 0 8px}.market-support p{font-size:11px;margin:0}.market-footer{display:flex;justify-content:space-between;border-top:1px solid #e1e7ef;margin-top:30px;padding:22px 0!important;font-size:9px}.market .detail-grid{margin-top:25px;gap:35px;grid-template-columns:1fr 1fr}.market #detail{background:#fff;border:1px solid #e1e7ef;border-radius:15px;padding:26px}.market #detail h1{font-size:30px;margin:15px 0 8px}.market #detail h2.accent{color:#2368dc;font-size:27px}.market #detail .shop-image{background:#e7f0ff;aspect-ratio:1.1;font-size:80px;object-fit:cover}.market .prewrap{font-size:12px}.market .shop-detail-actions button{padding:13px 25px;font-size:12px}.market .shop-detail-actions label{font-size:10px}.market .shop-detail-actions input{font-size:13px}.market dialog{background:#fff;border-color:#d9e2f0;box-shadow:0 25px 100px #10245055}.market dialog::backdrop{background:#0e245b77}.market .order-key{background:#f0f4fb}.market .delivered{background:#eff9f4;border-color:#c6e9d4;color:#244832}.market .delivered pre{font-size:12px}.market .toast{background:#fff;border-color:#aecae9;color:#1d4b83;box-shadow:0 8px 25px #263d5a30}.market-mobile-nav{display:none}.history-row{width:100%;display:flex;justify-content:space-between;align-items:center;background:#f4f7fc;border-color:#dce5ef;color:#274c80;margin:8px 0;text-align:left;overflow-wrap:anywhere}.history-row small{font-size:9px}
@media(max-width:1050px){.market .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.market-header-main{gap:18px}.market-header .brand{font-size:18px;max-width:180px}.market-header .brand #brandName{max-width:135px}.hero-primary{padding:28px}.hero-primary h1{font-size:29px}.art-ticket{width:130px;height:175px;padding:16px}.ticket-front{right:20px;top:68px}.ticket-back{left:-5px;top:57px}.hero-secondary{padding:22px}.hero-secondary h2{font-size:19px}}@media(max-width:760px){.market .shop-wrap{padding:20px 18px 80px}.market .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.market-top{display:none}.market-header-main{flex-wrap:wrap;padding:16px 18px 14px;gap:14px}.market-header .brand{flex:1;max-width:none;font-size:20px}.market-header .brand #brandName{max-width:200px}.market-search{order:3;flex-basis:100%;padding:3px 4px 3px 12px}.market-search input{font-size:12px;padding:10px 2px}.market-search button{padding:8px 15px;font-size:10px}.orders-button{padding:8px 12px;font-size:10px}.market-quick{padding:10px 18px;gap:22px}.market-hero{grid-template-columns:1fr}.hero-primary{min-height:260px}.hero-copy{max-width:57%}.hero-primary h1{font-size:30px}.hero-primary p{font-size:10px;max-width:270px}.hero-art{width:43%}.art-ticket{width:135px;height:170px}.ticket-front{right:27px;top:58px}.ticket-back{left:5px;top:40px}.hero-secondary{display:none}.market-benefits{gap:15px;padding:15px}.market-benefits>span{grid-template-columns:25px 1fr;column-gap:4px}.market-benefits i{font-size:21px}.market-benefits b{font-size:9px}.market-benefits small{font-size:8px}.market-heading h2{font-size:20px}.category-section{margin:26px 0}.category-tile{min-width:105px;padding:12px 10px;font-size:9px}.market-categories{gap:10px}.market-support{padding:23px;flex-wrap:wrap}.market-support h2{font-size:20px}.market .detail-grid{grid-template-columns:1fr;gap:20px}.market #detail .shop-image{max-height:350px;aspect-ratio:1.5}.market-mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e0e8f3;z-index:20;padding:8px 10px max(8px,env(safe-area-inset-bottom))}.market-mobile-nav a,.market-mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;padding:1px 15px;color:#71839e;font-size:21px}.market-mobile-nav a:first-child{color:#2368dc}.market-mobile-nav span{font-size:9px;font-weight:500}.market .toast{bottom:82px}.market-footer{gap:15px;flex-wrap:wrap}}@media(max-width:470px){.market .shop-wrap{padding:16px 14px 80px}.market-header-main{padding:14px}.orders-button span{font-size:9px}.orders-button{gap:5px;padding:8px 10px}.hero-primary{padding:22px;min-height:244px;border-radius:12px}.hero-copy{max-width:64%}.hero-primary h1{font-size:24px;letter-spacing:-.6px}.hero-primary p{font-size:9px;max-width:200px}.hero-label{font-size:7px;letter-spacing:1px}.hero-cta{font-size:9px;padding:9px 12px;gap:15px}.hero-art{width:35%;right:-7px}.art-ticket{width:95px;height:137px;padding:12px;border-radius:11px}.ticket-back{top:49px;left:0}.ticket-front{top:75px;right:6px}.art-ticket>span{font-size:5px}.art-ticket b{font-size:25px}.ticket-back b{font-size:15px}.art-ticket b span{font-size:22px}.art-ticket small{font-size:5px}.art-circle{width:190px;height:190px;right:-60px;top:30px;border-width:25px}.art-spark{font-size:25px}.spark-one{left:0;top:15px}.spark-two{right:10px;bottom:0}.market-benefits{margin-top:10px;padding:13px 11px;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.market-benefits>span{display:flex;flex-direction:column;text-align:center;gap:3px}.market-benefits b{font-size:8px}.market-benefits small{font-size:6px}.market-benefits i{font-size:20px;line-height:1.2}.market .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.market .shop-card-content{padding:12px}.market .shop-card h3{font-size:12px}.market .shop-price{font-size:17px}.market .shop-image{aspect-ratio:1.1;font-size:42px}.market .shop-card-bottom{flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:10px}.market-heading{gap:10px;align-items:flex-end}.market-heading h2{font-size:18px}.market-eyebrow{font-size:7px;letter-spacing:1px}.sort-label{font-size:0;gap:0}.sort-label select{font-size:9px;padding:8px;max-width:118px}.category-tile{min-width:94px;font-size:8px;padding:12px 8px}.category-tile i{width:39px;height:39px;font-size:21px}.category-tile small{font-size:7px}.market-support{padding:20px}.market-support h2{font-size:18px}.market #detail{padding:18px}.market #detail h1{font-size:25px}.market #detail h2.accent{font-size:25px}.market .shop-detail-actions{gap:10px}.market-footer{font-size:8px}.market dialog{padding:20px}.market .order-modal h2{font-size:20px}}

/* v3.2.1 — anime storefront and explicit navigation layout isolation. */
body.market{font-family:"Segoe UI",Arial,sans-serif!important;background:radial-gradient(ellipse at 10% 25%,#f0edff55,transparent 45%),#f7f9fe;font-size:14px}
.market button,.market input,.market select,.market textarea{font-family:inherit}
.market-header{background:linear-gradient(110deg,#214fb3,#235dc7 65%,#456bd0);box-shadow:0 3px 14px #183e7d14;position:relative;z-index:5}
.market-header-main{padding-top:16px;padding-bottom:17px;gap:30px}
.market-header .brand{font-size:23px;letter-spacing:-.7px}
.market-header .logo{width:38px;height:38px;flex-shrink:0}
.market-top{font-size:11px;padding-top:10px;padding-bottom:0}
.market-top button{font-size:11px}
.market-search{min-height:46px;border:1px solid #ffffffb3;border-radius:12px;box-shadow:0 4px 12px #12356b1a}
.market-search input{font-size:13px;padding:9px 2px}
.market-search button{border-radius:8px;font-size:12px;padding:10px 18px}
.search-icon{width:21px;height:21px;flex-shrink:0;fill:none;stroke:#6382a6;stroke-width:1.8;stroke-linecap:round}
.orders-button{min-height:46px;border-radius:11px;font-size:12px;padding:11px 17px;gap:8px;background:#ffffff16;border-color:#ffffff36}
.orders-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.market-header .market-quick{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:23px;min-height:46px;padding-top:11px;padding-bottom:11px;background:#143c8c;scrollbar-width:none}
.market-quick::-webkit-scrollbar{display:none}
.market-header .market-quick button{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex:0 0 auto;width:auto;padding:0;white-space:nowrap;font-size:12px;line-height:1.5;border-radius:0;color:#e4ecff;text-align:left}
.market-quick svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.market .shop-wrap{padding-top:0}
.anime-stage{position:relative;width:100vw;margin-left:calc(50% - 50vw);min-height:500px;background:#19215f url('/rental-assets/assets/anime-neon-market-v1.png') center center/cover no-repeat;isolation:isolate;overflow:hidden}
.anime-stage-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#17194a00 0%,#17194a30 24%,#17194a9e 42%,#17194a8a 60%,#17194a18 80%,#17194a00),linear-gradient(0deg,#181b54b8,transparent 40%)}
.anime-stage-inner{max-width:1232px;margin:auto;padding:40px 26px 29px;position:relative;z-index:1}
.anime-intro{max-width:680px;margin:auto;text-align:center}
.anime-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #b7c3ff50;border-radius:30px;padding:7px 13px;color:#e6e8ff;background:#7b85d51f;backdrop-filter:blur(12px);font-size:9px;font-weight:700;letter-spacing:1.6px;box-shadow:inset 0 1px 0 #ffffff20}
.anime-badge i{width:5px;height:5px;background:#b4f4ff;border-radius:50%;box-shadow:0 0 10px #b4f4ff}
.anime-intro h1{color:#fff;font-size:43px;line-height:1.2;letter-spacing:-1.4px;margin:18px 0 13px;font-weight:800;text-shadow:0 3px 16px #0b154566}
.anime-intro h1 em{font-style:normal;color:#b4eaff}
.anime-intro>p{color:#e1e3fc;font-size:12px;max-width:460px;margin:0 auto 23px;line-height:1.8;text-shadow:0 1px 6px #111f49}
.anime-actions{display:flex;align-items:center;justify-content:center;gap:12px}
.anime-actions .hero-cta{padding:12px 20px;border-radius:11px;font-size:12px;gap:25px;background:#fff;color:#224ca7;box-shadow:0 8px 25px #080e442a}
.hero-outline{border:1px solid #dce4ff8c;background:#ffffff15;color:#fff;border-radius:11px;padding:12px 20px;backdrop-filter:blur(9px);font-size:12px;font-weight:600}
.hero-outline:hover{background:#ffffff25}
.anime-feature-cards{max-width:880px;margin:32px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.anime-feature{position:relative;border:1px solid #bac6ff45;border-radius:15px;padding:18px 16px;display:flex;align-items:center;gap:12px;background:linear-gradient(130deg,#262854bf,#2d34828c);backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #ffffff15,0 5px 20px #090e3222;color:#fff;min-height:88px;transition:transform .2s,border-color .2s}
a.anime-feature:hover{transform:translateY(-3px);border-color:#c7d5ff9e}
.feature-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid #c9d7ff40;border-radius:12px;background:#b7c8ff13;flex-shrink:0;color:#b9e7ff}
.feature-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.anime-feature b{display:block;font-size:12px;font-weight:650;margin-bottom:5px;line-height:1.4}
.anime-feature small{color:#c6cdeb;font-size:9px;display:block;line-height:1.5}
.feature-arrow{color:#bdc9f8;margin-left:auto;font-size:19px}
.anime-bottom-glow{height:3px;position:absolute;bottom:0;left:0;right:0;background:linear-gradient(90deg,transparent,#8c6bea,#69d6f3,#b08bf8,transparent);box-shadow:0 0 15px #89a4f5}
.market .category-section{margin:32px 0 30px}
.market-heading h2{font-size:23px;font-weight:750;letter-spacing:-.5px;color:#1c2e54}
.market-eyebrow{font-size:9px;letter-spacing:1.4px;color:#8a97b0}
.market-categories{gap:13px;padding-bottom:10px}
.category-tile{min-width:130px;padding:17px 14px;border-radius:16px;border-color:#e5e8f3;box-shadow:0 3px 12px #36559b04;gap:9px;font-size:11px;transition:transform .18s,box-shadow .18s}
.category-tile:hover{transform:translateY(-3px);box-shadow:0 7px 20px #36559b0e;background:#fff;border-color:#b5cafa}
.category-tile i{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#f0f0ff,#e9f3ff);color:#536bd4}
.category-tile svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.category-tile small{font-size:9px;color:#8b98ad}
.category-tile.selected{background:linear-gradient(150deg,#f5f2ff,#f0f6ff);border-color:#a7baf1}
.market .shop-card{border-radius:16px;border-color:#e4e9f4;box-shadow:0 4px 18px #354d8407}
.market .shop-card-content{padding:16px}
.market .shop-card h3{font-size:13px;font-weight:700;min-height:39px}
.market .shop-card p{font-size:10px}
.market .shop-price{font-size:19px;color:#315cc6}
.market .shop-image{background:radial-gradient(circle at 70% 15%,#f3e6ff,transparent 55%),linear-gradient(140deg,#e8eaff,#d9ecff);font-size:46px;color:#6476ce}
.market .shop-card-bottom{font-size:9px}
.market .shop-card .badge{border-radius:6px;font-size:9px;padding:4px 7px}
.market-support{background:linear-gradient(110deg,#fff,#f0f0ff);border-color:#e3e6f3;border-radius:18px}
.market .market-mobile-nav{flex-direction:row;align-items:center}
.market #detail{margin-top:25px}
@media(min-width:1700px){.anime-stage{min-height:540px}.anime-stage-inner{padding-top:55px}.anime-intro h1{font-size:48px}.anime-feature-cards{margin-top:42px}}
@media(max-width:1000px){.anime-stage{min-height:480px;background-position:center}.anime-stage-inner{padding-top:36px}.anime-intro{max-width:600px}.anime-intro h1{font-size:39px}.anime-feature-cards{max-width:800px;gap:10px}.anime-feature{padding:16px 13px;gap:9px}.anime-feature b{font-size:11px}.anime-feature small{font-size:8px}}
@media(max-width:760px){.market-header-main{gap:14px;padding:16px 18px 14px}.market-header .brand{font-size:21px}.market-header .logo{width:34px;height:34px}.orders-button{min-height:38px;padding:8px 12px}.market-search{min-height:43px}.market-header .market-quick{min-height:43px;padding:11px 18px;gap:22px}.market-header .market-quick button{font-size:11px;line-height:1.4}.anime-stage{min-height:470px;background-position:14% center}.anime-stage-shade{background:linear-gradient(90deg,#111e4a44,#1118488c 40%,#131d5899 80%),linear-gradient(0deg,#151950d9,transparent 50%)}.anime-stage-inner{padding:35px 18px 24px}.anime-intro{max-width:560px}.anime-intro h1{font-size:36px;letter-spacing:-1px}.anime-intro>p{max-width:400px;font-size:12px}.anime-feature-cards{gap:9px;margin-top:27px}.anime-feature{flex-direction:column;align-items:flex-start;padding:14px 12px;border-radius:12px;gap:9px}.anime-feature b{font-size:10px}.anime-feature small{font-size:8px}.feature-icon{width:30px;height:30px;border-radius:9px}.feature-icon svg{width:18px;height:18px}.feature-arrow{position:absolute;right:12px;top:15px;font-size:16px}.market-heading h2{font-size:21px}.market .category-section{margin-top:26px}.category-tile{min-width:118px;font-size:10px;padding:15px 12px}.category-tile i{width:43px;height:43px}.category-tile svg{width:23px;height:23px}.market .shop-card h3{font-size:13px}.market .shop-card-content{padding:14px}.market .shop-price{font-size:18px}}
@media(max-width:470px){.market-header-main{padding:14px;gap:12px}.market-header .brand{font-size:20px}.orders-button{gap:5px;padding:7px 10px;font-size:11px}.orders-button span{font-size:10px}.orders-button svg{width:16px;height:16px}.market-search input{font-size:12px}.market-search button{font-size:11px;padding:8px 14px}.market-header .market-quick{padding:10px 14px;gap:20px;min-height:42px}.market-header .market-quick button{font-size:11px}.anime-stage{min-height:490px;background-position:3% center}.anime-stage-shade{background:linear-gradient(90deg,#151b514d,#151b5199 45%,#151b51cf 95%),linear-gradient(0deg,#171a52e8,transparent 70%)}.anime-stage-inner{padding:30px 14px 22px}.anime-badge{font-size:7px;letter-spacing:1.2px;padding:6px 11px}.anime-intro h1{font-size:31px;line-height:1.23;margin:18px 0 12px;letter-spacing:-.8px}.anime-intro>p{font-size:11px;max-width:285px;line-height:1.75;margin-bottom:22px}.anime-actions{gap:9px}.anime-actions .hero-cta{padding:11px 16px;font-size:11px;gap:16px}.hero-outline{padding:11px 15px;font-size:11px}.anime-feature-cards{margin-top:29px;gap:7px}.anime-feature{min-height:122px;padding:12px 9px;gap:9px;background:linear-gradient(135deg,#3c3770cc,#333d7ba3)}.anime-feature b{font-size:9px;line-height:1.5;margin-bottom:4px}.anime-feature small{font-size:7px;line-height:1.6}.feature-icon{width:29px;height:29px}.feature-arrow{font-size:13px;right:8px;top:14px}.market-heading h2{font-size:20px}.market-eyebrow{font-size:8px;letter-spacing:1px}.category-tile{min-width:108px;font-size:9px;padding:14px 10px;gap:8px}.category-tile i{width:40px;height:40px;border-radius:13px}.category-tile svg{width:22px;height:22px}.category-tile small{font-size:8px}.market .shop-card-content{padding:13px}.market .shop-card h3{font-size:13px}.market .shop-card p{font-size:10px}.market .shop-price{font-size:18px}.market .shop-card .badge{font-size:8px}.market .shop-card-bottom{font-size:8px}}
@media(prefers-reduced-motion:reduce){.anime-feature,.category-tile{transition:none!important}}
body.market{overflow-x:clip}
@media(max-width:470px){.anime-intro>p{font-size:12px;max-width:300px}.anime-feature{min-height:132px}.anime-feature b{font-size:10px}.anime-feature small{font-size:8.5px}.category-tile{font-size:10px}.category-tile small{font-size:8px}}

/* Product page and touch controls */
.market-footer a { color: #315cc6; font-weight: 700; }
.market #detail { background: none; border: 0; padding: 0; margin-top: 24px; }
.product-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: 13px; color: #586a85; margin-bottom: 18px; overflow-wrap: anywhere;
}
.product-layout {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr) minmax(255px, .9fr);
  align-items: start; gap: 20px;
}
.product-media, .product-info-card, .product-checkout, .product-description {
  min-width: 0; border-radius: 19px; border: 1px solid #e1e6f3; background: #fff;
  box-shadow: 0 6px 22px #263b7309;
}
.product-media {
  display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; padding: 20px;
  background: radial-gradient(ellipse at center, #fff 40%, #f1f4ff);
  color: #536ccd; font-size: clamp(40px, 7vw, 96px); font-weight: 800;
}
.product-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-info-card, .product-checkout, .product-description { padding: 22px; }
.product-category { color: #4059a9; font-size: 13px; font-weight: 650; }
.market #detail .product-info-card h1 { font-size: clamp(22px, 2.4vw, 35px); line-height: 1.2; margin: 8px 0; overflow-wrap: anywhere; }
.product-variant { font-size: 15px; color: #5b6c87; overflow-wrap: anywhere; }
.product-price { font-weight: 800; font-size: 28px; color: #254fb6; margin: 18px 0; overflow-wrap: anywhere; }
.product-price small { font-size: 12px; font-weight: 500; }
.product-facts { margin: 0; display: grid; gap: 9px; font-size: 13px; }
.product-facts div, .product-seller, .product-buy-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-facts dt { color: #586a85; }
.product-facts dd { margin: 0; text-align: right; font-weight: 700; }
.product-facts .badge { font-size: 11px; }
.product-seller { border-top: 1px solid #e9edf6; padding-top: 14px; margin-top: 16px; flex-wrap: wrap; overflow-wrap: anywhere; }
.product-seller a { min-height: 44px; }
.product-checkout { grid-column: 3; grid-row: 1 / span 2; position: sticky; top: 16px; }
.product-checkout h2, .product-description h2 { font-size: 18px; }
.product-checkout label { font-size: 13px; font-weight: 650; }
.quantity-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; }
.quantity-stepper input, .quantity-stepper button { height: 44px; margin: 0; text-align: center; font-size: 16px; }
.quantity-stepper input { appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.quantity-stepper button { border-radius: 11px; padding: 0; color: #315cc6; background: #eff3ff; font-size: 20px; }
.product-buy-bar { margin-top: 16px; padding-top: 13px; border-top: 1px solid #e9edf6; flex-wrap: wrap; }
.product-subtotal { min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.product-subtotal span { font-size: 12px; color: #586a85; }
.product-subtotal strong { font-size: 19px; color: #223e88; }
.market #buy { min-height: 44px; border-radius: 12px; flex: 1 1 100%; font-size: 14px; }
.market #buy:enabled { background: linear-gradient(115deg,#205ac9,#5144bd); border: 0; }
.market #buy:disabled, .market .quantity-stepper button:disabled { opacity: 1; background: #eef1f7; border-color: #e1e6f0; color: #53637e; cursor: default; }
.product-description { grid-column: 1 / span 2; }
.market .product-description .prewrap { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.product-description h2:not(:first-child) { border-top: 1px solid #e9edf6; padding-top: 16px; margin-top: 17px; }

@media(max-width: 900px) {
  .product-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 14px; }
  .product-checkout { grid-column: auto; grid-row: auto; position: static; }
  .product-description { grid-column: 1 / -1; }
}
@media(max-width: 760px) {
  body.market { --mobile-nav-height: 66px; }
  .market .market-mobile-nav {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px;
    height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px)); box-sizing: border-box;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top-color: #e0e6f4; box-shadow: 0 -7px 30px #283a6510;
  }
  .market .market-mobile-nav > :is(a,button) {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 54px; padding: 0 4px; color: #475d80; line-height: 1.15; border-radius: 12px;
  }
  .market .market-mobile-nav > :is(a,button) > span:last-child { font-size: 11px; font-weight: 650; }
  .market .market-mobile-nav .mobile-nav-icon { display: grid; place-items: center; width: 42px; height: 27px; border-radius: 10px; }
  .mobile-nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .market .market-mobile-nav a[aria-current] { color: #254fb6; }
  .market .market-mobile-nav a[aria-current] .mobile-nav-icon { background: #e9edff; }
  .market-mobile-nav + .toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .market .orders-button, .market .market-search button, .market .pagination button { min-height: 44px; }
  .market .market-search input, .quantity-stepper input { font-size: 16px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .product-media { aspect-ratio: 1.28; max-height: 330px; }
  .product-media img { max-height: 288px; }
  .product-info-card, .product-checkout, .product-description { padding: 16px; }
  .market #detail .product-info-card h1 { font-size: 25px; }
  .product-buy-bar {
    position: fixed; z-index: 21; left: 0; right: 0;
    bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    margin: 0; padding: 9px max(14px, env(safe-area-inset-right, 0px)) 9px max(14px, env(safe-area-inset-left, 0px));
    background: #fff; box-shadow: 0 -7px 24px #283a6514; flex-wrap: nowrap;
  }
  .market #buy { flex: 0 1 58%; min-width: 0; white-space: normal; padding: 8px 12px; }
  .market.showing-product .shop-wrap { padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
  .market.showing-product .toast { bottom: calc(151px + env(safe-area-inset-bottom, 0px)); }
}

/* Sakura petals stay inside the hero and behind its controls. */
.sakura-fall {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sakura-petal {
  position: absolute;
  top: -24px;
  left: var(--start);
  width: var(--size, 12px);
  aspect-ratio: 1.3;
  border-radius: 82% 15% 76% 32%;
  background: radial-gradient(ellipse at 28% 24%, #ffe5f4, #f48bc4 62%, #d9519f);
  animation: sakura-drift var(--duration, 12s) var(--delay) linear infinite;
}
.sakura-petal:nth-child(1) { --start: 4%; --delay: -4s; --drift: 55px; }
.sakura-petal:nth-child(2) { --start: 21%; --delay: -9s; --drift: 94px; --size: 8px; }
.sakura-petal:nth-child(3) { --start: 77%; --delay: -3s; --drift: -75px; --size: 15px; --duration: 15s; }
.sakura-petal:nth-child(4) { --start: 95%; --delay: -10s; --drift: -76px; --size: 9px; }
.sakura-petal:nth-child(5) { --start: 41%; --delay: -6s; --drift: 56px; --size: 8px; --duration: 14s; }
.sakura-petal:nth-child(6) { --start: 56%; --delay: -2s; --drift: -82px; --size: 10px; --duration: 13s; }
.sakura-petal:nth-child(7) { --start: 9%; --delay: -11s; --drift: 115px; --size: 16px; --duration: 16s; }
.sakura-petal:nth-child(8) { --start: 85%; --delay: -5s; --drift: 40px; --size: 8px; --duration: 10s; }
.sakura-petal:nth-child(9) { --start: 30%; --delay: -8s; --drift: -92px; --size: 12px; --duration: 15s; }
.sakura-petal:nth-child(10) { --start: 68%; --delay: -12s; --drift: 75px; --size: 14px; --duration: 14s; }
@keyframes sakura-drift {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  10%, 78% { opacity: .76; }
  25% { transform: translate3d(calc(var(--drift) * .55), 170px, 0) rotate(114deg) rotateY(40deg); }
  50% { transform: translate3d(calc(var(--drift) * .38), 360px, 0) rotate(215deg) rotateY(128deg); }
  75% { transform: translate3d(calc(var(--drift) * 1.1), 550px, 0) rotate(333deg) rotateY(201deg); }
  100% { opacity: 0; transform: translate3d(var(--drift), 750px, 0) rotate(445deg) rotateY(310deg); }
}
@media (max-width: 760px) {
  .sakura-petal:nth-child(n+6) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sakura-fall { display: none; }
  .sakura-petal { animation: none; }
}

.checkout-email { display: block; margin-top: 16px; }
.product-checkout #buyerEmail { margin-top: 6px; }
.order-recovery {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.order-recovery label { font-size: 13px; font-weight: 650; }
.order-recovery h3, .order-recovery .form-note { margin: 0; }
.order-recovery button { margin-top: 4px; }
.order-recovery[hidden] { display: none; }

#refreshOrderStatus + #cancelOrder { margin-top: 8px; }
