/* This module is deliberately scoped so the account experience keeps its styles. */
.professional-home .diamonds-action-row { margin-top: 12px; }
.professional-home .diamonds-home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 350px;
  max-width: 100%;
  min-height: 76px;
  padding: 14px 20px 14px 24px;
  border: 1px solid #65bfff;
  border-radius: 9px;
  color: #edf8ff;
  background: linear-gradient(110deg, rgba(8, 34, 60, .97), rgba(8, 24, 43, .98));
  box-shadow: inset 0 1px rgba(151, 220, 255, .08), 0 8px 24px rgba(0, 51, 106, .2);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .18s ease, transform .18s ease;
}
.professional-home .diamonds-home-cta:hover { background: linear-gradient(110deg, #0b3459, #0b2540); transform: translateY(-1px); }
.professional-home .diamonds-home-cta:focus-visible { outline: 3px solid #b4e7ff; outline-offset: 4px; }
.diamonds-home-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.diamonds-home-copy small { color: #8cd7ff; font: 600 12px/1.35 Inter, sans-serif; letter-spacing: .12em; }
.diamonds-home-copy strong { font: 800 14px/1.35 Inter, sans-serif; letter-spacing: .02em; }
.diamonds-home-icon { flex: 0 0 24px; color: #7fd7ff; fill: rgba(89, 199, 255, .17); stroke: currentColor; stroke-width: 1.6; }

#diamonds-next-screen {
  box-sizing: border-box;
  position: fixed;
  width: min(480px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 26px 26px 22px;
  overflow: auto;
  overscroll-behavior: contain;
  color: #edf5ff;
  border: 1px solid #315776;
  border-radius: 18px;
  background-color: #081421;
  background-image: linear-gradient(160deg, rgba(9, 28, 47, .94), rgba(4, 13, 24, .985) 60%), url("assets/pepeuffmax-profile-simple-bg.webp");
  background-position: center, 70% top;
  background-size: cover;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55), inset 0 1px rgba(151, 220, 255, .12);
  font: 400 16px/1.5 Inter, sans-serif;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: #365a77 #081421;
  color-scheme: dark;
}
#diamonds-next-screen::backdrop { background: rgba(1, 7, 15, .8); backdrop-filter: blur(10px); }
#diamonds-next-screen:not([open]), #diamonds-next-screen [hidden] { display: none !important; }
#diamonds-next-screen *, #diamonds-next-screen *::before, #diamonds-next-screen *::after { box-sizing: border-box; }
#diamonds-next-screen .diamonds-close-form { position: sticky; top: 0; z-index: 5; height: 0; margin: 0; }
#diamonds-next-screen .diamonds-close { position: absolute; top: -12px; right: -12px; width: 40px; height: 40px; padding: 0; color: #c7dfef; background: #0d2337; border: 1px solid #31516a; border-radius: 50%; font: 400 28px/1 Inter, sans-serif; cursor: pointer; }
#diamonds-next-screen .diamonds-close:hover { color: #fff; background: #19364d; }
#diamonds-next-screen button:focus-visible, #diamonds-next-screen input:focus-visible { outline: 3px solid #a8e4ff; outline-offset: 3px; }
#diamonds-next-screen h2:focus { outline: none; }
#diamonds-next-screen .diamonds-brand-art { display: flex; justify-content: center; margin: 0 0 16px; }
#diamonds-next-screen .diamonds-brand-art img { display: block; width: 76px; height: 76px; object-fit: cover; border: 1px solid #74c6f0; border-radius: 50%; box-shadow: 0 0 26px rgba(43, 155, 239, .18); }
#diamonds-next-screen .diamonds-kicker { margin: 0 0 8px; color: #8fd7ff; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; }
#diamonds-next-screen h2 { margin: 0; color: #f3f8ff; font: 700 clamp(24px, 5vw, 28px)/1.12 "Space Grotesk", Inter, sans-serif; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
#diamonds-next-screen .diamonds-description { margin: 12px 0 18px; color: #b1c1d2; font-size: 16px; line-height: 1.5; }
#diamonds-next-screen.diamonds-showing-intro .diamonds-brand-art { display: none; }
#diamonds-next-screen #diamonds-intro-view .diamonds-kicker { margin-inline: 32px; }
#diamonds-next-screen #diamonds-intro-title { margin-inline: 18px; }
#diamonds-next-screen .diamonds-video-frame { display: flex; align-items: center; justify-content: center; width: 100%; margin: 0 0 16px; overflow: hidden; background: #02070e; border: 1px solid #2f506b; border-radius: 12px; }
#diamonds-next-screen .diamonds-intro-video { display: block; width: 100%; height: min(52vh, 480px); height: min(52dvh, 480px); max-height: min(52dvh, 480px); object-fit: contain; background: #02070e; }
#diamonds-next-screen .diamonds-intro-video:fullscreen { width: 100vw; height: 100vh; height: 100dvh; max-height: none; object-fit: contain; }
#diamonds-next-screen #diamonds-intro-continue { position: sticky; bottom: 0; z-index: 3; box-shadow: 0 -10px 18px rgba(5, 17, 30, .94), 0 8px 24px rgba(18, 105, 210, .18); }
#diamonds-next-screen progress { appearance: none; display: block; width: 100%; height: 5px; margin: 20px 0; overflow: hidden; border: 0; border-radius: 999px; background: #193146; color: #54c4ff; }
#diamonds-next-screen progress::-webkit-progress-bar { background: #193146; border-radius: 999px; }
#diamonds-next-screen progress::-webkit-progress-value { background: linear-gradient(90deg, #197df2, #74deff); border-radius: 999px; }
#diamonds-next-screen progress::-moz-progress-bar { background: linear-gradient(90deg, #197df2, #74deff); border-radius: 999px; }
#diamonds-next-screen .diamonds-activity { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; padding: 12px; color: #b2c2d2; background: rgba(3, 11, 20, .7); border: 1px solid #203c53; border-radius: 9px; font-size: 14px; overflow-wrap: anywhere; }
#diamonds-next-screen .diamonds-activity-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #59c8ff; box-shadow: 0 0 9px rgba(89, 200, 255, .5); }
#diamonds-next-screen .diamonds-activity b { color: #e4eff8; font-weight: 600; }
#diamonds-next-screen .diamonds-activity-amount { color: #86d6ff; white-space: nowrap; }
#diamonds-next-screen .diamonds-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; color: #f6fcff; background: linear-gradient(110deg, #0c94e8, #1a61d9); border: 1px solid #6ccaff; border-radius: 9px; box-shadow: 0 8px 24px rgba(18, 105, 210, .18); font: 800 14px/1.4 Inter, sans-serif; letter-spacing: .045em; cursor: pointer; touch-action: manipulation; transition: filter .18s ease; }
#diamonds-next-screen .diamonds-primary:hover:not(:disabled) { filter: brightness(1.12); }
#diamonds-next-screen .diamonds-primary:disabled { color: #839aac; background: #102c43; border-color: #2a4b64; box-shadow: none; cursor: default; }
#diamonds-next-screen .diamonds-back { display: block; width: 100%; min-height: 44px; margin: 10px 0 -4px; padding: 10px 5px; color: #a5bfd5; background: none; border: 0; font: 600 12px/1.5 Inter, sans-serif; letter-spacing: .035em; cursor: pointer; }
#diamonds-next-screen .diamonds-back:hover { color: #fff; }
#diamonds-next-screen .diamonds-amount-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
#diamonds-next-screen .diamonds-amount-options span { display: block; padding: 11px 5px; color: #adbed0; background: #0a1a2a; border: 1px solid #29465f; border-radius: 8px; font: 600 17px/1.3 "Space Grotesk", Inter, sans-serif; transition: background .1s ease, color .1s ease; }
#diamonds-next-screen .diamonds-amount-options span.selected { color: #edfbff; background: #123c60; border-color: #72d3ff; box-shadow: inset 0 0 18px rgba(51, 151, 238, .15); }
#diamonds-next-screen .diamonds-result { display: flex; flex-direction: column; align-items: center; margin: 0 0 20px; padding: 20px 16px; color: #9ecbe8; background: linear-gradient(145deg, rgba(14, 56, 90, .7), rgba(6, 23, 39, .9)); border: 1px solid #315b7a; border-radius: 12px; }
#diamonds-next-screen .diamonds-result small { font-size: 12px; font-weight: 600; letter-spacing: .12em; }
#diamonds-next-screen .diamonds-result > strong { margin: 6px 0 0; color: #f0fbff; font: 700 clamp(44px, 12vw, 60px)/1.1 "Space Grotesk", Inter, sans-serif; letter-spacing: -.04em; }
#diamonds-next-screen .diamonds-result > span { margin-top: 4px; color: #8bd7ff; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
#diamonds-next-screen .diamonds-gem { display: block; margin-bottom: 14px; fill: rgba(48, 161, 233, .18); stroke: #83d9ff; stroke-width: 1.4; stroke-linejoin: round; }
#diamonds-next-screen .diamonds-gem path + path { fill: none; }
#diamonds-next-screen .diamonds-tutorial-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 16px; }
#diamonds-next-screen .diamonds-tutorial-tab { display: flex; min-width: 0; min-height: 78px; padding: 10px 6px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #bdcfdf; background: #0b1b2b; border: 1px solid #2a455b; border-radius: 9px; cursor: pointer; }
#diamonds-next-screen .diamonds-tutorial-tab small { color: #8faac0; font: 600 11px/1.35 Inter, sans-serif; letter-spacing: .1em; }
#diamonds-next-screen .diamonds-tutorial-tab strong { font: 800 14px/1.3 Inter, sans-serif; }
#diamonds-next-screen .diamonds-tutorial-tab.selected { color: #edfbff; background: #113953; border-color: #6fceff; }
#diamonds-next-screen .diamonds-tutorial-tab.selected small { color: #a0dfff; }
#diamonds-next-screen .diamonds-guide { overflow: hidden; margin-bottom: 16px; border: 1px solid #2c4c65; border-radius: 12px; background: rgba(4, 15, 27, .72); text-align: left; }
#diamonds-next-screen .diamonds-guide-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 13px 14px; color: #cbe5f7; background: rgba(20, 57, 86, .6); border-bottom: 1px solid #2b4a62; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
#diamonds-next-screen .diamonds-guide-heading strong { color: #8bdaff; font-size: 12px; letter-spacing: .02em; }
#diamonds-next-screen .diamonds-guide-steps { list-style: none; margin: 0; padding: 0 14px; }
#diamonds-next-screen .diamonds-guide-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(93, 135, 169, .18); }
#diamonds-next-screen .diamonds-guide-steps li:last-child { border-bottom: 0; }
#diamonds-next-screen .diamonds-guide-steps li > span { flex: 0 0 26px; color: #6fcfff; font: 700 17px/1.4 "Space Grotesk", Inter, sans-serif; }
#diamonds-next-screen .diamonds-guide-steps p { margin: 0; color: #b9cadd; font-size: 14px; line-height: 1.5; }
#diamonds-next-screen .diamonds-guide-steps strong { color: #e3f4ff; font-weight: 600; }
#diamonds-next-screen .diamonds-link-note { margin: 0 0 16px; color: #a0b6c9; font-size: 13px; line-height: 1.5; }
#diamonds-next-screen.diamonds-showing-warning { width: min(calc(100% - 20px), 430px); padding: 27px 22px 21px; color: #edf5ff; background: linear-gradient(155deg, #0b2035, #030a13 72%); border-color: rgba(255, 195, 54, .5); border-radius: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, .82), 0 0 45px rgba(255, 164, 28, .17); }
#diamonds-next-screen.diamonds-showing-warning::backdrop { background: rgba(1, 5, 10, .88); backdrop-filter: blur(9px); }
#diamonds-next-screen.diamonds-showing-warning .diamonds-brand-art { display: none; }
#diamonds-next-screen .diamonds-warning { padding-top: 0; }
#diamonds-next-screen .diamonds-warning-kicker { margin: 0 24px 10px; color: #ffc94d; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .1em; }
#diamonds-next-screen .diamonds-warning-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 12px auto 14px; color: #07111c; background: linear-gradient(145deg, #ffe06e, #ff9f1c); border: 3px solid rgba(255, 255, 255, .82); border-radius: 50%; box-shadow: 0 0 28px rgba(255, 174, 34, .3); font: 900 32px/1 "Space Grotesk", Inter, sans-serif; }
#diamonds-next-screen .diamonds-warning h2 { margin: 0 22px 12px; color: #f5f8fc; font: 700 25px/1.12 "Space Grotesk", Inter, sans-serif; overflow-wrap: break-word; }
#diamonds-next-screen .diamonds-warning .diamonds-description { margin: 0 auto 18px; padding: 0; color: #b8c9d9; background: none; border: 0; border-radius: 0; font-size: 16px; line-height: 1.55; text-align: center; overflow-wrap: anywhere; }
#diamonds-next-screen .diamonds-warning-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 9px; margin: 0 0 14px; }
#diamonds-next-screen .diamonds-warning-route > span { display: flex; min-width: 0; min-height: 80px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px 8px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(91, 185, 255, .24); border-radius: 9px; }
#diamonds-next-screen .diamonds-warning-route > span:last-child { background: rgba(255, 183, 28, .08); border-color: rgba(255, 195, 54, .38); }
#diamonds-next-screen .diamonds-warning-route small { color: #a0b6ca; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; }
#diamonds-next-screen .diamonds-warning-route strong { max-width: 100%; color: #eef8ff; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
#diamonds-next-screen .diamonds-warning-route > b { color: #ffc94d; font-size: 20px; font-weight: 700; }
#diamonds-next-screen .diamonds-warning-fallback { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; padding: 13px 14px; color: #ffeeb0; background: rgba(255, 181, 0, .09); border: 1px solid rgba(255, 190, 28, .38); border-left: 4px solid #ffc93d; border-radius: 9px; text-align: left; overflow-wrap: anywhere; }
#diamonds-next-screen .diamonds-warning-fallback strong { color: #ffd05b; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; }
#diamonds-next-screen .diamonds-warning-fallback > span { color: #ffeec0; font-size: 16px; line-height: 1.5; }
#diamonds-next-screen .diamonds-warning .diamonds-primary { font-size: 14px; }
#diamonds-next-screen .diamonds-warning .diamonds-back { font-size: 14px; }

@media (max-width: 480px) {
  #diamonds-next-screen { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 22px 18px 18px; border-radius: 15px; }
  #diamonds-next-screen .diamonds-brand-art img { width: 64px; height: 64px; }
  #diamonds-next-screen .diamonds-brand-art { margin-bottom: 14px; }
  #diamonds-next-screen .diamonds-description { margin-block: 10px 16px; font-size: 15px; }
  #diamonds-next-screen .diamonds-close { top: -10px; right: -8px; }
  #diamonds-next-screen .diamonds-activity { padding: 11px 9px; font-size: 13px; }
  #diamonds-next-screen .diamonds-tutorial-tab strong { font-size: 13px; }
  #diamonds-next-screen .diamonds-guide-heading { padding-inline: 12px; font-size: 10px; }
  #diamonds-next-screen .diamonds-guide-steps { padding-inline: 12px; }
  #diamonds-next-screen .diamonds-guide-steps li { gap: 9px; }
  #diamonds-next-screen .diamonds-primary { font-size: 13px; }
  #diamonds-next-screen.diamonds-showing-warning { width: calc(100% - 14px); max-height: calc(100dvh - 14px); padding: 23px 14px max(14px, env(safe-area-inset-bottom)); border-radius: 12px; }
  #diamonds-next-screen .diamonds-warning h2 { margin-inline: 22px; font-size: clamp(22px, 6.5vw, 25px); }
  #diamonds-next-screen .diamonds-warning-route { gap: 6px; }
  #diamonds-next-screen .diamonds-warning-route > span { padding-inline: 6px; }
  #diamonds-next-screen .diamonds-warning .diamonds-primary { min-height: 56px; padding-inline: 10px; font-size: 14px; }
  .professional-home .diamonds-home-cta { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .professional-home .diamonds-home-cta, #diamonds-next-screen *, #diamonds-next-screen *::before, #diamonds-next-screen *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
