/* VESTA v3 guest side: corner pill + user menu, birthday pop-up, /readers, /discover, /account, paywall order,
   comments. Same tokens as app.css; quiet type, hairlines, no decoration. */

/* B2: "For readers" pill / user menu, fixed top right on every guest page. */
.corner { position: fixed; top: 14px; right: 16px; z-index: 50; display: flex; align-items: center; gap: 14px; }
.corner-link { font-size: 13px; font-weight: 500; color: var(--text-main); }
.corner-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.12); box-shadow: var(--shadow-float); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--text-main); }
a.corner-pill#for-readers { background: var(--accent-color); color: white; border-color: var(--accent-color); }
button.corner-pill { padding-left: 4px; }
.corner-face { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--pill-bg); display: inline-grid; place-items: center; font-size: 12px; }
.corner-menu { position: absolute; top: 44px; right: 0; min-width: 180px; background: white; border-radius: 18px; box-shadow: var(--shadow-float);
  border: 1px solid rgba(0,0,0,0.06); padding: 6px; display: flex; flex-direction: column; }
.corner-menu[hidden] { display: none; }
.corner-menu a { padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.corner-menu a:hover { background: var(--panel-bg); }
.feed-item .corner-link, .feed .corner-link { color: white; }
.has-corner .with-rail > .wide:first-child, .has-corner .with-rail > .player-copy:first-child { padding-top: 58px; }
.has-corner .with-rail > .auth { padding-top: 40px; }
.has-corner .land-bar { padding-right: 200px; min-height: 64px; }
.has-corner .feed-top { padding-right: 140px; }
@media (min-width: 860px) {
  .has-corner .with-rail > .pills { margin-top: 16px; }
  .has-corner .with-rail > .wide:first-child { padding-top: 64px; }
}

/* B4: birthday pop-up, light and short. */
.bday-pop .panel { padding: 26px 24px 26px; }
.pop-title { font-family: var(--font-serif); font-weight: 400; font-size: 30px; letter-spacing: -0.02em; margin: 0 0 4px; }
.pop-sub { margin: 0 0 18px; font-size: 14px; }
.pop-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .pop-fields { grid-template-columns: 1fr; } }

/* B3: /readers mirrors the landing page. */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.offers { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(0,0,0,0.08); }
.offer { padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.offer h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; }
.offer p { margin: 0; line-height: 1.5; }
.offer p.small { margin-top: 6px; }
@media (min-width: 860px) { .offers { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.readers-foot { margin-top: 28px; }

/* B12: /discover */
.intent-chips { margin: 0 0 14px; }
.intent-chips .chip { padding: 9px 14px; font-size: 13px; }
.intent-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.intent-tile { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; background: var(--panel-bg); border-radius: 22px; }
.intent-tile strong { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.intent-count { margin: 0 0 12px; }
.intent-reader { margin-bottom: 14px; }
.intent-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.intent-head .avatar { width: 64px; height: 64px; border-radius: 50%; }
.intent-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; margin: 0 0 4px; letter-spacing: -0.01em; }
.intent-reader .why { margin: 0; line-height: 1.45; }
.intent-videos { display: flex; gap: 10px; margin: 14px 0; }
.intent-video { display: flex; flex-direction: column; gap: 4px; width: 112px; }
.intent-video img { width: 112px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #111; }

/* B11: /account */
.acct-sec { margin: 8px 0 30px; }
.acct-sec > h2 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; margin: 0 0 10px; }
.account .list-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; align-items: center; }
.account .list-line > span:last-child { display: inline-flex; gap: 10px; align-items: center; text-align: right; }
.acct-mem, .acct-offer { margin-bottom: 12px; }
.acct-mem-head { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.acct-mem-head .avatar { width: 56px; height: 56px; border-radius: 50%; }
.acct-mem-head h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; margin: 0; }
.acct-mem-head p { margin: 2px 0; }
.acct-plan { font-size: 14px; }
.acct-upgrades { display: flex; flex-direction: column; border-top: 1px solid rgba(0,0,0,0.06); margin-top: 10px; }
.acct-upgrade { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.acct-upgrade p { margin: 2px 0 0; }
.acct-upgrade .btn { white-space: nowrap; }
.acct-foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); }
.acct-foot a { color: var(--text-muted); }
.acct-foot a:hover { color: var(--text-main); }

/* B5: paywall as one ordered list. */
.pay-options { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.pay-option { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 0; }
.pay-option .tier-head { justify-content: flex-start; gap: 10px; }
.pay-option .tier-head strong { flex: 1; }
.pay-option .btn { align-self: flex-start; }
.pay-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.18); font-size: 11px; font-weight: 500; color: var(--text-muted); flex: none; }
.paywall-single.pay-option { display: flex; flex-direction: column; align-items: stretch; border-bottom: 0; }
.paywall-single.pay-option > .tier-head { flex-direction: row; align-items: baseline; gap: 10px; }
.paywall-single.pay-option > span { padding-left: 32px; }
.pay-option .tier-benefits, .pay-option > p, .pay-option > .btn { margin-left: 32px; }
.paywall-or-row { padding: 18px 0 4px; border-top: 1px solid rgba(0,0,0,0.06); }
.paywall-or-row .paywall-or { margin: 0 0 2px; }
.paywall-or-row p { margin: 0; }

/* B13: comments */
.comments { margin: 28px 0 8px; }
.comments > h2 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; margin: 0 0 12px; }
.c-prompt { display: grid; grid-template-columns: 36px 1fr; gap: 12px; background: var(--panel-bg); border-radius: 20px; padding: 14px; margin-bottom: 14px; }
.c-prompt .c-body { font-family: var(--font-serif); font-size: 19px; letter-spacing: -0.01em; line-height: 1.35; }
.comment { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.comment.reply { border-top: 0; padding: 10px 0 0; grid-template-columns: 28px 1fr; }
.comment.pinned { background: linear-gradient(90deg, rgba(0,0,0,0.025), transparent); }
.c-face { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--pill-bg); display: grid; place-items: center; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.reply .c-face { width: 28px; height: 28px; font-size: 11px; }
.c-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.c-name { font-size: 13px; font-weight: 600; }
.c-badge { font-size: 11px; font-weight: 500; background: var(--accent-color); color: white; border-radius: var(--radius-pill); padding: 2px 8px; }
.c-body { margin: 4px 0 6px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.c-acts { display: flex; gap: 14px; }
.c-act { border: 0; background: transparent; padding: 0; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.c-act:hover { color: var(--text-main); }
.c-form { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.c-form textarea { width: 100%; border: 1px solid rgba(0,0,0,0.1); border-radius: 16px; padding: 10px 12px; font-size: 14px; resize: vertical; background: white; }
.c-form-row { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.c-form-row > span { flex: 1; }
.c-count { margin: 4px 0 0; }
.c-signin { margin: 0 0 10px; }
.c-signin a { text-decoration: underline; text-underline-offset: 3px; }
