:root {
  --night: #0a1416; --deep: #0f2025; --panel: #14292f; --panel-2: #183239; --field: #0d1c20;
  --ink: #f3ebdc; --muted: #9db0b1; --line: rgba(243, 235, 220, .1); --line-2: rgba(243, 235, 220, .2);
  --amber: #f3b94a; --amber-2: #d9952a; --amber-ink: #2a1c02; --rust: #cf6a33; --patina: #49b3ad;
  --red: #ef7a63; --red-soft: rgba(239, 122, 99, .14); --green: #6fd0a0; --green-soft: rgba(111, 208, 160, .13);
  --ui: 'Manrope', 'Segoe UI', Arial, sans-serif; --display: 'Chakra Petch', 'Segoe UI', Arial, sans-serif;
  --r: 10px; --r-lg: 18px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -28px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); font: 400 16px/1.5 var(--ui); -webkit-text-size-adjust: 100%; background: var(--night); background-image: radial-gradient(1100px 620px at 88% -8%, rgba(243, 185, 74, .13), transparent 62%), radial-gradient(900px 700px at -10% 108%, rgba(73, 179, 173, .1), transparent 60%); background-attachment: fixed; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.08; letter-spacing: .01em; }
h1 { font-size: 40px; } h2 { font-size: 24px; } h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 12px; max-width: 68ch; }
a { color: var(--amber); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
::selection { background: var(--amber); color: var(--amber-ink); }
.muted { color: var(--muted); } .small { font-size: 14px; } .nowrap { white-space: nowrap; }

/* Gerüst */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.rail { background: linear-gradient(180deg, rgba(20, 41, 47, .92), rgba(10, 20, 22, .92)); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; backdrop-filter: blur(14px); }
.brand { font: 700 26px/1 var(--display); color: var(--ink); padding: 4px 8px 22px; display: flex; align-items: center; gap: 12px; letter-spacing: .02em; }
.brand .badge { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 60% 35%, rgba(243, 185, 74, .5), rgba(20, 41, 47, 1) 68%); border: 1px solid var(--line-2); overflow: hidden; display: grid; place-items: center; flex: none; box-shadow: 0 0 26px -6px rgba(243, 185, 74, .55); }
.brand .badge img { width: 100%; height: 100%; object-fit: cover; }
.brand .badge svg { width: 30px; height: 30px; }
.rail a { color: var(--muted); text-decoration: none; padding: 11px 12px; border-radius: var(--r); display: flex; justify-content: space-between; align-items: center; font-weight: 600; border: 1px solid transparent; transition: color .15s, background .15s; }
.rail a:hover { color: var(--ink); background: rgba(243, 235, 220, .05); }
.rail a.on { color: var(--ink); background: linear-gradient(90deg, rgba(243, 185, 74, .2), rgba(243, 185, 74, .03)); border-color: rgba(243, 185, 74, .3); box-shadow: inset 3px 0 0 var(--amber); }
.rail a b { font-weight: 700; background: var(--amber); color: var(--amber-ink); border-radius: 20px; padding: 0 8px; font-size: 13px; }
.rail .spacer { flex: 1; }
.rail .who { padding: 10px 12px 6px; border-top: 1px solid var(--line); display: grid; font-size: 14px; }
.rail .who span { color: var(--muted); font-size: 13px; }
main { padding: 34px 44px 130px; min-width: 0; max-width: 1500px; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.head p { margin: 10px 0 0; color: var(--muted); }

/* Bedienelemente */
.btn { border: 1px solid var(--line-2); background: rgba(243, 235, 220, .04); border-radius: var(--r); padding: 10px 17px; font-weight: 700; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s, box-shadow .15s, transform .08s; }
.btn:hover { background: rgba(243, 235, 220, .09); border-color: rgba(243, 235, 220, .34); }
.btn:active { transform: translateY(1px); }
.btn.pri { background: linear-gradient(180deg, #f8c962, var(--amber-2)); border-color: #f8d483; color: var(--amber-ink); box-shadow: 0 10px 30px -12px rgba(243, 185, 74, .75), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.btn.pri:hover { background: linear-gradient(180deg, #ffd574, #e3a034); box-shadow: 0 14px 38px -12px rgba(243, 185, 74, .95), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.btn.danger { border-color: rgba(239, 122, 99, .5); color: var(--red); }
.btn.quiet { font-weight: 600; color: var(--muted); }
.btn.quiet:hover { color: var(--ink); }
.btn.sm { min-height: 36px; padding: 5px 12px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 3px solid rgba(243, 235, 220, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.btn.pri.busy::after { border-color: rgba(42, 28, 2, .25); border-top-color: var(--amber-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
input[type=text], input[type=password], input[type=number], input[type=search], select, textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 13px; background: var(--field); min-height: 44px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #6f8587; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(243, 185, 74, .18); }
select option { background: var(--deep); }
textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
label.f { display: block; margin-bottom: 14px; font-weight: 600; }
label.f span { display: block; margin-bottom: 6px; }
label.f small { display: block; font-weight: 400; color: var(--muted); margin-top: 5px; font-size: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.panel > h2, .panel > h3 { margin-bottom: 12px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--amber); }

/* Teileanhänger: das Zeichen für "passt an" */
.tag { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(180deg, #f8c962, var(--amber-2)); color: var(--amber-ink); font-weight: 700; font-size: 13.5px; padding: 3px 10px 3px 20px; border-radius: 3px; position: relative; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); line-height: 1.35; }
.tag::before { content: ''; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--night); }
.tag.open { background: transparent; color: var(--red); clip-path: none; border: 1.5px dashed rgba(239, 122, 99, .7); padding-left: 10px; }
.tag.open::before { display: none; }
.tag.unsure { background: rgba(243, 185, 74, .2); color: var(--amber); }
.tag.unsure::before { background: var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.flag { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.flag.bad { background: var(--red-soft); color: var(--red); } .flag.good { background: var(--green-soft); color: var(--green); } .flag.wait { background: rgba(73, 179, 173, .15); color: var(--patina); }

/* Start: Fotos sind der Einstieg, der Waschbär fährt vor */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 10px; background: linear-gradient(120deg, var(--panel-2) 0%, var(--panel) 45%, #1d2a22 100%); border: 1px solid var(--line-2); border-radius: 24px; padding: 40px 12px 40px 44px; cursor: pointer; margin-bottom: 18px; overflow: hidden; box-shadow: var(--shadow); transition: border-color .2s; min-height: 300px; }
.hero::before { content: ''; position: absolute; right: -60px; top: -80px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(243, 185, 74, .34), rgba(207, 106, 51, .1) 45%, transparent 68%); pointer-events: none; }
.hero:hover, .hero:focus-within { border-color: rgba(243, 185, 74, .6); }
.hero input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hero .txt { position: relative; display: grid; gap: 12px; justify-items: start; }
.hero strong { font: 700 38px/1.05 var(--display); }
.hero .txt > span:not(.btn) { color: var(--muted); max-width: 46ch; }
.hero .cta { margin-top: 8px; }
.hero .art { position: relative; display: grid; place-items: center; }
.hero .art img { width: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); animation: roll-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero .art svg { width: 150px; height: 150px; }
@keyframes roll-in { from { transform: translateX(70px) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero.loading { pointer-events: none; opacity: .7; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; }

/* Inserate-Liste */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--line-2); background: rgba(243, 235, 220, .03); border-radius: 20px; padding: 6px 14px; cursor: pointer; font-weight: 600; min-height: 38px; color: var(--muted); }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.chip b { font-weight: 700; opacity: .65; margin-left: 5px; }
.list { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.item { display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1.2fr) 150px 84px; gap: 14px; align-items: center; padding: 13px 18px; border: 0; border-top: 1px solid var(--line); cursor: pointer; width: 100%; text-align: left; background: none; }
.item:first-child { border-top: 0; }
.item:hover { background: rgba(243, 235, 220, .04); }
.item.on { background: rgba(243, 185, 74, .08); box-shadow: inset 3px 0 0 var(--amber); }
.thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--field) center/cover no-repeat; display: grid; place-items: center; color: #4d6467; font: 700 20px var(--display); border: 1px solid var(--line); }
.item .t { font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item .n { color: var(--muted); font-size: 13px; }
.item .price { text-align: right; font-weight: 700; font-family: var(--display); font-size: 17px; }
.empty { padding: 40px 24px; text-align: center; display: grid; justify-items: center; }
.empty img { width: 190px; margin-bottom: 8px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.empty h3 { margin-bottom: 8px; } .empty p { margin: 0 auto 16px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

/* Detail */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(500px, 56%); gap: 20px; align-items: start; }
.split.solo { grid-template-columns: 1fr; }
.detail { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid rgba(243, 185, 74, .35); border-radius: var(--r-lg); position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow), 0 0 60px -30px rgba(243, 185, 74, .5); }
.detail header { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel-2); z-index: 2; }
.detail header .x { float: right; margin: -4px -6px 0 10px; }
.detail section { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.detail section:last-child { border-bottom: 0; }
.detail section > h3 { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fitbox { container-type: inline-size; background: rgba(243, 185, 74, .07); border: 1px solid rgba(243, 185, 74, .35); border-radius: 14px; padding: 14px; }
.fitbox.confirmed { background: var(--green-soft); border-color: rgba(111, 208, 160, .4); }
.fit, .fit tbody { display: block; width: 100%; }
.fit tr { display: grid; grid-template-columns: minmax(0, 2.2fr) 84px 86px 86px minmax(0, 1.2fr) 40px; gap: 6px; padding: 3px 0; }
.fit td { display: block; padding: 0; }
.fit input { min-height: 40px; padding: 7px 10px; width: 100%; }
@container (max-width: 640px) {
  .fit tr { grid-template-columns: 1fr 1fr 1fr 40px; padding: 9px 0; border-top: 1px solid var(--line); }
  .fit tr:first-child { border-top: 0; padding-top: 0; }
  .fit td.m { grid-column: 1 / 4; } .fit td.del { grid-column: 4; grid-row: 1; } .fit td.note { grid-column: 1 / 5; }
}
.preview { width: 100%; height: 420px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; font-family: var(--ui); }
.seg button { border: 0; background: none; padding: 6px 14px; cursor: pointer; font-weight: 600; min-height: 34px; color: var(--muted); font-size: 14px; }
.seg button.on { background: var(--ink); color: var(--night); }
.notice { padding: 11px 14px; border-radius: 12px; background: var(--red-soft); color: #ffb3a3; margin-bottom: 12px; border: 1px solid rgba(239, 122, 99, .3); }
.notice a { color: inherit; }
.notice.info { background: rgba(73, 179, 173, .12); color: #a6e2de; border-color: rgba(73, 179, 173, .3); }

/* Bereinigen */
.clean { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.lines { max-height: 300px; overflow: auto; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); }
.lines button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.lines button:hover { background: rgba(243, 185, 74, .14); }
.lines button.cut { background: var(--amber); color: var(--amber-ink); font-weight: 700; }
.lines button.gone { color: #6b7f81; text-decoration: line-through; background: rgba(239, 122, 99, .07); }
.lines mark { background: var(--red-soft); color: var(--red); font-weight: 700; border-radius: 3px; padding: 0 2px; }
.termlist { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.term { background: var(--red-soft); color: var(--red); border-radius: 20px; padding: 3px 4px 3px 12px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 2px; }
.term button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 7px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba h3 { margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.ba .preview { height: 560px; }
.bar { position: fixed; left: 248px; right: 0; bottom: 0; background: rgba(10, 20, 22, .86); backdrop-filter: blur(16px); border-top: 1px solid var(--line-2); padding: 12px 44px; display: flex; gap: 18px; align-items: center; justify-content: space-between; z-index: 5; flex-wrap: wrap; }
.bar .stats b { font: 700 24px/1 var(--display); margin-right: 5px; color: var(--amber); }
.bar .stats span { margin-right: 18px; color: var(--muted); }
.progress { height: 8px; background: rgba(243, 235, 220, .14); border-radius: 4px; overflow: hidden; flex: 1; min-width: 160px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--rust), var(--amber)); transition: width .3s; }
table.log { width: 100%; border-collapse: collapse; font-size: 14px; }
table.log td, table.log th { text-align: left; padding: 9px 10px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.log th { border-top: 0; color: var(--muted); font-weight: 600; }

/* Neues Teil */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo { aspect-ratio: 1; border-radius: 14px; background: var(--field) center/cover; position: relative; border: 1px solid var(--line-2); }
.photo button { position: absolute; top: 5px; right: 5px; border: 0; background: rgba(10, 20, 22, .82); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.drop { aspect-ratio: 1; border: 1.5px dashed rgba(243, 185, 74, .6); border-radius: 14px; display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--amber); font-weight: 700; padding: 8px; background: rgba(243, 185, 74, .05); font-size: 14px; }
.drop:hover { background: rgba(243, 185, 74, .12); }
.drop input { display: none; }
.ready { list-style: none; padding: 0; margin: 0 0 18px; }
.ready li { padding: 5px 0 5px 30px; position: relative; color: var(--muted); }
.ready li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #5d7376; }
.ready li.ok { color: var(--ink); }
.ready li.ok::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px rgba(111, 208, 160, .6); }
.count { float: right; font-weight: 400; color: var(--muted); } .count.over { color: var(--red); font-weight: 700; }
.draftcard { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); cursor: pointer; }
.draftcard:first-child { border-top: 0; } .draftcard:hover { background: rgba(243, 235, 220, .04); }
.draftcard .thumb { width: 72px; height: 72px; }

/* Einstellungen */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: s; padding: 0 0 24px 54px; position: relative; border-left: 1px solid var(--line-2); margin-left: 17px; }
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before { content: counter(s); position: absolute; left: -18px; top: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); display: grid; place-items: center; font: 700 18px var(--display); box-shadow: 0 0 22px -4px rgba(243, 185, 74, .7); }
.steps h3 { margin-bottom: 8px; }
.copy { display: flex; gap: 8px; margin-bottom: 12px; }
.copy input { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.acct { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* Anmeldung */
.gate { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: 30px; padding: 40px 6vw; position: relative; overflow: hidden; }
.gate::before { content: ''; position: absolute; left: 4%; top: 50%; width: 900px; height: 900px; margin-top: -450px; background: radial-gradient(circle, rgba(243, 185, 74, .3), rgba(207, 106, 51, .08) 42%, transparent 66%); pointer-events: none; }
.gate .art { position: relative; display: grid; place-items: center; }
.gate .art img { width: min(100%, 640px); filter: drop-shadow(0 40px 46px rgba(0, 0, 0, .6)); animation: roll-in 1s cubic-bezier(.2, .8, .2, 1) both; }
.gate .art svg { width: 220px; height: 220px; }
.gate form { position: relative; max-height: calc(100vh - 40px); overflow: auto; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); padding: 38px; border-radius: 24px; box-shadow: var(--shadow); max-width: 460px; width: 100%; justify-self: center; }
.gate .name { font: 700 54px/1 var(--display); margin-bottom: 6px; letter-spacing: .02em; }
.gate .claim { color: var(--amber); font-weight: 600; margin-bottom: 26px; }
.gate h2 { margin-bottom: 8px; }

#toast { position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--night); padding: 12px 20px; border-radius: 30px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: min(92vw, 560px); font-weight: 700; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7); }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { background: var(--red); color: #2a0b05; }

.split.open .item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 6px 12px; }
.split.open .item .thumb { width: 48px; height: 48px; grid-row: 1 / 4; align-self: start; }
.split.open .item .tags, .split.open .item .fl { grid-column: 2 / 4; }
.split.open .item .price { grid-column: 3; grid-row: 1; }
@media (max-width: 1180px) {
  .split { grid-template-columns: 1fr; }
  .split.open > .listcol { display: none; }
  .detail { position: static; max-height: none; }
  .clean { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 15.5px; }
  h1 { font-size: 30px; }
  .shell { display: block; }
  .rail { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); z-index: 20; gap: 2px; border-right: 0; border-top: 1px solid var(--line-2); background: rgba(10, 20, 22, .94); }
  .rail .brand, .rail .spacer, .rail .who, .rail a[data-a=logout] { display: none; }
  .rail a { flex: 1; flex-direction: column; justify-content: center; padding: 8px 2px; font-size: 12.5px; text-align: center; gap: 2px; min-height: 50px; position: relative; }
  .rail a.on { box-shadow: inset 0 3px 0 var(--amber); background: rgba(243, 185, 74, .12); border-color: transparent; }
  .rail a b { position: absolute; top: 2px; right: 8%; font-size: 11px; padding: 0 6px; }
  main { padding: 20px 14px 170px; }
  .panel { padding: 18px; }
  .item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 6px 12px; }
  .item .thumb { width: 48px; height: 48px; grid-row: 1 / 4; align-self: start; }
  .item .tags, .item .fl { grid-column: 2 / 4; }
  .item .price { grid-column: 3; grid-row: 1; }
  .hero { grid-template-columns: 1fr; padding: 22px 20px 26px; text-align: center; min-height: 0; }
  .hero .art { order: -1; } .hero .art img { max-height: 210px; }
  .hero .txt { justify-items: center; } .hero strong { font-size: 27px; }
  .grid2 { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; } .ba .preview { height: 380px; }
  .bar { left: 0; bottom: calc(62px + env(safe-area-inset-bottom)); padding: 10px 14px; }
  .steps > li { padding-left: 32px; }
  .gate { grid-template-columns: 1fr; padding: 24px 18px; gap: 6px; }
  .gate .art img { max-height: 250px; width: auto; } .gate form { padding: 26px; } .gate .name { font-size: 42px; }
  #toast { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: .01ms !important; } }
