.event-chests-dialog,.event-chest-header,.event-chest-body,.event-chest-settings{display:grid;gap:11px;min-width:0}
.event-chests-dialog>*{min-width:0;margin:0!important}.event-chest-line{display:flex;align-items:baseline;justify-content:space-between;gap:7px 16px;min-width:0;line-height:22px}.event-chest-line>*{min-width:0;overflow-wrap:anywhere}
.event-chest-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;min-width:0}.event-chest-metric{display:grid;align-content:center;min-width:0;gap:0;padding:7px 11px;border:1px solid var(--theme-line,#7e6b47);border-radius:5px}.event-chest-metric>.muted{font-size:12px;line-height:22px}.event-chest-metric>.event-chest-number{text-align:left;margin:0!important}
.event-chest-fold{min-width:0;margin:0!important;padding:0!important;border:0!important;background:none!important;outline:0!important;box-shadow:none!important}.event-chest-fold>summary{cursor:pointer;line-height:22px;font-size:14px;color:var(--theme-ink,#d6c8ab)}.event-chest-fold[open]>:not(summary){margin:7px 0 0!important}
.event-chest-auto{display:grid;gap:7px;padding:11px;border:1px solid var(--theme-line,#7e6b47);border-radius:5px}.event-chest-auto .reward-setting{margin:0!important}.event-chest-auto-state{margin-left:auto;padding:0 7px;border:1px solid currentColor;border-radius:4px;color:#ada995;white-space:nowrap;font:600 12px/22px 'Segoe UI',sans-serif}.event-chest-auto-state.enabled{color:#62b878;background:#60b77416}
.event-chest-empty{display:grid;justify-items:center;gap:7px;text-align:center;padding:11px;min-width:0}.event-chest-empty-icon{width:88px;height:66px;object-fit:contain;opacity:.75}.event-chest-empty>.muted{max-width:430px;margin:0!important}
.event-chest-locks{display:flex;gap:7px;align-items:center}.event-chest-lock{display:grid;place-items:center;min-width:33px;height:33px;border-bottom:2px solid #867b5e}.event-chest-lock.done{border-color:#64a773}.event-chest-lock-icon{width:26px;height:26px;object-fit:contain}
.event-chest-paid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.event-chest-paid>button{min-width:0;display:grid;gap:4px}
.event-chest-receipt-heading{display:flex;align-items:center;gap:11px;min-width:0}.event-chest-receipt-title{display:grid;gap:0;min-width:0}.event-chest-receipt-title>.muted{font:12px/22px 'Segoe UI',sans-serif}.event-chest-history-icon{width:44px;height:38px;object-fit:contain;flex:none}.event-chest-observed-note{font:12px/22px 'Segoe UI',sans-serif;color:var(--theme-muted,#a9b7a7)}.event-chest-history-empty{padding:11px 0;color:var(--theme-muted,#a9b7a7)}
.event-chest-history-filters{flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.event-chest-history-filters>button{flex:none;white-space:nowrap;min-width:max-content}.event-chest-history-filters::-webkit-scrollbar{display:none}
.event-chest-number{font:600 14px/22px 'Segoe UI',Arial,sans-serif;font-variant-numeric:tabular-nums;text-align:right}
.event-chest-card,.event-chest-receipt{display:grid;gap:7px;padding:11px;border:1px solid var(--theme-line,#7e6b47);border-radius:5px;min-width:0}
.event-chest-heading{display:flex;align-items:center;gap:11px;min-width:0}.event-chest-heading>.event-chest-number{margin-left:auto}.event-chest-image{width:66px;height:55px;object-fit:contain;flex:none}
.event-chest-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 11px;min-width:0}.event-chest-rewards>*{min-width:0}
.event-chest-warning{color:#efb494;line-height:22px;overflow-wrap:anywhere}.event-chest-ready{color:#8dd7a1}.event-chest-description{white-space:pre-line;line-height:22px}
.event-chest-tattoo{width:44px;height:44px;object-fit:contain}.event-chest-tattoo-preview{width:min(100%,260px);max-height:320px;object-fit:contain;align-self:center}
.event-chest-actions>button{min-width:0}.event-chest-auto .reward-setting{display:flex;align-items:center;gap:11px;line-height:22px}.event-chest-auto input{width:20px;height:20px;flex:none}
.event-chests-dialog .resource-reward-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:0 7px!important;align-items:center;padding:0!important;margin:0!important;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;min-width:0;min-height:22px!important;line-height:22px!important}
.event-chests-dialog .resource-reward-icon{width:22px!important;height:22px!important;object-fit:contain}.event-chests-dialog :is(.resource-reward-name,.resource-reward-amount){font:600 14px/22px 'Segoe UI',Arial,sans-serif;white-space:normal!important;overflow-wrap:anywhere}
.event-chests-dialog .event-chest-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.event-chest-tabs>button{flex:none;white-space:nowrap}.event-chest-tabs::-webkit-scrollbar{display:none}
:root:root[data-theme="notebook"] .event-chests-dialog :is(.event-chest-card,.event-chest-receipt){outline:0!important;box-shadow:none!important;background:none!important;padding:11px!important;border:1px solid var(--theme-line)!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-warning{color:#964b3d!important}:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-ready{color:#377c42!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-metric{padding:7px!important;margin:0!important;background:transparent!important;border:1px solid var(--theme-line)!important;outline:0!important;box-shadow:none!important}:root:root[data-theme="notebook"] .event-chest-metric>.muted{font:12px/22px 'Segoe UI',sans-serif!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-number{font:600 14px/22px 'Segoe UI',Arial,sans-serif!important}:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-auto-state{font:600 12px/22px 'Segoe UI',sans-serif!important}:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-auto-state.enabled{color:#367d45!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-body .event-chest-receipt{border:0!important;border-bottom:1px solid var(--theme-line)!important;border-radius:0!important;padding:7px 0!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-receipt-heading .muted,:root:root[data-theme="notebook"] .event-chest-observed-note{font:12px/22px 'Segoe UI',sans-serif!important}
:root:root[data-theme="notebook"] .event-chests-dialog :is(.event-chest-observed-note,.event-chest-history-empty){color:var(--theme-ink)!important;opacity:.8}
:root:root[data-theme="notebook"] .event-chests-dialog :is(.event-chest-body,.event-chest-header) .muted{margin:0!important;line-height:22px!important}
:root:root[data-theme="notebook"] .event-chests-dialog .event-chest-auto-state:not(.enabled){color:#6c695b!important}
.event-chest-receipt-title>.checkpoint-name{line-height:22px}.event-chest-receipt .event-chest-rewards:empty{display:none}
@media(max-width:600px){.event-chest-rewards{grid-template-columns:minmax(0,1fr)}.event-chest-line{flex-wrap:wrap;gap:0 7px}.event-chest-number{margin-left:auto}.event-chest-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.event-chest-actions>button:first-child{grid-column:1/-1}.event-chest-heading{flex-wrap:wrap}.event-chest-heading>.checkpoint-name{flex:1}}
@media(max-width:600px){.event-chest-metrics{gap:7px}.event-chest-metric{padding:7px}.event-chest-history-filters{gap:7px!important}.event-chest-history-filters>button{padding-inline:9px!important;font-size:14px!important}.event-chest-receipt-heading{gap:7px}.event-chest-receipt-title>.checkpoint-name{line-height:22px!important;font-size:16px!important}}
