.brand-lockup {
  display: flex;
  align-items: center;
  height: 34px;
  gap: 1px;
}

.brand-lockup__mark {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.brand-lockup__mark img {
  position: absolute;
  top: -5px;
  left: -6px;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-lockup__name {
  color: #282f5e;
  font-family: Roboto, var(--font-latin);
  font-size: 20px;
  font-weight: 500;
  line-height: 23px;
}

.language-picker {
  position: relative;
}

.language-control {
  position: relative;
  display: grid;
  grid-template-columns: 18px max-content 10px;
  align-items: center;
  width: max-content;
  height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-action);
  cursor: pointer;
  appearance: none;
  column-gap: 2px;
}

.language-control > img:first-child {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.language-control span {
  display: grid;
  min-width: 0;
  height: auto;
  align-self: center;
  color: #000000;
  font-family: "Source Han Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  place-items: center;
}

.language-control__chevron {
  width: 10px;
  height: 6px;
  pointer-events: none;
}

.language-menu {
  position: absolute;
  z-index: 5;
  top: 30px;
  right: 0;
  width: 178px;
  max-height: 304px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(37, 63, 111, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.language-menu__option {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-ink);
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.language-menu__option[aria-checked="true"] {
  background: var(--color-status-surface);
  color: var(--color-brand);
  font-weight: 600;
}

.language-menu__option:focus-visible,
.language-menu__option:hover {
  background: #f0f4ff;
  outline: 0;
}

.status-badge {
  flex: none;
  max-width: 150px;
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--color-status-surface);
  color: var(--color-status);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.0117em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glass-card {
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-card);
  background: var(--color-glass);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.schedule-card {
  position: relative;
  height: 164px;
}

.schedule-block {
  position: absolute;
  top: 23px;
  display: flex;
  width: 111px;
  align-items: center;
  flex-direction: column;
  font-family: var(--font-latin);
  text-align: center;
}

.schedule-block--start {
  left: 8px;
}

.schedule-block--end {
  right: 11px;
}

.schedule-block__label,
.schedule-block__date,
.duration-block__label {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0.0054em;
}

.schedule-block__time {
  margin-top: 5px;
  color: var(--color-strong);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.schedule-block__date {
  margin-top: 4px;
  white-space: nowrap;
}

.duration-block {
  position: absolute;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateX(-50%);
}

.duration-ring {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: conic-gradient(from -39deg, #1677ff 0deg, rgba(22, 119, 255, 0) 360deg);
  place-items: center;
}

.duration-ring::before {
  position: absolute;
  border-radius: inherit;
  background: rgba(250, 252, 255, 0.92);
  content: "";
  inset: 8px;
}

.duration-ring__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: var(--font-latin);
}

.duration-ring__content strong {
  color: var(--color-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.duration-ring__content span {
  color: var(--color-strong);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0.0054em;
}

.duration-block__label {
  max-width: 150px;
  margin-top: 10px;
  text-align: center;
  white-space: nowrap;
}

.timezone-pill {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  height: 34px;
  overflow: hidden;
  border-radius: 17px;
  background: var(--color-timezone);
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 500;
  line-height: 34px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-card {
  display: flex;
  height: 64px;
  align-items: center;
  padding: 10px;
  gap: 8px;
}

.organizer-card__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.organizer-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  font-family: Roboto, var(--font-cjk);
  gap: 2px;
}

.organizer-card__copy span {
  color: #9b9b9b;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.organizer-card__copy strong {
  overflow: hidden;
  color: var(--color-strong);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.details-card {
  min-height: 121px;
  padding: 11px 10px 9px;
}

.details-card h2 {
  margin: 0;
  color: var(--color-brand);
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.details-list {
  margin: 18px 0 0;
}

.details-row {
  display: grid;
  grid-template-columns: 14px minmax(72px, max-content) minmax(0, 1fr);
  column-gap: 8px;
  min-height: 21px;
  align-items: center;
  padding-left: 6px;
  color: var(--color-ink);
  font-family: var(--font-latin);
}

.details-row + .details-row {
  margin-top: 14px;
}

.details-row img {
  width: 14px;
  height: 14px;
}

.details-row dt {
  grid-column: 2;
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0.0054em;
}

.details-row dd {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.details-card--without-password {
  min-height: 82px;
}

.join-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--gradient-action);
  box-shadow: var(--shadow-action);
  color: #ffffff;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter 120ms ease, transform 120ms ease;
}

.join-button:active {
  filter: brightness(0.96);
  transform: scale(0.985);
}

.join-button:focus-visible,
.language-control:focus-visible {
  outline: 2px solid var(--color-status);
  outline-offset: 2px;
}

.meeting-error__card {
  width: 100%;
  padding: 28px 22px;
  text-align: center;
}

.meeting-error__card h1 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}

.meeting-error__card p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 21px;
}

@media (prefers-reduced-motion: reduce) {
  .join-button {
    transition: none;
  }
}

@media (hover: hover) {
  .join-button:hover {
    filter: brightness(1.04);
  }
}
