/* Spotify DESIGN.md: compact typography, layered surfaces, pills and circles.
   The requested navigation positions and alternate skin palettes take precedence. */
:root{font-family:"Helvetica Neue",Arial,"Hiragino Sans","Microsoft YaHei","PingFang SC",sans-serif;--radius:8px;--negative:#f3727f;--elevation:0 8px 24px #0005}
:root[data-skin=green]{--accent:#1ed760;--green:var(--accent);--on-accent:#000;--page:#f4f4f4;--surface:#fff;--soft:#eee;--ink:#121212;--muted:#606060;--line:#d0d0d0}
:root[data-theme=dark][data-skin=green]{--page:#121212;--surface:#181818;--soft:#1f1f1f;--ink:#fff;--muted:#b3b3b3;--line:#4d4d4d}
.app{max-width:1320px;padding:0 32px}
.masthead{min-height:88px;padding:20px 0;border-bottom:0;gap:24px}
.brand{gap:12px;font-size:20px;font-weight:700;letter-spacing:0}
:root .brand{color:var(--ink)}.brand-symbol{color:var(--green)}
.brand small{font-size:9px;letter-spacing:2px;font-weight:400}
.header-right{gap:16px}.header-actions{gap:10px}
.preference-field{border:0;border-radius:500px;background:var(--soft);padding:6px 10px;box-shadow:0 0 0 1px var(--line) inset}
.preference-field select{height:24px;font-size:12px}
.preference-field svg{width:16px;height:16px}
.primary-nav{height:64px;border:0;gap:8px;margin-bottom:8px}
.primary-nav .nav-item{height:44px;padding:0 24px;border-radius:9999px;font-size:14px;color:var(--muted);font-weight:400;transition:background .15s,color .15s}
.primary-nav .nav-item:hover{background:var(--soft);color:var(--ink)}
.primary-nav .nav-item.active{background:var(--soft);color:var(--ink);font-weight:700}
.primary-nav .nav-item.active:after{display:none}
.page-heading{padding:24px 0;gap:16px}
:root h1,:root h2,:root h3{font-family:inherit;letter-spacing:0}
h1{font-size:24px;font-weight:700;line-height:1.3}h2{font-size:18px;font-weight:600;line-height:1.3}
.eyebrow{font-size:10px;margin-bottom:8px;letter-spacing:1.4px}.subtitle{font-size:13px;margin-top:8px;line-height:1.5}
:root .primary,:root .secondary{border-radius:500px;min-height:44px;padding:0 20px;font-size:13px;font-weight:700;letter-spacing:.14px}
.primary{color:var(--on-accent);box-shadow:none}.primary:hover{background:var(--green);filter:brightness(1.08)}
.secondary{background:var(--soft);color:var(--ink);border:1px solid var(--line)}
.secondary:hover{background:color-mix(in srgb,var(--soft) 85%,var(--ink))}
.header-actions .secondary{font-size:12px;height:36px;min-height:36px;padding:0 16px}
.text-button{font-weight:600;color:var(--muted);font-size:12px}.text-button:hover{color:var(--ink)}
.points-balance{color:var(--muted)}.points-balance strong{font-size:16px;color:var(--ink)}
.icon-button,.item-tools .icon-button{border-radius:50%;background:var(--soft);color:var(--ink);border:0;box-shadow:none}
.avatar-button{border:0;background:var(--soft);width:40px;height:40px}
.studio-layout{gap:24px;grid-template-columns:460px minmax(0,1fr)}
.photo-viewer{border-radius:12px;background:var(--surface);overflow:hidden}
.viewer-2d{border:0;border-radius:8px;height:574px}
.photo-stage-actions{margin:0;padding:16px 12px;gap:8px}
.photo-stage-actions .secondary{font-size:12px;height:38px;min-height:38px;padding:0 14px}
.closet-panel{padding:24px;background:var(--surface);border-radius:12px}
.section-line h2{font-size:18px;font-weight:700}.section-line .count{font-size:12px}
.categories{padding:20px 0;gap:8px}.chip{padding:9px 16px;font-size:12px;font-weight:600}
.chip.active{background:var(--ink);color:var(--page)}
.wardrobe-grid{gap:20px 12px}.item-art{height:148px;border:0;border-radius:8px;background:var(--soft)}
.item-art>img{padding:8px}.item-card h3{font-size:12px;font-weight:700;margin-top:12px;line-height:1.5}
.item-meta{font-size:10px;line-height:1.5}.item-tools{top:8px;right:8px;gap:6px}.item-tools .icon-button{width:30px;height:30px}
.item-card.selected .item-art{border:2px solid var(--green)}
.outfit-strip{margin-top:24px;padding-top:20px;border-color:color-mix(in srgb,var(--line) 50%,transparent)}
.outfit-strip .section-line h3{font-size:13px;font-weight:600}.outfit-tag{border-radius:500px;padding:7px 12px}
.prototype-note{font-size:11px;line-height:1.5;margin-top:20px}.desktop-footer{padding:24px 0;font-size:9px}
.collection-grid{gap:24px 16px}.collection-grid .item-art{height:192px}
.look-card,.profile-settings{background:var(--surface);border-radius:12px;padding:20px}
.look-image{border-radius:8px}.look-card h3{font-weight:700}.profile-settings{padding:24px}
.search,.admin-search{border:0;border-radius:500px;background:var(--soft);box-shadow:0 1px 0 var(--page),0 0 0 1px var(--line) inset}
.search{padding:0 16px}.field input:not([type=color]),.field select,.field textarea{background:var(--soft);border:0;box-shadow:0 0 0 1px var(--line) inset;border-radius:8px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--ink);outline-offset:2px}
dialog{border:0;border-radius:12px;background:var(--surface);box-shadow:0 8px 24px #0008}
.modal-heading h2{font-size:24px;font-weight:700}.modal-intro{font-size:12px;line-height:1.5}
.upload-zone{border-radius:8px}.validation{color:var(--negative)}
.admin-sidebar{background:var(--surface);border-radius:12px}.admin-sidebar button{border-radius:500px;font-size:12px}
.admin-card{border:0;border-radius:8px;background:var(--surface)}.admin-card h3{font-size:16px;font-weight:700}
.stat strong{font-family:inherit;font-size:28px;font-weight:700}.admin-table{font-size:12px}
.cover-copy h1{font-family:inherit;font-size:48px;font-weight:700;line-height:1.15;letter-spacing:-1px}
.cover-art{border:0;border-radius:12px}.cover-art-note{font-family:inherit;font-size:24px;font-weight:700;line-height:1.3}
.comparison-label{border-radius:500px;font-weight:600}
@media(max-width:1100px){.app{padding:0 24px}.header-right{gap:12px}.site-settings{gap:6px}.preference-field{padding:4px 8px}.preference-field select{font-size:11px}.studio-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.closet-panel{padding:20px}}
@media(max-width:768px){.primary-nav .nav-item{padding:0 16px;font-size:12px}.closet-panel{padding:16px}.wardrobe-grid{gap:16px 10px}}
@media(max-width:680px){
 .app{padding:0 16px}.masthead{padding:16px 0;gap:16px}.header-right{gap:12px}.site-settings{gap:5px}
 .preference-field{padding:4px 6px}.preference-field select{font-size:10px}.preference-field svg{width:13px;height:13px}
 .header-actions{gap:8px}.header-actions .secondary{min-height:32px;height:32px;font-size:11px;padding:0 12px}
 .primary-nav{height:64px;gap:4px;margin:0}.primary-nav .nav-item{flex:1;min-width:0;flex-shrink:1;height:56px;padding:8px 4px;font-size:11px;gap:4px;text-align:center;overflow-wrap:anywhere;line-height:1.2}
 .page-heading{padding:24px 0;gap:16px;flex-wrap:wrap;align-items:flex-start}.page-heading>div:first-child{flex:1 1 100%}h1{font-size:24px}.heading-action{gap:8px;justify-content:flex-start}
 .heading-action .primary,.heading-action .secondary{font-size:11px;padding:0 12px;min-height:38px;height:38px}
 .viewer-2d{height:470px}.photo-stage-actions{padding:12px 8px;gap:6px}.photo-stage-actions .secondary{font-size:10px;min-height:36px;height:36px;padding:0 10px}
 .closet-panel{padding:16px}.categories{margin-right:-16px;padding-right:16px}.item-art{height:128px}
 .item-card h3{font-size:11px}.item-tools .icon-button{width:27px;height:27px}.item-tools{gap:4px}
 .profile-settings{padding:20px}.look-card{padding:12px}.cover-copy h1{font-size:40px}.modal-heading h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.primary-nav .nav-item{transition:none}}
