.credit-history-open{overflow:hidden!important}.credit-history{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--bg);color:var(--text);color-scheme:dark;--ch-gutter: max(var(--space-6), calc((100% - 1200px)/2) )}.credit-history::backdrop{background:var(--bg)}.credit-history .ch-frame{display:flex;flex-direction:column;height:100%}.credit-history .ch-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-5) var(--ch-gutter);border-bottom:1px solid #ffffff10}.credit-history .ch-header h2{font-size:28px;font-weight:650;letter-spacing:-.02em}.credit-history .ch-header p{margin-top:4px;color:var(--muted);font-size:14px}.credit-history .ch-close{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #ffffff2e;color:#d8d8dd}.credit-history .ch-close svg{width:16px;height:16px;fill:currentColor}.credit-history .ch-close:hover{background:#ffffff10;color:#fff}.credit-history .ch-body{flex:1;overflow:hidden auto;overscroll-behavior:contain;padding:var(--space-6) var(--ch-gutter) var(--space-7)}.credit-history .ch-layout{display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);gap:var(--space-6);align-items:start}.credit-history .ch-layout>*{min-width:0}.credit-history .ch-main .ch-timeline,.credit-history .ch-main .ch-day:first-child{margin-top:0}.credit-history .ch-side .ch-totals{grid-template-columns:1fr 1fr}.credit-history .ch-side .ch-total-main{grid-column:1 / -1}.credit-history .ch-state{padding:48px 0;color:var(--muted);text-align:center;font-size:14px}.credit-history .ch-state.is-error{color:#ff8f8f}.credit-history [data-category=ai-video]{--ch-color: #ff4336}.credit-history [data-category=planning]{--ch-color: #ff9c92}.credit-history [data-category=reading]{--ch-color: #c5afff}.credit-history [data-category=sound]{--ch-color: #ffd8a6}.credit-history [data-category=render]{--ch-color: #efefef}.credit-history [data-category=other]{--ch-color: #8a8a8a}.credit-history .ch-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ch-color, #8a8a8a)}.credit-history .ch-summary{padding:var(--space-5);border:1px solid #ffffff14;border-radius:16px;background:radial-gradient(ellipse at 100% 0%,#ea33251f,transparent 65%),#1b1b1c}.credit-history .ch-totals{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:var(--space-4)}.credit-history .ch-total{display:grid;gap:4px;min-width:0}.credit-history .ch-total small{color:#8f8f94;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.credit-history .ch-total strong{font-size:22px;font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.credit-history .ch-total-main strong{font-size:34px;letter-spacing:-.04em}.credit-history .is-plus{color:#b9f0c6}.credit-history .ch-reserved{margin-top:var(--space-4);padding:10px 12px;border-radius:10px;background:#ffffff08;color:#b9b9be;font-size:13px;line-height:1.5}.credit-history .ch-reserved b{color:#fff}.credit-history .ch-bar{display:flex;gap:2px;height:10px;margin-top:var(--space-5);overflow:hidden;border-radius:99px;background:#ffffff10}.credit-history .ch-bar-part{flex-basis:0;min-width:3px;background:var(--ch-color)}.credit-history .ch-legend{display:grid;gap:2px;margin-top:var(--space-4);list-style:none}.credit-history .ch-legend li{display:flex;align-items:center;gap:var(--space-3);padding:8px 0}.credit-history .ch-legend li+li{border-top:1px solid #ffffff0b}.credit-history .ch-legend-text{display:grid;gap:2px;flex:1;min-width:0}.credit-history .ch-legend-text b{font-size:14px;font-weight:600}.credit-history .ch-legend-text small{color:#8a8a8a;font-size:12px}.credit-history .ch-legend-value{display:grid;justify-items:end;gap:2px;font-variant-numeric:tabular-nums}.credit-history .ch-legend-value b{font-size:14px}.credit-history .ch-legend-value small{color:#8a8a8a;font-size:12px}.credit-history .ch-why{margin-top:var(--space-3);border-top:1px solid #ffffff0b;padding-top:var(--space-3)}.credit-history .ch-why summary{color:#d6d6db;font-size:13px;font-weight:600;cursor:pointer}.credit-history .ch-why summary:hover{color:#fff}.credit-history .ch-why p{margin-top:10px;color:#b2b2b8;font-size:13px;line-height:1.6}.credit-history .ch-timeline{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-3);margin-top:var(--space-5)}.credit-history :is(.ch-card,.ch-row){overflow-wrap:anywhere}.credit-history .ch-day{margin-top:var(--space-3);color:#8f8f94;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.credit-history .ch-card{padding:var(--space-4);border:1px solid #ffffff12;border-radius:14px;background:#1c1c1d}.credit-history .ch-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.credit-history .ch-card-title{display:grid;gap:4px;min-width:0}.credit-history .ch-card-title small{color:#8a8a8a;font-size:12px}.credit-history .ch-card-title h4{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.credit-history :is(.ch-card-amount,.ch-row-amount){display:grid;justify-items:end;gap:3px;flex:none;text-align:right;font-variant-numeric:tabular-nums}.credit-history :is(.ch-card-amount,.ch-row-amount) strong{font-size:17px;font-weight:650}.credit-history :is(.ch-card-amount,.ch-row-amount) small{color:#8a8a8a;font-size:11.5px;white-space:nowrap}.credit-history .ch-status{display:flex;align-items:flex-start;gap:10px;margin-top:var(--space-3)}.credit-history .ch-status p{color:#b9b9be;font-size:13px;line-height:1.5}.credit-history .ch-pill{flex:none;padding:3px 9px;border-radius:99px;font-size:11.5px;font-weight:600;white-space:nowrap;background:#ffffff10;color:#d6d6db}.credit-history [data-status=delivered] .ch-pill{background:#b9f0c61a;color:#b9f0c6}.credit-history :is([data-status=waiting],[data-status=paused]) .ch-pill{background:#ffd8a61a;color:#ffd8a6}.credit-history [data-status=failed] .ch-pill{background:#ff8f8f1a;color:#ff8f8f}.credit-history [data-status=working] .ch-pill{background:#4a90d91f;color:#9cc6f2}.credit-history .ch-lines{display:grid;margin-top:var(--space-3);list-style:none;border-top:1px solid #ffffff0b}.credit-history .ch-line{padding:8px 0;border-bottom:1px solid #ffffff0b}.credit-history .ch-line-row{display:flex;align-items:center;gap:var(--space-3)}.credit-history .ch-line-label{flex:1;min-width:0;color:#e4e4e7;font-size:13.5px}.credit-history .ch-line-label small{margin-left:8px;color:#8a8a8a;font-size:12px}.credit-history .ch-line-credits{color:#e4e4e7;font-size:13.5px;font-variant-numeric:tabular-nums}.credit-history .ch-clips-toggle{display:inline-flex;align-items:center;gap:6px;margin:8px 0 0 20px;padding:5px 10px;border:1px solid #ffffff1c;border-radius:99px;color:#d6d6db;font-size:12px;font-weight:600}.credit-history .ch-clips-toggle svg{width:12px;height:12px;fill:currentColor;transition:transform .15s}.credit-history .ch-clips-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.credit-history .ch-clips-toggle:hover{background:#ffffff0d;color:#fff}.credit-history .ch-clips{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;margin:10px 0 4px 20px}.credit-history .ch-clips[hidden]{display:none}.credit-history .ch-clip{display:grid;gap:6px}.credit-history .ch-clip-media{position:relative;aspect-ratio:9 / 16;overflow:hidden;border-radius:10px;background:#0b0b0b center / cover no-repeat;box-shadow:inset 0 0 0 1px #ffffff14}.credit-history .ch-clip-media:not(.has-poster){background-image:linear-gradient(160deg,#2a1d1c,#121212)}.credit-history .ch-clip-media.is-missing{opacity:.55}.credit-history .ch-clip-media video{width:100%;height:100%;object-fit:cover;background:#000}.credit-history .ch-clip-play{position:absolute;inset:auto auto 8px 8px;width:26px;height:26px;border-radius:50%;background:#000a;box-shadow:inset 0 0 0 1px #ffffff40}.credit-history .ch-clip-play:after{content:"";position:absolute;left:10px;top:8px;border-left:8px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.credit-history .ch-clip figcaption{display:flex;justify-content:space-between;gap:6px;font-size:11.5px;color:#a5a5aa;font-variant-numeric:tabular-nums}.credit-history .ch-clip figcaption b{flex:none;white-space:nowrap;color:#e4e4e7;font-weight:600}.credit-history .ch-open{display:inline-block;margin-top:var(--space-3);color:#ff9b8d;font-size:13px;font-weight:600;text-decoration:none}.credit-history .ch-open:hover{color:#ffb4a7}.credit-history .ch-row{display:flex;align-items:center;gap:var(--space-3);padding:12px var(--space-4);border:1px solid #ffffff0d;border-radius:12px;background:#181819}.credit-history .ch-row-label{display:grid;gap:2px;flex:1;min-width:0;font-size:14px;font-weight:600}.credit-history .ch-row-label small{color:#8a8a8a;font-size:12px;font-weight:400}.credit-history .ch-row-icon{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:16px;font-weight:700;background:#ffffff10}.credit-history .ch-row.is-added{border-color:#b9f0c624;background:#b9f0c608}.credit-history .ch-row.is-added :is(.ch-row-icon,.ch-row-amount strong){color:#b9f0c6}.credit-history .ch-row.is-added .ch-row-icon{background:#b9f0c61a}.credit-history :focus-visible{outline:2px solid #ff8b7d;outline-offset:3px}.credit-history .ch-body:focus-visible{outline:none}@media(min-width:1001px)and (min-height:820px){.credit-history .ch-side{position:sticky;top:0}}@media(max-width:1000px){.credit-history .ch-layout{grid-template-columns:minmax(0,1fr)}.credit-history .ch-main .ch-timeline{margin-top:var(--space-5)}}@media(max-width:600px){.credit-history{--ch-gutter: var(--space-4)}.credit-history .ch-header{padding-block:var(--space-4)}.credit-history .ch-body{padding-block:var(--space-4) var(--space-6)}.credit-history .ch-header h2{font-size:21px}.credit-history .ch-summary{padding:var(--space-4)}.credit-history .ch-card-head{flex-direction:column;gap:var(--space-2)}.credit-history .ch-card-amount{justify-items:start;text-align:left;grid-auto-flow:column;align-items:baseline;gap:10px}.credit-history .ch-clips{grid-template-columns:repeat(3,minmax(0,1fr));margin-left:0}.credit-history .ch-clips-toggle{margin-left:0}}
