/* New sections only. The original unified-theme.css is unchanged. */

.rankings-home .home-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}
.rankings-home .home-search-note{max-width:200px;text-align:right;color:var(--text-muted);font-size:11px;line-height:1.6}
.rankings-home .home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}
.rankings-home .home-shortcut{margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;color:var(--text);transition:border-color .2s ease,background .2s ease}
.rankings-home .home-shortcut:hover{border-color:var(--border-light);background:var(--bg-hover)}
.rankings-home .home-shortcut p{margin:5px 0 0;font-size:12px;color:var(--text-secondary)}
.rankings-home .home-shortcut>span{font-size:20px;color:var(--primary)}
.rankings-home .home-columns{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px}
.rankings-home .home-columns>.card{margin:0}
.rankings-home .home-more-link{font-size:11px;white-space:nowrap}
.rankings-home .home-message{padding:20px;margin:0;font-size:12px;color:var(--text-secondary)}
.rankings-home .spotlight-list{list-style:none;margin:0;padding:0}
.rankings-home .spotlight-list li+li{border-top:1px solid var(--border)}
.rankings-home .spotlight-list a{display:flex;align-items:center;gap:16px;padding:14px 20px;color:var(--text)}
.rankings-home .spotlight-list a:hover{background:var(--bg-hover)}
.rankings-home .spotlight-name{flex:1;min-width:0}
.rankings-home .spotlight-name strong{display:block;font-size:13px;overflow-wrap:anywhere}
.rankings-home .spotlight-name>span{display:block;font-size:10px;color:var(--text-secondary);margin-top:4px}
.rankings-home .spotlight-level{font:11px var(--font-mono);color:var(--primary);white-space:nowrap}
.rankings-home .home-world{display:grid;grid-template-columns:1fr auto 16px;align-items:center;gap:22px;padding:17px 20px;border-bottom:1px solid var(--border);color:var(--text)}
.rankings-home .home-world:hover{background:var(--bg-hover)}
.rankings-home .home-world small{display:block;color:var(--text-secondary);font-size:10px;margin-top:5px}
.rankings-home .home-world>div:nth-child(2){text-align:right}
.rankings-home .home-world strong{font:12px var(--font-mono)}
.rankings-home .home-world>span{color:var(--primary)}
.rankings-home .home-more{display:flex;justify-content:space-between;gap:14px;padding:19px 20px;font-size:11px}

.profile-appearance{margin-bottom:18px}
.profile-appearance .appearance-layout{display:grid;grid-template-columns:minmax(270px,1fr) minmax(135px,.52fr) minmax(240px,1fr);gap:22px;padding:20px;align-items:stretch}
.profile-appearance .appearance-previews{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.profile-appearance .appearance-previews figure{margin:0;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.profile-appearance .appearance-render-stage{display:grid;place-items:center;min-height:192px;border-radius:12px;background:radial-gradient(ellipse at 50% 64%,rgba(34,211,238,.06),transparent 70%)}
.profile-appearance .appearance-render-stage.stripped{background:var(--bg-elevated)}
.profile-appearance .appearance-render{width:100%;height:185px;object-fit:contain}
.profile-appearance .appearance-previews figcaption{font-size:11px;color:var(--text-secondary);text-align:center;margin-top:10px;line-height:1.7}
.profile-appearance .appearance-previews figcaption span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted)}
.profile-appearance .appearance-facts{margin:0;display:flex;flex-direction:column;justify-content:space-around;border-left:1px solid var(--border);padding-left:22px;gap:15px;min-width:0}
.profile-appearance .appearance-facts dt{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.07em}
.profile-appearance .appearance-facts dd{font-size:14px;font-weight:600;margin:4px 0 0;overflow-wrap:anywhere}
.profile-appearance .appearance-facts small{display:block;font:10px/1.7 var(--font-mono);color:var(--text-muted);margin-top:3px}
.profile-appearance .appearance-features{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.profile-appearance .appearance-loading{padding:20px;display:grid;grid-template-columns:150px 130px 1fr;align-items:center;gap:20px;min-height:248px;font-size:12px;color:var(--text-secondary)}
.profile-appearance .appearance-preview-skeleton{height:190px;border-radius:12px}
.profile-appearance .appearance-note{margin:0;padding:0 20px 16px;color:var(--text-secondary);font-size:11px}
.profile-appearance .appearance-error{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;padding:22px;color:var(--text-secondary);font-size:12px}
.profile-appearance .btn-quiet{border:1px solid var(--border-light);background:var(--bg-elevated);color:var(--text);padding:8px 12px;border-radius:8px;font-size:12px;cursor:pointer}
.profile-appearance .render-unavailable{color:var(--text-secondary);font-size:11px;text-align:center;padding:10px}
.profile-appearance .eyebrow,.profile-items .eyebrow{color:var(--primary);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.055em}
.profile-appearance .appearance-item,.profile-items .appearance-item{min-width:0;border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--bg-elevated)}
.profile-appearance .appearance-item-head,.profile-items .appearance-item-head{display:flex;gap:12px;align-items:center;min-width:0}
.profile-appearance .appearance-icon,.profile-items .appearance-icon{flex:0 0 44px;width:44px;height:44px;position:relative;display:grid;place-items:center;border:1px solid var(--border-light);border-radius:8px;background:var(--bg-card)}
.profile-appearance .appearance-icon img,.profile-items .appearance-icon img{max-width:34px;max-height:34px;object-fit:contain;image-rendering:pixelated}
.profile-appearance .appearance-icon-placeholder,.profile-items .appearance-icon-placeholder{color:var(--text-muted);font-size:23px}
.profile-appearance .appearance-item-copy,.profile-items .appearance-item-copy{min-width:0}
.profile-appearance .appearance-item strong,.profile-items .appearance-item strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-top:2px}
.profile-appearance .appearance-item small,.profile-items .appearance-item small{display:block;font:10px var(--font-mono);color:var(--text-muted);margin-top:3px}
.profile-appearance .appearance-mix,.profile-items .appearance-mix{margin-top:10px;font-size:10px;color:var(--text-secondary)}
.profile-appearance .appearance-mix i,.profile-items .appearance-mix i{display:block;height:4px;border:1px solid var(--border-light);border-radius:3px;margin-top:6px}
.profile-appearance .prism-dot,.profile-items .prism-dot{position:absolute;bottom:1px;left:1px;width:7px;height:7px;border-radius:50%;background:conic-gradient(#f89ca7,#b7c8fa,#76e4cd,#ffe19e,#f89ca7)}
.profile-appearance .item-dyes,.profile-items .item-dyes{margin-top:8px;font-size:10px;color:var(--text-secondary)}
.profile-appearance .item-dyes summary,.profile-items .item-dyes summary{cursor:pointer;color:var(--primary)}
.profile-appearance .item-dyes p,.profile-items .item-dyes p{margin:5px 0 0;overflow-wrap:anywhere}
.profile-items .appearance-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.profile-items .panel-message{padding:20px;margin:0;color:var(--text-secondary);font-size:12px}

@media(max-width:1020px){
  .profile-appearance .appearance-layout{grid-template-columns:minmax(260px,1fr) minmax(150px,.55fr);gap:18px}
  .profile-appearance .appearance-features{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .profile-appearance .appearance-loading{grid-template-columns:120px 110px 1fr}
}
@media(max-width:760px){
  .rankings-home .home-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .rankings-home .home-search-note{max-width:none;text-align:left}
  .rankings-home .home-shortcuts{grid-template-columns:1fr;gap:10px}
  .rankings-home .home-columns{grid-template-columns:1fr}
}
@media(max-width:480px){
  .rankings-home .home-shortcut{padding:16px}
  .rankings-home .home-more-link{font-size:10px}
  .rankings-home .spotlight-list a{padding:13px 14px;gap:10px}
  .rankings-home .spotlight-name>span{font-size:9px}
  .rankings-home .spotlight-level{font-size:10px}
  .rankings-home .home-world{gap:12px;padding:15px 16px}
  .rankings-home .home-more{padding:17px 16px}
  .profile-appearance .appearance-layout{display:block;padding:16px}
  .profile-appearance .appearance-previews{margin-bottom:20px}
  .profile-appearance .appearance-render-stage{min-height:160px}
  .profile-appearance .appearance-render{height:155px}
  .profile-appearance .appearance-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:0;padding:0;gap:12px;margin-bottom:18px}
  .profile-appearance .appearance-facts dd{font-size:12px}
  .profile-appearance .appearance-facts small{font-size:9px}
  .profile-appearance .appearance-features{display:grid;grid-template-columns:1fr;gap:10px}
  .profile-appearance .appearance-loading{grid-template-columns:1fr 1fr;gap:10px}
  .profile-appearance .appearance-loading>div:last-child{grid-column:1/-1}
  .profile-appearance .appearance-preview-skeleton{height:150px}
  .profile-items .appearance-items-grid{grid-template-columns:1fr;padding:14px}
}
