:root{
  --bg:#080808;--ink:#f5f2ee;--muted:#999694;--line:#292929;--panel:#101010;
  --pink:#f2387d;--pink-hot:#ff5a96;--red:#d8353d;--blue:#57b9e6;--gold:#d7b15e;
  --paper:#f3f0eb;--black:#080808;--max:1380px
}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);font-family:"Aptos","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:400;scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:
  radial-gradient(circle at 86% 8%,rgba(242,56,125,.055),transparent 23%),
  radial-gradient(circle at 12% 44%,rgba(255,255,255,.025),transparent 20%),
  linear-gradient(180deg,#080808 0%,#090909 54%,#070707 100%);overflow-x:hidden;position:relative}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select{font:inherit}
.announcement{height:30px;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--paper);color:#0b0b0b;font-size:9px;font-weight:600;letter-spacing:.22em}
.announcement span{color:var(--pink-hot)}
.site-header{height:88px;max-width:var(--max);margin:auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:20;background:rgba(8,8,8,.90);backdrop-filter:blur(14px)}
.brand{display:flex;align-items:center;gap:13px}.brand-symbol{width:48px;height:48px;display:grid;place-items:center;position:relative;border:2px solid #eee;transform:skew(-7deg)}
.brand-symbol i{position:absolute;inset:7px -6px -6px 7px;border-right:3px solid var(--pink-hot);border-bottom:3px solid var(--pink-hot);z-index:-1}.brand-symbol b{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-size:19px;letter-spacing:-.04em;transform:skew(7deg)}
.brand-type strong{display:block;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:21px;letter-spacing:.08em;line-height:1}.brand-type strong span{color:var(--pink)}.brand-type small{display:block;margin-top:5px;font-size:8px;color:#8e8b89;letter-spacing:.35em}
.site-header nav{display:flex;align-items:center;gap:34px}.site-header nav a{font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;position:relative;padding:8px 0}.site-header nav a:after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--pink-hot);transition:.2s}.site-header nav a:hover:after{width:100%}
main{min-height:70vh}.section-wrap{width:min(var(--max),100%);margin:auto;padding-left:30px;padding-right:30px}
.micro-label,.hero-label{font-size:10px;letter-spacing:.28em;font-weight:500;color:var(--pink);text-transform:uppercase}
.home-hero{width:min(var(--max),100%);margin:auto;min-height:650px;padding:72px 30px 76px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:25px;position:relative;isolation:isolate;border-bottom:1px solid var(--line)}
.home-hero:before{content:"";position:absolute;width:540px;height:540px;border-radius:50%;right:40px;top:45px;background:radial-gradient(circle,rgba(242,56,125,.13),rgba(242,56,125,.025) 45%,transparent 67%);z-index:-2}
.sakura-noise{position:absolute;inset:-1px;z-index:-3;opacity:.78;background-image:
  linear-gradient(90deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.60) 42%,rgba(8,8,8,.18) 100%),
  url("../img/saitodex-backdrop.3b56746d8092.svg"),
  radial-gradient(ellipse at 17% 13%,rgba(242,56,125,.11) 0 2px,transparent 3px),
  radial-gradient(ellipse at 84% 22%,rgba(242,56,125,.08) 0 1px,transparent 3px);
  background-size:100% 100%,cover,151px 111px,191px 157px;background-position:center,center right,0 0,24px 36px;background-repeat:no-repeat,no-repeat,repeat,repeat}
.hero-copy{position:relative;z-index:5}.hero-copy h1,.page-hero h1,.set-hero h1,.detail-copy h1,.section-title-row h2,.split-feature h2,.database-cta h2{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;text-transform:uppercase;letter-spacing:.025em;margin:0;line-height:.92}
.hero-copy h1{font-size:clamp(66px,7.4vw,116px);margin:18px 0 25px}.hero-copy h1 em,.page-hero h1 em{font-style:inherit;color:var(--pink);-webkit-text-stroke:1px var(--pink)}
.hero-copy>p{max-width:650px;margin:0;color:#aaa6a3;line-height:1.72;font-size:16px}
.hero-search{display:flex;max-width:720px;margin-top:35px;background:#111;border:1px solid #343434;box-shadow:0 12px 35px rgba(0,0,0,.25)}
.hero-search input{min-width:0;flex:1;background:transparent;border:0;color:#fff;padding:18px 20px;outline:none;font-size:11px;font-weight:500;letter-spacing:.08em}.hero-search input::placeholder{color:#686665}.hero-search button{border:0;background:var(--pink);color:#fff;padding:0 25px;min-width:130px;font-size:10px;font-weight:650;letter-spacing:.14em;cursor:pointer}.hero-search button:hover{background:#fff}.hero-search button span{margin-left:8px}
.hero-stats{display:flex;gap:38px;margin-top:38px}.hero-stats div{display:grid;gap:2px}.hero-stats strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:31px;font-weight:600;font-style:normal}.hero-stats span{font-size:9px;color:#777471;text-transform:uppercase;letter-spacing:.14em}
.hero-cards{height:540px;position:relative;z-index:2}.sun-disc{position:absolute;width:335px;height:335px;border-radius:50%;right:70px;top:78px;background:linear-gradient(145deg,var(--pink-hot),var(--pink));opacity:.80;box-shadow:0 0 0 1px rgba(255,255,255,.06),0 45px 110px rgba(242,56,125,.16),0 0 80px rgba(242,56,125,.06)}
.fan-card{position:absolute;width:min(255px,34vw);border-radius:12px;box-shadow:0 28px 65px rgba(0,0,0,.55);transform-origin:50% 100%;border:1px solid rgba(255,255,255,.18)}.fan-1{right:235px;top:105px;transform:rotate(-13deg)}.fan-2{right:112px;top:65px;transform:rotate(2deg);z-index:2}.fan-3{right:2px;top:116px;transform:rotate(14deg)}
.vertical-jp{position:absolute;right:-3px;top:14px;writing-mode:vertical-rl;font-family:serif;font-size:17px;letter-spacing:.35em;color:rgba(255,255,255,.38)}
.ticker{height:50px;background:var(--paper);color:#111;overflow:hidden;display:flex;align-items:center}.ticker div{width:100%;display:flex;justify-content:space-around;align-items:center;gap:20px;white-space:nowrap;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:14px;letter-spacing:.1em}.ticker b{color:var(--pink-hot)}
.sets-section{padding-top:92px;padding-bottom:105px;position:relative;isolation:isolate}.sets-section:before{content:"";position:absolute;left:50%;top:0;width:100vw;height:100%;transform:translateX(-50%);z-index:-1;pointer-events:none;background:
  linear-gradient(180deg,rgba(255,255,255,.018),transparent 18%,transparent 78%,rgba(242,56,125,.022)),
  repeating-linear-gradient(128deg,transparent 0 118px,rgba(255,255,255,.017) 119px 120px)}.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:34px}.section-title-row h2{font-size:clamp(43px,5vw,68px);margin-top:9px}.text-link{font-size:9px;font-weight:600;letter-spacing:.18em;color:#c9c6c2;padding-bottom:5px;border-bottom:1px solid #555}.text-link:hover{color:var(--pink);border-color:var(--pink)}
.set-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.set-panel{height:340px;border:1px solid #333;position:relative;overflow:hidden;padding:25px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;background:rgba(17,17,17,.86);box-shadow:0 18px 45px rgba(0,0,0,.18);transition:transform .2s,border-color .2s,box-shadow .2s}.set-panel:hover{transform:translateY(-5px);border-color:#777;box-shadow:0 26px 65px rgba(0,0,0,.34)}.set-panel:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(145deg,#181818,#090909)}.set-sl1a:after,.set-slua:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 78% 24%,rgba(242,56,125,.35),transparent 37%),linear-gradient(135deg,transparent 45%,rgba(242,56,125,.07) 46% 47%,transparent 48%)}.set-slua:after{background:radial-gradient(circle at 78% 24%,rgba(255,255,255,.18),transparent 35%),linear-gradient(135deg,transparent 45%,rgba(242,56,125,.08) 46% 47%,transparent 48%)}.set-gr10:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 77% 26%,rgba(74,180,230,.28),transparent 34%),repeating-linear-gradient(132deg,transparent 0 35px,rgba(255,255,255,.025) 36px 37px)}
.set-panel-top{display:flex;justify-content:space-between;position:relative;z-index:2}.set-panel-top span{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:28px}.set-panel-top small{font-size:8px;font-weight:600;letter-spacing:.16em;color:#95918e}.set-art-word{position:absolute;right:-4px;top:38px;font-family:serif;font-weight:600;font-size:145px;color:rgba(255,255,255,.055);line-height:1;transform:rotate(-6deg)}.set-sl1a .set-art-word{color:rgba(242,56,125,.13)}.set-panel-copy{position:relative;z-index:2}.set-panel-copy p{margin:0 0 5px;font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#aaa6a2}.set-panel-copy h3{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:38px;font-weight:600;font-style:normal;text-transform:uppercase;margin:0 0 23px;line-height:.95}.set-panel-copy>span{display:flex;justify-content:space-between;font-size:9px;font-weight:600;letter-spacing:.18em;border-top:1px solid rgba(255,255,255,.18);padding-top:14px}.set-panel-copy b{color:var(--pink);font-size:14px}
.split-feature{padding-top:90px;padding-bottom:100px;display:grid;grid-template-columns:190px 1fr 1.15fr;gap:55px;align-items:center;border-top:1px solid var(--line)}.feature-number{font-family:serif;font-size:170px;line-height:1;color:rgba(242,56,125,.22);text-align:center}.feature-copy h2{font-size:clamp(50px,5vw,76px);margin:12px 0 22px}.feature-copy p{max-width:500px;color:#9f9b98;line-height:1.7}.outline-button,.solid-button{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;border:1px solid #5b5856;min-height:46px;padding:0 20px;font-size:9px;font-weight:600;letter-spacing:.16em}.outline-button:hover{border-color:var(--pink);color:var(--pink)}.rarity-stack{border-top:1px solid #333}.rarity-stack>div{min-height:55px;display:grid;grid-template-columns:80px 1fr;align-items:center;border-bottom:1px solid #2b2b2b;transition:.15s}.rarity-stack>div:hover{padding-left:8px;background:#101010}.rarity-stack span{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;color:var(--pink);font-size:20px}.rarity-stack strong{font-size:10px;letter-spacing:.14em}
.database-cta{margin-top:30px;color:#f5f2ee;position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.08);background:
  linear-gradient(90deg,rgba(8,8,8,.98),rgba(14,14,14,.90) 52%,rgba(242,56,125,.15)),
  url("../img/saitodex-backdrop.3b56746d8092.svg") center right/1100px auto no-repeat}.database-cta:after{content:"";position:absolute;left:0;top:0;width:34%;height:2px;background:linear-gradient(90deg,var(--pink-hot),var(--pink),transparent)}.cta-inner{min-height:300px;display:grid;grid-template-columns:220px 1fr auto;gap:45px;align-items:center;position:relative}.big-jp{font-family:serif;font-size:160px;font-weight:600;line-height:1;color:rgba(242,56,125,.20)}.database-cta .micro-label{color:var(--pink-hot)}.database-cta h2{font-size:clamp(40px,4.5vw,65px)}.solid-button{background:var(--pink);color:#fff;border-color:var(--pink);margin:0;min-height:54px;padding:0 25px}.solid-button:hover{background:#fff;color:#000;border-color:#fff}
.page-hero{width:min(var(--max),100%);margin:auto;padding:88px 30px 72px;border-bottom:1px solid var(--line);position:relative;overflow:hidden;background-image:linear-gradient(90deg,rgba(8,8,8,.98) 0%,rgba(8,8,8,.82) 57%,rgba(8,8,8,.35) 100%),url("../img/saitodex-backdrop.3b56746d8092.svg");background-position:center,center right;background-size:100% 100%,980px auto;background-repeat:no-repeat}.page-hero:after{content:"斎藤";position:absolute;right:20px;top:-24px;font-family:serif;font-size:210px;font-weight:600;color:rgba(255,255,255,.025);pointer-events:none}.page-hero h1{font-size:clamp(68px,8vw,122px);margin:15px 0}.page-hero>p{max-width:650px;color:#9e9a97;line-height:1.7}.simple-hero{min-height:300px}.search-hero{padding-bottom:55px}.page-search{margin-top:30px}.guide-hero em{color:var(--pink)}
.page-section{padding-top:58px;padding-bottom:90px}.set-grid-page{margin-top:8px}
.set-hero{border-bottom:1px solid var(--line);position:relative;overflow:hidden}.set-hero-inner{width:min(var(--max),100%);margin:auto;min-height:330px;padding:70px 30px;display:grid;grid-template-columns:1fr 190px;gap:40px;align-items:center;position:relative}.set-hero-inner>div:first-child{position:relative;z-index:2}.set-hero h1{font-size:clamp(65px,7vw,105px);margin:13px 0 20px}.set-hero p{max-width:720px;color:#9e9b98;line-height:1.65;margin:0}.set-hero-count{display:grid;justify-items:end;position:relative;z-index:2}.set-hero-count strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:68px;font-weight:600;font-style:normal}.set-hero-count span{font-size:8px;font-weight:600;letter-spacing:.18em;color:#938f8c}.set-hero-jp{position:absolute;right:20%;top:-20px;font-family:serif;font-size:270px;font-weight:600;color:rgba(255,255,255,.035);line-height:1}.set-hero-sl1a{background:radial-gradient(circle at 80% 25%,rgba(242,56,125,.17),transparent 32%),#090909}.set-hero-slua{background:radial-gradient(circle at 80% 25%,rgba(255,255,255,.09),transparent 32%),#090909}.set-hero-gr10{background:radial-gradient(circle at 80% 25%,rgba(87,185,230,.16),transparent 32%),#090909}
.filters{display:grid;grid-template-columns:minmax(280px,1fr) 250px 120px;border:1px solid #333;background:#0d0d0d}.filters label{display:grid;gap:3px;padding:11px 14px;border-right:1px solid #2d2d2d}.filters label>span{font-size:7px;font-weight:600;letter-spacing:.18em;color:#706e6c}.filters input,.filters select{width:100%;border:0;background:transparent;color:#f3f0ed;outline:none;padding:5px 0;font-size:12px}.filters select option{background:#101010}.filters button{border:0;background:var(--paper);color:#0b0b0b;font-size:9px;font-weight:650;letter-spacing:.15em;cursor:pointer}.filters button:hover{background:var(--pink)}.results-line{display:flex;justify-content:space-between;margin:22px 0 18px;font-size:8px;font-weight:600;letter-spacing:.14em;color:#7f7c79}.results-line a:hover{color:var(--pink)}
.card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.card-tile{min-width:0;background:linear-gradient(160deg,rgba(18,18,18,.96),rgba(10,10,10,.96));border:1px solid #292929;padding:9px 9px 16px;transition:transform .18s,border-color .18s,background .18s}.card-tile:hover{transform:translateY(-4px);border-color:#666;background:#111}.card-art{aspect-ratio:5/7;position:relative;background:#111;overflow:hidden}.card-art>img{width:100%;height:100%;object-fit:contain;background:#090909}.art-placeholder{height:100%;display:grid;place-content:center;text-align:center;position:relative;background:linear-gradient(145deg,#161616,#0a0a0a);isolation:isolate}.art-placeholder:before{content:"";position:absolute;inset:12px;border:1px solid #2d2d2d;z-index:-1}.art-placeholder:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:rgba(242,56,125,.06);left:50%;top:50%;transform:translate(-50%,-50%);z-index:-2}.set-tone-gr10 .art-placeholder:after{background:rgba(87,185,230,.07)}.placeholder-jp{font-family:serif;font-size:38px;color:#363331}.art-placeholder strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:28px;margin-top:8px}.art-placeholder small{font-size:9px;color:#6c6967;letter-spacing:.2em}.rarity-chip{position:absolute;left:8px;bottom:8px;background:rgba(6,6,6,.88);backdrop-filter:blur(4px);padding:5px 7px;font-size:7px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border-left:2px solid var(--pink)}.set-tone-gr10 .rarity-chip{border-color:var(--blue)}.card-meta{display:flex;justify-content:space-between;gap:8px;margin-top:12px;color:#787573;font-size:7px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.card-tile h3{margin:7px 0 4px;font-size:13px;line-height:1.25;text-transform:uppercase;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-tile p{margin:0;color:#767371;font-size:9px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.empty-state,.search-prompt{grid-column:1/-1;min-height:270px;border:1px dashed #343434;display:grid;place-content:center;justify-items:center;text-align:center;padding:35px}.empty-state strong,.search-prompt strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:32px}.empty-state span,.search-prompt p{color:#77736f;font-size:11px}.search-prompt>span{font-family:serif;color:rgba(242,56,125,.3);font-size:75px}
.card-detail{padding-top:75px;padding-bottom:100px;display:grid;grid-template-columns:minmax(320px,500px) minmax(0,1fr);gap:75px}.detail-art-wrap{min-width:0}.detail-art{aspect-ratio:5/7;background:#0d0d0d;border:1px solid #292929;padding:13px;box-shadow:0 35px 80px rgba(0,0,0,.35)}.detail-art img{width:100%;height:100%;object-fit:contain}.detail-placeholder{height:100%;display:grid;place-content:center;text-align:center;background:linear-gradient(145deg,#151515,#090909);border:1px solid #232323}.detail-placeholder span{font-family:serif;font-size:70px;color:rgba(242,56,125,.18)}.detail-placeholder strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:34px;font-weight:600;font-style:normal}.detail-placeholder small{font-size:8px;letter-spacing:.2em;color:#696663;margin-top:8px}.back-link{display:inline-block;margin-top:18px;font-size:8px;font-weight:600;letter-spacing:.15em;color:#777370}.back-link:hover{color:var(--pink)}.detail-copy{padding-top:10px}.detail-code{display:flex;align-items:center;gap:10px;margin-bottom:18px}.detail-code span{background:var(--pink);color:#080808;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;padding:5px 8px}.detail-code b{font-size:10px;letter-spacing:.16em;color:#888582}.detail-copy h1{font-size:clamp(58px,6vw,92px);margin:13px 0 14px;max-width:780px}.detail-lead{font-size:17px;color:#aaa6a3;margin:0 0 30px}.facts{border-top:1px solid #303030}.facts>div{display:grid;grid-template-columns:155px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid #292929}.facts span,.card-notes>span{font-size:7px;font-weight:600;letter-spacing:.16em;color:#777471}.facts strong{font-size:11px;font-weight:500}.value-panel{margin-top:29px;border:1px solid #383838;border-left:3px solid var(--pink);background:#101010;padding:20px 22px}.value-panel>div{display:flex;align-items:end;justify-content:space-between;gap:20px}.value-panel span{font-size:8px;font-weight:600;letter-spacing:.14em;color:#97938f}.value-panel strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:38px}.value-panel small{display:block;margin-top:8px;color:#6f6c69;font-size:9px}.card-notes{margin-top:28px}.card-notes p{color:#9d9996;line-height:1.7;font-size:12px}.source-link{display:inline-block;margin-top:12px;font-size:8px;font-weight:600;letter-spacing:.13em;border-bottom:1px solid #4d4947;padding-bottom:4px}.source-link:hover{color:var(--pink);border-color:var(--pink)}
.tier-grid{border-top:1px solid #303030}.tier-row{min-height:116px;display:grid;grid-template-columns:120px 1fr 75px;gap:25px;align-items:center;border-bottom:1px solid #292929;padding:18px 5px;position:relative}.tier-code{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:38px;color:var(--pink)}.tier-row h2{margin:0 0 6px;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;text-transform:uppercase;font-size:27px}.tier-row p{margin:0;color:#85817e;font-size:11px}.tier-row>b{font-family:serif;font-size:42px;color:#292929;text-align:right}.guide-note{margin-top:45px;border:1px solid #303030;padding:28px;display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:25px}.guide-note>span{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;font-size:22px;color:var(--pink)}.guide-note p{font-size:11px;color:#8d8986}.guide-note a{font-size:8px;font-weight:600;letter-spacing:.15em}
.site-footer{width:min(var(--max),100%);margin:40px auto 0;border-top:1px solid #282828;padding:35px 30px 45px;display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:30px;color:#6f6b68}.footer-brand{display:grid;gap:3px}.footer-brand strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;font-style:normal;letter-spacing:.07em;color:#ddd}.footer-brand span{font-size:7px;letter-spacing:.26em}.site-footer p{font-size:9px;margin:0;text-align:center}.footer-year{font-size:8px;font-weight:600;letter-spacing:.12em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1120px){.home-hero{grid-template-columns:1fr .82fr}.fan-card{width:220px}.fan-1{right:170px}.fan-2{right:70px}.fan-3{right:-25px}.card-grid{grid-template-columns:repeat(4,1fr)}.split-feature{grid-template-columns:120px 1fr 1.15fr;gap:35px}.feature-number{font-size:120px}.cta-inner{grid-template-columns:140px 1fr auto}.big-jp{font-size:110px}}
@media(max-width:880px){.announcement{font-size:7px}.site-header{height:76px}.site-header nav{gap:18px}.home-hero{grid-template-columns:1fr;padding-top:60px}.hero-cards{height:450px;max-width:650px;width:100%;margin:auto}.fan-card{width:225px}.fan-1{right:52%;top:70px}.fan-2{right:29%;top:25px}.fan-3{right:7%;top:75px}.sun-disc{width:290px;height:290px;right:24%;top:70px}.set-grid{grid-template-columns:1fr}.set-panel{height:290px}.split-feature{grid-template-columns:1fr}.feature-number{display:none}.cta-inner{grid-template-columns:1fr;padding-top:55px;padding-bottom:55px}.big-jp{position:absolute;right:20px;top:0;opacity:.7}.solid-button{justify-self:start}.card-grid{grid-template-columns:repeat(3,1fr)}.filters{grid-template-columns:1fr 1fr}.filters button{grid-column:1/-1;min-height:45px}.card-detail{grid-template-columns:1fr;gap:45px}.detail-art-wrap{max-width:520px;margin:auto;width:100%}.guide-note{grid-template-columns:1fr}.guide-note p{margin:0}.set-hero-inner{grid-template-columns:1fr}.set-hero-count{justify-items:start}.set-hero-jp{right:0}}
@media(max-width:600px){.announcement{height:25px;letter-spacing:.13em}.site-header{padding:0 16px}.brand-symbol{width:40px;height:40px}.brand-type strong{font-size:17px}.brand-type small{display:none}.site-header nav{gap:12px}.site-header nav a{font-size:8px}.section-wrap{padding-left:16px;padding-right:16px}.home-hero{padding:48px 16px 55px;min-height:0}.hero-copy h1{font-size:64px}.hero-copy>p{font-size:13px}.hero-search{display:grid}.hero-search button{min-height:47px}.hero-stats{gap:20px}.hero-stats strong{font-size:25px}.hero-cards{height:355px}.fan-card{width:170px}.fan-1{right:48%;top:72px}.fan-2{right:25%;top:25px}.fan-3{right:2%;top:72px}.sun-disc{width:230px;height:230px;right:17%;top:65px}.vertical-jp{display:none}.ticker div{font-size:10px}.sets-section{padding-top:65px;padding-bottom:70px}.section-title-row{align-items:start}.section-title-row h2{font-size:43px}.text-link{display:none}.set-panel{height:270px}.split-feature{padding-top:65px;padding-bottom:70px}.feature-copy h2{font-size:49px}.database-cta h2{font-size:38px}.page-hero{padding:65px 16px 55px}.page-hero h1{font-size:65px}.set-hero-inner{padding:55px 16px}.set-hero h1{font-size:58px}.set-hero-jp{font-size:180px}.page-section{padding-top:38px}.filters{grid-template-columns:1fr}.filters label{border-right:0;border-bottom:1px solid #2d2d2d}.filters button{grid-column:auto}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card-tile{padding:6px 6px 12px}.card-meta span:last-child{display:none}.card-tile h3{font-size:11px}.rarity-chip{font-size:6px}.card-detail{padding-top:45px;padding-bottom:70px}.detail-copy h1{font-size:55px}.facts>div{grid-template-columns:110px 1fr}.value-panel>div{align-items:center}.value-panel strong{font-size:30px}.tier-row{grid-template-columns:70px 1fr}.tier-row>b{display:none}.tier-code{font-size:27px}.tier-row h2{font-size:21px}.site-footer{padding-left:16px;padding-right:16px;grid-template-columns:1fr;gap:13px}.site-footer p{text-align:left}}

@media(max-width:880px){.sakura-noise{opacity:.58;background-position:center,68% center,0 0,24px 36px}.database-cta{background-size:100% 100%,900px auto}.page-hero{background-size:100% 100%,760px auto}}
@media(max-width:600px){.sakura-noise{opacity:.42}.database-cta{background-image:linear-gradient(135deg,#0b0b0b 0%,#111 68%,rgba(242,56,125,.18));}.page-hero{background-image:linear-gradient(135deg,#080808,#0d0d0d 72%,rgba(242,56,125,.07));}}


:root{
  --pink:#ff4f91;
  --pink-hot:#ff70a7;
}


html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overscroll-behavior-x:none;
}
body{
  touch-action:pan-y pinch-zoom;
}
main,.site-header,.home-hero,.section-wrap,.sets-section,.split-feature,.database-cta,.page-hero,.set-hero,.site-footer{
  max-width:100%;
  overflow-x:clip;
}


.sakura-noise{
  opacity:1;
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.91) 34%,rgba(8,8,8,.67) 55%,rgba(8,8,8,.32) 77%,rgba(8,8,8,.12) 100%),
    linear-gradient(180deg,rgba(8,8,8,.08),rgba(8,8,8,.18)),
    url("../img/saitodex-hero-art.388b21634491.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-size:100% 100%,100% 100%,cover,cover;
  background-position:center,center,center right,center right;
  background-repeat:no-repeat;
  filter:saturate(.94) contrast(1.03);
}
.home-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 78% 40%,rgba(255,112,167,.10),transparent 29%),
    linear-gradient(180deg,transparent 68%,rgba(8,8,8,.70) 100%);
}


.sets-section:before{
  background:
    linear-gradient(180deg,rgba(8,8,8,.86),rgba(8,8,8,.97) 48%,rgba(8,8,8,.98)),
    linear-gradient(90deg,rgba(8,8,8,.25),rgba(8,8,8,.74)),
    url("../img/saitodex-section-art.9b9c302a3fa1.webp") center 18%/cover no-repeat,
    repeating-linear-gradient(128deg,transparent 0 118px,rgba(255,255,255,.017) 119px 120px);
}

.database-cta{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.94) 0%,rgba(8,8,8,.83) 48%,rgba(8,8,8,.46) 100%),
    url("../img/saitodex-section-art.9b9c302a3fa1.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-position:center,center right,center right;
  background-size:100% 100%,cover,1100px auto;
  background-repeat:no-repeat;
}

.page-hero{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.90) 49%,rgba(8,8,8,.48) 100%),
    url("../img/saitodex-hero-art.388b21634491.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-position:center,center right,center right;
  background-size:100% 100%,cover,980px auto;
  background-repeat:no-repeat;
}

@media(max-width:880px){
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.91) 0%,rgba(8,8,8,.76) 45%,rgba(8,8,8,.55) 100%),
      url("../img/saitodex-hero-art.388b21634491.webp"),
      url("../img/saitodex-backdrop.3b56746d8092.svg");
    background-size:100% 100%,cover,cover;
    background-position:center,68% center,68% center;
  }
  .database-cta{
    background-size:100% 100%,cover,900px auto;
  }
  .page-hero{
    background-size:100% 100%,cover,760px auto;
    background-position:center,68% center,68% center;
  }
}

@media(max-width:600px){
  html,body{overflow-x:hidden!important;overscroll-behavior-x:none}
  body{touch-action:pan-y pinch-zoom}
  .site-header,.section-wrap,.home-hero,.site-footer{width:100%;max-width:100%}
  .home-hero{overflow:hidden}
  .hero-cards{max-width:100%;overflow:visible}
  .fan-card{max-width:48vw}
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.88) 0%,rgba(8,8,8,.76) 48%,rgba(8,8,8,.60) 100%),
      url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,61% center;
    filter:saturate(.90) brightness(.90);
  }
  .sets-section:before{
    background:
      linear-gradient(180deg,rgba(8,8,8,.90),rgba(8,8,8,.985)),
      url("../img/saitodex-section-art.9b9c302a3fa1.webp") 38% top/auto 360px no-repeat;
  }
  .database-cta{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.84),rgba(8,8,8,.96)),
      url("../img/saitodex-section-art.9b9c302a3fa1.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,42% center;
  }
  .page-hero{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.88),rgba(8,8,8,.94)),
      url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,63% center;
  }
}


:root{
  --pink:#ff5d9c;
  --pink-hot:#ff7fb0;
}


.sakura-noise{
  opacity:1;
  background-image:
    linear-gradient(90deg,
      rgba(8,8,8,.995) 0%,
      rgba(8,8,8,.975) 30%,
      rgba(8,8,8,.90) 43%,
      rgba(8,8,8,.68) 58%,
      rgba(8,8,8,.30) 76%,
      rgba(8,8,8,.12) 100%),
    linear-gradient(180deg,rgba(8,8,8,.08),rgba(8,8,8,.20)),
    url("../img/saitodex-hero-art.388b21634491.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-size:100% 100%,100% 100%,auto 116%,cover;
  background-position:center,center,right -10px center,center right;
  background-repeat:no-repeat;
  filter:none;
}
.home-hero:before{opacity:.28}
.sun-disc{display:none}
.home-hero:after{
  background:
    radial-gradient(circle at 82% 40%,rgba(255,127,176,.07),transparent 28%),
    linear-gradient(180deg,transparent 66%,rgba(8,8,8,.78) 100%);
}


.sets-section:before{
  background:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.955) 42%,rgba(8,8,8,.72) 72%,rgba(8,8,8,.48) 100%),
    linear-gradient(180deg,rgba(8,8,8,.84),rgba(8,8,8,.97) 72%,#080808),
    url("../img/saitodex-section-art.9b9c302a3fa1.webp") right 8% top 28%/min(920px,68vw) auto no-repeat,
    repeating-linear-gradient(128deg,transparent 0 118px,rgba(255,255,255,.014) 119px 120px);
}
.database-cta{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.92) 44%,rgba(8,8,8,.60) 73%,rgba(8,8,8,.42) 100%),
    url("../img/saitodex-section-art.9b9c302a3fa1.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-size:100% 100%,auto 145%,1050px auto;
  background-position:center,right -25px center,center right;
  background-repeat:no-repeat;
}
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.995) 0%,rgba(8,8,8,.94) 45%,rgba(8,8,8,.61) 73%,rgba(8,8,8,.35) 100%),
    url("../img/saitodex-hero-art.388b21634491.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-size:100% 100%,auto 135%,940px auto;
  background-position:center,right -20px center,center right;
  background-repeat:no-repeat;
}

@media(max-width:880px){
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.93) 0%,rgba(8,8,8,.77) 47%,rgba(8,8,8,.62) 100%),
      url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 108%;
    background-position:center,70% center;
  }
  .sets-section:before{
    background:
      linear-gradient(180deg,rgba(8,8,8,.93),rgba(8,8,8,.985)),
      url("../img/saitodex-section-art.9b9c302a3fa1.webp") 64% 15%/auto 520px no-repeat;
  }
  .database-cta{
    background-size:100% 100%,auto 120%;
    background-position:center,65% center;
  }
  .page-hero{
    background-size:100% 100%,auto 120%;
    background-position:center,70% center;
  }
}

@media(max-width:600px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none}
  body{touch-action:pan-y pinch-zoom}
  #app,main,.site-header,.section-wrap,.home-hero,.sets-section,.split-feature,.database-cta,.page-hero,.set-hero,.site-footer{max-width:100vw;overflow-x:clip}
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.78) 50%,rgba(8,8,8,.67) 100%),
      url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 102%;
    background-position:center,68% center;
  }
  .sets-section:before{
    background:
      linear-gradient(180deg,rgba(8,8,8,.94),rgba(8,8,8,.99)),
      url("../img/saitodex-section-art.9b9c302a3fa1.webp") 59% top/auto 390px no-repeat;
  }
  .database-cta{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.88),rgba(8,8,8,.97)),
      url("../img/saitodex-section-art.9b9c302a3fa1.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,60% center;
  }
  .page-hero{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.90),rgba(8,8,8,.96)),
      url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,67% center;
  }
}


:root{
  --pink:#ff68a4;
  --pink-hot:#ff8bbb;
}

html,body{
  width:100%;
  max-width:100vw;
  overflow-x:hidden!important;
  overscroll-behavior-x:none;
}
body{touch-action:pan-y pinch-zoom}
main,.site-header,.home-hero,.section-wrap,.sets-section,.split-feature,.database-cta,.page-hero,.set-hero,.site-footer{
  min-width:0;
  max-width:100%;
}

.sakura-noise{
  opacity:1;
  background-image:
    linear-gradient(90deg,
      rgba(8,8,8,.985) 0%,
      rgba(8,8,8,.94) 27%,
      rgba(8,8,8,.78) 48%,
      rgba(8,8,8,.42) 72%,
      rgba(8,8,8,.20) 100%),
    linear-gradient(180deg,rgba(8,8,8,.08),rgba(8,8,8,.30)),
    url("../img/saitodex-hero-desktop.9e7f9c48b264.webp");
  background-size:100% 100%,100% 100%,cover;
  background-position:center,center,center;
  background-repeat:no-repeat;
  filter:none;
}
.home-hero:before{opacity:.14}
.home-hero:after{
  background:
    linear-gradient(180deg,rgba(8,8,8,.02) 54%,rgba(8,8,8,.82) 100%),
    radial-gradient(circle at 81% 44%,rgba(255,139,187,.07),transparent 31%);
}

.sets-section:before{
  background:
    linear-gradient(180deg,rgba(8,8,8,.93) 0%,rgba(8,8,8,.82) 24%,rgba(8,8,8,.95) 66%,#080808 100%),
    linear-gradient(90deg,rgba(8,8,8,.52),rgba(8,8,8,.28),rgba(8,8,8,.58)),
    url("../img/saitodex-section-wide.384a90a93da1.webp") center top/cover no-repeat;
}
.database-cta{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.97) 0%,rgba(8,8,8,.88) 42%,rgba(8,8,8,.48) 76%,rgba(8,8,8,.30) 100%),
    url("../img/saitodex-section-wide.384a90a93da1.webp");
  background-size:100% 100%,cover;
  background-position:center,center;
  background-repeat:no-repeat;
}
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.90) 43%,rgba(8,8,8,.52) 76%,rgba(8,8,8,.28) 100%),
    url("../img/saitodex-hero-desktop.9e7f9c48b264.webp");
  background-size:100% 100%,cover;
  background-position:center,center;
  background-repeat:no-repeat;
}

.hero-cards{
  filter:drop-shadow(0 22px 36px rgba(0,0,0,.34));
}
.fan-card{
  box-shadow:0 30px 75px rgba(0,0,0,.70),0 0 0 1px rgba(255,255,255,.10);
}

@media(max-width:880px){
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.86) 0%,rgba(8,8,8,.72) 45%,rgba(8,8,8,.68) 100%),
      url("../img/saitodex-hero-mobile.05e1b0976632.webp");
    background-size:100% 100%,cover;
    background-position:center,center;
  }
  .sets-section:before{
    background:
      linear-gradient(180deg,rgba(8,8,8,.91),rgba(8,8,8,.98)),
      url("../img/saitodex-section-wide.384a90a93da1.webp") 58% top/auto 560px no-repeat;
  }
  .database-cta{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.86),rgba(8,8,8,.96)),
      url("../img/saitodex-section-wide.384a90a93da1.webp");
    background-size:100% 100%,cover;
    background-position:center,56% center;
  }
  .page-hero{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.86),rgba(8,8,8,.94)),
      url("../img/saitodex-hero-mobile.05e1b0976632.webp");
    background-size:100% 100%,cover;
    background-position:center,center;
  }
}

@media(max-width:600px){
  html,body{position:relative;width:100%;max-width:100%;overflow-x:hidden!important}
  body{overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
  main,.site-header,.home-hero,.section-wrap,.sets-section,.split-feature,.database-cta,.page-hero,.set-hero,.site-footer{
    width:100%;max-width:100vw;overflow-x:hidden;
  }
  .home-hero{isolation:isolate}
  .hero-cards{width:100%;max-width:100%;overflow:hidden}
  .fan-card{max-width:47vw}
  .sakura-noise{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.86) 0%,rgba(8,8,8,.72) 48%,rgba(8,8,8,.67) 100%),
      url("../img/saitodex-hero-mobile.05e1b0976632.webp");
    background-size:100% 100%,cover;
    background-position:center,center;
  }
  .sets-section:before{
    background:
      linear-gradient(180deg,rgba(8,8,8,.92),rgba(8,8,8,.99)),
      url("../img/saitodex-section-wide.384a90a93da1.webp") 58% top/auto 420px no-repeat;
  }
}

/* =============================
   Database usability additions
   ============================= */
.browser-section{padding-top:54px}
.cards-hero{min-height:355px}
.filters-wide{grid-template-columns:minmax(270px,1.65fr) repeat(4,minmax(135px,.7fr)) auto}
.filters-wide .filter-search{min-width:0}
.filters select,.filters input,.search-set-filter select{width:100%}
.tile-value{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.09);font-size:12px;font-weight:650;letter-spacing:.08em;color:var(--pink-hot)}
.pagination{margin:48px 0 4px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px}
.pagination>a,.pagination-disabled{font-size:9px;font-weight:650;letter-spacing:.16em;text-transform:uppercase}.pagination>a:last-child,.pagination-disabled:last-child{text-align:right}.pagination>a:hover{color:var(--pink-hot)}.pagination-disabled{color:#555}
.pagination div{display:flex;align-items:baseline;gap:7px}.pagination div strong{font-size:24px;font-weight:500}.pagination div span{font-size:10px;color:#777}
.rarity-summary{display:flex;gap:8px;overflow-x:auto;padding:0 0 18px;margin-bottom:14px;scrollbar-width:thin;scrollbar-color:#333 transparent}
.rarity-summary a{flex:0 0 auto;min-width:118px;border:1px solid #2d2d2d;background:#0d0d0d;padding:13px 14px;display:flex;justify-content:space-between;align-items:center;gap:15px;transition:.18s}
.rarity-summary a:hover,.rarity-summary a.active{border-color:var(--pink);background:rgba(255,104,164,.07)}
.rarity-summary span{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#aaa}.rarity-summary strong{font-size:18px;font-weight:500;color:#fff}
.set-hero-stats{display:flex;gap:30px;align-self:flex-end;position:relative;z-index:2}.set-hero-stats div{display:grid;gap:4px;min-width:90px}.set-hero-stats strong{font-size:31px;font-weight:500}.set-hero-stats span{font-size:8px;color:#888;letter-spacing:.13em}
.search-hint{margin-top:17px!important;font-size:11px!important;color:#8f8b88!important}.search-hint strong{color:#e9e5e1;font-weight:550}
.search-set-filter{display:flex;justify-content:flex-end;margin-bottom:15px}.search-set-filter label{width:min(320px,100%)}.search-set-filter label>span{display:block;margin-bottom:8px;font-size:8px;letter-spacing:.15em;color:#777}.search-set-filter select{background:#0e0e0e;color:#eee;border:1px solid #333;padding:12px 13px;outline:none}
.card-neighbours{margin-top:34px;padding-top:22px;border-top:1px solid #2d2d2d;display:grid;grid-template-columns:1fr 1fr;gap:25px}.card-neighbours a{display:grid;gap:6px;min-width:0}.card-neighbours a.next{text-align:right}.card-neighbours span{font-size:8px;color:var(--pink);letter-spacing:.16em}.card-neighbours strong{font-size:12px;font-weight:500;color:#d8d4d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-neighbours a:hover strong{color:#fff}
.related-section{padding-top:10px;padding-bottom:90px}.compact-title{margin-bottom:24px}.compact-title h2{font-size:clamp(34px,4vw,52px)}.related-grid{grid-template-columns:repeat(4,1fr)}
.card-art .art-placeholder{background:linear-gradient(145deg,#111,#090909)}

@media(max-width:1180px){
  .filters-wide{grid-template-columns:1.4fr repeat(2,1fr);}.filters-wide button{min-height:54px}
  .set-hero-stats{gap:18px}.set-hero-stats strong{font-size:26px}
}
@media(max-width:880px){
  .filters-wide{grid-template-columns:1fr 1fr}.filters-wide .filter-search{grid-column:1/-1}.filters-wide button{grid-column:1/-1}
  .set-hero-stats{width:100%;justify-content:flex-start;margin-top:25px}.set-hero-stats div{min-width:0;flex:1}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .card-neighbours{gap:14px}
}
@media(max-width:600px){
  .site-header nav{gap:13px;overflow-x:auto;max-width:62vw;scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{white-space:nowrap;font-size:8px}
  .filters-wide,.filters{grid-template-columns:1fr!important}.filters-wide .filter-search,.filters .filter-search,.filters-wide button{grid-column:auto}
  .rarity-summary{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .rarity-summary a{min-width:104px;padding:11px 12px}.rarity-summary span{font-size:7px}.rarity-summary strong{font-size:16px}
  .set-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.set-hero-stats div{padding-right:5px}.set-hero-stats strong{font-size:23px}.set-hero-stats span{font-size:6.5px}
  .pagination{grid-template-columns:1fr auto 1fr;gap:10px}.pagination>a,.pagination-disabled{font-size:7px}.pagination div strong{font-size:19px}
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.related-section{padding-bottom:65px}
  .card-neighbours{grid-template-columns:1fr}.card-neighbours a.next{text-align:left}.card-neighbours>span{display:none}
  .search-set-filter{justify-content:stretch}.search-set-filter label{width:100%}
}


/* =============================
   v0.17 public wiki / search / rarity polish
   ============================= */
.site-footer{grid-template-columns:auto minmax(180px,1fr) minmax(320px,1.35fr) auto}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 16px}.footer-links a{font-size:8px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#aaa}.footer-links a:hover{color:var(--pink-hot)}
.search-controls{max-width:900px;display:grid;grid-template-columns:minmax(0,1fr) 235px 130px}.search-controls select{min-width:0;border:0;border-left:1px solid #343434;background:#0d0d0d;color:#eee;padding:0 14px;font-size:9px;font-weight:600;letter-spacing:.09em;outline:none}.search-controls button{min-width:0}.search-results-section{min-height:380px}
.rarity-chip{display:flex;align-items:center;gap:5px}.rarity-chip .rarity-logo{width:12px;height:12px;object-fit:contain;filter:invert(1);opacity:.92}.fact-rarity{display:inline-flex!important;align-items:center;gap:8px}.fact-rarity .rarity-logo{width:18px;height:18px;object-fit:contain;filter:invert(1);opacity:.94}
.tier-grid-logos .tier-row{grid-template-columns:62px 72px 1fr 50px}.tier-logo-wrap{width:52px;height:52px;display:grid;place-items:center;border:1px solid #303030;background:#0b0b0b}.tier-logo{width:36px;height:36px;object-fit:contain;filter:invert(1);opacity:.94}
.set-reference-strip{margin-top:34px;padding-top:25px;padding-bottom:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(420px,1.8fr) auto;gap:25px;align-items:center}.set-reference-copy p{margin:8px 0 0;color:#aaa6a3;font-size:12px;line-height:1.65}.set-reference-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.set-reference-facts div{padding:10px 12px;background:#0d0d0d;border:1px solid #292929;display:grid;gap:4px}.set-reference-facts span{font-size:7px;color:#777;letter-spacing:.14em}.set-reference-facts strong{font-size:10px;font-weight:550}.compact-button{white-space:nowrap}.set-panel-summary{display:block;max-width:310px;margin:-10px 0 16px;color:#85817e;font-size:9px;line-height:1.45}
.bundle-reference-strip{padding-top:18px;padding-bottom:18px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(320px,1.8fr);gap:25px;align-items:center}.bundle-reference-strip p{margin:7px 0 0;color:#85817e;font-size:10px;line-height:1.55}.bundle-reference-values{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.bundle-reference-values div{min-width:160px;padding:12px 14px;background:#0d0d0d;border:1px solid #292929;display:flex;align-items:center;justify-content:space-between;gap:20px}.bundle-reference-values span{font-size:8px;color:#888;letter-spacing:.08em;text-transform:uppercase}.bundle-reference-values strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:20px;font-weight:600;color:#fff}
.about-preview{padding-top:88px;padding-bottom:92px;border-top:1px solid var(--line);display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center}.about-preview-copy h2,.wiki-panel h2,.community-cta h2{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-weight:600;text-transform:uppercase;line-height:.94}.about-preview-copy h2{font-size:clamp(48px,5vw,68px);margin:10px 0 22px}.about-preview-copy>p{color:#aaa6a3;line-height:1.7;max-width:650px}.about-preview-actions{display:flex;align-items:center;gap:22px;margin-top:26px}.about-preview-cards{display:grid;gap:9px}.about-preview-cards article{border:1px solid #2e2e2e;background:#0d0d0d;padding:19px 20px;display:grid;grid-template-columns:75px 1fr;gap:3px 12px;align-items:center}.about-preview-cards article>span{grid-row:1/3;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:25px;color:var(--pink-hot)}.about-preview-cards strong{font-size:11px;letter-spacing:.08em}.about-preview-cards p{margin:2px 0 0;color:#777;font-size:9px;line-height:1.4}
.about-page{padding-bottom:90px}.about-intro-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.wiki-panel{padding:30px;border:1px solid #2d2d2d;background:#0d0d0d}.wiki-panel-primary{background:linear-gradient(135deg,rgba(255,93,156,.08),#0d0d0d 44%)}.wiki-panel h2{font-size:clamp(32px,3.5vw,48px);margin:10px 0 16px}.wiki-panel p{color:#aaa6a3;line-height:1.72;font-size:12px}.wiki-panel .outline-button,.wiki-panel .text-link{display:inline-flex;margin-top:10px}.about-set-title{margin-top:70px}.wiki-set-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.wiki-set-card{position:relative;overflow:hidden;padding:25px;border:1px solid #2d2d2d;background:#0d0d0d}.wiki-set-card:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-90px;top:-85px;background:rgba(255,93,156,.08)}.wiki-set-gr10:after{background:rgba(87,185,230,.10)}.wiki-set-code{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:35px;font-weight:600}.wiki-set-card>span{display:block;margin-top:4px;color:#888;font-size:8px;letter-spacing:.13em;text-transform:uppercase}.wiki-set-card>p{min-height:86px;color:#aaa6a3;font-size:11px;line-height:1.6}.wiki-facts{display:grid;gap:1px;margin:18px 0;background:#222}.wiki-facts div{padding:9px 10px;background:#0b0b0b;display:flex;justify-content:space-between;gap:15px}.wiki-facts small{font-size:7px;letter-spacing:.12em;color:#6f6c69}.wiki-facts strong{font-size:9px;font-weight:550;text-align:right}.wiki-set-card>a{font-size:8px;font-weight:650;letter-spacing:.14em;color:var(--pink-hot)}.methodology-panel{margin-top:15px}.methodology-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:22px}.methodology-grid div{border-top:1px solid #333;padding-top:14px}.methodology-grid strong{font-size:10px;letter-spacing:.1em}.methodology-grid p{font-size:10px;margin-bottom:0}.community-cta{margin-top:50px;padding:35px;border:1px solid #343434;background:linear-gradient(110deg,#0e0e0e,rgba(255,93,156,.09));display:flex;justify-content:space-between;align-items:center;gap:35px}.community-cta h2{font-size:38px;margin:8px 0 10px}.community-cta p{max-width:780px;margin:0;color:#96918e;font-size:11px;line-height:1.6}
.card-art>img,.detail-art>img{object-position:50% 50%;margin-left:auto;margin-right:auto}
.site-header nav{scroll-snap-type:x proximity}.site-header nav a{scroll-snap-align:start}
@media(max-width:980px){.set-reference-strip{grid-template-columns:1fr}.set-reference-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.set-reference-strip .compact-button{justify-self:start}.bundle-reference-strip{grid-template-columns:1fr}.bundle-reference-values{justify-content:flex-start}.about-preview{grid-template-columns:1fr}.wiki-set-grid{grid-template-columns:1fr}.about-intro-grid{grid-template-columns:1fr}.methodology-grid{grid-template-columns:1fr}.community-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.site-footer{grid-template-columns:1fr}.search-controls{grid-template-columns:1fr}.search-controls select{min-height:46px;border-left:0;border-top:1px solid #343434;padding:0 16px}.search-controls button{min-height:48px}.set-reference-facts{grid-template-columns:1fr 1fr}.set-reference-strip{margin-top:18px;padding-top:18px;padding-bottom:18px}.about-preview{padding-top:60px;padding-bottom:64px;gap:30px}.about-preview-actions{align-items:flex-start;flex-direction:column}.about-preview-cards article{grid-template-columns:62px 1fr;padding:15px}.about-preview-cards article>span{font-size:22px}.wiki-panel{padding:22px 18px}.wiki-set-grid{gap:10px}.wiki-set-card{padding:20px 18px}.wiki-set-card>p{min-height:0}.community-cta{padding:24px 18px}.community-cta h2{font-size:31px}.footer-links{justify-content:flex-start}.tier-grid-logos .tier-row{grid-template-columns:48px 52px 1fr}.tier-grid-logos .tier-row>b{display:none}.tier-logo-wrap{width:42px;height:42px}.tier-logo{width:30px;height:30px}.tier-grid-logos .tier-code{font-size:23px}.hero-cards{margin-left:auto!important;margin-right:auto!important;position:relative}.fan-card{right:auto!important;max-width:none;width:42vw}.fan-1{left:3%;top:75px}.fan-2{left:29%;top:28px}.fan-3{left:55%;top:76px}.card-art>img,.detail-art>img{object-position:center center}.page-hero{background-position:center,55% center!important}.sakura-noise{background-position:center,55% center!important}}
@media(max-width:600px){.bundle-reference-values{display:grid;grid-template-columns:1fr;width:100%}.bundle-reference-values div{min-width:0}}


/* v0.18 — public value guidance */
.value-caveat{
  margin:10px 0 0;
  max-width:620px;
  color:var(--muted,#a8a2a6);
  font-size:.76rem;
  line-height:1.55;
}
.value-specific-note{margin:14px 0 0;padding:12px 14px;border-left:2px solid var(--pink);background:rgba(242,56,125,.07);color:#c9c4c1;font-size:11px;line-height:1.6}
.tile-value{
  display:flex;
  align-items:baseline;
  gap:8px;
}
.tile-value span{
  color:var(--muted,#8d858a);
  font-size:.58rem;
  letter-spacing:.14em;
}
.about-values{margin-top:44px}
.footer-value-note{
  width:100%;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#918a8e;
  font-size:.68rem;
  line-height:1.5;
}
.footer-value-note a{color:#ff5b9c}
@media(max-width:680px){
  .value-caveat{font-size:.72rem}
  .tile-value{gap:6px}
  .footer-value-note{font-size:.64rem}
}


/* v0.19 — public release polish */
.footer-independence{
  width:100%;
  margin-top:10px;
  color:#746d72;
  font-size:.62rem;
  line-height:1.55;
  max-width:980px;
}
.footer-independence strong{color:#9d969a}
.independence-section{margin-top:28px;margin-bottom:28px}
.independence-panel{max-width:none}
.error-page{
  min-height:66vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-top:88px;
  padding-bottom:88px;
}
.error-code{
  color:rgba(255,91,156,.16);
  font-size:clamp(6rem,18vw,15rem);
  font-weight:900;
  line-height:.72;
  letter-spacing:-.07em;
  margin-bottom:28px;
}
.error-page h1{
  margin:8px 0 16px;
  font-size:clamp(3rem,8vw,7rem);
  line-height:.85;
}
.error-page h1 em{color:#ff5b9c;font-style:normal}
.error-page>p{max-width:650px;color:var(--muted,#9a9297);line-height:1.65}
.error-search{width:min(760px,100%);margin-top:24px}
.error-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
@media(max-width:680px){
  .footer-independence{font-size:.59rem}
  .error-page{padding-top:64px;padding-bottom:64px;align-items:center;text-align:center}
  .error-search{width:100%}
  .error-actions{justify-content:center;width:100%}
}


/* v0.19.1 — supplied SaitoDex wordmark */
.brand-wordmark-link{
  flex:0 0 auto;
  min-width:0;
}
.brand-wordmark{
  width:190px;
  height:auto;
  max-height:67px;
  object-fit:contain;
  object-position:left center;
}
.footer-wordmark{
  display:flex;
  align-items:center;
}
.footer-wordmark img{
  width:175px;
  height:auto;
  max-height:82px;
  object-fit:contain;
  object-position:left center;
  opacity:.94;
}
@media(max-width:880px){
  .brand-wordmark{width:150px;max-height:54px}
}
@media(max-width:600px){
  .brand-wordmark{width:112px;max-height:44px}
  .footer-wordmark img{width:150px;max-height:72px}
}
@media(max-width:390px){
  .brand-wordmark{width:98px}
}


/* v0.19.3 — Sakura Winds rarity marks on home */
.rarity-stack-logos>div{
  grid-template-columns:48px 62px minmax(0,1fr);
  gap:10px;
}
.rarity-stack-logos .home-rarity-logo{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  color:inherit;
  font-size:0;
}
.rarity-stack-logos .home-rarity-logo img{
  width:31px;
  height:31px;
  object-fit:contain;
  filter:invert(1);
  opacity:.94;
}
.rarity-stack-logos .home-rarity-code{
  color:var(--pink);
  font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;
  font-size:16px;
  font-weight:600;
}
@media(max-width:680px){
  .rarity-stack-logos>div{
    grid-template-columns:42px 50px minmax(0,1fr);
    gap:7px;
    min-height:52px;
  }
  .rarity-stack-logos .home-rarity-logo{
    width:34px;
    height:34px;
  }
  .rarity-stack-logos .home-rarity-logo img{
    width:28px;
    height:28px;
  }
  .rarity-stack-logos .home-rarity-code{
    font-size:14px;
  }
}


/* v1.0.1 — discoverability / collector guide / breadcrumbs */
.breadcrumbs{
  display:flex;
  align-items:center;
  gap:9px;
  padding-top:18px;
  padding-bottom:2px;
  color:#756d72;
  font-size:.62rem;
  letter-spacing:.12em;
}
.breadcrumbs a{color:#9c9499}
.breadcrumbs a:hover{color:var(--pink)}
.breadcrumbs strong{color:#c4bdc1;font-weight:600}
.collector-guide-page{padding-top:38px}
.guide-intro-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
}
.collector-release-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:48px;
}
.collector-release-card{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(14,13,14,.9);
  padding:25px;
}
.collector-release-card>span,
.collector-source-panel>.micro-label{
  color:var(--pink);
  font-size:.61rem;
  letter-spacing:.18em;
}
.collector-release-card h3{
  margin:10px 0 12px;
  font-size:1.15rem;
}
.collector-release-card p,
.collector-source-panel p{
  color:#a39ba0;
  line-height:1.65;
  font-size:.8rem;
}
.collector-release-card a{
  display:inline-block;
  margin-top:12px;
  color:#fff;
  font-size:.65rem;
  letter-spacing:.12em;
}
.guide-section-title{margin-top:48px}
.collector-faq{max-width:1040px;margin:0 auto 48px}
.collector-faq details{
  border-top:1px solid rgba(255,255,255,.12);
  padding:17px 4px;
}
.collector-faq details:last-child{border-bottom:1px solid rgba(255,255,255,.12)}
.collector-faq summary{
  cursor:pointer;
  color:#f3eff1;
  font-weight:700;
  font-size:.9rem;
}
.collector-faq details p{
  max-width:870px;
  margin:11px 0 0;
  color:#999196;
  line-height:1.7;
  font-size:.8rem;
}
.collector-faq details a{color:var(--pink)}
.collector-source-panel{
  border:1px solid rgba(255,91,156,.22);
  padding:25px;
  background:linear-gradient(135deg,rgba(255,91,156,.045),rgba(255,255,255,.012));
}
.collector-source-panel h2{margin:8px 0 10px}
.collector-source-links{
  display:flex;
  flex-wrap:wrap;
  gap:9px 18px;
  margin-top:18px;
}
.collector-source-links a{
  color:#ddd6da;
  font-size:.63rem;
  letter-spacing:.08em;
}
.collector-source-links a:hover{color:var(--pink)}
@media(max-width:820px){
  .guide-intro-grid,.collector-release-grid{grid-template-columns:1fr}
  .breadcrumbs{padding-top:12px;overflow-x:auto;white-space:nowrap}
}

/* Collector platform */
.collector-shell{width:min(1180px,calc(100% - 32px));margin:48px auto 80px}.collector-hero{padding:32px;border:1px solid rgba(255,255,255,.12);background:rgba(10,10,10,.78);border-radius:18px;margin-bottom:20px}.collector-hero h1{margin:.25rem 0 .5rem;font-size:clamp(2rem,5vw,4rem)}.eyebrow{font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;opacity:.65}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.stat-card,.settings-card{border:1px solid rgba(255,255,255,.1);background:rgba(12,12,12,.82);border-radius:16px;padding:20px}.stat-card strong{display:block;font-size:1.8rem}.stat-card span{opacity:.66}.collector-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 26px}.button,.mini-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);background:#fff;color:#0a0a0a;border-radius:10px;padding:10px 14px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.button-ghost,.mini-button{background:transparent;color:#fff}.set-progress-list,.collection-list{display:grid;gap:8px}.set-progress-row,.collection-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid rgba(255,255,255,.09);background:rgba(8,8,8,.72);border-radius:12px;color:inherit;text-decoration:none}.collection-row>div:first-child span{display:block;opacity:.7;margin-top:3px}.collection-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.collection-row-actions form{display:flex;gap:6px}.mini-button{padding:7px 10px;font-size:.86rem}.collection-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin:0 0 18px}.collection-filters input,.collection-filters select,.maintenance-card input,.settings-card input[type=text],.settings-card input[type=password],.settings-card input[type=email]{width:100%;box-sizing:border-box;background:#111;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:11px 12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-card p{line-height:1.55}.settings-card label{font-weight:700}.settings-card ul.errorlist,.form-error{color:#ff8f8f}.profile-link{word-break:break-all}.profile-card-chip{display:inline-block;margin:4px;padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:999px}.security-event{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08)}.security-event span{opacity:.65}.site-messages{width:min(1180px,calc(100% - 32px));margin:14px auto 0}.site-message{padding:12px 15px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:rgba(10,10,10,.92)}
.maintenance-body{min-height:100vh;background:#080808}.maintenance-shell{min-height:100vh;display:grid;place-content:center;width:min(720px,calc(100% - 32px));margin:auto;text-align:center}.maintenance-logo{width:min(360px,75vw);margin:0 auto 26px}.maintenance-card{padding:32px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(12,12,12,.92)}.maintenance-card h1{font-size:clamp(2rem,6vw,3.5rem);margin:.4rem 0}.maintenance-card form{display:grid;gap:12px;text-align:left;margin-top:20px}.auth-card{max-width:520px;margin:auto}
@media(max-width:800px){.stat-grid{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.collection-filters{grid-template-columns:1fr}.collection-row,.set-progress-row{align-items:flex-start;flex-direction:column}.collection-row-actions{width:100%}}

/* =====================================================
   v1.1 — SaitoDex account / allauth visual system
   ===================================================== */
.auth-body{
  min-height:100vh;
  background:#080808;
  color:var(--ink);
}
.auth-body .announcement{position:relative;z-index:40}
.auth-site-header{max-width:none;width:100%;padding-left:max(30px,calc((100vw - var(--max))/2 + 30px));padding-right:max(30px,calc((100vw - var(--max))/2 + 30px))}
.auth-main{
  min-height:calc(100vh - 148px);
  padding:42px 30px 58px;
  display:grid;
  place-items:center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.auth-main:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(circle at 76% 24%,rgba(255,104,164,.10),transparent 25%),
    radial-gradient(circle at 19% 76%,rgba(255,255,255,.025),transparent 24%),
    linear-gradient(180deg,#080808 0%,#090909 56%,#070707 100%);
}
.auth-main:after{
  content:"";
  position:absolute;
  width:720px;
  height:720px;
  right:-310px;
  bottom:-390px;
  border:1px solid rgba(255,104,164,.08);
  border-radius:50%;
  box-shadow:0 0 0 80px rgba(255,104,164,.015),0 0 0 180px rgba(255,104,164,.01);
  z-index:-2;
  pointer-events:none;
}
.auth-stage{
  width:min(1120px,100%);
  min-height:640px;
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(440px,.96fr);
  border:1px solid rgba(255,255,255,.13);
  background:#0b0b0b;
  box-shadow:0 34px 100px rgba(0,0,0,.52);
  overflow:hidden;
  position:relative;
}
.auth-visual{
  position:relative;
  min-height:640px;
  display:flex;
  align-items:flex-end;
  padding:52px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(8,8,8,.10),rgba(8,8,8,.34)),
    url("../img/saitodex-hero-desktop.9e7f9c48b264.webp") center/cover no-repeat;
}
.auth-visual:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(6,6,6,.08) 0%,rgba(6,6,6,.18) 42%,rgba(6,6,6,.92) 100%),
    linear-gradient(90deg,rgba(6,6,6,.18),rgba(6,6,6,.02));
  z-index:0;
}
.auth-visual:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-105px;
  top:-105px;
  border:1px solid rgba(255,255,255,.10);
  transform:rotate(45deg);
  z-index:0;
}
.auth-visual-shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:radial-gradient(circle at 70% 30%,rgba(255,104,164,.12),transparent 26%);
  pointer-events:none;
}
.auth-visual-copy{position:relative;z-index:2;max-width:560px}
.auth-kicker{
  display:block;
  color:var(--pink-hot);
  font-size:9px;
  font-weight:650;
  letter-spacing:.28em;
  margin-bottom:18px;
}
.auth-visual-copy h1{
  margin:0 0 23px;
  font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;
  font-size:clamp(52px,5.1vw,78px);
  line-height:.88;
  letter-spacing:.015em;
  font-weight:650;
}
.auth-visual-copy h1 em{font-style:normal;color:var(--pink-hot)}
.auth-visual-copy p{margin:0;max-width:500px;color:#c0babb;font-size:13px;line-height:1.75}
.auth-trust-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.auth-trust-row span{
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(8,8,8,.52);
  backdrop-filter:blur(10px);
  color:#c5bfc2;
  font-size:7px;
  font-weight:650;
  letter-spacing:.14em;
}
.auth-panel{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:42px 46px 30px;
  background:
    linear-gradient(180deg,rgba(17,17,17,.99),rgba(10,10,10,.99)),
    url("../img/saitodex-backdrop.3b56746d8092.svg") center/cover no-repeat;
  position:relative;
}
.auth-panel:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,104,164,.48) 24%,rgba(255,104,164,.20) 76%,transparent);
}
.auth-panel-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.09)}
.auth-panel-logo{width:150px;height:auto;max-height:58px;object-fit:contain;object-position:left center;user-select:none;-webkit-user-drag:none}
.auth-panel-topline>span{font-size:7px;font-weight:650;letter-spacing:.18em;color:#777074;text-align:right}
.auth-content{width:100%;margin:auto 0}
.auth-content>h1,
.auth-content>div>h1{
  margin:0 0 10px;
  color:#f6f2f4;
  font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;
  font-weight:650;
  font-size:clamp(35px,4vw,51px);
  line-height:.94;
  letter-spacing:.01em;
}
.auth-content h2{font-size:21px;margin:24px 0 10px;color:#eee8eb}
.auth-content p{margin:9px 0 20px;color:#a9a1a5;font-size:12px;line-height:1.65}
.auth-content a{color:var(--pink-hot);text-decoration:none}
.auth-content a:hover{color:#fff}
.auth-content form{margin:24px 0 0}
.auth-content form>p{position:relative;margin:0 0 15px;color:#c4bec1}
.auth-content label{display:block;margin:0 0 7px;color:#a7a0a4;font-size:8px;font-weight:650;letter-spacing:.14em;text-transform:uppercase}
.auth-content input[type="text"],
.auth-content input[type="email"],
.auth-content input[type="password"],
.auth-content input[type="url"],
.auth-content input[type="number"],
.auth-content input[type="tel"],
.auth-content input[type="search"],
.auth-content select,
.auth-content textarea{
  width:100%;
  min-height:49px;
  padding:13px 14px;
  border:1px solid #333033;
  border-radius:0;
  outline:none;
  background:#0b0b0b;
  color:#f6f3f4;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.012);
  font:inherit;
  font-size:12px;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.auth-content input::placeholder,.auth-content textarea::placeholder{color:#5e585c}
.auth-content input:focus,.auth-content select:focus,.auth-content textarea:focus{
  border-color:rgba(255,104,164,.78);
  background:#0e0d0e;
  box-shadow:0 0 0 3px rgba(255,104,164,.08);
}
.auth-content input[type="checkbox"],.auth-content input[type="radio"]{
  width:16px;height:16px;margin:0 7px 0 0;accent-color:var(--pink-hot);vertical-align:-3px
}
.auth-content form>p:has(input[type="checkbox"]) label,
.auth-content form>p:has(input[type="radio"]) label{display:inline;text-transform:none;letter-spacing:0;font-size:11px;color:#aaa3a7;font-weight:500}
.auth-content .helptext,.auth-content .help-text,.auth-content form small{display:block;margin-top:7px;color:#777074;font-size:9px;line-height:1.55}
.auth-content ul{padding-left:18px;color:#9c9599;font-size:10px;line-height:1.55}
.auth-content ul.errorlist{list-style:none;padding:0;margin:0 0 8px;color:#ff9eae;font-size:10px}
.auth-content ul.errorlist li{padding:8px 10px;border-left:2px solid #ff6481;background:rgba(255,100,129,.06)}
.auth-content button,
.auth-content input[type="submit"],
.auth-content a[role="button"]{
  width:100%;
  min-height:49px;
  border:1px solid var(--pink-hot);
  border-radius:0;
  padding:13px 17px;
  background:var(--pink);
  color:#fff;
  font:inherit;
  font-size:9px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .18s,color .18s,border-color .18s,transform .18s;
}
.auth-content button:hover,.auth-content input[type="submit"]:hover,.auth-content a[role="button"]:hover{background:#fff;border-color:#fff;color:#090909}
.auth-content button:active,.auth-content input[type="submit"]:active{transform:translateY(1px)}
.auth-content #passkey_login{margin-top:0;background:transparent;border-color:#484247;color:#f4eff2}
.auth-content #passkey_login:hover{background:#f4eff2;border-color:#f4eff2;color:#090909}
.auth-content hr{height:1px;border:0;background:rgba(255,255,255,.10);margin:23px 0;position:relative}
.auth-content table{width:100%;border-collapse:collapse;margin:16px 0;color:#d4cdd1;font-size:11px}
.auth-content th,.auth-content td{padding:11px 8px;border-bottom:1px solid rgba(255,255,255,.09);text-align:left;vertical-align:middle}
.auth-content th{color:#8c8589;font-size:8px;letter-spacing:.12em;text-transform:uppercase}
.auth-content details{border:1px solid rgba(255,255,255,.10);padding:13px 14px;margin:11px 0;background:#0b0b0b}
.auth-content summary{cursor:pointer;font-weight:650;font-size:11px}
.auth-content code{font-family:"Cascadia Code","Consolas",monospace;color:#ffd1e2}
.auth-content img{max-width:100%;height:auto}
.auth-content [hidden]{display:none!important}
.auth-messages{display:grid;gap:8px;margin:-10px 0 22px}
.auth-message{padding:11px 12px;border:1px solid rgba(255,104,164,.25);border-left:2px solid var(--pink-hot);background:rgba(255,104,164,.055);color:#d5ced1;font-size:10px;line-height:1.55}
.auth-account-nav{display:flex;gap:7px;overflow-x:auto;padding:0 0 18px;margin:-10px 0 25px;border-bottom:1px solid rgba(255,255,255,.08);scrollbar-width:none}
.auth-account-nav::-webkit-scrollbar{display:none}
.auth-account-nav a{flex:0 0 auto;padding:7px 9px;border:1px solid rgba(255,255,255,.09);color:#8f888c;font-size:7px;font-weight:650;letter-spacing:.1em;text-transform:uppercase}
.auth-account-nav a:hover{border-color:rgba(255,104,164,.42);color:#fff}
.auth-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:34px;padding-top:19px;border-top:1px solid rgba(255,255,255,.08);color:#676064;font-size:8px;line-height:1.4}
.auth-panel-footer a{color:#9a9297}.auth-panel-footer a:hover{color:var(--pink-hot)}
.auth-footer{min-height:30px;display:flex;align-items:center;justify-content:center;gap:22px;padding:10px 22px;border-top:1px solid rgba(255,255,255,.07);background:#070707;color:#5f595d;font-size:7px;letter-spacing:.13em}

/* allauth utility markup is deliberately minimal; these selectors make it cohesive */
.auth-content form+hr,.auth-content hr+form{margin-top:22px}
.auth-content form button+button{margin-top:9px}
.auth-content form div:has(> button){display:grid;gap:9px}
.auth-content div:has(> #passkey_login){display:grid;gap:9px}
.auth-content .secondaryAction{display:inline-block;margin-top:7px;font-size:10px}

@media(max-width:980px){
  .auth-main{padding:30px 20px 44px}
  .auth-stage{grid-template-columns:minmax(0,.82fr) minmax(410px,1.18fr)}
  .auth-visual{padding:38px;min-height:610px}
  .auth-visual-copy h1{font-size:52px}
  .auth-panel{padding:36px 34px 28px}
}
@media(max-width:780px){
  .auth-site-header{padding-left:18px;padding-right:18px}
  .auth-site-header nav{max-width:57vw;gap:14px;overflow-x:auto;scrollbar-width:none}.auth-site-header nav::-webkit-scrollbar{display:none}
  .auth-site-header nav a{white-space:nowrap;font-size:8px}
  .auth-main{padding:18px 14px 34px;place-items:start center}
  .auth-stage{grid-template-columns:1fr;min-height:0}
  .auth-visual{min-height:235px;padding:28px 28px 25px;background-image:linear-gradient(180deg,rgba(8,8,8,.18),rgba(8,8,8,.86)),url("../img/saitodex-hero-mobile.05e1b0976632.webp");background-position:center,center}
  .auth-visual-copy h1{font-size:42px;margin-bottom:13px}
  .auth-visual-copy h1 br:nth-of-type(1),.auth-visual-copy h1 br:nth-of-type(2){display:none}
  .auth-visual-copy h1 em{margin:0 .12em}
  .auth-visual-copy p{display:none}
  .auth-trust-row{margin-top:18px}
  .auth-panel:before{left:0;right:0;top:0;bottom:auto;width:auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,104,164,.48),transparent)}
  .auth-panel{padding:28px 28px 24px}
  .auth-panel-topline{margin-bottom:28px}
}
@media(max-width:520px){
  .auth-body .announcement{font-size:7px;letter-spacing:.15em;padding:0 8px;text-align:center}
  .auth-site-header{height:72px}
  .auth-site-header .brand-wordmark{width:105px}
  .auth-site-header nav{max-width:60vw}
  .auth-main{padding:12px 10px 28px}
  .auth-stage{border-left:0;border-right:0;width:calc(100% + 20px);margin-left:-10px}
  .auth-visual{min-height:190px;padding:23px 20px}
  .auth-visual-copy h1{font-size:35px}
  .auth-kicker{font-size:7px;margin-bottom:12px}
  .auth-trust-row{gap:5px;margin-top:14px}.auth-trust-row span{font-size:6px;padding:6px 7px}
  .auth-panel{padding:25px 20px 22px}
  .auth-panel-logo{width:122px}
  .auth-panel-topline>span{font-size:6px;letter-spacing:.12em}
  .auth-content>h1,.auth-content>div>h1{font-size:38px}
  .auth-panel-footer{align-items:flex-start;flex-direction:column;gap:8px}
  .auth-footer{flex-direction:column;gap:5px;text-align:center}
}


/* Collector auth refinement: signup honeypot, controls and passkey guidance */
.auth-content input[name="phone_number"]{
  position:absolute!important;
  left:-10000px!important;
  right:auto!important;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.auth-content form>p:has(input[name="phone_number"]){display:none!important}
.auth-content input[type="checkbox"]{
  -webkit-appearance:none;
  appearance:none;
  width:17px;
  height:17px;
  margin:0 8px 0 0;
  border:1px solid #4a4448;
  border-radius:3px;
  background:#0b0b0b;
  vertical-align:-4px;
  cursor:pointer;
  transition:border-color .16s,background-color .16s,box-shadow .16s;
}
.auth-content input[type="checkbox"]:hover{border-color:rgba(255,104,164,.72)}
.auth-content input[type="checkbox"]:focus-visible{outline:2px solid rgba(255,104,164,.42);outline-offset:2px}
.auth-content input[type="checkbox"]:checked{
  border-color:var(--pink-hot);
  background-color:var(--pink-hot);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23090909' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4.5 10.3 8.2 14 15.7 6.5'/%3E%3C/svg%3E");
  background-position:center;
  background-repeat:no-repeat;
  background-size:14px 14px;
}
.auth-content div:has(> #passkey_login)::after{
  content:"Use Face ID, Touch ID or Windows Hello on supported devices.";
  display:block;
  margin-top:9px;
  color:#777074;
  font-size:8px;
  line-height:1.5;
  text-align:center;
  letter-spacing:.02em;
}
.auth-content input[autocomplete="one-time-code"]{
  letter-spacing:.30em;
  font-variant-numeric:tabular-nums;
  text-align:center;
  font-size:20px;
  font-weight:650;
}

/* =====================================================
   v1.2 — mobile account access, visual collection grid,
   passkey-first account security
   ===================================================== */
.mobile-account-action{display:none}

/* Visual collection selector */
.collection-card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.collection-card{
  min-width:0;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(165deg,rgba(17,17,17,.98),rgba(8,8,8,.98));
  border-radius:14px;
  overflow:hidden;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.collection-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.22)}
.collection-card.is-owned{
  border-color:rgba(255,104,164,.42);
  box-shadow:inset 0 0 0 1px rgba(255,104,164,.06);
}
.collection-card-art{
  position:relative;
  aspect-ratio:5/7;
  background:#090909;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.collection-card-art>img{
  width:100%;height:100%;object-fit:contain;display:block;
  user-select:none;-webkit-user-select:none;-webkit-user-drag:none;
}
.collection-art-placeholder{
  width:100%;height:100%;display:grid;place-content:center;text-align:center;
  background:linear-gradient(145deg,#151515,#090909);position:relative;isolation:isolate;
}
.collection-art-placeholder:before{content:"";position:absolute;inset:12px;border:1px solid #2d2d2d;z-index:-1}
.collection-art-placeholder span{font-family:serif;font-size:42px;color:#3a3437}
.collection-art-placeholder strong{font-size:30px;margin-top:6px}
.collection-art-placeholder small{font-size:9px;color:#70696d;letter-spacing:.18em;margin-top:5px}
.collection-status-badge,.collection-wishlist-badge{
  position:absolute;top:9px;padding:6px 8px;background:rgba(6,6,6,.88);backdrop-filter:blur(7px);
  font-size:7px;font-weight:750;letter-spacing:.12em;border:1px solid rgba(255,255,255,.12)
}
.collection-status-badge{left:9px;color:#b9b2b6}
.is-owned .collection-status-badge{color:#fff;border-color:rgba(255,104,164,.48);background:rgba(24,8,15,.88)}
.collection-wishlist-badge{right:9px;color:#ff8fbc;border-color:rgba(255,104,164,.30)}
.collection-card-copy{padding:13px 13px 8px;min-height:84px}
.collection-card-code{display:block;color:#ff7caf;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.collection-card-copy h2{margin:7px 0 4px;font-size:14px;line-height:1.25;text-transform:uppercase;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-card-rarity{display:block;color:#777174;font-size:8px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 12px 12px}
.collection-card-actions form{display:flex;min-width:0;gap:6px}
.collection-card-actions form:first-child{min-width:0}
.collection-action{
  min-height:38px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#0b0b0b;color:#fff;
  font:inherit;font-size:7px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;cursor:pointer;padding:8px 10px;
  transition:background .16s,color .16s,border-color .16s;
}
.collection-action:hover{border-color:rgba(255,104,164,.55);color:#ff8fbc}
.collection-action-primary{flex:1;background:rgba(255,104,164,.09);border-color:rgba(255,104,164,.26);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.is-missing .collection-action-primary{background:var(--pink);border-color:var(--pink-hot);color:#fff}
.is-missing .collection-action-primary:hover{background:#fff;border-color:#fff;color:#090909}
.collection-action-small{flex:0 0 39px;padding:8px 6px}
.collection-action-wishlist{white-space:nowrap}
.is-wishlisted .collection-action-wishlist{border-color:rgba(255,104,164,.38);color:#ff8fbc}
.collection-empty{grid-column:1/-1;padding:30px;border:1px solid rgba(255,255,255,.1);background:#0c0c0c;border-radius:12px;text-align:center;color:#8c8589}

/* Passkey-first security UI */
.saito-security-methods{display:grid;gap:12px;margin-top:22px}
.saito-security-method{
  border:1px solid rgba(255,255,255,.10);background:#0b0b0b;padding:18px;position:relative;
}
.saito-security-method.is-recommended{border-color:rgba(255,104,164,.30);background:linear-gradient(135deg,rgba(255,104,164,.065),#0b0b0b 48%)}
.saito-security-method.is-recommended:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--pink-hot)}
.saito-security-method-head{display:flex;align-items:center;gap:12px}
.saito-security-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);font-size:18px;color:#ff83b3}
.saito-security-kicker{display:block;color:#ff7caf;font-size:7px;font-weight:700;letter-spacing:.14em;margin-bottom:4px}
.saito-security-method h2{margin:0;font-size:20px}
.saito-security-method p{margin:10px 0 14px}
.saito-security-state{color:#777074!important;font-size:9px!important}
.saito-security-button{
  display:inline-flex!important;width:auto!important;min-height:40px!important;align-items:center;justify-content:center;
  padding:10px 14px!important;border:1px solid var(--pink-hot)!important;background:var(--pink)!important;color:#fff!important;
  font-size:8px!important;font-weight:750!important;letter-spacing:.12em!important;text-transform:uppercase;
}
.saito-security-button:hover{background:#fff!important;border-color:#fff!important;color:#090909!important}
.saito-security-button.is-secondary{background:transparent!important;border-color:#454045!important;color:#e7e1e4!important}
.saito-security-button.is-secondary:hover{background:#eee8eb!important;border-color:#eee8eb!important;color:#090909!important}
.saito-security-method.is-compact{display:flex;align-items:center;justify-content:space-between;gap:20px}

.passkey-intro{font-size:12px!important;line-height:1.7!important}
.passkey-device-strip{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 22px}
.passkey-device-strip span{padding:7px 8px;border:1px solid rgba(255,255,255,.10);color:#9f979b;font-size:6px;font-weight:700;letter-spacing:.11em}
.passkey-create-form{margin-top:0!important}
.passkey-mode-card{margin:17px 0;border:1px solid rgba(255,104,164,.20);background:rgba(255,104,164,.035);padding:14px}
.passkey-mode-label{display:flex!important;align-items:flex-start;gap:9px;margin:0!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.passkey-mode-label input{flex:0 0 17px;margin-top:2px!important}
.passkey-mode-label span{display:block}
.passkey-mode-label strong{display:block;color:#f4eef1;font-size:11px;line-height:1.35}
.passkey-mode-label small{display:block;margin-top:4px;color:#80787c;font-size:8px;line-height:1.5}
.passkey-advanced{margin:13px 0 0!important;padding:10px 11px!important;background:#090909!important}
.passkey-advanced summary{font-size:8px!important;color:#91898d!important;text-transform:uppercase;letter-spacing:.10em}
.passkey-advanced p{margin:9px 0 0!important;font-size:8px!important}
.passkey-empty{padding:16px;border:1px solid rgba(255,255,255,.1);background:#0b0b0b;color:#8e878b;font-size:10px;margin:18px 0}
.passkey-list{display:grid;gap:9px;margin:18px 0}
.passkey-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid rgba(255,255,255,.10);background:#0b0b0b}
.passkey-item strong{font-size:11px}
.passkey-item p{margin:6px 0 0!important;font-size:8px!important;color:#777074!important}
.passkey-type{display:inline-block;margin-left:7px;padding:4px 6px;border:1px solid rgba(255,255,255,.12);font-size:6px;font-weight:700;letter-spacing:.10em;color:#8e878b}
.passkey-type.is-passkey{color:#ff8fbc;border-color:rgba(255,104,164,.33)}
.passkey-item-actions{display:flex;gap:8px;flex:0 0 auto}
.passkey-item-actions a{padding:7px 9px;border:1px solid rgba(255,255,255,.10);font-size:7px!important;color:#bbb3b7!important;text-transform:uppercase;letter-spacing:.08em}
.passkey-item-actions a:hover{border-color:rgba(255,104,164,.38);color:#fff!important}
.passkey-item-actions a.is-danger:hover{border-color:#ff667f;color:#ff9aaa!important}

@media(max-width:1000px){
  .collection-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:680px){
  /* Mobile header: important account access is always visible, never hidden in a scroller. */
  .site-header,.auth-site-header{
    height:auto!important;min-height:0;padding:12px 16px!important;
    display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:11px 14px;
  }
  .site-header .brand-wordmark,.auth-site-header .brand-wordmark{width:108px}
  .mobile-account-action{display:block;justify-self:end}
  .mobile-account-action a{
    display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;
    border:1px solid rgba(255,104,164,.38);background:rgba(255,104,164,.08);color:#fff;
    font-size:7px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;
  }
  .site-header nav,.auth-site-header nav{
    grid-column:1/-1;width:100%;max-width:none!important;overflow:visible!important;scroll-snap-type:none!important;
    display:flex;flex-wrap:wrap;gap:4px 16px!important;padding-top:9px;border-top:1px solid rgba(255,255,255,.08);
  }
  .site-header nav a,.auth-site-header nav a{font-size:7px!important;white-space:nowrap;padding:5px 0}
  .site-header nav .nav-account-primary,.auth-site-header nav .nav-account-primary{display:none}

  .collection-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .collection-card{border-radius:10px}
  .collection-card-copy{padding:10px 9px 6px;min-height:70px}
  .collection-card-copy h2{font-size:11px;margin-top:5px}
  .collection-card-code{font-size:7px}
  .collection-card-rarity{font-size:7px}
  .collection-card-actions{grid-template-columns:1fr;padding:8px;gap:6px}
  .collection-card-actions form{width:100%}
  .collection-card-actions form:last-child .collection-action{width:100%}
  .collection-action{min-height:35px;font-size:6px;padding:7px 8px}
  .collection-status-badge,.collection-wishlist-badge{top:6px;padding:5px 6px;font-size:6px}
  .collection-status-badge{left:6px}.collection-wishlist-badge{right:6px}
  .saito-security-method.is-compact,.passkey-item{align-items:flex-start;flex-direction:column}
  .passkey-item-actions{width:100%}.passkey-item-actions a{flex:1;text-align:center}
}

@media(max-width:390px){
  .collection-card-grid{gap:7px}
  .collection-card-actions{padding:7px}
  .collection-action-primary{font-size:5.7px}
}

/* v1.3 — simplified passkey setup */
.saito-security-note{margin-top:14px!important;color:#8e878b!important;font-size:8px!important;line-height:1.55!important}
.passkey-simple-steps{margin:18px 0 22px;padding:15px 16px;border:1px solid rgba(255,255,255,.10);background:#0b0b0b}
.passkey-simple-steps>strong{display:block;color:#f1ebee;font-size:10px;text-transform:uppercase;letter-spacing:.10em;margin-bottom:9px}
.passkey-simple-steps ol{margin:0;padding-left:19px;color:#b8b0b4;font-size:9px;line-height:1.7}
.passkey-simple-steps p{margin:10px 0 0!important;color:#777074!important;font-size:8px!important;line-height:1.55!important}
.passkey-optional{margin-left:6px;color:#766f73;font-size:6px;letter-spacing:.10em;font-weight:700}
.passkey-passwordless-control{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.passkey-after-note{margin-top:14px!important;color:#777074!important;font-size:8px!important;line-height:1.6!important;text-align:center}
@media(max-width:680px){
  .passkey-simple-steps{padding:13px 13px;margin:14px 0 18px}
  .passkey-simple-steps ol{font-size:8px}
  .passkey-device-strip{gap:5px;margin:13px 0 16px}
  .passkey-device-strip span{font-size:5.5px;padding:6px 7px}
}


/* =====================================================
   v1.4 — obvious signup + logout access
   ===================================================== */
.site-header nav .nav-logout-form,
.auth-site-header nav .nav-logout-form{
  margin:0;padding:0;display:flex;align-items:center;
}
.site-header nav .nav-logout-button,
.auth-site-header nav .nav-logout-button{
  appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#f5f2ee;
  padding:8px 0;margin:0;cursor:pointer;font:inherit;font-size:10px;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;position:relative;line-height:inherit;
}
.site-header nav .nav-logout-button:after,
.auth-site-header nav .nav-logout-button:after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--pink-hot);transition:.2s;
}
.site-header nav .nav-logout-button:hover:after,
.auth-site-header nav .nav-logout-button:hover:after{width:100%}
.site-header nav .nav-signup-primary,
.auth-site-header nav .nav-signup-primary{color:#ff83b3}

.auth-account-nav .auth-logout-form{display:flex;flex:0 0 auto;margin:0;padding:0}
.auth-account-nav .auth-logout-form button{
  appearance:none;-webkit-appearance:none;margin:0;padding:7px 9px;border:1px solid rgba(255,255,255,.09);
  background:transparent;color:#8f888c;font:inherit;font-size:7px;font-weight:650;letter-spacing:.1em;
  text-transform:uppercase;cursor:pointer;white-space:nowrap;
}
.auth-account-nav .auth-logout-form button:hover{border-color:rgba(255,104,164,.42);color:#fff}

@media(max-width:680px){
  .mobile-account-action{
    display:flex!important;align-items:center;justify-content:flex-end;gap:6px;min-width:0;
  }
  .mobile-account-action>a,
  .mobile-account-action .mobile-account-button{
    min-height:34px!important;padding:0 9px!important;font-size:6.5px!important;letter-spacing:.09em!important;
  }
  .mobile-account-action .mobile-account-signup{
    background:var(--pink)!important;border-color:var(--pink-hot)!important;color:#fff!important;
    box-shadow:0 0 0 1px rgba(255,104,164,.05) inset;
  }
  .mobile-account-action .mobile-account-signup:hover{background:#fff!important;border-color:#fff!important;color:#090909!important}
  .mobile-logout-form{display:flex;margin:0;padding:0}
  .mobile-account-button{
    appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;
    border:1px solid rgba(255,255,255,.18);background:transparent;color:#d9d2d6;
    font:inherit;font-weight:750;text-transform:uppercase;white-space:nowrap;cursor:pointer;
  }
  .mobile-account-logout{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.025)!important}
  .mobile-account-logout:hover{border-color:rgba(255,104,164,.42)!important;color:#ff8fbc!important}
  .site-header nav .nav-logout-form,.auth-site-header nav .nav-logout-form{display:none}
  .site-header nav .nav-signup-primary,.auth-site-header nav .nav-signup-primary{display:none}
}

@media(max-width:360px){
  .site-header,.auth-site-header{gap:9px 8px!important;padding-left:12px!important;padding-right:12px!important}
  .site-header .brand-wordmark,.auth-site-header .brand-wordmark{width:96px!important}
  .mobile-account-action{gap:4px}
  .mobile-account-action>a,.mobile-account-action .mobile-account-button{
    min-height:32px!important;padding:0 7px!important;font-size:6px!important;letter-spacing:.07em!important;
  }
}

/* =====================================================
   v1.5 — launch safety, privacy and asset deterrence
   ===================================================== */
.protected-asset{-webkit-user-drag:none!important;-webkit-user-select:none!important;user-select:none!important}
.legal-shell{max-width:940px;margin:0 auto;padding-top:48px;padding-bottom:70px}
.legal-hero{padding:28px 0 24px;border-bottom:1px solid rgba(255,255,255,.10)}
.legal-hero h1{margin:8px 0 7px;font-size:clamp(34px,5vw,62px);line-height:.95;text-transform:uppercase;letter-spacing:-.035em}
.legal-hero p{margin:0;color:#81797d;font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.legal-copy{max-width:790px;padding-top:24px}
.legal-copy h2{margin:30px 0 9px;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#f4eef1}
.legal-copy p{margin:0 0 13px;color:#aaa2a6;font-size:11px;line-height:1.85}
.legal-copy a{color:#ff88b6;text-decoration:underline;text-underline-offset:3px}
.settings-card-wide{grid-column:1/-1}
.settings-fineprint{margin-top:20px!important;color:#777074!important;font-size:8px!important}
.danger-link{color:#ff8299!important}
.account-danger-page{max-width:800px}
.danger-card{border-color:rgba(255,83,116,.28)!important}
.danger-form{display:grid;gap:14px;margin-top:22px}
.danger-form label{display:grid;gap:7px;color:#bdb5b9;font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.danger-form input{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid rgba(255,255,255,.16);background:#090909;color:#fff;border-radius:6px}
.form-error{color:#ff8299;font-size:8px;text-transform:none;letter-spacing:0}
.danger-button{min-height:44px;border:1px solid #b53e57;background:#611c2b;color:#fff;border-radius:7px;font:inherit;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.danger-button:hover{background:#8a2940}
@media(max-width:680px){.legal-shell{padding-top:28px;padding-bottom:48px}.legal-copy p{font-size:10px;line-height:1.75}.legal-copy h2{font-size:12px}}

/* =====================================================
   v1.6 — collector profiles, share cards and collection polish
   ===================================================== */
.collector-dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.collector-dashboard-hero>div:first-child{min-width:0}
.collector-section{margin-top:34px}
.collector-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px}
.collector-section-heading h2{margin:4px 0 0;font-size:clamp(22px,3vw,34px);letter-spacing:-.025em}
.collector-section-heading>a,.collector-section-heading>span{color:#9b9297;font-size:8px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.collector-section-heading>a:hover{color:#ff83b3}

.set-progress-enhanced{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,2fr) 72px;align-items:center}
.set-progress-copy{display:grid;gap:4px}
.set-progress-copy small{color:#81797d;font-size:8px;letter-spacing:.06em;text-transform:uppercase}
.set-progress-meter{height:7px;border-radius:999px;background:#171517;overflow:hidden;border:1px solid rgba(255,255,255,.07)}
.set-progress-meter>span{display:block;height:100%;min-width:2px;background:linear-gradient(90deg,#a02a58,#ff68a4);border-radius:inherit}
.set-progress-percent{text-align:right;font-size:12px}

.collection-quick-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.collection-quick-tabs a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:#a9a1a5;text-decoration:none;font-size:8px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;background:#0b0a0b}
.collection-quick-tabs a:hover,.collection-quick-tabs a.is-active{border-color:rgba(255,104,164,.5);color:#fff;background:rgba(255,104,164,.09)}
.collection-filters-expanded{grid-template-columns:minmax(180px,2fr) repeat(4,minmax(120px,1fr)) auto}
.collection-card-meta{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:5px;color:#8e858a;font-size:8px}
.collection-card-meta .collection-card-rarity{margin:0}
.collection-card-art{display:block;text-decoration:none;color:inherit}

.profile-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.compact-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.profile-visual-card{display:flex;flex-direction:column;min-width:0;border:1px solid rgba(255,255,255,.09);background:rgba(9,9,9,.82);border-radius:12px;overflow:hidden;color:inherit;text-decoration:none;transition:transform .18s,border-color .18s,background .18s}
.profile-visual-card:hover{transform:translateY(-2px);border-color:rgba(255,104,164,.33);background:#0d0b0c}
.profile-visual-art{position:relative;aspect-ratio:5/7;overflow:hidden;background:#080808}
.profile-visual-art img{width:100%;height:100%;object-fit:cover;display:block}
.profile-visual-copy{display:grid;gap:4px;padding:10px 11px 12px;min-width:0}
.profile-visual-copy small{color:#a0949b;font-size:7px;letter-spacing:.08em;text-transform:uppercase}
.profile-visual-copy strong{font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-visual-copy span{color:#a59ca1;font-size:8px}
.profile-card-qty,.wishlist-corner,.missing-corner{position:absolute;top:7px;right:7px;padding:5px 7px;border:1px solid rgba(255,255,255,.16);background:rgba(7,7,7,.86);backdrop-filter:blur(8px);border-radius:6px;color:#fff;font-size:7px;font-weight:800;letter-spacing:.06em}
.wishlist-corner{color:#ff91ba;border-color:rgba(255,104,164,.35)}
.missing-corner{color:#c7bec3}
.is-missing-preview .profile-visual-art img{filter:saturate(.62) brightness(.72)}
.profile-preview-note{color:#81797d;font-size:8px;margin:12px 0 0;text-transform:uppercase;letter-spacing:.07em}

.wishlist-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.wishlist-visual-card{display:grid;grid-template-rows:auto 1fr auto}
.wishlist-card-actions{padding:0 10px 10px}
.wishlist-card-actions .collection-action{width:100%}
.collection-empty{grid-column:1/-1;padding:34px;border:1px dashed rgba(255,255,255,.13);border-radius:14px;text-align:center;color:#aaa2a6;background:rgba(10,10,10,.56)}
.collection-empty strong{display:block;color:#f1ecef;font-size:18px;margin-bottom:7px}
.collection-empty p{margin:0 0 16px}

.public-profile-hero{display:grid;grid-template-columns:1fr;gap:28px;align-items:center;padding:36px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:linear-gradient(135deg,rgba(11,10,11,.96),rgba(15,9,12,.84));overflow:hidden;position:relative}
.public-profile-hero:after{content:"";position:absolute;right:-120px;bottom:-240px;width:470px;height:470px;border-radius:50%;border:1px solid rgba(255,104,164,.12);box-shadow:0 0 120px rgba(255,50,130,.06);pointer-events:none}
.public-profile-hero.has-showcase{grid-template-columns:minmax(0,1fr) minmax(210px,300px)}
.public-profile-copy{position:relative;z-index:1}
.public-profile-copy h1{font-size:clamp(44px,7vw,84px);margin:5px 0 8px;line-height:.93;letter-spacing:-.05em}
.public-profile-copy p{color:#aaa1a6;margin:0}
.public-profile-actions{display:flex;gap:8px;margin-top:22px}
.public-showcase-card{position:relative;z-index:1;display:grid;gap:8px;color:inherit;text-decoration:none;max-width:280px;justify-self:end}
.public-showcase-card img{width:100%;aspect-ratio:5/7;object-fit:cover;border-radius:13px;border:1px solid rgba(255,255,255,.15);box-shadow:0 22px 58px rgba(0,0,0,.44)}
.public-showcase-card span{font-size:7px;color:#ff86b4;letter-spacing:.08em;text-transform:uppercase}
.public-showcase-card strong{font-size:11px}
.public-stat-grid{margin-top:14px}

.settings-muted{color:#8d8589!important;font-size:9px!important;line-height:1.65!important}
.settings-form{display:grid;gap:9px;margin-top:16px}
.settings-form label,.showcase-picker>label{display:grid;gap:5px;color:#f1ecef;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.profile-status-card{display:flex;flex-direction:column;justify-content:flex-start}
.profile-share-url{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:18px}
.profile-share-url code{flex:1;min-width:0;padding:10px 11px;border:1px solid rgba(255,255,255,.09);background:#080808;border-radius:7px;color:#c7bec3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
.privacy-form{display:grid;gap:18px;margin-top:18px}
.privacy-master-row,.privacy-toggle-row{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid rgba(255,255,255,.09);background:#0a0a0a;border-radius:10px;cursor:pointer}
.privacy-master-row{border-color:rgba(255,104,164,.24);background:rgba(255,104,164,.045)}
.privacy-master-row input,.privacy-toggle-row input{width:18px!important;height:18px!important;flex:0 0 auto;margin:1px 0 0;accent-color:#ff68a4}
.privacy-master-row span,.privacy-toggle-row span{display:grid;gap:4px}
.privacy-master-row strong,.privacy-toggle-row strong{font-size:9px;color:#f3edf0}
.privacy-master-row small,.privacy-toggle-row small{font-size:8px;line-height:1.5;color:#81797d;font-weight:400}
.privacy-toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.showcase-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,1fr);align-items:end;gap:14px;padding-top:4px}
.showcase-picker label small{color:#81797d;font-size:8px;line-height:1.5;text-transform:none;letter-spacing:0;font-weight:400}
.showcase-picker select{width:100%;box-sizing:border-box;background:#0a0a0a;color:#fff;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:12px}

@media(max-width:1080px){
  .collection-filters-expanded{grid-template-columns:repeat(3,1fr)}
  .collection-filters-expanded input[type=search]{grid-column:span 2}
  .profile-card-grid,.compact-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .wishlist-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:800px){
  .collector-dashboard-hero{align-items:flex-start;flex-direction:column}
  .set-progress-enhanced{grid-template-columns:1fr 56px!important;gap:9px!important}
  .set-progress-meter{grid-column:1/-1;width:100%;order:3}
  .set-progress-percent{grid-column:2;grid-row:1;text-align:right}
  .profile-card-grid,.compact-card-grid,.wishlist-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .public-profile-hero.has-showcase{grid-template-columns:1fr minmax(150px,220px)}
  .privacy-toggle-grid{grid-template-columns:1fr}
  .showcase-picker{grid-template-columns:1fr}
}
@media(max-width:680px){
  .collection-filters-expanded{grid-template-columns:1fr 1fr}
  .collection-filters-expanded input[type=search]{grid-column:1/-1}
  .collection-filters-expanded .button{grid-column:1/-1}
  .collection-quick-tabs{display:grid;grid-template-columns:repeat(4,1fr)}
  .collection-quick-tabs a{justify-content:center;padding:0 5px;font-size:6.5px}
  .profile-card-grid,.compact-card-grid,.wishlist-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .profile-visual-copy{padding:8px 9px 10px}
  .public-profile-hero,.public-profile-hero.has-showcase{grid-template-columns:1fr;padding:24px}
  .public-showcase-card{justify-self:start;max-width:190px}
  .public-profile-copy h1{font-size:48px}
  .public-stat-grid{grid-template-columns:1fr 1fr}
  .collector-section-heading{align-items:flex-start;flex-direction:column;gap:7px}
  .profile-share-url{align-items:stretch;flex-direction:column}
  .profile-share-url .mini-button{width:100%}
}


/* =====================================================
   v1.7 — collector avatars, robust sharing and spares
   ===================================================== */
.profile-picture-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:center;margin:16px 0 8px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#090909}
.profile-picture-preview{width:112px;height:112px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,104,164,.45);background:linear-gradient(135deg,#181116,#090909);display:grid;place-items:center;color:#ff82b2;font-size:38px;font-weight:800;box-shadow:0 14px 35px rgba(0,0,0,.3)}
.profile-picture-preview img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-fields{display:grid;gap:10px;min-width:0}
.profile-picture-fields input[type=file]{width:100%;box-sizing:border-box;padding:11px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#0b0b0b;color:#d9d3d6;font-size:9px}
.profile-picture-fields label{display:grid;gap:5px}
.profile-picture-fields label small{color:#81797d;font-size:8px;line-height:1.55;font-weight:400}
.profile-picture-remove{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;color:#b8afb4!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
.profile-picture-remove input{width:16px!important;height:16px!important;accent-color:#ff68a4}
.privacy-block{display:grid;gap:18px;border-top:1px solid rgba(255,255,255,.08);padding-top:18px}

.public-profile-identity{display:flex;align-items:center;gap:18px;min-width:0}
.public-profile-avatar{width:104px;height:104px;flex:0 0 104px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,104,164,.48);background:#0a0a0a;box-shadow:0 18px 44px rgba(0,0,0,.34)}
.public-profile-avatar-fallback{display:grid;place-items:center;color:#ff83b4;font-size:38px;font-weight:850;background:linear-gradient(145deg,#1a1116,#080808)}
.public-profile-actions .button-ghost{background:transparent;color:#fff}
.public-spares-hero{grid-template-columns:1fr!important}
.spares-note{margin:0 0 16px;color:#8f878b;font-size:9px;line-height:1.6;max-width:820px}
.spare-corner{position:absolute;left:7px;bottom:7px;padding:5px 7px;border:1px solid rgba(255,104,164,.36);background:rgba(7,7,7,.88);backdrop-filter:blur(8px);border-radius:6px;color:#ff8fbc;font-size:7px;font-weight:800;letter-spacing:.06em}
.spare-visual-card .profile-card-qty{font-size:6.5px}

@media(max-width:680px){
  .profile-picture-editor{grid-template-columns:84px 1fr;gap:14px;padding:13px}
  .profile-picture-preview{width:78px;height:78px;font-size:28px}
  .public-profile-identity{align-items:flex-start;gap:12px}
  .public-profile-avatar{width:72px;height:72px;flex-basis:72px}
  .public-profile-avatar-fallback{font-size:28px}
  .public-profile-actions{flex-wrap:wrap}
  .public-profile-actions .button{flex:1 1 auto}
}

/* =====================================================
   v1.8 — live collection updates + profile discoverability
   ===================================================== */
.is-hidden{display:none!important}
.collection-card{transition:opacity .17s ease,transform .17s ease,border-color .17s ease,background .17s ease}
.collection-card.is-updating{opacity:.68}
.collection-card.is-updating button{cursor:wait}
.collection-card.is-leaving{opacity:0;transform:scale(.985)}
.collection-live-notice{position:sticky;top:92px;z-index:40;display:block;width:max-content;max-width:calc(100% - 20px);margin:0 0 10px auto;padding:8px 11px;border:1px solid rgba(255,104,164,.28);border-radius:8px;background:rgba(12,10,11,.96);color:#f2ecef;font-size:8px;letter-spacing:.04em;opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .16s,transform .16s;box-shadow:0 12px 30px rgba(0,0,0,.24)}
.collection-live-notice.is-visible{opacity:1;transform:none}
.collection-live-notice.is-error{border-color:rgba(255,88,112,.42);color:#ff9bad}

.dashboard-profile-identity{display:flex;align-items:center;gap:16px;min-width:0}
.dashboard-avatar-link{position:relative;display:grid;place-items:center;width:84px;height:84px;flex:0 0 84px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,104,164,.42);background:linear-gradient(145deg,#1a1116,#080808);color:#ff83b4;text-decoration:none;font-size:30px;font-weight:850;box-shadow:0 15px 36px rgba(0,0,0,.3)}
.dashboard-avatar-link img{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-avatar-link small{position:absolute;left:0;right:0;bottom:0;padding:6px 3px 7px;background:linear-gradient(transparent,rgba(0,0,0,.92));color:#fff;text-align:center;font-size:6px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.82}
.dashboard-avatar-link:hover{border-color:#ff68a4}
.collector-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.profile-picture-settings-card{scroll-margin-top:110px}

@media(max-width:680px){
  .collection-live-notice{top:76px;margin-right:0}
  .dashboard-profile-identity{align-items:flex-start;gap:12px}
  .dashboard-avatar-link{width:68px;height:68px;flex-basis:68px;font-size:25px}
  .dashboard-avatar-link small{font-size:5.5px;padding-bottom:5px}
  .collector-hero-actions{justify-content:flex-start;width:100%}
}


/* =====================================================
   v1.9 — reliable live collection controls
   ===================================================== */
.collection-owned-summary{
  display:flex;align-items:center;gap:6px;margin:0 12px 1px;padding:8px 10px;
  border:1px solid rgba(255,104,164,.20);border-radius:8px;background:rgba(255,104,164,.055);
  color:#b8afb4;font-size:7px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;
}
.collection-owned-summary strong{color:#fff;font-size:11px;line-height:1}
.collection-owned-summary small{color:#ff83b3;font:inherit}
.collection-card.is-owned .collection-action-primary{background:rgba(255,104,164,.10);border-color:rgba(255,104,164,.30);color:#ff91ba}
.collection-action-remove{flex:0 0 auto;border-color:rgba(255,255,255,.15);color:#c6bdc2;background:rgba(255,255,255,.025);white-space:nowrap}
.collection-action-remove:hover{border-color:rgba(255,91,125,.48);color:#ff8299;background:rgba(255,91,125,.06)}
.collection-live-notice.is-visible:not(.is-error){border-color:rgba(255,104,164,.42);background:#160d12;color:#ffd8e7}
@media(max-width:680px){
  .collection-owned-summary{margin:0 8px 1px;padding:7px 8px;font-size:6px}
  .collection-owned-summary strong{font-size:10px}
  .collection-card-actions form:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .collection-action-remove{min-width:72px}
}
@media(max-width:380px){
  .collection-action-remove{min-width:64px;font-size:5.4px}
}

/* =====================================================
   v1.10 — direct quantity, master badges, country badges,
   personalised public spares matching
   ===================================================== */
.collection-quantity-setter{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.07);padding-top:7px;margin-top:1px}
.collection-quantity-setter summary{cursor:pointer;list-style:none;color:#8f878b;font-size:7px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;padding:5px 1px;user-select:none}
.collection-quantity-setter summary::-webkit-details-marker{display:none}
.collection-quantity-setter summary:after{content:" ▾";color:#ff7caf}
.collection-quantity-setter[open] summary:after{content:" ▴"}
.collection-quantity-setter form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px!important;margin-top:7px}
.collection-quantity-setter label{display:grid;grid-template-columns:auto minmax(54px,1fr);align-items:center;gap:8px;min-width:0;padding:0 8px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#090909}
.collection-quantity-setter label span{font-size:6.5px;color:#8b8387;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}
.collection-quantity-setter input{min-width:0;width:100%;height:36px;box-sizing:border-box;border:0;background:transparent;color:#fff;text-align:right;outline:none;font-size:10px;font-weight:750}

.profile-setup-notice{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:18px 20px;border:1px solid rgba(255,104,164,.28);border-radius:14px;background:linear-gradient(135deg,rgba(255,104,164,.085),rgba(10,10,10,.88));box-shadow:0 12px 36px rgba(0,0,0,.12)}
.profile-setup-notice strong{display:block;margin:5px 0 4px;font-size:18px;color:#fff}
.profile-setup-notice p{margin:0;max-width:720px;color:#a99fa4;font-size:9px;line-height:1.55}
.profile-setup-notice .button{flex:0 0 auto}

.collector-badge-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.collector-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid rgba(255,104,164,.42);border-radius:999px;background:rgba(255,104,164,.08);color:#ff9bc1;font-size:7px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.collector-team-badge{border-color:rgba(255,104,164,.88);background:#0b0b0c;color:#fff;box-shadow:0 0 0 1px rgba(255,93,156,.18),0 0 18px rgba(255,93,156,.10)}
.collector-master-badge,.collector-country-badge{border-color:rgba(255,104,164,.42);background:rgba(255,104,164,.08);color:#ff9bc1}

.profile-country-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1.15fr);gap:18px;padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#090909}
.profile-country-picker h3{margin:5px 0 6px;font-size:18px}
.profile-country-controls{display:grid;gap:9px}
.profile-country-controls>label:first-child{display:grid;gap:7px;color:#eee8eb;font-size:8px;text-transform:uppercase;letter-spacing:.07em}
.profile-country-controls select{width:100%;box-sizing:border-box;background:#0a0a0a;color:#fff;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:12px}
.country-toggle{margin:0!important}

.spares-match-panel{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:14px 0;padding:18px 20px;border:1px solid rgba(255,104,164,.22);border-radius:14px;background:linear-gradient(135deg,rgba(255,104,164,.055),rgba(10,10,10,.82))}
.spares-match-panel strong{display:block;margin:5px 0 4px;font-size:18px}
.spares-match-panel p{margin:0;color:#8e868a;font-size:8px;line-height:1.55}
.spares-match-tabs{display:flex;gap:7px;flex:0 0 auto}
.spares-match-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:0 11px;border:1px solid rgba(255,255,255,.13);border-radius:8px;color:#d8d1d4;font-size:7px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.spares-match-tabs a.is-active{border-color:rgba(255,104,164,.5);background:var(--pink);color:#fff}
.viewer-needs-corner{position:absolute;left:7px;top:7px;padding:5px 7px;border:1px solid rgba(255,255,255,.26);background:rgba(245,240,242,.92);border-radius:6px;color:#111;font-size:6.5px;font-weight:900;letter-spacing:.06em}
.is-needed-by-viewer{border-color:rgba(255,104,164,.38)}

@media(max-width:680px){
  .collection-quantity-setter form{grid-template-columns:1fr}
  .collection-quantity-setter label{grid-template-columns:1fr auto}
  .profile-country-picker{grid-template-columns:1fr;padding:14px}
  .spares-match-panel{align-items:stretch;flex-direction:column;padding:15px}
  .spares-match-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .spares-match-tabs a{justify-content:center;text-align:center;padding:0 7px}
  .collector-badge{font-size:6.5px;min-height:25px;padding:0 8px}
  .profile-setup-notice{align-items:stretch;flex-direction:column;padding:15px}
  .profile-setup-notice .button{width:100%;box-sizing:border-box}
}


/* =====================================================
   v2.2 — SaitoWorks, signup delivery note, mobile viewport stability
   ===================================================== */
.set-tone-swks .rarity-chip{border-color:#d9b65c}
.set-tone-swks .art-placeholder:after{background:rgba(217,182,92,.07)}
.set-swks .set-art-word{color:rgba(217,182,92,.16)}

.auth-email-delivery-note{display:grid;gap:5px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(255,104,164,.24);border-radius:9px;background:rgba(255,104,164,.055);color:#bdb3b8;font-size:9px;line-height:1.55}
.auth-email-delivery-note strong{color:#fff;font-size:9px;letter-spacing:.03em}
.auth-email-delivery-note span{display:block}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%;max-width:100%}
body{max-width:100%;overflow-x:hidden}
.site-header,.site-header nav,main,.collector-shell,.section-wrap,.public-profile-hero,.public-profile-copy,.public-profile-identity,.dashboard-profile-identity,.dashboard-profile-identity>div{min-width:0;max-width:100%}
.public-profile-copy h1,.dashboard-profile-identity h1{max-width:100%;overflow-wrap:anywhere;word-break:break-word}

@media(max-width:680px){
  /* iOS Safari zooms focused controls below 16px and can retain that scale after rotation. */
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important}
  .public-profile-copy h1{font-size:clamp(34px,12vw,48px);line-height:.96;letter-spacing:-.045em}
  .dashboard-profile-identity>div{min-width:0;max-width:calc(100vw - 112px)}
  .dashboard-profile-identity h1{font-size:clamp(30px,10vw,46px);line-height:1;letter-spacing:-.04em}
  .public-profile-identity>div{min-width:0;max-width:calc(100vw - 132px)}
  .public-profile-actions,.collector-hero-actions{max-width:100%}
}

/* Public collector wishlist + private viewer matching */
.collector-section-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.profile-section-link{color:#ff91ba;font-size:7px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.profile-section-link:hover{color:#fff}
.wishlist-match-tabs{flex-wrap:wrap;justify-content:flex-end}
.viewer-match-corner{position:absolute;left:7px;top:7px;padding:5px 7px;border:1px solid rgba(255,255,255,.26);background:rgba(245,240,242,.92);border-radius:6px;color:#111;font-size:6.5px;font-weight:900;letter-spacing:.06em}
.viewer-spare-corner{border-color:rgba(111,226,155,.45);background:rgba(25,82,49,.93);color:#baf7cf}
.wishlist-visual-card.is-spare-match{box-shadow:inset 0 0 0 1px rgba(111,226,155,.16)}
.wishlist-visual-card.is-owned-match{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
@media (max-width:760px){
  .collector-section-heading-actions{justify-content:flex-start;width:100%}
  .wishlist-match-tabs{grid-template-columns:1fr;width:100%}
}


/* =====================================================
   v2.6 — full-site consistency and usability polish
   ===================================================== */
:root{--focus-ring:0 0 0 3px rgba(255,93,156,.22)}
::selection{background:rgba(255,93,156,.34);color:#fff}
:focus-visible{outline:2px solid var(--pink-hot);outline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:var(--focus-ring)}
.skip-link{position:fixed;left:16px;top:10px;z-index:1000;transform:translateY(-160%);padding:10px 14px;border:1px solid var(--pink-hot);border-radius:8px;background:#111;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;transition:transform .15s}
.skip-link:focus{transform:translateY(0)}
#main-content:focus{outline:none}
.site-header nav a.is-active,.site-header nav .nav-account-primary.is-active{color:#fff}
.site-header nav a.is-active:after,.site-header nav .nav-account-primary.is-active:after{width:100%;background:var(--pink-hot)}
.brand-wordmark-link{flex:0 0 auto}.brand-wordmark{width:136px;height:auto}
.site-header nav a,.site-header nav .nav-logout-button,.button,.mini-button,.outline-button,.solid-button,.collection-action,.text-link{transition:background .16s,color .16s,border-color .16s,transform .16s,opacity .16s}
.button:hover,.mini-button:hover,.outline-button:hover,.solid-button:hover{transform:translateY(-1px)}
.button:active,.mini-button:active,.outline-button:active,.solid-button:active{transform:translateY(0)}
.site-messages{position:relative;z-index:25;display:grid;gap:7px}
.site-message{box-shadow:0 10px 34px rgba(0,0,0,.22);font-size:10px;line-height:1.45;color:#e9e4e7}
.site-message.is-success{border-color:rgba(103,212,154,.32);background:linear-gradient(90deg,rgba(103,212,154,.08),rgba(10,10,10,.96))}
.site-message.is-error{border-color:rgba(255,107,118,.36);background:linear-gradient(90deg,rgba(255,107,118,.08),rgba(10,10,10,.96))}
.site-message.is-warning{border-color:rgba(239,191,103,.36);background:linear-gradient(90deg,rgba(239,191,103,.07),rgba(10,10,10,.96))}
.page-section{padding-bottom:82px}
.card-tile,.set-panel,.profile-visual-card,.stat-card,.settings-card,.collection-card{will-change:transform}
.card-tile:focus-within,.set-panel:focus-visible,.profile-visual-card:focus-visible,.collection-card:focus-within{border-color:rgba(255,104,164,.5);box-shadow:0 0 0 3px rgba(255,104,164,.07)}
.filters,.collection-filters{box-shadow:0 14px 38px rgba(0,0,0,.14)}
.filters input:focus,.filters select:focus,.collection-filters input:focus,.collection-filters select:focus{outline:none}
.empty-state,.search-prompt,.collection-empty{background:linear-gradient(145deg,rgba(16,16,16,.82),rgba(9,9,9,.82))}

/* Collector area: one predictable secondary navigation on every private account page. */
.collector-context-nav{display:flex;align-items:center;gap:6px;margin:0 0 16px;padding:6px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(11,11,11,.75);overflow-x:auto;scrollbar-width:none}
.collector-context-nav::-webkit-scrollbar{display:none}
.collector-context-nav a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:0 12px;border:1px solid transparent;border-radius:8px;color:#8f888c;font-size:8px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.collector-context-nav a:hover{color:#fff;background:#131113;border-color:rgba(255,255,255,.08)}
.collector-context-nav a.is-active{color:#fff;border-color:rgba(255,104,164,.32);background:rgba(255,104,164,.09)}
.collector-shell{margin-top:32px}
.collector-hero{box-shadow:0 18px 55px rgba(0,0,0,.16)}
.collector-hero h1,.public-profile-copy h1{overflow-wrap:anywhere}
.collector-actions{padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.07)}
.stat-card{min-height:118px;display:flex;flex-direction:column;justify-content:center}
.stat-card strong{line-height:1;letter-spacing:-.035em}.stat-card span{margin-top:7px;font-size:9px;text-transform:uppercase;letter-spacing:.07em}
.set-progress-row{transition:border-color .16s,background .16s,transform .16s}.set-progress-row:hover{border-color:rgba(255,104,164,.28);background:#0d0b0c;transform:translateY(-1px)}
.collection-results-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 2px 9px;color:#81797d;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.collection-live-notice:not(:empty){margin:0 0 10px;padding:9px 11px;border:1px solid rgba(255,104,164,.2);border-radius:8px;background:rgba(255,104,164,.045);color:#d9d0d5;font-size:9px}
.collection-owned-summary{margin:0 12px;padding:8px 10px;border:1px solid rgba(255,104,164,.16);border-radius:8px;background:rgba(255,104,164,.04);display:flex;align-items:baseline;gap:7px}
.collection-owned-summary span,.collection-owned-summary small{font-size:6px;color:#8d8589;letter-spacing:.08em}.collection-owned-summary strong{font-size:14px;color:#fff}
.collection-quantity-setter{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.07);padding-top:7px}
.collection-quantity-setter summary{cursor:pointer;color:#80787c;font-size:7px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;list-style:none}.collection-quantity-setter summary::-webkit-details-marker{display:none}.collection-quantity-setter summary:after{content:" +";color:#ff82b2}.collection-quantity-setter[open] summary:after{content:" −"}
.collection-quantity-setter form{display:grid!important;grid-template-columns:1fr auto;align-items:end;gap:7px!important;margin-top:8px}.collection-quantity-setter label{display:grid;gap:4px}.collection-quantity-setter label span{font-size:6px;color:#777074;text-transform:uppercase;letter-spacing:.07em}.collection-quantity-setter input{width:100%;min-height:35px;border:1px solid rgba(255,255,255,.13);border-radius:7px;background:#080808;color:#fff;padding:7px 9px}
.settings-card h2{margin:7px 0 9px}.settings-card>p:first-of-type{margin-top:0}
.settings-card a:not(.button):not(.mini-button){text-underline-offset:3px}
.privacy-master-row,.privacy-toggle-row{transition:border-color .16s,background .16s}.privacy-master-row:hover,.privacy-toggle-row:hover{border-color:rgba(255,104,164,.25);background:rgba(255,104,164,.035)}
.security-event:last-child{border-bottom:0}
.public-profile-actions{flex-wrap:wrap}
.public-profile-actions .button{min-height:42px}
.collector-badge-row{row-gap:7px}
.profile-card-grid{align-items:stretch}
.profile-visual-card{height:100%}
.profile-visual-copy strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* Footer: clearer hierarchy and less visual compression. */
.site-footer{row-gap:18px}
.footer-links{gap:9px 18px;flex-wrap:wrap}
.footer-links a{padding:3px 0;color:#a8a3a0}.footer-links a:hover{color:#fff}
.footer-value-note,.footer-independence{line-height:1.65}
.footer-independence{opacity:.82}

/* Dedicated server-error page uses the same visual language as 404. */
.error-page{padding-top:78px;padding-bottom:96px}.error-page h1{font-size:clamp(52px,8vw,104px);line-height:.88;margin:14px 0 20px;text-transform:uppercase}.error-page h1 em{font-style:normal;color:var(--pink)}.error-page>p{max-width:650px;color:#9b9693;line-height:1.7}.error-code{font-size:11px;letter-spacing:.28em;color:#665f63;margin-bottom:10px}.error-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.error-actions .outline-button,.error-actions .solid-button{margin-top:0}

@media(max-width:880px){
  .site-header nav a.is-active:after{width:100%}
  .collector-shell{margin-top:22px}
  .page-section{padding-bottom:64px}
}
@media(max-width:680px){
  .collector-context-nav{margin-left:0;margin-right:0;border-radius:10px;padding:5px;gap:4px}
  .collector-context-nav a{min-height:33px;padding:0 10px;font-size:6.5px}
  .collector-hero{padding:24px 20px;border-radius:14px}
  .stat-card{min-height:98px;padding:16px}
  .stat-card strong{font-size:1.45rem}
  .collection-results-summary{align-items:flex-start;flex-direction:column;gap:4px}
  .collection-quantity-setter form{grid-template-columns:1fr}
  .public-profile-actions .button{flex:1 1 150px}
  .site-message{font-size:9px}
  .error-page{padding-top:54px;padding-bottom:70px}.error-actions{display:grid;grid-template-columns:1fr}.error-actions a{width:100%}
}
@media(max-width:390px){
  .collector-context-nav a{padding:0 8px;font-size:6px}
}

/* =====================================================
   v2.7 — display balance + CSP-safe completion meters
   ===================================================== */
/* Asset source crops differ between releases. These tiny render-only adjustments
   keep the All Cards wall visually balanced without modifying source artwork. */
.card-tile .card-art>img{transform-origin:center center}
.card-tile.set-tone-sl1a .card-art>img,
.card-tile.set-tone-slua .card-art>img{transform:scale(.965)}
.card-tile.set-tone-swks .card-art>img{transform:scale(1.045)}

/* Use native progress elements so strict CSP does not block dynamic widths. */
progress.set-progress-meter{
  display:block;
  width:100%;
  height:8px;
  border:0;
  border-radius:999px;
  overflow:hidden;
  appearance:none;
  -webkit-appearance:none;
  background:#171517;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
}
progress.set-progress-meter::-webkit-progress-bar{background:#171517;border-radius:999px}
progress.set-progress-meter::-webkit-progress-value{background:linear-gradient(90deg,#a02a58,#ff68a4);border-radius:999px}
progress.set-progress-meter::-moz-progress-bar{background:linear-gradient(90deg,#a02a58,#ff68a4);border-radius:999px}

/* Trading hub */
.trade-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.trade-settings-panel{margin-top:16px}.trade-settings-form{display:grid;gap:10px}.trade-toggle-row{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0e0d0e}.trade-toggle-row input{margin-top:3px}.trade-toggle-row span{display:grid;gap:3px}.trade-toggle-row small,.trade-discord-note,.trade-disclaimer,.trade-handoff{color:#999;font-size:12px;line-height:1.55}.trade-toggle-row em{color:#ff68a4;font-size:11px;font-style:normal}.trade-discord-note{padding:12px;border-left:2px solid #ff68a4;background:rgba(255,104,164,.06)}
.collection-trade-badge,.trade-corner{position:absolute;right:8px;bottom:8px;padding:5px 7px;border-radius:6px;background:#0c0c0c;border:1px solid rgba(255,104,164,.5);font-size:7px;font-weight:900;letter-spacing:.08em}.collection-wishlist-badge+.collection-trade-badge{bottom:34px}.collection-action-trade{border-color:rgba(255,104,164,.28)}
.trade-match-list{display:grid;gap:10px}.trade-match-card{display:grid;grid-template-columns:1.4fr 1fr auto;gap:16px;align-items:center;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0d0d0d}.trade-match-card h2{margin:4px 0 8px}.trade-match-stats{display:flex;gap:18px}.trade-match-stats span{display:grid;color:#999;font-size:10px}.trade-match-stats strong{color:#fff;font-size:22px}.trade-gate{padding:24px;border:1px solid rgba(255,104,164,.22);border-radius:12px;background:rgba(255,104,164,.05)}.trade-gate strong{font-size:20px}.trade-gate p{max-width:760px;color:#aaa;line-height:1.6}
.trade-comparison{border-color:rgba(255,104,164,.25)}.trade-match-highlight{box-shadow:0 0 0 1px rgba(255,104,164,.65) inset}.trade-profile-footer{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:18px 0}.trade-disclaimer{text-align:center}.trade-standards-callout{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0d0d0d}.standards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.standards-grid article{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0d0d0d}.standards-grid article strong{display:block;margin-bottom:8px}.standards-grid article p{margin:0;color:#aaa;line-height:1.65}
@media(max-width:760px){.trade-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trade-match-card{grid-template-columns:1fr}.trade-match-stats{justify-content:space-between}.trade-standards-callout{align-items:flex-start;flex-direction:column}.standards-grid{grid-template-columns:1fr}}
.team-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-ranking{list-style:none;padding:0;margin:0}.team-ranking li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07);color:#aaa}.team-ranking li strong{color:#fff}.team-ranking li:last-child{border-bottom:0}@media(max-width:760px){.team-insight-grid{grid-template-columns:1fr}}

/* =====================================================
   v2.8 — trading clarity + account navigation refinement
   ===================================================== */
.collection-trade-helper{
  margin:0 0 14px;
  padding:11px 13px;
  border:1px solid rgba(255,104,164,.18);
  border-radius:10px;
  background:rgba(255,104,164,.045);
  color:#a69ea2;
  font-size:11px;
  line-height:1.55;
}
.collection-trade-helper strong{color:#fff}.collection-trade-helper span{color:#ff8cba;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.trade-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.trade-flow-card{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;min-height:112px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0d0d0d;transition:border-color .16s,background .16s,transform .16s}
.trade-flow-card:hover{border-color:rgba(255,104,164,.28);background:#111011;transform:translateY(-1px)}
.trade-flow-card>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,104,164,.36);border-radius:999px;color:#ff83b3;font-weight:900;font-size:11px}
.trade-flow-card>div{min-width:0;display:grid;gap:3px}.trade-flow-card small{font-size:7px;font-weight:900;letter-spacing:.1em;color:#ff83b3}.trade-flow-card strong{font-size:17px;color:#fff}.trade-flow-card p{margin:0;color:#918a8e;font-size:10px;line-height:1.45}.trade-flow-card>b{color:#d6cfd2;font-size:9px;white-space:nowrap}
.trade-settings-panel .collector-section-heading{align-items:flex-start}
.trade-discord-identity{display:grid;gap:2px;min-width:170px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#0a0a0a;text-align:right}.trade-discord-identity small{font-size:7px;color:#787176;letter-spacing:.08em}.trade-discord-identity strong{font-size:12px;color:#fff}
.trade-profile-discord{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:10px;color:#8f888c;font-size:10px}.trade-profile-discord span{font-size:8px;letter-spacing:.08em;text-transform:uppercase}.trade-profile-discord strong{color:#fff;font-size:12px}.trade-profile-discord small{color:#767075}
.account-hero .public-profile-actions{justify-content:flex-end}
@media(max-width:900px){.trade-flow-grid{grid-template-columns:1fr}.trade-flow-card{min-height:90px}}
@media(max-width:680px){.trade-discord-identity{width:100%;text-align:left}.trade-settings-panel .collector-section-heading{align-items:stretch;flex-direction:column}.collection-trade-helper{font-size:10px}}


/* =====================================================
   v2.6 — trading finder symmetry + compact profile setup
   ===================================================== */
.trade-finder-cta{
  min-width:190px;
  display:grid!important;
  gap:1px;
  padding:11px 16px!important;
  border-color:rgba(255,104,164,.72)!important;
  background:linear-gradient(135deg,#ff4d96,#df2f78)!important;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(255,64,145,.20);
}
.trade-finder-cta span{font-weight:850;line-height:1.1}.trade-finder-cta small{font-size:7px;letter-spacing:.08em;text-transform:uppercase;opacity:.82}.trade-finder-cta:hover{border-color:#ff9ac2!important;box-shadow:0 13px 34px rgba(255,64,145,.28)}
.trade-settings-disclosure{padding:0;overflow:hidden}.trade-settings-disclosure>summary{list-style:none}.trade-settings-disclosure>summary::-webkit-details-marker{display:none}
.trade-settings-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 19px;cursor:pointer;user-select:none;background:linear-gradient(135deg,rgba(255,104,164,.05),rgba(10,10,10,.82))}
.trade-settings-summary:hover{background:linear-gradient(135deg,rgba(255,104,164,.075),rgba(12,12,12,.88))}
.trade-settings-summary>div:first-child{display:grid;gap:4px}.trade-settings-summary strong{font-size:17px;color:#fff}.trade-settings-summary small{color:#999;font-size:9px;line-height:1.45}
.trade-settings-summary-status{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}.trade-settings-summary-status span{padding:6px 8px;border:1px solid rgba(255,104,164,.32);border-radius:999px;background:rgba(255,104,164,.06);color:#ff96be;font-size:6.5px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.trade-settings-summary-status b{margin-left:4px;color:#eee;font-size:8px;letter-spacing:.05em;text-transform:uppercase}
.trade-settings-body{padding:0 19px 19px;border-top:1px solid rgba(255,255,255,.075)}.trade-settings-body .collector-section-heading{padding-top:17px}
@media(max-width:680px){.trade-finder-cta{width:100%;box-sizing:border-box}.trade-settings-summary{align-items:flex-start;flex-direction:column}.trade-settings-summary-status{justify-content:flex-start}.trade-settings-body{padding:0 14px 14px}}

/* =====================================================
   v2.9 — trade workflow polish, pause state and match alerts
   ===================================================== */
.nav-trading-link{display:inline-flex!important;align-items:center;gap:6px}
.nav-trade-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff4d96;color:#fff;font-size:7px;font-weight:900;line-height:1;box-shadow:0 0 0 2px #090909}
.trade-hero-actions{align-items:stretch}
.trade-status-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:8px;align-items:stretch;margin:0 0 12px;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(10,10,10,.76)}
.trade-status-strip>div{display:grid;align-content:center;gap:4px;min-height:52px;padding:8px 10px;border:1px solid rgba(255,255,255,.065);border-radius:8px;background:#0d0c0d}
.trade-status-strip small{color:#777074;font-size:6.5px;font-weight:850;letter-spacing:.09em}.trade-status-strip strong{color:#fff;font-size:11px}
.trade-pause-form{display:flex;align-items:stretch}.trade-pause-form .button{height:100%;white-space:nowrap}
.trade-pause-notice{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:11px 13px;border:1px solid rgba(239,191,103,.26);border-radius:10px;background:rgba(239,191,103,.055);color:#a9a0a4;font-size:10px;line-height:1.5}.trade-pause-notice strong{color:#f3d28a;white-space:nowrap}.public-trade-pause{margin-top:14px}
.trade-summary-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.trade-new-match-callout{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid rgba(255,104,164,.25);border-radius:9px;background:rgba(255,104,164,.055);color:#a89fa4;font-size:10px}.trade-new-match-callout strong{color:#ff91ba;font-size:12px}
.trade-match-label-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.trade-new-pill{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;background:#ff4d96;color:#fff;font-size:6px;font-weight:950;letter-spacing:.09em}
.trade-last-updated{display:block;margin-top:8px;color:#777074;font-size:8px;line-height:1.4}
.trade-profile-primary-actions{align-items:center}.trade-rep-form{display:flex;margin:0}.trade-rep-form .button{height:100%}.trade-rep-button{border-color:rgba(255,104,164,.72)!important}.trade-rep-given{display:inline-flex!important;align-items:center;justify-content:center;color:#a7e4bf!important;border-color:rgba(103,212,154,.26)!important;background:rgba(103,212,154,.045)!important;cursor:default}
.trade-paused-badge{border-color:rgba(239,191,103,.34)!important;color:#f0cb7e!important}
.trade-match-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.trade-match-preview-column{min-width:0;padding:13px;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:#0b0b0b}.trade-match-preview-heading{display:grid;gap:3px;margin-bottom:10px}.trade-match-preview-heading small{color:#ff8fbc;font-size:6.5px;font-weight:900;letter-spacing:.09em}.trade-match-preview-heading strong{font-size:12px}.trade-match-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.trade-match-mini-grid>p{grid-column:1/-1;margin:4px 0;color:#827b7f;font-size:9px;line-height:1.5}.trade-match-mini-card{display:grid;gap:4px;min-width:0;padding:6px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:#090909}.trade-match-mini-card:hover{border-color:rgba(255,104,164,.28)}.trade-match-mini-card img{width:100%;aspect-ratio:2.5/3.5;object-fit:contain;border-radius:5px;background:#060606}.trade-match-mini-card span{color:#837b80;font-size:6px}.trade-match-mini-card strong{overflow:hidden;color:#fff;font-size:8px;white-space:nowrap;text-overflow:ellipsis}
.collection-spare-note{margin-left:auto;color:#ff91ba!important;font-size:6px!important;font-style:normal;font-weight:850;letter-spacing:.07em;text-transform:uppercase}

@media(max-width:900px){
  .trade-status-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.trade-pause-form{grid-column:1/-1}.trade-pause-form .button{width:100%}
  .trade-summary-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trade-match-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .collection-quick-tabs{grid-template-columns:repeat(5,1fr)}
  .trade-status-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.trade-status-strip>div{min-height:48px}.trade-pause-form{grid-column:1/-1}
  .trade-pause-notice{align-items:flex-start;flex-direction:column;gap:3px}.trade-pause-notice strong{white-space:normal}
  .trade-match-preview-grid{grid-template-columns:1fr}.trade-match-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .trade-profile-primary-actions form{flex:1 1 150px}.trade-profile-primary-actions form .button{width:100%}
}
@media(max-width:430px){
  .collection-quick-tabs{grid-template-columns:repeat(3,1fr)}
  .trade-match-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.trade-match-more{display:block;margin-top:8px;color:#777074;font-size:7px;line-height:1.4}

/* =====================================================
   v3.0 — trading UI refinement
   ===================================================== */
.trade-standards-top-button{white-space:nowrap}

/* Make the saved trading preferences feel like a deliberate disclosure card. */
.trade-settings-disclosure{
  border:1px solid rgba(255,255,255,.11);
  border-radius:14px;
  background:#0b0a0b;
  box-shadow:none;
}
.trade-settings-disclosure[open]{border-color:rgba(255,255,255,.15)}
.trade-settings-summary{
  min-height:78px;
  box-sizing:border-box;
  padding:16px 18px;
  border:0;
  border-radius:13px;
  background:#0b0a0b;
  transition:background .16s ease,border-color .16s ease;
}
.trade-settings-summary:hover{background:#0f0e0f}
.trade-settings-disclosure[open] .trade-settings-summary{border-radius:13px 13px 0 0;background:#0e0d0e}
.trade-settings-summary-copy{display:grid;gap:4px;min-width:0}
.trade-settings-summary-copy .eyebrow{margin-bottom:1px}
.trade-settings-summary-copy strong{font-size:16px;color:#f7f2f4}
.trade-settings-summary-copy small{color:#8e878b;font-size:8.5px;line-height:1.45}
.trade-settings-summary-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.trade-settings-summary-status{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.trade-settings-summary-status span{padding:5px 7px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:#090909;color:#c8c0c4;font-size:6px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.trade-settings-edit-label{color:#d7d0d4;font-size:7px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.trade-settings-chevron{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#080808;color:#fff;font-size:16px;line-height:1;transition:transform .18s ease,border-color .18s ease}
.trade-settings-summary:hover .trade-settings-chevron{border-color:rgba(255,104,164,.34)}
.trade-settings-disclosure[open] .trade-settings-chevron{transform:rotate(180deg)}
.trade-settings-body{padding:0 18px 18px;border-top:1px solid rgba(255,255,255,.075);background:#0b0a0b}

/* Keep +rep close to identity and leave the main action row visually consistent. */
.trade-profile-avatar-stack{display:flex;flex:0 0 104px;width:104px;flex-direction:column;align-items:stretch;gap:8px}
.trade-profile-avatar-stack .public-profile-avatar{flex:0 0 104px}
.trade-avatar-rep-form{display:block;margin:0}
.trade-avatar-rep-button,.trade-avatar-rep-given{display:flex;align-items:center;justify-content:center;width:100%;min-height:31px;box-sizing:border-box;padding:0 7px;border:1px solid rgba(255,104,164,.42);border-radius:8px;background:rgba(255,104,164,.055);color:#ff9bc1;font:inherit;font-size:6.5px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;text-align:center}
.trade-avatar-rep-button{cursor:pointer}.trade-avatar-rep-button:hover{border-color:rgba(255,104,164,.72);background:rgba(255,104,164,.10);color:#fff}
.trade-avatar-rep-given{border-color:rgba(103,212,154,.25);background:rgba(103,212,154,.04);color:#a7e4bf}

@media(max-width:680px){
  .trade-hero-actions{width:100%}.trade-hero-actions .button{flex:1 1 145px}
  .trade-settings-summary{align-items:flex-start;flex-direction:column;gap:12px}
  .trade-settings-summary-right{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .trade-settings-summary-status{justify-content:flex-start}
  .trade-settings-edit-label{margin-left:auto}
  .trade-profile-avatar-stack{flex-basis:72px;width:72px;gap:6px}
  .trade-profile-avatar-stack .public-profile-avatar{flex-basis:72px}
  .trade-avatar-rep-button,.trade-avatar-rep-given{min-height:29px;padding:0 4px;font-size:5.5px;letter-spacing:.045em}
}

/* 1.0 — collector appearance, display currency and direct card finder */
.profile-hero-background{
  background-image:linear-gradient(90deg,rgba(5,5,5,.90) 0%,rgba(7,5,6,.78) 45%,rgba(8,5,7,.62) 100%),var(--profile-bg-image)!important;
  background-size:cover!important;
  background-position:center,var(--profile-bg-x,50%) var(--profile-bg-y,50%)!important;
  background-repeat:no-repeat!important;
  overflow:hidden;
}
.public-profile-hero.profile-hero-background:after{opacity:.35}

.profile-background-editor{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);display:grid;grid-template-columns:minmax(0,.8fr) minmax(320px,1.3fr);gap:16px 20px;align-items:start}
.profile-background-copy{grid-column:1/-1}.profile-background-copy h3,.profile-display-preferences h3{margin:5px 0 5px;font-size:18px}
.profile-background-preview{position:relative;min-height:190px;border:1px solid rgba(255,255,255,.12);border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#111,#080808);display:flex;flex-direction:column;justify-content:flex-end;padding:20px;box-sizing:border-box;isolation:isolate}
.profile-background-preview:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--preview-bg);background-size:cover;background-position:var(--preview-x,50%) var(--preview-y,50%);background-repeat:no-repeat;opacity:0;transition:opacity .15s ease}
.profile-background-preview.has-image:before{opacity:1}.profile-background-preview:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.38))}
.profile-background-preview span{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:31px;font-weight:700}.profile-background-preview small{margin-top:3px;color:#c4bdc0;font-size:8px;letter-spacing:.09em;text-transform:uppercase}
.profile-background-fields{display:grid;gap:10px}.profile-background-fields>label:first-child{display:grid;gap:5px}.profile-background-fields input[type=file]{width:100%;box-sizing:border-box}
.profile-background-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-background-focus-grid label{display:grid;gap:6px;padding:11px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#0a0a0a}.profile-background-focus-grid span{font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.profile-background-focus-grid small{color:#777;font-size:7px}.profile-background-focus-grid input[type=range]{width:100%;accent-color:#ff68a4}
.profile-display-preferences{margin:20px 0 0;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0b0b0b;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:18px;align-items:center}.profile-display-preferences label{display:grid;gap:6px}.profile-display-preferences select{width:100%;box-sizing:border-box;background:#0a0a0a;color:#fff;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:12px}.profile-display-preferences label small{color:#81797d;font-size:8px;line-height:1.5}

.footer-currency-switcher{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.footer-currency-switcher label{font-size:7px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;color:#777}.footer-currency-switcher select,.footer-currency-switcher button{background:#0b0b0b;color:#ddd;border:1px solid #2a2a2a;border-radius:7px;padding:7px 9px;font:inherit;font-size:8px}.footer-currency-switcher button{cursor:pointer}.footer-currency-switcher small{width:100%;color:#a98b98;font-size:7px}

.trade-card-finder{border-color:rgba(255,104,164,.18)}
.trade-card-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:14px}.trade-card-search-form input{min-width:0;background:#090909;color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:13px 14px;font:inherit}.trade-card-search-form input:focus{outline:none;border-color:rgba(255,104,164,.65);box-shadow:0 0 0 3px rgba(255,104,164,.08)}
.trade-card-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}.trade-card-search-result{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#0a0a0a;color:inherit;text-decoration:none;transition:border-color .15s ease,transform .15s ease}.trade-card-search-result:hover{border-color:rgba(255,104,164,.45);transform:translateY(-1px)}.trade-card-search-result img{width:54px;aspect-ratio:5/7;object-fit:cover;border-radius:7px}.trade-card-search-result span{display:grid;gap:2px;min-width:0}.trade-card-search-result small{font-size:7px;color:#ff8fba;letter-spacing:.07em}.trade-card-search-result strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-card-search-result em{font-size:8px;color:#777;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trade-card-selected{display:grid;gap:12px;margin-top:16px}.trade-card-selected-card{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px;border:1px solid rgba(255,104,164,.25);border-radius:13px;background:linear-gradient(135deg,rgba(255,104,164,.055),#0a090a)}.trade-card-selected-card>img{width:86px;aspect-ratio:5/7;object-fit:cover;border-radius:9px;border:1px solid rgba(255,255,255,.12)}.trade-card-selected-card h3{margin:5px 0 4px;font-size:18px}.trade-card-selected-card p{margin:0;color:#888;font-size:10px}.trade-card-selected-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.trade-card-wishlist-state{padding:9px 11px;border:1px solid rgba(103,212,154,.27);border-radius:9px;color:#a7e4bf;background:rgba(103,212,154,.04);font-size:9px;font-weight:750}
.trade-card-listing-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-top:3px}.trade-card-listing-heading strong{font-size:12px}.trade-card-listing-heading small{color:#777;font-size:8px}.trade-card-listing-list{display:grid;gap:8px}.trade-card-listing-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr) auto;gap:16px;align-items:center;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#0a0a0a}.trade-card-listing-row h3{margin:5px 0 7px;font-size:20px}.trade-card-listing-match{display:grid;gap:3px}.trade-card-listing-match strong{font-size:24px}.trade-card-listing-match span{color:#999;font-size:9px;line-height:1.45}.trade-card-search-empty{margin-top:12px}

@media(max-width:820px){
  .profile-background-editor{grid-template-columns:1fr}.profile-display-preferences{grid-template-columns:1fr}.trade-card-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-card-listing-row{grid-template-columns:1fr}.trade-card-listing-row .button{justify-self:start}.trade-card-selected-card{grid-template-columns:72px 1fr}.trade-card-selected-card>img{width:72px}.trade-card-selected-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:560px){
  .profile-background-focus-grid{grid-template-columns:1fr}.trade-card-search-form{grid-template-columns:1fr}.trade-card-search-results{grid-template-columns:1fr}.trade-card-listing-heading{align-items:flex-start;flex-direction:column}.footer-currency-switcher{margin-top:6px}
}

/* 1.1 — profile background autosave + visibility fix */
.profile-hero-background{
  background-image:linear-gradient(90deg,rgba(5,5,5,.72) 0%,rgba(7,5,6,.58) 46%,rgba(8,5,7,.48) 100%),var(--profile-bg-image)!important;
}
.profile-background-preview{z-index:0}
.profile-background-preview:before{z-index:0}
.profile-background-preview:after{z-index:1}
.profile-background-preview>span,.profile-background-preview>small{position:relative;z-index:2}
.profile-background-save-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px}
.profile-background-save-status{font-size:8px;color:#8f878b;letter-spacing:.05em;text-transform:uppercase}
.profile-background-save-status[data-state="saving"]{color:#d7b46b}
.profile-background-save-status[data-state="saved"]{color:#98d9b4}
.profile-background-save-status[data-state="error"]{color:#ff8b9d;text-transform:none;letter-spacing:0}
.profile-background-remove-button[hidden]{display:none!important}


/* 1.2 — CSP-safe profile backgrounds + merged card-finder polish */
.profile-hero-background{position:relative!important;isolation:isolate;overflow:hidden;background:#090909!important}
.profile-hero-background-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--profile-bg-x,50%) var(--profile-bg-y,50%);z-index:0;pointer-events:none;user-select:none}
.profile-hero-background:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,5,5,.78) 0%,rgba(7,5,6,.64) 46%,rgba(8,5,7,.52) 100%);pointer-events:none}
.profile-hero-background>*:not(.profile-hero-background-image){position:relative;z-index:2}
.public-profile-hero.profile-hero-background:after{z-index:1;opacity:.24}
.profile-background-preview:before{display:none!important}
.profile-background-preview-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--profile-bg-x,50%) var(--profile-bg-y,50%);z-index:0;pointer-events:none;user-select:none}
.profile-background-preview-image[hidden]{display:none!important}
.profile-background-preview:after{z-index:1!important}
.profile-background-preview>span,.profile-background-preview>small{z-index:2!important}
.trade-card-listing-match{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.trade-card-listing-match>span{display:grid;gap:2px}
.trade-card-listing-match>span>strong{font-size:22px;color:#fff}
.profile-bg-x-0{--profile-bg-x:0%}
.profile-bg-x-1{--profile-bg-x:1%}
.profile-bg-x-2{--profile-bg-x:2%}
.profile-bg-x-3{--profile-bg-x:3%}
.profile-bg-x-4{--profile-bg-x:4%}
.profile-bg-x-5{--profile-bg-x:5%}
.profile-bg-x-6{--profile-bg-x:6%}
.profile-bg-x-7{--profile-bg-x:7%}
.profile-bg-x-8{--profile-bg-x:8%}
.profile-bg-x-9{--profile-bg-x:9%}
.profile-bg-x-10{--profile-bg-x:10%}
.profile-bg-x-11{--profile-bg-x:11%}
.profile-bg-x-12{--profile-bg-x:12%}
.profile-bg-x-13{--profile-bg-x:13%}
.profile-bg-x-14{--profile-bg-x:14%}
.profile-bg-x-15{--profile-bg-x:15%}
.profile-bg-x-16{--profile-bg-x:16%}
.profile-bg-x-17{--profile-bg-x:17%}
.profile-bg-x-18{--profile-bg-x:18%}
.profile-bg-x-19{--profile-bg-x:19%}
.profile-bg-x-20{--profile-bg-x:20%}
.profile-bg-x-21{--profile-bg-x:21%}
.profile-bg-x-22{--profile-bg-x:22%}
.profile-bg-x-23{--profile-bg-x:23%}
.profile-bg-x-24{--profile-bg-x:24%}
.profile-bg-x-25{--profile-bg-x:25%}
.profile-bg-x-26{--profile-bg-x:26%}
.profile-bg-x-27{--profile-bg-x:27%}
.profile-bg-x-28{--profile-bg-x:28%}
.profile-bg-x-29{--profile-bg-x:29%}
.profile-bg-x-30{--profile-bg-x:30%}
.profile-bg-x-31{--profile-bg-x:31%}
.profile-bg-x-32{--profile-bg-x:32%}
.profile-bg-x-33{--profile-bg-x:33%}
.profile-bg-x-34{--profile-bg-x:34%}
.profile-bg-x-35{--profile-bg-x:35%}
.profile-bg-x-36{--profile-bg-x:36%}
.profile-bg-x-37{--profile-bg-x:37%}
.profile-bg-x-38{--profile-bg-x:38%}
.profile-bg-x-39{--profile-bg-x:39%}
.profile-bg-x-40{--profile-bg-x:40%}
.profile-bg-x-41{--profile-bg-x:41%}
.profile-bg-x-42{--profile-bg-x:42%}
.profile-bg-x-43{--profile-bg-x:43%}
.profile-bg-x-44{--profile-bg-x:44%}
.profile-bg-x-45{--profile-bg-x:45%}
.profile-bg-x-46{--profile-bg-x:46%}
.profile-bg-x-47{--profile-bg-x:47%}
.profile-bg-x-48{--profile-bg-x:48%}
.profile-bg-x-49{--profile-bg-x:49%}
.profile-bg-x-50{--profile-bg-x:50%}
.profile-bg-x-51{--profile-bg-x:51%}
.profile-bg-x-52{--profile-bg-x:52%}
.profile-bg-x-53{--profile-bg-x:53%}
.profile-bg-x-54{--profile-bg-x:54%}
.profile-bg-x-55{--profile-bg-x:55%}
.profile-bg-x-56{--profile-bg-x:56%}
.profile-bg-x-57{--profile-bg-x:57%}
.profile-bg-x-58{--profile-bg-x:58%}
.profile-bg-x-59{--profile-bg-x:59%}
.profile-bg-x-60{--profile-bg-x:60%}
.profile-bg-x-61{--profile-bg-x:61%}
.profile-bg-x-62{--profile-bg-x:62%}
.profile-bg-x-63{--profile-bg-x:63%}
.profile-bg-x-64{--profile-bg-x:64%}
.profile-bg-x-65{--profile-bg-x:65%}
.profile-bg-x-66{--profile-bg-x:66%}
.profile-bg-x-67{--profile-bg-x:67%}
.profile-bg-x-68{--profile-bg-x:68%}
.profile-bg-x-69{--profile-bg-x:69%}
.profile-bg-x-70{--profile-bg-x:70%}
.profile-bg-x-71{--profile-bg-x:71%}
.profile-bg-x-72{--profile-bg-x:72%}
.profile-bg-x-73{--profile-bg-x:73%}
.profile-bg-x-74{--profile-bg-x:74%}
.profile-bg-x-75{--profile-bg-x:75%}
.profile-bg-x-76{--profile-bg-x:76%}
.profile-bg-x-77{--profile-bg-x:77%}
.profile-bg-x-78{--profile-bg-x:78%}
.profile-bg-x-79{--profile-bg-x:79%}
.profile-bg-x-80{--profile-bg-x:80%}
.profile-bg-x-81{--profile-bg-x:81%}
.profile-bg-x-82{--profile-bg-x:82%}
.profile-bg-x-83{--profile-bg-x:83%}
.profile-bg-x-84{--profile-bg-x:84%}
.profile-bg-x-85{--profile-bg-x:85%}
.profile-bg-x-86{--profile-bg-x:86%}
.profile-bg-x-87{--profile-bg-x:87%}
.profile-bg-x-88{--profile-bg-x:88%}
.profile-bg-x-89{--profile-bg-x:89%}
.profile-bg-x-90{--profile-bg-x:90%}
.profile-bg-x-91{--profile-bg-x:91%}
.profile-bg-x-92{--profile-bg-x:92%}
.profile-bg-x-93{--profile-bg-x:93%}
.profile-bg-x-94{--profile-bg-x:94%}
.profile-bg-x-95{--profile-bg-x:95%}
.profile-bg-x-96{--profile-bg-x:96%}
.profile-bg-x-97{--profile-bg-x:97%}
.profile-bg-x-98{--profile-bg-x:98%}
.profile-bg-x-99{--profile-bg-x:99%}
.profile-bg-x-100{--profile-bg-x:100%}
.profile-bg-y-0{--profile-bg-y:0%}
.profile-bg-y-1{--profile-bg-y:1%}
.profile-bg-y-2{--profile-bg-y:2%}
.profile-bg-y-3{--profile-bg-y:3%}
.profile-bg-y-4{--profile-bg-y:4%}
.profile-bg-y-5{--profile-bg-y:5%}
.profile-bg-y-6{--profile-bg-y:6%}
.profile-bg-y-7{--profile-bg-y:7%}
.profile-bg-y-8{--profile-bg-y:8%}
.profile-bg-y-9{--profile-bg-y:9%}
.profile-bg-y-10{--profile-bg-y:10%}
.profile-bg-y-11{--profile-bg-y:11%}
.profile-bg-y-12{--profile-bg-y:12%}
.profile-bg-y-13{--profile-bg-y:13%}
.profile-bg-y-14{--profile-bg-y:14%}
.profile-bg-y-15{--profile-bg-y:15%}
.profile-bg-y-16{--profile-bg-y:16%}
.profile-bg-y-17{--profile-bg-y:17%}
.profile-bg-y-18{--profile-bg-y:18%}
.profile-bg-y-19{--profile-bg-y:19%}
.profile-bg-y-20{--profile-bg-y:20%}
.profile-bg-y-21{--profile-bg-y:21%}
.profile-bg-y-22{--profile-bg-y:22%}
.profile-bg-y-23{--profile-bg-y:23%}
.profile-bg-y-24{--profile-bg-y:24%}
.profile-bg-y-25{--profile-bg-y:25%}
.profile-bg-y-26{--profile-bg-y:26%}
.profile-bg-y-27{--profile-bg-y:27%}
.profile-bg-y-28{--profile-bg-y:28%}
.profile-bg-y-29{--profile-bg-y:29%}
.profile-bg-y-30{--profile-bg-y:30%}
.profile-bg-y-31{--profile-bg-y:31%}
.profile-bg-y-32{--profile-bg-y:32%}
.profile-bg-y-33{--profile-bg-y:33%}
.profile-bg-y-34{--profile-bg-y:34%}
.profile-bg-y-35{--profile-bg-y:35%}
.profile-bg-y-36{--profile-bg-y:36%}
.profile-bg-y-37{--profile-bg-y:37%}
.profile-bg-y-38{--profile-bg-y:38%}
.profile-bg-y-39{--profile-bg-y:39%}
.profile-bg-y-40{--profile-bg-y:40%}
.profile-bg-y-41{--profile-bg-y:41%}
.profile-bg-y-42{--profile-bg-y:42%}
.profile-bg-y-43{--profile-bg-y:43%}
.profile-bg-y-44{--profile-bg-y:44%}
.profile-bg-y-45{--profile-bg-y:45%}
.profile-bg-y-46{--profile-bg-y:46%}
.profile-bg-y-47{--profile-bg-y:47%}
.profile-bg-y-48{--profile-bg-y:48%}
.profile-bg-y-49{--profile-bg-y:49%}
.profile-bg-y-50{--profile-bg-y:50%}
.profile-bg-y-51{--profile-bg-y:51%}
.profile-bg-y-52{--profile-bg-y:52%}
.profile-bg-y-53{--profile-bg-y:53%}
.profile-bg-y-54{--profile-bg-y:54%}
.profile-bg-y-55{--profile-bg-y:55%}
.profile-bg-y-56{--profile-bg-y:56%}
.profile-bg-y-57{--profile-bg-y:57%}
.profile-bg-y-58{--profile-bg-y:58%}
.profile-bg-y-59{--profile-bg-y:59%}
.profile-bg-y-60{--profile-bg-y:60%}
.profile-bg-y-61{--profile-bg-y:61%}
.profile-bg-y-62{--profile-bg-y:62%}
.profile-bg-y-63{--profile-bg-y:63%}
.profile-bg-y-64{--profile-bg-y:64%}
.profile-bg-y-65{--profile-bg-y:65%}
.profile-bg-y-66{--profile-bg-y:66%}
.profile-bg-y-67{--profile-bg-y:67%}
.profile-bg-y-68{--profile-bg-y:68%}
.profile-bg-y-69{--profile-bg-y:69%}
.profile-bg-y-70{--profile-bg-y:70%}
.profile-bg-y-71{--profile-bg-y:71%}
.profile-bg-y-72{--profile-bg-y:72%}
.profile-bg-y-73{--profile-bg-y:73%}
.profile-bg-y-74{--profile-bg-y:74%}
.profile-bg-y-75{--profile-bg-y:75%}
.profile-bg-y-76{--profile-bg-y:76%}
.profile-bg-y-77{--profile-bg-y:77%}
.profile-bg-y-78{--profile-bg-y:78%}
.profile-bg-y-79{--profile-bg-y:79%}
.profile-bg-y-80{--profile-bg-y:80%}
.profile-bg-y-81{--profile-bg-y:81%}
.profile-bg-y-82{--profile-bg-y:82%}
.profile-bg-y-83{--profile-bg-y:83%}
.profile-bg-y-84{--profile-bg-y:84%}
.profile-bg-y-85{--profile-bg-y:85%}
.profile-bg-y-86{--profile-bg-y:86%}
.profile-bg-y-87{--profile-bg-y:87%}
.profile-bg-y-88{--profile-bg-y:88%}
.profile-bg-y-89{--profile-bg-y:89%}
.profile-bg-y-90{--profile-bg-y:90%}
.profile-bg-y-91{--profile-bg-y:91%}
.profile-bg-y-92{--profile-bg-y:92%}
.profile-bg-y-93{--profile-bg-y:93%}
.profile-bg-y-94{--profile-bg-y:94%}
.profile-bg-y-95{--profile-bg-y:95%}
.profile-bg-y-96{--profile-bg-y:96%}
.profile-bg-y-97{--profile-bg-y:97%}
.profile-bg-y-98{--profile-bg-y:98%}
.profile-bg-y-99{--profile-bg-y:99%}
.profile-bg-y-100{--profile-bg-y:100%}

@media(max-width:820px){.trade-card-listing-match{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.trade-card-listing-match{grid-template-columns:1fr}}

/* Collector identity, stats and lightweight card metadata */
.collector-bio{margin:7px 0 0!important;max-width:640px;color:#d1cecb!important;font-size:12px!important;line-height:1.5!important}
.profile-bio-editor,.collection-focus-settings,.profile-display-preferences{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:28px;padding:24px 0;border-top:1px solid var(--line);align-items:start}.profile-bio-editor textarea{width:100%;min-height:72px;resize:vertical;background:#0b0b0b;border:1px solid #363636;border-radius:10px;color:#fff;padding:12px}.collection-focus-set-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.collection-focus-set{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #2f2f2f;border-radius:10px;background:#0b0b0b;cursor:pointer}.collection-focus-set input{margin-top:2px;accent-color:var(--pink)}.collection-focus-set span{display:grid;gap:3px}.collection-focus-set strong{font-size:11px}.collection-focus-set small{font-size:8px;color:#7f7b79;letter-spacing:.04em}.collection-focus-set:has(input:checked){border-color:rgba(255,79,145,.55);background:rgba(255,79,145,.05)}
.focused-completion-strip{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 20px;margin:16px 0;border:1px solid rgba(255,79,145,.35);border-radius:12px;background:rgba(255,79,145,.035)}.focused-completion-strip>div:first-child{display:grid;grid-template-columns:auto auto;column-gap:12px;align-items:end}.focused-completion-strip .eyebrow{grid-column:1/-1}.focused-completion-strip strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:32px}.focused-completion-strip small{font-size:9px;color:#8d8986;padding-bottom:5px}.focused-completion-strip>div:last-child{display:grid;justify-items:end;gap:5px;font-size:9px;color:#999}.focused-completion-strip a{color:var(--pink-hot);font-weight:600}.focused-stat-card{border-color:rgba(255,79,145,.42)!important}.focused-stat-card small{display:block;margin-top:5px;color:#7e7a78;font-size:8px}.set-progress-row.is-focus-excluded{opacity:.55}.set-progress-copy em{font-style:normal;margin-left:8px;color:var(--pink-hot);font-size:7px;letter-spacing:.12em;text-transform:uppercase}
.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compact-milestone-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.milestone-card{min-height:120px;padding:18px;border:1px solid #2f2f2f;border-radius:12px;background:linear-gradient(145deg,#101010,#0a0a0a);display:flex;flex-direction:column;gap:7px}.milestone-card>span{color:var(--pink-hot);font-size:7px;letter-spacing:.14em}.milestone-card>strong{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:22px}.milestone-card>small{color:#8e8a87;font-size:9px;line-height:1.5}
.collector-activity-list{display:grid;border:1px solid #292929;border-radius:12px;overflow:hidden}.collector-activity-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px 16px;background:#0d0d0d;border-bottom:1px solid #252525}.collector-activity-row:last-child{border-bottom:0}.collector-activity-row>div{display:grid;gap:3px}.collector-activity-row span{font-size:8px;letter-spacing:.12em;color:var(--pink-hot);text-transform:uppercase}.collector-activity-row strong{font-size:11px}.collector-activity-row time{font-size:8px;color:#777;white-space:nowrap}
.collection-card-details{width:100%;border:1px solid #2e2e2e;border-radius:8px;background:#0b0b0b}.collection-card-details>summary{list-style:none;cursor:pointer;padding:10px 12px;font-size:8px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;display:flex;justify-content:space-between;gap:10px}.collection-card-details>summary::-webkit-details-marker{display:none}.collection-card-details>summary:after{content:"+";color:var(--pink-hot);font-size:14px;line-height:.7}.collection-card-details[open]>summary:after{content:"−"}.collection-card-details>summary span{color:var(--pink-hot)}.collection-card-details-form{display:grid;gap:12px;padding:0 12px 12px}.collection-card-details-form label{display:grid;gap:6px}.collection-card-details-form label>span{font-size:9px;font-weight:650}.collection-card-details-form label em{font-style:normal;color:#777;font-weight:400}.collection-card-details textarea,.collection-card-details select{width:100%;background:#101010;border:1px solid #363636;border-radius:7px;color:#fff;padding:9px;resize:vertical;font-size:10px}.collection-card-details-form label small{color:#777;font-size:7px;line-height:1.4}.trade-card-detail-fields{display:grid;gap:12px;padding-top:10px;border-top:1px solid #282828}.collection-card-trade-hint{font-size:8px;color:#8a8683;line-height:1.5;padding:9px 0;border-top:1px solid #252525}.collection-card-trade-hint strong{color:#fff}.trade-card-condition{display:inline-flex;width:max-content;margin-top:5px;border:1px solid rgba(255,79,145,.5);border-radius:999px;padding:3px 7px;color:var(--pink-hot);font-size:7px;letter-spacing:.08em;text-transform:uppercase}.trade-card-note{display:block;margin-top:5px;color:#9b9794;font-size:8px;font-style:normal;line-height:1.4}.trade-finder-card-details{display:flex;align-items:center;gap:8px;margin-top:8px}.trade-finder-card-details span{border:1px solid rgba(255,79,145,.45);border-radius:999px;padding:3px 7px;color:var(--pink-hot);font-size:7px;text-transform:uppercase;letter-spacing:.08em}.trade-finder-card-details small{max-width:420px;color:#8f8b88;font-size:8px}
.collection-stats-page .collector-hero h1{margin:5px 0 8px}.collection-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.collection-stats-grid .stat-card small{display:block;margin-top:6px;color:#74716f;font-size:8px}.collection-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.collection-insight-card{min-height:150px;border:1px solid #303030;border-radius:12px;background:#0e0e0e;padding:18px;display:flex;flex-direction:column;gap:8px}.collection-insight-card strong{font-size:12px;line-height:1.45}.collection-insight-card b{font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:30px}.collection-insight-card small{color:#817d7a;font-size:8px}.collection-stats-split{display:grid;grid-template-columns:.75fr 1.25fr;gap:14px}.collection-stats-split>.collector-section{margin-top:0}.rarity-stat-list{display:grid}.rarity-stat-list>div{display:flex;justify-content:space-between;align-items:center;padding:11px 2px;border-bottom:1px solid #272727}.rarity-stat-list span{font-size:10px}.rarity-stat-list strong{font-size:17px}
@media(max-width:900px){.profile-bio-editor,.collection-focus-settings,.profile-display-preferences{grid-template-columns:1fr}.collection-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-insight-grid,.milestone-grid,.compact-milestone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-stats-split{grid-template-columns:1fr}}
@media(max-width:600px){.collection-focus-set-list,.collection-stats-grid,.collection-insight-grid,.milestone-grid,.compact-milestone-grid{grid-template-columns:1fr}.focused-completion-strip{align-items:flex-start;flex-direction:column}.focused-completion-strip>div:last-child{justify-items:start}.collector-activity-row{align-items:flex-start;flex-direction:column;gap:7px}.trade-finder-card-details{align-items:flex-start;flex-direction:column}}
.trade-card-edit-link{display:block;margin:8px 10px 0;font-size:7px!important;color:var(--pink-hot)!important}
.trade-card-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}


/* Collector Experience 1.5 — cleaner card-details editor, visible activity and milestone chase states */
.collection-card-details-trigger{
  width:100%;min-height:48px;border:1px solid #2e2e2e;border-radius:9px;background:#0b0b0b;color:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;cursor:pointer;text-align:left
}
.collection-card-details-trigger:hover{border-color:#494949;background:#101010}
.collection-card-details-trigger.has-details{border-color:rgba(255,79,145,.4);background:rgba(255,79,145,.035)}
.collection-card-details-trigger>span{display:grid;gap:3px;min-width:0}
.collection-card-details-trigger strong{font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.collection-card-details-trigger small{font-size:7px;color:#7e7a78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-card-details-trigger em{font-style:normal;color:var(--pink-hot);font-size:7px;font-weight:700;letter-spacing:.12em;white-space:nowrap}

.card-details-dialog{
  width:min(680px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 28px));padding:0;border:1px solid #3a3a3a;
  border-radius:16px;background:#0b0b0b;color:#fff;box-shadow:0 30px 90px rgba(0,0,0,.72);overflow:hidden
}
.card-details-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}
.card-details-dialog-shell{max-height:min(820px,calc(100vh - 28px));overflow:auto}
.card-details-dialog-heading{
  position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
  padding:22px 24px 18px;border-bottom:1px solid #292929;background:rgba(11,11,11,.97);backdrop-filter:blur(12px)
}
.card-details-dialog-heading h2{margin:5px 0 5px;font-family:"Arial Narrow","Aptos Display","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:24px;line-height:1.1}
.card-details-dialog-heading p{margin:0;max-width:520px;color:#8e8a87;font-size:9px;line-height:1.55}
.card-details-dialog-close{
  flex:0 0 auto;width:34px;height:34px;border:1px solid #373737;border-radius:9px;background:#111;color:#fff;
  display:grid;place-items:center;font-size:22px;line-height:1;cursor:pointer
}
.card-details-dialog-close:hover{border-color:var(--pink-hot);color:var(--pink-hot)}
.card-details-dialog-form{display:grid;gap:14px;padding:20px 24px 24px}
.card-details-panel{display:grid;gap:14px;padding:18px;border:1px solid #2d2d2d;border-radius:12px;background:#0e0e0e}
.card-details-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:1px solid #272727}
.card-details-panel-heading h3{margin:3px 0 0;font-size:17px}
.card-details-panel-heading>span{font-size:7px;color:#777;letter-spacing:.08em;text-transform:uppercase;text-align:right}
.card-details-dialog-form label{display:grid;gap:7px}
.card-details-dialog-form label>span{font-size:10px;font-weight:650}
.card-details-dialog-form label em{font-style:normal;color:#777;font-weight:400}
.card-details-dialog-form textarea,.card-details-dialog-form select{
  width:100%;box-sizing:border-box;background:#080808;border:1px solid #3a3a3a;border-radius:9px;color:#fff;
  padding:12px 13px;font:inherit;font-size:11px;line-height:1.55
}
.card-details-dialog-form textarea{min-height:112px;resize:vertical}
.card-details-dialog-form textarea:focus,.card-details-dialog-form select:focus{outline:0;border-color:rgba(255,79,145,.75);box-shadow:0 0 0 3px rgba(255,79,145,.08)}
.card-details-dialog-form label small{color:#777;font-size:8px;line-height:1.5}
.card-details-trade-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:14px}
.card-details-not-listed{display:grid;gap:6px;padding:14px;border:1px dashed #333;border-radius:10px;background:#090909}
.card-details-not-listed strong{font-size:11px}
.card-details-not-listed p{margin:0;color:#85817e;font-size:9px;line-height:1.55}
.card-details-not-listed b{color:#fff}
.card-details-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:2px}
.card-details-dialog-actions .button{min-width:130px}

.section-helper{margin:5px 0 0;color:#777;font-size:8px;line-height:1.5}
.dashboard-activity-section{margin-top:18px}
.dashboard-activity-empty{margin:0;padding:16px;color:#7f7b78;font-size:9px}
.milestone-card.is-locked{border-style:dashed;background:#0a0a0a;opacity:.72}
.milestone-card.is-locked>span{color:#777}
.milestone-card.is-locked>strong{color:#c5c2bf}
.milestone-card.is-locked>small{min-height:40px}
.milestone-progress-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:auto;padding-top:8px}
.milestone-progress-row progress{width:100%;height:6px;accent-color:var(--pink-hot)}
.milestone-progress-row b{font-size:8px;color:#aaa}
.milestone-card>em{font-style:normal;color:#777;font-size:7px;letter-spacing:.08em;text-transform:uppercase}
.milestone-catalog-grid .milestone-card{min-height:150px}

@media(max-width:650px){
  .card-details-dialog-heading,.card-details-dialog-form{padding-left:16px;padding-right:16px}
  .card-details-trade-grid{grid-template-columns:1fr}
  .card-details-panel-heading{flex-direction:column;gap:7px}
  .card-details-panel-heading>span{text-align:left}
  .card-details-dialog-actions{flex-direction:column-reverse}
  .card-details-dialog-actions .button{width:100%}
}

/* Collector Experience 1.5.1 — card-details modal layout repair */
.card-details-dialog,
.card-details-dialog-shell,
.card-details-dialog-form,
.card-details-panel,
.card-details-trade-grid,
.card-details-dialog-actions{
  box-sizing:border-box;
  min-width:0;
}
.card-details-dialog-shell{
  overflow-y:auto;
  overflow-x:hidden;
}
/* The dialog lives inside .collection-card-actions, whose generic form rule is flex.
   Explicitly restore the modal editor to a vertical grid so it never becomes a horizontal strip. */
.collection-card-actions form.card-details-dialog-form{
  display:grid;
  width:auto;
  min-width:0;
  gap:14px;
}
.card-details-trade-grid{
  grid-template-columns:1fr;
  gap:14px;
}
.card-details-dialog-form textarea,
.card-details-dialog-form select{
  min-width:0;
  max-width:100%;
}
.card-details-dialog-form textarea{
  width:100%;
  min-height:116px;
  resize:vertical;
}
.card-details-dialog-form select{
  min-height:46px;
}
.card-details-dialog-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:9px;
  width:100%;
}
.card-details-dialog-actions .button{
  flex:0 0 auto;
  min-width:130px;
}
@media(max-width:650px){
  .collection-card-actions form.card-details-dialog-form{width:auto}
  .card-details-dialog-actions{flex-direction:column-reverse}
  .card-details-dialog-actions .button{width:100%;min-width:0}
}

/* =====================================================
   1.6 — public profile hierarchy + visible trade details
   ===================================================== */
.profile-identity-hero{align-items:stretch}
.profile-identity-copy{display:flex;min-width:0;min-height:100%;flex-direction:column;justify-content:flex-start}
.profile-identity-main{align-items:flex-start}
.profile-identity-text{min-width:0;padding-top:2px}
.profile-identity-actions{margin-top:auto;padding-top:24px}
.profile-identity-actions .button{min-height:42px}

.collector-status-badges{margin-top:13px;gap:6px}
.collector-achievement-badges{margin-top:7px;gap:6px}
.collector-status-badges .collector-badge,.collector-achievement-badges .collector-badge{min-height:24px;padding:0 9px;font-size:6.5px;background:rgba(8,8,8,.54);backdrop-filter:blur(7px)}
.collector-achievement-badges .collector-badge{border-color:rgba(255,255,255,.18);color:#eee7ea}
.collector-achievement-badges .collector-team-badge,.collector-achievement-badges .collector-master-badge{border-color:rgba(255,104,164,.35);color:#ff9bc1}
.collector-rep-badge{border-color:rgba(255,104,164,.32)!important;background:rgba(255,104,164,.05)!important}

.profile-discord-chip{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:32px;margin-top:10px;padding:5px 10px 5px 7px;border:1px solid rgba(88,101,242,.42);border-radius:999px;background:rgba(13,15,25,.66);color:#fff;font:inherit;cursor:pointer;backdrop-filter:blur(7px);transition:border-color .15s ease,background .15s ease,transform .15s ease}
.profile-discord-chip:hover{border-color:rgba(88,101,242,.84);background:rgba(88,101,242,.14);transform:translateY(-1px)}
.profile-discord-chip img{width:18px;height:18px;flex:0 0 18px;object-fit:contain}
.profile-discord-chip span{color:#8d8990;font-size:10px}
.profile-discord-chip strong{overflow:hidden;max-width:260px;color:#fff;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.profile-trade-updated{margin-top:8px}

.trade-profile-identity-hero .profile-identity-copy{min-height:240px}
.trade-profile-identity-hero .public-profile-identity{align-items:flex-start}

.trade-finder-public-details{align-items:flex-start;margin-top:10px;padding:9px 10px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0a0a0a}
.trade-finder-public-details>div{display:grid;gap:2px;min-width:0}
.trade-finder-public-details b{color:#ff91ba;font-size:6px;letter-spacing:.09em;text-transform:uppercase}
.trade-finder-public-details small{max-width:520px;color:#d2cbd0;font-size:9px;line-height:1.45}

.trade-match-card-details-list{display:grid;gap:7px;margin-top:10px;max-width:620px}
.trade-match-card-detail-row{padding:8px 9px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:#0a0a0a}
.trade-match-card-detail-row>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.trade-match-card-detail-row strong{color:#f5eff2;font-size:8px}
.trade-match-card-detail-row>div>span{padding:3px 6px;border:1px solid rgba(255,104,164,.32);border-radius:999px;color:#ff96bd;font-size:6px;letter-spacing:.07em;text-transform:uppercase}
.trade-match-card-detail-row p{display:grid;gap:2px;margin:6px 0 0;color:#c4bcc1;font-size:8px;line-height:1.45}
.trade-match-card-detail-row p b{color:#ff91ba;font-size:6px;letter-spacing:.09em;text-transform:uppercase}

.public-trade-card-details{display:grid;gap:6px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.07)}
.public-trade-card-details .trade-card-condition{margin-top:0}
.public-trade-card-details p{display:grid;gap:2px;margin:0;color:#b9b1b6;font-size:8px;line-height:1.45}
.public-trade-card-details p b{color:#ff91ba;font-size:6px;letter-spacing:.09em;text-transform:uppercase}
.trade-public-card-grid .profile-visual-copy{padding-bottom:10px}
.trade-mini-condition{display:inline-flex;width:max-content;margin-top:2px;padding:2px 5px;border:1px solid rgba(255,104,164,.30);border-radius:999px;color:#ff96bd!important;font-size:5.5px!important;letter-spacing:.06em;text-transform:uppercase}
.trade-mini-note{display:grid;gap:2px;margin-top:2px;color:#a9a1a6;font-size:6.5px;font-style:normal;line-height:1.35}
.trade-mini-note b{color:#ff91ba;font-size:5px;letter-spacing:.07em;text-transform:uppercase}

@media(max-width:760px){
  .profile-identity-actions{padding-top:18px}
  .profile-identity-actions .button{flex:1 1 140px}
  .profile-discord-chip strong{max-width:190px}
  .trade-finder-public-details{flex-direction:column}
}
@media(max-width:520px){
  .profile-identity-main{gap:12px}
  .profile-identity-text h1{font-size:clamp(38px,13vw,58px)}
  .profile-discord-chip{min-height:30px;margin-top:8px}
  .collector-status-badges .collector-badge,.collector-achievement-badges .collector-badge{min-height:22px;padding:0 7px;font-size:5.8px}
}
.profile-identity-hero.has-showcase .public-showcase-card{align-self:center}
.profile-identity-hero:not(.has-showcase) .profile-identity-copy{min-height:220px}
.trade-profile-identity-hero .profile-identity-copy{min-height:240px}

/* =====================================================
   1.7 — public identity hierarchy + profile progress fix
   ===================================================== */
.profile-avatar-column{
  display:flex;
  flex:0 0 148px;
  width:148px;
  flex-direction:column;
  align-items:center;
  gap:8px;
  box-sizing:border-box;
  padding-top:34px;
}
.profile-avatar-column .public-profile-avatar{flex:0 0 104px}
.profile-discord-under-avatar{max-width:148px;margin-top:0}
.profile-discord-under-avatar strong{max-width:105px}
.trade-profile-avatar-stack.profile-avatar-column{flex-basis:148px;width:148px;align-items:center;gap:8px}
.trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{flex-basis:104px}
.trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-form,
.trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-given{width:104px}

.collector-meta-badges,.collector-master-badges{margin-top:7px;gap:6px}
.collector-status-badges .collector-badge,
.collector-meta-badges .collector-badge,
.collector-master-badges .collector-badge{
  min-height:24px;
  padding:0 9px;
  font-size:6.5px;
  background:rgba(8,8,8,.54);
  backdrop-filter:blur(7px);
}
.collector-meta-badges .collector-badge{border-color:rgba(255,255,255,.18);color:#eee7ea}
.collector-meta-badges .collector-team-badge{border-color:rgba(255,104,164,.35);color:#ff9bc1}
.collector-master-badges .collector-badge{border-color:rgba(255,104,164,.35);color:#ff9bc1}
.collector-master-badges{padding-top:1px}

/* Public set completion must use the CSP-safe native progress element too. */
.set-progress-enhanced progress.set-progress-meter{min-width:120px}

@media(max-width:760px){
  .profile-avatar-column{flex-basis:112px;width:112px;padding-top:28px}
  .profile-discord-under-avatar{max-width:112px}
  .profile-discord-under-avatar strong{max-width:70px}
  .trade-profile-avatar-stack.profile-avatar-column{flex-basis:112px;width:112px}
  .collector-status-badges .collector-badge,
  .collector-meta-badges .collector-badge,
  .collector-master-badges .collector-badge{min-height:22px;padding:0 7px;font-size:5.8px}
}
@media(max-width:520px){
  .profile-avatar-column{flex-basis:82px;width:82px;padding-top:24px;gap:6px}
  .profile-avatar-column .public-profile-avatar{width:72px;height:72px;flex-basis:72px}
  .trade-profile-avatar-stack.profile-avatar-column{flex-basis:82px;width:82px}
  .trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{flex-basis:72px}
  .profile-discord-under-avatar{max-width:82px;padding:4px 6px}
  .profile-discord-under-avatar img{width:16px;height:16px;flex-basis:16px}
  .profile-discord-under-avatar span{display:none}
  .profile-discord-under-avatar strong{max-width:52px;font-size:7px}
  .trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-form,
  .trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-given{width:72px}
}


/* =====================================================
   1.8.4 — My Collection showcase parity
   ===================================================== */
.collector-dashboard-hero.has-showcase{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,280px);
  grid-template-areas:"identity showcase" "actions showcase";
  align-items:end;
  column-gap:32px;
  row-gap:22px;
}
.collector-dashboard-hero.has-showcase .dashboard-profile-identity{grid-area:identity}
.collector-dashboard-hero.has-showcase .collector-hero-actions{grid-area:actions;justify-content:flex-start}
.collector-dashboard-hero.has-showcase .dashboard-showcase-card{grid-area:showcase;align-self:center;justify-self:end;width:100%;max-width:280px}
@media(max-width:900px){
  .collector-dashboard-hero.has-showcase{grid-template-columns:minmax(0,1fr) minmax(170px,220px);column-gap:22px}
  .collector-dashboard-hero.has-showcase .dashboard-showcase-card{max-width:220px}
}
@media(max-width:680px){
  .collector-dashboard-hero.has-showcase{display:grid;grid-template-columns:1fr;grid-template-areas:"identity" "showcase" "actions";align-items:start}
  .collector-dashboard-hero.has-showcase .dashboard-showcase-card{justify-self:start;width:min(190px,65vw);max-width:190px}
  .collector-dashboard-hero.has-showcase .collector-hero-actions{width:100%}
}


/* =====================================================
   1.8.5 — reliable + polished global currency utility
   ===================================================== */
.site-header nav .nav-currency-switcher{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  margin:0 0 0 2px;
  padding:0 0 0 15px;
  border-left:1px solid rgba(255,255,255,.10);
}
.site-header nav .nav-currency-switcher:after{
  content:"⌄";
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-56%);
  color:#8f888c;
  font-size:10px;
  line-height:1;
  pointer-events:none;
}
.site-header nav .nav-currency-switcher select{
  appearance:none;
  -webkit-appearance:none;
  width:66px;
  min-width:66px;
  height:31px;
  margin:0;
  padding:0 23px 0 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  outline:0;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)),#0b0b0b;
  color:#e8e2e5;
  font:inherit;
  font-size:8px;
  font-weight:750;
  letter-spacing:.10em;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,opacity .16s ease;
}
.site-header nav .nav-currency-switcher select:hover,
.site-header nav .nav-currency-switcher select:focus{
  border-color:rgba(255,104,164,.46);
  background:linear-gradient(180deg,rgba(255,104,164,.08),rgba(255,255,255,.018)),#0b0b0b;
  color:#fff;
}
.site-header nav .nav-currency-switcher.is-saving select{opacity:.62}
.site-header nav .nav-currency-switcher.is-saving:after{color:var(--pink-hot)}

@media(max-width:880px){
  .site-header nav .nav-currency-switcher{padding-left:10px}
  .site-header nav .nav-currency-switcher select{width:60px;min-width:60px;height:29px;padding-left:8px;font-size:7px}
}
@media(max-width:680px){
  .site-header nav .nav-currency-switcher{
    padding-left:8px;
    border-left-color:rgba(255,255,255,.08);
  }
  .site-header nav .nav-currency-switcher select{width:58px;min-width:58px;height:28px;font-size:6.5px}
  .site-header nav .nav-currency-switcher:after{right:7px;font-size:9px}
}

/* =====================================================
   1.9 — site-wide visual quality + consistency pass
   Consolidates the live design language without changing behaviour.
   ===================================================== */
:root{
  --ui-surface:#0d0d0e;
  --ui-surface-raised:#101011;
  --ui-surface-soft:rgba(12,12,13,.84);
  --ui-line:rgba(255,255,255,.10);
  --ui-line-strong:rgba(255,255,255,.15);
  --ui-line-pink:rgba(255,104,164,.34);
  --ui-muted:#948d91;
  --ui-muted-soft:#777075;
  --ui-radius-xl:18px;
  --ui-radius-lg:14px;
  --ui-radius-md:10px;
  --ui-radius-sm:8px;
  --ui-control-height:42px;
  --ui-shadow:0 18px 52px rgba(0,0,0,.18);
}

/* One neutral surface language across collector, trading and account areas. */
.collector-hero,
.public-profile-hero{
  border-color:var(--ui-line-strong);
  border-radius:var(--ui-radius-xl);
  background:linear-gradient(135deg,rgba(14,14,15,.96),rgba(10,9,10,.90));
  box-shadow:var(--ui-shadow);
}
.stat-card,
.settings-card,
.trade-flow-card,
.milestone-card,
.profile-setup-notice,
.spares-match-panel,
.focused-completion-strip,
.trade-settings-disclosure,
.profile-country-picker,
.collection-empty,
.collector-activity-list{
  border-color:var(--ui-line);
  border-radius:var(--ui-radius-lg);
  background-color:var(--ui-surface-soft);
}
.stat-card,.settings-card,.milestone-card,.trade-flow-card{box-shadow:0 12px 34px rgba(0,0,0,.10)}
.settings-card,.stat-card{padding:20px}
.stat-card{min-height:112px}
.collector-section{margin-top:36px}
.collector-section-heading{margin-bottom:16px}
.collector-section-heading h2{line-height:1.05}

/* Profile backgrounds should use the same readability treatment everywhere. */
.profile-hero-background{background:#090909!important}
.profile-hero-background:before{
  background:
    linear-gradient(90deg,rgba(5,5,5,.82) 0%,rgba(6,5,6,.67) 45%,rgba(7,5,6,.50) 100%),
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.28));
}
.profile-hero-background-image{filter:saturate(.94) contrast(1.02)}

/* Buttons: shared dimensions and rhythm across public, collector and account UI. */
.button,
.outline-button,
.solid-button{
  min-height:var(--ui-control-height);
  padding:0 15px;
  border-radius:var(--ui-radius-md);
  font-size:8px;
  font-weight:800;
  line-height:1;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.button{border-color:rgba(255,255,255,.18);background:var(--paper);color:#090909}
.button.button-ghost{border-color:var(--ui-line-strong);background:rgba(255,255,255,.018);color:#f5f0f2}
.button.button-ghost:hover{border-color:var(--ui-line-pink);background:rgba(255,104,164,.055);color:#fff}
.outline-button{border-color:var(--ui-line-strong);background:transparent;color:#f3edef}
.outline-button:hover{border-color:var(--ui-line-pink);background:rgba(255,104,164,.045);color:#ff9bc1}
.solid-button{border-color:var(--pink);background:var(--pink);color:#fff}
.mini-button{
  min-height:34px;
  padding:0 11px;
  border-radius:var(--ui-radius-sm);
  font-size:7px;
  font-weight:800;
  line-height:1;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.collector-actions,.collector-hero-actions,.public-profile-actions,.profile-identity-actions{gap:8px}

/* Forms: one control treatment for filters, collection tools and account settings. */
.collection-filters input,
.collection-filters select,
.settings-card input[type=text],
.settings-card input[type=password],
.settings-card input[type=email],
.settings-card input[type=url],
.settings-card select,
.settings-card textarea,
.profile-country-controls select,
.card-details-dialog input,
.card-details-dialog select,
.card-details-dialog textarea{
  border:1px solid var(--ui-line-strong);
  border-radius:var(--ui-radius-md);
  background:#09090a;
  color:#f5f0f2;
  box-shadow:none;
}
.collection-filters input,.collection-filters select,
.settings-card input[type=text],.settings-card input[type=password],.settings-card input[type=email],.settings-card input[type=url],
.settings-card select,.profile-country-controls select,.card-details-dialog input,.card-details-dialog select{min-height:42px}
.settings-card textarea,.card-details-dialog textarea{min-height:104px;padding:11px 12px;line-height:1.5;resize:vertical}
.collection-filters input:focus,.collection-filters select:focus,
.settings-card input:focus,.settings-card select:focus,.settings-card textarea:focus,
.card-details-dialog input:focus,.card-details-dialog select:focus,.card-details-dialog textarea:focus{
  border-color:rgba(255,104,164,.46);
  outline:none;
  box-shadow:0 0 0 3px rgba(255,104,164,.075);
}

/* Public browsing controls should feel related to account controls, not like a second theme. */
.filters{
  border-color:var(--ui-line-strong);
  border-radius:var(--ui-radius-md);
  overflow:hidden;
  background:var(--ui-surface);
}
.filters label{border-color:var(--ui-line)}
.filters button{min-height:44px;background:var(--paper);font-weight:800}
.filters button:hover{background:var(--pink);color:#fff}
.hero-search,.search-controls{border-color:var(--ui-line-strong);border-radius:var(--ui-radius-md);overflow:hidden;background:var(--ui-surface)}

/* Cards and information panels: subtle rounding and consistent neutral borders. */
.card-tile{border-color:rgba(255,255,255,.11);border-radius:12px;overflow:hidden}
.card-tile:hover{border-color:rgba(255,255,255,.28)}
.card-art{border-radius:8px}
.detail-art{border-color:var(--ui-line);border-radius:var(--ui-radius-lg)}
.value-panel{border-color:var(--ui-line-strong);border-left-color:var(--pink);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised)}
.wiki-panel,.wiki-set-card,.community-cta,.guide-note,.about-card{
  border-color:var(--ui-line-strong);
  border-radius:var(--ui-radius-lg);
  background-color:var(--ui-surface);
}
.wiki-set-card{overflow:hidden}

/* Repeated collector list/panel components. */
.set-progress-row,.collection-row{border-color:var(--ui-line);border-radius:var(--ui-radius-md);background:rgba(9,9,10,.76)}
.collector-activity-row{background:rgba(11,11,12,.92);border-bottom-color:var(--ui-line)}
.trade-match-card-detail-row,.trade-finder-public-details,.public-trade-card-details{border-color:var(--ui-line);border-radius:var(--ui-radius-sm)}
.milestone-card.is-locked{background:rgba(9,9,10,.76);opacity:.78}

/* Typography and metadata should use the same neutral/pink hierarchy. */
.eyebrow{color:#a59da1;opacity:1}
.micro-label,.hero-label{color:var(--pink)}
.settings-muted,.spares-note,.trade-flow-card p,.milestone-card>small,.collector-activity-row time{color:var(--ui-muted)}
.collector-bio{color:#c9c2c6;line-height:1.55}
.collector-badge-row,.collector-status-badges,.collector-meta-badges,.collector-master-badges{row-gap:6px}

/* Messages and empty states should be recognisably related to normal panels. */
.site-message,.empty-state,.search-prompt,.collection-empty{
  border-radius:var(--ui-radius-md);
  border-color:var(--ui-line-strong);
}
.site-message{background:rgba(11,11,12,.96)}

/* Public hero artwork uses one consistent dark-to-art fade. */
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.995) 0%,rgba(8,8,8,.945) 44%,rgba(8,8,8,.64) 72%,rgba(8,8,8,.36) 100%),
    url("../img/saitodex-hero-art.388b21634491.webp"),
    url("../img/saitodex-backdrop.3b56746d8092.svg");
  background-position:center,right -20px center,center right;
  background-size:100% 100%,auto 135%,940px auto;
  background-repeat:no-repeat;
}

/* Slightly calmer motion and a single hover language. */
.card-tile,.set-panel,.profile-visual-card,.trade-flow-card,.set-progress-row,.button,.mini-button,.outline-button,.solid-button{transition-duration:.16s}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

@media(max-width:680px){
  .collector-hero,.public-profile-hero{padding:22px 18px;border-radius:14px}
  .settings-card,.stat-card{padding:16px;border-radius:12px}
  .button,.outline-button,.solid-button{min-height:40px;padding:0 12px;font-size:7px}
  .mini-button{min-height:33px}
  .page-hero{
    background-image:linear-gradient(180deg,rgba(8,8,8,.90),rgba(8,8,8,.96)),url("../img/saitodex-hero-art.388b21634491.webp");
    background-size:100% 100%,auto 100%;
    background-position:center,67% center;
  }
}

/* =====================================================
   2.0 — responsive + device quality pass
   Phone/tablet behaviour only; desktop design remains 1.9.
   ===================================================== */

/* Let flex/grid descendants shrink instead of forcing page-level overflow. */
.collector-shell :where(.collector-hero,.public-profile-hero,.profile-identity-main,.profile-identity-copy,.collector-section,.settings-grid,.trade-match-card,.trade-card-listing-row,.trade-match-preview-column,.collection-stats-split)>*,
.page-section :where(.card-detail,.set-reference-strip,.bundle-reference-strip,.about-preview,.wiki-set-grid,.search-controls,.filters)>*{min-width:0}

@media(max-width:900px){
  .section-wrap,.page-section{min-width:0}
  .collector-shell{width:min(1180px,calc(100% - 24px));margin-top:28px;margin-bottom:64px}
  .collector-section{margin-top:30px}
  .collector-section-heading{gap:12px}
  .public-profile-hero.has-showcase{column-gap:22px}
  .trade-match-card{grid-template-columns:minmax(0,1fr);align-items:stretch}
  .trade-match-card .button{justify-self:start}
}

@media(max-width:680px){
  /* Safe-area aware shell for modern iPhones without changing desktop gutters. */
  .site-header,.auth-site-header{
    padding-left:max(14px,env(safe-area-inset-left))!important;
    padding-right:max(14px,env(safe-area-inset-right))!important;
  }
  .section-wrap,.home-hero,.page-hero,.set-hero-inner,.site-footer{
    padding-left:max(16px,env(safe-area-inset-left))!important;
    padding-right:max(16px,env(safe-area-inset-right))!important;
  }
  .announcement{
    padding-left:max(8px,env(safe-area-inset-left));
    padding-right:max(8px,env(safe-area-inset-right));
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }

  /* Keep account access visible, but make the page navigation one clean swipe row. */
  .site-header nav,.auth-site-header nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    scroll-padding-inline:2px;
    gap:18px!important;
    padding:9px 2px 4px!important;
  }
  .site-header nav::-webkit-scrollbar,.auth-site-header nav::-webkit-scrollbar{display:none}
  .site-header nav>*,.auth-site-header nav>*{flex:0 0 auto}
  .site-header nav a,.auth-site-header nav a,
  .site-header nav .nav-logout-button,.auth-site-header nav .nav-logout-button{
    min-height:32px;display:inline-flex;align-items:center;white-space:nowrap;
  }
  .site-header nav .nav-currency-switcher{margin-left:0;padding-left:14px}
  .mobile-account-action>a,.mobile-account-action .mobile-account-button{min-height:36px!important}

  /* Prevent iOS Safari focus-zoom and make touch editing comfortable. */
  main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  main select,main textarea,
  .auth-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .auth-content select,.auth-content textarea{
    font-size:16px!important;
  }
  main button,.button,.outline-button,.solid-button,.collection-action{touch-action:manipulation}

  /* Long page/card titles should scale to the device instead of clipping. */
  .page-hero h1,.set-hero h1,.detail-copy h1{
    font-size:clamp(40px,13vw,58px)!important;
    overflow-wrap:anywhere;
  }
  .database-cta h2,.feature-copy h2{font-size:clamp(34px,10.5vw,48px)!important}
  .page-hero{padding-top:52px!important;padding-bottom:46px!important}

  /* Collector/profile headers retain hierarchy without squeezing the identity block. */
  .collector-shell{width:calc(100% - 20px);margin-top:20px;margin-bottom:48px}
  .collector-hero,.public-profile-hero{padding:20px 16px!important}
  .profile-identity-main,.public-profile-identity,.dashboard-profile-identity{min-width:0}
  .profile-identity-text,.public-profile-copy,.dashboard-profile-identity>div{min-width:0}
  .profile-identity-text h1,.public-profile-copy h1,.dashboard-profile-identity h1{overflow-wrap:anywhere}
  .profile-identity-actions,.public-profile-actions,.collector-hero-actions{
    width:100%;justify-content:flex-start;
  }
  .profile-identity-actions{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
    gap:8px;
  }
  .profile-identity-actions .button{width:100%;min-width:0}
  .collector-badge-row{max-width:100%}
  .profile-discord-chip{max-width:100%}

  /* Quick tabs remain readable instead of shrinking to 5 tiny columns. */
  .collection-quick-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:7px;
    padding-bottom:3px;
  }
  .collection-quick-tabs::-webkit-scrollbar{display:none}
  .collection-quick-tabs a{flex:0 0 auto;min-width:96px;padding:0 11px;font-size:7px}

  /* Trading/stat grids step down before labels become cramped. */
  .trade-summary-grid,.trade-summary-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .trade-match-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
  .trade-match-stats span{min-width:0}
  .trade-match-card{padding:14px;gap:13px}
  .trade-match-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .trade-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .trade-flow-card{grid-template-columns:auto minmax(0,1fr);min-height:0}
  .trade-flow-card>b{grid-column:2;white-space:normal}
  .trade-profile-footer{justify-content:stretch}
  .trade-profile-footer .button{width:100%}

  /* Collection cards keep controls touchable and allow longer labels to wrap. */
  .collection-card-actions{align-items:stretch}
  .collection-card-actions form{min-width:0}
  .collection-action{white-space:normal;line-height:1.2}
  .collection-action-primary{white-space:normal;text-overflow:clip}
  .collection-card-details-trigger{min-height:44px}

  /* Modal uses dynamic viewport height so browser chrome does not hide actions. */
  .card-details-dialog{
    width:min(680px,calc(100dvw - 20px));
    max-height:calc(100dvh - 20px);
    border-radius:13px;
  }
  .card-details-dialog-shell{max-height:calc(100dvh - 20px)}
  .card-details-dialog-heading{padding-top:17px;padding-bottom:15px}
  .card-details-dialog-close{width:40px;height:40px}

  /* Public browsing filters and values should not compress into unreadable rows. */
  .value-panel>div{align-items:flex-start;flex-wrap:wrap}
  .set-reference-facts{gap:8px}
  .search-controls{width:100%}
  .pagination{gap:8px}

  /* Footer remains readable with tappable links. */
  .footer-links{justify-content:flex-start;gap:8px 14px}
  .footer-links a{display:inline-flex;align-items:center;min-height:30px}
}

@media(max-width:520px){
  .profile-identity-main{gap:10px}
  .profile-avatar-column{flex-basis:86px;width:86px;padding-top:20px}
  .profile-avatar-column .public-profile-avatar{width:76px;height:76px;flex-basis:76px}
  .trade-profile-avatar-stack.profile-avatar-column{flex-basis:86px;width:86px}
  .trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{flex-basis:76px}
  .profile-discord-under-avatar{max-width:86px}
  .profile-discord-under-avatar strong{max-width:56px}
  .public-showcase-card,.collector-dashboard-hero.has-showcase .dashboard-showcase-card{width:min(180px,58vw);max-width:180px}
  .public-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-card{min-height:96px;padding:14px}
  .stat-card strong{font-size:1.55rem}

  .collection-filters-expanded{grid-template-columns:1fr!important}
  .collection-filters-expanded input[type=search],.collection-filters-expanded .button{grid-column:auto!important}
  .collection-filters-expanded .button{width:100%}

  .trade-summary-grid,.trade-summary-grid-four{gap:8px!important}
  .trade-summary-grid .stat-card{padding:13px}
  .trade-new-match-callout{align-items:flex-start;flex-direction:column;gap:3px}

  .facts>div{grid-template-columns:1fr;gap:5px;padding:12px 0}
  .facts span{font-size:7px}
  .detail-copy h1{margin-top:10px}
  .card-neighbours strong{white-space:normal;overflow:visible}

  .auth-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}
  .auth-panel{padding-left:16px;padding-right:16px}
}

@media(max-width:390px){
  .announcement{font-size:6px;letter-spacing:.10em}
  .site-header .brand-wordmark,.auth-site-header .brand-wordmark{width:92px!important}
  .mobile-account-action>a,.mobile-account-action .mobile-account-button{padding-left:7px!important;padding-right:7px!important}
  .collector-shell{width:calc(100% - 14px)}
  .collector-hero,.public-profile-hero{padding:17px 13px!important}
  .profile-identity-main{grid-template-columns:1fr}
  .profile-avatar-column,.trade-profile-avatar-stack.profile-avatar-column{
    width:100%;max-width:none;flex-basis:auto;padding-top:0;align-items:flex-start;
  }
  .profile-discord-under-avatar{max-width:220px}
  .profile-discord-under-avatar strong{max-width:160px}
  .trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-form,
  .trade-profile-avatar-stack.profile-avatar-column .trade-avatar-rep-given{width:auto;min-width:110px}
  .profile-identity-text h1{font-size:clamp(36px,13vw,50px)}
  .profile-identity-actions{grid-template-columns:1fr}
  .profile-card-grid,.compact-card-grid,.wishlist-card-grid{gap:7px}
  .trade-summary-grid,.trade-summary-grid-four{grid-template-columns:1fr!important}
  .trade-match-stats{grid-template-columns:1fr 1fr}
  .set-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .set-hero-stats>div:last-child:nth-child(odd){grid-column:1/-1}
  .pagination{grid-template-columns:1fr auto 1fr}
  .pagination>a,.pagination-disabled{font-size:6.5px}
}

/* 2.1 — regression hardening: CSP-safe clipboard fallback */
.clipboard-copy-buffer {
  position: fixed;
  inset: 0 auto auto -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* =====================================================
   2.3.1 — restore public page hero artwork composition
   Keep the performance WebP assets, but preserve the original landscape/mobile
   composition instead of forcing the portrait hero-art crop into page headers.
   ===================================================== */
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(8,8,8,.985) 0%,rgba(8,8,8,.90) 43%,rgba(8,8,8,.52) 76%,rgba(8,8,8,.28) 100%),
    url("../img/saitodex-hero-desktop.9e7f9c48b264.webp");
  background-size:100% 100%,cover;
  background-position:center,center;
  background-repeat:no-repeat;
}
@media(max-width:880px){
  .page-hero{
    background-image:
      linear-gradient(180deg,rgba(8,8,8,.86),rgba(8,8,8,.94)),
      url("../img/saitodex-hero-mobile.05e1b0976632.webp");
    background-size:100% 100%,cover;
    background-position:center,center;
  }
}
@media(max-width:600px){
  .page-hero{background-position:center,center!important}
}

/* v3.1 maintenance branding correction — preserve the wordmark's natural ratio
   regardless of browser sizing or width/height attributes. */
.maintenance-logo{
  width:min(360px,75vw);
  height:auto!important;
  max-height:none!important;
  aspect-ratio:1000 / 485;
  object-fit:contain;
}


/* =====================================================
   2.2.1 — narrow Android public profile hardening
   The identity header used flex layout while an older <=390px rule made the
   avatar column 100% wide, leaving the username/details only a sliver.
   Stack the identity deliberately on narrow phone viewports.
   ===================================================== */
@media(max-width:430px){
  .public-profile-hero.profile-identity-hero,
  .public-profile-hero.profile-identity-hero.has-showcase{
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    padding:18px 14px!important;
  }
  .public-profile-identity.profile-identity-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
  }
  .public-profile-identity.profile-identity-main>div{
    min-width:0!important;
    max-width:100%!important;
  }
  .profile-avatar-column,
  .trade-profile-avatar-stack.profile-avatar-column{
    width:auto!important;
    max-width:100%!important;
    flex-basis:auto!important;
    padding-top:0!important;
    align-items:flex-start!important;
  }
  .profile-avatar-column .public-profile-avatar,
  .trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{
    width:82px!important;
    height:82px!important;
    flex:0 0 82px!important;
  }
  .profile-discord-under-avatar{
    width:auto!important;
    max-width:min(250px,100%)!important;
  }
  .profile-discord-under-avatar strong{
    max-width:190px!important;
    font-size:8px!important;
  }
  .profile-identity-text{
    width:100%!important;
    max-width:100%!important;
    padding-top:0!important;
  }
  .profile-identity-text h1,
  .public-profile-copy h1{
    max-width:100%!important;
    margin-top:5px!important;
    font-size:clamp(30px,9.5vw,40px)!important;
    line-height:1!important;
    letter-spacing:-.04em!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    hyphens:none!important;
  }
  .profile-identity-text>p,
  .collector-bio{
    max-width:100%!important;
    line-height:1.5!important;
  }
  .profile-identity-copy,
  .profile-identity-hero:not(.has-showcase) .profile-identity-copy,
  .trade-profile-identity-hero .profile-identity-copy{
    min-height:0!important;
    width:100%!important;
  }
  .collector-badge-row{
    width:100%;
    max-width:100%!important;
    gap:6px!important;
  }
  .profile-identity-actions,
  .public-profile-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    gap:8px!important;
    padding-top:18px!important;
  }
  .profile-identity-actions .button,
  .public-profile-actions .button{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .public-showcase-card{
    width:min(210px,64vw)!important;
    max-width:210px!important;
    justify-self:start!important;
  }
  .profile-hero-background:before{
    background:linear-gradient(180deg,rgba(5,5,5,.62) 0%,rgba(6,5,6,.70) 52%,rgba(7,5,6,.78) 100%)!important;
  }
}

/* Collector rep — compact identity control beneath avatar / Discord. */
.profile-avatar-column .trade-avatar-rep-form,
.profile-avatar-column .trade-avatar-rep-given,
.profile-avatar-column .trade-avatar-rep-link{
  width:104px;
  max-width:100%;
  box-sizing:border-box;
}
.trade-avatar-rep-link{text-decoration:none}
.profile-avatar-rep-status{cursor:default}

@media(max-width:760px){
  .profile-avatar-column .trade-avatar-rep-form,
  .profile-avatar-column .trade-avatar-rep-given,
  .profile-avatar-column .trade-avatar-rep-link{width:92px}
}
@media(max-width:520px){
  .profile-avatar-column .trade-avatar-rep-form,
  .profile-avatar-column .trade-avatar-rep-given,
  .profile-avatar-column .trade-avatar-rep-link{width:76px}
}
@media(max-width:430px){
  .profile-avatar-column .trade-avatar-rep-form,
  .profile-avatar-column .trade-avatar-rep-given,
  .profile-avatar-column .trade-avatar-rep-link{width:auto;min-width:110px}
}

.collector-mixed-master-badge{border-color:rgba(255,92,154,.54)!important;background:linear-gradient(135deg,rgba(255,92,154,.12),rgba(214,178,72,.10))!important;color:#f3d7a4!important}

/* 3.4 — Trade Finder previews, sort / view controls, bell, community lists. */
.trade-finder-result{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px}
.trade-match-summary{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:16px;align-items:center}
.trade-exact-match-preview{grid-column:1/-1}
.trade-finder-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:0}
.trade-match-new{border-color:rgba(255,77,150,.62)!important;box-shadow:0 0 0 1px rgba(255,77,150,.38)}
.trade-country-pill{background:transparent;border:1px solid rgba(255,77,150,.6);color:#ff9bc1}
.trade-preview.is-collapsed .trade-preview-extra{display:none}
.trade-preview-toggle{margin-top:8px;width:100%;font-size:8px;letter-spacing:.06em}
.trade-mini-condition{color:#ff9bc1;font-size:6px;letter-spacing:.07em;text-transform:uppercase}
.trade-mini-note{display:grid;gap:2px;color:#c4bcc1;font-size:7px;font-style:normal;line-height:1.4}
.trade-mini-note b{color:#ff91ba;font-size:6px;letter-spacing:.09em;text-transform:uppercase}
.trade-text-list{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.trade-text-list li{padding:6px 8px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:#090909;color:#c4bcc1;font-size:8px;line-height:1.5}
.trade-text-list a{color:#f5eff2;text-decoration:none}
.trade-text-list a:hover{text-decoration:underline}
.trade-text-condition{margin-left:4px;padding:2px 6px;border:1px solid rgba(255,104,164,.32);border-radius:999px;color:#ff96bd;font-size:6px;letter-spacing:.07em;text-transform:uppercase}
.trade-text-note{display:block;margin-top:2px;font-style:normal}
.trade-text-empty{color:#827b7f}
.trade-finder-controls{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:space-between;margin:12px 0}
.trade-finder-segment{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.trade-finder-segment .eyebrow{margin-right:4px}
.trade-finder-segment-option{padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#eee7ea;font-size:8px;font-weight:700;text-decoration:none}
.trade-finder-segment-option.is-active{border-color:rgba(255,77,150,.7);background:rgba(255,77,150,.14);color:#fff}
.trade-finder-sort-hint{margin:-4px 0 12px;font-size:8px}
.nav-bell-link{display:inline-flex!important;align-items:center;gap:4px}
.nav-bell-icon{display:block}
.nav-bell-badge{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff4d96;color:#fff;font-size:7px;font-weight:900;line-height:1;letter-spacing:0;box-shadow:0 0 0 2px #090909}
.notification-list,.community-collector-list{display:grid;gap:8px}
.notification-row,.community-collector-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(8,8,8,.72)}
.notification-row>div{display:grid;gap:3px}
.notification-row strong a{color:inherit;text-decoration:none}
.notification-row strong a:hover{text-decoration:underline}
.notification-row small,.notification-row time{color:#a39ca0;font-size:8px}
.notification-row.is-unread{border-color:rgba(255,77,150,.55)}
.community-collector-identity{display:flex;align-items:center;gap:10px;min-width:0}
.community-collector-identity>div{display:grid;gap:2px}
.community-collector-identity small{color:#a39ca0;font-size:8px}
.community-collector-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 36px}
.community-collector-avatar-fallback{display:grid;place-items:center;background:#1a1a1a;font-weight:800}
.community-collector-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.community-collector-actions form{margin:0}
.community-private-label{color:#ff9bc1!important;letter-spacing:.06em;text-transform:uppercase}
.saved-collector-form{display:inline-flex;margin:0}
.button.is-saved{border-color:rgba(255,77,150,.6)}
.google-signin-card .profile-share-url{margin-bottom:10px}
@media(max-width:760px){
  .trade-match-summary{grid-template-columns:1fr}
  .trade-finder-preview-grid{grid-template-columns:1fr!important}
  .notification-row,.community-collector-row{flex-direction:column;align-items:flex-start}
  .community-collector-actions{justify-content:flex-start}
}

/* 3.4 — Collector rep is always green so it stands apart from other badges. */
.collector-badge.collector-rep-badge,
.collector-rep-badge{border-color:rgba(74,222,128,.55)!important;background:rgba(34,197,94,.14)!important;color:#86efac!important}
.rep-count-text{color:#86efac;font-weight:700}
.trade-avatar-unrep-form{margin-top:4px}
.trade-avatar-unrep-button{width:100%;padding:4px 6px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:transparent;color:#a39ca0;font:inherit;font-size:7px;cursor:pointer}
.trade-avatar-unrep-button:hover{border-color:rgba(255,120,120,.5);color:#ffb4b4}
.rep-confirm-panel h1{font-size:clamp(1.6rem,4vw,2.6rem)}
.button.rep-danger-button{background:#ffb4b4;color:#1a0505}
.owner-rep-panel{margin-top:14px}
.owner-rep-panel .owner-rep-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:11px}
.owner-rep-panel .owner-rep-row.is-removed{opacity:.55;text-decoration:line-through}
.trade-avatar-rep-given{color:#86efac!important;border-color:rgba(74,222,128,.45)!important}

/* 3.4 — styled +rep dialogs (static/js/rep-confirm.js). */
.rep-dialog{width:min(420px,calc(100vw - 32px));padding:22px;border:1px solid rgba(255,104,164,.35);border-radius:18px;background:linear-gradient(160deg,#171015,#0a0a0a);color:#f6f3f4;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.rep-dialog::backdrop{background:rgba(0,0,0,.66)}
.rep-dialog h2{margin:6px 0 8px;font-size:1.15rem;line-height:1.3}
.rep-dialog p{margin:0 0 18px;color:#c9c1c5;line-height:1.5}
.rep-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.rep-dialog-actions .button{min-width:120px}
.trade-avatar-rep-button.trade-avatar-rep-given{background:rgba(34,197,94,.14);cursor:pointer}
.owner-rep-panel summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;color:#f6f3f4}
.owner-rep-panel summary small{color:#a39ca0}
.owner-rep-panel .owner-rep-body{padding-bottom:8px}
.community-collector-status{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}

/* 3.4 — notification dropdown and history controls. */
.notification-menu{position:fixed;z-index:80;top:var(--menu-top,64px);left:var(--menu-left,auto);right:auto;width:var(--menu-width,360px);max-height:min(70vh,520px);display:flex;flex-direction:column;border:1px solid rgba(255,104,164,.35);border-radius:14px;background:#0d0b0c;box-shadow:0 24px 60px rgba(0,0,0,.6);overflow:hidden}
.notification-menu[hidden]{display:none}
.notification-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px}
.notification-menu-head form{margin:0}
.notification-menu-list{overflow-y:auto}
.notification-menu-item{margin:0;border-bottom:1px solid rgba(255,255,255,.06)}
.notification-menu-item button{display:grid;gap:3px;width:100%;padding:11px 14px;border:0;background:transparent;color:#d9d2d6;font:inherit;text-align:left;cursor:pointer}
.notification-menu-item button:hover,.notification-menu-item button:focus-visible{background:rgba(255,104,164,.08)}
.notification-menu-item strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.notification-menu-item small,.notification-menu-item time{color:#a39ca0;font-size:10px}
.notification-menu-item.is-unread button{color:#fff;box-shadow:inset 3px 0 0 #ff4d96}
.notification-menu-empty{margin:0;padding:18px 14px;color:#a39ca0;font-size:12px}
.notification-menu-all{display:block;padding:11px 14px;text-align:center;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#ff83b4;border-top:1px solid rgba(255,255,255,.08)}
.notification-mark{padding:4px 8px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:transparent;color:#c9c1c5;font:inherit;font-size:10px;cursor:pointer;white-space:nowrap}
.notification-mark:hover{border-color:rgba(255,104,164,.6);color:#fff}
.notification-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.notification-toolbar form{margin:0}
.notification-filter{display:flex;gap:6px}
.notification-filter .is-active{border-color:rgba(255,77,150,.7);color:#fff}
.notification-main{display:grid;gap:3px;min-width:0}
.notification-main form{margin:0}
.notification-open{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.notification-open:hover{text-decoration:underline}
.notification-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.notification-side form{margin:0}
.notification-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px;color:#a39ca0;font-size:10px}
@media(max-width:760px){.notification-side{flex-direction:row;align-items:center}}
.trade-finder-sort-form{display:flex;align-items:center;gap:8px;margin:0}
.trade-finder-sort-form select{max-width:100%;padding:7px 10px;border:1px solid rgba(255,104,164,.35);border-radius:10px;background:#0d0b0c;color:#f6f3f4;font:inherit;font-size:11px}

/* 3.4.1 — Master badge colours: GR10 cyan, SL1A yellow, SLUA pink.
   Mixed Master blends SL1A yellow into SLUA pink. */
.collector-badge.collector-master-gr10{border-color:rgba(127,243,255,.55)!important;background:rgba(127,243,255,.08)!important;color:#7ff3ff!important}
.collector-badge.collector-master-sl1a{border-color:rgba(255,242,122,.55)!important;background:rgba(255,242,122,.07)!important;color:#fff27a!important}
.collector-badge.collector-master-slua{border-color:rgba(255,79,174,.6)!important;background:rgba(255,79,174,.09)!important;color:#ff4fae!important}
.collector-badge.collector-master-mixed{border-color:rgba(255,170,140,.6)!important;background:linear-gradient(135deg,rgba(255,242,122,.09),rgba(255,79,174,.10))!important;color:#ffaa8c!important}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .collector-badge.collector-master-mixed{background:linear-gradient(90deg,#fff27a,#ff4fae) text,linear-gradient(135deg,rgba(255,242,122,.09),rgba(255,79,174,.10))!important;-webkit-background-clip:text,border-box;background-clip:text,border-box;-webkit-text-fill-color:transparent}
}

/* 3.4.1 — every rep action is green, like the rep badge. */
.trade-avatar-rep-button,.trade-avatar-rep-given{border-color:rgba(74,222,128,.5);background:rgba(34,197,94,.08);color:#86efac}
.trade-avatar-rep-button:hover{border-color:rgba(74,222,128,.8);background:rgba(34,197,94,.16);color:#dcfce7}

/* 3.4.2 — Google sign-in button (Google's dark-theme style) and "or" divider. */
.social-provider-list{display:grid;gap:10px;margin:0}
.social-provider-form{margin:0}
.google-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;padding:0 18px;border:1px solid #8e918f;border-radius:999px;background:#131314;color:#e3e3e3;font-family:Roboto,"Segoe UI",Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.01em;text-transform:none;cursor:pointer;transition:background .15s,border-color .15s}
.google-button:hover,.google-button:focus-visible{background:#1f1f21;border-color:#c4c7c5;color:#fff}
.google-button .google-mark{flex:0 0 auto}
.settings-card .google-button{width:auto}
.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 14px;color:#8e8b89;font-size:11px;letter-spacing:.2em;text-transform:uppercase}
.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:rgba(255,255,255,.12)}
/* 3.4.2: keep the Google button in Google's own style inside the pink auth forms */
.auth-content .google-button,.auth-content .google-button:active{width:100%;min-height:44px;padding:0 18px;border:1px solid #8e918f;border-radius:999px;background:#131314;color:#e3e3e3;font-family:Roboto,"Segoe UI",Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.01em;text-transform:none;transform:none}
.auth-content .google-button:hover,.auth-content .google-button:focus-visible{background:#1f1f21;border-color:#c4c7c5;color:#fff}
/* 3.4.3: round avatars. iPhone Safari could stretch one side of a profile
   picture inside the flex layouts (an egg shape). Let the width decide the
   size and derive the height from it, so every avatar stays a circle. */
.public-profile-avatar,.community-collector-avatar{flex:0 0 auto!important;height:auto!important;aspect-ratio:1/1!important;min-width:0;min-height:0;max-height:none;object-fit:cover;border-radius:50%}
.dashboard-avatar-link,.profile-picture-preview{flex:0 0 auto!important;height:auto!important;aspect-ratio:1/1!important;min-height:0;border-radius:50%}
.dashboard-avatar-link img,.profile-picture-preview img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%}
/* 3.4.4: SaitoWorks Master in SaitoWorks red */
.collector-badge.collector-master-swks{border-color:rgba(255,26,26,.6)!important;background:rgba(255,26,26,.09)!important;color:#ff1a1a!important}
/* 3.5: Find collectors */
.collector-search-form{display:flex;gap:10px;margin:0 0 20px}
.collector-search-form input{flex:1;min-width:0;box-sizing:border-box;min-height:46px;padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#0d0d0d;color:#fff;font:inherit;font-size:16px}
.collector-search-form input:focus{outline:none;border-color:rgba(255,104,164,.6);box-shadow:0 0 0 3px rgba(255,93,156,.18)}
.community-collector-actions .mini-button.is-saved{border-color:rgba(255,104,164,.45);color:#ff9cc3}
/* 3.5: Account page. Every setting is one row: label on the left, control on
   the right, inside cards that all share the same header. Stacks on phones. */
.account-page .account-hero h1{font-size:clamp(2rem,4.4vw,3.2rem)}
.account-jump{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 16px;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(10,10,10,.92);backdrop-filter:blur(8px)}
.account-jump a{padding:7px 12px;border-radius:999px;color:#d8d1d5;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.account-jump a:hover,.account-jump a:focus-visible{background:rgba(255,104,164,.1);color:#fff}
.account-jump-divider{width:1px;height:18px;margin:0 4px;background:rgba(255,255,255,.14)}
.account-card{margin:0 0 16px;padding:22px 24px 6px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(12,12,12,.82);scroll-margin-top:90px}
.account-card-head{padding-bottom:14px}
.account-card-head h2{margin:6px 0 0;font-size:22px}
.account-card-head p{margin:8px 0 0;max-width:720px;color:#a39ca0;font-size:13px;line-height:1.55}
.account-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:14px 28px;align-items:start;padding:18px 0;border-top:1px solid rgba(255,255,255,.08);scroll-margin-top:90px}
.account-row-label{display:grid;gap:5px}
.account-row-label strong,.account-row-label label{font-size:15px;font-weight:700;color:#f3edf0;text-transform:none;letter-spacing:0}
.account-row-label small{color:#a39ca0;font-size:13px;line-height:1.5}
.account-row-control{display:grid;gap:10px;min-width:0}
.account-value{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;min-height:44px;padding:8px 8px 8px 14px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#0a0a0a;box-sizing:border-box}
.account-value code{font-size:13px;overflow-wrap:anywhere}
.account-value span{color:#a39ca0;font-size:12px}
.account-pill{padding:4px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px}
.account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.account-actions form{margin:0}
.account-inline-form{display:flex;gap:8px}
.account-inline-form input{flex:1;min-width:0}
.account-page input[type=text],.account-page textarea,.account-page select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#0a0a0a;color:#fff;font:inherit;font-size:16px}
.account-page textarea{min-height:84px;resize:vertical;line-height:1.5}
.account-page .privacy-master-row strong,.account-page .privacy-toggle-row strong{font-size:13px}
.account-page .privacy-master-row small,.account-page .privacy-toggle-row small{font-size:12px}
.account-page .privacy-toggle-grid{grid-template-columns:1fr}
.account-page .collection-focus-set-list{padding:0 0 18px}
.account-page .collection-focus-set strong{font-size:13px}
.account-page .collection-focus-set small{font-size:11px}
.account-page .google-button{width:auto;justify-self:start}
/* Profile picture: the avatar itself is the upload button. */
.account-avatar-editor{display:flex;align-items:center;gap:20px}
.account-avatar{position:relative;display:block;width:96px;flex:0 0 96px;cursor:pointer}
.account-avatar .profile-picture-preview{width:96px!important;font-size:34px;border-width:2px;transition:border-color .16s,box-shadow .16s}
.account-avatar:hover .profile-picture-preview{border-color:#ff68a4;box-shadow:0 0 0 4px rgba(255,104,164,.15)}
.account-avatar-badge{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:30px;height:30px;border:2px solid #0c0c0c;border-radius:50%;background:#ff4f91;color:#fff}
.account-avatar-side{display:grid;gap:8px;min-width:0}
.account-upload-button{cursor:pointer}
.account-file-input input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;white-space:nowrap}
.account-file-input:focus-within+*,.account-upload-button:focus-within{outline:none}
.account-save-status{min-height:1em;color:#a39ca0;font-size:12px}
.account-save-status[data-state=saved]{color:#86efac}
.account-save-status[data-state=error]{color:#ff8f8f}
.account-page .profile-picture-remove{font-size:13px}
.account-background{gap:12px}
.account-background .profile-background-preview{margin:0}
.account-save-bar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:12px 12px 12px 18px;border:1px solid rgba(255,104,164,.28);border-radius:14px;background:rgba(14,10,12,.95);backdrop-filter:blur(8px)}
.account-save-bar span{color:#a39ca0;font-size:13px}
@media(max-width:760px){
  .account-card{padding:18px 16px 4px;border-radius:13px}
  .account-row{grid-template-columns:1fr;gap:10px}
  .account-jump{position:static;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .account-jump-divider{flex:0 0 1px}
  .account-avatar-editor{gap:14px}
  .account-avatar{width:80px;flex-basis:80px}
  .account-avatar .profile-picture-preview{width:80px!important;font-size:28px}
  .account-save-bar{flex-direction:column;align-items:stretch;text-align:center}
}
.account-page [data-picture-nojs][hidden]{display:none!important}
.account-page .privacy-toggle-grid{grid-template-columns:1fr 1fr}
@media(max-width:1000px){.account-page .privacy-toggle-grid{grid-template-columns:1fr}}
.account-page [hidden]{display:none!important}
/* 3.5: give each badge group its own space. Team/country, then
   trading status + rep, then Master badges, each on its own line. */
.collector-meta-badges,.collector-status-badges,.collector-master-badges{gap:8px!important;row-gap:8px!important}
.collector-meta-badges+.collector-status-badges,.collector-meta-badges+.collector-master-badges,.collector-status-badges+.collector-master-badges{margin-top:16px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.08);max-width:520px}
.collector-bio+.collector-badge-row{margin-top:16px!important}
.collector-master-badges{gap:10px!important;row-gap:10px!important}
/* 3.5: tidier nav. Browse links | collector links | bell + Account menu. */
.site-header nav .nav-divider{flex:0 0 1px;width:1px;height:18px;background:rgba(255,255,255,.16)}
.nav-account-menu{position:relative}
.nav-account-menu>summary{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#f5f2ee;font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;list-style:none;cursor:pointer;white-space:nowrap}
.nav-account-menu>summary::-webkit-details-marker{display:none}
.nav-account-menu>summary::after{content:"";width:6px;height:6px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.7}
.nav-account-menu[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
.nav-account-menu>summary:hover,.nav-account-menu[open]>summary,.nav-account-menu>summary.is-active{border-color:rgba(255,104,164,.55)}
.nav-account-initial{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,104,164,.18);color:#ff9cc3;font-size:11px;letter-spacing:0}
.nav-account-dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:60;display:grid;min-width:220px;padding:6px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0e0e0e;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.nav-account-dropdown .nav-account-name{padding:9px 12px 8px;color:#a39ca0;font-size:12px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:4px;overflow-wrap:anywhere}
.site-header nav .nav-account-dropdown a,.nav-account-dropdown button{display:block;width:100%;box-sizing:border-box;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:#e6e0e3;font:inherit;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;text-align:left;cursor:pointer}
.site-header nav .nav-account-dropdown a:after{display:none}
.nav-account-dropdown a:hover,.nav-account-dropdown a:focus-visible,.nav-account-dropdown button:hover,.nav-account-dropdown button:focus-visible{background:rgba(255,104,164,.1);color:#fff}
.nav-account-dropdown form{margin:4px 0 0;padding-top:4px;border-top:1px solid rgba(255,255,255,.08)}
@media(max-width:680px){
  .nav-account-menu{display:none!important}
  .site-header nav .nav-divider{height:12px}
}
.site-header nav>a,.nav-account-menu>summary{white-space:nowrap}
@media(max-width:1180px) and (min-width:681px){
  .site-header nav{gap:16px!important}
  .site-header nav>a,.nav-account-menu>summary{letter-spacing:.1em!important}
  .nav-account-menu>summary>span:not(.nav-account-initial){display:none}
  .nav-account-menu>summary{padding:4px 9px 4px 4px}
}
@media(max-width:680px){
  .site-header nav>.nav-bell-link{display:none!important}
}
@media(max-width:900px) and (min-width:681px){.site-header nav{gap:11px!important}.site-header nav>a{font-size:9px}}
@media(max-width:680px){.site-header nav .nav-divider-end{display:none}}
@media(max-width:680px){.site-header nav{gap:14px!important}}
.collector-search-form select{flex:0 0 auto;max-width:34%;min-height:46px;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#0d0d0d;color:#fff;font:inherit;font-size:14px}
@media(max-width:600px){.collector-search-form{flex-wrap:wrap}.collector-search-form input{flex:1 1 100%}.collector-search-form select{flex:1;max-width:none}}
/* 3.5: one public profile, with tabs under the shared header. */
.profile-tabs{display:flex;gap:6px;margin:0 0 20px;padding:6px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(10,10,10,.8);overflow-x:auto;scrollbar-width:none}
.profile-tabs::-webkit-scrollbar{display:none}
.profile-tabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;color:#cfc8cc;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.profile-tabs a span{padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.08);color:#a39ca0;font-size:11px}
.profile-tabs a:hover{background:rgba(255,104,164,.08);color:#fff}
.profile-tabs a.is-active{background:rgba(255,104,164,.14);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,104,164,.4)}
.profile-tabs a.is-active span{background:rgba(255,104,164,.25);color:#ffd2e3}
.profile-tabs{margin-top:14px}
/* 3.5.1: profile pictures about 5% bigger. */
body .public-profile-avatar,body .profile-avatar-column .public-profile-avatar,body .trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{width:109px!important;flex-basis:109px!important}
body .dashboard-avatar-link{width:88px!important;flex-basis:88px!important}
@media(max-width:680px){
  body .public-profile-avatar,body .profile-avatar-column .public-profile-avatar,body .trade-profile-avatar-stack.profile-avatar-column .public-profile-avatar{width:86px!important;flex-basis:86px!important}
  body .dashboard-avatar-link{width:72px!important;flex-basis:72px!important}
}
/* 3.5.1: on phones the Account menu sits in the top-right header, next to the bell. */
.mobile-account-menu .nav-account-initial{display:none}
@media(max-width:680px){
  .site-header nav .nav-account-menu{display:none!important}
  .mobile-account-menu{display:block!important}
  .mobile-account-menu>summary{min-height:34px;box-sizing:border-box;padding:0 10px;border-radius:0;border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.025);font-size:6.5px;font-weight:750;letter-spacing:.09em}
  .mobile-account-menu .nav-account-dropdown{top:calc(100% + 8px);right:0}
  .mobile-account-menu .nav-account-dropdown a{display:block;width:100%;box-sizing:border-box;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:#e6e0e3;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;text-align:left;min-height:0;justify-content:flex-start}
}
@media(min-width:681px){.mobile-account-menu{display:none!important}}
@media(max-width:680px){.site-header{overflow:visible!important;position:relative;z-index:80}.mobile-account-action{position:relative;z-index:81}}

/* =====================================================
   Profile card browser: set chips, search/sort and "Show all"
   for Cards owned / Still needed / Wishlist on public profiles
   ===================================================== */
.profile-card-filters{display:grid;gap:10px;margin:0 0 14px}
.profile-set-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:1px 1px 3px;margin:0 -1px;-webkit-overflow-scrolling:touch}
.profile-set-chips::-webkit-scrollbar{display:none}
.profile-set-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(9,9,9,.82);color:#d9d0d5;font:inherit;font-size:11px;font-weight:800;letter-spacing:.05em;cursor:pointer;white-space:nowrap}
.profile-set-chip span{color:#8f858b;font-weight:700}
.profile-set-chip:hover{border-color:rgba(255,104,164,.4);color:#fff}
.profile-set-chip.is-active{border-color:rgba(255,104,164,.6);background:rgba(255,104,164,.14);color:#fff}
.profile-set-chip.is-active span{color:#ff91ba}
.profile-set-chip.is-skipped:not(.is-active){opacity:.6}
.profile-card-tools{border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(9,9,9,.6)}
.profile-card-tools>summary{cursor:pointer;list-style:none;padding:10px 14px;color:#c9c0c5;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.profile-card-tools>summary::-webkit-details-marker{display:none}
.profile-card-tools>summary::after{content:"+";float:right;color:#ff91ba}
.profile-card-tools[open]>summary::after{content:"–"}
.profile-card-tools-row{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(130px,1fr));gap:8px;padding:0 12px 12px}
.profile-card-tools-row input,.profile-card-tools-row select{width:100%;min-height:40px;box-sizing:border-box;padding:9px 11px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#09090a;color:#f5f0f2;font:inherit;font-size:13px}
.profile-card-tools-row input:focus,.profile-card-tools-row select:focus{border-color:rgba(255,104,164,.46);outline:none;box-shadow:0 0 0 3px rgba(255,104,164,.075)}
.profile-card-toggles{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0 14px 12px}
.profile-card-toggle{display:inline-flex;align-items:center;gap:7px;color:#d4cbd0;font-size:12px;cursor:pointer}
.profile-card-toggle input{width:16px;height:16px;accent-color:#ff5d9c}
.profile-card-toggle span{color:#8f858b}
.profile-card-browser [data-card-item][hidden]{display:none!important}
.profile-card-more{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.profile-card-more .profile-preview-note{margin:0}
.profile-card-more-button{min-height:40px;padding:0 18px;border:1px solid rgba(255,104,164,.45);border-radius:999px;background:rgba(255,104,164,.1);color:#fff;font:inherit;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.profile-card-more-button:hover{background:rgba(255,104,164,.2)}
.profile-card-float{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:40;transform:translateX(-50%);min-height:42px;padding:0 20px;border:1px solid rgba(255,104,164,.55);border-radius:999px;background:rgba(18,10,14,.94);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.45);color:#fff;font:inherit;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.profile-card-float[hidden]{display:none}
.profile-card-empty{color:#a59ca1;font-size:12px;margin:4px 0 0}
.profile-card-empty button{margin-left:6px;border:0;background:none;color:#ff91ba;font:inherit;font-weight:800;cursor:pointer;text-decoration:underline}
@media (max-width:680px){
  .profile-card-tools-row{grid-template-columns:1fr 1fr}
  .profile-card-tools-row input{grid-column:1/-1}
  .profile-card-tools-row select:only-of-type{grid-column:1/-1}
  .profile-card-tools-row input,.profile-card-tools-row select{font-size:16px}
  .profile-card-more{justify-content:center;text-align:center}
  .profile-card-more-button{width:100%}
  /* Before the script runs, keep phones to 6 cards so the page doesn't jump. */
  .profile-card-browser:not(.is-ready) [data-card-item]:nth-child(n+7){display:none}
}

/* =====================================================
   3.6: trade check, last active, Jacket Holder, "New" badges
   ===================================================== */
.profile-trade-check{display:flex;align-items:center;gap:14px 18px;flex-wrap:wrap;margin:0 0 18px;padding:13px 16px;border:1px solid rgba(111,226,155,.28);border-radius:14px;background:linear-gradient(120deg,rgba(25,82,49,.22),rgba(9,9,9,.82))}
.profile-trade-check .eyebrow{color:#9fe8bb;opacity:1;font-size:10px;font-weight:800}
.profile-trade-check p{margin:0;color:#c9c0c5;font-size:13px}
.profile-trade-check-links{display:flex;gap:10px;flex-wrap:wrap;flex:1}
.profile-trade-check-links a{display:inline-flex;align-items:baseline;gap:7px;padding:8px 13px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(9,9,9,.7);color:#e9e2e6;font-size:12px;text-decoration:none}
.profile-trade-check-links a:hover{border-color:rgba(111,226,155,.55);color:#fff}
.profile-trade-check-links strong{color:#baf7cf;font-size:15px}
@media(max-width:680px){.profile-trade-check{padding:12px}.profile-trade-check-links{display:grid;width:100%}.profile-trade-check-links a{border-radius:12px}}
.profile-last-active{display:inline-flex;align-items:center;gap:7px;margin:2px 0 6px;color:#a59ca1;font-size:11px;font-weight:700;letter-spacing:.04em}
.profile-last-active::before{content:"";width:7px;height:7px;border-radius:50%;background:#6c6870}
.profile-last-active.is-today::before{background:#6fe29b;box-shadow:0 0 0 3px rgba(111,226,155,.14)}
.collector-jacket-badge{border-color:rgba(111,190,255,.6)!important;background:linear-gradient(120deg,rgba(40,90,170,.35),rgba(11,11,12,.95))!important;color:#d7ecff!important}
.new-since-badge{display:inline-block;padding:3px 7px;border-radius:5px;background:#ff5d9c;color:#fff;font-size:8px;font-weight:900;letter-spacing:.08em;line-height:1.2;font-style:normal}
.card-art>.new-since-badge{position:absolute;top:8px;left:8px;z-index:3}
.set-panel-top small .new-since-badge{margin-right:8px;vertical-align:1px}
.new-since-summary{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#c9c0c5;font-size:12px}

/* =====================================================
   3.6.1: profile name header
   Big names stay on one line (sized by length, then fitted by
   js/profile-name-fit.js), never break mid-word, and sit evenly
   between the eyebrow above and the counts below.
   ===================================================== */
.profile-identity-text .eyebrow,.dashboard-profile-identity .eyebrow{display:block;line-height:1.2;margin:0}
h1.profile-name,
.profile-identity-text h1.profile-name,
.public-profile-copy h1.profile-name,
.dashboard-profile-identity h1.profile-name{
  display:block;max-width:100%!important;margin:4px 0 12px!important;padding:0 0 .06em!important;
  font-size:84px;line-height:1.02!important;letter-spacing:-.045em!important;
  white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
h1.profile-name.name-m{font-size:clamp(44px,6.6vw,84px)}
h1.profile-name.name-l{font-size:clamp(40px,6vw,80px)}
h1.profile-name.name-xl{font-size:clamp(36px,5.4vw,72px)}
h1.profile-name.name-s{font-size:clamp(48px,7vw,84px)}
h1.profile-name.is-wrapping{white-space:normal;overflow-wrap:anywhere!important}
.profile-identity-text>p,.dashboard-profile-identity>div>p{margin:0!important;line-height:1.4!important}
.profile-identity-text>p.collector-bio,.dashboard-profile-identity>div>p.collector-bio{margin-top:8px!important}
.profile-identity-text .profile-last-active{display:flex;width:max-content;margin:10px 0 0;padding-left:3px}
.profile-identity-text .collector-badge-row:first-of-type,.profile-identity-text .profile-last-active+.collector-badge-row,.profile-identity-text .collector-bio+.collector-badge-row{margin-top:12px!important}
@media(max-width:900px){
  h1.profile-name.name-s{font-size:clamp(44px,9vw,68px)}
  h1.profile-name.name-m{font-size:clamp(40px,8vw,62px)}
  h1.profile-name.name-l{font-size:clamp(36px,7vw,56px)}
  h1.profile-name.name-xl{font-size:clamp(32px,6.2vw,50px)}
}
@media(max-width:430px){
  h1.profile-name,
  .profile-identity-text h1.profile-name,
  .public-profile-copy h1.profile-name,
  .dashboard-profile-identity h1.profile-name{margin:4px 0 10px!important;letter-spacing:-.04em!important}
  .profile-identity-text h1.profile-name.name-s,.dashboard-profile-identity h1.profile-name.name-s{font-size:clamp(38px,12vw,48px)!important}
  .profile-identity-text h1.profile-name.name-m,.dashboard-profile-identity h1.profile-name.name-m{font-size:clamp(34px,10.4vw,44px)!important}
  .profile-identity-text h1.profile-name.name-l,.dashboard-profile-identity h1.profile-name.name-l{font-size:clamp(30px,9vw,38px)!important}
  .profile-identity-text h1.profile-name.name-xl,.dashboard-profile-identity h1.profile-name.name-xl{font-size:clamp(28px,8.6vw,36px)!important}
}
/* 3.8 display options (footer + Account page) */
.display-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.display-options label{display:flex;align-items:center;gap:8px}
.display-options label>span{font-size:8px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#a8a3a0}
.display-options select{background:#111;color:#f5f2ee;border:1px solid #343434;border-radius:6px;padding:6px 8px;font-size:12px;min-height:34px}
.display-options.is-saving{opacity:.6}
.display-options [hidden]{display:none!important}
.site-footer .display-options{grid-column:1/-1;justify-content:center}
.account-row-control .display-options label>span{font-size:10px}
/* 3.8 profile picture centring + banner drag */
.picture-centre-editor{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:16px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.025)}
.picture-centre-editor[hidden]{display:none!important}
.picture-centre-canvas{width:180px;height:180px;border-radius:50%;background:#151515;box-shadow:0 0 0 2px rgba(242,56,125,.55);cursor:grab;touch-action:none}
.picture-centre-canvas.is-dragging{cursor:grabbing}
.picture-centre-canvas:focus-visible{outline:3px solid var(--pink-hot);outline-offset:4px}
.picture-centre-controls{flex:1 1 200px;display:grid;gap:10px}
.picture-centre-controls p{margin:0;color:#a8a3a0;font-size:12px;line-height:1.5}
.picture-centre-zoom{display:flex;align-items:center;gap:10px}
.picture-centre-zoom span{font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#a8a3a0}
.picture-centre-zoom input{flex:1;accent-color:var(--pink)}
.profile-background-preview.is-draggable.has-image{cursor:grab;touch-action:none}
.profile-background-preview.is-dragging{cursor:grabbing}
.profile-background-preview:focus-visible{outline:3px solid var(--pink-hot);outline-offset:3px}
.profile-background-drag-hint{margin:8px 0 0;color:#a8a3a0;font-size:12px}
.profile-background-drag-hint[hidden],.profile-background-focus-grid[hidden]{display:none!important}
@media(max-width:600px){.picture-centre-editor{justify-content:center}.picture-centre-canvas{width:160px;height:160px}}
/* 3.8 Select mode (wishlist + trade list) */
.bulk-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 14px}
.bulk-toolbar[hidden],.bulk-actions[hidden],.bulk-check[hidden],.bulk-select-toggle[hidden]{display:none!important}
.bulk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(242,56,125,.45);border-radius:14px;background:rgba(16,16,16,.96);box-shadow:0 14px 40px rgba(0,0,0,.35)}
.bulk-count{font-size:12px;font-weight:600;color:#f5f2ee;margin-right:6px}
.bulk-actions .mini-button:disabled{opacity:.45;cursor:not-allowed}
.bulk-actions .bulk-primary{border-color:rgba(242,56,125,.7);color:#ff8fb8}
.bulk-actions .bulk-danger{border-color:rgba(216,53,61,.7);color:#ff8a8f}
.bulk-form{display:none}
[data-bulk-item]{position:relative}
.bulk-check{position:absolute;top:10px;left:10px;z-index:5;display:block;width:28px;height:28px;cursor:pointer}
.bulk-check input{position:absolute;opacity:0;width:28px;height:28px;margin:0;cursor:pointer}
.bulk-check span{display:block;width:28px;height:28px;border-radius:8px;border:2px solid rgba(255,255,255,.85);background:rgba(8,8,8,.7);box-shadow:0 2px 8px rgba(0,0,0,.4)}
.bulk-check input:checked+span{background:var(--pink);border-color:var(--pink)}
.bulk-check input:checked+span:after{content:"";display:block;width:8px;height:14px;margin:3px auto 0;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.bulk-check input:focus-visible+span{outline:3px solid var(--pink-hot);outline-offset:2px}
.is-selecting [data-bulk-item]{cursor:pointer}
.is-selecting [data-bulk-item] .wishlist-card-actions,.is-selecting [data-bulk-item] .trade-card-edit-link{visibility:hidden}
.is-selecting [data-bulk-item].is-selected{outline:2px solid var(--pink);outline-offset:2px}
@media(max-width:700px){.bulk-toolbar.is-selecting .bulk-actions{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60}.is-selecting[data-bulk-grid]{padding-bottom:130px}}

/* 3.9: cards per page, and page buttons above the grid */
.results-line{align-items:center;gap:14px;flex-wrap:wrap}
.per-page{display:flex;align-items:center;gap:8px;margin-left:auto}
.per-page [hidden]{display:none}
.per-page label{display:flex;align-items:center;gap:8px;font-size:8px;font-weight:600;letter-spacing:.14em;color:#7f7c79}
.per-page select{background:#0d0d0d;color:#f3f0ed;border:1px solid #3a3a3a;padding:5px 8px;font-size:12px;font-weight:600}
.per-page select option{background:#101010}
.pagination.pagination-top{margin:0 0 18px;padding:12px 0}
@media (max-width:700px){.per-page{margin-left:0;width:100%}}

/* 3.11: collection page on phones - folding filters, cards in pages, start a set again */
.collection-filter-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin:0 0 12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#111;color:#f3f0ed;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.collection-filter-toggle[hidden]{display:none}
.collection-filter-toggle span{color:#a9a5a1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collection-filter-toggle[aria-expanded=true]{border-color:var(--pink)}
.collection-filters.is-folded{display:none}
.collection-pages-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.collection-count{margin:0;color:#a9a5a1;font-size:13px}
.collection-pages-bar .per-page{margin-left:auto}
.collection-reset{margin:34px 0 0;padding:14px 16px;border:1px solid rgba(255,83,116,.22);border-radius:12px;background:rgba(255,83,116,.035)}
.collection-reset summary{cursor:pointer;font-size:14px;font-weight:600;color:#d8d4d1;min-height:28px;display:flex;align-items:center}
.collection-reset p{color:#a9a5a1;font-size:14px;line-height:1.55;max-width:680px}
.collection-reset form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.collection-reset label{display:grid;gap:6px;font-size:13px;color:#a9a5a1}
.collection-reset select{background:#111;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:10px 12px;font-size:15px;min-width:220px}
.collection-reset-button{border-color:rgba(255,83,116,.5)!important;color:#ff9db1!important}
.reset-set-list{margin:12px 0;padding-left:20px;line-height:1.6;color:#d8d4d1}
.reset-set-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
@media (max-width:699px){
  .collector-shell .collection-hero-actions{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;gap:6px!important;overflow-x:auto;width:100%!important;margin-top:4px;scrollbar-width:none}
  .collection-hero-actions::-webkit-scrollbar{display:none}
  .collector-shell .collection-hero-actions .button{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:42px;padding:0 11px!important;white-space:nowrap}
  .collector-dashboard-hero{gap:12px}
  .collection-pages-bar .per-page{margin-left:0;width:auto}
  .collection-reset select{min-width:0;width:100%}
  .collection-reset label{flex:1 1 100%}
}

/* 3.13 Mixed Master progress bar: SL1A yellow fading into SLUA pink. Visual only. */
.mixed-master-row{border-color:rgba(255,242,122,.22)!important;background:linear-gradient(90deg,rgba(255,242,122,.045),rgba(255,79,174,.045))!important;cursor:default}
.mixed-master-row:hover{transform:none}
.mixed-master-code{background-image:linear-gradient(90deg,#fff27a,#ff4fae);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#ffb0a0}
progress.mixed-master-meter::-webkit-progress-value{background:linear-gradient(90deg,#fff27a,#ff4fae)}
progress.mixed-master-meter::-moz-progress-bar{background:linear-gradient(90deg,#fff27a,#ff4fae)}
.mixed-master-hide{display:inline;margin-left:10px}
.mixed-master-hide button,.mixed-master-show button{appearance:none;border:0;background:none;padding:0;font:inherit;font-size:11px;color:#a8a4a1;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.mixed-master-hide button:hover,.mixed-master-show button:hover{color:#ffffff}
.mixed-master-show{margin-top:8px}

/* 3.13 Coming soon cards (listed, not released yet) */
.coming-soon-badge{position:absolute;top:8px;left:8px;z-index:3;display:inline-block;padding:3px 7px;border-radius:5px;background:#f0b13c;color:#111111;font-size:8px;font-weight:900;letter-spacing:.08em;line-height:1.2}
.collection-coming-soon-note{margin:0;padding:10px 12px;border:1px dashed rgba(240,177,60,.45);border-radius:8px;color:#f0c97a;font-size:12px;line-height:1.4}

/* 3.13 Price guide */
.price-guide-note{max-width:820px;color:#bdb8b4;line-height:1.6;font-size:14px}
.price-guide-note a{color:var(--pink-hot)}
.price-guide-jump{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}
.price-guide-jump a{padding:7px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#ffffff;text-decoration:none;font-weight:700;font-size:12px;letter-spacing:.08em}
.price-guide-set{margin:34px 0}
.price-guide-set h2{margin:0 0 6px;font-size:clamp(1.2rem,3vw,1.7rem)}
.price-guide-set-meta{margin:0 0 12px;color:#9c9894;font-size:13px}
.price-guide-set-meta a{color:var(--pink-hot)}
.price-guide-table-wrap{overflow-x:auto;border:1px solid rgba(255,255,255,.1);border-radius:12px}
.price-guide-table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.price-guide-table th{position:sticky;top:0;text-align:left;padding:10px 12px;background:#141414;color:#bdb8b4;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.price-guide-table td{padding:9px 12px;border-top:1px solid rgba(255,255,255,.07);color:#e9e6e3}
.price-guide-table td a{color:#ffffff;font-weight:700}
.price-guide-table tr.is-coming-soon td{color:#9c9894}
.card-seo-summary{margin:16px 0 0;color:#bdb8b4;font-size:14px;line-height:1.6}
.card-seo-summary a,.set-price-guide-link a{color:var(--pink-hot);font-weight:600}
.set-price-guide-link{margin-top:10px}

/* 3.14 GR10 rarity marks on the rarity guide */
.gr10-guide{padding-top:0}
.gr10-guide-heading{margin:0 0 18px;padding-top:34px;border-top:1px solid #292929}
.gr10-guide-heading h2{margin:8px 0 8px;font-size:clamp(26px,4vw,40px);letter-spacing:-.02em}
.gr10-guide-heading p{max-width:720px;margin:0;color:#a8a4a1;font-size:13px;line-height:1.6}
.gr10-tier .tier-code{color:#5ee7ff}

/* 3.14 Pin badges */
.pin-progress-code{color:#ffd76a}
progress.pin-progress-meter::-webkit-progress-value{background:linear-gradient(90deg,#b8862b,#ffd76a)}
progress.pin-progress-meter::-moz-progress-bar{background:linear-gradient(90deg,#b8862b,#ffd76a)}
.pin-progress-list{margin:0 0 22px}
.pins-hero h1{margin:6px 0 8px}
.pins-hero p{max-width:640px;color:#a8a4a1;line-height:1.6}
.pins-hero-actions{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.pin-collect-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 20px;border:1px solid rgba(255,215,106,.22);border-radius:14px;background:rgba(255,215,106,.04);margin:0 0 18px}
.pin-collect-copy p{margin:6px 0 0;color:#bdb8b4;font-size:13px;line-height:1.55;max-width:620px}
.pin-collect-copy strong{color:#ffffff}
.pin-group{margin:0 0 30px}
.pin-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.09)}
.pin-group-heading h2{margin:0;font-size:clamp(20px,2.6vw,28px);letter-spacing:-.02em}
.pin-group-heading>span{color:#9b9297;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.pin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.pin-tile{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#0d0c0d;transition:border-color .16s,opacity .16s}
.pin-tile.is-owned{border-color:rgba(255,215,106,.45);background:linear-gradient(180deg,rgba(255,215,106,.06),#0d0c0d 60%)}
.pin-frame{aspect-ratio:1/1;width:100%;display:grid;place-items:center;border-radius:10px;background:#141214;overflow:hidden}
.pin-frame img{width:100%;height:100%;object-fit:contain;display:block}
.pin-tile.is-unowned .pin-frame img{opacity:.42;filter:grayscale(.75)}
.pin-copy strong{display:block;font-size:14px;line-height:1.3;color:#ffffff}
.pin-copy small{display:block;margin-top:3px;color:#8f8a87;font-size:11px;letter-spacing:.04em}
.pin-copy p{margin:6px 0 0;color:#a8a4a1;font-size:12px;line-height:1.5}
.pin-toggle-form{margin:auto 0 0}
.pin-toggle{width:100%;min-height:40px;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#151315;color:#ffffff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.pin-toggle:hover{border-color:rgba(255,215,106,.6)}
.pin-toggle .pin-toggle-on{display:none}
.pin-toggle.is-owned{border-color:rgba(255,215,106,.7);background:#ffd76a;color:#141006}
.pin-toggle.is-owned .pin-toggle-on{display:inline}
.pin-toggle.is-owned .pin-toggle-off{display:none}
.pin-state{margin-top:auto;font-size:12px;font-weight:700;color:#8f8a87}
.pin-tile.is-owned .pin-state{color:#ffd76a}
.pin-store-link{font-size:12px;color:#c9c4c0;text-decoration:underline;text-underline-offset:3px}
.pin-store-link:hover{color:#ffffff}
.pins-note{margin-top:8px;color:#8f8a87;font-size:12px}
.profile-pin-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;margin-top:4px}
.profile-pin{aspect-ratio:1/1;display:grid;place-items:center;border:1px solid rgba(255,215,106,.35);border-radius:10px;background:#141214;overflow:hidden}
.profile-pin img{width:100%;height:100%;object-fit:contain}
.profile-pin.is-unowned{border-color:rgba(255,255,255,.07)}
.profile-pin.is-unowned img{opacity:.3;filter:grayscale(1)}
@media(max-width:600px){.pin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pin-tile{padding:9px}.pin-copy strong{font-size:13px}.pin-toggle{font-size:12px;min-height:44px}.pin-collect-panel{padding:16px}}

/* 3.14 Artists */
.artist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:0 0 28px}
.artist-card{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#0d0c0d;scroll-margin-top:90px}
.artist-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px}
.artist-card h2{margin:0;font-size:20px;letter-spacing:-.01em}
.artist-sets{color:#ff68a4;font-size:11px;font-weight:700;letter-spacing:.06em}
.artist-aka{display:block;margin-top:4px;color:#8f8a87;font-size:12px}
.artist-card p{margin:10px 0 0;color:#bdb8b4;font-size:13px;line-height:1.6}
.artist-card p.artist-soon{color:#7c7774;font-style:italic}
.artist-links{display:flex;gap:14px;margin-top:12px}
.artist-links a{font-size:12px;color:#ffffff;text-decoration:underline;text-underline-offset:3px}
.artist-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px;color:#a8a4a1;font-size:12px}
.artist-meta .artist-role{color:#ffffff;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:11px}
.artist-card p.artist-toolset{margin-top:10px;color:#8f8a87;font-size:12px}
.artist-toolset strong{color:#c9c4c0}
.card-artist-link{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.card-artist-link:hover{text-decoration-color:currentColor}
.artist-card-count{display:block;margin-top:4px;color:#8f8a87;font-size:12px}

/* 3.16: saved collector folders */
.saved-folder-menu{position:relative;display:inline-block}
.saved-folder-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.saved-folder-menu>summary::-webkit-details-marker{display:none}
.saved-folder-caret{font-size:.9em;opacity:.7;transition:transform .16s}
.saved-folder-menu[open] .saved-folder-caret{transform:rotate(180deg)}
.saved-folder-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:70;display:grid;gap:10px;width:min(290px,calc(100vw - 32px));padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0e0e0e;box-shadow:0 18px 40px rgba(0,0,0,.5);text-align:left;text-transform:none;letter-spacing:0}
/* On a profile the hero clips overflow, so the panel opens in place under the button. */
.saved-collector-form{flex-direction:column;align-items:stretch;vertical-align:top}
.profile-identity-actions:has(.saved-folder-menu[open]){align-items:flex-start}
.saved-collector-form .saved-folder-panel{position:static;margin-top:8px;box-shadow:none}
.saved-folder-panel form{display:grid;gap:10px;margin:0}
.saved-folder-title{font-size:13px;font-weight:700;color:#f5f2ee}
.saved-folder-hint{margin:0;font-size:12px;line-height:1.45;color:#a8a3a0}
.saved-folder-options{display:grid;gap:2px;max-height:220px;overflow-y:auto}
.saved-folder-option{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:8px;font-size:13px;color:#e6e0e3;cursor:pointer}
.saved-folder-option:hover{background:rgba(255,255,255,.05)}
.saved-folder-option input{width:17px;height:17px;accent-color:#ff4d96;margin:0}
.saved-folder-new{display:grid;gap:5px}
.saved-folder-new>span{font-size:8px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#a8a3a0}
.saved-folder-new input,.saved-folder-create input,.saved-folder-manage input{background:#111;color:#f5f2ee;border:1px solid #343434;border-radius:8px;padding:8px 10px;font-size:14px;min-height:36px;box-sizing:border-box;width:100%}
.saved-folder-save{justify-self:start}
.saved-folder-remove{background:none;border:0;padding:4px 0;color:#ff83b3;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.saved-folder-chips{display:flex!important;flex-wrap:wrap;gap:4px;margin:4px 0 2px}
.saved-folder-chip{display:inline-block;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,104,164,.35);background:rgba(255,104,164,.08);color:#ffb3cf;font-size:10px;font-weight:600;letter-spacing:.02em}
.saved-folder-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.saved-folder-tab{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#e6e0e3;font-size:12px;font-weight:600;text-decoration:none}
.saved-folder-tab b{font-weight:700;color:#a8a3a0;font-size:11px}
.saved-folder-tab:hover{border-color:rgba(255,104,164,.5)}
.saved-folder-tab.is-active{border-color:#ff4d96;background:rgba(255,77,150,.14);color:#fff}
.saved-folder-tab.is-active b{color:#ffb3cf}
.saved-folder-tools{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 16px;margin:0 0 22px}
.saved-folder-create{display:flex;gap:8px;align-items:center;flex:1 1 320px;max-width:460px;margin:0}
.saved-folder-create label{flex:1}
.saved-folder-manage>summary{list-style:none;cursor:pointer}
.saved-folder-manage>summary::-webkit-details-marker{display:none}
.saved-folder-manage-body{display:grid;gap:8px;margin-top:10px;max-width:420px}
.saved-folder-manage-body form{display:flex;gap:8px;align-items:center;margin:0}
.saved-folder-manage-body p{margin:0}
.saved-folder-delete{border-color:rgba(255,90,90,.45)!important;color:#ff9a9a!important}
.community-collector-actions .saved-folder-menu .saved-folder-panel{right:0;left:auto}
@media(max-width:680px){.saved-collector-form .saved-folder-panel{width:auto}.saved-folder-create{flex-basis:100%;max-width:none}}

/* 3.16: currency outside the top bar (phone Account menu, footer) */
.nav-account-dropdown .currency-option{padding:8px 12px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);margin:4px 0}
.nav-account-dropdown .currency-option label>span{font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:#e6e0e3}

/* 3.16: phone nav fits on one row with no sideways swipe. Collection, the
   bell and Account are already in the header above it. */
@media(max-width:680px){
  .site-header nav{overflow:visible!important;flex-wrap:nowrap!important;justify-content:space-between;gap:6px!important;padding:9px 0 4px!important}
  .site-header nav .nav-bell-link,.site-header nav>.nav-account-menu,.site-header nav .nav-divider,.site-header nav .nav-currency-switcher,.site-header nav .nav-signup-primary,.site-header nav .nav-account-primary{display:none!important}
  .site-header nav .nav-long{display:none}
  .site-header nav>a{font-size:8px!important;letter-spacing:.13em}
}
@media(max-width:360px){.site-header nav{gap:4px!important}.site-header nav>a{font-size:7px!important;letter-spacing:.06em}}

/* 3.20: trade locations filter and wishlist auto-remove switch */
.trade-location-filter{margin:0 0 18px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.03)}
.trade-location-filter>summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;cursor:pointer;list-style:none}
.trade-location-filter>summary::-webkit-details-marker{display:none}
.trade-location-filter>summary:after{content:"▾";margin-left:auto;opacity:.6}
.trade-location-filter[open]>summary:after{content:"▴"}
.trade-location-filter>summary strong{font-size:13px}
.trade-location-filter>summary small{font-size:11px;opacity:.7}
.trade-location-filter form{display:grid;gap:12px;padding:0 16px 16px}
.trade-location-filter p{margin:0}
.trade-location-options{display:flex;flex-wrap:wrap;gap:8px}
.trade-location-option{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;cursor:pointer}
.trade-location-option small{opacity:.6}
.trade-location-option:has(input:checked){border-color:var(--pink-hot);background:rgba(255,56,125,.1)}
.trade-location-add{display:grid;gap:5px;max-width:320px;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.trade-location-add select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:rgba(128,128,128,.08);color:inherit;font-size:13px;letter-spacing:0;text-transform:none}
.trade-location-add select option{background:#fff;color:#111}
.trade-location-actions{display:flex;flex-wrap:wrap;gap:10px}
.wishlist-auto-remove{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;font-size:12px}
.wishlist-auto-remove>span:nth-child(5){flex:1 1 260px}
.wishlist-auto-remove-state{width:10px;height:10px;border-radius:50%;background:#777;flex:none}
.wishlist-auto-remove-state.is-on{background:#45d483;box-shadow:0 0 0 3px rgba(69,212,131,.2)}

/* 3.20.4: the rep badge opens the public "who repped" list */
a.collector-rep-link{text-decoration:none;cursor:pointer;transition:filter .15s,transform .15s}
a.collector-rep-link:hover,a.collector-rep-link:focus-visible{filter:brightness(1.18);transform:translateY(-1px)}
a.collector-rep-link:after{content:"›";margin-left:5px;opacity:.7}
.rep-mutual-text{color:#86efac;font-weight:700}
.public-rep-note{margin:0 0 16px;max-width:760px}

/* 3.20.5: Account page tabs (js/account-tabs.js). No JavaScript = every card shows. */
.account-tabs{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 18px;padding:6px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(10,10,10,.92);backdrop-filter:blur(8px)}
.account-tabs a{display:grid;gap:2px;padding:10px 14px;border:1px solid transparent;border-radius:11px;color:#d8d1d5;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.account-tabs a strong{font-size:14px;letter-spacing:.02em}
.account-tabs a small{font-size:11px;color:#8f888c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-tabs a:hover,.account-tabs a:focus-visible{background:rgba(255,104,164,.08);color:#fff}
.account-tabs a.is-active{border-color:rgba(255,104,164,.55);background:rgba(255,104,164,.12);color:#fff}
.account-tabs a.is-active small{color:#e7b7c9}
.has-account-tabs .is-tab-hidden{display:none!important}
.account-tabs a{scroll-margin-top:0}
.account-switch-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.account-switch-form .account-pill{font-size:12px;font-weight:700;letter-spacing:.04em}
.account-pill.is-on{border-color:rgba(74,222,128,.5);color:#86efac}
@media(max-width:760px){
  .account-tabs{position:static;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:5px;border-radius:13px}
  .account-tabs a{grid-column:span 2;padding:9px 6px;text-align:center}
  .account-tabs a:nth-child(4),.account-tabs a:nth-child(5){grid-column:span 3}
  .account-tabs a strong{font-size:13px}
  .account-tabs a small{display:none}
}

/* 3.35: pick all three showcase cards, and fan the two back cards behind the main one. */
.showcase-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.showcase-pick-grid label{display:grid;gap:5px;min-width:0}
.showcase-pick-grid label>span{font-size:10px;font-weight:700;letter-spacing:.04em}
.showcase-pick-grid label>span small{font-weight:400;opacity:.7}
.showcase-pick-grid select{width:100%;min-width:0}
@media(max-width:760px){.showcase-pick-grid{grid-template-columns:1fr}}
.showcase-fan{position:relative;display:grid;place-items:center;padding:4% 15% 0}
.public-showcase-card .showcase-fan img.showcase-main{position:relative;z-index:2}
.public-showcase-card .showcase-fan img.showcase-fan-back{position:absolute;top:9%;width:62%;z-index:1;filter:brightness(.82);transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s}
.public-showcase-card .showcase-fan img.showcase-fan-back.left{left:0;transform:rotate(-10deg);transform-origin:bottom right}
.public-showcase-card .showcase-fan img.showcase-fan-back.right{right:0;transform:rotate(10deg);transform-origin:bottom left}
.public-showcase-card:hover .showcase-fan img.showcase-fan-back,.public-showcase-card:focus-visible .showcase-fan img.showcase-fan-back{filter:brightness(1)}
.public-showcase-card:hover .showcase-fan img.showcase-fan-back.left{transform:rotate(-15deg) translateX(-5%)}
.public-showcase-card:hover .showcase-fan img.showcase-fan-back.right{transform:rotate(15deg) translateX(5%)}
.showcase-fan.card-flip-host .card-flip-toggle{top:calc(4% + 7px);bottom:auto;right:calc(15% + 7px);z-index:3}
@media(prefers-reduced-motion:reduce){.public-showcase-card .showcase-fan img.showcase-fan-back{transition:none}}

/* 3.42: +N REP under the profile picture and Discord name. */
.profile-rep-under-avatar{display:inline-flex;align-items:baseline;gap:5px;padding:5px 14px;border:1px solid rgba(255,104,164,.45);border-radius:999px;background:rgba(255,104,164,.1);color:#f5f1ee;font-size:12px;font-weight:800;letter-spacing:.12em;text-decoration:none;white-space:nowrap}
.profile-rep-under-avatar strong{font-size:18px;letter-spacing:0;color:#ff68a4}
.profile-rep-under-avatar:hover,.profile-rep-under-avatar:focus-visible{border-color:#ff68a4;background:rgba(255,104,164,.18)}
@media(max-width:640px){.profile-rep-under-avatar{padding:4px 10px;font-size:10px}.profile-rep-under-avatar strong{font-size:15px}}
/* 3.42: "Who has it?" search on the Trade Hub and a button on card pages. */
.trade-hub-card-search{margin:0 0 16px}
.card-who-has-it{display:inline-flex;margin:16px 0 4px}
/* 3.42: Get the app page and the phone strip. */
.get-app-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 10px}
.get-app-button{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:190px;padding:12px 20px;line-height:1.1}
.get-app-button small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.8}
.get-app-button strong{font-size:20px}
.get-app-note{font-size:13px;color:#a9a5a1}
.app-strip{display:flex;align-items:center;gap:10px;margin:0 auto;padding:9px 14px;border-bottom:1px solid rgba(255,104,164,.35);background:rgba(255,104,164,.09);font-size:13px;line-height:1.4}
.app-strip[hidden]{display:none}
.app-strip span{flex:1;min-width:0}
.app-strip-close{flex:0 0 auto;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
/* 3.42: What's new card, shown once after an update. */
.whats-new-card{max-width:1180px;margin:14px auto 0;padding:14px 18px;border:1px solid rgba(255,104,164,.4);border-left:4px solid #ff68a4;border-radius:12px;background:rgba(255,104,164,.06)}
.whats-new-card strong{display:block;margin-bottom:6px;font-size:15px;letter-spacing:.04em}
.whats-new-card ul{margin:0 0 10px;padding-left:20px;line-height:1.55;font-size:14px}
.whats-new-card form{margin:0}
@media(max-width:1220px){.whats-new-card{margin:12px 16px 0}}

/* 3.42: owner preview / help mode bar (always unmissable). */
.staff-mode-bar{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;padding:9px 16px;background:#ffd23f;color:#141006;font-size:14px;line-height:1.35;text-align:center}
.staff-mode-bar strong{color:#141006}
.staff-mode-bar form{margin:0}
.staff-mode-bar button{border:1px solid #141006;border-radius:6px;background:#141006;color:#ffd23f;font:inherit;font-weight:700;padding:5px 12px;cursor:pointer}
/* 3.44.1: announced sets that aren't on SaitoDex yet (Explore the Sets). */
.set-coming-soon{border-style:dashed;cursor:default}.set-coming-soon:hover{transform:none}.set-coming-soon .set-panel-copy>span{color:#aaa6a2}.set-slx1:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 78% 24%,rgba(127,208,255,.3),transparent 37%),linear-gradient(135deg,transparent 45%,rgba(255,126,182,.08) 46% 47%,transparent 48%)}.set-slx1 .set-art-word{color:rgba(127,208,255,.13)}

/* 3.45.2: phones turned sideways and small tablets (681 to 1280 wide).
   The full menu was wider than the screen, so the Account menu ended
   up off the right edge. Tighter spacing, "Rarity" without "Guide", and
   below 1000 wide a smaller logo (currency stays in the footer). */
@media(min-width:681px) and (max-width:1280px){
  .site-header{padding-left:20px!important;padding-right:20px!important;gap:14px}
  .site-header nav{gap:14px!important;min-width:0;overflow:visible!important}
  .site-header nav .nav-long{display:none}
  .site-header nav>a,.nav-account-menu>summary{letter-spacing:.08em!important}
}
@media(min-width:681px) and (max-width:1000px){
  .site-header .brand-wordmark{width:96px!important;height:auto}
  .site-header nav{gap:10px!important}
  .site-header nav>a{font-size:8.5px!important}
  .site-header nav .nav-currency-switcher{display:none!important}
}
@media(min-width:681px) and (max-width:760px){
  .site-header nav{gap:7px!important}
  .site-header .brand-wordmark{width:88px!important}
}
/* 3.51: SLX1 Legend Stars, unrevealed badge, Frostbound guide */
.rarity-chip .legend-star{width:16px;height:12px;object-fit:contain;margin-left:2px}.fact-rarity .legend-star{width:26px;height:18px;object-fit:contain}.unrevealed-badge{background:#7fd0ff;color:#0b1236}
.slx1-star-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.slx1-star-grid article{border:1px solid #2d2d2d;background:#0d0d0d;padding:18px;display:flex;gap:14px;align-items:center}.slx1-star-grid img{width:64px;height:48px;object-fit:contain;flex:none}.slx1-star-grid strong{display:block;font-size:12px;letter-spacing:.08em}.slx1-star-grid p{margin:4px 0 0;color:#aaa6a3;font-size:11px;line-height:1.55}@media(max-width:760px){.slx1-star-grid{grid-template-columns:1fr}}

@media(max-width:600px){.set-hero h1{font-size:clamp(34px,12.5vw,58px)}}.set-tone-slx1 .rarity-chip{display:flex;align-items:center;max-width:calc(100% - 52px);white-space:nowrap}.set-tone-slx1 .rarity-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.set-tone-slx1 .rarity-chip img{flex:none}
@media(max-width:600px){.set-tone-slx1 .rarity-chip>.slx1-tier-name{font-size:0}.set-tone-slx1 .rarity-chip>.slx1-tier-name:before{content:attr(data-code);font-size:7px}}
