.scene[data-state=rolling] .machine{animation:none}.scene[data-state=rolling] .machine-wrap{animation:machineTogether .14s infinite alternate}@keyframes machineTogether{0%{translate:-.7px .3px}to{translate:.7px -.3px}}.handle-art,.handle-shimmer,.machine-handle:is(:hover,:focus-visible):not(:disabled) :is(.handle-art,.handle-shimmer){scale:1;transition:border-color .25s,box-shadow .25s;will-change:auto}.scene[data-state=rolling] .handle-art{animation:alignedHandleTurn 2.65s cubic-bezier(.3,.02,.3,1) both}@keyframes alignedHandleTurn{0%{transform:rotate(0)}12%{transform:rotate(-11deg)}35%{transform:rotate(90deg)}62%{transform:rotate(205deg)}88%{transform:rotate(335deg)}to{transform:rotate(360deg)}}#historyDialog>.dialog-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 20px}.collection-guidance{grid-column:1/-1;min-width:0;max-width:100%;margin:0;font:12px/20px KboDia;color:#5a6052;white-space:nowrap;overflow:hidden}#historyDialog[open] .collection-guidance{animation:collectionGuidanceFade 2s linear infinite}@keyframes collectionGuidanceFade{0%,to{opacity:1}50%{opacity:0}}@media(prefers-reduced-motion:reduce){#historyDialog[open] .collection-guidance{animation:none;opacity:1}}.collection-tools,.history-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.collection-tools{padding:16px 34px;background:#e6e2d6;border-bottom:1px dashed #85877380;flex:none;justify-content:space-between}.collection-tools button,.history-filters button,.history-actions button,.card-tools button{font:14px/1.4 KboDia;min-height:40px;border:1px solid #78816b;padding:8px 12px;border-radius:3px}.collection-tools .trash-button{margin:0;min-height:40px;font:14px KboDia;gap:7px;padding:7px 10px;color:#535e48}.collection-tools .trash-button svg{width:19px;height:22px;color:inherit}.collection-tools .make-custom{background:#596552;color:#f3efde}.history-filters{margin-bottom:12px;gap:6px}.history-filters button{font-size:13px;flex:1;padding:8px;white-space:nowrap;color:#48543e}.history-filters button[aria-pressed=true]{background:#596552;color:#fff9e9}.collection-counts{font:13px/1.6 KboDia;color:#5a6052}.history-entry{position:relative;width:208px}.history-entry .history-card{margin:0}.history-actions{display:flex;justify-content:space-between;gap:7px;padding:7px 0 0}.history-actions button{background:#e6e2d6;color:#424e37;flex:1;font-size:12px;padding:5px;min-height:35px}.history-actions button[aria-pressed=true]{background:#667451;color:#fff9e9}.record-badges{position:absolute;top:10px;left:6px;right:6px;z-index:7;display:flex;justify-content:space-between;gap:4px;pointer-events:none}.record-badges span{font:12px KboDia;background:#e6e2d6;color:#3e4d35;padding:4px 7px;border:1px solid #5c7050;border-radius:3px;box-shadow:0 2px 8px #0005}.record-badges .packed-badge{margin-left:auto;background:#526444;color:#fff7df}.history-list{align-items:start}.history-entry .history-card{height:310px}.card-popup{max-height:96dvh;overflow-y:auto;scrollbar-width:none;padding-top:8px}.card-tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:15px}.card-tools button{background:#e4dfcd;color:#3c4734;min-height:38px;font-size:13px}.card-tools button[aria-pressed=true]{background:#667451;color:#fff7df}.card-popup .popup-actions{margin-bottom:10px}.card-popup .popup-actions .button{font-size:22px}.card-popup .popup-close{position:fixed;right:0;top:0}.result-actions .pack-result{font:14px KboDia;gap:5px;padding:8px 12px}.pack-result[aria-pressed=true]{background:#58674b;color:#fff7df}.custom-dialog{padding:0!important;width:950px;max-width:calc(100vw - 20px);max-height:92dvh;overflow:hidden;color:#393d34}.custom-dialog[open]{display:flex;flex-direction:column}.custom-dialog>.dialog-heading{padding:20px 28px;margin:0;flex:none;border-bottom:1px dashed #85877380;background:#e6e2d6}.custom-dialog h2{font:34px Pen}.custom-dialog .dialog-scroll{padding:20px 28px;max-height:none}.custom-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:28px;align-items:start}.custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.custom-fields label{font:14px/1.5 KboDia;display:flex;flex-direction:column;gap:7px}.custom-fields input,.custom-fields select{min-width:0;width:100%;min-height:44px;padding:9px;border:1px solid #929880;background:#f5f0e4;color:#343f2c;font:15px KboDia;border-radius:3px}.custom-fields .wide{grid-column:1/-1}.custom-dialog input:focus-visible,.custom-dialog select:focus-visible{outline:2px solid #657957;outline-offset:2px}.custom-hint{font:13px/1.65 KboDia;color:#5a6450;margin:12px 0 18px}.custom-dialog fieldset{border:0;border-top:1px dashed #929880;padding:16px 0;margin:12px 0}.custom-dialog legend{font:16px KboDia;padding-right:12px}.amount-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.amount-choices button{text-align:left;display:flex;flex-direction:column;gap:5px;border:1px solid #929880;padding:10px;background:#f5f0e450;color:#4b5841;min-height:68px;border-radius:4px}.amount-choices button strong{font:18px Pen}.amount-choices button span{font:12px/1.5 KboDia}.amount-choices button[aria-pressed=true]{background:#596552;color:#fff9e9;outline:2px solid #7e906d;outline-offset:1px}.amount-choices button:disabled{opacity:.45;cursor:not-allowed}.income-switch{display:flex;gap:18px;font:14px KboDia;margin-bottom:14px}.income-switch input{accent-color:#596552}.custom-outcome{padding:15px;background:#d3dac680;border:1px solid #929880;font:15px KboDia}.custom-outcome strong{display:block;font:30px Pen;margin-bottom:5px}.custom-preview{position:sticky;top:0;height:345px;padding-top:8px}.custom-preview .life-card{transform:scale(.75);transform-origin:top left}.custom-error{font:14px/1.6 KboDia;color:#9b352d;margin-top:12px;min-height:24px}.custom-submit{color:#fff7df;background:#596552;font:24px Pen;margin:10px 0 0;min-height:46px;width:100%}.custom-entry{font:14px KboDia;text-decoration:underline;text-underline-offset:5px;color:#e5dec7}.hero>.custom-entry{margin:10px 0 24px}.hero.is-result>.custom-entry{display:none}.country-culture{margin-top:18px;border-top:1px dashed #77756577;padding-top:16px}.country-culture h3{font:26px Pen;color:#ede3ce;margin-bottom:5px}.country-culture p{margin-bottom:12px}.country-culture a{font:12px KboDia;color:#c3ba9f}@media(max-width:720px){.collection-tools{padding:12px 18px;gap:8px}.collection-tools button,.collection-tools .trash-button{font-size:12px;padding:7px}.collection-counts{width:100%;font-size:12px}.history-entry{width:146px}.history-entry .history-card{height:221px}.history-actions{gap:4px}.history-actions button{font-size:11px;padding:4px}.record-badges{top:5px;left:3px;right:3px}.record-badges span{font-size:10px;padding:3px 4px}.history-filters{gap:4px}.history-filters button{font-size:11px;padding:7px 4px}.custom-layout{grid-template-columns:1fr}.custom-preview{position:relative;justify-self:center;width:225px;height:330px;grid-row:2}.custom-dialog>.dialog-heading{padding:16px 18px}.custom-dialog .dialog-scroll{padding:16px 18px}.custom-fields{gap:12px}.custom-fields input,.custom-fields select{font-size:14px}.custom-hint{font-size:12px}.custom-dialog h2{font-size:30px}.custom-fields label{font-size:13px}.amount-choices button{padding:9px}.amount-choices button span{font-size:11px}.result-actions .pack-result{font-size:12px;padding:7px}.hero .result-actions{gap:9px}.result-actions .button{font-size:20px;padding:5px 11px}.card-popup .life-card{margin:auto}.card-popup .popup-close{position:absolute}.card-tools{gap:6px}.card-tools button{font-size:12px;padding:7px 10px}}@media(max-width:360px){.history-entry{width:132px}.history-entry .history-card{height:202px}.collection-tools{padding-left:14px;padding-right:14px}.custom-fields{grid-template-columns:1fr 1fr}.custom-fields .wide{grid-column:1/-1}.history-filters button{font-size:10px}}@media(prefers-reduced-motion:reduce){.scene[data-state=rolling] .machine-wrap,.scene[data-state=rolling] .handle-art{animation:none}}@media(max-width:720px){.hero .result-actions{flex-wrap:nowrap;gap:9px;max-width:100%}.result-actions .button{white-space:nowrap;gap:4px;padding:5px 10px}.result-actions .button.pack-result{font:12px/1.4 KboDia;padding:7px 8px;min-height:38px}}
