    :root {
      --dark: #0A0A0A;
      --green-deep: #1A1A1A;
      --green: #2F5580;
      --green-bright: #4E7FD1;
      --gold: #4E7FD1;
      --gold-soft: #9FC3EE;
      --ivory: #FFFFFF;
      --white: #FFFFFF;
      --ink: #0A0A0A;
      --muted: #2F5580;
      --line: rgba(0,0,0,.09);
      --line-light: rgba(255,255,255,.14);
      --danger: #dc3545;
      --font-display: 'Quicksand', sans-serif;
      --font-body: 'Quicksand', sans-serif;
    }

    * { box-sizing: border-box; }
    body {
      font-family: var(--font-body);
      color: var(--ink);
      background: #EDF3FB;
      -webkit-font-smoothing: antialiased;
    }

    .navbar-moika {
      padding: .85rem 0;
      transition: all .3s ease;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1200;
      background: rgba(10,10,10,0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line-light);
    }
    .navbar-brand-moika {
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: -0.02em;
      color: var(--ivory);
      font-family: var(--font-display);
      text-decoration: none;
    }
    .navbar-brand-moika span { color: var(--gold); }
    .navbar-brand-moika .sub {
      display: block;
      font-size: .45rem;
      letter-spacing: .2em;
      font-weight: 600;
      color: #9FC3EE;
      margin-top: -2px;
      font-family: var(--font-body);
    }

    .btn-gold {
      background: var(--gold);
      color: var(--dark);
      font-weight: 700;
      font-size: .78rem;
      letter-spacing: .09em;
      text-transform: uppercase;
      padding: .8rem 1.8rem;
      border-radius: 50px;
      border: none;
      transition: all .28s ease;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
    }
    .btn-gold:hover {
      background: var(--gold-soft);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(78,127,209,.45);
      color: var(--dark);
    }
    .btn-gold:disabled,
    .btn-gold.disabled {
      background: #6c757d;
      color: #fff;
      cursor: not-allowed;
      opacity: .65;
      box-shadow: none;
      transform: none !important;
    }
    .btn-outline-ink {
      background: transparent;
      color: var(--ink);
      border: 1px solid rgba(0,0,0,.15);
      font-weight: 700;
      font-size: .78rem;
      letter-spacing: .09em;
      text-transform: uppercase;
      padding: .8rem 1.8rem;
      border-radius: 50px;
      transition: all .28s ease;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
    }
    .btn-outline-ink:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(78,127,209,.05);
    }

    .page-hero {
      padding: 120px 0 50px;
      background: #0A0A0A;
      color: var(--ivory);
    }
    .page-hero h1 {
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 700;
      font-family: var(--font-display);
    }
    .page-hero p {
      color: #D7E7FA;
      font-size: 1.05rem;
    }
    .eyebrow {
      font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;
      color:var(--gold-soft);display:inline-flex;align-items:center;gap:.55rem;
    }
    .eyebrow::before{content:"";width:22px;height:2px;background:var(--gold);display:inline-block;}

    .content-wrap {
      padding: 40px 0 60px;
    }

    /* === FILTER SECTION === */
    .filter-section {
      background: var(--white);
      border-radius: 12px;
      padding: 20px 24px;
      border: 1px solid var(--line);
      margin-bottom: 24px;
    }
    .filter-section .filter-label {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      margin-bottom: 6px;
      display: block;
    }
    .filter-select {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      font-size: 0.85rem;
      font-family: var(--font-body);
      font-weight: 600;
      background: var(--white);
      color: var(--ink);
      transition: all 0.25s ease;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235C6A62' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 38px;
    }
    .filter-select:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(78,127,209,0.15);
    }
    .filter-select:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background-color: #EDF3FB;
    }
    .filter-select optgroup {
      font-weight: 700;
      color: var(--green);
    }
    .filter-select optgroup option {
      font-weight: 500;
      color: var(--ink);
    }

    .search-box {
      position: relative;
      width: 100%;
    }
    .search-box input {
      width: 100%;
      padding: 10px 16px 10px 44px;
      border: 1px solid var(--line);
      border-radius: 10px;
      font-size: 0.85rem;
      font-family: var(--font-body);
      background: var(--white);
      transition: all 0.28s ease;
    }
    .search-box input:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(78,127,209,0.12);
    }
    .search-box i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      font-size: 0.85rem;
    }

    .filter-clear-btn {
      background: transparent;
      border: 1px solid var(--line);
      color: var(--muted);
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.25s ease;
      white-space: nowrap;
      width: 100%;
    }
    .filter-clear-btn:hover {
      border-color: var(--danger);
      color: var(--danger);
      background: rgba(220, 53, 69, 0.04);
    }

    /* Active filter summary */
    .filter-summary {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 0.78rem;
      color: var(--muted);
    }
    .filter-summary .label {
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.65rem;
      letter-spacing: 0.08em;
    }
    .filter-summary .chip {
      background: #EDF3FB;
      border: 1px solid var(--line);
      padding: 3px 12px;
      border-radius: 20px;
      font-weight: 600;
      color: var(--ink);
      font-size: 0.72rem;
    }

    /* Nominees Grid */
    .nominees-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    @media(max-width:1200px) {
      .nominees-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media(max-width:992px) {
      .nominees-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media(max-width:576px) {
      .nominees-grid { grid-template-columns: 1fr; }
    }

    .nominee-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .nominee-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.08);
      border-color: var(--green-bright);
    }
    
    /* --- UPDATED IMAGE WRAPPER --- */
    .nominee-card .img-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3; /* Gives a nice rectangular shape instead of a tight square */
      overflow: hidden;
      background: #f4f7fb; /* Light background for empty space when using 'contain' */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nominee-card .img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: contain; /* KEY CHANGE: Shows the full image without cropping */
      padding: 10px; /* Adds a little breathing room around the image */
      display: block;
    }
    /* ---------------------------- */

    .nominee-card .img-wrap .no-photo {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      font-weight: 700;
      color: var(--muted);
      background: #EDF3FB;
    }
    .nominee-card .img-wrap .badge-top {
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--dark);
      color: var(--gold-soft);
      font-size: 0.55rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 3px 12px;
      border-radius: 20px;
      z-index: 2;
    }
    .nominee-card .img-wrap .vote-badge {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(10,10,10,0.85);
      backdrop-filter: blur(8px);
      color: var(--gold);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 14px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 4px;
      z-index: 2;
    }
    .nominee-card .body {
      padding: 14px 16px 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .nominee-card .body .category {
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--green);
    }
    .nominee-card .body .name {
      font-weight: 700;
      font-size: 1.05rem;
      font-family: var(--font-display);
      margin: 4px 0 6px;
    }
    .nominee-card .body .description {
      font-size: 0.82rem;
      color: var(--muted);
      flex: 1;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 10px;
    }
    .nominee-card .body .progress-wrap {
      margin-bottom: 10px;
    }
    .nominee-card .body .progress-bar {
      height: 4px;
      background: #EDF3FB;
      border-radius: 10px;
      overflow: hidden;
    }
    .nominee-card .body .progress-fill {
      height: 100%;
      background: var(--green-bright);
      border-radius: 10px;
    }
    .nominee-card .body .progress-label {
      font-size: 0.6rem;
      color: var(--muted);
      margin-top: 3px;
      text-align: right;
    }
    .nominee-card .body .actions {
      display: flex;
      gap: 8px;
      margin-top: auto;
    }
    .nominee-card .body .actions .vote-btn {
      flex: 3;
      background: var(--dark);
      color: var(--ivory);
      border: none;
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 8px 12px;
      border-radius: 30px;
      transition: all 0.28s ease;
      cursor: pointer;
    }
    .nominee-card .body .actions .vote-btn:hover:not(:disabled) {
      background: var(--gold);
      color: var(--dark);
    }
    .nominee-card .body .actions .vote-btn:disabled {
      background: #6c757d;
      color: #fff;
      opacity: .65;
      cursor: not-allowed;
    }
    .nominee-card .body .actions .share-btn {
      flex: 1;
      background: transparent;
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.65rem;
      padding: 8px 10px;
      border-radius: 30px;
      transition: all 0.28s ease;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }
    .nominee-card .body .actions .share-btn:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(78,127,209,0.08);
    }

    .empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--muted);
      background: var(--white);
      border-radius: 12px;
      border: 1px solid var(--line);
    }
    .empty-state i {
      font-size: 3rem;
      opacity: 0.3;
      margin-bottom: 16px;
    }
    .empty-state h5 {
      font-family: var(--font-display);
      font-weight: 700;
    }
    .empty-state p {
      font-size: 0.9rem;
    }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
      margin-bottom: 24px;
    }
    .stat-mini {
      background: var(--white);
      border-radius: 10px;
      padding: 14px 18px;
      text-align: center;
      border: 1px solid var(--line);
    }
    .stat-mini .num {
      font-size: 1.4rem;
      font-weight: 700;
      font-family: var(--font-display);
      color: var(--green);
    }
    .stat-mini .label {
      font-size: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      font-weight: 600;
    }

    .footer-moika {
      background: #0A0A0A;
      color: #9FC3EE;
      padding: 2rem 0 1.2rem;
      margin-top: 40px;
    }

    .toast-moika {
      position: fixed;
      bottom: 1.3rem;
      left: 1.3rem;
      z-index: 2000;
      background: var(--dark);
      color: var(--ivory);
      padding: .85rem 1.2rem;
      border-radius: 2px;
      border-left: 3px solid var(--green-bright);
      box-shadow: 0 10px 26px rgba(0,0,0,.3);
      transform: translateY(120%);
      opacity: 0;
      transition: all .28s ease;
      font-size: .85rem;
      max-width: 300px;
    }
    .toast-moika.show {
      transform: translateY(0);
      opacity: 1;
    }

    /* Modal styles */
    .modal-moika .modal-content {
      background: var(--white);
      border-radius: 12px;
      border: none;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      max-height: 85vh;
      overflow-y: auto;
    }
    .modal-moika .modal-header {
      border-bottom: 1px solid var(--line);
      padding: 1rem 1.5rem;
      position: sticky;
      top: 0;
      background: var(--white);
      z-index: 10;
      border-radius: 12px 12px 0 0;
      flex-shrink: 0;
    }
    .modal-moika .modal-body {
      padding: 1.5rem;
      overflow-y: auto;
      flex: 1;
    }
    .modal-moika .modal-footer {
      border-top: 1px solid var(--line);
      padding: 1rem 1.5rem;
      position: sticky;
      bottom: 0;
      background: var(--white);
      z-index: 10;
      border-radius: 0 0 12px 12px;
      flex-shrink: 0;
    }
    .modal-moika .modal-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.1rem;
    }
    .modal { z-index: 1300 !important; }
    .modal-backdrop { z-index: 1250 !important; }
    .modal-dialog-centered {
      display: flex;
      align-items: center;
      min-height: calc(100% - 1rem);
    }
    .modal-dialog {
      max-width: 480px;
      margin: 1.75rem auto;
    }
    @media (max-width: 575.98px) {
      .modal-dialog { margin: 0.5rem; width: calc(100% - 1rem); max-width: 100%; }
      .modal-moika .modal-content { max-height: 92vh; border-radius: 10px; }
      .modal-moika .modal-body { padding: 1rem; }
      .modal-moika .modal-header, .modal-moika .modal-footer { padding: 0.75rem 1rem; }
    }

    .vote-quantity-input {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      font-size: 0.9rem;
      font-family: var(--font-body);
      background: var(--white);
      color: var(--ink);
    }
    .vote-quantity-input:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(78,127,209,0.15);
    }
    .vote-quantity-label {
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      display: block;
      margin-bottom: 4px;
    }
    .vote-total-amount {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--green);
      margin-top: 8px;
      text-align: center;
    }
    .vote-total-amount span {
      color: var(--gold);
      font-size: 1.3rem;
    }

    /* === STATE BANNER === */
    .state-banner {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1450;
      background: #dc3545;
      color: #fff;
      text-align: center;
      padding: 10px 16px;
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      box-shadow: 0 2px 10px rgba(0,0,0,.2);
    }
    .state-banner.warning {
      background: var(--gold);
      color: var(--dark);
    }
    body.has-state-banner .navbar-moika { top: 38px; }
    body.has-state-banner .page-hero { padding-top: 158px; }
    @media(max-width: 991.98px) {
      body.has-state-banner .navbar-moika { top: 38px; }
      body.has-state-banner .page-hero { padding-top: 148px; }
    }

    /* Pagination styling */
    .pagination .page-link {
      border-radius: 8px;
      margin: 0 3px;
      border: 1px solid var(--line);
      color: var(--ink);
      font-weight: 600;
      font-size: 0.8rem;
      padding: 8px 14px;
    }
    .pagination .page-link:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(78,127,209,0.05);
    }
    .pagination .page-item.active .page-link {
      background: var(--green-deep);
      border-color: var(--green-deep);
      color: var(--ivory);
    }
    .pagination .page-item.disabled .page-link {
      opacity: 0.5;
      cursor: not-allowed;
    }
