:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #191b16;
  --muted: #565a50;
  --line: #dedfd5;
  --white: #fff;
  --lime: #d8fa4e;
  --sage: #edf3d7;
  --lavender: #eeebfb;
  --peach: #fae9dc;
  --heading: "Manrope", "DM Sans", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #5b6b16; outline-offset: 4px; }
:where(h1, h2, h3, p) { margin: 0; }
:where(h1, h2, h3) { font-family: var(--heading); font-weight: 800; letter-spacing: -.05em; line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.35rem; }
.shell { width: min(100% - 80px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .8rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .63rem; width: fit-content; font: 800 2.05rem/1 var(--heading); letter-spacing: -.09em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; transform: rotate(-12deg); flex: none; }
.brand-mark i { height: 8px; border-radius: 2px; background: var(--ink); }
.brand-mark i:nth-child(2) { transform: translateY(-3px); background: #758c1f; }
.primary-nav { display: flex; gap: .3rem; align-items: center; font-weight: 700; }
.primary-nav a { padding: .5rem .9rem; border-radius: .5rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: #e9eddb; }
.button { border: 1px solid transparent; border-radius: .56rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .62rem .95rem; color: var(--ink); background: var(--lime); font-weight: 800; line-height: 1.25; text-align: center; }
.button:hover { background: #c7e940; }
.button.dark, .account-link { background: var(--ink); color: white; }
.button.dark:hover, .account-link:hover { background: #34392a; }
.button.danger { background: #a22c39; color: var(--white); }
.button.danger:hover { background: #852232; }
.listing-title { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.listing-title:hover, .listing-title:focus-visible { text-decoration: underline; text-underline-offset: .18em; }
.button.light { background: var(--white); border-color: var(--line); }
.button.light:hover { background: #f0f2e9; }
.button.ghost { background: transparent; border-color: #595d50; color: white; }
.button.ghost:hover { background: #292c24; }
.button.small { min-height: 38px; padding: .47rem .72rem; font-size: .9rem; }
.account-link { justify-self: end; }
.account-link[aria-current="page"] { background: #314000; }
.account-icon { position: relative; display: inline-block; width: 15px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; }
.account-icon::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 1.5px solid currentColor; }
.account-icon::after { content: ""; position: absolute; inset: 4px auto 0 5px; border-left: 1.5px solid currentColor; }
main { min-height: calc(100vh - 160px); padding-block: 30px 54px; }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 400px; overflow: hidden; background: #171914; color: #fff; border-radius: 18px; }
.hero-copy { padding: clamp(2.2rem, 5vw, 4.5rem); padding-right: 1.2rem; align-self: center; }
.hero h1 { font-size: clamp(3rem, 5.75vw, 5.85rem); line-height: .99; letter-spacing: -.088em; }
html:not([lang="en"]) #home-title { font-size: clamp(2.45rem, 5.1vw, 4.7rem); }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero p { font-size: 1.1rem; max-width: 29rem; color: #e1e4d9; margin: 1.15rem 0 1.55rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.hero-art { position: relative; min-height: 320px; background: #20231a center / cover no-repeat; background-image: url("assets/hero.jpg"), radial-gradient(ellipse at 75% 40%, #7b8d36, #20231a 64%); }
.hero-art::after { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(90deg, #171914 0%, transparent 30%); pointer-events: none; }
.section { margin-top: 34px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-heading p, .muted { color: var(--muted); }
.tile-grid, .card-grid, .overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.market-tile, .catalog-card, .panel, .overview-card { background: var(--white); border: 1px solid var(--line); border-radius: .85rem; }
.market-tile { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .16s ease, transform .16s ease; }
.market-tile:hover, .catalog-card:hover { box-shadow: 0 8px 22px #23261610; }
.market-tile:hover { transform: translateY(-3px); }
.cover { position: relative; background: var(--cover-color, #e9eadc) center / cover no-repeat; min-height: 132px; overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 0; background: var(--cover-image) center / cover no-repeat; }
.art-learn { --cover-image: url("assets/learn.jpg"); --cover-color: #dce68a; }
.art-learn-alt { --cover-image: url("assets/learn.jpg"); --cover-color: #d6deba; }
.art-learn-alt::before { filter: hue-rotate(21deg) saturate(.7); background-position: 48% 70%; }
.art-learn-warm { --cover-image: url("assets/learn.jpg"); --cover-color: #e3c886; }
.art-learn-warm::before { filter: hue-rotate(-21deg) saturate(.8); background-position: 40% 12%; }
.art-music { --cover-image: url("assets/music.jpg"); --cover-color: #c4bbdc; }
.art-music-alt { --cover-image: url("assets/music.jpg"); --cover-color: #b7cee4; }
.art-music-alt::before { filter: hue-rotate(-39deg); background-position: 65% 24%; }
.art-music-warm { --cover-image: url("assets/music.jpg"); --cover-color: #d5afd6; }
.art-music-warm::before { filter: hue-rotate(32deg); background-position: 25% 60%; }
.art-wholesale { --cover-image: url("assets/wholesale.jpg"); --cover-color: #dfac8a; }
.art-wholesale-alt { --cover-image: url("assets/wholesale.jpg"); --cover-color: #dfbd91; }
.art-wholesale-alt::before { filter: hue-rotate(15deg) saturate(.7); background-position: 50% 85%; }
.art-wholesale-warm { --cover-image: url("assets/wholesale.jpg"); --cover-color: #e2ac92; }
.art-wholesale-warm::before { filter: hue-rotate(-17deg); background-position: 70% 6%; }
.art-jobs { --cover-image: url("assets/hero.jpg"); --cover-color: #2b3327; }
.art-jobs::before { background-position: 68% 60%; }
.art-bulletins { --cover-image: url("assets/learn.jpg"); --cover-color: #e4eadf; }
.art-bulletins::before { background-position: right center; filter: hue-rotate(34deg) saturate(.52); }
.theme-bulletins { --market-tint: #dfece8; }
.market-tile .cover { height: clamp(9rem, 15vw, 12rem); }
.tile-info, .card-info { padding: 1rem 1.15rem 1.1rem; }
.tile-info { display: flex; flex-direction: column; gap: .55rem; height: 100%; }
.tile-info .text-link { margin-top: auto; padding-top: .35rem; }
.title-line, .row, .item-actions { display: flex; align-items: center; gap: .55rem; }
.row { justify-content: space-between; }
.item-actions { flex-wrap: wrap; }
.title-line h3 { font-size: 1.6rem; }
.market-icon { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; font-weight: 700; background: var(--market-tint, var(--sage)); flex: none; }
.theme-learn { --market-tint: var(--sage); }
.theme-music { --market-tint: var(--lavender); }
.theme-wholesale { --market-tint: var(--peach); }
.text-link { font-weight: 800; text-underline-offset: .23em; }
a.text-link:hover, .market-tile:hover .text-link { text-decoration: underline; }
.section-note { margin-top: 26px; padding: 19px 22px; border-radius: .8rem; background: #eaf0d6; display: flex; align-items: center; justify-content: space-between; gap: .9rem; }
.section-note .text-link { white-space: nowrap; }
.market-banner, .dashboard-banner { position: relative; display: grid; align-items: center; overflow: hidden; background: var(--market-tint, #20241b); border-radius: 1rem; }
.market-banner { grid-template-columns: 1.3fr 1fr; min-height: 240px; }
.market-banner .cover { align-self: stretch; }
.banner-copy { padding: clamp(1.4rem, 4vw, 2.85rem); }
.banner-copy .market-label { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-weight: 800; }
.market-label .market-icon { background: #ffffffa0; }
.banner-copy h1, .dashboard-banner h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
.banner-copy p { margin-top: .65rem; max-width: 36rem; }
.market-banner .actions { margin-top: 1rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: .85rem; }
.search-box { flex: 1 1 235px; position: relative; }
.search-box::before { content: ""; width: 12px; height: 12px; border: 1.7px solid var(--muted); border-radius: 50%; position: absolute; top: 15px; left: 15px; pointer-events: none; }
.search-box::after { content: ""; height: 1.7px; width: 7px; background: var(--muted); position: absolute; top: 27px; left: 24px; transform: rotate(45deg); pointer-events: none; }
input[type=search], select { width: 100%; min-height: 45px; padding: .55rem .8rem; border: 1px solid var(--line); background: white; border-radius: .5rem; color: var(--ink); }
input[type=search] { padding-left: 2.5rem; }
select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, #505449 50%), linear-gradient(135deg, #505449 50%, transparent 50%); background-position: calc(100% - 15px) 19px, calc(100% - 10px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.chips, .tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip, .tab { padding: .47rem .65rem; min-height: 40px; border: 1px solid var(--line); border-radius: .5rem; background: white; color: var(--ink); font-weight: 700; font-size: .9rem; }
.chip:hover, .tab:hover { background: #e9eddd; }
.chip[aria-pressed=true], .tab[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.result-label { color: var(--muted); font-size: .9rem; margin-bottom: .75rem; }
.catalog-card { overflow: hidden; display: flex; flex-direction: column; }
.catalog-card .cover { height: 158px; }
.catalog-card .card-info { display: flex; flex-direction: column; line-height: 1.45; gap: .45rem; flex: 1; }
.catalog-card .item-actions { margin-top: auto; padding-top: .5rem; justify-content: space-between; }
.catalog-card .title-link { font-family: var(--heading); letter-spacing: -.05em; font-weight: 800; font-size: 1.26rem; }
.meta { color: var(--muted); font-size: .88rem; }
.tag { background: #f2f3ed; color: #373b30; display: inline-flex; border-radius: .35rem; padding: .2rem .42rem; font-size: .81rem; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.price { font-weight: 800; white-space: nowrap; }
.save-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: .45rem; background: white; color: var(--ink); font-size: 1.2rem; line-height: 1; }
.save-button[aria-pressed=true] { background: #e9f2ca; border-color: #b4c67d; }
.save-button:hover { background: #eff4e4; }
.dashboard-banner { grid-template-columns: minmax(0, 1fr) auto; color: white; margin-bottom: 1.2rem; }
.dashboard-banner .banner-copy { padding-block: 2rem; }
.dashboard-banner p { color: #d9dfcc; }
.dashboard-banner .dash-mark { color: var(--lime); font: 800 clamp(3.5rem, 8vw, 7.4rem)/1 var(--heading); letter-spacing: -.1em; padding-right: 3rem; opacity: .9; }
.dashboard-banner.seller-dashboard-banner { background: #36264d; }
.seller-dashboard-banner p { color: #eee0f4; }
.seller-dashboard-banner .dash-mark { color: #efbcff; }
.seller-dashboard-banner .button.ghost { border-color: #916da6; }
.seller-dashboard-banner .button.ghost:hover { background: #543963; }
.tab.buyer-tab { background: #e8e8e7; border-color: #d3d4d2; color: #30322e; }
.tab.buyer-tab:hover { background: #dcdedb; }
.tab.buyer-tab[aria-current="page"] { background: #2d2f2a; border-color: #2d2f2a; color: white; }
.tab.seller-tab { background: #f3e8f7; border-color: #d7bee4; color: #4a305c; }
.tab.seller-tab:hover { background: #ead7f3; }
.tab.seller-tab[aria-current="page"] { background: #503567; border-color: #503567; color: white; }
.seller-listing-draft { padding: .85rem; border: 1px solid var(--line); border-radius: .55rem; }
.seller-listing-draft h3 { margin: .28rem 0 .4rem; overflow-wrap: anywhere; }
.seller-listing-draft .social-text { margin-top: .35rem; }
.tabs { margin-bottom: 1.15rem; }
.overview-card { display: flex; flex-direction: column; gap: .65rem; padding: 1rem; border-top: 5px solid var(--market-tint); }
.overview-card .item-actions { margin-top: auto; padding-top: .25rem; }
.overview-card .title-line h3 { font-size: 1.12rem; }
.overview-card strong { font-size: 1.08rem; }
.progress-track { background: #e7ebda; overflow: hidden; height: 7px; border-radius: 20px; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: #849d2e; }
.dashboard-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.panel { padding: 1.05rem; }
.panel h2, .panel h3 { margin-bottom: .6rem; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .78rem .15rem; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-label { min-width: 0; overflow-wrap: anywhere; }
.list-label strong { display: block; }
.list-row .button { flex: none; }
.activity { display: grid; gap: 0; }
.activity .list-row { justify-content: flex-start; }
.empty { padding: 1.5rem; border: 1px dashed #b9bfab; border-radius: .6rem; color: var(--muted); }
.detail-inner { padding: 1.45rem; }
dialog { width: min(calc(100% - 28px), 620px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: white; color: var(--ink); border-radius: .95rem; box-shadow: 0 20px 80px #14181140; }
dialog::backdrop { background: #0c100bb5; }
#guest-prompt { width: min(calc(100% - 28px), 440px); }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .9rem; }
.detail-header h2 { margin-top: .4rem; }
.close { border: 1px solid var(--line); color: var(--ink); background: white; width: 38px; height: 38px; border-radius: .45rem; flex: none; font-size: 1.35rem; line-height: 1; }
.detail-inner > .tags, .detail-inner > p, .detail-inner > .actions, .detail-inner > .panel, .detail-inner > .row { margin-top: .85rem; }
.detail-inner .cover { height: 125px; min-height: 0; border-radius: .6rem; margin-bottom: .85rem; }
.lesson-list .list-row { padding-block: .52rem; }
.lesson-list .active { background: var(--sage); padding-inline: .45rem; border-radius: .33rem; }
.field { display: block; font-weight: 800; }
.field select { display: block; margin-top: .35rem; font-weight: 500; }
.stepper { display: flex; align-items: center; gap: .4rem; }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: .35rem; background: white; font-size: 1.08rem; }
.stepper output { min-width: 1.8rem; text-align: center; font-weight: 800; }
.player { display: flex; align-items: center; gap: .8rem; background: var(--lavender); border-radius: .65rem; padding: .75rem; margin-top: .8rem; }
.waveform { flex: 1; display: flex; gap: 3px; align-items: center; height: 26px; overflow: hidden; opacity: .8; }
.waveform i { flex: 1 0 3px; background: #7257ab; border-radius: 5px; height: var(--beat-height); }
.form-note { margin-top: .65rem; }
.site-footer { padding-block: 1rem 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .89rem; }
.footer-brand { font-size: 1.28rem; color: var(--ink); }
.footer-brand .brand-mark { transform: rotate(-12deg) scale(.75); }
.toast { position: fixed; z-index: 5; right: 1rem; bottom: 1rem; max-width: min(90vw, 25rem); padding: .75rem 1rem; border-radius: .55rem; background: var(--ink); color: white; font-weight: 700; box-shadow: 0 6px 25px #1e251b32; }
.toast:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
@media (min-width: 960px) {
  #marketplaces .tile-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  #marketplaces .tile-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 960px) and (max-width: 1179px) {
  #marketplaces .tile-grid:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 676px) and (max-width: 959px) {
  #marketplaces .tile-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .hero-copy { padding-left: 2rem; }
  .hero { min-height: 360px; }
  .hero p { font-size: 1rem; }
  .tile-grid, .card-grid, .overview-grid { gap: 12px; }
  .tile-info, .card-info { padding: .85rem; }
}
@media (max-width: 675px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 0; gap: .45rem; grid-template-columns: 1fr 1fr; padding-block: .8rem .5rem; }
  .wordmark { font-size: 1.8rem; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; margin-left: -.5rem; }
  .primary-nav a { padding: .45rem .6rem; }
  .account-link { grid-column: 2; grid-row: 1; min-height: 40px; padding: .45rem .65rem; }
  main { padding-block: 16px 36px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.7rem 1.2rem .75rem; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 4.4rem); }
  .hero p { margin-top: .85rem; margin-bottom: 1.1rem; }
  .hero-art { min-height: 190px; background-position: center 55%; }
  .hero-art::after { background: linear-gradient(180deg, #171914 0%, transparent 40%); }
  .section { margin-top: 25px; }
  .tile-grid, .card-grid, .overview-grid, .dashboard-columns { grid-template-columns: 1fr; }
  .market-tile .cover, .catalog-card .cover { height: 148px; }
  .market-banner { grid-template-columns: 1fr; }
  .market-banner .cover { height: 112px; min-height: 0; }
  .dashboard-banner .dash-mark { display: none; }
  .section-note { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .footer-brand { font-size: 1.3rem; }
  .detail-inner { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
