.portal { min-height: 100dvh; padding: 0 clamp(18px, 5vw, 78px) 34px; color: var(--navy); }
.portal-top, .portal-main { max-width: 1420px; margin-inline: auto; }
.portal-top { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.portal-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); font-size: 1.5rem; font-weight: 790; letter-spacing: -.055em; }
.portal-languages { max-width: 62%; }
.portal-languages select { height: 42px; border: 1px solid var(--line); border-radius: 24px; padding-inline-start: 15px; background: var(--surface); color: var(--link); font: inherit; font-size: .86rem; font-weight: 650; }
.portal-footer { max-width: 1420px; margin: 19px auto 0; font-size: .75rem; }
.portal-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(23px, 4.8vw, 78px); align-items: stretch; }
.portal-content { display: grid; align-items: center; min-width: 0; padding: 28px 0; }
.portal-content h1 { margin: 0; font-size: clamp(2.5rem, 5.9vw, 5.6rem); line-height: .99; font-weight: 780; letter-spacing: -.075em; text-wrap: balance; }
.portal-accent { color: var(--link); }
.portal-content p { margin: 24px 0 0; max-width: 390px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.53; }
.portal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.portal-primary, .portal-secondary { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-weight: 680; }
.portal-primary { color: white; background: var(--blue); }
.portal-primary:hover { background: var(--blue-hover); }
.portal-primary:disabled { background: var(--panel); color: var(--muted); }
.portal-secondary { background: var(--field); border-color: var(--line); color: var(--link); }
.portal-secondary:hover { background: var(--hover); }
.portal-content .portal-supported { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; max-width: none; margin-top: 21px; font-size: .9rem; }
.portal-supported span[aria-hidden] { color: var(--link); }
.portal-visual { isolation: isolate; overflow: hidden; position: relative; min-height: clamp(400px, 71vh, 730px); border: 1px solid var(--line); border-radius: 27px; background: #141e30; box-shadow: 0 24px 64px #0005; }
.portal-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease; }
.portal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portal-photo.is-current { opacity: 1; }
.portal-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0b122624, transparent 30%, #0c14264a 65%, #080d1bd4); }
.portal-greeting { position: absolute; bottom: 66px; inset-inline: 20px; color: white; text-align: center; pointer-events: none; }
.portal-greeting span { display: inline-block; max-width: 100%; font-size: clamp(3rem, 7vw, 6.3rem); font-weight: 710; line-height: 1.2; letter-spacing: -.045em; text-shadow: 0 4px 26px #10192bc2; }
@keyframes greeting-in { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.portal-greeting .greeting-in { animation: greeting-in .4s ease-out both; }
.portal-gallery { position: absolute; bottom: 16px; inset-inline: 16px; display: flex; justify-content: center; align-items: center; gap: 4px; }
.portal-gallery button { position: relative; display: grid; place-items: center; width: 34px; height: 44px; background: transparent; border: 0; color: white; }
.portal-gallery button[data-slide]::after { content: ''; width: 8px; height: 8px; border-radius: 9px; background: #ffffff9f; }
.portal-gallery button[data-slide][aria-pressed="true"]::after { width: 21px; background: var(--link); }
.portal-gallery .gallery-pause { position: absolute; right: 0; font-size: 1rem; border-radius: 8px; background: #11182c8c; }
.portal-account { width: min(100%, 480px); }
.portal-account h1 { font-size: clamp(2.25rem, 4.1vw, 3.8rem); line-height: 1.02; }
.portal-account h1:focus { outline: none; }
.portal-account p { margin: 13px 0 20px; font-size: 1rem; }
.portal-back { padding: 10px 0; margin-bottom: 12px; color: var(--link); border: 0; background: none; font-weight: 650; }
.portal-account form { display: grid; gap: 14px; margin-top: 10px; }
.portal-account form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 650; }
.portal-account input:not([type="checkbox"]), .portal-account select { min-width: 0; width: 100%; height: 48px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--navy); font: inherit; font-weight: 500; }
.portal-account .select-wrap select { padding-inline-end: 42px; }
.portal-account form small { color: var(--muted); font-size: .82rem; font-weight: 450; line-height: 1.42; }
.pin-heading { display: flex; align-items: center; min-height: 33px; }
.pin-line { position: relative; border-radius: 12px; }
.pin-line:focus-within { outline: 2px solid #567ec5; outline-offset: 3px; }
.pin-line #pin-entry { position: absolute; z-index: 1; inset: 0; height: 100%; opacity: 0; cursor: text; }
#pin-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; pointer-events: none; }
#pin-slots span { display: grid; min-height: 49px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--link); font-size: 1.25rem; font-weight: 750; }
#pin-slots .filled { border-color: #567ec5; background: var(--accent-surface); }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; margin-top: 11px; }
.pin-pad button { min-height: 43px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: var(--field); font: inherit; font-weight: 650; }
.pin-pad button:hover { background: var(--hover); }
.pin-pad button:active { background: var(--hover); }
.pin-pad .key-zero { grid-column: 2; }
.pin-pad .key-delete { color: var(--muted); }
.pin-line.sealing #pin-slots span { animation: pin-seal .3s cubic-bezier(.2, .65, .23, 1) both; }
.pin-line.sealing #pin-slots span:nth-child(2) { animation-delay: .02s; }
.pin-line.sealing #pin-slots span:nth-child(3) { animation-delay: .04s; }
.pin-line.sealing #pin-slots span:nth-child(4) { animation-delay: .06s; }
.pin-line.sealing #pin-slots span:nth-child(5) { animation-delay: .08s; }
.pin-line.sealing #pin-slots span:nth-child(6) { animation-delay: .1s; }
@keyframes pin-seal { from { transform: perspective(90px) rotateX(-72deg); opacity: .35; } to { transform: none; opacity: 1; } }
.recovery-reminder { border: 1px solid var(--line); padding: 14px; border-radius: 14px; background: var(--accent-surface); }
.recovery-row { display: flex; align-items: center; gap: 8px; }
.recovery-row input { flex: 1; }
.recovery-row .portal-secondary { min-height: 48px; padding-inline: 12px; }
.saved-confirm { display: flex; gap: 7px; align-items: center; margin: 15px 0; font-size: .92rem; }
.saved-confirm input { accent-color: var(--blue); width: 18px; height: 18px; }
.portal-account .auth-result { color: var(--danger); min-height: 1.25em; margin-bottom: 0; }
.portal-account .auth-result.ok { color: #52cfaa; }
.saved-seats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.saved-seats a { min-height: 42px; color: var(--link); text-decoration: none; }
@media (max-width: 760px) {
  .portal-top { min-height: 72px; }
  .portal-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .portal-content { padding: 18px 0 0; }
  .portal-content h1 { font-size: clamp(2.5rem, 9.6vw, 4.5rem); }
  .portal-content p { margin-top: 15px; }
  .portal-actions { margin-top: 21px; }
  .portal-content .portal-supported { margin-top: 12px; }
  .portal-visual { min-height: clamp(270px, 42vh, 400px); border-radius: 20px; }
  .portal-greeting { bottom: 51px; }
  .portal-greeting span { font-size: clamp(2.75rem, 13vw, 5.5rem); }
  .portal-gallery { bottom: 7px; }
  .portal.account-open .portal-visual { display: none; }
  .portal-account h1 { font-size: clamp(2.15rem, 8vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .portal-photo { transition: none; }
  .portal-greeting .greeting-in { animation: none; }
  .portal-gallery .gallery-pause { display: none; }
  .pin-line.sealing #pin-slots span { animation: none; }
}
