/* Xinghuo editorial store. Content-led covers, calm App Store-like chrome. */
html{background:#f5f5f7;scrollbar-color:#b7b7bd #f5f5f7;scrollbar-width:thin}
body{margin:0;background:transparent}
#xh-store-portal{--xp-bg:#f5f5f7;--xp-paper:#fff;--xp-ink:#1d1d1f;--xp-muted:#626268;--xp-line:#d8d8dd;--xp-blue:#0066cc;--xp-soft:#eaf2fb;--xp-btn:#0066cc;--xp-btntext:#fff;--xp-green:#25683c;--ease-out:cubic-bezier(.23,1,.32,1);width:100%;max-width:none;min-height:100svh;background:var(--xp-bg);color:var(--xp-ink);padding:0 0 calc(92px + env(safe-area-inset-bottom));overflow:clip;font-size:16px;line-height:1.55;letter-spacing:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
#xh-store-portal[data-theme=dark]{--xp-bg:#161618;--xp-paper:#242426;--xp-ink:#f5f5f7;--xp-muted:#b6b6bf;--xp-line:#424247;--xp-blue:#71b6ff;--xp-soft:#293444;--xp-btn:#78baff;--xp-btntext:#142439;--xp-green:#a1d2af}
#xh-store-portal *{box-sizing:border-box}
#xh-store-portal [hidden]{display:none!important}
#xh-store-portal ::selection{background:var(--xp-blue);color:var(--xp-bg)}
#xh-store-portal button,#xh-store-portal input,#xh-store-portal select{font:inherit}
#xh-store-portal button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer;transition:transform 160ms var(--ease-out),background-color 160ms ease}
#xh-store-portal button:active:not(:disabled){transform:scale(.98)}
#xh-store-portal :is(button,input,select,a):focus-visible{outline:2px solid var(--xp-blue);outline-offset:4px}
#xh-store-portal :is(h1,h2,p,figure){margin:0}
#xh-store-portal h1{font-size:34px;line-height:1.18;font-weight:700;letter-spacing:-.035em;text-wrap:balance}
#xh-store-portal h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:650}
#xh-store-portal .xp-header,#xh-store-portal .xp-main{width:100%;max-width:1440px;margin-inline:auto;padding-inline:clamp(20px,4.5vw,64px)}
#xh-store-portal .xp-header{padding-top:16px;padding-bottom:0;display:block;background:none;border:0}
#xh-store-portal .xp-header-top{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px}
#xh-store-portal .xp-header-brand{padding:0;border:0;display:flex;align-items:center;gap:9px;background:none;color:var(--xp-ink);font-size:21px;font-weight:700;min-height:44px;white-space:nowrap}
#xh-store-portal .xp-header-brand img{width:30px;height:30px;border-radius:8px}
#xh-store-portal .xp-header-brand span{font-size:12px;font-weight:500;color:var(--xp-muted)}
#xh-store-portal .xp-header-actions{display:flex;align-items:center}
#xh-store-portal .xp-share-entry{border:0;background:none;color:var(--xp-blue);box-shadow:none;min-height:44px;padding:8px 0;font-size:13px;gap:6px}
#xh-store-portal .xp-header-copy{margin-top:28px}
#xh-store-portal .as-title{font-size:34px;font-weight:700;letter-spacing:-.035em;line-height:1.2}
#xh-store-portal .xp-main{padding-top:24px;padding-bottom:24px;min-height:0}
#xh-store-portal .xp-footer{position:fixed;left:0;bottom:0;transform:none;width:100%;max-width:none;padding:8px max(12px,calc((100% - 580px)/2)) calc(8px + env(safe-area-inset-bottom));display:flex;gap:4px;background:var(--xp-paper);border:0;border-top:1px solid var(--xp-line);box-shadow:none;z-index:20;backdrop-filter:none}
#xh-store-portal .xp-nav{flex:1;min-width:0;min-height:54px;background:none;border:0;border-radius:10px;color:var(--xp-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;padding:4px 10px}
#xh-store-portal .xp-nav[aria-current=page]{background:none;color:var(--xp-blue)}
#xh-store-portal .xp-nav svg{width:23px;height:23px}
#xh-store-portal .xp-primary,#xh-store-portal .xp-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border-radius:12px;font-size:15px;font-weight:600;padding:12px 18px;line-height:1.5;box-shadow:none;margin-top:12px}
#xh-store-portal .xp-primary{background:var(--xp-btn);color:var(--xp-btntext);border:0}
#xh-store-portal .xp-secondary{background:var(--xp-soft);color:var(--xp-blue);border:0}
#xh-store-portal .as-open{flex:none;min-width:68px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:8px 18px;border:0;border-radius:999px;background:var(--xp-soft);color:var(--xp-blue);font-size:14px;font-weight:650;box-shadow:none}
#xh-store-portal .as-icon{display:block;width:48px;height:48px;flex:none;border-radius:12px;box-shadow:none;background-color:transparent}
#xh-store-portal .as-icon::before,#xh-store-portal .as-icon::after{display:none}
#xh-store-portal .as-icon.food{background:transparent url('/restaurant-alert/diningpanda-icon-192.png') center/contain no-repeat}
#xh-store-portal .as-icon.tennis{background:transparent url('/courtside/icons/app-192.png') center/contain no-repeat}
#xh-store-portal .as-icon.games{background:transparent url('/hub/assets/games-icon-192.png') center/contain no-repeat}
#xh-store-portal .as-icon.triplan{background:#123343 url('/triplan/favicon.svg') center/70% no-repeat}
#xh-store-portal .xp-search{max-width:none;margin:0 0 20px;min-height:46px;padding:0 12px;display:flex;align-items:center;gap:9px;background:var(--xp-paper);border:0;border-radius:12px;box-shadow:none;color:var(--xp-muted)}
#xh-store-portal .xp-search input{padding:10px 0;min-height:46px;font-size:16px;color:var(--xp-ink);background:none;caret-color:var(--xp-blue)}
#xh-store-portal input::placeholder{color:var(--xp-muted);opacity:1}
#xh-store-portal .xp-search-clear{width:44px;height:44px;color:var(--xp-muted);background:none;border:0}
#xh-store-portal .xp-search-categories{display:flex;gap:8px;margin:0 0 24px;overflow-x:auto;scrollbar-width:none}
#xh-store-portal .xp-search-categories button{flex:1;padding:9px 14px;min-height:44px;border:0;border-radius:9px;background:none;color:var(--xp-muted);font-size:14px}
#xh-store-portal .xp-search-categories button[aria-pressed=true]{background:var(--xp-paper);color:var(--xp-blue)}
#xh-store-portal .xp-search-status{font-size:13px;color:var(--xp-muted)}
#xh-store-portal .xp-search-status:empty{display:none}
#xh-store-portal .store-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:32px 0 16px}
#xh-store-portal .store-section-heading>span{font-size:13px;color:var(--xp-muted)}
#xh-store-portal .store-section-heading>button{display:flex;align-items:center;gap:2px;background:none;border:0;color:var(--xp-blue);font-size:14px;min-height:44px;padding:0}
#xh-store-portal .store-section-heading svg{width:16px;height:16px}
#xh-store-portal .as-libraryintro{display:flex;justify-content:space-between;color:var(--xp-muted);font-size:13px;margin:0 0 12px;padding:0}
#xh-store-portal .as-library{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
#xh-store-portal .as-libraryitem{display:block;position:relative;border:0;border-radius:16px;overflow:hidden;padding:0;min-height:0;background:var(--xp-paper);box-shadow:0 3px 12px #00000008}
#xh-store-portal .library-cover{aspect-ratio:1.9;overflow:hidden;background:var(--xp-line)}
#xh-store-portal .editorial-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1;filter:none;transform:none;border:0;border-radius:0;box-shadow:none}
#xh-store-portal .editorial-image.food{object-position:center 58%}
#xh-store-portal .editorial-image.triplan{object-position:center 59%}
#xh-store-portal .editorial-image.games{object-position:center 45%}
#xh-store-portal .app-meta{display:flex;align-items:center;gap:11px;padding:16px;min-height:84px}
#xh-store-portal .app-meta-copy{flex:1;min-width:0}
#xh-store-portal .app-meta-copy strong{display:block;font-size:17px;line-height:1.3;font-weight:600;letter-spacing:-.02em;color:var(--xp-ink);overflow-wrap:anywhere}
#xh-store-portal .app-meta-copy small{display:block;font-size:12px;line-height:1.6;margin-top:4px;color:var(--xp-muted)}
#xh-store-portal .as-libraryitem .as-open{margin:0;min-width:68px;background:var(--xp-soft);color:var(--xp-blue)}
#xh-store-portal .as-libraryadd,#xh-store-portal .as-legacy{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:10px;min-height:56px;padding:14px 0;margin-top:20px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--xp-blue);font-size:15px;font-weight:500}
#xh-store-portal .as-libraryadd svg:last-child,#xh-store-portal .as-legacy svg:last-child{margin-left:auto;width:16px}
#xh-store-portal .as-legacy{font-size:13px;color:var(--xp-muted);margin-top:0;border-top:1px solid var(--xp-line)}
#xh-store-portal .store-featured .store-section-heading{margin-top:0}
#xh-store-portal .store-rail{position:relative;display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px;padding-bottom:8px}
#xh-store-portal .store-rail::-webkit-scrollbar{display:none}
#xh-store-portal .store-feature{flex:0 0 94%;scroll-snap-align:start;min-width:0;background:var(--xp-paper);border-radius:16px;overflow:hidden;box-shadow:0 3px 10px #00000008}
#xh-store-portal .store-feature-art{display:block;position:relative;overflow:hidden;aspect-ratio:1.07;width:100%;padding:0;border:0;background:#24494e;text-align:left;color:#fff}
#xh-store-portal .store-feature-art .editorial-image{position:absolute;inset:0}
#xh-store-portal .store-feature-copy{position:absolute;inset:auto 0 0;padding:60px 22px 24px;background:linear-gradient(transparent,rgba(0,0,0,.76));pointer-events:none}
#xh-store-portal .store-feature-copy strong{display:block;max-width:12em;font-size:29px;line-height:1.2;font-weight:700;letter-spacing:-.03em;text-wrap:balance;color:#fff}
#xh-store-portal .store-feature .app-meta{padding:15px}
#xh-store-portal .store-feature .app-meta .as-icon{width:44px;height:44px;border-radius:11px}
#xh-store-portal .store-rail-controls{display:flex;justify-content:center;gap:0;margin-top:0}
#xh-store-portal .store-rail-controls button{display:grid;place-items:center;width:44px;height:44px;border:0;background:none;padding:0}
#xh-store-portal .store-rail-controls span{height:6px;width:6px;border-radius:50%;background:#b0b0b7;transition:width 180ms var(--ease-out),background-color 180ms ease}
#xh-store-portal .store-rail-controls [aria-pressed=true] span{width:20px;border-radius:4px;background:var(--xp-blue)}
#xh-store-portal .store-catalog{display:grid;grid-template-columns:minmax(0,1fr)}
#xh-store-portal .store-catalog-row{display:flex;align-items:center;gap:12px;min-height:88px;padding:16px 0;border-bottom:1px solid var(--xp-line)}
#xh-store-portal .store-catalog-info{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:0;border:0;background:none;color:var(--xp-ink);text-align:left}
#xh-store-portal .store-catalog-info>span:last-child{min-width:0}
#xh-store-portal .store-catalog-info strong,#xh-store-portal .store-quick-list strong{display:block;font-size:17px;font-weight:600;line-height:1.4}
#xh-store-portal .store-catalog-info small,#xh-store-portal .store-quick-list small{display:block;font-size:13px;color:var(--xp-muted);line-height:1.6;margin-top:3px}
#xh-store-portal .store-welcome{display:grid;gap:26px}
#xh-store-portal .welcome-copy{padding-top:10px}
#xh-store-portal .welcome-copy h1{font-size:34px;line-height:1.25}
#xh-store-portal .welcome-copy>p{font-size:14px;color:var(--xp-muted);line-height:1.7;margin-top:14px}
#xh-store-portal .store-auth-actions{display:flex;gap:10px;margin-top:18px}
#xh-store-portal .store-auth-actions button{margin:0}
#xh-store-portal .welcome-copy .store-old-note{font-size:12px;margin-top:12px}
#xh-store-portal .welcome-art{position:relative;overflow:hidden;display:block;width:100%;aspect-ratio:1.9;padding:0;border:0;border-radius:16px;background:#dce5e8;color:#fff;text-align:left}
#xh-store-portal .welcome-art span{position:absolute;inset:auto 0 0;padding:30px 20px 18px;background:linear-gradient(transparent,#0009);font-size:24px;line-height:1.3;font-weight:650}
#xh-store-portal .store-quick-list{display:grid;grid-template-columns:minmax(0,1fr)}
#xh-store-portal .store-quick-list>button{display:flex;align-items:center;text-align:left;gap:12px;background:none;border:0;border-bottom:1px solid var(--xp-line);color:var(--xp-ink);padding:16px 0;min-height:84px}
#xh-store-portal .store-quick-list>button>span:nth-child(2){flex:1;min-width:0}
#xh-store-portal .store-quick-list>button>svg{width:17px;color:var(--xp-muted)}
#xh-store-portal .store-join{margin-top:36px;display:flex;flex-direction:column;gap:12px;padding:24px;background:var(--xp-paper);border-radius:16px}
#xh-store-portal .store-join p{color:var(--xp-muted);font-size:14px;margin-top:6px}
#xh-store-portal .store-join>div:last-child{display:flex;gap:10px}
#xh-store-portal .art-credit{font-size:11px;line-height:1.7;color:var(--xp-muted);margin:24px 0 0}
#xh-store-portal .art-credit a{color:var(--xp-blue);text-underline-offset:3px}
#xh-store-portal .as-detailhead{display:flex;align-items:center;gap:18px;margin:18px 0 28px}
#xh-store-portal .as-detailhead .as-icon{width:76px;height:76px;border-radius:18px}
#xh-store-portal .as-detailhead h1{font-size:30px}
#xh-store-portal .as-detailhead .as-open{margin-top:14px;background:var(--xp-btn);color:var(--xp-btntext)}
#xh-store-portal .detail-art{position:relative;overflow:hidden;border-radius:16px;aspect-ratio:1.2;background:#24494e}
#xh-store-portal .detail-art .editorial-image{position:absolute;inset:0}
#xh-store-portal .detail-art figcaption{position:absolute;inset:auto 0 0;margin:0;padding:60px 24px 24px;font-size:30px;line-height:1.25;font-weight:650;color:#fff;background:linear-gradient(transparent,#000b);text-wrap:balance}
#xh-store-portal .as-detailsection{max-width:75ch;margin-top:28px;padding-top:24px;border-top:1px solid var(--xp-line)}
#xh-store-portal .as-detailsection p,#xh-store-portal .as-featurelist{color:var(--xp-muted);font-size:15px;line-height:1.8;margin-top:12px}
#xh-store-portal .as-featurelist svg{color:var(--xp-blue)}
#xh-store-portal .xp-back{display:inline-flex;align-items:center;gap:5px;min-height:44px;background:none;border:0;color:var(--xp-blue);padding:0;font-size:14px}
#xh-store-portal .xp-sub{font-size:14px;line-height:1.7;color:var(--xp-muted);margin-top:10px}
#xh-store-portal .xp-panel{background:var(--xp-paper);border:0;border-radius:16px;padding:22px;box-shadow:none}
#xh-store-portal .xp-avatar,#xh-store-portal .xp-iconbox,#xh-store-portal .xp-tag{background:var(--xp-soft);color:var(--xp-blue);box-shadow:none}
#xh-store-portal .xp-avatar{border-radius:12px}
#xh-store-portal .live-form label{font-size:14px;color:var(--xp-ink)}
#xh-store-portal .live-form input:not([type=checkbox]),#xh-store-portal .live-form select{font-size:16px;height:50px;min-height:50px;color:var(--xp-ink);border:1px solid var(--xp-line);border-radius:10px;background:var(--xp-paper);caret-color:var(--xp-blue)}
#xh-store-portal .live-form select{appearance:none;-webkit-appearance:none;padding-right:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23626268' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center}
#xh-store-portal .live-auth-tabs{gap:4px;background:var(--xp-paper);padding:4px;border-radius:12px}
#xh-store-portal .live-auth-tabs button{border:0;background:none;color:var(--xp-muted);border-radius:9px}
#xh-store-portal .live-auth-tabs button[aria-pressed=true]{background:var(--xp-soft);color:var(--xp-blue)}
#xh-store-portal .live-consent{min-height:44px;cursor:pointer}
#xh-store-portal .live-consent span{font-size:13px;line-height:1.7;color:var(--xp-muted)}
#xh-store-portal .live-inline-link{min-height:44px;display:flex;align-items:center;text-underline-offset:4px;margin-top:12px;color:var(--xp-blue)}
#xh-store-portal .live-error{color:light-dark(#a42c22,#ffb5ac)}
#xh-store-portal .xp-share-dialog{border:0;border-radius:16px;background:var(--xp-paper);color:var(--xp-ink);box-shadow:0 16px 60px #0004}
#xh-store-portal .live-notice{background:var(--xp-paper);color:var(--xp-ink);border:1px solid var(--xp-line);box-shadow:none;max-width:520px;bottom:calc(88px + env(safe-area-inset-bottom))}
#xh-store-portal[data-view=account] .xp-main,#xh-store-portal[data-view=login] .xp-main,#xh-store-portal[data-view=register] .xp-main,#xh-store-portal[data-view=link] .xp-main,#xh-store-portal[data-view=setup] .xp-main,#xh-store-portal[data-view=confirm] .xp-main,#xh-store-portal[data-view=choose] .xp-main{max-width:640px;margin-inline:auto}
@media(min-width:700px){#xh-store-portal .as-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}#xh-store-portal .store-feature{flex-basis:65%}#xh-store-portal .store-rail::after{content:"";flex:0 0 calc(35% - 20px)}#xh-store-portal .store-feature-art{aspect-ratio:1.65}#xh-store-portal .store-feature-copy strong{font-size:38px}#xh-store-portal .store-catalog,#xh-store-portal .store-quick-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}#xh-store-portal .store-welcome{grid-template-columns:1fr 1.1fr;align-items:center;gap:40px}#xh-store-portal .welcome-art{aspect-ratio:1.1}#xh-store-portal .welcome-copy h1{font-size:46px}#xh-store-portal .store-join{flex-direction:row;align-items:center;justify-content:space-between}#xh-store-portal .store-join>div:last-child{min-width:300px}#xh-store-portal .detail-art{aspect-ratio:2.2}#xh-store-portal .detail-art figcaption{font-size:40px}}
@media(min-width:1000px){#xh-store-portal{padding-bottom:40px}#xh-store-portal .xp-footer{position:absolute;left:50%;top:16px;bottom:auto;transform:translateX(-50%);width:420px;padding:0;background:none;border:0;gap:8px}#xh-store-portal .xp-nav{flex-direction:row;gap:7px;min-height:44px;font-size:14px}#xh-store-portal .xp-nav svg{width:18px;height:18px}#xh-store-portal .xp-nav[aria-current=page]{background:var(--xp-paper)}#xh-store-portal .xp-header-copy{margin-top:42px}#xh-store-portal .store-feature{flex-basis:63%}#xh-store-portal .store-rail::after{flex-basis:calc(37% - 20px)}#xh-store-portal .welcome-copy h1{font-size:52px}}
@media(max-width:350px){#xh-store-portal .xp-header,#xh-store-portal .xp-main{padding-inline:16px}#xh-store-portal .xp-header-brand span{display:none}#xh-store-portal .app-meta{padding:14px 12px;gap:9px}#xh-store-portal .app-meta .as-icon{width:38px;height:38px;border-radius:9px}#xh-store-portal .app-meta-copy strong{font-size:15px}#xh-store-portal .app-meta-copy small{font-size:11px}#xh-store-portal .as-open{min-width:60px;padding-inline:13px}#xh-store-portal .store-feature-copy{padding:50px 18px 20px}#xh-store-portal .store-feature-copy strong{font-size:25px}#xh-store-portal .store-section-heading>span{display:none}#xh-store-portal .xp-search-categories{gap:0}#xh-store-portal .xp-search-categories button{padding-inline:10px}#xh-store-portal .store-join{padding:20px}}
@media(hover:hover) and (pointer:fine){#xh-store-portal .as-open:hover,#xh-store-portal .xp-secondary:hover{background:var(--xp-blue);color:var(--xp-bg)}#xh-store-portal .store-catalog-info:hover strong,#xh-store-portal .store-quick-list>button:hover strong{color:var(--xp-blue)}}
@media(prefers-reduced-motion:reduce){#xh-store-portal button,#xh-store-portal .store-rail-controls span{transition:none}#xh-store-portal button:active:not(:disabled){transform:none}#xh-store-portal .store-rail{scroll-behavior:auto}}
