/* Home screen and personal pages. Shared App Store styles live in styles.css. */
.screen {
  --surface: rgba(255,255,255,.14);
  --surface-border: rgba(255,255,255,.23);
  --label: #f5f5f7;
  --secondary-label: #a5a5ad;
  --card: #1c1c1e;
}
html[data-theme="light"] .screen {
  --surface: rgba(255,255,255,.52);
  --surface-border: rgba(255,255,255,.65);
  --label: #161619;
  --secondary-label: #66666e;
  --card: #fff;
}
.ui-icon { width:24px; height:24px; display:block; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
[data-icon] { display:inline-grid; place-items:center; }
button,a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #0a84ff; outline-offset:4px; }
.screen .home { padding:68px 22px 22px; gap:20px; overflow-y:auto; scrollbar-width:none; }
.home > * { flex-shrink:0; }
.intro-widget { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; text-align:left; color:inherit; border:1px solid var(--surface-border); border-radius:30px; padding:18px; background:var(--surface); box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 24px rgba(0,0,0,.06); backdrop-filter:blur(28px) saturate(145%); -webkit-backdrop-filter:blur(28px) saturate(145%); cursor:pointer; view-transition-name:about-card; animation:intro-card-arrive .82s var(--spring) both; }
.intro-widget::before { content:""; position:absolute; z-index:-1; inset:-2%; pointer-events:none; background:radial-gradient(105% 95% at var(--intro-x, 12%) var(--intro-y, 4%),rgba(255,183,143,.58),transparent 62%),radial-gradient(100% 95% at 90% 4%,rgba(121,177,255,.42),transparent 65%),linear-gradient(135deg,rgba(255,219,196,.34),rgba(152,192,255,.22)); background-size:100% 100%,125% 125%,100% 100%; background-position:var(--intro-x, 12%) var(--intro-y, 4%),0% 0%,center; animation:intro-gradient-drift 16s ease-in-out infinite alternate; }
.intro-widget::before { display:none; }
.intro-widget > * { position:relative; z-index:1; }
.intro-top { display:flex; align-items:center; gap:10px; view-transition-name:about-intro-head; animation:intro-copy-arrive .55s .18s var(--spring) both; }
.intro-avatar { width:43px; height:43px; border-radius:50%; object-fit:cover; border:1px solid rgba(255,255,255,.6); }
.intro-top .intro-avatar { view-transition-name:about-avatar; animation:intro-avatar-arrive .58s .12s var(--spring) both; }
.intro-identity { min-width:0; view-transition-name:about-identity; }
.intro-identity strong { display:block; font-size:15px; }
.intro-identity > span { display:block; margin-top:4px; font-size:10px; color:var(--secondary-label); opacity:.92; }
.intro-arrow { display:grid; place-items:center; opacity:.6; }
.intro-arrow .ui-icon { width:16px; height:16px; }
.intro-title { display:grid; justify-items:start; gap:1px; margin:22px 0 0; font-size:clamp(24px,7vw,29px); line-height:1.06; font-weight:640; letter-spacing:-.035em; color:color-mix(in srgb,var(--label) 88%,var(--secondary-label)); }
.intro-title > span { display:block; overflow:hidden; padding-bottom:.04em; }
.intro-title > span > span { display:block; white-space:nowrap; animation:intro-line-reveal .58s .28s var(--spring) both; }
.intro-title > span:nth-child(2) > span { animation-delay:.39s; }
.intro-title > span:nth-child(2) { color:var(--secondary-label); }
.intro-description { display:block; max-width:34ch; margin-top:13px; color:var(--secondary-label); font-size:11.5px; line-height:1.35; font-weight:500; animation:intro-copy-arrive .5s .51s var(--spring) both; }
.intro-foot { display:flex; justify-content:flex-start; align-items:center; gap:5px; margin-top:10px; color:var(--label); font-size:11px; font-weight:650; animation:intro-arrow-arrive .4s .67s var(--spring) both; }
.intro-widget:hover .intro-arrow { transform:translate(1px,-1px); opacity:.9; }
.intro-arrow { transition:transform .25s var(--spring),opacity .25s ease; }
@keyframes intro-card-arrive { from { opacity:0; transform:translateY(12px); filter:blur(3px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }
@keyframes intro-avatar-arrive { 0% { transform:scale(.88); } 72% { transform:scale(1.035); } 100% { transform:scale(1); } }
@keyframes intro-copy-arrive { from { opacity:0; transform:translateX(-8px); } to { opacity:1; transform:translateX(0); } }
@keyframes intro-line-reveal { from { opacity:.65; transform:translateY(105%); } to { opacity:1; transform:translateY(0); } }
@keyframes intro-arrow-arrive { from { opacity:0; transform:translate(-2px,2px); } to { opacity:1; transform:translate(0,0); } }
@keyframes intro-gradient-drift { from { transform:translate3d(-1%,-1%,0); } to { transform:translate3d(1%,1%,0); } }
::view-transition-old(about-card),::view-transition-new(about-card) { height:100%; }
::view-transition-group(about-card) { animation-duration:.72s; animation-timing-function:var(--spring); }
::view-transition-group(about-avatar),::view-transition-group(about-intro-head),::view-transition-group(about-identity) { animation-duration:.62s; animation-timing-function:var(--spring); }
.home-launchers,.featured-apps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.home .app { gap:9px; min-height:82px; }
.home .app-icon { width:60px; height:60px; border-radius:17px; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.26),0 5px 12px rgba(0,0,0,.13); }
.home .app-label { max-width:100%; font-size:11px; font-weight:500; overflow:visible; }
.app-icon > .ui-icon { width:30px; height:30px; stroke-width:1.85; }
.icon-apps { background:linear-gradient(155deg,#55b8ff,#0871e8); }
.icon-work { background:linear-gradient(155deg,#b296ec,#7355c7); }
.icon-resources { background:linear-gradient(155deg,#ffcf69,#f4a021); }
.icon-about { background:linear-gradient(155deg,#f58e85,#d95364); }
.icon-lab { background:linear-gradient(155deg,#515867,#222731); }
.icon-cutiz { color:#ff9746; }
.home-featured { margin-top:20px; }
.home-section-heading { display:flex; align-items:center; justify-content:space-between; margin:0 1px 15px; }
.home-section-heading h2 { margin:0; font-size:24px; line-height:1.1; font-weight:700; }
.home-section-heading button { display:flex; gap:3px; align-items:center; background:none; border:0; color:inherit; font-size:11px; cursor:pointer; min-height:44px; margin:-10px -5px -10px 0; opacity:.8; }
.home-section-heading .ui-icon { width:12px; height:12px; }
.now-widget { display:flex; align-items:center; gap:12px; padding:15px; color:inherit; text-align:left; border:1px solid var(--surface-border); border-radius:25px; background:var(--surface); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); cursor:pointer; }
.now-art { color:#ff9b55; width:48px; height:48px; border-radius:15px; background:#202025; box-shadow:inset 0 1px rgba(255,255,255,.15); }
.now-art .ui-icon { width:30px; height:30px; }
.now-copy { flex:1; }
.now-copy > * { display:block; }
.now-copy small { font-size:8px; font-weight:600; opacity:.65; margin-bottom:4px; }
.now-copy strong { font-size:16px; }
.now-copy > span { font-size:10px; margin-top:4px; opacity:.75; }
.now-arrow .ui-icon { width:17px; height:17px; opacity:.65; }
.home .home-spacer { flex:1 0 0; min-height:0; }
.home-bottom { display:flex; flex-direction:column; align-items:center; gap:10px; }
.home-search-pill { display:flex; align-items:center; justify-content:center; gap:5px; min-width:82px; height:28px; padding:0 11px; border:1px solid var(--surface-border); border-radius:999px; color:var(--label); background:var(--surface); box-shadow:inset 0 1px rgba(255,255,255,.24),0 4px 12px rgba(0,0,0,.08); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); font-size:10px; font-weight:600; cursor:pointer; }
.home-search-pill .ui-icon { width:13px; height:13px; }
.home-dock { display:flex; align-items:center; justify-content:space-around; padding:12px 16px 10px; border-radius:32px; border:1px solid var(--surface-border); background:var(--surface); box-shadow:inset 0 1px rgba(255,255,255,.25),0 6px 20px rgba(0,0,0,.07); backdrop-filter:blur(35px) saturate(155%); -webkit-backdrop-filter:blur(35px) saturate(155%); }
.home-bottom .home-dock { width:100%; }
.dock-action { display:flex; flex-direction:column; align-items:center; gap:7px; min-width:62px; padding:0; border:0; background:none; color:inherit; font-size:10px; cursor:pointer; }
.dock-icon { width:46px; height:46px; border-radius:15px; color:#fff; box-shadow:inset 0 1px rgba(255,255,255,.3),0 3px 8px rgba(0,0,0,.1); }
.dock-mail { background:linear-gradient(#58b5ff,#1978e8); }
.dock-share { background:linear-gradient(#ad96ed,#7964d4); }
.dock-search { background:linear-gradient(#8b93a0,#5d6473); }
.dock-settings { background:linear-gradient(#6b7683,#384554); }
.portfolio-segment { display:flex; padding:3px; border-radius:12px; background:rgba(118,118,128,.16); margin:0 0 24px; }
.portfolio-segment button { flex:1; min-height:38px; border:0; border-radius:9px; background:none; color:inherit; font-size:13px; cursor:pointer; }
.portfolio-segment button[aria-pressed="true"] { background:var(--card); box-shadow:0 2px 6px rgba(0,0,0,.12); font-weight:600; }
.about-page .page-body { padding:24px 21px 36px; }
.opening-splash { position:absolute; z-index:200; inset:0; display:grid; place-items:center; background:#000; opacity:1; transition:opacity .6s ease; }
.opening-splash.is-exiting { opacity:0; pointer-events:none; }
.splash-apple { display:block; width:clamp(54px,16vw,76px); height:auto; fill:#fff; animation:splash-boot .9s ease-out both; }
@keyframes splash-boot { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }
.about-intro { text-align:center; }
.about-portrait { width:100px; height:100px; margin:0 auto 20px; position:relative; }
.about-portrait img { width:100%; height:100%; object-fit:cover; border-radius:50%; box-shadow:0 5px 24px rgba(0,0,0,.12); view-transition-name:about-avatar; }
.portrait-badge { position:absolute; right:-6px; bottom:-3px; border:3px solid var(--card); width:32px; height:32px; border-radius:50%; color:#fff; background:#0a84ff; }
.portrait-badge .ui-icon { width:16px; height:16px; }
.about-kicker { font-size:9px; color:var(--secondary-label); font-weight:600; margin:0 0 10px; }
.about-intro h2 { margin:0; font-size:34px; line-height:1.08; font-weight:700; }
.about-role { color:var(--secondary-label); font-size:13px; margin:12px 0 22px; }
.about-actions { display:flex; gap:9px; }
.about-actions button { flex:1; min-height:44px; border:0; border-radius:14px; display:flex; gap:8px; align-items:center; justify-content:center; font-size:13px; font-weight:600; color:var(--label); background:var(--card); cursor:pointer; }
.about-actions button:first-child { color:#fff; background:#007aff; }
.about-actions .ui-icon { width:17px; height:17px; }
.about-story { margin:29px 2px 0; }
.about-story h3 { font-size:19px; font-weight:600; margin:0 0 12px; }
.about-story p { font-size:14px; line-height:1.55; color:var(--secondary-label); margin:9px 0; }
.about-page .section-label { text-transform:none; font-size:13px; margin:26px 2px 10px; color:var(--secondary-label); font-weight:500; }
.focus-row { display:flex; align-items:center; gap:11px; padding:15px 12px; border-bottom:1px solid rgba(128,128,128,.15); }
.focus-row:last-child { border-bottom:0; }
.focus-icon { width:34px; height:34px; border-radius:10px; flex-shrink:0; }
.focus-icon .ui-icon { width:20px; height:20px; }
.blue { color:#0a84ff; background:rgba(10,132,255,.12); }
.green { color:#30a46c; background:rgba(48,164,108,.12); }
.orange { color:#ee9133; background:rgba(238,145,51,.12); }
.focus-row strong,.studio-link strong { display:block; font-size:14px; }
.focus-row small,.studio-link small { display:block; font-size:11px; line-height:1.4; margin-top:4px; color:var(--secondary-label); }
.about-process > div { display:flex; justify-content:space-between; align-items:center; background:var(--card); padding:18px; border-radius:22px; }
.about-process b { display:block; font-size:10px; margin-bottom:5px; color:var(--secondary-label); }
.about-process span { font-size:14px; }
.about-process .ui-icon { width:13px; height:13px; color:var(--secondary-label); }
.studio-link { display:flex; align-items:center; gap:12px; background:var(--card); color:inherit; text-decoration:none; padding:14px; margin-top:20px; border-radius:20px; }
.studio-link > :last-child { margin-left:auto; }
.studio-link > :last-child .ui-icon { width:18px; height:18px; color:var(--secondary-label); }
.about-signoff { margin:24px 0 0; text-align:center; color:var(--secondary-label); font-size:11px; }
.about-signoff [data-icon] { display:inline-grid; vertical-align:-2px; }
.about-signoff [data-icon] .ui-icon { width:14px; height:14px; fill:#ff5b73; stroke:#ff5b73; stroke-width:1.4; }
.resources-intro p { font-size:14px; color:var(--secondary-label); margin:8px 0 0; }
.lab-project { display:block; width:100%; text-align:left; color:var(--label); padding:12px; border:1px solid var(--surface-border); border-radius:28px; background:var(--surface); box-shadow:inset 0 1px rgba(255,255,255,.28),0 14px 32px rgba(0,0,0,.09); backdrop-filter:blur(26px) saturate(160%); -webkit-backdrop-filter:blur(26px) saturate(160%); }
.lab-project-art { display:block; position:relative; overflow:hidden; aspect-ratio:1.55; border-radius:20px; margin-bottom:18px; background:#151315; }
.lab-project-art > img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 48%; }
.lab-project-art::after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.46)); pointer-events:none; }
.cutiz-video-frame { max-height:70svh; }
.cutiz-video-frame .cutiz-video-poster,.cutiz-video-frame .cutiz-video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.cutiz-video-frame .cutiz-video { z-index:1; background:#111; }
.cutiz-video-frame .cutiz-video { opacity:0; transition:opacity .35s ease; }
.cutiz-video-frame.is-playing .cutiz-video { opacity:1; }
.cutiz-video-frame.is-playing .cutiz-video-poster { opacity:0; transition:opacity .35s ease; }
.cutiz-video-frame .cutiz-video[hidden],.cutiz-video-frame button[hidden] { display:none; }
.cutiz-video-frame .cutiz-video-poster[hidden] { display:none; }
.cutiz-video-play,.cutiz-sound-toggle { position:absolute; z-index:3; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.35); color:#fff; background:rgba(18,18,22,.58); box-shadow:inset 0 1px rgba(255,255,255,.2),0 7px 20px rgba(0,0,0,.2); backdrop-filter:blur(18px) saturate(160%); -webkit-backdrop-filter:blur(18px) saturate(160%); cursor:pointer; }
.cutiz-video-play { left:50%; top:50%; width:54px; height:54px; border-radius:50%; transform:translate(-50%,-50%); }
.cutiz-video-play .ui-icon { width:24px; height:24px; margin-left:2px; }
.cutiz-sound-toggle { right:10px; bottom:10px; min-height:34px; gap:6px; padding:0 10px; border-radius:999px; font-size:11px; font-weight:650; }
.cutiz-sound-toggle .ui-icon { width:15px; height:15px; }
@media(prefers-reduced-motion:reduce){.opening-splash,.splash-apple{animation:none;transition-duration:.01ms}}
.cutiz-product-copy { padding:0 7px 7px; }
.cutiz-product-copy > small { color:#df7630; font-size:9px; font-weight:750; letter-spacing:.1em; }
.cutiz-product-copy h2 { margin:8px 0 0; font-size:25px; line-height:1.08; letter-spacing:-.045em; font-weight:720; }
.cutiz-product-copy > p { color:var(--secondary-label); font-size:13px; line-height:1.45; margin:10px 0 0; }
.lab-project-link { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 16px; margin-top:14px; border:0; border-radius:15px; color:#17110c; background:linear-gradient(145deg,#ffad65,#ff8a3d); box-shadow:inset 0 1px rgba(255,255,255,.45),0 5px 14px rgba(255,138,61,.2); text-decoration:none; font-size:13px; font-weight:720; transition:transform .25s var(--spring),filter .25s ease; }
.lab-project-link:active { transform:scale(.98); filter:brightness(.96); }
.lab-project-link .ui-icon { width:17px; height:17px; }
.resources-intro { padding:4px 4px 0; }
.resources-intro p { margin:0; }
.resources-empty { text-align:center; padding:26px 24px 36px; }
.resource-stack { width:92px; height:92px; border-radius:27px; color:#e9a331; background:rgba(233,163,49,.13); transform:rotate(-6deg); }
.resource-stack .ui-icon { width:48px; height:48px; stroke-width:1.4; }
.resources-empty h3 { font-size:26px; line-height:1.15; margin:26px 0 12px; }
.resources-empty p { font-size:14px; line-height:1.55; color:var(--secondary-label); }
.resource-soon { display:inline-block; font-size:11px; color:var(--secondary-label); background:var(--card); padding:8px 13px; border-radius:20px; margin-top:12px; }
.result-chevron .ui-icon { width:14px; height:14px; }
.spotlight-search > [data-icon] .ui-icon { width:19px; height:19px; }
.contact-option b .ui-icon { width:21px; height:21px; }
.share-action > [data-icon] .ui-icon { width:23px; height:23px; }

/* Resting iPhone status bar; the project appears when the Island is opened. */
.statusbar { height:59px; padding:19px 29px 0 31px; align-items:flex-start; text-shadow:none; }
.statusbar #clock { font-size:17px; line-height:20px; font-weight:600; }
.status-icons { height:20px; gap:6px; align-items:center; }
.screen.island-compact .cellular-icon,.screen.island-compact .wifi-icon { display:block; }
.status-icons .cellular-icon { width:18px; height:12px; }
.status-icons .wifi-icon { width:17px; height:12px; }
.status-icons .battery-icon { width:27px; height:13px; }
.cellular-icon rect:last-child { opacity:.3; }
.battery-icon .battery-case { opacity:.45; }
.battery-icon .battery-cap { opacity:.4; }
.island { top:11px; width:126px; height:37px; border-radius:22px; box-shadow:inset 0 0 0 .5px rgba(255,255,255,.07); }
.island { width:210px; }
.island .island-idle { display:flex; padding:0 14px; }
.island-lens { left:80%; width:9px; height:9px; background:radial-gradient(circle at 42% 35%,#102346 0 9%,#070d19 28%,#020306 66%); }
.island:focus-visible { outline-offset:3px; }
.compact-project { gap:8px; }
.compact-mark { flex:none; width:25px; height:25px; object-fit:cover; border-radius:7px; box-shadow:none; }
.compact-copy { display:flex; align-items:baseline; gap:3px; min-width:0; line-height:1.1; text-align:left; white-space:nowrap; }
.compact-copy strong { font-size:11px; font-weight:600; }
.compact-copy small { color:#a6a6ad; font-size:9px; }
.compact-separator { color:#a6a6ad; font-size:9px; }
.compact-status { height:24px; gap:2px; color:#a7c4ff; }
.compact-status i { display:block; width:2px; height:17px; border-radius:2px; background:currentColor; animation:music-wave .75s ease-in-out infinite alternate; }
.compact-status i:nth-child(2),.compact-status i:nth-child(6) { animation-delay:-.52s; }
.compact-status i:nth-child(3),.compact-status i:nth-child(5) { animation-delay:-.27s; }
.compact-status i:nth-child(4) { animation-delay:-.63s; }
.compact-status i:nth-child(7) { animation-delay:-.38s; }
@keyframes music-wave { from { transform:scaleY(.24); opacity:.56; } to { transform:scaleY(1); opacity:1; } }
.expanded-art { object-fit:cover; background:none; }
.expanded-art .mini-play { display:none; }
.island-teaser { display:block; margin-top:16px; }
.island-teaser strong { font-size:16px; }
.island-project-foot { margin-top:9px; }
.island.open { height:184px; }
.island-expanded-card { padding-bottom:18px; }
.progress-track i { width:95%; background:linear-gradient(90deg,#ff7a00,#ffa04c); }
.island .island-project-cta { cursor:pointer; color:#211005; background:linear-gradient(145deg,#ffad65,#ff7a1a); box-shadow:inset 0 1px rgba(255,255,255,.4); }
.cutiz-art { overflow:hidden; padding:0; background:#ff7a00; }
.cutiz-art img { width:100%; height:100%; object-fit:cover; }
.icon-cutiz.real-icon { background:#ff7a00; }
.icon-nana.real-icon { background:#fff; }

/* Store-like project details, using the same compact rhythm as the FaithLock fiche. */
.project-page { background:#fff; color:#111; }
.project-page-body { padding:20px 24px 108px; }
.project-store-product { display:grid; grid-template-columns:106px minmax(0,1fr); align-items:start; gap:15px; padding:0 0 21px; }
.project-store-product img { display:block; width:106px; height:106px; object-fit:cover; border-radius:25px; box-shadow:0 9px 22px rgba(0,0,0,.15); }
.project-store-product h2 { margin:1px 0 6px; font-size:22px; line-height:1.08; letter-spacing:-.035em; font-weight:750; }
.project-store-product p { margin:0 0 13px; color:#777980; font-size:12px; line-height:1.25; }
.project-open-pill { display:inline-flex; justify-content:center; align-items:center; min-height:32px; padding:0 14px; border-radius:999px; background:#3478dc; color:#fff; font-size:12px; font-weight:700; text-decoration:none; }
.project-open-pill[hidden] { display:none; }
.project-store-facts { display:flex; overflow-x:auto; scrollbar-width:none; padding:14px 0; border-top:1px solid #e6e6e9; border-bottom:1px solid #e6e6e9; }
.project-store-fact { flex:0 0 calc(100% / var(--facts-count,3)); min-width:0; min-height:73px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:0 5px; border-right:1px solid #e4e4e6; }
.project-store-fact:last-child { border-right:0; }
.project-store-fact small { display:grid; place-items:center; min-height:22px; color:#8c8d93; font-size:9px; line-height:1.05; font-weight:700; letter-spacing:.01em; text-transform:uppercase; }
.project-store-fact strong { color:#5f6067; font-size:15px; line-height:1.1; overflow-wrap:anywhere; }
.project-store-fact span { color:#96979d; font-size:9px; line-height:1.1; overflow-wrap:anywhere; }
.project-store-section { padding:20px 0; border-bottom:1px solid #e6e6e9; }
.project-store-section h3 { margin:0 0 13px; font-size:23px; line-height:1.1; letter-spacing:-.035em; }
.project-store-section > p { margin:0; color:#45464c; font-size:14px; line-height:1.48; }
.project-store-features { display:flex; flex-wrap:wrap; gap:7px; margin:16px 0 0; padding:0; list-style:none; }
.project-store-features:empty { display:none; }
.project-store-features li { padding:7px 10px; border-radius:999px; color:#4f5561; background:#f0f1f4; font-size:11px; font-weight:600; }
.project-store-rail { display:flex; gap:11px; margin:0 -24px; padding:0 24px 4px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x mandatory; }
.project-store-rail button { flex:0 0 180px; aspect-ratio:9/16; overflow:hidden; padding:0; border:0; border-radius:20px; background:#f3f3f5; scroll-snap-align:start; cursor:zoom-in; }
.project-store-rail img { display:block; width:100%; height:100%; object-fit:cover; }
.project-store-info dl { display:grid; grid-template-columns:1fr auto; gap:0 12px; margin:0; font-size:12px; }
.project-store-info dt,.project-store-info dd { margin:0; padding:10px 0; border-top:1px solid #ececef; }
.project-store-info dt { color:#96979d; }
.project-store-info dd { max-width:180px; text-align:right; color:#45464c; }
html[data-theme="dark"] .project-page { background:#000; color:#f5f5f7; }
html[data-theme="dark"] .project-store-product p,html[data-theme="dark"] .project-store-section > p,html[data-theme="dark"] .project-store-info dd { color:#b9b9c0; }
html[data-theme="dark"] .project-store-facts,html[data-theme="dark"] .project-store-section,html[data-theme="dark"] .project-store-info dt,html[data-theme="dark"] .project-store-info dd { border-color:rgba(255,255,255,.12); }
html[data-theme="dark"] .project-store-fact { border-color:rgba(255,255,255,.12); }
html[data-theme="dark"] .project-store-fact strong { color:#d1d1d6; }
html[data-theme="dark"] .project-store-features li { color:#d1d1d6; background:#242429; }

/* Open-source details use a code-focused editorial layout inside the same iOS shell. */
.source-page { background:#f4f5f8; color:#17181c; }
.source-page-body { padding:20px 20px 38px; }
.source-hero { position:relative; overflow:hidden; padding:23px 21px 21px; border:1px solid rgba(255,255,255,.9); border-radius:29px; background:linear-gradient(145deg,color-mix(in srgb,var(--source-accent) 17%,white),#fff 65%); box-shadow:inset 0 1px #fff,0 15px 36px rgba(30,38,58,.1); }
.source-hero::after { content:""; position:absolute; width:150px; height:150px; top:-90px; right:-45px; border:1px solid color-mix(in srgb,var(--source-accent) 26%,transparent); border-radius:50%; pointer-events:none; }
.source-hero-top { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.source-mark { display:block; width:58px; height:58px; flex:none; object-fit:cover; border:1px solid rgba(255,255,255,.48); border-radius:17px; background:#0d1324; box-shadow:inset 0 1px rgba(255,255,255,.32),0 8px 20px color-mix(in srgb,var(--source-accent) 25%,transparent); }
.source-hero-type { max-width:130px; padding:7px 10px; border:1px solid color-mix(in srgb,var(--source-accent) 15%,transparent); border-radius:999px; background:rgba(255,255,255,.65); color:color-mix(in srgb,var(--source-accent) 72%,#17181c); font-size:10px; font-weight:700; line-height:1.15; text-align:center; }
.source-eyebrow { margin:26px 0 7px; color:color-mix(in srgb,var(--source-accent) 72%,#30323a); font-size:10px; font-weight:750; letter-spacing:.12em; }
.source-hero h2 { margin:0; max-width:285px; font-size:27px; line-height:1.06; letter-spacing:-.045em; font-weight:760; overflow-wrap:anywhere; }
.source-subtitle { margin:11px 0 23px; max-width:280px; color:#565c67; font-size:13px; line-height:1.38; }
.source-github-link { position:relative; z-index:1; display:flex; align-items:center; gap:9px; min-height:43px; width:max-content; max-width:100%; padding:0 14px; border-radius:14px; background:#17191f; color:#fff; font-size:12px; font-weight:700; text-decoration:none; transition:transform .22s var(--spring),background .22s ease; }
.source-github-link:hover { background:var(--source-accent); }
.source-github-link:active { transform:scale(.97); }
.source-github-link [data-icon] { display:grid; place-items:center; }
.source-github-link .ui-icon { width:17px; height:17px; }
.source-github-link > :last-child { margin-left:5px; font-size:15px; }
.source-section { padding:25px 2px 22px; border-bottom:1px solid rgba(90,95,108,.16); }
.source-section h3 { margin:0 0 11px; font-size:17px; line-height:1.2; letter-spacing:-.025em; }
.source-section > p { margin:0; color:#555b66; font-size:13px; line-height:1.5; }
.source-highlights { margin:0; padding:0; list-style:none; }
.source-highlights li { display:grid; grid-template-columns:23px minmax(0,1fr); gap:11px; padding:11px 0; border-bottom:1px solid rgba(90,95,108,.11); }
.source-highlights li:last-child { border-bottom:0; padding-bottom:0; }
.source-highlights span { color:var(--source-accent); font-size:10px; font-weight:750; line-height:1.5; }
.source-highlights p { margin:0; color:#3f4650; font-size:13px; line-height:1.4; }
.source-stack-section { border-bottom:0; }
.source-stack { display:flex; flex-wrap:wrap; gap:7px; }
.source-stack span { padding:7px 10px; border:1px solid color-mix(in srgb,var(--source-accent) 15%,transparent); border-radius:9px; background:color-mix(in srgb,var(--source-accent) 8%,white); color:#414955; font-size:11px; font-weight:650; }
html[data-theme="dark"] .source-page { background:#090a0d; color:#f5f5f7; }
html[data-theme="dark"] .source-hero { border-color:rgba(255,255,255,.15); background:linear-gradient(145deg,color-mix(in srgb,var(--source-accent) 28%,#111217),#15161b 66%); box-shadow:inset 0 1px rgba(255,255,255,.14),0 16px 34px rgba(0,0,0,.25); }
html[data-theme="dark"] .source-hero-type { color:#e5e5ed; background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.14); }
html[data-theme="dark"] .source-eyebrow { color:color-mix(in srgb,var(--source-accent) 36%,white); }
html[data-theme="dark"] .source-subtitle,html[data-theme="dark"] .source-section > p { color:#b6b7c0; }
html[data-theme="dark"] .source-github-link { background:#f3f3f5; color:#121317; }
html[data-theme="dark"] .source-github-link:hover { background:color-mix(in srgb,var(--source-accent) 30%,white); }
html[data-theme="dark"] .source-section { border-color:rgba(255,255,255,.13); }
html[data-theme="dark"] .source-highlights li { border-color:rgba(255,255,255,.09); }
html[data-theme="dark"] .source-highlights p { color:#d5d5dc; }
html[data-theme="dark"] .source-stack span { color:#d6d6df; background:color-mix(in srgb,var(--source-accent) 18%,#191a20); border-color:rgba(255,255,255,.1); }
@media (prefers-reduced-motion:reduce) { .source-github-link { transition:none; } }

/* Make the FaithLock listing easier to scan without losing its iOS hierarchy. */
#faithStore .store-content { padding-left:24px; padding-right:24px; }
#faithStore .store-top-actions { height:98px; padding-top:48px; }
#faithStore .store-product { padding-bottom:15px; }
#faithStore .store-facts { margin:0; padding:12px 0 11px; }
#faithStore .store-fact { flex:0 0 33.333%; min-width:0; padding:0 6px; }
#faithStore .store-section { padding-top:16px; padding-bottom:18px; }
#faithStore .store-section-heading { margin-bottom:12px; }
#faithStore .store-rail { margin:0 -24px 0 0; padding:0 24px 5px 0; }
.store-tabs .store-tab { flex:1; width:auto; font-size:11px; }

/* Short feedback on interaction; nothing loops while someone is reading. */
@keyframes symbol-bounce { 0%,100% { transform:translateY(0) scale(1); } 35% { transform:translateY(-4px) scale(1.08); } 65% { transform:translateY(1px) scale(.97); } }
@keyframes symbol-turn { 0% { transform:rotate(0); } 65% { transform:rotate(70deg); } 100% { transform:rotate(60deg); } }
@keyframes icon-arrive { from { opacity:0; transform:translateY(8px) scale(.92); } to { opacity:1; transform:none; } }
.home-launchers .app { animation:icon-arrive .55s var(--spring) both; }
.home-launchers .app:nth-child(2) { animation-delay:.06s; }
.home-launchers .app:nth-child(3) { animation-delay:.12s; }
.home-launchers .app:nth-child(4) { animation-delay:.18s; }
:is(button,a):is(:hover,:focus-visible) > .ui-icon,
:is(button,a):is(:hover,:focus-visible) [data-icon] > .ui-icon,
:is(button,a):is(:hover,:focus-visible) .app-icon > img { animation:symbol-bounce .55s var(--spring); }
:is(button,a):is(:hover,:focus-visible) .symbol-settings { animation-name:symbol-turn; }
.app:active .app-icon,.dock-action:active .dock-icon { transform:scale(.91); }
.app-icon,.dock-icon { transition:transform .2s var(--spring); }
/* Translated pages stay outside keyboard and assistive-technology navigation. */
.ios-page:not(.active),.store-page:not(.active),.sheet-layer:not(.open),.store-sheet-layer:not(.open),.spotlight:not(.open),.screenshot-viewer:not(.open),.store-tabs:not(.active) { visibility:hidden; }
.screen:has(.ios-page.active,.store-page.active) .home { visibility:hidden; }
.screen:has(.ios-page.active):not(.store-mode) .statusbar { color:var(--label); }

/* Liquid Glass controls: real translucency, a fine inner edge, and native spring feedback. */
.portfolio-tabbar {
  position:sticky; z-index:40; bottom:12px; display:grid; grid-template-columns:1fr 1fr; gap:5px;
  margin:0 16px 12px; padding:5px; min-height:66px; border:1px solid rgba(255,255,255,.22);
  border-radius:25px; background:linear-gradient(145deg,rgba(255,255,255,.25),rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 12px 30px rgba(0,0,0,.2);
  backdrop-filter:blur(36px) saturate(190%); -webkit-backdrop-filter:blur(36px) saturate(190%);
}
.portfolio-tab { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-height:54px; border:1px solid transparent; border-radius:20px; background:transparent; color:inherit; font:600 13px/1 "Satoshi",sans-serif; cursor:pointer; transition:transform .28s var(--spring),background .28s var(--spring),box-shadow .28s var(--spring); }
.portfolio-tab[aria-selected="true"] { color:#087af5; background:linear-gradient(145deg,rgba(255,255,255,.55),rgba(255,255,255,.22)); border-color:rgba(255,255,255,.28); box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 3px 10px rgba(0,0,0,.1); }
.tab-symbol .ui-icon { width:19px; height:19px; stroke-width:2; }
.portfolio-tab:active { transform:scale(.96); }
.screen .apps-page { display:flex; flex-direction:column; overflow:hidden; padding-bottom:0; }
.apps-page[data-active-group="my"] :is(#apps-client,#apps-open-source),.apps-page[data-active-group="client"] :is(#apps-my,#apps-open-source),.apps-page[data-active-group="open-source"] :is(#apps-my,#apps-client) { display:none; }
.apps-page[data-active-group="all"] #apps-open-source { display:none; }
.apps-page[data-active-group="my"] #apps-my .app-section-head,.apps-page[data-active-group="client"] #apps-client .app-section-head,.apps-page[data-active-group="open-source"] #apps-open-source .app-section-head { display:none; }
.apps-page #appsNativeHeader { flex:0 0 auto; }
.apps-page .apps-page-body { position:relative; flex:1; min-height:0; overflow-y:auto; padding:16px 20px 24px; scrollbar-width:none; }
.apps-page .apps-intro { max-width:32ch; margin:0 1px 20px; color:var(--secondary-label); font-size:14px; line-height:1.38; font-weight:400; }
.apps-page .apps-hero { padding:0 1px 20px; }
.apps-page .apps-hero p { margin:0; color:var(--secondary-label); font-size:15px; line-height:1.4; }
.apps-page .app-section-rail { margin:0; padding:0 0 10px; }
.apps-page .app-section-card { flex-basis:calc(100% - 28px); }
.apps-page #apps-open-source .app-section-card { flex-basis:100%; }
.apps-page #apps-open-source .row-copy small { white-space:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-height:1.2; }
.apps-page .portfolio-tabbar { position:relative; flex:0 0 auto; bottom:auto; margin:0 16px 22px; min-height:64px; }
.apps-page .portfolio-app-row { grid-template-columns:52px minmax(0,1fr) auto; gap:10px; min-height:82px; padding:11px 10px; }
.apps-page .portfolio-app-row .row-icon { width:52px; height:52px; }
.apps-page .portfolio-app-row .oss-icon { display:block; object-fit:cover; border:1px solid rgba(255,255,255,.35); border-radius:14px; background:#0d1324; box-shadow:inset 0 1px rgba(255,255,255,.24),0 5px 13px rgba(0,0,0,.14); }
.apps-page .portfolio-app-row .row-copy strong { font-size:15px; line-height:1.2; font-weight:500; }
.apps-page .portfolio-app-row .row-copy small { color:var(--secondary-label); font-size:13px; font-weight:400; }
.apps-page .get-pill[data-ui="button"] { min-width:62px; padding:0 10px; --ui-control-font:13px; }
.settings-group { background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.08)); border:1px solid rgba(255,255,255,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.23),0 8px 24px rgba(0,0,0,.08); backdrop-filter:blur(26px) saturate(170%); -webkit-backdrop-filter:blur(26px) saturate(170%); }
.apps-page { background:linear-gradient(155deg,rgba(20,21,27,.62),rgba(12,13,18,.48)); backdrop-filter:blur(32px) saturate(175%); -webkit-backdrop-filter:blur(32px) saturate(175%); }
.app-section-card { position:relative; background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.055)); border:1px solid rgba(255,255,255,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 12px 28px rgba(0,0,0,.12); backdrop-filter:blur(24px) saturate(170%); -webkit-backdrop-filter:blur(24px) saturate(170%); }
.portfolio-app-row { border-color:rgba(255,255,255,.11); }
.portfolio-app-row:active { background:rgba(255,255,255,.12); }
.get-pill { min-width:70px; height:30px; border:1px solid rgba(255,255,255,.15); background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.07)); color:#58aaff; font-size:14px; font-weight:600; box-shadow:inset 0 1px 0 rgba(255,255,255,.2); backdrop-filter:blur(18px) saturate(150%); -webkit-backdrop-filter:blur(18px) saturate(150%); transition:transform .25s var(--spring),background .25s var(--spring); }
.get-pill:active { transform:scale(.93); background:rgba(255,255,255,.26); }
.contact-option,.about-actions button,.about-process > div,.studio-link { border:1px solid rgba(255,255,255,.2); background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.08)); box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 7px 20px rgba(0,0,0,.08); backdrop-filter:blur(26px) saturate(170%); -webkit-backdrop-filter:blur(26px) saturate(170%); }
.about-process > div { min-height:104px; padding:16px 14px; }
.about-process > div > span:not([data-icon]) { flex:1; text-align:center; font-size:14px; }
.about-process b { font-size:12px; margin:0 auto 8px; }
.about-process > div > [data-icon] { flex:0 0 auto; opacity:.65; }
.about-actions button,.contact-option,.studio-link { transition:transform .28s var(--spring),background .28s var(--spring),box-shadow .28s var(--spring); }
.about-actions button:active,.contact-option:active { transform:scale(.975); }
.about-actions button:first-child { background:linear-gradient(145deg,rgba(10,132,255,.9),rgba(0,100,220,.78)); }
html[data-theme="light"] .portfolio-tabbar { border-color:rgba(255,255,255,.72); background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(245,246,250,.46)); box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 30px rgba(30,35,48,.14); }
html[data-theme="light"] .portfolio-tab[aria-selected="true"] { background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.68)); border-color:rgba(255,255,255,.86); box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(0,0,0,.1); }
html[data-theme="light"] .settings-group { background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(245,246,250,.56)); border-color:rgba(255,255,255,.9); }
html[data-theme="light"] .apps-page { background:linear-gradient(155deg,rgba(247,247,251,.70),rgba(239,240,246,.58)); color:#111; }
html[data-theme="light"] .app-section-card { background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.4)); border-color:rgba(255,255,255,.85); box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 26px rgba(30,35,48,.08); }
html[data-theme="light"] .portfolio-app-row { border-color:rgba(60,60,67,.12); }
html[data-theme="light"] .get-pill { color:#0678ee; background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(235,240,249,.62)); border-color:rgba(255,255,255,.86); box-shadow:inset 0 1px 0 #fff,0 2px 6px rgba(0,0,0,.06); }
html[data-theme="light"] .contact-option,html[data-theme="light"] .about-process > div,html[data-theme="light"] .studio-link { color:#17171a; background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.42)); border-color:rgba(255,255,255,.8); }
@media (prefers-reduced-motion:reduce) { .portfolio-tab,.settings-toggle::before,.settings-toggle i,.contact-option,.about-actions button,.about-process > div,.studio-link,.lab-project-link { transition:none; } }

@media (max-width:600px) {
  html.platform-phone.phone-portrait .home { padding:64px 20px 18px; gap:20px; }
  html.platform-phone.phone-portrait .home-bottom { position:sticky; bottom:0; z-index:10; }
  html.platform-phone.phone-portrait.phone-short .home { padding:58px 18px 16px; gap:14px; }
  html.platform-phone.phone-portrait.phone-short .intro-widget { padding:14px; border-radius:26px; }
  html.platform-phone.phone-portrait.phone-short .intro-title { font-size:clamp(22px,7vw,28px); margin:12px 0 0; }
  html.platform-phone.phone-portrait.phone-short .home .app-icon { width:55px; height:55px; }
  html.platform-phone.phone-portrait.phone-short .home .app { min-height:77px; }
  html.platform-phone.phone-portrait.phone-short .home-featured { margin-top:6px; }
  html.platform-phone.phone-portrait.phone-short .home-dock { padding:10px 14px; }
  html.platform-phone.phone-portrait.phone-very-short .home { gap:16px; }
  html.platform-phone.phone-portrait.phone-very-short .home-featured { margin-top:8px; }
  html.platform-phone.phone-portrait.phone-very-short .home-spacer { display:none; }
}

/* iOS can suspend entrance animations while the page is in the background. */
html.platform-ios-phone .intro-widget,
html.platform-ios-phone .intro-top,
html.platform-ios-phone .intro-top .intro-avatar,
html.platform-ios-phone .intro-title > span > span,
html.platform-ios-phone .intro-description,
html.platform-ios-phone .intro-foot { animation:none; }

/* Contact composer. Keep the select native so iOS supplies its own picker. */
.contact-sheet [hidden] { display:none!important; }
.contact-sheet .sheet-card { min-height:0; max-height:86%; touch-action:pan-y; overscroll-behavior:contain; }
.contact-sheet .grabber { touch-action:none; cursor:grab; }
.contact-sheet h2 { margin:4px 0 8px; }
.contact-sheet .contact-option { color:var(--label); font-family:inherit; font-size:12px; font-weight:500; line-height:1.2; cursor:pointer; min-height:88px; background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.07)); border:1px solid var(--surface-border); }
.contact-sheet .contact-option b { background:rgba(128,138,160,.13); border:1px solid var(--surface-border); box-shadow:inset 0 1px 0 rgba(255,255,255,.3); }
.contact-sheet .contact-option[aria-pressed="true"] { border-color:#0a84ff; background:rgba(10,132,255,.13); color:var(--ios-blue); box-shadow:inset 0 1px rgba(255,255,255,.5),0 0 0 1px rgba(10,132,255,.2); }
.contact-form { display:grid; gap:10px; margin-top:22px; animation:contact-reveal .3s var(--spring); }
.contact-form label { display:block; margin:0 2px 7px; color:var(--label); font-size:13px; font-weight:600; }
.contact-form > label { margin-bottom:-3px; }
.contact-form select,.contact-form textarea,.language-select { width:100%; min-height:48px; border:1px solid var(--surface-border); border-radius:16px; padding:12px; background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.07)); color:var(--label); font:inherit; font-size:16px; line-height:1.4; box-shadow:inset 0 1px rgba(255,255,255,.25),0 3px 10px rgba(0,0,0,.05); backdrop-filter:blur(20px) saturate(160%); -webkit-backdrop-filter:blur(20px) saturate(160%); }
.contact-form select { appearance:auto; cursor:pointer; }
.contact-form select option { color:var(--label); background:var(--card); }
.contact-form textarea { resize:vertical; min-height:88px; }
.contact-form textarea::placeholder { color:var(--secondary-label); opacity:1; }
.contact-form .contact-hint { font-size:12px; line-height:1.4; color:var(--secondary-label); }
.contact-hint:empty { display:none; }
.contact-continue,.contact-linkedin { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:12px; border:1px solid rgba(255,255,255,.35); border-radius:18px; color:white; background:linear-gradient(145deg,rgba(10,132,255,.92),rgba(0,100,220,.8)); box-shadow:inset 0 1px rgba(255,255,255,.45),0 5px 16px rgba(0,100,220,.16); font:inherit; font-size:15px; font-weight:600; text-decoration:none; cursor:pointer; transition:transform .25s var(--spring); }
.contact-continue:disabled { opacity:.45; cursor:default; }
.contact-continue:active,.contact-linkedin:active { transform:scale(.975); }
.contact-sheet .sheet-actions .close-sheet { min-height:44px; border:1px solid var(--surface-border); color:var(--label); background:linear-gradient(145deg,rgba(128,138,160,.18),rgba(128,138,160,.07)); box-shadow:inset 0 1px rgba(255,255,255,.18); }
.about-socials { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:25px; }
.social-link { display:flex; align-items:center; flex-direction:column; justify-content:center; gap:9px; min-height:76px; border:1px solid var(--surface-border); border-radius:20px; color:var(--label); background:var(--surface); box-shadow:inset 0 1px rgba(255,255,255,.3),0 5px 15px rgba(0,0,0,.06); backdrop-filter:blur(22px) saturate(160%); -webkit-backdrop-filter:blur(22px) saturate(160%); text-decoration:none; font-size:11px; transition:transform .25s var(--spring); }
.social-link:active { transform:scale(.94); }
.social-link[aria-disabled="true"] { opacity:.45; }
.language-select { width:auto; max-width:155px; min-height:44px; }
.spotlight-inner { padding:64px 18px 28px; }
.spotlight-search-row { position:relative; z-index:1; display:flex; align-items:center; gap:9px; }
.spotlight-search { position:relative; z-index:1; flex:1; min-width:0; }
.spotlight-close { flex:none; width:44px; height:44px; }
.spotlight-close svg { width:18px; height:18px; }
.search-rail { margin:0; padding:0 0 8px; scroll-padding-inline:0; }
.search-section-heading { padding:0 2px 10px; color:var(--secondary-label); }
.search-section-heading span:last-child { font:inherit; color:inherit; letter-spacing:inherit; }
.search-result .app-icon:not(.real-icon) { color:#fff; }
.search-result .icon-resources { background:linear-gradient(145deg,#be7200,#915100); }
.search-result .icon-about { background:linear-gradient(145deg,#ce5260,#a53547); }
.search-result small { opacity:1; color:var(--secondary-label); }
.search-result .result-chevron { color:var(--secondary-label); }
.horizontal-scroll { cursor:grab; }
.horizontal-scroll.is-dragging,.horizontal-scroll.is-dragging * { cursor:grabbing!important; user-select:none; }
.horizontal-scroll.is-dragging { scroll-snap-type:none; scroll-behavior:auto; }
.horizontal-scroll img { -webkit-user-drag:none; user-select:none; }
html[data-theme="light"] .search-section-heading,html[data-theme="light"] .search-section-heading span:last-child { color:#62626a; }
.settings-row + .settings-row { border-top:1px solid var(--surface-border); }
html[data-theme="light"] .contact-sheet .contact-option { background:linear-gradient(145deg,rgba(255,255,255,.83),rgba(255,255,255,.42)); }
html[data-theme="light"] .contact-sheet .contact-option[aria-pressed="true"] { background:rgba(0,122,255,.1); }
@keyframes contact-reveal { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Both app collections share one scrollable page. */
.apps-page .app-section + .app-section { margin-top:24px; }

.screen :is(.home-section-heading,.app-section-head) h2 { margin:0; font-size:calc(20px * var(--text-scale,1)); line-height:1.25; font-weight:600; letter-spacing:-.02em; }
.apps-page .app-section-head { align-items:center; padding:0 0 12px; }


.apps-page .row-iap { bottom:5px; right:12px; font-size:calc(11px * var(--text-scale,1)); line-height:1.2; }

/* Pause hidden decoration instead of repainting it behind every active page. */
.screen:has(.ios-page.active,.store-page.active,.spotlight.open,.sheet-layer.open) .home { --home-motion:paused; }
.home,.home *,.home::before,.home::after,.home *::before,.home *::after { animation-play-state:var(--home-motion,running); }
html.document-hidden *,html.document-hidden *::before,html.document-hidden *::after { animation-play-state:paused!important; }
