:root{color-scheme:light;--page:#fff;--surface:#fff;--ink:#1d1d1f;--secondary:#6e6e73;--line:#00000012;--control:#f2f2f4;--hover:#e8e8ed;--glass:#ffffffe0;--accent:#0071e3;--chip:#e8e8ed;--shadow:0 20px 70px #00000014}
:root[data-theme=dark]{color-scheme:dark;--page:#101011;--surface:#1c1c1e;--ink:#f5f5f7;--secondary:#a1a1a6;--line:#ffffff16;--control:#29292c;--hover:#363639;--glass:#161617df;--accent:#69aaff;--chip:#3a3a3e;--shadow:0 24px 80px #0007}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}a{color:inherit}button{color:var(--ink)}button,a,input,dialog{outline:none}button:focus,button:focus-visible,a:focus,a:focus-visible,input:focus{outline:none;box-shadow:none}a:focus-visible{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}button:not(.fan):focus-visible{background:var(--hover)}button,a{touch-action:manipulation}
header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 28px;border-bottom:1px solid var(--line);background:var(--glass);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%)}.logo{font-size:25px;font-weight:650;letter-spacing:-1.3px;text-decoration:none;white-space:nowrap;line-height:1.1}.logo span{color:inherit}.search{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:5px;width:clamp(280px,32vw,440px);min-height:36px;margin-left:auto;padding:5px 11px;background:var(--control);border:1px solid transparent;border-radius:12px;transition:background .2s,border-color .2s}.search:focus-within{border-color:var(--line)}.search-icon{width:15px;height:15px;flex:none;color:var(--secondary);margin-right:3px}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.search input{flex:1;min-width:80px;width:auto;height:24px;padding:0;background:none;border:0;color:var(--ink);font-size:12px;letter-spacing:-.1px}.search input::placeholder{color:var(--secondary)}input::-webkit-search-cancel-button{cursor:pointer}.selected-keywords{display:contents}.keyword-chip{padding:5px 8px;border:0;border-radius:7px;background:var(--chip);color:var(--ink);font-size:10px;font-weight:500;white-space:nowrap}.shuffle{height:34px;padding:0 16px;background:var(--control);border:0;border-radius:11px;font-size:12px;font-weight:500;letter-spacing:-.15px}.shuffle:hover{background:var(--hover)}.theme-toggle,.info{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:7px;border:0;border-radius:50%;background:transparent;color:var(--secondary);transition:background .2s,color .2s}.theme-toggle svg,.info svg{width:18px;height:18px}.theme-toggle:hover,.info:hover{background:var(--control);color:var(--ink)}
.suggestions{position:absolute;top:calc(100% + 9px);left:0;z-index:10;width:320px;max-width:calc(100vw - 32px);padding:18px;background:var(--glass);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.suggestions[hidden]{display:none}.suggestions p{margin:0 0 13px;font-size:11px;font-weight:500;color:var(--secondary)}.pills{display:flex;flex-wrap:wrap;gap:7px}.pills button{border:0;border-radius:20px;padding:9px 12px;font-size:11px;line-height:1.1;background:var(--control);color:var(--secondary)}.pills button:hover{background:var(--hover)}.pills button[aria-pressed=true]{background:var(--ink);color:var(--surface)}
#gallery{display:block;position:relative;width:calc(100% - 12px);margin:6px 6px 0;padding:0;overflow:hidden;isolation:isolate}.fan{position:absolute;display:block;min-width:0;padding:0;border:0;background:none;pointer-events:none}.fan img{position:absolute;left:50%;top:50%;max-width:none;object-fit:contain;pointer-events:auto;cursor:pointer;transition:filter .2s;user-select:none}.fan:hover img{filter:brightness(1.04)}.fan:focus-visible img{filter:drop-shadow(0 0 3px var(--secondary))}#sentinel{height:1px;padding:0;margin:0;overflow:hidden;pointer-events:none}#sentinel[hidden]{display:none}#empty{text-align:center;padding:70px 24px;font-size:13px;color:var(--secondary)}
#top{position:fixed;right:26px;bottom:26px;z-index:4;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--glass);color:var(--secondary);box-shadow:0 3px 15px #00000008;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:color .2s,background .2s,transform .2s}#top svg{width:16px;height:16px;stroke-width:1.7}#top:hover{background:var(--surface);color:var(--ink);transform:translateY(-2px)}
dialog{width:min(620px,92vw);max-height:90dvh;padding:54px 32px 30px;border:1px solid var(--line);border-radius:26px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);overflow:auto}dialog::backdrop{background:#0003;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}:root[data-theme=dark] dialog::backdrop{background:#0007}.close{position:absolute;top:14px;right:16px;display:grid;place-items:center;width:28px;height:28px;padding:7px;border:0;border-radius:50%;background:var(--control);color:var(--secondary)}.close svg{width:13px;height:13px;stroke-width:1.8}.close:hover{background:var(--hover);color:var(--ink)}.preview{height:min(48vh,450px);padding:12px 16px 20px;background:transparent}.preview img{width:100%;height:100%;object-fit:contain}.detail-meta{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:22px}.detail-meta h2{font-size:24px;font-weight:600;letter-spacing:-.8px;line-height:1.2;margin:0 0 7px}.detail-meta p{margin:0;color:var(--secondary);font-size:12px}.detail-meta a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:9px 17px;border-radius:22px;background:var(--ink);color:var(--surface);text-decoration:none;font-size:11px;font-weight:500;white-space:nowrap}.detail-meta a:hover{opacity:.82}#source{display:inline-block;margin-top:22px;font-size:10px;color:var(--secondary);text-decoration:none}#source:hover{text-decoration:underline;text-underline-offset:3px}#about-modal{max-width:420px;padding:54px 36px 32px}#about-modal h2{font-size:28px;font-weight:600;letter-spacing:-1px;line-height:1.15;margin:0 0 18px}#about-modal p{font-size:13px;line-height:1.65;letter-spacing:-.1px;color:var(--secondary);margin:0 0 20px}#about-modal .creator{color:var(--ink);text-underline-offset:3px}#about-modal .credit{margin:26px 0 0;font-size:10px;line-height:1.7}#about-modal .credit a{text-underline-offset:2px}
@media(max-width:700px){header{padding:12px 18px;gap:8px;flex-wrap:wrap;min-height:64px}.logo{font-size:24px;margin-right:auto}.search{order:5;width:100%;margin-left:0;min-height:38px}.shuffle{padding:0 14px}.suggestions{width:100%;max-width:100%}#gallery{margin:5px 4px 0;width:calc(100% - 8px)}#top{right:18px;bottom:20px;width:38px;height:38px}dialog{padding:52px 24px 26px;border-radius:24px}.preview{height:42vh;padding:8px 0 16px}.detail-meta{gap:14px;align-items:flex-start}.detail-meta h2{font-size:21px}.detail-meta a{padding:9px 13px;font-size:10px}#about-modal{padding:52px 28px 30px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){a:focus-visible,button:focus-visible{outline:1px solid Highlight;outline-offset:2px}}

:root[data-theme=dark] .illustration img{filter:invert(1)}:root[data-theme=dark] .fan.illustration:hover img{filter:invert(1) brightness(1.08)}

/* Pop styling is deliberately confined to the chrome and About. */
header{--pop-ink:#19171d;--pop-paper:#f4ff65;--pop-surface:#fff;--pop-purple:#7551ed;background:var(--pop-paper);border-bottom:2px solid var(--pop-ink);padding:14px 28px;gap:15px;backdrop-filter:none;-webkit-backdrop-filter:none}
header .logo{font-size:29px;font-weight:850;letter-spacing:-1.8px;color:var(--pop-ink);transform:rotate(-2deg);display:flex;align-items:center;gap:3px}header .logo span{display:inline-block;background:#ff8cc7;border:2px solid var(--pop-ink);border-radius:5px;padding:3px 6px 4px;transform:rotate(4deg);box-shadow:2px 2px 0 var(--pop-ink)}
header .search{background:var(--pop-surface);border:2px solid var(--pop-ink);border-radius:10px;box-shadow:3px 3px 0 var(--pop-ink);padding:4px 11px;min-height:38px}header .search:focus-within{border-color:var(--pop-ink)}header .search input{color:var(--pop-ink)}header .search input::placeholder,header .search-icon{color:#68636d}header .keyword-chip{background:#e4d8ff;color:var(--pop-ink);border:1px solid var(--pop-ink);border-radius:5px}
header .shuffle{background:var(--pop-purple);color:#fff;border:2px solid var(--pop-ink);border-radius:9px;height:37px;box-shadow:3px 3px 0 var(--pop-ink);font-size:12px;font-weight:700;transform:rotate(-2deg);transition:transform .15s,box-shadow .15s}header .shuffle:hover{background:#6540db;transform:rotate(0deg) translate(-1px,-1px);box-shadow:4px 4px 0 var(--pop-ink)}header .shuffle:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--pop-ink)}
header .theme-toggle,header .info{width:33px;height:33px;background:transparent;color:var(--pop-ink);border-radius:50%;border:1.5px solid var(--pop-ink)}header .info{background:#ff8cc7;transform:rotate(7deg)}header .theme-toggle:hover,header .info:hover{background:#fff;transform:rotate(-7deg)}header .suggestions{background:#fffdf6;border:2px solid var(--pop-ink);border-radius:13px;box-shadow:5px 5px 0 var(--pop-ink);backdrop-filter:none;-webkit-backdrop-filter:none}header .suggestions p{font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#6a626d;font-size:10px}header .pills button{border:1px solid var(--pop-ink);background:#fff;color:var(--pop-ink)}header .pills button[aria-pressed=true]{background:#f4ff65;color:var(--pop-ink);box-shadow:2px 2px 0 var(--pop-ink)}
:root[data-theme=dark] header{--pop-paper:#302143;--pop-ink:#f4edff;--pop-surface:#21172e;--pop-purple:#6743d1}:root[data-theme=dark] header .logo span{color:#19171d;border-color:#19171d;box-shadow:2px 2px 0 #f4edff}:root[data-theme=dark] header .search input::placeholder,:root[data-theme=dark] header .search-icon{color:#bbb0c9}:root[data-theme=dark] header .keyword-chip{color:#19171d}:root[data-theme=dark] header .info{color:#19171d}:root[data-theme=dark] header .theme-toggle:hover{color:#19171d}:root[data-theme=dark] header .suggestions{--pop-ink:#19171d}:root[data-theme=dark] header .shuffle{color:#fff}
#about-modal{width:min(560px,90vw);max-width:560px;padding:40px 34px 28px;border:3px solid #19171d;border-radius:20px;background:#dcd0ff;color:#19171d;box-shadow:9px 9px 0 #19171d;overflow:auto}#about-modal>.close{top:13px;right:14px;background:#fff;border:2px solid #19171d;color:#19171d;width:29px;height:29px}#about-modal>.close:hover{background:#f4ff65;transform:rotate(10deg)}.about-ticket{display:inline-block;background:#f4ff65;border:2px solid #19171d;border-radius:4px;padding:6px 9px;font-size:9px;font-weight:800;letter-spacing:1.2px;transform:rotate(-3deg);margin:0 0 27px;box-shadow:2px 2px 0 #19171d}#about-modal h2{font-size:57px;font-weight:900;letter-spacing:-3.3px;line-height:.94;margin:0 0 22px}#about-modal h2 span{color:#7551ed;-webkit-text-stroke:1px #19171d}.about-stamp{position:absolute;right:27px;top:77px;background:#ff8cc7;color:#19171d;border:2px solid #19171d;border-radius:50%;width:80px;height:80px;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(13deg);font-size:9px;letter-spacing:1px;font-weight:800;box-shadow:3px 3px 0 #19171d}.about-stamp span{font-size:24px;letter-spacing:-1px;font-weight:900}#about-modal .about-copy{max-width:390px;color:#42354e;font-size:13px;line-height:1.7;margin:0 0 18px}.about-steps{display:flex;gap:10px;margin:0 0 17px}.about-steps span{background:#fffdf6;border:1.5px solid #19171d;border-radius:5px;padding:6px 11px;font-size:9px;font-weight:800;letter-spacing:1px;box-shadow:2px 2px 0 #19171d}.about-steps span:nth-child(2){transform:rotate(3deg);background:#ff8cc7}.about-steps span:last-child{transform:rotate(-3deg);background:#f4ff65}#about-modal .about-help{font-size:11px;color:#53445f;margin:0 0 23px}.maker-note{background:#fffdf6;border:2px solid #19171d;border-radius:9px;padding:13px 15px;transform:rotate(-1deg);box-shadow:3px 3px 0 #19171d}.maker-note>span{font-size:8px;letter-spacing:1.2px;font-weight:800;color:#75687f}#about-modal .maker-note p{margin:4px 0 0;font-size:13px;color:#19171d}#about-modal .creator{color:#7551ed;font-weight:750;text-decoration-thickness:1.5px}#about-modal .credit{font-size:9px;color:#675873;line-height:1.65;margin-top:22px}
@media(max-width:700px){header{padding:13px 18px 14px;gap:12px}header .logo{font-size:27px}header .search{margin-top:3px;min-height:39px}header .shuffle{height:34px;padding:0 13px}header .theme-toggle,header .info{width:30px;height:30px}#about-modal{padding:42px 24px 25px}#about-modal h2{font-size:clamp(38px,9.6vw,57px);letter-spacing:-2px}.about-stamp{width:61px;height:61px;right:20px;top:77px;font-size:7px}.about-stamp span{font-size:19px}.about-ticket{font-size:8px;letter-spacing:.8px;margin-bottom:24px}#about-modal .about-copy{font-size:12px;max-width:280px}}

/* Shared blue accents and matching pop-style image viewer. */
header .logo,header .logo span{transform:none}header .logo{align-items:baseline}header .logo span,:root[data-theme=dark] header .logo span{background:#00aff0;color:#19171d}header .keyword-chip{font-size:12px;padding:5px 9px;line-height:1.25}
.close,#about-modal>.close{padding:0;display:flex;align-items:center;justify-content:center;line-height:1}.close svg{display:block;flex:0 0 13px;width:13px;height:13px;margin:0}
#about-modal{padding-top:49px}.about-stamp{top:44px}#about-modal h2{padding-right:74px}#about-modal .credit{line-height:1.9}
#top{background:#00aff0;color:#19171d;border:2px solid #19171d;box-shadow:3px 3px 0 #19171d;backdrop-filter:none;-webkit-backdrop-filter:none}#top:hover,#top:focus-visible{background:#25bdf5;color:#19171d}
#detail{background:#fffdf6;color:#19171d;border:3px solid #19171d;border-radius:20px;box-shadow:9px 9px 0 #19171d;padding:53px 28px 26px}#detail>.close{width:29px;height:29px;background:#fff;border:2px solid #19171d;color:#19171d;top:13px;right:14px}#detail>.close:hover{background:#f4ff65;transform:rotate(10deg)}#detail .preview{background:transparent;padding:8px 12px 22px}#detail .detail-meta{background:#dcd0ff;border:2px solid #19171d;border-radius:10px;padding:17px 18px;gap:20px;box-shadow:3px 3px 0 #19171d}#detail .detail-meta h2{font-size:26px;font-weight:850;letter-spacing:-1px;color:#19171d;margin-bottom:6px}#detail .detail-meta p{color:#53445f;font-size:12px}#detail .detail-meta a{background:#00aff0;border:2px solid #19171d;color:#19171d;border-radius:7px;font-weight:750;box-shadow:3px 3px 0 #19171d;padding:10px 13px;transition:transform .15s,box-shadow .15s}#detail .detail-meta a:hover{opacity:1;background:#25bdf5;transform:translate(-1px,-1px);box-shadow:4px 4px 0 #19171d}#detail #source{color:#675873;margin-top:20px;text-underline-offset:3px}:root[data-theme=dark] #detail.illustration img{filter:none}
@media(max-width:700px){#about-modal{padding-top:50px}#about-modal h2{padding-right:40px;font-size:clamp(34px,9.6vw,57px)}.about-stamp{top:47px}#detail{padding:52px 20px 24px}#detail .detail-meta{padding:14px;gap:15px;flex-wrap:wrap}#detail .detail-meta h2{font-size:23px}#detail .detail-meta a{font-size:11px;padding:9px 12px}}

header .logo{gap:0}header .logo span,:root[data-theme=dark] header .logo span{background:none;border:0;border-radius:0;padding:0;box-shadow:none;color:#00aff0;transform:none}

body.is-loading{overflow:hidden}#loading-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:#fffdf6;color:#19171d}#loading-screen[hidden]{display:none}.loading-content{display:flex;flex-direction:column;align-items:center;gap:21px;transform:translateY(-12px)}.loading-fan{display:block;width:48px;height:62px;overflow:visible}.loading-ring,.loading-stand{fill:#fffdf6;stroke:#19171d;stroke-width:1.7}.loading-blades{fill:#00aff0;stroke:#19171d;stroke-width:1.1;transform-origin:24px 22px;animation:fan-loader-spin .85s linear infinite}.loading-hub{fill:#f4ff65;stroke:#19171d;stroke-width:1.4}.loading-content p{margin:0;font-size:15px;font-weight:650;letter-spacing:-.25px;line-height:1.4}:root[data-theme=dark] #loading-screen{background:#101011;color:#f5f5f7}:root[data-theme=dark] .loading-ring,:root[data-theme=dark] .loading-stand{fill:#101011;stroke:#f5f5f7}:root[data-theme=dark] .loading-blades{stroke:#f5f5f7}@keyframes fan-loader-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-blades{animation:none}}

header{--pop-paper:#eee8ff}header .logo{color:#33adef}header .logo span,:root[data-theme=dark] header .logo span{color:#278bce}:root[data-theme=dark] header .logo{color:#33adef}

/* Unified pills and full-width viewer information panel. */
header .pills button,header .pills button[aria-pressed=true],header .keyword-chip{box-shadow:none;border:1px solid #19171d;border-radius:20px;font-size:12px;line-height:1.1;padding:8px 12px;font-weight:400}header .keyword-chip{background:#f4ff65;color:#19171d}header .pills button[aria-pressed=true]{background:#f4ff65;color:#19171d}header .info,header .info:hover{padding:0;font-size:18px;font-weight:600;line-height:1;transform:none}
#top,#top:hover,#top:focus-visible{background:#33adef}
#detail{padding:53px 0 0}#detail .preview{margin:0 28px;padding:8px 12px 25px}#detail .detail-footer{background:#dcd0ff;border-top:2px solid #19171d;padding:24px 28px 25px;border-radius:0 0 16px 16px;box-shadow:none}#detail .detail-meta{padding:0;border:0;border-radius:0;background:none;box-shadow:none}#detail .detail-meta a,#detail .detail-meta a:hover{box-shadow:none;transform:none}#detail #source{margin-top:19px}
@media(max-width:700px){#detail{padding:52px 0 0}#detail .preview{margin:0 20px;padding:8px 0 22px}#detail .detail-footer{padding:20px}#detail .detail-meta{padding:0;gap:15px}}

#detail,#top,#top:hover,#top:focus-visible{box-shadow:none}#detail #source{text-decoration:underline;text-underline-offset:3px}.close:hover,#detail>.close:hover,#about-modal>.close:hover{transform:none}header .keyword-chip{display:inline-flex;align-items:center;gap:8px}header .keyword-chip>span{display:block;line-height:1}

/* Lighter popup frames and quiet controls. */
#about-modal,#detail{border-width:1px;box-shadow:none}
#about-modal h2{color:#33ADEF}
#about-modal h2 span{color:#278BCE;-webkit-text-stroke:0}
#about-modal .maker-note{background:none;border:0;border-radius:0;padding:0;transform:none;box-shadow:none}
#about-modal .maker-note p{margin:0}
header .search,header .suggestions{box-shadow:none}
header .info,header .info:hover{font-size:15px;font-weight:400}
header .shuffle,header .shuffle:hover,header .shuffle:active{transform:none;box-shadow:none;transition:background-color .15s}
header .shuffle:active{background:#5835c7}
#detail .detail-meta h2{margin-bottom:0}

/* Consistent one-pixel UI outlines and compact mobile navigation. */
header,header .search,header .suggestions,header .shuffle,header .theme-toggle,header .info,header .pills button,header .keyword-chip,#top,#about-modal,#detail,#about-modal>.close,#detail>.close,.about-stamp,#detail .detail-footer,#detail #download{border-width:1px}
header .theme-toggle{display:flex;align-items:center;justify-content:center;padding:0;line-height:1}
header .theme-toggle svg{display:block;flex:none;width:17px;height:17px;stroke-width:1.5}
.close svg,#top svg,.search-icon{stroke-width:1.5}
#detail{padding-top:36px}
#detail .preview{padding-top:0;padding-bottom:18px}
@media(max-width:700px){
 header{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px 8px;padding:12px 16px;min-height:0}
 header .logo{font-size:25px;letter-spacing:-1.5px;margin:0;min-width:0}
 header .shuffle{height:32px;padding:0 11px;font-size:11px}
 header .theme-toggle,header .info{width:30px;height:30px}
 header .search{grid-column:1/-1;grid-row:2;order:initial;width:100%;min-width:0;margin:0;min-height:38px}
 header .suggestions{width:100%;max-width:100%}
 #detail{padding-top:36px}
 #detail .preview{padding-top:0;padding-bottom:18px}
}
@media(max-width:350px){header{padding:11px 12px;column-gap:7px}header .logo{font-size:23px}header .shuffle{padding:0 9px}}

/* Joined search, translucent navigation, and a common two-pixel frame. */
header,header .search,header .suggestions,header .shuffle,header .theme-toggle,header .info,header .pills button,header .keyword-chip,#top,#about-modal,#detail,#about-modal>.close,#detail>.close,.about-stamp,#detail .detail-footer,#detail #download{border-width:2px}
header{background:rgba(255,253,246,.74);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
:root[data-theme=dark] header{background:rgba(20,19,23,.76)}
header .search{height:38px;min-height:38px;flex-wrap:nowrap;gap:5px;padding:4px 10px;isolation:isolate}
header .selected-keywords{display:flex;align-items:center;gap:4px;max-width:68%;overflow-x:auto;scrollbar-width:none;flex:0 1 auto;min-width:0}
header .selected-keywords::-webkit-scrollbar{display:none}
header .keyword-chip{flex:none;font-size:10px;line-height:1;padding:5px 7px;gap:6px;height:24px}
header .search input{min-width:45px;height:26px}
header .search.expanded{border-radius:10px 10px 0 0;border-bottom-color:transparent;background:#fffdf6}
header .suggestions{left:-2px;top:100%;width:calc(100% + 4px);max-width:none;border-top:0;border-radius:0 0 12px 12px;padding:15px 16px 17px;background:#fffdf6}
:root[data-theme=dark] header .search.expanded{background:#fffdf6;color:#19171d}
:root[data-theme=dark] header .search.expanded input{color:#19171d}
#about-modal{background:#fffdf6}
#about-modal .creator{color:inherit;font-weight:400;text-decoration-thickness:1px}
#detail{padding-top:0}
#detail .preview{height:min(55vh,490px);margin:0;padding:30px 48px}
#detail #download,#detail #download:hover{background:#33ADEF}
header .theme-toggle svg,.close svg,#top svg,.search-icon{stroke-width:3}
.loading-fan *{stroke-width:2.8}
@media(max-width:700px){header .search{height:38px;min-height:38px}#detail{padding-top:0}#detail .preview{height:44vh;margin:0;padding:30px 36px}}

/* Refined, lighter chrome and an editorial About layout. */
header,header .search,header .suggestions,header .shuffle,header .theme-toggle,header .info,header .pills button,header .keyword-chip,#top,#about-modal,#detail,#about-modal>.close,#detail>.close,.about-stamp,#detail .detail-footer,#detail #download{border-width:1px}
header .theme-toggle svg,.close svg,#top svg,.search-icon{stroke-width:1.5}
.loading-fan *{stroke-width:1.4}
header .search{height:42px;min-height:42px;padding:4px 10px}
header .suggestions{left:-1px;width:calc(100% + 2px)}
header .pills button,header .keyword-chip{height:30px;padding:7px 11px;font-size:12px;font-weight:400;line-height:14px;border-radius:20px;display:inline-flex;align-items:center;justify-content:center}
header .keyword-chip{gap:7px}
header .keyword-chip>span{width:12px;height:12px;display:flex;align-items:center;justify-content:center;flex:none}
header .keyword-chip svg{display:block;width:12px;height:12px;stroke-width:1.3}
#about-modal{padding:42px 34px 30px}
#about-modal .about-eyebrow{margin:0 0 24px;font-size:10px;letter-spacing:1.5px;font-weight:500;color:#675f6a}
#about-modal h2{padding:0;margin:0 100px 12px 0;font-size:48px;font-weight:750;line-height:1.04;letter-spacing:-2px;color:#19171d}
#about-modal .about-stamp{top:78px;right:32px;box-shadow:none}
#about-modal .about-copy{font-size:17px;margin:0 0 27px;color:#534b58}
#about-modal .about-help{font-size:13px;line-height:1.7;max-width:330px;margin:0 0 28px;color:#534b58}
#about-modal .maker-note{margin:0;padding:22px 0 0;border-top:1px solid #19171d20;border-radius:0}
#about-modal .maker-note p{font-size:13px}
#about-modal .credit{margin:15px 0 0;font-size:10px;line-height:1.8;color:#675f6a}
@media(max-width:700px){header .search{height:42px;min-height:42px}#about-modal{padding:40px 25px 26px}#about-modal h2{font-size:40px;margin-right:65px;letter-spacing:-1.5px}#about-modal .about-stamp{right:22px;top:80px}#about-modal .about-copy{font-size:16px}}

@media(max-width:380px){#about-modal h2{font-size:30px;letter-spacing:-1.2px;margin-right:58px}#about-modal .about-stamp{width:54px;height:54px;right:19px}#about-modal .about-stamp span{font-size:18px}}


body,button,input{font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif}
header{background:rgba(255,253,246,.66)}
:root[data-theme=dark] header{background:rgba(20,19,23,.68)}
dialog::backdrop{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
header .filter-control{position:relative;margin-left:auto;flex:none}
#filter-toggle{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 13px;border:1px solid var(--pop-ink);border-radius:9px;background:var(--pop-surface);color:var(--pop-ink);font-size:12px;font-weight:400}
#filter-toggle svg{width:16px;height:16px;stroke-width:1.5}
#filter-toggle svg circle{fill:var(--pop-surface)}
#filter-toggle:hover,#filter-toggle[aria-expanded=true]{background:var(--hover)}
#filter-count{display:grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:#f4ff65;color:#19171d;font-size:10px}
#filter-count[hidden]{display:none}
header .filter-control .suggestions{left:auto;right:0;top:calc(100% + 9px);width:300px;max-width:calc(100vw - 24px);border:1px solid #19171d;border-radius:12px;padding:18px}
#scroll-fade{position:fixed;inset:auto 0 0;height:65px;z-index:3;pointer-events:none;background:linear-gradient(transparent,rgba(255,255,255,.48));backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);mask-image:linear-gradient(transparent,#000);-webkit-mask-image:linear-gradient(transparent,#000)}
:root[data-theme=dark] #scroll-fade{background:linear-gradient(transparent,rgba(16,16,17,.55))}
#about-modal{padding:52px 34px 30px}
#about-modal h2,#about-modal .about-copy{font-size:23px;line-height:1.45;font-weight:400;letter-spacing:-.4px;color:#19171d;margin:0 100px 0 0;padding:0}
#about-modal .about-copy{margin-bottom:28px}
#about-modal .about-stamp{top:49px;right:30px}
#about-modal .about-help{margin-top:0}
@media(max-width:700px){header{display:flex;flex-wrap:nowrap;gap:8px;padding:12px 16px}header .logo{margin-right:auto;font-size:25px}header .filter-control{margin-left:0}#filter-toggle{height:32px;padding:0 10px;gap:5px}#filter-toggle svg{width:14px;height:14px}header .filter-control .suggestions{right:-115px}#about-modal{padding:52px 25px 26px}#about-modal h2,#about-modal .about-copy{font-size:20px;margin-right:66px;letter-spacing:-.3px}#about-modal .about-copy{margin-bottom:25px}#about-modal .about-stamp{right:20px;top:52px}}
@media(max-width:360px){header{padding:11px 10px;gap:6px}header .logo{font-size:21px;letter-spacing:-1.2px}header .shuffle{padding:0 8px;font-size:10px}#filter-toggle{padding:0 8px;font-size:11px}#filter-toggle svg{display:none}header .theme-toggle,header .info{width:28px;height:28px}}

@media(max-width:700px){header .filter-control .suggestions{position:fixed;top:calc(100% + 8px);left:12px;right:12px;width:auto;max-width:none}}

/* Icon-only actions and fixed brand blue. */
#filter-toggle,header .shuffle{position:relative;width:34px;height:34px;padding:0;display:flex;align-items:center;justify-content:center;flex:none}
#filter-toggle svg,header .shuffle svg{display:block;width:17px;height:17px;stroke-width:1.5;flex:none}
#filter-count{position:absolute;right:-5px;top:-5px;min-width:15px;height:15px;font-size:9px;border:1px solid var(--pop-ink)}
#top,#top:hover,#top:active,#top:focus-visible,#detail #download,#detail #download:hover,#detail #download:active,#detail #download:focus-visible{background:#33ADEF;opacity:1}
@media(max-width:700px){header .filter-control .suggestions{left:12px;right:12px}#filter-toggle,header .shuffle{width:32px;height:32px}}

/* Neutral glass and a single About headline. */
header{background:rgba(255,255,255,.66)}
:root[data-theme=dark] header{background:rgba(16,16,17,.68)}
#about-modal h2{font-size:26px;font-weight:700;line-height:1.35;letter-spacing:-.5px;margin:0 100px 28px 0;padding:0}
#about-modal .about-stamp{font-size:13px;letter-spacing:.7px}
#top,#top:hover,#top:active,#top:focus-visible{background:#f4ff65;opacity:1}
@media(max-width:700px){#about-modal h2{font-size:26px;font-weight:700;margin-right:66px}#about-modal .about-stamp{font-size:10px}}

/* Floating gallery controls. */
header .logo{margin-right:auto}
#gallery-actions{position:fixed;z-index:6;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:12px}
#gallery-actions .filter-control{position:relative}
#gallery-actions #filter-toggle,#gallery-actions #shuffle{display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid var(--ink);border-radius:50%;background:var(--glass);color:var(--ink);box-shadow:none;transform:none;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
#gallery-actions svg{width:19px;height:19px;stroke-width:1.5}
#gallery-actions #filter-toggle svg circle{fill:var(--surface)}
#gallery-actions .suggestions{position:absolute;top:auto;bottom:calc(100% + 13px);left:50%;transform:translateX(calc(-50% + 29px));width:300px;max-width:calc(100vw - 24px);padding:18px;background:var(--surface);border:1px solid var(--ink);border-radius:14px;box-shadow:none}
#gallery-actions .suggestions p{font-size:10px;text-transform:uppercase;letter-spacing:.5px}
#gallery-actions .pills button{height:31px;padding:7px 11px;font-size:12px;border:1px solid var(--ink);background:var(--surface);color:var(--ink)}
#gallery-actions .pills button[aria-pressed=true]{background:#f4ff65;color:#19171d;border-color:#19171d}
#gallery-actions #filter-count{border-color:var(--ink)}
header .theme-toggle,header .theme-toggle:hover,header .info,header .info:hover{transform:none}
header .theme-toggle:hover{background:#000;color:#fff}
:root[data-theme=dark] header .theme-toggle:hover{background:#fff;color:#000}
body,header,#scroll-fade,#gallery-actions button,#gallery-actions .suggestions,#gallery-actions .pills button{transition:background-color .35s ease,color .35s ease,border-color .35s ease}
#theme-toggle svg{animation:theme-icon-in .3s ease}
@keyframes theme-icon-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body,header,#scroll-fade,#gallery-actions button,#gallery-actions .suggestions,#gallery-actions .pills button{transition:none}#theme-toggle svg{animation:none}}

header .info,header .info:hover{background:transparent;color:var(--pop-ink)}
#detail #download,#detail #download:hover,#detail #download:active,#detail #download:focus-visible{border-radius:24px;background:#7551ed;color:#fff;box-shadow:none;opacity:1;font-weight:500}
#gallery-actions .suggestions{width:350px}
#gallery-actions .pills{display:grid;grid-template-columns:repeat(3,max-content);gap:7px}
#gallery-actions .pills button{padding:7px 9px;font-size:11px}
.about-stamp span{font-size:21px}
@media(max-width:700px){#gallery-actions #filter-toggle,#gallery-actions #shuffle{width:50px;height:50px}#gallery-actions .suggestions{max-width:calc(100vw - 16px);padding:14px 10px}#gallery-actions .pills{gap:6px}#gallery-actions .pills button{padding:7px 8px;font-size:10px}.about-stamp span{font-size:17px}}

:root[data-theme=dark] header .info,:root[data-theme=dark] header .info:hover{color:#f5f5f7;background:transparent}
header .theme-toggle:hover{background:transparent;color:var(--pop-ink)}
:root[data-theme=dark] header .theme-toggle:hover{background:transparent;color:#f5f5f7}
@media(hover:hover) and (pointer:fine){header .theme-toggle:hover{background:#000;color:#fff}:root[data-theme=dark] header .theme-toggle:hover{background:#fff;color:#000}}
#detail .detail-footer{background:#fffdf6}
#detail .source-line{margin:18px 0 0;color:#675873;font-size:11px;line-height:1.5}
#detail .source-line #source{margin:0;font-size:inherit}
#detail #download{display:inline-flex;align-items:center;justify-content:center;line-height:1;height:36px;padding:0 16px}
#detail>.close:hover,#about-modal>.close:hover{background:#fff;color:#19171d;transform:none}
#about-modal .about-stamp{font-size:16px;letter-spacing:.2px}
#gallery-actions .suggestions{width:max-content;padding:18px;max-width:calc(100vw - 24px)}
#gallery-actions .pills{display:flex;flex-wrap:wrap;width:274px;gap:7px}
#gallery-actions .pills button{flex:1 0 auto;font-size:11px;padding:7px 9px}
#gallery{transition:opacity .16s ease}
#gallery.reshuffling{opacity:.25}
@media(max-width:700px){#gallery-actions .suggestions{padding:14px 12px}#gallery-actions .pills{width:260px;gap:6px}#gallery-actions .pills button{font-size:10px;padding:7px 8px}#about-modal .about-stamp{font-size:12px}}
@media(prefers-reduced-motion:reduce){#gallery{transition:none}}

/* Natural-width pills with identical horizontal padding. */
#gallery-actions .pills{display:flex;flex-wrap:wrap;width:274px;gap:7px;justify-content:flex-start}
#gallery-actions .pills button{flex:0 0 auto;width:auto;padding:7px 10px}
#gallery-actions #filter-toggle,#gallery-actions #shuffle{background:rgba(255,255,255,.66);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
:root[data-theme=dark] #gallery-actions #filter-toggle,:root[data-theme=dark] #gallery-actions #shuffle{background:rgba(16,16,17,.68)}
@media(max-width:700px){#gallery-actions .pills{width:260px;gap:6px}#gallery-actions .pills button{padding:7px 10px}}

#gallery-actions .pills{width:290px}
@media(max-width:700px){#gallery-actions .pills{width:min(290px,calc(100vw - 52px))}}

#gallery-loading{display:grid;place-items:center;min-height:55vh;color:#33ADEF}#gallery-loading[hidden]{display:none}#gallery-loading svg{width:38px;height:38px;fill:currentColor;stroke:none}.spinner-blades{transform-origin:24px 24px;animation:gallery-fan-spin .9s linear infinite}@keyframes gallery-fan-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner-blades{animation:none}}

/* Reserve the scrollbar from the first frame to avoid a second packing pass. */
html{overflow-y:scroll;scrollbar-gutter:stable}
main{position:relative}
#gallery-loading{position:absolute;top:0;left:0;width:100%;min-height:55vh;pointer-events:none}
