MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ═══════════════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════════════
   MediaWiki:Common.css — Anandamakaranda
   MediaWiki:Common.css — Anandamakaranda
Line 279: Line 280:
.verse-block .shloka-block { text-align: left; margin: 0; }
.verse-block .shloka-block { text-align: left; margin: 0; }
.verse-block .shloka-line {
.verse-block .shloka-line {
   display: block; font-style: italic; color: #c65;
   display: block; font-weight: 500; line-height: 1.35; margin: 0; color: var(--maroon);
  font-weight: 500; line-height: 1.35; margin: 0;
}
}
.verse-block + p { display: none !important; margin: 0 !important; }
.verse-block + p { display: none !important; margin: 0 !important; }
Line 287: Line 287:


.gr-verse-text, .verse-line, .verse-text {
.gr-verse-text, .verse-line, .verse-text {
   color: #b5451b; font-style: italic; line-height: 1.5; display: block; margin: 0.1em 0;
   color: #b5451b; line-height: 1.5; display: block; margin: 0.1em 0;
}
}
.gr-verse-type-sutra .gr-verse-text,
.gr-verse-type-sutra .gr-verse-text,
Line 306: Line 306:
.bhashyam-block {
.bhashyam-block {
   display: block; font-size: 1em; line-height: 1.6; color: #555;
   display: block; font-size: 1em; line-height: 1.6; color: #555;
   margin: 0.25em 0 0.35em 48px; padding: 0; border: none; background: transparent;
   padding: 0; border: none; background: transparent;
}
}
.gr-bhashyam, .commentary-bhashyam {
.gr-bhashyam, .commentary-bhashyam {
   color: #222; font-style: normal; line-height: 1.75; margin: 0.3em 0 0.5em 0;
   color: #222; font-style: normal; line-height: 1.75; margin: 0.3em 0 0.5em 0;
}
}
.gr-leading-bhashya { font-style: italic; color: #555; margin: 0.4em 0 0.5em 0; }
.gr-leading-bhashya { color: #555; }


/* ── 13. PADYA ─────────────────────────────────────────────────── */
/* ── 13. PADYA ─────────────────────────────────────────────────── */
.padya-block {
.padya-block {
   display: block; font-size: 1em; line-height: 1.75; color: #c65 !important;
   display: block; font-size: 1em; line-height: 1.75; color: #c65 !important;
   font-style: italic; font-weight: 500; margin: 0.4em 0 0.6em 60px;
   font-weight: 500; margin: 0.4em 0 0.6em 60px;
}
}
.gr-padapatha { font-size: 0.9em; color: #555; margin: 0.2em 0 0.3em 0.8em; }
.gr-padapatha { font-size: 0.9em; color: #555; margin: 0.2em 0 0.3em 0.8em; }
Line 322: Line 322:
/* ── 14. TEEKA ─────────────────────────────────────────────────── */
/* ── 14. TEEKA ─────────────────────────────────────────────────── */
.teeka-block {
.teeka-block {
   padding: 6px 10px 8px; margin: 0.3em 0; line-height: 1.6; color: #555;
   padding: 6px 10px 8px; margin: 0.3em 0; line-height: 1.6; color: #555; background: #fcf5f3;
    border-radius: 12px;
}
}
.teeka-title {
.teeka-title {
   font-family: 'AdishilaDev';, sans-serif !important;
   font-family: 'AdishilaDev';, sans-serif !important;
   font-size: 1.75em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
   font-size: 0.75em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
   margin-bottom: 4px; padding-bottom: 3px;
   margin-bottom: 4px; padding-bottom: 3px;
}
}
Line 332: Line 333:
   margin: 0.4em 0; padding: 0.3em 0.6em; font-family: 'AdishilaDev';
   margin: 0.4em 0; padding: 0.3em 0.6em; font-family: 'AdishilaDev';
}
}
.teeka-body .shloka-line { font-style: italic; font-size: 0.97em; font-family: 'AdishilaDev'; }
.teeka-body .shloka-line { font-size: 0.97em; font-family: 'AdishilaDev'; }


/* ── 15. PRATEEKA / MOOLA ──────────────────────────────────────── */
/* ── 15. PRATEEKA / MOOLA ──────────────────────────────────────── */
Line 340: Line 341:
   text-align: center; color: #333; margin: 0.7em 0 0.3em; line-height: 1.5;
   text-align: center; color: #333; margin: 0.7em 0 0.3em; line-height: 1.5;
}
}
.gr-moola { font-weight: bold; font-style: italic; color: #c65; }
.gr-moola { font-weight: bold; color: #c65; }


/* ── 16. ADHYAYA ───────────────────────────────────────────────── */
/* ── 16. ADHYAYA ───────────────────────────────────────────────── */
Line 366: Line 367:
/* ── 18. VYAKHYA ELEMENTS ──────────────────────────────────────── */
/* ── 18. VYAKHYA ELEMENTS ──────────────────────────────────────── */
.gr-vyakhya-head, .gr-section-head {
.gr-vyakhya-head, .gr-section-head {
   font-size: 0.9em; font-weight: 700; color: #6a3e00;
   font-size: 0.9em; font-weight: 700; color: var(--orange);
   margin: 0.35em 0 0.15em; font-family: inherit; border: none; padding: 0;
   margin: 0.35em 0 0.15em; font-family: inherit; border: none; padding: 0;
}
}
.gr-avataranika {
.gr-avataranika {
   font-style: italic; color: #444; margin: 0.2em 0 0.5em 0.5em;
   color: #444; margin: 0.2em 0 0.5em 0.5em;
   padding-left: 0.6em; border-left: 2px solid #c9a96e; line-height: 1.6;
   padding-left: 0.6em; border-left: 2px solid #c9a96e; line-height: 1.6;
}
}
Line 385: Line 386:
.gr-embedded-bhashya { margin: 0.2em 0 0.2em 1em; line-height: 1.6; }
.gr-embedded-bhashya { margin: 0.2em 0 0.2em 1em; line-height: 1.6; }
.gr-gadya {
.gr-gadya {
   display: block !important; font-size: 0.96em !important; font-weight: 600 !important;
   display: block !important; font-size: 0.96em !important;}
  font-style: normal !important; color: #555 !important; margin: 16px 0 4px !important;
  border-bottom: 1px solid #ddd !important; width: 60%; line-height: 1.5 !important;
}
.gr-author-note {
.gr-author-note {
   font-style: italic; color: var(--maroon); text-align: center; font-size: 0.9em;
   font-style: italic; color: var(--maroon); text-align: center; font-size: 0.9em;
   margin: 0.8em 0 0.4em 0; border-top: 1px solid #ddd; padding-top: 0.4em; font-family: 'AdishilaDev'
   margin: 0.8em 0 0.4em 0; border-top: 1px solid #ddd; padding-top: 0.4em; font-family: 'AdishilaDev'
}
}
.gr-devatachandas { font-size: 0.82em; color: #777; margin: 0.4em 0 0.2em 0; }
.gr-devatachandas {    
.gr-vargikarana  { font-size: 0.82em; color: #888; margin: 0.5em 0 0.1em 0; }
    font-size: 1em;
    color: #f77628;
    font-weight: 500;
    margin-top: 10px;
    text-align: center; }
.gr-vargikarana  {    
    font-size: 1em;
    color: #f77628;
    font-weight: 500;
    margin-top: 10px;
    text-align: center; }


/* ── 20. BHASHYA COLLECTION ────────────────────────────────────── */
/* ── 20. BHASHYA COLLECTION ────────────────────────────────────── */
Line 542: Line 550:
   width: 100% !important;
   width: 100% !important;
}
}
.skin-minerva .bhashyam-block { margin-left: 16px !important; }
.skin-minerva .prasna-answer  { margin-left: 16px !important; }
.skin-minerva .padya-block    { margin-left: 16px !important; }
/* Home grid single column on Minerva */
/* Home grid single column on Minerva */
.skin-minerva .gr-home-grid {
.skin-minerva .gr-home-grid {
Line 681: Line 686:
/* Reference — orange, AdishilaDev */
/* Reference — orange, AdishilaDev */
.gr-reference {
.gr-reference {
  color: #e65100;
   font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; color: var(--maroon);
   font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif;
}
}


Line 701: Line 705:
.skin-minerva header.header-container {
.skin-minerva header.header-container {
   background: #b5451b !important;
   background: #b5451b !important;
   position: sticky !important;
   position: fixed !important;
   top: 0 !important;
   top: 0 !important;
   z-index: 200 !important;
   z-index: 200 !important;
Line 921: Line 925:
     outline: none; border-color: #4A433A;
     outline: none; border-color: #4A433A;
}
}
/* Search Results Bar styles */
.gr-search-hl-mobile {
    position: fixed;
    top: 105px;
    left: 0px;
    right: 0px;
    z-index: 10200;
    background: rgb(181, 69, 27);
    color: rgb(255, 255, 255);  display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: "Noto Sans Devanagari", system-ui, sans-serif;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08) !important;
    height: 52px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08) !important;
    padding: 5px 4px !important;
    gap: 20px !important;
}
.gr-search-hl-mobile .gr-search-bar-btn {
  height: 48px;
  width: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.15s;
  color: #fff;
  font-size: 12px;
  font-family: "Noto Sans Devanagari";
  gap: 8px;
  white-space: nowrap;
}
/* Welcome Page */
/* Hide all chrome on Welcome */
body.page-Welcome #mw-navigation,
body.page-Welcome #mw-panel,
body.page-Welcome #footer,
body.page-Welcome .mw-footer,
body.page-Welcome #siteSub,
body.page-Welcome #contentSub,
body.page-Welcome #firstHeading,
body.page-Welcome .mw-page-title-main,
body.page-Welcome .mw-indicators,
body.page-Welcome .vector-header,
body.page-Welcome .vector-page-toolbar,
body.page-Welcome .vector-sticky-header,
body.page-Welcome .mw-page-container,
body.page-Welcome #gr-static-bar,
body.page-Welcome #se-docnav-btn,
body.page-Welcome #gra-toggle,
body.page-Welcome #se-scrolltop {
  display: none !important;
}
body.page-Welcome .mw-page-container
/* Put the banner directly on the body of the Welcome page */
body.page-Welcome {
  background-image: url('/images/banner.jpeg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-color: #3a0d0d !important;
  cursor: pointer;
}
/* Make the content area transparent so the body banner shows through */
body.page-Welcome #content,
body.page-Welcome .mw-body,
body.page-Welcome #mw-content-text,
body.page-Welcome .mw-parser-output,
body.page-Welcome #bodyContent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 100vh;
}
/* Kill the white everywhere it's painted */
body.page-Welcome,
body.page-Welcome .mw-page-container,
body.page-Welcome .mw-page-container-inner,
body.page-Welcome .mw-content-container,
body.page-Welcome #content,
body.page-Welcome .mw-body,
body.page-Welcome #mw-content-text,
body.page-Welcome .mw-parser-output,
body.page-Welcome #bodyContent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Put the banner on the body and force it full height */
body.page-Welcome {
  background-image: url('/images/banner.jpeg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-color: #3a0d0d !important;
  min-height: 100vh !important;
  cursor: pointer;
}
/* ---- Minerva (mobile) splash for Welcome ---- */
/* Hide all chrome on Welcome */
body.skin-minerva.page-Welcome .header-container,
body.skin-minerva.page-Welcome .minerva-header,
body.skin-minerva.page-Welcome #mw-mf-page-center > .header-container,
body.skin-minerva.page-Welcome .banner-container,
body.skin-minerva.page-Welcome .pre-content,
body.skin-minerva.page-Welcome #page-actions,
body.skin-minerva.page-Welcome .page-actions-menu,
body.skin-minerva.page-Welcome .last-modified-bar,
body.skin-minerva.page-Welcome .post-content,
body.skin-minerva.page-Welcome #footer,
body.skin-minerva.page-Welcome .minerva-footer,
body.skin-minerva.page-Welcome .navigation-drawer,
body.skin-minerva.page-Welcome .mw-page-title-main,
body.skin-minerva.page-Welcome #section_0,
body.skin-minerva.page-Welcome .pre-content .mw-ui-icon,
body.skin-minerva.page-Welcome h1.mw-first-heading {
  display: none !important;
}
/* Kill white on all Minerva container surfaces */
body.skin-minerva.page-Welcome,
body.skin-minerva.page-Welcome #mw-mf-viewport,
body.skin-minerva.page-Welcome #mw-mf-page-center,
body.skin-minerva.page-Welcome #content,
body.skin-minerva.page-Welcome .mw-body,
body.skin-minerva.page-Welcome #mw-content-text,
body.skin-minerva.page-Welcome .mw-parser-output,
body.skin-minerva.page-Welcome #bodyContent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Put the banner on the body, full height */
body.skin-minerva.page-Welcome {
  background-image: url('/images/banner.jpeg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #3a0d0d !important;
  min-height: 100vh !important;
  cursor: pointer;
}
/* from LocalSettings line 393 */
/* ===== HAMBURGER / SIDEBAR ===== */
#mw-sidebar-button,
.vector-main-menu,
.vector-main-menu-container,
.vector-main-menu-landmark,
#vector-main-menu-dropdown {
    display:none !important;
}
/* ===== FOOTER ===== */
#footer,
.mw-footer,
footer {
    display:none !important;
}
/* ===== LOGIN / SIGNUP PAGE CLEANUP ===== */
body.page-Special_UserLogin #mw-sidebar-button,
body.page-Special_UserLogin .vector-main-menu,
body.page-Special_UserLogin .vector-page-toolbar,
body.page-Special_UserLogin .vector-page-tools,
body.page-Special_CreateAccount #mw-sidebar-button,
body.page-Special_CreateAccount .vector-main-menu,
body.page-Special_CreateAccount .vector-page-toolbar,
body.page-Special_CreateAccount .vector-page-tools,
body.page-Special_PasswordReset #mw-sidebar-button,
body.page-Special_PasswordReset .vector-main-menu,
body.page-Special_PasswordReset .vector-page-toolbar,
body.page-Special_PasswordReset .vector-page-tools {
    display:none !important;
}
/* from LocalSettings line 436 */
/* Kill every possible appearance container */
#vector-appearance,
#vector-appearance-dropdown,
#vector-appearance-pinned-container,
#vector-appearance-unpinned-container,
[id*="appearance-dropdown"],
[id*="appearance"][class*="vector"],
.vector-dropdown[title*="Appearance"],
.vector-dropdown[title*="appearance"] {
    display:none !important;
    visibility:hidden !important;
    width:0 !important;
    height:0 !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
}
/* Remove empty slot in header */
.vector-page-tools,
.vector-page-toolbar,
.vector-header-end {
    gap:0 !important;
}
/* from LocalSettings line 469 */
/* Login page only */
body.page-Special_UserLogin .vector-search-box,
body.page-Special_UserLogin #p-search,
body.page-Special_UserLogin .search-toggle,
body.page-Special_UserLogin .vector-search-box-vue {
    display:none !important;
}
/* Show site wordmark/logo if hidden */
body.page-Special_UserLogin .mw-logo,
body.page-Special_UserLogin .vector-logo,
body.page-Special_UserLogin .vector-header-start {
    display:flex !important;
    visibility:visible !important;
}
/* Cleaner top bar */
body.page-Special_UserLogin .vector-header {
    justify-content:space-between !important;
    padding:0 16px !important;
}
/* Match Main_Page branded header bar */
body.page-Special_UserLogin .vector-header-container .mw-header {
    background: #b5451b !important;
}
body.page-Special_UserLogin .mw-logo-wordmark,
body.page-Special_UserLogin .mw-logo-wordmark strong {
    color: #fff !important;
}
body.page-Special_UserLogin .mw-logo-container {
    color: #fff !important;
}
/* Single logo: favicon only (no quill gr-header-icon) */
body.page-Special_UserLogin .gr-header-icon {
    display: none !important;
}
body.page-Special_UserLogin .mw-logo-icon {
    display: inline-block !important;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}
/* Hide Create Account and Login Links in header starts */
body.page-Special_UserLogin .vector-header-end {
    display: none !important;
}
/* Hide Create Account and Login Links in header end */
/* from LocalSettings line 530 */
body.page-Special_PasswordReset .vector-search-box,
body.page-Special_PasswordReset #p-search,
body.page-Special_PasswordReset .search-toggle,
body.page-Special_PasswordReset .vector-search-box-vue {
    display:none !important;
}
body.page-Special_PasswordReset .mw-logo,
body.page-Special_PasswordReset .vector-logo,
body.page-Special_PasswordReset .vector-header-start {
    display:flex !important;
    visibility:visible !important;
}
body.page-Special_PasswordReset .vector-header {
    justify-content:space-between !important;
    padding:0 16px !important;
}
body.page-Special_PasswordReset .vector-header-container .mw-header {
    background: #b5451b !important;
}
body.page-Special_PasswordReset .mw-logo-wordmark,
body.page-Special_PasswordReset .mw-logo-wordmark strong {
    color: #fff !important;
}
body.page-Special_PasswordReset .mw-logo-container {
    color: #fff !important;
}
body.page-Special_PasswordReset .gr-header-icon {
    display: none !important;
}
body.page-Special_PasswordReset .mw-logo-icon {
    display: inline-block !important;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}
body.page-Special_PasswordReset .vector-header-end {
    display: none !important;
}
body.page-Special_PasswordReset .vector-page-toolbar {
    display: none !important;
}
/* from LocalSettings line 584 */
body.page-Special_CreateAccount .vector-search-box,
body.page-Special_CreateAccount #p-search,
body.page-Special_CreateAccount .search-toggle,
body.page-Special_CreateAccount .vector-search-box-vue {
    display:none !important;
}
body.page-Special_CreateAccount .mw-logo,
body.page-Special_CreateAccount .vector-logo,
body.page-Special_CreateAccount .vector-header-start {
    display:flex !important;
    visibility:visible !important;
}
body.page-Special_CreateAccount .vector-header {
    justify-content:space-between !important;
    padding:0 16px !important;
}
body.page-Special_CreateAccount .vector-header-container .mw-header {
    background: #b5451b !important;
}
body.page-Special_CreateAccount .mw-logo-wordmark,
body.page-Special_CreateAccount .mw-logo-wordmark strong {
    color: #fff !important;
}
body.page-Special_CreateAccount .mw-logo-container {
    color: #fff !important;
}
body.page-Special_CreateAccount .gr-header-icon {
    display: none !important;
}
body.page-Special_CreateAccount .mw-logo-icon {
    display: inline-block !important;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}
body.page-Special_CreateAccount .vector-header-end {
    display: none !important;
}
/* from LocalSettings line 635 */
body.page-Special_UserLogin {
    background: #FAF6EE !important;
}
body.page-Special_UserLogin .mw-page-container,
body.page-Special_UserLogin .mw-page-container-inner,
body.page-Special_UserLogin .mw-body {
    background: transparent !important;
}
body.page-Special_UserLogin .mw-body-header,
body.page-Special_UserLogin .vector-page-titlebar,
body.page-Special_UserLogin #firstHeading {
    display: none !important;
}
body.page-Special_UserLogin #content {
    max-width: 440px !important;
    margin: 28px auto 48px !important;
    padding: 0 16px !important;
    float: none !important;
}
body.page-Special_UserLogin #bodyContent,
body.page-Special_UserLogin .mw-body-content {
    margin: 0 !important;
    padding: 0 !important;
}
body.page-Special_UserLogin #userloginprompt:empty {
    display: none !important;
}
body.page-Special_UserLogin .mw-body-content > .mw-ui-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1);
    padding: 32px 32px 28px;
    box-sizing: border-box;
}
body.page-Special_UserLogin .mw-body-content > .mw-ui-container::before {
    content: "Login/Signup";
    display: block;
    text-align: center;
    font-size: 24px;
    color: #1C1A17;
    margin-bottom: 22px;
    font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body.page-Special_UserLogin #userloginForm,
body.page-Special_UserLogin #userloginForm form {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_UserLogin .mw-htmlform {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_UserLogin .mw-htmlform-field {
    margin-bottom: 18px;
}
body.page-Special_UserLogin .cdx-label,
body.page-Special_UserLogin .mw-htmlform-field > label {
    display: block;
    font-size: 0.875rem;
    color: #1C1A17;
    margin-bottom: 6px;
    font-family: Noto Sans Devanagari UI, system-ui, -apple-system, sans-serif;
}
/* Codex: border on wrapper only (inner input has its own border = double line) */
body.page-Special_UserLogin .cdx-text-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    min-height: 46px;
}
body.page-Special_UserLogin .cdx-text-input__input {
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    min-height: 44px;
}
body.page-Special_UserLogin .cdx-text-input:focus-within {
    border-color: #ffffff !important;
    box-shadow: rgba(177, 74, 46, 0.1) !important;
}
body.page-Special_UserLogin .cdx-text-input__input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
/* Fallback if inputs are not wrapped in Codex */
body.page-Special_UserLogin input#wpName1,
body.page-Special_UserLogin input#wpPassword1 {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    min-height: 46px;
}
body.page-Special_UserLogin input#wpName1:focus,
body.page-Special_UserLogin input#wpPassword1:focus {
    outline: none !important;
    border-color: #b5451b !important;
    box-shadow: rgba(177, 74, 46, 0.1) !important;
}
body.page-Special_UserLogin .mw-userlogin-rememberme {
    display: none !important;
}
body.page-Special_UserLogin .gr-login-forgot-password {
    text-align: left;
    margin: 2px 0 14px;
    padding: 0;
}
body.page-Special_UserLogin .gr-login-forgot-password a {
    color: #b5451b !important;
    font-weight: 600 !important;
    font-size: 0.9rem;
    text-decoration: none !important;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_UserLogin .gr-login-forgot-password a:hover {
    text-decoration: underline !important;
}
body.page-Special_UserLogin .mw-htmlform-field:has(#wpLoginAttempt),
body.page-Special_UserLogin .mw-htmlform-submit {
    margin-top: 8px;
    margin-bottom: 0;
}
body.page-Special_UserLogin #wpLoginAttempt,
body.page-Special_UserLogin #wpLoginAttempt.cdx-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #b5451b !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 20px !important;
    min-height: 48px;
    cursor: pointer;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_UserLogin #wpLoginAttempt:hover {
    background: #A33C20 !important;
}
body.page-Special_UserLogin .mw-userlogin-help,
body.page-Special_UserLogin .mw-form-related-link-container,
body.page-Special_UserLogin #mw-createaccount,
body.page-Special_UserLogin #mw-createaccount-cta {
    font-size: 0.9rem;
    margin-top: 12px;
}
body.page-Special_UserLogin .mw-userlogin-help a,
body.page-Special_UserLogin .mw-form-related-link-container a,
body.page-Special_UserLogin #mw-createaccount a,
body.page-Special_UserLogin #mw-createaccount-cta a {
    color: #b5451b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
body.page-Special_UserLogin .mw-userlogin-help a:hover,
body.page-Special_UserLogin .mw-form-related-link-container a:hover,
body.page-Special_UserLogin #mw-createaccount a:hover,
body.page-Special_UserLogin #mw-createaccount-cta a:hover {
    text-decoration: underline !important;
}
body.page-Special_UserLogin .cdx-message,
body.page-Special_UserLogin .mw-message-box {
    border-radius: 10px;
    margin-bottom: 16px;
}
body.page-Special_UserLogin .gr-google-login {
    margin: 20px 0 4px;
    padding: 0;
}
body.page-Special_UserLogin .gr-google-login-icon {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    margin-top: -3px;
}
body.page-Special_UserLogin .gr-google-login-icon svg {
    display: block;
}
body.page-Special_UserLogin .gr-google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #F3F4F6;
    color: #1C1A17;
    font-size: 14px;
    text-decoration: none !important;
    font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}
body.page-Special_UserLogin .gr-google-login-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
body.page-Special_UserLogin .gr-google-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 16px;
    color: #F4ECDF;
    font-size: 14px;
    font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}
body.page-Special_UserLogin .gr-google-login-divider::before,
body.page-Special_UserLogin .gr-google-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #F4ECDF;
}
.gr-phone-row { margin-bottom: 12px; }
.gr-phone-label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 6px;
}
.gr-phone-inputs {
    display: flex;
    gap: 8px;
    align-items: stretch;
    height: 48px;
    position: relative;
    font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.gr-phone-country { width: 101px; border-radius: 12px; padding: 12px; gap: 8px; border: 1px solid #CED4DA;}
.gr-phone-national { flex: 1; border-radius: 12px; padding: 12px; border: 1px solid #CED4DA;}
/* ── Country trigger button ── */
.gr-country-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 101px;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #CED4DA;
    white-space: nowrap;
    background: #fff;
}
.gr-country-trigger:hover { border-color: #72777d; }
.gr-trigger-flag { font-size: 1.3rem; line-height: 1; }
.gr-trigger-dial { font-size: 0.9rem; color: #54595d; }
.gr-trigger-caret { font-size: 0.7rem; color: #54595d; }
/* ── Dropdown ── */
.gr-country-dropdown {
    position: absolute;
    top: calc(100% + 4px); left: 0;
    z-index: 9999;
    width: 280px;
    background: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.gr-country-search {
    width: 100%; box-sizing: border-box;
    padding: 8px 12px;
    border: none; border-bottom: 1px solid #eee;
    font-size: 0.9rem; outline: none;
}
.gr-country-list { max-height: 240px; overflow-y: auto; }
.gr-country-option {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; cursor: pointer; font-size: 0.9rem;
}
.gr-country-option:hover { background: #f8f9fa; }
.gr-country-flag { font-size: 1.2rem; flex-shrink: 0; }
.gr-country-name { flex: 1; color: #202122; }
.gr-country-dial { color: #54595d; font-size: 0.85rem; }
.gr-phone-national:focus {
    outline: none; border-color: #4A433A;
}
/* OTP verification screen */
#gr-otp-screen { padding: 8px 0; }
.gr-otp-title { font-size: 24px; font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif; text-align: center; margin-bottom: 12px; color: #1C1A17}
.gr-otp-desc { font-size: 16px; text-align: center; color: #1C1A17; margin-bottom: 20px; line-height: 1.5; font-family: "Noto Sans Devanagari" }
.gr-otp-label { display: block; font-size: 16px; margin-bottom: 8px;  font-family: "Noto Sans Devanagari"; color: #1C1A17}
.gr-otp-boxes {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}
.gr-otp-box {
    flex: 1;
    min-width: 0;
    max-width: 52px;
    width: 52px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    border: 1px solid #CED4DA;
    border-radius: 12px;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}
.gr-otp-box:focus { border-color: #4A433A; }
.gr-continue-btn:not(:disabled):hover { background: #B14A2E; }
.gr-continue-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.gr-resend-row { text-align: center; font-size: 14px; color: #54595d; }
.gr-link-btn {
    background: none; border: none; padding: 0;
    color: #B14A2E; cursor: pointer; font-size: inherit;
    text-decoration: none;
}
.gr-link-btn:hover { text-decoration: underline; }
/* Login button on phone screen */
.gr-login-btn, .gr-continue-btn {
    width: 100%; padding: 16px 8px; border: none; gap: 8px;
    border-radius: 12px; background: #B14A2E;
    color: #fff; font-size: 16px; font-weight: 500;
    cursor: pointer; font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}
.gr-login-btn:hover { background: #993C1D; }
.gr-otp-hidden-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}
.gr-otp-error {
    background: #fce8e8;
    border: 1px solid #e57373;
    border-radius: 6px;
    color: #b71c1c;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
}
    .gr-login-checks{display:flex;justify-content: space-between; gap:8px;margin:12px 0;}
.gr-check-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#1C1A17;cursor:pointer; font-family: "Noto Sans Devanagari"}
.gr-check-label input{width:16px;height:16px;accent-color:#B14A2E;cursor:pointer; font-family: "Noto Sans Devanagari"}
   
@media (max-width: 480px) {
    body.page-Special_UserLogin .mw-body-content > .mw-ui-container {
        padding: 24px 20px 20px;
        border-radius: 12px;
    }
    body.page-Special_UserLogin #content {
        margin: 16px auto 32px !important;
        padding: 0 12px !important;
    }
}
/* from LocalSettings line 1021 */
body.page-Special_PasswordReset {
    background: #FAF6EE !important;
}
body.page-Special_PasswordReset .mw-page-container,
body.page-Special_PasswordReset .mw-page-container-inner,
body.page-Special_PasswordReset .mw-body {
    background: transparent !important;
}
body.page-Special_PasswordReset .mw-body-header,
body.page-Special_PasswordReset .vector-page-titlebar,
body.page-Special_PasswordReset #firstHeading {
    display: none !important;
}
body.page-Special_PasswordReset #content {
    max-width: 440px !important;
    margin: 28px auto 48px !important;
    padding: 0 16px !important;
    float: none !important;
}
body.page-Special_PasswordReset #bodyContent,
body.page-Special_PasswordReset .mw-body-content {
    margin: 0 !important;
    padding: 0 !important;
}
body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1);
    padding: 32px 32px 28px;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper::before {
    content: "Reset password";
    display: block;
    text-align: center;
    font-size: 1.65rem;
    font-weight: 700;
    color: #2d2348;
    margin-bottom: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body.page-Special_PasswordReset .mw-htmlform-ooui-header {
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_PasswordReset .mw-htmlform-ooui-header p {
    margin: 0;
}
body.page-Special_PasswordReset .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout {
    margin-bottom: 18px;
}
body.page-Special_PasswordReset .oo-ui-fieldLayout-header .oo-ui-labelElement-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_PasswordReset .oo-ui-textInputWidget .oo-ui-inputWidget-input {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    min-height: 46px;
    background: #fff !important;
}
body.page-Special_PasswordReset .oo-ui-textInputWidget.oo-ui-widget-focus .oo-ui-inputWidget-input {
    border-color: #b5451b !important;
    box-shadow: rgba(177, 74, 46, 0.1) !important;
}
body.page-Special_PasswordReset .oo-ui-fieldLayout-field {
    width: 100% !important;
}
body.page-Special_PasswordReset .oo-ui-textInputWidget {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_PasswordReset .mw-htmlform-submit-buttons {
    margin-top: 8px;
    width: 100% !important;
}
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement,
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonInputWidget {
    width: 100% !important;
    display: block !important;
}
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement-button {
    width: 100% !important;
    justify-content: center;
    background: #b5451b !important;
    border-color: #b5451b !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 20px !important;
    min-height: 48px;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement-button:hover {
    background: #A33C20 !important;
    border-color: #A33C20 !important;
}
body.page-Special_PasswordReset .gr-passwordreset-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0eef5;
    font-size: 0.9rem;
    color: #6b7280;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_PasswordReset .gr-passwordreset-footer a {
    color: #b5451b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
body.page-Special_PasswordReset .gr-passwordreset-footer a:hover {
    text-decoration: underline !important;
}
body.page-Special_PasswordReset .cdx-message,
body.page-Special_PasswordReset .mw-message-box,
body.page-Special_PasswordReset .successbox,
body.page-Special_PasswordReset .warningbox,
body.page-Special_PasswordReset .errorbox {
    border-radius: 10px;
    margin-bottom: 16px;
}
@media (max-width: 480px) {
    body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper {
        padding: 24px 20px 20px;
        border-radius: 12px;
    }
    body.page-Special_PasswordReset #content {
        margin: 16px auto 32px !important;
        padding: 0 12px !important;
    }
}
/* from LocalSettings line 1197 */
body.page-Special_CreateAccount {
    background: #FAF6EE !important;
}
body.page-Special_CreateAccount .mw-page-container,
body.page-Special_CreateAccount .mw-page-container-inner,
body.page-Special_CreateAccount .mw-body {
    background: transparent !important;
}
body.page-Special_CreateAccount .mw-body-header,
body.page-Special_CreateAccount .vector-page-titlebar,
body.page-Special_CreateAccount #firstHeading {
    display: none !important;
}
body.page-Special_CreateAccount #content {
    max-width: 440px !important;
    margin: 28px auto 48px !important;
    padding: 0 16px !important;
    float: none !important;
}
body.page-Special_CreateAccount #bodyContent,
body.page-Special_CreateAccount .mw-body-content {
    margin: 0 !important;
    padding: 0 !important;
}
body.page-Special_CreateAccount .vector-page-toolbar {
    display: none !important;
}
body.page-Special_CreateAccount .mw-body-content > .mw-ui-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1);
    padding: 32px 32px 28px;
    box-sizing: border-box;
}
body.page-Special_CreateAccount .mw-body-content > .mw-ui-container::before {
    content: "Create account";
    display: block;
    text-align: center;
    font-size: 1.65rem;
    font-weight: 700;
    color: #2d2348;
    margin-bottom: 22px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body.page-Special_CreateAccount #signupstart {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 16px;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount .mw-createacct-benefits-container {
    display: none !important;
}
body.page-Special_CreateAccount #userloginForm,
body.page-Special_CreateAccount #userloginForm form {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_CreateAccount .mw-htmlform {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-Special_CreateAccount .mw-htmlform-field {
    margin-bottom: 18px;
}
body.page-Special_CreateAccount .cdx-label,
body.page-Special_CreateAccount .mw-htmlform-field > label {
    display: block;
    font-size: 0.875rem;
    color: #1C1A17;
    margin-bottom: 6px;
    font-family: Noto Sans Devanagari UI, system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount .cdx-text-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    min-height: 46px;
}
body.page-Special_CreateAccount .cdx-text-input__input {
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    min-height: 44px;
}
body.page-Special_CreateAccount .cdx-field__help-text,
body.page-Special_CreateAccount .htmlform-tip {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 6px;
    line-height: 1.4;
}
body.page-Special_CreateAccount .cdx-text-input:focus-within {
    border-color: #b5451b !important;
    box-shadow: rgba(177, 74, 46, 0.1) !important;
}
body.page-Special_CreateAccount .cdx-text-input__input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
body.page-Special_CreateAccount input#wpName2,
body.page-Special_CreateAccount input#wpPassword2,
body.page-Special_CreateAccount input#wpRetype,
body.page-Special_CreateAccount input#wpEmail {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    min-height: 46px;
}
body.page-Special_CreateAccount input#wpName2:focus,
body.page-Special_CreateAccount input#wpPassword2:focus,
body.page-Special_CreateAccount input#wpRetype:focus,
body.page-Special_CreateAccount input#wpEmail:focus {
    outline: none !important;
    border-color: #b5451b !important;
    box-shadow: rgba(177, 74, 46, 0.1) !important;
}
body.page-Special_CreateAccount .mw-htmlform-field:has(#wpCreateaccount),
body.page-Special_CreateAccount .mw-htmlform-submit {
    margin-top: 8px;
    margin-bottom: 0;
}
body.page-Special_CreateAccount #wpCreateaccount,
body.page-Special_CreateAccount #wpCreateaccount.cdx-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #b5451b !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 20px !important;
    min-height: 48px;
    cursor: pointer;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount #wpCreateaccount:hover {
    background: #A33C20 !important;
}
body.page-Special_CreateAccount .gr-login-signup-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0eef5;
}
body.page-Special_CreateAccount .gr-login-signup-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount .gr-login-signup-link {
    color: #b5451b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
body.page-Special_CreateAccount .gr-login-signup-link:hover {
    text-decoration: underline !important;
}
body.page-Special_CreateAccount #signupend,
body.page-Special_CreateAccount .mw-form-related-link-container {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 14px;
    line-height: 1.5;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount #signupend a,
body.page-Special_CreateAccount .mw-form-related-link-container a {
    color: #b5451b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
body.page-Special_CreateAccount #signupend a:hover,
body.page-Special_CreateAccount .mw-form-related-link-container a:hover {
    text-decoration: underline !important;
}
body.page-Special_CreateAccount .cdx-message,
body.page-Special_CreateAccount .mw-message-box {
    border-radius: 10px;
    margin-bottom: 16px;
}
body.page-Special_CreateAccount .gr-google-login {
    margin: 20px 0 4px;
    padding: 0;
}
body.page-Special_CreateAccount .gr-google-login-icon {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}
body.page-Special_CreateAccount .gr-google-login-icon svg {
    display: block;
}
body.page-Special_CreateAccount .gr-google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #2d2348;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount .gr-google-login-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
body.page-Special_CreateAccount .gr-google-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 16px;
    color: #9ca3af;
    font-size: 0.85rem;
    font-family: system-ui, -apple-system, sans-serif;
}
body.page-Special_CreateAccount .gr-google-login-divider::before,
body.page-Special_CreateAccount .gr-google-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
    .page-Special_UserLogin #mw-mf-page-center,
.page-Special_UserLogin .mw-mf-page-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}
.page-Special_UserLogin .mw-ui-container {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}
   
@media (max-width: 480px) {
    body.page-Special_CreateAccount .mw-body-content > .mw-ui-container {
        padding: 24px 20px 20px;
        border-radius: 12px;
    }
    body.page-Special_CreateAccount #content {
        margin: 16px auto 32px !important;
        padding: 0 12px !important;
    }
}
/* from LocalSettings line 1484 */
.vector-page-toolbar,
        .vector-page-toolbar-container,
        .mw-page-container {
            border-top: 0 !important;
            box-shadow: none !important;
        }
        .vector-page-toolbar {
            display:none !important;
        }
        .mw-body {
            margin-top:0 !important;
            padding-top:0 !important;
        }
/* from LocalSettings line 1525 */
.mw-logo-wordmark,
.vector-header-start a.mw-wiki-title {
    display: flex !important;
    flex-direction: column !important;
}
.mw-logo-wordmark::after,
.vector-header-start a.mw-wiki-title::after {
    content: "A Digital Archive of Dvaita Vedanta Literature";
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin-top: 1px;
    font-family: sans-serif;
}
/* ===== namespace toolbar hiding (was BeforePageDisplay line 1484) =====
  Original: hide top toolbar on all namespaces EXCEPT Special, Template, MediaWiki.
  MediaWiki adds body classes ns-0, ns-10 (Template), ns-8 (MediaWiki), ns--1 (Special).
  So: hide globally, then re-show on the allowed namespaces. */
.vector-page-toolbar,
.vector-page-toolbar-container,
.mw-page-container { border-top: 0 !important; box-shadow: none !important; }
.vector-page-toolbar { display: none !important; }
.mw-body { margin-top: 0 !important; padding-top: 0 !important; }
/* re-show toolbar on Special / Template / MediaWiki namespaces */
body.ns--1 .vector-page-toolbar,
body.ns-10 .vector-page-toolbar,
body.ns-8  .vector-page-toolbar { display: block !important; }