/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#arrivee { position: fixed; inset: 0; z-index: 45; cursor: default; user-select: none; }
#arrivee .arr-encart { position: fixed; overflow: hidden; pointer-events: none; }
#arrivee .arr-battant { position: absolute; top: 0; width: 50%; height: 100%; background-color: #c38c52; background-size: 200% 100%; background-repeat: no-repeat;
  backface-visibility: hidden; will-change: transform; }
#arrivee .arr-battant.g { left: 0; transform-origin: 0 50%; background-position: 0 0; }
#arrivee .arr-battant.d { right: 0; transform-origin: 100% 50%; background-position: 100% 0; }
#arrivee .arr-battant::after { content: ''; position: absolute; inset: 0; background: rgba(38, 18, 4, calc(var(--ombre, 0) * .58)); }
#arrivee .arr-table { position: absolute; inset: 0;
  background: radial-gradient(ellipse 72% 68% at 50% 46%, rgba(255, 236, 196, .10) 0, rgba(255, 236, 196, 0) 45%, rgba(46, 22, 4, 0) 62%, rgba(46, 22, 4, .42) 100%),
    #b9824a url(interface/ui_bois_fond.png?v=5dc66c82) 0 0 / 320px 320px repeat;
  box-shadow: inset 0 0 90px 10px rgba(48, 24, 6, .5), inset 0 0 18px rgba(30, 14, 2, .45); filter: saturate(.78) brightness(1.07); }
#arrivee .arr-rouleau { position: absolute; left: 0; right: 0; box-sizing: border-box; border: 0 solid transparent; border-image-repeat: stretch;
  filter: drop-shadow(0 7px 4px rgba(46, 22, 4, .45)); }
#arrivee:not(.habille) .arr-rouleau { background: #e4cb98; border-radius: 999px; }
#arrivee .arr-prelart { position: absolute; background: no-repeat 0 0 / 100% 100%; transform-origin: 50% 0; will-change: transform;
  filter: drop-shadow(0 6px 5px rgba(30, 16, 4, .5)); }
#arrivee:not(.habille) .arr-prelart { background-color: #e7d9bb; }
#arrivee .arr-plaque { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; min-width: 132px; height: 38px; padding: 0 22px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; z-index: 3;
  background: url(interface/coupe_plaque.png?v=0315049a) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px rgba(20, 10, 2, .55)); }
#arrivee .arr-plaque span { font: 700 17px/1 'Alegreya SC', 'Alegreya Sans SC', Alegreya, Georgia, serif; letter-spacing: .05em; color: #f1d38c;
  text-shadow: 0 1px 0 #241104, 0 -1px 0 rgba(255, 236, 180, .18); white-space: nowrap; }
#arrivee .arr-cabine .arr-plaque { top: 21%; }
#arrivee .arr-carte .arr-plaque { top: 16%; }
#arrivee .arr-coupe .arr-plaque { top: calc(50% - 19px); }
#arrivee.cloison .arr-table {
  background: linear-gradient(rgba(14, 7, 2, .42), rgba(14, 7, 2, .42)), #2a170c url(interface/ui_lambris.png?v=fae58bb1) 0 0 / auto 100vh repeat-x fixed;
  box-shadow: inset 0 0 60px 6px rgba(10, 5, 1, .55), inset 0 0 14px rgba(10, 5, 1, .5); filter: none; }
#arrivee.cloison:not(.habille) .arr-rouleau { background: #d9b47a; }
#arrivee .arr-clou { position: fixed; width: 12px; height: 12px; pointer-events: none; z-index: 2;
  background: linear-gradient(160deg, #8f6340, #7a5232); }
#arrivee .arr-clou::after { content: ''; position: absolute; left: 2.5px; top: 2.5px; width: 7px; height: 7px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #fff1b8 0 14%, #d9b24e 34%, #8f6a22 72%, #4a3410 100%);
  box-shadow: 0 1px 1px rgba(20, 10, 2, .7); transform: scale(1.9); }
#arrivee .arr-clou.pose::after { opacity: 1; transform: scale(1); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), opacity .08s linear; }
