/* Content library storefront: native SVG icons and independent mobile layouts. */
:root{color-scheme:light;--bg:#fff;--panel:#fff;--line:#e9e9ed;--text:#202127;--muted:#878790;--accent:#28262e;--accent-soft:#f3f1f6;--radius:10px;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text)}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{border:0;color:inherit;cursor:pointer}
button:disabled{cursor:wait;opacity:.5}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #8773bd;outline-offset:4px}
h1,h2,h3,p{margin:0}
h2{font-size:22px;letter-spacing:-.6px;font-weight:700}
h3{font-size:14px;font-weight:600}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 20px;border-radius:7px;font-weight:600;line-height:1.5}
.primary{background:#29262f;color:white}
.primary:hover{background:#48414f}
.secondary{background:white;border:1px solid #dfdae6;color:#766880}
.secondary:hover{background:#faf8fc}
.wide{width:100%;min-height:50px;margin-top:22px;justify-content:space-between}
.error{color:#b34f61;font-size:13px;overflow-wrap:anywhere;margin-top:12px}
.muted{color:var(--muted);font-size:13px}

.storefront-body{--bg:#f8f7fc;--line:#edeaf3;--text:#2b2638;--muted:#7b7489;--accent:#7754c7;--accent-soft:#eee7fb;-webkit-font-smoothing:antialiased}
.storefront-body ::selection{background:#e8defb}
.storefront-body #app{min-height:100dvh}
.storefront-body h2{font-weight:750}
.storefront-body h3{font-weight:650}
.storefront-body .primary,.storefront-body .secondary{border-radius:12px;font-weight:650}
.storefront-body .primary{background:var(--accent)}
.storefront-body .primary:hover{background:#6140b0}
.storefront-body .secondary{color:#786491}
.storefront-body .error{padding:11px 14px;border:1px solid #f1dce0;border-radius:12px;background:#fff3f5}
.skip-link{position:fixed;top:10px;left:270px;z-index:80;padding:10px 16px;border-radius:8px;background:#2b2638;color:white;transform:translateY(-200%)}
.skip-link:focus{transform:none}
.eyebrow{display:block;font-size:11px;letter-spacing:1px;font-weight:650;color:#8d78aa;margin-bottom:8px}
.ui-icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* Desktop directory: categories retain the merchant's names and order. */
.sidebar{position:fixed;left:0;top:0;bottom:0;width:242px;z-index:20;display:flex;flex-direction:column;padding:28px 18px 18px;border-right:1px solid var(--line);background:white}
.brand{display:flex;align-items:center;gap:11px;min-width:0;font-size:17px;font-weight:750;letter-spacing:-.4px}
.sidebar>.brand{padding:0 7px 26px}
.brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-mark{width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#7754c7;color:white;font-size:24px;font-weight:750;display:grid;place-items:center}
.brand-mark.has-logo{background:transparent}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.sidebar-scroll{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;padding-right:2px}
.nav-label{font-size:11px;font-weight:650;color:#92899e;margin:12px 10px 10px}
.desktop-navigation{display:grid;gap:5px}
.nav-item{display:flex;align-items:center;gap:12px;padding:12px;text-align:left;background:transparent;border-radius:12px;font-size:13px;color:#80768e}
.nav-item>span{display:grid;place-items:center;width:22px}
.nav-item .ui-icon{width:21px;height:21px}
.nav-item:hover,.category:hover{background:#f7f4fb;color:#6140b0}
.nav-item.active{background:#eee7fb;color:#6945b5;font-weight:700}
.category-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;padding-right:12px}
.category-heading>span{font-size:11px;color:#a396b4}
.categories{display:grid;gap:3px;padding-bottom:20px}
.category{display:flex;align-items:center;gap:11px;width:100%;padding:8px 10px;border-radius:12px;text-align:left;background:transparent;color:#766b85;font-size:12px}
.category-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;flex-shrink:0;background:var(--icon-bg,#eee7fb);color:var(--icon-color,#7956ba)}
.category-icon .ui-icon{width:19px;height:19px}
[data-theme=violet]{--icon-bg:#eee7fb;--icon-color:#825ac3}
[data-theme=rose]{--icon-bg:#fce7ee;--icon-color:#cc698d}
[data-theme=sky]{--icon-bg:#e6eefb;--icon-color:#688ed0}
[data-theme=mint]{--icon-bg:#e4f2ec;--icon-color:#58a489}
[data-theme=sand]{--icon-bg:#faf0db;--icon-color:#bc9555}
.category-name{min-width:0;overflow-wrap:anywhere}
.category.active{background:#f0eafa;color:#6945b5;font-weight:700}
.sidebar-membership{flex-shrink:0;display:grid;grid-template-columns:28px 1fr;gap:8px;padding:20px 8px 0;border-top:1px solid var(--line)}
.member-badge{font-size:23px;color:#9e87bd}
.sidebar-membership strong{font-size:13px;font-weight:650}
.sidebar-membership p{font-size:11px;color:#93849f;margin-top:4px}
.sidebar-membership button{grid-column:1/-1;justify-content:space-between;font-size:13px;padding:12px 14px;width:100%;margin-top:10px}

/* Header and the new discovery composition. */
.workspace{margin-left:242px;min-width:0}
.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:20px;min-height:78px;padding:18px 34px;border-bottom:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(16px)}
.location-label{display:flex;align-items:center;gap:14px;white-space:nowrap;font-size:12px;color:#b0a4bd}
.location-label strong{font-weight:600;color:#796788}
.mobile-brand{display:none}
.search-box{display:flex;align-items:center;gap:10px;max-width:340px;width:100%;min-width:0;margin-left:auto;border:1px solid #eee9f4;border-radius:12px;background:#f7f5fb;padding:10px 13px;color:#a190b5}
.search-box:focus-within{border-color:#b3a2cc;background:white}
.search-box svg{width:18px;height:18px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.search-box input{font-size:13px;min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);padding:0}
.search-box input::placeholder{color:#a190b5}
.vip-button{white-space:nowrap;flex-shrink:0;border-radius:12px;padding:11px 16px;background:#eee7fb;color:#7451b5;font-size:12px;font-weight:700}
.vip-button:hover{background:#e6daf8}
.vip-button.is-vip{background:#ebf5ef;color:#508468}
.hall{max-width:1550px;margin:auto;padding:28px 34px 22px;min-height:calc(100dvh - 160px)}
.hall:focus{outline:0}

.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}
.content-main{min-width:0}
.carousel{position:relative;isolation:isolate;aspect-ratio:3.5;border-radius:20px;overflow:hidden;background:#f0eafa;margin-bottom:28px}
.slide,.slide img,#slides{width:100%;height:100%}
.slide{display:block}
.slide[href]{cursor:pointer}
.slide img{display:block;object-fit:cover;object-position:center}
.carousel-empty{position:relative;height:100%;padding:26px 30px;background:linear-gradient(110deg,#ebe5f5,#faf7fd);overflow:hidden}
.carousel-empty:after{position:absolute;right:6%;top:-45px;content:'✦';color:#ddd1ee;font-size:230px;line-height:1.2;transform:rotate(12deg);pointer-events:none}
.carousel-empty>*{position:relative;z-index:1}
.carousel h1{font-size:24px;line-height:1.4;letter-spacing:-.5px;margin-bottom:7px}
.carousel p{font-size:12px;color:#93839d}
.carousel-controls{position:absolute;z-index:2;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.carousel-controls button{pointer-events:auto;width:30px;height:30px;padding:0;border-radius:50%;background:#ffffffed;color:#554664;font-size:23px;line-height:1}
#dots{display:flex;align-items:center;gap:6px;min-height:20px;padding:6px 9px;border-radius:20px;background:#40324466}
.carousel-controls .dot{width:5px;height:5px;background:#ffffff8c}
.carousel-controls .dot.active{width:18px;border-radius:5px;background:#fff}
.section{scroll-margin-top:100px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2{font-size:22px;line-height:1.4}
.section-description{font-size:12px;color:#a091af;margin-top:7px}
.text-action{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:8px 0;background:transparent;color:#9a82b1;font-size:12px}
.text-action:hover{color:#6945b5}
.category-launchpad{margin-bottom:30px}
.category-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 10px;background:white;border:1px solid var(--line);border-radius:20px}
.category-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:0;padding:10px 5px;background:transparent;border-radius:14px;text-align:center;color:#6c607c;font-size:12px;font-weight:550}
.category-shortcut .category-icon{width:50px;height:50px;border-radius:17px}
.category-shortcut .ui-icon{width:26px;height:26px}
.category-shortcut .category-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5}
.category-shortcut:hover{background:#faf7fd;color:#6945b5}
.all-categories .category-icon{background:#f3f0f8;color:#a99bb8}
.featured-section{margin-bottom:30px}
.featured-section .section-head .eyebrow{font-size:10px;margin-bottom:3px}
.featured-games{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#ddd1eb transparent}
.featured-card{position:relative;flex:0 0 164px;padding:12px;background:white;border:1px solid var(--line);border-radius:18px;scroll-snap-align:start}
.featured-card .game-art{display:flex;align-items:center;justify-content:center;height:142px;border-radius:11px}
.featured-card .game-art img{width:auto;height:auto;max-width:100%;max-height:142px}
.featured-card .game-art:has(.missing-image){background:#f4f1f6}
.featured-card .game-card-foot{padding-top:11px}
.featured-card .play-label{font-size:10px}
.featured-card .play-bubble{display:none}
.featured-rank{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#ffffffea;color:#866aa5;font-size:11px;font-weight:750;box-shadow:0 2px 8px #60477312}

/* Original cover proportions: only the content library uses masonry. */
.game-grid{column-count:3;column-gap:18px}
.game-card{display:block;min-width:0}
.game-grid .game-card{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin-bottom:18px;background:white;border:1px solid #eeebf4;border-radius:17px;overflow:hidden}
.game-art{position:relative;overflow:hidden;border-radius:10px}
.game-grid .game-art{border-radius:0}
.game-art img{display:block;width:100%;height:auto;transition:opacity .2s}
.game-art img.missing-image{aspect-ratio:3/4;font-size:0;background:#f4f1f6}
.game-art:has(.missing-image):before{content:'✦';position:absolute;inset:0;display:grid;place-items:center;color:#d0c3df;font-size:45px}
.game-card:hover .game-art img{opacity:.88}
.game-card-foot{padding:13px 13px 14px;min-width:0}
.game-card h3{line-height:1.55;font-size:13px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.play-label{display:block;font-size:11px;color:#a394b2;margin-top:5px}
.game-card:hover h3{color:#786496}
.play-bubble{position:absolute;right:10px;bottom:10px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#7754c7;background:white;opacity:0;transform:translateY(4px);transition:.2s}
.game-card:hover .play-bubble,.game-card:focus-visible .play-bubble{opacity:1;transform:none}
.empty{padding:42px 20px;text-align:center;color:#96909d;font-size:13px;border:1px dashed #e4deea;border-radius:14px;overflow-wrap:anywhere}
.game-grid .empty{column-span:all}
.more{display:flex;margin:16px auto}
.filter-button{display:none}

/* Ranking is an ordered list; featured cards are a horizontal strip, never masonry. */
.popular-section{padding:24px 20px 20px;background:white;border:1px solid var(--line);border-radius:22px;min-width:0}
.popular-section .section-head{padding:0;margin-bottom:0}
.popular-section h2{font-size:20px}
.popular-section .eyebrow{font-size:10px;margin-bottom:5px}
.rank-heading-icon{font-size:27px;font-weight:400;color:#b8a0d1}
.rank-description{font-size:11px;color:#a393b1;margin:12px 0 20px}
.popular-grid{display:grid;gap:0}
.ranked{display:grid;grid-template-columns:22px 48px minmax(0,1fr);gap:10px;align-items:center;min-height:102px;padding:14px 0;border-bottom:1px solid var(--line)}
.ranked .rank-number{font-size:15px;font-weight:750;color:#c1b4ce}
.ranked:nth-child(-n+3) .rank-number{color:#9a73c0}
.ranked .game-art{border-radius:6px;max-height:74px;display:flex;align-items:center;justify-content:center}
.ranked .game-art img{width:auto;max-width:48px;height:auto;max-height:74px;object-fit:contain}
.ranked .game-card-foot{padding:0}
.ranked h3{font-size:12px;-webkit-line-clamp:2}
.ranked .play-label{font-size:10px;margin-top:7px}
.all-content-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 0 0;background:transparent;color:#a294b0;font-size:12px}
.all-content-button:hover{color:#786496}

/* Dedicated library and ranking pages. */
#home[data-view=library] .carousel,#home[data-view=library] #popular,#home[data-view=library] #category-launchpad,#home[data-view=library] #featured{display:none}
#home[data-view=library] .content-layout{display:block}
#home[data-view=library] .game-grid{column-count:4}
#home[data-view=library] .section-head h2{font-size:30px}
#home[data-view=popular] .content-main{display:none}
#home[data-view=popular] .content-layout{display:block}
#home[data-view=popular] #popular{background:transparent;padding:0;border:0}
#home[data-view=popular] #popular>.section-head{padding:25px 28px;background:#eee7fa;border-radius:22px;align-items:center}
#home[data-view=popular] #popular h2{font-size:30px}
#home[data-view=popular] .rank-heading-icon{font-size:42px}
#home[data-view=popular] .rank-description{font-size:13px;margin:18px 0 24px}
#home[data-view=popular] .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#home[data-view=popular] .ranked{grid-template-columns:32px 76px minmax(0,1fr);gap:16px;min-height:142px;padding:20px;background:white;border:1px solid var(--line);border-radius:18px}
#home[data-view=popular] .ranked .game-art{max-height:102px}
#home[data-view=popular] .ranked .game-art img{max-width:76px;max-height:102px}
#home[data-view=popular] .ranked h3{font-size:15px}
#home[data-view=popular] .ranked .play-label{font-size:12px}
#home[data-view=popular] .rank-number{font-size:23px}
#home[data-view=popular] .all-content-button{max-width:280px;margin-top:20px}
#category-directory{display:none}
#home[data-view=categories] .content-layout{display:none}
#home[data-view=categories] #category-directory{display:block}

/* Compact, centered membership card, including native payment choices. */
.modal{position:fixed;inset:0;margin:auto;width:420px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);padding:0;border:1px solid #e5e0eb;border-radius:20px;background:white;color:var(--text);box-shadow:0 24px 80px #27203330;overflow:auto;overscroll-behavior:contain;text-align:left}
.modal::backdrop{background:#29232f66;backdrop-filter:blur(5px)}
.membership-intro{padding:20px 20px 0}
.modal-head{position:relative;display:flex;align-items:center;gap:10px;padding-right:32px}
.membership-heading{min-width:0;flex:1}
.membership-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;font-size:24px;background:#eee7fa;color:#9f86b8}
.membership-icon.has-logo{background:transparent;overflow:hidden}
.membership-icon img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.close{position:absolute;top:0;right:0;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:10px;background:#f5f1fa;color:#9b87af;font-size:22px;line-height:1}
.close:hover{color:#352740;background:#eee8f4}
.close:focus-visible{outline-width:2px;outline-offset:2px}
.modal h2{font-size:19px;line-height:1.4;letter-spacing:-.3px;margin:0}
#membership-title,#membership-description{overflow-wrap:anywhere}
.membership-heading p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:4px;font-size:12px;line-height:1.5;color:#9a90a0}
.membership-body{padding:18px 20px 20px}
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.plan{position:relative;display:grid;gap:7px;align-content:center;min-width:0;min-height:92px;padding:13px 6px;border:1px solid #ece8f0;border-radius:12px;background:white;text-align:center}
.plan.chosen{background:#f8f4fe;border-color:#9875c8;box-shadow:inset 0 0 0 1px #9875c8}
.plan-name{font-size:12px;overflow-wrap:anywhere;line-height:1.5;min-height:36px;display:flex;align-items:center;justify-content:center}
.price{font-size:20px;line-height:1.2;white-space:nowrap;letter-spacing:-.5px;color:#7754ac}
.plan-check{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:12px;height:12px;border:1px solid #e2d9ea;border-radius:50%;font-size:8px;color:transparent}
.chosen .plan-check{background:#9375b0;border-color:#9375b0;color:white}
.payment-options{min-width:0;padding:8px 0 0;margin:14px 0 0;border:0}
.payment-options legend{color:#766482;font-size:12px;padding:0}
.channels{display:flex;flex-wrap:wrap;gap:8px}
.channel{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 110px;min-width:0;min-height:40px;padding:8px;border:1px solid #ece6f2;border-radius:10px;color:#85748f;font-size:12px;cursor:pointer;overflow-wrap:anywhere}
.channel.selected{border-color:#b69dcd;background:#faf7fd;color:#806393}
.channel input{flex-shrink:0;width:13px;height:13px;margin:0;accent-color:#9375b0}
.channel img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.channel:focus-within{outline:2px solid #b79cd7;outline-offset:2px}
.payment-loading{margin-top:14px;font-size:12px}
.query-code-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 7px}
.query-code-field{display:block;margin:0;color:#766482;font-size:12px}
.query-code-input{display:block;width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #e5ddec;border-radius:10px;background:#fcfaff;color:var(--text);font-size:16px}
.query-code-hint{margin:6px 0 0;font-size:11px;line-height:1.5;color:#9a90a0;overflow-wrap:anywhere}
.membership-recovery-link{display:block;padding:3px 0;background:transparent;color:#806393;font-size:12px}
.modal .wide{min-height:44px;margin-top:16px;justify-content:center;border-radius:12px;font-size:14px}
.modal .error{font-size:12px;line-height:1.5;margin-top:10px}
#recovery .query-code-field{margin-bottom:7px}

/* Detail: complete poster, separate readable content panels. */
.detail{max-width:1200px;margin:0 auto}
.back-link{display:inline-flex;font-size:13px;color:#9b8caa;margin-bottom:24px;padding:6px 0}
.back-link:hover{color:#786496}
.detail-layout{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:36px;align-items:start}
.detail-hero{min-width:0;background:white;border:1px solid var(--line);padding:16px;border-radius:22px}
.detail-hero>img{display:block;max-width:100%;width:100%;height:auto;border-radius:12px;margin-bottom:23px}
.detail-hero .eyebrow{font-size:10px;margin-bottom:8px}
.detail h1{font-size:22px;line-height:1.55;letter-spacing:-.5px;overflow-wrap:anywhere}
.unlocked{display:inline-flex;margin-top:15px;font-size:12px;color:#65a182;background:#edf7f1;border-radius:9px;padding:6px 12px}
.detail-sections{min-width:0;display:grid;gap:20px}
.detail-panel{padding:27px;background:white;border:1px solid var(--line);border-radius:22px}
.detail-panel h2{font-size:20px;line-height:1.5;margin-bottom:15px}
.detail-panel p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8b7e95}
.detail-panel .secondary{font-size:13px;min-height:44px}
.detail-locked{max-width:700px;margin:30px auto;padding:65px 30px;border:1px solid #e9e1f0;border-radius:24px;background:white;text-align:center}
.detail-locked .muted{margin:14px 0 25px}
.delivery-text{font-size:14px;margin:16px 0 26px;white-space:pre-wrap;overflow-wrap:anywhere;color:#766680}
.delivery-text a{color:#8b65b2;text-decoration:underline;text-underline-offset:3px}
.delivery-text.rich-content{white-space:normal}
.rich-content p,.rich-content blockquote{margin:0 0 12px;white-space:pre-wrap;color:inherit}
.rich-content img{display:block;max-width:100%;height:auto;margin:12px 0;border-radius:12px}
.rich-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.rich-content ul,.rich-content ol{padding-left:24px}
.rich-content table{display:block;max-width:100%;overflow:auto}
.rich-content td,.rich-content th{padding:6px 10px;border:1px solid var(--line)}
footer{display:flex;justify-content:space-between;gap:24px;padding:22px 34px;color:#a79ab4;font-size:11px;margin-top:10px}
.mobile-navigation{display:none}
.category-directory>.section-head{padding:25px 28px;background:#eee7fa;border-radius:22px;align-items:center}
.category-directory h2{font-size:30px}
.category-heading-icon .ui-icon{width:38px;height:38px;color:#9a7abb}
.directory-description{font-size:13px;color:#a08cac;margin:18px 0 24px}
.category-directory-head{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#74617f;margin-bottom:17px}
.category-directory-head>span:last-child{font-size:12px;color:#b0a1bb}
.mobile-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.mobile-categories .category{display:flex;flex-direction:column;align-items:flex-start;gap:15px;border:1px solid #eee8f3;padding:18px;min-height:122px;background:white;font-size:13px;border-radius:18px}
.mobile-categories .category-icon{width:46px;height:46px;border-radius:15px}
.mobile-categories .ui-icon{width:25px;height:25px}
.mobile-categories .category.active{border-color:#c4abd9;background:#faf6ff;box-shadow:0 3px 14px #7954a50a}

/* Existing merchant settings layout, preserved separately from the storefront. */
.manage-body{color-scheme:light;background:#f6f7fb;color:#283449;font-size:14px}.manage{padding:28px;max-width:1040px;margin:auto;display:flow-root}.manage-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.manage-heading h1{font-size:23px;margin-bottom:4px}.manage-heading p,.hint{font-size:12px;color:#8d96a8}.manage .secondary{background:#f4f6fb;border-color:#e5e9f1;color:#62738d;font-size:12px;padding:7px 14px}.manage .primary{background:#2563eb;color:white}.setting-panel{background:white;border:1px solid #e9ebf2;border-radius:13px;padding:22px;margin-bottom:16px}.setting-panel h2{font-size:16px;margin-bottom:12px}.manage input,.manage select{border:1px solid #e4e8f0;background:#f8f9fc;border-radius:8px;padding:9px 11px;min-width:0;color:#283449;width:100%;outline-color:#2563eb}.manage label{display:block;font-size:13px;color:#647084}.manage label input{display:block;margin-top:8px}.field-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px;font-size:13px;color:#647084}.banner-editor{display:flex;gap:12px;flex-wrap:wrap}.banner-item{width:calc(50% - 6px);background:#f7f8fb;border-radius:10px;overflow:hidden;padding-bottom:6px}.banner-link-label{padding:8px 10px}.manage .banner-link-label{font-size:12px}.banner-link-label input{font-size:12px}.banner-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-left:10px;cursor:grab}.banner-toolbar:active{cursor:grabbing}.banner-toolbar>.hint{margin:0;white-space:nowrap}.banner-item img{width:100%;height:90px;object-fit:cover}.order-tools{display:flex;gap:5px;justify-content:flex-end}.order-tools .small{padding:2px 10px}.banner-item .order-tools{padding:6px}.hint{margin:10px 0}.popular-item{display:flex;align-items:center;gap:14px;background:#f8f9fc;padding:9px 12px;border-radius:8px;margin-bottom:7px}.popular-item .order-tools{margin-left:auto}.rank-number{color:#8c9ab3;font-size:12px}.picker-controls{display:flex;gap:10px;margin:18px 0 12px}.picker-controls select{width:180px}.picker{display:flex;flex-wrap:wrap;gap:8px;max-height:190px;overflow:auto}.picker-game{background:#eff3fd;color:#536884;border-radius:7px;padding:7px 13px;font-size:12px}.plan-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-edit{border:1px solid #e6eaf1;border-radius:10px;padding:14px}.plan-edit label{margin-top:10px}.save-row{display:flex;gap:20px;align-items:center;justify-content:flex-end}.save-row p{color:#789084;font-size:13px}.manage .error{color:#c65757}
.logo-editor { display: flex; align-items: center; gap: 16px; }
.logo-preview { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border: 1px solid #e4e8f0; border-radius: 14px; background: #f8f9fc; color: #9474ed; font-size: 32px; font-weight: 750; overflow: hidden; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-actions { min-width: 0; }
.logo-actions .secondary { margin-right: 8px; }
.logo-actions .hint { margin-bottom: 0; }
.membership-copy label + label { margin-top: 16px; }

/* Responsive compositions: an app-like discovery page on phones. */
@media(min-width:1700px){.game-grid{column-count:4}.hall{padding-left:46px;padding-right:46px}.category-shortcuts{grid-template-columns:repeat(8,minmax(0,1fr))}.featured-card{flex-basis:190px}}
@media(max-width:1200px){.sidebar{width:218px;padding-left:14px;padding-right:14px}.workspace{margin-left:218px}.topbar{padding-left:26px;padding-right:26px}.hall{padding:26px}.content-layout{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.game-grid{column-count:2}.location-label{gap:9px}.search-box{max-width:260px}.carousel-empty{padding:24px}.carousel h1{font-size:21px}#home[data-view=library] .game-grid{column-count:3}.detail-layout{gap:25px;grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:1000px) and (min-width:761px){.content-layout{display:block}.popular-section{display:none}#home[data-view=popular] .popular-section{display:block}.location-label>span{display:none}.detail-layout{grid-template-columns:180px minmax(0,1fr)}.detail h1{font-size:20px}.category-shortcuts{gap:4px}.category-shortcut{font-size:11px}}
@media(max-width:760px){
 .sidebar{display:none}.workspace{margin-left:0}
 .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:17px 10px;min-height:0;padding:19px 22px 16px;background:#f8f7fcef;border:0}
 .mobile-brand{display:flex}.location-label{display:none}.brand{font-size:18px;gap:10px}.brand-mark{width:40px;height:40px}
 .vip-button{grid-column:2;grid-row:1;font-size:12px;padding:10px 12px;border-radius:20px}
 .search-box{grid-row:2;grid-column:1/-1;max-width:none;padding:12px 15px;margin:0;background:white;border-color:#ede8f5;border-radius:16px}
 .search-box input{font-size:14px}.search-box svg{width:19px;height:19px}
 .hall{padding:10px 22px 18px;min-height:calc(100dvh - 235px)}

 .content-layout{display:block}.carousel{aspect-ratio:3.1;border-radius:20px;margin-bottom:28px}.carousel-empty{padding:23px}.carousel h1{font-size:24px}.carousel p{font-size:12px}.carousel-empty:after{font-size:170px;right:-15px;top:-20px}
 .section-head{margin-bottom:16px;gap:10px}.section-head h2{font-size:22px}.text-action{font-size:12px}.section-description{font-size:12px;line-height:1.7}.section{scroll-margin-top:155px}
 .category-launchpad{margin-bottom:28px}.category-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));padding:13px 8px;gap:6px 3px;border:0;border-radius:22px}.category-shortcut{gap:10px;padding:10px 3px;font-size:12px;min-height:95px}.category-shortcut .category-icon{width:49px;height:49px;border-radius:17px}.category-shortcut .ui-icon{width:26px;height:26px}
 .featured-section{margin-bottom:29px}.featured-games{margin-right:-22px;padding-right:22px;gap:13px;scrollbar-width:none}.featured-games::-webkit-scrollbar{display:none}.featured-card{flex-basis:170px;border:0;padding:12px;border-radius:20px}.featured-card .game-art{height:137px}.featured-card .game-art img{max-height:137px}.featured-card .game-card-foot{padding:12px 1px 2px}.featured-card h3{font-size:13px}
 #home[data-view=discover] #popular{display:none}
 .game-grid,#home[data-view=library] .game-grid{column-count:3;column-gap:16px}.game-grid .game-card{border:0;margin-bottom:16px;border-radius:18px}.game-card-foot{padding:13px 12px 15px}.game-card h3{font-size:14px}.play-label{font-size:11px;margin-top:6px}.play-bubble{display:none}
 .filter-button{display:flex;align-items:center;gap:7px;max-width:47%;padding:9px 11px;min-height:40px;border-radius:12px;color:#9274ae;background:white;font-size:11px}.filter-button>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-button .ui-icon{width:15px;height:15px}
 .mobile-navigation{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:calc(100% - 28px);max-width:460px;padding:9px;background:#ffffffed;border:1px solid #eee8f6;border-radius:25px;box-shadow:0 8px 32px #66508418;backdrop-filter:blur(20px);z-index:30}
 .mobile-navigation button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;font-size:11px;color:#b09bc3;padding:7px 3px;border-radius:18px;min-height:56px}.mobile-navigation .ui-icon{width:22px;height:22px;stroke-width:1.7}.mobile-navigation button.active{background:#eee7fb;color:#7e59b8;font-weight:700}.mobile-navigation button:disabled{opacity:.5}
 .category-directory>.section-head{padding:27px 24px;border-radius:24px}.category-directory h2{font-size:30px}.category-directory-head{margin-bottom:18px}.mobile-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mobile-categories .category{min-height:133px;padding:19px;border:0;border-radius:21px;gap:17px;font-size:14px}.mobile-categories .category-icon{width:49px;height:49px;border-radius:16px}.mobile-categories .ui-icon{width:27px;height:27px}.mobile-categories .category.active{background:#eee7fa;box-shadow:inset 0 0 0 1px #d0b9ea}
 footer{padding:18px 22px calc(112px + env(safe-area-inset-bottom));font-size:11px;margin-top:10px}footer>span:last-child{display:none}
 .modal{max-height:calc(100dvh - 48px)}
 .detail-layout{grid-template-columns:180px minmax(0,1fr);gap:22px}.detail h1{font-size:22px}.detail-panel{padding:23px}.detail-panel h2{font-size:20px}.back-link{margin-bottom:20px}
 #home[data-view=popular] #popular>.section-head{padding:27px 24px;border-radius:24px}#home[data-view=popular] #popular h2{font-size:30px}#home[data-view=popular] .popular-grid{grid-template-columns:1fr;gap:13px}#home[data-view=popular] .ranked{grid-template-columns:32px 66px minmax(0,1fr);min-height:134px;padding:19px;gap:15px;border:0;border-radius:22px}#home[data-view=popular] .ranked h3{font-size:15px}#home[data-view=popular] .ranked .game-art img{max-width:66px;max-height:96px}#home[data-view=library] .section-head h2{font-size:28px}
 .skip-link{left:18px}
}
@media(max-width:540px){
 .topbar{padding:17px 18px 15px;gap:16px 10px}.brand{font-size:16px}.brand-mark{width:36px;height:36px}.vip-button{font-size:11px;padding:10px 11px}.hall{padding:8px 18px 15px}.carousel{aspect-ratio:2.85}.carousel-empty{padding:21px}.carousel h1{font-size:21px}.carousel p{font-size:11px;max-width:230px}.carousel-empty .eyebrow{font-size:9px}.carousel-controls button{width:28px;height:28px}
 .category-shortcuts{padding:12px 5px;gap:5px 1px}.category-shortcut{font-size:11px;gap:10px;padding:9px 3px}.category-shortcut .category-icon{width:46px;height:46px;border-radius:16px}.category-shortcut .ui-icon{width:25px;height:25px}.section-head h2{font-size:21px}.featured-games{margin-right:-18px;padding-right:18px}.featured-card{flex-basis:158px}
 .game-grid,#home[data-view=library] .game-grid{column-count:2;column-gap:14px}.game-grid .game-card{margin-bottom:14px}.game-card h3{font-size:13px}.play-label{font-size:10px}.filter-button{font-size:10px;gap:6px;padding:8px 9px}.section-description{font-size:11px}.game-card-foot{padding:12px 11px 14px}
 .membership-intro{padding:18px 16px 0}.membership-body{padding:16px} .modal h2{font-size:18px}
 .detail-layout{display:block}.detail-hero{display:grid;grid-template-columns:minmax(0,112px) minmax(0,1fr);gap:20px;align-items:center;padding:18px;margin-bottom:20px;border:0;border-radius:22px}.detail-hero>img{margin:0;border-radius:11px}.detail-hero .eyebrow{font-size:9px;letter-spacing:.5px}.detail h1{font-size:22px;line-height:1.5}.unlocked{font-size:11px;margin-top:13px}.detail-panel{padding:22px;border:0}.detail-panel p,.delivery-text{font-size:14px}.detail-locked{padding:48px 23px;margin:10px auto}.detail-locked h1{font-size:24px}
 .mobile-categories{gap:12px}.mobile-categories .category{padding:17px;font-size:13px}footer{padding-left:18px;padding-right:18px}
}
@media(max-width:360px){
 .hall{padding-left:14px;padding-right:14px}.topbar{padding-left:14px;padding-right:14px}.brand{font-size:14px;gap:8px}.brand-mark{width:32px;height:32px}.vip-button{font-size:10px;padding:9px}.category-shortcut{font-size:10px}.category-shortcut .category-icon{width:43px;height:43px;border-radius:15px}.category-shortcut .ui-icon{width:24px;height:24px}.text-action{font-size:11px}.section-head h2{font-size:20px}.game-grid{column-gap:12px}.game-card h3{font-size:12px}.featured-games{margin-right:-14px;padding-right:14px}.featured-card{flex-basis:152px}.filter-button{font-size:10px;padding:8px}.section-description{font-size:10px}.modal h2{font-size:16px}.modal .price{font-size:18px}.membership-icon{width:34px;height:34px}.detail-hero{grid-template-columns:90px minmax(0,1fr);gap:17px;padding:17px}.detail h1{font-size:19px}.detail-panel{padding:20px}.category-directory h2{font-size:27px}.mobile-categories .category{padding:15px;font-size:12px}.mobile-categories .category-icon{width:44px;height:44px}#home[data-view=popular] .ranked{grid-template-columns:25px 55px minmax(0,1fr);padding:16px;gap:12px}#home[data-view=popular] .ranked .game-art img{max-width:55px}#home[data-view=popular] .ranked h3{font-size:14px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
