:root {
  --blue: #2878f0;
  --blue-dark: #1763d4;
  --blue-soft: #edf5ff;
  --ink: #242a32;
  --muted: #858d99;
  --line: #e9edf2;
  --page: #f5f7fa;
  --green: #20a86b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; min-width: 320px; font-size: 14px; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
svg { display: block; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-container, .header-inner, .footer-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Market header */
.market-header { height: 64px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 8px rgba(25,42,70,.025); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.market-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.market-brand > strong { font-size: 21px; letter-spacing: -.5px; }
.market-brand > span:last-child:not(.market-logo) { color: #a0a7b0; font-size: 11px; margin-left: 5px; }
.market-logo { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 3px; padding: 6px; background: var(--blue); border-radius: 8px; transform: rotate(-3deg); }
.market-logo i { background: #fff; border-radius: 2px; }
.market-logo i:nth-child(2), .market-logo i:nth-child(3) { border-radius: 50%; }
.market-nav { display: flex; align-items: stretch; height: 100%; gap: 25px; }
.market-nav a, .market-nav button { display: flex; align-items: center; position: relative; background: none; padding: 0; color: #626b77; font-size: 14px; }
.market-nav a:hover, .market-nav button:hover { color: var(--blue); }
.market-nav .active { color: var(--blue); font-weight: 600; }
.market-nav .active::after { content: ''; position: absolute; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; left: 2px; right: 2px; bottom: 0; }
.market-search { margin-left: auto; width: 260px; height: 36px; display: flex; align-items: center; background: #f4f6f8; border: 1px solid #edf0f3; border-radius: 7px; overflow: hidden; }
.market-search > svg { width: 16px; height: 16px; color: #929ba6; margin-left: 12px; flex: 0 0 auto; }
.market-search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 9px; font-size: 12px; color: var(--ink); }
.market-search input::placeholder { color: #a3abb5; }
.market-search button { height: 100%; padding: 0 12px; background: transparent; color: #6e7782; font-size: 12px; }
.market-search button:hover { color: var(--blue); }
.developer-link { background: none; padding: 0; color: #697380; font-size: 12px; white-space: nowrap; }
.developer-link:hover { color: var(--blue); }

/* Breadcrumb and application summary */
.breadcrumb { height: 52px; display: flex; align-items: center; gap: 10px; color: #929aa4; font-size: 12px; white-space: nowrap; overflow: hidden; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb > span:last-child { color: #626b77; overflow: hidden; text-overflow: ellipsis; }
.app-overview { background: #fff; border: 1px solid #e9edf2; border-radius: 10px; padding: 30px 30px 0; display: grid; grid-template-columns: minmax(0, 1fr) 130px; column-gap: 32px; box-shadow: 0 2px 7px rgba(28,43,66,.025); }
.app-main { display: flex; gap: 24px; min-width: 0; }
.app-icon { width: 44px; height: 44px; flex: 0 0 auto; background: #294f3e; border-radius: 23%; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.app-icon > span { position: absolute; width: 11%; height: 43%; left: 36%; top: 28%; border-radius: 10px; background: #c5ef89; transform: rotate(23deg); }
.app-icon > span:nth-child(2) { left: 56%; top: 34%; height: 34%; }
.app-icon > i { position: absolute; width: 55%; height: 55%; border: 1px solid rgba(197,239,137,.15); border-radius: 50%; right: -26%; top: -25%; }
.app-icon-large { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 7px 20px rgba(34,71,54,.13), inset 0 0 0 1px rgba(255,255,255,.1); }
.app-primary { min-width: 0; flex: 1; }
.app-title-line { display: flex; align-items: center; gap: 10px; }
.app-title-line h1 { font-size: 25px; font-weight: 600; letter-spacing: -.5px; line-height: 1.35; margin: 0; }
.official-badge { flex: 0 0 auto; color: var(--blue); border: 1px solid #b8d4fa; border-radius: 4px; font-size: 10px; line-height: 17px; padding: 0 5px; }
.developer-name { color: #69737f; font-size: 12px; margin-top: 8px; }
.developer-name span { color: #9ba3ac; border-left: 1px solid #dfe4e9; padding-left: 9px; margin-left: 8px; }
.app-tags { display: flex; gap: 7px; margin-top: 12px; }
.app-tags span { background: #f2f6fa; color: #74808d; border-radius: 4px; padding: 3px 7px; font-size: 10px; }
.rating-line { display: flex; align-items: center; gap: 8px; margin-top: 15px; font-size: 11px; color: #929aa5; }
.rating-line > strong { color: #e79820; font-size: 17px; font-weight: 600; }
.stars { color: #f5aa32; font-size: 12px; letter-spacing: 1px; }
.rating-line button { background: none; color: #8b949f; padding: 0; font-size: 11px; }
.rating-line button:hover { color: var(--blue); }
.rating-line > i { width: 1px; height: 11px; background: #e0e5ea; margin: 0 4px; }
.overview-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.primary-download { width: 218px; height: 58px; background: var(--blue); color: #fff; border-radius: 7px; display: grid; grid-template-columns: 24px auto; grid-template-rows: 25px 16px; justify-content: center; column-gap: 9px; align-content: center; transition: background .2s, box-shadow .2s; }
.primary-download:hover { background: var(--blue-dark); box-shadow: 0 5px 15px rgba(40,120,240,.2); }
.primary-download > svg { width: 22px; height: 22px; grid-row: 1 / 3; align-self: center; }
.primary-download > span { font-size: 16px; font-weight: 600; line-height: 25px; text-align: left; }
.primary-download > small { font-size: 9px; color: rgba(255,255,255,.73); text-align: left; }
.ios-download { height: 44px; padding: 0 16px; border: 1px solid #dce3eb; border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 7px; font-size: 12px; color: #596573; }
.ios-download svg { width: 17px; height: 17px; }
.ios-download:hover { border-color: var(--blue); color: var(--blue); }
.icon-action { width: 40px; height: 40px; border-radius: 6px; background: #f6f8fa; display: grid; place-items: center; color: #7a8591; }
.icon-action svg { width: 18px; height: 18px; }
.icon-action:hover, .icon-action.is-favorite { background: #fff1f1; color: #ed6572; }
.icon-action.is-favorite svg { fill: currentColor; }
.overview-qr { display: flex; align-items: center; flex-direction: column; padding-top: 3px; }
.qr-frame { width: 108px; height: 108px; padding: 6px; border: 1px solid #e1e6eb; border-radius: 7px; background: #fff; }
.qr-code { width: 100%; height: 100%; }
.qr-code canvas, .qr-code img { display: block; width: 100% !important; height: 100% !important; }
.overview-qr > strong { font-size: 12px; font-weight: 500; margin-top: 10px; }
.overview-qr > span { color: #9aa2ac; font-size: 10px; margin-top: 5px; }
.app-meta { grid-column: 1 / -1; display: flex; align-items: center; margin: 28px 0 0; border-top: 1px solid #eef1f4; min-height: 70px; }
.app-meta > div { display: flex; align-items: center; gap: 9px; padding: 0 32px; border-right: 1px solid #edf0f3; }
.app-meta > div:first-child { padding-left: 0; }
.app-meta > div:last-child { border-right: 0; }
.app-meta dt { color: #9aa2ac; font-size: 11px; }
.app-meta dd { color: #58626e; font-size: 11px; margin: 0; }
.security-notice { min-height: 52px; margin: 14px 0 20px; padding: 10px 20px; background: #f0faf5; border: 1px solid #dcf0e5; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; color: #6a8175; font-size: 11px; }
.security-notice > div { display: flex; align-items: center; gap: 20px; }
.security-notice div > svg { width: 20px; height: 20px; color: var(--green); }
.security-notice strong { color: #368360; font-weight: 500; margin-right: 3px; }
.security-notice div > span { display: flex; align-items: center; gap: 6px; }
.security-notice span i { width: 5px; height: 5px; border-radius: 50%; background: #65b98e; }
.security-notice > button { display: flex; align-items: center; gap: 4px; background: none; color: #638271; font-size: 11px; }
.security-notice > button:hover { color: var(--green); }
.security-notice button svg { width: 13px; height: 13px; }

/* Main content cards */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; padding-bottom: 40px; }
.main-column, .side-column { display: grid; gap: 18px; min-width: 0; }
.market-card { background: #fff; border: 1px solid #e9edf2; border-radius: 9px; padding: 25px 28px; box-shadow: 0 2px 6px rgba(28,43,66,.018); }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.card-heading h2 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -.2px; }
.card-heading > span { color: #9aa2ab; font-size: 10px; }
.card-heading > button { color: #8c96a2; background: none; padding: 0; font-size: 11px; }
.card-heading > button:hover { color: var(--blue); }
.screenshot-controls { display: flex; gap: 7px; }
.screenshot-controls button { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #e3e8ed; border-radius: 5px; background: #fff; color: #89939e; }
.screenshot-controls button:first-child svg { transform: rotate(180deg); }
.screenshot-controls button:hover { color: var(--blue); border-color: #bad5f7; }
.screenshot-controls svg { width: 13px; height: 13px; }
.screenshot-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.screenshot-track::-webkit-scrollbar { display: none; }
.app-shot { width: 181px; height: 365px; flex: 0 0 181px; scroll-snap-align: start; background: #f3f7ef; border: 5px solid #2d4036; border-radius: 25px; padding: 10px 10px 0; position: relative; overflow: hidden; text-align: left; box-shadow: 0 4px 12px rgba(37,52,43,.09); transition: transform .2s; }
.app-shot:hover { transform: translateY(-4px); }
.shot-status { display: flex; align-items: center; justify-content: space-between; font-size: 6px; font-weight: 600; padding: 0 3px; height: 13px; }
.shot-status i { display: block; width: 18px; height: 5px; border-radius: 3px; background: #354a3f; }
.shot-app-title { padding: 12px 2px 10px; }
.shot-app-title > span { display: block; font-size: 14px; font-weight: 700; color: #294d3b; }
.shot-app-title > small { display: block; font-size: 7px; color: #7d8d82; margin-top: 4px; }
.shot-focus { background: #e0ecd5; border-radius: 15px; padding: 12px 10px 10px; height: 240px; }
.shot-focus > small { font-size: 5px; letter-spacing: 1px; color: #788b70; }
.shot-timer { width: 125px; height: 125px; border: 2px solid #779b60; border-left-color: #cadbbb; border-radius: 50%; margin: 9px auto 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.shot-timer > span { font-size: 6px; background: rgba(255,255,255,.5); border-radius: 8px; padding: 3px 7px; color: #73866a; }
.shot-timer > strong { font-size: 25px; font-weight: 500; letter-spacing: -1px; margin: 5px 0; }
.shot-timer > small { font-size: 5px; color: #8b9884; }
.shot-focus > b { display: block; height: 27px; line-height: 27px; text-align: center; border-radius: 7px; background: #294d3b; color: #fff; font-size: 8px; font-weight: 500; }
.shot-caption { position: absolute; bottom: 9px; left: 0; right: 0; text-align: center; font-size: 9px; color: #62736a; }
.shot-sounds { background: #eff5f3; border-color: #354943; }
.shot-sound-art { height: 114px; border-radius: 15px; background: #dce9dd; position: relative; overflow: hidden; padding: 18px 12px; }
.shot-sound-art > i { position: absolute; width: 72px; height: 105px; border-radius: 50%; background: #aac4a4; right: -18px; top: -30px; transform: rotate(35deg); }
.shot-sound-art > i:nth-child(2) { background: #7d9f79; right: 23px; top: 55px; }
.shot-sound-art > i:nth-child(3) { background: #c6d7bd; right: -30px; top: 68px; }
.shot-sound-art > b, .shot-sound-art > small, .shot-sound-art > span { position: relative; z-index: 1; display: block; }
.shot-sound-art > b { font-size: 12px; font-weight: 500; margin-top: 9px; }
.shot-sound-art > small { font-size: 4px; letter-spacing: .6px; color: #7f927b; margin-top: 4px; }
.shot-sound-art > span { font-size: 10px; margin-top: 9px; color: #4f7951; }
.shot-mixer { background: #fff; border-radius: 13px; margin-top: 10px; padding: 7px 11px; }
.shot-mixer p { margin: 7px 0; }
.shot-mixer p > span { font-size: 6px; color: #62756b; display: block; margin-bottom: 4px; }
.shot-mixer p > i { display: block; background: #edf0ec; height: 3px; border-radius: 3px; }
.shot-mixer p > i > b { display: block; background: #83a67b; height: 100%; width: 70%; border-radius: 3px; }
.shot-mixer p:nth-child(2) > i > b { width: 46%; }
.shot-mixer p:nth-child(3) > i > b { width: 60%; }
.shot-sleep { background: #eaf0f0; border-color: #354547; }
.shot-night { height: 240px; background: #d9e5e3; border-radius: 15px; padding: 17px 13px; position: relative; overflow: hidden; }
.shot-moon { position: absolute; width: 75px; height: 75px; border-radius: 50%; background: #faf3d4; right: -4px; top: 18px; box-shadow: 0 0 28px rgba(255,246,202,.55); }
.shot-moon::after { content: ''; position: absolute; width: 68px; height: 68px; border-radius: 50%; background: #d9e5e3; left: -17px; top: -8px; }
.shot-star { position: absolute; right: 73px; top: 18px; color: #8ca5a0; font-style: normal; }
.shot-night > small, .shot-night > strong, .shot-night > span { display: block; position: relative; }
.shot-night > small { font-size: 6px; color: #81948f; margin-top: 76px; }
.shot-night > strong { font-size: 15px; line-height: 1.6; font-weight: 500; margin: 6px 0; color: #36534d; }
.shot-night > span { font-size: 6px; color: #82958f; }
.shot-night > b { position: absolute; right: 15px; bottom: 17px; width: 30px; height: 30px; border-radius: 50%; background: #3d6359; color: #fff; display: grid; place-items: center; font-size: 8px; padding-left: 2px; }
.shot-offline { background: #f5f3ed; border-color: #48443a; }
.shot-download-art { background: #fff; border-radius: 15px; padding: 22px 12px 12px; height: 240px; text-align: center; }
.shot-download-art > svg { width: 30px; height: 30px; margin: 0 auto 10px; color: #8d927c; background: #eef0e7; border-radius: 50%; padding: 7px; box-sizing: content-box; }
.shot-download-art > strong { display: block; font-size: 13px; font-weight: 500; }
.shot-download-art > small { display: block; font-size: 6px; color: #9b9d91; margin: 5px 0 20px; }
.shot-download-art > div { display: flex; justify-content: space-between; border-top: 1px solid #eef0e9; padding: 10px 0; font-size: 7px; }
.shot-download-art > div > b { color: #829573; font-weight: 400; }
.screenshot-hint { text-align: center; font-size: 10px; color: #adb3ba; margin-top: 14px; }
.introduction-content { position: relative; max-height: 113px; overflow: hidden; color: #68737f; font-size: 13px; line-height: 2; transition: max-height .35s; }
.introduction-content::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 37px; background: linear-gradient(transparent, #fff); }
.introduction-content.is-expanded { max-height: 600px; }
.introduction-content.is-expanded::after { display: none; }
.introduction-content p { margin: 0 0 10px; }
.introduction-content ul { padding-left: 18px; margin: 13px 0 0; }
.introduction-content li { padding-left: 3px; margin: 4px 0; }
.introduction-content strong { color: #424c57; font-weight: 500; }
.expand-button { display: flex; align-items: center; justify-content: center; gap: 4px; background: none; color: #8a95a0; font-size: 11px; margin: 14px auto -4px; padding: 4px 10px; }
.expand-button svg { width: 12px; height: 12px; transform: rotate(90deg); transition: transform .2s; }
.expand-button.is-expanded svg { transform: rotate(-90deg); }
.expand-button:hover { color: var(--blue); }
.changelog-section .card-heading { margin-bottom: 14px; }
.changelog-list { padding-left: 17px; margin: 0; color: #66717d; font-size: 12px; line-height: 2.2; }
.changelog-list li { padding-left: 3px; }
.history-button { background: none; padding: 0; color: var(--blue); font-size: 11px; margin-top: 14px; }
.permission-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.permission-tags span { background: #f4f6f8; border: 1px solid #edf0f2; color: #707b87; border-radius: 5px; padding: 6px 10px; font-size: 11px; }
.permission-section > p { color: #9aa2ab; font-size: 10px; line-height: 1.8; margin: 15px 0 0; }

/* Sidebar */
.side-column .market-card { padding: 22px; }
.detail-card .card-heading, .related-card .card-heading { margin-bottom: 16px; }
.detail-card .card-heading h2, .related-card .card-heading h2 { font-size: 16px; }
.detail-card dl { margin: 0; }
.detail-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; font-size: 11px; border-bottom: 1px dashed #eff1f4; }
.detail-card dl > div:last-child { border-bottom: 0; }
.detail-card dt { color: #98a0aa; flex: 0 0 auto; }
.detail-card dd { color: #5b6672; margin: 0; text-align: right; }
.report-link { display: block; background: none; color: #a3abb4; font-size: 10px; padding: 0; margin: 15px auto 0; }
.report-link:hover { color: var(--blue); }
.related-list { display: grid; gap: 3px; }
.related-app { display: flex; align-items: center; gap: 11px; background: none; padding: 11px 0; text-align: left; border-bottom: 1px solid #f0f2f4; }
.related-app:last-child { border-bottom: 0; padding-bottom: 0; }
.related-icon { width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; font-size: 23px; font-style: normal; }
.related-note { background: #66a6d9; }
.related-rest { background: #7e83b9; }
.related-forest { background: #6eaf7e; }
.related-list { background: #6f9fd0; }
.related-app > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.related-app strong { font-size: 12px; font-weight: 500; }
.related-app small { font-size: 9px; color: #a0a7b0; }
.related-app b { font-size: 8px; color: #eaa036; font-weight: 400; }
.related-app b i { color: #c3c8cd; font-style: normal; margin: 0 3px; }
.related-app em { margin-left: auto; flex: 0 0 auto; color: var(--blue); background: var(--blue-soft); border-radius: 5px; padding: 5px 7px; font-size: 9px; font-style: normal; }
.related-app:hover strong { color: var(--blue); }
.related-app:hover em { background: var(--blue); color: #fff; }
.market-promise { text-align: center; background: #f7fbff; border-color: #e4edf7; }
.market-promise > svg { width: 34px; height: 34px; color: #6a9bd1; margin: 0 auto 11px; }
.market-promise h2 { font-size: 14px; font-weight: 500; margin: 0 0 8px; color: #57728f; }
.market-promise p { color: #91a0af; font-size: 10px; line-height: 1.9; margin: 0; }
.market-promise button { background: none; color: #7196bd; font-size: 10px; padding: 0; margin-top: 12px; }

/* Footer and mobile download */
.market-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 130px; display: flex; align-items: center; gap: 35px; }
.footer-inner > div:first-child > p { font-size: 10px; color: #a4abb4; margin: 8px 0 0; }
.footer-inner .market-brand > strong { font-size: 18px; }
.footer-links { display: flex; gap: 25px; margin-left: auto; }
.footer-links a, .footer-links button { background: none; padding: 0; font-size: 11px; color: #818b96; }
.footer-links a:hover, .footer-links button:hover { color: var(--blue); }
.footer-inner > small { color: #adb3ba; font-size: 10px; }
.mobile-download-bar { display: none; }

/* Dialogs */
.app-dialog { width: min(410px, calc(100% - 30px)); border: 0; border-radius: 15px; padding: 35px 34px 28px; color: var(--ink); background: #fff; box-shadow: 0 25px 80px rgba(18,35,57,.25); text-align: center; overflow: visible; }
.app-dialog::backdrop { background: rgba(22,33,48,.55); backdrop-filter: blur(4px); }
.app-dialog[open] { animation: dialog-in .22s ease-out; }
.dialog-close { position: absolute; right: 12px; top: 11px; width: 30px; height: 30px; border-radius: 50%; background: #f2f4f6; color: #7c8792; display: grid; place-items: center; font-size: 22px; font-weight: 300; line-height: 1; z-index: 3; }
.dialog-close:hover { background: #e8edf2; }
.dialog-app-icon { margin: 0 auto 17px; width: 57px; height: 57px; }
.dialog-eyebrow { color: var(--blue); font-size: 10px; letter-spacing: .5px; }
.app-dialog h2 { font-size: 22px; font-weight: 600; margin: 8px 0 10px; }
.app-dialog > p { color: #828d98; font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.dialog-qr-shell { width: 157px; height: 157px; padding: 9px; border: 1px solid #e0e6ed; border-radius: 10px; margin: 0 auto; }
.dialog-version { color: #99a2ac; font-size: 10px; margin-top: 11px; }
.dialog-download-button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 13px; margin-top: 20px; }
.dialog-download-button:hover { background: var(--blue-dark); }
.dialog-download-button svg { width: 17px; height: 17px; }
.dialog-download-button.is-disabled { background: #e7ebf0; color: #939ca6; cursor: default; }
.dialog-tip { display: block; color: #a1a9b2; font-size: 9px; margin-top: 10px; }
.info-dialog { text-align: left; max-height: min(650px, calc(100vh - 50px)); overflow-y: auto; }
.info-dialog h2 { margin-bottom: 20px; }
#info-content { color: #6f7a86; font-size: 12px; line-height: 1.9; }
#info-content p { margin: 0 0 14px; }
#info-content ol, #info-content ul { padding-left: 18px; margin: 0; }
#info-content li { margin-bottom: 9px; }
#info-content strong { color: #37414c; font-weight: 600; }
#info-content .history-item { padding: 14px 0; border-top: 1px solid #edf0f3; }
#info-content .history-item:first-child { border-top: 0; padding-top: 0; }
#info-content .history-item > span { color: var(--blue); font-size: 10px; }
#info-content .history-item h3 { font-size: 13px; margin: 4px 0; }
#info-content .history-item p { font-size: 11px; margin: 0; }
#info-content .rating-summary { display: flex; align-items: center; gap: 15px; background: #f7f9fb; border-radius: 8px; padding: 16px; margin-bottom: 15px; }
#info-content .rating-summary strong { font-size: 32px; color: #e99a2b; }
#info-content .rating-summary span { color: #f2aa3e; }
#info-content .report-form { display: grid; gap: 10px; }
#info-content .report-form textarea { width: 100%; height: 90px; resize: vertical; border: 1px solid #dfe5eb; border-radius: 7px; padding: 10px; font: inherit; outline-color: var(--blue); }
#info-content .report-form button { height: 38px; border-radius: 6px; background: var(--blue); color: #fff; }
.info-confirm { width: 100%; height: 41px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 12px; margin-top: 22px; }
.preview-dialog { width: 270px; padding: 30px 25px 20px; background: #eef2f5; }
#preview-content > .app-shot { width: 210px; height: 420px; margin: 0 auto; pointer-events: none; }
#preview-content .shot-focus, #preview-content .shot-night, #preview-content .shot-download-art { height: 280px; }
#preview-content .shot-timer { margin-top: 24px; }
#preview-content .shot-night > small { margin-top: 105px; }
.preview-navigation { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; color: #89939e; font-size: 10px; }
.preview-navigation button { background: #fff; border-radius: 5px; padding: 6px 10px; color: #677482; font-size: 10px; }
.preview-navigation button:hover { color: var(--blue); }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; transform: translate(-50%, 15px); background: rgba(30,38,48,.94); color: #fff; border-radius: 7px; padding: 11px 19px; font-size: 12px; opacity: 0; visibility: hidden; transition: .2s; box-shadow: 0 5px 20px rgba(20,30,40,.16); max-width: calc(100% - 30px); text-align: center; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1080px) {
  .header-inner { gap: 24px; }
  .market-brand > span:last-child:not(.market-logo), .developer-link { display: none; }
  .market-search { width: 230px; }
  .app-meta > div { padding-inline: 20px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 900px) {
  .market-nav { gap: 20px; }
  .market-search { width: 200px; }
  .app-overview { grid-template-columns: 1fr 110px; padding-inline: 24px; column-gap: 20px; }
  .app-icon-large { width: 96px; height: 96px; border-radius: 22px; }
  .app-main { gap: 18px; }
  .app-title-line h1 { font-size: 22px; }
  .app-meta { flex-wrap: wrap; padding: 17px 0; gap: 13px 0; }
  .app-meta > div { padding-inline: 18px; }
  .app-meta > div:first-child { padding-left: 0; }
  .app-meta > div:nth-child(4) { border-right: 0; }
  .content-layout { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: 1fr 1fr; align-items: start; }
  .market-promise { display: none; }
  .footer-inner > small { display: none; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 68px; }
  .page-container, .header-inner, .footer-inner { width: calc(100% - 24px); }
  .market-header { height: 56px; }
  .header-inner { gap: 12px; }
  .market-brand > strong { font-size: 18px; }
  .market-logo { grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 2px; padding: 5px; border-radius: 7px; }
  .market-nav, .developer-link { display: none; }
  .market-search { margin-left: auto; width: min(210px, 52vw); height: 33px; }
  .market-search button { display: none; }
  .breadcrumb { height: 42px; font-size: 10px; }
  .app-overview { display: block; padding: 20px 17px 0; border-radius: 8px; }
  .app-main { gap: 14px; }
  .app-icon-large { width: 78px; height: 78px; border-radius: 18px; }
  .app-title-line { gap: 6px; align-items: start; }
  .app-title-line h1 { font-size: 18px; line-height: 1.45; }
  .official-badge { margin-top: 2px; font-size: 8px; line-height: 14px; }
  .developer-name { font-size: 10px; margin-top: 4px; }
  .developer-name span { display: none; }
  .app-tags { margin-top: 8px; gap: 5px; }
  .app-tags span { font-size: 8px; padding: 2px 5px; }
  .rating-line { margin-top: 11px; gap: 6px; font-size: 9px; flex-wrap: wrap; }
  .rating-line > strong { font-size: 15px; }
  .stars { font-size: 10px; }
  .rating-line button { font-size: 9px; }
  .overview-actions { flex-wrap: wrap; gap: 8px; margin-top: 19px; }
  .primary-download { width: calc(100% - 94px); min-width: 190px; height: 50px; grid-template-rows: 21px 13px; }
  .primary-download > span { font-size: 14px; line-height: 21px; }
  .ios-download { height: 38px; padding-inline: 12px; font-size: 10px; }
  .icon-action { width: 38px; height: 38px; }
  .overview-qr { display: none; }
  .app-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 20px; padding: 11px 0; }
  .app-meta > div { padding: 8px 0; border: 0; gap: 7px; }
  .app-meta dt, .app-meta dd { font-size: 9px; }
  .security-notice { padding: 10px 13px; margin: 10px 0 14px; }
  .security-notice > div { gap: 7px; }
  .security-notice strong { font-size: 10px; }
  .security-notice div > span { display: none; }
  .security-notice > button { font-size: 9px; }
  .content-layout { gap: 14px; padding-bottom: 20px; }
  .main-column, .side-column { gap: 14px; }
  .market-card { padding: 20px 16px; border-radius: 8px; }
  .card-heading { margin-bottom: 17px; }
  .card-heading h2 { font-size: 16px; }
  .screenshot-track { gap: 12px; }
  .app-shot { width: 174px; flex-basis: 174px; }
  .introduction-content { font-size: 12px; line-height: 1.9; }
  .side-column { grid-template-columns: 1fr; }
  .related-card { order: -1; }
  .footer-inner { min-height: 155px; flex-direction: column; justify-content: center; gap: 20px; text-align: center; }
  .footer-inner > div:first-child { display: none; }
  .footer-links { margin: 0; gap: 20px; flex-wrap: wrap; justify-content: center; }
  .footer-inner > small { display: block; }
  .mobile-download-bar { position: fixed; z-index: 25; bottom: 0; left: 0; right: 0; height: 66px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid #e1e6eb; display: flex; align-items: center; padding: 9px 14px; gap: 10px; box-shadow: 0 -3px 14px rgba(30,45,65,.06); }
  .mobile-download-bar > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
  .mobile-download-bar strong { font-size: 13px; }
  .mobile-download-bar small { color: #929ba5; font-size: 9px; }
  .mobile-download-bar > button { margin-left: auto; background: var(--blue); color: #fff; border-radius: 6px; padding: 10px 22px; font-size: 13px; }
  .toast { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
