.case-device-frame { display: grid; width: 100%; min-width: 0; min-height: 0; place-items: center; }
.case-device { width: auto; height: auto; max-width: 100%; clip-path: var(--device-cutout, none); }
.case-phone-shell {
  --phone-edge: clamp(.26rem, .55vw, .5rem);
  position: relative;
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding: var(--phone-edge);
  border: 1px solid #727678;
  border-radius: clamp(1rem, 2vw, 1.8rem);
  background: #0b0c0d;
  box-shadow: inset 0 0 0 1px #36383b, 0 0 0 1px #090909;
}
.case-phone-shell::before, .case-phone-shell::after { position: absolute; width: 2px; border-radius: .15rem; background: #616367; content: ''; }
.case-phone-shell::before { inset: 21% auto auto -3px; height: 13%; }
.case-phone-shell::after { inset: 27% -3px auto auto; height: 9%; }
.case-phone-shell .case-device { border-radius: clamp(.72rem, 1.45vw, 1.35rem); }
.case-phone-notch { position: absolute; z-index: 1; top: calc(var(--phone-edge) + .27rem); left: 50%; width: 24%; height: clamp(.24rem, .8vw, .5rem); border-radius: 1rem; background: #070809; transform: translateX(-50%); pointer-events: none; }

.case-device[data-device='ueb-bienvenida'] {
  --device-cutout: polygon(
    16.561% 1.578%, 14.307% 1.804%, 11.826% 2.255%, 9.797% 2.875%,
    9.008% 3.213%, 7.542% 4.002%, 6.415% 4.848%, 5.626% 5.693%,
    4.837% 7.159%, 4.498% 9.808%, 4.611% 15.953%, 4.047% 16.122%,
    4.047% 19.448%, 4.611% 19.617%, 4.611% 22.379%, 4.047% 22.548%,
    4.047% 28.974%, 4.611% 29.200%, 4.611% 30.834%, 4.047% 31.003%,
    4.047% 37.542%, 4.611% 37.768%, 4.724% 92.052%, 5.851% 94.307%,
    6.753% 95.209%, 7.993% 96.054%, 10.023% 97.012%, 12.503% 97.745%,
    14.758% 98.140%, 17.238% 98.365%, 83.100% 98.365%, 83.890% 98.309%,
    85.468% 98.140%, 87.497% 97.802%, 88.850% 97.463%, 90.992% 96.674%,
    92.458% 95.885%, 93.472% 95.152%, 94.487% 94.081%, 95.276% 92.503%,
    95.502% 91.094%, 95.502% 36.584%, 95.953% 36.415%, 95.953% 26.099%,
    95.502% 25.817%, 95.502% 8.681%, 95.163% 7.159%, 94.374% 5.693%,
    93.585% 4.848%, 91.218% 3.326%, 89.526% 2.649%, 87.384% 2.086%,
    85.693% 1.804%, 84.115% 1.635%, 83.326% 1.578%
  );
}

.case-device[data-device='ueb-inicio'] {
  --device-cutout: polygon(
    16.674% 3.807%, 15.199% 3.919%, 13.156% 4.199%, 10.431% 4.871%,
    8.048% 5.879%, 6.005% 7.447%, 5.210% 8.623%, 4.756% 10.078%,
    4.642% 17.749%, 4.075% 17.861%, 4.075% 21.109%, 4.642% 21.277%,
    4.642% 24.076%, 4.075% 24.244%, 4.075% 30.515%, 4.642% 30.683%,
    4.642% 32.363%, 4.075% 32.531%, 4.075% 38.858%, 4.642% 39.026%,
    4.756% 92.049%, 5.778% 94.401%, 6.799% 95.409%, 8.275% 96.361%,
    9.977% 97.088%, 10.999% 97.424%, 12.588% 97.816%, 14.631% 98.152%,
    16.447% 98.320%, 83.553% 98.320%, 85.709% 98.096%, 87.639% 97.760%,
    88.774% 97.480%, 90.023% 97.088%, 91.952% 96.193%, 93.428% 95.129%,
    94.109% 94.401%, 95.131% 91.937%, 95.131% 39.026%, 95.698% 38.914%,
    95.698% 27.548%, 95.131% 27.380%, 95.131% 10.190%, 94.449% 8.231%,
    93.201% 6.831%, 92.179% 6.103%, 90.477% 5.263%, 88.888% 4.703%,
    87.526% 4.367%, 85.936% 4.087%, 84.574% 3.919%, 83.326% 3.807%
  );
}

.case-device[data-device='ueb-servicios'] {
  --device-cutout: polygon(
    16.185% 2.709%, 14.190% 2.817%, 13.251% 2.925%, 11.138% 3.250%,
    9.378% 3.684%, 8.087% 4.117%, 6.561% 4.821%, 4.566% 6.230%,
    3.627% 7.584%, 3.275% 8.613%, 3.157% 16.306%, 2.688% 16.468%,
    2.688% 19.610%, 3.157% 19.718%, 3.275% 20.098%, 3.275% 22.427%,
    2.688% 22.698%, 2.688% 28.657%, 3.157% 28.819%, 3.157% 30.498%,
    2.688% 30.661%, 2.688% 36.782%, 3.157% 36.945%, 3.275% 37.378%,
    3.275% 90.412%, 4.214% 92.308%, 5.035% 93.120%, 6.209% 93.879%,
    8.087% 94.745%, 9.730% 95.287%, 11.373% 95.666%, 13.016% 95.937%,
    13.955% 96.046%, 15.481% 96.154%, 83.932% 96.154%, 85.458% 96.046%,
    86.397% 95.937%, 88.392% 95.612%, 90.622% 95.016%, 92.148% 94.420%,
    93.791% 93.499%, 95.082% 92.362%, 96.138% 90.033%, 96.138% 36.566%,
    96.725% 36.349%, 96.725% 25.190%, 96.138% 24.919%, 96.138% 9.101%,
    95.552% 7.313%, 94.261% 5.796%, 93.087% 4.984%, 91.561% 4.225%,
    89.800% 3.629%, 87.923% 3.196%, 85.692% 2.871%, 83.462% 2.709%
  );
}

.case-device[data-device='ueb-foxy'] {
  --device-cutout: polygon(
    18.374% 0.658%, 17.630% 0.718%, 16.674% 0.837%, 14.867% 1.196%,
    13.273% 1.675%, 11.998% 2.213%, 10.616% 2.990%, 9.341% 4.007%,
    8.597% 4.904%, 7.853% 6.459%, 7.641% 7.476%, 7.641% 15.371%,
    7.216% 15.610%, 7.216% 18.840%, 7.641% 19.079%, 7.641% 21.890%,
    7.216% 22.129%, 7.216% 28.529%, 7.641% 28.768%, 7.641% 30.502%,
    7.216% 30.742%, 7.216% 37.321%, 7.641% 37.560%, 7.641% 92.584%,
    8.385% 94.737%, 9.341% 95.933%, 10.723% 97.010%, 12.423% 97.907%,
    13.698% 98.385%, 15.186% 98.804%, 16.461% 99.043%, 18.480% 99.282%,
    81.520% 99.282%, 83.114% 99.103%, 84.708% 98.804%, 86.408% 98.325%,
    87.896% 97.727%, 89.384% 96.890%, 90.553% 95.933%, 91.296% 95.036%,
    92.147% 93.122%, 92.253% 36.244%, 92.678% 35.945%, 92.678% 25.778%,
    92.253% 25.419%, 92.253% 7.476%, 92.040% 6.459%, 91.296% 4.904%,
    90.553% 4.007%, 89.490% 3.110%, 87.790% 2.153%, 85.239% 1.256%,
    83.539% 0.897%, 81.626% 0.658%
  );
}
