
      .spu-footer {
        background: linear-gradient(180deg, #193e50 0%, #123344 100%);
        background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(180deg, #193e50 0%, #123344 100%);
        background-size: 24px 24px, 100% 100%;
        color: #e2e8f0;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        border-top: 3px solid #64899c;
        position: relative;
        z-index: 90;
        box-sizing: border-box;
      }
      .spu-footer *, .spu-footer *::before, .spu-footer *::after {
        box-sizing: border-box;
      }
      /* Reduced padding for compact height */
      .spu-footer-top {
        /* Fill the available portal content width on every monitor. */
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 26px clamp(14px, 2vw, 38px) 20px;
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
        gap: clamp(12px, 1.6vw, 30px);
        align-items: start;
      }
      .spu-footer-col h4 {
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        margin: 0 0 12px 0;
        padding-bottom: 7px;
        border-bottom: 2px solid rgba(56, 189, 248, 0.25);
        display: flex;
        align-items: center;
        gap: 7px;
      }
      .spu-footer-col h4 i {
        color: #38bdf8;
        font-size: 14px;
      }
      .spu-brand-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 17px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 8px;
      }
      .spu-brand-title i {
        color: #38bdf8;
        font-size: 20px;
      }
      .spu-brand-desc {
        font-size: 12.5px;
        line-height: 1.5;
        color: #cbd5e1;
        margin: 0 0 10px 0;
      }
      .spu-disclaimer-box {
        background: rgba(15, 23, 42, 0.45);
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-left: 3px solid #38bdf8;
        border-radius: 6px;
        padding: 8px 10px;
        font-size: 11.5px;
        line-height: 1.4;
        color: #cbd5e1;
      }
      .spu-footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 7px;
      }
      .spu-footer-links.two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px 12px;
      }
      .spu-footer-links li a, .spu-footer-links li button {
        color: #cbd5e1;
        text-decoration: none;
        font-size: 12.5px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        transition: color 0.2s ease, transform 0.2s ease;
      }
      .spu-footer-links li a i, .spu-footer-links li button i {
        font-size: 10px;
        color: #38bdf8;
      }
      .spu-footer-links li a:hover, .spu-footer-links li button:hover {
        color: #ffffff;
        transform: translateX(3px);
      }
      /* Portal Category Tab Badges in Footer */
      .spu-tab-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
      }
      .spu-tab-badge {
        background: rgba(56, 189, 248, 0.12);
        border: 1px solid rgba(56, 189, 248, 0.3);
        color: #ffffff;
        border-radius: 6px;
        padding: 5px 8px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
      }
      .spu-tab-badge i {
        color: #38bdf8;
        font-size: 12px;
      }
      .spu-tab-badge:hover {
        background: #2563eb;
        border-color: #2563eb;
        transform: translateY(-1px);
      }
      /* Compact Portal Feedback + Connect Row */
      .spu-feedback-card {
        background: rgba(15, 23, 42, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 10px;
      }
      .spu-fb-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
      }
      .spu-feedback-sub {
        font-size: 11.5px;
        color: #cbd5e1;
        margin: 0;
      }
      .spu-stars {
        display: inline-flex;
        gap: 3px;
      }
      .spu-star-btn {
        background: none;
        border: none;
        padding: 1px;
        cursor: pointer;
        font-size: 15px;
        color: #64748b;
        transition: transform 0.15s ease, color 0.15s ease;
      }
      .spu-star-btn:hover {
        transform: scale(1.15);
      }
      .spu-star-btn.active {
        color: #fbbf24;
      }
      .spu-fb-controls {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 6px;
        margin-bottom: 6px;
      }
      .spu-fb-select, .spu-fb-input {
        width: 100%;
        padding: 6px 8px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.95);
        color: #0f172a;
        font-size: 12px;
        font-family: inherit;
        outline: none;
      }
      .spu-fb-submit {
        width: 100%;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff;
        border: none;
        border-radius: 6px;
        padding: 7px 12px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: background 0.2s ease;
      }
      .spu-fb-submit:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
      }
      .spu-fb-status {
        margin-top: 6px;
        font-size: 11.5px;
        line-height: 1.35;
        padding: 6px 8px;
        border-radius: 5px;
        display: none;
      }
      .spu-fb-status.ok {
        display: block;
        background: rgba(22, 163, 74, 0.2);
        border: 1px solid rgba(74, 222, 128, 0.35);
        color: #bbf7d0;
      }
      .spu-fb-status.err {
        display: block;
        background: rgba(220, 38, 38, 0.2);
        border: 1px solid rgba(248, 113, 113, 0.35);
        color: #fecaca;
      }
      /* Connect Inline Bar */
      .spu-connect-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        background: rgba(15, 23, 42, 0.35);
        padding: 7px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
      }
      .spu-connect-title {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: #ffffff;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .spu-connect-title i {
        color: #38bdf8;
      }
      .spu-yt-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 5px 10px;
        border-radius: 6px;
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        font-size: 12.5px;
        transition: all 0.2s ease;
      }
      .spu-yt-link:hover {
        background: rgba(255, 255, 255, 0.22);
        border-color: #38bdf8;
      }
      .spu-yt-link i {
        color: #ff0000;
        font-size: 15px;
        background: #ffffff;
        border-radius: 3px;
        padding: 1px 3px;
      }
      /* Bottom Bar */
      .spu-footer-bottom {
        background: #102b39;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 11px 24px;
      }
      .spu-footer-bottom-inner {
        width: 100%;
        max-width: none;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12.5px;
        color: #94a3b8;
      }
      .spu-dev-credit {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 4px 11px;
        border-radius: 999px;
        color: #cbd5e1;
        font-size: 12px;
      }
      .spu-dev-credit i {
        color: #38bdf8;
        font-size: 11px;
      }
      .spu-dev-credit strong {
        color: #ffffff;
        font-weight: 600;
      }
      .spu-top-btn {
        background: rgba(56, 189, 248, 0.15);
        border: 1px solid rgba(56, 189, 248, 0.35);
        color: #ffffff;
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-family: inherit;
        transition: all 0.2s ease;
      }
      .spu-top-btn:hover {
        background: #2563eb;
        border-color: #2563eb;
      }
      /* Info Modal */
      .spu-modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.72);
        z-index: 4000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
      }
      .spu-modal-backdrop.open {
        display: flex;
      }
      .spu-modal-box {
        background: #ffffff;
        color: #0f172a;
        border-radius: 12px;
        max-width: 520px;
        width: 100%;
        padding: 20px 22px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
        font-family: 'Inter', system-ui, sans-serif;
      }
      .spu-modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 10px;
        margin-bottom: 12px;
      }
      .spu-modal-head h3 {
        margin: 0;
        font-size: 17px;
        color: #0f172a;
      }
      .spu-modal-close {
        background: #f1f5f9;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        cursor: pointer;
        color: #475569;
        font-size: 14px;
      }
      .spu-modal-body {
        font-size: 13.5px;
        line-height: 1.6;
        color: #334155;
      }
       /* Added responsive layout: do not change existing colors, fonts or sidebar links. */
       #footer-placeholder { box-sizing: border-box; min-width: 0; max-width: 100%; }
       .spu-footer { min-width: 0; width: 100%; max-width: 100%; overflow-wrap: anywhere; }
       .spu-footer-top > .spu-footer-col { min-width: 0; }
       .spu-footer.spu-compact .spu-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
       .spu-footer .spu-tab-badge { min-width: 0; overflow-wrap: anywhere; }
       .spu-footer .spu-tab-badges .spu-tab-badge:last-child { grid-column: 1 / -1; }
       /* Very narrow phones: keep every service fully visible and tappable. */
       .spu-footer.spu-very-narrow .spu-tab-badges,
       .spu-footer.spu-very-narrow .spu-footer-links.two-col { grid-template-columns: minmax(0, 1fr); }
       .spu-footer.spu-very-narrow .spu-tab-badges .spu-tab-badge:last-child { grid-column: auto; }
       .spu-footer.spu-narrow .spu-footer-top {
         grid-template-columns: minmax(0, 1fr); padding: 20px 14px; gap: 20px;
       }
       .spu-footer.spu-narrow .spu-footer-bottom { padding: 12px; }
       .spu-footer.spu-narrow .spu-footer-bottom-inner {
         flex-direction: column; justify-content: center; text-align: center;
       }
       .spu-footer.spu-narrow .spu-fb-controls { grid-template-columns: minmax(0, 1fr); }
       .spu-footer.spu-narrow .spu-tab-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
       .spu-footer.spu-narrow .spu-footer-links.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
       .spu-footer.spu-narrow .spu-connect-row { flex-wrap: wrap; }
       .spu-reviews-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
       .spu-reviews-toggle, .spu-admin-toggle {
         background: rgba(255,255,255,.1); color: #e2e8f0; border: 1px solid rgba(255,255,255,.18);
         padding: 6px 9px; border-radius: 6px; font: inherit; font-size: 11.5px; cursor: pointer;
       }
       .spu-reviews-toggle:hover, .spu-admin-toggle:hover { background: rgba(255,255,255,.18); }
       .spu-reviews-summary { font-size: 11px; color: #cbd5e1; flex: 1; }
       .spu-reviews-panel { margin-top: 8px; display: none; max-height: 260px; overflow: auto; }
       .spu-reviews-panel.open { display: block; }
       .spu-review { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
       .spu-review:last-child { border-bottom: none; }
       .spu-review-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; }
       .spu-review-title { font-size: 11.5px; color: #fbbf24; font-weight: 600; }
       .spu-review-date { color: #94a3b8; font-size: 10px; }
       .spu-review-text { margin: 5px 0 0; font-size: 12px; color: #e2e8f0; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
       .spu-review-delete { color: #fecaca; background: transparent; border: 1px solid rgba(248,113,113,.4); border-radius: 5px; padding: 3px 6px; font-size: 11px; cursor: pointer; }
       .spu-visitor-credit { white-space: nowrap; }
       .spu-visitor-credit[hidden] { display: none !important; }
       .spu-legal-link { color: #93c5fd; }
       @media (max-width: 640px) {
         .spu-footer-top { grid-template-columns: minmax(0, 1fr); }
       }
      @media (max-width: 1024px) {
        .spu-footer-top {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 640px) {
        .spu-footer-top {
          grid-template-columns: 1fr;
          padding: 24px 16px 20px;
          gap: 20px;
        }
        .spu-fb-controls {
          grid-template-columns: 1fr;
        }
        .spu-footer-bottom-inner {
          flex-direction: column;
          text-align: center;
        }
      }
      @media print {
        .spu-footer, .spu-modal-backdrop {
          display: none !important;
        }
      }
    