:root {
  --accent: #ffb22d;
  --bg: #0b0b0d;
  --soft: #191819;
  --line: #38312d;
  --text: #faf6ee;
  --muted: #c1b8ae;
  --radius: 14px
}

body {
  background: #0b0b0d;
  color: var(--text);
  font: 16px/1.6 system-ui, sans-serif;
  margin: 0
}

a {
  color: inherit;
  text-decoration: none
}

.amber-shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto
}

.amber-age {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #211c15;
  color: #f5d59c;
  padding: 8px 20px;
  text-align: center;
  font-size: .85rem;
  box-sizing: border-box;
  border-bottom: 1px solid #584222
}

.amber-age b {
  background: #ffae32;
  color: #231507;
  border-radius: 6px;
  padding: 2px 9px;
  letter-spacing: 1px
}

.amber-header {
  background: #100f10;
  position: sticky;
  top: 0;
  z-index: 12;
  border-bottom: 1px solid #302722
}

.amber-bar,
.amber-logo,
.amber-bar nav,
.amber-actions,
.amber-cta,
.amber-tags,
.amber-foot nav,
.amber-listnav {
  display: flex;
  align-items: center;
  gap: 18px
}

.amber-bar {
  min-height: 76px;
  justify-content: space-between
}

.amber-logo {
  gap: 10px;
  flex-shrink: 0;
  font-size: 22px
}

.amber-logo img,
.amber-app img {
  border-radius: 14px;
  object-fit: cover
}

.amber-bar nav {
  font-size: .9rem;
  color: #d7cdc2;
  gap: 23px
}

.amber-actions {
  gap: 9px
}

.amber-actions details {
  position: relative
}

.amber-actions summary {
  cursor: pointer;
  list-style: none;
  padding: 6px;
  color: #ddcdb8
}

.amber-actions details>div {
  position: absolute;
  right: 0;
  z-index: 8;
  width: 245px;
  background: #201d1b;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px
}

.amber-actions .catalog-language select {
  max-width: 100%;
  margin-top: 8px
}

.amber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #20140b;
  background: linear-gradient(112deg, #ffd26e, #ff9b1e);
  border-radius: 12px;
  padding: .68em 1.2em;
  font-weight: 750;
  transition: transform .2s
}

.amber-btn:hover,
.amber-poster:hover {
  translate: 0 -3px
}

.amber-btn.muted {
  background: #26201b;
  border: 1px solid #5e4932;
  color: #f7ead7
}

.amber-hero {
  background: radial-gradient(ellipse at 75% 37%, #50302277, transparent 54%), radial-gradient(ellipse at 0 2%, #3e291977, transparent 54%), #0e0d0e;
  border-bottom: 1px solid #332820
}

.amber-stage {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
  padding-block: 85px;
  min-height: 730px;
  box-sizing: border-box
}

.amber-stage>* {
  min-width: 0
}

.amber-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #72552c;
  border-radius: 99px;
  padding: 4px 12px;
  color: #ffd186;
  background: #4a321b66;
  font-weight: 650
}

.amber-label i {
  width: 7px;
  height: 7px;
  background: #ffab2d;
  border-radius: 50%
}

.amber-lead h1 {
  font-size: clamp(4rem, 6vw, 5.3rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  color: white;
  margin: 24px 0 15px
}

.amber-lead h2 {
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.24;
  letter-spacing: -.035em;
  color: #ffcf81;
  max-width: 13em;
  margin: 0
}

.amber-lead p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  max-width: 34em;
  margin: 22px 0
}

.amber-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 23px
}

.amber-tags a {
  border: 1px solid #48392c;
  background: #221c18;
  color: #f6d8a9;
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 13px
}

.amber-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid #5a493a;
  padding-top: 20px;
  max-width: 510px
}

.amber-stats b,
.amber-stats small {
  display: block
}

.amber-stats b {
  font-size: 23px;
  color: #ffbe5d
}

.amber-stats small {
  color: #bcb0a5
}

.amber-wall {
  height: 560px;
  position: relative;
  isolation: isolate
}

.amber-wall:before {
  content: "";
  position: absolute;
  inset: 12% 2% 10%;
  border: 1px dashed #9757298f;
  border-radius: 50%;
  transform: rotate(-15deg)
}

.amber-poster {
  display: block;
  position: absolute;
  border: 1px solid #886d4f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px #0008;
  transition: translate .2s
}

.amber-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.amber-poster strong {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  background: linear-gradient(transparent, #090809eb);
  padding: 30px 10px 10px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.amber-poster.pos-0 {
  width: 32%;
  height: 45%;
  left: 1%;
  top: 23%;
  transform: rotate(-10deg)
}

.amber-poster.pos-1 {
  width: 47%;
  height: 64%;
  left: 27%;
  top: 12%;
  transform: rotate(2deg);
  z-index: 2
}

.amber-poster.pos-2 {
  width: 33%;
  height: 46%;
  right: 0;
  top: 21%;
  transform: rotate(10deg)
}

.amber-app {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #211d1bf5;
  padding: 12px 17px;
  border: 1px solid #7d5a36;
  border-radius: 16px;
  min-width: 195px;
  box-shadow: 0 10px 25px #0008
}

.amber-app b,
.amber-app small {
  display: block
}

.amber-app small {
  color: #eabc7d
}

.amber-app i {
  color: #ffb944;
  margin-inline-start: auto
}

.amber-lanes,
.amber-rank {
  display: grid;
  gap: 16px
}

.amber-lanes {
  grid-template-columns: repeat(3, 1fr);
  margin: 46px 0
}

.amber-lanes a,
.amber-file,
.amber-detail,
.amber-get {
  border: 1px solid #48392e;
  background: linear-gradient(125deg, #28211d, #151416);
  border-radius: 18px;
  padding: 24px
}

.amber-lanes a {
  position: relative
}

.amber-lanes span,
.amber-lanes b {
  display: block
}

.amber-lanes span,
.amber-heading a,
.amber-rank span {
  color: #ffc471
}

.amber-lanes i {
  position: absolute;
  right: 16px;
  top: 16px
}

.amber-shelf {
  margin: 65px 0
}

.amber-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px
}

.amber-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0
}

.amber-shelf .catalog-grid,
.amber-inner>.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px
}

.catalog-card {
  min-width: 0
}

.catalog-cover img {
  border-radius: 13px;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover
}

.catalog-title {
  font-weight: 700;
  display: block
}

.catalog-meta {
  color: var(--muted)
}

.amber-rank {
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0
}

.amber-rank li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 4px
}

.amber-rank a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.amber-rank small {
  margin-left: auto;
  white-space: nowrap;
  color: var(--muted)
}

.amber-inner {
  padding-block: 42px
}

.amber-inner h1 {
  font-size: clamp(30px, 4vw, 57px);
  line-height: 1.22
}

.amber-detail,
.amber-get {
  display: flex;
  align-items: center;
  gap: 35px
}

.amber-detail>img {
  width: min(28%, 260px);
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px
}

.amber-file,
.amber-theater {
  margin-top: 24px
}

.amber-file section+section {
  margin-top: 30px
}

.amber-listnav,
.amber-foot nav {
  flex-wrap: wrap;
  margin: 22px 0
}

.amber-foot {
  padding: 44px 0;
  background: #151315;
  border-top: 1px solid #332b28
}

.amber-foot nav,
.amber-foot .amber-shell>div {
  color: #c9bcb0
}

.amber-get {
  justify-content: space-around
}

@media(max-width:900px) {
  .amber-stage {
    gap: 20px
  }

  .amber-bar nav {
    gap: 11px
  }

  .amber-shelf .catalog-grid,
  .amber-inner>.catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }
}

@media(max-width:710px) {
  .amber-shell {
    width: calc(100% - 28px)
  }

  .amber-age {
    min-height: 76px;
    padding: 13px 18px
  }

  .amber-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px;
    padding: 9px 0;
    min-height: 98px;
    box-sizing: border-box
  }

  .amber-bar nav {
    grid-column: 1/-1;
    grid-row: 2;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px
  }

  .amber-logo {
    font-size: 19px
  }

  .amber-logo img {
    width: 37px;
    height: 37px
  }

  .amber-actions .amber-btn {
    font-size: 13px
  }

  .amber-stage {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 53px 26px
  }

  .amber-lead h1 {
    font-size: clamp(44px, 15vw, 76px)
  }

  .amber-lead h2 {
    font-size: clamp(29px, 8vw, 36px)
  }

  .amber-wall {
    height: clamp(330px, 112vw, 470px)
  }

  .amber-cta {
    flex-wrap: wrap;
    gap: 9px
  }

  .amber-lanes,
  .amber-rank {
    grid-template-columns: 1fr
  }

  .amber-shelf {
    margin: 40px 0
  }

  .amber-shelf .catalog-grid,
  .amber-inner>.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px
  }

  .amber-detail,
  .amber-get {
    flex-direction: column;
    align-items: flex-start
  }

  .amber-detail>img {
    width: 145px
  }

  .amber-rank small {
    font-size: 11px
  }

  .amber-listnav {
    gap: 10px
  }

  .amber-rank {
    gap: 0
  }
}

@media(prefers-reduced-motion:reduce) {

  .amber-btn,
  .amber-poster {
    transition: none
  }
}

.amber-wall {
  padding-inline: 0
}

.amber-poster.pos-0 {
  left: 5%
}

.amber-poster.pos-2 {
  right: 5%
}

@media(min-width:711px) and (max-width:930px) {
  .amber-wall {
    height: clamp(340px, 55vw, 480px)
  }
}

@media(max-width:710px) {
  .amber-wall {
    margin-inline: 5px
  }

  .amber-poster.pos-0 {
    left: 5%
  }

  .amber-poster.pos-2 {
    right: 5%
  }
}

.amber-wall::before {
  inset-inline: 15%;
  pointer-events: none
}

.amber-bar>nav {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none
}

.amber-bar>nav::-webkit-scrollbar {
  display: none
}

.amber-bar>nav>a,
.amber-actions {
  flex-shrink: 0
}
