/* Site styles: one file, in cascade order (later sections override earlier ones).
   Merged from the old inline <style> block and redesign, mobile, spacing, sort-menu, shared-search,
   glass-theme and flair stylesheets; declarations that a later rule always overrode were removed. */

/* ==== font ==== */
/* Inter, self-hosted (SIL Open Font License, see /fonts/Inter-LICENSE.txt). One variable file covers every weight. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-latin-var.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==== index.html (former inline styles) ==== */
:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#f3f1ff;background:#0b1021}
*{box-sizing:border-box}body{margin:0;min-height:100vh}
main{margin:auto}
.hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
h1{font-size:clamp(28px,4vw,49px);line-height:1.08;letter-spacing:-.035em;margin:9px 0}
.hero-logo{flex:none;object-fit:cover;border:2px solid #837be5;box-shadow:0 8px 25px #0005;z-index:1}
.suggest strong{margin-bottom:10px}.suggest-form{display:flex;align-items:center}.suggest input,.search{width:100%;min-width:0;font:inherit}
button{font:inherit;cursor:pointer}
.message{grid-column:1/-1;min-height:0}.message:empty{display:none}
#matches{grid-column:1/-1}#matches:empty{display:none}
.stats{justify-content:space-between;font-size:12px}.pill{background:#2d2550;color:#e4d3ff;border-radius:999px;font-weight:800}
.boards{display:grid}
.main-column{min-width:0;display:flex;flex-direction:column}
.column{min-width:0}
.heading{display:flex;justify-content:space-between;gap:12px}.heading p{margin:3px 0 0}
.count-badge{border-radius:999px;white-space:nowrap}
.items{display:flex;flex-direction:column}.item{display:flex;align-items:center;min-width:0}
.rank{text-align:center}

.info{flex:1;min-width:0}.name{overflow-wrap:anywhere}.bar{border-radius:99px;overflow:hidden}.fill{height:100%;border-radius:99px}
.vote-count{white-space:nowrap;text-align:right}.vote{flex:none}
.arrow{text-align:center;text-shadow:0 0 14px #52f4ae77}
.check{color:#4ee7a2;font-weight:900;flex:none}.subline{font-size:10px;color:#a2d7c4;margin-top:4px}.date{text-align:right;color:#b5d4c8;max-width:82px;flex:none}
.more{width:100%;padding:11px}
.daily-allowance{display:flex;flex-direction:column;align-items:flex-start}.community{display:flex;flex-direction:column;gap:3px}
.community strong{font-variant-numeric:tabular-nums}
.more[hidden]{display:none}
@media(max-width:950px){.arrow{transform:rotate(90deg);margin:0}}
@media(max-width:610px){h1{font-size:27px}.thumb-link,.vote{padding:9px 10px;min-width:48px;font-size:11px}.votes-word{display:none}}

/* Layout refresh: visual and responsive changes only, voting API unchanged. */
.hero-logo{width:92px;height:92px;border-radius:22px}
.pill{border:1px solid #5d478e88;padding:9px 14px}
.suggest{gap:13px;margin-bottom:18px;border-color:#393d60}
.suggest input,.search{transition:border-color .15s,box-shadow .15s}
/* Two columns only: the old three-track layout squeezed Completed Models. */
.rank{font-variant-numeric:tabular-nums}
.vote-count{font-variant-numeric:tabular-nums}
.arrow{margin-top:90px;font-size:31px;align-self:start;color:#76ead1}
.finished .item{border-color:#215448}
.check{width:19px;font-size:21px}
.date{font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums}
.footer{padding-top:27px}
@media(max-width:980px){
 .arrow{display:none}
 .section-nav{gap:8px;margin:0 0 15px}
 .section-nav a{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:43px;border:1px solid #4d4674;border-radius:11px;background:#191e3a;color:#e1d8ff;text-decoration:none;font-size:13px;font-weight:750;padding:9px 12px}
 .section-nav a:last-child{border-color:#2b6157}
 .section-nav a:active{transform:translateY(1px)}
}
@media(max-width:610px){
 .stats{font-size:11px}
 .pill{padding:8px 10px;white-space:nowrap}
 .suggest{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:15px}
 .suggest strong{grid-column:1/-1}
 .suggest input{grid-column:1}
 .heading{gap:8px}
 .date{font-size:10px;max-width:83px;text-align:right}
 .section-nav a{font-size:12px}
}
@media(max-width:360px){
 .hero-logo{width:58px;height:58px}
 .suggest{grid-template-columns:minmax(0,1fr)}
 .suggest strong,.suggest input{grid-column:1}
 .suggest button{width:100%}
 .date{max-width:68px}
}
.hero-brand{display:flex;flex-direction:column;align-items:flex-end;gap:14px;flex:none;position:relative;z-index:1}
.social-links{justify-content:flex-end;max-width:100%}
.social-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:transform .15s,filter .15s}
.social-link img{object-fit:contain;flex:none}
.social-link.coffee:hover{filter:none}
.social-link:active{transform:translateY(1px)}
@media(max-width:800px){
 .hero{grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:18px}
 .hero-brand{display:contents}
 .hero-logo{grid-column:2;grid-row:1;justify-self:end;width:68px;height:68px;border-radius:16px}
 .social-links{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .social-link{min-width:0;text-align:center;line-height:1.3}
}
@media(max-width:480px){
 .hero{column-gap:10px;row-gap:16px}
 .hero-logo{width:56px;height:56px;border-radius:14px}
 .hero .kicker{font-size:9px;letter-spacing:.08em;line-height:1.5}
 .social-link{flex-direction:column}
}
/* Tactile vote tokens. */
.vote{position:relative;isolation:isolate}
.vote.is-pending{cursor:wait;animation:vote-pulse .7s ease-in-out infinite alternate}
/* After a vote: a +1 floats up from the count (see showPlusOne), the number pops and the bar grows. */
#leaderboard .items .item .vote-count{position:relative}
#leaderboard .items .item .vote-count.is-bumped{animation:count-bump .5s cubic-bezier(.3,1.6,.5,1)}
.count-plus{position:absolute;z-index:60;pointer-events:none;color:#baffdf;font-size:18px;font-weight:900;line-height:1;white-space:nowrap;text-shadow:0 1px 6px #0b1021,0 0 10px #4ee7a266;opacity:0;animation:count-plus 1s ease-out forwards}
.fill.is-growing{animation:fill-grow .6s cubic-bezier(.25,1,.5,1)}
@keyframes count-bump{0%{transform:scale(1)}40%{transform:scale(1.35);color:#baffdf}100%{transform:scale(1)}}
@keyframes count-plus{0%{opacity:0;transform:translate(-50%,-40%) scale(.6)}25%{opacity:1;transform:translate(-50%,-115%) scale(1.15)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-210%) scale(1)}}
@keyframes fill-grow{from{width:var(--from)}}
@keyframes vote-pulse{to{filter:brightness(1.25)}}
@media(prefers-reduced-motion:reduce){
 .item,.submit,.vote,.suggest input,.search{transition:none}
 .vote,.vote:not(:disabled):hover,.vote:not(:disabled):active{animation:none}
 #leaderboard .items .item .vote-count.is-bumped,.fill.is-growing{animation:none}
 .count-plus{display:none}.social-link:hover,.social-link:active{transform:none}
}

.ranking-tabs{display:flex;gap:6px;margin:0 0 8px}.ranking-tabs button{border:1px solid #52466f;border-radius:10px;padding:9px 16px;color:#d7cceb;background:#202540;font-weight:750;min-height:40px}.ranking-tabs button[aria-pressed=true]{background:#6843a7;border-color:#b48be9;color:#fff}.ranking-note{font-size:11px;color:#b8b2cf;margin:0 0 12px;line-height:1.5}
.request-details{font-size:11px;font-weight:400;line-height:1.45}.request-details summary{cursor:pointer}.request-details[open] div{margin-top:5px}
.model-links{display:flex;flex-wrap:wrap;gap:6px}.model-link{display:inline-flex;align-items:center;text-decoration:none}
.daily-allowance{min-width:0}.daily-allowance .pill{white-space:normal;line-height:1.4}
/* Reduce repeated text while preserving the colorful leaderboard design. */
#rankingNote{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.section-nav{justify-content:flex-end}
.section-nav a:first-child{display:none}
.section-nav a:last-child{flex:none;min-height:36px;padding:6px 2px;border:0;background:none;font-size:12px;font-weight:500;color:#b8c9c4}
@media(max-width:610px){
 .hero .kicker{font-size:9px;letter-spacing:.09em}
 .hero-logo{width:44px;height:44px;border-radius:12px;border-width:1px}
 .social-link{flex-direction:row}.section-nav{margin-bottom:8px}
}
/* Keep period controls in the heading instead of a separate toolbar. */
.leaderboard-heading{align-items:center;min-height:0;flex-wrap:wrap;gap:8px}
.leaderboard-heading .ranking-tabs{flex:none}
@media(max-width:360px){.leaderboard-heading h2{font-size:16px}}

/* ==== redesign.css ==== */
/* Flojo064 voting site — EasyUI-inspired dark surfaces and micro-interactions.
   Static CSS adaptations of the visual ideas (no React runtime or database changes). */
:root { --ui-raised:#15171c; --ui-muted:#9697a4;
  --ui-violet:#b6a1ff; --ui-accent:#997bff; --ui-mint:#9ce3c3;
}
html {scroll-behavior:smooth;scroll-padding-top:95px}
body {
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
button,a,input{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
  outline:2px solid #c7b7ff; outline-offset:3px;
}

/* Glass nav + pill navigation: adapted from EasyUI's GlassNavbar/Pill Navigation. */
.site-header {z-index:15;display:flex;align-items:center;
  justify-content:space-between;
  -webkit-backdrop-filter:blur(20px);
}
.site-brand {display:flex;align-items:center;gap:11px;text-decoration:none;min-width:0}
.brand-mark {overflow:hidden;flex:none}
.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.brand-copy{display:flex;flex-direction:column;gap:1px;line-height:1.2}
.brand-copy small{font-size:9px;letter-spacing:.13em;color:#848690;font-weight:700}
.site-nav{display:flex}
.site-nav a{text-decoration:none;transition:color .2s,background .2s,box-shadow .2s;white-space:nowrap}
.site-nav a:hover,.site-nav a:focus-visible{color:#fff;background:#31313a}
.header-status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px;margin-right:7px}
.status-dot,.kicker-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#b5e8c9;box-shadow:0 0 0 4px #94c9a514,0 0 15px #85ebc67a}

/* Minimal hero with a restrained glow and dot-field texture. */
.hero {
  position:relative;align-items:center;justify-content:space-between;
  gap:30px;margin-bottom:15px;
}
.hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.38;
  background-image:radial-gradient(#9290a7 1px,transparent 1px);
  background-size:23px 23px;
  mask-image:linear-gradient(90deg,transparent 27%,#000 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 27%,#000 100%);
}
.hero:after{width:270px;height:270px;top:18px;right:64px;background:#b9a5ff0f;filter:blur(60px)}
.hero-copy{position:relative;z-index:1}
.kicker{align-items:center;gap:10px;color:#b9b0cb;font-size:10px;letter-spacing:.2em;font-weight:750}
.gradient{-webkit-background-clip:text;background-clip:text}
.hero p{display:block}
.hero-actions{align-items:center;flex-wrap:wrap}
.hero-cta{display:inline-flex;align-items:center;gap:15px;justify-content:center;text-decoration:none;transition:transform .2s,background .2s}
.hero-cta:hover{transform:translateY(-2px)}
.hero-secondary{display:inline-flex;align-items:center;gap:9px;text-decoration:none;padding:9px 4px}
.hero-secondary:hover{color:#fff}
.hero-art{z-index:1;position:relative;width:190px;height:190px;flex:none;place-items:center}
.hero-art:before,.hero-art:after{content:"";position:absolute;inset:5px;border:1px solid #9f8dc43f;border-radius:50%;box-shadow:inset 0 0 26px #8074a317}
.hero-art:after{inset:-14px;border-color:#d1c0ff1d;border-style:dashed;box-shadow:none;animation:orbit 65s linear infinite}
.hero-art .hero-logo{position:relative;z-index:1;width:107px;height:107px;border-radius:28px;border:1px solid #857398;box-shadow:0 0 0 10px #947db317,0 15px 40px #0009}
@keyframes orbit{to{transform:rotate(360deg)}}

/* Three quiet insight cards keep the all-time, daily and personal counts visible. */
.stats{color:var(--ui-white)}
.stat-panel{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.stat-panel strong,.stat-panel .pill{font-variant-numeric:tabular-nums}
.stat-panel .pill{background:none;padding:0;border:0;border-radius:0}
.daily-allowance{gap:5px}
.community{align-items:flex-start;text-align:left}
.community strong,.community span{color:#f1efff;font-size:14px}
.section-nav{display:none!important}

/* Leaderboard remains primary; completions are a smaller companion column. */
.main-column{gap:15px}
.column.active,.column.finished{border-color:var(--ui-edge)}
.heading{align-items:center;min-height:0;margin-bottom:15px}
.heading h2,.finished .heading h2{line-height:1.17;margin:0;color:#f8f7fb}
.heading p,.finished .heading p{display:block;font-size:11px;line-height:1.45;margin-top:7px}
.leaderboard-heading .count-badge,.count-badge,.finished .count-badge{
  display:inline-block;margin-top:5px;padding:0;background:none;color:#858894;font-size:11px;font-weight:500;
}
.leaderboard-heading{margin-bottom:15px}
.leaderboard-heading .ranking-tabs{
  gap:3px;margin:0;
}
.leaderboard-heading .ranking-tabs button{background:transparent;transition:color .2s,background .2s,box-shadow .2s,transform .2s;
}
.leaderboard-heading .ranking-tabs button:hover{color:#fff}
.leaderboard-heading .ranking-tabs button[aria-pressed="true"]{background:#ededf1;color:#1b1a20;box-shadow:0 2px 8px #0005}
.search,.suggest input{
  padding:13px 15px;color:#f8f8fd;outline:0;
}
.search::placeholder,.suggest input::placeholder{color:#82838e}
.search:focus,.suggest input:focus,.search:focus-visible,.suggest input:focus-visible{
  border-color:#a896ec;box-shadow:0 0 0 3px #a18ff123;
}
.item,.finished .item{
  position:relative;overflow:hidden;
  transition:background .2s,border-color .2s,transform .2s;
}
.rank{height:30px;display:grid;place-items:center;border-radius:8px;flex:none}
.fill{transition:width .3s ease}
.vote-count{min-width:34px}
.votes-word{font-weight:550}
/* Neon Edge Button (subtle default; visible halo on hover). */
.vote,.submit{transform:none;transition:transform .18s,box-shadow .18s,filter .18s;
}
.vote:disabled,.submit:disabled{cursor:not-allowed;box-shadow:none;transform:none;opacity:.48}
.vote.is-voted{opacity:1}
.vote.is-pending{opacity:1}
/* Unfold-style progressive disclosure without adding new dependencies. */
.more,.finished .more{
  transition:background .2s,border-color .2s;
}
.more:hover,.finished .more:hover{border-color:#696077}
.more:disabled{opacity:.45;cursor:not-allowed}
.request-details{margin-top:6px;color:#aeb0ba}
.request-details summary{color:#aeb0ba;font-size:10px}
.request-details[open] div{padding:5px 0 1px;line-height:1.6}
.finished .check{place-items:center;border-radius:8px}
.finished .request-details{color:#9cb4a8}
.model-links{margin-top:9px}

/* Suggestion form is secondary, but its submission is unmistakable. */
.suggest{display:block;margin:0}
.suggest-lead{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.suggest-icon{display:grid;place-items:center;width:36px;height:36px;font-size:21px;line-height:1}
.suggest strong{display:block;margin:0 0 4px}
.suggest p{margin:0}
.suggest input{flex:1;min-height:44px}
.submit{padding:11px 19px;white-space:nowrap}
.message{margin-top:9px;color:#d5c3ff;font-size:12px}
#matches{margin-top:5px}

/* Footer retains the creator links but no longer competes with voting. */
.footer{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;padding:30px 3px 10px;line-height:1.6;border-top:1px solid #26272d;margin-top:28px}
.footer strong{color:#d4d1db}
.social-links{display:flex;flex-direction:row;gap:7px}
.social-link,.social-link.coffee,.social-link.makerworld,.social-link.instagram{
  min-height:35px;padding:8px 10px;gap:7px;border-radius:10px;color:#b5b5c1;box-shadow:none;font-size:10px;white-space:nowrap;
}
.social-link img{width:16px;height:16px}
.social-link.coffee img,.social-link.instagram img{filter:none}
.social-link:hover{transform:translateY(-1px);filter:none;background:#22232a;color:#fff;border-color:#4f4a63}
.social-label-full{display:inline}.social-label-short{display:none}

@media(max-width:980px){
 .hero-art{width:145px;height:145px}.hero-art:after{inset:-8px}
 .hero-art .hero-logo{width:85px;height:85px}
 .header-status{display:none}
}
@media(max-width:680px){.brand-copy small{font-size:8px}
 .site-nav{flex:none}
 .hero{gap:0;margin-bottom:12px}
 .kicker{font-size:9px;letter-spacing:.15em}
 .stat-panel strong,.stat-panel .pill,.community strong,.community span{font-size:13px}
 .footer{flex-direction:column;align-items:flex-start;padding:21px 2px 0;gap:15px}
 .social-links{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .social-link,.social-link.coffee,.social-link.makerworld,.social-link.instagram{justify-content:center;white-space:normal;text-align:center;padding:8px 5px}
 .social-label-full{display:none}.social-label-short{display:inline}
}
@media(max-width:410px){
 .site-header{justify-content:center}
 .site-brand{margin-right:auto}
 .site-nav{width:100%;justify-content:space-between}
 .site-nav a{flex:1;text-align:center}
 .suggest input{padding:10px}
 .submit{padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .hero-art:after,.vote.is-pending{animation:none}
 .site-nav a,.hero-cta,.item,.finished .item,.vote,.submit,.more,.social-link,.leaderboard-heading .ranking-tabs button{transition:none!important;transform:none!important}
}

/* A quieter, gallery-like direction based on the EasyUI homepage. */
:root{--ui-bg:#080808;--ui-card:#171717;--ui-edge:#292929;--ui-white:#f5f5f5}
main{max-width:1210px;padding:28px 30px 48px}
.site-header{position:relative;top:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.brand-mark{border:0;background:none;border-radius:50%;width:34px;height:34px}
.brand-copy small{display:none}.brand-copy strong{font-size:17px;font-weight:600;letter-spacing:-.6px}
.site-nav{gap:4px}.site-nav a{font-size:12px;color:#949494;padding:10px 15px}
.site-nav a.is-current{box-shadow:none}
.header-status{font-weight:400;color:#8a8a8a}.status-dot{box-shadow:none;width:5px;height:5px}
.hero{display:block;min-height:0}
.hero:before,.hero:after,.hero-art,.kicker{display:none}
.hero-copy{max-width:none}.hero h1{max-width:none}
.gradient{background:none;color:#f5f5f5;-webkit-text-fill-color:initial}
.hero-actions{justify-content:center}
.hero-cta{font-size:12px;box-shadow:none}
.hero-secondary{font-size:12px}
.stat-panel{background:#171717;box-shadow:none}
.stat-label,.community .stat-label{color:#858585;font-weight:400}
.stat-panel .pill,.stat-panel strong,.community strong{letter-spacing:-.5px;color:#eee}
.reset-note{color:#747474}
.boards{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)}
.column,.column.active,.column.finished,.suggest{background:#171717;border:0;border-radius:26px;box-shadow:none;padding:28px}
.heading h2,.finished .heading h2{font-size:21px}.heading p,.finished .heading p{color:#797979}
.leaderboard-heading .ranking-tabs button{color:#888}
.search,.suggest input{border:1px solid #333;font-size:12px}
.search{margin-top:8px;margin-bottom:16px}
.item,.finished .item{border-bottom:1px solid #2a2a2a;box-shadow:none}
.active .item:hover,.finished .item:hover{transform:none}
.rank,.gold .rank,.silver .rank,.bronze .rank{background:none;color:#818181;font-size:12px;font-weight:400;width:20px}
.name,.finished .name{color:#e1e1e1}
.vote-count{color:#eee}.votes-word{font-size:9px}
.more,.finished .more{min-height:39px;margin-top:20px;font-size:11px}
.suggest{margin-top:4px}.suggest-icon{border:0;border-radius:50%}
.suggest strong{font-size:15px}.suggest p{font-size:11px;color:#808080}.suggest-form{gap:12px}
.footer{font-size:10px}.social-link,.social-link.coffee,.social-link.makerworld,.social-link.instagram{background:none;border:0;font-weight:400}
@media(max-width:980px){.boards{grid-template-columns:1fr}}
@media(max-width:680px){.header-status{display:none}.site-nav a{padding:8px;font-size:10px}.stat-panel:first-child{grid-column:1/-1}.column,.suggest{border-radius:23px}.hero-secondary{font-size:11px}}

/* Soft color accents, with charcoal surfaces remaining dominant. */
.hero-follow{display:flex;align-items:center;justify-content:center}
.follow-label{font-size:10px;white-space:nowrap}
.hero-socials{display:flex;flex-direction:row;width:auto;max-width:none}
.hero-socials .social-link{background:none;font-size:11px;white-space:nowrap}
.hero-socials .social-link:hover{background:none;transform:none}
.hero-socials .social-label-full{display:none}.hero-socials .social-label-short{display:inline}
@media(max-width:410px){.hero-follow{flex-direction:column}}
.site-header{flex-wrap:wrap}
.header-socials{display:flex;gap:5px;width:auto;max-width:none}
.header-socials .social-link{border:1px solid #2e2b33;background:#19171c;border-radius:99px;padding:8px 11px;min-height:34px;font-size:10px;color:#bcb4c8;white-space:nowrap}
.header-socials .coffee{color:#c9bd9d}.header-socials .makerworld{color:#afc4b7}.header-socials .instagram{color:#c7b3ce}
.header-socials .social-link:hover{background:#26222c;border-color:#51465d;color:#eee}
.header-socials .social-link img{width:14px;height:14px}
.header-socials .social-label-full{display:none}.header-socials .social-label-short{display:inline}
@media(max-width:980px){.site-header .header-socials{width:100%;justify-content:center;display:flex;margin-top:7px}}
@media(max-width:410px){.site-header .site-nav{order:3}.site-header .header-socials{order:2;margin:4px 0}.header-socials .social-link{padding:8px 13px}}
.hero .gradient{background:linear-gradient(100deg,#e2d8f4 15%,#c0ace4 52%,#aec7e5 90%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.hero-cta:hover{background:#f0eaf8}
.status-dot{background:#a2bfae}
.fill{box-shadow:none}
.search:focus,.suggest input:focus{border-color:#7c6b90;box-shadow:0 0 0 3px #a18ff114}

/* Same palette and controls, with clearer color. */.model-link:hover{color:#c1e8d0}

/* Existing site's navy, violet, cyan and emerald palette; new layout retained. */
body{color:#f3f1ff}
.hero .gradient{background-image:linear-gradient(90deg,#edb0ff,#8bc9ff)}
.hero-cta{color:#21183b}
.stat-panel:first-child{background:linear-gradient(120deg,#2d2550,#171d36)}
.stat-panel:nth-child(2){background:linear-gradient(120deg,#17335b,#141b33)}
.stat-panel:nth-child(3){background:linear-gradient(120deg,#123a32,#0c1e23)}
.stat-panel:first-child .pill{color:#e4d3ff}.stat-panel:nth-child(2) strong{color:#c4e2ff}.stat-panel:nth-child(3) strong{color:#a6f6d4}
.column.active{background:linear-gradient(160deg,#171d47,#10152d)}
.column.finished{background:linear-gradient(160deg,#092a27,#0c1e23)}
.suggest{background:#141b33}
.active .item{border-bottom-color:#323a67}.active .item:hover{background:#22274c;border-color:#6b609c}
.finished .item{border-bottom-color:#215448}.finished .item:hover{background:#123a32;border-color:#215448}
.gold .rank{color:#ffd371}.silver .rank{color:#d7dced}.bronze .rank{color:#eeb393}
.vote,.submit{border-color:#a78afa}
.more{color:#ccb3ff}.more:hover{background:#292647}
.finished .more{color:#b6f7db}.finished .more:hover{background:#163f37}
.suggest-icon{background:#2d2550;color:#d8bbff}
.footer{border-color:#383953;color:#888da7}

/* Refined vote pills: quiet depth, clear edges, no decorative motion. */
.ballot-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.vote:focus-visible{outline:2px solid #dac6ff;outline-offset:3px}

/* Shared treatment for the selected period and voting controls. */
.leaderboard-heading .ranking-tabs button,.vote,.submit{border:0;font-size:11px;letter-spacing:0;text-shadow:none;box-shadow:none;line-height:1.2}
.leaderboard-heading .ranking-tabs button,.vote{padding:8px 16px}
.leaderboard-heading .ranking-tabs button[aria-pressed=true],.vote,.submit{box-shadow:none}
.vote:not(:disabled):hover,.submit:not(:disabled):hover,.leaderboard-heading .ranking-tabs button[aria-pressed=true]:hover{background:#7b52bc;border:0;box-shadow:none;transform:none;filter:none}
.vote:not(:disabled):active,.submit:not(:disabled):active{background:#59388f}

/* Original site's visual treatment, on the approved preview structure. */
body{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.hero-cta{border-radius:11px;font-weight:750;background:linear-gradient(135deg,#ead3ff,#bddcff)}
.hero-secondary{font-weight:750;color:#e3d5ff}
.hero-follow{flex-wrap:wrap}.follow-label{color:#c3b9dc}
.hero-socials{flex-wrap:wrap;justify-content:center}
.hero-socials .social-link{border:1px solid #ffffff12;border-radius:12px;color:#fff;font-weight:750;gap:7px}
.hero-socials .coffee{background:#92711b}.hero-socials .makerworld{background:#3c7868}.hero-socials .instagram{background:linear-gradient(120deg,#922cb5,#ae363c)}
.hero-socials .social-link:hover{color:#fff;filter:brightness(1.1)}
.hero-socials .social-link img{width:18px;height:18px;opacity:1}
.site-nav{border:1px solid #454164;background:#191e35;border-radius:12px;padding:4px}
.site-nav a{border-radius:8px;font-weight:700}.site-nav a.is-current{background:#6843a7;color:white}
.stat-panel{border:1px solid #383869}.stat-panel:nth-child(3){border-color:#215448}
.stat-panel strong,.stat-panel .pill,.community strong{font-weight:800}
.column.active{border:1px solid #383869;border-top:3px solid #a76bfa;border-radius:23px}
.column.finished{border:1px solid #17564c;border-top:3px solid #46d29d;border-radius:23px}
.heading h2,.finished .heading h2{font-weight:800;letter-spacing:-.025em}
.items{gap:8px}
.item{border:1px solid #323a67;border-radius:12px;background:#1a2040;padding:12px 13px;min-height:68px;gap:11px}
.rank{width:24px;font-size:18px;font-weight:850}
.name,.finished .name{font-size:13px;font-weight:750;line-height:1.4}
.vote-count{font-size:18px;font-weight:850}.votes-word{color:#a5a9c3}
.bar{height:7px;margin-top:9px;background:#303752}
.fill{background:linear-gradient(90deg,#f15fe4,#a65aff,#48c7f5)}
.search,.suggest input{border-radius:10px;border-color:#424763;background:#171a31}
.leaderboard-heading .ranking-tabs{border:1px solid #52466f;border-radius:11px;background:#202540;padding:4px}
.leaderboard-heading .ranking-tabs button{border-radius:8px;font-weight:750;min-height:33px}
.leaderboard-heading .ranking-tabs button[aria-pressed=true]{background:#6843a7;color:#fff}
.vote,.submit{border:1px solid #d2b4ff;border-radius:12px;background:linear-gradient(145deg,#a65eea,#6940ce);color:#fff;font-weight:800;min-height:42px;box-shadow:0 3px 0 #402374,inset 0 1px #ffffff20;text-shadow:0 1px 2px #381364}
.vote:not(:disabled):hover,.submit:not(:disabled):hover{border:1px solid #d2b4ff;background:linear-gradient(145deg,#bd79ff,#8053e7);box-shadow:0 3px 0 #402374;transform:none}
.vote:not(:disabled):active,.submit:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px 0 #402374}
.vote.is-voted{text-shadow:none}
.finished .check{width:22px;height:auto;background:none;font-size:23px;color:#4ee7a2;font-weight:900}
.model-link{min-height:30px;padding:5px 9px;border:1px solid #3d7962;border-radius:7px;background:#174539;color:#c4ffe1;font-weight:700;font-size:10px}.model-link:hover{background:#235d4d}
.more,.finished .more{border:1px solid #4c4373;border-radius:10px;background:transparent;font-weight:700}.finished .more{border-color:#315d54}
.suggest{border:1px solid #383953;border-radius:17px}.suggest strong{font-weight:750}
@media(max-width:680px){.column,.suggest{padding:17px}}
@media(prefers-reduced-motion:reduce){.vote:not(:disabled):active,.submit:not(:disabled):active{transform:none}}

/* Compact hero, retaining its centered composition and all links. */
.hero p{text-wrap:balance}
.hero-actions{margin-top:18px;gap:20px}
.hero-cta{min-height:38px;padding:10px 18px}
.hero-socials .social-link{min-height:34px;padding:7px 11px}
@media(max-width:680px){.hero{margin-top:14px}.hero-actions{margin-top:15px;gap:12px}.hero-socials .social-link{font-size:10px;padding:7px 9px}}

/* Fewer competing controls within the same compact banner. */
.stats{margin-bottom:16px}
.stat-panel{min-height:0;padding:13px 18px;gap:5px;border-radius:14px}
.stat-panel strong,.stat-panel .pill,.community strong{font-size:15px;line-height:1.35}
.stat-label,.community .stat-label{font-size:9px;letter-spacing:.08em}
.reset-note{font-size:10px;line-height:1.3}
@media(max-width:680px){.stat-panel,.stat-panel:first-child{min-height:0;padding:12px 14px}.stat-panel strong,.stat-panel .pill,.community strong{font-size:14px}}
.site-header .top-socials{margin-left:auto;display:flex;width:auto;justify-content:flex-end}
@media(max-width:410px){.site-header .top-socials{width:100%;justify-content:flex-end}}
.hero-actions{display:none}
.hero h1{margin-bottom:17px}
.hero-follow{margin-top:26px;gap:14px}
.hero-socials{gap:10px}
@media(max-width:680px){.hero h1{margin-bottom:16px}.hero-follow{margin-top:23px}.hero-socials{gap:9px}}

/* Ballot-inspired action: a checked choice beside an explicit label. */
.vote{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.vote-check{display:inline-grid;place-items:center;width:17px;height:19px;border:0;background:none;color:#fff;font-size:17px;font-weight:900;line-height:1;transition:transform .18s;flex:none}
.vote:not(:disabled):hover{border-color:#d5b5ff}
.vote:not(:disabled):hover .vote-check{transform:scale(1.1)}
.vote.is-voted{border-color:#4d9782}
.vote:disabled{transform:none;box-shadow:none}
@media(max-width:410px){.vote{gap:5px}.vote-check{width:16px;height:16px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.vote,.vote-check{transition:none!important}.vote:not(:disabled):hover,.vote:not(:disabled):active,.vote:not(:disabled):hover .vote-check{transform:none}}

/* Quiet text-only action matching the selected period control. */
.vote{min-width:64px;min-height:36px;padding:8px 13px;border:0;border-radius:8px;background:#6843a7;color:white;font-size:11px;font-weight:750;box-shadow:none;text-shadow:none;transition:background .15s}
.vote:not(:disabled):hover{background:#7952b6;border:0;box-shadow:none;transform:none}
.vote:not(:disabled):active{background:#59388f;box-shadow:none;transform:none}
.vote.is-voted{background:#164b3f;color:#baffdf;box-shadow:none}

/* ==== mobile.css ==== */
/* A quieter, compact hierarchy across desktop and mobile. */
.finished .items{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px 12px}
.finished .item{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-height:0}
.finished .check{display:none}
.finished .model-photo{display:block;width:100%;aspect-ratio:4/3;border-radius:9px;overflow:hidden;background:#a7aeab;color:#123a30}
.finished .model-photo img{display:block;width:100%;height:100%;object-fit:contain}
.finished .model-photo:focus-visible{outline:2px solid #a6f6d4;outline-offset:3px}
.finished .cover-fallback{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px}
.finished .info{width:100%;flex:none;min-width:0;margin-top:9px}
.finished .name{font-size:12px;line-height:1.4}
.finished .subline{display:block;font-size:10px;line-height:1.5;margin-top:4px;color:#a2d7c4}
.finished .date{display:block;max-width:none;text-align:left;font-size:10px;line-height:1.5;margin-top:3px;color:#8eafa3}
.finished .has-cover:not(.has-variants) .model-links{display:none}
.finished .has-variants .model-link{background:none;border:0;padding:3px 0;min-height:28px}
#leaderboard>.suggest{display:block;border:0;border-radius:0;background:transparent;box-shadow:none}
#leaderboard>.suggest .suggest-icon{display:none}
#leaderboard>.suggest strong{font-size:13px;font-weight:650;color:#d7cde7}
#leaderboard>.suggest p{margin:0;font-size:11px;color:#8f8aa6}
#leaderboard>.suggest .suggest-form{display:flex}
#leaderboard>.suggest input{width:100%;min-width:0;padding:11px 12px;min-height:44px;border:1px solid #39364e;color:#eee7ff}
#leaderboard>.suggest input:focus{outline:2px solid #9c73d0;outline-offset:2px}
#leaderboard>.suggest .submit{font-size:12px;white-space:nowrap;border:1px solid transparent;border-radius:8px;font-weight:700;min-height:44px;padding:10px 18px;text-shadow:none}
#leaderboard>.suggest .submit:hover{background:#7c52b4}
#leaderboard>.suggest .message:empty{display:none}
@media(max-width:680px){#leaderboard>.suggest .submit{padding:10px 14px}}
.item.vote-confirmed{animation:confirmed-row .95s ease-out}
@keyframes confirmed-row{0%,30%{background:#24463f;border-color:#69b79a}100%{background:#1c2341}}
@media(prefers-reduced-motion:reduce){.item.vote-confirmed{animation:none;border-color:#69b79a}}
.site-header{min-height:44px;margin-bottom:0}
.top-socials .social-link,.top-socials .social-link.coffee,.top-socials .social-link.makerworld,.top-socials .social-link.instagram{background:none;border:0;box-shadow:none;padding:8px 0;min-height:36px;border-radius:0;font-size:12px;font-weight:600;gap:7px;color:#c8c0d8}
.site-header .top-socials{gap:22px}

.top-socials .social-link img{width:18px;height:18px}
.top-socials .social-link:hover{color:#fff;filter:brightness(1.15)}
.hero{margin:0;background:none;border:0;border-radius:0;box-shadow:none;text-align:left}
.hero h1{font-size:42px;line-height:1.1;letter-spacing:-1.3px;margin:0 0 12px;font-weight:800}
.hero p{margin:0;max-width:650px;font-size:14px;line-height:1.6;color:#b5b1cc}
.stats{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:0;margin:0 0 24px;padding:14px 18px;background:#14192e;border:1px solid #2c304a;border-radius:12px;align-items:center}
.stats .stat-panel,.stats .stat-panel:first-child,.stats .stat-panel:nth-child(2),.stats .stat-panel:nth-child(3){background:none;border:0;border-radius:0;box-shadow:none;min-height:0;padding:0;gap:4px}
.stats .stat-label{display:none}
.stats .daily-allowance .pill{font-size:14px;line-height:1.4;color:#e4d3ff}
.stats .reset-note{font-size:11px;color:#9290ac}
.stats .community{padding-left:20px!important;border-left:1px solid #2c304a!important}
.stats .community strong{font-size:13px;line-height:1.5;font-weight:600;color:#bcb9d4;letter-spacing:0}
.column.active,.column.finished{border-top-width:2px}
@media(max-width:680px){.stats .community{padding-left:0!important;border-left:0!important}.stats .community:last-child{padding-left:10px!important;border-left:1px solid #2c304a!important}}
@media(max-width:680px){
 main{padding:14px 14px 30px}
 .site-header{min-height:0;margin:0;justify-content:space-between}
 .brand-mark{width:29px;height:29px}.brand-copy strong{font-size:14px}
 .site-header .top-socials{width:100%;display:flex;justify-content:flex-start;gap:16px;margin:0}
 .top-socials .social-link,.top-socials .social-link.coffee,.top-socials .social-link.makerworld,.top-socials .social-link.instagram{background:none;border:0;box-shadow:none;padding:6px 0;min-height:32px;border-radius:0;font-size:11px;font-weight:600;gap:5px;flex-direction:row;white-space:nowrap;color:#c8c0d8}
 
 .top-socials .social-link img{width:15px;height:15px}
 .hero{margin:0;background:none;border:0;border-radius:0;box-shadow:none;text-align:left}
 .hero h1{font-size:29px;line-height:1.12;letter-spacing:-.9px;margin:0 0 10px;font-weight:800}
 .hero p{margin:0;max-width:350px;font-size:12px;line-height:1.5;text-wrap:pretty;color:#b5b1cc}
 .stats{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 19px;padding:10px 12px;background:#14192e;border:1px solid #2c304a;border-radius:11px;align-items:stretch}
 .stats .stat-panel,.stats .stat-panel:first-child,.stats .stat-panel:nth-child(2),.stats .stat-panel:nth-child(3){background:none;border:0;border-radius:0;box-shadow:none;min-height:0;padding:0;gap:3px}
 .stats .stat-label{display:none}
 .stats .daily-allowance{grid-column:1/-1;border-bottom:1px solid #2c304a}
 .stats .daily-allowance .pill{font-size:13px;line-height:1.4;color:#e4d3ff}
 .stats .reset-note{font-size:10px;color:#9290ac}
 .stats .community strong{font-size:11px;line-height:1.5;font-weight:600;color:#bcb9d4;letter-spacing:0}
 .stats .community:last-child{padding-left:10px;border-left:1px solid #2c304a}
 .boards,.main-column{gap:14px}
 .column.active,.column.finished{padding:15px 12px;border-radius:15px;border-top-width:2px}
 .leaderboard-heading{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;margin-bottom:13px;min-height:0}
 .leaderboard-heading>div:first-child{min-width:0}
 .heading h2,.finished .heading h2{font-size:18px;letter-spacing:-.4px}
 .leaderboard-heading .count-badge{font-size:10px;margin-top:4px}
 .leaderboard-heading .ranking-tabs{flex:none;width:auto;margin:0;padding:3px;gap:2px;border-radius:9px}
 .leaderboard-heading .ranking-tabs button{min-height:33px;padding:7px 9px;font-size:10px;border-radius:6px}
 .search{min-height:42px;margin:0 0 10px;padding:10px 12px;font-size:16px}
 .item{gap:7px;border-radius:10px}
 .rank{width:17px;font-size:13px}.name{font-size:12px}
 .vote-count{font-size:15px;min-width:24px}.bar{height:5px}
 .vote{min-width:54px;font-size:11px}
 .suggest{padding:15px 12px}.suggest-lead{gap:9px}.suggest strong{font-size:13px}.suggest p{font-size:11px}
}
@media(max-width:360px){
 .top-socials{gap:11px!important}.top-socials .social-link{font-size:10px!important}
 .heading h2{font-size:16px}.leaderboard-heading .ranking-tabs button{padding:7px}
}

/* Medal emojis use the same column as the remaining rank numbers. */
.item .rank{width:28px;font-size:16px;font-weight:750}
.item:is(.gold,.silver,.bronze) .rank{display:inline-flex;align-items:center;justify-content:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:25px;line-height:1.2;background:none;border:0;box-shadow:none}
@media(max-width:680px){.item .rank{width:24px;font-size:13px}.item:is(.gold,.silver,.bronze) .rank{font-size:22px}}

/* Completed cards share aligned rows and one accessible MakerWorld target. */
#doneEntries .item.has-cover{position:relative;border-radius:12px;cursor:pointer}
#doneEntries .model-photo{position:static;flex-shrink:0}
#doneEntries .model-photo::after{content:'';position:absolute;inset:0;border-radius:12px;z-index:1}
#doneEntries .item.has-cover:hover,#doneEntries .item.has-cover:focus-within{background:transparent;box-shadow:none;transform:none}
#doneEntries .item.has-cover:hover .name{color:#b9efd7}
#doneEntries .model-photo:focus-visible{outline:none}
#doneEntries .model-photo:focus-visible::after{outline:2px solid #ace0c5;outline-offset:4px}
#doneEntries .model-links{position:relative;z-index:2}
#doneEntries .info{flex:1}
#doneEntries .date{margin-top:auto;padding-top:3px}
#completed .heading{align-items:flex-start}
#completed .heading>div{min-width:0}
#completed .heading .count-badge{flex-shrink:0;margin-top:4px}
.item .rank{flex-shrink:0}

/* Mobile polish: one-line allowance, tighter leaderboard rows. */
@media(max-width:680px){
 .stats .daily-allowance{flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:8px;margin-bottom:7px}
 .stats .reset-note{white-space:nowrap}
 .items{gap:6px}
 .item{min-height:0;padding:7px 8px}
 .bar{margin-top:6px}
 .vote{min-height:36px;padding:8px 9px}
}

/* Link from completed models to the full catalog page. */
.hero-catalog{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:4px 0;color:#c9b6ff;font-size:13px;font-weight:700;text-decoration:none;border-bottom:1px solid #c9b6ff55}
.hero-catalog:hover{color:#e4d3ff;border-bottom-color:#e4d3ff}
@media(max-width:680px){.hero-catalog{font-size:12px;margin-top:8px}}

/* Votes bar: your daily votes as dots, community totals on the right. */
.vote-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;margin:0 0 24px;padding:13px 18px;background:#14192e;border:1px solid #2c304a;border-radius:12px;font-size:13px;line-height:20px}
.vote-bar-mine{display:flex;align-items:center;gap:12px;min-width:0}
.vote-bar-mine>span:last-child{display:flex;align-items:center;flex-wrap:wrap;column-gap:6px}
.vote-dots{display:flex;align-items:center;gap:6px;flex:none}
.vote-dots .dot{width:10px;height:10px;border-radius:50%;border:2px solid #6f5ca8;transition:background .25s,border-color .25s}
.vote-dots .dot.on{background:#c9b6ff;border-color:#c9b6ff;box-shadow:0 0 8px #a78afa66}
.vote-bar strong{font-size:13px;font-weight:750;color:#ece4ff}
.vote-bar-note,.vote-bar-community{font-size:13px;color:#a5a3bf;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .vote-bar{padding:11px 13px;margin-bottom:19px;gap:2px}
 .vote-bar-community{width:100%;padding-left:54px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.vote-dots .dot{transition:none}}

/* Completed cards clipped their contents, which shaved the left curve off
   letters like the C in "Completed". The photo keeps its own rounded clip. */
#doneEntries .item{overflow:visible}
#doneEntries .subline,#doneEntries .date{font-size:11px;color:#a9cfc0}
/* Voting sits on the left as a sidebar; the models fill the rest like a gallery. */
.catalog{min-width:0}
.catalog .heading p strong{color:#a6f6d4;font-weight:750}
.catalog .count-badge{background:#15182d;border:1px solid #2c304a;color:#bdb9d6}
.catalog-tools{display:flex;flex-wrap:wrap;margin:0 0 18px}
.catalog-search{outline:0}
.catalog-search:focus,.catalog-sort:focus{border-color:#a78afa}
.catalog-sort{flex:none;outline:0;appearance:none;cursor:pointer}
.catalog-sort option{background:#15182d}
.catalog-filters{display:flex;scrollbar-width:none}
.catalog-filters::-webkit-scrollbar{display:none}
.catalog-filters button{cursor:pointer}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
.catalog-card{position:relative;display:flex;flex-direction:column;min-width:0;text-decoration:none;color:inherit}
.catalog-card:focus-visible{outline:2px solid #c7b7ff;outline-offset:3px;border-radius:10px}
.catalog-photo{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#a7aeab}
.catalog-photo img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s}
/* Photos fade in once loaded, and models added in the last week get a "New" tag. */
.catalog-photo{position:relative}
.catalog-photo img{opacity:0;transition:transform .25s,opacity .4s ease-out}
.catalog-photo img.is-loaded{opacity:1}
.catalog-new{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:999px;background:#4ee7a2;color:#0b2a22;font-size:10px;font-weight:800;line-height:1.5;box-shadow:0 2px 8px #0004}
.catalog-card:hover .catalog-photo img{transform:scale(1.04)}
.catalog-pick{position:absolute;top:7px;left:7px;padding:2px 7px;border-radius:99px;background:#0e2f29e6;border:1px solid #2f7a63;color:#a6f6d4;font-size:9px;font-weight:750;line-height:14px;font-variant-numeric:tabular-nums}
.catalog-name{margin-top:9px;font-size:13px;font-weight:720;line-height:1.35;color:#f3f1ff}
.catalog-meta{font-size:11px;color:#a5a4bd}
.catalog-empty{grid-column:1/-1;margin:0;font-size:13px;color:#a5a4bd}
.catalog .more{display:block;width:100%}
.catalog .more[hidden]{display:none}
@media(max-width:980px){.catalog{margin-bottom:12px}}
@media(max-width:680px){
 .catalog-tools{flex-wrap:wrap}
 .catalog-search{flex-basis:0}
 .catalog-filters{width:100%}
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-name{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.catalog-photo img{transition:none}.catalog-card:hover .catalog-photo img{transform:none}}
/* Daily votes now open the voting card instead of spanning the page. */
#leaderboard>.vote-bar{flex-direction:column;align-items:flex-start}
#leaderboard>.vote-bar .vote-bar-community{width:auto;font-size:12px}
@media(max-width:680px){#leaderboard>.vote-bar{padding-bottom:14px}}
/* Breathing room for the voting sidebar and the model toolbar. */
@media(min-width:981px){
 #leaderboard.column{padding:24px}
}
#leaderboard>.vote-bar{gap:6px;margin:0 0 22px}
#leaderboard>.vote-bar .vote-bar-community{padding-left:54px}
#leaderboard .ranking-note{margin-bottom:14px}
.catalog .heading{align-items:flex-end;margin-bottom:16px}
.catalog .heading p{margin-top:6px}
/* The catalog's own introduction, carried over from the old All Models page. */
.catalog-intro{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 12px}
.catalog-intro h2{margin:0;font-weight:800;color:#f8f7fb}
.catalog-intro p{flex:1 1 100%;margin:0;max-width:600px}
.catalog-intro p strong{color:#a6f6d4;font-weight:750}
.catalog-intro .gradient{background-clip:text;-webkit-background-clip:text}
.catalog-intro .count-badge{background:#15182d;border:1px solid #2c304a;color:#bdb9d6}
/* The suggest button reads as "add to the list". */
#leaderboard>.suggest .add-suggestion{display:inline-flex;align-items:center;justify-content:center;min-width:92px;font-weight:750;letter-spacing:.1px;color:#fff;transition:transform .15s,box-shadow .15s,filter .15s}
#leaderboard>.suggest .add-suggestion:active:not(:disabled){transform:translateY(0);filter:brightness(.97)}
#leaderboard>.suggest .add-suggestion:disabled{box-shadow:none;cursor:not-allowed}
.add-suggestion .plus{display:grid;place-items:center;line-height:1;padding-bottom:1px}
@media(prefers-reduced-motion:reduce){#leaderboard>.suggest .add-suggestion{transition:none}}
/* Decluttered: fewer labels and no boxes inside boxes in the voting card. */
#leaderboard .leaderboard-heading .count-badge,#leaderboard .votes-word{display:none}
#leaderboard>.vote-bar{background:none;border:0;border-bottom:1px solid #2f3352;border-radius:0;padding:0 0 18px;margin-bottom:20px}
#leaderboard .items .item{border-bottom:1px solid #262a45;box-shadow:none}
#leaderboard .items .item:last-child{border-bottom:0}
#leaderboard .vote-count{font-size:15px}
/* One big headline per page: the models intro reads as a section title, like Leaderboard. */
.catalog-intro{margin:4px 0 18px}
.catalog-intro h2{font-size:22px;letter-spacing:-.4px;line-height:1.2}
.catalog-intro .gradient{background:none;-webkit-text-fill-color:currentColor;color:inherit}
.catalog-intro p{font-size:12.5px;line-height:1.55;color:#a5a3bf;margin-top:2px}
@media(max-width:680px){.catalog-intro h2{font-size:20px}.catalog-intro p{font-size:12px}}
.catalog-intro .count-badge{white-space:nowrap;flex:none}
/* Models lead the page: the hero introduces the catalog, voting gets a card title. */
.hero p .vote-note{font-weight:750}
.hero-copy>p{max-width:560px}
.catalog-count{font-size:12px;color:#a5a3bf}
.vote-title{margin:0 0 16px}
.vote-title h2{margin:0;font-size:20px;line-height:1.2;font-weight:800;letter-spacing:-.4px;color:#f8f7fb}
.vote-title p{margin:4px 0 0;font-size:12px;color:#a5a3bf}
/* Experiment: voting card on the right on desktop (remove this block to put it back on the left). */
@media(min-width:981px){
 .boards{grid-template-columns:minmax(0,1.6fr) minmax(380px,1fr)}
 .boards>.main-column{order:2}
}
/* Voting card, simplified: title + votes left, suggest, leaderboard, community totals as a footer. */
.vote-title-row{display:flex;align-items:center;justify-content:space-between}
.vote-title-row h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.4px;color:#f8f7fb}
.vote-title-row .vote-dots{gap:5px}
.vote-status{margin:5px 0 0;font-size:12.5px;color:#a5a3bf}
.vote-status strong{color:#d9ccff;font-weight:700}
#leaderboard>.suggest .vote-invitation{font-size:12px;color:#c9c5dc}
.commission-note{margin:16px 0 0;font-size:12px;line-height:1.6;color:#c9c5dc}
.hero .hero-commission{margin-top:12px}
.hero-commission .poll-coffee{display:inline;color:inherit;font:inherit;text-decoration:underline;text-decoration-color:#c9c5dc66;text-underline-offset:3px}
.hero-commission .poll-coffee img{display:inline-block;width:12px;height:12px;max-width:12px;max-height:12px;margin-right:4px;vertical-align:-2px;object-fit:contain}
.hero-commission .poll-coffee:hover{color:#fff;filter:brightness(1.15)}
#leaderboard .leaderboard-heading{align-items:center}
#leaderboard .leaderboard-heading h3{margin:0;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#a5a3bf}
.vote-community{margin:16px 0 0;text-align:center;font-size:11.5px;color:#8e8aa8;font-variant-numeric:tabular-nums}
/* Leaderboard search sits right under its header, above the list it filters. */
#leaderboard>.search{display:block;width:100%;margin:2px 0 8px;min-height:38px;padding:8px 12px 8px 34px;font-size:14px;background:#15182d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238e8aa8' stroke-width='1.8'%3E%3Ccircle cx='6' cy='6' r='4.6'/%3E%3Cpath d='M9.5 9.5l3.2 3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 12px center;border:1px solid #2f3352;border-radius:9px;color:#eee7ff}
#leaderboard>.search::placeholder{color:#8e8aa8}
#leaderboard>.search:focus{outline:0;border-color:#a78afa}
@media(max-width:680px){#leaderboard>.search{font-size:16px}}
/* The suggest box says plainly that it adds a monster that isn't listed yet. */
#leaderboard>.suggest .suggest-lead{align-items:baseline;justify-content:space-between;margin:0 0 8px}
#leaderboard>.suggest .suggest-lead>div{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:10px}
#leaderboard>.suggest .suggest-lead strong{font-size:13px;font-weight:700;color:#e6dcff}
#leaderboard>.suggest .suggest-lead p{margin:0;font-size:11px;color:#8e8aa8;white-space:nowrap}
/* One box finds or adds a monster, so the card needs no separate search or suggest label. */
#leaderboard>.suggest .suggest-lead{display:none}
#leaderboard>.suggest{padding-bottom:0;margin-bottom:18px;border-bottom:0}
#leaderboard>.suggest input{padding-left:34px;background:#15182d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238e8aa8' stroke-width='1.8'%3E%3Ccircle cx='6' cy='6' r='4.6'/%3E%3Cpath d='M9.5 9.5l3.2 3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 12px center}
#leaderboard .leaderboard-heading{border-top:1px solid #2f3352}
#entries>.ranking-note{margin:10px 2px 4px;font-size:12.5px;color:#a5a3bf}
#entries>.more{margin-top:10px}
#entries>.add-it{color:#e6dcff;border-color:#6b55b0}
/* Models toolbar: filter chips on the left, a compact search and sort on the right, one row. */
.catalog-tools{align-items:center}
.catalog-filters{padding:0;background:none;border:0;border-radius:0}
.catalog-filters button{flex:none}
.catalog-filters button[aria-pressed="true"]{background:#6843a7;border-color:#6843a7;color:#fff}
.catalog-search{font-size:14px}
.catalog-sort{padding:0 30px 0 13px}
@media(max-width:680px){
 .catalog-search{font-size:16px}
}
/* Less crowded toolbar: search and sort on top, chips on their own row with room to breathe. */
.catalog-search{order:0;max-width:none;margin-left:0}
.catalog-sort{order:1}
.catalog-filters{order:2;flex:1 1 100%;overflow-x:auto}
/* Headline on one line and a wide description underneath, so the hero uses the page width. */
@media(min-width:981px){
 .hero{grid-template-columns:1fr}
 .hero-art{display:none}
 .hero-copy{width:100%;max-width:none}
 .hero-copy h1{font-size:58px;line-height:1.05;white-space:nowrap}
 .hero-copy>p{max-width:none;font-size:15px;line-height:1.6}
}
/* Vote is a checkbox: an empty box that pops a check when you vote. */
#leaderboard .vote{display:inline-flex;align-items:center;min-width:78px;transform:none;transition:background .15s,border-color .15s,transform .15s}
#leaderboard .vote-box{display:grid;place-items:center;flex:none;width:18px;height:18px;border:2px solid #a78afa;border-radius:6px;background:transparent;color:transparent;font-size:12px;font-weight:900;line-height:1;transition:background .15s,color .15s,border-color .15s,transform .15s}
#leaderboard .vote:not(:disabled):hover .vote-box{color:#a78afa88;transform:rotate(-6deg) scale(1.08)}
#leaderboard .vote:not(:disabled):active{transform:scale(.96)}
#leaderboard .vote.is-voted .vote-box{border-color:#4ee7a2}
#leaderboard .vote.is-pending .vote-box{border-color:#d9ccff;animation:vote-wiggle .6s ease-in-out infinite}
#leaderboard .vote:disabled:not(.is-voted):not(.is-pending){opacity:.45;cursor:not-allowed}
@keyframes vote-wiggle{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
@media(prefers-reduced-motion:reduce){#leaderboard .vote,#leaderboard .vote-box{transition:none;animation:none!important}}
/* No checkbox: a plain button that shows a check once your vote lands. */
#leaderboard .vote{justify-content:center;gap:5px;padding:7px 12px}
#leaderboard .vote .vote-box{display:none}
#leaderboard .vote.is-voted .vote-box{display:inline-grid;width:auto;height:auto;border:0;background:none;color:#4ee7a2;font-size:13px}
#leaderboard .vote.is-pending{animation:vote-breathe .8s ease-in-out infinite}
@keyframes vote-breathe{0%,100%{opacity:1}50%{opacity:.6}}
@media(prefers-reduced-motion:reduce){#leaderboard .vote.is-pending{animation:none}}
/* Leaderboard rows on a grid: rank, name and count share one line, the bar runs underneath,
   and the Vote button is centered on the whole row. */
#leaderboard .items .item{display:grid;align-items:center}
#leaderboard .items .item>.info{display:contents}
#leaderboard .items .item .rank{grid-column:1;grid-row:1;width:26px;margin:0;justify-content:center;text-align:center;line-height:20px}
#leaderboard .items .item .name{grid-column:2;grid-row:1;margin:0;line-height:20px;min-width:0}
#leaderboard .items .item .vote-count{grid-column:3;grid-row:1;min-width:28px;line-height:20px}
#leaderboard .items .item .vote{grid-column:4;width:100%;min-width:0}
/* One button language for the whole page:
   primary   = solid violet (Add)
   secondary = outlined (Vote, Show all, filters, sort)
   selected  = solid violet (active filter / period)
   All controls share a 10px radius and the same type. */
:root{--btn-radius:10px;--btn-primary:#6d48c0;--btn-primary-hover:#7d58d2;--btn-edge:#3d3766;--btn-edge-hover:#6b5bb0;--btn-text:#e6dcff}
#leaderboard .vote,#leaderboard .leaderboard-heading .ranking-tabs button,.catalog-filters button,.catalog-sort,#leaderboard .more,.catalog .more,#entries>.more{min-height:34px;border:1px solid var(--btn-edge);border-radius:var(--btn-radius);background:transparent;color:var(--btn-text);font:inherit;font-size:12.5px;font-weight:700;box-shadow:none;text-shadow:none}
#leaderboard .vote:not(:disabled):hover,#leaderboard .leaderboard-heading .ranking-tabs button:hover,.catalog-filters button:hover,.catalog-sort:hover,#leaderboard .more:hover,.catalog .more:hover{background:#ffffff0d;border-color:var(--btn-edge-hover);color:#fff;transform:none;box-shadow:none;filter:none}
#leaderboard .leaderboard-heading .ranking-tabs button[aria-pressed=true],.catalog-filters button[aria-pressed=true]{background:var(--btn-primary);border-color:var(--btn-primary);color:#fff}
#leaderboard .leaderboard-heading .ranking-tabs button[aria-pressed=true]:hover,.catalog-filters button[aria-pressed=true]:hover{background:var(--btn-primary-hover);border-color:var(--btn-primary-hover)}
#leaderboard .vote{background:transparent}
#leaderboard .vote.is-voted{background:#123d33;border-color:#2f8a6a;color:#b6f7db}
/* Period switch: two buttons like the filters instead of a tray. */
/* Primary action. */
#leaderboard>.suggest .add-suggestion{min-height:44px;padding:10px 16px;gap:6px;border:1px solid var(--btn-primary);border-radius:var(--btn-radius);background:var(--btn-primary);box-shadow:none;filter:none;font-size:13px}
#leaderboard>.suggest .add-suggestion:hover:not(:disabled){background:var(--btn-primary-hover);border-color:var(--btn-primary-hover);box-shadow:none;filter:none;transform:none}
#leaderboard>.suggest .add-suggestion:disabled{background:#2a2545;border-color:#2a2545;color:#8e8aa8}
.add-suggestion .plus,.add-suggestion:disabled .plus{width:auto;height:auto;padding:0;border-radius:0;background:none;color:inherit;font-size:17px;font-weight:600}
/* Inputs follow the same shape. */
#leaderboard>.suggest input,.catalog-search{border-radius:var(--btn-radius)}
.catalog-filters button{min-height:34px;padding:6px 14px}
/* No highlight box on leaderboard rows; the Vote button has its own hover. */
#leaderboard .items .item:hover{border-color:#262a45;transform:none;box-shadow:none}
#leaderboard .items .item:last-child:hover{border-color:transparent}
/* Rank, name, count and Vote share one center line; the bar sits underneath, spanning to the button's edge. */
#leaderboard .items .item .vote{grid-row:1}
#leaderboard .items .item .rank,#leaderboard .items .item .name,#leaderboard .items .item .vote-count{align-self:center}
#leaderboard .items .item .rank{font-size:13px}
#leaderboard .items .item:is(.gold,.silver,.bronze) .rank{line-height:1}
/* Leaderboard rows, final layout: one line (rank, name, count, Vote) with the vote bar
   as a soft fill behind the row instead of a separate line. */
#leaderboard .items .item{position:relative;isolation:isolate;row-gap:4px;border:0;border-radius:10px}
#leaderboard .items .item:hover{border:0}
#leaderboard .items .item .bar{position:absolute;inset:0;z-index:-1;height:auto;margin:0;grid-column:auto}
#leaderboard .items .item .fill{height:100%;box-shadow:none}
#leaderboard .items .item .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
#leaderboard .items .item .vote-count{font-size:14px;font-weight:800}
#leaderboard .items .item .request-details{grid-column:2/5;grid-row:2}
#leaderboard .items .item:is(.gold,.silver,.bronze) .rank{font-size:18px}
#leaderboard .items .item .rank svg{display:block}
/* Vote as a soft violet chip that belongs to the row: no outline, tinted fill, solid on hover. */
#leaderboard .items .item .vote{padding:4px 10px;border:0;font-size:12px}
#leaderboard .items .item .vote:not(:disabled):hover{border:0;color:#fff}
#leaderboard .items .item .vote.is-voted{border:0}
#leaderboard .items .item .vote:disabled:not(.is-voted):not(.is-pending){opacity:.4}
/* The bar track is its own rounded pill; the Vote chip sits outside it, to the right. */
#leaderboard .items .item,#leaderboard .items .item:hover{background:none;overflow:visible}
#leaderboard .items .item .bar{border-radius:10px;overflow:hidden}
#leaderboard .items .item .fill{border-radius:10px}#leaderboard .items .item .vote-count{margin-right:16px}
/* Final row geometry: [bar: rank + name] 10px [count 30px] 10px [Vote 64px], fixed columns. */
#leaderboard .items .item{column-gap:10px;padding:0 0 0 10px;min-height:44px}
#leaderboard .items .item .bar{top:0;bottom:0;left:0}
#leaderboard .items .item .name{padding-right:10px}
#leaderboard .items .item .vote-count{margin:0}
/* Count back inside the bar, right-aligned with 12px of padding; Vote stays outside.
   The Vote column is 86px so "Vote again?" has room; the bar ends at 86px + the 10px gap. */
#leaderboard .items .item{grid-template-columns:24px minmax(0,1fr) 42px 86px}
#leaderboard .items .item .bar{right:96px}
/* Long names wrap to a second line instead of being cut off (most useful on phones). */
#leaderboard .items .item{padding-top:4px;padding-bottom:4px}
#leaderboard .items .item .name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;text-overflow:clip;overflow-wrap:break-word}
#leaderboard .items .item .vote-count{padding-right:12px;text-align:right}
#leaderboard .items .item .fill{border-right:0}
/* Vote chip matches the bar: full row height, same 10px corners. */
#leaderboard .items .item .vote{align-self:stretch;height:auto;min-height:44px;border-radius:10px}
/* All-time / Today as a segmented toggle again: one tray, the active side filled. */
#leaderboard .leaderboard-heading .ranking-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--btn-edge);border-radius:var(--btn-radius);background:#15182d}
#leaderboard .leaderboard-heading .ranking-tabs button{min-height:30px;padding:5px 12px;border:0;border-radius:7px;background:none;color:#bdb9d6}
#leaderboard .leaderboard-heading .ranking-tabs button:hover{background:#ffffff0d;border:0;color:#fff}
#leaderboard .leaderboard-heading .ranking-tabs button[aria-pressed=true],#leaderboard .leaderboard-heading .ranking-tabs button[aria-pressed=true]:hover{background:var(--btn-primary);border:0;color:#fff}
/* Vote badge sits beside the model name, right-aligned, instead of on the photo. */
.catalog-title{display:flex;justify-content:space-between;min-width:0}
.catalog-title .catalog-name{margin:0;min-width:0;text-overflow:ellipsis}
.catalog-title .catalog-pick{position:static;flex:none;padding:1px 7px;font-size:10px;line-height:16px}
.catalog-title{align-items:flex-start}.catalog-title .catalog-name{white-space:normal;overflow:visible}.catalog-title .catalog-pick{margin-top:1px}
/* Vote badges in the page's violet instead of mint, with the intro's "★ vote count" to match. */
.catalog-title .catalog-pick{background:#6d48c033;border:1px solid #6d48c099;color:#ddd0ff}
.hero p .vote-note{color:#c9b6ff}
/* A compact introduction with separate catalog, backup, and commission notes. */
.hero .hero-copy>p{max-width:none}
.hero .hero-copy>p+p{margin-top:10px}
.hero .hero-copy>.hero-commission{margin-top:10px}
@media(max-width:680px){.hero .hero-copy>p{max-width:none}.hero .hero-copy>.hero-commission{margin-top:10px}}
.catalog-sort,.catalog-sort:hover{padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23d9ccff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px}

/* ==== spacing.css ==== */
/* Shared spacing for the catalog and voting panel. */
.site-header{gap:16px}
.hero{padding:24px 0 28px;overflow:visible}
.hero-copy{min-width:0}
.hero h1 .gradient{padding-right:.12em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hero .hero-copy h1{margin:0 0 12px;line-height:1.12;white-space:normal;text-wrap:balance}
.hero .hero-copy>p{margin:0;line-height:1.55}
.boards{gap:28px;align-items:start}
#leaderboard{padding:24px}
#leaderboard .vote-title{margin:0 0 20px}
.vote-title-row{gap:12px}
.vote-title-row h2{line-height:1.25}
.vote-title .vote-status{margin-top:4px;line-height:1.5}
#leaderboard>.suggest{margin:0 0 20px;padding:0}
#leaderboard>.suggest .vote-invitation{margin:0 0 20px;line-height:1.5}
#leaderboard>.suggest .suggest-form{gap:8px}
#leaderboard>.suggest .suggestion-help{margin:10px 0 0;font-size:11px;line-height:1.6;color:#a5a3bf}
/* The search hint sits above the box, acting as its visible label. */
#leaderboard>.suggest input{font-size:13px}
#leaderboard .leaderboard-heading{padding-top:16px;margin-bottom:8px;gap:12px}
#leaderboard .ranking-note{margin:0 0 12px;line-height:1.5}
#rankingNote.with-commissions{position:static;width:auto;height:auto;padding:0;overflow:visible;clip-path:none;white-space:normal;font-size:11px;color:#aaa2bc}
#leaderboard .items{gap:8px}
#leaderboard .items .commission-row{padding-top:8px;padding-bottom:8px}
#leaderboard .items .commission-row .commission-badge{grid-column:2/4;grid-row:2;font-size:10px;line-height:1.4;color:#e8cf94;white-space:normal}
#leaderboard .items .commission-row .request-details{grid-row:3}
#leaderboard .items .commission-row .vote{grid-row:1/span 2}
#leaderboard .items .commission-row .bar{background:#bca06514;box-shadow:inset 0 0 0 1px #bca06540}
#leaderboard>.more{margin-top:14px}
.commission-panel{padding:24px;border:1px solid #66517f;border-top:2px solid #b69bd7;border-radius:24px}
.commission-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.commission-panel h2{margin:0;color:#f8f7fb;font-size:20px;font-weight:800;line-height:1.25}
.commission-status{flex:none;padding:4px 8px;border:1px solid #bca06540;border-radius:7px;color:#d7c391;font-size:10px;line-height:1.4;background:#bca0650d}
.commission-entries{display:grid;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #b8b1cb26}
.commission-entry{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-radius:10px;border:1px solid #bca06526}
.commission-number{font-size:12px;color:#b8accb;text-align:center}
.commission-info{min-width:0}.commission-info .name{font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.commission-panel .commission-empty{padding:14px 12px;border:1px dashed #59506e;border-radius:10px}
.commission-support{margin-top:16px}
.commission-support .commission-link{margin-top:0}
.commission-panel p strong{color:#eee7fa;font-weight:700}
.commission-panel p{margin:0;color:#b8b1cb;font-size:12px;line-height:1.65}
.commission-panel p+p{margin-top:16px}
.commission-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:10px 14px;min-height:42px;border:1px solid #bca06555;border-radius:10px;background:#bca06514;color:#eee0bb;text-decoration:none;font-size:12px;font-weight:700}
.commission-link img{flex:none;width:18px;height:18px;object-fit:contain}
.commission-link span{margin-left:8px;color:#c5b58f}
.commission-link:hover{background:#bca06526;border-color:#bca06599}
.commission-link:focus-visible{outline:2px solid #d8c28c;outline-offset:3px}
.commission-panel .commission-priority{margin-top:12px;font-size:11px;color:#9690aa}
.boards>.main-column{gap:16px}
/* Vote totals sit under the "Model requests" label as a small stat line. */
#leaderboard .leaderboard-heading .vote-community{margin:3px 0 0;text-align:left;line-height:1.5}
.catalog-tools{gap:12px;margin-bottom:12px}
.catalog-search,.catalog-sort{min-height:44px}
.catalog-filters{gap:8px}
.catalog-count{margin:0 0 16px;line-height:1.5}
.catalog-grid{gap:24px 16px}
.catalog-title{margin-top:10px;gap:8px}
.catalog-meta{margin-top:4px;line-height:1.4}
.catalog .more{margin-top:24px}
@media(max-width:980px){.boards{gap:24px}}
@media(max-width:680px){
 #leaderboard>.suggest input{font-size:16px}
 .site-header{gap:12px}
 .site-header .top-socials{column-gap:16px;row-gap:4px;flex-wrap:wrap}
 .hero{padding:20px 0 24px}
 .hero .hero-copy h1{margin-bottom:10px;font-size:clamp(28px,7.5vw,42px)}
 .boards{gap:20px}
 #leaderboard{padding:18px 16px}
 .commission-panel{padding:18px 16px}
 #leaderboard .leaderboard-heading{gap:8px;flex-wrap:wrap}
 .catalog-tools{gap:10px}
 .catalog-grid{gap:20px 12px}
 .catalog-title{margin-top:8px}
 .catalog-title .catalog-name{line-height:1.4}
}

.recent-completed{margin-top:18px;padding-top:0}
.completion-divider{height:1px;margin:22px 0 18px;background:#b8b1cb26}
.completed-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-bottom:12px}
.completed-heading h3{margin:0;color:#e9e4f5;font-size:14px;font-weight:700;line-height:1.4;letter-spacing:0;text-transform:none}
.completed-label{font-size:10px;color:#9f96b2;line-height:1.5}
.completed-entries{display:grid;gap:8px}
.completed-entry{display:grid;grid-template-columns:24px minmax(0,1fr) auto;column-gap:10px;align-items:center;min-height:54px;padding:10px 12px 10px 10px;border-radius:10px;box-sizing:border-box}
.completed-tick{color:#b5d9c3;font-size:17px;line-height:1;text-align:center}
/* Finished models with a catalog photo: a small thumbnail with a check badge in its corner. */
.completed-entry.has-photo{grid-template-columns:52px minmax(0,1fr) auto;padding-left:8px}
.completed-thumb{position:relative;width:52px;height:39px;border-radius:8px;background:#a7aeab;box-shadow:0 0 0 1px #b7cfff26}
.completed-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}
.completed-thumb .completed-tick{position:absolute;right:-5px;bottom:-5px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#1f6b4f;color:#d9ffef;font-size:11px;font-weight:800;box-shadow:0 0 0 2px #151a30}
.completed-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.completed-info strong{font-size:13px;font-weight:700;line-height:1.4;color:#eee8fa;overflow-wrap:anywhere}
.completed-votes{font-size:10px;line-height:1.5;color:#aaa3bf;font-variant-numeric:tabular-nums}
.completed-date{white-space:normal}
.completed-links{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:110px;text-align:right}
.completed-links a{font:inherit;font-size:11px;font-weight:600;color:#c9b8e6;line-height:1.5;text-decoration:none;padding:6px 0 6px 6px}
.completed-links a:hover{color:#f1eaff;text-decoration:underline}
.completed-toggle{width:100%;margin-top:14px;min-height:38px;padding:9px 12px;border:1px solid #49406c;border-radius:10px;color:#e4dcf4;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.completed-toggle:hover{background:#ffffff0d;border-color:#796492}
/* Supporter card below the poll (shares the .commission-panel card look). Each supporter is a token with a
   coffee cup. Tokens pop in once when the card scrolls into view and the cup steams on hover; the newest
   supporter gets a "New" tag. */
.commission-panel.supporters .supporters-note{margin:6px 0 14px}
.supporter-tokens{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.supporter-token{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 6px 9px;border:1px solid #ffd88a33;border-radius:12px;background:#ffd88a0d;transition:transform .2s,border-color .2s,background .2s}
.supporter-token:hover{transform:translateY(-3px);border-color:#ffd88a66;background:#ffd88a17}
.supporter-token.is-entering{opacity:0;transform:translateY(10px) scale(.9)}
.supporters.is-visible .supporter-token.is-entering{animation:token-pop .45s cubic-bezier(.3,1.6,.5,1) forwards}
.token-icon{display:block;line-height:0;color:#ffd88a;transition:color .2s}
.supporter-token:hover .token-icon{color:#ffe7b3}
.cup-steam{opacity:.45}
.supporter-token:hover .cup-steam{animation:cup-steam 1.1s ease-out infinite}
.supporter-token:hover .cup-steam-2{animation-delay:.35s}
.token-name{max-width:100%;color:#f4e6c8;font-size:11px;font-weight:600;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.token-new{position:absolute;top:-7px;right:-6px;padding:1px 6px;border-radius:999px;background:#4ee7a2;color:#0b2a22;font-size:10px;font-weight:800;line-height:1.5}
.supporters .completed-toggle{margin-top:12px}
.supporter-count{display:flex;align-items:center;gap:6px;margin:14px 0 0!important;color:#ffd88a!important;font-size:12px!important;font-weight:600}
.supporter-count:empty{display:none}
@keyframes token-pop{to{opacity:1;transform:none}}
@keyframes cup-steam{0%{opacity:0;transform:translateY(3px)}40%{opacity:.9}100%{opacity:0;transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){
 .supporter-token,.supporter-token:hover{transition:none;transform:none}
 .supporter-token.is-entering,.supporters.is-visible .supporter-token.is-entering{opacity:1;transform:none;animation:none}
 .supporter-token:hover .cup-steam{animation:none}
}
.supporter-cta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:11px;font-weight:600;color:#c9b8e6;text-decoration:none}
.supporter-cta:hover{color:#f1eaff;text-decoration:underline}
.supporter-cta:focus-visible{outline:2px solid #bba0ff;outline-offset:3px}
.completed-toggle:focus-visible,.completed-links a:focus-visible{outline:2px solid #bba0ff;outline-offset:3px}
@media(max-width:480px){
 .completed-heading{align-items:flex-start;flex-direction:column;gap:4px}
 .completed-entry{grid-template-columns:24px minmax(0,1fr) auto;column-gap:8px;padding-right:10px}
 .completed-links{max-width:90px}
}
.catalog-filters{flex-wrap:wrap;overflow:visible}.catalog-filters button{white-space:normal;text-align:left;line-height:1.4}
/* Phones: the filters are one row you swipe sideways, running to the screen edges (the page gutter is 14px). */
@media(max-width:680px){
 .catalog-filters{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px;padding:0 14px;scroll-padding:0 14px;-webkit-overflow-scrolling:touch}
 .catalog-filters button{white-space:nowrap}
}

/* ==== sort-menu.css ==== */
.sort-menu{position:relative;order:1;flex:none}
.sort-trigger{min-width:112px;text-align:left;cursor:pointer}
.sort-trigger[aria-expanded=true]{border-color:#9d7fe1;background-color:#211c38}
.sort-trigger:focus-visible{outline:2px solid #c4a9ff;outline-offset:3px}
.sort-options{position:absolute;top:calc(100% + 8px);right:0;z-index:20;min-width:164px;padding:6px;border:1px solid #51446e;border-radius:12px}
.sort-options[hidden],#modelSort[hidden]{display:none}
.sort-options button{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#ded7ed;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.sort-options button[aria-checked=true]{background:#6d48c036;color:#efe6ff;font-weight:700}
.sort-options button[aria-checked=true]::after{content:'✓';color:#c9adff}
.sort-options button:hover,.sort-options button:focus-visible{background:#6d48c066;color:white;outline:none}

/* ==== shared-search.css ==== */
.shared-search{margin:18px 0 26px;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}
.shared-search .suggest-icon{display:none}
.shared-search .suggest-lead{display:flex;align-items:center;gap:12px}
.shared-search .suggest-lead strong{font-size:18px;margin:0 0 5px}
.shared-search .suggest-lead p,.shared-search .suggestion-help{margin:0;color:#bdb5d2;font-size:13px;line-height:1.5}
.shared-search .suggestion-help{margin-top:10px}
.shared-search .suggest-form{display:flex;gap:10px}
.shared-search .suggest-form input{font-size:16px}
.catalog-heading{flex:0 0 100%;margin:0;font-size:20px}
@media(max-width:600px){.shared-search{padding:0}.shared-search .suggest-lead strong{font-size:16px}.shared-search .suggest-icon{display:none}.shared-search .suggest-form{flex-wrap:wrap}.shared-search .suggest-form input{flex:1 1 200px}.shared-search .suggest-form button{width:auto}}

.shared-search #suggestTitle{display:block;font-size:20px;font-weight:750;margin:0}
.shared-search .suggest-lead{margin-bottom:10px}
.shared-search [hidden]{display:none!important}
.search-outcome{margin-top:18px}
.search-outcome>p{font-size:14px;color:#d8cfe8;margin:0 0 12px}
.search-request-row{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:560px;padding:10px 0;border-bottom:1px solid #302e46}
.shared-search .search-request-row strong{font-size:15px;margin:0}
.search-request-row span{font-size:12px;color:#bdb5d2}

.catalog-search-status{display:block;margin-top:8px;font-size:13px;color:#d2b5ff}

.poll-direction-mobile{display:none}
@media(max-width:980px){.poll-direction-desktop{display:none}.poll-direction-mobile{display:inline}}

.catalog-search{flex:1 1 0;width:auto;min-width:0;padding:12px 14px;border:1px solid #39364e;border-radius:9px;background:#15182d;color:#eee7ff;font:inherit}
.existing-model-notice{color:#6ee7b7;font-size:13px;line-height:1.5;margin:12px 0}
.made-matches{display:grid;gap:8px;margin:0 0 14px}
.made-match{display:flex;align-items:center;gap:12px;padding:8px 10px 8px 8px;border:1px solid #34d39933;border-radius:12px;background:linear-gradient(120deg,#34d3991f,#34d39908 70%);color:#d1fae5;text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
.made-match:hover,.made-match:focus-visible{border-color:#34d39966;background:linear-gradient(120deg,#34d3992b,#34d3990d 70%);transform:translateY(-1px)}
.made-match img{flex:none;width:52px;height:52px;object-fit:cover;border-radius:9px;background:#a7aeab;box-shadow:0 0 0 1px #34d39940}
.made-match-info{flex:1;min-width:0;display:grid;gap:3px}
.shared-search .made-match-info strong{font-size:14px;margin:0;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.made-match-info span{font-size:12px;line-height:1.4;color:#a7f3d0cc}
.made-match-info span::before{content:"✓";display:inline-grid;place-items:center;width:14px;height:14px;margin-right:6px;border-radius:50%;background:#34d399;color:#06281c;font-size:9px;font-weight:900;vertical-align:1px}
.made-match-link{flex:none;padding:6px 10px;border-radius:99px;background:#34d3991f;font-size:12px;font-weight:700;color:#6ee7b7}
.made-match-more{font-size:13px;color:#d2b5ff;text-decoration:none;padding:2px 2px 0}
.made-match-more:hover{text-decoration:underline}
@media(prefers-reduced-motion:reduce){.made-match{transition:none}.made-match:hover{transform:none}}

#leaderboard>.shared-search .suggest-form{flex-wrap:nowrap}
#leaderboard>.shared-search .suggest-form input{flex:1 1 0;width:auto;min-width:0}
#leaderboard>.shared-search .suggest-form #send{flex:none;min-height:44px;padding:10px 14px;white-space:nowrap}
#leaderboard>.shared-search .existing-model-notice{display:none}

/* ==== glass-theme.css ==== */
/* Surface treatment only: retain the existing layout and control sizes. */
#leaderboard.column.active,.commission-panel{
 background:linear-gradient(145deg,#b3c6ff12,transparent 38%),linear-gradient(155deg,#172239c9,#101627e0);
 border-color:#9ab5ee45;
 border-top-color:#b9a0f58c;
 box-shadow:inset 0 1px 0 #e0eaff24,inset 0 -1px 0 #7797d00b,0 18px 50px #00000038;
 -webkit-backdrop-filter:blur(20px) saturate(125%);
 backdrop-filter:blur(20px) saturate(125%);
}
.catalog-search,#leaderboard>.suggest input,.catalog-sort,
#leaderboard .leaderboard-heading .ranking-tabs{
 background-color:#101b2cb8;
 border-color:#9cb9ec42;
 box-shadow:inset 0 1px 0 #e1ebff0d,0 4px 14px #00000015;
}
.catalog-search:focus,#leaderboard>.suggest input:focus{
 border-color:#b2a0f5;
 box-shadow:0 0 0 3px #a89aff20,inset 0 1px 0 #ffffff15;
}
.sort-options{
 background:#121d30f5;
 border-color:#9cb9ec55;
 box-shadow:inset 0 1px #ffffff15,0 14px 35px #0007;
 -webkit-backdrop-filter:blur(18px);
 backdrop-filter:blur(18px);
}
#leaderboard .items .item .bar{
 background:#b4c8ff09;
 box-shadow:inset 0 1px #d5e2ff12,inset 0 0 0 1px #97b6f016;
}
#leaderboard .items .item .fill{
 background:linear-gradient(105deg,#9e75e535,#668cd02e 70%,#74c9ff20);
}
#leaderboard>.suggest .submit,
#leaderboard .leaderboard-heading .ranking-tabs button[aria-pressed=true]{
 background:linear-gradient(135deg,#8662dc,#496cc5);
 box-shadow:inset 0 1px 0 #e4ddff65,inset 0 0 0 1px #bfbcff35,0 3px 13px #6052dd30;
 color:#fff;
}
/* Vote buttons are a soft violet chip so the monster names lead; they light up solid on hover. */
#leaderboard .items .item .vote{
 background:#8a6be624;
 box-shadow:inset 0 0 0 1px #a88cff3d;
 color:#e3d9ff;
}
#leaderboard .items .item .vote:not(:disabled):hover,
#leaderboard>.suggest .submit:not(:disabled):hover{
 background:linear-gradient(135deg,#9774ef,#5c80db);
 box-shadow:inset 0 1px 0 #ffffff75,0 0 16px #8473ff45;
}
#leaderboard .items .item .vote.is-voted{
 background:linear-gradient(135deg,#215649b3,#173a3acc);
 color:#b6f7db;
 box-shadow:inset 0 1px #b6f7db22;
}
/* Already voted but votes remain: stays green, drops the check, and keeps "Vote again" on one line. */
#leaderboard .items .item .vote.is-again .vote-box{display:none}
#leaderboard .items .item .vote.is-again{white-space:nowrap}
#leaderboard .items .item .vote:disabled:not(.is-voted),
#leaderboard>.suggest .submit:disabled{box-shadow:inset 0 1px #ffffff18}
.completed-entry,.commission-entry{
 background:linear-gradient(115deg,#abc7ff0c,#c4d6ff03);
 box-shadow:inset 0 1px #cfdeff0d,inset 0 0 0 1px #abc7ff0b;
}
.catalog-photo{box-shadow:0 8px 24px #00000030,0 0 0 1px #b7cfff26}
.completed-toggle,.catalog .more,#leaderboard>.more{
 background:linear-gradient(135deg,#b2c7ff0b,#769bd005);
 border-color:#9cb9ec3b;
 box-shadow:inset 0 1px #ffffff0b;
}
@media(prefers-reduced-transparency:reduce){
 #leaderboard.column.active,.commission-panel{background:#162036;backdrop-filter:none;-webkit-backdrop-filter:none}
 .catalog-search,#leaderboard>.suggest input,.catalog-sort,.sort-options{background-color:#111c30}
}

/* ==== flair.css ==== */
/* Page flair, loaded last. Small CSS-only touches; JS in index.html adds the classes.
   Everything here is turned off under prefers-reduced-motion at the bottom of the file. */

/* Drifting background: soft page glows move slowly on a fixed layer behind everything (the panels are
   see-through glass, so it shows through them). The solid page color stays on :root, so body is transparent. */
body{background:transparent}
body::before{content:"";position:fixed;inset:-20%;z-index:-1;pointer-events:none;will-change:transform;
 background:radial-gradient(ellipse 38% 34% at 80% 28%,#5b63b82e,transparent 70%),
  radial-gradient(ellipse 36% 40% at 15% 72%,#7a4bb024,transparent 70%),
  radial-gradient(ellipse 28% 26% at 50% 105%,#ffd88a10,transparent 70%);
 animation:bg-drift 32s ease-in-out infinite alternate}
@keyframes bg-drift{0%{transform:translate3d(-4%,2%,0) scale(1)}50%{transform:translate3d(3%,-3%,0) scale(1.05)}100%{transform:translate3d(-1%,4%,0) scale(1.02)}}

/* Vote pips: a spent vote flashes gold and empties; refilled votes pop back in. */
.vote-dots .dot.just-spent{animation:pip-spend .55s ease-out}
.vote-dots .dot.just-filled{animation:pip-fill .5s cubic-bezier(.3,1.6,.5,1) both}
@keyframes pip-spend{0%{transform:scale(1);background:#c9b6ff;border-color:#c9b6ff}35%{transform:scale(1.6);background:#ffd88a;border-color:#ffd88a;box-shadow:0 0 12px #ffd88a}100%{transform:scale(1)}}
@keyframes pip-fill{0%{transform:scale(0)}100%{transform:scale(1)}}

/* Last vote of the day: gold sparks burst from the pips and the "votes left" text glows. */
.last-vote-spark{position:absolute;z-index:70;width:6px;height:6px;border-radius:50%;background:#ffd88a;box-shadow:0 0 6px #ffd88a;pointer-events:none;opacity:0;animation:last-spark .9s ease-out forwards}
@keyframes last-spark{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(.4)}}
#remaining.is-cheering{animation:cheer 1.1s ease-out}
@keyframes cheer{25%{color:#ffd88a;text-shadow:0 0 10px #ffd88a88}}

/* Medal bars: the top three rows use the same smooth gradient as the other bars (see the glass-theme section above),
   starting from a soft gold, silver or bronze instead of violet. */
#leaderboard .items .item.gold .fill{background:linear-gradient(105deg,#ffd88a33,#b99a7a2c 70%,#74c9ff1c)}
#leaderboard .items .item.silver .fill{background:linear-gradient(105deg,#e2e8ff30,#9aa6d42c 70%,#74c9ff1c)}
#leaderboard .items .item.bronze .fill{background:linear-gradient(105deg,#f0b48e30,#b08a8a2a 70%,#74c9ff1c)}

/* Catalog: cards fade up the first time they scroll into view, and lift on hover. */
.catalog-card.reveal{opacity:0;transform:translateY(14px)}
.catalog-card.revealed{transition:opacity .5s ease-out,transform .5s cubic-bezier(.2,.8,.2,1)}
.catalog-photo{transition:transform .25s ease-out,box-shadow .25s ease-out}
.catalog-card:hover .catalog-photo{transform:translateY(-4px);box-shadow:0 14px 30px #00000066,0 0 0 1px #c7b7ff55}

@media(prefers-reduced-motion:reduce){
 body::before,.vote-dots .dot.just-spent,.vote-dots .dot.just-filled,#remaining.is-cheering{animation:none}
 .last-vote-spark{display:none}
 .catalog-card.reveal{opacity:1;transform:none}
 .catalog-card.revealed,.catalog-photo{transition:none}
 .catalog-card:hover .catalog-photo{transform:none}
}

/* ==== footer ==== */
/* Just a "Back to top" link; the header already has the brand and links. */
.site-footer{display:flex;justify-content:center;margin-top:40px;padding-top:20px;border-top:1px solid #ffffff14;font-size:12px}
.footer-top{color:#a9a3c2;font-weight:600;text-decoration:none}
.footer-top:hover{color:#f1eaff;text-decoration:underline}
.footer-top:focus-visible{outline:2px solid #bba0ff;outline-offset:3px;border-radius:4px}
@media(max-width:680px){.site-footer{margin-top:32px}}

/* ==== type scale ==== */
/* Section titles share one size and weight; small labels share one uppercase style. */
.catalog-heading,.vote-title h2,#supportersTitle{font-size:20px;font-weight:800;letter-spacing:-.02em}
.leaderboard-heading h3,.completed-heading h3{color:#a5a3bf;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
/* Small print is at least 12px and a lighter gray so it reads on phones. */
.catalog-meta,.completed-votes,.ranking-note,.vote-community,.count-badge{font-size:12px;color:#b6b3cf}
.token-name,.supporter-cta,.completed-links a{font-size:12px}
/* Inter runs a little wider than system fonts: keep the request-search hint on one line on phones. */
@media(max-width:680px){#suggestion::placeholder{font-size:15px}}

/* ==== compact phones ==== */
/* Tighter spacing on phones so more fits on screen. Inputs stay at 16px so iOS does not zoom in. */
@media(max-width:680px){
 .hero{padding:12px 0 16px}
 .hero h1{font-size:24px;margin-bottom:6px}
 #leaderboard,.commission-panel{padding:14px 12px;border-radius:18px}
 .vote-title{margin-bottom:12px}
 #leaderboard>.shared-search .suggest-form #send,#leaderboard>.suggest input,#leaderboard>.suggest .submit,#suggestion{min-height:40px}
 #leaderboard .leaderboard-heading{padding-top:10px;margin-bottom:8px}
 #leaderboard .items{gap:5px}
 #leaderboard .items .item{grid-template-columns:22px minmax(0,1fr) 34px 70px;column-gap:8px;padding:2px 0 2px 8px;min-height:40px}
 #leaderboard .items .item .bar{right:78px}
 #leaderboard .items .item .vote{min-height:38px}
 .completion-divider{margin:16px 0 14px}
 .completed-entry{min-height:44px;padding-top:6px;padding-bottom:6px}
 .completed-entry.has-photo{grid-template-columns:44px minmax(0,1fr) auto}
 .completed-thumb{width:44px;height:33px}
 .catalog-search,.catalog-sort{min-height:40px}
 .catalog-filters button{min-height:30px;padding:4px 12px}
 .completed-links a:only-child{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;font-size:0;border-radius:8px;text-decoration:none}
 .completed-links a:only-child::after{content:'↗';font-size:16px}
 .completed-toggle,#leaderboard .more{min-height:34px;margin-top:10px;padding:6px 12px}
 .supporter-tokens{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
 .supporter-token{padding:8px 4px 7px;gap:3px}
 .site-footer{margin-top:24px;padding-top:14px}
}
