:root {
  --stage-width: 853px;
  --stage-height: 1844px;
  --paper: #faf7f2;
  --ink: #292820;
  --muted: #77766b;
  --olive: #6d6c4a;
  --olive-dark: #4c4e2d;
  --line: rgba(102, 99, 82, .16);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: hidden; background: #e8e5dd; color: var(--ink); }
button, a { color: inherit; font: inherit; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
button:hover { filter: brightness(.82); }
svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.stage-shell { width: var(--stage-width); height: var(--stage-height); margin: 0 auto; }
.stage { position: relative; width: var(--stage-width); height: var(--stage-height); overflow: hidden; border-radius: 22px 22px 0 0; background: var(--paper); transform-origin: top left; display: grid; grid-template-rows: 230px 101px 1356px 157px; box-shadow: 0 0 0 1px rgba(70, 68, 57, .08); }
.top-header { border-bottom: 1px solid var(--line); }
.status-bar { height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 8px 42px 0 67px; font: 600 27px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; color: #090909; }
.status-icons { display: flex; align-items: center; gap: 12px; }
.status-icons svg { color: #090909; stroke-width: 2.2; }
.signal { width: 31px; height: 21px; }
.wifi { width: 28px; height: 22px; }
.battery { width: 45px; height: 21px; border: 2px solid #111; border-radius: 4px; box-shadow: inset 0 0 0 3px var(--paper); background: #111; position: relative; transform: translateY(-2px); }
.battery::after { content: ""; position: absolute; right: -5px; top: 6px; width: 3px; height: 8px; border-radius: 0 2px 2px 0; background: #111; }
.brand-row { --olive: #6b6855; position: relative; height: 160px; display: flex; align-items: flex-start; }
.brand-seal { position: absolute; left: 25px; top: 13px; width: 131px; height: 131px; object-fit: cover; }
.brand-copy { position: absolute; left: 176px; top: 30px; width: 356px; color: var(--olive); opacity: .72; text-align: center; font-family: Georgia, "Times New Roman", serif; }
.brand-name { white-space: nowrap; font-size: 38px; letter-spacing: .35px; line-height: 1.2; }
.brand-sub { margin-top: 13px; display: flex; align-items: center; gap: 14px; font: 300 25px/1.2 "Songti SC", STSong, serif; letter-spacing: 3.5px; transform: translate(-1px, 1px); }
.brand-sub span { flex: 1; height: 1px; background: var(--olive); opacity: .45; }
.brand-sub span:first-child::after, .brand-sub span:last-child::before { content: ""; display: block; width: 6px; height: 6px; background: var(--olive); transform: rotate(45deg) translate(1px, -3px); }
.icon-button { position: absolute; top: 60px; color: var(--olive); }
.icon-button svg { width: 52px; height: 52px; stroke-width: 1.3; }
.search { left: 683px; }
.compose { left: 769px; }
.mail-toolbar { display: grid; grid-template-columns: 301px 552px; border-bottom: 1px solid var(--line); color: var(--olive); }
.toolbar-left, .toolbar-right { display: flex; align-items: center; height: 100%; }
.toolbar-left { padding: 0 31px 0 37px; gap: 22px; border-right: 1px solid var(--line); }
.toolbar-left span { margin-right: auto; color: var(--ink); font: 300 30px/1 "Songti SC", STSong, serif; }
.toolbar-left svg { width: 30px; }
.toolbar-left .small-chevron { width: 26px; transform: translateY(2px); }
.toolbar-right { justify-content: space-between; padding: 0 42px; }
.toolbar-right button, .toolbar-right svg { width: 33px; height: 33px; }
.toolbar-right button { display: grid; place-items: center; color: inherit; }
.toolbar-right .back { margin-right: auto; }
.toolbar-right .up { margin-left: auto; margin-right: 54px; }
.toolbar-right .up svg { transform: translateY(1px) rotate(180deg); }
.toolbar-right > button:last-child svg { transform: translateY(3px); }
.workspace { display: grid; grid-template-columns: 301px 552px; min-height: 0; }
.sidebar { border-right: 1px solid var(--line); min-height: 0; }
.folders { height: 313px; border-bottom: 1px solid var(--line); }
.folder { width: 100%; height: 75px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 19px; padding: 4px 28px 0 36px; text-align: left; text-decoration: none; font: 300 24px/1 "Songti SC", STSong, serif; }
.folder svg { width: 31px; height: 31px; color: var(--olive); }
.folder.active { height: 74px; padding-top: 0; color: #f7f4ea; background: #4f4d2d; font-size: 27px; }
.folder.active > * { transform: translate(-1px, -2px); }
.folder.active svg { color: inherit; }
.folder b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(247, 244, 234, .28); font: 20px/1 Georgia, serif; }
.contacts { position: relative; height: 1043px; overflow: hidden; }
.contacts > header { height: 94px; display: grid; grid-template-columns: 34px 1fr 34px; gap: 18px; align-items: center; padding: 4px 30px 0 35px; font: 300 28px/1 "Songti SC", STSong, serif; }
.contacts > header > svg:first-child { width: 34px; height: 34px; }
.contact-list-button { width: 34px; height: 34px; display: flex; align-items: center; }
.contacts ul { list-style: none; margin: 0 29px 0 63px; padding: 0; font: 300 24px/1 Georgia, "Songti SC", serif; }
.contacts li { height: 71px; display: flex; align-items: center; border-bottom: 1px solid rgba(102, 99, 82, .1); }
.contacts li.online::before { content: ""; width: 12px; height: 12px; margin-left: -33px; margin-right: 21px; border-radius: 50%; background: var(--olive-dark); }
.sidebar-shield { position: absolute; left: 20px; bottom: 120px; width: 260px; height: 245px; color: var(--olive); opacity: .045; }
.sidebar-brand { position: absolute; left: 47px; bottom: 59px; width: 210px; text-align: center; color: var(--olive); opacity: .15; font: 21px/1.55 Georgia, serif; }
.message { min-height: 0; display: grid; grid-template-rows: 302px 915px 139px; }
.message-header { position: relative; padding: 45px 34px; border-bottom: 1px solid var(--line); font-family: "Songti SC", STSong, serif; }
.message-header h1 { width: 409px; margin: 0 0 26px; padding-bottom: 38px; border-bottom: 1px solid var(--line); font-size: 37px; font-weight: 300; line-height: 1; }
.sender { margin-bottom: 8px; font: 31px/1 Georgia, serif; }
.recipient, .message-header time { display: block; color: var(--muted); font-size: 22px; font-weight: 300; line-height: 1.55; }
.message-header time { font-size: 24px; letter-spacing: .5px; transform: translateY(3px); }
.details { position: absolute; right: 31px; top: 202px; font: 300 20px/1 "Songti SC", STSong, serif; }
.message-watermark { position: absolute; right: 30px; top: 34px; width: 88px; height: 88px; color: var(--olive); opacity: .045; }
.message-body { padding: 39px 34px 0; font: 300 24px/2.083333 "Songti SC", STSong, serif; letter-spacing: .2px; }
.message-body p { margin: 0 0 18px; }
.message-body p:nth-child(3) { margin-top: 60px; line-height: 2.18; }
.message-body p:nth-child(n+3) { transform: translateY(-2px); }
.operation-id { letter-spacing: 2.5px; }
.final-instruction { letter-spacing: 0; }
.message-body p:last-child { margin-top: 70px; }
.message-actions { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.message-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--olive); font: 300 19px/1 "Songti SC", STSong, serif; transform: translate(-3px, -9px); }
.message-actions svg { width: 40px; height: 40px; }
.message-actions button:nth-child(2) svg { width: 44px; transform: translateY(3px); }
.message-actions button:nth-child(3) svg { width: 44px; }
.ellipsis { height: 40px; font: 22px/32px Georgia, serif; letter-spacing: 4px; transform: translateY(8px); }
.bottom-nav { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: rgba(247, 245, 238, .96); }
.bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; color: var(--olive); text-decoration: none; font: 300 19px/1 "Songti SC", STSong, serif; transform: translateY(-20px); }
.bottom-nav button:nth-child(1), .bottom-nav button:nth-child(2) { transform: translate(-5px, -20px); }
.bottom-nav button:nth-child(3) { transform: translateY(-19px); }
.bottom-nav button:nth-child(4) { transform: translate(4px, -20px); }
.bottom-nav button:nth-child(5) { transform: translate(5px, -20px); }
.bottom-nav svg { width: 48px; height: 48px; }
.bottom-nav .current { color: var(--olive-dark); }
.nav-icon { position: relative; height: 39px; }
.nav-icon svg { width: 39px; height: 39px; transform: translateX(1px); }
.nav-icon b { position: absolute; right: -19px; top: -11px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--olive); color: var(--paper); font: 17px/1 Georgia, serif; }
.douyin-watermark { position: absolute; z-index: 3; left: 255px; bottom: 29px; color: white; opacity: .38; text-shadow: 0 1px 4px rgba(0, 0, 0, .28); font: 31px/1 -apple-system, BlinkMacSystemFont, sans-serif; pointer-events: none; }
button:focus-visible { outline: 2px solid var(--olive); outline-offset: -2px; }
