/* try-me-v1.css : "Try me" hint over the comment bar in the Try it phone.
   Palette: navy #2F4156, teal #567C8D, sky #C8D9E6, beige #F5EFEB. No purple, no pills, no emoji. */
.tm-hint{
  --tm-navy:#2F4156; --tm-teal:#567C8D; --tm-sky:#C8D9E6; --tm-beige:#F5EFEB; --tm-d:1;
  position:absolute; z-index:6; pointer-events:none; user-select:none; -webkit-user-select:none;
  box-sizing:border-box; display:flex; align-items:center; justify-content:flex-end; padding-inline-end:8px;
  opacity:0; visibility:hidden;
  transition:opacity .45s ease, visibility 0s linear .45s;
}
.tm-hint[data-dir="rtl"]{--tm-d:-1}
.tm-hint.is-on{opacity:1; visibility:visible; transition-delay:0s}
/* soft tap ring that breathes out from the bar */
.tm-hint .tm-ring{position:absolute; inset:0; border-radius:22px; border:2px solid var(--tm-sky); box-sizing:border-box; opacity:0;
  animation:tm-ring 2.2s ease-out infinite}
.tm-hint .tm-grp{position:relative; display:flex; align-items:center; gap:2px; animation:tm-nudge 1.6s ease-in-out infinite}
.tm-hint .tm-arrow{display:block; width:40px; height:28px; overflow:visible; flex:none;
  filter:drop-shadow(0 2px 4px rgba(20,32,48,.5))}
.tm-hint .tm-arrow path{fill:none; stroke:var(--tm-beige); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.tm-hint .tm-label{
  display:block; padding:6px 9px; border-radius:6px; background:var(--tm-beige); color:var(--tm-navy);
  border:1px solid var(--tm-sky); white-space:nowrap;
  font:700 .8125rem/1.1 "DM Sans",system-ui,sans-serif; letter-spacing:.01em;
  box-shadow:0 6px 14px -6px rgba(20,32,48,.7);
}
.tm-hint[data-lang="ar"] .tm-label{font-family:"Cairo","DM Sans",system-ui,sans-serif; letter-spacing:0; line-height:1.3}
@keyframes tm-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(calc(var(--tm-d) * -4px))}}
@keyframes tm-ring{0%,30%{transform:scale(1);opacity:0}45%{opacity:.9}100%{transform:scale(1.07,1.35);opacity:0}}
@media (prefers-reduced-motion:reduce){
  .tm-hint{transition:none}
  .tm-hint .tm-grp,.tm-hint .tm-ring{animation:none}
  .tm-hint .tm-ring{opacity:0}
}

/* curved arrow that points at the top comment icon (.pg-act-comment) */
.tm-cmt{position:absolute; z-index:6; pointer-events:none; width:48px; height:34px; opacity:0; visibility:hidden;
  transition:opacity .45s ease, visibility 0s linear .45s}
.tm-hint.is-on ~ .tm-cmt, .tm-cmt.is-on{opacity:1; visibility:visible; transition-delay:0s}
.tm-cmt svg{display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 2px 4px rgba(20,32,48,.5))}
.tm-cmt path{fill:none; stroke:var(--tm-beige,#F5EFEB); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.tm-cmt[data-dir="rtl"] svg{transform:scaleX(-1)}
@media (prefers-reduced-motion:reduce){ .tm-cmt{transition:none} }

/* Try me background: AI-generated snowboarding picture inside the reel only (v3) */
#try .pg-reel-bg{background-image:linear-gradient(rgba(47,65,86,.5),rgba(47,65,86,.5)),url(/landing-assets/try-me-bg-v3.webp)!important;background-size:cover!important;background-position:center!important}

/* Remove the Try me pill and arrow completely (v4) */
.tm-hint,.tm-cmt{display:none!important}
/* Remove the leftover Try me pill parts inside the reel (v5) */
#try .pg-reel [class*="tm-"]{display:none!important}
/* Remove the white tap hint pill with its arrow (v6) */
#try .pg-hint-tap{display:none!important}
/* Remove the white circle in the middle of the reel (v7) */
#try .pg-reel-subject{display:none!important}
/* Test-it message over the reel picture (v8) */
#try .pg-reel-bg::after{content:"TEST IT LIVE\A Comment LINK below to try it";white-space:pre-line;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;color:#fff;font-weight:800;font-size:clamp(18px,5.4vw,26px);line-height:1.25;letter-spacing:.02em;text-shadow:0 2px 14px rgba(20,32,48,.55);padding:0 16px;pointer-events:none}

/* Arrow is drawn on from tail to head when the reel shows (v10) */
@keyframes try-arrow-draw{0%{clip-path:inset(0 100% 0 0)}100%{clip-path:inset(0 0 0 0)}}
/* runs only once the comment icon scrolls into view (try-arrow-v1.js) */
.try-arrow-on #try .pg-act-comment::before{clip-path:inset(0 0 0 0);animation:try-arrow-draw 1.3s ease-out 0.2s both,try-arrow-nudge 1.6s ease-in-out 1.5s infinite}
@keyframes try-arrow-nudge{0%,100%{transform:rotate(40deg) translate(0,0)}50%{transform:rotate(40deg) translate(4px,4px)}}
@media (prefers-reduced-motion:reduce){#try .pg-act-comment::before{animation:none}}

/* White curly arrow pointing at the comment icon above the likes (v9) */
#try .pg-act-comment{position:relative}
#try .pg-act-comment::before{content:"";position:absolute;left:-36px;top:-50px;width:50px;height:50px;transform:rotate(40deg);transform-origin:50% 50%;clip-path:inset(0 100% 0 0);width:60px;height:40px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'><path d='M6 52 C 22 14, 58 2, 66 22 C 72 38, 46 44, 44 30 C 42 16, 80 14, 90 34' fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round'/><path d='M90 34 L 74 30 M 90 34 L 84 18' fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round'/></svg>") no-repeat center/contain;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(20,32,48,.5))}

/* 2026-11-22: the Try it grid had one column (phone) and an empty second column, so the phone sat left. Centre it. */
#try .pg-grid{grid-template-columns:minmax(0,1fr);justify-items:center}
#try .pg-stage{margin-inline:auto}
