dialog.pi-history-ui{padding:0;border:1px solid var(--line);border-radius:18px;color:var(--navy);max-height:calc(100dvh - 32px);overscroll-behavior:contain;background:#fff;box-shadow:0 24px 100px #0c1c3560}
dialog.pi-history-ui::backdrop{background:#152b43a8;backdrop-filter:blur(3px)}
#pi-history{width:min(920px,calc(100% - 32px))}
:where(.pi-history-ui) .history-top{display:flex;align-items:center;justify-content:space-between;padding:12px 24px 12px 36px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4}
:where(.pi-history-ui) .icon-close{border:0;background:#edf2f4;border-radius:50%;color:var(--navy);font:30px/1 var(--body);width:44px;height:44px;flex-shrink:0}
:where(.pi-history-ui) .icon-close:hover{background:#dfe9ef}
:where(.pi-history-ui) .history-identity{padding:28px 36px 26px;background:linear-gradient(120deg,#1d3557,#284d64);color:white}
:where(.pi-history-ui) .overline{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:600}
:where(.pi-history-ui) .history-identity>.overline{color:#b7dce7}
:where(.pi-history-ui) .history-identity h2{font-size:48px;line-height:1.2;text-transform:uppercase;letter-spacing:-.015em;margin:8px 0}
:where(.pi-history-ui) .history-identity>p{color:#d0dfe6;font-size:14px;line-height:1.5}
:where(.pi-history-ui) .history-identity>p span{padding:0 7px}
:where(.pi-history-ui) .availability{display:flex;gap:18px;align-items:center;margin-top:24px}
:where(.pi-history-ui) .availability strong{font:600 28px var(--head);white-space:nowrap}
:where(.pi-history-ui) .availability strong span{font:12px var(--body);color:#d0dfe6}
:where(.pi-history-ui) .divider{height:24px;width:1px;background:#7e97a9}
:where(.pi-history-ui) .member-badge{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:11px;color:#d1f6dd;border:1px solid #82b799;padding:5px 10px 5px 5px;border-radius:24px}
:where(.pi-history-ui) .pi-mark{display:block;width:32px;height:32px;object-fit:contain;background:#fff;border-radius:50%;flex-shrink:0}
:where(.pi-history-ui) .pi-brand{display:inline-flex;align-items:center;gap:9px}
:where(.pi-history-ui) .member-badge .pi-mark{width:28px;height:28px}
:where(.pi-history-ui) .full-player-link .pi-mark{width:24px;height:24px}
:where(.pi-history-ui) .history-content{padding:26px 36px 24px}
:where(.pi-history-ui) .season-picker{border:0;padding:0;margin:0}
:where(.pi-history-ui) .season-picker legend{font-size:12px;color:var(--muted);margin-bottom:11px}
:where(.pi-history-ui) .season-picker>div{display:flex;gap:8px;flex-wrap:wrap}
:where(.pi-history-ui) .season-button{border:1px solid var(--line);border-radius:8px;background:white;padding:11px 15px;min-height:44px;color:var(--navy);font-size:13px;font-weight:600}
:where(.pi-history-ui) .season-button small{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}
:where(.pi-history-ui) .season-button[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
:where(.pi-history-ui) .season-button[aria-pressed="true"] small{color:#d0dfe6}
:where(.pi-history-ui) .section-heading{display:flex;justify-content:space-between;gap:15px;align-items:end;margin:27px 0 15px}
:where(.pi-history-ui) .section-heading .overline{color:var(--muted)}
:where(.pi-history-ui) .section-heading h3{font-size:26px;margin-top:4px}
:where(.pi-history-ui) .section-heading>span{font-size:12px;color:var(--muted);white-space:nowrap;padding-bottom:4px}
:where(.pi-history-ui) .protected-region{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-height:365px;background:var(--paper)}
:where(.pi-history-ui) .slashline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:25px 25px 22px;background:white}
:where(.pi-history-ui) .slashline>div{display:flex;flex-direction:column;gap:5px}
:where(.pi-history-ui) .slashline span{font-size:11px;letter-spacing:.1em;color:var(--muted)}
:where(.pi-history-ui) .slashline strong{font:600 40px var(--head);line-height:1.3}
:where(.pi-history-ui) .slashline .ops strong{color:var(--red-dark)}
:where(.pi-history-ui) .history-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:21px 25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8fafb}
:where(.pi-history-ui) .history-stats div{display:flex;flex-direction:column;gap:6px}
:where(.pi-history-ui) .history-stats span{font-size:11px;color:var(--muted)}
:where(.pi-history-ui) .history-stats b{font:600 26px var(--head)}
:where(.pi-history-ui) .season-table{padding:12px 16px;background:#fff}
:where(.pi-history-ui) .season-table th,:where(.pi-history-ui) .season-table td{text-align:right;padding:13px 9px;font:12px var(--body)}
:where(.pi-history-ui) .season-table th:first-child,:where(.pi-history-ui) .season-table td:first-child{text-align:left}
:where(.pi-history-ui) .season-table td:first-child{font-weight:600}
:where(.pi-history-ui) .season-table td small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:5px}
:where(.pi-history-ui) .season-table tbody tr+tr{border-top:1px solid var(--line)}
:where(.pi-history-ui) .coverage-note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:16px}
:where(.pi-history-ui) .locked-content{filter:blur(7px);user-select:none;pointer-events:none;opacity:.42;min-height:365px}
:where(.pi-history-ui) .skeleton{display:inline-block;width:72%;height:36px;background:#8da3b3;border-radius:5px}
:where(.pi-history-ui) .skeleton.small{height:20px;width:55%}
:where(.pi-history-ui) .gate{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px 35px;background:#f7fafb8c}
:where(.pi-history-ui) .lock-mark{display:grid;place-items:center;background:var(--navy);color:white;width:45px;height:45px;border-radius:50%;margin-bottom:13px}
:where(.pi-history-ui) .gate .eyebrow{font-size:11px}
:where(.pi-history-ui) .gate h3{font-size:31px;line-height:1.2;margin:10px 0 12px}
:where(.pi-history-ui) .gate p{color:#476074;font-size:14px;line-height:1.65;max-width:440px}
:where(.pi-history-ui) .gate .gate-price{margin-top:13px;font-size:12px;color:var(--navy)}
:where(.pi-history-ui) .gate-price strong{font-size:17px}
:where(.pi-history-ui) .button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:8px;padding:12px 24px;font:600 14px var(--body);border:1px solid var(--line)}
:where(.pi-history-ui) .primary{background:var(--red-dark);border-color:var(--red-dark);color:white}
:where(.pi-history-ui) .primary:hover{background:#a91e2d}
:where(.pi-history-ui) .secondary{background:#fff;color:var(--navy)}
:where(.pi-history-ui) .gate .primary{margin-top:20px;min-width:210px}
:where(.pi-history-ui) .text-button{border:0;background:transparent;color:var(--navy);text-decoration:underline;text-underline-offset:4px;font-size:12px;min-height:44px;padding:10px}
:where(.pi-history-ui) .text-button:hover{color:var(--red-dark)}
#pi-account{width:min(460px,calc(100% - 32px))}
:where(.pi-history-ui) .account-content{padding:22px 24px}
#pi-account .history-top{padding:10px 16px;gap:10px}
:where(.pi-history-ui) .account-content>.eyebrow{margin:15px 0 12px}
:where(.pi-history-ui) .account-content h2{font-size:32px;line-height:1.2;margin-bottom:16px}
:where(.pi-history-ui) .account-content>p{font-size:14px;line-height:1.65;color:var(--muted)}
#pi-account-actions{display:grid;gap:10px;margin:25px 0 15px}
:where(.pi-history-ui) .simulation-note{border-top:1px solid var(--line);padding-top:16px;font-size:11px!important}
:where(.pi-history-ui) .package-price{padding:16px 18px;background:var(--paper);border-radius:10px;border:1px solid var(--line)}
:where(.pi-history-ui) .package-price>div{display:flex;align-items:center;gap:17px}
:where(.pi-history-ui) .package-price strong{font:600 43px/1.2 var(--head)}
:where(.pi-history-ui) .package-price span{font-size:13px}
:where(.pi-history-ui) .package-price p{font-size:12px;color:#476074;margin-top:8px}
:where(.pi-history-ui) .package-benefits{padding-left:20px;margin:8px 0 12px;font-size:13px;line-height:1.6}
:where(.pi-history-ui) .package-benefits li{padding:4px 0 4px 3px}
:where(.pi-history-ui) .package-benefits li::marker{color:var(--red-dark)}
@media(max-width:650px){:where(.pi-history-ui) .dev-bar{align-items:start;flex-direction:column;padding:10px 16px;gap:8px}
:where(.pi-history-ui) .dev-bar>div{flex-wrap:wrap;gap:5px 12px;font-size:10px}
:where(.pi-history-ui) .dev-bar label{font-size:11px}
:where(.pi-history-ui) .dev-bar select{max-width:235px;min-height:36px}
:where(.pi-history-ui) main{padding:18px 12px 40px}
:where(.pi-history-ui) .brand{font-size:12px;margin-bottom:16px}
:where(.pi-history-ui) .preview-label{font-size:10px}
:where(.pi-history-ui) .spotlight{padding:25px 20px 22px}
:where(.pi-history-ui) h1{font-size:45px}
:where(.pi-history-ui) .identity{font-size:14px;line-height:1.6}
:where(.pi-history-ui) .event-line{gap:10px;margin:25px 0}
:where(.pi-history-ui) .event-line strong,:where(.pi-history-ui) .event-line b{font-size:35px}
:where(.pi-history-ui) .card-actions{align-items:stretch;gap:14px;flex-direction:column}
:where(.pi-history-ui) .card-actions>span{font-size:11px}
:where(.pi-history-ui) .history-link{width:100%;min-height:64px}
:where(.pi-history-ui) .card-nav{gap:3px;padding:12px}
:where(.pi-history-ui) .card-nav span{padding:12px;font-size:12px}
:where(.pi-history-ui) .card-body{padding:17px}
:where(.pi-history-ui) .signature{gap:15px;padding:15px}
:where(.pi-history-ui) .signature>strong{width:82px;min-width:82px;height:82px;font-size:31px}
:where(.pi-history-ui) .signature p{font-size:12px}
:where(.pi-history-ui) .signature p b{font-size:18px}
:where(.pi-history-ui) .signature small{font-size:9px}
#pi-history{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
:where(.pi-history-ui) .history-top{padding:10px 13px 10px 20px}
:where(.pi-history-ui) .history-identity{padding:23px 20px}
:where(.pi-history-ui) .history-identity h2{font-size:37px}
:where(.pi-history-ui) .availability{gap:12px;flex-wrap:wrap;margin-top:18px}
:where(.pi-history-ui) .availability strong{font-size:25px}
:where(.pi-history-ui) .availability strong span{font-size:11px}
:where(.pi-history-ui) .member-badge{margin-left:0}
:where(.pi-history-ui) .history-content{padding:20px 15px}
:where(.pi-history-ui) .season-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.pi-history-ui) .season-button{font-size:12px;padding:10px 12px}
:where(.pi-history-ui) .season-button small{margin-left:5px}
:where(.pi-history-ui) .section-heading h3{font-size:25px}
:where(.pi-history-ui) .section-heading .overline{font-size:10px}
:where(.pi-history-ui) .slashline{padding:20px 16px;gap:8px}
:where(.pi-history-ui) .slashline strong{font-size:30px}
:where(.pi-history-ui) .slashline span{font-size:10px}
:where(.pi-history-ui) .history-stats{padding:18px 16px;gap:12px}
:where(.pi-history-ui) .history-stats b{font-size:24px}
:where(.pi-history-ui) .gate{padding:24px 18px}
:where(.pi-history-ui) .gate h3{font-size:27px;max-width:300px}
:where(.pi-history-ui) .gate p{font-size:13px}
:where(.pi-history-ui) .protected-region,:where(.pi-history-ui) .locked-content{min-height:390px}
:where(.pi-history-ui) .gate .primary{width:100%;max-width:300px}
:where(.pi-history-ui) .season-table{overflow:auto;padding:8px}
:where(.pi-history-ui) .season-table th,:where(.pi-history-ui) .season-table td{padding:12px 6px;font-size:11px}
:where(.pi-history-ui) .account-content{padding:16px 20px}
:where(.pi-history-ui) .account-content h2{font-size:27px;margin:0 0 10px}
#pi-account-actions{margin:16px 0 0;gap:8px}
:where(.pi-history-ui) .package-benefits{margin:4px 0;font-size:13px}
dialog.pi-history-ui,#pi-history{max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin-block:auto}
}
body:has(dialog.pi-history-ui[open]){overflow:hidden}
:where(.pi-history-ui) .full-player-link{display:flex;align-items:center;gap:20px;padding:24px;margin:28px 0 0;border-radius:16px;background:linear-gradient(120deg,var(--navy),#285367);color:#fff;text-decoration:none;border-bottom:4px solid var(--red)}
:where(.pi-history-ui) .full-player-link>span:first-child{display:grid;gap:10px;min-width:0}
:where(.pi-history-ui) .full-player-link small{color:#bce1ec;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700}
:where(.pi-history-ui) .full-player-link strong{font:600 30px/1.15 var(--head)}
:where(.pi-history-ui) .full-player-link span span{font-size:13px;line-height:1.5;color:#dce8ee}
:where(.pi-history-ui) .full-player-link b{font-size:13px;text-decoration:underline;text-underline-offset:4px}
:where(.pi-history-ui) .full-player-arrow{flex:none;margin-left:auto;font-size:28px}
:where(.pi-history-ui) .full-player-link:hover{background:linear-gradient(120deg,#26466b,#326679)}
:where(.pi-history-ui) .full-player-link:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
:where(.pi-history-ui) .sample-label{display:block;font-size:10px;color:var(--muted);margin-top:5px}
:where(.pi-history-ui) .protected-region:has(.gate[hidden]){min-height:0}
@media(prefers-reduced-motion:reduce){:where(.pi-history-ui) *{transition:none!important;scroll-behavior:auto!important}
}
.pi-history-ui{--navy:#1d3557;--red:#ed374b;--red-dark:#c41e36;--line:#d2dee4;--paper:#edf2f4;--muted:#617c8e;--blue:#327ea5;--head:Oswald,sans-serif;--body:Inter,sans-serif;font-family:var(--body)}
.pi-history-ui [hidden]{display:none!important}.pi-history-ui *{box-sizing:border-box}.pi-history-ui h2,.pi-history-ui h3{font-family:var(--head)}.pi-history-ui button{cursor:pointer}.pi-history-ui :focus-visible{outline:3px solid #327ea5;outline-offset:3px}.pi-history-ui .eyebrow{color:#c41e36;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:13px}.pi-history-ui .availability strong>[id]{font:inherit;color:inherit}.pi-history-ui .gate{position:relative;inset:auto}.pi-history-ui .protected-region{min-height:0}.pi-history-entry{display:flex!important;align-items:center;gap:12px;text-align:left!important;padding:12px 16px!important;background:#f5fafc!important;border:1px solid #c8dbe5!important;border-radius:12px!important;color:#1d3557!important;min-height:64px}.pi-history-entry img{width:36px;height:36px;object-fit:contain;flex-shrink:0;border-radius:50%;background:white}.pi-history-entry strong,.pi-history-entry small{display:block}.pi-history-entry small{font-size:12px;color:#547489;margin-top:3px}.pi-history-entry>span:last-child{margin-left:auto}.ti-player-share:has(.pi-history-entry){flex-wrap:wrap}.pi-history-entry{flex:1;min-width:250px}
.pi-history-ui .history-identity h2{color:white}.pi-history-ui .history-identity>.overline{color:#b7dce7}.pi-history-ui .history-identity>p{color:#d0dfe6}.pi-history-ui .full-player-link strong{color:white}.pi-history-ui .history-content .coverage-note{padding:0 12px}
