:root{color-scheme:dark;--bg:#0b0910;--surface:#141019;--surface-raised:#1c1524;--border:#2b2036;--text:#f6f2fb;--muted:#b0a4be;--purple:#bd85ff;--purple-strong:#9b56ec;--cyan:#70e0f4;--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -200px,#2b123a 0,transparent 650px),var(--bg);color:var(--text);line-height:1.5;min-width:280px}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}img,video{max-width:100%;display:block}button{color:inherit}button:disabled{cursor:default;opacity:.45}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.9rem,4vw,2.75rem);letter-spacing:-.045em;line-height:1.12;margin-bottom:.7rem}h2{font-size:1.3rem;letter-spacing:-.025em;margin-bottom:.25rem}h3{font-size:1.05rem;line-height:1.35;margin-bottom:.3rem}p{margin-bottom:1rem}small{font-size:.82rem}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}#app:focus{outline:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:1rem;top:-100px;padding:.75rem 1rem;background:var(--purple);color:#0b0910;z-index:100}.skip-link:focus{top:.5rem}
.site-header{background:#0b0910e8;border-bottom:1px solid #2b203675;position:sticky;top:0;z-index:30;backdrop-filter:blur(20px);padding-top:env(safe-area-inset-top)}.header-inner{max-width:1184px;padding:17px 32px;margin:0 auto;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-size:1.23rem;font-weight:750;letter-spacing:-.045em;line-height:1.1}.brand>span{white-space:nowrap}.brand-accent{color:var(--purple)}.brand small{display:block;font-size:.65rem;letter-spacing:.16em;font-weight:650;color:var(--muted);padding-top:5px}.desktop-nav{display:flex;gap:6px;margin-left:auto}.nav-link{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:.94rem;font-weight:600;min-height:44px;border-radius:10px;padding:9px 17px;transition:background .15s,color .15s}.nav-link:hover{background:#21142e;color:var(--text)}.nav-link.active,.nav-link[aria-current="page"]{color:#dbbaff;background:#271735}.concept-label{color:#b8a6c8;border:1px solid var(--border);padding:6px 10px;border-radius:6px;letter-spacing:.11em;font-size:.65rem;font-weight:700;white-space:nowrap}.mobile-nav{display:none}
#app{max-width:1120px;margin:auto;padding:32px 32px 56px;min-height:calc(100dvh - 150px)}.initial-loading{min-height:50vh;display:grid;place-items:center;color:var(--muted)}.banner{overflow:hidden;border-radius:var(--radius);border:1px solid #5c317266;margin-bottom:30px;background:#100b17;box-shadow:0 20px 60px #0004}.banner>img,.banner img{width:100%;height:auto;object-fit:contain}.banner-copy{padding:24px 28px}.banner-title{font-size:2.5rem}.banner-note{color:var(--muted);font-size:.88rem;margin:0}.eyebrow,.context-label{text-transform:uppercase;letter-spacing:.14em;color:var(--purple);font-size:.75rem;font-weight:700;margin-bottom:10px}.muted{color:var(--muted)}.page-heading{margin:0 0 28px}.page-heading>p{color:var(--muted);max-width:650px}.page-heading .eyebrow{margin-bottom:9px}.search-intro{margin-bottom:14px}.search-intro p{color:var(--muted)}.search-form{display:flex;gap:10px;padding:8px;border:1px solid #8c54b484;background:#18111f;border-radius:16px;box-shadow:0 0 0 4px #9b56ec08;margin-bottom:15px}.search-form:focus-within{border-color:var(--purple);box-shadow:0 0 0 4px #9b56ec14}.search-field{min-width:0;flex:1;display:flex;align-items:center;gap:12px;background:transparent;border:0;color:var(--text);padding:7px 14px}.search-field>svg{color:var(--purple)}.search-field input,.search-form>input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:1rem;padding:7px 0}.search-form>input{padding:10px 15px}.search-field::placeholder,input::placeholder{color:#9e8eac}.search-field input:focus-visible{outline:0}.search-button,.button{border:1px solid transparent;background:#b781f0;color:#160920;padding:11px 20px;min-height:46px;border-radius:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}.search-button:hover,.button:hover{background:#cca4fa}.button-secondary,.back-link{border:1px solid var(--border);background:#19121f;color:#e6d8f3;min-height:44px;padding:10px 16px;border-radius:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button-secondary:hover,.back-link:hover{background:#291b36;border-color:#674579}.button.danger,.history-delete{background:#2d1720;color:#f6b8c6;border:1px solid #693747}.search-suggestions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:32px;color:var(--muted);font-size:.875rem}.suggestion-button{border:1px solid #332440;background:#1a1222;padding:7px 12px;border-radius:999px;color:#d4c3e4;font-size:.85rem;min-height:36px}.suggestion-button:hover{border-color:var(--purple);background:#2a1838}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 16px}.section-heading p{margin:0;color:var(--muted);font-size:.9rem}.section-heading h2{margin:0}.pill{border:1px solid #3b294c;background:#241630;border-radius:99px;font-size:.75rem;padding:5px 10px;color:#d8b5f8;display:inline-flex;align-items:center;gap:6px;line-height:1.4;white-space:nowrap}.result-list,.history-list{display:grid;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#151019}.result-row{display:flex;gap:17px;align-items:center;padding:20px 22px;border-bottom:1px solid var(--border);min-height:106px;transition:background .15s}.result-row:last-child{border-bottom:0}.result-row:hover{background:#22152f}.avatar{width:62px;height:62px;object-fit:cover;border-radius:50%;border:2px solid #8252a275;flex-shrink:0;background:#2a1839}.result-copy{min-width:0;flex:1}.result-copy h3{font-size:1.08rem;margin:0 0 4px}.result-copy p,.result-copy small{margin:0;color:var(--muted);font-size:.875rem}.row-meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.875rem;white-space:nowrap}.row-meta svg{width:18px;height:18px}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.album-card{background:#151019;border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:transform .18s,border-color .18s}.album-card:hover{transform:translateY(-3px);border-color:#8950b1}.cover{position:relative;overflow:hidden;aspect-ratio:4/3;background:#241732}.cover>img,img.cover{width:100%;height:100%;object-fit:cover}.cover .pill{position:absolute;right:12px;bottom:12px;background:#0b0910d9;border-color:#ffffff2a;backdrop-filter:blur(8px);color:#fff}.card-body{padding:17px 18px 19px}.card-body p{font-size:.875rem;color:var(--muted);margin:3px 0 0}.album-meta{font-size:.83rem;color:var(--muted);margin-top:6px}.toolbar,.page-actions{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.breadcrumb{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:.9rem;flex-wrap:wrap}.breadcrumb a:hover{color:var(--purple)}.profile-heading{display:flex;align-items:center;gap:26px;margin:28px 0 32px;padding:28px;background:linear-gradient(120deg,#231331,#131017);border:1px solid var(--border);border-radius:var(--radius)}.profile-heading .avatar{width:104px;height:104px;border-width:3px}.profile-details h1{margin-bottom:6px}.profile-details p{color:var(--muted);margin:5px 0;max-width:650px}.stats-row{display:flex;gap:18px;margin:16px 0 0;color:#d7c4e9;font-size:.9rem}.stat{display:flex;align-items:center;gap:5px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.media-card{border:1px solid var(--border);border-radius:15px;background:#151019;overflow:hidden;position:relative}.media-card:hover{border-color:#8351a8}.media-card .cover{aspect-ratio:4/3}.media-type{position:absolute;left:12px;top:12px;padding:5px 10px;border-radius:7px;background:#0b0910d9;color:#f4eafc;font-size:.75rem;display:flex;align-items:center;gap:6px;z-index:1}.media-type svg{width:15px;height:15px}.play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#f7eeffec;color:#492167;box-shadow:0 6px 30px #0006}.play-badge svg{fill:currentColor;stroke:none;width:22px}.media-caption{padding:14px 16px}.media-caption h3{margin:0;font-size:.97rem}.media-caption p{margin:4px 0 0;color:var(--muted);font-size:.82rem}.video-duration{position:absolute;right:12px;bottom:12px;background:#0b0910dc;padding:3px 7px;border-radius:5px;font-size:.75rem;color:#fff}.viewer{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#151019}.viewer-stage{background:#050407;min-height:280px;position:relative;display:flex;align-items:center;justify-content:center}.viewer-stage>img,.viewer-media{width:100%;max-height:65dvh;object-fit:contain}.viewer-stage video,video.viewer-media{width:100%;max-height:65dvh;min-height:180px;background:#050407;aspect-ratio:16/9;object-fit:contain}.viewer-info{padding:25px 26px}.viewer-info h1{font-size:1.7rem;margin-bottom:8px}.viewer-info p{color:var(--muted)}.viewer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.viewer-counter{font-size:.875rem;color:var(--muted);white-space:nowrap}.viewer-actions,.viewer-navigation{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:18px;flex-wrap:wrap}.viewer-navigation .button{min-width:100px}.viewer-error{position:absolute;inset:0;background:#130d1c;display:grid;align-content:center;justify-items:center;gap:12px;text-align:center;padding:30px;color:#ebd7fa}.viewer-error[hidden]{display:none}.viewer-error p{max-width:420px;color:var(--muted)}
.history-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#191120;border:1px solid var(--border);padding:16px 20px;border-radius:14px;margin:22px 0}.history-toggle{display:flex;align-items:center;gap:11px;min-height:44px;cursor:pointer}.history-toggle input{accent-color:var(--purple);width:20px;height:20px;cursor:pointer}.history-limit,.history-storage-warning{font-size:.875rem;color:var(--muted);margin:16px 0}.history-storage-warning{color:#ecc788;padding:14px 18px;border:1px solid #594227;background:#241d11;border-radius:10px}.history-row{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid var(--border);min-height:92px}.history-row:last-child{border-bottom:0}.history-row:hover{background:#21142b}.history-row>a{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.history-thumbnail{width:64px;height:55px;object-fit:cover;border-radius:9px;background:#2b193b;display:grid;place-items:center;flex-shrink:0;color:var(--purple)}.history-copy{min-width:0;flex:1}.history-copy h3{margin:0;font-size:1rem;overflow-wrap:anywhere}.history-copy p{font-size:.82rem;color:var(--muted);margin:4px 0 0}.history-date{color:var(--muted);font-size:.8rem;white-space:nowrap}.history-delete{border-radius:8px;min-width:44px;min-height:44px;display:grid;place-items:center}.empty-state,.error-state{text-align:center;padding:60px 28px;border:1px dashed #4d315d;border-radius:var(--radius);background:#19102080;margin-top:22px}.empty-state h2,.error-state h2{font-size:1.45rem;margin-bottom:12px}.empty-state p,.error-state p{color:var(--muted);max-width:480px;margin:0 auto 22px}.skeleton-icon{width:60px;height:60px;border-radius:18px;background:#2b173e;display:grid;place-items:center;margin:0 auto 18px;color:var(--purple)}.skeleton-icon svg{width:27px;height:27px}.divider{height:1px;border:0;background:var(--border);margin:28px 0}.clear-dialog{border:1px solid #624276;border-radius:20px;padding:28px;background:#1c1225;color:var(--text);max-width:min(440px,calc(100vw - 36px));box-shadow:0 20px 100px #0009}.clear-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.clear-dialog p{color:var(--muted)}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.site-footer{border-top:1px solid #2b203660;padding:24px 32px;display:flex;gap:14px;justify-content:space-between;max-width:1120px;margin:0 auto;color:#96889f;font-size:.8rem}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);z-index:100;max-width:calc(100vw - 32px);background:#ead8ff;color:#24112f;border:1px solid #fff6;padding:12px 20px;border-radius:12px;box-shadow:0 8px 36px #0008;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}#toast.visible,#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1100px){.banner{margin-top:4px}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header-inner{padding:14px 20px;gap:16px}.concept-label{font-size:.6rem;margin-left:auto}.desktop-nav{display:none}#app{padding:22px 20px 40px}.banner{border-radius:14px;margin-bottom:24px}.banner-copy{padding:18px}.banner-title{font-size:1.9rem}.mobile-nav{display:flex;position:fixed;z-index:40;bottom:0;left:0;right:0;padding:8px 18px calc(8px + env(safe-area-inset-bottom));background:#130c1bef;border-top:1px solid #4c2e6366;backdrop-filter:blur(20px);gap:14px;justify-content:center}.mobile-nav .nav-link{flex:1;max-width:230px;min-height:48px;gap:9px}.site-footer{padding:20px 20px calc(105px + env(safe-area-inset-bottom));font-size:.75rem;display:block}.site-footer span{display:block;margin:5px 0}.album-grid,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.result-row{padding:17px;gap:12px;min-height:95px}.avatar{width:54px;height:54px}.row-meta{font-size:.78rem;gap:5px}.row-meta .pill{font-size:.7rem;padding:4px 8px}.profile-heading{padding:22px;align-items:flex-start;gap:18px}.profile-heading .avatar{width:76px;height:76px}.profile-details h1{font-size:1.8rem}.profile-details p{font-size:.92rem}.stats-row{font-size:.8rem;gap:12px}.search-form{padding:6px;gap:5px}.search-field{padding:5px 9px;gap:8px}.search-button{padding:10px 16px}.viewer-info{padding:20px}.viewer-stage{min-height:200px}.history-row{padding:15px;gap:12px}.history-date{font-size:.72rem}.history-controls{padding:12px 15px}.history-thumbnail{width:52px;height:49px}.section-heading{margin-top:26px}#toast{bottom:calc(85px + env(safe-area-inset-bottom))}}
@media(max-width:420px){.header-inner{padding:13px 16px}.brand{font-size:1.1rem}.brand img{width:36px;height:36px}.concept-label{font-size:.56rem;padding:5px 7px}#app{padding:18px 16px 36px}.row-meta{flex-direction:column;align-items:flex-end;gap:4px}.result-row{padding:15px 13px}.result-copy h3{font-size:.98rem}.result-copy p,.result-copy small{font-size:.78rem}.avatar{width:47px;height:47px}.card-body{padding:13px}.card-body h3{font-size:.93rem}.card-body p{font-size:.78rem}.profile-heading{padding:20px;display:block}.profile-heading .avatar{margin-bottom:15px}.profile-details h1{font-size:1.9rem}.search-field{padding:5px}.search-field>svg{width:18px}.search-button{padding:10px 13px}.history-row{align-items:flex-start;flex-wrap:wrap}.history-row .history-date{margin-left:64px}.history-row>a{gap:12px}.viewer-navigation{gap:8px}.viewer-navigation .button{min-width:0;padding:10px 13px}.media-caption{padding:12px}.media-caption h3{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Component alignment for the complete media flow. */
.banner{position:relative}.banner-badge{position:absolute;top:12px;right:12px;background:#0b0910de;border-color:#8862a6;color:#eee0fa;backdrop-filter:blur(8px)}
.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.back-link{margin-bottom:24px}.back-link+section>.page-heading{margin-top:7px}.result-arrow{color:#8d6ba8}.row-meta .pill svg{width:14px;height:14px}.catalog-note{font-size:.82rem;margin:22px 0 0}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.album-media-count svg{width:15px;height:15px}
.viewer-heading{padding:24px 26px 20px}.viewer-heading h1{font-size:1.7rem;margin:0}.viewer-heading .eyebrow{font-size:.7rem}.viewer-actions{margin:0;padding:0 26px 24px}.viewer-navigation{margin:0}.viewer-info{padding-bottom:15px}.history-toggle>span{display:flex;flex-direction:column;gap:3px}.history-toggle .muted{font-size:.82rem}.history-copy .eyebrow{font-size:.65rem;line-height:1.6}.image-unavailable{min-height:48px;color:var(--muted);font-size:.78rem}.empty-state>svg,.error-state>svg{margin:0 auto 18px;width:36px;height:36px;color:var(--purple)}.error-state>.button{margin:5px}.history-row>.history-date{margin-left:auto}
@media(max-width:760px){.viewer-heading{padding:20px;display:block}.viewer-heading .pill{margin-top:12px}.viewer-actions{padding:0 20px 20px}.banner-badge{font-size:.6rem;padding:3px 7px;top:7px;right:7px}.page-heading{gap:12px}.history-controls .button{font-size:.85rem}.history-row>.history-date{white-space:normal;max-width:75px;text-align:right}.history-row>svg{display:none}}
@media(max-width:420px){.viewer-actions{display:block}.viewer-navigation{margin-top:15px;display:flex;justify-content:space-between}.history-row>.history-date{margin-left:0;font-size:.68rem;max-width:63px}.history-row{flex-wrap:nowrap}.history-copy{flex:1}.history-controls{gap:10px}.history-controls .button{width:100%}.profile-heading{margin-top:0}.page-heading>.pill{font-size:.7rem;padding:5px 7px}.viewer-heading h1{font-size:1.45rem}.banner-badge{display:none}}

.concept-label{font-size:.75rem;letter-spacing:.07em}.history-copy .eyebrow{font-size:.75rem}.viewer-heading .eyebrow{font-size:.75rem}.brand small{font-size:.7rem}.search-intro .page-heading{margin-bottom:18px}
