:root {
  --rose-ink: #17212e;
  --rose-accent: #963552;
  --rose-bg: #fcf5f7;
  --rose-paper: #fff;
  --rose-soft: #f8e5ec;
  --rose-muted: #526071;
  --rose-line: #d8dee5
}

:root[data-rose-dark] {
  --rose-ink: #f1f5fa;
  --rose-accent: #ffacc5;
  --rose-bg: #101620;
  --rose-paper: #192230;
  --rose-soft: #293348;
  --rose-muted: #b6c3d4;
  --rose-line: #3a485a
}

body {
  background: var(--rose-bg);
  color: var(--rose-ink);
  font: 15px/1.7 system-ui, "PingFang SC", sans-serif;
  overflow-wrap: anywhere
}

a {
  text-decoration: none
}

a:hover {
  color: var(--rose-accent)
}

.rose-wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto
}

.rose-header {
  background: var(--rose-paper);
  border-bottom: 1px solid var(--rose-line);
  position: sticky;
  top: 0;
  z-index: 8
}

.rose-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between
}

.rose-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 23px
}

.rose-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px
}

.rose-bar nav,
.rose-foot nav,
.rose-filter nav,
.rose-actions,
.rose-tags,
.rose-settings,
.rose-filter>div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.rose-bar nav {
  font-weight: 650
}

.rose-btn,
.rose-pill,
.rose-tools summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rose-line);
  background: var(--rose-paper);
  color: var(--rose-ink);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 670
}

.rose-btn.main {
  background: var(--rose-accent);
  border-color: transparent;
  color: var(--rose-paper)
}

.rose-pill {
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--rose-accent);
  background: var(--rose-soft)
}

.rose-tools {
  position: relative
}

.rose-tools summary {
  list-style: none;
  cursor: pointer;
  padding-inline: 10px
}

.rose-tools>div {
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  width: min(270px, 85vw);
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--rose-line);
  background: var(--rose-paper);
  border-radius: 12px;
  box-shadow: 0 9px 23px #17212e1c
}

.rose-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 58px 0 40px;
  min-width: 0
}

.rose-eyebrow {
  color: var(--rose-accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .07em
}

.rose-copy h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.19;
  margin: 15px 0 18px;
  letter-spacing: -.04em
}

.rose-copy h1 em {
  color: var(--rose-accent);
  font-style: normal
}

.rose-copy p {
  max-width: 560px;
  font-size: 16px;
  color: var(--rose-muted);
  min-height: 54px
}

.rose-actions {
  margin: 25px 0 18px
}

.rose-tags {
  gap: 6px
}

.rose-feature {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--rose-soft);
  height: 390px;
  color: white !important;
  isolation: isolate
}

.rose-feature>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.rose-feature>div {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 26px 20px;
  background: linear-gradient(transparent, #141626d9)
}

.rose-feature strong {
  display: block;
  font-size: clamp(19px, 3vw, 31px);
  line-height: 1.22;
  margin-top: 12px
}

.rose-feature p {
  margin: 8px 0 0
}

.rose-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rose-line);
  overflow: hidden;
  border: 1px solid var(--rose-line);
  border-radius: 16px
}

.rose-strip a {
  background: var(--rose-paper);
  padding: 17px 20px;
  display: grid
}

.rose-strip span {
  color: var(--rose-muted);
  font-size: 13px
}

.rose-section {
  margin: 46px 0
}

.rose-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px
}

.rose-head h2 {
  font-size: clamp(21px, 2.2vw, 29px);
  margin: 0
}

.rose-panel,
.rose-tile {
  background: var(--rose-paper);
  border: 1px solid var(--rose-line);
  border-radius: 22px;
  box-shadow: 0 12px 36px #17212e0b
}

.rose-panel {
  padding: 23px
}

.rose-filter {
  display: grid;
  gap: 18px;
  margin-bottom: 22px
}

.rose-filter .catalog-search input {
  padding: 10px 14px;
  border-color: var(--rose-line)
}

.rose-filter .catalog-search button {
  color: var(--rose-accent)
}

.rose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px
}

.rose-tile {
  overflow: hidden
}

.rose-cover {
  position: relative;
  display: block
}

.rose-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/4.3;
  object-fit: cover;
  display: block
}

.rose-cover span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--rose-paper);
  border-radius: 10px;
  font-size: 12px;
  padding: 2px 8px
}

.rose-tile-text {
  padding: 13px
}

.rose-tile h3 {
  font-size: 17px;
  margin: 0
}

.rose-tile p {
  color: var(--rose-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.rose-tile small,
.rose-crumb {
  color: var(--rose-muted)
}

.rose-inner {
  margin-block: 30px 62px
}

.rose-inner h1 {
  line-height: 1.25;
  font-size: clamp(23px, 3.6vw, 44px)
}

.rose-file {
  display: grid;
  grid-template-columns: minmax(145px, 258px) 1fr;
  align-items: center;
  gap: 26px
}

.rose-file img {
  width: 100%;
  height: auto;
  border-radius: 14px
}

.rose-box {
  margin-block: 20px
}

.rose-box .player-wrap video {
  height: clamp(320px, 64vh, 680px)
}

.rose-get {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap
}

.rose-foot {
  background: var(--rose-paper);
  border-top: 1px solid var(--rose-line);
  padding: 38px 0
}

.rose-foot nav {
  margin: 15px 0
}

@media(max-width:850px) {
  .rose-wrap {
    width: calc(100% - 28px)
  }

  .rose-bar {
    flex-wrap: wrap;
    gap: 4px;
    padding: 9px 0
  }

  .rose-bar nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    min-width: 0;
    padding: 2px 0
  }

  .rose-bar nav a {
    font-size: 13px
  }

  .rose-hero {
    gap: 26px
  }

  .rose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .rose-bar .rose-btn {
    padding: 6px 9px
  }

  .rose-settings {
    gap: 5px
  }
}

@media(max-width:650px) {
  .rose-bar {
    min-height: 97px
  }

  .rose-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 27px 0 40px;
    gap: 25px
  }

  .rose-copy h1 {
    font-size: 30px;
    margin: 13px 0 14px
  }

  .rose-copy p {
    min-height: 54px
  }

  .rose-feature {
    height: 270px
  }

  .rose-strip a {
    padding: 15px 9px;
    font-size: 13px
  }

  .rose-strip span {
    font-size: 11px
  }

  .rose-section {
    margin: 32px 0
  }

  .rose-head {
    align-items: flex-start
  }

  .rose-panel {
    padding: 14px
  }

  .rose-grid {
    gap: 10px
  }

  .rose-file {
    grid-template-columns: 1fr
  }

  .rose-file>div:first-child {
    max-width: 210px
  }

  .rose-foot nav {
    gap: 9px
  }
}

@media(prefers-reduced-motion:no-preference) {

  .rose-btn,
  .rose-tile,
  .rose-strip a {
    transition: transform .2s, box-shadow .2s
  }

  .rose-btn:hover,
  .rose-tile:hover {
    transform: translateY(-3px)
  }

  .rose-feature>img {
    transition: transform .4s
  }

  .rose-feature:hover>img {
    transform: scale(1.025)
  }
}
