/* The publishing workspace uses a contained, animated ember-and-fire atmosphere. */
body.app-section-listing {
  background:
    linear-gradient(180deg, #08090ba8 0%, #180a0a7d 44%, #08090bb8 100%),
    url("/public/sell-lava-field.png") center / cover fixed no-repeat !important;
  background-size: 100% 100%, 118% auto !important;
  animation: sell-lava-drift 13s ease-in-out infinite alternate;
}

body.app-section-listing .app-shell,
body.app-section-listing .market-stage,
body.app-section-listing .listing-stream {
  background: transparent !important;
}

body.app-section-listing .app-section-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 154px);
  background:
    linear-gradient(90deg, #090809e9 0%, #160908c2 22%, #290d0985 50%, #130908c9 80%, #090809e9 100%),
    url("/public/sell-lava-field.png") center / 120% auto fixed no-repeat !important;
  background-size: 100% 100%, 120% auto !important;
  animation: sell-lava-drift 15s ease-in-out infinite alternate-reverse;
}

body.app-section-listing .app-section-page > * { position: relative; z-index: 1; }

body.app-section-listing .app-section-page::before,
body.app-section-listing .app-section-page::after {
  position: fixed;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

body.app-section-listing .app-section-page::before {
  display: none;
}

body.app-section-listing .app-section-page::after {
  height: 100%;
  opacity: .68;
  background:
    radial-gradient(circle at 9% 88%, #fff0a8 0 1px, transparent 2px),
    radial-gradient(circle at 23% 73%, #ff8a35 0 1px, transparent 2px),
    radial-gradient(circle at 41% 91%, #ffd36f 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 58% 67%, #ff6c28 0 1px, transparent 2px),
    radial-gradient(circle at 77% 84%, #fff0a8 0 1px, transparent 2px),
    radial-gradient(circle at 92% 72%, #ff8a35 0 1.5px, transparent 2.5px);
  background-size: 210px 320px, 270px 410px, 340px 360px, 240px 460px, 310px 390px, 380px 440px;
  filter: drop-shadow(0 0 4px #ff5e2e);
  animation: sell-embers 4.8s linear infinite;
}

body.app-section-listing .app-section-intro {
  border-bottom-color: #e66a2b78;
  background: linear-gradient(112deg, #210d0be8, #58180fb8 52%, #1b0c0de8) !important;
}

body.app-section-listing .app-section-intro > span { color: #ffc15d; }
body.app-section-listing .app-section-intro h1 { color: #fff0d5; text-shadow: 0 3px 18px #f2481b52; }
body.app-section-listing .app-section-intro p { color: #e3c7b5; }

body.app-section-listing .listing-details,
body.app-section-listing .listing-media-panel {
  border-color: #b653316e !important;
  background: linear-gradient(145deg, #181012f2, #0f1115f2) !important;
  box-shadow: 0 18px 44px #0805058a;
}

body.app-section-listing .listing-step,
body.app-section-listing .listing-tag-composer-head b { color: #ffc15d !important; }

body.app-section-listing .listing-form input,
body.app-section-listing .listing-form textarea,
body.app-section-listing .listing-form select {
  border-color: #8d483576 !important;
  background: #0d0e12ed !important;
  color: #fff1df !important;
}

body.app-section-listing .listing-form input:focus,
body.app-section-listing .listing-form textarea:focus,
body.app-section-listing .listing-form select:focus {
  border-color: #ffb84e !important;
  box-shadow: 0 0 0 3px #ff6e2133, 0 0 20px #e83c1930 !important;
}

body.app-section-listing .listing-upload-field,
body.app-section-listing .listing-location-panel,
body.app-section-listing .listing-fulfillment-field,
body.app-section-listing .listing-tag-composer {
  border-color: #a9553970 !important;
  background: #170e10dd !important;
}

body.app-section-listing .listing-upload-field input[type=file]::file-selector-button,
body.app-section-listing .listing-tag-chip {
  border-color: #f28b42 !important;
  background: #482014 !important;
  color: #ffe0ad !important;
}

body.app-section-listing .listing-image-preview,
body.app-section-listing .preview-card {
  border-color: #9f53376b !important;
  background: #0b0b0ee8 !important;
}

body.app-section-listing .listing-media-panel h3 { color: #fff0d5 !important; }
body.app-section-listing .listing-media-panel p:not(.listing-step),
body.app-section-listing .listing-form label { color: #eed7c5 !important; }

body.app-section-listing .listing-publish-bar {
  border-top-color: #e86c398a !important;
  background: linear-gradient(90deg, #180b0beF, #351009f5 50%, #180b0beF) !important;
}

body.app-section-listing .listing-publish-bar button {
  border-color: #ffb84e !important;
  background: linear-gradient(135deg, #ffca57, #e66a27) !important;
  color: #1b0906 !important;
  box-shadow: 0 0 22px #ff64154d;
}

.sell-lava-game-host { width: min(860px, 100%); margin: 34px auto 0; }
.sell-lava-game { overflow: hidden; border: 1px solid #ff873f8a; border-radius: 14px; background: #130909e8; box-shadow: 0 24px 54px #070303a8, 0 0 40px #f3451f26; color: #fff0d7; }
.sell-lava-game header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #ff8b4b71; background: linear-gradient(90deg, #2a0d09, #6b1f0e, #2a0d09); font: 800 .66rem/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }.sell-lava-game header b { color: #ffe09a; }.sell-lava-game header span { color: #ffe2bd; }
.sell-lava-field { position: relative; height: 270px; overflow: hidden; background: linear-gradient(#250b08ad, #09060840), url("/public/sell-lava-field.png") center / 128% auto; animation: sell-lava-drift 8s ease-in-out infinite alternate; }.sell-lava-field::before { position: absolute; right: 0; bottom: 0; left: 0; height: 35px; content: ""; background: linear-gradient(180deg, #ffb32918, #ff4b168a 35%, #7d150ee8); box-shadow: 0 -8px 25px #ff4e1e7d; pointer-events: none; }.sell-lava-field::after { position:absolute; inset:0; content:""; background:linear-gradient(90deg,#1305049c,transparent 23% 77%,#1305049c),linear-gradient(180deg,#0000 50%,#05030570); pointer-events:none; }
.sell-lava-grid { position:absolute; z-index:1; right:-20%; bottom:18px; left:-20%; height:88%; transform:perspective(210px) rotateX(52deg); transform-origin:bottom; background:linear-gradient(#ffbd571f 1px,transparent 1px),linear-gradient(90deg,#ffbd571f 1px,transparent 1px); background-size:27px 27px; mask-image:linear-gradient(to top,#000 20%,transparent); opacity:.75; }.sell-lava-ground { position:absolute; z-index:2; right:0; bottom:0; left:0; height:18px; background:repeating-linear-gradient(90deg,#ffcf6b 0 18px,#e54920 18px 34px,#71150f 34px 45px); box-shadow:0 -2px 12px #ffb246; }
.sell-lava-platform { position:absolute; z-index:3; left:var(--platform-x); bottom:var(--platform-y); width:var(--platform-width); height:var(--platform-height, 22px); border:2px solid #ffd26e; border-radius:4px 4px 2px 2px; background:linear-gradient(180deg,#ffdc72 0 14%,#e14b24 16% 43%,#741611 44%); box-shadow:0 0 14px #ff542c80, inset 0 -6px 0 #4d0e0d; }.sell-lava-platform::after { position:absolute; inset:7px 2px auto; height:3px; content:""; background:repeating-linear-gradient(90deg,#5d110e 0 10px,transparent 10px 15px); opacity:.8; }
.sell-lava-runner { position:absolute; z-index:5; left:var(--runner-x); bottom:var(--runner-y); width:27px; height:27px; transform:translateX(-50%) rotate(0deg); border:3px solid #fff3c1; border-radius:5px; background:linear-gradient(135deg,#ffcc45 0 25%,#f35d25 25% 52%,#8c1c16 52%); box-shadow:0 0 0 3px #34110f,0 0 18px #ff812d; transition:bottom .04s linear,left .04s linear; }.sell-lava-runner::before { position:absolute; inset:5px; content:""; border:2px solid #35100c; border-radius:2px; background:#ffe9a1; }.sell-lava-runner:not(.is-grounded) { animation:sell-lava-cube-spin .42s linear infinite; }
.sell-lava-spike { position:absolute; z-index:4; left:var(--obstacle-x); bottom:var(--obstacle-y); width:0; height:0; border-right:13px solid transparent; border-bottom:26px solid #ffecac; border-left:13px solid transparent; filter:drop-shadow(0 0 7px #ff5529) drop-shadow(0 3px 2px #000); }.sell-lava-spike::after { position:absolute; left:-8px; top:12px; width:16px; height:12px; content:""; background:#e43d20; clip-path:polygon(50% 0,100% 100%,0 100%); }.sell-lava-block { position:absolute; z-index:4; left:var(--obstacle-x); bottom:var(--obstacle-y); width:25px; height:var(--obstacle-height); border:2px solid #ffd06a; background:linear-gradient(135deg,#ffb23f,#d8371e 48%,#74130f); box-shadow:0 0 15px #ff542c; }
.sell-lava-enemy { position:absolute; z-index:4; left:var(--enemy-x); bottom:var(--enemy-y); width:31px; height:27px; display:grid; place-items:center; font-size:25px; font-style:normal; filter:drop-shadow(0 0 8px #f34b24) drop-shadow(0 3px 2px #000); animation:sell-lava-drone .7s ease-in-out infinite alternate; }.sell-lava-shot { position:absolute; z-index:6; left:var(--shot-x); bottom:var(--shot-y); width:25px; height:4px; border-radius:8px; background:linear-gradient(90deg,#fff9bf,#8dffff 35%,#2e8dff00); box-shadow:0 0 7px #7cf7ff,0 0 16px #2ba8ff; }.sell-lava-blast { position:absolute; z-index:7; left:var(--blast-x); bottom:var(--blast-y); color:#fff0a1; font:900 2rem/1 system-ui; text-shadow:0 0 12px #ff5b27,0 0 24px #f93018; transform:translate(-50%,50%); animation:sell-lava-blast .36s ease-out both; }
.sell-lava-toast { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; pointer-events: none; }.sell-lava-toast span { max-width: 360px; border: 1px solid #ff9a4d91; padding: 10px 13px; background: #170908d9; color: #fff0d3; box-shadow: 0 10px 28px #0008; font: 800 .69rem/1.5 "DM Mono", monospace; letter-spacing: .05em; }
.sell-lava-game footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #ff854b65; background: #120a0be8; }.sell-lava-game footer small { color: #f5c7a8; font: .63rem/1.4 "DM Mono", monospace; }.sell-lava-game footer div { display: flex; gap: 7px; }.sell-lava-game button { min-width: 42px; border: 1px solid #ff9d4e; border-radius: 7px; padding: 9px 11px; background: linear-gradient(135deg, #6f2414, #2a1211); color: #ffe6b8; font: 800 .65rem/1 "DM Mono", monospace; cursor: pointer; }.sell-lava-game button[data-sell-lava-play] { min-width: 76px; background: linear-gradient(135deg, #ffb63f, #e95720); color: #240b06; }.sell-lava-game button:hover { filter: brightness(1.18); }

@keyframes sell-lava-drift {
  from { background-position: 0 0, 46% 45%; }
  to { background-position: 0 0, 56% 56%; }
}

@keyframes sell-embers {
  from { background-position: 0 0, 50px 40px, 100px 0, 10px 55px, 80px 15px, 20px 70px; }
  to { background-position: 30px -320px, -20px -410px, 135px -360px, -15px -460px, 115px -390px, -5px -440px; }
}
@keyframes sell-lava-cube-spin { to { transform:translateX(-50%) rotate(360deg); } }
@keyframes sell-lava-drone { from { transform:translateY(-3px) rotate(-4deg); } to { transform:translateY(3px) rotate(4deg); } }
@keyframes sell-lava-blast { from { opacity:1; transform:translate(-50%,50%) scale(.45) rotate(0); } to { opacity:0; transform:translate(-50%,50%) scale(1.8) rotate(110deg); } }

@media (prefers-reduced-motion: reduce) {
  body.app-section-listing,
  body.app-section-listing .app-section-page,
  body.app-section-listing .app-section-page::before,
  body.app-section-listing .app-section-page::after { animation: none; }
}

@media (max-width: 620px) { .sell-lava-game-host { margin-top: 20px; }.sell-lava-game header, .sell-lava-game footer { align-items: flex-start; flex-direction: column; }.sell-lava-game footer div { width: 100%; }.sell-lava-game footer button { flex: 1; }.sell-lava-field { height: 235px; } }
