@font-face{font-family:Insider;src:url('/assets/junairen-serif-600.ttf')}*{box-sizing:border-box}body{margin:0;background:#f8f6ef;color:#27392f;font:14px/1.6 'Microsoft YaHei',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:#245344;text-underline-offset:4px}button{background:#245344;color:#fffdf8;border:0;border-radius:8px;min-height:40px;padding:9px 17px;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center}button:hover{background:#173c31}button.secondary{background:#e8edde;color:#245344}button.ghost{background:transparent;color:#245344}button.danger{background:#f5e5df;color:#8e332b}svg{width:18px;height:18px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-family:Insider,serif;font-size:30px;line-height:1.3;margin-bottom:10px}h2{font-size:20px;margin-bottom:16px}h3{font-size:16px;margin-bottom:8px}.muted,small{color:#686d60}small{font-size:12px}.loading{padding:15vh;text-align:center}::selection{background:#e1dfb7}*:focus-visible{outline:3px solid #a99143;outline-offset:3px}input,select,textarea{width:100%;color:#27392f;border:1px solid #cdcfc1;background:#fffdf8;border-radius:7px;padding:10px 12px;caret-color:#245344}input::placeholder,textarea::placeholder{color:#727365}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:18px;height:18px;accent-color:#245344}input[type=file]{padding:12px;background:#f8f6ef}label{display:grid;gap:7px;font-weight:600;margin-bottom:17px}label small{font-weight:400}.check{display:flex;align-items:center;font-weight:400}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:#fffdf8;padding:28px 20px;position:sticky;top:0;height:100vh;border-right:1px solid #e3e3d5;display:flex;flex-direction:column}.identity{display:flex;align-items:center;gap:14px;margin-bottom:30px}.identity img{width:53px;height:53px;object-fit:contain}.identity strong{display:block;font-family:Insider,serif;font-size:20px}.nav{display:grid;gap:5px;overflow:auto}.nav button{justify-content:flex-start;min-height:43px;background:transparent;color:#686d60;font-weight:500}.nav button.active{color:#245344;background:#e8edde;font-weight:700}.sidebar footer{margin-top:auto;padding-top:20px;font-size:12px;color:#686d60}.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 38px;background:#fffdf8;border-bottom:1px solid #e3e3d5;gap:15px}.who{display:flex;align-items:center;gap:16px}.avatar{border-radius:50%;background:#e8edde;padding:7px 13px;font-weight:700}main{padding:35px 38px 70px;max-width:1600px;margin:auto}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.pagehead p{margin:0;color:#686d60}.tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.tools input{max-width:330px}.tools select{width:150px}.panel{background:#fffdf8;border-radius:14px;padding:24px;margin-bottom:22px}.notice{padding:13px 18px;background:#f5ead7;border-radius:8px;margin:0 0 22px;color:#69502f}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #d9ddcd;border-bottom:1px solid #d9ddcd;margin-bottom:26px}.stat{padding:24px 18px 24px 0}.stat span{display:block;color:#686d60}.stat strong{font-size:30px;line-height:1.8;font-variant-numeric:tabular-nums}.cols{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;padding:14px 12px;color:#686d60;font-weight:500;background:#f4f4e9;white-space:nowrap}td{padding:16px 12px;border-bottom:1px solid #e9eadf;vertical-align:middle}td strong{display:block}td small{display:block}td .actions{display:flex;gap:7px;flex-wrap:wrap;min-width:100px}td button{font-size:12px;min-height:32px;padding:6px 11px}td img{width:54px;height:54px;border-radius:9px;object-fit:cover}.badge{display:inline-block;padding:4px 10px;background:#e8edde;color:#245344;border-radius:6px;white-space:nowrap;font-size:12px}.badge.dim{background:#efeee5;color:#686d60}.empty{text-align:center;color:#686d60;padding:55px 25px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-scene{background:#e8edde;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px}.login-scene>img{width:145px;height:145px;object-fit:contain;margin-bottom:36px}.login-scene h1{font-size:42px}.login-scene p{font-size:16px;max-width:28em;text-align:center}.login-side{display:flex;align-items:center;justify-content:center;padding:32px}.login-form{width:100%;max-width:360px}.login-form button{width:100%}.login-form h2{font-family:Insider,serif;font-size:30px;margin-bottom:8px}.login-form .muted{margin-bottom:30px}.form-error{color:#923d2b;min-height:25px;margin-top:12px}.preview{width:130px;height:100px;object-fit:cover;border-radius:10px;display:block;margin-bottom:12px;background:#e8edde}.upload{padding:15px;background:#f8f6ef;border-radius:10px;margin-bottom:18px}.upload label{margin-bottom:5px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.wide{grid-column:1/-1}.settings-form{max-width:860px}.settings-form fieldset{border:0;margin:0 0 20px;padding:0}.settings-form legend{font-size:20px;font-weight:700;margin-bottom:20px}.settings-form .configured{color:#245344;font-size:12px;font-weight:400}.secret-label{display:flex;justify-content:space-between}.sticky-save{position:sticky;bottom:0;background:#fffdf8;padding:18px 0;display:flex;gap:12px;align-items:center;border-top:1px solid #e3e3d5}.callout-row{padding:15px 0;border-bottom:1px solid #e3e3d5;display:flex;gap:20px;align-items:center;justify-content:space-between}.callout-row p{margin:0}.login-notice{margin-top:28px;font-size:12px;color:#686d60}.detail-line{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e3e3d5}.order-items{padding:16px;background:#f8f6ef;border-radius:10px}.order-items p{margin:8px 0}.code{font-size:23px;letter-spacing:5px;font-variant-numeric:tabular-nums}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:18px}.pagination span{font-size:12px;color:#686d60}dialog{border:0;border-radius:16px;background:#fffdf8;color:#27392f;width:min(630px,calc(100vw - 30px));max-height:90vh;padding:28px;box-shadow:0 20px 60px #27392f36}dialog::backdrop{background:#173c315c}dialog .modalhead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}dialog .modalhead h2{margin:0}dialog .modalfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:8px;background:#173c31;color:#fffdf8;z-index:20;max-width:90vw;box-shadow:0 5px 18px #173c3129;display:none}.wheel-layout{display:grid;grid-template-columns:minmax(340px,1.1fr) 1fr;gap:32px}.wheel{position:relative;aspect-ratio:1;max-width:570px;margin:20px auto;width:100%}.wheel svg{width:100%;height:100%}.wheel .disc{transform-origin:200px 200px;transition:transform 4s cubic-bezier(.13,.66,.13,1)}.wheel .label{transition:transform 4s cubic-bezier(.13,.66,.13,1);transform-box:fill-box;transform-origin:center}.wheel .pointer{position:absolute;left:calc(50% - 12px);top:0;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:30px solid #245344;z-index:2}.wheel .emblem{position:absolute;left:calc(50% - 40px);top:calc(50% - 40px);width:80px;height:80px;border-radius:50%;background:#fffdf8;padding:12px;box-shadow:0 4px 12px #27392f26}.winner{font:28px Insider,serif;margin:22px 0}.disclosure{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:300px;overflow:auto;background:#f8f6ef;padding:15px;border-radius:10px}.split-label{display:flex;gap:8px;align-items:center}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#bac7b7;border-radius:8px}@media(max-width:1000px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:20px 12px}.identity strong{font-size:16px}.identity img{width:40px;height:40px}.topbar,main{padding-left:22px;padding-right:22px}.cols,.wheel-layout{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.shell{display:block}.sidebar{position:relative;height:auto;border-right:0;padding:16px}.identity{margin-bottom:12px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.sidebar footer{display:none}.topbar{padding:12px 16px;flex-wrap:wrap}.topbar .who{gap:8px}main{padding:25px 16px}.pagehead{align-items:flex-start;flex-direction:column}.panel{padding:16px}.formgrid{grid-template-columns:1fr}.wide{grid-column:auto}.login{grid-template-columns:1fr}.login-scene{padding:28px}.login-scene>img{width:70px;height:70px;margin-bottom:15px}.login-scene h1{font-size:26px}.login-scene p{display:none}.login-side{padding:30px 25px}.stats strong{font-size:25px}.wheel-layout{display:block}}@media(prefers-reduced-motion:reduce){.wheel .disc,.wheel .label{transition-duration:.01s}}
