.account-activity-layout .account-content{background:none;padding:0;border-radius:0;}
.account-activity{color:#f2f2f2;--activity-muted:#999;--activity-line:#ffffff0d;}
.account-activity :where(button,input){font:inherit;}
.account-activity :where(button,a){-webkit-tap-highlight-color:transparent;}
.account-activity [hidden]{display:none!important;}
.account-activity a{text-decoration:none;color:inherit;}
.activity-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:#1c1c1c;border:1px solid var(--activity-line);border-radius:20px;}
.activity-head h1{font-size:24px;line-height:32px;font-weight:500;margin:0;}
.activity-head p{font-size:14px;line-height:20px;color:var(--activity-muted);margin:6px 0 0;}
.activity-tools,.activity-actions{display:flex;align-items:center;gap:12px;}
.activity-tabs{display:flex;gap:4px;padding:4px;border-radius:8px;background:#ffffff0d;}
.activity-tabs button,.activity-actions button,.activity-bulk button,.activity-retry{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;color:#aaa;background:#ffffff0d;border:0;border-radius:8px;font-size:12px;line-height:18px;white-space:nowrap;cursor:pointer;}
.activity-tabs button{padding:6px 16px;background:none;}
.activity-tabs button[aria-pressed=true]{background:#ffffff0d;color:#fff;}
.activity-actions img{display:block;flex:none;filter:brightness(0) invert(1);opacity:.7;}
.activity-actions button:hover,.activity-bulk button:hover{background:#ffffff1a;color:#fff;}
.activity-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;box-sizing:border-box;padding:8px 20px;border:0;border-radius:9px;background:#ff5000;color:#fff;font-size:13px;line-height:20px;white-space:nowrap;cursor:pointer;}
.account-activity a.activity-primary{color:#fff;}
.activity-primary img{display:block;flex:none;filter:brightness(0) invert(1);}
.activity-primary:hover{background:#ef4700;}
.activity-bulk{display:flex;align-items:center;gap:16px;margin:20px 0;font-size:12px;line-height:18px;flex-wrap:wrap;}
.activity-bulk label{display:inline-flex;align-items:center;gap:6px;cursor:pointer;}
.account-activity input[type=checkbox]{width:16px;height:16px;accent-color:#ff5000;cursor:pointer;}
.account-activity button:disabled{opacity:.45;cursor:default;}
.activity-status{color:#ff9b74;font-size:13px;line-height:20px;margin:16px 0 8px;}
.activity-empty{padding:70px 20px;text-align:center;background:#191919;border-radius:16px;font-size:14px;line-height:24px;color:#aaa;}
.activity-empty a{color:#ff7b43;display:inline-block;margin-top:8px;}
.activity-footnote{margin:36px 0 0;padding:20px;border:1px solid var(--activity-line);background:#191919;border-radius:16px;color:#999;font-size:12px;line-height:20px;}
/* History: portrait cards for recent views, compact rows for older records. */
.account-activity--history .activity-head{align-items:flex-end;}
.account-activity--history .activity-actions button{height:40px;font-size:14px;line-height:20px;}
.history-group{margin-top:36px;}
.history-group-head{display:flex;align-items:center;gap:8px;margin:0 0 16px;}
.history-group-head:before{content:"";width:10px;height:10px;flex:none;border-radius:50%;background:#ff5000;box-shadow:0 0 0 4px #ff500033;}
.history-group--yesterday .history-group-head:before{background:#666;box-shadow:none;}.history-group--earlier .history-group-head:before{background:#65504a;box-shadow:none;}
.history-group-head h2{font-size:18px;line-height:24px;font-weight:600;margin:0;}.history-group-count{color:#999;font-size:12px;line-height:18px;}
.history-group-count:before{content:"· ";}.history-group-note{margin-left:auto;color:#777;font-size:12px;line-height:18px;}
.history-group .pagination--account{margin-top:16px;padding:12px;border-radius:12px;}
.history-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.history-record{position:relative;display:flex;align-items:flex-start;gap:16px;padding:16px;border:1px solid var(--activity-line);background:#262626;border-radius:12px;min-width:0;box-sizing:border-box;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;}
.history-cover{position:relative;width:96px;height:128px;border-radius:4px;overflow:hidden;flex:none;background:#333;}
.history-cover:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0d0d0de6,transparent 50%);}
.history-cover>img{display:block;width:100%;height:100%;object-fit:cover;}
.history-cover-total{position:absolute;z-index:1;top:8px;left:8px;max-width:calc(100% - 16px);box-sizing:border-box;padding:2px 6px;border-radius:12px;backdrop-filter:blur(2px);background:#00000026;font-size:10px;line-height:16px;color:#fff;text-shadow:0 1px 3px #000;white-space:nowrap;}
.history-cover-meta{position:absolute;z-index:1;bottom:10px;left:8px;right:8px;display:flex;align-items:center;justify-content:space-between;gap:2px;}
.history-cover-episode{display:flex;align-items:center;gap:2px;white-space:nowrap;font-size:10px;line-height:16px;color:#fff;text-shadow:0 1px 3px #000;}
.history-cover-episode img{display:block;flex:none;filter:brightness(0) invert(1);}.history-cover-episode img[src$="check.svg"]{display:none;}
.history-cover-percent{font-size:12px;line-height:18px;color:#ff5000;}.history-record.is-finished .history-cover-percent{color:#0abe75;}
.history-cover-progress{position:absolute;z-index:1;bottom:0;left:0;right:0;height:4px;background:#ffffff26;}.history-cover-progress>span{display:block;height:100%;border-radius:0 99px 99px 0;background:#ff5000;}
.history-record.is-finished .history-cover-progress>span{background:#0abe75;}
.history-record-content{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:128px;flex:1;align-self:stretch;}
.history-record-meta{display:flex;flex-direction:column;gap:6px;min-width:0;}
.history-record h3{font-size:16px;line-height:22px;margin:0;padding-right:24px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.history-record-progress{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#999;font-size:12px;line-height:18px;}
.history-episode{color:#f89300;background:#f8930014;border-radius:2px;padding:2px 8px;white-space:nowrap;}.history-record.is-finished .history-episode{color:#0abe75;background:#0abe7514;}
.history-device-time{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#999;font-size:12px;line-height:18px;}
.history-source,.history-synced{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}.history-source img{display:block;flex:none;filter:brightness(0) invert(1);opacity:.65;}
.history-synced{font-size:10px;line-height:16px;color:#0abe75;}.history-synced img{display:block;flex:none;filter:brightness(0) invert(1);opacity:.7;}.history-time{white-space:nowrap;}
.history-record-actions{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px;}
.history-record-actions .activity-primary{min-width:0;min-height:36px;padding:8px 16px;border-radius:8px;font-size:14px;line-height:20px;gap:6px;}
.history-record-actions .history-episodes{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;background:#ffffff0d;border-radius:8px;}
.history-episodes img{display:block;flex:none;filter:brightness(0) invert(1);opacity:.7;}
.history-record-delete,.history-record-select{position:absolute;top:14px;right:12px;display:grid;place-items:center;width:24px;height:24px;}
.history-record-delete{background:none;border:0;border-radius:5px;cursor:pointer;}.history-record-delete img{display:block;flex:none;filter:brightness(0) invert(1);opacity:.7;}.history-record-delete:hover{background:#ffffff1a;}
.history-group--earlier .history-cards{grid-template-columns:1fr;gap:8px;}
.history-group--earlier .history-record{align-items:center;background:#1c1c1c;box-shadow:none;}
.history-group--earlier .history-cover{width:64px;height:36px;border-radius:2px;}
.history-group--earlier .history-cover:after,.history-group--earlier .history-cover-total,.history-group--earlier .history-cover-meta,.history-group--earlier .history-cover-progress{display:none;}
.history-group--earlier .history-record-content{flex-direction:row;align-items:center;min-height:36px;gap:20px;padding-right:24px;}
.history-group--earlier .history-record-meta{flex:1;gap:2px;}.history-group--earlier .history-record h3{font-size:14px;line-height:20px;font-weight:500;padding:0;}
.history-group--earlier .history-record-progress{gap:8px;font-size:12px;}.history-group--earlier .history-episode{padding:0 6px;font-size:10px;line-height:16px;}
.history-group--earlier .history-record-actions{padding:0;margin:0;flex:none;}
.history-group--earlier .history-record-actions .activity-primary{min-height:30px;padding:6px 12px;border-radius:4px;background:#ffffff0d;color:#aaa;font-size:12px;line-height:18px;}
.history-group--earlier .history-record-actions .activity-primary img{display:none;}.history-group--earlier .history-episodes{background:none;width:16px;height:30px;}
.history-footnote{line-height:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;}.history-footnote p{display:flex;align-items:center;gap:10px;margin:0;}.history-footnote img{display:block;flex:none;}
.history-footnote p img,.history-footnote button img{filter:brightness(0) invert(1);opacity:.7;}.history-footnote button{display:inline-flex;align-items:center;gap:4px;flex:none;padding:0;background:none;border:0;color:#ff5000;font:inherit;cursor:pointer;}
.request-record-overview{position:relative;}
.request-record-summary{box-sizing:border-box;width:100%;padding:21px;background:#1c1c1c;border:1px solid var(--activity-line);border-radius:20px;}
.request-record-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;color:#999;font-size:13px;line-height:20px;font-weight:500;}
.request-record-summary-icon{display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;background:#ffffff0d;border:1px solid var(--activity-line);border-radius:8px;}
.request-record-summary-icon img{display:block;filter:brightness(0) invert(1);opacity:.65;}
.request-record-summary-count{display:flex;align-items:baseline;gap:8px;min-height:34px;padding-right:150px;flex-wrap:wrap;}
.request-record-summary-caption{font-size:12px;line-height:18px;color:#999;font-weight:500;}
.request-record-summary-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:13px;border-top:1px solid var(--activity-line);font-size:12px;line-height:18px;color:#ffffff59;}.request-record-summary-footer b{font-weight:400;font-variant-numeric:tabular-nums;}
.request-record-summary strong{font-size:28px;line-height:34px;font-weight:700;font-variant-numeric:tabular-nums;}
.request-record-summary-count>a{font-size:12px;line-height:18px;color:#ff7b43;}
.request-record-new{position:absolute;right:22px;bottom:70px;height:34px;min-height:34px;border-radius:999px;padding:7px 20px;box-shadow:0 4px 8px #ff4b0240;}
.request-record-new picture{display:flex;}
.request-record{margin-top:24px;padding:28px;border-radius:20px;background:#1c1c1c;}
.request-record-head{display:flex;align-items:center;gap:12px;padding-bottom:21px;border-bottom:1px solid #ffffff0f;flex-wrap:wrap;}
.request-record-head h2{font-size:20px;line-height:28px;font-weight:500;margin:0;overflow-wrap:anywhere;}.request-record-head time{font-size:12px;line-height:18px;color:#999;}.request-record-head .activity-primary{margin-left:auto;min-height:32px;padding:6px 16px;gap:4px;}
.request-record-status{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:4px 12px;color:#f8b45c;background:#f8930014;font-size:12px;line-height:18px;white-space:nowrap;}
.request-record-status:before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%;}.request-record-status[data-status="3"]{color:#17ce92;background:#17ce921a;}.request-record-status[data-status="4"]{color:#ff938a;background:#ff938a14;}
.request-record-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;margin:16px 0 0;}
.request-record-field{min-width:0;}.request-record-field dt{font-size:12px;line-height:18px;color:#999;margin-bottom:4px;}.request-record-field dd{margin:0;font-size:14px;line-height:20px;overflow-wrap:anywhere;white-space:pre-wrap;}.request-record-field--wide{grid-column:1/-1;}
.request-record-tags{display:flex;gap:6px;flex-wrap:wrap;}.request-record-tags span{background:#ffffff0d;border-radius:4px;padding:2px 8px;font-size:14px;line-height:20px;}
.request-record-field--elements .request-record-tags{gap:8px;}.request-record-field--elements .request-record-tags span{border-radius:6px;padding:4px 10px;}
.request-record-content{padding:16px;background:#ffffff0d;border-radius:12px;}.request-record-field a{color:#ff9260;text-decoration:underline;}.request-record-meta{display:flex;gap:24px;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--activity-line);font-size:12px;color:#999;}.request-record-meta b{color:#ddd;font-weight:400;}
.activity-message-tabs{margin:24px 0 16px;width:fit-content;}
.message-record{display:flex;align-items:flex-start;gap:16px;padding:24px;background:#1c1c1c;border-bottom:1px solid #ffffff0d;}
.message-record:first-child{border-radius:16px 16px 0 0;}.message-record:last-child{border-radius:0 0 16px 16px;}.message-record:only-child{border-radius:16px;}
.message-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#ff500014;color:#ff7b43;}.message-icon img{width:20px;height:20px;filter:brightness(0) invert(1);opacity:.9;}.message-record--like .message-icon{background:#f8688a14;}.message-record--request .message-icon{background:#d4af3714;}
.message-content{flex:1;min-width:0;}.message-content h2{font-size:15px;line-height:22px;margin:0 0 8px;font-weight:500;}.message-content p{margin:0 0 10px;font-size:14px;line-height:22px;overflow-wrap:anywhere;white-space:pre-wrap;}.message-content blockquote{margin:0 0 12px;padding:12px 16px;background:#ffffff0d;border-radius:8px;color:#aaa;font-size:13px;line-height:21px;overflow-wrap:anywhere;white-space:pre-wrap;}.message-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;line-height:18px;color:#999;}.message-meta a{margin-left:auto;color:#ff7b43;}
.activity-confirm{color:#f2f2f2;background:#242424;border:1px solid #ffffff1a;border-radius:16px;width:360px;max-width:calc(100% - 64px);padding:24px;}.activity-confirm::backdrop{background:#000a;}.activity-confirm h2{font-size:18px;margin:0 0 16px;}.activity-confirm p{font-size:14px;line-height:22px;color:#bbb;}.activity-confirm form>div{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;}.activity-confirm button{font:inherit;border:0;border-radius:8px;padding:10px 20px;color:#fff;background:#ffffff1a;cursor:pointer;}.activity-confirm button.activity-primary{background:#ff5000;}
@media(max-width:860px){
 .activity-head{align-items:flex-start;flex-direction:column;gap:18px;padding:18px;}.activity-head h1{font-size:20px;line-height:28px;}.activity-head p{font-size:12px;line-height:18px;}.activity-tools{width:100%;flex-direction:column;align-items:stretch;gap:12px;}.activity-tabs{border-radius:99px;}.activity-tabs button{flex:1;padding:6px 10px;border-radius:99px;font-size:12px;}.activity-tabs button[aria-pressed=true]{background:#ff5000;color:#fff;}.activity-actions{justify-content:flex-end;gap:8px;}.activity-actions button{font-size:12px;line-height:18px;padding:9px 12px;}.activity-head>.activity-primary{width:100%;}
 .account-activity--history .activity-head{align-items:stretch;padding:0;background:none;border:0;gap:12px;}.account-activity--history .activity-head>div:first-child{display:none;}
 .account-activity--history .activity-tabs{padding:4px;border:1px solid var(--activity-line);}.account-activity--history .activity-actions button{height:34px;font-size:12px;line-height:18px;}
 .history-group{margin-top:16px;padding:14px;background:#1c1c1c;border:1px solid var(--activity-line);border-radius:20px;}.history-group-head{margin:0 2px 12px;}.history-group-head h2{font-size:12px;line-height:18px;font-weight:500;}.history-group-head:before{display:none;}.history-group-count{font-size:12px;line-height:18px;background:#ffffff0d;border:1px solid var(--activity-line);padding:1px 7px;border-radius:99px;}.history-group-count:before{display:none;}.history-group-note{font-size:10px;line-height:16px;}
 .history-cards{grid-template-columns:1fr;gap:12px;}.history-record{padding:12px;gap:12px;box-shadow:none;}.history-cover{width:98px;height:130px;border:1px solid var(--activity-line);border-radius:12px;}
 .history-cover:after{display:none;}.history-cover-total{top:4px;left:4px;max-width:calc(100% - 8px);border-radius:4px;background:#00000040;}.history-cover-meta{left:4px;right:4px;bottom:12px;}.history-cover-percent{display:none;}.history-cover-episode{border:1px solid #ff500033;border-radius:4px;background:#ff5000;padding:2px 6px;text-shadow:none;}.history-cover-episode img{display:none;}.history-record.is-finished .history-cover-episode{background:#0abe75;border-color:#0abe7533;}
 .history-record-content{min-height:130px;padding:2px 0;}.history-record-meta{gap:4px;}.history-record h3{font-size:14px;line-height:20px;padding-right:14px;font-weight:500;}.history-record-progress{gap:2px 6px;font-size:10px;line-height:16px;}.history-episode{padding:0 4px;border-radius:4px;font-size:10px;line-height:16px;}.history-watched{font-size:10px;line-height:16px;}
 .history-device-time{gap:2px 4px;font-size:10px;line-height:16px;}.history-source img,.history-meta-dot{display:none;}.history-synced{font-size:10px;line-height:16px;}.history-synced img{display:none;}.history-synced:before{content:"·";color:#999;}
 .history-record-actions{gap:8px;padding-top:10px;}.history-record-actions .activity-primary{flex:1;font-size:12px;line-height:18px;padding:4px 6px;min-height:28px;border-radius:12px;gap:4px;white-space:normal;text-align:center;}.history-record-actions .history-episodes{box-sizing:border-box;width:28px;height:28px;border:1px solid #ffffff1a;border-radius:9px;}
 .history-record-delete,.history-record-select{width:22px;height:22px;top:12px;right:8px;}
 .history-group--earlier .history-record{gap:10px;padding:10px;}.history-group--earlier .history-cover{width:64px;height:64px;border-radius:8px;}.history-group--earlier .history-record-content{flex-direction:column;align-items:stretch;min-height:64px;padding:0;gap:8px;}.history-group--earlier .history-record-meta{gap:3px;}.history-group--earlier .history-record h3{font-size:12px;line-height:18px;padding-right:16px;}.history-group--earlier .history-record-progress{font-size:10px;line-height:16px;}.history-group--earlier .history-record-actions{justify-content:space-between;}.history-group--earlier .history-record-actions .activity-primary{flex:none;min-height:24px;padding:3px 10px;font-size:10px;line-height:16px;background:#ff5000;color:#fff;border-radius:9px;}.history-group--earlier .history-episodes{display:none;}
 .activity-bulk{gap:10px;margin:16px 0;}.activity-bulk button{padding:7px 10px;}.activity-footnote{font-size:11px;line-height:18px;margin-top:20px;padding:14px;}.history-footnote{align-items:flex-start;flex-direction:column;gap:10px;}.history-footnote button{align-self:flex-end;}
 .request-record-meta{gap:18px;font-size:11px;}
 .activity-message-tabs{display:flex;width:auto;margin-top:16px;}.activity-message-tabs button{padding:7px 8px;font-size:11px;}.message-record{padding:18px 14px;gap:10px;}.message-icon{width:32px;height:32px;}.message-content h2{font-size:14px;line-height:21px;}.message-content p{font-size:13px;line-height:21px;}.message-content blockquote{font-size:12px;padding:10px;}.message-meta{font-size:11px;gap:8px;}
}
@media(max-width:767px){
 .request-record-overview{display:flex;flex-direction:column;gap:16px;}
 .request-record-summary{padding:13px;}.request-record-summary-heading{margin-bottom:4px;font-size:12px;line-height:18px;font-weight:400;}.request-record-summary-icon{width:14px;height:14px;border:0;border-radius:0;background:none;}
 .request-record-summary-count{min-height:32px;padding-right:0;}.request-record-summary strong{font-size:24px;line-height:32px;font-weight:600;}
 .request-record-summary-caption{font-size:10px;line-height:16px;font-weight:400;}.request-record-summary-footer{margin-top:4px;padding-top:9px;font-size:10px;line-height:16px;}
 .request-record-new{position:static;width:100%;height:44px;min-height:44px;padding:6px 12px;gap:6px;font-size:14px;line-height:20px;box-shadow:none;}
 .request-record{margin-top:20px;padding:28px;}.request-record+.request-record{margin-top:16px;}
 .request-record-head{gap:0;padding-bottom:0;border-bottom:0;flex-direction:column;align-items:flex-start;}
 .request-record-head h2{font-size:18px;line-height:24px;font-weight:600;margin-top:16px;}.request-record-head time{font-size:12px;line-height:18px;margin-top:4px;}
 .request-record-head .activity-primary{width:100%;margin:16px 0 0;font-size:13px;min-height:40px;padding:10px 16px;}
 .request-record-fields{grid-template-columns:1fr;gap:24px;margin-top:16px;}.request-record-content{padding:16px;}
}
@media(max-width:360px){.history-group{padding:10px;}.history-record{gap:8px;padding:10px;}.history-record-actions .activity-primary{font-size:11px;padding-inline:4px;}.activity-tabs button{padding-inline:7px;}}
