@import url('data:text/css,');
:root {
  --bg:#f7f8f5;
  --text:#28382f;
  --muted:#7c847e;
  --line:#e2e6df;
  --accent:#54745c
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit;
  cursor:pointer
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px
}

svg {
  width:22px;
  height:22px
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:272px;
  border-right:1px solid var(--line);
  background:#f0f2ed
}

.profile-content {
  padding:56px 32px 32px;
  height:100%;
  display:flex;
  flex-direction:column
}

.monogram {
  width:72px;
  height:72px;
  background:#dfe7dc;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-size:42px;
  letter-spacing:-6px;
  padding-right:5px;
  margin-bottom:32px
}

.monogram span {
  color:#698069
}

.eyebrow {
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted);
  font-weight:600
}

h1,h2,p {
  margin:0
}

.profile-content h2 {
  font-size:23px;
  margin:16px 0;
  letter-spacing:-.8px
}

.dot {
  color:var(--accent)
}

.bio {
  font-size:15px;
  line-height:1.9
}

.profile-rule {
  width:30px;
  border-top:1px solid #bcc8b8;
  margin:28px 0
}

.intro {
  font-size:12px;
  color:var(--muted);
  line-height:2
}

.socials {
  display:flex;
  gap:24px;
  font-size:12px;
  margin-top:28px
}

.socials a:hover {
  color:var(--accent)
}

.profile-bottom {
  margin-top:auto;
  padding-top:64px;
  font-size:11px;
  color:var(--muted)
}

.online-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#7e9a74;
  margin-right:6px
}

.copyright {
  display:block;
  margin-top:20px;
  font-size:10px
}

.home {
  margin-left:272px;
  padding:58px 48px 24px;
  max-width:1600px
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:34px
}

.page-heading h1 {
  font-size:34px;
  font-weight:600;
  letter-spacing:-1px;
  margin:12px 0 14px
}

.page-heading p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8
}

.count {
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  padding-bottom:4px
}

.grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px 22px
}

.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  transition:transform .2s,border-color .2s
}

.card:hover {
  transform:translateY(-4px);
  border-color:#a6b7a1
}

.art {
  height:216px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden
}

.card-copy {
  padding:22px 20px 24px
}

.card-copy h2 {
  font-size:17px;
  letter-spacing:normal;
  margin-bottom:9px
}

.card-copy p {
  font-size:11px;
  color:var(--muted);
  line-height:1.8
}

.card-arrow {
  float:right;
  color:#9ca59c;
  margin-top:2px
}

.card-arrow svg {
  width:18px
}

.home-footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:36px;
  padding-top:22px;
  color:#939a92;
  font-size:9px;
  letter-spacing:1px
}

.home-footer>span:last-child {
  font-size:11px;
  letter-spacing:0
}

.timer {
  height:164px;
  width:164px;
  border:1px solid #a8b79f;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#50684b;
  background:#ffffff20
}

.timer>span {
  font-size:7px;
  letter-spacing:2px
}

.timer strong {
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-size:42px;
  font-weight:normal;
  margin:10px 0
}

.timer i {
  font-style:normal;
  font-size:8px;
  border-radius:20px;
  padding:7px 13px;
  background:#607751;
  color:#fff
}

.note {
  background:#fffdf4;
  width:137px;
  height:158px;
  transform:rotate(-5deg);
  padding:19px;
  color:#71684e;
  box-shadow:0 8px 20px #6a593112;
  position:absolute
}

.note-back {
  transform:rotate(7deg);
  background:#e4d6ad
}

.note span {
  font-size:8px
}

.note b {
  font-size:21px;
  line-height:1.6;
  display:block;
  margin:12px 0;
  font-weight:500
}

.note small {
  font-size:7px;
  color:#a49a7d
}

.swatches {
  display:flex;
  transform:rotate(-7deg);
  box-shadow:0 7px 18px #6a353518;
  border:6px solid #fff;
  border-radius:5px;
  overflow:hidden
}

.swatches i {
  height:105px;
  width:34px;
  background:#86574f
}

.swatches i:nth-child(2) {
  background:#b47a6e
}

.swatches i:nth-child(3) {
  background:#d9a394
}

.swatches i:nth-child(4) {
  background:#ecc7b6
}

.swatches i:nth-child(5) {
  background:#f4e3d3
}

.art-caption {
  position:absolute;
  bottom:24px;
  font-size:6px;
  letter-spacing:1.4px;
  color:#a27f79
}

.tiles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
  padding:8px;
  background:#c9d4df;
  border-radius:7px;
  transform:rotate(6deg)
}

.tiles i {
  width:44px;
  height:44px;
  background:#f7f9fb;
  border-radius:4px;
  display:grid;
  place-items:center;
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-style:normal;
  color:#758ba1;
  font-size:21px
}

.tiles i:last-child {
  background:transparent
}

.weather {
  text-align:center;
  color:#98775d
}

.weather>span {
  font-size:6px;
  letter-spacing:1.4px
}

.sun {
  width:37px;
  height:37px;
  background:#e8ac5c;
  border-radius:50%;
  margin:17px auto 5px;
  box-shadow:0 0 0 7px #edbb7330
}

.weather strong {
  font-size:44px;
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-weight:normal
}

.weather small {
  display:block;
  font-size:8px;
  margin-top:4px
}

.bookmark {
  width:200px;
  background:#faf9fc;
  border:1px solid #dad5e2;
  border-radius:6px;
  padding:15px;
  transform:rotate(-4deg);
  box-shadow:0 8px 20px #4c395a0c
}

.bookmark b {
  display:block;
  font-size:9px;
  font-weight:500;
  margin-bottom:14px
}

.bookmark span {
  float:right;
  color:#a397b1
}

.bookmark p {
  font-size:8px;
  padding:9px 0;
  border-top:1px solid #eae5ef;
  color:#918698
}

.bookmark i {
  font-style:normal;
  background:#eeebf3;
  margin-right:8px;
  padding:3px 5px;
  border-radius:3px
}

.mobile-header,dialog {
  display:none
}

.detail-nav {
  padding:28px 40px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  border-bottom:1px solid var(--line)
}

.detail-nav>span {
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted)
}

.detail {
  max-width:860px;
  margin:0 auto;
  padding:64px 32px 72px
}

.detail-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:16px 0
}

.detail h1 {
  font-size:48px;
  font-weight:600;
  letter-spacing:-1px
}

.primary {
  background:var(--text);
  color:#fff;
  padding:14px 22px;
  border:0;
  border-radius:5px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:16px
}

.primary:hover {
  background:var(--accent)
}

.lead {
  font-size:17px;
  color:var(--muted);
  line-height:1.8;
  margin-bottom:36px
}

.detail>.art {
  height:390px;
  border-radius:8px
}

.detail .art>div {
  scale:1.6
}

.prose {
  max-width:650px;
  margin:44px auto
}

.prose h2 {
  font-size:23px;
  font-weight:500;
  margin-bottom:22px
}

.prose p {
  font-size:15px;
  line-height:2;
  color:#727c74;
  margin:16px 0
}

.text-back {
  font-size:13px;
  color:var(--accent)
}

.demo {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:64px 24px;
  gap:24px
}

.demo h1 {
  font-size:36px
}

.demo .art {
  width:min(100%,480px);
  height:320px;
  border-radius:8px
}

.demo p {
  max-width:480px;
  text-align:center;
  font-size:13px;
  line-height:1.8;
  color:var(--muted)
}

.demo-back {
  position:absolute;
  top:24px;
  left:24px;
  font-size:13px
}

@media(min-width:1600px) {
  .home {
    margin-right:auto
  }

}

@media(max-width:1200px) {
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .home {
    padding:48px 32px
  }

  .sidebar {
    width:240px
  }

  .home {
    margin-left:240px
  }

  .profile-content {
    padding:48px 26px 28px
  }

}

@media(max-width:760px) {
  .sidebar {
    display:none
  }

  .mobile-header {
    display:flex;
    align-items:center;
    gap:16px;
    padding:20px 22px;
    border-bottom:1px solid var(--line)
  }

  .mobile-header button {
    border:0;
    background:none;
    font-size:23px;
    color:var(--text);
    width:32px;
    height:32px;
    padding:0
  }

  .mobile-header span {
    font-size:10px;
    letter-spacing:2px
  }

  .home {
    margin:0;
    padding:32px 22px 24px
  }

  .page-heading {
    margin-bottom:26px
  }

  .page-heading h1 {
    font-size:29px
  }

  .page-heading p {
    font-size:12px;
    max-width:270px
  }

  .count {
    align-self:flex-start;
    margin-top:42px;
    font-size:10px
  }

  .grid {
    gap:20px
  }

  .card-copy {
    padding:20px 16px
  }

  .home-footer {
    gap:20px;
    line-height:1.8
  }

  .home-footer>span:first-child {
    max-width:180px
  }

  dialog[open] {
    display:block;
    position:fixed;
    inset:0 auto 0 0;
    margin:0;
    width:min(300px,85vw);
    height:100dvh;
    max-height:none;
    max-width:none;
    border:0;
    padding:0;
    background:#f0f2ed;
    color:var(--text)
  }

  dialog::backdrop {
    background:#18251d66
  }

  .close {
    position:absolute;
    top:16px;
    right:18px;
    border:0;
    background:none;
    font-size:28px;
    color:var(--muted);
    width:40px;
    height:40px
  }

  .drawer-open {
    overflow:hidden
  }

  .detail-nav {
    padding:22px
  }

  .detail {
    padding:42px 22px
  }

  .detail h1 {
    font-size:36px
  }

  .detail-title {
    align-items:flex-start
  }

  .primary {
    padding:12px 16px;
    font-size:12px;
    gap:8px
  }

  .lead {
    font-size:14px
  }

  .detail>.art {
    height:300px
  }

  .detail .art>div {
    scale:1.3
  }

  .prose p {
    font-size:14px
  }

  .prose h2 {
    font-size:21px
  }

}

@media(max-width:520px) {
  .grid {
    grid-template-columns:1fr
  }

  .art {
    height:240px
  }

  .card-copy p {
    font-size:12px
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important
  }

}
