/* ==========================================================================
   LinkHub Frontend Theme Tokens (Semantic)
   Keep legacy --rose-* aliases for backward compatibility with existing markup.
   ========================================================================== */
:root {
  --lh-color-bg: #0a0a0c;
  --lh-color-text: #e2e8f0;
  --lh-color-accent: #00f2ff;
  --lh-color-accent-alt: #00b7c2;
  --lh-color-soft: #f1faff;
  --lh-color-muted: rgba(148, 163, 184, 0.78);
  --lh-color-surface: rgba(20, 20, 23, 0.92);
  --lh-color-surface-border: rgba(45, 45, 53, 0.92);
  --lh-color-divider: rgba(45, 45, 53, 0.95);
  --lh-color-block: rgba(28, 28, 33, 0.82);
  --lh-color-title: #f8fafc;
  --lh-button-bg: rgba(255, 255, 255, 0.08);
  --lh-button-text: #f3f5f7;
  --lh-button-border: rgba(255, 255, 255, 0.24);
  --lh-button-border-hover: rgba(255, 255, 255, 0.45);
  --lh-button-primary-text: #ffffff;
  --lh-font-body: "Plus Jakarta Sans", sans-serif;
  --lh-font-title: "Krona One", "Plus Jakarta Sans", sans-serif;
  --lh-size-h1: 32px;
  --lh-size-h2: 20px;
  --lh-size-h4: 18px;
  --lh-size-link: 14px;
  --lh-size-body: 16px;

  /* Legacy aliases used throughout existing templates/renderers */
  --rose-bg: var(--lh-color-bg);
  --rose-text: var(--lh-color-text);
  --rose-primary: var(--lh-color-accent);
  --rose-secondary: var(--lh-color-accent-alt);
  --rose-soft: var(--lh-color-soft);
  --rose-muted: var(--lh-color-muted);
  --rose-surface: var(--lh-color-surface);
  --rose-surface-border: var(--lh-color-surface-border);
  --rose-line: var(--lh-color-divider);
  --rose-block: var(--lh-color-block);
  --rose-dark: var(--lh-color-title);
  --rose-btn-bg: var(--lh-button-bg);
  --rose-btn-text: var(--lh-button-text);
  --rose-btn-border: var(--lh-button-border);
  --rose-btn-hover-border: var(--lh-button-border-hover);
  --rose-btn-primary-text: var(--lh-button-primary-text);
  --rose-font-base: var(--lh-font-body);
  --rose-font-title: var(--lh-font-title);
  --rose-size-h1: var(--lh-size-h1);
  --rose-size-h2: var(--lh-size-h2);
  --rose-size-h4: var(--lh-size-h4);
  --rose-size-link: var(--lh-size-link);
  --rose-size-body: var(--lh-size-body);
}

/* ==========================================================================
   Base Page + App Container
   ========================================================================== */
body.page {
  background: var(--rose-bg);
  color: var(--rose-text);
  font-family: var(--rose-font-base);
}

body.page .site-main,
body.page .entry-content,
body.page .page-content {
  margin: 0;
}

.vega-rose-ui {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Fallback: suppress default theme header/page-title chrome on frontend. */
#site-header,
.site-header,
.header-inner,
.entry-header,
h1.entry-title {
  display: none !important;
}

/* ==========================================================================
   Card Shell + Profile Header
   ========================================================================== */
.vega-rose-wrap {
  width: 100%;
  max-width: 580px;
}

.vega-rose-ui a,
.vega-rose-ui a:hover,
.vega-rose-ui a:focus,
.vega-rose-ui a:active,
.vega-rose-ui a:visited {
  text-decoration: none !important;
}

.vega-rose-card {
  border-radius: 48px;
  overflow: hidden;
  background: var(--rose-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--rose-surface-border);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
}

.vega-rose-top {
  padding: 32px 26px 18px;
}

.vega-rose-category h4 {
  margin: 14px 0;
  font-family: var(--rose-font-title);
  font-size: var(--rose-size-h4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--rose-text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.vega-category-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 1;
  color: var(--rose-primary);
}

.vega-rose-category h4::after {
  content: "";
  height: 1px;
  flex: 1;
  background: color-mix(in srgb, var(--rose-line) 70%, transparent);
}

.vega-rose-profile {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 10px 0 4px;
}

.vega-rose-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
}

.vega-rose-avatar-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rose-primary) 28%, transparent);
  filter: blur(26px);
}

.vega-rose-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  border: 4px solid #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.vega-rose-headline {
  text-align: center;
}

.vega-rose-headline h1 {
  margin: 0;
  font-size: var(--rose-size-h1);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--rose-dark);
}

.vega-rose-title {
  font-family: var(--rose-font-title);
  font-size: var(--rose-size-h1);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: none;
}

.vega-rose-headline p {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--rose-text) 74%, transparent);
  font-size: var(--rose-size-body);
  font-weight: 500;
}

.vega-rose-yearline {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: color-mix(in srgb, var(--rose-primary) 78%, #ffffff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vega-rose-yearline .vega-bird-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.85;
}

.vega-rose-roleline {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 8px;
  column-gap: 0;
  color: var(--rose-text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.vega-rose-roleline span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  min-height: 24px;
}

.vega-rose-roleline span + span::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rose-primary) 78%, transparent);
  transform: translateY(-50%);
}

/* ==========================================================================
   Action Row + Link Buttons
   ========================================================================== */
.vega-rose-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rose-line);
  border-bottom: 1px solid var(--rose-line);
}

.vega-rose-actions a {
  text-decoration: none;
  color: var(--rose-text);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.vega-rose-actions a:hover {
  color: var(--rose-primary);
}

.vega-rose-actions a span {
  font-size: 28px;
  color: var(--rose-primary);
}

.vega-rose-actions a small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: color-mix(in srgb, var(--rose-text) 82%, transparent);
}

.vega-rose-links {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.vega-rose-links.compact {
  margin-top: 14px;
}

.vega-rose-top-links {
  gap: 10px;
  margin-top: 14px;
}

.vega-inline-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  align-self: center;
  opacity: 0.78;
}

.vega-rose-top-links .vega-rose-link {
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-inline: 16px;
  text-align: left;
}

.vega-rose-top-links .vega-rose-link > span {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.vega-rose-link {
  position: relative;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--rose-btn-border);
  background: var(--rose-btn-bg);
  color: var(--rose-btn-text);
  font-size: var(--rose-size-link);
  font-weight: 650;
  transition: 150ms ease;
}

.vega-rose-link:hover {
  border-color: var(--rose-btn-hover-border);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--rose-primary) 18%, transparent);
  color: var(--rose-text);
}

.vega-rose-link.is-primary {
  color: var(--rose-btn-primary-text);
  background: var(--rose-primary);
  border-color: transparent;
  font-weight: 700;
}

.vega-rose-link .icon-left {
  position: absolute;
  left: 22px;
  opacity: 0.75;
}

.vega-rose-link .icon-right {
  position: absolute;
  right: 22px;
  opacity: 0.33;
}

/* ==========================================================================
   Newsletter + Trust Row
   ========================================================================== */
.vega-rose-newsletter {
  margin-top: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--rose-line) 40%, transparent);
  background: color-mix(in srgb, var(--rose-block) 65%, transparent);
}

.vega-rose-news-head {
  text-align: center;
  margin-bottom: 14px;
}

.vega-rose-news-head h3 {
  margin: 0;
  font-size: var(--rose-size-h2);
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vega-bird-icon {
  width: 18px;
  height: 18px;
  color: var(--rose-primary);
  flex: 0 0 auto;
}

.vega-rose-news-head p {
  margin: 6px 0 0;
  color: color-mix(in srgb, var(--rose-text) 72%, transparent);
  font-size: var(--rose-size-body);
}

.vega-rose-news-form {
  display: grid;
  gap: 10px;
}

.vega-rose-news-form input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--rose-line);
  background: color-mix(in srgb, #ffffff 76%, var(--rose-bg));
  padding: 0 14px;
  color: var(--rose-dark);
  font-size: var(--rose-size-body);
}

.vega-rose-news-form input::placeholder {
  color: color-mix(in srgb, var(--rose-primary) 45%, #ffffff);
}

.vega-rose-news-form button {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--rose-primary);
  color: var(--rose-soft);
  font-size: calc(var(--rose-size-body) * 0.94);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 22px color-mix(in srgb, var(--rose-primary) 24%, transparent);
}

.vega-rose-trust {
  margin-top: 16px;
  display: grid;
  gap: 18px;
}

.vega-rose-trust-people {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vega-rose-trust-people .avatars {
  display: flex;
  margin-right: 4px;
}

.vega-rose-trust-people .avatars img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-left: -10px;
}

.vega-rose-trust-people .avatars img:first-child {
  margin-left: 0;
}

.vega-rose-trust-people span {
  font-size: var(--rose-size-body);
  color: color-mix(in srgb, var(--rose-text) 72%, transparent);
}

.vega-rose-trust-people span b {
  color: var(--rose-primary);
}

.vega-rose-trust-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  opacity: 0.66;
}

.vega-rose-trust-icons a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Featured Content + IG Tiles
   ========================================================================== */
.vega-rose-featured {
  background: var(--rose-block);
  padding: 28px 26px 32px;
}

.vega-rose-featured-ig {
  margin-top: 14px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--rose-line) 64%, transparent);
  background: color-mix(in srgb, var(--rose-block) 66%, #ffffff 34%);
}

.vega-rose-featured-ig .vega-rose-featured-head {
  margin-bottom: 12px;
}

.vega-rose-featured-ig .vega-rose-featured-head h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.vega-rose-featured-head .dots span.is-active {
  background: var(--rose-primary);
}

.vega-rose-ig-grid {
  margin-top: 12px;
}

.vega-rose-ig-tile {
  aspect-ratio: 1 / 1;
}

.vega-rose-ig-tile strong {
  font-size: 12px;
}

.vega-rose-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.vega-rose-featured-head h3 {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: color-mix(in srgb, var(--rose-text) 72%, transparent);
}

.vega-rose-featured-head .dots {
  display: flex;
  gap: 6px;
}

.vega-rose-featured-head .dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rose-primary) 20%, #ffffff);
}

.vega-rose-featured-head .dots span:first-child {
  background: var(--rose-primary);
}

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

.vega-rose-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  aspect-ratio: 1.4 / 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-decoration: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.vega-rose-tile:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.vega-rose-ig-tile,
.vega-rose-ig-tile:hover {
  transform: none;
}

.vega-rose-tile .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
}

.vega-rose-tile .content {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.vega-rose-tile strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  max-width: 70%;
}

.vega-rose-tile .play {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.vega-rose-tile .play.is-amethyst {
  background: var(--rose-secondary);
}

.vega-rose-tile .play.is-dark {
  background: var(--rose-dark);
}

/* ==========================================================================
   Social Footer
   ========================================================================== */
.vega-rose-social {
  display: grid;
  gap: 10px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--rose-line);
}

.vega-rose-social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.vega-rose-social a,
.vega-rose-social-icons a {
  color: color-mix(in srgb, var(--rose-text) 84%, transparent);
  text-decoration: none;
}

.vega-rose-social a:hover,
.vega-rose-social-icons a:hover {
  color: var(--rose-primary);
}

/* ==========================================================================
   Editor/Legacy Theme Switcher (frontend hidden by editor setting)
   ========================================================================== */
.vega-rose-theme-switcher {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 55;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.vega-rose-theme-switcher .switch-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.vega-rose-theme-switcher .theme-btn {
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  padding: 6px 8px;
  display: grid;
  gap: 4px;
  justify-items: center;
  cursor: pointer;
  min-width: 64px;
}

.vega-rose-theme-switcher .theme-btn em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3b2a47;
}

.vega-rose-theme-switcher .theme-btn .sw {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}

.vega-rose-theme-switcher .theme-btn.is-active {
  outline: 2px solid var(--rose-primary);
}

.vega-rose-theme-switcher .style-btn em {
  font-size: 11px;
}

.vega-rose-theme-switcher .profile-btn em {
  font-size: 11px;
}

/* Profile style variants */
.vega-rose-ui[data-profile-style="profile-1"] .vega-rose-profile {
  justify-items: center;
  text-align: center;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-profile {
  grid-template-columns: 96px 1fr;
  align-items: center;
  justify-items: start;
  text-align: left;
  gap: 14px;
  padding: 6px 2px 8px;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-avatar-wrap {
  width: 92px;
  height: 92px;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-avatar {
  width: 92px;
  height: 92px;
  border-width: 3px;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-headline {
  text-align: left;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-headline h1 {
  font-size: var(--rose-size-h1);
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-yearline {
  justify-content: flex-start;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-roleline {
  justify-content: flex-start;
}

.vega-rose-ui[data-profile-style="profile-2"] .vega-rose-roleline span {
  padding: 0 12px;
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-profile {
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--rose-primary) 20%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--rose-primary) 10%, #ffffff 90%),
    color-mix(in srgb, var(--rose-bg) 55%, #ffffff 45%)
  );
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-avatar-wrap {
  width: 100px;
  height: 100px;
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-avatar {
  width: 100px;
  height: 100px;
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-headline h1 {
  font-size: calc(var(--rose-size-h1) * 0.9);
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-yearline {
  color: color-mix(in srgb, var(--rose-primary) 62%, #ffffff);
}

.vega-rose-ui[data-profile-style="profile-3"] .vega-rose-roleline span + span::before {
  background: color-mix(in srgb, var(--rose-primary) 48%, #ffffff);
}

/* ==========================================================================
   Layout Style Variants
   ========================================================================== */
.vega-rose-ui[data-layout-style="style-1"] .vega-rose-category h4 {
  font-size: var(--rose-size-h4);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rose-text);
}

.vega-rose-ui[data-layout-style="style-1"] .vega-rose-category h4::before {
  display: none;
}

.vega-rose-ui[data-layout-style="style-1"] .vega-rose-category h4::after {
  background: color-mix(in srgb, var(--rose-primary) 28%, transparent);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-card {
  border-radius: 20px;
  backdrop-filter: saturate(110%) blur(4px);
  box-shadow: 0 24px 40px color-mix(in srgb, var(--rose-primary) 16%, transparent);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-profile {
  gap: 10px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-headline h1 {
  font-size: calc(var(--rose-size-h1) * 0.82);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-yearline {
  font-size: 11px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-roleline {
  font-size: 13px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-top {
  padding: 22px 16px 14px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-category {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--rose-line) 58%, transparent);
  background: color-mix(in srgb, var(--rose-bg) 30%, #ffffff 70%);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-category h4 {
  margin-bottom: 10px;
  font-size: calc(var(--rose-size-h4) * 0.94);
  letter-spacing: 0.08em;
  color: var(--rose-text);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-category h4::before,
.vega-rose-ui[data-layout-style="style-2"] .vega-rose-category h4::after {
  display: none;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-links {
  gap: 7px;
  margin-top: 0;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-link {
  border-radius: 999px;
  height: 46px;
  font-size: calc(var(--rose-size-link) * 0.93);
  border-color: color-mix(in srgb, var(--rose-primary) 22%, #ffffff);
  box-shadow: none;
  color: color-mix(in srgb, var(--rose-text) 92%, transparent);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-link .icon-left,
.vega-rose-ui[data-layout-style="style-2"] .vega-rose-link .icon-right {
  display: none;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-actions {
  margin-top: 16px;
  padding: 14px 0;
  gap: 8px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-actions a span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 20px;
  background: color-mix(in srgb, var(--rose-primary) 15%, transparent);
  color: color-mix(in srgb, var(--rose-primary) 92%, #ffffff);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-featured {
  padding: 18px 16px 18px;
  background: color-mix(in srgb, var(--rose-block) 55%, #ffffff 45%);
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-grid {
  gap: 10px;
}

.vega-rose-ui[data-layout-style="style-2"] .vega-rose-tile {
  border-radius: 12px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-card {
  border-radius: 18px;
  background: color-mix(in srgb, var(--rose-surface) 80%, #000000 20%);
  border-color: color-mix(in srgb, var(--rose-primary) 35%, #ffffff);
  box-shadow: 0 30px 48px color-mix(in srgb, var(--rose-primary) 12%, #000000 88%);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-top {
  padding: 22px 20px 14px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-profile {
  justify-items: center;
  text-align: center;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-headline {
  text-align: center;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-headline h1 {
  font-size: calc(var(--rose-size-h1) * 0.86);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-yearline {
  font-size: 11px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-roleline {
  font-size: 13px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 12px 0;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-actions a {
  grid-template-columns: 26px 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: start;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--rose-primary) 22%, #ffffff);
  background: color-mix(in srgb, var(--rose-bg) 22%, #ffffff 78%);
  color: var(--rose-text);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-actions a span {
  font-size: 18px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-actions a small {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--rose-text) 86%, transparent);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-link {
  justify-content: flex-start;
  padding-inline: 14px;
  border-radius: 9px;
  font-size: calc(var(--rose-size-link) * 0.93);
  color: color-mix(in srgb, var(--rose-text) 94%, transparent);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-category {
  padding: 12px;
  border-left: 2px solid color-mix(in srgb, var(--rose-primary) 50%, transparent);
  background: color-mix(in srgb, var(--rose-block) 48%, transparent);
  border-radius: 10px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-category h4 {
  margin-bottom: 9px;
  letter-spacing: 0.08em;
  font-size: calc(var(--rose-size-h4) * 0.94);
  color: var(--rose-text);
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-category h4::before,
.vega-rose-ui[data-layout-style="style-3"] .vega-rose-category h4::after {
  display: none;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-links {
  margin-top: 0;
  gap: 8px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-featured {
  border-top: 1px solid var(--rose-line);
  padding: 18px 20px 20px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-tile {
  aspect-ratio: 1.8 / 1;
  border-radius: 12px;
}

.vega-rose-ui[data-layout-style="style-3"] .vega-rose-social {
  padding: 16px 0 18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 560px) {
  .vega-rose-top,
  .vega-rose-featured {
    padding-inline: 18px;
  }

  .vega-rose-grid {
    grid-template-columns: 1fr;
  }

  .vega-rose-theme-switcher {
    right: 10px;
    left: 10px;
    justify-content: center;
  }

  .vega-rose-theme-switcher .switch-group {
    justify-content: center;
    width: 100%;
  }

  .vega-rose-ui[data-profile-style="profile-2"] .vega-rose-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  .vega-rose-ui[data-profile-style="profile-2"] .vega-rose-headline {
    text-align: center;
  }

  .vega-rose-ui[data-profile-style="profile-2"] .vega-rose-yearline {
    justify-content: center;
  }

  .vega-rose-ui[data-profile-style="profile-2"] .vega-rose-roleline {
    justify-content: center;
  }

  .vega-rose-roleline span {
    padding-inline: 10px;
  }

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

  .vega-rose-link {
    font-size: calc(var(--rose-size-link) * 0.93);
    padding-inline: 10px;
  }
}
