/* Quiet, image-first presentation. Existing styles retain component layout. */
:root {
  --bg: #141617; --leather: #17191a; --leather-2: #202324;
  --paper: #141617; --paper-2: #1c1f20; --paper-3: #272b2c;
  --ink: #eceeed; --ink-2: #c6ccca; --muted: #9ba4a0;
  --line: #2b3031; --line-strong: #424a47; --soft: #202425;
  --gold: #b7cfc3; --gold-bright: #dce9e4; --gold-deep: #748b80;
  --gold-soft: #26332d; --logo: var(--sans); --grain: none; --ring: none;
}
body.lux { background: var(--bg); letter-spacing: 0; }
::selection { background: #3b5749; color: #fff; }
.lux-header { background: var(--bg); min-height: 80px; }
.lux-header-inner { min-height: 80px; padding: 18px 28px; gap: 24px; }
.lux-header::after, .leather-nav::before, .leather-nav a.active::before,
.paper::before, .paper::after { display: none; }
.brand { gap: 12px; flex: none; }
.brand-icon { display: block; flex: none; }
.brand-text { gap: 0; }
.brand-name { font-family: var(--sans); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -.7px; color: var(--ink); text-shadow: none; }
.brand-name em { background: none; color: #65ce95; font: inherit; letter-spacing: inherit; }
.brand-tagline { font-size: 12px; line-height: 1.25; color: var(--muted); letter-spacing: 0; padding: 0; }
.user-menu-lux > summary { color: var(--ink-2); font-size: 14px; text-shadow: none; }
.avatar { width: 36px; height: 36px; font: 500 13px var(--sans) !important; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); box-shadow: none; }
.header-search { background: var(--paper-2); border-color: var(--line); border-radius: 8px; }
.shell.has-nav { grid-template-columns: 192px minmax(0, 1fr); }
.leather-nav { background: var(--bg); box-shadow: none; padding-top: 24px; }
.leather-nav ul { padding-left: 12px; padding-right: 12px; }
.leather-nav a { padding: 10px 12px; gap: 10px; font-size: 14px; color: var(--muted); }
.leather-nav a svg, .leather-nav a .topic-icon { color: var(--muted); width: 18px; height: 18px; }
.leather-nav a:hover, .leather-nav a.active { background: var(--soft); box-shadow: none; color: var(--ink); }
body.lux main, body.lux.is-wide main { padding: 32px clamp(20px, 3vw, 48px) 64px; }
body.lux .shell:not(.has-nav) main { padding-left: 24px; padding-right: 24px; }
.paper { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
h1, .page-title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.6px; line-height: 1.2; }
.eyebrow, .page-eyebrow, .section-label, .take-label, .score-label,
.card-rating-label, .background-wrap .bg-label { text-transform: none; letter-spacing: 0; color: var(--muted); }
.eyebrow-edit { letter-spacing: 0; }
.categories { gap: 24px; }
.categories a { font-size: 14px; font-weight: 500; }
.categories a.active { color: var(--ink); border-color: var(--ink-2); }
.button, .nav-actions .button, .plus-menu > summary.plus-button,
.page-actions .plus-menu > summary.plus-button { background: #dce9e4; border-color: #dce9e4; color: #17201c !important; border-radius: 7px; box-shadow: none; letter-spacing: 0; }
.button:hover, .plus-menu > summary.plus-button:hover,
.page-actions .plus-menu > summary.plus-button:hover,
.page-actions .plus-menu[open] > summary.plus-button { background: #c1d5ca; color: #17201c !important; border-color: #c1d5ca; }
.button-outline, .visual-btn, .page-actions .visual-btn,
.ai-support-menu > summary.ai-support-btn, .page-actions .ai-support-menu > summary.ai-support-btn {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink-2) !important; box-shadow: none; letter-spacing: 0;
}
.page-actions .visual-btn:hover, .page-actions .ai-support-menu > summary.ai-support-btn:hover,
.page-actions .ai-support-menu[open] > summary.ai-support-btn { background: var(--soft); color: var(--ink) !important; border-color: var(--muted); }
.danger-button { background: #8e2d3a; border-color: #a94755; color: white; }
.danger-button:hover { background: #a94755; color: white; }
.segmented { gap: 3px; }
.segmented a, .segmented a:first-child, .segmented a:last-child { background: transparent; border-color: transparent; border-radius: 6px; font-size: 13px; padding: 7px 12px; }
.segmented a.selected, .segmented a.seg-own.selected, .segmented a.seg-maybe.selected,
.segmented a.seg-nope.selected { background: var(--soft); color: var(--ink); border-color: var(--line); }
.view-switch { background: transparent; border-color: var(--line); }
.view-switch a.is-on { background: var(--soft); color: var(--ink); box-shadow: none; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea, option,
.chat-model select, .chat-input textarea, .chat-attach { background: var(--paper-2); }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { box-shadow: none; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.background-wrap { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.background-wrap > summary { padding: 12px 16px; }
.background-wrap .bg-label { font-size: 13px; }
.background-wrap .bg-label::before { display: none; }
.background-wrap .bg-preview { font-size: 14px; color: var(--muted); }
.item-row, .item-row.is-owned .entry-summary { background: transparent; }
.entry-thumb, .entry-body .photo, .story-photo img { background: var(--paper-2); box-shadow: none; border-color: var(--line); }
.entry-summary > .entry-thumb, .entry-body .photo { border-radius: 8px; }
.rank-num { font-size: 20px; color: var(--muted); text-shadow: none; }
.entry-head .entry-title h3 { font-size: 21px; font-weight: 500; }
.entry-takes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.take, .take-ai { padding: 4px 0; background: transparent; border: 0; border-radius: 0; }
.take-label, .take-ai .take-label { font-size: 12px; color: var(--muted); }
.take p { font-size: 14px; color: var(--ink-2); }
.stars-fill { text-shadow: none; }
.stars.ai .stars-fill, .rating-tile .stars.ai .stars-fill, .card-rating-row:not(form) .stars-fill, .detail-ratings .stars.ai .stars-fill { color: var(--muted); }
.ai-notes { background: var(--paper-2); border-color: var(--line); }
.grid-card, .grid-card.is-owned { background: var(--paper-2); border-color: var(--line); border-radius: 8px; box-shadow: none; }
.grid-card:hover { transform: none; border-color: var(--line-strong); }
.card-photo { background: var(--paper-2); border-radius: 8px 8px 0 0; }
.card-rank, .is-wide .card-rank { border: 0; color: var(--ink); background: #141617cc; }
.with-chat { gap: 28px; grid-template-columns: minmax(0, 1fr) 320px; }
.chat-panel { background: var(--paper-2); border-color: var(--line); border-radius: 8px; box-shadow: none; }
.chat-head h2 { font-size: 20px; }
.chat-head h2::before { display: none; }
.chat-msg.is-user { background: var(--soft); border-color: var(--line-strong); }
.chat-open { background: #dce9e4 !important; color: #17201c !important; }
.sheet-wrap, .sheet .col-rank, .sheet .col-name, .sheet .sheet-readonly { background: var(--bg); }
.sheet thead th, .sheet thead th.col-rank, .sheet thead th.col-name { background: var(--soft); color: var(--ink-2); }
.sheet th, .sheet td { border-color: var(--line); }
.sheet tbody tr:hover td, .sheet tbody tr:hover td.col-rank, .sheet tbody tr:hover td.col-name { background: var(--paper-2); }
.sheet td [data-cell]:focus { background: var(--soft) !important; }
.sc-panel, .watch-box, .wb-tray, .wb-plate { background: var(--paper-2); border-color: var(--line); box-shadow: none; border-radius: 8px; }
.watch-box::before, .wb-clasp, .wb-slot + .wb-slot::before, .wb-cushion::after { display: none; }
.wb-cushion, .wb-cushion:hover { background: var(--soft); box-shadow: none; border-radius: 8px; }
.wb-cushion img { box-shadow: none; }
.sc-chest { background: var(--soft); color: var(--ink-2); box-shadow: none; }
footer { font-size: 12px; letter-spacing: 0; }
.list-drag { flex: none; display: grid; place-items: center; width: 32px; min-height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: grab; touch-action: none; user-select: none; }
.list-drag:active { cursor: grabbing; }
.sidebar-lists li[data-list-id] { display: flex; align-items: center; }
.sidebar-lists li[data-list-id] > a { flex: 1; min-width: 0; padding-left: 4px; }
.category-list [data-list-id] > div:first-of-type { flex: 1; min-width: 0; }
.is-list-dragging { background: var(--soft); outline: 1px solid var(--gold); border-radius: 6px; }
.list-order-notice { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; max-width: 90vw; padding: 12px 18px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.sc-option-name { min-width: 0; }
.sc-option-name > label { font-size: 12px; color: var(--muted); }
.sc-option-name > div { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sc-option-name input { width: 100%; min-width: 0; font-size: 18px; }
.category-list h3 a { text-decoration: none; }
.category-list h3 a:hover { color: var(--gold); }
.list-order { display: flex; gap: 2px; margin: 0; }
.list-order button { display: grid; place-items: center; width: 40px; height: 40px; background: transparent; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.list-order button:disabled { opacity: .25; cursor: default; }
.list-order button:not(:disabled):hover { background: var(--soft); }
.category-list > li { scroll-margin-top: 20px; }
@media (max-width: 680px) {
  .category-list > li { flex-wrap: wrap; gap: 12px; }
  .category-list .row-actions { flex-wrap: wrap; }
  .topic-group-head { flex-wrap: wrap; }
}
.header-right { margin-left: auto; }
.user-menu-lux > summary { gap: 8px; padding: 8px 0 8px 12px; }
.user-menu-lux > summary .user-name::after { content: none; }
.user-name { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-chevron { flex: none; }
.user-menu-lux[open] .menu-chevron { transform: rotate(180deg); }
.leather-nav { height: calc(100vh - 80px); overflow-y: auto; gap: 28px; }
.sidebar-label { font-size: 12px; font-weight: 500; color: var(--muted); margin: 0 24px 10px; }
.sidebar-label span { display: block; margin-top: 4px; font-size: 11px; }
.sidebar-lists { margin-top: 28px; }
.sidebar-lists a span { overflow-wrap: anywhere; min-width: 0; }
.sidebar-lists a svg { margin-left: auto; }
.list-view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 14px; }
.list-view-toolbar h2 { margin: 0; font-size: 18px; font-weight: 500; }
.filter-drop > summary::after, .background-wrap > summary::after,
.ai-import > summary::after, .status-menu > summary::after {
  content: ""; display: inline-block; width: 7px; height: 7px; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); vertical-align: 3px; margin-left: 10px;
}
.background-wrap > summary::after, .ai-import > summary::after { margin-left: auto; align-self: center; }
.filter-drop[open] > summary::after, .background-wrap[open] > summary::after,
.ai-import[open] > summary::after, .status-menu[open] > summary::after { transform: rotate(225deg); }
.entry-toggle { border: 0; border-radius: 6px; color: var(--muted); }
.sc-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
.sc-option-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-option-tabs a { padding: 8px 14px; color: var(--muted); text-decoration: none; border-radius: 6px; overflow-wrap: anywhere; }
.sc-option-tabs a.active { color: var(--ink); background: var(--soft); }
.sc-option-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sc-option-actions form { margin: 0; }
.sc-rename { position: relative; color: var(--muted); font-size: 14px; }
.sc-rename summary { cursor: pointer; }
.sc-rename form { position: absolute; z-index: 10; right: 0; width: min(280px, 80vw); display: grid; gap: 10px; padding: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; }
.cat-create { max-width: 620px; margin-inline: auto; }
.cat-create .cat-section { border: 0; padding: 0; margin: 0 0 22px; }
.cat-create .section-label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.cat-create .name-row { display: block; }
.cat-create .name-row input { width: 100%; }
.cat-create .public-row { border: 0; background: transparent; padding: 0; }
.cat-create .public-text strong { font-size: 14px; }
.list-options { border-top: 1px solid var(--line); padding-top: 16px; }
.list-options > summary { cursor: pointer; color: var(--ink-2); font-size: 14px; }
.list-options > summary span { margin-left: 8px; font-size: 12px; }
.list-options[open] > summary { margin-bottom: 18px; }
.list-options .button-outline { margin-bottom: 16px; }
.cat-create .form-actions { border: 0; margin-top: 24px; padding-top: 0; }
@media (max-width: 1100px) { .with-chat { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .shell.has-nav { grid-template-columns: minmax(0, 1fr); }
  .leather-nav { padding: 8px 0; }
  .leather-nav { height: auto; display: block; overflow: visible; }
  .sidebar-sections { display: grid; gap: 12px; }
  .sidebar-label { margin: 6px 24px; }
  .sidebar-lists { margin: 0; min-width: 0; }
  .sidebar-label span { display: inline; margin-left: 8px; }
  .leather-nav ul { overflow-x: auto; }
  .leather-nav .nav-foot { margin-top: 12px !important; }
  .header-search, .header-search:focus-within { width: 190px; padding: 0 12px; }
  .header-search input { display: block; }
}
@media (max-width: 680px) {
  .lux-header, .lux-header-inner { min-height: 68px; }
  .lux-header-inner { padding: 16px; flex-wrap: wrap; gap: 14px; }
  .brand-name { font-size: 20px; }
  .brand-tagline { display: block; font-size: 11px; }
  .header-right { flex: 0 0 auto; }
  .header-search, .header-search:focus-within { width: auto; flex: 1; }
  .user-name { display: inline; }
  body.lux main, body.lux.is-wide main { padding: 24px 16px 40px; }
  .paper { margin: 0; padding: 0; }
  .page-head { flex-wrap: wrap; gap: 16px; }
  .page-actions .visual-btn span, .page-actions .ai-support-btn span, .page-actions .plus-button .plus-label { display: inline; }
  .page-actions .visual-btn, .page-actions .ai-support-menu > summary.ai-support-btn, .page-actions .plus-menu > summary.plus-button { width: auto; padding: 0 12px; font-size: 13px; }
}
/* Compact navigation and progressive disclosure keep purchases near the top. */
.mobile-nav-toggle, .account-icon { display: none; }
.collection-heading { align-items: center; margin-bottom: 16px; }
.collection-heading > div { min-width: 0; }
.collection-heading .page-title { overflow-wrap: anywhere; }
.collection-heading .page-eyebrow { margin-bottom: 5px; }
.collection-heading .page-actions { flex: none; }
.list-actions { position: relative; }
.list-actions > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); letter-spacing: 2px; border-radius: 7px; }
.list-actions > summary::-webkit-details-marker { display: none; }
.list-actions[open] > summary, .list-actions > summary:hover { background: var(--soft); }
.list-actions-panel { position: absolute; z-index: 40; right: 0; top: 48px; width: min(280px, 85vw); padding: 12px; display: grid; gap: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; }
.list-actions-panel .text-action { display: block; padding: 10px; }
.list-actions-panel .ai-support-menu .add-menu-list { right: 0; left: auto; max-width: 80vw; }
.view-options { margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.view-options > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-size: 13px; color: var(--muted); }
.view-options > summary::-webkit-details-marker { display: none; }
.view-options > summary > .muted { margin-left: auto; }
.view-options > summary::before { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.view-options[open] > summary::before { transform: rotate(45deg); }
.view-options .list-view-toolbar { margin: 8px 0; }
.view-options .toolbar { margin: 12px 0; }
.view-options .list-meta { border: 0; }
.background-wrap { margin: 0 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.background-wrap > summary { padding: 10px 0; align-items: center; }
.background-wrap .bg-label { font-weight: 400; color: var(--muted); }
.background-wrap:not([open]) .bg-preview, .background-wrap:not([open]) .bg-thumbs { display: none; }
@media (max-width: 900px) {
  .lux-header, .lux-header-inner { min-height: 60px; }
  .lux-header-inner { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
  .js .mobile-nav-toggle { display: grid; place-items: center; flex: none; width: 40px; height: 44px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
  .brand { flex: 1; gap: 6px; min-width: 0; }
  .brand-icon { width: 24px; height: 24px; }
  .brand-name { font-size: 20px; white-space: nowrap; }
  .brand-tagline { display: none; }
  .header-right { margin-left: 0; }
  .user-menu-lux > summary { padding: 0; width: 40px; height: 44px; justify-content: center; }
  .user-menu-lux .user-name, .user-menu-lux .menu-chevron { display: none; }
  .account-icon { display: block; }
  .js .leather-nav { display: none; }
  .js .nav-open .leather-nav { display: block; max-height: 65vh; overflow-y: auto; padding: 16px 0; }
  .leather-nav ul { display: grid; overflow: visible; }
  .leather-nav a { white-space: normal; }
  .sidebar-lists { margin-top: 12px; }
  body.lux main, body.lux.is-wide main { padding: 20px 16px 40px; }
  .collection-heading { flex-wrap: nowrap; gap: 12px; }
  .collection-heading .page-title { font-size: 24px; }
  .collection-heading .page-eyebrow { font-size: 12px; }
  .collection-heading .nav-actions { gap: 4px; flex-wrap: nowrap; }
  .page-actions .plus-menu > summary.plus-button { height: 40px; padding: 0 12px; font-size: 14px; }
  .page-actions .list-actions-panel .visual-btn, .page-actions .list-actions-panel .ai-support-btn { width: 100%; justify-content: flex-start; }
  .page-actions .list-actions-panel .visual-btn span, .page-actions .list-actions-panel .ai-support-btn span { display: inline; }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
