/* Plans page in the style of the new home page: a wash of colour across the whole width, flat blocks with thin lines. Loaded last. */
.premium-body { --pm-line: rgba(255, 255, 255, .1); }
.pm-page { max-width: 1120px; }

/* the colour wash covers the whole width of the window, not only the column */
.pm-orbs { position: fixed; left: 0; right: 0; top: 0; bottom: auto; height: 100vh; z-index: 0; }
.pm-orbs::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(65% 55% at 18% 0%, rgba(109, 59, 216, .30), transparent 72%),
    radial-gradient(60% 55% at 88% 6%, rgba(31, 111, 209, .24), transparent 72%),
    radial-gradient(50% 40% at 50% 100%, rgba(180, 48, 143, .12), transparent 75%); }
.pm-orbs i { opacity: .28; }
.pm-orbs i:nth-child(1) { left: 3%; top: 6%; }
.pm-orbs i:nth-child(2) { left: auto; right: 3%; top: 12%; }
.pm-orbs i:nth-child(3) { left: 46%; top: 55%; }

/* your plan */
.pm-mine { max-width: none; margin: 0 0 30px; padding: 16px 22px; border: 1px solid var(--pm-line); border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pm-mine-gem { border-radius: 10px; }

/* the top */
.pm-hero { margin-bottom: 38px; }
.pm-cta { border-radius: 8px; padding: 12px 26px; }
.pm-cta:hover { transform: none; }
.pm-cta-main { box-shadow: none; }

/* the numbers */
.pm-stats { gap: 0; margin: 0 0 40px; border: 1px solid var(--pm-line); border-radius: 10px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.pm-stat { padding: 22px 16px; border: 0; border-radius: 0; background: none; border-right: 1px solid var(--pm-line); }
.pm-stat:last-child { border-right: 0; }
.pm-stat strong { font-size: 36px; }

/* the plans */
.pm-plans { gap: 18px; }
.pm-plan { border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--pm-line); overflow: hidden; }
.pm-plan:hover { transform: none; }
.pm-plan::before { height: 2px; }
.pm-plan.is-current { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.pm-badge { border-radius: 6px; }
.pm-plan ul { padding-top: 18px; }

/* the table */
.pm-table { border-radius: 10px; background: rgba(255, 255, 255, .02); }
.pm-head { background: #080b11; }
.pm-group { background: rgba(255, 255, 255, .02); }
.pm-tile, .pm-streak { border-radius: 10px; }

@media (max-width: 860px) { .pm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-stat:nth-child(2) { border-right: 0; } .pm-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--pm-line); } }

/* the two big sections have no box any more */
.pm-looks, .pm-wall { background: none; border: 0; border-radius: 0; padding-left: 0; padding-right: 0; box-shadow: none; }
.pm-mine { margin: 0 0 30px; }
.pm-hero { margin-bottom: 26px; }

/* the example tile of the Wall goes under its heading */
.pm-wall { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pm-wall-tiles { max-width: 640px; }

/* the Pro tile: the same as on the wall, a calm sheet with big blurred lights drifting behind the text (instead of the sheen) */
@keyframes pm-lights { 0% { background-position: -10% 20%, 110% 90%, 50% 130%; } 33% { background-position: 40% 90%, 60% -10%, 10% 40%; } 66% { background-position: 90% 10%, 10% 100%, 90% 80%; } 100% { background-position: -10% 20%, 110% 90%, 50% 130%; } }
html body .pm-tile.is-pro { isolation: isolate; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--pro-c) 38%, rgba(255, 255, 255, .06)); background: rgba(255, 255, 255, .03); box-shadow: none; }
html body .pm-tile.is-pro::after { content: ''; position: absolute; inset: 0; z-index: -1; width: auto; border-radius: inherit; pointer-events: none; opacity: .36; filter: blur(32px) saturate(.85); transform: none; background-repeat: no-repeat; background-size: 420px 420px, 360px 360px, 460px 460px; background-image: radial-gradient(circle closest-side, color-mix(in srgb, var(--pro-c) 75%, transparent), transparent), radial-gradient(circle closest-side, rgba(90, 160, 255, .6), transparent), radial-gradient(circle closest-side, color-mix(in srgb, var(--pro-c) 55%, #ff6bd6), transparent); animation: pm-lights 11s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html body .pm-tile.is-pro::after { animation: none; } }
