:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#e6e9ed;--fg:#1b1b1b;--muted:#54585f;--border:#c6ccd4;--chip:#e3e7eb;--accent:#0a4fd6;--accent-fg:#fff;--danger:#b3261e;--danger-fg:#fff;--chrome:#dfe3e8;--card:#f1f3f6;--shadow:0 1px 2px #0000000f}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14161a;--fg:#e8eaed;--muted:#a2a7ae;--border:#2d3138;--chip:#23272e;--accent:#7aa7ff;--accent-fg:#14161a;--danger:#ff8a80;--danger-fg:#14161a;--chrome:#1a1d22;--card:#1a1d22;--shadow:0 1px 2px #0000004d}*{box-sizing:border-box}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;overflow-y:scroll}body{background:var(--bg);color:var(--fg);margin:0}a{color:var(--accent)}img{max-width:100%}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{--control-height:2.4rem;z-index:30;border-bottom:1px solid var(--border);background:var(--chrome);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.5rem 1.5rem;display:flex;position:sticky;top:0}.offline-banner{border-bottom:1px solid var(--border);background:var(--chip);color:var(--fg);text-align:center;margin:0;padding:.5rem 1.5rem;font-size:.9rem}.brand{color:var(--fg);font-weight:700;text-decoration:none}.header-left{flex-wrap:wrap;align-items:center;gap:.25rem 1rem;display:flex}.nav-link{color:var(--muted);align-items:center;gap:.35rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex}.nav-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:.95rem;height:.95rem}.nav-link:hover,.nav-link.active{color:var(--accent)}.nav-button{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.9rem;font-weight:600}.nav-button:disabled{cursor:default}.header-right{flex:18rem;justify-content:flex-end;align-items:center;gap:.5rem;min-width:0;max-width:38rem;display:flex}.theme-toggle{width:2.4rem;height:var(--control-height);border:1px solid var(--border);background:var(--bg);color:var(--fg);cursor:pointer;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.theme-toggle:hover{background:var(--chip)}.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.theme-toggle svg{width:1.15rem;height:1.15rem}.search-form{flex:auto;gap:0;min-width:0;max-width:34rem;display:flex}.search-form .suggestion-toggle{border:1px solid var(--border);background:var(--bg);width:2.4rem;color:var(--muted);cursor:pointer;border-radius:6px;flex:none;place-items:center;margin-right:.5rem;padding:0;display:grid}.search-form .suggestion-toggle[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.search-form .suggestion-toggle:hover{background:var(--chip)}.search-form .suggestion-toggle[aria-pressed=true]:hover{background:var(--accent);filter:brightness(1.08)}.search-form .suggestion-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.search-form .suggestion-toggle svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.15rem;height:1.15rem}.search-box{flex:auto;min-width:0;display:flex;position:relative}.search-form input{min-width:0;height:var(--control-height);border:1px solid var(--border);background:var(--bg);color:var(--fg);font:inherit;border-radius:6px 0 0 6px;flex:1;padding:0 .75rem}.search-suggestions{z-index:20;border:1px solid var(--border);background:var(--card);border-radius:8px;max-height:19rem;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000002e}.search-suggestion{color:var(--fg);cursor:pointer;border-radius:5px;justify-content:space-between;align-items:baseline;gap:.75rem;padding:.4rem .55rem;display:flex}.search-suggestion:hover,.search-suggestion[aria-selected=true]{background:var(--chip)}.search-suggestion-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.search-suggestion-kind{color:var(--muted);flex:none;font-size:.75rem}.search-form button,.keyword-form button{background:var(--accent);color:var(--accent-fg);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:6px;padding:.55rem 1rem}.search-form button:hover,.keyword-form button:hover{filter:brightness(1.08)}.search-form button[type=submit]{height:var(--control-height);border-radius:0 6px 6px 0;padding:0 1rem}main{max-width:1100px;margin:0 auto;padding:.5rem}main.item-page{padding-left:3.5rem;padding-right:3.5rem}main.item-page .breadcrumb{margin-bottom:.5rem}main.item-page h1{margin-bottom:.25rem}main.item-page h2{margin:1rem 0 .5rem}main.item-page .item-header p{margin:0 0 .25rem}.item-body{grid-template-columns:minmax(0,1fr) minmax(0,3fr);align-items:start;gap:0 1.5rem;display:grid}@media (width<=900px){.item-body{grid-template-columns:minmax(0,1fr)}}@media (width>=701px){main.home-page,main.untagged-page,main.item-page,main.tags-page,main.favourites-page{width:80%;max-width:none}}h1{margin:0 0 .5rem;font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);line-height:1.2}h2{margin:1.75rem 0 .65rem;font-size:1.1rem}.muted{color:var(--muted)}.breadcrumb{color:var(--muted);margin-bottom:1rem;font-size:.9rem}.original-title{color:var(--muted);margin:0 0 .35rem;font-size:1.05rem}.description{margin:0 0 .75rem}.meta{border:1px solid var(--border);background:var(--card);border-radius:8px;flex-wrap:wrap;gap:.5rem 1.5rem;margin:.75rem 0;padding:.6rem .8rem;display:flex}.meta div{margin:0}.meta dt{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.75rem}.meta dd{margin:0;font-weight:600}.virtual-item-grid{width:100%;position:relative}.virtual-item-row{grid-template-columns:repeat(var(--columns), minmax(0, 1fr));gap:var(--item-gap);display:grid;position:absolute;left:0;right:0}.listing-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1.5rem;margin:.5rem 0 1rem;display:flex}.listing-toolbar p{margin:0}.term-filter{flex-wrap:wrap;align-items:center;gap:.5rem;margin:-.25rem 0 1rem;font-size:.9rem;display:flex}.filter-chip{border:1px solid var(--accent);background:var(--chip);border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .4rem .2rem .75rem;display:inline-flex}.filter-chip a{color:var(--muted);font-size:1rem;line-height:1;text-decoration:none}.filter-chip a:hover{color:var(--fg)}.listing-filters{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.filter-switch{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.filter-switch-label{color:var(--muted)}.filter-switch-options{border:1px solid var(--border);background:var(--bg);border-radius:999px;display:inline-flex;overflow:hidden}.filter-switch-options label{display:flex;position:relative}.filter-switch-options input{opacity:0;pointer-events:none;position:absolute}.filter-switch-options span{cursor:pointer;padding:.3rem .75rem}.filter-switch-options label+label span{border-left:1px solid var(--border)}.filter-switch-options label:hover span{background:var(--chip)}.filter-switch-options input:checked+span{background:var(--accent);color:var(--accent-fg)}.filter-switch-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:-2px}.listing-controls{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.listing-controls select,.listing-controls .sort-field{border:1px solid var(--border);background:var(--bg);color:var(--fg);font:inherit;border-radius:6px;padding:.4rem .5rem}.sort-dropdown{display:none}@media (hover:hover) and (pointer:fine){.listing-controls .sort-native,.listing-controls .sort-shuffle-touch{display:none}.sort-dropdown{display:flex;position:relative}}.sort-field{align-items:center;gap:.4rem;min-width:13rem;display:flex}.sort-field:hover{background:var(--chip)}.sort-button{cursor:pointer;-webkit-user-select:none;user-select:none;flex:1;justify-content:space-between;align-items:center;gap:.4rem;display:inline-flex}.sort-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.listing-controls .sort-shuffle-button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.listing-controls .sort-shuffle-button:hover{color:var(--fg);background:0 0}.listing-controls .sort-shuffle-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}.sort-chevron,.sort-shuffle{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1rem;height:1rem}.sort-list{z-index:20;border:1px solid var(--border);background:var(--card);border-radius:8px;min-width:100%;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #0000002e}.sort-option{white-space:nowrap;cursor:pointer;border-radius:5px;justify-content:space-between;align-items:center;gap:.75rem;padding:.4rem .55rem;display:flex}.sort-option.active{background:var(--chip)}.sort-option[aria-selected=true]{font-weight:600}.listing-controls button{border:1px solid var(--border);background:var(--chip);color:var(--fg);font:inherit;cursor:pointer;border-radius:6px;padding:.4rem .75rem}.term-tables{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1.5rem;display:grid}.term-column{flex-direction:column;gap:1rem;min-width:0;display:flex}.term-search{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--fg);font:inherit;border-radius:6px;padding:.4rem .6rem;font-size:.9rem}.term-table-count{margin:.4rem 0;font-size:.8rem}.term-table-scroll{border:1px solid var(--border);background:var(--card);border-radius:8px;height:clamp(182px,41.6vh,533px);overflow-y:auto}.term-table-scroll.fit{height:auto;overflow:hidden}.term-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:.9rem}.term-table th{z-index:1;background:var(--card);height:2rem;box-shadow:inset 0 -1px 0 var(--border);color:var(--muted);text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600;position:sticky;top:0}.term-table th,.term-table td{white-space:nowrap;text-overflow:ellipsis;padding:0 .75rem;overflow:hidden}.term-table tbody td{height:var(--term-row-height);border-top:1px solid var(--border)}.term-table tbody:first-of-type td{border-top:0}.term-table .term-count{text-align:right;width:4.5rem;color:var(--muted);font-variant-numeric:tabular-nums}.term-table-empty{margin:0;padding:.75rem;font-size:.9rem}.term-sort-button{color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:.35rem;padding:0;display:inline-flex}.term-sort-button:hover{color:var(--fg)}.term-sort-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.term-table th[aria-sort=ascending],.term-table th[aria-sort=descending]{color:var(--fg)}.term-count .term-sort-button{justify-content:flex-end;width:100%}.term-arrow{font-size:.65rem;line-height:1}@media (width<=1000px){.term-tables{grid-template-columns:minmax(0,1fr)}.term-table-scroll{height:clamp(143px,27.3vh,299px)}}.item-card{border:1px solid var(--border);background:var(--card);min-width:0;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.item-card a{height:100%;color:inherit;flex-direction:column;text-decoration:none;display:flex}.item-card .thumb{aspect-ratio:4/3;background:var(--chip);flex:none;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.item-card .thumb img{object-fit:contain;width:100%;height:100%;display:block}.thumb-skeleton{background:linear-gradient(100deg, var(--chip) 30%, var(--border) 50%, var(--chip) 70%);background-size:200% 100%;width:100%;height:100%;animation:1.2s linear infinite thumb-skeleton;position:absolute;inset:0}.thumb-failed{color:var(--muted);font-size:.85rem}@keyframes thumb-skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.thumb-skeleton,.skeleton,.preview .download .download-spinner{animation:none}}.skeleton{background:linear-gradient(100deg, var(--chip) 30%, var(--border) 50%, var(--chip) 70%);background-size:200% 100%;border-radius:4px;animation:1.2s linear infinite thumb-skeleton;display:block}.skeleton-description{height:4.5rem;margin:0 0 .75rem}.skeleton-line{vertical-align:middle;width:5rem;height:.8rem;display:inline-block}.skeleton-count{vertical-align:middle;width:4.5rem;height:.75rem;display:inline-block}.skeleton-breadcrumb{width:8rem;height:.7rem}.skeleton-title{width:min(24rem,70%);height:1.6rem;margin:0 0 .5rem}.skeleton-heading{width:6rem;height:1rem;margin:1rem 0 .65rem}.skeleton-label{width:3.5rem;height:.6rem;margin-bottom:.35rem}.skeleton-value{width:5rem;height:.9rem}.skeleton-chip{border-radius:999px;width:4.5rem;height:1.7rem}.skeleton-search{border-radius:6px;width:100%;height:2.1rem}.skeleton-count-line{width:6rem;height:.7rem;margin:.6rem 0}.skeleton-table{flex-direction:column;gap:1.15rem;padding:1rem .75rem;display:flex;overflow:hidden}.skeleton-table-row{flex:none;width:100%;height:.85rem}.skeleton-table-row:nth-child(2n){width:82%}.preview-skeleton{aspect-ratio:4/3;place-items:center;width:100%;display:grid}.item-card-body{flex-direction:column;flex:auto;min-height:0;padding:.65rem .75rem .85rem;display:flex;overflow:hidden}.item-card h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.6em;margin:0 0 .25rem;font-size:.95rem;line-height:1.3;display:-webkit-box;overflow:hidden}.item-card p{margin:0;font-size:.78rem}.item-card-stats{align-items:center;gap:.75rem;margin-top:auto;display:flex}.item-card-downloads,.item-card-pages,.item-card-tags{align-items:center;gap:.25rem;display:flex}.item-card-stats svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:.9rem;height:.9rem}.preview-placeholder{aspect-ratio:4/3;background:var(--chip);width:100%;color:var(--muted);place-items:center;font-size:.85rem;display:grid}.preview-grid{flex-wrap:wrap;justify-content:flex-start;gap:.75rem;display:flex}.preview{border:1px solid var(--border);background:var(--card);border-radius:10px;flex:200px;max-width:240px;margin:0;padding:.5rem}.preview img{width:100%;max-width:250px;height:auto;margin:0 auto;display:block}.preview-media{position:relative}.preview-nav{border:1px solid var(--border);background:var(--card);width:1.6rem;height:1.6rem;color:var(--fg);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:1rem;line-height:1;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.preview-nav.previous{left:.3rem}.preview-nav.next{right:.3rem}.preview-nav:disabled{opacity:.4;cursor:default}.preview-page-count{border:1px solid var(--border);background:var(--card);color:var(--muted);border-radius:999px;padding:.1rem .4rem;font-size:.72rem;position:absolute;bottom:.35rem;right:.35rem}.preview figcaption{flex-direction:column;gap:.1rem;margin-top:.35rem;font-size:.8rem;display:flex}.source-link{text-align:start;margin:.6rem 0 0}.source-link a{align-items:center;gap:.3rem;display:inline-flex}.source-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:.85rem;height:.85rem}.preview .item{font-weight:700}.preview .file-name{color:var(--muted);overflow-wrap:anywhere}.preview .file-pages,.preview .file-size,.preview .file-downloads{color:var(--muted)}.preview .download{align-items:center;gap:.3rem;margin-top:.35rem;font-weight:600;display:inline-flex}.preview .download svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:.9rem;height:.9rem}.preview .download.downloading{cursor:progress}.preview .download .download-spinner{stroke-dasharray:40 17;transform-origin:50%;animation:.9s linear infinite download-spin}@keyframes download-spin{to{transform:rotate(360deg)}}.chips{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.chips li{align-items:center;gap:.35rem;display:inline-flex}.chips a{background:var(--chip);color:var(--fg);border-radius:999px;padding:.25rem .65rem;font-size:.9rem;text-decoration:none;display:inline-block}.chips a:hover{background:var(--border)}.tag{border:1px solid var(--border);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:.1rem .4rem;font-size:.68rem}.keyword-form{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.6rem;display:flex}.keyword-form label{flex-basis:100%;font-weight:600}.keyword-form input{border:1px solid var(--border);background:var(--bg);max-width:22rem;color:var(--fg);font:inherit;border-radius:6px;flex:14rem;padding:.55rem .75rem}.form-hint{color:var(--muted);flex-basis:100%;margin:0;font-size:.85rem}.download-error{border:1px solid var(--border);border-left:4px solid var(--accent);background:var(--chip);border-radius:6px;grid-column:1/-1;margin:0;padding:.65rem .9rem}.flash{border:1px solid var(--border);border-left:4px solid var(--accent);background:var(--chip);border-radius:6px;padding:.65rem .9rem}.arrow{z-index:5;border:1px solid var(--border);background:var(--card);width:2.75rem;height:2.75rem;color:var(--fg);box-shadow:var(--shadow);border-radius:50%;place-items:center;font-size:2rem;line-height:1;text-decoration:none;display:grid;position:fixed;top:50%;transform:translateY(-50%)}.arrow:hover{background:var(--chip)}.arrow-left{left:.75rem}.arrow-right{right:.75rem}.scroll-top{z-index:20;border:1px solid var(--fg);background:var(--fg);width:2.75rem;height:2.75rem;color:var(--bg);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed;bottom:1rem;right:1rem;box-shadow:0 2px 12px #00000040}.scroll-top:hover{opacity:.85}.scroll-top:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.scroll-top svg{width:1.35rem;height:1.35rem}.site-footer{border-top:1px solid var(--border);max-width:1100px;color:var(--muted);margin:2rem auto 0;padding:1.25rem 1.5rem 2rem;font-size:.82rem}.site-footer p{margin:0}@media (width<=700px){main,main.item-page{padding-left:2.75rem;padding-right:2.75rem}.arrow{width:2.25rem;height:2.25rem;font-size:1.6rem}.arrow-left{left:.25rem}.arrow-right{right:.25rem}.site-header{padding:.5rem 1rem}.header-right{flex:100%;max-width:none}.search-form{max-width:none}.nav-link{padding:.35rem}.header-left{gap:.25rem .5rem}.nav-label{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.retry{background:var(--accent);color:var(--accent-fg);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:6px;padding:.55rem 1rem}.keyword-form button:disabled{cursor:wait;opacity:.6}.dialog{border:1px solid var(--border);background:var(--card);max-width:min(30rem,100% - 2rem);color:var(--fg);border-radius:12px;padding:1.4rem 1.6rem;box-shadow:0 12px 32px #0000002e}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0006}.dialog h2{margin:0 0 .6rem;font-size:1.15rem}.dialog p{margin:0 0 .5rem}.dialog-message{color:var(--muted)}.dialog-error{color:var(--danger)}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:1.2rem;display:flex}.dialog-actions button{border:1px solid var(--border);background:var(--chip);color:var(--fg);font:inherit;cursor:pointer;border-radius:6px;padding:.5rem .9rem}.dialog-actions button:hover:enabled{filter:brightness(.97)}.dialog-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dialog-actions button:disabled{cursor:default;opacity:.6}.dialog-actions .dialog-confirm{background:var(--danger);color:var(--danger-fg);border-color:#0000}.favourite-button{border:1px solid var(--border);background:var(--bg);color:var(--fg);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:.4rem;margin-top:.35rem;padding:.45rem .8rem;font-size:.88rem;display:inline-flex}.favourite-button:hover:enabled{background:var(--chip)}.favourite-button.active{border-color:var(--accent);color:var(--accent)}.favourite-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;width:1rem;height:1rem}.favourite-button.active svg{fill:currentColor}.favourite-button:disabled{cursor:wait;opacity:.65}.chip-remove{border:1px solid var(--border);background:var(--card);width:1.35rem;height:1.35rem;color:var(--muted);font:inherit;cursor:pointer;border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}.chip-remove:hover:enabled{border-color:var(--accent);color:var(--accent)}.chip-remove:disabled{cursor:wait;opacity:.6}.custom-term-form{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.6rem;display:flex}.custom-term-form label{flex-basis:100%;font-weight:600}.custom-term-form input{border:1px solid var(--border);background:var(--bg);max-width:22rem;color:var(--fg);font:inherit;border-radius:6px;flex:14rem;padding:.55rem .75rem}.custom-term-form button{background:var(--accent);color:var(--accent-fg);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:6px;padding:.55rem 1rem}.custom-term-form button:hover:enabled{filter:brightness(1.08)}.custom-term-form button:disabled{cursor:wait;opacity:.6}.custom-term-section{margin-top:1.5rem}.custom-term-scroll{border:1px solid var(--border);background:var(--card);border-radius:8px;max-height:32rem;overflow-y:auto}.custom-term-table .custom-term-action{text-align:right;width:5.5rem}.custom-term-delete{border:1px solid var(--border);background:var(--bg);color:var(--danger);font:inherit;cursor:pointer;border-radius:5px;padding:.2rem .45rem;font-size:.8rem}.custom-term-delete:hover{border-color:var(--danger);background:var(--chip)}.favourites-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.favourites-header h1{margin-bottom:.15rem}.user-data-transfer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.user-data-transfer>.flash{flex-basis:100%;margin:0}.transfer-button{border:1px solid var(--border);background:var(--chip);color:var(--fg);font:inherit;cursor:pointer;border-radius:6px;padding:.5rem .9rem;font-size:.9rem}.transfer-button:hover{border-color:var(--accent);color:var(--accent)}.favourites-empty{text-align:center;padding:2rem 0}.favourites-empty p{margin:.35rem 0}.dialog-actions .dialog-primary{background:var(--accent);color:var(--accent-fg);border-color:#0000}.dialog-actions .dialog-replace{border-color:var(--danger);color:var(--danger);background:0 0}.keyword-form,.custom-term-form{flex-flow:column;align-items:stretch;gap:.45rem;display:flex}.term-input-row{align-items:center;gap:.4rem;width:100%;display:flex}.keyword-form .term-input-row input,.custom-term-form .term-input-row input{flex:auto;min-width:0;max-width:none;padding:.45rem .6rem;font-size:.9rem}.keyword-form .term-input-row button,.custom-term-form .term-input-row button{white-space:nowrap;flex:none;padding:.38rem .6rem;font-size:.8rem;line-height:1.2}.keyword-form label,.custom-term-form label,.keyword-form .form-hint,.custom-term-form .form-hint{flex-basis:auto}.chips li.user-term a{background:var(--accent);color:var(--accent-fg)}.chips li.user-term a:hover{filter:brightness(1.08)}.chips li.user-term .chip-remove{border-color:var(--accent-fg);color:var(--accent-fg);background:0 0}.chips li.user-term{background:var(--accent);border-radius:999px;padding:.1rem .15rem .1rem 0}.chips li.user-term a,.chips li.user-term a:hover{color:var(--accent-fg);filter:none;background:0 0;padding:.25rem .65rem}.chips li.user-term.removable a{padding-right:.25rem}.chips li.user-term .chip-remove{width:1.25rem;height:1.25rem;color:var(--accent-fg);background:0 0;border:0;flex:none;margin-right:.1rem;font-size:1rem}.chips li.user-term .chip-remove:hover:enabled{background:#fff3}.chips li.user-term .chip-remove:focus-visible{outline:2px solid var(--accent-fg);outline-offset:0}.item-card{position:relative}.favourite-button.compact{z-index:2;border:1px solid var(--border);background:var(--card);width:2.15rem;height:2.15rem;color:var(--fg);box-shadow:var(--shadow);border-radius:50%;place-items:center;margin:0;padding:0;display:grid;position:absolute;top:.5rem;right:.5rem}.favourite-button.compact:hover:enabled{background:var(--chip)}.favourite-button.compact.active{border-color:var(--accent);background:var(--card);color:var(--accent)}.favourite-button.compact svg{width:1.1rem;height:1.1rem}.item-intro.with-description{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:0 1.5rem;display:grid}@media (width<=900px){.item-intro.with-description{grid-template-columns:minmax(0,1fr);gap:0}}.snackbar{z-index:100;background:var(--fg);max-width:36rem;color:var(--bg);border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;margin:0 auto;padding:.75rem 1rem;display:flex;position:fixed;bottom:1rem;left:1rem;right:1rem;box-shadow:0 6px 24px #0000003d}.snackbar-message{flex:auto}.snackbar-countdown{font-variant-numeric:tabular-nums;opacity:.8;flex:none;font-size:.85rem}.snackbar button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 .25rem;font-size:1.25rem;line-height:1}.snackbar button:focus-visible{outline:2px solid var(--bg);outline-offset:2px}
