.platform-picker {
  position: relative;
  flex: none;
  color: #133349;
}
.platform-picker summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
  border-radius: 13px;
}
.platform-picker summary::-webkit-details-marker { display: none; }
.platform-picker summary:hover,
.platform-picker[open] summary { background: #e4eff4; color: #075f78; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}
.platform-grid i { height: 8px; border-radius: 2px; background: currentColor; }
.platform-picker .app-panel {
  position: absolute;
  z-index: 12;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: 292px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  max-width: calc(100vw - 24px);
  padding: 18px 12px 12px;
  border: 1px solid #d8e2e9;
  border-radius: 17px;
  background: #fff;
  color: #0a2539;
  box-shadow: 0 14px 42px #152f4424, 0 2px 6px #152f440c;
}
.platform-picker .app-heading {
  margin: 0 8px 9px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.02em;
}
.platform-picker ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.platform-picker li a, .platform-picker .app-unreleased {
  display: flex;
  min-height: 108px;
  padding: 12px 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  border-radius: 11px;
  color: inherit;
  text-decoration: none;
}
.platform-picker li a:hover, .platform-picker li a:focus-visible { background: #edf4f8; }
.platform-picker :focus-visible { outline: 2px solid #0879b4; outline-offset: 1px; }
.platform-picker .app-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 13px;
  border: 2px solid var(--app-outline);
  background: transparent;
}
.app-social { --app-outline: #0a957d; }
.app-cloud { --app-outline: #158bc0; }
.platform-picker .app-icon::before {
  content: "";
  width: 38px;
  height: 36px;
  /* Show the symbol at the left of the official Delphia wordmark. */
  background: url("delphia-app-wordmark.webp") left center / auto 36px no-repeat;
}
.platform-picker .app-name { font-size: 14px; font-weight: 400; line-height: 21px; }
.platform-picker .app-name strong { font-weight: 600; }
.header > .platform-picker { display: none; }
@media (max-width: 1000px) {
  .nav-actions > .platform-picker { display: none; }
  .header > .platform-picker { display: block; position: static; margin-inline-start: auto; }
  .header > .platform-picker .app-panel { inset-inline-end: 4px; top: calc(100% + 4px); }
  .header > .language-picker { margin-inline-start: 0; }
}
@media (max-width: 370px) {
  .header { column-gap: 2px; }
  .header .brand img { width: 116px; }
}

@media (max-width: 540px) {
  .header > .platform-picker .app-panel { inset-inline-end: auto; left: 50%; transform: translateX(-50%); }
}

.app-mobile { --app-outline: #e4509a; }
.platform-picker .app-mobile-section { margin-top: 8px; padding-top: 15px; border-top: 1px solid #e4edf2; }
.platform-picker .app-unreleased { width: 100%; border: 0; background: transparent; font: inherit; cursor: default; }
.platform-picker .app-unreleased .app-icon,
.platform-picker .app-unreleased .app-name { opacity: .42; }
.platform-picker .app-status { margin-top: -6px; font-size: 11px; line-height: 1.4; color: #62788a; }
