.account-card .account-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 5px;
  border-radius: 12px;
  background: var(--wash);
}
.account-tabs a {
  flex: 1;
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}
.account-tabs a[aria-current="page"] {
  background: var(--paper);
  color: var(--blue);
  font-weight: 600;
}
.account-providers {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.account-providers li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}
.account-providers svg { width: 21px; height: 21px; }
.account-option-status { color: var(--muted); font-size: 11px; }
.account-try { margin-top: 12px; }
@media (max-width: 380px) {
  .account-providers li { grid-template-columns: 20px 1fr; }
  .account-option-status { grid-column: 2; }
}

.access-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.access-card > h2 { margin-top: 16px; }
.access-card .account-providers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.access-card .account-providers li { display: flex; flex-direction: column; gap: 4px; padding: 10px 4px; text-align: center; }
.access-card .account-option-status { font-size: 10px; }
#account-preview { display: grid; gap: 13px; margin-top: 20px; }
#account-preview label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; }
#account-preview input { box-sizing: border-box; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.password-field { position: relative; }
.password-field input { padding-right: 62px !important; }
.password-field button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 5px 7px; border: 0; background: transparent; color: var(--blue); font-size: 13px; }
.access-status { font-size: 12px; line-height: 1.5; color: var(--muted); }
#account-submit:disabled { opacity: .6; cursor: default; }
.access-card .account-switch { margin-top: 14px; }
.account-switch button { padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 600; }
.access-tour { position: relative; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 15px 35px #212e5715; }
.tour-toolbar, .tour-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; }
.tour-toolbar button, .tour-footer button { padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 12px; }
.tour-toolbar button[aria-pressed="true"] { color: var(--blue); background: var(--wash); font-weight: 600; }
.tour-frame { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--wash); }
.tour-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.tour-footer { justify-content: space-between; color: var(--muted); font-size: 12px; }
.tour-cursor { display: none; position: absolute; pointer-events: none; top: 68%; left: 72%; width: 26px; height: 26px; color: #3755b4; filter: drop-shadow(0 2px 4px #10162b55); transition: left .55s ease, top .55s ease; }
.tour-cursor svg { display: block; width: 100%; height: 100%; }
.access-tour.playing .tour-cursor { display: block; }
.tour-cursor.clicking { animation: cursor-tap .3s ease; }
@keyframes cursor-tap { 50% { transform: scale(.8); } }
@media (max-width: 760px) { .access-grid { grid-template-columns: minmax(0, 1fr); } .access-card { grid-row: 1; } }
@media (prefers-reduced-motion: reduce) { .tour-cursor { transition: none; } .tour-cursor.clicking { animation: none; } }

.tour-frame { position: relative; }
.tour-frame img { position: absolute; inset: 0; }

.access-page { min-height: 100dvh; display: flex; flex-direction: column; }
.access-page .site-head { flex: none; height: 64px; }
.access-page .site-foot { display: none; }
.access-page #main { display: flex; flex: 1; min-height: 0; align-items: center; }
.access-page .access-grid { width: min(1200px, calc(100% - 56px)); padding-block: 18px; }
.access-page .signin-intro > h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.06; }
.access-page .signin-intro > p:not(.kicker) { font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.access-page .signin-intro > .kicker { font-size: 13px; }
.access-page .access-card { padding: 20px 24px; }
.access-page .access-card > img { width: 35px; height: 35px; }
.access-page .access-card > h2 { margin: 10px 0 6px; font-size: 25px; }
.access-page #account-preview { margin-top: 12px; gap: 9px; }
.access-page #account-preview input { padding-block: 8px; }
.access-page .account-providers { margin: 12px 0 0; gap: 8px; }
.access-page .account-providers li { padding: 8px 4px; }
.access-page .account-providers svg { width: 22px; height: 22px; }
.access-page .account-try { margin-top: 10px; }
.access-page #account-submit, .access-page .account-try { padding-block: 10px; }
.access-page .access-card .account-switch { margin-top: 9px; }
.access-tour-switch { display: none; }
@media (max-height: 740px) {
  .access-page .tour-frame { max-height: 32dvh; }
  .access-page .access-tour { margin-top: 16px; }
}
@media (max-width: 760px), (max-height: 590px) {
  .access-page .access-grid { grid-template-columns: minmax(0, 1fr); width: min(510px, calc(100% - 28px)); }
  .access-page .signin-intro, .access-page.show-access-tour .access-card { display: none; }
  .access-page.show-access-tour .signin-intro { display: block; }
  .access-page .access-tour-switch { display: block; background: transparent; border: 0; color: var(--blue); padding: 8px 0 0; font-size: 13px; font-weight: 600; }
  .access-page .access-card { grid-row: auto; padding: 17px 19px; }
  .access-page .signin-intro > h1 { font-size: clamp(33px, 8vw, 48px); }
  .access-page .signin-intro > p:not(.kicker) { font-size: 18px; }
  .access-page .tour-frame { max-height: 40dvh; }
}
@media (max-height: 650px) {
  .access-page .access-grid { padding-block: 8px; }
  .access-page .access-card > img { display: none; }
  .access-page .access-card > h2 { margin-top: 0; font-size: 23px; }
  .access-page .account-providers li { padding-block: 5px; }
  .access-page .account-providers { margin-top: 8px; }
  .access-page #account-preview { margin-top: 8px; gap: 6px; }
}
.access-page .access-card #account-intro { margin: 0; line-height: 1.45; }
.access-page .access-card .account-switch { margin-bottom: 0; line-height: 1.5; }
.access-page .signin-intro > p { margin-bottom: 0; }
@media (max-height: 740px) {
  .access-page .access-card > img { display: none; }
  .access-page .access-card > h2 { margin-top: 0; }
  .access-page .access-grid { padding-block: 10px; }
  .access-page .tour-frame { max-height: 30dvh; }
}
@media (max-height: 620px) {
  .access-page #account-preview label { margin-bottom: 3px; }
  .access-page #account-preview input { padding-block: 6px; }
  .access-page .access-card .account-providers li { gap: 1px; }
  .access-page .tour-frame { max-height: 28dvh; }
}
@media (max-width: 760px) and (max-height: 740px), (max-height: 590px) {
  .access-page #account-intro { display: none; }
  .access-page .access-card { padding-block: 13px; }
  .access-page #account-preview { gap: 7px; }
  .access-page .access-card .account-providers li { padding-block: 6px; }
}

.access-page .account-providers svg { width: 16px; height: 16px; }
.access-page .account-providers li { flex-direction: row; justify-content: center; gap: 6px; font-size: 12px; }
@media (min-width: 761px) and (min-height: 591px) {
  .access-page .access-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
  .access-page .tour-frame { max-height: min(50dvh, calc(100dvh - 410px)); }
}

.access-page .tour-intro > .kicker { margin: 0 0 7px; font-size: 13px; }
.access-page .tour-intro > h1 { margin: 0 0 9px; font-size: clamp(34px, 4vw, 57px); line-height: 1.06; }
.access-page .tour-intro > p:not(.kicker) { margin: 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; }
@media (min-width: 761px) and (min-height: 651px) {
  .access-page .access-grid {
    width: min(1440px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1.95fr) minmax(320px, 1fr);
    grid-template-rows: auto auto;
    gap: 16px clamp(18px, 2.6vw, 40px);
    align-items: stretch;
  }
  .access-page .signin-intro { display: contents; }
  .access-page .tour-intro { grid-column: 1 / -1; grid-row: 1; }
  .access-page .access-tour { grid-column: 1; grid-row: 2; margin: 0; display: flex; flex-direction: column; }
  .access-page .access-card { grid-column: 2; grid-row: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .access-page .tour-frame { flex: 1 1 auto; width: 100%; max-height: none; min-height: 0; height: min(34vw, calc(100dvh - 325px)); aspect-ratio: auto; }
}
@media (max-width: 760px), (max-height: 650px) {
  .access-page .access-grid { grid-template-columns: minmax(0, 1fr); width: min(640px, calc(100% - 28px)); }
  .access-page .signin-intro, .access-page.show-access-tour .access-card { display: none; }
  .access-page.show-access-tour .signin-intro { display: block; }
  .access-page .access-tour-switch { display: block; background: transparent; border: 0; color: var(--blue); padding: 8px 0; font-size: 13px; font-weight: 600; }
  .access-page .tour-frame { max-height: min(58dvh, calc(100dvh - 270px)); }
}
@media (prefers-reduced-motion: reduce) {
  .access-tour.playing .tour-cursor { display: none; }
}

.password-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.password-label button { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.access-card [hidden] { display: none !important; }
.access-page .account-providers li { flex-direction: column; gap: 5px; line-height: 1.25; }

.access-page .account-providers { grid-auto-rows: 1fr; }
.access-page .account-providers li {
  display: grid;
  grid-template-rows: 16px auto;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 9px 4px;
}
.access-page .account-providers svg { display: block; width: 16px; height: 16px; }
.access-page .account-providers li > span { max-width: 11ch; line-height: 1.25; }

.tour-frame { overflow: hidden; isolation: isolate; }
.tour-frame .tour-outgoing { pointer-events: none; }
.tour-cursor { z-index: 2; color: #173081; width: 29px; height: 29px; transition-timing-function: var(--motion-ease); }
.tour-toolbar button[aria-pressed="true"] { box-shadow: inset 0 -2px currentColor; }
.access-page #tour-open { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
