.ah-dialog{--ah-bg:#111315;--ah-ink:#f0f0ed;--ah-muted:#989da6;--ah-line:#ffffff16;--ah-accent:#bdcbed;background:var(--ah-bg);color:var(--ah-ink);border:1px solid var(--ah-line);border-radius:20px;width:min(960px,calc(100vw - 40px));max-height:88dvh;padding:0;box-shadow:0 32px 120px #0008;overflow:hidden}
body[data-theme="light"] .ah-dialog{--ah-bg:#faf8f3;--ah-ink:#292720;--ah-muted:#77736b;--ah-line:#483f2922;--ah-accent:#635746}
.ah-dialog::backdrop{background:#0009;backdrop-filter:blur(9px)}.ah-dialog[open]{display:flex;flex-direction:column;animation:ah-enter .25s ease-out}.ah-dialog>header{display:flex;justify-content:space-between;gap:24px;padding:30px 36px 25px;border-bottom:1px solid var(--ah-line)}.ah-kicker{font-size:10px;letter-spacing:2px;color:var(--ah-accent)}.ah-dialog h2{font-size:28px;margin:9px 0}.ah-dialog header p{color:var(--ah-muted);font-size:13px;margin:0}.ah-dialog button{font:inherit;color:inherit;cursor:pointer}.ah-close{background:transparent;border:1px solid var(--ah-line);border-radius:9px;width:34px;height:34px;font-size:24px!important;flex-shrink:0}.ah-body{padding:0 36px;overflow:auto;min-height:180px;overscroll-behavior:contain}.ah-list-meta{display:flex;justify-content:space-between;color:var(--ah-muted);font-size:10px;letter-spacing:1px;padding:22px 0 12px}.ah-row{display:grid;grid-template-columns:40px 1fr 20px;gap:15px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--ah-line);padding:21px 0;align-items:center}.ah-row:hover{background:var(--ah-line)}.ah-rank{font-size:23px;color:var(--ah-muted);font-variant-numeric:tabular-nums}.ah-row:nth-of-type(-n+3) .ah-rank{color:var(--ah-accent)}.ah-row strong{font-size:16px;line-height:1.6;font-weight:600}.ah-row small{display:block;color:var(--ah-muted);font-size:11px;margin-top:7px}.ah-arrow{color:var(--ah-muted)}.ah-dialog>footer{display:flex;justify-content:space-between;gap:12px;padding:18px 36px;border-top:1px solid var(--ah-line);color:var(--ah-muted);font-size:11px}.ah-dialog a{color:var(--ah-accent);text-decoration:none}.ah-dialog a:hover{text-decoration:underline}.ah-back,.ah-retry{border:1px solid var(--ah-line);border-radius:8px;background:transparent;padding:8px 12px;margin:22px 0}.ah-story{padding-bottom:24px}.ah-story h3{font-size:26px;line-height:1.5;margin:14px 0}.ah-story-meta{font-size:12px;color:var(--ah-muted)}.ah-digest{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.95;background:var(--ah-line);border-radius:12px;padding:22px;margin:24px 0 16px}.ah-links{display:flex;gap:24px;font-size:12px}.ah-story h4{font-size:18px;margin:34px 0 20px}.ah-story h4 span{font-size:11px;color:var(--ah-muted);margin-left:12px;font-weight:400}.ah-timeline{list-style:none;padding:0;margin:0}.ah-timeline li{display:grid;grid-template-columns:90px 1fr;gap:24px;border-top:1px solid var(--ah-line);padding:22px 0}.ah-timeline time,.ah-timeline small{font-size:11px;color:var(--ah-muted)}.ah-timeline h5{font-size:15px;line-height:1.6;margin:9px 0}.ah-timeline p{font-size:13px;line-height:1.9;color:var(--ah-muted)}.ah-timeline a{font-size:12px}.ah-empty{padding:50px 0;text-align:center;color:var(--ah-muted);font-size:14px}.ah-retry{display:block;margin:20px auto}.ah-notice{font-size:12px;color:#b49d71;line-height:1.8}.nr-actions{flex-wrap:wrap}.nr-actions .tibo-trigger{margin-right:12px}
.ah-row .ah-latest{font-size:13px;line-height:1.8;margin-top:9px;white-space:normal}.ah-latest b{font-weight:500;color:var(--ah-accent);margin-right:5px}.ah-progress-time{display:block;font-size:11px;color:var(--ah-muted);margin-top:6px}.ah-list-meta{gap:12px;flex-wrap:wrap}
@keyframes ah-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:600px){.ah-dialog{width:calc(100vw - 20px);max-height:94dvh;border-radius:14px}.ah-dialog>header{padding:22px 20px}.ah-body{padding:0 20px}.ah-dialog h2{font-size:24px}.ah-row{grid-template-columns:28px 1fr 14px;gap:10px}.ah-row strong{font-size:14px}.ah-rank{font-size:19px}.ah-dialog>footer{padding:16px 20px;font-size:10px;flex-wrap:wrap}.ah-story h3{font-size:21px}.ah-digest{padding:16px;font-size:14px}.ah-timeline li{grid-template-columns:1fr;gap:10px}.nr-actions{padding-left:0;width:100%;justify-content:flex-end}.nr-actions .tibo-tooltip{display:none}.nr-actions .tibo-trigger{margin-right:3px}}
/* Keep the blur on a stationary viewport-sized backdrop. Do not animate the
   dialog's transform/opacity: it can invalidate the filtered backdrop layer. */
.ah-dialog{height:88dvh}
.ah-dialog::backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);animation:none;transition:none;transform:none}
.ah-dialog[open]{animation:none;transform:none}
.ah-dialog>header,.ah-dialog>footer{flex-shrink:0}
.ah-body{flex:1;min-height:0;scrollbar-gutter:stable}
.ah-row{padding:21px 14px;border-radius:10px}
.ah-row[data-rank="1"]{--ah-rank-color:#dab777;--ah-rank-bg:rgba(197,151,73,.13)}
.ah-row[data-rank="2"]{--ah-rank-color:#b3c9e3;--ah-rank-bg:rgba(137,169,209,.11)}
.ah-row[data-rank="3"]{--ah-rank-color:#c8b7e3;--ah-rank-bg:rgba(162,130,202,.11)}
.ah-row[data-rank="1"],.ah-row[data-rank="2"],.ah-row[data-rank="3"]{background:var(--ah-rank-bg);border:1px solid color-mix(in srgb,var(--ah-rank-color) 22%,transparent);margin-bottom:8px}
.ah-row[data-rank="1"] .ah-rank,.ah-row[data-rank="2"] .ah-rank,.ah-row[data-rank="3"] .ah-rank{color:var(--ah-rank-color)}
.ah-row[data-rank]:hover{box-shadow:inset 0 0 0 1px var(--ah-line)}
body[data-theme="light"] .ah-row[data-rank="1"]{--ah-rank-color:#926526;--ah-rank-bg:#f3ead9}
body[data-theme="light"] .ah-row[data-rank="2"]{--ah-rank-color:#54708c;--ah-rank-bg:#e9eef3}
body[data-theme="light"] .ah-row[data-rank="3"]{--ah-rank-color:#7e659b;--ah-rank-bg:#efe9f4}
.ah-timeline-waiting{opacity:0;transform:translateY(12px)}
.ah-timeline-reveal{animation:ah-timeline-in .48s ease-out var(--ah-reveal-delay,0ms) both}
.ah-timeline-waiting:focus-within{opacity:1;transform:none}
@keyframes ah-timeline-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.ah-dialog{height:94dvh}.ah-row{padding:18px 10px}}
@media(prefers-reduced-motion:reduce){.ah-dialog[open],.ah-timeline-reveal{animation:none}.ah-timeline-waiting{opacity:1;transform:none}}
