/* Profile settings: a stable identity and one focused panel at a time. */
.profile-workspace .account-identity{display:flex;align-items:center;gap:22px;margin:24px 0;padding:26px;border:1px solid #ffffff10;border-radius:16px;background:linear-gradient(115deg,#201a30,#14131f)}
.profile-person{flex:1;min-width:0}.profile-workspace .account-role{margin:0 0 8px;font-size:10px}.profile-workspace .account-identity h2{font-size:25px;line-height:1.3;overflow-wrap:anywhere}.profile-workspace .account-identity p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.profile-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;flex:none}.profile-counts>div{display:flex;flex-direction:column;gap:7px}.profile-counts dt{font-size:10px;color:var(--muted)}.profile-counts dd{order:-1;font:600 24px/1 var(--heading);color:var(--text);margin:0}
.profile-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.profile-workspace .profile-shortcuts{position:sticky;top:100px;display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}.profile-workspace .profile-shortcuts a{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px 14px;border:1px solid transparent;border-radius:10px;background:transparent;text-decoration:none;font-size:12px;color:var(--muted)}.profile-shortcuts a .icon{width:17px;height:17px;flex:none}.profile-workspace .profile-shortcuts a.active{color:var(--accent);background:#a38aff12;border-color:#a38aff28}.profile-workspace .profile-shortcuts a:hover{background:#ffffff05;color:var(--text)}.profile-shortcuts a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profile-workspace .account-grid{display:block;min-width:0}.profile-workspace .account-grid>.account-card{display:none;padding:26px;border:1px solid #ffffff10;border-radius:16px;background:var(--panel,#151422);scroll-margin-top:100px}
.profile-workspace[data-profile-section="profile-account"] #profile-account,.profile-workspace[data-profile-section="profile-appearance"] #profile-appearance,.profile-workspace[data-profile-section="profile-security"] #profile-security,.profile-workspace[data-profile-section="profile-archive"] #profile-archive,.profile-workspace[data-profile-section="profile-access"] #profile-access,.profile-workspace[data-profile-section="profile-app"] #profile-app,.profile-workspace[data-profile-section="profile-translations"] #profile-translations{display:block}
.profile-workspace .account-card-heading{display:flex;justify-content:flex-start;gap:10px;margin:0;padding-bottom:0;min-height:32px;border:0}.profile-workspace .account-card-heading h3{font-size:19px;line-height:1.4}.profile-section-intro{color:var(--muted);font-size:12px;line-height:1.8;margin:10px 0 24px}.profile-workspace .account-form-note{font-size:12px;line-height:1.8;color:var(--muted)}.profile-workspace .account-card input{min-width:0}.profile-workspace .account-card input:not([type=checkbox]){font-size:13px;min-height:46px}.profile-workspace .account-card .form-label{font-size:12px;margin-bottom:8px}.profile-workspace .account-card form>.btn{margin-top:8px}
.profile-workspace .title-preference{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff02;cursor:pointer}.profile-workspace .title-preference input[type=checkbox]{padding:0;margin-top:2px}.profile-workspace .title-preference strong{font-size:13px;line-height:1.6}.profile-workspace .title-preference small{font-size:12px;line-height:1.8}
.account-security-action{margin-top:28px;padding-top:22px;border-top:1px solid #ffffff10}.account-security-action h4{font:600 14px var(--heading);margin:0}.account-security-action .text-link{min-height:44px}.profile-workspace .account-tools{gap:8px}.profile-workspace .account-tools button{min-height:68px;gap:14px;padding:16px;cursor:pointer}.profile-workspace .account-tools button>span{font-size:13px;line-height:1.5}.profile-workspace .account-tools small{font-size:11px;line-height:1.7;margin-top:5px}.profile-workspace .account-tools button>.icon{width:18px;height:18px;flex:none}.profile-workspace .account-tools button:hover{border-color:#b79ae54a;background:#b79ae508}.profile-workspace .account-tools button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.profile-workspace .pwa-card>.btn{margin:0 8px 10px 0}
.progress-form .watch-date-fields{grid-column:1/-1;width:100%}.progress-editor .watch-detail{margin-top:20px;border-top:1px solid #ffffff12;padding-top:20px}.account-collection{flex-wrap:wrap}
@media(max-width:760px){.profile-workspace .account-identity{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;padding:20px;margin:20px 0}.profile-workspace .account-avatar{width:58px;height:58px;border-radius:18px;font-size:27px}.profile-workspace .account-identity h2{font-size:21px}.profile-workspace .account-identity p{font-size:12px}.profile-workspace .profile-counts{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px;padding-top:18px;border-top:1px solid #ffffff10}.profile-counts dd{font-size:22px}.profile-counts dt{font-size:10px}.profile-layout{grid-template-columns:minmax(0,1fr);gap:18px}.profile-workspace .profile-shortcuts{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.profile-workspace .profile-shortcuts a{justify-content:center;padding:10px 6px;font-size:11px;gap:6px}.profile-shortcuts a .icon{width:15px;height:15px}.profile-workspace .account-grid>.account-card{padding:20px;border-radius:14px}.profile-workspace .account-card-heading h3{font-size:18px}.profile-workspace .account-password-grid{grid-template-columns:minmax(0,1fr)}.progress-form .watch-date-fields{display:grid;grid-template-columns:1fr;gap:12px}.profile-workspace .title-preference{padding:14px}.profile-workspace .account-tools button{padding:14px}.profile-workspace .account-tools small{font-size:11px}}
.home-continue .home-row-list{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px}.home-continue .home-quick-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:center}.home-continue .home-anime-row{display:grid;grid-template-columns:42px minmax(0,1fr) 16px;gap:12px;min-height:88px;padding:12px}.home-continue .home-row-cover{width:42px;height:62px}.home-continue .home-row-action{display:grid;width:16px}.home-continue .home-row-copy>strong{font-size:12px;line-height:1.45;min-height:34px}.home-continue .home-row-copy>small{font-size:10px;margin-top:4px}.home-continue .quick-plus{width:44px;height:44px;border-radius:10px}.hero-left h2{overflow-wrap:anywhere}@media(max-width:760px){.home-continue .home-anime-row{min-height:82px;padding:10px;gap:10px}.home-continue .home-row-copy>strong{font-size:12px}.home-continue .home-row-cover{height:58px}}

.home-continue .home-quick-row{padding:10px;border:1px solid #ffffff0a;border-radius:12px;background:#ffffff02}.home-continue .home-quick-row .home-anime-row{border:0;background:transparent;padding:0;min-height:68px}.home-continue .home-row-copy .progress-track{margin-top:7px}.home-continue .home-quick-row:hover{border-color:#a587c03d;background:#a587c008}
.explore-clear{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:#ffffff08;border:1px solid #ffffff0a;border-radius:9px;color:var(--muted)}.explore-clear .icon{width:16px;height:16px}.explore-clear:disabled{opacity:.3}.explore-clear:not(:disabled):hover{color:var(--accent);background:#a282c71a}.watch-choice .analytics-heading{align-items:center;gap:20px}.watch-choice .analytics-heading>.text-link{flex-shrink:0;min-height:40px;padding:10px 14px;border:1px solid #a98ace24;border-radius:10px;background:#a282c708}.watch-choice-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(180px,1fr);gap:14px;align-items:end}.watch-choice-controls select{width:100%;min-height:44px}.watch-choice-controls .watch-finished-filter{min-height:44px;display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff03}.watch-choice-controls .watch-finished-filter input{flex-shrink:0}.watch-choice-grid{gap:12px}.watch-choice-card{align-items:center}@media(max-width:760px){.explore-clear{width:44px;height:44px;flex-basis:44px}.watch-choice .analytics-heading{align-items:flex-start;flex-direction:column;gap:12px}.watch-choice .analytics-heading>.text-link{align-self:stretch;justify-content:center}.watch-choice-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.watch-choice-controls .watch-finished-filter{grid-column:1/-1;margin:0}.watch-choice-controls label{width:100%}}
/* Journal workspace: compact navigation and readable chronology. */
.journal-workspace .journal-overview{display:flex;flex-wrap:wrap;gap:12px 28px;padding:18px 0 24px;color:var(--muted);font-size:12px}
.journal-overview strong{font:600 19px var(--heading);color:var(--text);margin-right:5px}
.journal-toolbar{border-block:1px solid #ffffff12;padding:18px 0}
.journal-search{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;background:var(--panel,#151422);border:1px solid #ffffff14;border-radius:var(--control-radius,12px)}
.journal-search>.icon{width:18px;height:18px;color:var(--muted);flex:none}.journal-search input{min-width:0;flex:1;width:100%;border:0;background:transparent;color:var(--text);font:inherit;font-size:13px;outline:none;padding:14px 0}.journal-search:focus-within{border-color:var(--accent)}.journal-search input::-webkit-search-cancel-button{display:none}.journal-search button[hidden]{display:none}
.journal-views{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.journal-views button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--control-size,44px);padding:9px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.journal-views button span{font-size:10px;opacity:.75}.journal-views button.active{color:var(--accent);background:#a38aff12;border-color:#a38aff30}.journal-views button:hover{color:var(--text);background:#ffffff06}.journal-views button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.journal-filter-details{margin-top:12px}.journal-filter-details>summary{display:flex;align-items:center;min-height:44px;gap:8px;cursor:pointer;font-size:12px;color:var(--muted);list-style:none}.journal-filter-details>summary::-webkit-details-marker{display:none}.journal-filter-details>summary::after{content:'+';font-size:18px;color:var(--accent)}.journal-filter-details[open]>summary::after{content:'−'}.journal-filter-details .minor-note{font-size:11px;line-height:1.6;margin-bottom:0}
.journal-workspace .journal-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;margin:12px 0}.journal-workspace .journal-controls label{min-width:0}.journal-workspace .journal-controls select{width:100%}
.journal-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;font-size:12px;color:var(--muted)}.journal-result-heading .text-link{min-height:44px;font-size:11px}
.journal-workspace .journal-entries{gap:28px;margin-top:8px}.journal-month-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.journal-month-heading h2{font:600 15px var(--heading);margin:0;text-transform:capitalize}.journal-month-heading>span{font-size:11px;color:var(--muted)}
.journal-workspace .journal-month-list{display:grid;grid-template-columns:minmax(0,1fr);background:var(--panel,#151422);border:1px solid #ffffff10;border-radius:14px;overflow:hidden}
.journal-workspace .journal-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr) var(--control-size,44px);gap:20px;align-items:center;background:transparent;border:0;border-bottom:1px solid #ffffff0b;border-radius:0;padding:16px;min-width:0}.journal-workspace .journal-entry:last-child{border-bottom:0}
.journal-workspace .journal-anime{align-items:center;gap:14px;cursor:pointer;min-width:0}.journal-workspace .journal-cover{flex:0 0 50px;width:50px;height:75px}.journal-workspace .journal-entry-copy{min-width:0;flex:1}.journal-workspace .journal-anime strong{font-size:14px;line-height:1.5;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journal-entry-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.journal-type,.journal-status{font-size:10px;line-height:1.5}.journal-type{color:var(--accent)}.journal-type.repeat{color:#8fcac3}.journal-status{color:var(--muted)}.journal-status:before{content:'·';margin-right:6px;color:#756a85}
.journal-workspace .journal-entry-progress{display:block;max-width:240px}.journal-workspace .journal-entry-progress small{font-size:11px;line-height:1.5}.journal-entry-progress .progress-track{display:block;height:3px;margin-top:6px}
.journal-workspace .journal-entry-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0;min-width:0}.journal-entry-dates>span{display:grid;gap:6px;min-width:0}.journal-entry-dates small{font-size:10px;color:var(--muted)}.journal-entry-dates b{font-size:12px;line-height:1.5;font-weight:500;color:var(--text);overflow-wrap:anywhere}.journal-entry-dates .date-missing{color:#a99ab6;font-style:italic;font-size:11px}
@media(max-width:760px){.journal-workspace .journal-overview{gap:10px 18px;padding:12px 0 20px;font-size:11px}.journal-overview strong{font-size:17px}.journal-views{gap:5px}.journal-views button{padding:8px 10px;font-size:11px}.journal-workspace .journal-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journal-workspace .journal-controls>label:nth-child(3){grid-column:auto}.journal-workspace .journal-entry{grid-template-columns:minmax(0,1fr) var(--control-size,44px);gap:12px;padding:14px}.journal-workspace .journal-anime{grid-column:1;grid-row:1;gap:12px}.journal-workspace .journal-cover{width:44px;height:66px;flex-basis:44px}.journal-workspace .journal-entry>.detail-pencil{grid-column:2;grid-row:1}.journal-workspace .journal-entry-dates{grid-column:1/-1;grid-row:2;padding-left:56px;gap:12px}.journal-workspace .journal-anime strong{font-size:13px}.journal-entry-dates b{font-size:11px}.journal-entry-badges{gap:4px}.journal-type,.journal-status{font-size:9px}.journal-month-heading h2{font-size:14px}}
