body {
  font-family: Georgia, "Microsoft YaHei", "PingFang SC", serif;
}

.album-entry {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

.empty-state {
  max-width: 560px;
}

.album-eyebrow {
  margin: 0 0 18px;
  color: #865269;
  font-size: 12px;
  letter-spacing: .28em;
}

.empty-state h1 {
  margin: 0 0 16px;
  color: #513240;
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.2;
}

.empty-description {
  margin: 0 0 8px;
  color: #704c5d;
  font-size: 15px;
  line-height: 1.8;
}

.empty-format {
  margin: 0;
  color: #755564;
  font-size: 12px;
  line-height: 1.6;
}

.album-tools {
  display: grid;
  justify-items: center;
  gap: 9px;
  max-width: min(420px, 100%);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

#import-button {
  min-height: 44px;
  padding: 9px 23px;
  border: 1px solid #94516e;
  border-radius: 999px;
  background: #94516e;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 20px #94516e24;
  pointer-events: auto;
}

#import-button:hover:not(:disabled) {
  background: #7e405c;
}

#import-button:disabled {
  opacity: .72;
  cursor: progress;
}

#import-status {
  margin: 0;
  color: #734558;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#import-status:empty {
  display: none;
}

.album-entry:has(#empty-state[hidden]) {
  inset: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) auto auto;
  align-items: end;
  padding: 0;
  text-align: right;
}

.album-entry:has(#empty-state[hidden]) .album-tools {
  justify-items: end;
  max-width: min(350px, calc(100vw - 28px));
}

.album-entry:has(#empty-state[hidden]) #import-button {
  padding: 8px 16px;
  border-color: #9f688185;
  background: #fffaf8ed;
  color: #74445c;
  font-size: 13px;
}

.album-entry:has(#empty-state[hidden]) #import-status:not(:empty) {
  padding: 7px 10px;
  border-radius: 9px;
  background: #fffaf8f5;
}

#selection-title {
  overflow-wrap: anywhere;
}
