/* PowerCult Site Fixes v1.0.0 — micro CSS repairs, site-wide.
   1) Mobile bottom-nav icon sizing (rule lost in the 2026-11-13 style.css cleanup;
      without it the account SVG renders giant below the footer). */
.pc-mobile-nav__icon svg{width:24px!important;height:24px!important;display:block}
.pc-mobile-nav__link.active .pc-mobile-nav__icon svg{color:#fff}
.pc-mobile-nav a svg{max-width:24px;max-height:24px}

/* 2) Footer slimming (owner, 2026-11-13): remove "Useful links" column and the
   newsletter block (social links stay — they share the third column). */
.custom-footer .footer-col.links{display:none!important}
.custom-footer .footer-col.newsletter h4:first-of-type{display:none!important}
.custom-footer .footer-col.newsletter .newsletter-desc,
.custom-footer .footer-col.newsletter .newsletter-form{display:none!important}
.custom-footer .footer-col.newsletter h4{margin-top:0!important}
@media (min-width:993px){
  .custom-footer .footer-main{grid-template-columns:1.5fr 1.5fr!important}
}

/* 3) Footer contact column: balance + icon sizing (2026-11-13) */
@media (min-width:993px){
  .custom-footer .footer-main{grid-template-columns:2fr 1fr!important}
}
.custom-footer .footer-col.newsletter{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
.custom-footer .social-links{justify-content:center!important}
.custom-footer .social-links a svg{width:20px;height:20px;display:block}

/* 4) Footer compacting (owner, 2026-11-13): tighter paddings/gaps all over the footer. */
.custom-footer{padding-top:26px!important}
.custom-footer .footer-top{margin-bottom:22px!important;padding-bottom:16px!important}
.custom-footer .footer-main{gap:20px!important;margin-bottom:20px!important}
.custom-footer .about-box{padding:16px 18px!important}
.custom-footer .footer-col h4{margin-bottom:10px!important}
.custom-footer .footer-bottom{padding:12px 0!important}

/* 5) Mobile bottom nav layout — restored (was swept away by the 2026-11-13 style.css
   cleanup; layout only, colours stay with the panel wiring + live rules). */
.pc-mobile-nav{display:none!important}
@media (max-width:992px){
  header.mobile-header,.mobile-header,.mobile-sidebar,#mobile-sidebar,.sidebar-overlay,#sidebar-overlay{display:none!important}
  body{padding-top:0!important;padding-bottom:100px!important}
  .pc-mobile-nav{display:flex!important;position:fixed;left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:99990;align-items:stretch;justify-content:space-between;padding:10px 6px;border-radius:30px;border:1px solid #e2e1dd;box-shadow:0 18px 40px rgba(28,28,28,.16);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2)}
  .pc-mobile-nav__link{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;text-decoration:none}
  .pc-mobile-nav__icon{display:flex;align-items:center;justify-content:center;width:40px;height:28px;border-radius:999px}
  .pc-mobile-nav__label{font-size:11px;line-height:1.2;white-space:nowrap}
}

/* 6) Bottom-nav active state, hub language (owner, 2026-11-13): black capsule
   behind the active icon, white glyph, bold dark label; inactive items muted.
   (Replaces the light-era white square tile.) */
html body .pc-mobile-nav .pc-mobile-nav__link{color:#6f6f6f}
html body .pc-mobile-nav .pc-mobile-nav__link .pc-mobile-nav__icon.pc-mobile-nav__icon{background:transparent!important;border-radius:999px!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active{color:#111111!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon.pc-mobile-nav__icon{background:#111111!important;border-radius:999px!important;box-shadow:0 6px 16px rgba(28,28,28,.25)!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon svg{color:#ffffff!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__label{color:#111111!important;font-weight:700!important}

/* 7) Active highlight softened (owner, 2026-11-13): no heavy dark box — a small
   warm-grey capsule with a black glyph; every other active background cleared. */
html body .pc-mobile-nav a.pc-mobile-nav__link.active,
html body .pc-mobile-nav a.pc-mobile-nav__link.active *{background:transparent!important;box-shadow:none!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon.pc-mobile-nav__icon{background:#E7E4DA!important;border-radius:999px!important;width:46px!important;height:30px!important}
html body .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon svg{color:#111111!important}

/* 8) THE BOX, REMOVED AT THE ROOT (owner, 2026-11-13): Additional CSS Slice 1 A3
   paints background:#eaeae6 on the whole active LINK (square corners) — that tile
   is the "کادر". Mirror its selector +1 class and clear it; active state becomes
   colour + weight only, no tile/capsule anywhere. */
html body:not(.page-id-5399):not(.page-id-4517) .pc-mobile-nav .pc-mobile-nav__link.active{background:transparent!important}
html body:not(.page-id-5399):not(.page-id-4517) .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon.pc-mobile-nav__icon{background:transparent!important;box-shadow:none!important;width:40px!important;height:28px!important}
html body:not(.page-id-5399):not(.page-id-4517) .pc-mobile-nav .pc-mobile-nav__link.active .pc-mobile-nav__icon svg{color:#111111!important}

/* 9) DIGITS DARK (owner, 2026-11-14): restyle the Digits login UI (full-screen
   /login/?login=true page + popup modal) to the site dark palette and font.
   Digits plugin itself untouched — everything below is scoped to Digits
   containers only. Digits paints most of the form from its own CSS variables
   (set by an inline <style> in the popup), so the variables are re-mapped
   first; hardcoded Digits colours are then overridden element by element.
   Digits declares font-family:'IransansX' with !important on the container
   and all descendants, so the font rules below match it with doubled-class
   specificity + !important. No letter-spacing is set anywhere (Persian text
   must never be letter-spaced); the OTP input keeps Digits' own 2px digit
   spacing, re-asserted at the end so nothing collapses it. */

/* 9a) Digits' own variables, re-mapped to the palette. */
html body .digits-form_page.digits-form_page,
html body .digits-form_container.digits-form_container,
html body .digits-main_style.digits-main_style,
html body .digits-tp_style.digits-tp_style{
  --dprimary:#F3F3F1!important;
  --dtitle:#F3F3F1!important;
  --dfield_bg:#1F2021!important;
  --daccent:#F3F3F1!important;
  --dform_bg:#141416!important;
  --dbutton_text:#0B0B0C!important;
}

/* 9b) Font: site stack on the Digits containers and every descendant,
   including the pieces Digits appends outside the form (country list,
   select dropdown, toast, secure modal). */
html body .digits-form_container.digits-form_container,
html body .digits-form_container.digits-form_container *,
html body .digits-form_page.digits-form_page,
html body .digits-form_page.digits-form_page *,
html body .digits_login_form.digits_login_form,
html body .digits_login_form.digits_login_form *,
html body .dig_popmessage.dig_popmessage,
html body .dig_popmessage.dig_popmessage *,
html body .digit_cs-list.digit_cs-list,
html body .digit_cs-list.digit_cs-list *,
html body .digits_select.digits_select,
html body .digits_select.digits_select *,
html body .digits_secure_modal.digits_secure_modal,
html body .digits_secure_modal.digits_secure_modal *,
html body .digits_account_security_dashboard.digits_account_security_dashboard,
html body .digits_account_security_dashboard.digits_account_security_dashboard *,
html body .dig_ma-box.dig_ma-box,
html body .dig_ma-box.dig_ma-box *{
  font-family:'Yekan Bakh FaNum',Tahoma,sans-serif!important;
}

/* 9c) Surfaces: dark page, card form with the site frame (24px radius). */
html body .digits-form_page.digits-form_page{background-color:#060708!important}
html body .digits-form_container.digits-form_container{
  background-color:#141416!important;
  border:1px solid #303032!important;
  border-radius:24px!important;
  padding:40px 28px!important;
  box-shadow:0 24px 60px rgba(0,0,0,.5)!important;
  color:#A7A8A0!important;
}
/* The account-security box reuses .digits-form_container as a bare wrapper —
   keep it frameless so the inner .digits_secure_modal stays the only card. */
html body .digits_secure_modal_box.digits-form_container{
  background:transparent!important;border:0!important;border-radius:0!important;
  padding:0!important;box-shadow:none!important;
}
html body .digits_secure_modal.digits_secure_modal{
  background-color:#141416!important;border:1px solid #303032!important;
}
html body .digits_secure_modal_wrapper.digits_secure_modal_wrapper{background-color:rgba(6,7,8,.7)!important}

/* 9d) Headings, labels, hints, footer note. */
html body .digits-form_container .digits-form_heading,
html body .digits-form_container .digits-form_heading_text,
html body .digits-title_color.digits-title_color,
html body .digits_secure_modal-title.digits_secure_modal-title{color:#F3F3F1!important}
html body .digits_secure_modal-title.digits_secure_modal-title{border-bottom-color:#F3F3F1!important}
html body .digits-form_container label,
html body .digits-form_container .digits-form_input label,
html body .digits-form_container .digits-input_checkbox label{color:#A7A8A0!important}
html body .digits-form_container .digits-form_hint{color:#A7A8A0!important;opacity:1!important}
html body .digits-form_container .digits_approval_type_desc{color:#F3F3F1!important}
html body .digits_site_footer_box.digits_site_footer_box{color:#86887F!important}
html body .digits_secure_modal_text.digits_secure_modal_text{color:#A7A8A0!important}
html body .digits_account_security_dashboard .digits_secure_account_heading{color:#F3F3F1!important}

/* 9e) Inputs: phone, email, password, text, textarea + the country-code
   select. The country-code input itself stays transparent (it overlays the
   phone field by design). */
html body .digits-form_container .digits-form_input input,
html body .digits-form_container .digits-form_input textarea,
html body .digits-form_container .digits-form_input select{
  background-color:#1F2021!important;border:1px solid #303032!important;color:#F3F3F1!important;
  box-shadow:none!important;outline:0!important;
}
html body .digits-form_container .digits-form_input input:focus,
html body .digits-form_container .digits-form_input textarea:focus{
  border-color:#F3F3F1!important;
}
html body .digits-form_container .digits-form_input input.countrycode{
  background-color:transparent!important;border-color:transparent!important;
}
html body .digits-form_container input::placeholder,
html body .digits-form_container textarea::placeholder{color:#86887F!important;opacity:1!important}
html body .digits-form_container .untselect-selection--single{
  background-color:#1F2021!important;border:1px solid #303032!important;color:#F3F3F1!important;
  box-shadow:none!important;
}
html body .digits-form_container .untselect-selection__rendered{color:#F3F3F1!important}
html body .digits-form_container .untselect-selection__arrow b::after{border-color:#A7A8A0!important}

/* 9f) Select dropdown panel (appended to <body> by Digits' JS). */
html body .digits_select.digits_select.untselect-dropdown{
  background-color:#141416!important;border:1px solid #303032!important;
  box-shadow:0 18px 40px rgba(0,0,0,.5)!important;
}
html body .digits_select.digits_select li{background-color:transparent!important;color:#A7A8A0!important}
html body .digits_select.digits_select li.untselect-results__option--highlighted,
html body .digits_select.digits_select li.untselect-results__option[aria-selected=true]{
  background-color:#252624!important;color:#F3F3F1!important;
}
html body .digits_select.digits_select .untselect-search--dropdown{border-bottom-color:#303032!important}
html body .digits_select.digits_select .untselect-search__field{
  background-color:transparent!important;color:#F3F3F1!important;
}

/* 9g) Country-code list for the phone field (also appended outside the form). */
html body .digit_cs-list.digit_cs-list{
  background-color:#141416!important;color:#F3F3F1!important;border:1px solid #303032!important;
  box-shadow:0 18px 40px rgba(0,0,0,.5)!important;
}
html body .digit_cs-list.digit_cs-list li{background-color:transparent!important;color:#A7A8A0!important}
html body .digits-fullscreen .digit_cs-list.digit_cs-list li,
html body .digits-fullscreen .digit_cs-list.digit_cs-list li:nth-child(odd){background-color:transparent!important}
html body .digit_cs-list.digit_cs-list li:hover{background-color:#252624!important;color:#F3F3F1!important}
html body .digit_cs-list .dig-cc-search input{
  background-color:#1F2021!important;color:#F3F3F1!important;
}
html body .digits-countrycode-search.digits-countrycode-search{background-color:#141416!important}

/* 9h) Buttons: primary inverted, field/secondary as a dark chip. */
html body .digits-form_container .digits-form_button,
html body .digits-form_container button.digits-form_button{
  background-color:#F3F3F1!important;color:#0B0B0C!important;border:1px solid #F3F3F1!important;
  box-shadow:none!important;
}
html body .digits-form_container .digits-form_button:hover{
  background-color:#E8E8E4!important;border-color:#E8E8E4!important;
}
html body .digits-form_container .digits-form_button .digits-form_button-text{color:#0B0B0C!important}
html body .digits-form_container .digits-form_field_button{
  background-color:#252624!important;color:#F3F3F1!important;border:1px solid #303032!important;
}
html body .digits_account_security_dashboard .digits_secure_account button.setup_button{
  background-color:#F3F3F1!important;color:#0B0B0C!important;
}

/* 9i) Tabs: inactive muted, active light with a light underline. */
html body .digits-form_container .digits-form_tab-bar .digits-form_tab-item{
  color:#86887F!important;opacity:1!important;border-bottom-color:transparent!important;
}
html body .digits-form_container .digits-form_tab-bar .digits-form_tab-item.digits-tab_active{
  color:#F3F3F1!important;border-bottom-color:#F3F3F1!important;
}

/* 9j) Links and resend (no red anywhere). */
html body .digits-form_container .digits-form_link{color:#F3F3F1!important}
html body .digits-form_container .digits-form_resend_otp,
html body .digits-form_container .dig_resendotp{color:#F3F3F1!important}
html body .dig_popmessage.dig_popmessage a{color:#F3F3F1!important}

/* 9k) OTP step: the code input matches the other fields; Digits' own 2px
   digit spacing is preserved (digits only — never Persian text). */
html body .digits-form_container .dig_verify_otp_input,
html body .dig_verify_mobile_otp .dig_verify_otp_input{
  background-color:#1F2021!important;border:1px solid #303032!important;color:#F3F3F1!important;
  letter-spacing:2px!important;
}
html body .digits_otp_info_desc.digits_otp_info_desc{
  background-color:#141416!important;border:1px solid #303032!important;color:#A7A8A0!important;
  box-shadow:0 12px 32px rgba(0,0,0,.5)!important;
}

/* 9l) Errors and the Digits toast: readable on dark, no white/pale boxes. */
html body .loginerrordg.loginerrordg{color:#FF8A80!important}
html body .digits-form_container .dig_input_error label,
html body .dig_input_error label{color:#FF8A80!important}
html body .digits-form_container .dig_input_error input,
html body .digits-form_container .dig_input_error textarea,
html body .dig_input_error input,
html body .dig_input_error textarea{border-color:#FF8A80!important}
html body .dig_popmessage.dig_popmessage{
  background-color:#141416!important;border:1px solid #303032!important;color:#F3F3F1!important;
  box-shadow:0 18px 40px rgba(0,0,0,.5)!important;
}
html body .dig_popmessage .dig_popmessage_contents{
  background:transparent!important;border-color:#303032!important;color:#F3F3F1!important;
}

/* 9m) Close buttons: the secure-modal × is a background-image SVG stroked
   #c7184d (red) — swapped for the same drawing in muted grey. The legacy
   modal's text × takes the same colours. */
html body .digits_secure_modal-close.digits_secure_modal-close,
html body .digits_secure_close-sic.digits_secure_close-sic{
  background-image:url("data:image/svg+xml,%3Csvg id='close' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect id='Rectangle_204' data-name='Rectangle_204' width='24' height='24' fill='rgba(255,255,255,0)'/%3E%3Cline id='Line_41' data-name='Line 41' x1='12' y2='12' transform='translate(6 6)' fill='none' stroke='%23A7A8A0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cline id='Line_42' data-name='Line 42' x2='12' y2='12' transform='translate(6 6)' fill='none' stroke='%23A7A8A0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A")!important;
}
html body .dig-cont-close.dig-cont-close{color:#A7A8A0!important}
html body .dig-cont-close.dig-cont-close:hover{color:#F3F3F1!important}

/* 9n) Scrollbars + spinner inside Digits containers. */
html body .digits_scrollbar.digits_scrollbar{scrollbar-color:#303032 #141416!important}
html body .digits_bx_cred_frm_container::-webkit-scrollbar{background:#141416!important}
html body .digits_bx_cred_frm_container::-webkit-scrollbar-thumb{background:#303032!important}
html body .dig_spinner.dig_spinner{
  border-top-color:#303032!important;border-right-color:#303032!important;border-left-color:#303032!important;
}

/* 9o) Legacy Digits modal (.dig_pgmdl_2 / .dig_lrf_box — used by the older
   modal variant): same palette, kept compact. */
html body .dig_pgmdl_2.dig_pgmdl_2{
  background-color:#141416!important;color:#A7A8A0!important;
  border:1px solid #303032!important;border-radius:24px!important;
}
html body .dig_pgmdl_2 .dig-box-login-title{color:#F3F3F1!important}
html body .dig_pgmdl_2 label,
html body .dig_lrf_box label{color:#A7A8A0!important}
html body .dig_pgmdl_2 .minput input,
html body .dig_pgmdl_2 .minput textarea,
html body .dig_lrf_box .minput input,
html body .dig_lrf_box .minput textarea{
  background-color:#1F2021!important;border:1px solid #303032!important;color:#F3F3F1!important;
  box-shadow:none!important;
}
html body .dig_lrf_box .button{
  background-color:#F3F3F1!important;color:#0B0B0C!important;border:1px solid #F3F3F1!important;
}
html body .dig_pgmdl_2 .dig_login_cancel{color:#A7A8A0!important}

/* 9q) In-page modal (.digits2_box) field saturation: the modal variant of the
   Digits form (e.g. opened from the /membership/ buy button) scopes its field
   rules under .digits2_box, where --dfield_bg resolves to white — 9a's remap
   on .digits-form_container/.digits-form_page does not reach it. Remap the
   variables on the modal box itself AND pin the field colours explicitly so
   the phone field is dark regardless of variable resolution. The modal's
   submit button already renders correctly (light, dark label) — untouched. */
html body .digits2_box.digits2_box{
  --dform_bg:#141416!important;
  --dfield_bg:#1F2021!important;
  --dprimary:#F3F3F1!important;
  --dtitle:#F3F3F1!important;
  --daccent:#F3F3F1!important;
  --dbutton_text:#0B0B0C!important;
}
html body .digits2_box .digits-form_input{
  background-color:#1F2021!important;
}
html body .digits2_box .digits-form_input input,
html body .digits2_box .digits-form_input textarea{
  background-color:#1F2021!important;color:#F3F3F1!important;border-color:#303032!important;
}
html body .digits2_box .digits-form_input input::placeholder{
  color:#86887F!important;
}
html body .digits2_box .untselect-selection--single,
html body .digits2_box .untselect-selection--single .untselect-selection__rendered{
  background-color:#1F2021!important;color:#F3F3F1!important;
}
html body .digits2_box .digits-form_field_button{
  background-color:#252624!important;color:#F3F3F1!important;
}

/* 9r) Live modal (.digits_modal / .digits_reg) saturation: the live modal
   variant paints its inputs white via two Digits !important rules —
   assets/css/style.css (.digits_modal .digits_reg .digits-form_input input,
   specificity 0,3,1) and a Digits-generated inline <style> (.digits_reg
   .digits-form_input input, .digits_modal input, …). Out-specify both by
   chaining the modal classes: the selectors below reach 0,3,4 / 0,4,3. The
   modal shell itself also computes to a white background, so it is pinned
   to the card colour, and the overlay box gets the near-black page tint.
   The country-code input keeps Digits' centred text — no text-align set. */
html body .digits_modal .digits_reg .digits-form_input input,
html body .digits_modal .digits_reg .digits-form_input textarea,
html body .digits_modal_box .digits_modal input.input-text,
html body .digits_modal_box .digits_modal input.digits-input-field,
html body .digits_modal_box .digits_modal input.countrycode{
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;
}
html body .digits_modal .digits_reg .digits-form_input input::placeholder,
html body .digits_modal .digits_reg .digits-form_input textarea::placeholder,
html body .digits_modal_box .digits_modal input.input-text::placeholder,
html body .digits_modal_box .digits_modal input.digits-input-field::placeholder,
html body .digits_modal_box .digits_modal input.countrycode::placeholder{
  color:#86887F!important;
}
html body .digits_modal.digits_modal{
  background:#141416!important;background-color:#141416!important;
  color:#F3F3F1!important;
  border:1px solid #303032!important;border-radius:24px!important;
}
html body .digits_modal_box.digits_modal_box{
  background-color:rgba(6,7,8,.85)!important;
}

/* 9s) Beat the theme page-input rule (specificity 0,6,3): the theme's
   light-era rule for pages 5399/4517 —
   html body.page-id-5399 input:not([type="checkbox"]):not([type="radio"])
   :not([type="submit"]):not([type="button"]):not([type="hidden"])
   { background-color:#fff!important; color:#1c1c1c!important; … } — paints
   EVERY input on the page white, including the Digits modal's (proven by a
   runtime probe: the modal inputs live in .digits-form_input inside
   .digits-form_container / .digits2_box; there are no .digits_modal /
   .digits_reg ancestors, so 9r never matches). Its five :not() attribute
   selectors inflate it to 0,6,3, beating all earlier Digits blocks. Mirror
   the same :not() chain and add the Digits container classes to reach
   0,7,3. Selectors stay confined to .digits-form_container so no other
   form on the page (e.g. the RCP registration form) is affected. */
html body .digits-form_container .digits-form_input input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
html body .digits-form_container .digits-form_input textarea{
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;caret-color:#F3F3F1!important;
}
html body .digits-form_container .digits-form_input input::placeholder,
html body .digits-form_container .digits-form_input textarea::placeholder{
  color:#86887F!important;
}

/* 9t) Country dropdown search box: the last white element in the Digits
   flow. Digits' login.min.css paints the dropdown's search input white —
   .dig-cc-search .countrycode_search{ background-color:#fff } (no
   !important) with placeholder colour rgba(45,51,61,.35). The dropdown
   panel itself is already dark (existing .digits-countrycode-search rule),
   and this input is NOT inside .digits-form_input, so 9s never reaches
   it. Pin the field and its placeholder to the dark palette. */
html body .digits-countrycode-search .countrycode_search,
html body .dig-cc-search .countrycode_search{
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;caret-color:#F3F3F1!important;
}
html body .digits-countrycode-search .countrycode_search::placeholder,
html body .dig-cc-search .countrycode_search::placeholder{
  color:#86887F!important;
}

/* 9u) All Digits-flow inputs vs the theme page rule: 9s beat the theme's
   0,6,3 page-input rule only inside .digits-form_input, but the country
   dropdown's search input (.countrycode_search — still white live after
   9t, whose selectors reach only 0,2,3 against the theme's !important
   rule) and the later OTP-step input live outside .digits-form_input
   while still inside the Digits form container. Generalise 9s: mirror
   the theme rule's five :not() attribute selectors at container level
   (.digits-form_page + .digits-form_container) to reach 0,7,3, plus the
   same chain on the dropdown search input itself in case Digits appends
   the panel outside the form container. Selectors stay confined to the
   Digits form container / Digits dropdown, so the RCP form and other
   page forms are unaffected; checkboxes, radios, submits, buttons and
   hidden inputs are excluded, exactly mirroring the theme rule's own
   exclusions. */
html body .digits-form_page .digits-form_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
html body .digits-form_page .digits-form_container textarea{
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;caret-color:#F3F3F1!important;
}
html body .digits-countrycode-search input.countrycode_search:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]){
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;caret-color:#F3F3F1!important;
}
html body .digits-form_page .digits-form_container input::placeholder,
html body .digits-form_page .digits-form_container textarea::placeholder{
  color:#86887F!important;
}

/* 9v) Site-wide supremacy for the Digits modal (Model 1 «تیره تمیز»).
   The Additional CSS / theme light-era rules for all pages OTHER than
   5399/4517 — body:not(.page-id-5399):not(.page-id-4517) button[type=
   "submit"]{background:#111!important} at 0,3,2 — beat 9h's button rule
   (0,2,2), so on the homepage (and every other page) the modal's submit
   rendered BLACK while the same modal on /membership/ was correctly
   inverted. (On the owner's phone the field also rendered white; the
   input chain below removes any remaining doubt.) Anchor the rules on
   the modal's measured live ancestor chain (probe v4: .digits-popup_
   wrapper > .digits-form_page > .digits-form_container) and mirror the
   theme's five :not() attribute selectors: inputs reach 0,9,3, the
   submit button 0,5,2 — above every rival on every page. Legacy-form
   containers get the same treatment defensively. Confined to Digits
   containers; no other form is touched. */
html body .digits-popup_wrapper .digits-form_page .digits-form_container .digits-form_input input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
html body .digits-popup_wrapper .digits-form_page .digits-form_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
html body .digits_login_form .dig_lrf_box input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
html body .digits_login_form .digits_modal .digits_reg input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]){
  background:#1F2021!important;background-color:#1F2021!important;
  color:#F3F3F1!important;border-color:#303032!important;caret-color:#F3F3F1!important;
}
html body .digits-popup_wrapper .digits-form_page .digits-form_container .digits-form_button,
html body .digits-popup_wrapper .digits-form_page .digits-form_container button.digits-form_button[type="submit"],
html body .digits_login_form .dig_lrf_box button[type="submit"],
html body .digits_login_form .digits_modal .digits_reg button[type="submit"]{
  background:#F3F3F1!important;background-color:#F3F3F1!important;
  color:#0B0B0C!important;border-color:#F3F3F1!important;
}

/* ============================================================
   10) LESSON TYPOGRAPHY (2026-11-14) — Tutor single-lesson body.
   Owner's complaint: in some lessons of پروژه قدرت the text sits
   back-to-back with no air. Diagnosis on lessons 1–3: paragraphs
   exist, but (a) line-height inside paragraphs is tight, (b) sub-headings
   carry no extra space above them, so sections never breathe.
   ALIGNMENT IS DELIBERATELY UNTOUCHED (owner's order
   2026-11-15: «اصلا راست چین کردن رو بیخیال» — the centred look
   stays). This block only gives the lesson body air: line-height
   ~2, paragraph gaps, heading air above
   each section, list and video spacing. Scoped to single-lesson
   pages only; course pages, dashboards and the lesson sidebar
   are untouched. */
body.single-lessons .tutor-single-entry-content p,
body.single-lessons .tutor-lessons-content p{
  line-height:2.05!important;margin:0 0 1.3em!important;
}
body.single-lessons .tutor-single-entry-content li,
body.single-lessons .tutor-lessons-content li{
  line-height:2!important;margin-bottom:.5em!important;
}
body.single-lessons .tutor-single-entry-content ul,
body.single-lessons .tutor-single-entry-content ol,
body.single-lessons .tutor-lessons-content ul,
body.single-lessons .tutor-lessons-content ol{
  margin:0 0 1.3em!important;padding-right:1.4em!important;
}
body.single-lessons .tutor-single-entry-content h2,
body.single-lessons .tutor-lessons-content h2{
  color:#F3F3F1!important;line-height:1.6!important;
  font-size:1.5em!important;margin:1.9em 0 .7em!important;
}
body.single-lessons .tutor-single-entry-content h3,
body.single-lessons .tutor-lessons-content h3{
  color:#F3F3F1!important;line-height:1.6!important;
  font-size:1.28em!important;margin:1.7em 0 .6em!important;
}
body.single-lessons .tutor-single-entry-content h4,
body.single-lessons .tutor-single-entry-content h5,
body.single-lessons .tutor-lessons-content h4,
body.single-lessons .tutor-lessons-content h5{
  color:#F3F3F1!important;line-height:1.6!important;
  font-size:1.12em!important;margin:1.5em 0 .5em!important;
}
body.single-lessons .tutor-single-entry-content blockquote,
body.single-lessons .tutor-lessons-content blockquote{
  margin:1.6em 0!important;line-height:2!important;
}
body.single-lessons .tutor-single-entry-content .mejs-container,
body.single-lessons .tutor-single-entry-content video,
body.single-lessons .tutor-lessons-content .mejs-container,
body.single-lessons .tutor-lessons-content video{
  margin:1.2em 0 1.8em!important;
}

/* ============================================================
   11) DIGITS DESIGN PASS (2026-11-19) — spacing + typography.
   Owner's critique of the login form: boxes stuck together, no
   design discipline — elements slightly smaller, real breathing
   room, clear type hierarchy. Probe v5 measurements (modal,
   desktop): card .digits-form_container 500px, padding 40/28,
   radius 24, bg #141416 (already §9c); title 32px/900 with a
   stray 38px right padding and 32px bottom margin; tab label
   20px/900; phone field 68px tall; button 58px tall at 17px/900;
   footer text full-size and clipped at the card's right edge on
   the standalone page. This section only adjusts sizes, spacing
   and the footer — colours stay with §9. Scoped to the Digits
   form container, which both the standalone page and the modal
   use. */

/* 11a) Title: one step smaller, lighter, no stray padding. */
html body .digits-form_container .digits-form_heading{
  padding:0!important;margin:0 0 24px!important;
}
html body .digits-form_container .digits-form_heading,
html body .digits-form_container .digits-form_heading .digits-form_heading_text{
  font-size:24px!important;font-weight:800!important;line-height:1.4!important;
}

/* 11b) Tabs: quieter type; the slider line stays under the tab. */
html body .digits-form_container .digits-form_tab-bar{
  margin:0 0 22px!important;
}
html body .digits-form_container .digits-form_tab-bar .digits-form_tab-item{
  font-size:16px!important;font-weight:700!important;
}
html body .digits-form_container .digits-slider_line{
  border-radius:3px!important;max-width:100%!important;
}

/* 11c) Field + button: slightly lower, calmer type. */
html body .digits-form_container .digits-form_input input{
  height:56px!important;
}
html body .digits-form_container .digits-form_button{
  height:54px!important;font-size:16px!important;
}

/* 11d) Footer line («آیا هنوز عضو نشده اید؟»): smaller, muted,
   padded so its first word never touches the card edge. */
html body .digits-form_container .digits_site_footer_box{
  font-size:13.5px!important;line-height:1.9!important;color:#86887F!important;
  padding:6px 8px 0!important;text-align:center!important;
}

/* 11e) Country code (+98) and flag area in the site font too —
   §9b covers inputs, this covers the code display elements. */
html body .digits-form_container .digits-form_countrycode,
html body .digits-form_container .digits-form_countrycode *{
  font-family:'Yekan Bakh FaNum',Tahoma,sans-serif!important;
}

/* 11f) Small screens: tighter card, title steps down again. */
@media (max-width:480px){
  html body .digits-form_container{
    padding:28px 20px!important;
  }
  html body .digits-form_container .digits-form_heading,
  html body .digits-form_container .digits-form_heading .digits-form_heading_text{
    font-size:22px!important;
  }
  html body .digits-form_container .digits-form_tab-bar .digits-form_tab-item{
    font-size:15px!important;
  }
}

/* ============================================================
   12) Brand micro-details + site-wide motion (owner order 2026-11-19):
   text selection, dark scrollbar, 404 touch, scroll-reveal
   (.pcmv, driven by site-motion.js), course-card hover lift.
   ============================================================ */
::selection{background:#F3F3F1;color:#0B0B0C}
html{scrollbar-color:#303032 #060708}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#060708}
::-webkit-scrollbar-thumb{background:#303032;border-radius:99px;border:2px solid #060708}
::-webkit-scrollbar-thumb:hover{background:#3d3d3f}
body.error404 .entry-title,body.error404 .page-title{color:#F3F3F1!important}
body.error404 .entry-content{color:#A7A8A0!important}
body.error404 .site-main{padding-top:36px;padding-bottom:36px}
.pcmv{opacity:0;transform:translateY(20px)}
.pcmv.pcmv-in{opacity:1;transform:none;transition:opacity .55s ease,transform .7s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){
.tutor-course-card{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s cubic-bezier(.22,1,.36,1)}
.tutor-course-card:hover{transform:translateY(-3px)}
}
@media (prefers-reduced-motion:reduce){
.pcmv{opacity:1!important;transform:none!important}
.pcmv.pcmv-in{transition:none}
.tutor-course-card{transition:none}
}

/* ============================================================
   13) Injected page header for the special-content page
   (site-motion.js adds .pc-page-head only when the theme's own
   section header is not visible). Same language as the hub.
   ============================================================ */
.pc-page-head{margin:6px 0 22px;padding-bottom:18px;border-bottom:1px solid #1F2021}
.pc-page-head h1{font-size:26px!important;font-weight:800!important;color:#F3F3F1!important;margin:0 0 8px!important;line-height:1.4!important}
.pc-page-head p{font-size:14.5px;color:#86887F;margin:0;line-height:1.9}
@media (max-width:640px){.pc-page-head h1{font-size:22px!important}}

/* ============================================================
   14) Single article in the hub language (owner order 2026-11-19):
   the theme's single.php is bare title + content; give the article
   a hub card, disciplined typography and breathing room.
   Scoped to body.single-post; /membership/ and /login/ excluded
   by the mirrored :not() chain where painters compete.
   ============================================================ */
html body.single-post .site-main{padding-top:34px;padding-bottom:44px}
html body.single-post article.post{background:#141416;border:1px solid #303032;border-radius:24px;box-shadow:0 1px 2px rgba(0,0,0,.35),0 16px 40px -24px rgba(0,0,0,.5);max-width:880px;margin:0 auto;padding:44px 42px 38px}
html body.single-post .entry-title{font-size:30px!important;font-weight:800!important;line-height:1.5!important;color:#F3F3F1!important;margin:0 0 24px!important;padding-bottom:20px;border-bottom:1px solid #1F2021}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content{font-size:16.5px;color:#A7A8A0!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content p{color:#A7A8A0!important;line-height:2.05;margin:0 0 1.1em}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content h2{color:#F3F3F1!important;font-size:22px!important;font-weight:800!important;line-height:1.6!important;margin:1.7em 0 .6em!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content h3{color:#F3F3F1!important;font-size:19px!important;font-weight:800!important;line-height:1.6!important;margin:1.6em 0 .55em!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content h4{color:#F3F3F1!important;font-size:17px!important;font-weight:700!important;margin:1.5em 0 .5em!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content a{color:#F3F3F1!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content strong{color:#F3F3F1!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content ul,html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content ol{line-height:2.05;color:#A7A8A0!important;margin:0 0 1.1em}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content img{border-radius:16px;max-width:100%;height:auto}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content blockquote{background:#252624;border:none;border-inline-start:3px solid #F3F3F1;border-radius:16px;padding:18px 20px;margin:1.4em 0;color:#F3F3F1!important}
html body:not(.page-id-5399):not(.page-id-4517).single-post .entry-content blockquote p{color:#F3F3F1!important;margin:0}
html body.single-post #comments{max-width:880px;margin:26px auto 0;background:#141416;border:1px solid #303032;border-radius:24px;padding:30px 34px}
html body.single-post #comments .comments-title,html body.single-post #comments #reply-title{color:#F3F3F1!important;font-size:19px!important;font-weight:800!important}
html body.single-post #comments .comment-body{background:#1F2021;border-radius:16px;padding:16px 18px;color:#A7A8A0!important}
@media (max-width:640px){
html body.single-post article.post{padding:28px 20px 24px;border-radius:20px}
html body.single-post .entry-title{font-size:24px!important}
html body.single-post #comments{padding:22px 18px}
}

/* 14b) Comment form fields dark (the form's textarea rendered white). */
html body.single-post #comments .comment-form textarea#comment{background:#1F2021!important;color:#F3F3F1!important;border:1px solid #303032!important;border-radius:14px!important;padding:14px 16px!important;width:100%}
html body.single-post #comments .comment-form input#author,html body.single-post #comments .comment-form input#email,html body.single-post #comments .comment-form input#url{background:#1F2021!important;color:#F3F3F1!important;border:1px solid #303032!important;border-radius:12px!important;padding:11px 14px!important}
html body.single-post #comments .comment-form label{color:#86887F!important}
html body.single-post #comments .comment-form input#submit{background:#F3F3F1!important;color:#0B0B0C!important;-webkit-text-fill-color:#0B0B0C!important;border:1px solid #F3F3F1!important;border-radius:999px!important;padding:11px 26px!important;font-weight:700!important;cursor:pointer}
html body.single-post #comments .comment-form input#submit:hover{background:#E8E8E4!important}
