/* Ani-Prime community: independent from the catalogue/player layout. */
.account-trigger{display:inline-flex!important;width:auto!important;min-width:38px;gap:7px;align-items:center;justify-content:center;white-space:nowrap;padding:0 7px;font-size:14px;color:var(--ink);font-weight:600}.account-trigger span{max-width:100px;overflow:hidden;text-overflow:ellipsis}.mast-in{gap:clamp(10px,1.7vw,25px)}.mast nav{gap:clamp(10px,1.6vw,22px)}
.account-dialog{padding:0;border:1px solid #424248;border-radius:22px;max-width:min(860px,calc(100% - 28px));width:860px;max-height:calc(100dvh - 32px);overflow:auto;background:#1a1b21;color:var(--ink);box-shadow:0 28px 100px #000b}.account-dialog[open]{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);animation:account-in .24s ease both}.account-dialog::backdrop{background:#080809d9;backdrop-filter:blur(5px)}.account-art{min-height:510px;background:linear-gradient(0deg,#111113ed,transparent 63%),url('assets/community-mascot.webp') center/cover;display:flex;align-items:flex-end;padding:30px}.account-art span{letter-spacing:.16em;color:#ff7584;font-size:11px;font-weight:700}.account-art h2{font-size:31px;max-width:220px;margin:10px 0 0}.account-body{position:relative;padding:38px clamp(20px,4vw,42px);min-width:0;align-self:center}.account-body h2{font-size:30px;margin-bottom:8px}.account-close{position:absolute;top:12px;right:12px;background:transparent;border:0;font-size:26px;width:36px;height:36px;color:#c6c6d0}.account-form,.community-form{display:grid;gap:12px;margin-top:18px}.account-form label,.community-form label{display:grid;gap:6px;font-size:13px;color:#d4d4d8}.account-form input:not([type=checkbox]),.community-form textarea,.reply-form textarea{width:100%;min-width:0;background:#121214;color:var(--ink);border:1px solid #3c3c42;border-radius:9px;padding:12px;font:inherit}.account-form input:focus,.community-form textarea:focus,.reply-form textarea:focus{outline:2px solid var(--peach);outline-offset:2px}.account-form .button,.account-body>.button,#account-content>.button{width:100%;min-height:44px}.account-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px}.text-button{background:none;border:0;padding:6px 0;color:var(--peach);font-size:13px;text-align:left}.google-btn{background:#f8f7fa;color:#252632;border:0}.google-btn:hover{color:#111;background:#fff}.google-btn svg{stroke:none;fill:currentColor;width:20px;height:20px}.account-sep{display:flex;align-items:center;gap:12px;color:var(--dim);font-size:12px;margin:18px 0}.account-sep:before,.account-sep:after{content:'';flex:1;height:1px;background:#38383d}#account-status,.community-status{min-height:22px;color:#ff929e;font-size:13px;overflow-wrap:anywhere;margin-top:12px}.community-hero{display:flex;align-items:center;min-height:220px;padding:clamp(22px,5vw,56px);border:1px solid #38383d;border-radius:16px;background:linear-gradient(90deg,#202023 12%,#202023e8 46%,#20202310),url('assets/community-mascot.webp') right 35%/auto 155% no-repeat;overflow:hidden}.community-hero h1{font-size:clamp(34px,5vw,64px);letter-spacing:-.05em;line-height:1.05;margin:10px 0}.community-hero p{max-width:430px;color:#d4d4d8}.community-thread,#community-thread{max-width:860px;margin:30px auto 42px;width:100%;min-width:0}.community-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.community-form,.community-post,.community-empty{padding:20px;border:1px solid #36363b;background:#1a1b21;border-radius:14px}.community-form textarea,.reply-form textarea{resize:vertical;min-height:90px}.community-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.community-controls label{display:flex;align-items:center;gap:6px}.community-post{margin:14px 0;animation:account-in .18s ease both}.community-post-header{display:flex;align-items:center;gap:10px}.community-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;background:#47232c;color:#ffd7dc;border-radius:50%;font-weight:700}.community-post-header small{display:block;color:var(--dim);font-size:12px}.community-text{margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.community-post details{margin:12px 0}.community-post summary{color:var(--peach);font-size:14px;cursor:pointer}.community-replies{padding-left:14px;border-left:1px solid #3d3d42;margin-top:12px}.community-reply{padding:12px 0;border-bottom:1px solid #36363b}.community-post .button{font-size:13px;min-height:36px}.community-post .actions{flex-wrap:wrap}.community-empty{color:var(--dim)}.reply-form{display:grid;gap:8px;margin:12px 0}.account-form input[type=checkbox],.community-form input[type=checkbox]{accent-color:var(--peach)}.community-post button[aria-pressed=true]{color:var(--peach)}.community-post [hidden],.account-dialog [hidden]{display:none!important}.account-body a{color:var(--peach);text-decoration:underline;text-underline-offset:3px}.community-muted{font-size:13px;color:var(--dim);margin:8px 0}.community-hero>div{max-width:70%}.mobile-dock a{min-width:0}.mobile-dock a span{font-size:10px}@keyframes account-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.account-trigger span{display:none}.mast-in{gap:10px}.mast nav{gap:12px}}@media(max-width:720px){.account-dialog[open]{grid-template-columns:1fr}.account-art{min-height:110px;max-height:135px;padding:16px;background-position:right 32%;background-size:cover}.account-art h2{font-size:21px;max-width:180px}.account-body{padding:24px 20px}.account-body h2{font-size:25px}.account-close{top:5px;right:8px}.community-hero{min-height:185px;background-image:linear-gradient(90deg,#202023 0%,#202023e0 65%,#20202350),url('assets/community-mascot.webp')}.community-hero>div{max-width:95%}.community-post,.community-form{padding:15px}.mast .account-trigger{display:inline-flex!important}.mobile-dock{grid-template-columns:repeat(5,minmax(0,1fr))!important}.mobile-dock a{flex:1;min-width:0;padding-inline:2px!important}}@media(prefers-reduced-motion:reduce){.account-dialog[open],.community-post{animation:none}}
@media(max-width:1024px){.mast-in{grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"brand search list account" "nav nav nav nav";gap:5px 10px}.mast-in>.account-trigger{grid-area:account}.mast-in>form{min-width:0}.mast-in>.library{padding:5px}.mast-in>.account-trigger{padding:0;min-width:34px}}
@media(max-width:720px){.mast-in{grid-template-areas:"brand search list account";gap:5px 6px}.mast-in>.library{padding:3px}.mast-in>.account-trigger{min-width:32px}.mast-in>form input{min-width:0}.account-art{background-position:right 27%}.community-hero p{max-width:280px}.mobile-dock{width:min(calc(100% - 24px),470px)}}
@media(min-width:1025px) and (max-width:1250px){.mast-in{gap:12px}.mast nav{gap:12px}.mast input{width:clamp(75px,10vw,150px)}.mast .library{padding-inline:7px}.mast .library span{display:none}.mast .account-trigger span{display:none}}
footer nav{flex-wrap:wrap;min-width:0;gap:12px 20px}footer nav a{white-space:normal}.account-dialog .button.primary,#community-thread .button.primary{background:#c52d43;color:#fff;border-color:#ed5064}.account-dialog .button.primary:hover,#community-thread .button.primary:hover{background:#a92237;color:#fff}.account-dialog .button:disabled,#community-thread .button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:480px){footer nav{width:100%;justify-content:flex-start;gap:10px 16px}footer{min-width:0}.community-hero h1{font-size:35px}}

/* Crimson community and sign-in surfaces. Artwork fades into existing charcoal. */
.account-dialog,#community-thread,.community-hero{--peach:#ff7584}
.account-dialog{background:#1a1b21;box-shadow:0 28px 100px #000b,0 0 0 1px #ff465912}
.account-art{background:linear-gradient(0deg,#111113f0 0%,#11111350 24%,transparent 64%),url('assets/community-mascot.webp') center/cover;background-color:#18181b}
.account-art span{color:#ff929e}.account-body .button.primary,#community-thread .button.primary{background:#c52d43;color:#fff;border-color:#ed5064}
.account-body .button.primary:hover,#community-thread .button.primary:hover{background:#a92237;color:#fff}
.community-hero{background:linear-gradient(90deg,#1a1a1ef7 0%,#1a1a1eeb 36%,#1a1a1e30 65%,transparent 100%),url('assets/characters/community.webp') right center/auto 100% no-repeat,radial-gradient(ellipse at right,#521a28,#1a1a1e 65%);min-height:230px}
.community-hero>div{max-width:64%}.community-hero .eyebrow{color:#ff7584}
#community-thread .community-empty{min-height:115px;padding-right:150px;background:#1a1b21 url('assets/characters/watchlist.webp') right 12px center/125px auto no-repeat}
@media(max-width:720px){.account-art{min-height:132px;max-height:145px;background:linear-gradient(90deg,#111113e8 0%,#11111380 49%,transparent 100%),url('assets/community-mascot.webp') right 28%/cover}.account-art h2{max-width:180px}}
@media(max-width:600px){.community-hero{min-height:270px;align-items:flex-end;background:linear-gradient(0deg,#171719 6%,#171719e8 30%,#17171915 82%),url('assets/characters/community.webp') center top/auto 78% no-repeat,#171719}.community-hero>div{max-width:100%}}
@media(max-width:480px){#community-thread .community-empty{padding-right:20px;padding-bottom:100px;background-position:center bottom 12px;background-size:160px auto}}
