/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 16 2026 | 00:33:44 */
/* ==========================================================
   FIN — GLOBAL | FEATURE INDEX
   Version: 1.0.2 TEST — 1200px Standard
   ==========================================================

   PORTAL CANVAS / LAYOUT
   - Standard SureDash normal container width: 1200px
   - Allow portal content wrapper to shrink without overflow

   LOGIN / REGISTRATION
   - Hide "Don't have an account? Sign up" footer
   - Preserve normal login and password recovery controls

   MOBILE SPACING / SHARED GUTTERS
   - Standard 12px mobile gutter variable
   - --fin-mobile-gutter defined in Global
   - Used by Feed, Featured FIN via Feed,
     Member Directory, Profiles and Single Events

   BETTER MESSAGES / MOBILE GIF BUTTON — v0.1.0 TEST
   - Replace native smiley artwork with outlined GIF badge
     on coarse-pointer/touch devices
   - Preserve native emoji/GIF picker functionality
   - Keep original smiley icon on standard desktop
   - GIF badge: 27px x 20px, 2px border, 3px radius
   - Presentation-only CSS; no JavaScript or picker overrides
   - Custom Emoji/GIF snippet #131 remains INACTIVE
   - Avatar Sync #130 remains ACTIVE
   - Separate from SureDash GIF styling in Feed CSS #142
   - STATUS: Proposed; mobile/PWA verification pending

   PRIMARY ACTION BUTTONS — v0.1.2 TEST
   - Bold uppercase primary buttons
   - FIN cyan hover

   SUREDASH COPY URL MENU POLISH — v0.1.0 TEST
   - Hide native Copy URL in post/comment menus
   - Hide three-dot triggers with no remaining actions
   - Retain Edit, Delete, Move, Pin, Bookmark
   - Preserve dynamically positioned comment dropdowns
   - No changes to actual URLs, routes or permissions

   ========================================================== */


/* =========================================
   PORTAL CANVAS — SHARED VARIABLES
   ========================================= */

:root {
    --portal-normal-container-width: 1200px;
    --fin-mobile-gutter: 12px;
}


/* =========================================
   PORTAL CONTENT — MINIMUM WIDTH FIX
   ========================================= */

.portal-container .portal-no-space-wrapper {
    min-width: 0 !important;
}


/* =========================================
   SUREDASH LOGIN — HIDE REGISTRATION
   ========================================= */

.wp-block-suredash-login__footer {
    display: none !important;
}


/* =========================================
   FIN — BETTER MESSAGES MOBILE GIF LABEL
   v0.1.0 TEST
   ========================================= */

@media (hover: none) and (pointer: coarse) {

  .bm-composer .bm-composer__picker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bm-composer .bm-composer__picker svg {
    display: none !important;
  }

  .bm-composer .bm-composer__picker::after {
    content: "GIF";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 27px;
    height: 20px;
    padding: 0 2px;
    border: 2px solid currentColor;
    border-radius: 3px;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.3px;
    opacity: 0.65;
    margin-inline-end: 10px;
    pointer-events: none;
  }
}


/* =========================================
   FIN — PRIMARY ACTION BUTTONS
   v0.1.2 TEST — PRESERVED
   ========================================= */

body .portal-button.button-primary {
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

body .portal-button.button-primary:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #04E3FF !important;
    border-color: #04E3FF !important;
    color: #151515 !important;
}


/* =========================================
   FIN — SUREDASH COPY URL MENU POLISH
   v0.1.0 TEST — November 1, 2026

   Presentation only.
   Keep native menu rendering and actions.
   ========================================= */

/* Remove exactly the native Copy URL actions. */

.portal-post-dropdown > button.portal-thread-copy-url,
.portal-comment-dropdown > button.portal-thread-copy-url {
    display: none !important;
}


/* Hide a POST three-dot trigger only when
   its dropdown has no other action buttons. */

.portal-store-post-actions
.sd-flex:has(> .portal-post-dropdown):not(
  :has(.portal-post-dropdown > button:not(.portal-thread-copy-url))
)
> button.portal-post-menu-trigger {
    display: none !important;
}


/* Hide a COMMENT three-dot trigger only when
   the dropdown has no other action buttons.

   SureDash moves open comment dropdowns to
   document.body. The direct-child condition
   avoids hiding valid triggers while open.
*/

.portal-comment-actions:has(> .portal-comment-dropdown):not(
  :has(.portal-comment-dropdown > button:not(.portal-thread-copy-url))
)
> button.portal-comment-menu-trigger {
    display: none !important;
}




/* ==================================================
   FIN — Standalone Reading Width
   v0.1.2 TEST

   Individual community posts: 800px.
   Preserve feeds, collections, courses,
   events, and FIN Live.
   ================================================== */

/* Individual SureDash boxed posts only */
#portal-main-content
> .portal-content-area.sd-boxed-post {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Preserve the previously established reading variable */
body.single-community-post #portal-main-content,
body.postid-265 #portal-main-content,
body.single-portal #portal-main-content:has(
    > .portal-content-area.sd-boxed-post
):not(:has(
    .fin-live-room,
    .portal-event-content-wrapper
)) {
    --portal-content-width: 800px !important;
}


/* ==================================================
   FIN — Portal Login Button Text Color
   v0.1.0 TEST

   Keep FIN login button text charcoal.
   Override SureDash's default blue button text.
   Scoped to Portal Login page ID 6 only.
   ================================================== */

body.page-id-6 .wp-block-suredash-login .suredash-login-form-submit-button.wp-block-button__link,
body.page-id-6 .wp-block-suredash-login .suredash-login-form-submit-button.wp-block-button__link .label-wrap {
    color: #151515 !important;
}
