
/* =====================================================
   ART OF METHOD — SHARED SIDEBAR
   Version 1.0
   Used across Play, Explore, Tools and Worlds
===================================================== */

aom-sidebar {
  display: block;
  width: 100%;
  min-width: 0;
  color: #151515;
  font-family: Inter, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

aom-sidebar *,
aom-sidebar *::before,
aom-sidebar *::after {
  box-sizing: border-box;
}

/* Sidebar container */

aom-sidebar .aom-sidebar-inner {
  width: 100%;
  max-width: 300px;
  position: sticky;
  top: 112px;
}

/* Section headings */

aom-sidebar .aom-sidebar-title {
  margin: 0 0 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #151515;
}

/* =====================================================
   SHOP
===================================================== */

aom-sidebar .aom-sidebar-shop {
  display: block;
  overflow: hidden;
  margin-bottom: 28px;
  background: #fffdf8;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px;
  color: #151515;
  text-decoration: none;
}

aom-sidebar .aom-sidebar-shop-image {
  width: 100%;
  min-height: 210px;
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ded8cd, #f7f3ec);
  color: #858078;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

aom-sidebar .aom-sidebar-shop-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

aom-sidebar .aom-sidebar-shop-body {
  padding: 16px;
}

aom-sidebar .aom-sidebar-shop-label {
  margin-bottom: 5px;
  color: #174c3a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

aom-sidebar .aom-sidebar-shop h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

aom-sidebar .aom-sidebar-shop p {
  margin: 0 0 14px;
  color: #66625d;
  font-size: 12px;
  line-height: 1.5;
}

aom-sidebar .aom-sidebar-shop-link {
  color: #174c3a;
  font-size: 12px;
  font-weight: 850;
}

aom-sidebar .aom-sidebar-shop:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

/* =====================================================
   TOP 10
===================================================== */

aom-sidebar .aom-sidebar-top10 {
  margin-bottom: 28px;
  padding: 8px 16px;
  background: #fffdf8;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px;
}

aom-sidebar .aom-sidebar-top10 ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aom-rank;
}

aom-sidebar .aom-sidebar-top10 li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eee8df;
  counter-increment: aom-rank;
}

aom-sidebar .aom-sidebar-top10 li:last-child {
  border-bottom: none;
}

aom-sidebar .aom-sidebar-top10 li::before {
  content: counter(aom-rank, decimal-leading-zero);
  color: #174c3a;
  font-size: 11px;
  font-weight: 900;
}

aom-sidebar .aom-sidebar-top10 a {
  color: #151515;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

aom-sidebar .aom-sidebar-top10 a:hover {
  color: #174c3a;
}

/* =====================================================
   ADVERTISEMENT
===================================================== */

aom-sidebar .aom-sidebar-ad {
  width: 100%;
  min-height: 250px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0,0,0,.2);
  background: rgba(255,255,255,.18);
  color: rgba(0,0,0,.38);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  overflow: hidden;
}

aom-sidebar .aom-sidebar-ad ins.adsbygoogle {
  display: block;
  width: 100%;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {
  aom-sidebar .aom-sidebar-inner {
    position: static;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  aom-sidebar .aom-sidebar-shop-image {
    min-height: 170px;
  }

  aom-sidebar .aom-sidebar-ad {
    min-height: 250px;
  }
}
