/* App icons on the portfolio and in the mobile collection. */
.aw-app-shelf{display:grid;place-items:center;padding:20px 8px;background:radial-gradient(ellipse at 45% 55%,#214959,#102532 70%,#0c1b29)}
.aw-icon-row{display:flex;align-items:start;justify-content:center;gap:clamp(10px,2vw,30px);width:100%}
.aw-launch-icon{display:grid;justify-items:center;gap:8px;padding:4px 1px;background:none;color:#f2f8fa;border:0;font:600 .87rem/1.2 system-ui;cursor:pointer;white-space:nowrap}
.aw-launch-icon img{width:clamp(44px,5vw,72px);height:auto;aspect-ratio:1;border-radius:23%;box-shadow:0 5px 12px #06121d70;transition:transform .15s}
.aw-launch-icon:hover img,.aw-launch-icon:focus-visible img{transform:translateY(-3px)}
.aw-launch-icon:focus-visible,.aw-screen-list button:focus-visible,.aw-touch:focus-visible{outline:2px solid #76e7eb;outline-offset:2px}
.aw-app-grid-home{min-height:clamp(175px,21vw,245px);border:1px solid #355365;border-radius:13px;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 80%,#214954,#102431 75%);padding:12px}
.aw-app-grid-home .aw-icon-row{gap:clamp(18px,6vw,80px)}
.aw-app-grid-home .aw-launch-icon img{width:clamp(65px,8vw,100px)}
.aw-app-grid-home .aw-launch-icon{font-size:1rem}
.aw-gallery{width:min(38rem,100%);overflow:hidden}
.aw-gallery-head{height:50px;padding:4px 8px 4px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.aw-gallery-head h2{font:650 1.18rem/1.2 system-ui;margin:0;padding:0}
.aw-gallery-head .aw-close{position:static;float:none;margin:0;flex:none;width:40px;height:40px}
.aw-screens{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,8rem);gap:12px;padding:0 12px 12px;height:min(40rem,calc(100vh - var(--aw-header-height) - 80px));height:min(40rem,calc(100dvh - var(--aw-header-height) - 80px));min-height:0}
.aw-phone-area{display:grid;place-items:center;min-width:0;min-height:0;container-type:size;background:#0c1e2b;border-radius:12px}
.aw-shot,.aw-launch-screen{grid-area:1/1;width:100%;height:100%;display:grid;place-items:center;min-width:0;min-height:0}
.aw-gallery [hidden]{display:none!important}
.aw-shot-canvas{position:relative;aspect-ratio:var(--shot-ratio);width:min(100cqw,calc(100cqh * var(--shot-ratio)));max-height:100%;overflow:hidden;border-radius:9px;background:white}
.aw-gallery[data-gallery=alex]{--shot-ratio:.56162}
.aw-gallery[data-gallery=marfa],.aw-gallery[data-gallery=kalapat]{--shot-ratio:.52703}
.aw-shot-canvas img{display:block;width:100%;height:100%;object-fit:contain}
.aw-launch-screen img{width:min(32cqw,105px);height:auto;border-radius:22%}
[data-gallery=alex] .aw-launch-screen img{object-fit:contain;width:100%;height:100%;border-radius:8px}
.aw-touch{position:absolute;cursor:pointer;border:none;background:transparent;padding:0}
.aw-touch:focus-visible{outline-offset:-3px}
.aw-screen-list{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:5px}
.aw-screen-list button{font:550 .9rem/1.15 system-ui;text-align:left;border:1px solid #375865;background:#142f3d;border-radius:8px;color:#dceef3;padding:6px 10px;min-height:38px;cursor:pointer}
.aw-screen-list button[aria-pressed=true]{color:#122e33;background:#a6e2db;border-color:#b6f1e5}
[data-gallery=kalapat] .sim-bar{display:none}
[data-gallery=kalapat] .aw-sim{width:100%;max-height:100%;margin:0;box-shadow:none}
[data-gallery=kalapat]:has([data-screen=demo]:not([hidden])){width:min(46rem,100%)}
@media(max-width:550px) and (orientation:portrait){
 .aw-screens{display:flex;flex-direction:column;height:min(42rem,calc(100dvh - var(--aw-header-height) - 78px));padding:0 8px 8px;gap:7px}
 .aw-phone-area{flex:1}
 .aw-screen-list{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
 .aw-screen-list button{text-align:center;padding:4px;min-height:37px}
 .aw-screen-list:has(>:last-child:nth-child(2)){grid-template-columns:repeat(2,1fr)}
}
@media(orientation:landscape) and (max-height:480px){
 .aw-gallery-head{height:40px}.aw-screens{height:calc(100dvh - var(--aw-header-height) - 66px)}
 .aw-screen-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center}
 .aw-screens{grid-template-columns:minmax(0,1fr) minmax(170px,36%)}
 [data-gallery=kalapat] .aw-screens{grid-template-columns:minmax(0,1fr) 110px}
 [data-gallery=kalapat] .aw-screen-list{display:flex}
}
@media(prefers-reduced-motion:reduce){.aw-launch-icon img{transition:none}}

.aw-inshot-menu{position:absolute;right:3%;top:8%;display:grid;min-width:48%;padding:5px;gap:2px;border:1px solid #496879;border-radius:8px;background:#132e40;box-shadow:0 6px 18px #101e2a66}
.aw-inshot-menu button{min-height:30px;padding:3px 8px;text-align:left;color:#effbfd;background:none;border:0;font:600 0.85rem system-ui;cursor:pointer}
.aw-touch.aw-demo-toggle{display:grid;place-items:center;border:1px solid #276750;border-radius:999px;background:#d9f5e6;color:#193c33;font:650 clamp(8px,2.6cqw,14px)/1 system-ui}
