/* Loaded only by login.html; the authenticated portal's shared files stay untouched. */
body { background: #080e10; }
body > .top { position: absolute; top: 0; left: 0; width: 100%; z-index: 3; min-height: 108px; padding: 27px 5.3%; background: transparent; border: 0; justify-content: flex-end; }
body > .top .brand { margin-left: auto; padding: 0; border: 0; text-decoration: none; }
body > .top .brand-logo { display: none; }
body > .top .org-plate { border: 0; border-radius: 2px; background: #fff; padding: 8px 12px; }
body > .top .org-plate img { height: 43px; width: auto; max-width: 180px; object-fit: contain; }
/* The school's logo (img.org) is large here and stays on phones, where the portal's header hides it (Peter 11. 10.). */
body > .top .brand img.org, body > .top .org-name { display: block; }
body > .top .brand img.org { height: 72px; width: auto; max-width: 260px; object-fit: contain; padding: 9px 14px; border-radius: 3px; }
body > .top .org-name { color: #f5f4f0; font-size: 12px; max-width: 210px; text-align: right; border: 0; padding: 0; }
body > .page { width: 100%; max-width: none; margin: 0; padding: 0; flex: 1 0 auto; }
.cinema-landing { position: relative; isolation: isolate; overflow: hidden; min-height: max(760px, calc(100svh - 68px)); padding: clamp(155px, 18vh, 220px) 6.7% 132px; }
.cinema-image, .cinema-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cinema-image { object-fit: cover; object-position: 68% 48%; animation: cinema-reveal 1.8s ease-out both; }
.cinema-shade { z-index: -1; background: linear-gradient(90deg, rgba(5,12,15,.83) 0%, rgba(5,12,15,.63) 30%, rgba(5,12,15,.08) 62%, rgba(5,12,15,0) 85%), linear-gradient(0deg, #080e10 0%, rgba(8,14,16,.35) 17%, transparent 52%, rgba(7,13,15,.35) 100%); }
.cinema-eyebrow { position: absolute; left: 6.7%; top: 38px; margin: 0; color: #d5d9d7; font-size: 10px; letter-spacing: .24em; font-weight: 600; }
.cinema-content { position: relative; width: min(630px, 51%); animation: cinema-content-in .75s .12s ease-out both; }
.cinema-logo { width: min(100%, 545px); height: auto; display: block; margin: 0 0 43px; }
.cinema-content h1 { font-size: clamp(42px, 4.9vw, 74px); font-weight: 600; letter-spacing: -.059em; line-height: 1.06; margin: 0 0 24px; color: #f5f4f0; }
.cinema-content h1 em { font-style: normal; color: #f5aa28; }
.cinema-intro { color: #d1d7d6; font-size: clamp(15px, 1.22vw, 18px); line-height: 1.7; margin: 0 0 33px; letter-spacing: -.015em; }
.cinema-enter, .cinema-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 204px; min-height: 54px; padding: 15px 32px; border: 1px solid #f5aa28; border-radius: 3px; background: #f5aa28; color: #141719; font: 600 14px/1.4 var(--font); text-decoration: none; cursor: pointer; transition: background .16s, transform .16s; }
.cinema-enter:hover, .cinema-submit:hover { background: #ffbd4a; border-color: #ffbd4a; color: #141719; text-decoration: none; transform: translateY(-1px); }
.cinema-enter:focus-visible, .cinema-dialog button:focus-visible { outline: 2px solid #f5f4f0; outline-offset: 5px; }
.cinema-bottom { position: absolute; bottom: 32px; left: 6.7%; right: 5.3%; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cinema-process { display: flex; align-items: center; gap: 15px; color: #d0d5d2; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; margin: 0; }
.cinema-process i { width: 22px; height: 1px; background: #78807b; }
.cinema-credit { margin: 0; font-size: 10px; letter-spacing: .035em; color: #a6aaa9; }
body > .foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px 27px; min-height: 68px; padding: 18px 5.3% 18px 6.7%; margin: 0; border-top: 1px solid #293032; background: #080e10; color: #a6aaa9; font-size: 11px; }
body > .foot > span:nth-of-type(1), body > .foot > span:nth-of-type(2) { display: none; }
body > .foot > span:nth-of-type(3) { margin-right: auto; display: block; }
body > .foot > span:nth-of-type(3)::first-letter { text-transform: uppercase; }
body > .foot a { color: #bdc2bf; text-decoration-color: #535c59; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 32px; }
body > .foot a:hover { color: #fff; }
.cinema-dialog { position: relative; color-scheme: dark; width: min(440px, calc(100% - 36px)); max-height: calc(100svh - 32px); overflow-y: auto; margin: 64px 0 0; padding: 40px; border: 1px solid #4b5454; border-radius: 8px; background: #141b1e; color: #f5f4f0; box-shadow: 0 28px 100px #0009; }
.cinema-dialog:modal { position: fixed; margin: auto; }
.cinema-dialog::backdrop { background: rgba(3,9,12,.72); backdrop-filter: blur(12px); }
.cinema-dialog-logo { display: block; width: 215px; height: auto; margin-bottom: 32px; }
.cinema-dialog h2 { color: #f5f4f0; font: 600 28px/1.2 var(--font); letter-spacing: -.045em; margin: 0 0 9px; }
.cinema-dialog-intro { color: #adb8b9; font-size: 13px; margin: 0 0 27px; }
.cinema-close { position: absolute; top: 7px; right: 7px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #c6d0cf; font-size: 28px; cursor: pointer; border-radius: 3px; }
.cinema-close:hover { color: #fff; background: #293234; }
.cinema-form label { display: block; font-size: 12px; font-weight: 600; margin: 19px 0 9px; color: #d5dcda; }
.cinema-form input { width: 100%; height: 50px; padding: 12px 14px; font: 400 16px/1.5 var(--font); border: 1px solid #667274; border-radius: 3px; background: #0e1518; color: #f5f4f0; box-shadow: none; }
.cinema-form input:focus-visible { border-color: #f5aa28; outline: 2px solid #f5aa28; outline-offset: 2px; }
.cinema-password { position: relative; }
.cinema-password input { padding-right: 94px; }
.cinema-reveal { position: absolute; top: 3px; right: 3px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 2px; background: transparent; color: #c6d0cf; font: 600 11px var(--font); cursor: pointer; }
.cinema-reveal:hover { background: #293234; }
.cinema-submit { width: 100%; margin-top: 26px; }
.cinema-help { margin: 23px 0 0; color: #b1bcbd; font-size: 11px; line-height: 1.7; }
.cinema-dialog .msg { padding: 12px; font-size: 13px; margin-bottom: 22px; }
.cinema-dialog [hidden] { display: none !important; }
.cinema-enhanced:has(.cinema-dialog[open]) { overflow: hidden; }
.cinema-motion { animation: none; pointer-events: none; }
.cinema-motion[hidden] { display: none; }
@keyframes cinema-reveal { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes cinema-content-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1800px) { .cinema-content { width: 650px; } .cinema-logo { width: 630px; } .cinema-content h1 { font-size: 80px; } .cinema-landing { padding-top: 20vh; } }
@media (max-width: 1000px) { .cinema-landing { padding-left: 6%; min-height: max(720px, calc(100svh - 80px)); } .cinema-content { width: 58%; } .cinema-logo { margin-bottom: 36px; } .cinema-content h1 { font-size: 50px; } .cinema-shade { background: linear-gradient(90deg,#071014d9,#07101491 43%,#07101405 85%),linear-gradient(0deg,#080e10,transparent 56%); } }
@media (max-width: 650px) {
  body > .top { min-height: 92px; padding: 22px 23px; }
  body > .top .org-plate { padding: 5px 8px; }
  body > .top .org-plate img { height: 34px; max-width: 137px; }
  body > .top .brand img.org { height: 52px; max-width: 170px; padding: 6px 10px; }
  body > .top .org-name { font-size: 10px; max-width: 155px; }
  .cinema-eyebrow { left: 25px; top: 32px; width: 115px; font-size: 8px; line-height: 1.7; letter-spacing: .15em; }
  .cinema-landing { min-height: max(735px, calc(100svh - 118px)); padding: 130px 25px 125px; display: flex; flex-direction: column; justify-content: flex-start; }
  .cinema-image { object-position: 90% 50%; }
  .cinema-shade { background: linear-gradient(180deg,#07101485 0%,#0710147a 27%,#07101485 42%,#071014de 73%,#080e10 100%); }
  .cinema-content { width: 100%; max-width: 440px; }
  .cinema-logo { width: min(335px,100%); margin-bottom: 165px; }
  .cinema-content h1 { font-size: clamp(39px,9vw,53px); margin-bottom: 16px; }
  .cinema-intro { font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
  .cinema-enter { min-height: 52px; min-width: 180px; }
  .cinema-bottom { left: 25px; right: 25px; bottom: 25px; display: block; }
    .cinema-process { font-size: 8px; gap: 9px; letter-spacing: .1em; }
  .cinema-process i { width: 17px; }
  .cinema-credit { font-size: 8px; margin-top: 18px; }
  body > .foot { min-height: 118px; padding: 22px 25px; gap: 11px 20px; justify-content: flex-start; font-size: 10px; }
  body > .foot > span:nth-of-type(3) { width: 100%; }
  body > .foot a { min-height: 44px; }
  .cinema-dialog { padding: 34px 25px 29px; }
  .cinema-dialog-logo { width: 195px; margin-bottom: 29px; }
  .cinema-dialog h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .cinema-image, .cinema-content { animation: none; } .cinema-enter, .cinema-submit { transition: none; } }
/* Microsoft 365 (Peter 22. 10.): the school account first, the one-time password below */
.cinema-m365 { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 15px 20px; border: 1px solid #f5aa28; border-radius: 3px; background: #f5aa28; color: #141719; font: 600 14px/1.4 var(--font); text-decoration: none; transition: background .16s; }
.cinema-m365:hover { background: #ffbd4a; border-color: #ffbd4a; color: #141719; text-decoration: none; }
.cinema-m365:focus-visible { outline: 2px solid #f5f4f0; outline-offset: 5px; }
.cinema-invite { margin: 0 0 16px; color: #e4e7e3; font-size: 13px; line-height: 1.6; }
.cinema-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; color: #a6aaa9; font-size: 11px; }
.cinema-or::before, .cinema-or::after { content: ""; flex: 1; height: 1px; background: #3a4244; }
.cinema-m365-box + .cinema-form .cinema-submit, .cinema-pass .cinema-submit { background: transparent; color: #f5aa28; }
.cinema-m365-box + .cinema-form .cinema-submit:hover { background: #f5aa28; color: #141719; }
@media (prefers-reduced-motion: reduce) { .cinema-m365 { transition: none; } }
/* Peter 30. 10.: Microsoft 365 is the one way in; the password of a teacher's account waits behind one line */
.cinema-m365-who { margin: 10px 0 0; color: #b1bcbd; font-size: 11px; line-height: 1.6; text-align: center; }
.cinema-pass { margin: 26px 0 0; border-top: 1px solid #3a4244; }
.cinema-pass > summary { padding: 14px 0 0; color: #a6aaa9; font-size: 12px; cursor: pointer; list-style: none; text-align: center; }
.cinema-pass > summary::-webkit-details-marker { display: none; }
.cinema-pass > summary::after { content: " ▾"; }
.cinema-pass[open] > summary::after { content: " ▴"; }
.cinema-pass > summary:hover { color: #f5f4f0; }
.cinema-pass > summary:focus-visible { outline: 2px solid #f5aa28; outline-offset: 4px; }
.cinema-m365-again { display: inline-block; margin-top: 6px; color: #f5aa28; font-weight: 600; }
