.riv-page { width: min(94%, 1560px); max-width: none; }
.riv-page [hidden] { display: none !important; }
.riv-intro { position: relative; display: grid; align-items: end; min-height: 180px; margin: 0 0 24px; border-radius: 24px; padding: 20px 0; }
.riv-intro h1 { margin: 4px 0; font-size: clamp(33px, 5vw, 76px); font-style: italic; text-transform: uppercase; overflow-wrap: anywhere; background: linear-gradient(95deg,#fff 15%,#4ed8ff 60%,#e079ff); background-clip: text; color: transparent; }
.riv-intro .lead { margin: 8px 0 0; }
.riv-demo { color: #c6cce2; font-size: 13px; margin: 12px 0; }
.riv-grid, .riv-filters { display: grid; gap: 16px; }
.riv-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.riv-hub { grid-template-columns: repeat(2,minmax(0,1fr)); }
.riv-card, .riv-dialog, .riv-filters select {
  border: 1px solid transparent;
  background: linear-gradient(130deg,#102944,#241938) padding-box, linear-gradient(125deg,#35ddff,#6e72c6,#ed70e8) border-box;
  color: #f8f6ff;
}
.riv-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; box-shadow: 0 0 20px #6054b83d; }
.riv-hub a { padding: 24px; text-decoration: none; }
.riv-hub a h2 { margin: 0; }
.riv-hub a p { margin: 8px 0 0; }
.riv-filters { grid-template-columns: repeat(4,minmax(0,1fr)) auto; align-items: end; margin: 16px 0 20px; }
.riv-filters label { min-width: 0; color: #cbd6ed; font-size: 13px; }
.riv-filters select { display: block; width: 100%; color-scheme: dark; border-radius: 12px; font: inherit; font-size: 15px; padding: 10px; margin-top: 5px; }
.riv-link { border: 0; color: #e4deff; background: transparent; text-decoration: underline; padding: 10px 0; cursor: pointer; }
.riv-card-art { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 182px; padding: 19px; }
.riv-card-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#071a30 2%,#101e38bf 58%,#29224730); }
.riv-card-art :is(img,video) { position: absolute; inset: 0 0 0 auto; width: 75%; height: 100%; object-fit: cover; z-index: -2; }
.riv-card-art h2 { margin: 9px 0 4px; font-size: clamp(21px,2.1vw,35px); }
.riv-card-art p { margin: 0; }
.riv-badge-label { display: inline-block; background: linear-gradient(115deg,#1268ab,#8739ac); border: 1px solid #83bce9; border-radius: 40px; font-size: 13px; padding: 5px 12px; }
.riv-page dl { margin: 0; padding: 12px 18px; }
.riv-page dl > div { display: flex; gap: 8px; justify-content: space-between; border-bottom: 1px solid #b6c5e239; padding: 7px 0; }
.riv-page dd { margin: 0; font-weight: bold; text-align: right; }
.riv-card-status { margin: auto 18px 0; padding: 9px 0; color: #bcddf3; }
.riv-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; padding: 10px 18px 16px; }
.riv-card-actions .pill, .riv-compare { cursor: pointer; }
.riv-compare { margin: 20px 0; }
.riv-compare:disabled { opacity: .55; cursor: default; }
.riv-dialog { width: min(700px,91vw); max-height: 85dvh; border-radius: 20px; padding: 20px; box-sizing: border-box; }
.riv-dialog::backdrop { background: #04091ccd; }
.riv-close { float: right; background: none; color: inherit; border: 0; font-size: 24px; cursor: pointer; }
.riv-table { overflow-x: auto; }
.riv-table table { width: 100%; border-collapse: collapse; text-align: left; }
.riv-table :is(th,td) { padding: 10px; border-bottom: 1px solid #b6c5e239; }
.riv-page .content-blocks:empty { display: none; }
@media (max-width: 900px) { .riv-grid, .riv-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 590px) { .riv-grid { grid-template-columns: minmax(0,1fr); } .riv-card-art { min-height: 155px; } }
