#nouveautes [hidden] {
  display: none !important;
}

#nouveautes .release-notes-page {
  display: grid;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

#nouveautes .release-notes-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(120, 166, 226, .16);
  border-radius: 27px;
  background:
    radial-gradient(ellipse at 90% 8%, rgba(128, 94, 216, .25), transparent 38%),
    linear-gradient(130deg, rgba(41, 37, 79, .94), rgba(13, 20, 37, .98) 68%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

#nouveautes .release-notes-hero__copy {
  min-width: 0;
}

#nouveautes .release-notes-kicker {
  color: #c4b5fd;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .13em;
}

#nouveautes .release-notes-hero h2 {
  margin: 9px 0 0;
  color: #f7f9ff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

#nouveautes .release-notes-hero p {
  max-width: 690px;
  margin: 10px 0 0;
  color: rgba(224, 231, 249, .72);
  font-size: .95rem;
  line-height: 1.6;
}

#nouveautes .release-notes-hero__mark {
  display: grid;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .24);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(139, 117, 220, .24), rgba(64, 54, 111, .4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 30px rgba(0, 0, 0, .2);
  font-size: 2rem;
  transform: rotate(4deg);
}

#nouveautes .release-notes-admin,
#nouveautes .release-note-card {
  min-width: 0;
  border: 1px solid rgba(149, 174, 224, .13);
  border-radius: 23px;
  background: linear-gradient(155deg, rgba(23, 30, 53, .97), rgba(13, 19, 35, .98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .17);
}

#nouveautes .release-notes-admin {
  padding: clamp(18px, 3vw, 26px);
  border-color: rgba(196, 181, 253, .19);
}

#nouveautes .release-notes-admin__head,
#nouveautes .release-notes-feed__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#nouveautes .release-notes-admin__head {
  margin-bottom: 19px;
}

#nouveautes .release-notes-admin__head h3,
#nouveautes .release-notes-feed__heading h3 {
  margin: 6px 0 0;
  color: #f6f8ff;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -.025em;
}

#nouveautes .release-notes-admin__head p {
  margin: 7px 0 0;
  color: rgba(221, 229, 247, .64);
  font-size: .87rem;
  line-height: 1.5;
}

#nouveautes .release-notes-admin__icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .2);
  border-radius: 15px;
  color: #d6ccff;
  background: rgba(139, 117, 220, .12);
  font-size: 1.35rem;
}

#nouveautes .release-notes-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#nouveautes .release-notes-form > label {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  color: rgba(235, 240, 252, .82);
  font-size: .8rem;
  font-weight: 700;
}

#nouveautes .release-notes-form input:not([type="checkbox"]),
#nouveautes .release-notes-form select,
#nouveautes .release-notes-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid rgba(165, 184, 223, .16);
  border-radius: 12px;
  outline: none;
  color: #f5f7ff;
  background-color: rgba(4, 10, 23, .5);
  font: inherit;
  font-size: .88rem;
}

#nouveautes .release-notes-form select {
  color-scheme: dark;
}

#nouveautes .release-notes-form textarea {
  min-height: 84px;
  resize: vertical;
}

#nouveautes .release-notes-form input:focus,
#nouveautes .release-notes-form select:focus,
#nouveautes .release-notes-form textarea:focus {
  border-color: rgba(174, 153, 255, .65);
  box-shadow: 0 0 0 3px rgba(139, 117, 220, .14);
}

#nouveautes .release-notes-form input[type="file"] {
  padding: 9px;
}

#nouveautes .release-notes-form input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(196, 181, 253, .22);
  border-radius: 9px;
  color: #e0d9ff;
  background: rgba(139, 117, 220, .13);
  font: inherit;
  font-weight: 700;
}

#nouveautes .release-notes-form__full {
  grid-column: 1 / -1;
}

#nouveautes .release-notes-publish {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

#nouveautes .release-notes-publish input {
  width: 18px;
  height: 18px;
  accent-color: #9b86ef;
}

#nouveautes .release-notes-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

#nouveautes .release-notes-form__actions .btn {
  min-height: 43px;
  border-radius: 12px;
  font-weight: 750;
}

#nouveautes .release-notes-admin-message {
  padding: 11px 13px;
  border: 1px solid rgba(118, 213, 183, .2);
  border-radius: 12px;
  color: #a8ebd0;
  background: rgba(65, 164, 130, .08);
  font-size: .84rem;
  line-height: 1.45;
}

#nouveautes .release-notes-admin-message.is-error {
  border-color: rgba(255, 127, 127, .25);
  color: #ffb4b4;
  background: rgba(200, 66, 66, .1);
}

#nouveautes .release-notes-existing-images {
  display: grid;
  gap: 9px;
  color: rgba(235, 240, 252, .84);
  font-size: .82rem;
}

#nouveautes .release-notes-existing-images > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

#nouveautes .release-notes-existing-images label {
  display: grid;
  grid-template-columns: auto 54px auto;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
}

#nouveautes .release-notes-existing-images img {
  width: 54px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}

#nouveautes .release-notes-existing-images input {
  accent-color: #9b86ef;
}

#nouveautes .release-notes-existing-images small {
  color: rgba(221, 229, 247, .55);
}

#nouveautes .release-notes-feed {
  display: grid;
  gap: 14px;
}

#nouveautes .release-notes-feed__heading {
  padding: 2px 2px 0;
}

#nouveautes .release-notes-feed__spark {
  color: #c4b5fd;
  font-size: 1.8rem;
}

#nouveautes .release-notes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 15px;
}

#nouveautes .release-note-card {
  padding: clamp(17px, 2.7vw, 23px);
  overflow: hidden;
}

#nouveautes .release-note-card--latest {
  grid-column: 1 / -1;
  border-color: rgba(174, 153, 255, .24);
  background:
    radial-gradient(ellipse at 100% 0, rgba(115, 94, 199, .13), transparent 42%),
    linear-gradient(155deg, rgba(26, 31, 59, .98), rgba(13, 19, 35, .98));
}

#nouveautes .release-note-card--draft {
  border-style: dashed;
  border-color: rgba(250, 204, 100, .28);
}

#nouveautes .release-note-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#nouveautes .release-note-category,
#nouveautes .release-note-card__top time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(221, 229, 247, .63);
  font-size: .77rem;
}

#nouveautes .release-note-category {
  padding: 6px 9px;
  border: 1px solid rgba(196, 181, 253, .17);
  border-radius: 999px;
  color: #d5caff;
  background: rgba(139, 117, 220, .1);
  font-weight: 750;
}

#nouveautes .release-note-version {
  margin-top: 14px;
  color: #a99bf1;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

#nouveautes .release-note-card h3 {
  margin: 15px 0 0;
  color: #f7f9ff;
  font-size: clamp(1.12rem, 2.4vw, 1.48rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

#nouveautes .release-note-summary {
  margin: 9px 0 0;
  color: rgba(226, 233, 249, .79);
  font-size: .92rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

#nouveautes .release-note-content {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(221, 229, 247, .67);
  font-size: .85rem;
  line-height: 1.7;
}

#nouveautes .release-note-content h4 {
  margin: 17px 0 8px;
  color: #c4b5fd;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .09em;
}

#nouveautes .release-note-content h4:first-child {
  margin-top: 0;
}

#nouveautes .release-note-content p {
  margin: 0 0 11px;
  white-space: pre-wrap;
}

#nouveautes .release-note-content ul {
  display: grid;
  gap: 11px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

#nouveautes .release-note-content li {
  position: relative;
  padding-left: 19px;
}

#nouveautes .release-note-content li::before {
  position: absolute;
  top: .68em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a99bf1;
  content: "";
}

#nouveautes .release-note-content strong {
  color: #f0edff;
  font-weight: 800;
}

#nouveautes .release-note-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
  margin-top: 15px;
}

#nouveautes .release-note-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(0, 0, 0, .2);
}

#nouveautes .release-note-gallery img {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .2s ease;
}

#nouveautes .release-note-gallery a:hover img {
  transform: scale(1.025);
}

#nouveautes .release-note-draft-label {
  display: inline-flex;
  margin-top: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(250, 204, 100, .2);
  border-radius: 999px;
  color: #f6d58a;
  background: rgba(250, 204, 100, .08);
  font-size: .72rem;
  font-weight: 800;
}

#nouveautes .release-note-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

#nouveautes .release-note-admin-actions .btn {
  min-height: 35px;
  border-radius: 10px;
}

#nouveautes .release-note-admin-actions [data-news-share] {
  border: 1px solid rgba(196, 181, 253, .24);
  color: #e0d9ff;
  background: rgba(139, 117, 220, .15);
}

#nouveautes .release-note-admin-actions [data-news-share]:hover {
  border-color: rgba(196, 181, 253, .42);
  background: rgba(139, 117, 220, .24);
}

.release-notes-share-dialog[hidden] {
  display: none !important;
}

.release-notes-share-dialog {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 7, 15, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.release-notes-share-dialog__panel {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(92vh, 1000px);
  max-height: min(92dvh, 1000px);
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, .2);
  border-radius: 23px;
  color: #f5f4ff;
  background: linear-gradient(155deg, #1b2037, #0d1423);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}

.release-notes-share-dialog__panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.release-notes-share-dialog__panel > header span {
  color: #c4b5fd;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.release-notes-share-dialog__panel > header h2 {
  margin: 5px 0 0;
  font-size: 1.3rem;
}

.release-notes-share-dialog__panel > header button {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #f4f3ff;
  background: rgba(255, 255, 255, .07);
  font-size: 1.5rem;
  cursor: pointer;
}

.release-notes-share-dialog__hint {
  margin: 9px 0 14px;
  color: rgba(221, 229, 247, .64);
  font-size: .84rem;
  line-height: 1.45;
}

.release-notes-share-dialog__preview {
  min-height: 160px;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: rgba(0, 0, 0, .2);
  overscroll-behavior: contain;
}

.release-notes-share-dialog__preview canvas {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .4);
}

.release-notes-share-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 14px;
}

.release-notes-share-dialog__actions .btn {
  min-height: 42px;
  border-radius: 12px;
}

.release-notes-share-dialog__message {
  min-height: 1.25em;
  margin: 8px 0 0;
  color: #c4b5fd;
  font-size: .8rem;
  line-height: 1.45;
}

body.release-notes-share-open {
  overflow: hidden;
}

#nouveautes .release-notes-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 34px 18px;
  border: 1px dashed rgba(153, 175, 219, .18);
  border-radius: 19px;
  color: rgba(224, 231, 249, .7);
  text-align: center;
  background: rgba(255, 255, 255, .025);
}

#nouveautes .release-notes-empty > span {
  font-size: 1.8rem;
}

#nouveautes .release-notes-empty strong {
  color: #f4f6ff;
}

#nouveautes .release-notes-empty p {
  margin: 0;
  font-size: .85rem;
}

#nouveautes .release-notes-empty--error {
  border-color: rgba(255, 127, 127, .23);
}

@media (max-width: 700px) {
  #nouveautes .release-notes-page {
    gap: 14px;
  }

  #nouveautes .release-notes-hero {
    border-radius: 22px;
  }

  #nouveautes .release-notes-hero__mark {
    flex-basis: 55px;
    width: 55px;
    height: 55px;
    border-radius: 18px;
    font-size: 1.55rem;
  }

  #nouveautes .release-notes-admin,
  #nouveautes .release-note-card {
    border-radius: 20px;
  }

  #nouveautes .release-notes-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #nouveautes .release-notes-form__full {
    grid-column: auto;
  }

  #nouveautes .release-notes-form__actions {
    flex-direction: column;
  }

  #nouveautes .release-notes-form__actions .btn {
    width: 100%;
  }

  #nouveautes .release-notes-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  #nouveautes .release-note-card--latest {
    grid-column: auto;
  }

  #nouveautes .release-note-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-notes-share-dialog {
    align-items: end;
    padding: 0;
  }

  .release-notes-share-dialog__panel {
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    padding: 18px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    border-radius: 23px 23px 0 0;
    border-bottom: 0;
  }

  .release-notes-share-dialog__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .release-notes-share-dialog__actions .btn:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  #nouveautes .release-notes-hero {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
  }

  #nouveautes .release-notes-hero__mark {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 1.3rem;
  }

  #nouveautes .release-note-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #nouveautes .release-note-gallery img {
    transition: none;
  }
}
