/* =====================================================================
   Art store: design system
   Idea: a gallery wall. Art is hung in frames, captions are wall labels,
   order states use the gallery "dot" (red = sold, amber = held, teal = on
   its way, green = paid out), and a little handwriting signs things off.
   ===================================================================== */

:root {
  --chalk: #F1F3F0;
  --paper: #FFFFFF;
  --sunk: #E6EAE5;
  --ink: #1B2340;
  --ink-2: #4A5473;
  --ink-3: #5F6886;
  --line: #D6DCD4;
  --line-2: #BFC8BD;
  --teal: #0E7C7B;
  --teal-ink: #0A5C5B;
  --teal-wash: #DAEEEB;
  --on-teal: #FFFFFF;
  --saffron: #F2AE1B;
  --saffron-ink: #8A5A00;
  --saffron-wash: #FCEFCB;
  --red: #D8432F;
  --red-ink: #A5301F;
  --red-wash: #FBE4DF;
  --green: #2A8A57;
  --green-ink: #1E6B41;
  --green-wash: #DDF1E5;
  --wall: #1F2B57;
  --wall-ink: #F3F5FA;
  --wall-soft: #C6CCE3;
  --mat: #F7F5EF;
  --focus: rgba(14, 124, 123, .42);
  --danger-bg: #A5301F;
  --danger-bg-hover: #8A2818;
  --hung: 0 1px 1px rgba(10, 15, 40, .28), 0 14px 22px -10px rgba(10, 15, 40, .55);
  --pop: 0 18px 44px -12px rgba(20, 28, 60, .38);
  --font-ui: "Bricolage Grotesque", "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-hand: "Reenie Beanie", "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --chalk: #12172C; --paper: #1A2140; --sunk: #0F1428; --ink: #EEF0F8; --ink-2: #B5BDD8; --ink-3: #98A2C2;
    --line: #2B3560; --line-2: #3B4776; --teal: #3DBDB6; --teal-ink: #7FE0D9; --teal-wash: #12383A; --on-teal: #04211F;
    --saffron: #F5B93A; --saffron-ink: #F8D27A; --saffron-wash: #33280F; --red: #F0654F; --red-ink: #FF9A88; --red-wash: #3D1B17;
    --green: #4CC585; --green-ink: #8BE0B2; --green-wash: #143424; --wall: #0B1029; --wall-ink: #F3F5FA; --wall-soft: #AEB6D8;
    --mat: #E9E5DA; --focus: rgba(61, 189, 182, .5);
    --hung: 0 1px 1px rgba(0, 0, 0, .5), 0 14px 22px -10px rgba(0, 0, 0, .8); --pop: 0 18px 44px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --chalk: #12172C; --paper: #1A2140; --sunk: #0F1428; --ink: #EEF0F8; --ink-2: #B5BDD8; --ink-3: #98A2C2;
  --line: #2B3560; --line-2: #3B4776; --teal: #3DBDB6; --teal-ink: #7FE0D9; --teal-wash: #12383A; --on-teal: #04211F;
  --saffron: #F5B93A; --saffron-ink: #F8D27A; --saffron-wash: #33280F; --red: #F0654F; --red-ink: #FF9A88; --red-wash: #3D1B17;
  --green: #4CC585; --green-ink: #8BE0B2; --green-wash: #143424; --wall: #0B1029; --wall-ink: #F3F5FA; --wall-soft: #AEB6D8;
  --mat: #E9E5DA; --focus: rgba(61, 189, 182, .5);
  --hung: 0 1px 1px rgba(0, 0, 0, .5), 0 14px 22px -10px rgba(0, 0, 0, .8); --pop: 0 18px 44px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 16px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; display: flex; flex-direction: column; }
#view { flex: 1; outline: none; transition: opacity .2s .15s; }
#view[aria-busy="true"] { opacity: .55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-ui); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.h3, h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.h4, h4 { font-size: 1.05rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--sunk); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--saffron); color: #1B2340; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--chalk); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.lead { font: 400 clamp(1.05rem, 1.6vw, 1.22rem)/1.55 var(--font-text); color: var(--ink-2); max-width: 46ch; }
.display { font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: .97; letter-spacing: -.035em; font-weight: 700; margin-bottom: .35em; }
.hand { font: 400 clamp(1.7rem, 3vw, 2.2rem)/1 var(--font-hand); color: var(--saffron-ink); margin: 0 0 .3em; letter-spacing: 0; }
.sig { font: 400 1.85rem/1 var(--font-hand); color: var(--ink); letter-spacing: 0; }
.prose { font: 400 1.125rem/1.7 var(--font-text); color: var(--ink); max-width: 62ch; }
.prose ol, .prose ul { padding-left: 1.3em; } .prose li { margin-bottom: .6em; }
.boot { padding: 96px 16px; text-align: center; color: var(--ink-3); font: italic 1.2rem var(--font-text); }
.link-strong { font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--teal-ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.linkbtn:hover { text-decoration-thickness: 2px; }
.ico { width: 20px; height: 20px; flex: none; }
body.is-locked { overflow: hidden; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: var(--on-teal); margin-left: 8px; vertical-align: .18em; }
.tick .ico { width: 13px; height: 13px; stroke-width: 3; }

.hide-s { display: none !important; } @media (min-width: 600px) { .hide-s { display: inline-flex !important; } }

/* ---------- the dot language ---------- */
.dot { display: inline-block; width: .72em; height: .72em; border-radius: 50%; flex: none; margin-right: .55em; background: var(--line-2); }
.dot--amber { background: var(--saffron); } .dot--teal { background: var(--teal); } .dot--green { background: var(--green); } .dot--red { background: var(--red); } .dot--grey { background: var(--line-2); }
.pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 4px 12px 4px 11px; border-radius: 999px; background: var(--sunk); color: var(--ink); white-space: nowrap; }
.pill .dot { margin-right: .5em; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1 var(--font-ui); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, border-color .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--primary { background: var(--teal); color: var(--on-teal); } .btn--primary:hover { background: var(--teal-ink); color: var(--on-teal); }
:root[data-theme="dark"] .btn--primary:hover { background: #63D3CD; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); } .btn--ghost:hover { background: var(--sunk); border-color: var(--ink-3); }
.btn--saffron { background: var(--saffron); color: #2A1D00; } .btn--saffron:hover { background: #FFC23F; }
.btn--danger { background: var(--danger-bg); color: #fff; } .btn--danger:hover { background: var(--danger-bg-hover); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn.is-busy { gap: 0; }
/* A loading touch in keeping with the gallery theme: a few dabs of paint, loading in sequence like a brush
   tapping down colour. Used both small (inside a busy button) and large (a page settling into place). */
.dabs { display: inline-flex; align-items: center; gap: 5px; }
.dabs i { width: 7px; height: 7px; border-radius: 45% 55% 50% 50%/55% 45% 55% 45%; background: currentColor; opacity: .3; transform: scale(.55) rotate(0deg); animation: dab 1.1s ease-in-out infinite; }
.dabs i:nth-child(2) { animation-delay: .16s; } .dabs i:nth-child(3) { animation-delay: .32s; }
@keyframes dab { 0%, 100% { opacity: .3; transform: scale(.55) rotate(0deg); } 40% { opacity: 1; transform: scale(1) rotate(-8deg); } }
.btn .dabs { margin-right: 9px; }
.loader-page { display: grid; justify-items: center; gap: 16px; padding: 96px 16px; text-align: center; color: var(--ink-3); }
.loader-page .dabs i { width: 12px; height: 12px; }
.loader-page .dabs i:nth-child(1) { background: var(--saffron); } .loader-page .dabs i:nth-child(2) { background: var(--teal); } .loader-page .dabs i:nth-child(3) { background: var(--red); }
.loader-page p { font: italic 1.2rem var(--font-text); margin: 0; }
.route-loader { position: fixed; top: 76px; left: 0; right: 0; display: flex; justify-content: center; z-index: 60; pointer-events: none; animation: fade-in .15s ease; }
.route-loader .dabs { background: var(--paper); padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(20, 28, 60, .4), 0 0 0 1px var(--line); }
.route-loader .dabs i { width: 9px; height: 9px; }
.route-loader .dabs i:nth-child(1) { background: var(--saffron); } .route-loader .dabs i:nth-child(2) { background: var(--teal); } .route-loader .dabs i:nth-child(3) { background: var(--red); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dabs i { animation: none; opacity: .85; } }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: none; border: 0; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.iconbtn:hover { background: var(--sunk); }
.iconbtn--sm { width: 32px; height: 32px; background: var(--paper); box-shadow: 0 1px 4px rgba(0,0,0,.25); } .iconbtn--sm .ico { width: 16px; height: 16px; }
.iconbtn--badge .badge { position: absolute; top: 2px; right: 0; margin: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }

/* ---------- header, menus, footer ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--chalk); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.35rem/1 var(--font-ui); letter-spacing: -.025em; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a, .sheet__in a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 550; }
.nav a:hover { color: var(--ink); background: var(--sunk); } .nav a.is-active { color: var(--ink); background: var(--sunk); }
.topbar__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.saved-link { position: relative; min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); text-decoration: none; font-size: 13px; font-weight: 650; box-shadow: 0 2px 8px rgba(20, 28, 60, .08); transition: border-color .15s, background .15s, transform .1s; }
.saved-link:hover, .saved-link:focus-visible { border-color: var(--teal); background: var(--teal-wash); text-decoration: none; }
.saved-link:active { transform: translateY(1px); }
.saved-link .ico { width: 17px; height: 17px; }
.saved-link .ico.is-on { fill: var(--saffron); color: var(--saffron-ink); }
.saved-link__badge { position: absolute; top: -7px; right: -6px; display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: #2A1D00; font-size: 11px; font-weight: 800; line-height: 1; }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 480px) { .topbar__in { gap: 8px; } .topbar__tools { gap: 0; } .brand { font-size: 1.2rem; gap: 8px; } .brand__mark { width: 26px; height: 26px; } .iconbtn { width: 38px; height: 38px; } }
.usermenu { position: relative; }
.usermenu__btn { border: 0; background: none; padding: 3px; border-radius: 50%; cursor: pointer; }
.usermenu__pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--pop); padding: 8px; z-index: 50; display: grid; }
.usermenu__pop a, .usermenu__pop button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.usermenu__pop a:hover, .usermenu__pop button:hover { background: var(--sunk); }
.usermenu__who { display: grid; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; } .usermenu__who span { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.sheet { position: fixed; inset: 64px 0 0 0; z-index: 39; background: var(--chalk); overflow: auto; padding: 16px var(--gutter) 40px; }
@media (min-width: 900px) { .sheet { display: none !important; } }
.sheet__in { display: grid; gap: 2px; max-width: 520px; margin: 0 auto; }
.sheet__in a, .sheet__in button { padding: 14px 10px; font-size: 1.15rem; border-radius: 12px; justify-content: space-between; background: none; border: 0; text-align: left; color: var(--ink); font-family: inherit; font-weight: 550; cursor: pointer; }
.sheet__search { display: flex; gap: 8px; margin-bottom: 12px; } .sheet__search input { flex: 1; }
body.sheet-open { overflow: hidden; }
.mobile-dock { display: none; }
@media (max-width: 899px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mobile-dock { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 7px 5px 6px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--paper) 92%, transparent); box-shadow: 0 16px 38px -16px rgba(20, 28, 60, .48); backdrop-filter: blur(16px); }
  .mobile-dock__item { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 49px; padding: 5px 2px; border-radius: 16px; color: var(--ink-3); text-decoration: none; font-size: 10.5px; font-weight: 650; line-height: 1.1; }
  .mobile-dock__item .ico { width: 20px; height: 20px; }
  .mobile-dock__item.is-active { color: var(--teal-ink); background: var(--teal-wash); }
  .mobile-dock__badge { position: absolute; top: 0; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--saffron); color: #2A1D00; font-size: 9px; font-weight: 800; }
}
@media (max-width: 480px) {
  .topbar__in { gap: 7px; }
  .topbar__tools { gap: 1px; }
  .brand { font-size: 1.18rem; gap: 7px; }
  .brand__mark { width: 29px; height: 29px; }
  .saved-link { min-width: 38px; width: 38px; height: 38px; padding: 0; justify-content: center; border: 0; box-shadow: none; background: transparent; }
  .saved-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .saved-link__badge { position: absolute; top: -2px; right: -1px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 9px; }
}

.statusbar { background: var(--saffron-wash); border-bottom: 1px solid var(--line); }
.statusbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; font-size: 14.5px; flex-wrap: wrap; }
.foot { background: var(--sunk); margin-top: 72px; padding: 56px 0 24px; }
.foot__in { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.5fr .8fr .9fr 1.7fr; gap: 40px; } }
.foot h3 { font-size: 1rem; margin: 0 0 12px; }
.foot a { display: flex; gap: 8px; align-items: center; color: var(--ink-2); text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; } .foot a:hover { color: var(--ink); text-decoration: underline; }
.foot a.brand { color: var(--ink); padding: 0; margin-bottom: 12px; }
.foot p { color: var(--ink-2); font-size: 14.5px; max-width: 38ch; }
.foot__pay { display: flex; gap: 8px; align-items: flex-start; } .foot__pay .ico { margin-top: 3px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--paper); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.social a:hover { color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal); text-decoration: none; }
.social .ico { width: 18px; height: 18px; }
.foot__contact p { margin-top: 10px; }
.foot__base { margin-top: 36px; color: var(--ink-3); font-size: 13.5px; }

/* ---------- framed art and wall labels ---------- */
.frame { margin: 0; position: relative; display: grid; aspect-ratio: 4 / 5; background: var(--mat); padding: clamp(5px, 1.2vw, 10px); border: clamp(3px, .55vw, 5px) solid var(--moulding, #211f1e); box-shadow: var(--hung); }
.frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--sunk); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.frame img.is-broken { visibility: hidden; }
.frame--black { --moulding: #211f1e; } .frame--oak { --moulding: #9C6E3B; } .frame--white { --moulding: #F4F1EA; }
.frame--float { --moulding: transparent; padding: 0; border-width: 0; } .frame--float img { box-shadow: none; }
/* Calm tile for repeating grids: a quiet neutral border and corner radius instead of a colored wood moulding,
   closer to a plain e-commerce product photo than a piece hung on the wall. */
.frame--calm { --moulding: var(--line); border-width: 1px; border-radius: 16px; padding: 0; background: var(--paper); box-shadow: 0 1px 3px rgba(20, 28, 60, .06); }
.frame--calm img { border-radius: 15px; box-shadow: none; }
.piece:hover .frame--calm, .piece:focus-visible .frame--calm { box-shadow: 0 10px 24px -12px rgba(20, 28, 60, .22); }
.frame--thumb { width: 64px; padding: 3px; border-width: 2px; box-shadow: 0 6px 10px -6px rgba(0,0,0,.6); flex: none; } .frame--lg { width: 96px; }
.frame--big { display: inline-block; aspect-ratio: auto; max-width: 100%; }
.frame--big img { width: auto; max-width: 100%; max-height: min(78vh, 780px); height: auto; }
.frame--art svg { width: 100%; height: 100%; }
.frame--tilt { transform: rotate(-2deg); }
.frame__blank { background: rgba(255,255,255,.08); border: 2px dashed rgba(255,255,255,.28); min-height: 0; }
.frame--empty { background: transparent; border-color: rgba(255,255,255,.35); box-shadow: none; }
.frame--example img { opacity: .85; filter: saturate(.75); }
.frame__tag { position: absolute; top: 7px; left: 7px; background: rgba(27, 35, 64, .82); color: #fff; font: 600 10px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.piece { display: block; color: inherit; text-decoration: none; }
.piece .frame { transition: transform .2s ease; } .piece:hover .frame, .piece:focus-visible .frame { transform: translateY(-4px); }
.piece.is-sold img { filter: saturate(.55); }
.placard { display: grid; gap: 2px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.placard__title { font: italic 500 1.12rem/1.25 var(--font-text); color: var(--ink); }
.placard__artist { font-weight: 500; color: var(--ink-2); }
.placard__price { margin-top: 4px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; display: flex; align-items: center; }
.hang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
@media (min-width: 700px) { .hang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; } }
@media (min-width: 1000px) { .hang-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- home: the gallery wall ---------- */
.wall { background: var(--wall); color: var(--wall-ink); padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 84px); overflow: hidden; }
.wall__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .wall__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.wall h1, .wall .lead { color: var(--wall-ink); } .wall .lead { color: var(--wall-soft); }
.wallsearch { display: flex; gap: 8px; margin: 26px 0 16px; max-width: 540px; }
.wallsearch input { flex: 1; min-width: 0; background: #fff; color: #1B2340; border: 0; border-radius: 999px; padding: 0 22px; min-height: 52px; font: 16px var(--font-ui); }
.wallsearch input::placeholder { color: #6a7290; }
.wall__cats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 8px; }
.wall__cats a { color: var(--wall-ink); font-size: 15px; text-underline-offset: 5px; }
.wall__note { display: flex; align-items: flex-end; gap: 8px; margin: 22px 0 0; font: 400 1.85rem/1 var(--font-hand); color: var(--saffron); }
.wall__note svg { transform: translateY(6px); }
.hang { position: relative; aspect-ratio: 1 / 1.06; width: 100%; max-width: 640px; margin-inline: auto; }
.hang__item { position: absolute; display: block; transform: rotate(var(--tilt)); transition: transform .2s ease; animation: hang-in .75s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
.hang__item:hover, .hang__item:focus-visible { transform: rotate(0deg) translateY(-4px); }
@keyframes hang-in { from { opacity: 0; transform: translateY(-18px) rotate(calc(var(--tilt) * 3)); } to { opacity: 1; transform: rotate(var(--tilt)); } }
.hang .frame { box-shadow: 0 2px 2px rgba(0, 0, 0, .35), 0 18px 26px -12px rgba(0, 0, 0, .65); padding: clamp(3px, .8vw, 8px); border-width: clamp(2px, .45vw, 4px); }
.wall-label { position: absolute; left: 38%; top: 80%; max-width: 44%; display: grid; gap: 1px; padding: 8px 12px; background: var(--mat); color: #1B2340; font-size: 11.5px; line-height: 1.3; text-decoration: none; box-shadow: 0 8px 14px -8px rgba(0,0,0,.7); }
.wall-label__title { font: italic 500 14px/1.2 var(--font-text); } .wall-label__price { font-weight: 700; margin-top: 2px; }
.wall-label--example { display: block; max-width: 62%; font: 400 13px/1.4 var(--font-ui); }
.wall-label--example a { color: #1B2340; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sec { padding-block: clamp(44px, 7vw, 88px); } .sec--sunk { background: var(--sunk); }
.sec-inner { margin-top: 52px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; } .sec-head h2 { margin: 0; }
.steps { display: grid; gap: 30px; list-style: none; padding: 0; margin: 30px 0 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; } }
.step__n { display: block; font: 400 3rem/1 var(--font-hand); color: var(--teal-ink); margin-bottom: 4px; }
.step h3 { font-size: 1.15rem; margin: 0 0 6px; } .step p { margin: 0 0 10px; color: var(--ink-2); }
.step__dot { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; }
.trust { display: grid; gap: 28px 48px; margin-top: 26px; }
@media (min-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust__item { display: flex; gap: 16px; } .trust__item .ico { width: 28px; height: 28px; color: var(--teal-ink); margin-top: 3px; }
.trust__item h3 { font-size: 1.15rem; margin: 0 0 4px; } .trust__item p { margin: 0; color: var(--ink-2); }
.makers { display: grid; gap: 30px 40px; }
@media (min-width: 760px) { .makers { grid-template-columns: 1fr 1fr; } }
.maker { display: flex; gap: 18px; color: inherit; text-decoration: none; align-items: flex-start; }
.maker__body { display: grid; gap: 2px; } .maker:hover .sig { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.maker__where { font-size: 13.5px; color: var(--ink-3); }
.maker__bio { font: italic 400 1.05rem/1.5 var(--font-text); color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; }
.avatar--blob { display: inline-grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: .02em; border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
.sell-band { position: relative; overflow: hidden; background: var(--saffron-wash); padding: clamp(44px, 6vw, 76px) 0; margin-top: clamp(20px, 4vw, 40px); }
.sell-band__art { position: absolute; inset: 0; z-index: 0; opacity: .16; pointer-events: none; }
.sell-band__art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 35%;
  -webkit-mask-image: radial-gradient(circle at 76% 38%, #000 0%, rgba(0,0,0,.7) 42%, transparent 72%);
  mask-image: radial-gradient(circle at 76% 38%, #000 0%, rgba(0,0,0,.7) 42%, transparent 72%); }
.sell-band__in { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { .sell-band__in { grid-template-columns: 1fr auto; gap: 56px; } }
.sell-band h2 { margin-bottom: .3em; } .sell-band p { max-width: 56ch; }

/* ---------- pages ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 12px; } .page-head h1 { margin-bottom: .25em; }
.page-head--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
.page-msg { padding: 72px var(--gutter); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-3); padding: 20px 0 8px; flex-wrap: wrap; } .crumbs a { color: var(--ink-2); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); margin-bottom: 20px; }
.stack { display: grid; gap: 0; align-content: start; }
.grid2 { display: grid; gap: 0 16px; } .grid3 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.kv { margin: 0 0 16px; display: grid; gap: 10px; } .kv > div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 12px; } .kv dt { color: var(--ink-3); font-size: 14px; } .kv dd { margin: 0; overflow-wrap: anywhere; }
.kv--review > div { grid-template-columns: 90px 1fr auto; align-items: center; }
.thumbs-inline { display: flex; gap: 8px; } .thumbs-inline img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.totals { margin: 0 0 12px; display: grid; gap: 8px; } .totals > div { display: flex; justify-content: space-between; gap: 16px; } .totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals__sum { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; } .totals__sum dt { color: var(--ink); }
.moneyline { display: grid; gap: 16px; margin: 0 0 24px; }
@media (min-width: 640px) { .moneyline { grid-template-columns: repeat(3, 1fr); } .moneyline--stack { grid-template-columns: 1fr; } }
.moneyline dt { font-size: 14px; color: var(--ink-3); } .moneyline dd { margin: 0; font: 700 1.7rem/1.15 var(--font-ui); font-variant-numeric: tabular-nums; } .moneyline small { color: var(--ink-3); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sunk); margin: 14px 0; align-items: flex-start; } .notice .ico { margin-top: 2px; }
.notice--ok { background: var(--green-wash); } .notice--warn { background: var(--saffron-wash); } .notice--error { background: var(--red-wash); }
.empty { text-align: center; padding: 56px 16px; color: var(--ink-2); } .empty__art { width: 120px; margin: 0 auto 16px; color: var(--line-2); } .empty h3 { color: var(--ink); margin: 0 0 6px; } .empty p { max-width: 40ch; margin-inline: auto; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; } .table th { text-align: left; font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; } .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } .table tr:last-child td { border-bottom: 0; }
.table .clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .table thead { display: none; } .table, .table tbody, .table tr, .table td { display: block; width: 100%; } .table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); } .table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--ink-3); font-size: 13px; text-align: left; } .table td:not([data-label])::before { display: none; } .table td:not([data-label]) { justify-content: flex-start; padding-top: 8px; } .table .clip { max-width: none; }
}
.tabs { display: inline-flex; gap: 4px; background: var(--sunk); padding: 4px; border-radius: 999px; flex-wrap: wrap; margin: 6px 0 14px; }
.tabs a { padding: 8px 16px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.tabs a[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; } .field label, .field .label { font-weight: 600; font-size: 14.5px; }
.opt { font-weight: 400; color: var(--ink-3); } .hint { font-size: 13.5px; color: var(--ink-3); } .err { font-size: 13.5px; color: var(--red-ink); font-weight: 600; } .err:empty { display: none; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; min-height: 48px; width: 100%; }
textarea { padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); border-color: var(--teal); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--teal); flex: none; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: .85; }
.field--code input { font-size: 1.4rem; letter-spacing: .3em; text-align: center; }
.form-error { background: var(--red-wash); color: var(--red-ink); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; } .check--block { margin: 4px 0 18px; }
.pw { position: relative; } .pw input { padding-right: 52px; } .pw__toggle { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 10px; display: grid; place-items: center; }
.tiles { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; } .tiles legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.tiles--three { grid-template-columns: repeat(3, 1fr); } @media (max-width: 560px) { .tiles--three { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; cursor: pointer; } .tile input { position: absolute; opacity: 0; } .tile > span { flex: 1; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 14px 16px; background: var(--paper); display: grid; gap: 2px; align-content: center; } .tile small { color: var(--ink-3); font-size: 13.5px; }
.tile input:checked + span { border-color: var(--teal); background: var(--teal-wash); box-shadow: inset 0 0 0 1px var(--teal); } .tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.tile--sm > span { padding: 12px 14px; }
.searchline { display: flex; gap: 8px; margin: 8px 0 16px; max-width: 520px; } .searchline input { flex: 1; }
.inline-form { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; } .inline-form .field { margin: 0; flex: 1; min-width: 160px; }
.avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; } .upload-btn { position: relative; cursor: pointer; }
.upload { margin-bottom: 20px; } .upload__label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.upload__box { display: grid; place-items: center; gap: 6px; min-height: 150px; border: 2px dashed var(--line-2); border-radius: 16px; background: var(--paper); cursor: pointer; padding: 16px; text-align: center; color: var(--ink-2); overflow: hidden; transition: border-color .15s, background .15s; }
.upload__box:hover { border-color: var(--teal); background: var(--teal-wash); } .upload__box:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.upload__box.has-file { border-style: solid; padding: 0; background: var(--sunk); } .upload__box img { width: 100%; max-height: 210px; object-fit: contain; } .upload.is-loading .upload__box { opacity: .5; }
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; overflow-x: auto; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); white-space: nowrap; flex: 1; min-width: max-content; }
.progress li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); font-weight: 650; font-size: 13px; }
.progress li span .ico { width: 15px; height: 15px; stroke-width: 3; }
.progress li.is-now { color: var(--ink); font-weight: 650; } .progress li.is-now span { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.progress li.is-done { color: var(--ink-2); } .progress li.is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0 0 12px; } .rate input { position: absolute; opacity: 0; }
.rate label { cursor: pointer; color: var(--line-2); } .rate label .ico { width: 34px; height: 34px; fill: currentColor; } .rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--saffron); } .rate input:focus-visible + label { outline: 3px solid var(--focus); border-radius: 8px; }
.stars { display: inline-flex; align-items: center; gap: 8px; } .stars .ico { width: 15px; height: 15px; display: inline-block; color: var(--line-2); fill: currentColor; } .stars .ico.is-on { color: var(--saffron); } .stars__n { font-size: 14px; color: var(--ink-2); }
.photos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--sunk); } .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-cover { outline: 3px solid var(--teal); } .photo__tag { position: absolute; left: 6px; top: 6px; background: var(--teal); color: var(--on-teal); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.photo__tools { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 6px; }
.photo--add { display: grid; place-content: center; justify-items: center; gap: 6px; border: 2px dashed var(--line-2); background: var(--paper); cursor: pointer; color: var(--ink-2); font-size: 14px; }
.photo--add:hover { border-color: var(--teal); } .photo--add:focus-within { outline: 3px solid var(--focus); }

/* ---------- browse ---------- */
.browse { padding-bottom: 24px; } .browse__head { padding: clamp(24px, 4vw, 44px) 0 10px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; } .browse__head h1 { margin: 0; }
.filters__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; } .filters__row .field { margin-bottom: 12px; } .field--grow { flex: 1 1 260px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1.5px solid var(--line-2); color: var(--ink); font: 600 14.5px var(--font-ui); cursor: pointer; }
.chip:hover { background: var(--sunk); } .chip.is-on { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-ink); font-weight: 650; }
.more-filters { margin-bottom: 28px; } .more-filters summary { cursor: pointer; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; } .more-filters .filters__row { padding-top: 12px; }
@media (max-width: 600px) {
  .browse { padding-bottom: 16px; }
  .browse__head { padding: 18px 0 6px; gap: 4px 10px; }
  .browse__head h1 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .browse__head .muted { font-size: 14px; }
  .browse .filters__row { gap: 6px 10px; }
  .browse .filters__row .field { margin-bottom: 6px; }
  .browse .filters input,
  .browse .filters select { min-height: 42px; border-radius: 10px; padding-inline: 12px; font-size: 14px; }
  .browse .filters .field--grow { flex-basis: 100%; }
  .browse .filters__row > .field:not(.field--grow) { flex: 0 1 190px; }
  .browse .chips { gap: 6px; padding: 2px 0 9px; }
  .browse .chip { min-height: 36px; padding-inline: 13px; font-size: 13.5px; }
  .browse .more-filters { margin-bottom: 16px; }
  .browse .more-filters summary { gap: 6px; padding: 3px 0; font-size: 14.5px; }
  .browse .more-filters .filters__row { padding-top: 8px; }
}

/* ---------- one piece ---------- */
.art { padding-bottom: 24px; }
.art__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .art__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: start; } }
.art__gallery { background: var(--wall); padding: clamp(24px, 5vw, 56px); border-radius: 4px; display: grid; gap: 22px; justify-items: center; }
.art__stage { position: relative; display: grid; place-items: center; width: 100%; cursor: zoom-in; }
.art__stage .frame img { cursor: zoom-in; }
.stage__expand { position: absolute; right: clamp(8px, 2vw, 20px); bottom: clamp(8px, 2vw, 20px); z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(20, 18, 16, .72); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(2px); }
.stage__expand .ico { width: 16px; height: 16px; }
.stage__expand:hover { background: rgba(20, 18, 16, .88); }
.stage__expand span { white-space: nowrap; }
@media (max-width: 480px) { .stage__expand span { display: none; } .stage__expand { padding: 10px; } }
.soldtag { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--mat); color: #1B2340; font-weight: 700; font-size: 13px; padding: 5px 12px 5px 10px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); display: inline-flex; align-items: center; }
.thumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.thumb { width: 56px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .7; } .thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; } .thumb.is-on { border-color: var(--saffron); opacity: 1; } .thumb:hover { opacity: 1; }
.label-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3.4vw, 36px); }
@media (min-width: 900px) { .label-panel { position: sticky; top: 92px; } }
.art__title { font: italic 500 clamp(1.9rem, 3.4vw, 2.7rem)/1.1 var(--font-text); letter-spacing: -.01em; margin: 0 0 10px; }
.art__by { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; } .art__byword { font: italic 1.05rem var(--font-text); color: var(--ink-3); } .art__by a { text-decoration: none; }
.art__where { color: var(--ink-3); font-size: 14.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.specs { margin: 0 0 8px; display: grid; gap: 6px; font-size: 14.5px; } .specs > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; } .specs dt { color: var(--ink-3); } .specs dd { margin: 0; }
.art__price { font: 700 2.1rem/1 var(--font-ui); margin: 22px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; } .art__ship { color: var(--ink-3); font-size: 14.5px; margin-bottom: 4px; }
.buy-actions { display: grid; gap: 10px; margin: 20px 0; }
.soldbox { background: var(--sunk); border-radius: 12px; padding: 16px 18px; margin: 18px 0; } .soldbox p { margin: 0 0 8px; }
.protect { background: var(--sunk); border-radius: 14px; padding: 16px 18px; margin: 20px 0; } .protect h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 12px; }
.protect ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .protect li { display: flex; gap: 2px; align-items: flex-start; font-size: 14.5px; } .protect .dot { margin-top: .5em; }
.art__tools { display: flex; gap: 18px; flex-wrap: wrap; } .linkbtn .ico.is-on { fill: var(--red); color: var(--red); }
.art__about, .art__reviews { margin-top: 48px; }
.reviews { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 22px; } .reviews p { margin: 6px 0 2px; font: 1.05rem/1.55 var(--font-text); max-width: 60ch; }
.buybar { position: fixed; inset: auto 0 0 0; z-index: 35; background: var(--chalk); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar div { display: grid; line-height: 1.2; } .buybar span { font-size: 13px; color: var(--ink-3); } @media (min-width: 900px) { .buybar { display: none; } }
body[data-page="art"] .foot { padding-bottom: 96px; }
@media (max-width: 859px) { body[data-page="messages"] .foot { display: none; } }
.artist__head { display: flex; gap: 22px; align-items: center; padding: clamp(24px, 4vw, 44px) 0 8px; } .artist__name { margin: 0 0 4px; font-size: 1rem; } .artist__name .sig { font-size: clamp(2.4rem, 5vw, 3.4rem); } .artist__stats { color: var(--ink-3); margin: 0; font-size: 14.5px; } .artist__bio { font-style: italic; }

/* ---------- auth, help, info ---------- */
.auth { display: grid; gap: 40px; padding-block: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .auth { grid-template-columns: minmax(0, 470px) 1fr; gap: 88px; align-items: center; } }
.auth__side { display: none; } @media (min-width: 900px) { .auth__side { display: block; } }
.wall--mini { padding: 56px 40px; border-radius: 4px; display: grid; gap: 28px; justify-items: center; text-align: center; } .wall--mini .frame { width: min(250px, 100%); } .wall--mini .hand { color: var(--saffron); margin: 0; font-size: 2.2rem; }
.auth__alt { margin-top: 20px; color: var(--ink-2); }
.help__grid { display: grid; gap: 32px; } @media (min-width: 900px) { .help__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; } }
.contact-list { display: grid; gap: 12px; margin-bottom: 32px; } .contact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; } .contact:hover { border-color: var(--teal); } .contact span { display: grid; } .contact strong { font-size: 13.5px; color: var(--ink-3); font-weight: 600; } .contact .ico { color: var(--teal-ink); width: 24px; height: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; } .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; font-weight: 600; list-style: none; } .faq summary::-webkit-details-marker { display: none; } .faq details[open] summary .ico { transform: rotate(180deg); } .faq p { color: var(--ink-2); margin: 0 0 14px; max-width: 60ch; }
.info section { margin-bottom: 36px; } .info .h3 { margin-bottom: 10px; }
.paysheet { max-width: 480px; margin: 48px auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--pop); } .paysheet__badge { display: inline-flex; gap: 8px; align-items: center; background: var(--saffron-wash); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; } .paysheet__methods { display: flex; gap: 8px; margin: 12px 0; } .paysheet__actions { display: grid; gap: 10px; }
.status-page { padding-block: clamp(32px, 6vw, 72px); }

/* ---------- account, checkout, orders ---------- */
.account__grid { display: grid; gap: 20px; } @media (min-width: 900px) { .account__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; } }
.twofa-steps { margin-top: 16px; } .twofa-steps li { margin-bottom: 10px; } .secret { display: inline-block; font-size: 1.05rem; letter-spacing: .08em; padding: 6px 10px; margin-top: 4px; }
.checkout__grid { display: grid; gap: 28px; } @media (min-width: 900px) { .checkout__grid { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 48px; } }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; } @media (min-width: 900px) { .summary { position: sticky; top: 92px; } }
.summary__piece { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; } .summary__piece .frame { width: 84px; flex: none; padding: 4px; border-width: 3px; } .summary__piece div { display: grid; } .summary__piece span { color: var(--ink-3); font-size: 14px; }
.notes { list-style: none; padding: 0; margin: 0; } .notes li a { display: grid; gap: 2px; padding: 16px 12px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 10px; } .notes li a:hover { background: var(--sunk); } .notes li.is-new a { border-left: 4px solid var(--saffron); } .notes span { color: var(--ink-2); } .notes time { color: var(--ink-3); font-size: 13px; }
.orderlist { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; gap: 10px; }
.orderrow { display: flex; gap: 16px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; } .orderrow:hover { border-color: var(--teal); }
.orderrow__main { display: grid; gap: 2px; flex: 1; min-width: 0; } .orderrow__main strong { font-size: 1.05rem; overflow-wrap: anywhere; } .orderrow__main .muted { font-size: 13.5px; } .orderrow__hint { color: var(--teal-ink); font-weight: 600; font-size: 14px; }
.orderrow__side { display: grid; justify-items: end; gap: 4px; text-align: right; } .orderrow__side small { color: var(--ink-3); font-size: 12px; margin-top: -4px; }
.listrow { display: grid; gap: 8px; }
@media (max-width: 560px) {
  .orderrow { flex-wrap: wrap; row-gap: 10px; }
  .orderrow__main { flex: 1 1 calc(100% - 90px); }
  .orderrow__side { flex: 1 1 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; justify-items: start; }
  .orderrow__side small { margin-top: 0; }
} .listrow__actions { display: flex; gap: 8px; }
@media (min-width: 700px) { .listrow { grid-template-columns: 1fr auto; align-items: center; } }
.order__head { display: flex; gap: 20px; align-items: center; padding: 8px 0 8px; } .order__head h1 { margin-bottom: 6px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 22px 0 26px; }
.timeline li { position: relative; padding-top: 30px; padding-right: 12px; color: var(--ink-3); font-size: 14px; display: grid; gap: 2px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-2); } .timeline li.is-done::before { background: var(--ink); }
.timeline .dot { position: absolute; top: 2px; left: 0; width: 16px; height: 16px; margin: 0; opacity: .35; } .timeline li.is-done .dot { opacity: 1; } .timeline li.is-done { color: var(--ink); } .timeline li strong { color: inherit; font-size: 15px; } .timeline time { font-size: 13px; color: var(--ink-3); }
.timeline li.is-next .dot { opacity: 1; box-shadow: 0 0 0 4px var(--focus); } .timeline.is-stopped { opacity: .55; }
.next h2 { margin-bottom: 8px; } .next p { max-width: 62ch; }
.order__cols { display: grid; gap: 20px; } @media (min-width: 760px) { .order__cols { grid-template-columns: 1fr 1fr; } }
.addr { font-style: normal; line-height: 1.6; }

/* ---------- messages ---------- */
.msgs { display: grid; gap: 16px; padding-block: 20px; }
@media (min-width: 860px) { .msgs { grid-template-columns: 340px 1fr; gap: 24px; } }
@media (max-width: 859px) { .msgs.is-chat .threads { display: none; } .msgs:not(.is-chat) .chat { display: none; } }
.threads ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.thread { display: flex; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); text-decoration: none; align-items: center; } .thread:hover { background: var(--sunk); } .thread.is-active { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--teal); }
.thread__main { display: grid; min-width: 0; flex: 1; } .thread__main > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .thread__art { font: italic .95rem var(--font-text); color: var(--ink-2); } .thread__last { font-size: 13.5px; color: var(--ink-3); }
.thread__side { display: grid; justify-items: end; gap: 4px; font-size: 12px; color: var(--ink-3); }
.chat { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden; height: min(78dvh, 740px); min-height: 420px; }
.chat__empty { display: grid; place-items: center; height: 100%; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); } .chat__who { display: grid; flex: 1; min-width: 0; } .chat__who a { font: italic .95rem var(--font-text); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.back-btn { margin-left: -8px; } @media (min-width: 860px) { .back-btn { display: none; } }
.chat__notice { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 16px; background: var(--teal-wash); color: var(--ink); font-size: 13px; line-height: 1.45; } .chat__notice .ico { width: 16px; height: 16px; margin-top: 2px; } .chat__notice--warn { background: var(--saffron-wash); }
.chat__list { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; overflow-wrap: anywhere; } .msg p { margin: 0; white-space: pre-wrap; } .msg time { display: block; font-size: 11.5px; opacity: .7; margin-top: 3px; }
.msg--mine { align-self: flex-end; background: var(--teal); color: var(--on-teal); border-bottom-right-radius: 5px; } .msg--theirs { align-self: flex-start; background: var(--sunk); border-bottom-left-radius: 5px; }
.msg--system { align-self: center; max-width: 92%; background: var(--saffron-wash); border-radius: 12px; font-size: 13.5px; text-align: center; }
.chat__form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; } .chat__form textarea { min-height: 46px; max-height: 140px; border-radius: 22px; resize: none; padding-top: 12px; }
.chat__warn { background: var(--saffron-wash); padding: 10px 16px; font-size: 13.5px; font-weight: 600; }

/* ---------- admin ---------- */
.adminnav { display: flex; gap: 6px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; } .adminnav::-webkit-scrollbar { display: none; }
.adminnav a { flex: none; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; } @media (min-width: 900px) { .adminnav { flex-wrap: wrap; overflow: visible; } }
.adminnav a:hover { background: var(--sunk); } .adminnav a.is-active { background: var(--ink); color: var(--chalk); }
.admin .page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.admin__cols { display: grid; gap: 28px; } @media (min-width: 900px) { .admin__cols { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 44px; } }
.qgroup { margin-bottom: 24px; } .qgroup .h4 { margin-bottom: 8px; } .qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; } .qlist a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; } .qlist a:hover { background: var(--sunk); }
.docs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 12px; } .doc { margin: 0; } .doc__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); background: var(--sunk); border-radius: 10px; overflow: hidden; cursor: zoom-in; } .doc img { width: 100%; height: 170px; object-fit: contain; } .doc figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.zoom { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 8px; }
.mask { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.transcript { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; max-width: 760px; }
.tmsg { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; } .tmsg p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; } .tmsg__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .tmsg time { color: var(--ink-3); font-size: 13px; margin-left: auto; }
.tmsg.is-flagged { border-color: var(--red); background: var(--red-wash); } .tmsg--system { background: var(--saffron-wash); border: 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; } .tmsg__orig { background: var(--paper); padding: 8px 10px; border-radius: 8px; } .tmsg__why { font-size: 13px; }
.supportlist { list-style: none; padding: 0; display: grid; gap: 12px; } .supportlist .is-closed { opacity: .6; }

/* ---------- dialogs and toasts ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 14, 32, .58); z-index: 60; }
.dialog { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: var(--pop); }
.dialog--wide { width: min(900px, calc(100% - 32px)); } .dialog__title { font-size: 1.4rem; margin-bottom: .4em; } .dialog__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.dialog__x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- full-screen image viewer: a true full-viewport overlay, distinct from the small .dialog modal ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 9, 14, .96); display: grid; grid-template-rows: auto 1fr auto; touch-action: pan-y; }
.lightbox__bar { display: flex; align-items: center; gap: 14px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; color: #EDEAE2; }
.lightbox__cap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; opacity: .85; }
.lightbox__count { font-size: 13px; opacity: .7; white-space: nowrap; }
.lightbox__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__close:focus-visible { background: rgba(255,255,255,.22); }
.lightbox__close .ico { width: 20px; height: 20px; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 4vw, 64px); }
.lightbox__stage img { max-width: 100%; max-height: min(78dvh, 820px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px -20px rgba(0,0,0,.7); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: clamp(4px, 2vw, 20px); } .lightbox__nav--next { right: clamp(4px, 2vw, 20px); }
.lightbox__nav .ico { width: 22px; height: 22px; }
.lightbox__dots { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0; }
.lightbox__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.lightbox__dots button.is-on { background: #fff; }
@media (max-width: 560px) { .lightbox__nav { width: 40px; height: 40px; } .lightbox__cap { font-size: 13px; } .panel { border-radius: 16px; } .page-head { padding-top: 24px; } }
#toasts { position: fixed; z-index: 70; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: var(--chalk); padding: 13px 18px; border-radius: 14px; box-shadow: var(--pop); font-weight: 550; animation: toast-in .25s ease; pointer-events: auto; } .toast--error { background: #8A2517; color: #fff; } .toast.is-out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
body[data-page="art"] #toasts { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } @media (min-width: 900px) { body[data-page="art"] #toasts { bottom: 20px; } }

.cookie-notice { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: center; background: var(--ink); color: var(--chalk); padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px -8px rgba(10, 14, 32, .3); animation: toast-in .25s ease; }
.cookie-notice p { margin: 0; font-size: 14px; max-width: 56ch; }
.cookie-notice a { color: var(--chalk); text-decoration: underline; text-underline-offset: .2em; }
.cookie-notice .btn--ghost { border-color: var(--line-2); color: var(--chalk); flex: none; }
.cookie-notice .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
body[data-page="art"] .cookie-notice { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } @media (min-width: 900px) { body[data-page="art"] .cookie-notice { bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .topbar, .foot, .buybar, #toasts { display: none !important; } }
