/* Home: a desktop of familiar apps, in a four-column bento. */
.dashboard-page {
  max-width: 1440px;
  padding: 0 20px;
  margin: auto;
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 310px 310px 600px 310px 310px;
  gap: 16px;
  align-items: stretch;
}
.widget {
  position: relative;
  border-radius: 30px;
  background: #f6f6f8;
  overflow: hidden;
  min-width: 0;
  border: 1px solid transparent;
}
.widget button {
  cursor: pointer;
}
.widget h2,
.widget h3,
.widget h1 {
  letter-spacing: -0.7px;
}
.widget h2 {
  font-size: 24px;
}
.widget p {
  line-height: 1.65;
}
.intro-widget {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  padding: 30px;
}
.intro-widget h1 {
  font-size: 26px;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.intro-widget h1 span {
  color: #777880;
}
.intro-widget p {
  font-size: 16px;
  color: #565960;
  margin-bottom: 16px;
  line-height: 1.6;
}
.intro-widget p a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: #d4d4d8;
  text-underline-offset: 4px;
}
.intro-widget .intro-signoff {
  font-size: 14px;
  color: #7c7d83;
  margin-top: 25px;
}
.avatar-widget {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  isolation: isolate;
}
.avatar-widget .photo-avatar,
.avatar-widget .pixel-avatar,
.avatar-widget .memoji-avatar {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 38%;
  transition:
    opacity 0.65s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.25, 1),
    filter 0.45s;
}
.avatar-widget .pixel-avatar {
  image-rendering: pixelated;
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.avatar-widget.has-pixel-portrait .pixel-avatar {
  opacity: 1;
}
.avatar-widget .memoji-avatar {
  inset: 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  opacity: 0;
  transform: scale(0.84) translateY(14px);
}
.avatar-widget.is-memoji .photo-avatar,
.avatar-widget.is-memoji .pixel-avatar {
  opacity: 0;
  transform: scale(1.06);
}
.avatar-widget.is-memoji .memoji-avatar {
  opacity: 1;
  transform: scale(1);
}
.avatar-widget:not(.is-memoji):focus-within .pixel-avatar {
  opacity: 0;
}
@media (hover: hover) {
  .avatar-widget:not(.is-memoji):hover .pixel-avatar {
    opacity: 0;
  }
}
.siri-ai-glow {
  position: absolute;
  inset: 0;
  padding: 5px;
  border-radius: inherit;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    110deg,
    #4fa7ff,
    #a865ff,
    #ef85ba,
    #ffe4a5,
    #57d7ff,
    #8376ff
  );
  background-size: 400% 400%;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity 0.4s;
}
.avatar-widget.is-asking .siri-ai-glow {
  opacity: 1;
  animation: siri-edge-flow 2s ease-in-out infinite;
}
.avatar-widget.is-transforming {
  box-shadow:
    inset 0 0 25px #ba83ee4a,
    inset 0 0 8px #61c6ff60;
}
.avatar-widget.is-transforming img,
.avatar-widget.is-transforming canvas {
  animation: portrait-soften 0.8s ease;
}
@keyframes siri-edge-flow {
  0%,
  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
    filter: hue-rotate(20deg);
  }
}
@keyframes portrait-soften {
  0%,
  100% {
    filter: blur(0);
  }
  45% {
    filter: blur(7px) brightness(1.13);
  }
}
.avatar-control {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  transition:
    opacity 0.3s,
    transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.avatar-widget.is-asking .avatar-control {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.avatar-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  opacity: 0;
  transition:
    max-width 0.35s,
    opacity 0.25s,
    padding 0.35s;
}
.avatar-widget:hover .avatar-label,
.avatar-control:focus-within .avatar-label {
  max-width: 140px;
  padding: 0 10px 0 9px;
  opacity: 1;
}
.siri-button {
  height: 44px;
  border-radius: 22px;
  border: 0;
  background: #ffffffb8;
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 8px 24px -8px #0006;
  color: #24242a;
  font:
    600 14px/1 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  display: flex;
  align-items: center;
  padding: 5px;
}
.siri-orb-core {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #0000000f;
}
.avatar-widget.is-asking .siri-orb-core {
  animation: siri-breathe 0.75s ease-in-out infinite alternate;
}
@keyframes siri-breathe {
  from {
    transform: scale(0.86) rotate(-15deg);
  }
  to {
    transform: scale(1.05) rotate(15deg);
  }
}
.siri-button:disabled {
  cursor: wait;
}
.siri-request-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 6;
  height: 44px;
  display: flex;
  gap: 0;
  align-items: center;
  padding: 0 6px 0 16px;
  background: #ffffffdb;
  backdrop-filter: blur(20px) saturate(1.8);
  border-radius: 22px;
  color: #353842;
  font:
    500 14px/1 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  opacity: 0;
  transform: translateY(calc(100% + 16px)) scale(0.9);
  transition:
    opacity 0.3s,
    transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
  pointer-events: none;
  box-shadow: 0 10px 30px -8px #0006;
}
#siri-request {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.avatar-widget.is-asking .siri-request-bar {
  opacity: 1;
  transform: translateY(0);
}
.siri-cursor {
  width: 2px;
  flex-shrink: 0;
  height: 17px;
  background: #9275d8;
  animation: siri-caret 0.75s step-end infinite;
}
.siri-send {
  margin-left: auto;
  display: grid;
  place-items: center;
  background: #007aff;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.siri-send svg,
.message-reply button svg {
  display: block;
  width: 16px;
  height: 16px;
}
@keyframes siri-caret {
  50% {
    opacity: 0;
  }
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.calendar-widget {
  grid-column: 4;
  grid-row: 1;
  padding: 27px 30px;
}
.day-name {
  color: #ca2442;
  font-size: 12px;
  letter-spacing: 0.7px;
  font-weight: 500;
  margin-bottom: 4px;
}
.day-number {
  font-size: 45px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 29px;
  letter-spacing: -2px;
}
.corner-control {
  position: absolute;
  right: 25px;
  top: 27px;
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7d7e84;
  background: var(--bg);
  font-size: 15px;
}
.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.calendar-event {
  border-left: 3px solid #d6d6da;
  padding: 0 8px;
  line-height: 1.35;
  font-size: 13px;
  color: #5f6269;
}
.calendar-event strong {
  font-weight: 500;
  font-size: 14px;
  display: block;
}
.calendar-event span {
  font-size: 12px;
  display: block;
}
.calendar-event.available {
  border-color: #52b96f;
  background: #e0f1e5;
  border-radius: 3px 8px 8px 3px;
  padding: 7px 8px;
  text-align: left;
  color: #192d20;
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}
.calendar-caption {
  font-size: 12px;
  color: #87888d;
  margin: 12px 0 0;
  line-height: 1.3 !important;
}
.dock-widget {
  grid-column: 3 / span 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  padding: 25px 0 0;
}
.dock-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 25px 13px;
}
.dock-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.dock-research-chat {
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 12px;
  white-space: nowrap;
}
.dock-research-chat[hidden] {
  display: none;
}
.research-icon {
  background: #e4e5e9;
  color: #5a5b63;
}
.research-icon svg {
  width: 31px;
  height: 31px;
}
.research-card {
  color: var(--fg);
  text-align: left;
  font: inherit;
}
.research-card .draft-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.resource-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 25px 18px;
  scroll-snap-type: x proximity;
  flex: 1;
  align-items: stretch;
}
.resource-card {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 13px;
  padding: 14px;
  min-width: 240px;
  max-width: 280px;
  flex: 0 0 45%;
  scroll-snap-align: start;
  height: 108px;
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  border-color: #7870e4;
  background: #f0eefe;
}
.resource-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.resource-card small {
  margin-top: auto;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resource-card.research-card {
  padding: 12px;
}
.research-card strong {
  -webkit-line-clamp: 1;
  margin-bottom: 5px;
  flex-shrink: 0;
}
.research-card .research-overview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  flex-shrink: 0;
}
.research-card .draft-status {
  overflow: visible;
}
.app-dock {
  display: flex;
  gap: 16px;
  align-self: flex-start;
  margin: 0 25px 26px;
  padding: 13px;
  background: #ffffffb3;
  border-radius: 22px;
  box-shadow: 0 8px 18px #00000014;
  backdrop-filter: blur(15px);
}
.dock-app {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 15px;
  position: relative;
  display: grid;
  place-items: center;
  transition: transform 0.2s;
  outline: 2px solid transparent;
  outline-offset: 5px;
}
.dock-app[aria-selected="true"] {
  outline-color: #7367e6;
}
.dock-app:hover {
  transform: translateY(-4px);
}
.substack-icon {
  background: #ff6519;
  color: white;
}
.podcast-icon {
  background: linear-gradient(#c967e9, #8031df);
  color: white;
}
.dock-app svg {
  width: 37px;
  height: 37px;
}
.mail-widget {
  grid-column: 1 / span 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: 170px 1fr;
}
.mail-sidebar {
  background: #ececef;
  padding: 17px 11px;
}
.traffic-lights {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 14px;
  margin-bottom: 19px;
}
.traffic-lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6058;
}
.traffic-lights i:nth-child(2) {
  background: #ffc02f;
}
.traffic-lights i:nth-child(3) {
  background: #28c840;
}
.sidebar-caption {
  color: #73747a;
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
}
.mail-folder {
  background: transparent;
  color: #555b66;
  border: 0;
  border-radius: 8px;
  width: 100%;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px;
  font-size: 14px;
  text-align: left;
}
.mail-folder.selected {
  background: #dddde3;
  color: #343d49;
}
.mail-folder .folder-count {
  font-size: 11px;
  margin-left: auto;
  color: #73747a;
}
.mail-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.mail-header strong {
  font-size: 14px;
  display: block;
}
.mail-header small {
  font-size: 12px;
  color: var(--muted);
}
.subscribe-button {
  background: #0873d7;
  color: white;
  border: 0;
  border-radius: 99px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
}
.mail-messages {
  overflow: auto;
  flex: 1;
}
.mail-message {
  display: block;
  padding: 12px 18px 12px 27px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.mail-message:hover {
  background: #e9f1fc;
}
.mail-message::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0879e8;
}
.mail-from {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  align-items: center;
  margin-bottom: 3px;
}
.mail-from span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.mail-title {
  font-size: 14px;
  display: block;
  font-weight: 500;
  line-height: 1.35;
}
.mail-summary {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
  line-height: 1.4 !important;
}
.board-widget {
  grid-column: 3 / span 2;
  grid-row: 3;
  display: flex;
  flex-direction: column;
}
.board-toolbar {
  padding: 16px 17px;
  background: #f4f4f7;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.board-toolbar .traffic-lights {
  margin: 0 auto 0 0;
}
.tool-button {
  width: 28px;
  height: 28px;
  background: none;
  border: 0;
  border-radius: 7px;
  color: #47484e;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.tool-button:hover,
.tool-button[aria-pressed="true"] {
  background: #dddde5;
}
.tool-button:disabled {
  opacity: 0.3;
}
.tool-button svg {
  width: 17px;
  height: 17px;
}
.board-viewport {
  position: relative;
  overflow: auto;
  flex: 1;
  background-image: radial-gradient(#d7d7df 0.9px, transparent 0.9px);
  background-size: 17px 17px;
  min-height: 230px;
  touch-action: pan-x pan-y;
}
.board-plane {
  width: 1060px;
  height: 620px;
  position: relative;
  transform-origin: 0 0;
}
.board-timeline {
  position: absolute;
  left: 30px;
  top: 19px;
  font-size: 11px;
  letter-spacing: 1.1px;
  color: #797b80;
  font-weight: 700;
}
.board-node {
  position: absolute;
  min-height: 75px;
  width: 165px;
  border: 1px solid #dfdfe5;
  background: white;
  border-radius: 13px;
  padding: 14px;
  box-shadow: 0 3px 7px #0001;
  color: #252529;
  cursor: grab;
  user-select: none;
}
.board-node h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.board-node p {
  font-size: 12px;
  color: #75777d;
  margin: 0;
  line-height: 1.4;
}
.board-node.note {
  background: #fff3a8;
  border: 0;
  width: 175px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  transform: rotate(-3deg);
  min-height: 115px;
}
.board-node.text {
  border: 0;
  background: none;
  box-shadow: none;
  min-height: 40px;
}
.board-node.shape {
  background: #cee6fa;
  border: 1px solid #94c6ed;
  border-radius: 50%;
  width: 85px;
  height: 85px;
  min-height: 0;
}
.board-node img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.board-node:focus-visible {
  outline: 3px solid #1689ff;
}
.board-caption {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 11px;
  color: #8f9096;
  background: var(--soft);
  padding: 3px 7px;
  border-radius: 8px;
  pointer-events: none;
}
.board-zoom {
  position: absolute;
  left: 15px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px 7px;
}
.board-zoom button {
  background: none;
  border: 0;
  font-size: 16px;
  color: var(--fg);
}
.board-zoom span {
  font-size: 11px;
  min-width: 33px;
  text-align: center;
}
.board-widget.is-expanded {
  position: fixed;
  inset: 4vh 4vw;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 0 0 100vmax #0008;
  grid-column: auto;
  grid-row: auto;
}
.board-drawing {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.board-drawing.active {
  pointer-events: auto;
  cursor: crosshair;
  touch-action: none;
}
.booth-widget {
  grid-column: 1;
  grid-row: 4;
  padding: 26px;
  background: #f1f1f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--fg);
  width: 100%;
}
.booth-icon {
  width: 102px;
  height: 102px;
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 7px #0002);
  transform-origin: center bottom;
}
.booth-widget h2 {
  font-size: 19px;
  margin: 0 0 5px;
}
.booth-widget p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: center;
  max-width: 220px;
}
.booth-widget:hover .booth-icon,
.booth-widget:focus-visible .booth-icon {
  animation: booth-bounce 0.6s ease;
}
@keyframes booth-bounce {
  30% {
    transform: translateY(-14px);
  }
  55% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px);
  }
}
.photos-widget {
  grid-column: 2;
  grid-row: 4;
  background: #e1eaf4;
}
.photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 25px;
  text-align: center;
  border: 0;
  background: none;
  color: #637180;
}
.photo-flower {
  font-size: 70px;
  line-height: 1;
  margin-bottom: 21px;
}
.photo-empty strong {
  font-size: 18px;
  color: #364d63;
}
.photo-empty span {
  font-size: 13px;
  margin-top: 6px;
}
.photo-view {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-controls {
  position: absolute;
  left: 15px;
  bottom: 14px;
  right: 15px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.photo-caption {
  font-size: 12px;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  border-radius: 99px;
  padding: 7px 12px;
  color: #333;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.circle-button {
  width: 33px;
  height: 33px;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  background: #ffffffcc;
  color: #353a43;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}
.spotify-widget {
  --music-text: #111;
  --music-muted: #5e5e66;
  --music-accent: #12803b;
  --music-footer: #ebebef;
  --music-line: #0000001a;
  --music-track: #dcdce1;
  grid-column: 3 / span 2;
  grid-row: 4;
  background: #f7f7f9;
  color: var(--music-text);
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
}
.spotify-head {
  position: relative;
  flex-shrink: 0;
}
.spotify-glow {
  position: absolute;
  inset: -24px -24px 0;
  background: var(--playlist-color);
  mask-image: linear-gradient(#000, transparent);
  opacity: 0.32;
  pointer-events: none;
  transition: background-color 0.6s;
}
.spotify-head > :not(.spotify-glow) {
  position: relative;
}
.spotify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 18px;
}
.spotify-app-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.spotify-app-label svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.spotify-header a {
  color: #3d3d44;
  font-size: 12px;
  font-weight: 600;
}
.spotify-header a:hover {
  color: var(--music-text);
}
.spotify-top {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}
.playlist-cover {
  width: clamp(100px, 9.5vw, 148px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 8px 32px #00000038;
}
.spotify-hero-text {
  flex: 1;
  min-width: 0;
}
.spotify-top small {
  font-size: 12px;
  font-weight: 500;
}
.spotify-top h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  margin: 6px 0 10px;
  letter-spacing: -0.04em;
  color: var(--music-text);
  overflow-wrap: anywhere;
}
.spotify-top p {
  font-size: 13px;
  margin: 0;
  color: #3d3d44;
}
.spotify-external-play {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1ed760;
  color: #000;
  transition:
    transform 0.15s,
    background 0.15s;
}
.spotify-external-play svg {
  width: 24px;
  height: 24px;
}
.spotify-external-play:hover {
  transform: scale(1.06);
  background: #3be477;
}
.playlist-list-head,
.playlist-choice {
  display: grid;
  grid-template-columns: 24px 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
}
.playlist-list-head {
  padding: 0 12px 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--music-line);
  color: var(--music-muted);
  font-size: 12px;
  flex-shrink: 0;
}
.playlist-list-head span:nth-child(2) {
  grid-column: 2 / 4;
}
.playlist-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 8px;
}
.playlist-choice {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--music-text);
  text-align: left;
  transition: background 0.15s;
}
.playlist-choice:hover {
  background: #0000000f;
}
.playlist-choice[aria-pressed="true"] strong {
  color: var(--music-accent);
}
.playlist-number {
  font-size: 14px;
  text-align: center;
  color: var(--music-muted);
}
.playlist-choice[aria-pressed="true"] .playlist-number {
  font-size: 0;
  height: 14px;
  background:
    linear-gradient(var(--music-accent) 0 0) 3px 100% / 3px 60% no-repeat,
    linear-gradient(var(--music-accent) 0 0) 10px 100% / 3px 100% no-repeat,
    linear-gradient(var(--music-accent) 0 0) 17px 100% / 3px 40% no-repeat;
  animation: playlist-equalizer 1s ease-in-out infinite alternate;
}
@keyframes playlist-equalizer {
  0% {
    background-size:
      3px 60%,
      3px 100%,
      3px 40%;
  }
  50% {
    background-size:
      3px 100%,
      3px 35%,
      3px 80%;
  }
  100% {
    background-size:
      3px 30%,
      3px 70%,
      3px 100%;
  }
}
.playlist-thumbnail {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
}
.playlist-choice-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.playlist-choice strong {
  font-size: 14px;
  font-weight: 500;
}
.playlist-choice small {
  font-size: 12px;
  color: var(--music-muted);
}
.spotify-mini-player {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  margin: auto -24px 0;
  padding: 14px 24px 16px;
  background: var(--music-footer);
  flex-shrink: 0;
  pointer-events: none;
}
.spotify-mini-player > img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.spotify-footer-name {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}
.spotify-footer-name small {
  color: var(--music-muted);
  font-size: 12px;
  font-weight: 400;
}
.spotify-footer-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--music-muted);
}
.spotify-footer-controls svg {
  width: 16px;
  height: 16px;
}
.spotify-footer-pause {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--music-text);
  color: var(--music-footer);
}
.spotify-progress {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: var(--music-track);
  overflow: hidden;
}
.spotify-progress > span {
  display: block;
  height: 100%;
  background: var(--music-text);
  transform: scaleX(0.35);
  transform-origin: left center;
  animation: playlist-progress 40s linear infinite;
}
@keyframes playlist-progress {
  from {
    transform: scaleX(0.08);
  }
  to {
    transform: scaleX(0.92);
  }
}
.map-widget {
  grid-column: 1;
  grid-row: 5;
  background: #b8d8e4;
}
.map-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.map-tiles {
  position: absolute;
  inset: 0;
}
.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.map-marker {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffffbb;
  border: 4px solid white;
  box-shadow: 0 6px 18px #1235;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.map-marker .profile-thumb {
  width: 100%;
  height: 100%;
}
.map-marker::after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 13px;
  height: 13px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #2587e033;
}
.map-attribution {
  position: absolute;
  right: 7px;
  top: 6px;
  font-size: 10px;
  background: #ffffffc9;
  padding: 1px 5px;
  border-radius: 4px;
  color: #3b5261;
  z-index: 2;
}
.map-card {
  position: absolute;
  left: 14px;
  right: 49px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffffda;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 9px 10px;
  color: #2e3640;
  box-shadow: 0 3px 14px #1232;
  pointer-events: none;
}
.map-card .profile-thumb {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.map-card strong {
  display: block;
  font-size: 12px;
}
.map-card span {
  font-size: 11px;
  display: block;
  line-height: 1.25;
}
.map-zoom {
  position: absolute;
  right: 12px;
  bottom: 15px;
  background: #ffffffda;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map-zoom button {
  background: none;
  border: 0;
  width: 29px;
  height: 28px;
  color: #34485a;
  font-size: 18px;
}
.map-zoom button + button {
  border-top: 1px solid #aaa6;
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #335469;
  gap: 12px;
  background: #d4e8ed;
  text-align: center;
  padding: 20px;
}
.contact-widget {
  grid-column: 2;
  grid-row: 5;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-avatar {
  width: 65px;
  height: 65px;
  margin-bottom: 9px;
}
.profile-thumb.memoji-thumb > img {
  object-fit: contain;
  transform: none;
  padding: 2px;
}
.contact-widget h2 {
  font-size: 22px;
  margin: 0 0 5px;
}
.contact-widget > p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.4;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-bottom: 13px;
}
.contact-actions a,
.contact-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaeaf0;
  color: #1775c7;
  font-size: 11px;
  border: 0;
  padding: 9px 12px;
  min-width: 64px;
}
.contact-actions svg {
  width: 20px;
  height: 20px;
  margin-bottom: 3px;
}
.contact-email {
  width: 100%;
  background: #eaeaf0;
  border-radius: 12px;
  padding: 9px 11px;
  display: flex;
  gap: 5px;
  align-items: center;
  text-align: left;
  min-width: 0;
}
.contact-email small {
  display: block;
  font-size: 10px;
  color: #8c8d94;
}
.contact-email a {
  font-size: 12px;
  color: #1575cb;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.contact-email button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #1978ce;
  padding: 4px;
  flex-shrink: 0;
}
.contact-email svg {
  width: 17px;
  height: 17px;
}
.lower-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.draft-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.draft-status i {
  display: block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9899a1;
  animation: draft-pulse 2.4s ease-in-out infinite;
}
@keyframes draft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #9899a100;
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    box-shadow: 0 0 0 4px #9899a133;
    opacity: 1;
    transform: scale(1.15);
  }
}
.research-papers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.research-paper {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 22px;
}
.research-paper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.research-number {
  font-size: 12px;
  color: var(--muted);
}
.research-topic {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 7px;
}
.research-paper h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 13px;
}
.research-paper > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.research-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
}
.research-footer p {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}
.research-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--fg);
  color: var(--bg);
  padding: 13px 18px;
  border-radius: 99px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}
.research-booking:hover {
  opacity: 0.85;
}
.books-widget {
  min-height: 290px;
  display: flex;
  align-items: center;
  padding: 28px;
  gap: 20px;
}
.books-description {
  flex: 1;
  min-width: 150px;
}
.widget-app-label {
  position: absolute;
  left: 27px;
  top: 25px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.books-description h2 {
  margin-top: 48px;
  font-size: 25px;
  margin-bottom: 9px;
}
.books-description p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 230px;
}
.mini-shelf {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 52%;
  padding-top: 40px;
  align-self: center;
}
.mini-shelf img {
  width: calc((100% - 24px) / 3);
  max-height: 153px;
  object-fit: contain;
  object-position: bottom;
  border-radius: 3px;
  box-shadow: 0 4px 5px #0003;
}
.search-widget {
  min-height: 290px;
  border: 0;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  width: 100%;
}
.keycaps {
  display: flex;
  gap: 14px;
}
.shortcut-key {
  position: relative;
  display: block;
}
.shortcut-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 7px);
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.search-widget:hover .shortcut-hint,
.search-widget:focus-visible .shortcut-hint {
  opacity: 1;
  transform: translate(-50%, 0);
  animation: shortcut-hint-bounce 1.4s ease-in-out infinite;
}
.search-widget:hover .shortcut-key,
.search-widget:focus-visible .shortcut-key {
  animation: shortcut-key-bounce 1.4s ease-in-out infinite;
}
.search-widget:hover .shortcut-key:nth-child(2),
.search-widget:focus-visible .shortcut-key:nth-child(2),
.shortcut-key:nth-child(2) .shortcut-hint {
  animation-delay: 0.16s;
}
@keyframes shortcut-key-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  40% {
    transform: translateY(-7px) rotate(-3deg);
  }
  65% {
    transform: translateY(1px) rotate(1deg);
  }
}
@keyframes shortcut-hint-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -4px);
  }
  65% {
    transform: translate(-50%, 1px);
  }
}
.keycap {
  width: 84px;
  height: 84px;
  border-radius: 23px;
  box-shadow:
    0 6px 0 #dedee3,
    0 12px 15px #0002;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 500;
}
.search-widget p {
  font-size: 13px;
  color: var(--muted);
  margin: 9px 0 0;
}
.news-widget {
  padding: 27px;
  background: linear-gradient(135deg, #ffd094, #ff77b5 53%, #6361d9);
  color: #23213e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}
.news-widget .eyebrow {
  color: #453956;
}
.news-widget h2 {
  font-size: 26px;
  line-height: 1.22;
  max-width: 240px;
}
.news-widget .news-tag {
  background: #ffffffa8;
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 11px;
  align-self: flex-start;
}
.dashboard-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 0 45px;
  flex-wrap: wrap;
}
.soft-control {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--soft);
  padding: 8px 16px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.soft-control[aria-pressed="true"] {
  color: #4b4cc3;
  border-color: #7d7bea;
}
.edit-mode .widget {
  outline: 2px dashed #8888d099;
  outline-offset: -7px;
  cursor: grab;
}
.edit-mode .widget * {
  pointer-events: none;
}
.edit-mode .widget:focus-visible {
  outline: 3px solid #2563eb;
}
.widget.drag-target {
  outline: 3px solid #536cdb;
}
.home-footer {
  justify-content: center;
  border: 0;
  font-size: 12px;
  padding-top: 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 11px 21px;
  box-shadow: 0 8px 30px #0003;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
}
.message-notification {
  position: fixed;
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 90;
  width: min(370px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid #ffffffa6;
  border-radius: 21px;
  background: rgba(244, 244, 247, 0.91);
  color: #202023;
  box-shadow:
    0 18px 50px #00000024,
    0 2px 8px #0000000d;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, Inter,
    sans-serif;
  opacity: 0;
  transform: translate3d(calc(100% + 32px), 0, 0);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.8, 0.32, 1),
    opacity 0.24s;
  pointer-events: none;
  touch-action: pan-y;
}
.message-notification[hidden] {
  display: none !important;
}
.message-notification.is-visible {
  transform: translate3d(var(--message-offset, 0px), 0, 0);
  opacity: 1;
  pointer-events: auto;
}
.message-notification.is-dragging {
  transition: none;
  cursor: grabbing;
  user-select: none;
}
.message-notification.is-leaving {
  transform: translate3d(var(--message-exit), 0, 0);
  opacity: 0;
  pointer-events: none;
}
.message-notification-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}
.message-notification-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #e4e4e8;
}
.message-notification-avatar > .profile-thumb {
  width: 100%;
  height: 100%;
}
.message-app-icon {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1.5px solid #f4f4f7;
  border-radius: 5px;
  background: linear-gradient(#5fe777, #26bf49);
}
.message-app-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
}
.message-notification-heading > div {
  min-width: 0;
}
.message-notification-heading strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}
.message-notification-heading > div > span {
  display: block;
  color: #6a6a70;
  font-size: 12px;
  line-height: 1.4;
}
.message-time {
  margin-left: auto;
  align-self: flex-start;
  padding-top: 3px;
  color: #797981;
  font-size: 12px;
}
.message-dismiss {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dedee3a6;
  color: #66666d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.message-dismiss:hover {
  background: #d5d5db;
  color: #202023;
}
.message-notification-text {
  margin: 14px 0;
  font-size: 15px;
  line-height: 1.45;
}
.message-reply {
  display: flex;
  align-items: center;
  gap: 8px;
}
.message-reply input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 7px 11px;
  border: 1px solid #cfcfd5;
  border-radius: 10px;
  outline: none;
  background: #ffffff91;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}
.message-reply input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 2px #007aff1a;
}
.message-reply input::placeholder {
  color: #74747c;
}
.message-reply button {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #007aff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.message-reply button:hover {
  background: #0069db;
}
.message-reply-hint {
  margin: 7px 0 0;
  color: #797981;
  font-size: 12px;
  line-height: 1.4;
}
:root[data-theme="dark"] .message-notification {
  border-color: #ffffff1f;
  background: rgba(46, 46, 50, 0.94);
  color: #f6f6f7;
  box-shadow: 0 18px 50px #00000059;
}
:root[data-theme="dark"] .message-notification-avatar {
  background: #49494f;
}
:root[data-theme="dark"] .message-app-icon {
  border-color: #2e2e32;
}
:root[data-theme="dark"] .message-notification-heading > div > span,
:root[data-theme="dark"] .message-time,
:root[data-theme="dark"] .message-reply-hint {
  color: #b2b2bc;
}
:root[data-theme="dark"] .message-dismiss {
  background: #ffffff1a;
  color: #cacad1;
}
:root[data-theme="dark"] .message-dismiss:hover {
  background: #ffffff2b;
}
:root[data-theme="dark"] .message-reply input {
  background: #16161973;
  border-color: #66666e;
}
:root[data-theme="dark"] .message-reply input:focus {
  border-color: #62adff;
}
:root[data-theme="dark"] .message-reply input::placeholder {
  color: #b2b2bc;
}
@media (max-width: 600px) {
  .message-notification {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: min(370px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    padding: 16px;
  }
  .message-reply input {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .message-notification {
    transition: none;
  }
}
.modal {
  max-width: 620px;
  width: calc(100% - 36px);
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 20px 100px #0005;
  max-height: 90vh;
}
.modal::backdrop {
  background: #18243880;
  backdrop-filter: blur(7px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.modal-header h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0;
}
.close-modal {
  border: 0;
  background: var(--soft);
  color: var(--muted);
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  display: grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}
.close-modal svg,
.message-dismiss svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.close-modal:hover {
  color: var(--ink);
}
.modal-body {
  padding: 24px;
}
.modal-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.modal label {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin: 15px 0 7px;
}
.modal input,
.modal select,
.modal textarea {
  font: inherit;
  color: var(--fg);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  width: 100%;
  font-size: 15px;
}
.modal textarea {
  min-height: 140px;
  resize: vertical;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.modal-button {
  padding: 10px 17px;
  border-radius: 99px;
  border: 0;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal-button.secondary {
  color: var(--fg);
  background: var(--soft);
}
.siri-modal {
  max-width: 420px;
}
.siri-orb {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: conic-gradient(#2d48d6, #38b8d2, #ad5cf2, #ff569f, #2d48d6);
  box-shadow:
    inset 0 0 17px #24318799,
    0 6px 20px #7e65ed30;
  margin: 3px auto 20px;
}
.siri-modal .modal-body > p {
  text-align: center;
  font-size: 18px;
  color: var(--fg);
}
.siri-option {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--soft);
  border-radius: 14px;
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 15px;
}
.date-options {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.date-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 15px;
  background: var(--soft);
  color: var(--fg);
  font-size: 14px;
  cursor: pointer;
}
.date-chip[aria-pressed="true"] {
  border-color: #528edd;
  background: #e9f3ff;
  color: #1459a0;
}
.search-modal {
  max-width: 630px;
}
.command-search {
  border: 0 !important;
  background: none !important;
  font-size: 20px !important;
  padding: 2px !important;
  outline: 0;
}
.search-results {
  padding: 8px;
  max-height: 390px;
  overflow: auto;
}
.search-result {
  display: flex;
  gap: 13px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 12px 15px;
  border-radius: 12px;
  font: inherit;
  color: var(--fg);
  cursor: pointer;
}
.search-result:hover,
.search-result.is-active {
  background: var(--soft);
}
.search-result strong {
  display: block;
  font-size: 15px;
}
.search-result-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.search-result-copy small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.search-result-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  font-size: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
}
.search-result-enter {
  color: var(--muted);
  opacity: 0;
}
.search-result.is-active .search-result-enter {
  opacity: 1;
}
.search-group-title {
  color: var(--muted);
  padding: 12px 15px 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.search-hint {
  padding: 10px 20px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.search-empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.booth-modal {
  max-width: 800px;
}
.camera-stage {
  background: #171820;
  aspect-ratio: 4/3;
  max-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9abb6;
}
.camera-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.camera-message {
  text-align: center;
  max-width: 370px;
  padding: 25px;
  line-height: 1.6;
}
.camera-countdown {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 100px;
  color: #fff;
  text-shadow: 0 5px 20px #0007;
}
.booth-settings {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
}
.booth-settings label {
  margin: 0;
  flex: 1;
}
.booth-settings select {
  width: auto;
  min-width: 120px;
}
.capture-button {
  width: 55px;
  height: 55px;
  border: 5px solid #ffffff;
  background: #ed364b;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c9c9d0;
  cursor: pointer;
  color: white;
  font-size: 19px;
  flex-shrink: 0;
}
.capture-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.photo-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 17px 0 0;
  min-height: 30px;
}
.photo-strip a img {
  height: 85px;
  border-radius: 10px;
  display: block;
}
.booth-privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 15px 0 0;
}
.book-page {
  max-width: 1440px;
  margin: auto;
  padding: 0 24px 60px;
}
.book-intro h1 {
  font-size: 40px;
  margin: 0 0 14px;
}
.book-intro > p {
  font-size: 17px;
  max-width: 720px;
  color: var(--muted);
}
.book-source {
  font-size: 13px !important;
  line-height: 1.6;
  margin: 0 0 25px;
}
.book-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 26px 0 32px;
}
.book-filter {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 13px;
  background: var(--bg);
  color: var(--fg);
  font-size: 13px;
  cursor: pointer;
}
.book-filter[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.book-filter span {
  opacity: 0.5;
  margin-left: 6px;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 31px 23px;
}
.book-tile {
  background: none;
  border: 0;
  text-align: left;
  color: var(--fg);
  padding: 0;
  cursor: pointer;
  min-width: 0;
}
.book-tile .cover-wrap {
  height: 250px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 14px;
}
.book-tile img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  border-radius: 5px;
  filter: drop-shadow(0 5px 4px #0002);
  transition: transform 0.2s;
}
.book-tile:hover img {
  transform: translateY(-4px);
}
.book-tile strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.book-tile .book-author {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 8px;
  line-height: 1.3;
}
.stars {
  font-size: 15px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.stars .empty {
  color: #b9bbc2;
}
.book-detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
}
.book-detail > img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px #0002);
  border-radius: 5px;
}
.book-detail h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 7px;
}
.drawn-cover {
  background: #f5f5f3;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 7px #0002;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #111;
}
.drawn-cover strong {
  font-size: 24px;
}
.drawn-cover small {
  font-size: 11px;
}
.book-detail .drawn-cover {
  height: 230px;
}
.layout-toolbar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: none;
  background: var(--nav);
  backdrop-filter: blur(15px);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px;
  gap: 8px;
  z-index: 150;
  box-shadow: 0 7px 30px #0002;
}
.layout-toolbar.show {
  display: flex;
}
.layout-toolbar button {
  border: 0;
  background: var(--soft);
  color: var(--fg);
  border-radius: 99px;
  padding: 8px 17px;
  font-size: 14px;
  cursor: pointer;
}
.layout-toolbar button:last-child {
  background: var(--fg);
  color: var(--bg);
}
.liquid-glass .dashboard-page {
  position: relative;
}
.liquid-glass {
  --soft: #ffffffa0;
  background:
    radial-gradient(at 20% 20%, #b8d9ff 0, transparent 42%),
    radial-gradient(at 85% 60%, #d8c7ff 0, transparent 42%),
    radial-gradient(at 45% 100%, #b8efe3 0, transparent 45%), #eef4ff;
  background-attachment: fixed;
}
.liquid-glass .widget {
  background: #ffffff70;
  border: 1px solid #ffffffc9;
  box-shadow:
    inset 0 1px 2px #fff,
    0 9px 24px #3c559516;
  backdrop-filter: blur(24px) saturate(160%);
}
.liquid-glass .spotify-widget {
  background: #ffffff70;
}
.liquid-glass .mail-sidebar,
.liquid-glass .board-toolbar {
  background: #ffffff59;
}
.liquid-glass .avatar-widget {
  background: #a8c2b277;
}
.liquid-glass .photos-widget {
  background: #a8c8ee66;
}
.liquid-glass .news-widget {
  background: linear-gradient(140deg, #ffd794ad, #ff80ce77, #9793efaa);
}
.liquid-glass .navigation {
  background: #ffffff66;
  backdrop-filter: blur(25px);
}
:root[data-theme="dark"] .widget {
  background: #1d1d21;
}
:root[data-theme="dark"] .intro-widget p {
  color: #b7b7c0;
}
:root[data-theme="dark"] .intro-widget h1 span {
  color: #a4a4af;
}
:root[data-theme="dark"] .avatar-widget {
  background: #29362d;
}
:root[data-theme="dark"] .avatar-widget.is-memoji {
  background: linear-gradient(135deg, #414065, #644454);
}
:root[data-theme="dark"] .mail-sidebar,
:root[data-theme="dark"] .board-toolbar {
  background: #25252b;
}
:root[data-theme="dark"] .mail-folder {
  color: #a5a7b4;
}
:root[data-theme="dark"] .mail-folder.selected {
  background: #393a43;
  color: white;
}
:root[data-theme="dark"] .mail-message:hover {
  background: #252f3e;
}
:root[data-theme="dark"] .resource-card:hover {
  background: #29243d;
}
:root[data-theme="dark"] .app-dock {
  background: #34343eaa;
}
:root[data-theme="dark"] .calendar-event {
  color: #c1c2cc;
}
:root[data-theme="dark"] .calendar-event.available {
  background: #213e2b;
  color: #d1eedc;
}
:root[data-theme="dark"] .photos-widget {
  background: #273348;
}
:root[data-theme="dark"] .photo-empty,
:root[data-theme="dark"] .photo-empty strong {
  color: #c6d4e3;
}
:root[data-theme="dark"] .contact-actions a,
:root[data-theme="dark"] .contact-actions button,
:root[data-theme="dark"] .contact-email {
  background: #292a34;
  color: #74b4f3;
}
:root[data-theme="dark"] .contact-email a {
  color: #74b4f3;
}
:root[data-theme="dark"] .keycap {
  background: #2c2c32;
  box-shadow:
    0 6px 0 #24242a,
    0 12px 15px #0004;
}
:root[data-theme="dark"] .board-viewport {
  background-image: radial-gradient(#43434c 0.9px, transparent 0.9px);
}
:root[data-theme="dark"] .board-node {
  background: #32323b;
  border-color: #484853;
  color: #eee;
}
:root[data-theme="dark"] .board-node p {
  color: #b0afbe;
}
:root[data-theme="dark"] .board-node.note {
  background: #6e602d;
  color: #fff1ae;
}
:root[data-theme="dark"] .board-node.shape {
  background: #345570;
}
:root[data-theme="dark"] .board-node.text {
  background: none;
}
:root[data-theme="dark"] .tool-button {
  color: #c7c7d2;
}
:root[data-theme="dark"] .tool-button:hover {
  background: #3c3c47;
}
:root[data-theme="dark"] .news-widget {
  background: linear-gradient(135deg, #e29968, #b9549c 50%, #383467);
  color: #fff;
}
:root[data-theme="dark"] .news-widget .eyebrow {
  color: #fff;
}
:root[data-theme="dark"] .news-widget .news-tag {
  background: #fff2;
}
:root[data-theme="dark"] .spotify-widget {
  --music-text: #f0f0f4;
  --music-muted: #b5b5c0;
  --music-accent: #5bd78a;
  --music-footer: #32323d;
  --music-line: #ffffff1a;
  --music-track: #50505d;
  background: #27272e;
}
:root[data-theme="dark"] .spotify-top p,
:root[data-theme="dark"] .spotify-header a {
  color: var(--music-muted);
}
:root[data-theme="dark"] .playlist-choice:hover {
  background: #ffffff0f;
}
:root[data-theme="dark"] .liquid-glass {
  background:
    radial-gradient(at 20% 20%, #183754 0, transparent 42%),
    radial-gradient(at 85% 60%, #392655 0, transparent 42%),
    radial-gradient(at 45% 100%, #1c493f 0, transparent 45%), #151720;
}
:root[data-theme="dark"] .liquid-glass .widget {
  background: #27273899;
  border-color: #ffffff21;
  box-shadow:
    inset 0 1px 2px #ffffff22,
    0 9px 24px #0003;
}
:root[data-theme="dark"] .liquid-glass .navigation {
  background: #29294099;
}
:root[data-theme="dark"] .liquid-glass .spotify-widget {
  background: #27273899;
}
@media (min-width: 1500px) {
  .bento {
    grid-template-rows: 330px 330px 600px 330px 330px;
  }
  .intro-widget {
    padding: 35px;
  }
  .intro-widget h1 {
    font-size: 29px;
  }
  .intro-widget p {
    font-size: 17px;
  }
}
@media (max-width: 1150px) {
  .bento {
    grid-template-rows: 300px 300px 570px 300px 300px;
  }
  .intro-widget {
    padding: 25px;
  }
  .intro-widget h1 {
    font-size: 24px;
  }
  .intro-widget p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 15px;
  }
  .calendar-widget {
    padding: 25px 21px;
  }
  .calendar-caption {
    font-size: 11px;
  }
  .mail-widget {
    grid-template-columns: 130px 1fr;
  }
  .mail-folder {
    font-size: 12px;
  }
  .mail-folder .folder-count {
    display: none;
  }
  .contact-widget {
    padding: 21px 17px;
  }
  .contact-actions a,
  .contact-actions button {
    padding: 8px 10px;
    min-width: 52px;
  }
  .spotify-top {
    gap: 17px;
  }
  .books-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 27px 20px;
  }
  .book-tile .cover-wrap {
    height: 220px;
  }
}
@media (max-width: 950px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 290px 265px 365px 570px 310px 310px 310px 310px;
  }
  .intro-widget {
    grid-column: 1 / span 2;
    grid-row: 1;
    min-height: 0;
  }
  .intro-widget h1 {
    font-size: 27px;
  }
  .intro-widget p {
    font-size: 16px;
    max-width: 100%;
  }
  .intro-widget .intro-signoff {
    margin-top: 16px;
  }
  .avatar-widget {
    grid-column: 1;
    grid-row: 2;
  }
  .calendar-widget {
    grid-column: 2;
    grid-row: 2;
    padding: 25px 30px;
  }
  .dock-widget {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
  .mail-widget {
    grid-column: 1 / span 2;
    grid-row: 4;
    grid-template-columns: 165px 1fr;
  }
  .board-widget {
    grid-column: 1 / span 2;
    grid-row: 5;
  }
  .booth-widget {
    grid-column: 1;
    grid-row: 6;
  }
  .photos-widget {
    grid-column: 2;
    grid-row: 6;
  }
  .map-widget {
    grid-column: 1;
    grid-row: 7;
  }
  .contact-widget {
    grid-column: 2;
    grid-row: 7;
  }
  .spotify-widget {
    grid-column: 1 / span 2;
    grid-row: 8;
  }
  .spotify-top {
    margin-bottom: 10px;
  }
  .lower-bento {
    grid-template-columns: 1fr 1fr;
  }
  .books-widget {
    grid-column: 1 / span 2;
    min-height: 265px;
  }
  .search-widget,
  .news-widget {
    min-height: 265px;
  }
  .books-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
  }
  .book-tile .cover-wrap {
    height: 250px;
  }
  .contact-actions a,
  .contact-actions button {
    padding: 9px 14px;
    min-width: 65px;
  }
  .contact-email a {
    font-size: 13px;
  }
  .contact-widget h2 {
    font-size: 24px;
  }
  .calendar-caption {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .dashboard-page {
    padding: 0 14px;
  }
  .bento {
    gap: 13px;
    grid-template-rows: auto 280px 250px 355px 570px 285px 295px 310px 280px;
  }
  .widget {
    border-radius: 24px;
  }
  .intro-widget {
    padding: 24px;
  }
  .intro-widget h1 {
    font-size: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .intro-widget p {
    font-size: 16px;
    line-height: 1.7;
  }
  .calendar-widget {
    padding: 23px 18px;
  }
  .corner-control {
    right: 17px;
    top: 20px;
    width: 28px;
    height: 28px;
  }
  .day-number {
    font-size: 41px;
    margin-bottom: 24px;
  }
  .calendar-event strong {
    font-size: 13px;
  }
  .calendar-event span {
    font-size: 11px;
  }
  .calendar-caption {
    font-size: 11px;
    margin-top: 12px;
    max-width: 140px;
  }
  .dock-heading {
    margin-left: 22px;
    margin-right: 22px;
  }
  .app-dock {
    margin-left: 22px;
    margin-bottom: 22px;
    padding: 11px;
    gap: 13px;
  }
  .dock-app {
    width: 53px;
    height: 53px;
    border-radius: 13px;
  }
  .resource-list {
    padding-left: 22px;
  }
  .resource-card {
    flex-basis: 74%;
    min-width: 225px;
  }
  .mail-widget {
    grid-template-columns: 95px 1fr;
  }
  .mail-sidebar {
    padding: 17px 6px;
  }
  .mail-folder {
    padding: 7px 4px;
    font-size: 11px;
    gap: 4px;
  }
  .sidebar-caption {
    font-size: 10px;
  }
  .mail-header {
    padding: 16px 13px;
  }
  .mail-header small {
    font-size: 11px;
  }
  .subscribe-button {
    padding: 8px 11px;
    font-size: 12px;
  }
  .mail-message {
    padding: 13px 12px 13px 23px;
  }
  .mail-title {
    font-size: 13px;
  }
  .mail-from {
    font-size: 12px;
  }
  .mail-from span {
    font-size: 10px;
  }
  .mail-summary {
    font-size: 12px;
  }
  .board-toolbar {
    padding: 13px 12px;
    gap: 5px;
  }
  .tool-button {
    width: 25px;
  }
  .board-caption {
    font-size: 10px;
  }
  .booth-widget {
    padding: 21px 15px;
  }
  .booth-icon {
    font-size: 70px;
  }
  .booth-widget h2 {
    font-size: 17px;
  }
  .booth-widget p {
    font-size: 11px;
  }
  .photo-empty {
    padding: 17px;
  }
  .photo-flower {
    font-size: 60px;
  }
  .photo-empty strong {
    font-size: 16px;
  }
  .photo-empty span {
    font-size: 12px;
  }
  .contact-widget {
    padding: 20px 13px;
  }
  .contact-avatar {
    width: 55px;
    height: 55px;
  }
  .contact-widget h2 {
    font-size: 20px;
  }
  .contact-widget > p {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .contact-actions {
    gap: 5px;
  }
  .contact-actions a,
  .contact-actions button {
    padding: 8px 9px;
    min-width: 43px;
    font-size: 10px;
  }
  .contact-actions svg {
    width: 18px;
    height: 18px;
  }
  .contact-email {
    padding: 8px;
    gap: 1px;
  }
  .contact-email a {
    font-size: 11px;
  }
  .contact-email small {
    font-size: 9px;
  }
  .contact-email button {
    padding: 2px;
  }
  .map-card {
    left: 10px;
    right: 40px;
    padding: 8px;
    gap: 4px;
    bottom: 13px;
    border-radius: 13px;
  }
  .map-card .profile-thumb {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .map-card strong {
    font-size: 11px;
  }
  .map-card span {
    font-size: 10px;
  }
  .map-zoom {
    right: 9px;
    bottom: 13px;
  }
  .map-zoom button {
    width: 25px;
    height: 25px;
  }
  .map-attribution {
    font-size: 9px;
  }
  .spotify-widget {
    padding: 20px 16px 0;
  }
  .spotify-top h2 {
    font-size: 30px;
  }
  .spotify-header {
    font-size: 12px;
  }
  .spotify-header a {
    font-size: 11px;
  }
  .lower-bento {
    gap: 13px;
    margin-top: 13px;
  }
  .books-widget {
    padding: 24px;
    gap: 15px;
    min-height: 250px;
  }
  .books-description {
    min-width: 130px;
  }
  .books-description h2 {
    font-size: 21px;
  }
  .books-description p {
    font-size: 12px;
  }
  .mini-shelf {
    width: 49%;
    gap: 7px;
  }
  .mini-shelf img {
    width: calc((100% - 14px) / 3);
  }
  .widget-app-label {
    left: 24px;
    top: 23px;
    font-size: 12px;
  }
  .keycaps {
    gap: 10px;
  }
  .keycap {
    width: 58px;
    height: 63px;
    font-size: 30px;
    border-radius: 18px;
  }
  .search-widget,
  .news-widget {
    padding: 20px;
    min-height: 245px;
  }
  .search-widget p {
    font-size: 11px;
  }
  .news-widget h2 {
    font-size: 21px;
  }
  .news-widget .eyebrow {
    font-size: 11px;
  }
  .news-widget .news-tag {
    font-size: 10px;
  }
  .dashboard-controls {
    padding: 28px 0 35px;
    gap: 9px;
  }
  .soft-control {
    font-size: 12px;
    padding: 8px 12px;
  }
  .book-page {
    padding: 0 18px 45px;
  }
  .book-intro h1 {
    font-size: 34px;
  }
  .book-intro > p {
    font-size: 16px;
  }
  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 17px;
  }
  .book-tile .cover-wrap {
    height: 185px;
  }
  .book-tile strong {
    font-size: 13px;
  }
  .book-tile .book-author {
    font-size: 12px;
  }
  .book-filter {
    font-size: 12px;
    padding: 8px 11px;
  }
  .book-detail {
    grid-template-columns: 110px 1fr;
    gap: 18px;
  }
  .book-detail h3 {
    font-size: 21px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-header {
    padding: 17px 20px;
  }
  .date-chip {
    font-size: 12px;
    padding: 10px 12px;
  }
  .booth-settings {
    flex-wrap: wrap;
  }
  .camera-stage {
    aspect-ratio: 3/4;
  }
  .book-source {
    font-size: 12px !important;
  }
  .avatar-label {
    display: none;
  }
}
@media (max-width: 380px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .bento > .widget {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 300px;
  }
  .intro-widget {
    min-height: 0 !important;
  }
  .avatar-widget {
    height: 330px;
  }
  .dock-widget {
    height: 280px;
  }
  .mail-widget {
    height: 365px;
  }
  .board-widget {
    height: 570px;
  }
  .spotify-widget {
    min-height: 310px !important;
  }
  .lower-bento {
    grid-template-columns: 1fr;
  }
  .books-widget {
    grid-column: 1;
  }
  .search-widget,
  .news-widget {
    min-height: 230px;
  }
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .book-tile .cover-wrap {
    height: 210px;
  }
  .calendar-caption {
    max-width: none;
  }
  .contact-email {
    max-width: 250px;
  }
  .map-widget {
    height: 330px;
  }
  .contact-widget {
    height: 320px;
  }
}

/* Rearranged tiles keep their own proportions at each screen size. */
.layout-custom .bento {
  grid-auto-flow: dense;
  grid-auto-rows: 310px;
  grid-template-rows: none;
}
.layout-custom .bento > .widget {
  grid-column: auto;
  grid-row: auto;
}
.layout-custom .bento > .intro-widget {
  grid-column: span 2;
  grid-row: span 2;
}
.layout-custom .bento > .dock-widget,
.layout-custom .bento > .mail-widget,
.layout-custom .bento > .board-widget {
  grid-column: span 2;
}
.layout-custom .bento > .spotify-widget {
  grid-column: span 2;
  grid-row: span 1;
}
@media (max-width: 950px) {
  .layout-custom .bento {
    grid-auto-rows: 330px;
  }
  .layout-custom .bento > .intro-widget {
    grid-column: span 2;
    grid-row: span 2;
  }
  .layout-custom .bento > .spotify-widget {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 380px) {
  .layout-custom .bento {
    grid-auto-rows: auto;
  }
  .layout-custom .bento > .widget {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Career milestones keep the editable Freeform surface. */
.career-track {
  position: absolute;
  left: 30px;
  width: 610px;
  color: #787b85;
  font-size: 12px;
  letter-spacing: 0.055em;
}
.track-foundation {
  top: 22px;
}
.track-google {
  top: 308px;
}
.career-track strong {
  font-weight: 500;
}
.career-axis {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  border-bottom: 1px solid #cbd0d8;
  padding-bottom: 9px;
  font-size: 12px;
  letter-spacing: 0;
}
.career-axis span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 1px;
  height: 7px;
  background: #bac1ce;
  margin-left: -12px;
}
.track-google .career-axis {
  width: 440px;
}
.board-node.career {
  width: 190px;
  min-height: 112px;
  padding: 15px;
}
.career-company {
  display: block;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.8px;
  margin-bottom: 11px;
  line-height: 1;
}
.company-ebay {
  color: #366bcf;
}
.company-google {
  color: #4285f4;
}
.company-amazon {
  color: #242933;
}
.company-westpac {
  color: #cb2733;
}
.board-node.career h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 7px;
}
.board-node.career p {
  font-size: 12px;
  line-height: 1.5;
  color: #70747b;
}
.board-node[data-node="note-ebay"] {
  min-height: 56px;
  width: 164px;
  padding: 16px;
  transform: rotate(-3deg);
}
.board-node[data-node="google-sales"],
.board-node[data-node="google-product"] {
  min-height: 142px;
  width: 200px;
}
.board-node[data-node="note-mentor"] {
  width: 190px;
  min-height: 154px;
  font-size: 14px;
  line-height: 1.5;
  transform: rotate(3deg);
}
.board-node[data-node="note-business"] {
  width: 630px;
  font-size: 13px;
  color: #8a7f99;
  font-weight: 500;
}
/* Photo captions and the info panel. */
.photo-controls {
  gap: 6px;
}
.photo-caption {
  font-size: 12px;
  padding: 7px 10px;
}
.photo-info-button {
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
}
.photo-count {
  position: absolute;
  top: 13px;
  right: 13px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 99px;
  background: #0004;
  color: white;
  backdrop-filter: blur(10px);
}
@media (max-width: 600px) {
  .photo-info {
    flex-direction: column;
    gap: 14px;
  }
  .camera-info {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }
  .siri-request-bar {
    font-size: 12px;
    padding: 0 6px 0 12px;
    left: 9px;
    right: 9px;
  }
  .siri-button {
    font-size: 12px;
  }
  .booth-icon {
    width: 90px;
    height: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .avatar-widget img,
  .avatar-widget canvas,
  .siri-ai-glow,
  .siri-request-bar {
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

.layout-custom .bento > .board-widget {
  grid-row: span 2;
}
:root[data-theme="dark"] .board-node.career p {
  color: #b0afbe;
}

@media (max-width: 950px) {
  .research-papers {
    grid-template-columns: 1fr;
  }
  .research-paper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .research-paper-top {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }
  .research-topic {
    grid-column: 1;
  }
  .research-paper h3 {
    grid-column: 1;
    margin-bottom: 0;
  }
  .research-paper > p:last-child {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .research-paper {
    display: block;
    padding: 19px;
  }
  .research-paper h3 {
    margin-bottom: 12px;
  }
  .research-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .research-booking {
    width: 100%;
  }
  .spotify-top h2 {
    font-size: 25px;
  }
  .spotify-top small {
    font-size: 9px;
  }
  .playlist-cover {
    width: 90px;
    height: 90px;
  }

  .search-result-copy small {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .bento > .spotify-widget {
    min-height: 310px !important;
  }
  .spotify-top {
    gap: 14px;
  }
  .spotify-top h2 {
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  .spotify-top {
    gap: 14px;
  }
  .spotify-top h2 {
    font-size: 28px;
  }
  .spotify-mini-player {
    margin: auto -16px 0;
    padding: 12px 16px 14px;
  }
  .spotify-glow {
    inset: -20px -16px 0;
  }
  .spotify-external-play {
    width: 40px;
    height: 40px;
  }
  .playlist-list-head,
  .playlist-choice {
    column-gap: 10px;
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 380px) {
  .dock-heading {
    margin-left: 20px;
    margin-right: 20px;
    gap: 7px;
  }
  .dock-title {
    font-size: 13px;
  }
  .dock-research-chat {
    font-size: 11px;
    padding: 5px 7px;
  }
  .spotify-top {
    gap: 12px;
  }
  .playlist-cover {
    width: 80px;
    height: 80px;
  }
}

/* Reference-style corner actions and hover movement. */
.tile-arrow {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.books-widget,
.search-widget,
.booth-widget {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.books-widget:hover,
.books-widget:focus-visible,
.search-widget:hover,
.search-widget:focus-visible,
.booth-widget:hover,
.booth-widget:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px var(--line),
    0 16px 32px -16px #0003;
}
.books-widget:hover .tile-arrow,
.books-widget:focus-visible .tile-arrow,
.search-widget:hover .tile-arrow,
.search-widget:focus-visible .tile-arrow,
.booth-widget:hover .tile-arrow,
.booth-widget:focus-visible .tile-arrow {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.mini-shelf img {
  transition: transform 0.3s;
}
.books-widget:hover .mini-shelf img:nth-child(1),
.books-widget:focus-visible .mini-shelf img:nth-child(1) {
  transform: translateY(-4px);
}
.books-widget:hover .mini-shelf img:nth-child(2),
.books-widget:focus-visible .mini-shelf img:nth-child(2) {
  transform: translateY(-6px);
  transition-delay: 0.04s;
}
.books-widget:hover .mini-shelf img:nth-child(3),
.books-widget:focus-visible .mini-shelf img:nth-child(3) {
  transform: translateY(-4px);
  transition-delay: 0.08s;
}
.photos-app-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 6px 16px #0003;
  pointer-events: none;
  transition: transform 0.3s;
}
/* A small Photos-style filmstrip keeps the image in focus. */
.photo-slider-wrap {
  position: absolute;
  top: 20px;
  left: 16px;
  right: 88px;
  height: 44px;
  padding: 6px;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  background: #1c1c1e40;
  backdrop-filter: blur(14px);
}
.photo-filmstrip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  height: 100%;
  pointer-events: none;
}
.photo-filmstrip img {
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.68;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.photo-filmstrip img.is-selected {
  opacity: 1;
  transform: scale(1.08);
  box-shadow:
    0 0 0 2px #fff,
    0 2px 8px #0005;
}
#photo-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
}
.photo-slider-wrap:focus-within {
  outline: 2px solid white;
  outline-offset: 3px;
}
.photos-app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photos-widget:hover .photos-app-icon {
  transform: rotate(-6deg) scale(1.05);
}
.photo-info-button[aria-expanded="true"] {
  background: #22252e;
  color: #fff;
}
.photo-info-bubble {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 60px;
  z-index: 2;
  padding: 14px;
  border-radius: 20px;
  background: #ffffffdf;
  backdrop-filter: blur(16px);
  color: #25272e;
  box-shadow: 0 8px 24px #0002;
  animation: photo-info-in 0.25s ease-out;
}
.photo-info-bubble[hidden] {
  display: none;
}
.photo-info-bubble p {
  margin: 0;
}
.photo-info-bubble .photo-info-date {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.photo-info-card {
  border-radius: 12px;
  background: #fff8;
  overflow: hidden;
  font-size: 12px;
}
.photo-info-card p {
  padding: 7px 10px;
  line-height: 1.4;
}
.photo-info-card p + p {
  border-top: 1px solid #00000012;
}
.photo-info-device {
  font-weight: 600;
  background: #00000008;
}
@keyframes photo-info-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
:root[data-theme="dark"] .photo-info-bubble {
  background: #282832e6;
  color: #f0f0f4;
}
:root[data-theme="dark"] .photo-info-card {
  background: #ffffff08;
}
:root[data-theme="dark"] .photo-info-card p + p {
  border-color: #ffffff14;
}
:root[data-theme="dark"] .photo-info-device {
  background: #ffffff0a;
}
@media (max-width: 600px) {
  .photo-slider-wrap {
    top: 12px;
    left: 12px;
    right: 68px;
    padding: 6px;
  }
  .photos-app-icon {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
    border-radius: 12px;
    padding: 4px;
  }
  .photo-info-bubble {
    left: 8px;
    right: 8px;
    padding: 10px;
    border-radius: 16px;
  }
  .photo-info-bubble .photo-info-date {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .photo-info-card p {
    padding: 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .books-widget,
  .search-widget,
  .booth-widget,
  .mini-shelf img,
  .photos-app-icon,
  .spotify-glow {
    transition: none;
  }
}

/* Compact home layout: music occupies one row, books and search fill the next. */
.spotify-widget {
  padding: 20px 22px 0;
  min-height: 0;
}
.spotify-header {
  margin-bottom: 12px;
  font-size: 14px;
}
.spotify-app-label {
  font-weight: 500;
}
.spotify-widget .playlist-list {
  flex: 1;
  overflow: visible;
  padding-bottom: 12px;
}
.spotify-widget .playlist-choice {
  grid-template-columns: 24px 44px minmax(0, 1fr);
  min-height: 66px;
  padding: 8px;
  border-radius: 12px;
}
.spotify-widget .playlist-thumbnail {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.spotify-widget .playlist-choice strong {
  font-size: 16px;
}
.spotify-widget .playlist-choice small {
  line-height: 1.5;
}
.spotify-widget .spotify-mini-player {
  margin: auto -22px 0;
  padding: 12px 22px 14px;
  grid-template-columns: 34px minmax(0, 1fr) 36px;
  gap: 8px 12px;
  pointer-events: auto;
}
.spotify-widget .spotify-mini-player > img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.spotify-widget .spotify-external-play {
  width: 36px;
  height: 36px;
}
.spotify-widget .spotify-external-play svg {
  width: 18px;
  height: 18px;
}
.spotify-widget .spotify-progress {
  height: 3px;
}
.bento > .lower-bento {
  grid-column: 3 / span 2;
  grid-row: 5;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  min-width: 0;
}
.lower-bento > .books-widget,
.lower-bento > .search-widget {
  grid-column: auto;
  min-height: 0;
  height: 100%;
}
.lower-bento > .books-widget {
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
}
.lower-bento .books-description {
  flex: 0;
  min-width: 0;
}
.lower-bento .books-description h2 {
  margin: 38px 0 6px;
  font-size: 24px;
}
.lower-bento .books-description p {
  font-size: 14px;
}
.lower-bento .mini-shelf {
  width: 100%;
  max-width: 230px;
  justify-content: center;
  padding-top: 0;
  margin-top: auto;
}
.lower-bento .mini-shelf img {
  max-height: 116px;
}
.layout-custom .bento > .lower-bento {
  grid-column: span 2;
  grid-row: auto;
}
@media (max-width: 950px) {
  .bento > .lower-bento {
    grid-column: 1 / span 2;
    grid-row: 9;
  }
  .layout-custom .bento > .lower-bento {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .spotify-widget {
    padding: 18px 18px 0;
  }
  .spotify-widget .spotify-mini-player {
    margin: auto -18px 0;
    padding: 12px 18px;
  }
  .bento > .lower-bento {
    gap: 13px;
  }
  .lower-bento > .books-widget,
  .lower-bento > .search-widget {
    padding: 18px;
  }
  .lower-bento .widget-app-label {
    top: 18px;
    left: 18px;
  }
  .lower-bento .books-description h2 {
    font-size: 21px;
    margin-top: 30px;
  }
  .lower-bento .mini-shelf {
    gap: 6px;
  }
  .lower-bento .mini-shelf img {
    width: calc((100% - 12px) / 3);
    max-height: 100px;
  }
  .lower-bento .keycaps {
    gap: 8px;
  }
  .lower-bento .keycap {
    width: 48px;
    height: 54px;
    font-size: 28px;
  }
  .lower-bento .search-widget p {
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .bento > .spotify-widget {
    min-height: 310px !important;
  }
  .bento > .lower-bento,
  .layout-custom .bento > .lower-bento {
    grid-column: 1;
    grid-row: auto;
    min-height: 270px;
  }
  .lower-bento > .books-widget,
  .lower-bento > .search-widget {
    padding: 14px;
  }
  .lower-bento .widget-app-label {
    top: 16px;
    left: 14px;
  }
  .lower-bento .keycap {
    width: 42px;
    height: 48px;
    font-size: 26px;
  }
  .lower-bento .books-description h2 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-filmstrip img {
    transition: none;
  }
}

/* Compact Spotify collection: selected artwork on the left, choices on the right. */
.spotify-widget .spotify-header {
  margin-bottom: 15px;
}
.spotify-collection {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  flex: 1;
  min-height: 0;
  align-items: center;
}
.spotify-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.spotify-feature > img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.spotify-feature-copy {
  min-width: 0;
}
.spotify-feature-copy > small {
  font-size: 12px;
  color: var(--music-muted);
}
.spotify-feature-copy h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 8px 0;
  overflow-wrap: break-word;
}
.spotify-feature-copy p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--music-muted);
  margin: 0 0 12px;
}
.spotify-widget .spotify-feature .spotify-external-play {
  width: 38px;
  height: 38px;
  background: #1ed760;
  color: #08361c;
}
.spotify-widget .playlist-list {
  padding: 0;
  flex: initial;
}
.spotify-widget .playlist-choice {
  grid-template-columns: 17px 34px minmax(0, 1fr);
  min-height: 70px;
  padding: 9px 7px;
  gap: 8px;
}
.spotify-widget .playlist-thumbnail {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.spotify-widget .playlist-choice strong {
  font-size: 14px;
  line-height: 1.4;
}
.spotify-widget .playlist-choice small {
  font-size: 12px;
  line-height: 1.5;
}
.spotify-widget .playlist-number {
  width: 17px;
}
.spotify-widget .playlist-choice[aria-pressed="true"] .playlist-number {
  background-position:
    0 100%,
    6px 100%,
    12px 100%;
}
.spotify-animation {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 32px;
  margin: 12px 0 13px;
  flex-shrink: 0;
}
.spotify-animation .spotify-progress {
  flex: 1;
  background: var(--music-track);
}
.spotify-animation .spotify-progress > span {
  background: var(--music-muted);
}
.spotify-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.spotify-wave i {
  width: 3px;
  height: 13px;
  border-radius: 3px;
  background: var(--music-accent);
  animation: rotation-wave 1.15s ease-in-out infinite alternate;
  transform-origin: center;
}
.spotify-wave i:nth-child(2) {
  height: 18px;
  animation-delay: -0.4s;
}
.spotify-wave i:nth-child(3) {
  height: 9px;
  animation-delay: -0.2s;
}
.spotify-wave i:nth-child(4) {
  height: 16px;
  animation-delay: -0.7s;
}
.spotify-wave i:nth-child(5) {
  height: 11px;
  animation-delay: -0.5s;
}
@keyframes rotation-wave {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}

/* Photos pagination retains the native drag and keyboard control. */
.photo-slider-wrap {
  left: 16px;
  right: auto;
  top: 18px;
  width: 160px;
  max-width: calc(100% - 76px);
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 99px;
  background: #314b5f80;
}
.photo-pagination {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.photo-pagination > span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: #dce8ef8c;
  flex-shrink: 0;
  transition:
    width 0.18s ease,
    background 0.18s ease;
}
.photo-pagination > span.is-selected {
  width: 27px;
  background: white;
}

/* Spotlight follows the familiar results-list and preview arrangement. */
.search-modal {
  width: min(1020px, calc(100% - 36px));
  max-width: 1020px;
  background: #f1f1f4ed;
  border-color: #a7a7ac;
  border-radius: 28px;
  backdrop-filter: blur(26px);
  overflow: hidden;
  color: #202124;
}
.search-modal::backdrop {
  background: #17212b40;
  backdrop-filter: blur(5px);
}
.spotlight-search-bar {
  padding: 25px 26px;
  display: flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid #d2d3d8;
}
.spotlight-magnifier {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #62656a;
}
.spotlight-magnifier svg {
  width: 100%;
  height: 100%;
}
.search-modal .command-search {
  font-size: 30px !important;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #25262a;
  padding: 0 !important;
  min-width: 0;
  margin: 0;
  border-radius: 0;
}
.search-modal .command-search::placeholder {
  color: #676a70;
  opacity: 1;
}
.spotlight-search-bar .close-modal {
  background: #e3e3e8;
  color: #686a70;
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.spotlight-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  min-height: 410px;
}
.search-modal .search-results {
  max-height: min(480px, calc(90dvh - 150px));
  padding: 10px 12px 16px;
  min-width: 0;
  overscroll-behavior: contain;
}
.search-modal .search-group-title {
  font-size: 13px;
  font-weight: 550;
  text-transform: none;
  letter-spacing: normal;
  padding: 12px 13px 14px;
  color: #676a70;
}
.search-modal .search-result {
  padding: 8px 10px;
  gap: 12px;
  min-height: 55px;
  border-radius: 13px;
  color: #202124;
}
.search-modal .search-result.is-active {
  background: #007aff;
  color: white;
}
.search-modal .search-result:hover:not(.is-active) {
  background: #00000008;
}
.search-modal .search-result-icon {
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 10px;
  background: #dcdde370;
  color: inherit;
  font-size: 25px;
  overflow: hidden;
}
.search-result-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-icon svg {
  width: 24px;
  height: 24px;
}
.search-modal .search-result-copy {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.search-modal .search-result strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  flex-shrink: 0;
}
.search-modal .search-result-copy small {
  display: block;
  font-size: 15px;
  margin: 0;
  color: #696c73;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.search-modal .search-result.is-active small {
  color: #ffffffeb;
}
.spotlight-preview {
  border-left: 1px solid #d2d3d8;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}
.spotlight-preview-icon {
  width: 96px;
  height: 96px;
  border-radius: 25px;
  background: #dedfe6;
  display: grid;
  place-items: center;
  font-size: 58px;
  overflow: hidden;
}
.spotlight-preview-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-preview-icon svg {
  width: 55px;
  height: 55px;
  color: #ee6c30;
}
.spotlight-preview h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 24px 0 13px;
}
.spotlight-preview > p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b6d74;
  margin: 0;
  max-width: 260px;
}
.spotlight-preview-open {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  border: 0;
  background: transparent;
  color: #676a70;
  font: inherit;
  font-size: 15px;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}
.spotlight-preview-open:hover {
  background: #dedfe680;
  color: #25262a;
}
.spotlight-preview-open kbd {
  font: inherit;
  font-size: 18px;
  border: 1px solid #caccd3;
  border-radius: 7px;
  padding: 2px 9px;
}
.search-modal .search-hint {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  background: transparent;
  border-color: #d2d3d8;
  color: #72757c;
  font-size: 12px;
  padding: 12px 22px;
}
.search-hint kbd {
  font: inherit;
  padding: 1px 4px;
  border: 1px solid #ced0d6;
  border-radius: 4px;
  margin-right: 3px;
}
.search-modal .search-empty {
  font-size: 15px;
  line-height: 1.7;
}
.spotlight-preview-empty {
  font-size: 15px;
}
:root[data-theme="dark"] .search-modal {
  background: #292a30eb;
  color: #f3f3f5;
  border-color: #5a5b63;
}
:root[data-theme="dark"] .spotlight-search-bar,
:root[data-theme="dark"] .spotlight-preview,
:root[data-theme="dark"] .search-modal .search-hint {
  border-color: #484950;
}
:root[data-theme="dark"] .search-modal .command-search,
:root[data-theme="dark"] .search-modal .search-result {
  color: #f3f3f5;
}
:root[data-theme="dark"] .search-modal .command-search::placeholder,
:root[data-theme="dark"] .search-modal .search-group-title,
:root[data-theme="dark"] .search-modal .search-result-copy small,
:root[data-theme="dark"] .spotlight-preview > p,
:root[data-theme="dark"] .spotlight-preview-open {
  color: #b7b8c1;
}
:root[data-theme="dark"] .search-modal .search-result.is-active {
  color: white;
}
:root[data-theme="dark"] .search-modal .search-result.is-active small {
  color: #fff;
}
:root[data-theme="dark"] .spotlight-preview-icon,
:root[data-theme="dark"] .spotlight-search-bar .close-modal {
  background: #44454e;
}

.board-node.career {
  min-height: 138px;
}
.board-node.career h3 {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 8px 0;
}
.board-node[data-node="google-product"] {
  width: 220px;
}
.career-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 9px;
  border-radius: 9px;
  background: #edf4ff;
  color: #3d65a0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}
:root[data-theme="dark"] .career-badge {
  background: #2f3c56;
  color: #bfd6ff;
}
@media (max-width: 1150px) and (min-width: 951px) {
  .spotify-collection {
    gap: 14px;
  }
  .spotify-feature {
    gap: 12px;
  }
  .spotify-feature > img {
    width: 83px;
    height: 83px;
  }
  .spotify-feature-copy h2 {
    font-size: 22px;
  }
}
@media (max-width: 650px) {
  .spotify-collection {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 15px;
  }
  .spotify-feature {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .spotify-feature > img {
    width: 80px;
    height: 80px;
  }
  .spotify-feature-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
  }
  .spotify-feature-copy > small,
  .spotify-feature-copy p {
    display: none;
  }
  .spotify-feature-copy h2 {
    font-size: 20px;
    margin: 0;
    width: 100%;
  }
  .spotify-widget .spotify-feature .spotify-external-play {
    width: 30px;
    height: 30px;
  }
  .spotify-widget .playlist-choice {
    grid-template-columns: 12px 30px minmax(0, 1fr);
    padding: 8px 0;
    gap: 7px;
    min-height: 79px;
  }
  .spotify-widget .playlist-thumbnail {
    width: 30px;
    height: 30px;
  }
  .spotify-widget .playlist-choice small {
    display: none;
  }
  .photo-slider-wrap {
    left: 12px;
    top: 13px;
    width: 150px;
    height: 32px;
  }
  .search-modal {
    width: calc(100% - 24px);
    border-radius: 21px;
  }
  .spotlight-search-bar {
    padding: 19px 18px;
    gap: 10px;
  }
  .search-modal .command-search {
    font-size: 24px !important;
  }
  .spotlight-magnifier {
    width: 24px;
    height: 24px;
  }
  .spotlight-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .spotlight-preview {
    display: none;
  }
  .search-modal .search-results {
    max-height: min(470px, calc(90dvh - 132px));
    padding: 9px 9px 13px;
  }
  .search-modal .search-result-copy {
    display: block;
  }
  .search-modal .search-result strong {
    max-width: 100%;
    font-size: 15px;
  }
  .search-modal .search-result-copy small {
    font-size: 13px;
  }
  .search-modal .search-hint {
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    padding: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spotify-wave i {
    animation: none;
  }
  .photo-pagination > span {
    transition: none;
  }
}
