.redesign-search,
.redesign-featured,
.redesign-rail-logo,
.redesign-nav {
  display: none;
}

.dashboard.is-redesigned {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  padding: 0 38px 56px 190px;
  background:
    radial-gradient(ellipse at 68% 7%, rgba(119, 41, 52, .12), transparent 34%),
    #080708;
}

.dashboard.is-redesigned .home-header {
  display: none;
}

.dashboard.is-redesigned .welcome-copy {
  display: none;
}

.dashboard.is-redesigned .redesign-search {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  display: block;
  border: 1px solid #30272a;
  border-radius: 22px;
  outline: 0;
  color: #eee5e2;
  background: rgba(20, 17, 18, .8);
  font-size: 11px;
}

.redesign-search-wrap {
  display: none;
}

.dashboard.is-redesigned .redesign-search-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  display: block;
}

.dashboard.is-redesigned .redesign-search::placeholder {
  color: #807879;
}

.dashboard.is-redesigned .redesign-search:focus {
  border-color: #82303b;
  box-shadow: 0 0 0 3px rgba(189, 32, 52, .13);
}

.dashboard.is-redesigned .search-results {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(65vh, 480px);
  padding: 7px;
  overflow: auto;
  border: 1px solid #482128;
  border-radius: 10px;
  color: #eee5e2;
  background: rgba(16, 12, 13, .98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .68);
}

.search-results-section + .search-results-section {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #392326;
}

.search-results-heading {
  margin: 5px 8px 4px;
  color: #d20a2e;
  font-family: "Spectral SC", Georgia, serif;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard.is-redesigned .search-result {
  width: 100%;
  min-height: 45px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-left: 2px solid transparent;
  color: #eee5e2;
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.dashboard.is-redesigned .search-result:hover,
.dashboard.is-redesigned .search-result:focus-visible {
  border-left-color: #f12645;
  background: linear-gradient(90deg, rgba(169, 0, 32, .24), transparent);
  outline-offset: -2px;
}

.search-result-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #482128;
  border-radius: 50%;
  color: #f0e5e2;
  background: #211316;
  font-family: "Spectral SC", Georgia, serif;
  font-size: 12px;
}

.search-result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.search-result-copy strong,
.search-result-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy strong {
  color: #eee5e2;
  font-size: 10px;
}

.search-result-copy small {
  color: #a39796;
  font-size: 8px;
}

.search-results-message {
  margin: 0;
  padding: 12px 9px;
  color: #a39796;
  font-size: 9px;
}

.search-results-message.is-error {
  color: #f12645;
}

.dashboard.is-redesigned .dashboard-layout {
  width: 100%;
  min-width: 0;
  display: block;
}

.dashboard.is-redesigned .discovery-column {
  display: flex;
  flex-direction: column;
}

.dashboard.is-redesigned .user-sidebar {
  position: fixed;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 0;
  width: 158px;
  max-height: 100vh;
  padding: 15px 11px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid #241b1e;
  background: linear-gradient(180deg, #0d0b0c, #090809);
}

.dashboard.is-redesigned .redesign-rail-logo {
  flex: 0 0 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #241b1e;
}

.dashboard.is-redesigned .redesign-rail-logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.dashboard.is-redesigned .redesign-nav {
  display: grid;
  gap: 5px;
}

.dashboard.is-redesigned .redesign-nav a {
  min-height: 38px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-left: 2px solid transparent;
  color: #938b8d;
  text-decoration: none;
  font-size: 10px;
  transition: color .16s, background .16s, border-color .16s;
}

.dashboard.is-redesigned .redesign-nav a:hover,
.dashboard.is-redesigned .redesign-nav a.is-current {
  border-left-color: #c6283c;
  color: #f0e5e2;
  background: linear-gradient(90deg, rgba(174, 28, 47, .18), transparent);
}

.dashboard.is-redesigned .redesign-nav a > span {
  font-size: 10px;
}

.dashboard.is-redesigned .account-card,
.dashboard.is-redesigned .library-card {
  padding: 11px;
  border-color: #2b2023;
  border-radius: 8px;
  background: rgba(20, 15, 17, .7);
}

.dashboard.is-redesigned .account-topline .eyebrow {
  font-size: 8px;
}

.dashboard.is-redesigned .account-identity {
  gap: 8px;
}

.dashboard.is-redesigned .account-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 14px;
}

.dashboard.is-redesigned .account-name-wrap strong {
  font-size: 10px;
}

.dashboard.is-redesigned .account-name-wrap span {
  font-size: 8px;
}

.dashboard.is-redesigned .profile-link {
  margin-top: 10px;
  padding-top: 9px;
  font-size: 9px;
}

.dashboard.is-redesigned .create-story-button {
  min-height: 46px;
  padding: 7px;
  gap: 7px;
  border-radius: 7px;
}

.dashboard.is-redesigned .create-mark {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  font-size: 16px;
}

.dashboard.is-redesigned .create-story-button strong {
  font-size: 9px;
}

.dashboard.is-redesigned .create-story-button small {
  font-size: 7px;
}

.dashboard.is-redesigned .library-card {
  flex: 0 0 auto;
  min-height: 0;
  padding: 9px;
}

.dashboard.is-redesigned .library-card h2 {
  margin: 11px 2px 6px;
  font-size: 10px;
}

.dashboard.is-redesigned .library-list {
  max-height: clamp(64px, 14vh, 156px);
}

.dashboard.is-redesigned .signout-button {
  margin-top: auto;
  padding: 10px 4px;
}

.dashboard.is-redesigned .redesign-featured {
  position: relative;
  min-height: clamp(350px, 39vw, 520px);
  margin: 0 -38px 0 -190px;
  padding: 55px 38px 52px 215px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 71% 28%, rgba(151, 51, 61, .22), transparent 28%),
    linear-gradient(90deg, #080708 2%, rgba(8, 7, 8, .93) 28%, rgba(8, 7, 8, .45) 62%, rgba(8, 7, 8, .13)),
    #100c0d;
}

.dashboard.is-redesigned .redesign-featured::after {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(0deg, #080708 0%, transparent 100%);
  pointer-events: none;
}

.dashboard.is-redesigned .featured-art {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(78%, 1050px);
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  opacity: .8;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
  transition: opacity .3s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}

.dashboard.is-redesigned .redesign-featured.is-welcome .featured-art {
  width: 100%;
  opacity: .72;
  mask-image: linear-gradient(90deg, #000, #000);
}

.dashboard.is-redesigned .featured-copy {
  position: relative;
  z-index: 1;
  width: min(530px, 58%);
  transition: opacity .22s ease, transform .3s ease;
}

.dashboard.is-redesigned .redesign-featured.is-transitioning .featured-art {
  opacity: .14;
  transform: scale(1.035);
}

.dashboard.is-redesigned .redesign-featured.is-transitioning .featured-copy {
  opacity: 0;
  transform: translateY(10px);
}

.dashboard.is-redesigned .featured-kicker,
.dashboard.is-redesigned .featured-category {
  display: block;
  font-family: "Spectral SC", Georgia, serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.dashboard.is-redesigned .featured-kicker {
  margin-bottom: 15px;
  color: #d33b4c;
  font-size: 9px;
  font-weight: 700;
}

.dashboard.is-redesigned .featured-category {
  margin-bottom: 8px;
  color: #e5d7d4;
  font-size: 10px;
}

.dashboard.is-redesigned .featured-copy h2 {
  margin: 0;
  color: #f3e9e7;
  font-family: "Spectral SC", Georgia, serif;
  font-size: clamp(35px, 5.2vw, 68px);
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1.08;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .8);
}

.dashboard.is-redesigned .featured-meta {
  margin: 13px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dashboard.is-redesigned .featured-meta-chip {
  padding: 6px 10px;
  border: 1px solid rgba(209, 195, 192, .19);
  border-radius: 18px;
  color: #d3c6c4;
  background: rgba(15, 12, 13, .68);
  font-size: 9px;
}

.dashboard.is-redesigned .featured-copy p {
  max-width: 390px;
  margin: 15px 0 19px;
  color: #b6abad;
  font-size: 12px;
  line-height: 1.7;
}

.dashboard.is-redesigned .featured-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.dashboard.is-redesigned .featured-actions[hidden] {
  display: none;
}

.dashboard.is-redesigned .featured-actions button {
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid #3b3032;
  border-radius: 22px;
  color: #eee5e2;
  background: rgba(23, 19, 20, .84);
  font-size: 10px;
  transition: border-color .16s, background .16s;
}

.dashboard.is-redesigned .featured-actions button:hover {
  border-color: #9c3c49;
  background: #34171c;
}

.dashboard.is-redesigned .featured-actions .featured-play {
  border-color: #eee5e2;
  color: #151112;
  background: #eee5e2;
  font-weight: 700;
}

.dashboard.is-redesigned .featured-actions .featured-play:hover {
  border-color: #fff;
  background: #fff;
}

.dashboard.is-redesigned .featured-play #featured-play-icon {
  margin-right: 7px;
}

.dashboard.is-redesigned .featured-save span {
  margin-right: 5px;
}

.dashboard.is-redesigned .featured-pagination {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 215px;
  display: flex;
  gap: 6px;
}

.dashboard.is-redesigned .featured-pagination span,
.dashboard.is-redesigned .featured-pagination i {
  width: 20px;
  height: 2px;
  background: #5a5052;
}

.dashboard.is-redesigned .featured-pagination span {
  background: #d1263c;
}

.dashboard.is-redesigned .hot-section {
  order: 1;
  padding-top: 15px;
}

.dashboard.is-redesigned .category-section {
  order: 2;
  padding-top: 20px;
}

.dashboard.is-redesigned .home-status {
  order: 3;
}

.dashboard.is-redesigned .section-heading {
  margin-bottom: 10px;
}

.dashboard.is-redesigned .section-heading .eyebrow {
  display: none;
}

.dashboard.is-redesigned .section-heading h2 {
  margin: 0;
  color: #e7dedd;
  font-family: "Spectral SC", Georgia, serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
}

.dashboard.is-redesigned .hot-section .section-heading {
  padding-bottom: 0;
  border: 0;
}

.dashboard.is-redesigned .hot-section .section-heading h2 {
  font-size: clamp(17px, 2vw, 22px);
}

.dashboard.is-redesigned .hot-flame {
  display: none;
}

.dashboard.is-redesigned .section-note {
  color: #817779;
}

.dashboard.is-redesigned .hot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: #3a292c transparent;
}

.dashboard.is-redesigned .hot-story-card {
  scroll-snap-align: start;
  border-color: #2b2426;
  border-radius: 7px;
  background: #100e0f;
  transition: transform .2s, border-color .2s;
}

.dashboard.is-redesigned .hot-story-card:hover {
  transform: translateY(-3px);
  border-color: #76313a;
}

.dashboard.is-redesigned .hot-story-image {
  height: clamp(90px, 9vw, 130px);
}

.dashboard.is-redesigned .hot-story-copy {
  padding: 10px 11px 3px;
}

.dashboard.is-redesigned .hot-story-copy h3 {
  margin: 4px 0;
  font-size: 12px;
}

.dashboard.is-redesigned .story-feature-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}

.dashboard.is-redesigned .story-feature-button:hover {
  color: #f08a93;
}

.dashboard.is-redesigned .story-category {
  font-size: 8px;
}

.dashboard.is-redesigned .story-author,
.dashboard.is-redesigned .story-excerpt,
.dashboard.is-redesigned .story-stats {
  display: none;
}

.dashboard.is-redesigned .hot-story-actions {
  padding: 8px 10px 10px;
  gap: 6px;
}

.dashboard.is-redesigned .hot-story-actions button {
  min-height: 29px;
  padding: 0 8px;
  font-size: 8px;
}

.dashboard.is-redesigned .category-track {
  gap: 10px;
}

.dashboard.is-redesigned .category-card {
  flex-basis: calc((100% - 40px) / 5);
  min-width: 145px;
  height: 118px;
  padding: 12px;
  border-color: #30272a;
  border-radius: 7px;
  box-shadow: none;
}

.dashboard.is-redesigned .category-card-label {
  font-family: "Spectral SC", Georgia, serif;
  font-size: clamp(13px, 1.7vw, 19px);
  letter-spacing: .07em;
}

.dashboard.is-redesigned .category-filter {
  min-height: 23px;
  font-size: 9px;
}

.dashboard.is-redesigned .arrow-button {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

@media (max-width: 950px) {
  .dashboard.is-redesigned {
    padding-right: 18px;
    padding-left: 174px;
  }

  .dashboard.is-redesigned .redesign-featured {
    margin-right: -18px;
    margin-left: -174px;
    padding-left: 196px;
  }

  .dashboard.is-redesigned .featured-pagination {
    left: 196px;
  }

  .dashboard.is-redesigned .hot-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .dashboard.is-redesigned .category-card {
    flex-basis: calc((100% - 30px) / 4);
  }
}

@media (max-width: 700px) {
  .dashboard.is-redesigned {
    padding: 0 12px 30px;
  }

  .dashboard.is-redesigned .home-header {
    display: none;
  }

  .dashboard.is-redesigned .dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard.is-redesigned .user-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    padding: 8px 0;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-bottom: 1px solid #241b1e;
    background: transparent;
    scrollbar-width: none;
  }

  .dashboard.is-redesigned .user-sidebar::-webkit-scrollbar {
    display: none;
  }

  .dashboard.is-redesigned .redesign-rail-logo {
    flex: 0 0 62px;
    height: 62px;
    border-right: 1px solid #241b1e;
    border-bottom: 0;
  }

  .dashboard.is-redesigned .redesign-rail-logo img {
    width: 50px;
    height: 50px;
  }

  .dashboard.is-redesigned .redesign-nav {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
  }

  .dashboard.is-redesigned .redesign-nav a {
    min-height: 34px;
    padding: 0 7px;
    gap: 5px;
    white-space: nowrap;
    font-size: 9px;
  }

  .dashboard.is-redesigned .account-card {
    flex: 0 0 195px;
    padding: 8px;
  }

  .dashboard.is-redesigned .create-story-button {
    flex: 0 0 145px;
  }

  .dashboard.is-redesigned .library-card {
    flex: 0 0 230px;
    max-height: 132px;
    overflow: auto;
  }

  .dashboard.is-redesigned .library-list {
    max-height: 53px;
  }

  .dashboard.is-redesigned .signout-button {
    flex: 0 0 100px;
    margin-top: 0;
  }

  .dashboard.is-redesigned .discovery-column {
    grid-row: 2;
  }

  .dashboard.is-redesigned .redesign-featured {
    min-height: 340px;
    margin: 0 -12px;
    padding: 32px 18px 47px;
  }

  .dashboard.is-redesigned .featured-art {
    width: 100%;
    opacity: .56;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .45), #000 100%);
  }

  .dashboard.is-redesigned .featured-copy {
    width: min(100%, 440px);
  }

  .dashboard.is-redesigned .featured-copy h2 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .dashboard.is-redesigned .featured-meta { max-width: 100%; }

  .dashboard.is-redesigned .featured-pagination {
    left: 18px;
  }

  .dashboard.is-redesigned .hot-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .dashboard.is-redesigned .category-card {
    flex-basis: calc((100% - 20px) / 3);
    min-width: 130px;
  }
}

@media (max-width: 430px) {
  .dashboard.is-redesigned .hot-grid {
    grid-template-columns: repeat(2, minmax(145px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard.is-redesigned *,
  .dashboard.is-redesigned *::before,
  .dashboard.is-redesigned *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

body.redesign-active {
  padding: 0;
  display: block;
}

@media (max-height: 720px) and (min-width: 701px) {
  .dashboard.is-redesigned .user-sidebar {
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .dashboard.is-redesigned .redesign-rail-logo {
    flex-basis: 88px;
    height: 88px;
  }

  .dashboard.is-redesigned .redesign-rail-logo img {
    width: 58px;
    height: 58px;
  }

  .dashboard.is-redesigned .redesign-nav a {
    min-height: 32px;
  }

  .dashboard.is-redesigned .account-card {
    padding: 8px;
  }

  .dashboard.is-redesigned .account-identity {
    margin-top: 8px;
  }

  .dashboard.is-redesigned .account-avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .dashboard.is-redesigned .profile-link {
    margin-top: 8px;
    padding-top: 7px;
  }

  .dashboard.is-redesigned .create-story-button {
    min-height: 42px;
  }

  .dashboard.is-redesigned .library-tabs .library-tab {
    min-height: 26px;
  }

  .dashboard.is-redesigned .library-card h2 {
    margin: 8px 2px 4px;
  }

  .dashboard.is-redesigned .library-list {
    max-height: clamp(56px, 20vh, 140px);
  }

  .dashboard.is-redesigned .report-link {
    min-height: 30px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .dashboard.is-redesigned .signout-button {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}
