/**
 * Heavy One for guests: the counter, the sign-up card, the blurred cards
 * and the sign-up and sign-in window.
 *
 * Guest limits build, 5 Oct 2026 (design/handoff-guest-limits, section 4,
 * "Builders guest.html" and "Guest limits and cookies.html"). Loaded only
 * with guest.js, so a signed-in reader never gets a rule of it. Nothing
 * here restyles the Heavy One page itself; every selector is this
 * file's own or narrows to the gated state.
 *
 * @package PlanHeavyTheme
 */

/* ── the counter, above the message box ─────────────────────────────── */
.ph-gmeter { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: var(--w-bold, 700); color: var(--ink-2, #5b6070); margin: 0 0 8px; }
.ph-gmeter[hidden] { display: none; }
.ph-gmeter__dots { display: inline-flex; gap: 4px; flex-shrink: 0; }
.ph-gmeter__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--open, #1f7a4d); transition: background .3s; }
.ph-gmeter__dots i.is-used { background: var(--line-2, #d3d7e0); }

/* ── locked ─────────────────────────────────────────────────────────── */
.is-ph-gated .ho-input:disabled { background: var(--surface, #f6f7f9); color: var(--ink-3, #8f95a6); cursor: not-allowed; }
.is-ph-gated .ho-send:disabled { background: var(--line-2, #d3d7e0); cursor: not-allowed; }
.is-ph-gated .ho-chips,
.is-ph-gated .ho-recover,
.is-ph-gated .ho-samples { opacity: .55; pointer-events: none; }

/* ── the sign-up card, in the conversation ──────────────────────────── */
.ph-ggate { border: 1.5px solid var(--pink, #e8568a); background: linear-gradient(180deg, var(--pink-soft, #fdeef4), #fff 75%); border-radius: 18px; padding: 18px; margin: 6px 0 14px 36px; animation: ph-gin .45s cubic-bezier(.2,.8,.2,1) both; text-align: left; }
.ph-ggate.is-warn { border-color: var(--warn, #a56a12); background: linear-gradient(180deg, var(--warn-soft, #fbf2e2), #fff 70%); }
@keyframes ph-gin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ph-ggate__h { font-size: 17px; font-weight: var(--w-heavy, 800); letter-spacing: -.3px; line-height: 1.3; color: var(--ink, #16181f); margin: 0; }
.ph-ggate__p { font-size: 13.5px; color: var(--ink-2, #5b6070); margin: 4px 0 0; line-height: 1.5; }
.ph-ggate__ticks { list-style: none; display: grid; gap: 6px; margin: 12px 0 0; padding: 0; }
.ph-ggate__ticks li { display: flex; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink, #16181f); margin: 0; }
.ph-ggate__ticks li i { font-style: normal; color: var(--open, #1f7a4d); font-weight: var(--w-heavy, 800); }
.ph-ggate__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ph-ggate__kept { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-3, #8f95a6); }
.ph-ggate__kept.is-warn { color: var(--warn, #a56a12); font-weight: var(--w-bold, 700); }
.ph-ggate__change { border: none; background: none; padding: 0 4px; min-height: 44px; font: inherit; font-weight: var(--w-heavy, 800); color: var(--pink-press, #c9376e); text-decoration: underline; cursor: pointer; }

.ph-gb { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: var(--w-heavy, 800); font-size: 14px; cursor: pointer; border: 0; text-align: center; }
.ph-gb.is-p { background: var(--pink, #e8568a); color: #fff; }
.ph-gb.is-p:hover { background: var(--pink-press, #c9376e); }
.ph-gb.is-o { background: #fff; border: 1.5px solid var(--line-2, #d3d7e0); color: var(--ink, #16181f); }
.ph-gb.is-o:hover { border-color: var(--ink-3, #8f95a6); }
.ph-gb:disabled { opacity: .6; cursor: wait; }

/* ── the line after signing in ──────────────────────────────────────── */
.ph-gcarried { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12px; font-weight: var(--w-heavy, 800); color: var(--open, #1f7a4d); background: var(--open-soft, #e8f4ed); border-radius: 999px; padding: 7px 14px; margin: 6px auto 14px; width: max-content; max-width: 100%; animation: ph-gin .4s both; }

/* ── the cards past the first, in the last free reply ───────────────── */
.ho-group__cell.is-ph-locked { position: relative; }
.ho-group__cell.is-ph-locked > .ho-card { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.ph-glock { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.ph-glock span { display: inline-flex; align-items: center; min-height: 44px; background: #fff; border-radius: 999px; padding: 0 16px; box-shadow: var(--e2, 0 4px 16px rgba(22,24,31,.10)); font-size: 12.5px; font-weight: var(--w-heavy, 800); color: var(--ink, #16181f); }

/* ── the window ─────────────────────────────────────────────────────── */
.ph-gov-open { overflow: hidden; }
.ph-gov { position: fixed; inset: 0; z-index: 100000; background: rgba(22,24,31,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.ph-gov[hidden] { display: none; }
.ph-gov.is-on { opacity: 1; }
.ph-gmd { position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 22px; transform: scale(.97); transition: transform .3s cubic-bezier(.2,.8,.2,1); text-align: left; color: var(--ink, #16181f); font-family: var(--font, 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif); }
.ph-gov.is-on .ph-gmd { transform: none; }
.ph-gmd__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; font-size: 24px; line-height: 1; color: var(--ink-2, #5b6070); cursor: pointer; }
.ph-gmd__x:hover { background: var(--surface, #f6f7f9); }
.ph-gmd__h { font-size: 20px; font-weight: var(--w-heavy, 800); letter-spacing: -.4px; line-height: 1.25; margin: 0; padding-right: 44px; }
.ph-gmd__sub { font-size: 13px; color: var(--ink-2, #5b6070); margin: 4px 0 0; }
.ph-gtabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface, #f6f7f9); border-radius: 999px; padding: 3px; margin-top: 14px; }
.ph-gtabs button { min-height: 44px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: var(--w-bold, 700); color: var(--ink-2, #5b6070); border: 0; background: none; cursor: pointer; }
.ph-gtabs button.is-on { background: #fff; color: var(--ink, #16181f); box-shadow: var(--e1, 0 1px 2px rgba(22,24,31,.06)); }
.ph-gmd__google { display: flex; justify-content: center; min-height: 44px; margin-top: 14px; }
.ph-gmd__or { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3, #8f95a6); margin: 12px 0 0; }
.ph-gmd__or::before, .ph-gmd__or::after { content: ''; flex: 1; height: 1px; background: var(--line, #e4e6ec); }
.ph-gmd__f[hidden] { display: none; }
.ph-gmd__l { display: block; font-size: 12.5px; font-weight: var(--w-heavy, 800); margin-top: 12px; }
.ph-gmd__in { display: block; width: 100%; margin-top: 6px; min-height: 48px; border: 1.5px solid var(--line-2, #d3d7e0); border-radius: 14px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; box-sizing: border-box; background: #fff; color: var(--ink, #16181f); }
.ph-gmd__in:focus { outline: none; border-color: var(--pink, #e8568a); }
.ph-gmd__go { width: 100%; margin-top: 14px; min-height: 50px; }
.ph-gmd__note { font-size: 12px; color: var(--ink-3, #8f95a6); margin: 8px 0 0; text-align: center; }
.ph-gmd__lost { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 12.5px; font-weight: var(--w-bold, 700); color: var(--pink-press, #c9376e); }
.ph-gmd__keep { text-align: center; font-size: 12.5px; color: var(--open, #1f7a4d); font-weight: var(--w-bold, 700); margin: 12px 0 0; }
.ph-gmd__keep.is-warn { color: var(--warn, #a56a12); }

/* ── phones: the card fills the column, the window is a bottom sheet ── */
@media (max-width: 700px) {
	.ph-ggate { margin-left: 0; }
}
@media (max-width: 600px) {
	.ph-gov { align-items: flex-end; padding: 0; }
	.ph-gmd { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(24px); }
}

@media (prefers-reduced-motion: reduce) {
	.ph-ggate, .ph-gcarried { animation: none; }
	.ph-gov, .ph-gmd { transition: none; }
}

/* The guest counter replaces the older quota line and note (theme 1.244.1). */
.is-ph-guest [data-ho-quota],
.is-ph-guest [data-ho-note] { display: none; }
