body{margin:0;background:#ece3d3;color:#234246}.story{height:100dvh;min-height:640px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 62% 38%,#fffaf0,#ddd1bd)}.story-hud{position:absolute;z-index:5;top:0;left:0;right:0;padding:20px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(#f7f0e3,transparent)}.story-hud small{display:block;font-size:9px;letter-spacing:1.5px;margin-top:5px}.story-hud a{font-size:13px;color:inherit}.story-hud #hud{font-size:13px;background:#fff9e8cf;padding:10px 18px;border-radius:30px}.scene-caption{position:absolute;top:100px;left:30px;letter-spacing:3px;font-size:10px;opacity:.6}#office-backdrop{position:absolute;width:min(88vw,1050px);right:-3%;top:1%;transition:filter .6s,opacity .6s}#office-backdrop .clay-card{background:transparent;border:0;box-shadow:none;padding:0}#office-backdrop .clay-heading,#office-backdrop .office-foot{display:none}#office-backdrop .clay-stage{background:transparent}#office-backdrop button{pointer-events:none}#office-backdrop .slot-number{display:none}.talking #office-backdrop{filter:blur(2px);opacity:.65}#visitor{position:absolute;z-index:2;bottom:163px;left:4%;width:auto;height:min(62vh,510px);opacity:0;transform:translateX(-25px);transition:opacity .4s,transform .4s;filter:drop-shadow(8px 12px 15px #48321c28)}.talking #visitor{opacity:1;transform:none}.welcome{position:absolute;left:6%;top:30%;z-index:2}.welcome small{letter-spacing:2px;font-size:11px}.welcome h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,58px);line-height:1.12;margin:18px 0}.welcome p{margin-bottom:25px}.dialogue{position:absolute;z-index:3;bottom:83px;left:6%;right:6%;background:#fffbefed;border:1px solid #fff;border-radius:20px;box-shadow:0 15px 50px #61482725;padding:24px 32px 18px;min-height:145px}.speaker{position:absolute;top:-19px;left:28px;background:#d8b778;border-radius:8px;padding:7px 20px;font-weight:700}.dialogue p{font-family:Georgia,serif;font-size:21px;line-height:1.45;margin:12px 0 20px;max-width:850px}.dialogue-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialogue-actions span{font-size:12px;color:#73827a}.story-dock{position:absolute;z-index:4;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:6px;background:#fff8eae8;border:1px solid white;border-radius:15px;padding:6px;white-space:nowrap;box-shadow:0 8px 24px #57432920}.story-dock button{background:transparent;border:0;font-size:13px;padding:12px 16px}.story-dock small{font-size:8px;display:inline;color:#967454}dialog{width:min(850px,92vw);max-height:85dvh;padding:35px;border:1px solid #ede1c8;background:#fffcf3;border-radius:18px;color:#234246}dialog::backdrop{background:#1d302f88;backdrop-filter:blur(4px)}.close-panel{position:absolute;right:12px;top:12px}.file-label{letter-spacing:2px;font-size:10px;color:#947d58}.preview-doc{padding:20px;background:white;border:1px solid #dfdfd3;margin:20px 0}.preview-doc .row{padding:8px;border-bottom:1px dashed #ddd}.preview-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.preview-fields input{width:100%;margin-top:8px}.preview-note{color:#72817a;font-size:13px}#panel-body h2{padding-right:24px}.rank-tabs{display:flex;gap:8px;flex-wrap:wrap}.rank-tabs button{padding:8px 12px}.preview-empty{padding:30px 0;text-align:center}.portrait-mini{width:140px;float:right}
@media(max-width:650px){.story{min-height:650px}.story-hud{padding:14px;align-items:start}.story-hud #hud{position:absolute;top:67px;left:14px;font-size:11px;padding:8px}.story-hud a{font-size:11px}.scene-caption{display:none}#office-backdrop{width:115vw;top:17%;right:-22%}.welcome{left:6%;top:24%;background:#fff8e3bd;padding:18px;border-radius:15px}.welcome h1{font-size:32px}#visitor{height:43vh;max-height:360px;bottom:235px;left:0}.dialogue{left:4%;right:4%;bottom:114px;padding:20px;min-height:190px}.dialogue p{font-size:18px}.dialogue-actions span{max-width:100px}.story-dock{width:94%;white-space:normal;flex-wrap:wrap;justify-content:center;bottom:9px}.story-dock button{width:30%;padding:7px 2px;font-size:12px}.preview-fields{grid-template-columns:1fr}dialog{padding:25px}}
html body .story-hud{color:#234246}html body dialog{max-width:850px}#office-backdrop .slot-plus{display:none}
html body #panel:has(.shop-categories){width:min(1050px,94vw);max-width:1050px}.shop-categories{position:sticky;top:-35px;background:#fffcf3;z-index:2;padding:12px 0}.shop-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#wallet{display:inline-block;padding:3px 8px;border-radius:12px;background:#f3dda8}.pay-burst{position:fixed;z-index:1000;pointer-events:none;font-size:42px;font-weight:800;color:#245937;text-shadow:0 2px 0 #fff,0 0 20px #fff;background:#fffae8e8;padding:8px 24px;border-radius:20px}.flying-note{position:fixed;z-index:999;pointer-events:none;width:78px;height:40px;border:3px solid #43724c;background:#a9c888;border-radius:5px;box-shadow:0 4px 8px #153c4230;display:grid;place-items:center}.flying-note span{border:1px solid #43724c;border-radius:50%;width:25px;height:27px;text-align:center;color:#315c3b;font-weight:800}
.case-fee{display:grid;grid-template-columns:auto auto;gap:3px 16px;align-items:center;width:max-content;max-width:calc(100% - 30px);padding:12px 18px;margin:0 0 22px;border:1px solid #d6c49d;border-radius:12px;background:linear-gradient(135deg,#f5e6bf,#fdf4dd);box-shadow:0 3px 0 #d9c7a32e;color:#41583d}.case-fee span{font-size:10px;font-weight:800;letter-spacing:1.8px}.case-fee strong{grid-row:1/3;grid-column:2;font:700 32px Georgia,serif}.case-fee small{font-size:11px;color:#776c54}.case-decision-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:24px;padding-top:20px;border-top:1px solid #e2d7bf}.case-decision-footer>span{font-size:12px;color:#796e61}.case-decision-footer small{font-size:10px}.refuse-case{background:linear-gradient(#a95649,#914638);border:1px solid #803d32;color:#fff7e8;box-shadow:0 3px 0 #713d2920;border-radius:11px;white-space:nowrap}.refuse-case:hover:not(:disabled){background:#803f34}.refusal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}@media(max-width:500px){.case-decision-footer{align-items:flex-end;flex-direction:column}.case-decision-footer>span{align-self:flex-start}.refusal-actions{flex-wrap:wrap}}
