:root {
      --f7-theme-color: #E30613;
      --f7-page-bg-color: #09090b;
      --card-bg: #141417;
      --border-color: #27272a;
    }

    body, .page-content {
      background-color: var(--f7-page-bg-color) !important;
      color: #ffffff;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
      -webkit-tap-highlight-color: transparent;
    }

    /* TOP BAR - Notch & Dynamic Island */
    .top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: calc(env(safe-area-inset-top) + 12px) 20px 0;
    }

    .profile-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #1c1c1e;
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .header-action-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #1c1c1e;
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      cursor: pointer;
      position: relative;
    }

    .header-action-btn .badge-dot {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 8px;
      height: 8px;
      background: #E30613;
      border-radius: 50%;
      border: 2px solid #1c1c1e;
    }

    .start-title {
      font-size: 32px;
      font-weight: 800;
      padding: 12px 20px 8px;
      margin: 0;
      letter-spacing: -0.8px;
    }

    /* TABS BAR LAYOUT */
    .spond-tabs {
      display: flex;
      gap: 10px;
      padding: 0 20px 14px;
      position: relative;
      z-index: 50;
    }

    .spond-pill {
      background: #1c1c1e;
      color: #a1a1aa;
      padding: 10px 16px;
      border-radius: 24px;
      font-weight: 700;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      border: 1px solid var(--border-color);
      cursor: pointer;
      user-select: none;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .spond-pill.active {
      background: #E30613;
      color: #ffffff;
      border-color: #E30613;
      box-shadow: 0 4px 14px rgba(227, 6, 19, 0.35);
    }

    .pill-badge {
      background: #27272a;
      color: #a1a1aa;
      font-size: 11px;
      font-weight: 800;
      border-radius: 12px;
      padding: 2px 8px;
      min-width: 18px;
      text-align: center;
    }

    .spond-pill.active .pill-badge {
      background: #ffffff;
      color: #E30613;
    }

    /* DROPDOWN MENU */
    .custom-dropdown-container {
      position: relative;
      display: inline-block;
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: 260px;
      max-height: 340px;
      overflow-y: auto;
      background: rgba(28, 28, 30, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
      display: none;
      flex-direction: column;
      padding: 6px;
      z-index: 999;
    }

    .dropdown-menu.open {
      display: flex;
      animation: fadeIn 0.15s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-item {
      padding: 12px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13.5px;
      font-weight: 600;
      color: #d4d4d8;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.15s ease;
    }

    .dropdown-item span.res-name {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 170px;
    }

    .dropdown-item:hover, .dropdown-item.selected {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
    }

    /* SUB-HEADERS */
    .sub-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 20px;
      color: #71717a;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    /* BANNER */
    .notice-banner {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      margin: 4px 20px 16px;
      padding: 12px 16px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      font-size: 13.5px;
      cursor: pointer;
    }

    .red-dot {
      width: 10px;
      height: 10px;
      background: #FFED00;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(255, 237, 0, 0.5);
    }

    /* CARD DESIGN */
    .spond-card {
      background: var(--card-bg);
      border-radius: 20px;
      margin: 0 20px 14px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      border: 1px solid var(--border-color);
      border-left: 4px solid #E30613;
    }

    .spond-card.pending {
      border-left-color: #FFED00;
    }

    .card-header-content {
      display: flex;
      gap: 14px;
      align-items: center;
    }

    .date-badge {
      background: #27272a;
      border-radius: 14px;
      width: 54px;
      height: 54px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .date-badge .month {
      font-size: 10px;
      font-weight: 800;
      color: #a1a1aa;
      text-transform: uppercase;
    }

    .date-badge .day {
      font-size: 20px;
      font-weight: 900;
      color: #ffffff;
      line-height: 1;
    }

    .card-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex-grow: 1;
    }

    .card-info .title {
      font-size: 16.5px;
      font-weight: 800;
      color: #ffffff;
    }

    .card-info .subtitle {
      font-size: 13px;
      color: #a1a1aa;
      font-weight: 500;
    }

    .card-info .meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 4px;
    }

    .card-info .author {
      font-size: 12px;
      color: #71717a;
      font-weight: 600;
    }

    .resource-chip {
      background: rgba(255, 237, 0, 0.1);
      color: #FFED00;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 9px;
      border-radius: 8px;
      border: 1px solid rgba(255, 237, 0, 0.25);
    }

    /* ADMIN ACTIONS */
    .admin-actions {
      display: flex;
      gap: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--border-color);
    }

    .btn-action {
      flex: 1;
      padding: 12px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 13.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: none;
      cursor: pointer;
    }

    .btn-approve {
      background: rgba(48, 209, 88, 0.15);
      color: #30d158;
      border: 1px solid rgba(48, 209, 88, 0.3);
    }

    .btn-reject {
      background: rgba(255, 69, 58, 0.15);
      color: #ff453a;
      border: 1px solid rgba(255, 69, 58, 0.3);
    }

    /* FAB (+) BUTTON */
    .spond-fab {
      position: fixed;
      bottom: calc(env(safe-area-inset-bottom) + 80px);
      right: 20px;
      width: 56px;
      height: 56px;
      background: #E30613;
      color: #ffffff;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(227, 6, 19, 0.45);
      z-index: 99;
      text-decoration: none;
    }

    /* BOTTOM NAV BAR */
    .spond-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      padding-bottom: env(safe-area-inset-bottom);
      height: calc(62px + env(safe-area-inset-bottom));
      background: rgba(20, 20, 23, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      justify-content: space-around;
      align-items: flex-start;
      padding-top: 8px;
      z-index: 100;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #71717a;
      font-size: 11px;
      font-weight: 600;
      gap: 3px;
      text-decoration: none;
      flex: 1;
      position: relative;
    }

    .nav-item.active {
      color: #E30613;
    }

    .nav-item i {
      font-size: 24px;
    }

    .nav-badge {
      position: absolute;
      top: -2px;
      right: calc(50% - 20px);
      background: #E30613;
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      padding: 1px 6px;
      border-radius: 10px;
      min-width: 14px;
      text-align: center;
    }

    /* SIDE PANEL */
    .panel-right {
      background: #121214 !important;
      color: #ffffff;
    }

    .panel-header {
      padding: calc(env(safe-area-inset-top) + 16px) 20px 14px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }