/* Dedicated V4 layouts; shared templates still supply the fields and payment data. */
body.site-v4 select { appearance: auto; }
body.site-v4 .v4-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 18px; border: 1px solid var(--v4-line); border-radius: 5px; background: #fff; color: #292e2b; text-align: left; }
body.site-v4 .v4-action i { --ggs: .8; flex-shrink: 0; }

/* Search is a destination with persistent filters and an independent results area. */
body.site-v4 .v4-search-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 36px; align-items: start; }
body.site-v4 .v4-search-layout .searchBlock { display: block; margin: 0; padding: 22px 20px; border: 0; background: #eef2eb; min-width: 0; }
body.site-v4 .v4-search-layout h2 { font: 500 17px/1.4 var(--v4-font); margin: 0 0 20px; text-transform: capitalize; }
body.site-v4 .v4-search-layout .searchingFormElement { display: flex; gap: 14px; }
body.site-v4 .v4-search-layout .searchBlock .searchItem { flex: 0 0 100%; width: 100%; font-size: 13px; position: relative; background: transparent; color: #53614e; border-radius: 0; text-align: left; }
body.site-v4 .v4-search-layout .searchBlock .searcher { color: #53614e; font-size: 12px; font-weight: 500; width: 100%; }
body.site-v4 .v4-search-layout .searchBlock .searchItem .abs { top: auto; bottom: 14px; }
body.site-v4 .v4-search-layout .searchBlock .searchItem input, body.site-v4 .v4-search-layout .searchBlock .searchItem select { border-color: #d3dbcf; }
body.site-v4 .v4-search-layout .searchItem:has(.switch) { display: flex; align-items: center; gap: 12px; }
body.site-v4 .v4-search-layout .switch { width: 38px; height: 22px; flex: 0 0 38px; margin: 0; }
body.site-v4 .v4-search-layout .switch .slider::before { width: 16px; height: 16px; left: 3px; bottom: 3px; }
body.site-v4 .v4-search-layout .switch input:checked + .slider::before { transform: translateX(16px); }
body.site-v4 .v4-search-actions { display: flex; gap: 8px; width: 100%; border-top: 1px solid #d3dbcf; padding-top: 18px; }
body.site-v4 .v4-search-actions .searchButton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1; width: auto; margin: 0; padding: 10px 8px; }
body.site-v4 .v4-search-actions i { --ggs: .7; }
body.site-v4 .v4-search-actions button[disabled] { opacity: .55; cursor: wait; }
body.site-v4 .v4-search-results { min-width: 0; }
body.site-v4 .v4-results-heading { min-height: 50px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--v4-line); margin-bottom: 22px; }
body.site-v4 .v4-results-heading h2 { font-size: 14px; margin: 0; }
body.site-v4 .v4-results-count { font-variant-numeric: tabular-nums; color: var(--v4-green); font-size: 14px; }
body.site-v4 .v4-search-content[aria-busy=true] { opacity: .45; min-height: 200px; }
body.site-v4 .v4-search-content.v4-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.site-v4 .v4-search-content .homePro .inner img { aspect-ratio: 3 / 4; }

/* Credits: comparison rows and a compact checkout, not a row of payment cards. */
body.site-v4 .v4-wallet { max-width: 1160px; }
body.site-v4 .v4-wallet-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 56px; align-items: start; }
body.site-v4 .v4-wallet-packages { min-width: 0; }
body.site-v4 .v4-wallet-balance { display: flex; align-items: center; gap: 20px; padding: 24px 0 32px; border-block: 1px solid var(--v4-line); color: var(--v4-green); }
body.site-v4 .v4-wallet-balance > i { margin: 0 12px; --ggs: 1.4; }
body.site-v4 .v4-wallet-balance > div { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 20px; }
body.site-v4 .v4-wallet-balance span { font-weight: 500; }
body.site-v4 .v4-wallet-count { font: 400 42px/1.2 'V4 Serif', Georgia, serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.site-v4 .v4-package-options { padding: 0; margin: 30px 0 0; border: 0; min-width: 0; }
body.site-v4 .v4-package-options legend { padding: 0 0 16px; margin: 0; font-size: 13px; font-weight: 600; text-transform: capitalize; }
body.site-v4 .v4-package-option { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 16px; margin: 0; border-bottom: 1px solid var(--v4-line); border-left: 3px solid transparent; min-height: 94px; cursor: pointer; }
body.site-v4 .v4-package-option:first-of-type { border-top: 1px solid var(--v4-line); }
body.site-v4 .v4-package-option:hover { background: #f0f3ed; }
body.site-v4 .v4-package-option.selected { background: #f2e7eb; border-left-color: var(--v4-accent); }
body.site-v4 .v4-package-option input { margin: 0; width: 17px; height: 17px; }
body.site-v4 .v4-package-amount { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-width: 0; }
body.site-v4 .v4-package-amount strong { font-size: 17px; font-weight: 600; width: 100%; }
body.site-v4 .v4-package-amount small { font-size: 12px; color: #737a74; }
body.site-v4 .v4-package-amount em { font-size: 10px; color: var(--v4-accent); font-style: normal; font-weight: 600; border-left: 1px solid #cfa8b4; padding-left: 10px; }
body.site-v4 .v4-package-price { font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
body.site-v4 .v4-checkout { position: sticky; top: 24px; min-width: 0; background: #fff; border: 1px solid #d8ded6; border-radius: 8px; overflow: hidden; }
body.site-v4 .v4-checkout-selection { padding: 0; min-height: 280px; }
body.site-v4 .v4-checkout .creditPackage, body.site-v4 .v4-checkout .creditPackage-ios { width: 100%; display: block; }
body.site-v4 .v4-checkout .creditPackage .inner, body.site-v4 .v4-checkout .creditPackage-ios .innerGlass { padding: 36px 28px 26px; background: transparent; border: 0; border-radius: 0; min-height: 0; color: #292e2b; text-align: left; }
body.site-v4 .v4-checkout .pkg-price, body.site-v4 .v4-checkout .inner h2 { font: 400 44px/1.2 'V4 Serif', Georgia, serif; color: var(--v4-accent); margin: 18px 0 14px; }
body.site-v4 .v4-checkout .pkg-credits { font-size: 18px; opacity: 1; }
body.site-v4 .v4-checkout .pkg-msg { font-size: 13px; color: #6e776c; opacity: 1; margin-top: 4px; }
body.site-v4 .v4-checkout .pkg-price + .pkg-credits { border-top: 1px solid var(--v4-line); padding-top: 16px; }
body.site-v4 .v4-checkout .discount-badge { margin: 0; font-size: 12px; padding: 4px 8px; border-radius: 3px; }
body.site-v4 .v4-checkout .ribbonNew, body.site-v4 .v4-checkout .ribbon { position: static; float: right; background: none; padding: 0; }
body.site-v4 .v4-checkout .ribbon span { background: none; color: var(--v4-green); }
body.site-v4 .v4-checkout .ribbonNew { color: var(--v4-accent); }
body.site-v4 .v4-checkout .innerGlass > [class^=space-] { display: none; }
body.site-v4 .v4-checkout .buy { min-height: 46px; text-align: center; margin: 24px 0 14px; cursor: pointer; }
body.site-v4 .v4-checkout .howToPay { border-top: 1px solid var(--v4-line); padding: 20px; background: #f4f6f1; }
body.site-v4 .v4-checkout .howToPay .innerPay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.site-v4 .v4-checkout .howToPay .innerPay .selector { width: auto !important; min-width: 0; min-height: 86px; height: auto; padding: 12px 8px !important; margin: 0; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
body.site-v4 .v4-checkout .howToPay .selector img { width: auto; height: 26px; margin: 0; max-width: 65px; border-radius: 0; }
body.site-v4 .v4-checkout .howToPay .selector i { --ggs: .85; color: #677460; }
body.site-v4 .v4-checkout .howToPay .selector:has(img:not([style*="display: none"])) i { display: none; }
body.site-v4 .v4-checkout .selector br, body.site-v4 .v4-checkout .innerPay > .clear { display: none; }
body.site-v4 .v4-checkout .howToPay .innerPay .backToCredits { grid-column: 1 / -1; background: transparent; margin: 10px 0 0; padding: 10px 0; text-align: center; text-decoration: underline; font-size: 12px; }
body.site-v4 .v4-wallet-assurances { margin-top: 40px; padding: 24px 0; border-block: 1px solid var(--v4-line); }
body.site-v4 .v4-wallet-assurances .creditPage { justify-content: space-between; gap: 16px; }
body.site-v4 .v4-wallet-assurances .glassBadge { background: transparent; padding: 0; }
body.site-v4 .v4-wallet-help { font-size: 12px; padding: 16px 0; color: #657060; text-align: center; }

/* Settings: one task per pane, all original form controls retained in the DOM. */
body.site-v4 .v4-settings { display: grid; grid-template-columns: 234px minmax(0, 1fr); align-items: start; gap: 48px; max-width: 1180px; }
body.site-v4 .v4-settings-rail { min-width: 0; position: sticky; top: 24px; }
body.site-v4 .v4-settings-identity { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--v4-line); padding: 0 0 25px; margin-bottom: 18px; }
body.site-v4 .v4-settings-identity > img { width: 56px; height: 64px; object-fit: cover; border-radius: 5px; }
body.site-v4 .v4-settings-identity > i { margin: 16px; color: var(--v4-green); --ggs: 1.4; }
body.site-v4 .v4-settings-identity div { display: grid; min-width: 0; gap: 4px; }
body.site-v4 .v4-settings-identity small { font-size: 11px; color: #71816a; }
body.site-v4 .v4-settings-identity strong { font: 400 23px/1.2 'V4 Serif', Georgia, serif; overflow-wrap: anywhere; }
body.site-v4 .v4-settings-nav { display: flex; flex-direction: column; gap: 4px; }
body.site-v4 .v4-settings-nav .v4-action { justify-content: flex-start; padding: 13px 10px; gap: 14px; background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 0; color: #63715d; font-size: 13px; min-height: 48px; }
body.site-v4 .v4-settings-nav .v4-action span { min-width: 0; overflow-wrap: anywhere; }
body.site-v4 .v4-settings-nav [aria-selected=true] { border-left-color: var(--v4-accent); color: var(--v4-accent); background: #f2e7eb; font-weight: 600; }
body.site-v4 .v4-settings-select { display: none; }
body.site-v4 .v4-settings-content { min-width: 0; border-left: 1px solid var(--v4-line); padding-left: 42px; min-height: 580px; }
body.site-v4 .v4-settings .profileDiv { max-width: none; }
body.site-v4 .v4-settings .myProfile { display: block; width: 100%; margin: 0; padding: 0 0 32px; float: none; border-bottom: 0; }
body.site-v4 .v4-settings .myProfile h4 { font: 400 28px/1.3 'V4 Serif', Georgia, serif; margin: 0 0 28px; padding: 0 0 20px; border-bottom: 1px solid var(--v4-line); }
body.site-v4 .v4-settings .myProfile > [class^=space-] { display: none; }
body.site-v4 .v4-settings .myProfile > label:not(.switch):not(.myMatchLabels) { display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr); width: 100%; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid #e9ece6; }
body.site-v4 .v4-settings .myProfile .leftLabel { width: auto; font-size: 13px; }
body.site-v4 .v4-settings .myProfile .rightLabel { width: 100%; }
body.site-v4 .v4-settings .SaveProTextPicButton { display: inline-flex; justify-content: center; align-items: center; gap: 12px; margin: 24px 0 0; min-width: 134px; }
body.site-v4 .v4-settings .SaveProTextPicButton i { --ggs: .75; }
body.site-v4 .v4-settings .myProfile .v4-settings-action { display: inline-flex; position: static; float: none; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; height: auto; min-height: 44px; padding: 11px 16px; margin: 18px 0 !important; border: 1px solid transparent; border-radius: 5px; background: var(--v4-accent); color: #fff; font: 500 14px/1.5 var(--v4-font); text-transform: none; text-align: left; box-shadow: none; cursor: pointer; }
body.site-v4 .v4-settings .v4-settings-action > span { min-width: 0; overflow-wrap: anywhere; }
body.site-v4 .v4-settings .v4-settings-action > i { --ggs: .8; flex-shrink: 0; margin: 0 2px; }
body.site-v4 .v4-settings .myProfile .v4-settings-action:hover { background: #662238; }
body.site-v4 .v4-settings .myProfile .deactivateButton { background: #f7edef; border-color: #d4aeb9; color: var(--v4-accent); }
body.site-v4 .v4-settings .myProfile .deactivateButton:hover { background: #efdde3; }
body.site-v4 .v4-settings .innerPictures { height: auto; min-height: 160px; display: flex; flex-wrap: wrap; gap: 12px; padding: 22px 0; overflow: visible; }
body.site-v4 .v4-settings .innerPictures img { width: 120px; height: 150px; margin: 0; object-fit: cover; border-radius: 6px; }
body.site-v4 .v4-settings .myProfile textarea { min-height: 290px; padding: 18px; line-height: 1.8; }
body.site-v4 .v4-settings .myProfile .myMatchLabels { width: auto; min-height: 40px; padding: 8px 12px; margin: 4px 6px 4px 0; border: 1px solid var(--v4-line); background: transparent; }
body.site-v4 .v4-settings .myProfile .myMatchLabels:has(input:checked) { border-color: #a0b19a; background: #eaf0e6; color: #405a38; }
body.site-v4 .v4-match-settings > strong { display: block; margin: 20px 0 8px; font-weight: 500; }
body.site-v4 .v4-notification-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--v4-line); min-height: 60px; padding: 14px 0; }
body.site-v4 .v4-settings .v4-notification-row > label:not(.switch) { width: auto; display: block; font-size: 14px; cursor: pointer; }
body.site-v4 .v4-settings .v4-notification-row > label.switch { margin: 0; flex: 0 0 40px; }
body.site-v4 .v4-settings .profileB > .myProfile.right { padding-top: 26px; }
body.site-v4 .v4-settings .myProfile .newEmail { max-width: 460px; display: block; min-height: 44px; text-align: left; }
body.site-v4 .v4-settings .v4-danger-zone { border-top: 1px solid #d6b8c2; padding-top: 28px; margin-top: 20px; }
body.site-v4 .v4-settings .v4-danger-zone h4 { color: var(--v4-accent); border-bottom: 0; margin-bottom: 14px; padding-bottom: 0; font-size: 24px; }

/* Support keeps the existing answers and ticket form available together. */
body.site-v4 .v4-support { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
body.site-v4 .v4-support .contactPreForm { display: block !important; margin: 0; padding: 0; width: 100%; }
body.site-v4 .v4-support .contactPreForm h2 { margin: 0 0 20px; font-size: 26px; }
body.site-v4 .v4-support .faqTitle { display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 14px; }
body.site-v4 .v4-support .faqTitle > i { --ggs: .7; flex-shrink: 0; color: #71816a; }
body.site-v4 .v4-support .faqContent { background: #edf2e9; line-height: 1.8; }
body.site-v4 .v4-support-contact { border-left: 1px solid var(--v4-line); padding-left: 32px; min-width: 0; }
body.site-v4 .v4-support .centerPage { display: block !important; text-align: left; }
body.site-v4 .v4-support .centerPage > br { display: none; }
body.site-v4 .v4-support .centerPage > img { display: block; margin-top: 12px; }
body.site-v4 .v4-support .contactForm h2 { margin: 0 0 24px; font-size: 26px; }
body.site-v4 .v4-support .contactForm input[type=text], body.site-v4 .v4-support .contactForm textarea, body.site-v4 .v4-support .contactForm select { margin: 0 0 14px; min-height: 44px; }
body.site-v4 .v4-support .contactForm textarea { min-height: 220px; }
body.site-v4 .v4-support .contactForm input[type=button] { width: 100%; max-width: 100%; margin: 0; }

/* Profile: an unframed story with a separate conversation dialog. */
body.site-v4[data-v4-page=profile] .v4-page-header { display: none; }
body.site-v4 .v4-profile-story.v4-profile-layout { padding-top: 24px; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: 28px 44px; }
body.site-v4 .v4-profile-story .profileBlock { display: contents; }
body.site-v4 .v4-profile-story .v4-profile-path { display: flex; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 1; gap: 8px 20px; border-bottom: 1px solid var(--v4-line); padding-bottom: 16px; }
body.site-v4 .v4-profile-path > div { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 0; background: none; color: #67765f; min-height: 32px; cursor: pointer; }
body.site-v4 .v4-profile-path i { --ggs: .75; }
body.site-v4 .v4-profile-story .profileBlock .profilePic { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; padding: 4px 0 28px; border-bottom: 1px solid var(--v4-line); }
body.site-v4 .v4-profile-story .profileBlock .profilePic .v4-profile-portrait > img { display: block; width: 230px; height: 265px; object-fit: cover; border-radius: 6px; cursor: zoom-in; margin: 0; float: none; box-shadow: none; }
body.site-v4 .v4-profile-thumbnails { display: flex; gap: 8px; margin-top: 10px; }
body.site-v4 .v4-profile-story .profileBlock .profilePic .v4-profile-thumbnails img { width: 52px; height: 58px; object-fit: cover; border-radius: 3px; cursor: zoom-in; margin: 0; float: none; box-shadow: none; }
body.site-v4 .v4-profile-story .profileBlock .profilePic .right { padding: 12px 0 0; margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
body.site-v4 .v4-profile-story .profileBlock .profilePic h3 { font-size: 38px; margin-bottom: 20px; }
body.site-v4 .v4-profile-story .profileBlock .profilePic .info { font-size: 14px; line-height: 1.8; color: #69795f; }
body.site-v4 .v4-profile-story .profilePic .right > .space-20 { display: none; }
body.site-v4 .v4-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
body.site-v4 .v4-profile-story .profileBlock .v4-profile-actions > div { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; width: auto !important; min-height: 42px; }
body.site-v4 .v4-profile-story .profileBlock .profilePic .right .v4-profile-actions > div > img { display: none; }
body.site-v4 .v4-profile-actions i { --ggs: .7; flex-shrink: 0; }
body.site-v4 .v4-profile-story .profileBlock .v4-profile-actions .blockUser { background: transparent; color: #767d74; }
body.site-v4 .v4-profile-story .profileBlock .v4-profile-actions .openMobileChatbox { display: inline-flex !important; background: var(--v4-accent) !important; color: #fff; }
body.site-v4 .v4-profile-story .v4-profile-details { grid-column: 1 / -1; grid-row: 3; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); column-gap: 48px; align-items: start; }
body.site-v4 .v4-profile-details h2 { grid-column: 1 / -1; font-size: 27px; margin: 0 0 18px; }
body.site-v4 .v4-profile-story .profileBlock .profileText { padding: 0; font-size: 15px; line-height: 1.9; }
body.site-v4 .v4-profile-story .profileBlock .aboutMe { grid-template-columns: 1fr; margin-top: 0; padding-left: 28px; border-left: 1px solid var(--v4-line); }
body.site-v4 .v4-profile-story .profileBlock .aboutMe .detail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 12px 0; font-size: 13px; }
body.site-v4 .v4-profile-story .profileBlock .aboutMe .detail span { font-size: 12px; }
body.site-v4 .v4-profile-chat-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; background: #1f252873; overscroll-behavior: contain; }
body.site-v4 .v4-profile-chat-overlay[hidden] { display: none; }
body.site-v4 .v4-profile-chat-overlay > .chatBox { position: relative; inset: auto; width: min(660px, 100%); height: min(760px, calc(var(--v4-viewport-height, 100dvh) - 48px)) !important; min-height: 0; border: 0; box-shadow: 0 24px 80px #18211f40; }
body.site-v4 .v4-profile-chat-overlay .v4-chat-heading > .v4-chat-close { display: inline-flex; order: 2; flex-shrink: 0; }
body.site-v4.v4-chat-open:has(.v4-profile-chat-overlay:not([hidden])) { overflow: hidden; }

/* Likes use a collection list instead of reusing the discovery gallery. */
body.site-v4[data-v4-page=likes] .v4-like-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; border-block: 1px solid var(--v4-line); }
body.site-v4[data-v4-page=likes] .v4-like-filters .filter { gap: 16px; border-radius: 0; border-bottom: 3px solid transparent; padding: 22px 16px; text-align: left; }
body.site-v4[data-v4-page=likes] .v4-like-filters .filter.selected { background: #f3e9ed; border-bottom-color: var(--v4-accent); }
body.site-v4 .v4-like-filters .filter i { --ggs: .85; flex-shrink: 0; }
body.site-v4 .v4-like-filters .filter span { margin-left: auto; }
body.site-v4[data-v4-page=likes] .likesDiv.v4-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
body.site-v4[data-v4-page=likes] .container .homePro { border-bottom: 1px solid var(--v4-line); padding: 20px 0; }
body.site-v4[data-v4-page=likes] .container .homePro .inner { display: grid; grid-template-columns: 94px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 4px 20px; padding: 0; min-height: 112px; }
body.site-v4[data-v4-page=likes] .container .homePro .inner img { grid-row: 1 / 4; width: 94px; height: 112px; aspect-ratio: auto; margin: 0; }
body.site-v4[data-v4-page=likes] .container .homePro .v4-card-name { align-self: end; font-size: 17px; padding-top: 12px; }
body.site-v4[data-v4-page=likes] .container .homePro .inner span { padding: 0; font-size: 12px; }
body.site-v4[data-v4-page=likes] .container .homePro .inner br { display: none; }
body.site-v4[data-v4-page=likes] .v4-card-region { margin: 0; }

/* Access and small account tasks are full-width, unframed form layouts. */
body.site-v4 .v4-access { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; max-width: 980px; padding: 36px 0; }
body.site-v4 .v4-access-intro { padding: 16px 0; color: var(--v4-accent); }
body.site-v4 .v4-access-intro > i { --ggs: 1.5; margin: 8px 0 36px 8px; }
body.site-v4 .v4-access-brand { font: 400 36px/1.25 'V4 Serif', Georgia, serif; overflow-wrap: anywhere; }
body.site-v4 .v4-access-intro h3 { font: 400 24px/1.5 'V4 Serif', Georgia, serif; margin: 20px 0; color: #67785f; }
body.site-v4 .v4-access .loginPage { width: 100%; max-width: none; margin: 0; padding: 0 0 0 34px; border-left: 1px solid var(--v4-line); }
body.site-v4 .v4-access-field { margin: 22px 0; }
body.site-v4 .v4-access .v4-field-caption { display: block; width: auto; margin: 0 0 8px; font-size: 12px; color: #64755d; }
body.site-v4 .v4-access .loginPage input[type=text], body.site-v4 .v4-access .loginPage input[type=password] { width: 100%; margin: 0; height: 48px; border-radius: 3px; background: #fff; padding-inline: 14px; }
body.site-v4 .v4-access .loginPage .loginButton { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 16px; padding: 14px 18px; width: 100%; text-align: left; }
body.site-v4 .v4-access .loginButton i { order: 2; --ggs: .8; }
body.site-v4 .v4-access .loginPage .errorLoader:empty { display: none; }
body.site-v4 .v4-access .finishRegLabels { display: inline-flex; align-items: center; gap: 8px; margin: 4px 6px 4px 0; padding: 8px 10px; min-height: 42px; color: #566c4e; background: #eff3eb; border: 1px solid var(--v4-line); border-radius: 3px; font-size: 13px; }
body.site-v4 .v4-access .finishRegLabels:has(input:checked) { background: var(--v4-rose); border-color: #d2b4bf; color: var(--v4-accent); }
body.site-v4 .v4-access .finishRegLabels:has(select) { display: block; padding: 0; }
body.site-v4 .v4-access .finishRegLabels select { width: 100%; }
body.site-v4 .v4-access .v4-birthdate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.site-v4 .v4-access .v4-birthdate select { width: 100%; margin: 0; }
body.site-v4 .v4-single-task { max-width: 700px; border-top: 1px solid var(--v4-line); padding: 32px 0; }
body.site-v4 .v4-single-task h3 { font-size: 26px; }
body.site-v4 .v4-single-task input[type=text] { display: block; width: 100%; max-width: 480px; margin: 20px 0; }

/* Reading pages receive a real contents rail and a constrained reading column. */
body.site-v4 .v4-document { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: 1160px; padding-top: 12px; }
body.site-v4 .v4-document-nav { position: sticky; top: 24px; align-self: start; max-height: calc(100dvh - 48px); overflow-y: auto; border-top: 1px solid var(--v4-line); }
body.site-v4 .v4-document-nav a { display: block; padding: 13px 0; color: #6b7765; font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--v4-line); overflow-wrap: anywhere; }
body.site-v4 .v4-document-nav a:hover, body.site-v4 .v4-document-nav a[aria-current] { color: var(--v4-accent); }
body.site-v4 .v4-document .textPage { max-width: 780px; padding-left: 0 !important; font-size: 15px; line-height: 1.95; }
body.site-v4 .v4-document h1, body.site-v4 .v4-document h2, body.site-v4 .v4-document h3 { font-family: 'V4 Serif', Georgia, serif; font-weight: 400; scroll-margin-top: 32px; }
body.site-v4 .v4-document h1 { font-size: 30px; margin: 0 0 28px; }
body.site-v4 .v4-document h2 { font-size: 25px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--v4-line); }
body.site-v4 .v4-document h3 { font-size: 21px; }
body.site-v4 .v4-document p { margin-block: 20px; }
body.site-v4 .v4-pricing-table { display: grid; grid-template-columns: 1fr; margin: 0 0 30px; }
body.site-v4 .v4-pricing-line { display: block; padding: 20px 0; border-bottom: 1px solid var(--v4-line); color: #425c3b; font-size: 13px; }
body.site-v4 .v4-pricing-line strong { color: #292e2b; font-size: 18px; font-family: var(--v4-font); }

/* Gifts look like redeemable vouchers, while the existing redemption action remains. */
body.site-v4 .v4-gifts-intro { display: flex; align-items: center; gap: 28px; padding: 24px 0 32px; border-block: 1px solid var(--v4-line); }
body.site-v4 .v4-gifts-intro > i { --ggs: 1.5; margin-inline: 12px; color: var(--v4-accent); flex-shrink: 0; }
body.site-v4 .v4-gifts-intro h6 { margin: 0; font-size: 16px; text-align: left; }
body.site-v4 .v4-gift-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
body.site-v4 .v4-gifts .box { margin: 0; padding: 0; width: auto; height: 180px; float: none; }
body.site-v4 .v4-gifts .box-body, body.site-v4 .v4-gifts .box-body:hover { position: relative; width: 100%; height: 180px; margin: 0; padding: 24px; border: 1px solid #d4bfcb; border-radius: 6px; background: #f2e7ed; box-shadow: none; cursor: pointer; transform: none; animation: none; }
body.site-v4 .v4-gifts .box-body::before, body.site-v4 .v4-gifts .box-body::after { display: none; }
body.site-v4 .v4-gift-cover { position: absolute; inset: 24px; display: flex; align-items: center; gap: 20px; color: var(--v4-accent); }
body.site-v4 .v4-gift-cover strong { font: 400 25px 'V4 Serif', Georgia, serif; }
body.site-v4 .v4-gift-cover > i:last-child { margin-left: auto; --ggs: .8; }
body.site-v4 .v4-gifts .box-body .img { display: block; position: static; width: auto; height: auto; color: #36552c; opacity: 0; visibility: hidden; transform: none; transition: none; text-align: left; font-size: 14px; }
body.site-v4 .v4-gifts .box-body .img strong { font: 400 38px 'V4 Serif', Georgia, serif; }
body.site-v4 .v4-gifts .box-body.hover { background: #edf3e7; border-color: #c3d1ba; }
body.site-v4 .v4-gifts .box-body.hover .img { opacity: 1; visibility: visible; transform: none; }
body.site-v4 .v4-gifts .box-body.hover .v4-gift-cover { display: none; }
body.site-v4 .v4-regions { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; max-width: 1050px; margin: 0 auto; }
body.site-v4 .v4-regions .regionInfo { font-size: 13px; line-height: 1.8; margin: 0; text-align: left; }
body.site-v4 .v4-regions .filterMapSelections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; float: none; width: 100% !important; margin: 0; }
body.site-v4 .v4-regions .filterMapSelections label { display: flex; align-items: center; gap: 14px; padding: 16px 8px; border: 0; border-bottom: 1px solid var(--v4-line); border-radius: 0; margin: 0; background: transparent; color: #747e6e; min-width: 0; overflow-wrap: anywhere; }
body.site-v4 .v4-regions .filterMapSelections label.selected { background: #edf2e8; color: #426237; }
body.site-v4 .v4-regions .filterMapSelections i { --ggs: .7; opacity: .2; flex-shrink: 0; }
body.site-v4 .v4-regions .filterMapSelections .selected i { opacity: 1; }
body.site-v4 .v4-regions:has(.filterMap) { grid-template-columns: minmax(0, 1fr); }
body.site-v4 .v4-outcome { max-width: 800px; border-top: 1px solid var(--v4-line); padding: 32px 0; line-height: 1.9; }
body.site-v4 .v4-outcome-mark { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: #e7efdf; color: #4d713f; margin-bottom: 28px; border-radius: 50%; }
body.site-v4 .v4-outcome-mark i { --ggs: 1.3; }
body.site-v4 .v4-outcome .succesPayment { display: none; }
body.site-v4 .v4-outcome h6.bigFont { font: 400 28px 'V4 Serif', Georgia, serif; text-align: left; }

@media (max-width: 1200px) {
  body.site-v4 .v4-profile-story.v4-profile-layout { gap: 24px; }
  body.site-v4 .v4-document { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  body.site-v4 .v4-access { gap: 32px; }
  body.site-v4 .v4-gift-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-v4 .v4-search-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 24px; }
  body.site-v4 .v4-search-content.v4-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-v4 .v4-wallet-layout { gap: 28px; }
  body.site-v4 .v4-package-option { gap: 10px; padding-inline: 10px; }
  body.site-v4 .v4-package-price { font-size: 16px; }
  body.site-v4 .v4-settings { grid-template-columns: 205px minmax(0, 1fr); gap: 24px; }
  body.site-v4 .v4-settings-content { padding-left: 26px; }
  body.site-v4 .v4-settings .myProfile > label:not(.switch):not(.myMatchLabels) { grid-template-columns: 1fr; gap: 8px; }
  body.site-v4 .v4-support { gap: 28px; }
}
@media (max-width: 1000px) {
  body.site-v4 .v4-wallet-layout { grid-template-columns: minmax(0, 1fr); }
  body.site-v4 .v4-checkout { position: static; }
  body.site-v4 .v4-support { grid-template-columns: 1fr; }
  body.site-v4 .v4-support-contact { border: 0; border-top: 1px solid var(--v4-line); padding: 28px 0 0; }
}
@media (max-width: 760px) {
  body.site-v4 .v4-profile-story.v4-profile-layout { display: block; }
  body.site-v4 .v4-profile-story .v4-profile-path { gap: 8px; }
  body.site-v4 .v4-profile-path > div { font-size: 11px; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; margin-top: 22px; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic .v4-profile-portrait > img { width: 110px; height: 154px; }
  body.site-v4 .v4-profile-thumbnails { flex-wrap: wrap; gap: 5px; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic .v4-profile-thumbnails img { width: 32px; height: 40px; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic h3 { font-size: 29px; margin-bottom: 12px; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic .right { padding: 0; }
  body.site-v4 .v4-profile-story .profileBlock .profilePic .info { font-size: 12px; }
  body.site-v4 .v4-profile-story .profileBlock .v4-profile-actions > div { min-height: 36px; padding: 8px 9px; font-size: 11px; }
  body.site-v4 .v4-profile-actions { padding-top: 18px; gap: 6px; }
  body.site-v4 .v4-profile-story .v4-profile-details { display: block; padding-top: 28px; }
  body.site-v4 .v4-profile-story .profileBlock .aboutMe { padding-left: 0; margin-top: 24px; border-left: 0; }
  body.site-v4 .v4-profile-chat-overlay { padding: 0; }
  body.site-v4 .v4-profile-chat-overlay > .chatBox { width: 100%; max-width: none; height: var(--v4-viewport-height, 100dvh) !important; border-radius: 0; }
  body.site-v4 .v4-profile-story > h6 { padding-top: 25px; }
  body.site-v4[data-v4-page=likes] .v4-like-filters { grid-template-columns: 1fr; }
  body.site-v4[data-v4-page=likes] .v4-like-filters .filter { padding: 14px 12px; border-bottom: 0; border-left: 3px solid transparent; }
  body.site-v4[data-v4-page=likes] .v4-like-filters .filter.selected { border-left-color: var(--v4-accent); }
  body.site-v4[data-v4-page=likes] .likesDiv.v4-profile-grid { grid-template-columns: 1fr; }
  body.site-v4 .v4-access { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  body.site-v4 .v4-access-intro { padding: 12px 0 20px; border-bottom: 1px solid var(--v4-line); }
  body.site-v4 .v4-access-intro > i { display: none; }
  body.site-v4 .v4-access-brand { font-size: 30px; }
  body.site-v4 .v4-access-intro h3 { font-size: 20px; margin: 12px 0 0; }
  body.site-v4 .v4-access .loginPage { padding: 0; border: 0; }
  body.site-v4 .v4-document { grid-template-columns: 1fr; gap: 28px; }
  body.site-v4 .v4-document-nav { position: static; max-height: 200px; overflow-y: auto; background: #f1f4ed; padding: 8px 16px; }
  body.site-v4 .v4-document h1 { font-size: 27px; }
  body.site-v4 .v4-document .textPage { font-size: 14px; }
  body.site-v4 .v4-gift-list { grid-template-columns: 1fr; }
  body.site-v4 .v4-gifts-intro h6 { font-size: 14px; }
  body.site-v4 .v4-regions { grid-template-columns: 1fr; gap: 24px; }
  body.site-v4 .v4-regions .filterMapSelections { gap: 0 12px; }
  body.site-v4 .v4-search-layout { grid-template-columns: 1fr; gap: 28px; }
  body.site-v4 .v4-search-layout .searchBlock { padding: 20px; }
  body.site-v4 .v4-search-layout .searchBlock .searchItem { flex-basis: calc(50% - 7px); width: calc(50% - 7px); }
  body.site-v4 .v4-search-layout .searchItem:has(.switch) { font-size: 12px; gap: 8px; }
  body.site-v4 .v4-search-content.v4-profile-grid { gap: 18px; }
  body.site-v4 .v4-settings { grid-template-columns: 1fr; gap: 28px; }
  body.site-v4 .v4-settings-rail { position: static; }
  body.site-v4 .v4-settings-identity { padding-bottom: 18px; margin-bottom: 18px; }
  body.site-v4 .v4-settings-select { display: block; width: 100%; min-height: 46px; background: #eef2eb; border-color: #d7ded2; }
  body.site-v4 .v4-settings-nav { display: none; }
  body.site-v4 .v4-settings-content { padding: 0; border: 0; min-height: 0; }
  body.site-v4 .v4-settings .myProfile h4 { font-size: 25px; padding-bottom: 18px; margin-bottom: 12px; }
  body.site-v4 .v4-settings .myProfile > label:not(.switch):not(.myMatchLabels) { grid-template-columns: minmax(85px, .65fr) minmax(0, 1.35fr); gap: 12px; }
  body.site-v4 .v4-wallet-balance { padding: 16px 0 22px; }
  body.site-v4 .v4-wallet-count { font-size: 34px; }
  body.site-v4 .v4-wallet-layout { gap: 28px; }
  body.site-v4 .v4-package-options { margin-top: 24px; }
  body.site-v4 .v4-package-option { min-height: 86px; padding: 16px 12px; gap: 12px; }
  body.site-v4 .v4-package-amount strong { font-size: 16px; }
  body.site-v4 .v4-checkout .pkg-price, body.site-v4 .v4-checkout .inner h2 { font-size: 38px; }
  body.site-v4 .v4-wallet-assurances .creditPage { display: grid; grid-template-columns: 1fr; }
  body.site-v4 .v4-checkout .howToPay .innerPay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 370px) {
  body.site-v4 .v4-search-layout .searchBlock { padding: 16px 12px; }
  body.site-v4 .v4-search-layout .searchItem:has(.switch) { flex-basis: 100%; width: 100%; }
  body.site-v4 .v4-settings .myProfile > label:not(.switch):not(.myMatchLabels) { grid-template-columns: 1fr; gap: 8px; }
  body.site-v4 .v4-package-option { gap: 8px; padding-inline: 8px; }
  body.site-v4 .v4-package-amount strong, body.site-v4 .v4-package-price { font-size: 14px; }
  body.site-v4 .v4-checkout .creditPackage .inner, body.site-v4 .v4-checkout .creditPackage-ios .innerGlass { padding: 28px 20px 22px; }
}
