/* ONE Pro gate look, site-wide (Jake 2026-10-18: "get all of our pro gates across the
   site to look like these two things we just made"). Copied from the feed's Pro card
   (.tl-gate) and its bubble (.tl-pb) in tmw-latest.js.

   .tpg        the CARD: sits in the page where the locked content would be. Dark
               #08070d, soft drifting aurora, "PRO · CONTEXT" eyebrow, white Fraunces
               headline with one gradient phrase, optional glass row, purple button.
   .tpg.sm     the small / inline card (20px radius, smaller headline).
   .tpg-pill   the PILL: compact locks (locked rows, floating nudges).
   .tpg-badge  the tiny "PRO" tag on tabs, chips and rail items.

   Built by window.tmwProGate (tmw-progate.js). Every CTA goes to /pro/?source=<gate>
   on the web and to the Apple sheet in the iOS app. BUMP ?v= everywhere on change. */

.tpg{position:relative;overflow:hidden;margin:22px 0;border-radius:28px;border:1px solid rgba(167,139,250,.32);background:#08070d;color:#fff;text-align:center;box-sizing:border-box;max-width:100%;
  box-shadow:0 0 0 1px rgba(167,139,250,.06) inset,0 30px 80px rgba(0,0,0,.45),0 0 60px rgba(139,92,246,.14);font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif}
.tpg *{box-sizing:border-box}
.tpg .tpg-au{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.tpg .tpg-au b{position:absolute;border-radius:50%;filter:blur(80px);opacity:.5;animation:tpgDrift 16s ease-in-out infinite alternate}
.tpg .tpg-au .a{width:440px;height:320px;left:-100px;bottom:-170px;background:#7C3AED}
.tpg .tpg-au .b{width:380px;height:300px;right:-80px;top:-150px;background:#4F46E5;animation-delay:-6s}
.tpg .tpg-au .c{width:300px;height:240px;left:45%;bottom:-180px;background:#C026D3;opacity:.3;animation-delay:-10s}
@keyframes tpgDrift{to{transform:translate(36px,-22px) scale(1.1)}}
.tpg .tpg-tp{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 26px 0}
.tpg .tpg-pk{display:inline-flex;align-items:center;gap:8px;margin:0;font:700 11.5px/1 Inter,-apple-system,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#C4B5FD}
.tpg .tpg-pk svg{width:14px;height:14px;flex:none}
.tpg .tpg-h{margin:16px 0 28px;padding:0;font:600 clamp(30px,4vw,46px)/1.12 Fraunces,Georgia,serif;letter-spacing:-.015em;color:#fff;max-width:760px;text-wrap:balance;text-transform:none;border:0}
.tpg .tpg-gr,.tpg-pill .tpg-gr{background:linear-gradient(100deg,#C4B5FD 0%,#F0ABFC 30%,#FDA4AF 55%,#F5D08A 80%,#C4B5FD 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:tpgFlow 9s linear infinite;padding-bottom:.1em;margin-bottom:-.1em}
@keyframes tpgFlow{to{background-position:-220% 0}}
.tpg .tpg-sub{margin:-14px 0 24px;max-width:520px;font:500 15px/1.5 Inter,-apple-system,sans-serif;color:#A1A1A6}
.tpg .tpg-rw{position:relative;z-index:2;display:flex;align-items:center;gap:18px;margin:0 14px 14px;padding:14px 14px 14px 18px;border-radius:999px;border:1px solid rgba(167,139,250,.3);text-align:left;
  background:linear-gradient(90deg,rgba(139,92,246,.2),rgba(99,102,241,.08) 60%,rgba(8,7,13,.5));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.tpg .tpg-rw p{flex:1;min-width:0;margin:0;font:600 17px/1.3 Inter,-apple-system,sans-serif;color:#F2F2F4;text-align:left}
.tpg .tpg-rw p small{display:block;margin-top:3px;color:#A1A1A6;font:500 13px/1.35 Inter,-apple-system,sans-serif}
.tpg .tpg-rg{position:relative;flex:none;width:52px;height:52px}
.tpg .tpg-rg svg{display:block;transform:rotate(-90deg)}
.tpg .tpg-rg i{position:absolute;inset:0;display:grid;place-items:center;font:700 14px/1 Inter,sans-serif;font-style:normal;color:#fff}
.tpg .tpg-go,.tpg-go.solo{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 22px;border:0;border-radius:999px;white-space:nowrap;cursor:pointer;color:#fff!important;font:700 14px/1 Inter,-apple-system,sans-serif;text-decoration:none!important;letter-spacing:0;text-transform:none;
  background:linear-gradient(135deg,#8B5CF6,#6366F1);box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 12px 34px rgba(139,92,246,.5),0 0 40px rgba(139,92,246,.35);transition:transform .15s ease,filter .15s ease}
.tpg .tpg-go:hover{filter:brightness(1.08);transform:translateY(-1px)}
.tpg .tpg-go:focus-visible{outline:2px solid #C4B5FD;outline-offset:3px}
/* no glass row: the button sits centered under the headline */
.tpg .tpg-tp > .tpg-go{margin:0 0 36px}
/* a quiet second way in, under the button */
.tpg .tpg-alt{position:relative;z-index:2;margin:-22px 0 22px;text-align:center}
.tpg .tpg-rw + .tpg-alt{margin:2px 0 16px}
.tpg .tpg-alt button,.tpg .tpg-alt a{appearance:none;border:0;background:none;padding:4px 6px;cursor:pointer;color:#C4B5FD;font:600 13px/1.3 Inter,-apple-system,sans-serif;text-decoration:none}
.tpg .tpg-alt button:hover,.tpg .tpg-alt a:hover{color:#E4DBFF}
.tpg.sm .tpg-alt{margin:-14px 0 16px}
/* the small / inline card */
.tpg.sm{margin:16px 0;border-radius:20px}
.tpg.sm .tpg-au .a{width:300px;height:220px;bottom:-130px}.tpg.sm .tpg-au .b{width:260px;height:200px;top:-120px}.tpg.sm .tpg-au .c{width:200px;height:160px;bottom:-120px}
.tpg.sm .tpg-tp{padding:26px 20px 0}
.tpg.sm .tpg-pk{font-size:10.5px;gap:7px}.tpg.sm .tpg-pk svg{width:12px;height:12px}
.tpg.sm .tpg-h{margin:12px 0 18px;font-size:clamp(22px,2.4vw,28px);line-height:1.15}
.tpg.sm .tpg-sub{margin:-8px 0 18px;font-size:14px}
.tpg.sm .tpg-rw{margin:0 10px 10px;padding:10px 10px 10px 16px;gap:14px}
.tpg.sm .tpg-rw p{font-size:15px}.tpg.sm .tpg-rw p small{font-size:12.5px}
.tpg.sm .tpg-go{height:40px;padding:0 18px;font-size:13.5px}
.tpg.sm .tpg-tp > .tpg-go{margin:0 0 24px}
/* the ghost of what's behind the gate (optional): faded rows above the headline */
.tpg .tpg-ghost{position:relative;z-index:1;margin:0 0 -8px;padding:18px 18px 0;filter:blur(6px);opacity:.35;pointer-events:none;user-select:none;-webkit-mask:linear-gradient(#000,transparent);mask:linear-gradient(#000,transparent);max-height:140px;overflow:hidden;text-align:left}
@media(max-width:720px){
  .tpg .tpg-tp{padding:34px 18px 0}
  .tpg .tpg-h{margin:14px 0 22px}
  .tpg .tpg-rw{flex-wrap:wrap;border-radius:24px;margin:0 10px 10px;padding:16px}
  .tpg .tpg-rw .tpg-go{margin-left:0;width:100%}
  .tpg.sm .tpg-tp{padding:24px 16px 0}
  .tpg.sm .tpg-rw{border-radius:18px;padding:14px}
}
@media(prefers-reduced-motion:reduce){.tpg .tpg-au b,.tpg .tpg-gr,.tpg-pill .tpg-gr{animation:none}}

/* THE PILL: a compact lock (locked rows, inline nudges). .float rides above the dock. */
.tpg-pill{display:inline-flex;align-items:center;gap:12px;max-width:100%;height:46px;padding:0 5px 0 18px;border-radius:999px;white-space:nowrap;box-sizing:border-box;cursor:pointer;color:#fff!important;font:600 14px/1 Inter,-apple-system,BlinkMacSystemFont,sans-serif;text-decoration:none!important;letter-spacing:0;text-transform:none;
  background:linear-gradient(100deg,#120d22 0%,#1d1438 45%,#2a1b52 100%);border:1px solid rgba(167,139,250,.38);box-shadow:0 0 0 1px rgba(167,139,250,.06) inset,0 14px 36px rgba(0,0,0,.4),0 0 34px rgba(139,92,246,.28);transition:filter .15s ease,transform .15s ease}
.tpg-pill:hover{filter:brightness(1.1)}
.tpg-pill > span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.tpg-pill > span svg{width:13px;height:13px;margin-right:7px;vertical-align:-1px}
.tpg-pill > b{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;color:#fff;font:700 13px/1 Inter,-apple-system,sans-serif;background:linear-gradient(135deg,#8B5CF6,#6366F1);box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 8px 22px rgba(139,92,246,.5)}
.tpg-pill.sm{height:36px;gap:10px;padding:0 4px 0 14px;font-size:13px}
.tpg-pill.sm > b{height:28px;padding:0 12px;font-size:12px}
.tpg-pill.float{position:fixed;left:50%;bottom:96px;z-index:9001;transform:translate(-50%,0);max-width:calc(100vw - 32px);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 0 0 1px rgba(167,139,250,.06) inset,0 14px 36px rgba(0,0,0,.55),0 0 34px rgba(139,92,246,.28)}
.tpg-pillrow{display:flex;justify-content:center;margin:18px 0}

/* THE BADGE: the tiny PRO tag on tabs, chips and rail items */
.tpg-badge{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 7px;margin-left:6px;border-radius:999px;vertical-align:middle;flex:none;white-space:nowrap;box-sizing:border-box;
  font:700 9.5px/1 Inter,-apple-system,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase;color:#fff!important;-webkit-text-fill-color:#fff;
  background:linear-gradient(100deg,#1d1438,#2a1b52);border:1px solid rgba(167,139,250,.45);box-shadow:0 0 12px rgba(139,92,246,.28)}
.tpg-badge svg{width:8px;height:8px;flex:none}

/* In the iOS app every purchase link is hidden (App Store 3.1.1). A gate CTA stays
   visible there: tmw-progate.js turns its tap into the Apple in-app purchase sheet. */
html.tmw-inapp:not(#_) a[data-progate-cta]{display:inline-flex!important}
