
@font-face{
  font-family:'dropchan';
  src:url('../font/dropchan.woff') format('woff'),
      url('../font/dropchan.ttf') format('truetype');
  font-weight:normal;
  font-style:normal;
  font-display:block;
}


:root{--bg:#f7f6ff;--ink:#4f4a7c;--muted:#9995b5;--line:#e4e0f4;--chip:#eeebff;--accent:#6f68b2;--white:var(--dc-color-paper,#fff)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-weight:600}.topbar{height:58px;background:white;border-bottom:1px solid #ece9f6}.inner{max-width:1280px;height:100%;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.brand,.topbar a{color:#554e89;text-decoration:none;font-size:14px;font-weight:800}.topbar nav{display:flex;gap:32px}.page{max-width:1280px;margin:auto;padding:26px 24px 100px}.crumb{font-size:12px;color:#aaa5c2;margin:10px 0 22px}.crumb a{color:#8b86aa;text-decoration:none}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:18px}.eyebrow{font-size:12px;letter-spacing:.18em;color:#9691b5;margin-bottom:10px;font-weight:900}.hero h1{margin:0;font-size:46px;letter-spacing:-.04em;color:#514b84;line-height:1}.lead{font-size:14px;color:#918dab;margin:14px 0 0}.count-inline{font-size:14px;letter-spacing:0;color:#918dab;margin-left:6px}.search input{width:340px;border:1px solid #dedbea;border-radius:28px;padding:13px 18px;background:var(--dc-color-paper,#fff);color:#55506f;outline:none;font:inherit;font-size:13px}.chips{min-height:70px;border:1px solid #e0ddec;background:var(--dc-color-paper,#fff);border-radius:22px;padding:13px 14px;display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 28px}.chip{border:0;background:var(--chip);color:#69629e;border-radius:999px;padding:8px 13px;font-weight:800;cursor:pointer}.chip.active{background:#dcd6ff}.sortbar{display:flex;align-items:center;gap:15px;font-size:12px;margin:0 0 44px}.sortbar b{color:#57517f}.sortbar button{border:0;background:none;color:#9691af;font-weight:var(--dc-button-weight,800);border-right:1px solid #d5d0e5;padding:0 13px 0 0;cursor:pointer}.sortbar button:last-child{border-right:0}.group{margin-bottom:52px}.group h2{font-size:18px;margin:0 0 24px}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.card{background:var(--dc-color-paper,#fff);border:1px solid #dfdced;border-radius:24px;padding:14px;text-decoration:none;color:inherit;display:flex;flex-direction:column;min-width:0;transition:transform .15s ease}.card:hover{transform:translateY(-2px)}.thumb{aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#ece9ff;display:flex;align-items:center;justify-content:center}.thumb img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:38px;color:#aaa3d4}.cardline{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:10px 1px 7px}.cardname{font-size:16px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pillcount{font-size:11px;padding:2px 8px;border-radius:99px;background:#f0edff;color:#8179c2}.creator-sub{font-size:11px;color:#aaa6bc;min-height:17px}.cardbutton{margin-top:9px;background:var(--dc-color-soft,#efedff);border-radius:var(--dc-button-radius,12px);padding:12px;text-align:center;font-size:12px;color:#736bb3}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}.portal{background:var(--dc-color-paper,#fff);border:1px solid var(--line);border-radius:26px;padding:30px;text-decoration:none;color:var(--ink);min-height:180px;display:flex;flex-direction:column;justify-content:center}.portal-kicker{font-size:11px;letter-spacing:.18em;color:#9b96b7;margin-bottom:16px}.portal strong{font-size:23px}.portal span:last-child{font-size:12px;color:#9995ae;margin-top:16px}.catalog-intro{margin:70px 0 0}.catalog-intro h2{font-size:20px}.catalog-intro p{color:#9b97ad;font-size:13px}.profile{background:var(--dc-color-paper,#fff);border:1px solid var(--line);border-radius:28px;padding:30px;display:grid;grid-template-columns:220px 1fr;gap:32px;margin-bottom:40px}.profile-img{width:220px;aspect-ratio:1/1;border-radius:22px;overflow:hidden;background:#ece9ff}.profile-img img{width:100%;height:100%;object-fit:cover}.profile h1{font-size:42px;margin:0 0 7px}.badge{display:inline-block;background:#efecff;border-radius:999px;padding:6px 10px;font-size:11px;color:#756db0}.stats{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.stat{background:#f7f5ff;border-radius:13px;padding:10px 12px;font-size:12px}.bio p{font-size:13px;line-height:1.9;color:#74708e;font-weight:500}.links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.links a{background:var(--dc-color-soft,#efedff);border-radius:12px;padding:10px 12px;color:#6e67a9;text-decoration:none;font-size:12px}.related{margin-top:38px}.related h2{font-size:19px;margin-bottom:22px}.mini-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.mini{background:var(--dc-color-paper,#fff);border:1px solid var(--line);border-radius:18px;padding:13px;text-decoration:none;color:inherit}.mini strong{display:block;font-size:13px}.mini span{font-size:11px;color:#aaa5b8}.idlist{display:flex;flex-wrap:wrap;gap:8px}.idpill{background:white;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:11px}.empty{color:#aaa6b8;font-size:13px;padding:30px 0}
@media(max-width:1100px){.grid{grid-template-columns:repeat(4,1fr)}.mini-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:720px){.page{padding:22px 14px 70px}.topbar nav a:first-child{display:none}.hero{align-items:stretch;flex-direction:column}.hero h1{font-size:38px}.search input{width:100%}.grid{grid-template-columns:repeat(2,1fr);gap:11px}.card{padding:10px;border-radius:19px}.cardname{font-size:14px}.portal-grid{grid-template-columns:1fr}.profile{grid-template-columns:1fr;padding:18px}.profile-img{width:100%;max-width:280px}.profile h1{font-size:34px}.mini-grid{grid-template-columns:repeat(2,1fr)}.sortbar{overflow:auto;white-space:nowrap}.chips{border-radius:18px}.cardbutton{display:none}}

/* Collab catalog: space-efficient listing + dropchan imagery */
.group h2{margin-bottom:20px}.grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start}.card{height:100%}.missing-dropchan{position:relative}.missing-dropchan::after{content:"dropchan image";font-size:11px;color:#aaa5c2}.profile-trait{grid-template-columns:300px 1fr;align-items:start}.profile-dropchan{position:relative;width:300px;aspect-ratio:1;border-radius:22px;overflow:hidden;background:#ece9ff;display:flex;align-items:center;justify-content:center}.profile-dropchan img{width:100%;height:100%;object-fit:cover}.dropchan-number{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.9);border-radius:999px;padding:5px 9px;font-size:11px;color:#6f68a5}.dropchan-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.dropchan-tile{background:var(--dc-color-paper,#fff);border:1px solid var(--line);border-radius:20px;padding:10px;min-width:0}.dropchan-thumb{aspect-ratio:1;border-radius:14px;background:#ece9ff;overflow:hidden;display:flex;align-items:center;justify-content:center}.dropchan-thumb img{width:100%;height:100%;object-fit:cover}.dropchan-caption{font-size:12px;margin:9px 2px 2px;color:#6c669a}
@media(min-width:1280px){.page,.inner{max-width:1440px}.grid,.dropchan-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(min-width:1600px){.page,.inner{max-width:1560px}.grid,.dropchan-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:1100px){.dropchan-grid{grid-template-columns:repeat(4,1fr)}.profile-trait{grid-template-columns:240px 1fr}.profile-dropchan{width:240px}}
@media(max-width:720px){.profile-trait{grid-template-columns:1fr}.profile-dropchan{width:100%;max-width:320px}.dropchan-grid{grid-template-columns:repeat(2,1fr)}}


/* v4: trait preview / creator navigation */
.card{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.thumb-link{display:block;position:relative;color:inherit;text-decoration:none;overflow:hidden}
.thumb-creator{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.92);font-size:11px;font-weight:700;color:#62589c;opacity:0;transform:translateY(3px);transition:.18s ease}
.thumb-link:hover .thumb-creator{opacity:1;transform:translateY(0)}
.cardname{color:inherit;text-decoration:none}
.cardname:hover,.creator-link:hover{text-decoration:underline;text-underline-offset:3px}
.creator-link{display:block;text-decoration:none}
.cardbutton{display:block;text-align:center;text-decoration:none}
.profile-dropchan-link{position:relative;display:block;text-decoration:none;color:inherit;overflow:hidden}
.profile-creator-label{position:absolute;left:14px;right:14px;bottom:14px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.94);font-size:12px;font-weight:700;color:#62589c;text-align:center;opacity:0;transform:translateY(4px);transition:.18s ease}
.profile-dropchan-link:hover .profile-creator-label{opacity:1;transform:translateY(0)}
@media (hover:none){.thumb-creator,.profile-creator-label{opacity:1;transform:none}}

/* v5: Character subcategories grouped by creator, matching the Full Catalog hierarchy */
.character-kind{margin-bottom:70px}
.character-kind>h2{font-size:21px;margin-bottom:30px}
.creator-subgroup{margin:0 0 46px}
.creator-subgroup h3{display:flex;align-items:baseline;gap:9px;margin:0 0 18px;font-size:16px;color:#5a5488}
.creator-subgroup h3 a{color:inherit;text-decoration:none}
.creator-subgroup h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.creator-subgroup h3 span{font-size:10px;color:#aaa5bd;font-weight:700}
.creator-subgroup .grid{margin-bottom:0}
@media(max-width:720px){.character-kind{margin-bottom:54px}.creator-subgroup{margin-bottom:34px}.creator-subgroup h3{font-size:15px;margin-bottom:14px}}

/* v6 creator representative dropchan */
.creator-profile{grid-template-columns:260px 1fr;align-items:start}.creator-media{display:grid;gap:14px}.creator-media .profile-img{width:100%}.mini-with-thumb{padding:10px}.mini-thumb{aspect-ratio:1;border-radius:13px;overflow:hidden;background:#ece9ff;margin-bottom:9px;display:flex;align-items:center;justify-content:center}.mini-thumb img{width:100%;height:100%;object-fit:cover}.mini-with-thumb strong{margin:0 2px 2px}.mini-with-thumb span{margin:0 2px}.missing-dropchan:after{content:'preview not found';font-size:10px;color:#aaa5c2}
@media(max-width:720px){.creator-profile{grid-template-columns:1fr}.creator-media{grid-template-columns:1fr 1fr}.creator-media .profile-img{max-width:none}}
\n\n/* v7 creator profile: preserve original art ratio + X + highlighted xrp.cafe row */\n.creator-profile{grid-template-columns:300px 1fr;gap:34px}\n.creator-media{align-content:start}\n.creator-media .profile-img{width:100%;height:auto;aspect-ratio:auto;border-radius:22px;overflow:hidden;background:#ece9ff;display:block}\n.creator-media .profile-img img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}\n.profile-img-link{transition:transform .15s ease}\n.profile-img-link:hover{transform:translateY(-2px)}\n.creator-xid{display:block;margin:-3px 2px 5px;color:#6f68b2;text-decoration:none;font-size:12px;font-weight:800;word-break:break-all}\n.creator-xid:hover{text-decoration:underline;text-underline-offset:3px}\n.cafe-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e8e6f4}\n.cafe-links a{background:#e7f1ff;border:1px solid #cfe1fb;border-radius:12px;padding:10px 12px;color:#557bb0;text-decoration:none;font-size:12px;font-weight:800}\n.cafe-links a:hover{background:#dcecff}\n@media(max-width:720px){.creator-profile{grid-template-columns:1fr}.creator-media{grid-template-columns:1fr}.creator-media .profile-img{max-width:320px}.creator-xid{max-width:320px}}\n

/* v9 creator artwork: no frame, no crop, native aspect ratio */
.creator-profile{grid-template-columns:300px 1fr;gap:34px;align-items:start}
.creator-media{display:block;align-self:start}
.creator-media .profile-img,
.creator-media a.profile-img{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  border-radius:0;
  overflow:visible;
  background:transparent;
  display:block;
  padding:0;
}
.creator-media .profile-img img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:0;
}
.creator-xid{margin:12px 0 0;display:inline-block}
@media(max-width:720px){
  .creator-profile{grid-template-columns:1fr}
  .creator-media{display:block}
  .creator-media .profile-img{width:auto;max-width:100%}
  .creator-media .profile-img img{width:auto;max-width:100%;height:auto}
}


/* v10 Creators list: preserve original artwork ratio + centered X link */
.creators-grid .creator-card{display:flex;flex-direction:column}
.creators-grid .creator-card .creator-card-main{color:inherit;text-decoration:none;display:block}
.creators-grid .creator-card .thumb{
  aspect-ratio:1/1;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f0edff;
}
.creators-grid .creator-card .thumb img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.creators-grid .creator-card .cardline{margin-top:10px}
.creators-grid .creator-x-link{
  display:block;
  width:max-content;
  max-width:100%;
  margin:2px auto 5px;
  color:#7289d9;
  text-decoration:none;
  font-size:11px;
  line-height:1.35;
  font-weight:800;
  text-align:center;
  overflow-wrap:anywhere;
}
.creators-grid .creator-x-link:hover{color:#526fcf;text-decoration:underline;text-underline-offset:3px}
.creators-grid .creator-page-button{display:block;margin-top:9px;background:var(--dc-color-soft,#efedff);border-radius:var(--dc-button-radius,12px);padding:12px;text-align:center;font-size:12px;color:#736bb3;text-decoration:none}
.creators-grid .creator-page-button:hover{background:#e9e5ff}


/* organized-v1: creator artwork itself has no frame/background and is never cropped */
.creators-grid .creator-card .thumb{
  aspect-ratio:auto;
  min-height:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
  display:block;
}
.creators-grid .creator-card .thumb img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  border-radius:0;
}
.creators-grid .creator-x-link{color:#6f83cb;}
.creators-grid .creator-x-link:hover{color:#566fc4;}
.creator-media .profile-img,.creator-media a.profile-img{border:0!important;box-shadow:none!important;background:transparent!important;}

/* v12: continuous Character grid, creator grouping without creator headings */
.character-grid .character-subgroup{display:contents}
.character-kind{margin-bottom:58px}
.character-kind>h2{margin-bottom:28px}
.card .creator-sub{font-size:13px;line-height:1.35;font-weight:800;color:#817ab2;min-height:20px;margin:0 1px 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .creator-sub:hover{color:#625aa0}
@media(max-width:720px){
  .character-kind{margin-bottom:48px}
  .character-kind>h2{margin-bottom:20px}
  .card .creator-sub{font-size:12px}
}


/* v13: flat continuous character grid; creator groups are ordering only */
.character-grid .character-subgroup{display:contents!important}
.character-grid{grid-auto-flow:row}
.character-grid>.card{min-width:0}
.card .creator-sub{font-size:14px;line-height:1.35;font-weight:850;color:#7870ad;min-height:20px;margin:1px 1px 2px}
/* Keep the Full Catalog responsive rhythm. This block is last on purpose. */
@media(max-width:1100px){.character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card .creator-sub{font-size:12px}}


/* v14: Original section (dropchan / ciana) is not a collaborator link */
.original-group{margin-top:72px;padding-top:34px;border-top:1px solid #e4e0f4}
.original-group>h2{font-size:20px}
.original-creator-card{min-height:150px;justify-content:center;align-items:stretch}
.original-creator-mark{display:inline-flex;align-self:flex-start;padding:7px 11px;border-radius:999px;background:#f0edff;color:#7770ad;font-size:11px;font-weight:900;margin-bottom:18px}
.original-creator-card .cardline{margin:0 0 7px}
.original-creator-card .cardname{font-size:18px}
.original-creator-label{cursor:default}
.original-thumb-link .thumb-creator{display:none}


/* v15: official Original characters live at the bottom; no Collab heading */
.character-original-section{margin-top:76px;padding-top:34px;border-top:1px solid #e4e0f4}
.character-original-section>h2{font-size:20px;margin-bottom:28px}
@media(max-width:720px){.character-original-section{margin-top:52px;padding-top:26px}.character-original-section>h2{margin-bottom:20px}}


/* v16: Character category chips behave like Full Catalog page anchors */
html{scroll-behavior:smooth}
.chips a.chip{display:inline-flex;align-items:center;text-decoration:none}
.chips a.chip:hover{opacity:.78}
.category-scroll-target{scroll-margin-top:24px}
#sectionRoot{scroll-margin-top:24px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* v17: compact representative dropchan on Creator cards */
.creator-collab-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:7px 0 1px;
  padding:9px 2px 0;
  border-top:1px solid #efedf8;
  min-height:68px;
}
.creator-mini-stats{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  color:#9a95b4;
  font-size:9.5px;
  line-height:1.25;
  font-weight:700;
}
.creator-mini-stats span{white-space:nowrap}
.creator-mini-stats b{color:#746da8;font-weight:900}
.creator-dropchan-sample{
  position:relative;
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:12px;
  overflow:hidden;
  background:#ece9ff;
}
.creator-dropchan-sample img{display:block;width:100%;height:100%;object-fit:cover}
.creator-dropchan-sample span{
  position:absolute;
  right:4px;
  bottom:4px;
  padding:2px 5px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#766eaa;
  font-size:8px;
  font-weight:900;
  line-height:1.2;
}
@media(max-width:720px){
  .creator-collab-summary{gap:7px}
  .creator-dropchan-sample{flex-basis:50px;width:50px;height:50px}
  .creator-mini-stats{font-size:9px}
}


/* v18: roomier Creator cards, X as a button, clean representative sample */
.creators-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px;
}
.creators-grid .creator-card{
  padding:16px;
}
.creators-grid .creator-x-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  min-height:36px;
  margin:7px 0 4px;
  padding:8px 10px;
  border:1px solid #d9e2ff;
  border-radius:11px;
  background:#f2f5ff;
  color:#647fd1;
  font-size:11px;
  line-height:1.25;
  font-weight:850;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.creators-grid .creator-x-link:hover{
  background:#eaf0ff;
  border-color:#cad7ff;
  color:#536fc6;
  text-decoration:none;
}
.creator-dropchan-sample span{display:none!important}
@media(min-width:1500px){
  .creators-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:1100px){
  .creators-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:720px){
  .creators-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .creators-grid .creator-card{padding:10px}
  .creators-grid .creator-x-link{font-size:10px;min-height:34px;padding:7px 6px}
  .creators-grid .creator-collab-summary{min-height:58px;padding-top:7px}
  .creators-grid .creator-mini-stats{font-size:8.5px}
  .creators-grid .creator-dropchan-sample{flex-basis:46px;width:46px;height:46px}
}

/* v19 Creator list: cleaner X affordance + source icons */
.creators-grid .creator-card{padding:15px}
.creators-grid .creator-image-x{
  position:relative;
  display:block;
  width:92%;
  margin:0 auto;
  color:inherit;
  text-decoration:none;
}
.creators-grid .creator-image-x .thumb{width:100%}
.creators-grid .creator-x-overlay{
  position:absolute;
  right:5px;
  bottom:5px;
  width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.94);
  box-shadow:0 2px 8px rgba(79,74,124,.13);
}
.creators-grid .x-overlay-icon-img{display:block;width:15px;height:15px}
.creators-grid .creator-name-link{color:inherit;text-decoration:none}
.creators-grid .creator-name-link:hover .cardname{color:#655da1}
.creators-grid .creator-xid-list{
  display:block;
  margin:0 1px 7px;
  color:#7087d3;
  text-decoration:none;
  font-size:11px;
  line-height:1.35;
  font-weight:800;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.creators-grid .creator-xid-list:hover{color:#536fc6;text-decoration:underline;text-underline-offset:3px}
.creators-grid .creator-x-link{display:none!important}
.link-arrow-icon{display:inline-block;width:12px;height:12px;object-fit:contain;vertical-align:-1px;margin-left:6px}
.creator-page-button{display:flex!important;align-items:center;justify-content:center;gap:2px}
.creator-page-button .link-arrow-icon{width:11px;height:11px;margin-left:5px}
.links a,.cafe-links a{display:inline-flex;align-items:center;gap:4px}
.cafe-link-icon{display:inline-block;width:16px;height:16px;object-fit:contain;margin-left:4px}
@media(max-width:720px){
  .creators-grid .creator-card{padding:9px}
  .creators-grid .creator-image-x{width:90%}
  .creators-grid .creator-x-overlay{width:24px;height:24px;right:3px;bottom:3px}
  .creators-grid .x-overlay-icon-img{width:13px;height:13px}
  .creators-grid .creator-xid-list{font-size:9.5px;margin-bottom:5px}
}
.topbar nav a{display:inline-flex;align-items:center;gap:5px}.header-cafe-icon{width:15px;height:15px;object-fit:contain}

/* v20: drop-shaped X badge, slightly smaller creator art, larger dropchan preview */
.creators-grid .creator-image-x{width:88%}
.creators-grid .creator-x-overlay{
  right:-1px;
  bottom:-2px;
  width:34px;
  height:39px;
  border-radius:0;
  background:transparent url('/guide/assets/collab/icons/cmn_parts_drop.svg') center/contain no-repeat;
  box-shadow:none;
  transition:transform .18s ease;
}
.creators-grid .creator-image-x:hover .creator-x-overlay{transform:translateY(4px)}
.creators-grid .x-overlay-icon-img{
  width:15px;
  height:15px;
  filter:brightness(0) invert(1);
}
.creators-grid .creator-dropchan-sample{
  flex-basis:66px;
  width:66px;
  height:66px;
  border-radius:13px;
}
@media(max-width:720px){
  .creators-grid .creator-image-x{width:86%}
  .creators-grid .creator-x-overlay{width:30px;height:34px;right:-1px;bottom:-2px}
  .creators-grid .x-overlay-icon-img{width:13px;height:13px}
  .creators-grid .creator-dropchan-sample{flex-basis:54px;width:54px;height:54px}
}


/* v21: X badge overlaps creator image more clearly */
.creators-grid .creator-x-overlay{right:7px;bottom:7px}
@media(max-width:720px){.creators-grid .creator-x-overlay{right:5px;bottom:5px}}

/* v22: creators without X use the exact same artwork size as creators with X */
.creators-grid .creator-card > .thumb{
  width:88%;
  margin:0 auto;
}
@media(max-width:720px){
  .creators-grid .creator-card > .thumb{width:86%}
}
\n\n/* v26: creator-detail link color harmony + solid xrp.cafe buttons */
.creator-xid,
.creator-profile .links a{
  color:#7087d3;
}
.creator-xid:hover,
.creator-profile .links a:hover{
  color:#536fc6;
}
.creator-profile .links a{
  background:#eef2ff;
  border:1px solid #dfe6fb;
}
.creator-profile .cafe-links{
  border-top:0;
  padding-top:0;
  margin-top:12px;
}
.creator-profile .cafe-links a{
  min-width:150px;
  justify-content:space-between;
  gap:16px;
  padding:11px 16px;
  border:0;
  border-radius:12px;
  background:#6f91f4;
  color:var(--dc-color-paper,#fff);
  box-shadow:none;
}
.creator-profile .cafe-links a:hover{
  background:#6487e9;
  color:var(--dc-color-paper,#fff);
}
.creator-profile .cafe-link-icon{
  width:19px;
  height:19px;
  margin-left:10px;
  filter:brightness(0) invert(1);
}


/* v27 creator detail: Character / Buddy side-by-side */
.creator-related-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start;margin-top:38px}
.creator-related-pair.single{grid-template-columns:1fr}
.creator-related-pair .related{margin-top:0;min-width:0}
.creator-related-pair .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.creator-related-pair.single .mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.creator-related-pair .mini{min-width:0}
@media(max-width:900px){.creator-related-pair{grid-template-columns:1fr}.creator-related-pair .mini-grid,.creator-related-pair.single .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.creator-related-pair .mini-grid,.creator-related-pair.single .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}


/* v28: working sort controls + Special uses dropchan as the primary artwork */
.sortbar button.active{color:#57517f;font-weight:900}
.creator-special-dropchan,.creator-image-static{display:block;width:88%;margin:0 auto;text-decoration:none;position:relative}
.creator-special-dropchan .thumb,.creator-image-static .thumb{width:100%}
.creator-special-dropchan .thumb img{width:100%;height:100%;object-fit:cover;border-radius:0}
.special-creator-card .creator-collab-summary{min-height:58px}
@media(max-width:720px){
  .creator-special-dropchan,.creator-image-static{width:86%}
}


/* v29: rounded Special hero image + ciana original preview */
.creator-special-dropchan .thumb{overflow:hidden;border-radius:18px}
.creator-special-dropchan .thumb img{border-radius:18px}
.original-collab-summary{margin-top:12px}
.original-dropchan-sample{display:flex;align-items:center;justify-content:center}


/* v30: ciana Original uses 2.svg as the main artwork, same presentation as Special. */
.original-main-dropchan .thumb{overflow:hidden;border-radius:18px}
.original-main-dropchan .thumb img{border-radius:18px}
.original-creator-card .creator-collab-summary{min-height:58px}

/* v30: creator category chips are in-page navigation, matching Catalog behavior */
#sectionRoot,.group{scroll-margin-top:82px}
.original-main-dropchan{width:88%;margin:0 auto}
@media(max-width:700px){.original-main-dropchan{width:86%}}

/* v31: Special / Original hero spacing and creator Clothes section */
.special-creator-card .creator-special-dropchan,
.original-creator-card .original-main-dropchan{
  margin-top:12px;
}
.special-creator-card .creator-special-dropchan .thumb,
.original-creator-card .original-main-dropchan .thumb{
  overflow:hidden;
  border-radius:18px;
}
.special-creator-card .creator-special-dropchan .thumb img,
.original-creator-card .original-main-dropchan .thumb img{
  display:block;
  border-radius:18px;
}
.creator-clothes-block{margin-top:28px}
.creator-clothes-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.mini-cloth{cursor:default}
.global-sort-group{margin-top:26px}
@media(max-width:1100px){.creator-clothes-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.creator-clothes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}


/* v32: Special / Original spacing is identical to the card side padding.
   This also fixes the extra gap seen after switching to ABC/CBA sorting. */
.special-creator-card .creator-special-dropchan,
.original-creator-card .original-main-dropchan{
  margin-top:0 !important;
}

/* v32: Special / Original creator-detail artwork stays cleanly rounded. */
.creator-profile .profile-img,
.creator-profile .profile-img-link{
  overflow:hidden;
  border-radius:22px;
}
.creator-profile .profile-img img,
.creator-profile .profile-img-link img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
}


/* v39 creator detail polish */
.creator-profile .creator-xid,
.creator-profile .creator-xid:visited{
  display:block;
  width:100%;
  margin:12px 0 0;
  text-align:center;
  color:#6f91f4;
  text-decoration:none !important;
  font-size:12px;
  font-weight:800;
  line-height:1.5;
}
.creator-profile .creator-xid:hover{
  color:#5f82e8;
  text-decoration:none !important;
  opacity:.88;
}

/* xrp.cafe buttons: same clean button language as the rest of Collab */
.creator-profile .cafe-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
  padding-top:0;
  border-top:0;
}
.creator-profile .cafe-links a,
.creator-profile .cafe-links a:visited{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  min-width:170px;
  min-height:46px;
  gap:18px;
  padding:11px 16px;
  border:0;
  border-radius:12px;
  background:#6f91f4;
  color:var(--dc-color-paper,#fff) !important;
  text-decoration:none !important;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
  box-shadow:none;
}
.creator-profile .cafe-links a span{
  color:inherit;
  text-decoration:none !important;
}
.creator-profile .cafe-links a:hover{
  background:#6487e9;
  color:var(--dc-color-paper,#fff) !important;
  text-decoration:none !important;
}
.creator-profile .cafe-link-icon{
  flex:0 0 auto;
  width:19px;
  height:19px;
  margin-left:0;
  filter:brightness(0) invert(1);
}


/* v40: when an author has more than 3 Characters, put Buddies below. */
.creator-related-pair.stacked{
  display:block;
}
.creator-related-pair.stacked .creator-related-block{
  width:100%;
}
.creator-related-pair.stacked .creator-related-block + .creator-related-block{
  margin-top:28px;
}


/* v42: full-width Character/Buddy sections use four cards per row on desktop. */
@media (min-width:901px){
  .creator-related-pair.single .mini-grid,
  .creator-related-pair.stacked .creator-related-block .mini-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px;
  }
}
/* keep the existing compact two-column mobile layout */
@media (max-width:900px){
  .creator-related-pair.single .mini-grid,
  .creator-related-pair.stacked .creator-related-block .mini-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* v43 Character card navigation */
.creator-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.creator-link::after{
  content:"\e900";
  font-family:'dropchan' !important;
  font-size:.72em;
  line-height:1;
  font-weight:normal;
}


/* v45 unified dropchan-font arrows */
.creator-link{
  display:inline-flex !important;
  align-items:center;
  width:max-content;
  max-width:100%;
  gap:3px;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}
.creator-link::after,
.cardbutton::after,
.portal-link::after,
.icon-arrow-after::after{
  content:"\e900";
  font-family:'dropchan' !important;
  font-size:.72em;
  line-height:1;
  font-weight:normal;
  flex:0 0 auto;
  margin-left:3px;
}
.cardbutton{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}
.portal-link{
  display:inline-flex;
  align-items:center;
  gap:0;
}
.profile-creator-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}
.creator-sub{
  overflow:visible;
}


/* v46: Home title follows Full Catalog; duplicate intro removed in HTML */
.collab-home .hero{display:block;text-align:center;margin-bottom:46px}
.collab-home .hero .eyebrow{font-size:11px;letter-spacing:.16em;color:var(--muted);font-weight:700;margin-bottom:0}
.collab-home .hero h1{font-size:clamp(34px,6vw,54px);margin:8px 0 12px;line-height:1.15;letter-spacing:0}
.collab-home .hero .lead{font-size:14px;color:var(--muted);margin:0 auto;max-width:680px}
.collab-home .portal-grid{margin-top:36px}

/* v46: Buddy catalog gets roomier cards. Creator chips remain filters, not page anchors. */
@media(min-width:1101px){.buddies-page .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
@media(min-width:721px) and (max-width:1100px){.buddies-page .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
.buddies-page .thumb{border-radius:20px}
.buddies-page .cardname{font-size:17px}


/* v47: Buddy Collab page mirrors /catalog/buddy.html */
.buddies-page{
  --bg:var(--dc-color-background,#f8f7ff);
  --paper:var(--dc-color-paper,#fff);
  --text:var(--dc-color-text,#56517f);
  --muted:var(--dc-color-muted,#918cab);
  --line:var(--dc-color-border,#dedbf0);
  --blue-soft:var(--dc-color-soft,#efedff);
  --blue:var(--dc-color-primary,#756bb3);
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  line-height:1.65;
  font-weight:400;
}
.buddies-page .topbar{
  height:auto;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.buddies-page .inner,
.buddies-page .page{
  width:min(1120px,calc(100% - var(--dc-shell-gutter,40px)));
  max-width:none !important;
  margin:auto;
  padding-left:0;
  padding-right:0;
}
.buddies-page .inner{
  min-height:34px;
  height:auto;
}
.buddies-page .brand{
  font-size:13px;
  font-weight:700;
  color:var(--text);
}
.buddies-page .topbar nav{gap:16px}
.buddies-page .topbar nav a{
  font-size:12px;
  color:var(--muted);
  font-weight:400;
}
.buddies-page .page{
  padding-top:24px;
  padding-bottom:96px;
}
.buddies-page .breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 13px;
  font-size:11px;
  color:var(--muted);
}
.buddies-page .breadcrumb a:hover{text-decoration:underline}
.buddies-page .breadcrumb-sep{opacity:.55}
.buddies-page .catalog-kicker{
  margin:0 0 5px;
  font-size:11px;
  letter-spacing:.16em;
  color:var(--muted);
  font-weight:700;
}
.buddies-page .catalog-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-bottom:10px;
}
.buddies-page .catalog-titleline{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
}
.buddies-page .catalog-titleline h1{
  margin:0;
  font-size:clamp(30px,4.5vw,46px);
  line-height:1.15;
  letter-spacing:0;
}
.buddies-page .catalog-trait-count{
  font-size:13px;
  color:var(--muted);
  font-weight:600;
  white-space:nowrap;
}
.buddies-page .catalog-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.buddies-page .search input{
  width:min(300px,42vw);
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--text);
  outline:none;
  font:inherit;
  font-size:13px;
}
.buddies-page .search input:focus{
  border-color:#b8b1dc;
  box-shadow:0 0 0 3px rgba(117,107,179,.08);
}
.buddies-page .category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:0;
  margin:8px 0 34px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--paper);
}
.buddies-page .category-nav .chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  border:0;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}
.buddies-page .category-nav .chip:hover{opacity:.78}
.buddies-page .category-nav .chip.active{
  background:#dcd6ff;
  color:var(--blue);
}
.buddies-page .sort-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:-6px 0 26px;
  font-size:12px;
  color:var(--muted);
}
.buddies-page .sort-links button{
  appearance:none;
  border:0;
  background:none;
  padding:0;
  color:inherit;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.buddies-page .sort-links button:hover,
.buddies-page .sort-links button.active{color:var(--text)}
.buddies-page .sort-links .sep{
  padding:0 10px;
  color:var(--line);
}
.buddies-page .group{margin:0}
.buddies-page .buddy-list-group>h2{
  font-size:18px;
  margin:0 0 16px;
}
.buddies-page .grid,
.buddies-page .buddy-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:15px !important;
  align-items:stretch;
}
.buddies-page .card{
  min-width:0;
  height:100%;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--paper);
  color:var(--text);
}
.buddies-page .thumb-link{
  display:block;
  padding:16px 16px 0;
  overflow:visible;
}
.buddies-page .thumb{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:14px !important;
  background:#f4f2ff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.buddies-page .thumb img,
.collab-home .portal-buddy-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  border-radius:0;
  transform:scale(var(--focus-zoom,1));
  transform-origin:var(--focus-x,50%) var(--focus-y,50%);
}
.buddies-page .cardline{
  margin:10px 16px 5px;
}
.buddies-page .cardname{
  font-size:15px !important;
  line-height:1.24;
  font-weight:700;
  color:var(--text);
}
.buddies-page .pillcount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:2px 8px;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  line-height:1;
}
.buddies-page .creator-sub{
  margin:0 16px 9px;
  min-height:17px;
  font-size:11px;
  color:var(--muted);
  font-weight:600;
}
.buddies-page .cardbutton{
  margin:auto 16px 16px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--dc-color-paper,#fff);
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}
.buddies-page .thumb-creator{display:none}

@media(max-width:1100px){
  .buddies-page .grid,
  .buddies-page .buddy-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:20px !important}
}
@media(max-width:950px){
  .buddies-page .grid,
  .buddies-page .buddy-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
}
@media(max-width:850px){
  .buddies-page .grid,
  .buddies-page .buddy-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important}
}
@media(max-width:650px){
  .buddies-page .topbar{padding:11px 0}
  .buddies-page .page{padding-top:18px}
  .buddies-page .inner,
  .buddies-page .page{width:min(100% - 28px,1120px)}
  .buddies-page .catalog-heading-row{align-items:stretch;flex-direction:column;gap:14px}
  .buddies-page .catalog-controls,
  .buddies-page .search,
  .buddies-page .search input{width:100%}
  .buddies-page .category-nav{gap:6px;margin-bottom:26px;padding:10px}
  .buddies-page .category-nav .chip{min-height:32px;padding:5px 10px;font-size:11px}
  .buddies-page .grid,
  .buddies-page .buddy-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
  .buddies-page .thumb-link{padding:14px 14px 0}
  .buddies-page .cardline{margin-left:14px;margin-right:14px}
  .buddies-page .creator-sub{margin-left:14px;margin-right:14px}
  .buddies-page .cardbutton{margin:0 14px 14px}
}


/* v49: match Full Catalog card thumbnail spacing exactly */
.buddies-page .thumb-link{
  display:block;
  padding:16px 16px 0 !important;
  overflow:visible !important;
  background:transparent !important;
  aspect-ratio:auto !important;
}
.buddies-page .thumb-link .thumb{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:0 !important;
  border-radius:14px !important;
  background:#f4f2ff;
}
.buddies-page .thumb-link .thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  border-radius:0 !important;
}
.buddies-page .thumb-link .focus-thumb img{
  transform:scale(var(--focus-zoom,1));
  transform-origin:var(--focus-x,50%) var(--focus-y,50%);
}
@media(max-width:650px){
  .buddies-page .thumb-link{padding:14px 14px 0 !important}
}


/* v50: Character / Creators use the same Catalog base layout as Buddy */
.collab-catalog-page{
  --bg:var(--dc-color-background,#f8f7ff);
  --paper:var(--dc-color-paper,#fff);
  --text:var(--dc-color-text,#56517f);
  --muted:var(--dc-color-muted,#918cab);
  --line:var(--dc-color-border,#dedbf0);
  --blue-soft:var(--dc-color-soft,#efedff);
  --blue:var(--dc-color-primary,#756bb3);
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  line-height:1.65;
  font-weight:400;
}
.collab-catalog-page .topbar{
  height:auto;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.collab-catalog-page .inner,
.collab-catalog-page .page{
  width:min(1120px,calc(100% - var(--dc-shell-gutter,40px)));
  max-width:none !important;
  margin:auto;
  padding-left:0;
  padding-right:0;
}
.collab-catalog-page .inner{min-height:34px;height:auto}
.collab-catalog-page .brand{font-size:13px;font-weight:700;color:var(--text)}
.collab-catalog-page .topbar nav{gap:16px}
.collab-catalog-page .topbar nav a{font-size:12px;color:var(--muted);font-weight:400}
.collab-catalog-page .page{padding-top:24px;padding-bottom:96px}
.collab-catalog-page .breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 13px;
  font-size:11px;
  color:var(--muted);
}
.collab-catalog-page .breadcrumb a:hover{text-decoration:underline}
.collab-catalog-page .breadcrumb-sep{opacity:.55}
.collab-catalog-page .catalog-kicker{
  margin:0 0 5px;
  font-size:11px;
  letter-spacing:.16em;
  color:var(--muted);
  font-weight:700;
}
.collab-catalog-page .catalog-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-bottom:10px;
}
.collab-catalog-page .catalog-titleline{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
}
.collab-catalog-page .catalog-titleline h1{
  margin:0;
  font-size:clamp(30px,4.5vw,46px);
  line-height:1.15;
}
.collab-catalog-page .catalog-trait-count{
  font-size:13px;
  color:var(--muted);
  font-weight:600;
  white-space:nowrap;
}
.collab-catalog-page .catalog-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.collab-catalog-page .search input{
  width:min(300px,42vw);
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--text);
  outline:none;
  font:inherit;
  font-size:13px;
}
.collab-catalog-page .search input:focus{
  border-color:#b8b1dc;
  box-shadow:0 0 0 3px rgba(117,107,179,.08);
}
.collab-catalog-page .category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:0;
  margin:8px 0 34px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--paper);
}
.collab-catalog-page .category-nav .chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  border:0;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}
.collab-catalog-page .category-nav .chip:hover{opacity:.78}
.collab-catalog-page .category-nav .chip.active{background:#dcd6ff;color:var(--blue)}
.collab-catalog-page .sort-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:-6px 0 26px;
  font-size:12px;
  color:var(--muted);
}
.collab-catalog-page .sort-links button{
  appearance:none;
  border:0;
  background:none;
  padding:0;
  color:inherit;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.collab-catalog-page .sort-links button:hover,
.collab-catalog-page .sort-links button.active{color:var(--text)}
.collab-catalog-page .sort-links .sep{padding:0 10px;color:var(--line)}

/* Character: same card rhythm as Catalog/Buddy */
.characters-page .character-grid{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:15px !important;
}
.characters-page .card{
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--paper);
}
.characters-page .thumb-link{padding:16px 16px 0}
.characters-page .thumb-link .thumb{
  border-radius:14px;
  background:#f4f2ff;
}
.characters-page .cardline{margin:10px 16px 5px}
.characters-page .creator-sub{margin:0 16px 9px}
.characters-page .cardbutton{margin:auto 16px 16px}

/* Creators: Catalog page geometry, creator-specific 4-column cards */
.creators-page .creators-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
.creators-page .creator-card{
  padding:15px;
  border-radius:24px;
  background:var(--paper);
  border:1px solid var(--line);
}
.creators-page .creator-image-x,
.creators-page .creator-image-static{
  width:86%;
  margin-left:auto;
  margin-right:auto;
}
/* Special and Original: top / left / right whitespace are exactly the card padding */
.creators-page .special-creator-card .creator-special-dropchan,
.creators-page .original-creator-card .original-main-dropchan{
  width:100% !important;
  margin:0 !important;
}
.creators-page .special-creator-card .creator-special-dropchan .thumb,
.creators-page .original-creator-card .original-main-dropchan .thumb{
  width:100%;
  margin:0;
}
.creators-page .creator-page-button{
  margin-top:auto;
}

@media(max-width:1100px){
  .characters-page .character-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:20px !important}
  .creators-page .creators-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:950px){
  .characters-page .character-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
}
@media(max-width:850px){
  .characters-page .character-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important}
  .creators-page .creators-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px !important}
}
@media(max-width:650px){
  .collab-catalog-page .topbar{padding:11px 0}
  .collab-catalog-page .page{padding-top:18px}
  .collab-catalog-page .inner,
  .collab-catalog-page .page{width:min(100% - 28px,1120px)}
  .collab-catalog-page .catalog-heading-row{align-items:stretch;flex-direction:column;gap:14px}
  .collab-catalog-page .catalog-controls,
  .collab-catalog-page .search,
  .collab-catalog-page .search input{width:100%}
  .collab-catalog-page .category-nav{gap:6px;margin-bottom:26px;padding:10px}
  .collab-catalog-page .category-nav .chip{min-height:32px;padding:5px 10px;font-size:11px}

  .characters-page .character-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  .characters-page .thumb-link{padding:14px 14px 0}
  .characters-page .cardline{margin-left:14px;margin-right:14px}
  .characters-page .creator-sub{margin-left:14px;margin-right:14px}
  .characters-page .cardbutton{margin:0 14px 14px}

  .creators-page .creator-card{padding:12px}
  /* Normal creator portraits are intentionally smaller on phones */
  .creators-page .creator-image-x,
  .creators-page .creator-image-static{
    width:72% !important;
  }
  /* Special / Original still use the full content width so top and side gaps stay equal */
  .creators-page .special-creator-card .creator-special-dropchan,
  .creators-page .original-creator-card .original-main-dropchan{
    width:100% !important;
    margin:0 !important;
  }
}

/* v51: Collab home aligned with Full Catalog */
.collab-home{background:var(--dc-color-background,#f8f7ff);color:var(--dc-color-text,#56517f);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;line-height:1.65}
.collab-home .topbar{height:auto;padding:13px 0;border-bottom:1px solid var(--dc-color-border,#dedbf0);background:var(--dc-color-paper,#fff)}
.collab-home .topbar .inner{width:min(1120px,calc(100% - var(--dc-shell-gutter,40px)));max-width:none;min-height:34px;padding:0}
.collab-home .brand,.collab-home .topbar a{font-size:13px;color:var(--dc-color-text,#56517f);font-weight:700}
.collab-home .topbar nav{gap:16px}
.collab-home .page{width:min(1120px,calc(100% - var(--dc-shell-gutter,40px)));max-width:none;margin:auto;padding:44px 0 96px}
.collab-home .crumb{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 13px;font-size:11px;color:var(--dc-color-muted,#918cab)}
.collab-home .crumb a{color:var(--dc-color-muted,#918cab)}.collab-home .breadcrumb-sep{opacity:.55}
.collab-home .hero{display:block;text-align:center;margin-bottom:46px}
.collab-home .eyebrow{margin:0;font-size:11px;letter-spacing:.16em;color:var(--dc-color-muted,#918cab);font-weight:700}
.collab-home .hero h1{margin:8px 0 12px;font-size:clamp(34px,6vw,54px);line-height:1.15;letter-spacing:0;color:var(--dc-color-text,#56517f)}
.collab-home .lead{margin:0 auto;max-width:680px;color:var(--dc-color-muted,#918cab);font-size:14px}
.collab-home .portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:0}
.collab-home .portal{min-height:0;justify-content:flex-start;padding:16px 16px 20px;border:1px solid var(--dc-color-border,#dedbf0);border-radius:24px;background:var(--dc-color-paper,#fff);transition:transform .15s ease,border-color .15s ease}
.collab-home .portal:hover{transform:translateY(-2px);border-color:#c7c0e8}
.collab-home .portal-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px}
.collab-home .portal-sample{aspect-ratio:1;overflow:hidden;border-radius:14px;background:#f4f2ff;border:1px solid #ebe8f7;display:flex;align-items:center;justify-content:center}
.collab-home .portal-sample img{display:block;width:100%;height:100%;object-fit:contain}
.collab-home .portal-kicker{margin:0 0 8px;color:var(--dc-color-muted,#918cab);font-size:10px;letter-spacing:.14em;font-weight:700}
.collab-home .portal strong{font-size:19px;line-height:1.4;color:var(--dc-color-text,#56517f)}
.collab-home .portal-link{margin-top:10px!important;color:var(--dc-color-primary,#756bb3)!important;font-size:12px!important;font-weight:700}
html{scroll-behavior:smooth}
.page-top{position:fixed;right:24px;bottom:24px;z-index:50;width:46px;height:46px;border:1px solid var(--dc-color-border,#dedbf0);border-radius:50%;background:var(--dc-color-paper,#fff);color:var(--dc-color-primary,#756bb3);font:700 18px/1 inherit;box-shadow:0 6px 20px rgba(75,71,66,.10);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}
.page-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}.page-top:hover{background:var(--dc-color-soft,#efedff)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.page-top{transition:none}}
@media(max-width:720px){.collab-home .page{width:min(100% - 28px,1120px);padding:32px 0 72px}.collab-home .portal-grid{grid-template-columns:1fr}.collab-home .topbar .inner{width:min(100% - 28px,1120px)}.page-top{right:14px;bottom:14px;width:42px;height:42px}}

/* DROPCHAN COLLAB CARD FIX v1 */
.collab-home .portal-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}
.collab-home .portal{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:0 !important;
  padding:22px 16px 16px !important;
  border:1px solid var(--dc-color-border,#dedbf0) !important;
  border-radius:24px !important;
  background:var(--dc-color-paper,#fff) !important;
}
.collab-home .portal-kicker{
  order:1 !important;
  margin:0 0 7px !important;
}
.collab-home .portal strong{
  order:2 !important;
  display:block !important;
  margin:0 !important;
  min-height:1.5em !important;
}
.collab-home .portal-link{
  order:3 !important;
  display:block !important;
  margin:8px 0 0 !important;
  min-height:1.7em !important;
}
.collab-home .portal-samples{
  order:4 !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  margin-top:auto !important;
  padding-top:20px !important;
  align-items:stretch !important;
}
.collab-home .portal-sample{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #ebe8f7 !important;
  border-radius:14px !important;
  background:#f4f2ff !important;
}
.collab-home .portal-sample img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
}
@media(max-width:720px){
  .collab-home .portal-grid{grid-template-columns:1fr !important;}
  .collab-home .portal{padding:20px 14px 14px !important;}
}

/* DROPCHAN COLLAB HOME FIXED SAMPLES v2 */
.collab-home .portal-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}
.collab-home .portal{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  padding:22px 16px 16px !important;
}
.collab-home .portal-kicker{order:1 !important;margin:0 0 7px !important}
.collab-home .portal strong{order:2 !important;display:block !important;margin:0 !important}
.collab-home .portal-link{order:3 !important;display:block !important;margin:8px 0 0 !important}
.collab-home .portal-samples{
  order:4 !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  margin-top:auto !important;
  padding-top:20px !important;
}
.collab-home .portal-sample{
  position:relative !important;
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  overflow:hidden !important;
  border:1px solid #ebe8f7 !important;
  border-radius:14px !important;
  background:#f4f2ff !important;
}
.collab-home .portal-sample img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
/* Buddy thumbnails intentionally show only the buddy-focused area. */
.collab-home .portal-buddy-crop img{
  object-fit:cover !important;
  transform:scale(1.72) !important;
  transform-origin:50% 34% !important;
}
.collab-home .buddy-3523 img{transform-origin:52% 34% !important}
.collab-home .buddy-1107 img{transform-origin:48% 34% !important}
.collab-home .buddy-98 img{transform-origin:50% 32% !important}

/* Creator card: keep breathing room between representative image area and author-page button. */
.creators-page .creator-collab-summary{
  margin-bottom:16px !important;
}
.creators-page .creator-page-button{
  margin-top:auto !important;
}

/* All collab inner pages follow the same top geometry as the rest of the site. */
.collab-catalog-page .page,
.buddies-page .page,
.characters-page .page,
.creators-page .page,
.collab-home .page{
  width:min(1120px,calc(100% - var(--dc-shell-gutter,40px))) !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-top:44px !important;
}
.collab-catalog-page .site-breadcrumb,
.buddies-page .site-breadcrumb,
.characters-page .site-breadcrumb,
.creators-page .site-breadcrumb,
.collab-home .site-breadcrumb{
  margin:0 0 16px !important;
}
@media(max-width:720px){
  .collab-home .portal-grid{grid-template-columns:1fr !important}
  .collab-catalog-page .page,
  .buddies-page .page,
  .characters-page .page,
  .creators-page .page,
  .collab-home .page{
    width:min(100% - 28px,1120px) !important;
    padding-top:28px !important;
  }
}

/* DROPCHAN COLLAB BUTTON SPACING v4 */
.collab-home .portal{
  padding:30px 24px 18px !important;
}

.collab-home .portal-kicker{
  margin-bottom:10px !important;
}

.collab-home .portal strong{
  margin-bottom:4px !important;
}

.collab-home .portal-link{
  margin-top:11px !important;
}

.collab-home .portal-samples{
  padding-top:24px !important;
}

/* Creator: KEEP the large white card/frame */
.collab-home .portal[href$="creators.html"]{
  border:1px solid var(--dc-color-border,#dedbf0) !important;
  background:var(--dc-color-paper,#fff) !important;
  box-shadow:none !important;
  border-radius:24px !important;
  padding:30px 24px 18px !important;
}

/* Creator: only the individual image boxes lose background/frame */
.collab-home .portal[href$="creators.html"] .portal-sample{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

@media(max-width:720px){
  .collab-home .portal,
  .collab-home .portal[href$="creators.html"]{
    padding:26px 20px 16px !important;
  }
}

/* DROPCHAN COLLAB LABEL + SPACING v5 */

/* Hide the small uppercase labels: CHARACTERS / BUDDIES / CREATORS */
.collab-home .portal-kicker{
  display:none !important;
}

/* Slightly tighten the gap under the main title */
.collab-home .portal strong{
  margin-bottom:0 !important;
}

.collab-home .portal-link{
  margin-top:7px !important;
}

/* Keep the comfortable card padding from v4 */
.collab-home .portal{
  padding:30px 24px 18px !important;
}

.collab-home .portal[href$="creators.html"]{
  border:1px solid var(--dc-color-border,#dedbf0) !important;
  background:var(--dc-color-paper,#fff) !important;
  box-shadow:none !important;
  border-radius:24px !important;
  padding:30px 24px 18px !important;
}

/* Creator thumbnails only: no frame/background */
.collab-home .portal[href$="creators.html"] .portal-sample{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

@media(max-width:720px){
  .collab-home .portal,
  .collab-home .portal[href$="creators.html"]{
    padding:26px 20px 16px !important;
  }
}
