← back to Whatsmystyle
public/css/app.css
1050 lines
/* WhatsMyStyle — large-pill, optometrist-inspired UI
Design notes:
- High-contrast, generous touch targets (every pill ≥ 56px tall)
- One question / one decision per screen
- Cards float — no boxes-in-boxes
*/
:root {
/* APCA-tuned: --ink on --paper = Lc 95, --accent on --paper = Lc 67 (both pass >=60 for body) */
--ink: #0b0b0c;
--ink-2: #2a2a2e;
--paper: #fafaf7;
--paper-2: #f1efea;
--accent: #a82d20; /* darkened from #c0392b — APCA Lc 70 on paper */
--accent-2: #d65a40;
--ok: #155a3b; /* darkened — APCA Lc 78 on paper */
--line: rgba(0,0,0,.12);
--shadow: 0 8px 24px rgba(0,0,0,.08);
--radius: 22px;
--max: 1180px;
--focus: #0061d6;
--font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
--font-body: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', Helvetica, Arial, sans-serif;
}
/* respect users who hate motion */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
/* focus-visible — keyboard users get a clear ring; mouse users don't */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill:focus-visible { outline-offset: 4px; }
/* honor forced-colors (Windows high contrast) */
@media (forced-colors: active) {
.pill, .card, .conn { border: 1px solid CanvasText; }
.pick-tag { background: CanvasText; color: Canvas; }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
/* topbar */
.topbar {
position: sticky; top: 0; z-index: 50;
display: flex; align-items: center; justify-content: space-between;
padding: 16px 24px;
background: var(--paper); border-bottom: 1px solid var(--line);
}
.logo {
font-family: var(--font-display); font-weight: 600; font-size: 22px;
background: none; border: 0; padding: 0; color: var(--ink);
letter-spacing: .5px;
}
.logo .bullet { margin: 0 6px; color: var(--accent); }
.logo em { font-style: italic; font-weight: 400; opacity: .55; font-size: 14px; }
.hamburger {
width: 44px; height: 44px; display: inline-flex; flex-direction: column;
align-items: center; justify-content: center; gap: 4px;
background: transparent; border: 1px solid var(--line); border-radius: 12px;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu {
position: fixed; top: 64px; right: 16px; z-index: 49;
background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
display: flex; flex-direction: column; min-width: 220px; box-shadow: var(--shadow);
overflow: hidden;
}
.menu a { padding: 14px 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }
.menu a:hover { background: var(--paper-2); }
/* screens */
main { max-width: var(--max); margin: 0 auto; padding: 28px 22px 80px; }
.screen { animation: fade .25s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; margin: 16px 0 8px; letter-spacing: .3px; }
.muted { color: #777; }
/* onboarding */
.progress { height: 4px; background: var(--paper-2); border-radius: 8px; margin-bottom: 24px; overflow: hidden; }
.bar { height: 100%; background: var(--accent); width: 0%; transition: width .35s ease; }
#onb-q { font-family: var(--font-display); font-size: clamp(28px, 5vw, 48px); line-height: 1.15; margin: 22px 0 30px; }
.pills { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pill {
background: var(--paper);
border: 1.5px solid var(--ink); color: var(--ink);
padding: 22px 26px; border-radius: 999px;
font-size: 18px; font-weight: 500;
text-align: left;
transition: transform .12s ease, background .12s, color .12s;
min-height: 64px;
}
.pill:hover, .pill:focus-visible { background: var(--ink); color: var(--paper); transform: translateY(-1px); outline: 0; }
.pill.illus { display: flex; align-items: center; gap: 14px; }
.pill .swatch { width: 28px; height: 28px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.onb-foot { display: flex; justify-content: space-between; margin-top: 36px; gap: 12px; }
.ghost { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; color: var(--ink-2); }
.ghost.wide { width: 100%; padding: 18px; font-size: 16px; }
/* duel */
.duel-question { font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); text-align: center; margin: 12px 0 24px; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.card {
background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
padding: 0; overflow: hidden; text-align: left; position: relative;
transition: transform .15s, box-shadow .15s, border-color .15s;
display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink); }
/* Tick 25: per Steve's standing rule feedback_chip_image_uniform_size —
every DW card/chip/thumb gets aspect-ratio 1/1.15 + object-fit cover so
the grid is a uniform lattice regardless of source image dimensions. */
.card img { width: 100%; aspect-ratio: 1/1.15; object-fit: cover; background: var(--paper-2); display: block; }
.card .meta { padding: 16px 18px 20px; }
.card .title { font-weight: 600; }
.card .brand { color: #777; font-size: 14px; margin-top: 4px; }
.card .price { margin-top: 8px; font-variant-numeric: tabular-nums; }
.pick-tag {
position: absolute; top: 12px; left: 12px;
width: 36px; height: 36px; border-radius: 999px;
background: var(--ink); color: var(--paper);
display: grid; place-items: center; font-weight: 700;
}
.vs { display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; opacity: .5; }
.duel-actions { margin: 18px 0; }
.kb-hint {
display: inline-flex; align-items: center; gap: 6px;
font-size: 12px; color: #888; padding: 6px 14px;
background: var(--paper-2); border-radius: 999px;
margin: 0 0 12px; transition: opacity 0.6s ease;
}
.kb-hint kbd {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px; padding: 1px 6px; border: 1px solid var(--line);
border-bottom-width: 2px; border-radius: 4px; background: #fff;
color: var(--ink); font-weight: 600;
}
.kb-hint.is-fading { opacity: 0; }
.bulk-progress {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
padding: 8px 12px; margin: 8px 0; background: var(--paper-2);
border-radius: 8px; font-size: 12px;
}
.bulk-progress .dot {
width: 10px; height: 10px; border-radius: 999px;
background: #d8d3c8; transition: background 0.4s ease, transform 0.3s ease;
}
.bulk-progress .dot.is-done {
background: #2ea44f; transform: scale(1.1);
}
.bulk-progress .dot-progress-label {
margin-left: auto; color: #707070; font-variant-numeric: tabular-nums;
}
.bulk-progress .bulk-progress-close {
background: transparent; border: 0; color: #999; cursor: pointer;
font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 4px;
font-family: inherit;
}
.bulk-progress .bulk-progress-close:hover { color: #1d1d1f; background: rgba(0,0,0,.05); }
.bulk-progress.is-dismissed { opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.recs-empty {
text-align: center; padding: 40px 24px; margin: 24px 0;
background: var(--paper-2); border-radius: 16px; border: 1px dashed var(--line);
}
.recs-empty p { margin: 0 0 16px; }
.embed-status-pill {
display: inline-flex; align-items: center; gap: 10px;
font-size: 12px; color: #707070; padding: 6px 12px;
background: var(--paper-2); border-radius: 999px;
margin: 6px 0 14px; font-variant-numeric: tabular-nums;
}
.embed-status-pill .embed-status-bar {
width: 80px; height: 4px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden;
}
.embed-status-pill .embed-status-fill {
height: 100%; background: var(--ok, #2ea44f); width: 0%; transition: width .4s ease;
}
@media (hover: none) and (pointer: coarse) {
.kb-hint { display: none !important; }
}
.taste-meter { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: #777; font-size: 14px; }
.taste-meter .meter { flex: 1; height: 6px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.taste-meter .meter-fill { height: 100%; background: var(--ok); width: 0%; transition: width .4s ease; }
@media (max-width: 760px) {
.duel { grid-template-columns: 1fr; }
.vs { padding: 4px 0; }
}
/* recommendations grid */
.grid-controls { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.grid-controls label { display: inline-flex; gap: 8px; align-items: center; color: #555; font-size: 14px; }
.grid-controls select, .grid-controls input { font: inherit; }
.recs-controls { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.grid { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(var(--card-min, 220px), 1fr)); }
.grid .card img { aspect-ratio: 1/1.15; }
/* connections */
.connect-list { display: grid; gap: 12px; margin: 18px 0; }
.conn {
text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
padding: 18px 20px; cursor: pointer;
transition: border-color .15s, background .15s;
}
.conn:hover { border-color: var(--ink); background: var(--paper-2); }
.conn strong { display: block; font-size: 17px; }
.conn small { color: #777; }
/* time-travel */
.tt-step { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.tt-step h3 { margin: 0 0 12px; font-weight: 600; }
.tt-closet-pick { outline: 3px solid var(--accent); outline-offset: 2px; }
/* tryon button on cards */
.card .tryon-btn {
position: absolute; bottom: 12px; right: 12px;
background: var(--ink); color: var(--paper);
border: 0; border-radius: 999px; padding: 8px 14px;
font-size: 13px; font-weight: 600;
opacity: 0; transition: opacity .15s;
}
.card:hover .tryon-btn, .card:focus-within .tryon-btn { opacity: 1; }
/* tryon result preview */
.tryon-result { margin-top: 14px; }
.tryon-result img { max-width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.tryon-pending { padding: 14px; background: var(--paper-2); border-radius: 14px; color: #555; }
/* /about pitch page */
.pitch-hero { padding: 60px 0 30px; text-align: center; }
.pitch-hero h1 { font-family: var(--font-display); font-size: clamp(48px, 8vw, 88px); font-weight: 600; margin: 0 0 16px; letter-spacing: -0.02em; }
.pitch-sub { font-size: 20px; line-height: 1.5; max-width: 720px; margin: 0 auto; color: var(--ink-2); }
.pitch-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 40px 0; }
.pitch-feats article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.pitch-feats h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 0 0 12px; }
.pitch-privacy { padding: 26px; border-left: 4px solid var(--accent); background: var(--paper-2); border-radius: 0 18px 18px 0; margin: 30px 0; }
.pitch-privacy h3 { margin: 0 0 8px; }
.pitch-privacy a { color: var(--accent); font-weight: 600; }
.pitch-waitlist { text-align: center; padding: 40px 0; }
.pitch-waitlist h3 { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.pitch-waitlist form { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pitch-waitlist input { padding: 14px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 16px; min-width: 260px; }
.pitch-waitlist button { padding: 14px 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 600; cursor: pointer; }
/* Studio — photo-centric 3-column layout */
.studio-layout { display: grid; grid-template-columns: 200px 1fr 260px; gap: 18px; margin-top: 18px; }
@media (max-width: 980px) { .studio-layout { grid-template-columns: 1fr; } }
.studio-left, .studio-right { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.studio-left h3, .studio-right h3, .studio-mid h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.studio-photo-list { display: grid; gap: 8px; }
.studio-photo-list button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--paper-2); cursor: pointer; overflow: hidden; aspect-ratio: 3/4; }
.studio-photo-list button.sel { border-color: var(--accent); }
.studio-photo-list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-current { aspect-ratio: 3/4; background: var(--paper-2); border-radius: 12px; overflow: hidden; }
.studio-current img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-mid { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.studio-result { min-height: 360px; display: grid; place-items: center; background: var(--paper-2); border-radius: 14px; padding: 14px; }
.studio-result img { max-width: 100%; max-height: 540px; border-radius: 10px; }
.studio-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.section-btn { padding: 10px 12px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; cursor: pointer; }
.section-btn.active { background: var(--ink); color: var(--paper); }
.section-btn:hover { transform: translateY(-1px); }
.studio-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 480px; overflow-y: auto; padding-top: 6px; }
.studio-picker button { padding: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; overflow: hidden; }
.studio-picker img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.studio-picker .label { padding: 4px 6px; font-size: 11px; text-align: center; }
.studio-history-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; }
.studio-history-strip .h-tile { flex: 0 0 140px; aspect-ratio: 3/4; background: var(--paper-2); border-radius: 10px; overflow: hidden; scroll-snap-align: start; position: relative; }
.studio-history-strip .h-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-history-strip .h-tile .h-cat { position: absolute; bottom: 4px; left: 4px; right: 4px; background: rgba(0,0,0,.65); color: var(--paper); padding: 3px 6px; border-radius: 6px; font-size: 10px; text-align: center; }
.studio-mid-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 10px; }
.studio-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.studio-tools button.active { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.studio-result.extracting { cursor: crosshair; position: relative; }
.studio-result.extracting img { pointer-events: none; user-select: none; }
.studio-result .extract-rect { position: absolute; border: 2px solid var(--accent); background: rgba(192,57,43,.18); pointer-events: none; }
/* live puppet (Adobe Character Animator pass-through) */
.live-wrap { display: grid; gap: 14px; }
.live-wrap video { width: 100%; max-width: 720px; aspect-ratio: 16/9; background: #000; border-radius: 18px; transform: scaleX(-1); }
.live-wrap canvas { display: none; }
.live-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.live-controls select, .live-controls button { padding: 10px 14px; font-size: 14px; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; }
.live-controls button:disabled { opacity: .4; cursor: not-allowed; }
.live-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.live-tip { padding: 16px 18px; background: var(--paper-2); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; font-size: 14px; line-height: 1.6; }
.live-tip ol { margin: 8px 0 0 18px; padding: 0; }
.live-tip a { color: var(--accent); }
/* picture-in-picture overlay on duel */
#duel-pip {
position: fixed; right: 22px; bottom: 22px; z-index: 60;
width: 220px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
box-shadow: 0 10px 32px rgba(0,0,0,.18); background: #000;
border: 2px solid var(--paper);
}
#duel-pip video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
/* duel hero strip — Gucci anatomy: huge horizontal image above the wordmark */
.duel-hero {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 6px;
height: clamp(160px, 22vh, 280px);
margin: 0 0 22px;
border-radius: 18px;
overflow: hidden;
}
.duel-hero .hero-cell { background-size: cover; background-position: center; background-color: var(--paper-2); }
@media (max-width: 640px) { .duel-hero { grid-template-columns: repeat(3, 1fr); height: clamp(120px, 18vh, 200px); } .duel-hero .hero-cell:nth-child(n+4) { display: none; } }
/* taste timeline — stacked sparklines of top-5 dims over snapshots */
.taste-timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.taste-timeline-row .label { font-size: 13px; text-transform: capitalize; color: var(--ink-2); }
.taste-timeline-row svg { width: 100%; height: 28px; }
.taste-timeline-row .spark { stroke: var(--ok); stroke-width: 2; fill: none; }
.taste-timeline-row .spark.neg { stroke: var(--accent); }
.taste-timeline-row .zero { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
/* taste visualizer */
.taste-bar { display: grid; grid-template-columns: 180px 1fr 60px; align-items: center; gap: 12px; padding: 8px 0; }
.taste-bar .label { font-size: 14px; text-transform: capitalize; }
.taste-bar .track { background: var(--paper-2); border-radius: 999px; height: 12px; position: relative; overflow: hidden; }
.taste-bar .fill { position: absolute; top: 0; bottom: 0; left: 50%; background: var(--ok); border-radius: 999px; transition: width .4s; }
.taste-bar .fill.neg { background: var(--accent); transform: translateX(-100%); }
.taste-bar .val { font-variant-numeric: tabular-nums; font-size: 14px; text-align: right; color: var(--ink-2); }
/* time-travel demo */
.tt-demos { display: grid; gap: 22px; margin: 22px 0; }
.tt-demo-card { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.tt-demo-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 14px; }
.ba-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.ba-pair figure { margin: 0; }
.ba-pair img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; background: var(--paper-2); }
.ba-pair figcaption { font-size: 13px; color: #777; margin-top: 6px; text-align: center; }
.ba-pair .arrow { font-size: 32px; opacity: .35; }
@media (max-width: 600px) { .ba-pair { grid-template-columns: 1fr; } .ba-pair .arrow { transform: rotate(90deg); } }
/* debates */
.debate { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); margin-bottom: 14px; }
.debate h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 22px; }
.debate .verdict { font-size: 16px; line-height: 1.5; padding: 12px 14px; background: var(--paper-2); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.debate details { margin-top: 12px; }
.debate details summary { cursor: pointer; color: var(--ink-2); }
.debate pre { white-space: pre-wrap; font: inherit; background: var(--paper-2); padding: 14px; border-radius: 10px; margin-top: 8px; }
.debate .small { font-size: 12px; margin-top: 8px; }
/* outfit-builder */
.outfit-card { padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); margin-bottom: 16px; }
.outfit-card h4 { margin: 0 0 12px; font-family: var(--font-display); font-size: 22px; }
.outfit-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.outfit-slots .slot { padding: 8px; border-radius: 14px; background: var(--paper-2); text-align: center; }
.outfit-slots .slot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: white; }
.outfit-slots .slot .cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #777; margin-top: 6px; }
.outfit-slots .slot .name { font-size: 12px; font-weight: 600; }
.outfit-card .pick-this { width: 100%; padding: 12px; margin-top: 12px; border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 600; cursor: pointer; }
.outfit-card.picked { border-color: var(--ok); border-width: 2px; }
.outfit-card.picked .pick-this { background: var(--ok); }
/* skip link — keyboard users land here first */
.skip-link {
position: absolute; left: -9999px; top: 12px;
background: var(--ink); color: var(--paper);
padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { left: 12px; }
/* footer + privacy */
.footer { max-width: var(--max); margin: 0 auto; padding: 32px 22px 60px; color: #555; font-size: 14px; }
.footer a, .footer .link-btn { color: #555; text-decoration: underline; background: transparent; border: 0; cursor: pointer; padding: 0; font: inherit; }
.footer a:hover, .footer .link-btn:hover { color: var(--ink); }
.plain { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.plain li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; line-height: 1.5; background: var(--paper); }
/* sustainability badge */
.sustain {
display: inline-flex; align-items: center; gap: 4px;
background: var(--ok); color: var(--paper);
font-size: 12px; font-weight: 600;
padding: 3px 8px; border-radius: 999px;
margin-left: 6px;
}
/* avatar upload — drag-drop + thumbs + counter pill + GDrive */
.dropzone {
margin: 18px 0 12px;
padding: 36px 22px;
border: 2px dashed var(--ink);
border-radius: var(--radius);
background: var(--paper);
text-align: center;
cursor: pointer;
transition: background .15s, border-color .15s, transform .12s;
}
.dropzone:hover, .dropzone:focus-visible { background: var(--paper-2); transform: translateY(-1px); outline: 0; }
.dropzone.dragover { background: var(--paper-2); border-color: var(--accent); border-style: solid; }
.dropzone .dz-icon { font-size: 38px; line-height: 1; margin-bottom: 10px; opacity: .55; }
.dropzone .dz-headline { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.dropzone .dz-sub { font-size: 14px; }
.avatar-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.avatar-actions .pill { padding: 14px 22px; min-height: 0; font-size: 15px; }
.avatar-actions .pill:disabled { opacity: .35; cursor: not-allowed; background: var(--paper); color: var(--ink); }
.counter-pill {
display: inline-flex; align-items: center;
padding: 8px 14px; border-radius: 999px;
font-size: 13px; font-weight: 600;
font-variant-numeric: tabular-nums;
border: 1px solid var(--line);
}
.counter-empty { background: var(--paper-2); color: #777; }
.counter-ok { background: var(--ok); color: var(--paper); border-color: var(--ok); }
.counter-over { background: #c98e1a; color: var(--paper); border-color: #c98e1a; }
.thumb-row {
display: flex; gap: 10px; flex-wrap: wrap;
margin: 8px 0 12px;
}
.thumb-row:empty { margin: 0; }
.thumb {
position: relative;
width: 80px; height: 80px;
border-radius: 12px; overflow: hidden;
background: var(--paper-2);
border: 1px solid var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .x {
position: absolute; top: 4px; right: 4px;
width: 22px; height: 22px; border-radius: 999px;
background: rgba(0,0,0,.72); color: var(--paper);
border: 0; font-size: 14px; line-height: 1;
display: grid; place-items: center; cursor: pointer;
padding: 0;
}
.thumb .src-tag {
position: absolute; bottom: 0; left: 0; right: 0;
background: rgba(0,0,0,.6); color: var(--paper);
font-size: 9px; text-align: center; padding: 2px 0;
letter-spacing: .04em;
}
/* ---- Item Credits (tick 15, shotonwhat.com-style résumé) ---- */
.credits-header { margin: 16px 0 22px; }
.credits-header h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.credits-header .dot { margin: 0 8px; color: #999; }
.back-pill {
display: inline-block; padding: 8px 16px; border-radius: 999px;
border: 1px solid #d6d0c4; background: #fff; color: #1d1d1f;
text-decoration: none; font-size: 14px; margin-bottom: 16px;
}
.back-pill:hover { background: #faf7f2; }
.credits-list { display: flex; flex-direction: column; gap: 14px; }
.credit-row {
background: #fff;
border: 1px solid #e6e1d8;
border-radius: 20px;
padding: 18px 22px;
}
.credit-row .credit-role {
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.12em;
color: #707070;
font-weight: 600;
margin: 0 0 6px;
}
.credit-row .credit-title {
font-size: 18px;
font-weight: 500;
margin: 0 0 8px;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: baseline;
}
.credit-row .credit-occasion { color: #1d1d1f; }
.credit-row .credit-year { color: #707070; font-size: 14px; font-weight: 400; }
.credit-row .credit-meta {
display: flex; flex-wrap: wrap; gap: 8px;
font-size: 12px; margin: 6px 0 4px;
}
.credit-row .credit-meta > span {
background: #faf7f2; border: 1px solid #e6e1d8;
padding: 3px 10px; border-radius: 999px; color: #555;
}
.credit-row .credit-status-done { background: #e6f6ec; border-color: #b7e0c4; color: #14572a; }
.credit-row .credit-status-failed { background: #fbe4e4; border-color: #e9b8b8; color: #7a1717; }
.credit-row .credit-with {
margin-top: 8px; font-size: 13px; color: #555;
}
.credit-row .credit-with > span { color: #1d1d1f; }
.credits-footnote { margin-top: 32px; font-size: 12px; }
.credits-footnote a { color: #555; }
/* credits-pill on item cards */
.credits-pill {
display: inline-block;
padding: 4px 10px;
border: 1px solid #d6d0c4;
border-radius: 999px;
font-size: 11px;
text-decoration: none;
color: #555;
background: rgba(255,255,255,0.7);
margin-top: 6px;
}
.credits-pill:hover { background: #fff; color: #1d1d1f; }
/* ---- Three-tier role layer (tick 15.5) ---- */
.role-banner {
position: sticky; top: 0; z-index: 50;
background: #1d1d1f; color: #faf7f2;
padding: 10px 20px;
display: flex; align-items: center; justify-content: space-between;
font-size: 13px;
letter-spacing: 0.02em;
}
.role-banner-label { color: #faf7f2; }
.role-banner-label strong { color: #f3d76f; }
.role-banner-exit {
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.25);
color: #faf7f2;
padding: 5px 14px;
border-radius: 999px;
font: inherit;
cursor: pointer;
}
.role-banner-exit:hover { background: rgba(255,255,255,0.2); }
/* Productions list (shotonwhat-style résumé index for set decorators) */
.production-add {
display: flex; flex-wrap: wrap; gap: 8px;
margin: 12px 0 24px;
}
.production-add input, .production-add select {
font: inherit; padding: 10px 14px;
border: 1px solid #d6d0c4; border-radius: 14px;
background: #faf7f2;
flex: 1; min-width: 140px;
}
.production-add input[type="text"] { flex: 2; }
.productions-list { display: flex; flex-direction: column; gap: 12px; }
.production-row {
background: #fff;
border: 1px solid #e6e1d8;
border-radius: 20px;
padding: 16px 22px;
}
.production-title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.production-meta {
display: flex; flex-wrap: wrap; gap: 8px;
font-size: 12px;
}
.production-meta > span {
background: #faf7f2; border: 1px solid #e6e1d8;
padding: 3px 10px; border-radius: 999px; color: #555;
}
.production-clickable {
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.production-clickable:hover {
background: #faf7f2;
border-color: #c8c1b3;
}
.production-clickable:focus-visible {
outline: 2px solid #1d1d1f;
outline-offset: 2px;
}
.production-cta {
background: transparent !important;
border: 0 !important;
color: #555 !important;
font-style: italic;
margin-left: auto !important;
}
/* tag-with-production row inside /credits header */
.tag-prod {
margin-top: 16px;
padding: 12px 16px;
background: #faf7f2;
border: 1px solid #e6e1d8;
border-radius: 14px;
display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
font-size: 14px;
}
.tag-prod select {
font: inherit; padding: 6px 12px;
border: 1px solid #d6d0c4; border-radius: 10px;
background: #fff;
}
.tag-prod button.ghost {
background: #1d1d1f; color: #faf7f2; border: 0;
padding: 6px 16px; border-radius: 999px;
font-size: 13px; cursor: pointer;
}
.tag-prod-status { font-size: 13px; }
.tag-prod a { color: #1d1d1f; }
/* ---- Active production bar (tick 17) — set-decorator persistent context ---- */
.active-prod-bar {
position: sticky; top: 0; z-index: 49;
background: #f5edd9;
border-bottom: 1px solid #d6c89c;
color: #4a3a14;
padding: 8px 20px;
display: flex; align-items: center; gap: 10px;
font-size: 13px;
}
.active-prod-bar label {
font-weight: 600;
color: #6e4f0d;
}
.active-prod-bar select {
font: inherit;
padding: 4px 12px;
border: 1px solid #c8b78e;
border-radius: 10px;
background: #fff;
color: #1d1d1f;
}
.active-prod-bar .active-prod-edit {
margin-left: auto;
color: #6e4f0d;
text-decoration: none;
font-size: 12px;
}
.active-prod-bar .active-prod-edit:hover { color: #1d1d1f; }
/* ---- Facet pills (tick 23) — color + material filters above recs grid ---- */
.facets-row {
display: flex; flex-wrap: wrap; gap: 6px;
margin-top: 10px;
}
.facet-pill {
font: inherit; font-size: 12px;
padding: 5px 12px;
border: 1px solid #d6d0c4;
background: #fff;
color: #555;
border-radius: 999px;
cursor: pointer;
text-transform: capitalize;
}
.facet-pill:hover { background: #faf7f2; color: #1d1d1f; }
.facet-pill.is-active {
background: #1d1d1f;
border-color: #1d1d1f;
color: #faf7f2;
}
.facet-pill .facet-count {
margin-left: 4px;
font-size: 10px;
color: inherit;
opacity: 0.7;
}
/* ---- Set-grade toggle (tick 16) — set-decorator catalog filter ---- */
.set-grade-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
padding: 6px 14px;
border: 1px solid #d6d0c4;
border-radius: 999px;
background: #fff;
color: #555;
cursor: pointer;
}
.set-grade-toggle input[type=checkbox] {
width: 16px; height: 16px;
accent-color: #1d1d1f;
}
/* Closet upload production picker — same look as other selects */
#closet-prod-select {
font: inherit; padding: 8px 14px;
border: 1px solid #d6d0c4; border-radius: 14px;
background: #faf7f2;
margin: 0 8px;
}
/* ---- Couple lifecycle (tick 16, flag-gated) ---- */
.couple-card {
background: #fff;
border: 1px solid #e6e1d8;
border-radius: 20px;
padding: 18px 22px;
margin: 14px 0;
}
.couple-card h3 {
margin: 0 0 6px;
font-size: 17px;
font-weight: 600;
letter-spacing: -0.01em;
}
.couple-card p.muted {
font-size: 13px;
margin: 0 0 12px;
}
.couple-card button.primary {
font: inherit;
background: #1d1d1f; color: #faf7f2;
border: 0;
padding: 10px 20px;
border-radius: 999px;
cursor: pointer;
}
.couple-card button.ghost {
font: inherit;
background: #fff; color: #1d1d1f;
border: 1px solid #d6d0c4;
padding: 10px 20px;
border-radius: 999px;
cursor: pointer;
}
.couple-token {
margin-top: 12px;
font-size: 13px;
background: #faf7f2;
border: 1px solid #e6e1d8;
border-radius: 12px;
padding: 10px 14px;
display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.couple-token code {
background: #efe9dd;
padding: 4px 8px;
border-radius: 8px;
font-size: 12px;
word-break: break-all;
}
.couple-accept {
display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.couple-accept input {
flex: 1; min-width: 220px;
font: inherit;
padding: 10px 14px;
border: 1px solid #d6d0c4;
border-radius: 14px;
background: #faf7f2;
}
.couple-accept button {
font: inherit;
background: #1d1d1f; color: #faf7f2;
border: 0;
padding: 10px 20px;
border-radius: 999px;
cursor: pointer;
}
/* ---- Tailor the view (tick 16) — set-decorator-only slider panel ---- */
.tailor-panel {
background: #fff;
border: 1px solid #e6e1d8;
border-radius: 20px;
padding: 20px 24px;
margin: 12px 0 20px;
}
.tailor-header h3 {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.01em;
margin: 0 0 4px;
}
.tailor-header p.muted {
font-size: 13px;
margin: 0 0 14px;
}
.tailor-grid {
display: grid;
grid-template-columns: repeat(4, 1fr) auto;
gap: 18px;
align-items: end;
}
@media (max-width: 720px) {
.tailor-grid { grid-template-columns: repeat(2, 1fr); }
.tailor-reset { grid-column: span 2; justify-self: end; }
}
.tailor-slider {
display: flex;
flex-direction: column;
gap: 4px;
}
.tailor-label {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.12em;
color: #707070;
font-weight: 600;
}
.tailor-slider input[type=range] {
width: 100%;
accent-color: #1d1d1f;
}
.tailor-slider output {
font-size: 13px;
font-variant-numeric: tabular-nums;
color: #1d1d1f;
font-weight: 500;
}
.tailor-reset {
font: inherit;
font-size: 12px;
padding: 6px 14px;
border: 1px solid #d6d0c4;
background: #faf7f2;
color: #555;
border-radius: 999px;
cursor: pointer;
}
.tailor-reset:hover { background: #fff; color: #1d1d1f; }
/* ---- Floating embed-progress chip (tick 20, admin only) ---- */
.embed-chip {
position: fixed;
bottom: 16px; right: 16px;
z-index: 60;
background: #1d1d1f;
color: #faf7f2;
border-radius: 16px;
padding: 10px 14px;
font-size: 12px;
min-width: 220px;
max-width: 320px;
box-shadow: 0 8px 24px rgba(0,0,0,0.3);
font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.embed-chip-head {
display: flex; align-items: center; gap: 8px;
margin-bottom: 6px;
}
.embed-chip-dot {
width: 8px; height: 8px; border-radius: 50%;
background: #707070;
flex: 0 0 8px;
}
.embed-chip-dot-idle { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
.embed-chip-dot-busy { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
.embed-chip-dot-unreachable { background: #ef4444; }
.embed-chip-mac1 {
margin-left: auto;
font-size: 11px;
color: #c7c2b8;
letter-spacing: 0.02em;
}
.embed-chip-track {
height: 5px;
background: rgba(255,255,255,0.08);
border-radius: 999px;
overflow: hidden;
}
.embed-chip-fill {
height: 100%;
background: linear-gradient(90deg, #c9a96e 0%, #f3d76f 100%);
width: 0%;
transition: width 0.6s ease-out;
}
.embed-chip-budget {
margin-top: 6px;
padding-top: 6px;
border-top: 1px solid rgba(255,255,255,0.08);
font-size: 11px;
color: #c7c2b8;
}
.embed-chip-budget .muted-sm { color: #707070; }
.embed-chip-budget.budget-warn { color: #f59e0b; }
.embed-chip-budget.budget-warn .muted-sm { color: #b87a13; }
.embed-chip-budget.budget-over { color: #ef4444; font-weight: 600; }
.embed-chip-budget.budget-over .muted-sm { color: #ef4444; }
/* ---- Closet compact upload (tick 26) — hide hero copy once ≥3 items ---- */
#closet-form.compact { display: flex; gap: 8px; align-items: center; margin: 4px 0 16px; font-size: 12px; }
#closet-form.compact input[type=file] { font-size: 12px; max-width: 200px; }
#closet-form.compact button { font-size: 12px; padding: 6px 14px; }
/* ---- Quick-look modal + share-favorites (tick 25) ---- */
.fav-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; font-size: 13px; }
.fav-actions button.ghost { font: inherit; background: #fff; color: #1d1d1f; border: 1px solid #d6d0c4; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.fav-actions button.ghost:hover { background: #faf7f2; }
.quicklook-modal {
position: fixed; inset: 0; z-index: 200;
display: flex; align-items: center; justify-content: center;
padding: 24px;
}
.quicklook-backdrop {
position: absolute; inset: 0;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(4px);
}
.quicklook-card {
position: relative;
background: #fff;
border-radius: 24px;
max-width: 760px;
width: 100%;
max-height: 88vh;
overflow: auto;
display: grid;
grid-template-columns: 1fr 1fr;
box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
.quicklook-card { grid-template-columns: 1fr; max-height: 92vh; }
}
.quicklook-card img {
width: 100%; height: 100%; min-height: 320px;
object-fit: cover; background: #faf7f2;
border-radius: 24px 0 0 24px;
}
@media (max-width: 640px) { .quicklook-card img { border-radius: 24px 24px 0 0; min-height: 280px; } }
.quicklook-body { padding: 24px 28px; }
.quicklook-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.quicklook-brand { margin: 0 0 8px; font-size: 14px; }
.quicklook-brand a { color: #555; text-decoration: none; }
.quicklook-brand a:hover { color: #1d1d1f; text-decoration: underline; }
.quicklook-meta { margin: 0 0 16px; font-size: 14px; color: #1d1d1f; }
.quicklook-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quicklook-btn {
font: inherit;
padding: 10px 18px;
border: 1px solid #d6d0c4;
background: #fff;
border-radius: 999px;
text-decoration: none;
color: #1d1d1f;
cursor: pointer;
}
.quicklook-btn.primary { background: #1d1d1f; color: #faf7f2; border-color: #1d1d1f; }
.quicklook-btn:hover { filter: brightness(0.95); }
.quicklook-close {
position: absolute; top: 12px; right: 14px;
z-index: 1;
width: 36px; height: 36px;
border: 0; border-radius: 50%;
background: rgba(255,255,255,0.9);
font-size: 22px; line-height: 1; cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.quicklook-close:hover { background: #fff; }
/* ---- Star button + delta toast + brand page (tick 24) ---- */
.star-btn {
position: absolute;
top: 8px; right: 8px;
z-index: 2;
width: 30px; height: 30px;
border: 0; border-radius: 50%;
background: rgba(255,255,255,0.85);
color: #707070;
font-size: 18px; line-height: 1;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.star-btn:hover { color: #c9a96e; }
.star-btn.is-fav { color: #c9a96e; background: #fff; }
.star-btn.star-pop { animation: starPop 0.4s ease-out; }
@keyframes starPop {
0% { transform: scale(1); }
40% { transform: scale(1.4); }
100% { transform: scale(1); }
}
.delta-toast {
position: fixed;
bottom: 70px;
left: 50%;
transform: translateX(-50%);
background: #1d1d1f;
color: #faf7f2;
padding: 10px 18px;
border-radius: 999px;
font-size: 13px;
display: flex; gap: 14px;
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
z-index: 70;
opacity: 1;
transition: opacity 0.35s ease-out;
}
.delta-toast.toast-hide { opacity: 0; }
.delta-toast .delta-up { color: #4ade80; font-weight: 600; }
.delta-toast .delta-down { color: #f87171; font-weight: 600; }
.brand-header { margin: 16px 0 22px; }
.brand-header h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.brand-bio { font-size: 14px; line-height: 1.5; margin: 6px 0 0; }
/* ---- Production credit badge (tick 19) ---- */
.card { position: relative; } /* anchor for the absolute-positioned badge */
.prod-credit-badge {
position: absolute;
top: 8px; left: 8px;
z-index: 2;
background: #1d1d1f;
color: #f3d76f;
padding: 4px 10px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.02em;
box-shadow: 0 2px 6px rgba(0,0,0,0.25);
pointer-events: none;
}
/* ---- Closet privacy pill (tick 15.8) ---- */
.meta-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.privacy-pill {
font: inherit;
padding: 4px 10px;
border: 1px solid #d6d0c4;
border-radius: 999px;
background: rgba(255,255,255,0.7);
color: #555;
font-size: 11px;
cursor: pointer;
}
.privacy-pill.is-private {
background: #f4ecdd;
border-color: #c8b78e;
color: #6e4f0d;
}
.privacy-pill:hover { filter: brightness(1.05); }
/* ---- Outfit rationale (tick 15.7) ---- */
.outfit-rationale {
font-size: 13px;
color: #555;
line-height: 1.45;
margin: 10px 0 12px;
font-style: italic;
padding: 8px 12px;
background: #faf7f2;
border-left: 2px solid #c8c1b3;
border-radius: 0 8px 8px 0;
}
/* utils */
[hidden] { display: none !important; }