/* Tsukiro 3.6.55 — profile favorites + customization */
body[data-page="profile"]{
  --pc-accent:#ff5ca8;
  --pc-accent-2:#b96cff;
  --pc-surface:rgba(17,17,24,.82);
  --pc-surface-strong:#111118;
  --pc-border:rgba(255,255,255,.09);
  --pc-font:inherit;
}
body[data-page="profile"][data-profile-basic-color="rose"]{--pc-accent:#ff5ca8;--pc-accent-2:#ce6eff}
body[data-page="profile"][data-profile-basic-color="violet"]{--pc-accent:#b77cff;--pc-accent-2:#ff70bc}
body[data-page="profile"][data-profile-basic-color="ocean"]{--pc-accent:#62c8ff;--pc-accent-2:#8e7dff}
body[data-page="profile"][data-profile-basic-color="mint"]{--pc-accent:#68e8bc;--pc-accent-2:#65a8ff}
body[data-page="profile"][data-profile-basic-color="amber"]{--pc-accent:#ffad63;--pc-accent-2:#ff6f9e}
body[data-page="profile"][data-profile-font="rounded"] #authUser{--pc-font:"Trebuchet MS",system-ui,sans-serif;font-family:var(--pc-font)}
body[data-page="profile"][data-profile-font="serif"] #authUser{--pc-font:Georgia,"Times New Roman",serif;font-family:var(--pc-font)}
body[data-page="profile"][data-profile-font="mono"] #authUser{--pc-font:ui-monospace,SFMono-Regular,Consolas,monospace;font-family:var(--pc-font)}
body[data-page="profile"][data-profile-font="default"] #authUser{--pc-font:inherit}

.profile-favorites-showcase{margin:22px 0 10px;padding:20px;border:1px solid var(--pc-border);border-radius:22px;background:linear-gradient(145deg,rgba(20,20,28,.94),rgba(11,11,16,.9));box-shadow:0 14px 40px rgba(0,0,0,.16)}
.profile-favorites-showcase__head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.profile-favorites-showcase__head h2{font-size:clamp(20px,2vw,26px);margin:2px 0 0}
.profile-favorites-showcase__head p{margin:5px 0 0;color:var(--muted,#a8a7b3);font-size:13px}
.profile-favorites-showcase__head>span{font-size:12px;color:var(--muted,#a8a7b3)}
.profile-favorites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-favorite-group{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(255,255,255,.025)}
.profile-favorite-group__title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.profile-favorite-group__title strong{font-size:13px}.profile-favorite-group__title span{font-size:11px;color:var(--muted,#a8a7b3)}
.profile-favorite-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.profile-favorite-card{position:relative;display:block;min-width:0;overflow:hidden;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#101017;text-decoration:none;color:inherit;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.profile-favorite-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--pc-accent) 44%,transparent)}
.profile-favorite-card__media{aspect-ratio:3/4;display:block;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.015));overflow:hidden}
.profile-favorite-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.profile-favorite-card__copy{display:block;padding:8px}.profile-favorite-card__copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.25}.profile-favorite-card__copy small{display:block;margin-top:4px;color:var(--muted,#a8a7b3);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-favorite-empty{min-height:126px;display:grid;place-items:center;text-align:center;border:1px dashed rgba(255,255,255,.1);border-radius:14px;color:var(--muted,#a8a7b3);font-size:12px;padding:16px}

.profile-customizer-card{margin-bottom:18px;padding:20px;border:1px solid var(--pc-border);border-radius:22px;background:linear-gradient(145deg,rgba(20,20,28,.94),rgba(10,10,15,.96))}
.profile-customizer-card__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:17px}.profile-customizer-card__head h3{margin:3px 0 5px;font-size:20px}.profile-customizer-card__head p{margin:0;color:var(--muted,#a8a7b3);font-size:13px;max-width:760px}.profile-customizer-limit{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(255,255,255,.09);border-radius:999px;font-size:11px;color:var(--muted,#a8a7b3);background:rgba(255,255,255,.03)}
.profile-favorite-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-picker{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(255,255,255,.025)}.profile-picker__top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.profile-picker__top strong{font-size:13px}.profile-picker__top span{font-size:11px;color:var(--muted,#a8a7b3)}
.profile-picker-search{position:relative}.profile-picker-search input{width:100%;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:#0d0d13;color:#f7f5fa;outline:0}.profile-picker-search input:focus{border-color:color-mix(in srgb,var(--pc-accent) 52%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pc-accent) 10%,transparent)}
.profile-picker-results{display:grid;gap:6px;margin-top:8px;max-height:272px;overflow:auto;overscroll-behavior:contain}.profile-picker-result{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px;border:1px solid rgba(255,255,255,.065);border-radius:12px;background:#101017;color:inherit;text-align:left;cursor:pointer}.profile-picker-result:hover{background:#15151e}.profile-picker-result img{width:42px;height:54px;border-radius:9px;object-fit:cover;background:#191922}.profile-picker-result b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-picker-result small{display:block;margin-top:3px;color:var(--muted,#a8a7b3);font-size:10px}.profile-picker-result i{font-style:normal;color:var(--pc-accent);font-size:18px;padding:0 6px}
.profile-picker-selected{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.profile-selected-chip{display:grid;grid-template-columns:30px minmax(0,1fr) 24px;align-items:center;gap:7px;max-width:100%;padding:5px 5px 5px 6px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:#111119}.profile-selected-chip img{width:30px;height:36px;border-radius:7px;object-fit:cover}.profile-selected-chip span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-selected-chip button{width:24px;height:24px;border:0;border-radius:7px;background:rgba(255,255,255,.05);color:#aaa;cursor:pointer}.profile-selected-chip button:hover{color:white;background:rgba(255,92,168,.16)}
.profile-customizer-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}.profile-customizer-message{font-size:12px;color:var(--muted,#a8a7b3)}

.profile-basic-theme-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.profile-basic-theme{position:relative;min-height:76px;padding:11px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#101017;color:white;text-align:left;cursor:pointer;overflow:hidden}.profile-basic-theme::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 10%,var(--swatch-a),transparent 54%),linear-gradient(140deg,transparent,var(--swatch-b));opacity:.55}.profile-basic-theme span,.profile-basic-theme small{position:relative;z-index:1;display:block}.profile-basic-theme span{font-weight:700;font-size:12px}.profile-basic-theme small{font-size:9px;color:#c8c5ce;margin-top:5px}.profile-basic-theme.is-active{border-color:var(--pc-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--pc-accent) 16%,transparent)}
.profile-basic-theme[data-color="rose"]{--swatch-a:#ff4fa3;--swatch-b:#41152e}.profile-basic-theme[data-color="violet"]{--swatch-a:#ad75ff;--swatch-b:#271943}.profile-basic-theme[data-color="ocean"]{--swatch-a:#57c7ff;--swatch-b:#132b45}.profile-basic-theme[data-color="mint"]{--swatch-a:#63e8b9;--swatch-b:#12362e}.profile-basic-theme[data-color="amber"]{--swatch-a:#ffad5c;--swatch-b:#402017}

.profile-premium-customizer{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}.profile-premium-customizer.is-locked{opacity:.68}.profile-premium-customizer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-premium-customizer__head strong{font-size:14px}.profile-premium-pill{padding:5px 8px;border-radius:999px;background:linear-gradient(120deg,#ff4fa3,#9b68ff);color:white;font-size:9px;font-weight:800;letter-spacing:.04em}.profile-premium-lock-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:12px;border-radius:12px;background:rgba(255,92,168,.07);border:1px solid rgba(255,92,168,.15);font-size:11px;color:#d8c8d1}.profile-premium-lock-copy a{flex:0 0 auto;color:#ffd3e8;font-weight:800;text-decoration:none}.profile-premium-lock-copy a:hover{color:#fff}.profile-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-premium-field{display:grid;gap:6px;min-width:0}.profile-premium-field>span{font-size:10px;color:var(--muted,#a8a7b3)}.profile-premium-field select,.profile-premium-field input{width:100%;min-width:0;padding:10px;border-radius:11px;border:1px solid rgba(255,255,255,.085);background:#0d0d13;color:#f7f5fa;outline:none}.profile-premium-field--wide{grid-column:span 3}.profile-premium-field input:disabled,.profile-premium-field select:disabled{cursor:not-allowed;opacity:.6}

body[data-page="profile"] #authUser{position:relative;isolation:isolate}
body[data-page="profile"] #authUser::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;background:radial-gradient(circle at 18% 14%,color-mix(in srgb,var(--pc-accent) 11%,transparent),transparent 30%),radial-gradient(circle at 84% 26%,color-mix(in srgb,var(--pc-accent-2) 9%,transparent),transparent 34%);opacity:.85}
body[data-page="profile"][data-profile-gradient="diagonal"] #authUser::before{background:linear-gradient(145deg,color-mix(in srgb,var(--pc-accent) 11%,transparent),transparent 42%,color-mix(in srgb,var(--pc-accent-2) 10%,transparent))}
body[data-page="profile"][data-profile-gradient="radial"] #authUser::before{background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--pc-accent) 15%,transparent),transparent 46%)}
body[data-page="profile"][data-profile-gradient="mesh"] #authUser::before{background:radial-gradient(circle at 10% 20%,color-mix(in srgb,var(--pc-accent) 15%,transparent),transparent 32%),radial-gradient(circle at 84% 18%,color-mix(in srgb,var(--pc-accent-2) 14%,transparent),transparent 30%),radial-gradient(circle at 55% 88%,rgba(255,255,255,.04),transparent 34%)}
body[data-page="profile"][data-profile-has-custom-bg="1"] #authUser::after{content:"";position:fixed;inset:0;z-index:-4;pointer-events:none;background-image:var(--profile-custom-bg);background-size:cover;background-position:center;background-attachment:fixed;opacity:.20;filter:saturate(.85) brightness(.55)}
body[data-page="profile"][data-profile-motion="drift"] #authUser::before{animation:pcBgDrift 12s ease-in-out infinite alternate}
body[data-page="profile"][data-profile-motion="pulse"] #authUser::before{animation:pcBgPulse 4.5s ease-in-out infinite}
@keyframes pcBgDrift{to{transform:translate3d(1.5vw,-1vh,0) scale(1.04)}}@keyframes pcBgPulse{50%{opacity:.52;filter:saturate(1.25)}}
body[data-page="profile"][data-profile-effect="glow"] .profile-hero-card{box-shadow:0 28px 90px color-mix(in srgb,var(--pc-accent) 17%,transparent),0 20px 65px rgba(0,0,0,.3)}
body[data-page="profile"][data-profile-effect="film"] #authUser::after{mix-blend-mode:screen;opacity:.12;filter:grayscale(.4) contrast(1.25)}
body[data-page="profile"][data-profile-effect="scanline"] .profile-hero-card::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;border-radius:inherit;background:repeating-linear-gradient(180deg,transparent 0 5px,rgba(255,255,255,.018) 6px)}

body[data-page="profile"][data-profile-card-style="solid"] .profile-favorites-showcase,body[data-page="profile"][data-profile-card-style="solid"] .profile-customizer-card{background:#111118;border-color:#20202c;backdrop-filter:none}
body[data-page="profile"][data-profile-card-style="outline"] .profile-favorites-showcase,body[data-page="profile"][data-profile-card-style="outline"] .profile-customizer-card{background:rgba(8,8,12,.38);border-color:color-mix(in srgb,var(--pc-accent) 34%,transparent);box-shadow:none}
body[data-page="profile"][data-profile-card-style="soft"] .profile-favorites-showcase,body[data-page="profile"][data-profile-card-style="soft"] .profile-customizer-card{background:color-mix(in srgb,#111118 86%,var(--pc-accent) 14%);border-color:color-mix(in srgb,var(--pc-accent) 14%,transparent)}

body[data-page="profile"][data-profile-layout="compact"] .profile-favorites-showcase{max-width:920px;margin-left:auto;margin-right:auto}body[data-page="profile"][data-profile-layout="compact"] .profile-watch-summary{max-width:920px;margin-left:auto;margin-right:auto}
body[data-page="profile"][data-profile-layout="spotlight"] .profile-favorites-showcase{margin-top:0;margin-bottom:22px;background:linear-gradient(145deg,color-mix(in srgb,#15151d 84%,var(--pc-accent) 16%),#0b0b10)}body[data-page="profile"][data-profile-layout="spotlight"] .profile-hero-card{min-height:360px}body[data-page="profile"][data-profile-layout="spotlight"] .profile-main-copy{max-width:58%}

.profile-hero-character{position:absolute;right:56px;bottom:0;z-index:3;width:min(31%,310px);height:112%;pointer-events:none;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 26px 34px rgba(0,0,0,.5));overflow:visible}.profile-hero-character img{max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;display:block;mask-image:linear-gradient(to bottom,#000 0 83%,transparent 100%)}.profile-hero-card.has-hero-character .profile-main-copy{max-width:55%}.profile-hero-card.has-hero-character .profile-level-card{margin-right:26%}

.profile-particles{position:fixed;inset:0;z-index:40;pointer-events:none;overflow:hidden}.profile-particle{position:absolute;left:var(--x);top:105%;font-size:var(--s);opacity:0;animation:pcParticle var(--d) linear infinite;animation-delay:var(--delay);filter:drop-shadow(0 0 6px color-mix(in srgb,var(--pc-accent) 30%,transparent))}@keyframes pcParticle{0%{transform:translate3d(0,0,0) rotate(0);opacity:0}10%{opacity:.38}90%{opacity:.25}100%{transform:translate3d(var(--drift),-120vh,0) rotate(320deg);opacity:0}}
body[data-page="profile"][data-profile-cursor="moon"] #authUser{cursor:url('/assets/icons/favicon-v359.svg?v=359') 8 8,auto}body[data-page="profile"][data-profile-cursor="moon"] #authUser a,body[data-page="profile"][data-profile-cursor="moon"] #authUser button,body[data-page="profile"][data-profile-cursor="moon"] #authUser select{cursor:url('/assets/icons/favicon-v359.svg?v=359') 8 8,pointer}
body[data-page="profile"][data-profile-cursor="precision"] #authUser,body[data-page="profile"][data-profile-cursor="precision"] #authUser a,body[data-page="profile"][data-profile-cursor="precision"] #authUser button{cursor:cell}
body[data-page="profile"][data-profile-cursor="soft"] #authUser{cursor:default}body[data-page="profile"][data-profile-cursor="soft"] #authUser a,body[data-page="profile"][data-profile-cursor="soft"] #authUser button{cursor:pointer}

@media(max-width:900px){.profile-favorites-grid,.profile-favorite-editor-grid{grid-template-columns:1fr}.profile-premium-grid{grid-template-columns:1fr 1fr}.profile-premium-field--wide{grid-column:span 2}.profile-basic-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-hero-character{right:10px;width:36%;opacity:.58}.profile-hero-card.has-hero-character .profile-main-copy{max-width:72%}.profile-hero-card.has-hero-character .profile-level-card{margin-right:0}.profile-favorite-list{grid-template-columns:repeat(5,minmax(72px,1fr));overflow-x:auto;padding-bottom:3px}}
@media(max-width:620px){.profile-favorites-showcase,.profile-customizer-card{padding:15px;border-radius:18px}.profile-favorites-showcase__head,.profile-customizer-card__head{align-items:flex-start;flex-direction:column}.profile-favorite-list{grid-template-columns:repeat(5,86px)}.profile-basic-theme-grid{grid-template-columns:1fr 1fr}.profile-premium-grid{grid-template-columns:1fr}.profile-premium-field--wide{grid-column:auto}.profile-premium-lock-copy{align-items:flex-start;flex-direction:column}.profile-hero-character{width:45%;right:-20px;opacity:.42}.profile-hero-card.has-hero-character .profile-main-copy{max-width:84%}}
@media(prefers-reduced-motion:reduce){body[data-page="profile"] #authUser::before,.profile-particle{animation:none!important}.profile-favorite-card{transition:none}}
