/* Shared content primitives. Theme rules below define the seven page compositions. */
.ref-page {
    --bg: #0b0c11; --ink: #edf0f9; --muted: #a6adbb; --surface: #14161e;
    --stroke: #292d39; --accent: #9968f7; --accent2: #2287ef; --accent-ink: #b1abff;
    --top: #0d0e14; --radius: 16px; --wrap: 1120px;
    margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65;
    font-family: system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
    overflow-wrap: anywhere;
}
.ref-page *, .ref-page *::before, .ref-page *::after { box-sizing: border-box; }
.ref-page :where(h1,h2,h3,p,figure) { margin: 0; }
.ref-page :where(a) { color: inherit; text-decoration: none; }
.ref-page :where(img) { display: block; max-width: 100%; }
.ref-page :where([id]) { scroll-margin-top: 88px; }
.ref-page :focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.ref-frame, .ref-page .container { width: min(calc(100% - 2 * clamp(20px, 3.5vw, 46px)), var(--wrap)); margin-inline: auto; }
.ref-skip { position: fixed; z-index: 50; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--surface); transform: translateY(-160%); }
.ref-skip:focus { transform: none; }
.ref-preview { padding: 6px 14px; text-align: center; background: var(--surface); color: var(--muted); font-size: .75rem; }
.ref-header { position: sticky; top: 0; z-index: 8; background: var(--top); border-bottom: 1px solid var(--stroke); }
.ref-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 22px; }
.ref-brand { color: var(--ink); font-size: 1.05rem; font-weight: 850; max-width: 245px; }
.ref-brand span { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.ref-nav { display: flex; gap: clamp(9px, 1.55vw, 24px); align-items: center; font-size: .89rem; font-weight: 650; color: var(--muted); }
.ref-nav a:hover, .ref-menu a:hover, .ref-footer a:hover { color: var(--accent-ink); }
.ref-menu { display: none; position: relative; }
.ref-menu summary, .ref-device summary, .ref-page .faq-list summary { cursor: pointer; list-style: none; }
.ref-menu summary::-webkit-details-marker, .ref-device summary::-webkit-details-marker, .ref-page .faq-list summary::-webkit-details-marker { display: none; }
.ref-menu > summary { padding: 6px 11px; border: 1px solid var(--stroke); border-radius: 9px; font-size: .88rem; }
.ref-menu nav { position: absolute; display: grid; right: 0; top: calc(100% + 8px); min-width: 154px; padding: 7px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 11px; box-shadow: 0 12px 38px #0003; }
.ref-menu nav a { padding: 7px 11px; }
.ref-page .page-status-label-wrap { display: flex; justify-content: center; text-align: center; padding: 12px 16px 0; }
.ref-page .page-status-label { max-width: 100%; border: 1px solid var(--stroke); border-radius: 99px; padding: 5px 15px; background: var(--surface); color: var(--accent-ink); font-size: .79rem; font-weight: 750; }
.ref-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "intro visual" "actions visual"; column-gap: clamp(24px,5vw,70px); align-items: center; padding-block: clamp(42px, 6vw, 87px); }
.ref-intro { grid-area: intro; align-self: end; min-width: 0; }
.ref-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; min-width: 0; }
.ref-kicker { display: inline-flex; padding: 5px 15px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 99px; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent-ink); font-size: .79rem; font-weight: 800; letter-spacing: .06em; }
.ref-headline { margin: 15px 0 12px; font-size: clamp(2.35rem, 4.4vw, 3.72rem); font-weight: 900; line-height: 1.14; letter-spacing: -.035em; }
.ref-headline h1 { display: inline; margin: 0; font: inherit; }
.ref-lead { margin-right: .16em; color: var(--accent-ink); font: inherit; }
.ref-tagline { margin-top: 12px; color: var(--accent-ink); font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 800; }
.ref-description { margin-top: 17px; max-width: 68ch; color: var(--muted); line-height: 1.75; }
.ref-hero-media, .ref-console { grid-area: visual; min-width: 0; }
.ref-hero-media img { width: 100%; height: auto; aspect-ratio: 2.22; object-fit: cover; border-radius: var(--radius); }
.ref-page .download-button, .ref-text-action { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 24px; border: 1px solid transparent; border-radius: var(--button-radius, 11px); background: linear-gradient(120deg,var(--accent2),var(--accent)); color: white; text-align: center; font: inherit; font-weight: 800; box-shadow: 0 9px 27px color-mix(in srgb,var(--accent) 24%,transparent); }
.ref-page .download-button.compact { min-height: 36px; padding: 5px 13px; font-size: .85rem; }
.ref-page .use-now-button { background: linear-gradient(120deg,#f64866,#bd1642); }
.ref-page .download-button:disabled { cursor: default; opacity: .74; }
.ref-page .download-button[href]:hover, .ref-text-action:hover { filter: brightness(1.11); }
.ref-text-action { border-color: var(--stroke); background: var(--surface); color: var(--ink); box-shadow: none; }
.ref-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; grid-area: platforms; color: var(--muted); font-size: .85rem; }
.ref-pills a, .ref-pills span { padding: 6px 12px; }
.ref-pills a { border-radius: 99px; background: var(--surface); border: 1px solid var(--stroke); }
.ref-overview { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; text-align: center; }
.ref-overview a { display: grid; align-content: center; min-width: 0; min-height: 91px; padding: 8px; }
.ref-overview strong { font-size: clamp(1.25rem, 2.8vw, 2.15rem); letter-spacing: -.02em; line-height: 1.25; }
.ref-overview span { margin-top: 5px; color: var(--muted); font-size: .86rem; }
.ref-section, .ref-page .section-block { padding-block: clamp(34px, 5.4vw, 74px); }
.ref-page .section-heading { text-align: center; margin-bottom: 30px; }
.ref-page .eyebrow { display: inline-block; margin-bottom: 7px; color: var(--accent-ink); font-size: .76rem; font-weight: 800; letter-spacing: .13em; }
.ref-page .section-heading h2 { color: var(--ink); font-size: clamp(1.65rem, 3.15vw, 2.65rem); line-height: 1.22; letter-spacing: -.025em; }
.ref-page .section-heading p { margin-top: 10px; color: var(--muted); }
.ref-feature-grid, .ref-page .gallery-grid { display: grid; gap: 17px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.ref-feature, .ref-page .gallery-grid figure, .ref-reading, .ref-device, .ref-page .guide-list li, .ref-page .faq-list details { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); }
.ref-feature { min-width: 0; overflow: hidden; }
.ref-feature-copy { padding: clamp(15px, 2.1vw, 25px); }
.ref-feature img, .ref-page .gallery-grid img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.ref-index { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 11px; color: #fff; background: linear-gradient(135deg,var(--accent2),var(--accent)); font-size: .9rem; font-weight: 800; }
.ref-feature h3, .ref-reading h3, .ref-page .guide-list h3, .ref-page .faq-list h3 { font-size: 1.16rem; line-height: 1.35; }
.ref-feature p, .ref-reading p, .ref-page .guide-list p { margin-top: 8px; color: var(--muted); }
.ref-more { display: inline-block; margin-top: 13px; color: var(--accent-ink); font-weight: 750; }
.ref-page .gallery-grid figure { min-width: 0; overflow: hidden; }
.ref-page .gallery-grid figcaption { display: flex; gap: 8px; justify-content: space-between; color: var(--muted); padding: 12px; font-size: .88rem; }
.ref-page .gallery-grid figcaption b { color: var(--accent-ink); }
.ref-device-section { padding-block: clamp(32px, 5vw, 65px); background: var(--device-bg,transparent); }
.ref-devices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 14px; }
.ref-device summary { padding: 15px; text-align: center; font-weight: 800; }
.ref-device[open] summary { color: var(--accent-ink); border-bottom: 1px solid var(--stroke); }
.ref-device-body { display: grid; justify-items: start; gap: 14px; padding: 14px; color: var(--muted); }
.ref-reading { display: grid; gap: 24px; padding: clamp(19px,4vw,46px); }
.ref-reading section + section { padding-top: 24px; border-top: 1px solid var(--stroke); }
.ref-article-feed > * { margin-inline: auto; width: 100%; }
.ref-page .guide-list, .ref-related { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ref-page .guide-list li { display: flex; align-items: flex-start; gap: 15px; padding: 16px; }
.ref-page .guide-number { flex: none; color: var(--accent-ink); font-weight: 800; font-size: 1.15rem; }
.ref-page .faq-list { display: grid; gap: 12px; }
.ref-page .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; }
.ref-page .faq-list details > div { margin: 0 15px; padding: 12px 0 15px; border-top: 1px solid var(--stroke); color: var(--muted); }
.ref-related { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ref-related a { display: block; padding: 10px 13px; border: 1px solid var(--stroke); border-radius: 9px; }
.ref-related a:hover { background: var(--surface); color: var(--accent-ink); }
.ref-page .pending-panel { padding: clamp(20px, 5vw, 48px); background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); }
.ref-page .pending-panel p { margin-top: 8px; color: var(--muted); }
.ref-page .friend-links { margin-block: 30px 24px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.ref-page .friend-links h2 { margin-bottom: 10px; color: var(--muted); font-size: .95rem; }
.ref-page .friend-links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.ref-page .friend-links a:hover { color: var(--accent-ink); text-decoration: underline; }
.ref-footer { border-top: 1px solid var(--stroke); background: var(--top); color: var(--muted); padding-block: 22px; }
.ref-footer-row { display: flex; justify-content: space-between; gap: 15px; }
.ref-page.has-floating-download { padding-bottom: 76px; }

/* Dark cinema download page. Separate real gallery images for the two screens. */
.ref-cinema {
    --bg:#101012; --surface:#1b1b1e; --stroke:#303034; --muted:#b2afb4;
    --accent:#d31a24; --accent2:#ff535b; --accent-ink:#ff7b83; --top:#151317; --wrap:1200px;
    background: radial-gradient(ellipse at 80% 4%, #481e26 0, transparent 23rem),var(--bg);
}
.ref-cinema .ref-nav { display: none; }
.ref-cinema .ref-header { background: #101012f2; }
.ref-cinema .ref-header .download-button { border-radius: 22px; }
.ref-cinema .ref-hero-grid { grid-template-areas: "intro visual" "actions visual" "platforms platforms"; padding-block: 48px 33px; }
.ref-cinema .ref-kicker { color: #86dec0; background:#1742336b; border-color:#2a5e49; }
.ref-cinema .ref-hero-media { position:relative; min-height: 335px; display: grid; align-items: center; isolation:isolate; padding-right: 12%; }
.ref-cinema .ref-hero-media::before { position:absolute; inset: 4% 15%; z-index:-1; content:""; border-radius:50%; background:linear-gradient(150deg,#ff263b,#ff647a); }
.ref-cinema .ref-hero-media img { aspect-ratio:1.65; border-radius: 14px; border:7px solid #19191d; box-shadow:0 24px 30px #0009; transform:perspective(600px) rotateY(-9deg) rotateZ(6deg); }
.ref-cinema .ref-hero-media .ref-second-screen { position:absolute; width:28%; right:3%; top:8%; aspect-ratio:.59; border-width:5px; transform: rotate(-13deg); }
.ref-cinema .gallery-section .section-heading { text-align: left; }
.ref-cinema .gallery-grid { grid-auto-flow: column; grid-auto-columns: minmax(160px,1fr); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; }
.ref-cinema .gallery-grid figure { scroll-snap-align:start; }
.ref-cinema .gallery-grid img { aspect-ratio:.82; }

/* Centered blue-violet launch page. No first-screen bitmap. */
.ref-pulse {
    --bg:#080a10; --surface:#14161e; --stroke:#242735; --accent:#8354f5; --accent2:#087aa0;
    --accent-ink:#83a3ff; --muted:#a6adbf; --top:#0a0b12;
    background: radial-gradient(ellipse at 77% 600px,#211332 0,transparent 32rem), repeating-linear-gradient(0deg,#1b253640 0 1px,transparent 1px 48px), repeating-linear-gradient(90deg,#1b253640 0 1px,transparent 1px 48px),var(--bg);
}
.ref-pulse .ref-hero-grid, .ref-prismatic .ref-hero-grid, .ref-constella .ref-hero-grid { max-width: 820px; grid-template-columns: minmax(0,1fr); grid-template-areas:"intro" "actions" "visual"; text-align:center; }
.ref-pulse .ref-hero-grid { padding-block: clamp(53px,6vw,88px) 32px; }
.ref-pulse .ref-headline { font-size:clamp(2.2rem,5.4vw,4.22rem); margin-block:30px 22px; }
.ref-pulse .ref-description, .ref-prismatic .ref-description, .ref-constella .ref-description { margin-inline:auto; }
.ref-pulse .ref-actions, .ref-prismatic .ref-actions, .ref-constella .ref-actions { justify-content:center; }
.ref-pulse .ref-overview { max-width: 370px; padding-bottom: 39px; }
.ref-pulse .ref-hero h1, .ref-pulse .section-heading h2 { color:var(--accent-ink); background:linear-gradient(115deg,#20bdf2,#a184ff); background-clip:text; -webkit-text-fill-color:transparent; }

/* Soft pink-blue glass landing page. */
.ref-prismatic {
    --bg:#f1e8fc; --ink:#242b46; --muted:#515a73; --surface:#ffffff88; --stroke:#ffffffab;
    --accent:#a13fb8; --accent2:#b92b77; --accent-ink:#8f357e; --radius:22px; --top:#f9f4fc;
    --button-radius:28px; --wrap:1070px;
    background:linear-gradient(127deg,#f8dfef,#ebe5ff 31%,#deeff9 66%,#fae4ee) fixed;
}
.ref-prismatic .ref-hero-grid { grid-template-areas:"intro" "visual" "actions"; padding-block:21px 28px; }
.ref-prismatic .ref-headline { font-size:clamp(1.9rem,3.5vw,2.8rem); }
.ref-prismatic .ref-headline { color:#734bb7; }
.ref-prismatic .ref-lead { display:block; color: #843bb0; }
.ref-prismatic .ref-hero-media { margin-top:22px; }
.ref-prismatic .ref-hero-media img { aspect-ratio:2.26; }
.ref-prismatic .ref-overview a, .ref-prismatic .ref-feature { background:var(--surface); border:1px solid var(--stroke); border-radius:24px; box-shadow:0 17px 28px #6c65a512; }
.ref-prismatic .ref-overview strong { color:var(--accent-ink); }
.ref-prismatic .ref-feature-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }

/* Red-light control panel, styled as actual content and without animation. */
.ref-inferno {
    --bg:#100909; --surface:#1a1112; --stroke:#432023; --accent:#e70424; --accent2:#ba1c15;
    --accent-ink:#ff8c72; --muted:#c2b3b5; --top:#130b0d; --wrap:1192px;
    background:radial-gradient(ellipse at 54% 90px,#391116,transparent 750px),repeating-linear-gradient(0deg,#4219152a 0 1px,transparent 1px 4px),var(--bg);
}
.ref-inferno .ref-hero-grid { padding-block:64px 42px; }
.ref-inferno .ref-tagline { font-size:clamp(1.18rem,2.35vw,1.75rem); color:#ff7156; }
.ref-console { padding:clamp(12px,1.8vw,22px); border:1px solid var(--stroke); border-radius:18px; background:linear-gradient(145deg,#211417,#160e10); box-shadow:0 22px 49px #0005; }
.ref-console-bar { display:flex; align-items:center; gap:9px; padding-bottom:12px; color:var(--muted); font-size:.82rem; }
.ref-console-bar a { margin-left:auto; color:var(--accent-ink); }
.ref-console-lights { width:8px; height:8px; border-radius:50%; background:#fa3456; box-shadow:11px 0 #f89f42,22px 0 #fa7846; margin-right:22px; }
.ref-console-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.ref-console-item { padding:11px 12px; display:grid; gap:4px; border:1px solid var(--stroke); background:#261519; border-radius:11px; }
.ref-console-item small { color:var(--muted); }
.ref-console-item strong { font-size:1.04rem; }
.ref-console-item::after { content:""; height:3px; width:100%; margin-top:3px; border-radius:5px; background:linear-gradient(90deg,#f3652e,#e92342); }
.ref-console-item:nth-child(3n+2)::after { width:78%; }
.ref-console > p { padding:8px 10px; background:#261519; margin-top:10px; border-radius:7px; font-size:.8rem; color:var(--muted); }
.ref-inferno .ref-overview { border-block:1px solid var(--stroke); }

/* Two pink catalog treatments keep their reference-specific density and accents. */
.ref-blossom, .ref-sherbet {
    --bg:#fffafb; --ink:#33243b; --muted:#645466; --surface:#fff; --stroke:#efdce8; --top:#fffafc;
    --accent:#ac32b6; --accent2:#c52d77; --accent-ink:#a62d85; --radius:18px; --button-radius:30px;
    --wrap:1218px; --device-bg:#fff0f5;
}
.ref-blossom .ref-header-row { min-height:48px; }
.ref-blossom .ref-brand, .ref-sherbet .ref-brand, .ref-constella .ref-brand { color:var(--accent-ink); }
.ref-blossom .ref-hero-grid, .ref-sherbet .ref-hero-grid { padding-block:38px 42px; }
.ref-blossom .ref-headline, .ref-sherbet .ref-headline { font-size:clamp(1.76rem,3.4vw,2.75rem); }
.ref-blossom .ref-hero { background: radial-gradient(circle at 88% 22%,#ffe6f7 0,transparent 32%),radial-gradient(circle at 46% 90%,#fff1e2,transparent 28%); }
.ref-blossom .ref-hero-media img { box-shadow:0 14px 38px #ee65b230; }
.ref-blossom .use-now-button { background:linear-gradient(120deg,#ec9624,#c33830); }
.ref-blossom .ref-overview { padding-block: 29px; }
.ref-blossom .ref-overview strong { color:var(--accent-ink); }
.ref-blossom .ref-feature-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ref-sherbet { --bg:#fff; --ink:#20283b; --muted:#5d6675; --stroke:#edebf2; --accent:#dc4982; --accent2:#c82e6a; --accent-ink:#ab285f; --top:#fff; --wrap:1180px; --device-bg:#fcfaff; }
.ref-sherbet .ref-hero { background:linear-gradient(120deg,#f3f5fa,#fdfdfd); }
.ref-sherbet .ref-hero-media img { border-radius:15px; }
.ref-sherbet .ref-feature { box-shadow:0 9px 24px #414c7210; }
.ref-sherbet .ref-kicker, .ref-blossom .ref-kicker { background:#fce9f3; }
.ref-sherbet .ref-index { border-radius:100%; }
.ref-blossom .ref-device, .ref-sherbet .ref-device { border-radius:22px; }

/* Light blue navigation pucks, compact center hero and narrow showcase. */
.ref-constella {
    --bg:#f4f6fc; --ink:#141c2f; --muted:#4c5c77; --surface:#fff; --stroke:#e4e8f3;
    --accent:#633ced; --accent2:#2362dd; --accent-ink:#4b35c6; --top:#fcfdff;
    --button-radius:40px; --wrap:1200px;
    background:radial-gradient(ellipse at 50% 4%,#eaf0ff,transparent 40rem),var(--bg);
}
.ref-constella .ref-hero { background: radial-gradient(circle, #526fc62d 1px, transparent 1.6px) 0 0 / 57px 63px, radial-gradient(circle, #8398dd36 1px, transparent 1.7px) 19px 29px / 97px 71px; }
.ref-constella .ref-hero-grid { padding-block:25px 34px; }
.ref-constella .ref-headline { max-width: 15em; margin-inline: auto; font-size:clamp(2rem,4.1vw,3.3rem); }
.ref-constella .ref-hero-media { width:min(100%,520px); margin:17px auto 0; }
.ref-constella .ref-hero-media img { aspect-ratio:1.5; box-shadow:0 14px 37px #31488326; }
.ref-constella .ref-nav a:first-child { background:linear-gradient(110deg,var(--accent2),var(--accent)); color:white; border-radius:22px; padding:7px 13px; }
.ref-constella .ref-feature-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }

@media (max-width: 900px) {
    .ref-header-row { min-height:58px; gap:12px; }
    .ref-header-action { margin-left:auto; }
    .ref-nav { display:none; }
    .ref-menu { display:block; }
    .ref-cinema .ref-menu { display:none; }
    .ref-prismatic .ref-feature-grid, .ref-blossom .ref-feature-grid, .ref-constella .ref-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .ref-frame, .ref-page .container { width:calc(100% - 32px); }
    .ref-header-row { min-height:53px; }
    .ref-header-action { display:none; }
    .ref-cinema .ref-header-action { display:block; }
    .ref-brand { font-size:.95rem; max-width: min(65vw,245px); }
    .ref-hero-grid, .ref-cinema .ref-hero-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "actions" "visual" "platforms"; gap:0; padding-block:26px 31px; }
    .ref-headline { font-size:clamp(1.95rem,8vw,2.5rem); }
    .ref-hero-media, .ref-console { margin-top:24px; }
    .ref-actions { margin-top:20px; gap:8px; }
    .ref-page .download-button, .ref-text-action { min-height:46px; padding-inline:16px; font-size:.92rem; }
    .ref-page .download-button.compact { min-height:33px; padding-inline:10px; }
    .ref-description { font-size:.93rem; }
    .ref-cinema .ref-hero-media { min-height:242px; }
    .ref-cinema .ref-pills { margin-top:20px; }
    .ref-pulse .ref-hero-grid { padding-block:41px 14px; }
    .ref-pulse .ref-overview { padding-bottom:20px; }
    .ref-prismatic .ref-hero-grid { grid-template-areas:"intro" "visual" "actions"; padding-top:22px; }
    .ref-prismatic .ref-headline { font-size:clamp(1.64rem,7vw,2.2rem); }
    .ref-inferno .ref-intro, .ref-sherbet .ref-intro { text-align:center; }
    .ref-inferno .ref-actions, .ref-constella .ref-actions { display:grid; grid-template-columns:minmax(0,1fr); }
    .ref-sherbet .ref-actions { justify-content:center; }
    .ref-constella .ref-hero-media { margin-top:16px; }
    .ref-overview { grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    .ref-pulse .ref-overview { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .ref-overview a { min-height:65px; }
    .ref-feature-grid, .ref-page .gallery-grid, .ref-devices, .ref-related { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .ref-cinema .gallery-grid { grid-template-columns:none; grid-auto-columns:minmax(130px,42%); }
    .ref-devices { grid-template-columns:minmax(0,1fr); }
    .ref-index { width:36px; height:36px; }
    .ref-page .section-heading { margin-bottom:20px; }
}
@media (max-width: 410px) {
    .ref-page .gallery-grid figcaption { padding:8px; font-size:.78rem; }
    .ref-feature h3 { font-size:1rem; }
    .ref-feature p { font-size:.9rem; }
}
