/* Six captured reference compositions; all copy and media come from local page data. */
.collection-page{--radius:12px;--shadow:none;--button:var(--accent);font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.7}
.theme-nova{--background:#0a0a12;--ink:#f4f2fa;--muted:#aaa5bd;--accent:#c66af2;--button:#923de0;--surface:#12121f;--line:#ffffff12;--tint:#10101b;background:#0a0a12}
.theme-cyan{--background:#f7f7f7;--ink:#333;--muted:#656d76;--accent:#008aa8;--button:#007fb1;--surface:#fff;--line:#dde9ec;--tint:#eefaff;background:#f7f7f7}
.theme-prism{--background:#0a0c10;--ink:#e8eaed;--muted:#a4a9b2;--accent:#ffb45e;--button:#ffae50;--surface:#191c22;--line:#ffffff13;--tint:#11151c;background:radial-gradient(at 90% 50%,#10252b55,transparent 50%),#0a0c10}
.theme-pocket{--background:#f6edff;--ink:#1e1b2e;--muted:#6d647d;--accent:#853bdd;--button:#8a36dd;--surface:#fff;--line:#e7def3;--tint:#f2e9ff;background:linear-gradient(160deg,#ede9fe,#faf5ff 40%,#fce7f3);background-attachment:fixed}
.theme-bastion{--background:#070a0c;--ink:#eef2f5;--muted:#a0adb2;--accent:#00d4b5;--button:#00c9ae;--surface:#141a1e;--line:#223037;--tint:#101316;background:linear-gradient(160deg,#070809,#0d1218,#101820)}
.theme-cobalt{--background:#060d1a;--ink:#e8eef8;--muted:#a5b4cd;--accent:#6ca8ff;--button:#ed203b;--surface:#101d33;--line:#1c2d48;--tint:#0f1c33;background:radial-gradient(ellipse at 15% 10%,#16315566,transparent 40%),radial-gradient(ellipse at 90% 70%,#32112b44,transparent 45%),#060d1a}
.collection-page .container{width:min(1160px,calc(100% - 48px));margin-inline:auto;min-width:0}.collection-page h1,.collection-page h2,.collection-page h3{overflow-wrap:anywhere}.collection-header{border-bottom:1px solid var(--line);background:var(--background);position:sticky;top:0;z-index:100;backdrop-filter:blur(15px)}.collection-header-inner{min-height:72px;display:flex;align-items:center;gap:22px}.collection-brand{font-weight:800;line-height:1.3;color:var(--accent);font-size:16px;max-width:270px;overflow-wrap:anywhere}.collection-brand small{display:block;font-size:9px;letter-spacing:1.6px;font-weight:500;margin-top:4px}.collection-nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-left:auto;font-size:12px;color:var(--muted)}.collection-nav a{white-space:nowrap}.header-download{flex-shrink:0}.collection-page .download-button{background:var(--button);border-radius:8px}.collection-page .outline-button{border-color:var(--line);border-radius:8px}.collection-page .download-button.compact{font-size:12px;padding:10px 16px;min-height:38px}.collection-menu{display:none}.collection-hero{position:relative}.collection-hero-inner{padding-block:75px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;min-height:535px}.collection-hero-copy{min-width:0;position:relative;z-index:1}.collection-kicker{font-size:11px;letter-spacing:1.5px;color:var(--accent);display:inline-block;margin-bottom:20px}.collection-hero h1{font-size:44px;line-height:1.22;letter-spacing:-1px;font-weight:850;text-wrap:balance}.collection-description{font-size:15px;color:var(--muted);line-height:1.9;margin-top:22px;overflow-wrap:anywhere}.collection-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.collection-hero-image{min-width:0;position:relative}.collection-hero-image img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.collection-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-block:0 30px}.collection-stats>div{background:var(--surface);border:1px solid var(--line);border-radius:12px;text-align:center;padding:22px 12px}.collection-stats strong{font-size:26px;line-height:1.3;display:block;color:var(--accent)}.collection-stats span{font-size:12px;color:var(--muted);display:block;margin-top:9px}.collection-page .section-block{padding-block:62px}.collection-page .section-heading h2{font-size:28px}.collection-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.collection-feature{padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.feature-number{color:var(--accent);font:700 11px/1.6 ui-monospace,monospace;letter-spacing:1px;margin-bottom:14px;display:block}.collection-feature h3{font-size:18px;line-height:1.5;margin-bottom:12px}.collection-feature p{font-size:14px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.collection-articles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.collection-article{padding:28px;border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0}.article-number{color:var(--accent);font:11px/1.5 ui-monospace,monospace}.collection-article h3{font-size:20px;line-height:1.6;margin-top:12px}.collection-article .article-text{font-size:14px;line-height:1.95}.collection-faq{display:grid;gap:12px}.collection-faq details{border:1px solid var(--line);border-radius:10px;background:var(--surface);min-width:0}.collection-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:22px 24px;cursor:pointer}.collection-faq summary::-webkit-details-marker{display:none}.collection-faq summary:after{content:"+";font:20px/1 system-ui;color:var(--accent)}.collection-faq details[open] summary:after{content:"−"}.collection-faq summary h3{font-size:15px;font-weight:650;line-height:1.6}.collection-faq details>div{padding:0 24px 23px;color:var(--muted);font-size:14px;line-height:1.9;overflow-wrap:anywhere}.collection-faq details>div p+p{margin-top:12px}.collection-download{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:35px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-block:35px}.collection-download h2{font-size:24px}.collection-download p{font-size:13px;color:var(--muted);margin-top:10px}.collection-footer{text-align:center;padding-block:40px 60px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.collection-footer strong{display:block;font-size:15px;color:var(--ink)}.collection-footer p{margin:8px 0}.has-floating-download .collection-footer{padding-bottom:180px}.collection-page .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-page .related-grid a{border:1px solid var(--line);background:var(--surface);padding:20px;border-radius:8px}.collection-page .related-grid h3{font-size:14px}.collection-page .related-grid span{font-size:12px;color:var(--muted)}.collection-page .friends-section{width:min(1160px,calc(100% - 48px));margin:30px auto}.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.hero-tags span{border:1px solid var(--line);background:var(--surface);border-radius:30px;padding:5px 12px;font-size:11px;color:var(--accent)}
/* 01: centered neon landing page. */
.theme-nova .collection-header{background:#0a0a12f2}.theme-nova .collection-brand{color:#e9c9ff}.theme-nova .collection-hero{background:radial-gradient(ellipse at 50% 45%,#642ab324,transparent 65%)}.theme-nova .collection-hero-inner{display:block;min-height:850px;max-width:790px;padding-block:150px 100px;text-align:center}.theme-nova .collection-kicker{padding:7px 17px;border-radius:30px;background:#5e359629;color:#cbb5ef;font-size:11px;letter-spacing:0}.theme-nova h1{font-size:60px;line-height:1.15;font-weight:900}.theme-nova .collection-description{max-width:620px;margin:28px auto 0}.theme-nova .collection-hero-actions{justify-content:center}.theme-nova .download-button{border-radius:30px;background:linear-gradient(110deg,#8839c7,#d54f91,#f99135);box-shadow:0 0 24px #b455dc33}.theme-nova .outline-button{border-radius:30px;border-color:#20bcd6;color:#b7edfa}.hero-mini-stats{display:flex;justify-content:center;gap:50px;margin-top:60px}.hero-mini-stats strong{display:block;color:#38c9e8;font-size:30px;font-weight:850}.hero-mini-stats span{font-size:11px;color:var(--muted)}.theme-nova .section-heading{text-align:center}.theme-nova .section-heading h2{background:linear-gradient(90deg,#a978f4,#ec74ad);color:transparent;background-clip:text}.theme-nova .collection-feature,.theme-nova .collection-article{background:linear-gradient(145deg,#16162a,#0f0f1a);padding:32px;border-radius:16px}.theme-nova .feature-number{color:#ec80be}.theme-nova .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.theme-nova .faq-section{max-width:850px}.theme-nova .collection-faq details{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}.theme-nova .collection-faq summary{padding-inline:0}.theme-nova .collection-faq details>div{padding-inline:0}
/* 02: bright cyan background banner and white reading cards. */
.theme-cyan .collection-header{background:#fffffff5}.theme-cyan .collection-brand{color:#0088aa;font-size:21px}.theme-cyan .collection-hero{background:#102a43;isolation:isolate}.cyan-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.6}.theme-cyan .collection-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#09244244,#07101d88)}.theme-cyan .collection-hero-inner{display:flex;justify-content:center;min-height:560px;padding-block:65px;text-align:center}.theme-cyan .collection-hero-copy{max-width:1050px;padding:55px 40px;background:#000a;border-radius:8px;color:#fff}.theme-cyan h1{font-size:48px;line-height:1.6;color:#19c6f5}.theme-cyan .collection-description{color:#f2f5f7;margin-top:15px}.theme-cyan .collection-kicker{color:#83deef;margin-bottom:12px}.theme-cyan .collection-hero-actions{justify-content:center}.theme-cyan .download-button{border-radius:30px;background:linear-gradient(110deg,#0082db,#008ba4)}.theme-cyan .outline-button{color:white;border-color:#ffffff80;border-radius:30px}.theme-cyan .section-heading{text-align:center;color:#008faa}.theme-cyan .eyebrow{color:#008faa}.theme-cyan .collection-feature{box-shadow:0 3px 16px #0c8dab15;text-align:center}.theme-cyan .feature-number{margin:0 auto 20px;width:46px;padding:12px 0;border-radius:50%;background:#00b5d9;color:white}.theme-cyan .collection-feature h3{color:#0084a5}.theme-cyan .guide-list{grid-template-columns:repeat(4,minmax(0,1fr))}.theme-cyan .guide-list li{border-radius:6px;box-shadow:0 3px 16px #1682a008}.theme-cyan .guide-number{background:transparent;color:#0098bd;font-size:30px}.theme-cyan .collection-article{border-radius:4px;border-top:4px solid #c7eef6}.theme-cyan .collection-faq summary{background:#e6f8fb;color:#007e9d}.theme-cyan .collection-faq details>div{padding-top:20px}.theme-cyan .collection-footer{background:#fff}
/* 03: editorial split with a CSS-only, keyboard-operable photo selector. */
.theme-prism .collection-header{background:#0a0c10f2}.theme-prism .collection-brand small{color:#32c7d3}.theme-prism .download-button{color:#261b10;background:linear-gradient(110deg,#ffc277,#ffb04e)}.theme-prism .download-button:hover{color:#261b10}.theme-prism .collection-hero-inner{grid-template-columns:1fr 1.12fr;gap:38px;padding-block:48px;min-height:540px}.theme-prism h1{font-size:42px;line-height:1.15;font-weight:700}.theme-prism .collection-kicker{color:#62ced5;font-size:10px}.prism-carousel{position:relative;display:grid;min-width:0;align-self:center;grid-template-columns:1fr}.carousel-slide{grid-column:1;grid-row:1;visibility:hidden;opacity:0;transition:opacity .25s;min-width:0}.carousel-slide img{width:100%;aspect-ratio:8/5;object-fit:cover;border-radius:12px}.carousel-radio:checked+.carousel-slide{visibility:visible;opacity:1}.carousel-radio{position:absolute;width:1px;height:1px;opacity:0}.carousel-radio:focus-visible+.carousel-slide{outline:3px solid var(--accent);outline-offset:5px}.carousel-thumbs{grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.carousel-thumbs label{cursor:pointer;border:2px solid transparent;border-radius:8px;overflow:hidden;min-height:44px}.carousel-thumbs img{width:100%;height:100%;aspect-ratio:8/5;object-fit:cover}.prism-carousel:has(#hero-image-0:checked) label[for="hero-image-0"],.prism-carousel:has(#hero-image-1:checked) label[for="hero-image-1"],.prism-carousel:has(#hero-image-2:checked) label[for="hero-image-2"],.prism-carousel:has(#hero-image-3:checked) label[for="hero-image-3"]{border-color:#44cad3}.theme-prism .collection-stats strong{color:#33c7da}.theme-prism .section-block{padding-block:45px}.theme-prism .section-heading h2{font-weight:650}.theme-prism .section-heading .eyebrow{font-size:10px;color:#d6ad8c}.theme-prism .collection-feature{background:#191c22;border-radius:10px}.theme-prism .collection-feature:first-child{border-top-color:#44c9d3}.theme-prism .collection-articles{grid-template-columns:1fr}.theme-prism .collection-article{border-radius:8px;background:transparent;border:0;border-left:2px solid var(--line)}.theme-prism .guide-list{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-prism .guide-number{background:#282b31;color:#ffc277}.theme-prism .collection-download{background:#191c22}
/* 04: soft app-style page, horizontally scrollable features and persistent tabs. */
.theme-pocket .container{width:min(960px,calc(100% - 40px))}.theme-pocket .collection-header{position:relative;background:transparent;border:0}.theme-pocket .collection-header-inner{min-height:70px}.theme-pocket .collection-brand{font-size:12px}.theme-pocket .collection-brand small{display:none}.theme-pocket .collection-nav,.theme-pocket .header-download{display:none}.theme-pocket .collection-menu{margin-left:auto;display:block;font-size:12px}.theme-pocket .collection-menu summary{cursor:pointer}.theme-pocket .collection-menu nav{position:absolute;right:20px;background:#fff;padding:15px;border-radius:12px;min-width:150px;z-index:110;border:1px solid var(--line)}.theme-pocket .collection-menu nav a{display:block;padding:9px}.theme-pocket .collection-hero-inner{padding-block:62px 30px;min-height:395px;grid-template-columns:1.25fr 1fr;gap:30px}.theme-pocket h1{font-size:44px;line-height:1.12}.theme-pocket .collection-description{font-size:14px}.theme-pocket .collection-kicker{display:none}.theme-pocket .collection-hero-image img{aspect-ratio:4/3;border-radius:24px;box-shadow:0 18px 40px #52338633}.theme-pocket .download-button,.theme-pocket .outline-button{border-radius:40px}.theme-pocket .download-button{background:linear-gradient(100deg,#7c3aed,#e947ad);box-shadow:0 6px 15px #a642cd30}.theme-pocket .outline-button{border-color:#9a65c7;background:#fff;color:#7132a3}.theme-pocket .collection-stats{gap:16px;margin-bottom:55px}.theme-pocket .collection-stats>div{border:0;border-radius:16px;box-shadow:0 3px 20px #966ab50c}.theme-pocket .collection-stats strong{color:#8334c8;font-size:25px}.pocket-download{background:white;border-radius:20px;box-shadow:0 8px 30px #8854c112;padding:36px;text-align:center;margin-block:25px 40px}.pocket-download h2{font-size:22px}.pocket-download p{font-size:13px;color:var(--muted);margin:10px 0 20px}.theme-pocket .section-block{padding-block:30px}.theme-pocket .section-heading h2{font-size:25px}.theme-pocket .eyebrow{font-size:9px;letter-spacing:1px}.theme-pocket .collection-features{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:14px}.theme-pocket .collection-feature{flex:0 0 230px;scroll-snap-align:start;border:0;padding:22px;border-radius:18px}.theme-pocket .collection-feature h3{font-size:16px}.theme-pocket .collection-feature p{font-size:13px}.theme-pocket .feature-number{color:#aa3bb8}.theme-pocket .collection-article{border:0;border-radius:16px;padding:24px}.theme-pocket .collection-article h3{font-size:18px}.theme-pocket .guide-list{grid-template-columns:repeat(4,minmax(0,1fr))}.theme-pocket .guide-list li{padding:20px 16px;text-align:center;border:0}.theme-pocket .guide-number{margin-inline:auto;border-radius:10px;background:#f4eafa;color:#9239b9}.theme-pocket .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.theme-pocket .gallery-grid figcaption{padding:12px;font-size:11px}.theme-pocket .collection-faq details{border:0;border-radius:12px}.theme-pocket .collection-faq summary{padding:17px 20px}.pocket-tabs{position:fixed;bottom:0;left:0;right:0;display:flex;gap:5px;align-items:center;justify-content:space-around;background:#ffffffed;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));z-index:900;font-size:12px;color:#6b557f}.pocket-tabs a{padding:9px 12px;flex:1;text-align:center;border-radius:18px;white-space:nowrap}.pocket-tabs .tab-download{background:linear-gradient(110deg,#7c3aed,#ec4899);color:white}.theme-pocket .collection-footer{padding-bottom:140px}.theme-pocket.has-floating-download .collection-footer{padding-bottom:220px}.theme-pocket .floating-download{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
/* 05: 220px side rail and industrial module layouts. */
.theme-bastion .collection-header{position:fixed;inset:0 auto 0 0;width:220px;background:#10171d;border-right:1px solid var(--line);border-bottom:0}.theme-bastion .collection-header-inner{width:auto;margin:0;min-height:100%;padding:30px 20px;display:flex;flex-direction:column;align-items:stretch;gap:28px}.theme-bastion .collection-brand{font-size:15px;color:#e9f2ef}.theme-bastion .collection-brand small{color:#3de0c4;margin-top:12px}.theme-bastion .collection-nav{margin:0;display:grid;gap:6px;counter-reset:rail}.theme-bastion .collection-nav a{padding:14px 10px;border-radius:6px;counter-increment:rail}.theme-bastion .collection-nav a:before{content:counter(rail,decimal-leading-zero);font:11px/1 monospace;color:#00d4b5;margin-right:13px}.theme-bastion .collection-nav a:hover{background:#00d4b510}.theme-bastion .header-download{margin-top:auto}.theme-bastion .header-download .download-button{width:100%;background:#ff315b;color:white}.theme-bastion .collection-workspace{margin-left:220px}.theme-bastion .preview-notice{margin-left:220px}.command-topbar{display:flex;justify-content:space-between;gap:20px;padding:13px 28px;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1px}.command-topbar span:first-child{color:#fb6c7f}.command-topbar span:last-child{color:var(--accent);overflow-wrap:anywhere}.theme-bastion .container{width:min(1140px,calc(100% - 56px))}.theme-bastion .collection-hero{background:radial-gradient(at 10% 10%,#003c3433,transparent 70%)}.theme-bastion .collection-hero-inner{min-height:650px;gap:32px}.theme-bastion h1{font-size:46px}.theme-bastion .collection-kicker{color:#1cceb4;font-size:10px}.theme-bastion .collection-hero-image{padding:16px;background:#101719;border:1px solid var(--line);transform:rotate(2deg)}.theme-bastion .collection-hero-image img{border-radius:2px;aspect-ratio:4/5}.theme-bastion .collection-hero-image figcaption{font:10px/1.5 monospace;padding-top:14px;color:#3bd3bb}.theme-bastion .download-button{color:#002c26}.theme-bastion .download-button:hover{color:#002c26}.theme-bastion .outline-button{color:#ff627a;border-color:#de3155}.theme-bastion .section-heading .eyebrow{color:#f97187}.theme-bastion .collection-feature{background:linear-gradient(140deg,#182026,#12171b);border-radius:6px;border-top-color:#00d4b533}.theme-bastion .feature-number{color:#d5788a}.theme-bastion .collection-articles{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-bastion .collection-article{border-radius:5px;text-align:left}.theme-bastion .collection-article:nth-child(3n+2){border-color:#00bca3}.theme-bastion .collection-article h3{font-size:18px}.theme-bastion .guide-list{display:grid;grid-template-columns:1fr;border-left:1px solid #00d4b566;padding-left:28px;gap:0}.theme-bastion .guide-list li{background:transparent;border:0;display:flex;gap:18px;padding:24px 0}.theme-bastion .guide-number{background:#113029;color:#3dd8bc;flex:0 0 38px;font-size:12px}.theme-bastion .collection-faq{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.theme-bastion .collection-faq details{border-radius:6px}.theme-bastion .collection-faq summary{padding:20px}.theme-bastion .collection-faq details>div{padding-inline:20px}.theme-bastion .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* 06: navy/red centered cover with two-column reading and Q&A. */
.theme-cobalt .collection-header{background:#07101bf5}.theme-cobalt .collection-brand{color:#f2f4fa;font-size:14px}.theme-cobalt .collection-brand small{color:#ed647b}.theme-cobalt .collection-hero-inner{grid-template-columns:1fr;text-align:center;gap:36px;padding-block:75px 45px;min-height:0}.theme-cobalt .collection-hero-copy{max-width:850px;margin:auto}.theme-cobalt .collection-kicker{padding:5px 13px;background:#ef31561a;border:1px solid #ef315533;color:#f6a1b2;border-radius:25px;font-size:10px;letter-spacing:.5px}.theme-cobalt h1{font-size:48px;line-height:1.25}.theme-cobalt .collection-description{max-width:780px;margin-inline:auto}.theme-cobalt .collection-hero-actions{justify-content:center}.theme-cobalt .outline-button{background:#12233f;color:#a6ccff}.theme-cobalt .collection-hero-image{width:min(900px,90%);margin:auto}.theme-cobalt .collection-hero-image img{aspect-ratio:21/9;border:1px solid #4c72a6;box-shadow:0 10px 40px #3264b329;border-radius:12px}.theme-cobalt .section-heading{text-align:center}.theme-cobalt .collection-feature{border-radius:8px}.theme-cobalt .collection-feature h3{font-size:18px}.theme-cobalt .feature-number{color:#ef728b}.theme-cobalt .cobalt-content-pair{width:100%}.cobalt-reading-pair{width:min(1160px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:26px;padding-block:32px}.cobalt-reading-pair .container{width:100%;padding-block:20px}.cobalt-reading-pair .section-heading{text-align:left}.theme-cobalt .collection-articles{grid-template-columns:1fr}.theme-cobalt .collection-article{border-radius:7px;padding:23px}.theme-cobalt .collection-article h3{font-size:17px}.theme-cobalt .collection-faq summary{padding:21px}.theme-cobalt .guide-list{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-cobalt .guide-list li{text-align:center;background:#0e1b32;border-radius:7px}.theme-cobalt .guide-number{margin-inline:auto;background:#2469d8;color:#fff}.theme-cobalt .collection-download{background:#0e1c32}
@media(max-width:1200px){.collection-nav{gap:12px;font-size:11px}.collection-brand{max-width:200px;font-size:14px}.theme-bastion .collection-hero-inner{gap:25px}.theme-bastion h1{font-size:38px}.theme-bastion .collection-features,.theme-bastion .collection-articles{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-pocket .collection-nav{display:none}}
@media(max-width:900px){.collection-page .container{width:calc(100% - 40px)}.collection-nav{display:none}.collection-header-inner{min-height:64px;gap:14px}.collection-brand{font-size:12px;max-width:220px}.header-download{margin-left:auto}.collection-menu{display:block;position:relative;flex-shrink:0;font-size:12px}.collection-menu summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center}.collection-menu nav{position:absolute;right:0;top:45px;background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:165px;padding:10px;color:var(--ink);box-shadow:0 10px 30px #0002}.collection-menu nav a{display:block;padding:10px}.collection-page .download-button.compact{font-size:11px;padding:9px 12px}.collection-hero-inner{gap:30px;padding-block:50px;min-height:0}.collection-hero h1{font-size:36px}.collection-features{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-page .guide-list{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-page .section-block{padding-block:40px}.collection-page .section-heading h2{font-size:26px}.theme-nova .collection-hero-inner{min-height:750px;padding-block:115px 80px;max-width:700px}.theme-nova h1{font-size:48px}.theme-cyan .collection-hero-inner{min-height:530px}.theme-cyan .collection-hero-copy{padding:40px 25px}.theme-cyan h1{font-size:40px;line-height:1.4}.theme-prism .collection-hero-inner{grid-template-columns:1fr 1fr;gap:25px}.theme-prism h1{font-size:34px}.theme-pocket .collection-hero-inner{padding-block:35px;gap:25px}.theme-pocket .collection-hero h1{font-size:35px}.theme-pocket .collection-stats{margin-bottom:30px}.theme-pocket .collection-menu nav{right:0}.theme-bastion .collection-header{position:sticky;inset:auto;top:0;width:100%;border-right:0;border-bottom:1px solid var(--line)}.theme-bastion .collection-header-inner{flex-direction:row;min-height:64px;padding:10px 20px;gap:16px;align-items:center}.theme-bastion .collection-brand{font-size:12px;max-width:200px}.theme-bastion .collection-brand small{margin-top:4px}.theme-bastion .collection-nav{display:none}.theme-bastion .header-download{margin:0 0 0 auto}.theme-bastion .collection-workspace,.theme-bastion .preview-notice{margin-left:0}.theme-bastion .collection-hero-inner{min-height:0;padding-block:45px;gap:25px}.theme-bastion .collection-hero h1{font-size:36px}.theme-bastion .container{width:calc(100% - 40px)}.theme-bastion .guide-list{grid-template-columns:1fr}.theme-bastion .collection-hero-image{transform:none}.theme-cobalt .collection-hero-inner{padding-block:50px 30px}.theme-cobalt h1{font-size:40px}.cobalt-reading-pair{width:calc(100% - 40px);gap:20px}.theme-cobalt .collection-hero-image{width:95%}}
@media(max-width:600px){html{scroll-padding-top:90px}.collection-page .container{width:calc(100% - 36px)}.collection-header-inner{gap:10px}.collection-brand{max-width:calc(100% - 170px);font-size:11px}.collection-brand small{font-size:7px;letter-spacing:.7px}.collection-page .header-download .download-button{padding:9px 10px;font-size:10px;white-space:nowrap}.collection-menu{font-size:11px}.collection-hero-inner,.theme-prism .collection-hero-inner,.theme-pocket .collection-hero-inner,.theme-bastion .collection-hero-inner{grid-template-columns:1fr;gap:28px;padding-block:34px}.collection-hero h1{font-size:32px;line-height:1.25}.collection-description{font-size:13px;line-height:1.85;margin-top:18px}.collection-kicker{font-size:9px;letter-spacing:1px;margin-bottom:15px}.collection-hero-actions{gap:10px;margin-top:23px}.collection-page .download-button,.collection-page .outline-button{font-size:13px;min-height:46px;padding:12px 19px}.collection-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block:0 20px}.collection-stats>div{padding:18px 10px}.collection-stats strong{font-size:23px}.collection-stats span{font-size:11px}.collection-features,.collection-articles,.theme-bastion .collection-features,.theme-bastion .collection-articles{grid-template-columns:1fr;gap:14px}.collection-feature,.collection-article{padding:24px}.collection-feature p,.collection-article .article-text{font-size:13px}.collection-feature h3{font-size:17px}.collection-article h3{font-size:18px}.collection-page .section-block{padding-block:32px}.collection-page .section-heading{margin-bottom:22px}.collection-page .section-heading h2{font-size:24px}.collection-page .eyebrow{font-size:9px}.collection-page .guide-list{grid-template-columns:1fr}.collection-page .guide-list li{display:flex;gap:16px;text-align:left;padding:22px}.collection-page .guide-number{flex:0 0 36px;margin:0}.collection-page .gallery-grid{grid-template-columns:1fr;gap:16px}.collection-page .gallery-grid figcaption{font-size:12px}.collection-faq summary{padding:18px}.collection-faq summary h3{font-size:14px}.collection-faq details>div{padding:0 18px 20px;font-size:13px}.collection-download{flex-direction:column;align-items:stretch;padding:25px;margin-block:25px}.collection-download h2{font-size:21px}.collection-page .related-grid,.theme-bastion .related-grid{grid-template-columns:1fr}.theme-nova .collection-hero-inner{min-height:730px;padding-block:85px 80px}.theme-nova h1{font-size:38px}.theme-nova .collection-description{margin-top:22px;font-size:14px}.theme-nova .collection-hero-actions{flex-direction:column;gap:12px;margin-top:32px}.hero-mini-stats{gap:30px;margin-top:42px}.hero-mini-stats strong{font-size:25px}.hero-mini-stats span{font-size:10px}.theme-nova .collection-feature,.theme-nova .collection-article{padding:26px}.theme-cyan .collection-brand{font-size:13px}.theme-cyan .collection-hero-inner{min-height:575px;padding-block:28px}.theme-cyan .collection-hero-copy{padding:35px 18px}.theme-cyan h1{font-size:31px;line-height:1.5}.theme-cyan .collection-description{font-size:13px}.theme-cyan .collection-hero-actions{flex-direction:column}.theme-prism .collection-hero-inner{gap:30px;padding-block:28px 40px}.theme-prism h1{font-size:32px;line-height:1.2}.theme-prism .collection-hero-image{width:100%}.carousel-thumbs{gap:6px;margin-top:8px}.carousel-thumbs label{min-height:44px}.theme-pocket .collection-brand{max-width:270px}.theme-pocket .collection-hero h1{font-size:32px}.theme-pocket .collection-hero-image{max-width:100%;width:100%;margin-inline:auto}.theme-pocket .collection-hero-image img{aspect-ratio:4/3;border-radius:18px}.theme-pocket .collection-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.theme-pocket .collection-stats>div:nth-child(4){display:none}.theme-pocket .collection-stats>div{padding:17px 8px;border-radius:12px}.theme-pocket .collection-stats strong{font-size:21px}.theme-pocket .collection-stats span{font-size:9px}.theme-pocket .collection-feature{flex-basis:240px;padding:22px}.theme-pocket .section-heading h2{font-size:23px}.theme-pocket .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-pocket .gallery-grid figcaption{font-size:10px;padding:10px}.theme-pocket .gallery-grid figcaption b{display:none}.theme-pocket .collection-faq summary{padding:17px}.pocket-download{padding:28px 18px}.pocket-download h2{font-size:21px}.pocket-tabs{padding-inline:6px;font-size:10px;gap:1px}.pocket-tabs a{padding:10px 5px}.theme-bastion .collection-header-inner{padding:10px 18px}.theme-bastion .collection-brand{max-width:calc(100% - 170px)}.command-topbar{padding:10px 18px;font-size:8px;letter-spacing:.3px}.command-topbar span{max-width:50%}.theme-bastion .collection-hero h1{font-size:34px}.theme-bastion .collection-hero-image{padding:12px}.theme-bastion .collection-hero-image img{aspect-ratio:5/4}.theme-bastion .collection-faq{grid-template-columns:1fr}.theme-bastion .guide-list li{padding:20px 0}.theme-bastion .guide-list{padding-left:20px}.theme-cobalt .collection-hero-inner{padding-block:36px 28px;gap:30px}.theme-cobalt h1{font-size:34px}.theme-cobalt .collection-hero-actions{flex-direction:column}.theme-cobalt .collection-hero-image{width:100%}.theme-cobalt .collection-hero-image img{aspect-ratio:16/10}.cobalt-reading-pair{width:calc(100% - 36px);grid-template-columns:1fr;gap:8px;padding:0}.theme-cobalt .collection-article{padding:21px}.theme-cobalt .collection-faq summary{padding:18px}.theme-cobalt .guide-list li{text-align:left}.collection-page .friends-section{width:calc(100% - 36px)}}
@media(prefers-reduced-motion:reduce){.carousel-slide{transition:none}}
@media print{.collection-header,.collection-hero-actions,.pocket-tabs,.floating-download,.preview-notice{display:none}.collection-page{background:#fff!important;color:#000!important}.collection-page .collection-workspace,.theme-bastion .preview-notice{margin-left:0}.collection-hero-image{transform:none!important}.collection-footer{padding-bottom:20px!important}.collection-page .article-text{color:#333}}

/* Keep empty media states balanced and match the reference's three app counters. */
.collection-page .without-hero-media .collection-hero-inner{grid-template-columns:1fr}.without-hero-media .collection-hero-copy{max-width:850px}.theme-pocket .collection-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.bastion-image-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.bastion-image-stats>div{text-align:center;background:#080d10;padding:12px 6px;border:1px solid #1b292b}.bastion-image-stats strong{display:block;color:#16cdb0;font-size:20px}.bastion-image-stats span{display:block;color:#a0adb2;font-size:10px;margin-top:5px}

/* Source mobile behavior: the command rail docks at the bottom, app counters stack. */
@media(max-width:600px){
.theme-bastion .collection-header{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;border-top:1px solid var(--line);border-bottom:0;background:#10171df5}
.theme-bastion .collection-header-inner{min-height:60px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));gap:8px}
.theme-bastion .collection-brand,.theme-bastion .collection-menu{display:none}
.theme-bastion .collection-nav{display:flex;flex:1;justify-content:space-around;gap:3px;font-size:10px}
.theme-bastion .collection-nav a{padding:10px 3px;white-space:nowrap}
.theme-bastion .collection-nav a:before,.theme-bastion .collection-nav a:nth-child(n+5){display:none}
.theme-bastion .header-download{margin:0}.theme-bastion .header-download .download-button{padding:10px 9px;font-size:10px}
.theme-bastion .collection-footer{padding-bottom:150px}.theme-bastion.has-floating-download .collection-footer{padding-bottom:200px}
.theme-bastion .collection-hero-image img{aspect-ratio:4/5}
.theme-pocket .collection-stats{grid-template-columns:1fr;gap:12px}.theme-pocket .collection-stats>div{padding:24px 16px}.theme-pocket .collection-stats strong{font-size:26px}.theme-pocket .collection-stats span{font-size:11px}
}
