/* 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}}

/* Category artwork shares one soft, rounded visual language. */
.category-icon .category-artwork{stroke-width:1.55;overflow:visible}
.category-shortcut .category-icon,.mobile-categories .category-icon{background:linear-gradient(145deg,color-mix(in srgb,var(--icon-bg,#eee7fb) 70%,white),var(--icon-bg,#eee7fb));box-shadow:inset 0 1px 0 #ffffffb3,0 3px 8px #49326c06;transition:transform .2s ease}
.category-shortcut .category-artwork{width:29px;height:29px}
@media(hover:hover){.category-shortcut:hover .category-icon{transform:translateY(-3px) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){.category-shortcut .category-icon{transition:none}}

/* Refined storefront: lavender paper, clear typography and quiet depth. */
.storefront-body{
 --bg:#f7f6fc;--line:#ece7f4;--text:#30283f;--muted:#8d819e;--accent:#7954cc;
 background:radial-gradient(ellipse 720px 430px at 78% 0,#ece5fb99,transparent),#f7f6fc;
 text-rendering:optimizeLegibility;
}
.storefront-body button,.storefront-body a{touch-action:manipulation}
.topbar{border-bottom-color:#ece6f360;background:#faf8fce8}
.brand{letter-spacing:-.45px;font-weight:750}
.brand-mark.has-logo{box-shadow:0 0 0 3px #fff,0 0 0 4px #e8ddf5,0 5px 13px #6e459f16;overflow:hidden;border-radius:50%}
.search-box{border-color:#e8e0f2;background:#ffffffc9;box-shadow:0 3px 12px #63458e03;transition:border-color .2s,box-shadow .2s}
.search-box:focus-within{border-color:#b99ddd;box-shadow:0 0 0 3px #a180d90e}
.search-box input::placeholder{color:#b0a2c1}
.vip-button{border:1px solid #e1d3f4;background:linear-gradient(125deg,#f4edff,#eae0fb);color:#7853b6;box-shadow:inset 0 1px 0 #fff,0 3px 8px #8e65be09;letter-spacing:.15px}
.vip-button.is-vip{border-color:#d2e8da;background:linear-gradient(125deg,#f1faf3,#e3f2e8);color:#4a8264}
.hall{padding-top:30px}
.sidebar{border-right-color:#eee8f5;background:linear-gradient(180deg,#fff,#fcfaff)}
.sidebar>.brand{padding-bottom:30px}
.nav-label{font-size:10px;letter-spacing:1px;color:#ad9fbc}
.nav-item{transition:background .18s,color .18s}
.nav-item.active{background:linear-gradient(100deg,#eee5fc,#f7f2ff);box-shadow:inset 3px 0 #9670d4;color:#754cba}
.sidebar-membership{padding:18px 12px 12px;border:1px solid #ece2f6;border-radius:18px;background:linear-gradient(140deg,#f8f2ff,#fffcfa)}
.sidebar-membership p{line-height:1.7}
.storefront-body .primary{background:linear-gradient(115deg,#9770dd,#7952c6 65%,#7047be);box-shadow:inset 0 1px 0 #ffffff40,0 5px 13px #8057bf25;border:1px solid #8055c54a;transition:transform .18s,box-shadow .18s}
.storefront-body .primary:hover{background:linear-gradient(115deg,#8f65d7,#7148be);box-shadow:0 7px 17px #8057bf33}
.storefront-body .primary:active{transform:translateY(1px);box-shadow:0 2px 6px #8057bf20}
.storefront-body .secondary{border-color:#e7ddf2;background:#fff;color:#8b6caa;box-shadow:0 2px 8px #63458e05}
.carousel{border-radius:23px;box-shadow:0 8px 22px #8261ab0c;outline:1px solid #ffffffa6;outline-offset:-1px}
.carousel-controls{bottom:10px}
.carousel-controls>button{background:#fffffff0;box-shadow:0 2px 8px #53406c12;color:#81609f}
#dots{background:#4a2c7138;padding:5px 7px}
.carousel-controls .dot{width:4px;height:4px}
.carousel-controls .dot.active{width:14px}
.section-head{margin-bottom:17px}
.section-head h2{color:#392d49;letter-spacing:-.5px;font-weight:750}
.text-action{color:#a18bb6;gap:8px;min-height:36px;font-size:11px}
.text-action>span:last-child{transition:transform .2s}
.text-action:hover>span:last-child{transform:translateX(3px)}
.category-shortcuts{border:1px solid #eee8f5;background:linear-gradient(150deg,#fff,#fff 70%,#fdfaff);box-shadow:0 5px 20px #5e387508,inset 0 1px 0 #fff;border-radius:24px;padding:16px 10px;gap:9px 3px}
.category-shortcut{color:#7d6d8e;font-weight:550;border-radius:16px;transition:background .18s,color .18s}
.category-shortcut .category-name{line-height:1.5}
.category-shortcut:hover{background:#f7f2fd;color:#794db8}
.featured-games{padding-top:3px;padding-bottom:15px}
.featured-card{padding:10px;border:1px solid #eee6f4;border-radius:21px;background:#fff;box-shadow:0 4px 15px #64458409}
.featured-card .game-art{border-radius:13px;background:#f9f6fc}
.featured-card .game-card-foot{padding:11px 3px 5px}
.featured-rank{left:6px;top:6px;border:1px solid #ffffffbf;background:#fffffff0;color:#9370bb;font-size:10px;box-shadow:0 2px 6px #5132680c;letter-spacing:.5px}
.game-grid .game-card{padding:6px 6px 0;border:1px solid #eee8f4;border-radius:20px;box-shadow:0 3px 12px #71518c08;transition:transform .2s,box-shadow .2s,border-color .2s}
.game-grid .game-art{border-radius:14px;background:#f6f2fa}
.game-card h3{font-weight:650;color:#4b3b5e;line-height:1.6}
.game-card-foot{padding:12px 7px 14px}
.play-label{color:#ad9bbd;font-size:10px;margin-top:5px;letter-spacing:.15px}
.play-bubble{width:28px;height:28px;box-shadow:0 3px 12px #50307818}
.filter-button{border:1px solid #eae1f2;background:#ffffffb8;color:#9a7db1;border-radius:12px}
.popular-section{border-color:#ece4f4;background:linear-gradient(160deg,#fffeff,#fff);box-shadow:0 5px 20px #5e387506;border-radius:24px}
.ranked{border-bottom-color:#f0eaf5}
.ranked .game-art{border-radius:10px}
.ranked .rank-number{font-style:italic;color:#c1b0d1}
.ranked:nth-child(1) .rank-number{color:#b59256}
.ranked:nth-child(2) .rank-number{color:#a092bb}
.ranked:nth-child(3) .rank-number{color:#b894a3}
#home[data-view=popular] #popular>.section-head,.category-directory>.section-head{position:relative;overflow:hidden;border:1px solid #e7dcf2;background:radial-gradient(circle at 95% 0,#ffffffb8,transparent 55%),linear-gradient(115deg,#ede3fb,#f4edfc);box-shadow:inset 0 1px 0 #fff;border-radius:23px}
#home[data-view=popular] .ranked,.mobile-categories .category{border:1px solid #eee6f5;box-shadow:0 3px 12px #6d498706}
#home[data-view=popular] .ranked h3{font-weight:650}
.mobile-categories .category{gap:14px;background:linear-gradient(145deg,#fff,#fefcff)}
.mobile-categories .category.active{background:#f2eafb;border-color:#cfb9e8}
.directory-description,.rank-description{color:#ac99b9;line-height:1.8}
/* Membership stays compact, with a distinct offer and payment hierarchy. */
.modal{border:1px solid #fff;border-radius:25px;box-shadow:0 22px 80px #3320473b;background:#fff}
.modal::backdrop{background:#30223f55;backdrop-filter:blur(4px)}
.membership-intro{padding:23px 21px 20px;background:radial-gradient(circle at 90% 0,#e4d5f766,transparent 65%),linear-gradient(135deg,#fcf8ff,#f5effb);border-bottom:1px solid #f0e7f7}
.modal-head{gap:12px;align-items:flex-start}
.membership-icon{box-shadow:0 0 0 3px #fff;border-radius:13px;margin-top:3px}
.membership-heading p{color:#a28cb3;font-size:11px;line-height:1.7;margin-top:6px}
.modal h2{color:#4b345f;font-weight:750}
.close{background:#ffffffb0;border:1px solid #e7dbf1;border-radius:50%;width:28px;height:28px;font-size:21px;color:#ac95bc}
.membership-body{padding:20px 21px 22px}
.plan{border-color:#eee5f5;border-radius:15px;background:linear-gradient(160deg,#fff,#fefcff);min-height:101px;transition:background .18s,border-color .18s,box-shadow .18s}
.plan.chosen{background:linear-gradient(150deg,#f6eeff,#eee3fc);border-color:#a27bce;box-shadow:inset 0 0 0 1px #a27bce55,0 4px 12px #956cc018}
.plan-name{color:#8b779e;font-size:11px}
.chosen .plan-name{color:#765397;font-weight:650}
.price{font-size:22px;letter-spacing:-.7px;font-weight:750;color:#8458b8}
.plan-check{top:7px;right:7px;border-color:#e3d6ed}
.chosen .plan-check{background:#9b75c5;border-color:#9b75c5}
.query-code-hint{color:#ae9ab9;font-size:10px;line-height:1.8;margin-top:14px}
.membership-recovery-link{font-size:10px;color:#af96bf;margin-top:4px}
.modal .wide{min-height:47px;margin-top:20px;border-radius:15px;font-weight:650;font-size:13px;letter-spacing:.2px}
.detail-hero,.detail-panel,.detail-locked{border:1px solid #eee6f4;background:#fff;box-shadow:0 4px 18px #6c418508}
.detail-panel h2{color:#634775;font-size:18px}
.detail-panel p{color:#9c88ab;line-height:1.9;font-size:13px}
.delivery-text{padding:16px;border:1px dashed #ddcce9;border-radius:13px;background:#faf6fe;color:#8c66ac;font-size:13px;line-height:1.9}
.detail-panel .secondary{width:100%;min-height:46px}
.unlocked{border:1px solid #d9ecdf;background:#f2f9f4;font-size:11px;border-radius:20px}
footer{color:#b7a6c3;font-size:10px;letter-spacing:.3px}
@media(hover:hover){.game-grid .game-card:hover,.featured-card:hover{transform:translateY(-3px);border-color:#d8c5eb;box-shadow:0 8px 21px #6f438c12}.game-card:hover .game-art img{opacity:.96}}
@media(max-width:760px){
 .topbar{padding-top:23px;padding-bottom:15px;gap:20px 12px;background:#f9f7fdeb}
 .hall{padding-top:9px}
 .mobile-brand{gap:11px}.mobile-brand .brand-mark{width:35px;height:35px}
 .vip-button{padding:9px 12px;font-size:10px;font-weight:650;min-height:35px}
 .search-box{padding:13px 15px;border-radius:17px;background:#ffffffda;box-shadow:0 4px 12px #6d448a04}
 .search-box input{font-size:12px}
 .carousel{border-radius:22px;margin-bottom:29px}
 .section-head h2{font-size:20px}
 .category-shortcuts{padding:16px 6px;gap:9px 2px;border-radius:25px}
 .category-shortcut{padding:9px 2px;font-size:10px;min-height:93px;gap:9px}
 .category-launchpad{margin-bottom:29px}
 .featured-card{flex-basis:156px;padding:9px;border-radius:20px}
 .featured-card .game-art{height:139px}.featured-card .game-art img{max-height:139px}
 .featured-card h3{font-size:12px}.featured-card .game-card-foot{padding:11px 3px 5px}
 .featured-games{gap:12px}
 .game-grid .game-card{border:1px solid #eee8f4;border-radius:19px;padding:6px 6px 0}
 .game-grid .game-art{border-radius:13px}
 .game-card-foot{padding:10px 5px 12px}.game-card h3{font-size:12px}
 .mobile-navigation{width:calc(100% - 30px);padding:7px;background:#fffffff2;border:1px solid #ece3f6;border-radius:24px;box-shadow:0 4px 24px #5f33771a,inset 0 1px 0 #fff;bottom:calc(12px + env(safe-area-inset-bottom))}
 .mobile-navigation button{min-height:52px;gap:5px;font-size:10px;color:#b09ac3;border-radius:17px;padding:7px 3px}
 .mobile-navigation button.active{background:linear-gradient(150deg,#f2eafb,#eae0f9);color:#895bc2;box-shadow:inset 0 1px 0 #ffffffbf}
 .mobile-navigation .ui-icon{width:21px;height:21px;stroke-width:1.65}
 .category-directory h2,#home[data-view=popular] #popular h2{font-size:27px}
 .category-directory>.section-head,#home[data-view=popular] #popular>.section-head{padding:24px 22px}
 #home[data-view=popular] .ranked{border:1px solid #eee6f4;border-radius:20px}
 .mobile-categories .category{border:1px solid #eee6f4;border-radius:20px;min-height:125px}
 .modal{max-width:calc(100vw - 36px)}
}
@media(max-width:360px){
 .topbar{padding-top:19px;gap:17px 9px}.mobile-brand{gap:8px;font-size:13px}.mobile-brand .brand-mark{width:30px;height:30px}
 .vip-button{font-size:9px;padding:8px 9px;min-height:33px}
 .section-head h2{font-size:19px}.category-shortcut{font-size:9px}.category-shortcut .category-artwork{width:26px;height:26px}
 .membership-intro{padding:19px 15px 17px}.membership-body{padding:17px 15px 19px}.modal h2{font-size:16px}
 .plan{min-height:96px;padding:12px 3px}.price{font-size:19px}.plan-name{font-size:10px}
}
@media(min-width:361px) and (max-width:760px){.category-shortcut{font-size:11px}}
@media(max-width:360px){.category-shortcut{font-size:10px}}

/* Compact ranking heading. */
#home[data-view=popular] #popular>.section-head{padding:17px 21px;border-radius:19px;min-height:0}
#home[data-view=popular] #popular h2{font-size:23px;line-height:1.3;letter-spacing:-.4px}
#home[data-view=popular] #popular>.section-head .eyebrow{font-size:10px;letter-spacing:.7px;margin-bottom:4px}
#home[data-view=popular] .rank-heading-icon{font-size:29px;line-height:1;color:#b49bd0}
#home[data-view=popular] .rank-description{margin:13px 0 18px;font-size:12px}
@media(max-width:760px){
 #home[data-view=popular] #popular>.section-head{padding:16px 19px;border-radius:19px}
 #home[data-view=popular] #popular h2{font-size:23px}
 #home[data-view=popular] .rank-heading-icon{font-size:29px}
}

/* Final surface and interaction details. */
.storefront-body{--muted:#887792}
.search-box{min-height:45px}
.search-box:focus-within svg{color:#8d62be}
.search-box input::-webkit-search-cancel-button{cursor:pointer}
.category-shortcut[aria-pressed=true]:not(.all-categories){background:#f5effc;color:#8056b1;box-shadow:inset 0 0 0 1px #e6d8f3}
.category-shortcut[aria-pressed=true] .category-icon{box-shadow:0 4px 10px #7950ad10,inset 0 1px 0 #fff}
.section-head h2{line-height:1.45}
.featured-section .section-head .eyebrow{font-size:10px;letter-spacing:1.1px;color:#a088b7;margin-bottom:5px}
.featured-card .game-art{background:radial-gradient(ellipse at 50% 45%,#fff,#f4eef9);border:1px solid #f1eaf7}
.featured-card .game-art img{object-fit:contain;border-radius:8px;box-shadow:0 3px 8px #4d285911}
.featured-card{position:relative}
.featured-rank{border-radius:8px;background:#fffafef5;min-width:23px;height:23px;width:23px;left:7px;top:7px;z-index:1}
.game-card-foot h3{letter-spacing:.05px}
.game-grid .play-label{display:inline-block;max-width:100%;padding:2px 7px;background:#f8f4fc;border:1px solid #f1eaf8;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;color:#a18aaf;line-height:1.65}
.game-grid .game-card{box-shadow:0 2px 5px #60447604,0 5px 18px #60447604}
.game-grid .game-art img{backface-visibility:hidden}
.game-card:focus-visible{outline:2px solid #aa86d0;outline-offset:3px}
.ranked:last-child{border-bottom:0}
#home[data-view=popular] .ranked{position:relative}
#home[data-view=popular] .ranked .rank-number{align-self:center;font-size:24px;font-weight:750;letter-spacing:-1px}
#home[data-view=popular] .ranked:nth-child(1){background:linear-gradient(115deg,#fffdf8,#fff 55%);border-color:#ece2cf}
#home[data-view=popular] .ranked:nth-child(2){background:linear-gradient(115deg,#fcfaff,#fff 55%)}
#home[data-view=popular] .ranked:nth-child(3){background:linear-gradient(115deg,#fffafd,#fff 55%)}
#home[data-view=popular] .ranked .game-art{background:#f7f3fb;padding:3px;box-shadow:0 3px 9px #60447608}
#home[data-view=popular] .ranked .game-art img{border-radius:6px}
.mobile-categories .category{transition:transform .18s,border-color .18s,box-shadow .18s}
.mobile-categories .category-name{font-weight:550;color:#7e658e}
.mobile-categories .category-icon{box-shadow:inset 0 1px 0 #fff,0 4px 12px #60447607}
.directory-description,.rank-description{font-size:12px;color:#a38caf}
.more{border-radius:14px;min-height:43px;margin-top:20px;min-width:180px;font-size:12px}
.more:disabled{opacity:.6}
.empty{background:#fffcff;border-color:#ded0eb;color:#9d86b1;line-height:1.9}
.mobile-navigation button{transition:color .18s,background .18s,transform .18s}
.mobile-navigation button.active .ui-icon{filter:drop-shadow(0 2px 2px #a67ad31c)}
.mobile-navigation button:active{transform:scale(.96)}
.modal .plan{outline-offset:3px}
.modal .plan.chosen:before{content:'';position:absolute;left:25%;right:25%;top:0;height:2px;border-radius:0 0 3px 3px;background:#b18bd8}
.modal .price{font-variant-numeric:tabular-nums}
.modal .plan-check{width:13px;height:13px;font-size:9px}
.modal .query-code-hint{margin-top:16px;padding-top:13px;border-top:1px solid #f0e8f6;line-height:1.8;color:#a58caf}
.modal .membership-recovery-link{padding:6px 0 3px;font-size:11px;color:#9d7cb4;min-height:28px}
.modal .close{transition:background .18s,color .18s}
.modal .close:hover{background:#f5eafa;color:#8c64ac}
.modal .primary:disabled{box-shadow:none;background:#c4b2db;border-color:#c4b2db}
.detail-panel .secondary{border-radius:13px;background:linear-gradient(120deg,#faf4ff,#f5effb);color:#8a60ae;border-color:#dfcfef}
.detail-panel .secondary:active{transform:translateY(1px)}
.back-link{color:#9e82b1;font-size:12px}
.detail-hero h1{color:#594066;line-height:1.6}
.detail-locked{background:radial-gradient(ellipse at 50% 0,#f1e6fc77,transparent 70%),#fff}
.detail-locked .primary{min-height:46px;min-width:160px;border-radius:14px}
@media(hover:hover){
 .mobile-categories .category:hover{transform:translateY(-2px);border-color:#dcccEA;box-shadow:0 6px 16px #6044760c}
 .category-shortcut:hover .category-icon{transform:translateY(-2px) rotate(-2deg)}
}
@media(max-width:760px){
 .brand{font-weight:700}.mobile-brand .brand-mark{box-shadow:0 0 0 2px #fff,0 0 0 3px #e8ddf5,0 4px 10px #6e459f12}
 .featured-card .play-label{font-size:10px;line-height:1.7;color:#ac97ba}
 .game-grid .game-card-foot{padding:11px 6px 12px}
 .game-card h3{font-size:13px;line-height:1.65}
 .featured-card h3{font-size:12px}
 .game-grid .play-label{font-size:10px;margin-top:7px;padding:2px 6px}
 #home[data-view=popular] .ranked{padding:17px;gap:13px;min-height:123px}
 #home[data-view=popular] .ranked h3{font-size:14px;line-height:1.7}
 #home[data-view=popular] .ranked .play-label{font-size:11px;color:#ac97ba;margin-top:6px}
 .category-shortcut .category-name{font-size:11px;color:#897399}
 .category-directory-head{font-size:13px}.category-directory-head>span:last-child{font-size:11px}
 footer{line-height:1.9;padding-top:22px}
 .modal .query-code-hint{font-size:11px}.modal .plan-name{font-size:11px}.modal .membership-heading p{font-size:12px}
}
@media(max-width:360px){
 .game-card h3{font-size:12px}.featured-card h3{font-size:12px}
 .category-shortcut .category-name{font-size:10px}
 .modal .plan-name{font-size:10px}.modal .membership-heading p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.storefront-body *{animation:none!important;transition:none!important}}

/* Shared details across discovery, directory, ranking and member delivery. */
.storefront-body{--surface-shadow:0 4px 18px #5c397708;--fine-line:#eee7f5}
button:focus-visible,a:focus-visible{outline:2px solid #a87bd5;outline-offset:4px}
.search-box:focus-within{box-shadow:0 0 0 3px #a180d910,0 4px 16px #77529806}
.search-box input:focus-visible{outline:none}
.search-box input:disabled{cursor:default;color:#b19fbd}
.search-box:has(input:disabled){background:#f7f3fb;box-shadow:none}
.section-head h2,.detail h1,.modal h2{font-feature-settings:"kern";text-wrap:pretty}
.section-head .text-action{border-radius:9px;padding-inline:5px}
.category-launchpad .section-head{align-items:center}
.featured-card .game-card-foot{min-height:69px;display:flex;flex-direction:column;justify-content:space-between;gap:2px}
.featured-card h3{min-height:0}
.featured-card .play-label{line-height:1.6}
.game-grid .game-card-foot{min-height:83px}
.game-grid .game-art{isolation:isolate}
.game-grid .game-art:after{position:absolute;content:'';inset:0;pointer-events:none;border:1px solid #30204005;border-radius:inherit}
.game-card,.category,.category-shortcut{ -webkit-user-select:none;user-select:none}
.game-grid[aria-busy=true]{opacity:.6;transition:opacity .15s}
.game-grid[aria-busy=false]{opacity:1;transition:opacity .2s}
.section-description{line-height:1.8;color:#a18dad}
#home[data-view=library] .library-section>.section-head{padding-bottom:17px;border-bottom:1px solid #e8dff15c;margin-bottom:21px;align-items:center}
#home[data-view=library] .section-head h2{font-size:26px;letter-spacing:-.6px}
#home[data-view=library] .filter-button{box-shadow:0 3px 10px #6b438505;min-height:38px}
/* Keep directory and ranking introductions in the same compact scale. */
.category-directory>.section-head{padding:17px 21px;border-radius:19px;min-height:0}
.category-directory h2{font-size:23px;line-height:1.3}
.category-directory>.section-head .eyebrow{font-size:10px;margin-bottom:4px;letter-spacing:.7px}
.category-heading-icon .ui-icon{width:29px;height:29px;stroke-width:1.4;color:#b49bd0}
.directory-description{margin:13px 0 23px;line-height:1.8}
.category-directory-head{padding:0 2px;font-size:12px;color:#897296}
.category-directory-head>span:last-child{padding:2px 8px;border:1px solid #eee5f5;border-radius:20px;background:#fffcff;color:#ae96bb;font-size:10px}
.mobile-categories .category{position:relative;min-height:126px;justify-content:space-between;padding:19px;gap:14px}
.mobile-categories .category:after{content:'↗';position:absolute;top:20px;right:17px;color:#cfbedc;font-size:16px;line-height:1}
.mobile-categories .category.active:after{color:#a27ac6}
.mobile-categories .category-name{font-size:13px;line-height:1.6;padding-right:3px}
.ranked .game-card-foot{min-width:0}
#home[data-view=popular] .ranked .play-label{color:#a48ab6}
#home[data-view=popular] .ranked .game-card-foot{padding-block:4px}
.all-content-button{min-height:44px;line-height:1.7;color:#a58bb9}
#home[data-view=popular] .all-content-button{padding:10px 15px;margin-inline:auto;border:1px solid #e8ddf1;background:#fffcff;border-radius:13px;font-size:12px;box-shadow:var(--surface-shadow)}
/* Detail delivery has one clear action and a readable address. */
.back-link{align-items:center;min-height:38px;padding:7px 12px;margin-bottom:19px;border:1px solid #eae0f3;border-radius:11px;background:#ffffffb0;box-shadow:0 2px 8px #63458e03}
.detail-hero{padding:19px;border-radius:23px;background:linear-gradient(145deg,#fff,#fffcff)}
.detail-hero>img{border:1px solid #eee4f5;box-shadow:0 5px 16px #6044760c}
.detail-hero .eyebrow{letter-spacing:.8px;color:#b09abb}
.detail-sections{gap:16px}
.detail-panel{border-radius:22px;padding:24px}
.detail-panel h2{font-size:17px;letter-spacing:-.2px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid #f1e9f7}
.detail-panel p{font-size:13px;line-height:1.95}
.delivery-text{margin:18px 0;padding:17px;border-color:#e3d3f0;background:linear-gradient(135deg,#fbf7ff,#f7f1fc);border-radius:14px;line-height:1.9;font-variant-numeric:tabular-nums}
.delivery-text a{color:#9264b5;text-decoration-color:#cfb7e2;text-underline-offset:4px}
.detail-panel .secondary{font-size:12px;letter-spacing:.15px;min-height:47px;line-height:1.7}
.detail-panel .secondary.is-copied{background:#edf7f1;border-color:#d1e7d9;color:#578c6e;box-shadow:none}
.detail-lock-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;border:1px solid #e7d9f4;border-radius:22px;background:linear-gradient(145deg,#f5edff,#eadef9);box-shadow:inset 0 1px 0 #fff,0 7px 20px #8057bf0b;color:#a077c5}
.detail-lock-mark .ui-icon{width:30px;height:30px;stroke-width:1.4}
.detail-locked{padding:43px 28px;border-radius:24px}
.detail-locked>.eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:10px;color:#b399c2}
.detail-locked h1{font-size:24px;line-height:1.55}
.detail-locked .muted{font-size:12px;line-height:1.9;max-width:330px;margin:13px auto 24px}
/* Supporting member benefits remain quieter than the plan and payment. */
.member-benefits{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin-bottom:16px;color:#a18ab3;font-size:10px;line-height:1.7}
.member-benefits span{display:inline-flex;align-items:center;gap:5px}
.member-benefits span:before{content:'';width:4px;height:4px;border-radius:50%;background:#c5abdc;flex-shrink:0}
.modal .plan-name{min-height:33px;line-height:1.7}
.modal .plan{gap:9px}
.modal .primary:focus-visible{outline-offset:3px}
.modal .membership-body .error{padding:10px 12px;border-radius:12px;color:#b77b8f;border-color:#f1dce3;background:#fff6f8;font-size:11px;line-height:1.8}
.modal .membership-recovery-link:hover{color:#8455a6;text-decoration:underline;text-underline-offset:3px}
.mobile-navigation button{line-height:1.5}
@media(max-width:760px){
 .category-directory>.section-head{padding:16px 19px}
 .category-directory h2{font-size:23px}
 #home[data-view=library] .section-head h2{font-size:24px}
 .mobile-categories .category{min-height:124px;padding:18px}
 .mobile-categories .category-name{font-size:12px}
 .featured-card .game-card-foot{min-height:65px}
 .game-grid .game-card-foot{min-height:78px}
 .detail-panel{padding:21px;border-radius:21px}
 .detail-panel h2{font-size:16px}
 .detail-hero{gap:17px;padding:17px}
 .detail h1{font-size:21px}
 .detail-locked{padding:36px 22px}
 .detail-locked h1{font-size:22px}
 .detail-locked .primary{font-size:13px}
 footer{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
 .member-benefits{gap:6px 10px;font-size:10px}
}
@media(max-width:360px){
 .mobile-categories .category{padding:16px;min-height:119px}
 .mobile-categories .category-name{font-size:12px}
 .detail h1{font-size:19px}.detail-panel{padding:18px}
 .detail-locked h1{font-size:20px}.detail-lock-mark{width:58px;height:58px;border-radius:20px}
 .member-benefits{gap:6px 8px;font-size:9px}
 .modal .price{font-size:19px}
}
