*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#1c3040;background:#f4f3ee;font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}h1,p{margin:0}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid #3158e8;outline-offset:5px}::selection{background:#dce5ce}.gallery-wide{width:min(1280px,calc(100% - 112px));margin:auto}.gallery-header{border-bottom:1px solid #dce0d8;background:#f8f7f2}.gallery-header-inner{height:78px;display:flex;align-items:center;gap:64px}.gallery-brand{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:-.7px;white-space:nowrap}.gallery-brand b{font-weight:650}.gallery-symbol{display:flex;gap:3px;align-items:center;width:30px;height:28px;transform:skew(-24deg);color:#3158e8}.gallery-symbol i{display:block;width:7px;border-radius:5px;background:currentColor}.gallery-symbol i:nth-child(1){height:17px;align-self:flex-end}.gallery-symbol i:nth-child(2){height:27px}.gallery-symbol i:nth-child(3){height:21px;align-self:flex-start}.gallery-header nav{display:flex;gap:30px;font-size:12px}.gallery-header nav a[aria-current]{color:#3158e8}.gallery-home{margin-left:auto;font-size:12px;color:#66736e}.gallery-home span{margin-left:12px}.gallery-intro{display:grid;grid-template-columns:1.35fr 1fr;align-items:end;gap:80px;padding:80px 0 65px}.gallery-eyebrow{font-size:11px;letter-spacing:1.7px;color:#667267;margin-bottom:23px}.gallery-eyebrow span{margin:0 12px;color:#a0a89b}h1{font-size:clamp(34px,3.6vw,53px);font-weight:500;letter-spacing:-1.7px;line-height:1.42}h1 em{font-style:normal;color:#516c4c}.gallery-intro-note{max-width:355px;justify-self:end}.gallery-intro-note>p{color:#66716b;font-size:15px;line-height:1.9}.gallery-numbers{display:flex;align-items:flex-end;gap:35px;margin-top:34px}.gallery-numbers>span{display:grid;gap:1px;color:#7a847b;font-size:10px;white-space:nowrap}.gallery-numbers b{font-size:28px;line-height:1.2;font-weight:400;letter-spacing:-1px;color:#2e493b}.gallery-device svg{width:34px;height:32px;stroke:#52715a;stroke-width:1.2;margin-bottom:2px}.gallery-section-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ced5c8;padding:20px 0 27px}.gallery-section-head p{font-size:15px}.gallery-section-head>span{font-size:11px;color:#7c857a}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 28px;align-items:start}.gallery-card{display:block;min-width:0}.gallery-card-preview{position:relative;aspect-ratio:.85;overflow:hidden;background:#e8e9e0;border:1px solid #d7dbd0;border-radius:3px;transition:box-shadow .35s,transform .35s}.gallery-preview-page{position:absolute;left:0;top:0;width:1000px;height:1300px;transform-origin:top left;pointer-events:none;border:0;background:white}.gallery-preview-art{position:absolute;inset:0;background:linear-gradient(155deg,#d9e4d2,#e9e5d8)}.gallery-preview-art img{width:100%;height:100%;object-fit:cover;opacity:.23;filter:saturate(.6)}.gallery-preview-art b{position:absolute;left:8%;top:8%;font-size:24px;letter-spacing:1px;writing-mode:vertical-rl}.gallery-card-preview.is-ready .gallery-preview-art{opacity:0;transition:opacity .35s}.gallery-open{position:absolute;right:14px;bottom:14px;display:flex;gap:13px;align-items:center;font-size:11px;color:#203e36;background:#fffdf5f0;border:1px solid #ffffffb3;border-radius:30px;padding:8px 13px;backdrop-filter:blur(8px);transition:background .2s}.gallery-card:hover .gallery-card-preview{transform:translateY(-5px);box-shadow:0 18px 35px -27px #213c3870}.gallery-card:hover .gallery-open{background:#fff}.gallery-card-meta{display:flex;align-items:center;justify-content:space-between;margin:15px 0 5px;color:#69806c;font-size:10px;letter-spacing:.7px}.gallery-card-number{color:#8d9489}.gallery-card-title{font-size:21px;line-height:1.4;font-weight:550;letter-spacing:-.4px;margin:0 0 5px}.gallery-card-native{min-height:23px;color:#64766a;font-size:12px;line-height:1.6}.gallery-card-details{display:flex;align-items:center;gap:9px;font-size:11px;color:#69716b;margin-top:11px;flex-wrap:wrap}.gallery-card-details i{width:3px;height:3px;border-radius:50%;background:#a4afa1}.gallery-card-route{font-size:11px;color:#8b9389;margin-top:6px}.gallery-card[data-theme=ink] .gallery-card-title{font-family:"Songti SC","Noto Serif CJK SC",STSong,serif;font-weight:500;letter-spacing:2px}.gallery-card[data-theme=editorial] .gallery-card-title{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:400}.gallery-card[data-theme=japan] .gallery-card-title{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;letter-spacing:1px}.gallery-card[data-theme=family] .gallery-card-title{color:#935831}.gallery-bottom{margin:70px 0 30px;padding:38px 0;border-top:1px solid #d7ddcf;display:flex;justify-content:space-between;align-items:center}.gallery-bottom p{font-size:23px;line-height:1.65;letter-spacing:.3px;color:#4e604f}.gallery-bottom a{font-size:12px;border-bottom:1px solid #aebba7;padding:9px 0}.gallery-bottom a span{margin-left:27px}.gallery-footer{display:flex;justify-content:space-between;padding:23px 0 35px;color:#8a9387;font-size:10px}.gallery-skip{position:fixed;top:-80px;left:15px;z-index:90;background:white;padding:10px 15px}.gallery-skip:focus{top:10px}@media(min-width:1450px){.gallery-grid{gap:50px 32px}}@media(max-width:1100px){.gallery-wide{width:calc(100% - 64px)}.gallery-header-inner{gap:40px}.gallery-intro{gap:40px;padding-top:65px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:37px 26px}.gallery-card-preview{aspect-ratio:.9}.gallery-intro-note{max-width:300px}.gallery-numbers{gap:25px}}@media(max-width:650px){.gallery-wide{width:calc(100% - 36px)}.gallery-header-inner{height:66px;gap:12px}.gallery-brand{font-size:18px;gap:9px}.gallery-symbol{transform:skew(-24deg) scale(.83);width:25px}.gallery-header nav{display:none}.gallery-home{font-size:11px}.gallery-home span{margin-left:5px}.gallery-intro{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;padding:28px 0 27px}.gallery-intro>div{min-width:0}.gallery-eyebrow{font-size:10px;margin-bottom:14px}h1{font-size:35px;line-height:1.43;letter-spacing:-1.2px}.gallery-intro-note{width:100%;max-width:none;justify-self:stretch;margin:0;text-align:left}.gallery-intro-note>p{font-size:13px;line-height:1.8}.gallery-numbers{justify-content:flex-start;margin-top:18px;gap:28px}.gallery-numbers b{font-size:24px}.gallery-device svg{width:31px;height:26px}.gallery-section-head{padding:16px 0 18px;display:block}.gallery-section-head p{font-size:13px}.gallery-section-head>span{display:block;margin-top:3px;font-size:10px}.gallery-grid{grid-template-columns:1fr;gap:30px}.gallery-card-preview{aspect-ratio:1.12}.gallery-card-meta{margin-top:12px}.gallery-card-title{font-size:21px}.gallery-card-native{min-height:0}.gallery-card-details{margin-top:8px}.gallery-bottom{margin-top:46px;padding:25px 0;gap:15px}.gallery-bottom p{font-size:18px}.gallery-bottom a{max-width:130px;font-size:10px}.gallery-bottom a span{margin-left:8px}.gallery-footer{font-size:9px;padding-bottom:22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.gallery-card:hover .gallery-card-preview{transform:none}}
/* Keep the new two-line headline readable on narrow phones. */
@media(max-width:360px){.gallery-intro h1{font-size:31px}}

/* The gallery and case directory share case names and template/language badges. */
.gallery-card-meta.ur-case-tags{justify-content:flex-start;align-items:center;gap:6px;flex-wrap:wrap;letter-spacing:0}
.gallery-card:focus-visible .gallery-card-title{color:#3158bc}

/* New template labels retain their native language and distinct reading character. */
.gallery-card[data-theme=pixel] .gallery-card-title{color:#48509e;font-weight:650;letter-spacing:.02em}
.gallery-card[data-theme=desert] .gallery-card-title{font-family:Tahoma,"Noto Sans Arabic",Arial,sans-serif;letter-spacing:0;line-height:1.9;color:#735b40}
.gallery-card[data-theme=metro] .gallery-card-title{font-family:"Segoe UI",Arial,sans-serif;line-height:1.5;color:#7c4245}
.gallery-card[data-theme=readable] .gallery-card-title{font-size:23px;font-weight:600;line-height:1.65;color:#375d68}
.gallery-card[data-theme=desert] .gallery-preview-art b{writing-mode:horizontal-tb;direction:rtl;left:auto;right:8%;max-width:84%;text-align:start}
.gallery-card-native[lang^=ar],.gallery-card-route[lang^=ar]{direction:rtl;text-align:start}
