/* Original Terraria mud, grass, plants and cave background; no torches. */
:root[data-theme="mushroom"]{
  filter:none;color-scheme:dark;background:#0c142b;color:#eef4ff;
  --theme-surface:#0c142b;--theme-secondary:#111e3a;--theme-control:#101c35;
  --theme-hover:#1b3153;--theme-ink:#eef4ff;--theme-muted:#c3d4ef;
  --theme-line:#3e557e;--theme-accent:#a5c6ff;--theme-accent-bg:#1a2b4c;
  --theme-button:#223b65;--theme-button-ink:#f3f7ff;--theme-error:#ffbab4;
  --theme-shadow:inset 0 1px 0 #d3e3ff26,0 2px 0 #030b1d,0 4px 9px #0006;
  --mint:#a5c6ff;--panel:#0c142b;--muted:#c3d4ef;--border:#3e557e;
  --control-edge:#263b62;--control-shadow:#020817a6;--control-highlight:#c8dcff38;
}
:root[data-theme="mushroom"] .world-stage{background:#091226}
:root[data-theme="mushroom"] .world-stage>main{padding-bottom:360px}
:root[data-theme="mushroom"] .mushroom-scene{display:block;position:absolute;inset:0;z-index:0;overflow:hidden}
.mushroom-scene .marble-atmosphere{background:
  radial-gradient(ellipse 260px 190px at 14% 92%,#3a4cd730,transparent 85%),
  radial-gradient(ellipse 320px 200px at 68% 94%,#405be539,transparent 85%),
  radial-gradient(ellipse 200px 180px at 96% 99%,#4558d940,transparent 85%),
  linear-gradient(90deg,#05091d88,transparent 18%,transparent 82%,#05091d88),
  linear-gradient(#07102680,#080b1c60),
  url('./assets/mushroom/mushroom-background-tile.png') 0 0/128px 96px repeat}
.mushroom-scene .marble-depth{background:
  radial-gradient(ellipse at 50% 100%,#3546b52b,transparent 58%),
  linear-gradient(#0307199c,transparent 120px,transparent calc(100% - 100px),#03061644)}
.mushroom-scene .marble-floor{height:240px}
.mushroom-scene .marble-ceiling{height:96px}
.mushroom-scene .marble-ceiling .marble-tiles{filter:brightness(.75);overflow:visible}
.mushroom-tiles{image-rendering:pixelated}
.mushroom-tiles .mushroom-pot{width:24px;height:26px}
.mushroom-tiles .mushroom-plant{width:16px;height:20px}
.mushroom-native-grass{filter:drop-shadow(0 0 2px #6377ff80)}
.mushroom-lighting{position:absolute;width:0;height:0;overflow:hidden}
.mushroom-pot{filter:url(#mushroom-ambient-light)}
.mushroom-plant,.mushroom-tree,.mushroom-vine{filter:url(#mushroom-ambient-light) drop-shadow(0 0 5px #657dff66)}
.mushroom-soil-spores{filter:drop-shadow(0 0 2px #5675ff)}
.mushroom-scene .placed-chest{filter:url(#mushroom-ambient-light)}
.mushroom-scene .spore-skeleton{width:30px;height:54px;filter:url(#mushroom-ambient-light) drop-shadow(0 0 3px #758dff52)}
.mushroom-scene .anomura-fungus{width:50px;height:38px;filter:url(#mushroom-ambient-light) drop-shadow(0 0 4px #7386ff55)}
.mushroom-scene .spore-bat{width:28px;height:24px;filter:drop-shadow(0 0 4px #8095ff88)}
:root[data-theme="mushroom"] .world-stage :is(.page-heading,.section-title,.section-head-extra,footer,.notice,.result-actions){position:relative;background:#0c142b;border-radius:6px;box-shadow:0 2px 8px #0005}
:root[data-theme="mushroom"] .world-stage :is(.page-heading,.section-title){padding:10px 12px;margin-inline:-12px;border:1px solid var(--theme-line)}
:root[data-theme="mushroom"] .world-stage footer{padding:12px;border:1px solid var(--theme-line)}
:root[data-theme="mushroom"] .world-stage .empty{background:#0c142b;border-radius:10px}
.theme-preview.mushroom{background:#101b37 url('./assets/mushroom/mushroom-background-tile.png') center/64px 48px;color:#acc3ff;image-rendering:pixelated}
:root[data-theme="mushroom"] .hero-slide:after{background:linear-gradient(90deg,#0c142bf2,#0c142bce 28%,#0c142b66 53%,transparent 84%)}
:root[data-theme="mushroom"] .hero-slide.hero-celestial:after{background:linear-gradient(90deg,#0c142b 0%,#0c142bf2 25%,#0c142b20 35%,transparent 43%)}
@media(max-width:680px){
  :root[data-theme="mushroom"] .world-stage>main{padding-bottom:328px}
  .mushroom-scene .marble-floor{height:224px}
  .mushroom-scene .marble-ceiling{height:88px}
  :root[data-theme="mushroom"] .hero-slide:after{background:linear-gradient(180deg,#0c142bee,#0c142bb3 45%,#0c142b22 80%)}
  :root[data-theme="mushroom"] .hero-slide.hero-celestial:after{background:linear-gradient(180deg,#0c142b 0%,#0c142bf5 38%,transparent 64%)}
}
