:root {
  --gold-1: #f7db9f;
  --gold-2: #d29a4b;
  --gold-3: #8f5a21;
  --red-1: #9e2f22;
  --red-2: #7e1510;
  --red-3: #64110c;
  --cream: #fff0d1;
  --line: rgba(247, 219, 159, 0.78);
  --shadow: 0 24px 70px rgba(0,0,0,.4);
  --panel-1: #8a563b;
  --panel-2: #6c412d;
  --panel-3: #8d6345;
  --ink: #562313;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,185,105,.14), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(255,205,132,.08), transparent 16%),
    linear-gradient(180deg, #1d0705 0%, #33100d 100%);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fff;
}
.phone {
  width: min(430px, calc(100vw - 24px));
  height: min(932px, calc(100vh - 24px));
  min-height: 932px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(44, 14, 10, .88);
  border: 1px solid rgba(255, 229, 187, .18);
  color: rgba(255, 244, 221, .95);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
button {
  font: inherit;
}
@media (max-width: 480px) {
  body { padding: 0; }
  .phone {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }
}

.resume-hint {
  font: inherit;
  cursor: pointer;
}
