:root {
  --layer-atmosphere: 0;
  --layer-content: 1;
  --layer-disclosure: 2;
  --layer-header: 3;
  --layer-access: 4;
}
body { isolation: isolate; }
.shell { position: relative; z-index: var(--layer-content); }
.skip-link { z-index: var(--layer-access); }
.site-header { position: relative; z-index: var(--layer-header); }
.possibilities { width: 100%; }
.medium { position: relative; min-height: 39px; }
.medium.active { z-index: var(--layer-disclosure); isolation: isolate; }
.line { display: flex; align-items: center; gap: 6px; min-height: 39px; width: fit-content; }
.line > a { white-space: nowrap; }
.peek {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 4px;
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
}
.peek:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 25px;
  height: 25px;
  padding: 3px;
  color: var(--ink);
}
.badge img { width: 100%; height: 100%; object-fit: contain; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .adaptive > .on-light { display: none; }
  .adaptive > .on-dark { display: block; }
}
.text-mark { font: 600 25px/1 system-ui, sans-serif; }
.medium.active .line > a { text-decoration-thickness: 2px; }
.project-list {
  position: absolute;
  left: 295px;
  top: 0;
  z-index: var(--layer-content);
  display: grid;
  width: 190px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.project-list[hidden] { display: none; }
.app {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 6px;
  border-radius: 4px;
  text-decoration: none;
}
.app:hover, .app:focus-visible { background: var(--hover); }
.app-name { font-size: .875rem; line-height: 1.35; font-weight: 500; }
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: var(--layer-atmosphere);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: strict;
}
.corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 112px;
  height: 124px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.corner.shown { opacity: 1; transform: none; }
.corner .badge { width: 64px; height: 64px; padding: 0; }
.corner .text-mark { font-size: 64px; }
.corner-name { max-width: 100%; font-size: .75rem; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .project-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 2px 0 8px;
    padding: 4px;
  }
  .app { gap: 7px; min-width: 0; padding: 5px; }
  .app-name { min-width: 0; overflow-wrap: anywhere; }
  .corner { width: 76px; height: 94px; gap: 6px; }
  .corner .badge { width: 48px; height: 48px; }
  .corner .text-mark { font-size: 48px; }
  .corner-name { font-size: .6875rem; }
}
@media (max-width: 360px) {
  .peek { margin-left: 2px; }
  .project-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .corner { transition: none; transform: none; }
}
