
.tel-ecran { --tel-accent: #1528e7; --tel-clair: #9aa5ff; container-type: inline-size; display: flex; flex-direction: column; background: #000; color: #fff; font-family: var(--gs, system-ui), system-ui, sans-serif; text-align: center; }
.tel-ecran * { box-sizing: border-box; }
.tel-barre { position: relative; flex: none; height: 17cqi; }
.tel-barre::before { content: ""; position: absolute; top: 3cqi; left: 50%; width: 30cqi; height: 6.4cqi; translate: -50% 0; border-radius: 99px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.tel-marque { position: absolute; inset: auto 0 2.4cqi; font: 600 max(9px, 3.5cqi)/1 var(--gs, system-ui), system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); transition: opacity .3s; }
.tel-ecran:is([data-etat=viseur], [data-etat=declic]) .tel-marque { opacity: 0; }

.tel-photo { position: relative; flex: none; aspect-ratio: 1156 / 1600; overflow: hidden; }
.tel-cadrage { position: absolute; inset: 0; }
.tel-cadrage img, .tel-rendus, .tel-rendu { position: absolute; inset: 0; }
.tel-rendus { z-index: 1; } 
.tel-cadrage img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tel-cadrage.tel-vise { animation: tel-vise 2.2s ease-in-out both; }
@keyframes tel-vise {
  0% { transform: scale(1.06) translate(1.2%, -1%) rotate(.6deg); }
  55% { transform: scale(1.03) translate(-.6%, .5%) rotate(-.2deg); }
  100% { transform: none; }
}

.tel-grille, .tel-point, .tel-flash, .tel-balayage { position: absolute; pointer-events: none; opacity: 0; }
.tel-grille { inset: 0; z-index: 10; background:
  linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255, 255, 255, .35) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255, 255, 255, .35) 0 calc(66.66% + .5px), transparent 0),
  linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255, 255, 255, .35) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255, 255, 255, .35) 0 calc(66.66% + .5px), transparent 0); }
.tel-point { z-index: 10; top: 38%; left: 30%; width: 26%; height: 19%; border: 1px solid #ffd60a; border-radius: 3px; }
.tel-ecran:is([data-etat=viseur], [data-etat=declic]) :is(.tel-grille, .tel-point) { opacity: 1; }
.tel-ecran[data-etat=viseur] .tel-point { animation: tel-point .7s .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes tel-point { from { opacity: 0; scale: 1.35; } to { opacity: 1; scale: 1; } }
.tel-flash { inset: 0; z-index: 20; background: #fff; }
.tel-flash.tel-eclair { animation: tel-eclair .45s ease-out both; }
@keyframes tel-eclair { 0% { opacity: 0; } 25% { opacity: .85; } 100% { opacity: 0; } }

.tel-balayage { inset: 0; z-index: 20; background: linear-gradient(to top, transparent 0%, rgba(255, 255, 255, .55) 48%, transparent 52%) 0 0 / 100% 220% no-repeat; }
.tel-ecran[data-etat=preparation] .tel-balayage { opacity: 1; animation: tel-balayage 2.4s cubic-bezier(.45, 0, .25, 1) infinite; }
.tel-ecran.tel-arret .tel-balayage { animation-play-state: paused; }
@keyframes tel-balayage { from { background-position: 0 -120%; } to { background-position: 0 220%; } }


.tel-bas { flex: none; height: 40cqi; display: grid; place-items: center; padding: 0 6cqi; }
.tel-bas > div { grid-area: 1 / 1; display: none; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; }
.tel-ecran:is([data-etat=viseur], [data-etat=declic]) .tel-appareil, .tel-ecran[data-etat=preparation] .tel-pose, .tel-ecran[data-etat=rendu] .tel-resultat { display: flex; }
.tel-mot { margin-bottom: 3cqi; font: 600 max(9px, 3.4cqi)/1 var(--gs, system-ui), system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #ffd60a; }
.tel-declencheur { display: grid; place-items: center; width: 19cqi; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.3cqi #fff; transition: scale .15s; }
.tel-declencheur::after { content: ""; width: 14.6cqi; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.tel-ecran[data-etat=declic] .tel-declencheur { scale: .9; }
.tel-pose-texte { font: 600 max(12px, 5.2cqi)/1.2 var(--gs, system-ui), system-ui, sans-serif; }
.tel-progression { display: block; width: 76cqi; height: 1.6cqi; margin-top: 3cqi; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.tel-progression i { display: block; width: 4%; height: 100%; border-radius: inherit; background: var(--tel-clair); }
.tel-progression i.tel-avance { animation: tel-avance 1.9s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes tel-avance { from { width: 4%; } to { width: 100%; } }
.tel-duree { margin-top: 2.4cqi; font: 400 max(10px, 3.8cqi)/1.2 var(--gs, system-ui), system-ui, sans-serif; color: rgba(255, 255, 255, .62); }
.tel-nom { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 max(13px, 5.6cqi)/1.2 var(--gs, system-ui), system-ui, sans-serif; }
.tel-ligne { margin-top: 1cqi; font: 400 max(10px, 4cqi)/1.2 var(--gs, system-ui), system-ui, sans-serif; color: rgba(255, 255, 255, .66); }
.tel-apercu { margin-top: 3cqi; padding: 1.6cqi 4.6cqi; border-radius: 99px; background: var(--tel-accent); font: 600 max(10px, 3.8cqi)/1.1 var(--gs, system-ui), system-ui, sans-serif; color: #fff; }
.tel-ecran.tel-sans-apercu .tel-apercu { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .tel-cadrage.tel-vise, .tel-ecran[data-etat=viseur] .tel-point, .tel-flash.tel-eclair, .tel-progression i.tel-avance { animation: none; }
  .tel-ecran[data-etat=preparation] .tel-balayage { animation: none; opacity: .35; }
}
