/* Restore the illustrated PDF layout, keeping live widgets and business data. */
.rank-panel,.card,.order-card,.product,.tab,.modal,.personal-entry,.metrics,.profile,.primary,.secondary,.red-packet,#nav,.podium-card,.result-cell,.empty,input,select,.actor-hero{border:8px solid transparent;border-image:url('/ornaments/frame.svg') 29 / 8px / 0 stretch;border-radius:0;background-color:#04251de8;box-shadow:none}#scenery>.ref-art{opacity:.85}#header{padding-left:0;padding-right:0}.primary,.secondary{color:#ffe4a2;background:#062820;font-family:SimSun,serif}.section-title h2{font:26px SimSun,serif;color:#fff0cc}.phone[data-page=home]{height:100dvh;min-height:0;padding:0;overflow:hidden}.phone[data-page=home] #header{display:none}.phone[data-page=home] #screen{padding:0 14px;height:100%}.home-layout{height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;padding-top:18px;padding-bottom:90px}.home-layout .shortcuts{flex:0 0 36%;grid-template-columns:1.17fr 1fr;grid-template-rows:1fr 1fr;gap:5px;min-height:0}.home-layout .shortcut,.home-layout .shortcut.large{height:100%;padding:0;background:none;border:0}.home-layout .shortcut .ref-art,.home-layout .shortcut.large .ref-art{position:static;width:100%;height:100%;opacity:1;aspect-ratio:auto}.home-layout .section-title{flex-shrink:0;margin:6px 0 4px;line-height:24px}.home-layout .section-title h2{font-size:22px}.home-layout .section-title a{font-size:12px}.home-popularity{flex:1;min-height:0;overflow:hidden;padding:3px}.home-popularity .podium{height:100%;gap:6px;align-items:flex-end}.home-popularity .podium-card{height:91%;flex:1;display:flex;flex-direction:column;padding:0 0 3px;min-height:0;border-width:5px}.home-popularity .podium-card.first{height:100%;flex:1.12}.home-popularity .rank-score{font-size:11px;padding:1px 0;white-space:nowrap}.home-popularity .portrait{flex:1;min-height:0;overflow:hidden}.home-popularity .portrait>.ref-art{height:100%;aspect-ratio:auto!important}.home-popularity h3{font:17px SimSun,serif;line-height:23px;padding:0}.home-glory{flex:0 0 25%;padding:3px 5px;min-height:0;overflow:hidden}.home-glory .list{height:100%;display:flex;flex-direction:column;justify-content:space-evenly;gap:3px}.home-glory .row{flex:1;padding:3px 5px;border:1px solid #c59c4d;margin:0;gap:7px;min-height:0}.home-glory .number{font-size:23px;width:20px}.home-glory .actor-avatar{width:28px;height:28px;border-radius:50%;border:1px solid #d6ac56;overflow:hidden}.home-glory .row h3{font:15px SimSun,serif}.home-glory .row .small{display:none}.home-glory .value{font-size:16px}.actor-avatar .ref-art{height:100%}#nav{left:auto;right:auto;bottom:0;padding:5px 0 calc(5px + env(safe-area-inset-bottom));border-width:7px;background:#04251df5}#nav>button,#nav>a{border-right:1px solid #a78646}#nav>button span,#nav>a span{font-family:SimSun,serif;font-size:14px}.nav-picture{width:27px;height:27px;margin-bottom:3px}.refund-notice{padding:12px;border:1px solid #c59c50;background:#0a251e;font:14px/1.8 sans-serif;color:#ffe3a1;margin:15px 0}.guarantee{color:#ffe5b0;font:19px/1.6 SimSun,serif;padding:12px 0;text-align:center;border-top:1px solid #b88f44;margin-top:12px}.draw-art.spinning{animation:shakeCylinder .6s 3 ease-in-out;position:relative}.draw-art.spinning:after{content:'签';position:absolute;left:48%;top:20%;width:14px;height:100px;border:1px solid #ffdf8b;background:linear-gradient(90deg,#9b591c,#f1bd65,#9b591c);animation:pullStick 1.8s ease-in-out}.rule-list p{font:16px/1.9 SimSun,serif}.actor-hero{border-width:8px}.tab.active{background:#63451f;color:#ffdf89}.modal{border-radius:0}.draw-results .result-cell h3{font-size:16px;padding:6px}.customer-rank .actor-avatar{border-radius:50%}
@keyframes shakeCylinder{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes pullStick{0%,25%{opacity:0;transform:translateY(70px)}35%{opacity:1}75%{opacity:1;transform:translateY(-80px)}100%{opacity:0;transform:translateY(-110px)}}
.reference-header{position:relative}.reference-header .reference-back{position:absolute;left:0;top:0;width:25%;height:100%;border:0;background:transparent}.reference-header .period-link{position:absolute;right:12px;bottom:0;font-size:12px}.profile-avatar-edit .actor-avatar{width:90px;height:90px;margin:auto}.profile-avatar-edit{padding:10px}

.home-layout .shortcut:after{display:none}.draw-status{display:flex;align-items:center;gap:10px;padding:8px;margin-top:8px}.ticket-summary{display:flex;align-items:center;gap:6px;width:48%}.ticket-summary .ticket-visual{width:62px;flex-shrink:0}.ticket-summary .gold{display:block;font-size:16px}.ticket-summary a{display:block;font-size:10px;margin-top:5px}.draw-status .guarantee{flex:1;border-top:0;border-left:1px solid #b88f44;padding:8px 3px;margin:0;font-size:14px}.guarantee small{font:10px sans-serif}.draw-results{max-height:58vh;overflow:auto;gap:8px}.modal .actions button{flex:1;white-space:nowrap;padding:10px 3px;letter-spacing:1px}.modal{padding:18px;background-color:#04251dfc}.modal-mask{backdrop-filter:blur(3px)}
