.profile-collections{min-width:0;scroll-margin-top:24px}
.profile-collections-heading{align-items:center;margin-bottom:18px}
.profile-collections-heading h2{display:flex;align-items:center;gap:9px;margin:4px 0 0;color:#f5f0fa;font-size:21px}
.profile-collections-heading h2 svg{width:19px;height:19px;fill:none;stroke:#bc8bff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-collection-create,.profile-collection-save,.profile-collection-empty button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:0 15px;border:1px solid #9348e9;border-radius:11px;background:linear-gradient(110deg,#852fe6,#a34bff);color:#fff;font:700 12px Inter,system-ui,sans-serif;box-shadow:0 9px 24px -16px #a44cff;cursor:pointer;transition:transform .18s,filter .18s,box-shadow .18s}
.profile-collection-create:hover,.profile-collection-save:hover:not(:disabled),.profile-collection-empty button:hover{transform:translateY(-1px);filter:brightness(1.12);box-shadow:0 11px 28px -14px #a44cff}
.profile-collection-create>span{font-size:18px;font-weight:400;line-height:1}
.profile-collection-create[hidden],.profile-collection-tabs[hidden]{display:none}
.profile-collection-tabs{display:flex;align-items:center;gap:7px;padding:5px;border:1px solid #ffffff12;border-radius:13px;background:#0b0a0e}
.profile-collection-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:9px;background:transparent;color:#918999;font:600 11px Inter,system-ui,sans-serif;cursor:pointer;transition:color .18s,border-color .18s,background .18s}
.profile-collection-tabs button:hover{color:#e7d9ff;background:#ffffff06}
.profile-collection-tabs button.is-active{border-color:#8148be77;background:#251a34;color:#f1e7ff}
.profile-collection-tabs button span{display:inline-grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border:1px solid #ffffff12;border-radius:999px;color:#b8a4ce;font-size:9px}
.profile-collection-tabs .profile-collection-discover-toggle{margin-left:auto;color:#c69cff}
.profile-collection-caption{margin:13px 2px 16px;color:#89828f;font-size:11px;line-height:1.55}
.profile-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.profile-collection-grid[hidden]{display:none}
.profile-collection-card{display:grid;grid-template-columns:124px minmax(0,1fr);grid-template-rows:minmax(110px,1fr) auto;gap:0 14px;overflow:hidden;min-width:0;border:1px solid #ffffff12;border-radius:14px;background:linear-gradient(135deg,#17131c,#101014 68%);transition:transform .2s,border-color .2s,box-shadow .2s}
.profile-collection-card:hover{transform:translateY(-2px);border-color:#a66aff54;box-shadow:0 15px 32px -25px #9b58e6}
.profile-collection-cover{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;overflow:hidden;min-height:121px;background:#15121a}
.profile-collection-cover-tile{position:relative;overflow:hidden;background:linear-gradient(145deg,#39264a,#111015)}
.profile-collection-cover-tile img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.profile-collection-card:hover .profile-collection-cover-tile img{transform:scale(1.06)}
.profile-collection-cover-tile.is-empty{background:radial-gradient(ellipse at 20% 0,#9e55dc38,transparent 60%),#17131c}
.profile-collection-cover-empty{grid-column:1/-1;grid-row:1/-1;display:grid;place-items:center;color:#b38ae5;font-size:28px;background:radial-gradient(ellipse at 50% 25%,#9143cf28,transparent 72%),#17131c}
.profile-collection-cover-count{position:absolute;right:7px;bottom:7px;padding:4px 7px;border:1px solid #ffffff26;border-radius:999px;background:#09080cbb;color:#f8f3ff;font-size:9px;font-weight:700;backdrop-filter:blur(8px)}
.profile-collection-card-content{align-self:center;min-width:0;padding:13px 13px 9px 0}
.profile-collection-owner{display:block;overflow:hidden;color:#af84e4;font-size:9px;font-weight:700;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}
.profile-collection-card-content h3{overflow:hidden;margin:5px 0 6px;color:#f3edf8;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.profile-collection-card-content>p{display:-webkit-box;overflow:hidden;min-height:30px;margin:0;color:#98919e;font-size:10px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.profile-collection-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px;color:#817987;font-size:9px}
.profile-collection-card-actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:7px;padding:8px 10px;border-top:1px solid #ffffff0b;background:#ffffff02}
.profile-collection-card-actions button,.profile-collection-detail footer button{min-height:30px;padding:0 11px;border:1px solid #ffffff15;border-radius:8px;background:#ffffff06;color:#d8c9e8;font:600 10px Inter,system-ui,sans-serif;cursor:pointer;transition:background .17s,border-color .17s,color .17s}
.profile-collection-card-actions button:hover,.profile-collection-detail footer button:hover{border-color:#a66aff55;background:#a66aff12;color:#f4eaff}
.profile-collection-card-actions button.is-like,.profile-collection-detail footer button.is-like{border-color:#914be455;background:#873ada1b;color:#d2b1ff}
.profile-collection-card-actions button.is-liked,.profile-collection-detail footer button.is-liked{border-color:#b04d9977;background:#c2337920;color:#ffadd4}
.profile-collection-card-actions button.is-secondary{color:#91879b}
.profile-collection-card-actions button.is-icon{width:30px;padding:0;font-size:17px;color:#827a88}
.profile-collection-empty{display:grid;justify-items:center;align-content:center;min-height:225px;padding:28px 20px;border:1px dashed #ffffff1d;border-radius:15px;background:radial-gradient(ellipse at 50% 20%,#7e40bd0d,transparent 60%),#ffffff01;text-align:center}
.profile-collection-empty[hidden]{display:none}
.profile-collection-empty-icon{display:grid;width:47px;height:47px;place-items:center;margin-bottom:13px;border:1px solid #ffffff16;border-radius:15px;background:#ffffff05;color:#bd92fa}
.profile-collection-empty-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-collection-empty strong{color:#f1eaf7;font-size:14px}
.profile-collection-empty p{max-width:360px;margin:7px 0 16px;color:#89828f;font-size:11px;line-height:1.6}
.profile-collection-empty button{min-height:34px;font-size:10px}
.profile-collection-empty button[hidden]{display:none}
.profile-collection-dialog[hidden]{display:none}
.profile-collection-dialog{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px}
.profile-collection-dialog-backdrop{position:absolute;inset:0;background:#050407c9;backdrop-filter:blur(9px)}
.profile-collection-editor,.profile-collection-detail{position:relative;z-index:1;display:flex;flex-direction:column;width:min(100%,730px);max-height:min(92vh,900px);overflow:hidden;border:1px solid #ffffff1a;border-radius:18px;background:#0e0d11;box-shadow:0 30px 100px #000c}
.profile-collection-editor>header,.profile-collection-detail>header{display:flex;justify-content:space-between;gap:18px;padding:20px 23px 17px;border-bottom:1px solid #ffffff10;background:linear-gradient(100deg,#17121e,#0e0d11)}
.profile-collection-editor>header .profile-section-kicker{margin:0 0 6px;color:#b47bff;font-size:9px;font-weight:800;letter-spacing:.14em}
.profile-collection-editor>header h2,.profile-collection-detail>header h2{margin:0;color:#f5effa;font-size:20px}
.profile-collection-editor>header p:last-child,.profile-collection-detail>header p:last-child{margin:6px 0 0;color:#928b98;font-size:11px;line-height:1.5}
.profile-collection-close{flex:0 0 30px;width:30px;height:30px;border:1px solid #ffffff17;border-radius:9px;background:#ffffff05;color:#cfc3d9;font-size:21px;cursor:pointer}
.profile-collection-editor-body{display:grid;gap:17px;overflow:auto;padding:20px 23px}
.profile-collection-field{position:relative;display:grid;gap:8px;color:#c7bdce;font-size:11px;font-weight:600}
.profile-collection-field>input,.profile-collection-field>textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid #ffffff16;border-radius:11px;outline:0;background:#17161a;color:#f2ebf8;font:500 12px Inter,system-ui,sans-serif;transition:border-color .16s,box-shadow .16s}
.profile-collection-field>input{height:43px}
.profile-collection-field>textarea{min-height:82px;resize:vertical;line-height:1.55}
.profile-collection-field>input:focus,.profile-collection-field>textarea:focus,.profile-collection-search:focus-within{border-color:#9c5ee1;box-shadow:0 0 0 3px #9c5ee11c}
.profile-collection-field>input::placeholder,.profile-collection-field>textarea::placeholder{color:#6f6876}
.profile-collection-field>small{justify-self:end;margin-top:-5px;color:#79727f;font-size:9px;font-weight:400}
.profile-collection-field>span:first-child{display:flex;justify-content:space-between;align-items:center}
.profile-collection-total{color:#9882ad;font-size:10px;font-weight:500}
.profile-visibility-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-visibility-options button{display:grid;justify-items:center;gap:5px;min-height:82px;padding:10px 6px;border:1px solid #ffffff12;border-radius:11px;background:#151418;color:#8c8592;cursor:pointer;transition:border-color .17s,background .17s,color .17s}
.profile-visibility-options button>span{font-size:17px}
.profile-visibility-options button>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-visibility-options button b{font-size:10px;font-weight:700}
.profile-visibility-options button small{color:#77717d;font-size:8px;font-weight:400}
.profile-visibility-options button.is-selected{border-color:#9a58e5aa;background:#281b39;color:#eadcff;box-shadow:inset 0 0 20px #9c58e40d}
.profile-visibility-options button.is-selected small{color:#a591b7}
.profile-collection-search{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:0 12px;border:1px solid #ffffff16;border-radius:11px;background:#17161a;transition:border-color .16s,box-shadow .16s}
.profile-collection-search svg{width:17px;height:17px;fill:none;stroke:#a893ba;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-collection-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f2ebf8;font:500 12px Inter,system-ui,sans-serif}
.profile-collection-search input::placeholder{color:#726b79}
.profile-collection-search-status{margin:-2px 1px 0;color:#827987;font-size:9px}
.profile-collection-search-status:empty{display:none}
.profile-collection-search-results{display:grid;gap:3px;max-height:220px;overflow:auto;margin-top:-3px;padding:5px;border:1px solid #ffffff0d;border-radius:11px;background:#0b0a0d}
.profile-collection-search-results[hidden]{display:none}
.profile-collection-search-result{display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:5px 6px;border-radius:8px;transition:background .15s}
.profile-collection-search-result:hover{background:#ffffff08}
.profile-collection-search-result>img,.profile-collection-search-result.is-no-poster:before{width:37px;height:48px;border-radius:6px;object-fit:cover;background:linear-gradient(145deg,#352341,#131116)}
.profile-collection-search-result.is-no-poster:before{display:grid;place-items:center;color:#b786eb;content:'✦';font-size:15px}
.profile-collection-search-copy{display:grid;gap:4px;min-width:0}
.profile-collection-search-copy strong{overflow:hidden;color:#e9e2ed;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.profile-collection-search-copy small{color:#89818e;font-size:9px}
.profile-collection-search-result>button{min-height:29px;padding:0 10px;border:1px solid #8444cc66;border-radius:8px;background:#7935bd25;color:#d8baff;font:600 9px Inter,system-ui,sans-serif;cursor:pointer}
.profile-collection-search-result>button:disabled{border-color:#ffffff0c;background:#ffffff05;color:#7b7380;cursor:default}
.profile-collection-selected{display:grid;gap:5px}
.profile-collection-selected:empty{display:none}
.profile-collection-selected-item{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:49px;padding:5px 7px;border:1px solid #ffffff0d;border-radius:9px;background:#ffffff03}
.profile-collection-selected-item>img,.profile-collection-selected-item.is-no-poster:before{width:33px;height:42px;border-radius:5px;object-fit:cover;background:linear-gradient(145deg,#352341,#131116)}
.profile-collection-selected-item.is-no-poster:before{display:grid;place-items:center;color:#b786eb;content:'✦';font-size:14px}
.profile-collection-selected-info{display:grid;gap:4px;min-width:0}
.profile-collection-selected-info strong{overflow:hidden;color:#e9e2ed;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.profile-collection-selected-info small{color:#89818e;font-size:9px}
.profile-collection-item-controls{display:flex;gap:3px}
.profile-collection-item-controls button{width:26px;height:26px;border:1px solid #ffffff10;border-radius:7px;background:#ffffff04;color:#a89bad;font-size:13px;cursor:pointer}
.profile-collection-item-controls button:hover:not(:disabled){border-color:#a66aff55;background:#a66aff12;color:#e2caff}
.profile-collection-item-controls button:disabled{opacity:.32;cursor:default}
.profile-collection-editor>footer,.profile-collection-detail>footer{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid #ffffff10;background:#0b0a0d}
.profile-collection-editor>footer p{flex:1;overflow:hidden;margin:0;color:#8e8693;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.profile-collection-editor>footer p.is-error{color:#ff8eaa}
.profile-collection-editor>footer>button:not(.profile-collection-save){min-height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#aaa2ad;font:600 10px Inter,system-ui,sans-serif;cursor:pointer}
.profile-collection-save{min-width:155px;min-height:36px;font-size:10px}
.profile-collection-save:disabled{border-color:#ffffff0b;background:#ffffff0b;color:#746e79;box-shadow:none;cursor:default}
.profile-collection-detail{width:min(100%,860px);max-height:min(90vh,940px);border-color:#ffffff20;background:radial-gradient(ellipse at 12% 0,#8c42c51a,transparent 42%),#0e0d11}
.profile-collection-detail>header{align-items:flex-start;padding:22px 24px 18px}
.profile-collection-detail>header .profile-section-kicker{margin:0 0 7px;color:#bf8aff;font-size:9px;font-weight:800;letter-spacing:.13em}
.profile-collection-detail>header h2{font-size:22px;letter-spacing:-.035em}
.profile-collection-detail-items{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));align-content:start;gap:18px 14px;overflow:auto;padding:20px 24px 24px}
.profile-collection-detail-item{min-width:0;padding:0;border:0;border-radius:12px;background:transparent;transition:transform .2s}
.profile-collection-detail-item:hover{transform:translateY(-3px)}
.profile-collection-detail-link{display:grid;gap:9px;min-width:0;color:inherit;text-decoration:none}
.profile-collection-detail-poster{position:relative;display:block;overflow:hidden;aspect-ratio:2/2.85;border:1px solid #ffffff17;border-radius:11px;background:radial-gradient(ellipse at 20% 0,#a454dd38,transparent 65%),linear-gradient(145deg,#22192b,#111014);box-shadow:0 8px 22px #0005;transition:border-color .2s,box-shadow .2s}
.profile-collection-detail-item:hover .profile-collection-detail-poster{border-color:#bd86ff77;box-shadow:0 12px 28px #0008,0 0 22px #9b4bea20}
.profile-collection-detail-poster>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.profile-collection-detail-item:hover .profile-collection-detail-poster>img{transform:scale(1.045)}
.profile-collection-detail-poster.is-no-poster:before{position:absolute;inset:0;display:grid;place-items:center;color:#c49aea;content:'✦';font-size:30px}
.profile-collection-detail-rank{position:absolute;top:7px;left:7px;display:grid;min-width:26px;height:24px;place-items:center;padding:0 5px;border:1px solid #ffffff30;border-radius:7px;background:#08070bc9;color:#f6edff;font-size:10px;font-weight:800;backdrop-filter:blur(8px)}
.profile-collection-detail-copy{display:grid;gap:4px;min-width:0;padding:0 2px}
.profile-collection-detail-copy strong{display:-webkit-box;overflow:hidden;color:#eee7f5;font-size:11px;font-weight:700;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.profile-collection-detail-link:hover .profile-collection-detail-copy strong{color:#d4b1ff}
.profile-collection-detail-copy small{color:#89818e;font-size:9px}
.profile-collection-detail>footer{justify-content:flex-end;min-height:62px;padding:12px 20px}
.public-profile-view .profile-main-column> :not(#favorites):not(#collections){display:none}
.public-profile-view .profile-collections{display:block}
.collection-dialog-open{overflow:hidden}
@media(max-width:820px){.profile-collection-grid{grid-template-columns:1fr}.profile-collection-card{grid-template-columns:112px minmax(0,1fr)}}
@media(max-width:560px){.profile-collections-heading{align-items:flex-start;gap:10px}.profile-collections-heading h2{font-size:18px}.profile-collection-create{min-height:34px;padding:0 9px;font-size:9px}.profile-collection-tabs{gap:3px}.profile-collection-tabs button{gap:5px;min-height:35px;padding:0 8px;font-size:9px}.profile-collection-tabs .profile-collection-discover-toggle{margin-left:0;padding:0 6px}.profile-collection-card{grid-template-columns:92px minmax(0,1fr);grid-template-rows:minmax(96px,1fr) auto;gap:0 10px}.profile-collection-cover{min-height:104px}.profile-collection-card-content{padding:9px 9px 7px 0}.profile-collection-card-content h3{font-size:12px}.profile-collection-card-content>p{font-size:9px}.profile-collection-meta{gap:6px;margin-top:7px;font-size:8px}.profile-collection-dialog{padding:9px}.profile-collection-editor,.profile-collection-detail{max-height:94vh;border-radius:14px}.profile-collection-editor>header,.profile-collection-detail>header{padding:16px 15px 13px}.profile-collection-editor>header h2,.profile-collection-detail>header h2{font-size:17px}.profile-collection-editor-body{gap:14px;padding:15px}.profile-visibility-options{gap:5px}.profile-visibility-options button{min-height:74px;padding:8px 3px}.profile-visibility-options button b{font-size:9px}.profile-visibility-options button small{font-size:7px}.profile-collection-editor>footer{gap:5px;padding:9px}.profile-collection-editor>footer p{font-size:8px}.profile-collection-editor>footer>button:not(.profile-collection-save){padding:0 7px;font-size:9px}.profile-collection-save{min-width:118px;padding:0 9px;font-size:10px}.profile-collection-detail-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 9px;padding:14px}.profile-collection-detail-link{gap:7px}.profile-collection-detail-copy strong{font-size:10px}}
@media(max-width:380px){.profile-collection-detail-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.profile-collection-card,.profile-collection-cover-tile img,.profile-collection-create,.profile-collection-save{transition:none}}
