:root {
  --ws-bg: #f5f6f8;
  --ws-card: #fff;
  --ws-text: #15171c;
  --ws-sub: #727783;
  --ws-line: #dfe2e8;
  --ws-blue: #527ed7;
  --ws-blue-2: #3c6bc9;
  --ws-blue-soft: #edf3ff;
  --ws-gold: #f1c95c;
  --ws-dark: #20242d;
  --ws-orange: #ed9b47;
  --ws-radius: 18px;
  --ws-shadow: 0 10px 30px rgba(30, 43, 70, .07);
  --ws-shell: 1200px;
}

* { box-sizing: border-box; }
html, body, body.theme-light { margin: 0; background: var(--ws-bg) !important; color: var(--ws-text) !important; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important; }
body::before, #page::before { display: none !important; }
#page, #changebg { width: 100% !important; min-height: 100vh !important; max-width: none !important; background: var(--ws-bg) !important; }
#changebg > .st-hero, #changebg > .st-notice, #changebg > .st-quick, #changebg > #allcode { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Header */
.st-head {
  position: fixed !important; inset: 0 0 auto 0 !important; z-index: 200 !important;
  width: 100% !important; height: 66px !important; max-width: none !important;
  padding: 0 max(20px, calc((100vw - var(--ws-shell)) / 2)) !important;
  display: flex !important; flex-direction: row !important; align-items: center !important; gap: 24px !important;
  border: 0 !important; border-bottom: 1px solid var(--ws-line) !important;
  background: rgba(255,255,255,.97) !important; box-shadow: none !important;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.st-head::after { display: none !important; }
.ws-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: var(--ws-text); text-align: left; }
.ws-brand > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #6aa1ef, #4d72cd); font-size: 23px; font-weight: 900; box-shadow: inset 0 1px rgba(255,255,255,.5); }
.ws-brand div { display: grid; gap: 1px; }
.ws-brand b { font-size: 16px; letter-spacing: -.03em; }
.ws-brand small { color: #9298a3; font-size: 7px; letter-spacing: .18em; }
.ws-desktop-nav { display: flex; align-items: center; gap: 2px; }
.ws-desktop-nav button { height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #242831; font-size: 13px; font-weight: 750; white-space: nowrap; }
.ws-desktop-nav button i { margin-right: 7px; font-size: 13px; }
.ws-desktop-nav button:hover { background: #f4f6f9; }
.ws-desktop-nav button.active { border-color: #20242d; background: #fff; box-shadow: inset 0 0 0 1px #20242d; }
.ws-head-tools { min-width: 0; margin-left: auto !important; display: flex; align-items: center; gap: 10px; }
.ws-head-tools > label { width: clamp(160px, 18vw, 232px); height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--ws-line); border-radius: 12px; background: #f7f8fa; color: #787e88; }
.ws-head-tools input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.ws-style-toggle { height: 38px; display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--ws-line); border-radius: 20px; background: #fff; color: #737987; font-size: 10px; }
.ws-style-toggle span, .ws-style-toggle b { padding: 6px 10px; border-radius: 15px; font-weight: 700; }
.ws-style-toggle b { color: #fff; background: var(--ws-blue); }
.ws-head-device { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--ws-line); border-radius: 11px; background: #fff; color: var(--ws-text); text-align: left; }
.ws-head-device > i { color: var(--ws-orange); font-size: 18px; }
.ws-head-device span { display: grid; }
.ws-head-device b { font-size: 10px; }
.ws-head-device small { color: #8c929d; font-size: 7px; }
.ws-head-device.is-ready { border-color: #bfe5d0; background: #f3fbf6; }
.ws-head-device.is-ready > i { color: #24a865; }
.ws-platform-strip { position: fixed; z-index: 190; top: 66px; left: 0; right: 0; height: 44px; border-bottom: 1px solid var(--ws-line); background: rgba(255,255,255,.95); }
.ws-platform-strip > div { width: min(var(--ws-shell), calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 7px; }
.ws-platform-strip small { margin-right: 4px; color: #8a909a; font-size: 8px; letter-spacing: .16em; }
.ws-platform-strip button { height: 26px; padding: 0 11px; border: 1px solid #d9dde4; border-radius: 13px; background: #fafbfc; color: #555b65; font-size: 10px; }
.ws-platform-strip span { margin-left: auto; font-size: 10px; font-weight: 750; }
.ws-platform-strip span i, .ws-status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--ws-orange); }

/* Main shell */
#changebg.page-content { margin: 0 !important; padding: 138px max(20px, calc((100vw - var(--ws-shell)) / 2)) 70px !important; }
.ws-page { width: 100%; max-width: var(--ws-shell); margin: 0 auto; }
.ws-device-bar { width: 100%; min-height: 54px; margin: 0 0 16px; padding: 11px 15px; display: flex; align-items: center; border: 1px solid var(--ws-line); border-radius: 17px; background: #fff; box-shadow: var(--ws-shadow); color: var(--ws-text); text-align: left; }
.ws-device-copy { display: grid; gap: 1px; }
.ws-device-copy b { font-size: 12px; }
.ws-device-copy small { color: #8a909a; font-size: 8px; }
.ws-device-action { margin-left: auto; color: #456ab1; font-size: 10px; font-weight: 800; }
.ws-device-action i { margin-left: 7px; font-size: 8px; }
.ws-device-bar.is-ready { min-height: 76px; border-color: #c9e9d6; background: linear-gradient(100deg,#fff 0%,#f7fcf9 100%); }
.ws-device-bar.is-ready .ws-status-dot { flex: 0 0 auto; background: #24ae68; box-shadow: 0 0 0 4px rgba(36,174,104,.12); }
.ws-device-bar.is-ready .ws-device-copy { min-width: 0; gap: 4px; }
.ws-device-bar.is-ready .ws-device-copy > b { color: #168653; }
.ws-udid-line { min-width: 0; display: flex; align-items: center; gap: 7px; }
.ws-udid-line strong { padding: 3px 6px; border-radius: 5px; background: #e7f7ed; color: #168653; font-size: 7px; letter-spacing: .08em; }
.ws-udid-line code { max-width: 390px; overflow: hidden; color: #343944; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ws-device-meta { margin-left: auto; display: flex; align-items: stretch; gap: 7px; }
.ws-device-meta > span { min-width: 118px; padding: 8px 11px; display: grid; gap: 2px; border: 1px solid #e0e5ea; border-radius: 10px; background: rgba(255,255,255,.9); }
.ws-device-meta small { color: #9298a3; font-size: 7px; }
.ws-device-meta b { font-size: 10px; white-space: nowrap; }
.ws-device-bar.is-ready .ws-device-action { margin-left: 12px; white-space: nowrap; }
.ws-hero { min-height: 320px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 54px; border: 1px solid #d7dce5; border-radius: 22px; background: linear-gradient(125deg, #5f91e8, #456fc9 72%, #3e57a5); box-shadow: var(--ws-shadow); color: #fff; }
.ws-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000, transparent 88%); }
.ws-hero > * { position: relative; z-index: 1; }
.ws-kicker { display: inline-flex; width: fit-content; padding: 7px 12px; border-radius: 7px; background: var(--ws-gold); color: #3b3424; font-size: 9px; letter-spacing: .14em; font-weight: 800; }
.ws-hero h1 { max-width: 750px; margin: 17px 0 10px; color: #fff; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.ws-hero h1 em { color: var(--ws-gold); font-style: normal; }
.ws-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.7; }
.ws-hero-actions { display: flex; gap: 10px; margin-top: 23px; }
.ws-btn { min-width: 100px; height: 44px; padding: 0 20px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; }
.ws-btn-gold { background: var(--ws-gold); color: #282616; }
.ws-btn-dark { background: rgba(29,35,48,.86); color: #fff; }
.ws-hero-art { width: 250px; height: 240px; position: relative; flex: 0 0 auto; }
.ws-hero-art i { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 25px; background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.04)); box-shadow: inset 0 1px rgba(255,255,255,.3); }
.ws-hero-art i:nth-child(1) { width: 86px; height: 86px; top: 36px; left: 66px; }
.ws-hero-art i:nth-child(2) { width: 58px; height: 58px; top: 92px; left: 3px; }
.ws-hero-art i:nth-child(3) { width: 74px; height: 74px; right: 0; bottom: 27px; }
.ws-hero-art b { position: absolute; top: 53px; left: 91px; color: rgba(255,255,255,.75); font-size: 42px; }

.ws-search-card { min-height: 54px; margin: 22px 0; padding: 7px 8px 7px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--ws-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(32,45,71,.04); }
.ws-search-card > i { color: #3d434e; }
.ws-search-card input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent; color: var(--ws-text); font-size: 12px; }
.ws-search-card button { height: 38px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--ws-blue); color: #fff; font-size: 12px; font-weight: 800; }
.ws-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.ws-home-main, .ws-home-aside { min-width: 0; }
.ws-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 14px; }
.ws-title-row small { color: #9197a1; font-size: 8px; letter-spacing: .14em; }
.ws-title-row h2 { margin: 3px 0 0; color: var(--ws-text); font-size: 22px; letter-spacing: -.03em; }
.ws-title-row p { margin: 4px 0 0; color: var(--ws-sub); font-size: 11px; }
.ws-title-row > button { border: 0; background: transparent; color: #5674ad; font-size: 10px; }
.ws-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.ws-category-grid button { min-height: 112px; padding: 14px 11px; display: grid; justify-items: start; align-content: space-between; border: 1px solid var(--ws-line); border-radius: 15px; background: #fff; text-align: left; }
.ws-category-grid button:hover { transform: translateY(-2px); box-shadow: var(--ws-shadow); }
.ws-category-grid span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--ws-blue-soft); color: var(--ws-blue); }
.ws-category-grid b { font-size: 12px; }
.ws-category-grid small { color: #989ea8; font-size: 8px; }
.ws-featured-head { margin-top: 30px; }
.ws-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ws-side-card { margin-bottom: 14px; padding: 23px; border: 1px solid var(--ws-line); border-radius: 18px; background: #fff; box-shadow: var(--ws-shadow); }
.ws-side-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 12px; background: #f5f6f8; color: var(--ws-orange); font-size: 19px; }
.ws-side-card > small { color: #9298a1; font-size: 8px; }
.ws-side-card h3 { margin: 4px 0 8px; font-size: 19px; }
.ws-side-card p { margin: 0 0 13px; color: var(--ws-sub); font-size: 11px; line-height: 1.7; }
.ws-side-card > b { display: block; margin-bottom: 14px; font-size: 11px; }
.ws-side-card button { width: 100%; height: 40px; border: 0; border-radius: 9px; background: var(--ws-blue); color: #fff; font-size: 11px; font-weight: 800; }
.ws-device-side.is-ready { border-color: #c7e8d4; background: linear-gradient(145deg,#fff,#f3fbf6); }
.ws-device-side.is-ready .ws-side-icon { background: #e7f7ed; color: #1c9b5d; }
.ws-device-side.is-ready p { display: grid; gap: 5px; }
.ws-device-side.is-ready p span { color: #168653; font-size: 8px; font-weight: 800; }
.ws-device-side.is-ready p code { overflow-wrap: anywhere; color: #343944; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 9px; }
.ws-side-vip { color: #fff; background: #242b3a; }
.ws-side-vip h3 { color: #fff; }
.ws-side-vip p { color: #bfc6d2; }
.ws-side-vip button { background: var(--ws-gold); color: #252417; }

/* App cards and library */
.ws-library-hero, .ws-rom-hero, .ws-vip-hero, .ws-support-hero { min-height: 225px; padding: 38px 52px; }
.ws-count { min-width: 110px; display: grid; justify-items: end; }
.ws-count b { color: #fff; font-size: 54px; line-height: 1; }
.ws-count small { color: rgba(255,255,255,.75); font-size: 9px; letter-spacing: .2em; }
.ws-filter-card, .ws-rom-panel, .ws-faq, .ws-guide { margin-top: 20px; padding: 22px; border: 1px solid var(--ws-line); border-radius: 18px; background: #fff; box-shadow: var(--ws-shadow); }
.ws-filter-card .ws-search-card { margin: 0 0 18px; background: #f7f8fa; box-shadow: none; }
.ws-filter-label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.ws-filter-label span { font-size: 11px; font-weight: 800; }
.ws-filter-label small { color: #9298a1; font-size: 8px; }
.ws-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-pills button { height: 31px; padding: 0 14px; border: 1px solid var(--ws-line); border-radius: 16px; background: #fff; color: #555c68; font-size: 10px; }
.ws-pills button.active { border-color: var(--ws-blue); background: var(--ws-blue); color: #fff; }
.ws-platform-row { margin-top: 16px; padding-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; border-top: 1px dashed var(--ws-line); }
.ws-platform-row > span { margin-right: 4px; color: #959ba5; font-size: 8px; letter-spacing: .14em; }
.ws-platform-row button { height: 25px; padding: 0 10px; border: 1px solid var(--ws-line); border-radius: 13px; background: #fafbfc; color: #686e78; font-size: 9px; }
.ws-collection { padding-top: 28px; }
.ws-app-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.ws-app-card { min-width: 0; min-height: 116px; position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--ws-line); border-radius: 17px; background: #fff; box-shadow: 0 5px 18px rgba(32,45,71,.04); cursor: pointer; transition: .2s ease; }
.ws-app-card:hover, .ws-app-card:focus { transform: translateY(-2px); border-color: #c7d3e8; box-shadow: var(--ws-shadow); outline: 0; }
.ws-app-card img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: #eef1f5; box-shadow: 0 4px 11px rgba(30,40,60,.12); }
.ws-app-copy { min-width: 0; }
.ws-app-copy h3 { margin: 0 0 5px; overflow: hidden; color: var(--ws-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ws-app-copy p { height: 30px; margin: 0; overflow: hidden; color: var(--ws-sub); font-size: 9px; line-height: 1.6; }
.ws-app-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.ws-app-tags span { padding: 3px 6px; border-radius: 5px; background: #f1f3f7; color: #767c86; font-size: 7px; }
.ws-get { min-width: 38px; height: 26px; display: grid; place-items: center; padding: 0 8px; border-radius: 14px; background: #20242b; color: #fff; font-size: 8px; font-weight: 800; }
.ws-featured-grid .ws-app-card { min-height: 104px; grid-template-columns: 62px minmax(0,1fr); }
.ws-featured-grid .ws-app-card img { width: 62px; height: 62px; }
.ws-featured-grid .ws-get { position: absolute; right: 11px; bottom: 11px; }
.ws-empty { padding: 70px 20px; display: grid; place-items: center; text-align: center; color: var(--ws-sub); }
.ws-empty i { font-size: 28px; }
.ws-empty h3 { margin: 12px 0 5px; color: var(--ws-text); }
.ws-empty p { margin: 0; font-size: 11px; }

/* ROM */
.ws-rom-hero { background: linear-gradient(120deg, #172033, #25334f 70%, #374f80); }
.ws-platform-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.ws-platform-grid button { min-height: 78px; position: relative; padding: 13px; display: grid; align-content: space-between; justify-items: start; overflow: hidden; border: 1px solid var(--ws-line); border-radius: 13px; background: #f9fafc; text-align: left; }
.ws-platform-grid button span { color: #a6abb4; font-size: 8px; }
.ws-platform-grid button b { font-size: 14px; }
.ws-platform-grid button i { position: absolute; right: 11px; bottom: 12px; color: var(--ws-blue); font-size: 9px; }
.ws-rom-search { margin-bottom: 0; background: #f7f8fa; box-shadow: none; }
.ws-rom-note { margin-top: 18px; padding: 19px 22px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--ws-line); border-radius: 16px; background: #fff; }
.ws-rom-note > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ws-blue-soft); color: var(--ws-blue); font-size: 19px; }
.ws-rom-note div { flex: 1; }
.ws-rom-note h3 { margin: 0 0 4px; font-size: 14px; }
.ws-rom-note p { margin: 0; color: var(--ws-sub); font-size: 10px; }
.ws-rom-note button { height: 38px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--ws-blue); color: #fff; font-size: 10px; font-weight: 800; }

/* Plans */
.ws-vip-hero { background: linear-gradient(125deg, #1f2637, #303a55 68%, #6678a4); }
.ws-vip-crown { width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; background: rgba(255,255,255,.1); color: var(--ws-gold); font-size: 52px; transform: rotate(4deg); }
.ws-plan-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ws-plan { position: relative; padding: 30px; border: 1px solid var(--ws-line); border-radius: 20px; background: #fff; box-shadow: var(--ws-shadow); }
.ws-plan.is-featured { border: 2px solid #d8b249; background: linear-gradient(145deg, #fff, #fffaf0); }
.ws-plan-tag { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 10px; background: #f1f3f6; color: #656c77; font-size: 8px; font-weight: 800; }
.ws-plan.is-featured .ws-plan-tag { background: var(--ws-gold); color: #41391f; }
.ws-plan-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--ws-blue-soft); color: var(--ws-blue); font-size: 20px; }
.ws-plan h2 { margin: 18px 0 7px; font-size: 24px; }
.ws-plan > p { max-width: 480px; margin: 0; color: var(--ws-sub); font-size: 11px; line-height: 1.8; }
.ws-price { margin: 24px 0; padding: 20px 0; display: flex; align-items: flex-end; border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.ws-price small { align-self: flex-start; margin-right: auto; color: #8b919b; font-size: 8px; }
.ws-price b { font-size: 38px; line-height: .9; }
.ws-price span { margin-left: 4px; color: var(--ws-sub); font-size: 10px; }
.ws-plan ul { padding: 0; margin: 0 0 22px; display: grid; gap: 10px; list-style: none; }
.ws-plan li { color: #4f5661; font-size: 11px; }
.ws-plan li::before { content: '✓'; width: 18px; height: 18px; margin-right: 8px; display: inline-grid; place-items: center; border-radius: 50%; background: #eaf6ee; color: #42a464; font-size: 9px; font-weight: 900; }
.ws-plan > button { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--ws-dark); color: #fff; font-size: 12px; font-weight: 800; }
.ws-plan.is-featured > button { background: var(--ws-gold); color: #2b281c; }
.ws-vip-info { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ws-vip-info > div { padding: 20px; border: 1px solid var(--ws-line); border-radius: 15px; background: #fff; text-align: center; }
.ws-vip-info i { color: var(--ws-blue); font-size: 19px; }
.ws-vip-info h3 { margin: 9px 0 4px; font-size: 13px; }
.ws-vip-info p { margin: 0; color: var(--ws-sub); font-size: 9px; }

/* Support */
.ws-support-hero { background: linear-gradient(120deg, #527ed7, #436cc4); }
.ws-help-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 19px; background: var(--ws-gold); color: #30303a; font-size: 35px; box-shadow: 0 10px 24px rgba(28,40,70,.16); }
.ws-support-links { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ws-support-links button { min-height: 76px; padding: 14px 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--ws-line); border-radius: 13px; background: #fff; text-align: left; }
.ws-support-links i { color: var(--ws-blue); font-size: 17px; }
.ws-support-links span { display: grid; gap: 3px; }
.ws-support-links b { font-size: 11px; }
.ws-support-links small { color: #9298a1; font-size: 8px; }
.ws-guide { padding: 0; overflow: hidden; }
.ws-guide-head { padding: 22px; color: #fff; background: var(--ws-blue); }
.ws-guide-head small { color: var(--ws-gold); font-size: 8px; letter-spacing: .12em; }
.ws-guide-head h2 { margin: 5px 0 6px; color: #fff; font-size: 23px; }
.ws-guide-head p { margin: 0; color: rgba(255,255,255,.78); font-size: 10px; }
.ws-step-grid { padding: 16px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.ws-step-grid article { min-height: 74px; padding: 12px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--ws-line); border-radius: 12px; background: #fff; }
.ws-step-grid article:first-child { border: 2px solid var(--ws-dark); background: var(--ws-blue); color: #fff; }
.ws-step-grid article > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 10px; background: #f0f2f6; color: #5c6370; font-size: 12px; font-weight: 900; }
.ws-step-grid article:first-child > span { background: var(--ws-gold); color: #3b3420; }
.ws-step-grid h3 { margin: 0 0 3px; color: inherit; font-size: 12px; }
.ws-step-grid p { margin: 0; color: #858b95; font-size: 8px; }
.ws-step-grid article:first-child p { color: rgba(255,255,255,.74); }
.ws-step-grid > i { font-size: 10px; }
.ws-faq details { border-top: 1px solid var(--ws-line); }
.ws-faq details:last-child { border-bottom: 1px solid var(--ws-line); }
.ws-faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; color: var(--ws-text); font-size: 11px; font-weight: 750; list-style: none; cursor: pointer; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary i { color: var(--ws-blue); transition: .2s; }
.ws-faq details[open] summary i { transform: rotate(45deg); }
.ws-faq details p { margin: -3px 0 16px; padding-right: 30px; color: var(--ws-sub); font-size: 10px; line-height: 1.8; }
.ws-query-callout { margin-top: 18px; padding: 24px; display: flex; align-items: center; gap: 20px; border-radius: 18px; background: #212838; color: #fff; }
.ws-query-callout div { flex: 1; }
.ws-query-callout small { color: var(--ws-gold); font-size: 8px; letter-spacing: .12em; }
.ws-query-callout h2 { margin: 5px 0; color: #fff; font-size: 20px; }
.ws-query-callout p { margin: 0; color: #bec5d0; font-size: 10px; }
.ws-query-callout button { height: 42px; padding: 0 19px; border: 0; border-radius: 9px; background: var(--ws-gold); color: #2e2b1e; font-size: 11px; font-weight: 800; }

/* Detail */
.ws-detail-topbar { display: none; }
.ws-detail-hero { min-height: 180px; display: grid; grid-template-columns: 110px minmax(0,1fr) 300px; align-items: center; gap: 25px; padding: 18px 0 28px; border-bottom: 1px solid var(--ws-line); }
.ws-detail-hero > img { width: 104px; height: 104px; border-radius: 25px; object-fit: cover; box-shadow: 0 9px 22px rgba(30,40,60,.16); }
.ws-detail-badges { display: flex; gap: 5px; }
.ws-detail-badges span { padding: 5px 8px; border: 1px solid #d8b249; border-radius: 11px; background: #f7d766; color: #4a4123; font-size: 8px; }
.ws-detail-badges span:nth-child(2) { border-color: #77bf8f; background: #70c488; color: #fff; }
.ws-detail-badges span:nth-child(3) { border-color: #da9a64; background: #e5a266; color: #fff; }
.ws-detail-copy h1 { margin: 10px 0 5px; font-size: 31px; letter-spacing: -.04em; }
.ws-detail-copy small { color: #8e949f; font-size: 9px; }
.ws-detail-copy p { margin: 9px 0; color: #555c67; font-size: 11px; }
.ws-detail-copy em { display: inline-block; padding: 3px 8px; border: 1px solid #aeb4be; border-radius: 9px; color: #515863; font-size: 8px; font-style: normal; }
.ws-detail-stats { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--ws-line); border-radius: 16px; background: #fff; box-shadow: var(--ws-shadow); }
.ws-detail-stats div { min-height: 60px; padding: 14px; display: grid; gap: 3px; border-right: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.ws-detail-stats div:nth-child(even) { border-right: 0; }
.ws-detail-stats div:nth-last-child(-n+2) { border-bottom: 0; }
.ws-detail-stats small { color: #989ea8; font-size: 7px; }
.ws-detail-stats b { font-size: 10px; }
.ws-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; padding-top: 27px; }
.ws-download-option { width: 100%; min-height: 72px; margin-bottom: 10px; padding: 10px 15px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--ws-line); border-radius: 15px; background: #fff; color: var(--ws-text); text-align: left; box-shadow: 0 5px 16px rgba(30,43,70,.04); }
.ws-download-option.is-gold { background: #f5ce65; border-color: #e0b84b; }
.ws-download-option > span { width: 41px; height: 41px; display: grid; place-items: center; flex: 0 0 41px; border-radius: 11px; background: #62bf70; color: #fff; font-size: 17px; }
.ws-download-option.is-gold > span { background: #fff; color: #242934; }
.ws-download-option > div { flex: 1; }
.ws-download-option h3 { margin: 0 0 3px; font-size: 12px; }
.ws-download-option p { margin: 0; color: #7f8690; font-size: 8px; }
.ws-download-option > b { min-width: 38px; height: 29px; display: grid; place-items: center; border-radius: 14px; background: #20242b; color: #fff; font-size: 8px; }
.ws-detail-tip { margin: 12px 0 30px; color: #7d838d; font-size: 9px; }
.ws-detail-tip i { margin-right: 6px; color: var(--ws-orange); }
.ws-feature-card { padding: 18px; border: 1px solid var(--ws-line); border-radius: 17px; background: #fff; box-shadow: var(--ws-shadow); }
.ws-feature-card > small { color: #9096a0; font-size: 8px; letter-spacing: .14em; }
.ws-feature-card h2 { margin: 4px 0 16px; font-size: 18px; }
.ws-feature-card > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ws-feature-card span { min-height: 63px; padding: 10px; display: grid; align-content: space-between; border: 1px solid #aeb3bc; border-radius: 11px; color: #8a909a; font-size: 8px; overflow: hidden; }
.ws-feature-card b { color: #4d555f; font-size: 8px; overflow-wrap: anywhere; }
.ws-install-steps { margin-top: 28px; }
.ws-install-steps ol { padding: 0; display: grid; gap: 8px; list-style: none; }
.ws-install-steps li { padding: 15px; display: flex; gap: 12px; border: 1px solid var(--ws-line); border-radius: 13px; background: #fff; }
.ws-install-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; border-radius: 8px; background: var(--ws-blue); color: #fff; font-size: 10px; font-weight: 800; }
.ws-install-steps h3 { margin: 0 0 3px; font-size: 11px; }
.ws-install-steps p { margin: 0; color: var(--ws-sub); font-size: 9px; }
.ws-detail-actions { display: none; }

/* Original signing/query pages retained */
.ws-subpage-head { min-height: 150px; margin-bottom: 20px; padding: 28px 34px; display: flex; align-items: center; gap: 18px; border-radius: 20px; background: linear-gradient(120deg, #527ed7, #406bc9); color: #fff; }
.ws-subpage-head > button:first-child { width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid rgba(255,255,255,.35); border-radius: 11px; background: rgba(255,255,255,.12); color: #fff; }
.ws-subpage-head > div { flex: 1; }
.ws-subpage-head small { color: var(--ws-gold); font-size: 8px; letter-spacing: .14em; }
.ws-subpage-head h1 { margin: 4px 0; color: #fff; font-size: 28px; }
.ws-subpage-head p { margin: 0; color: rgba(255,255,255,.78); font-size: 10px; }
.ws-sub-action { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: #fff; color: var(--ws-blue); font-size: 10px; font-weight: 800; }
#Home.ws-sign-page { grid-template-columns: 360px minmax(0,1fr) !important; gap: 24px !important; }
#Home.ws-sign-page > .ws-subpage-head { grid-column: 1 / -1; }
#Home.ws-sign-page .st-route, #Home.ws-sign-page .st-console, #Query.ws-query-page > *:not(.ws-subpage-head) { min-width: 0; }
#Home.ws-sign-page .st-route, #Home.ws-sign-page .st-console, #Query.ws-query-page .sign-card { border-radius: 18px !important; }
#Query.ws-query-page { max-width: 900px; }
#Query.ws-query-page > .panel-title { display: none !important; }

/* Bottom navigation */
.st-bar { display: none !important; }
.ws-footer { width: min(var(--ws-shell), calc(100% - 40px)); margin: 0 auto 28px; padding: 24px 0 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 30px; border-top: 1px solid var(--ws-line); color: var(--ws-sub); }
.ws-footer > div:first-child { min-width: 0; }
.ws-footer-brand { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--ws-text); }
.ws-footer-brand span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--ws-blue); color: #fff; font-weight: 900; }
.ws-footer p { margin: 8px 0 0; font-size: 9px; }
.ws-footer > div:nth-child(2) { display: flex; gap: 15px; align-items: center; }
.ws-footer > div:nth-child(2) button { border: 0; background: transparent; color: #606773; font-size: 9px; }
.ws-footer > small { grid-column: 1 / -1; color: #a0a5ae; font-size: 8px; }
.ws-service-fab { position: fixed; z-index: 180; right: 16px; bottom: 16px; height: 42px; padding: 0 15px; border: 0; border-radius: 11px; background: var(--ws-blue); color: #fff; box-shadow: 0 8px 24px rgba(47,80,150,.25); font-size: 10px; font-weight: 800; }

@media (max-width: 1080px) {
  .ws-desktop-nav button { padding: 0 8px; font-size: 11px; }
  .ws-head-tools > label { display: none; }
  .ws-app-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ws-platform-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --ws-radius: 15px; }
  body { padding-bottom: 78px !important; }
  .ws-footer, .ws-service-fab { display: none; }
  .st-head { height: 62px !important; padding: 0 14px !important; justify-content: space-between !important; gap: 10px !important; }
  .ws-brand > span { width: 36px; height: 36px; font-size: 20px; }
  .ws-brand b { font-size: 14px; }
  .ws-brand small { font-size: 6px; }
  .ws-desktop-nav { display: none; }
  .ws-head-tools { margin-left: 0; gap: 7px; }
  .ws-style-toggle { height: 35px; font-size: 8px; }
  .ws-style-toggle span, .ws-style-toggle b { padding: 5px 8px; }
  .ws-head-device { width: 39px; height: 39px; justify-content: center; padding: 0; }
  .ws-head-device span { display: none; }
  .ws-platform-strip { display: none; }
  #changebg.page-content { margin: 0 !important; padding: 80px 12px 22px !important; }
  .ws-device-bar { min-height: 56px; margin-bottom: 13px; border-radius: 16px; }
  .ws-device-copy b { font-size: 12px; }
  .ws-device-copy small { font-size: 8px; }
  .ws-device-action { font-size: 9px; }
  .ws-device-bar.is-ready { min-height: 118px; padding: 13px; display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 8px 9px; align-items: center; }
  .ws-device-bar.is-ready .ws-status-dot { margin: 0; }
  .ws-device-bar.is-ready .ws-device-copy { grid-column: 2 / -1; }
  .ws-udid-line { display: grid; grid-template-columns: auto minmax(0,1fr); }
  .ws-udid-line code { max-width: none; font-size: 7px; }
  .ws-device-meta { grid-column: 2 / -1; width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .ws-device-meta > span { min-width: 0; padding: 7px 9px; }
  .ws-device-meta b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
  .ws-device-bar.is-ready .ws-device-action { grid-column: 3; grid-row: 1; margin: 0; }
  .ws-hero { min-height: 250px; padding: 26px 21px; border-radius: 19px; }
  .ws-hero h1 { margin-top: 13px; font-size: 34px; }
  .ws-hero p { font-size: 11px; }
  .ws-hero-art { display: none; }
  .ws-kicker { font-size: 7px; }
  .ws-btn { height: 40px; min-width: 92px; padding: 0 15px; font-size: 11px; }
  .ws-search-card { margin: 13px 0; min-height: 52px; }
  .ws-search-card button { padding: 0 17px; }
  .ws-home-grid { display: block; }
  .ws-home-aside { display: none; }
  .ws-category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
  .ws-category-grid button { min-height: 92px; padding: 10px 8px; }
  .ws-category-grid span { width: 28px; height: 28px; }
  .ws-category-grid b { width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .ws-category-grid small { display: none; }
  .ws-title-row { margin-bottom: 11px; }
  .ws-title-row h2 { font-size: 20px; }
  .ws-featured-grid { display: grid; grid-template-columns: 1fr; }
  .ws-library-hero, .ws-rom-hero, .ws-vip-hero, .ws-support-hero { min-height: 180px; padding: 24px 20px; }
  .ws-library-hero h1, .ws-rom-hero h1, .ws-vip-hero h1, .ws-support-hero h1 { font-size: 28px; }
  .ws-count { min-width: 60px; }
  .ws-count b { font-size: 38px; }
  .ws-count small { font-size: 6px; }
  .ws-filter-card, .ws-rom-panel, .ws-faq, .ws-guide { margin-top: 13px; padding: 14px; border-radius: 15px; }
  .ws-platform-row { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ws-platform-row::-webkit-scrollbar { display: none; }
  .ws-app-list { grid-template-columns: 1fr; gap: 9px; }
  .ws-app-card { min-height: 103px; grid-template-columns: 62px minmax(0,1fr) auto; padding: 12px; border-radius: 14px; }
  .ws-app-card img { width: 62px; height: 62px; border-radius: 14px; }
  .ws-app-copy h3 { font-size: 13px; }
  .ws-app-copy p { font-size: 8px; }
  .ws-collection { padding-top: 21px; }
  .ws-platform-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .ws-platform-grid button { min-height: 70px; padding: 10px; }
  .ws-rom-note { padding: 15px; align-items: flex-start; }
  .ws-rom-note p { line-height: 1.6; }
  .ws-rom-note button { display: none; }
  .ws-vip-crown { width: 64px; height: 64px; border-radius: 18px; font-size: 29px; }
  .ws-plan-grid { grid-template-columns: 1fr; gap: 12px; }
  .ws-plan { padding: 22px; }
  .ws-vip-info { grid-template-columns: 1fr; }
  .ws-support-links { grid-template-columns: 1fr; gap: 7px; }
  .ws-support-links button { min-height: 61px; }
  .ws-help-icon { width: 60px; height: 60px; font-size: 27px; }
  .ws-step-grid { grid-template-columns: 1fr; gap: 7px; }
  .ws-step-grid > i { display: none; }
  .ws-query-callout { align-items: flex-start; flex-direction: column; }
  .ws-query-callout button { width: 100%; }

  /* mobile app detail mirrors the reference: content + sticky actions */
  body.ws-detail-open { padding-bottom: 76px !important; }
  body.ws-detail-open .st-head { top: 0 !important; }
  body.ws-detail-open #changebg.page-content { padding-top: 68px !important; }
  .ws-detail-topbar { height: 48px; margin: 0 -12px 12px; padding: 0 12px; display: grid; grid-template-columns: 36px minmax(0,1fr) 36px; align-items: center; gap: 8px; border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); background: #fff; }
  .ws-detail-topbar button, .ws-detail-topbar > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ws-line); border-radius: 10px; background: #fff; color: var(--ws-text); }
  .ws-detail-topbar b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  #AppDetail .ws-device-bar { margin-bottom: 20px; }
  .ws-detail-hero { display: flex; flex-direction: column; gap: 12px; padding: 12px 3px 17px; text-align: center; }
  .ws-detail-hero > img { width: 98px; height: 98px; border-radius: 24px; }
  .ws-detail-badges { justify-content: center; }
  .ws-detail-copy h1 { margin: 9px 0 4px; font-size: 25px; line-height: 1.12; }
  .ws-detail-copy p { font-size: 10px; }
  .ws-detail-stats { width: 100%; grid-template-columns: repeat(4,1fr); border-radius: 12px; }
  .ws-detail-stats div { min-height: 48px; padding: 8px 4px; border-right: 1px solid var(--ws-line) !important; border-bottom: 0 !important; }
  .ws-detail-stats div:last-child { border-right: 0 !important; }
  .ws-detail-stats b { font-size: 8px; }
  .ws-detail-grid { display: block; padding-top: 20px; }
  .ws-detail-grid aside { margin-top: 18px; }
  .ws-install-steps { padding-bottom: 12px; }
  .ws-detail-actions { position: fixed; z-index: 240; left: 0; right: 0; bottom: 0; height: 68px; padding: 8px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--ws-line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
  .ws-detail-actions button { border: 1px solid var(--ws-line); border-radius: 11px; background: #fff; color: var(--ws-text); font-size: 11px; font-weight: 800; }
  .ws-detail-actions button:last-child { border-color: #d5ad40; background: var(--ws-gold); }
  body.ws-detail-open .st-bar { display: none !important; }

  /* signing/query page */
  .ws-subpage-head { min-height: 130px; padding: 20px 16px; border-radius: 17px; }
  .ws-subpage-head h1 { font-size: 22px; }
  .ws-subpage-head p { display: none; }
  .ws-sub-action { display: none; }
  body[data-ws-page="Home"] #Home.ws-sign-page { display: block !important; }
  #Home.ws-sign-page .st-route { margin-bottom: 14px; }
  #Query.ws-query-page { width: 100%; }

  /* five-item bottom nav */
  .st-bar {
    position: fixed !important; z-index: 220 !important; left: 8px !important; right: 8px !important; bottom: 8px !important;
    width: auto !important; height: 67px !important; padding: 5px 7px !important;
    display: grid !important; grid-template-columns: repeat(5, 1fr) !important; align-items: stretch !important;
    border: 1px solid rgba(219,223,230,.9) !important; border-radius: 21px !important;
    background: rgba(255,255,255,.96) !important; box-shadow: 0 12px 35px rgba(26,38,62,.18) !important;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: none !important;
  }
  .st-bar::before { display: none !important; }
  .st-bar button { min-width: 0 !important; height: 100% !important; padding: 6px 1px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 4px !important; border: 0 !important; border-radius: 15px !important; background: transparent !important; color: #858b95 !important; }
  .st-bar button i { margin: 0 !important; color: inherit !important; font-size: 16px !important; }
  .st-bar button span { margin: 0 !important; color: inherit !important; font-size: 8px !important; font-weight: 750 !important; }
  .st-bar button.active { background: var(--ws-blue-soft) !important; color: var(--ws-blue) !important; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  #changebg.page-content { padding-left: 24px !important; padding-right: 24px !important; }
  .ws-home-grid { grid-template-columns: minmax(0,1fr) 260px; }
}

/* 20261105: device-aware install flow. */
#standard-device-panel, #standard-device-panel:not([hidden]) { display:none!important; }
.ws-activation-state { display:flex; align-items:center; gap:14px; padding:17px; margin-bottom:15px; border:1px solid #dfe5ef; border-radius:16px; background:#f7f9fd; }
.ws-activation-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:13px; background:#e9eef9; color:#507dd4; flex-shrink:0; font-size:20px; }
.ws-activation-state > div { flex:1; min-width:0; }
.ws-activation-state small { display:block; color:#8791a2; font-size:11px; }
.ws-activation-state b { display:block; font-size:18px; color:#243148; line-height:1.7; }
.ws-activation-state p { margin:2px 0 0; color:#788397; font-size:12px; line-height:1.6; }
.ws-activation-state em { display:block; font-style:normal; color:#58816d; font-size:11px; margin-top:4px; }
.ws-activation-state em:empty { display:none; }
.ws-activation-state button { flex-shrink:0; padding:7px 12px; border:1px solid #d4deec; color:#59769d; background:white; border-radius:9px; font-size:12px; }
.ws-activation-state[data-state="active"] { background:linear-gradient(120deg,#f0faf3,#f6f9f1); border-color:#c9e5d2; margin-bottom:0; }
.ws-activation-state[data-state="active"] b { color:#20814d; }
.ws-activation-state[data-state="active"] .ws-activation-icon { color:#b78c27; background:#faf0c9; }
#cert-type-panel[data-device-state="active"] > .cert-type-head,
#cert-type-panel[data-device-state="active"] > .cert-type-grid,
#cert-type-panel[data-device-state="active"] > .cert-type-summary { display:none!important; }
#Home .input-style[hidden], #wsVipEntitlement[hidden] { display:none!important; }
body[data-xh-vip="active"] #Vip .ws-plan-grid,
body[data-xh-vip="active"] #AppDetail [data-cert-app] { display:none!important; }
.ws-vip-entitlement { margin:22px 0; display:flex; align-items:center; gap:20px; padding:28px; border:1px solid #e6d69e; border-radius:23px; background:linear-gradient(125deg,#fffdf3,#f6f9ee); }
.ws-vip-emblem { display:grid; place-items:center; flex:0 0 56px; height:56px; border-radius:17px; background:#f6e8b2; color:#b18b28; font-size:25px; }
.ws-vip-entitlement > div { flex:1; min-width:0; }
.ws-vip-entitlement small { display:block; color:#9c8c53; font-size:11px; }
.ws-vip-entitlement b { display:block; color:#28814e; font-size:25px; }
.ws-vip-entitlement p { font-size:13px; color:#758373; margin:8px 0 0; }
.ws-vip-entitlement button { border:0; border-radius:12px; padding:12px 18px; background:#527ed5; color:white; font-weight:700; }
.ws-sign-device-summary { flex:1; min-width:0; display:flex; align-items:center; gap:13px; padding:6px 0; }
.ws-sign-device-summary > span { display:grid; place-items:center; flex:0 0 42px; height:42px; border-radius:12px; background:#eef3ff; color:#547fd3; font-size:23px; }
.ws-sign-device-summary b { display:block; color:#243148; font-size:16px; line-height:1.45; overflow-wrap:anywhere; }
.ws-sign-device-summary small { display:block; color:#929baa; font-size:11px; margin-top:3px; }
.ws-sign-device-row { display:flex; align-items:center; gap:12px; border:1px solid #e0e5ed; border-radius:15px; padding:10px 14px; background:white; }
.ws-sign-device-row .btn-mini { flex-shrink:0; }
.ws-context-device { display:flex; align-items:center; gap:13px; padding:15px 19px; margin-bottom:22px; border:1px solid #e0e6ef; border-radius:17px; background:#fff; }
.ws-context-device > i { color:#5d85cf; font-size:25px; }
.ws-context-device > div { min-width:0; flex:1; }
.ws-context-device small { display:block; color:#9aa0ab; font-size:10px; }
.ws-context-device b { display:block; font-size:13px; color:#303b4d; overflow-wrap:anywhere; }
.ws-context-device > span { font-size:11px; color:#238151; }
.ws-context-device > button { padding:7px 11px; background:#eff4ff; border:0; border-radius:8px; color:#537ccc; font-size:11px; }
.ws-device-bar.is-vip { border-color:#e2d49d; background:linear-gradient(125deg,#fffef6,#f3faf4); }
.ws-get { cursor:pointer; white-space:nowrap; }
@media(max-width:620px) {
  .ws-activation-state { padding:13px; gap:10px; }
  .ws-activation-state b { font-size:16px; }
  .ws-activation-state p { font-size:11px; }
  .ws-activation-state button { padding:6px 9px; }
  .ws-vip-entitlement { flex-wrap:wrap; padding:19px; gap:13px; }
  .ws-vip-entitlement button { width:100%; }
  .ws-sign-device-summary b { font-size:14px; }
  .ws-sign-device-row { padding:9px 11px; gap:8px; }
  .ws-sign-device-row .btn-mini { font-size:11px!important; padding:9px 10px!important; }
  .ws-context-device { padding:12px; gap:9px; flex-wrap:wrap; }
  .ws-context-device > span { font-size:10px; }
}
#Home .st-console > .panel-title { display:none!important; }
#Home .ws-subpage-head { min-height:105px; margin-bottom:20px; padding:20px 24px; }
#Home .ws-subpage-head h1 { margin:4px 0; }
#Home .st-console { min-width:0; }
#Support .ws-legacy-guide { margin-top:25px; }
@media(max-width:620px) {
  #Home .ws-subpage-head { min-height:96px; margin-bottom:16px; padding:18px; }
  #Home .ws-subpage-head h1 { font-size:23px!important; }
}
/* Device copy and independent lookup input — 2026110509. */
.ws-device-actions { display:flex; flex-shrink:0; align-items:center; gap:8px; margin-left:14px; }
.ws-device-actions button { border:1px solid #dbe4ee; border-radius:9px; background:rgba(255,255,255,.95); padding:9px 11px; color:#4c70af; font-size:11px; font-weight:700; white-space:nowrap; }
.ws-device-actions button:first-child { background:#527ed5; border-color:#527ed5; color:white; }
#Query .ws-query-clear { flex:0 0 auto; padding:10px 14px; border:0; border-radius:10px; color:#60738f; background:#edf2f8; font-size:12px; }
#Query .field-row { display:flex; gap:10px; align-items:center; }
#QueryUDID { min-width:0; flex:1; user-select:text; -webkit-user-select:text; }
.ws-query-tools { margin-top:12px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.ws-query-tools button { padding:7px 10px; border:1px solid #dce5f4; border-radius:8px; color:#5277b9; background:#f6f9ff; font-size:12px; }
.ws-query-tools small { color:#8f98a6; font-size:11px; }
#wsCopyNotice:not(:empty) { position:fixed; bottom:120px; left:50%; transform:translateX(-50%); z-index:999999; border-radius:12px; padding:12px 18px; background:#27354b; color:white; font-size:13px; white-space:nowrap; }
@media(max-width:1000px) {
  .ws-device-bar.is-ready { flex-wrap:wrap; gap:12px; }
  .ws-device-actions { width:100%; justify-content:flex-end; margin-left:0; }
}
@media(max-width:620px) {
  .ws-device-bar.is-ready .ws-device-actions { grid-column:2 / -1; justify-content:stretch; margin:2px 0 0; }
  .ws-device-actions button { flex:1; min-height:38px; font-size:11px; }
  .ws-query-tools { align-items:flex-start; flex-direction:column; }
}
/* Single development-certificate offering. */
.cert-type-grid { grid-template-columns:minmax(0,1fr)!important; }
#Vip .ws-plan-grid { grid-template-columns:minmax(0,1fr); max-width:620px; margin-left:auto; margin-right:auto; }
