/* Editorial orientation invitation. Portrait remains fully usable. */
.tablet-orientation { display: none; }

@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
  .tablet-orientation {
    position: fixed;
    z-index: 110; /* Below the sound choice (140), above the site header (100). */
    top: calc(env(safe-area-inset-top, 0px) + clamp(88px, 10svh, 140px));
    right: calc(env(safe-area-inset-right, 0px) + 22px);
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 20px;
    width: min(475px, calc(100vw - 44px));
    padding: 25px 27px 24px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-top: 5px solid #c4312b;
    background: rgba(22, 21, 20, .97);
    color: #fffaf3;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    text-align: left;
  }
  .tablet-orientation__icon { position: relative; width: 66px; height: 72px; color: #f1c7b0; }
  .tablet-orientation__device {
    position: absolute;
    top: 12px;
    left: 3px;
    width: 57px;
    height: 40px;
    border: 3px solid currentColor;
    border-radius: 7px;
    transform: rotate(-13deg);
  }
  .tablet-orientation__device::after {
    content: '';
    position: absolute;
    right: 5px;
    top: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }
  .tablet-orientation__turn { position: absolute; right: 0; bottom: 0; color: #e34b3f; font-size: 27px; line-height: 1; }
  .tablet-orientation__content { min-width: 0; }
  .tablet-orientation__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #e7a28d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.35;
  }
  .tablet-orientation__title {
    display: block;
    font-size: clamp(29px, 3.5vw, 39px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .98;
  }
  .tablet-orientation__content p { margin: 13px 0 20px; max-width: 31ch; color: #d7d2ca; font-size: 14px; line-height: 1.37; }
  .tablet-orientation__continue {
    display: inline-block;
    min-height: 42px;
    padding: 9px 0 8px;
    border: 0;
    border-bottom: 1px solid #e7a28d;
    border-radius: 0;
    background: transparent;
    color: #fffaf3;
    font: 800 11px/1.2 Arial, 'Helvetica Neue', Helvetica, sans-serif;
    letter-spacing: .11em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }
  .tablet-orientation__continue:hover { color: #ffb49e; border-color: currentColor; }
  .tablet-orientation__continue:focus-visible { outline: 2px solid #ffb49e; outline-offset: 5px; }
}

@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .tablet-orientation { animation: tablet-orientation-in .55s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes tablet-orientation-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
}
