.jl-section,.jl-page{color:#18181b}.jl-section{margin:28px 0 36px}.jl-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.jl-heading h2{font-size:22px;font-weight:800;letter-spacing:-.04em;margin:0}.jl-heading p,.jl-search-panel p{font-size:14px;color:#71717a;margin:5px 0 0}.jl-heading a{font-size:13px;font-weight:700;color:#86198f}.jl-navigation{display:flex;gap:8px;align-items:center}.jl-navigation button{width:36px;height:36px;border:1px solid #d4d4d8;border-radius:50%;background:white;font-size:20px;cursor:pointer}.jl-rail{display:grid;grid-auto-flow:column;grid-auto-columns:156px;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;scroll-padding:2px;padding:3px 2px 14px;scrollbar-width:thin}.jl-game{min-width:0;scroll-snap-align:start}.jl-cover{position:relative;aspect-ratio:8/11;overflow:hidden;background:#e4e4e7;border-radius:12px}.jl-cover>a{display:block;height:100%}.jl-cover img{display:block;width:100%;height:100%;object-fit:cover}.jl-cover::after{content:'';position:absolute;inset:60% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.62));pointer-events:none}.jl-save{position:absolute;z-index:1;bottom:10px;right:10px;display:flex;align-items:center;gap:5px;min-height:36px;border:1px solid #ffffff70;border-radius:9px;background:#fff;color:#18181b;padding:4px 10px;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 2px 12px #0002}.jl-save [data-save-symbol]{font-size:22px;line-height:1}.jl-save.is-selected{background:#a21caf;border-color:#a21caf;color:white}.jl-save:disabled{opacity:.65;cursor:wait}.jl-game h3{font-size:14px;font-weight:750;line-height:1.35;margin:10px 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.jl-game h3 a{text-decoration:none;color:inherit}.jl-game-hint{font-size:11px;color:#71717a}.jl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:24px 16px}.jl-search-panel{padding:14px 16px;background:#f4f4f5;border-radius:12px;margin:16px 0 24px}.jl-search-panel h2{font-size:19px;font-weight:800;letter-spacing:-.03em;margin:0}.jl-search-panel form{margin:0}.jl-search-panel label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.jl-search-field{display:flex;gap:8px}.jl-search-field input{min-width:0;flex:1;background:#fff;border:1px solid #d4d4d8;border-radius:9px;padding:10px 12px;font:inherit;font-size:14px}.jl-search-field button,.jl-button{display:inline-flex;align-items:center;justify-content:center;background:#18181b;color:#fff;border:0;border-radius:9px;padding:12px 16px;font-size:13px;font-weight:750;cursor:pointer;text-decoration:none}.jl-search-panel [data-library-results]{margin-top:24px}.jl-empty{padding:24px;border:1px dashed #d4d4d8;border-radius:12px;font-size:14px;color:#71717a}.jl-notice{position:fixed;bottom:calc(var(--je-bottom-space,49px) + 24px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);width:max-content;border:1px solid #86efac;border-left:5px solid #15803d;border-radius:12px;background:#f0fdf4;color:#14532d;padding:16px 22px;font-size:14px;font-weight:700;line-height:1.5;z-index:10010;box-shadow:0 8px 32px #0004,0 0 0 3px #fff}.jl-notice::before{content:"\2713";display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#15803d;color:white;font-size:18px}.jl-notice[data-tone=error]{border-color:#fda4af;border-left-color:#be123c;background:#fff1f2;color:#881337}.jl-notice[data-tone=error]::before{content:"!";background:#be123c}.jl-notice[data-tone=info]{border-color:#e9d5ff;border-left-color:#86198f;background:#faf5ff;color:#581c87}.jl-notice[data-tone=info]::before{content:"i";background:#86198f}.jl-notice:empty{display:none}.jl-auth{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 130px);overflow:auto;border:0;border-radius:22px;padding:36px;color:#18181b;box-shadow:0 20px 80px #0004}.jl-auth::backdrop{background:#18181b99;backdrop-filter:blur(5px)}.jl-auth h2{font-size:26px;font-weight:850;letter-spacing:-.04em;line-height:1.1;margin:18px 0 12px}.jl-auth p{font-size:14px;line-height:1.7;color:#71717a;margin-bottom:24px}.jl-auth .jl-button{width:100%;margin-top:8px}.jl-button-light{background:#f4f4f5;color:#18181b}.jl-auth-close{position:absolute;right:16px;top:10px;font-size:28px;background:transparent;border:0;cursor:pointer}.jl-auth-icon{display:grid;place-items:center;width:54px;height:54px;background:#fae8ff;color:#a21caf;border-radius:16px;font-size:38px}.jl-page{max-width:1180px;margin:auto;padding:32px 24px 90px}.jl-page-header{display:flex;gap:22px;align-items:center;border-bottom:1px solid #e4e4e7;padding-bottom:28px}.jl-page-avatar{width:72px;height:72px;object-fit:cover;border-radius:50%;background:#f4f4f5}.jl-page h1{font-size:clamp(26px,4vw,38px);font-weight:850;letter-spacing:-.05em;line-height:1.1;margin:6px 0}.jl-page-header p{font-size:14px;color:#71717a}.jl-page-header a{font-size:13px;color:#86198f;font-weight:700}.jl-page-tabs{display:flex;gap:20px;margin:24px 0;font-size:14px;font-weight:700}.jl-page-tabs a{padding:9px 0;color:#71717a}.jl-page-tabs [aria-current]{border-bottom:3px solid #a21caf;color:#18181b}.jl-count{font-size:14px;font-weight:600;background:#f4f4f5;border-radius:6px;padding:4px 8px;vertical-align:middle}.jl-section :focus-visible,.jl-page :focus-visible,.jl-auth :focus-visible{outline:3px solid #c026d3;outline-offset:3px}@media(max-width:600px){.jl-rail{grid-auto-columns:142px;gap:12px}.jl-heading{align-items:flex-start}.jl-heading h2{font-size:20px}.jl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.jl-page{padding:22px 16px 90px}.jl-search-panel{padding:12px}.jl-page-header{gap:14px}.jl-search-field button{padding:10px;font-size:12px}.jl-save-label{font-size:11px}.jl-auth{padding:28px}}@media(prefers-reduced-motion:no-preference){.jl-rail{scroll-behavior:smooth}}

.jl-search-panel{position:relative;z-index:4}.jl-search-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.jl-search-label a{font-size:11px;font-weight:650;color:#86198f}.jl-search-panel [data-library-results]{position:absolute;z-index:30;top:calc(100% - 4px);left:0;right:0;margin:0;padding:20px;max-height:min(490px,60dvh);overflow-y:auto;background:#fff;border:1px solid #d4d4d8;border-radius:0 0 14px 14px;box-shadow:0 18px 32px #18181b26;overscroll-behavior:contain}.jl-search-panel [data-library-results][hidden]{display:none}.jl-search-panel [data-library-results] .jl-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:20px 12px}.jl-dropdown-intro{font-weight:750;margin:0 0 16px!important;color:#18181b!important}.jl-reason{font-size:11px;color:#86198f;font-weight:650;line-height:1.4;margin:5px 0}.jl-score{display:block;font-size:11px;color:#52525b;margin:4px 0}.jl-preferences{max-width:900px}.jl-preferences>p,.jl-preferences fieldset p,.jl-preferences form>p{font-size:14px;line-height:1.7;color:#71717a;max-width:760px}.jl-preferences h1{margin:24px 0 12px}.jl-preferences fieldset{margin:30px 0;border:1px solid #e4e4e7;border-radius:14px;padding:20px}.jl-preferences legend{font-size:18px;font-weight:800;padding:0 8px}.jl-preference-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;max-height:310px;overflow-y:auto;padding:3px}.jl-preference-options label{position:relative;cursor:pointer}.jl-preference-options input{position:absolute;opacity:0;width:1px;height:1px}.jl-preference-options span{display:block;border:1px solid #d4d4d8;border-radius:8px;padding:9px 13px;font-size:13px;background:#fff}.jl-preference-options input:checked+span{background:#fae8ff;color:#86198f;border-color:#a21caf;font-weight:700}.jl-preference-options input:focus-visible+span{outline:3px solid #c026d3;outline-offset:2px}@media(max-width:600px){.jl-search-label{align-items:start}.jl-search-panel [data-library-results]{padding:14px;max-height:55dvh}.jl-search-label a{max-width:105px;text-align:right}.jl-search-panel [data-library-results] .jl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jl-preferences fieldset{padding:14px}}

.jl-search-panel [data-library-results].is-above{top:auto;bottom:calc(100% - 4px);border-radius:14px 14px 0 0;box-shadow:0 -12px 32px #18181b26}

.jl-game-hint{display:block}.jl-search-panel .jl-reason{color:#86198f;font-size:11px;line-height:1.4}

/* Collection: clear hierarchy and comfortable spacing across screen sizes. */
.jl-page.jl-collection{max-width:1280px;padding:44px 28px 100px}
.jl-collection .jl-page-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;padding-bottom:36px}
.jl-collection .jl-page-avatar{width:88px;height:88px}
.jl-collection-identity{min-width:0}
.jl-collection .jl-collection-identity h1{font-size:clamp(28px,3.1vw,40px);line-height:1.2;letter-spacing:-.04em;margin:10px 0 12px;overflow-wrap:anywhere}
.jl-collection .jl-collection-identity p{max-width:55ch;line-height:1.65;margin:0;font-size:15px}
.jl-collection .jl-collection-identity>a{font-size:14px}
.jl-collection-total{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:156px;padding:20px 22px;border:1px solid #f0d5f5;border-radius:14px;background:#fdf4ff;text-align:center}
.jl-collection-total strong{font-size:48px;line-height:1;font-weight:850;letter-spacing:-.05em;color:#86198f;font-variant-numeric:tabular-nums}
.jl-collection-total>span{font-size:13px;line-height:1.4;color:#701a75;font-weight:650}
.jl-collection .jl-page-tabs{gap:28px;margin:26px 0 36px;overflow-x:auto;white-space:nowrap}
.jl-collection .jl-page-tabs a{padding:12px 0;flex-shrink:0}
.jl-collection .jl-heading{align-items:flex-start;gap:24px;margin-bottom:24px}
.jl-collection .jl-heading h2{font-size:25px;line-height:1.3}
.jl-collection .jl-heading p{line-height:1.65;margin-top:8px;max-width:65ch}
.jl-collection .jl-heading>a{flex-shrink:0;padding:6px 0}
.jl-collection .jl-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:36px 24px}
.jl-collection .jl-game h3{font-size:15px;line-height:1.45;margin:14px 0 6px}
.jl-collection .jl-game-hint{font-size:12px;line-height:1.5}
.jl-collection .jl-save{min-height:44px;gap:6px;padding:8px 11px;bottom:12px;right:12px}
.jl-collection .jl-section{margin:48px 0}
.jl-collection .jl-search-panel{margin-bottom:32px}
.jl-collection .jl-search-panel [data-library-results] .jl-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:20px 12px}
@media(max-width:1199px){.jl-collection .jl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:899px){.jl-page.jl-collection{padding:32px 24px 100px}.jl-collection .jl-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}.jl-collection .jl-page-header{gap:20px}.jl-collection .jl-page-avatar{width:72px;height:72px}.jl-collection-total{min-width:126px;padding:18px 14px}.jl-collection-total strong{font-size:42px}.jl-collection-total>span{font-size:12px}}
@media(max-width:599px){.jl-page.jl-collection{padding:28px 18px 100px}.jl-collection .jl-page-header{grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;padding-bottom:28px}.jl-collection .jl-page-avatar{width:60px;height:60px}.jl-collection .jl-collection-identity h1{font-size:27px;margin:8px 0 10px}.jl-collection .jl-collection-identity p{font-size:14px}.jl-collection-total{grid-column:1/-1;flex-direction:row;justify-content:flex-start;gap:14px;padding:16px 20px;text-align:left}.jl-collection-total strong{font-size:40px}.jl-collection-total>span{font-size:14px}.jl-collection .jl-page-tabs{gap:24px;margin:20px 0 30px;font-size:14px}.jl-collection .jl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.jl-collection .jl-heading{flex-direction:column;gap:12px}.jl-collection .jl-heading h2{font-size:23px}.jl-collection .jl-heading p{font-size:14px}.jl-collection .jl-game h3{font-size:14px;margin-top:12px}.jl-collection .jl-save{padding:7px 9px;bottom:9px;right:9px}.jl-collection .jl-section{margin:36px 0}.jl-collection .jl-search-panel [data-library-results] .jl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){.jl-page.jl-collection{padding-left:16px;padding-right:16px}.jl-collection .jl-page-header{gap:14px}.jl-collection .jl-page-avatar{width:48px;height:48px}.jl-collection .jl-collection-identity h1{font-size:24px}.jl-collection .jl-page-tabs{gap:20px}.jl-collection .jl-save-label{font-size:10px}}

.jl-collection-initials{display:grid;place-items:center;font-size:24px;font-weight:800;color:#86198f;background:#fae8ff}

/* Removal intent and short undo window, including keyboard and touch. */
.jl-remove-label,.jl-remove-symbol{display:none}
.jl-save.is-selected{min-width:90px}
.jl-save.is-selected:focus-visible{background:#fff1f2;color:#be123c;border-color:#fda4af}
.jl-save.is-selected:focus-visible [data-save-default],.jl-save.is-selected:focus-visible [data-save-symbol]{display:none}
.jl-save.is-selected:focus-visible .jl-remove-label,.jl-save.is-selected:focus-visible .jl-remove-symbol{display:inline}
@media(hover:hover){.jl-save.is-selected:hover{background:#fff1f2;color:#be123c;border-color:#fda4af}.jl-save.is-selected:hover [data-save-default],.jl-save.is-selected:hover [data-save-symbol]{display:none}.jl-save.is-selected:hover .jl-remove-label,.jl-save.is-selected:hover .jl-remove-symbol{display:inline}}
@media(hover:none){.jl-save.is-selected [data-save-default],.jl-save.is-selected [data-save-symbol]{display:none}.jl-save.is-selected .jl-remove-label,.jl-save.is-selected .jl-remove-symbol{display:inline}}
.jl-feedback-stack{position:fixed;bottom:calc(var(--je-bottom-space,49px) + 24px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);max-height:60dvh;overflow-y:auto;z-index:10010;display:flex;flex-direction:column;gap:10px;padding:4px}
.jl-feedback-stack .jl-notice{position:static;transform:none;max-width:100%;width:auto;margin:0;flex-shrink:0}
.jl-undo-list{display:flex;flex-direction:column;gap:10px}
.jl-undo-notice{display:flex;align-items:center;gap:12px;width:min(540px,calc(100vw - 40px));border:1px solid #f9a8d4;border-left:5px solid #a21caf;border-radius:12px;padding:14px 16px;background:#fdf4ff;color:#581c87;box-shadow:0 6px 24px #0003;box-sizing:border-box}
.jl-undo-icon{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#86198f;color:#fff;font-size:22px}
.jl-undo-copy{min-width:0;flex:1;font-size:13px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}
.jl-undo-notice button{flex-shrink:0;min-height:44px;padding:9px 13px;border:1px solid #86198f;border-radius:8px;background:#86198f;color:#fff;font-size:13px;font-weight:750;cursor:pointer}
.jl-undo-notice button:disabled{opacity:.55;cursor:wait}
.jl-undo-notice button:focus-visible{outline:3px solid #c026d3;outline-offset:3px}
.jl-undo-time{min-width:22px;font-size:12px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:480px){.jl-undo-notice{gap:9px;padding:12px}.jl-undo-icon{display:none}.jl-undo-copy{font-size:12px}.jl-undo-notice button{padding:9px 10px}.jl-feedback-stack{max-height:55dvh}}

.jl-personal-meta{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}.jl-personal-meta>span{font-size:10px;line-height:1.4;padding:3px 6px;border-radius:5px;background:#f4f4f5;color:#52525b}.jl-personal-meta [data-personal-heart]{background:#fff1f2;color:#be123c}.jl-personal-meta[hidden],.jl-personal-meta [hidden],.jl-owner-tools[hidden]{display:none}
.jl-owner-tools{display:flex;gap:7px;margin:9px 0}.jl-owner-tools button{min-height:40px;border:1px solid #d4d4d8;border-radius:7px;padding:6px 9px;background:#fff;color:#52525b;font-size:11px;font-weight:700;cursor:pointer}.jl-owner-tools [data-library-heart]{min-width:40px;font-size:20px;padding:3px}.jl-owner-tools [data-library-heart][aria-pressed=true]{color:#be123c;background:#fff1f2;border-color:#fda4af}.jl-dismiss{display:block;margin:9px 0;background:none;border:0;padding:4px 0;color:#71717a;text-decoration:underline;text-underline-offset:3px;font-size:11px;cursor:pointer}.jl-dismiss:disabled{opacity:.5}
.jl-collection-filters{padding:18px;border:1px solid #e4e4e7;background:#fafafa;border-radius:12px;margin:0 0 26px;scroll-margin-top:100px}.jl-filter-fields{display:grid;grid-template-columns:1.5fr repeat(4,minmax(0,1fr));gap:12px}.jl-filter-fields label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#52525b;min-width:0}.jl-filter-fields input,.jl-filter-fields select{width:100%;min-width:0;min-height:42px;padding:9px;border:1px solid #d4d4d8;background:#fff;border-radius:7px;color:#18181b;font:inherit;font-size:13px}.jl-filter-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:16px;font-size:12px}.jl-filter-options label{display:flex;gap:6px;align-items:center}.jl-filter-options button{border:0;background:none;color:#86198f;font-size:12px;font-weight:700;cursor:pointer}.jl-filter-options [data-filter-count]{margin-left:auto;color:#71717a}.jl-collection [data-library-card][hidden],.jl-collection [data-library-filter-empty][hidden]{display:none}
.jl-sharing{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.jl-sharing button,.jl-common-panel button{min-height:42px;padding:9px 14px;background:#fff;border:1px solid #d4d4d8;color:#52525b;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer}.jl-sharing [data-library-share]{background:#18181b;color:#fff;border-color:#18181b}.jl-sharing input{width:100%;padding:10px;border:1px solid #d4d4d8;border-radius:8px;font-size:13px}.jl-common-panel{background:#fdf4ff;border:1px solid #f0d5f5;border-radius:12px;padding:20px;margin-bottom:26px;color:#701a75}.jl-common-panel strong{font-size:18px}.jl-common-panel p{font-size:13px;line-height:1.6;margin:8px 0 12px}.jl-common-panel button{background:#fff;color:#86198f;border-color:#e9b3ef}
.jl-entry-dialog label{display:grid;gap:8px;margin:16px 0;font-size:13px;font-weight:700}.jl-entry-dialog select{min-height:44px;padding:10px;border:1px solid #d4d4d8;border-radius:8px;background:#fff;color:#18181b;font-size:14px}.jl-entry-dialog .jl-entry-heart{display:flex;align-items:center;gap:9px}.jl-entry-dialog .jl-entry-visibility{font-size:12px;margin:16px 0}.jl-entry-dialog [data-entry-error]{color:#be123c;font-size:13px}.jl-hidden-game{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e4e4e7;font-size:14px}
@media(max-width:900px){.jl-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.jl-filter-fields label:first-child{grid-column:span 2}}@media(max-width:599px){.jl-collection-filters{padding:14px}.jl-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.jl-filter-fields label:first-child{grid-column:1/-1}.jl-filter-fields select{font-size:12px}.jl-filter-options{gap:12px}.jl-filter-options [data-filter-count]{margin-left:0;width:100%}.jl-owner-tools{gap:5px}.jl-owner-tools button{min-height:44px;padding:6px;font-size:10px}.jl-owner-tools [data-library-heart]{min-width:34px}.jl-personal-meta>span{font-size:9px}.jl-hidden-game{align-items:flex-start}.jl-sharing button{flex:1}}
