.portrait-loading{padding:24px}.phone-preview{min-height:100dvh;display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px;box-sizing:border-box;background:#eae7dd}.preview-controls{width:min(100%,490px);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#505346}.preview-controls>span{display:flex;align-items:center;gap:7px;font-weight:650}.preview-controls img{width:21px;height:21px}.preview-controls div{display:flex;gap:2px;padding:3px;border:1px solid #d5d0c1;border-radius:9px}.preview-controls button{border:none;background:transparent;color:#5a5c50;border-radius:6px;padding:5px 8px;min-height:30px;font-size:12px}.preview-controls button[aria-pressed=true]{background:#fbf8ee;box-shadow:0 1px 3px #47412a24;font-weight:700}.preview-controls a{color:inherit;text-decoration:none}.phone-preview iframe{display:block;max-width:100%;height:min(850px,calc(100dvh - 88px));border:0;outline:1px solid #cdc9b8;border-radius:20px;box-shadow:0 14px 45px #413d2319;background:#f6f3e9}.desktop-portrait{margin-bottom:3px}
@media(max-width:760px){
  :root,body{background:#f4f1e9;color:#37382e}
  .phone-preview{padding:0;gap:0;background:#f4f1e9}.phone-preview .preview-controls{display:none}.phone-preview iframe{width:100%!important;max-width:none;outline:0;height:100dvh;border-radius:0;box-shadow:none}
  .phone-shell{min-height:100dvh}.phone-shell .content{max-width:560px;padding:0 16px calc(80px + env(safe-area-inset-bottom));margin:auto}
  .phone-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px 8px;max-width:560px;min-height:55px;margin:auto}
  .phone-identity{display:flex;align-items:center;gap:9px}.phone-identity img{width:30px;height:30px;border-radius:9px}.phone-name{font-family:"Noto Serif CJK SC","Songti SC",serif;font-size:17px;font-weight:700;letter-spacing:.09em;line-height:1.3}
  .phone-clock{display:block;color:#656655;font-size:11px;font-weight:500;letter-spacing:.01em;font-variant-numeric:tabular-nums;margin-top:1px}
  .phone-head .book-switch{min-height:44px;font-size:12px;padding:5px 0 5px 10px;color:#625e4e}
  .phone-head .book-switch svg:first-child{color:#8f784b}
  .phone-subtitle{margin:7px 0 17px;font-size:25px;font-family:"Noto Serif CJK SC","Songti SC",serif;letter-spacing:.035em}
  .phone-shell .mobile-nav{min-height:57px;background:#f5f2e9f7;border-top:1px solid #ded9ca;padding-top:4px;backdrop-filter:blur(12px)}.phone-shell .mobile-nav button{min-height:46px;min-width:44px;gap:3px;color:#6b6a5c;font-size:11px}.phone-shell .mobile-nav button.active{color:#495133}
  .phone-shell .mobile-nav .nav-plus svg{background:#daccac;color:#504730;border-radius:9px}
  .phone-shell .mobile-nav .active svg{stroke-width:2}.phone-shell .mobile-nav .nav-plus span{font-size:10px}
}
@media (max-width: 760px) {
  * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; }
}
