
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  :root {
    --primary: #0D9488;
    --primary-light: #14B8A6;
    --secondary: #2DD4BF;
    --tertiary: #06B6D4;
    --neutral: #0F2B3C;
    --bg: #F8FCFB;
    --text-1: #4B6B7D;
    --text-2: #0F2B3C;
    --border: #D1E5ED;
    --white: #FFFFFF;
    --surface: #EFF9F7;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
  }

  body {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    background: var(--bg);
    color: var(--text-2);
    min-height: 100vh;
  }

  /* ── HEADER ─────────────────────────────────────────────── */
  .header {
    background: linear-gradient(135deg, rgba(239, 249, 247, .95), rgba(248, 252, 251, .97));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
    background: var(--neutral);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral);
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .db-badge {
    font-size: 11px;
    color: var(--text-1);
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: rgba(255, 255, 255, .6);
  }

  .db-badge strong {
    font-weight: 500;
    color: var(--neutral);
  }

  /* ── HERO ───────────────────────────────────────────────── */
  .hero {
    padding: 64px 24px 48px;
    text-align: center;
    background: linear-gradient(170deg, #F8FCFB 0%, #EEF7F6 35%, #E2EEEF 65%, #D5E5E8 100%);
    border-bottom: 1px solid var(--border);
  }

  .hero-eyebrow {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: var(--neutral);
    margin-bottom: 14px;
  }

  .hero-title span {
    color: var(--primary);
  }

  .hero-sub {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-1);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* ── SEARCH SECTION ─────────────────────────────────────── */
  .search-section {
    padding: 20px 24px;
    max-width: 860px;
    margin: 0 auto;
  }

  /* operator tabs */
  .op-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-1);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .info-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text-1);
    transition: all 180ms ease;
    flex-shrink: 0;
  }

  .info-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
  }

  .info-btn svg {
    width: 12px;
    height: 12px;
  }

  /* ── MODAL ──────────────────────────────────────────────── */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 43, 60, .45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .modal {
    background: var(--white);
    border-radius: var(--r-lg);
    width: min(520px, 92vw);
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(15, 43, 60, .2), 0 1px 3px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(12px) scale(.97);
    transition: transform 200ms ease;
  }

  .modal-backdrop.open .modal {
    transform: translateY(0) scale(1);
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 0;
    flex-shrink: 0;
  }

  .modal-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral);
    letter-spacing: .02em;
  }

  .modal-close {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-1);
    transition: all 150ms ease;
    font-size: 14px;
  }

  .modal-close:hover {
    border-color: var(--neutral);
    color: var(--neutral);
  }

  .modal-tabs {
    display: flex;
    gap: 4px;
    padding: 14px 20px 0;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }

  .modal-tab {
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-1);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 150ms ease;
    white-space: nowrap;
    margin-bottom: -1px;
  }

  .modal-tab:hover {
    color: var(--neutral);
  }

  .modal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 500;
  }

  .modal-tab:disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
  }

  .modal-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
    flex: 1;
  }

  .notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .notice-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 150ms ease;
  }

  .notice-item:hover {
    border-color: var(--primary);
    background: rgba(13, 148, 136, .04);
  }

  .notice-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    opacity: .6;
  }

  .notice-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    color: var(--neutral);
    letter-spacing: .02em;
  }

  .notice-label {
    font-size: 12px;
    color: var(--text-1);
    font-weight: 300;
    margin-left: auto;
  }

  .op-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }

  .search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
  }

  .search-row .search-box {
    flex: 1;
  }

  .pattern-row-new {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 10px;
  }

  .pattern-row-new .pattern-input-wrap {
    flex: 1;
  }

  .op-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 180ms ease;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-1);
    box-shadow: 0 1px 3px rgba(13, 148, 136, .06);
    user-select: none;
  }

  .op-tab:hover {
    border-color: var(--primary);
    color: var(--neutral);
  }

  .op-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }

  .op-dot {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .op-dot svg {
    width: 16px;
    height: 16px;
  }

  .op-tab.active .op-dot svg {
    filter: brightness(0) invert(1);
  }

  .op-count {
    font-size: 10px;
    opacity: .7;
    font-weight: 300;
    background: rgba(255, 255, 255, .2);
    border-radius: 9999px;
    padding: 0 5px;
    margin-left: 2px;
  }

  .op-tab.active .op-count {
    opacity: .6;
  }

  .op-tab:disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* combined search row */
  .combined-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .and-sep {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-1);
    padding: 0 2px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-box {
    position: relative;
  }

  .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-1);
    pointer-events: none;
  }

  .search-input {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--primary);
    border-radius: var(--r-md);
    background: #fff;
    backdrop-filter: blur(12px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 400;
    color: var(--neutral);
    letter-spacing: .04em;
    box-shadow: 0 2px 12px rgba(13, 148, 136, .08);
    transition: border-color 180ms, box-shadow 180ms;
    outline: none;
  }

  .search-input::placeholder {
    color: var(--text-1);
    opacity: .5;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
  }

  .search-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .15), 0 2px 12px rgba(13, 148, 136, .08);
  }

  .btn-primary {
    padding: 11px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--r-md);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all 180ms ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(13, 148, 136, .2);
  }

  .btn-primary:hover {
    background: var(--primary-light);
  }

  .btn-primary:disabled {
    opacity: .5;
    cursor: default;
  }

  .pattern-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 6px;
    align-items: start;
  }

  .pattern-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .pattern-input-wrap {
    display: flex;
    gap: 6px;
    align-items: stretch;
  }

  .pattern-prefix {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-1);
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .pattern-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: #fff;
    backdrop-filter: blur(12px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--neutral);
    text-transform: uppercase;
    outline: none;
    transition: border-color 180ms, box-shadow 180ms;
  }

  .pattern-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .12);
  }

  .pattern-hint {
    font-size: 11px;
    color: var(--text-1);
    padding: 0 2px;
    font-weight: 300;
  }

  .pattern-hint strong {
    font-weight: 500;
    color: var(--neutral);
  }

  .pattern-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .p-chip {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .06em;
    color: var(--text-1);
    cursor: pointer;
    transition: all 180ms ease;
    font-family: 'JetBrains Mono', monospace;
    background: #fff;
  }

  .p-chip:hover {
    border-color: var(--primary-light);
    color: var(--neutral);
  }

  .p-chip.active {
    background: rgba(13, 148, 136, .1);
    border-color: var(--primary);
    color: var(--primary);
  }

  .btn-ghost {
    padding: 9px 14px;
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all 180ms ease;
    display: flex;
    align-items: center;
  }

  .btn-ghost:hover {
    border-color: var(--neutral);
    color: var(--neutral);
  }

  /* legend */
  .legend {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(13, 148, 136, .04);
  }

  .legend-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-1);
    margin-bottom: 10px;
  }

  .legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }

  .legend-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .l-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--neutral);
    background: rgba(13, 148, 136, .06);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 2px 7px;
    white-space: nowrap;
  }

  .l-desc {
    font-size: 11px;
    color: var(--text-1);
    line-height: 1.4;
    padding-top: 2px;
  }

  /* filter bar */
  .filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 18px;
  }

  .filter-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .filter-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-1);
    margin-right: 2px;
  }

  .filter-select {
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--neutral);
    outline: none;
    cursor: pointer;
  }

  .filter-select:focus {
    border-color: var(--primary);
  }

  .result-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .result-count {
    font-size: 12px;
    color: var(--text-1);
    font-weight: 300;
  }

  .result-count strong {
    font-weight: 500;
    color: var(--neutral);
  }

  .result-time {
    font-size: 10px;
    color: var(--text-1);
    opacity: .7;
  }

  /* ── VIEW TOGGLE ────────────────────────────────────────── */
  .view-toggle {
    display: flex;
    gap: 4px;
  }

  .view-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    cursor: pointer;
    transition: all 180ms ease;
    color: var(--text-1);
  }

  .view-btn:hover {
    border-color: var(--neutral);
    color: var(--neutral);
  }

  .view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }

  .view-btn svg {
    width: 14px;
    height: 14px;
  }

  /* ── RESULTS GRID ───────────────────────────────────────── */
  .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 32px;
  }

  /* ── CARD STAGE (carousel view) ─────────────────────────── */
  .card-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 48px;
    gap: 20px;
  }

  .card-stage.active {
    display: flex;
  }

  .card-stage-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
  }

  .stage-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    transition: all 180ms ease;
    color: var(--text-2);
    font-size: 18px;
    user-select: none;
  }

  .stage-arrow:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
  }

  .stage-arrow:disabled {
    opacity: .2;
    pointer-events: none;
  }

  .stage-card-wrap {
    flex: 1;
  }

  .stage-card-wrap .num-card-shell {
    display: block;
  }

  .stage-card-wrap .num-card {
    padding: 40px 32px;
    border-radius: 12px;
  }

  .stage-card-wrap .card-op-logo,
  .stage-card-wrap .card-op-logo svg {
    width: 28px;
    height: 28px;
  }

  .stage-card-wrap .phone-number {
    font-size: 26px;
    letter-spacing: .08em;
  }

  .stage-pos {
    font-size: 12px;
    color: var(--text-1);
    font-weight: 300;
  }

  .stage-hint {
    font-size: 11px;
    color: var(--text-1);
    opacity: .5;
    font-weight: 300;
  }

  .num-card-shell {
    padding: 1px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(240, 253, 250, 1), rgba(153, 246, 228, .5));
  }

  .num-card {
    padding: 20px 18px 16px;
    border-radius: calc(var(--r-md) - 1px);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    box-shadow: rgb(255, 255, 255) 0 1px 0 inset, rgba(13, 148, 136, .04) 0 1px 3px;
    transition: all 200ms ease;
    cursor: default;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .num-card:hover {
    background: #fff;
    box-shadow: rgba(13, 148, 136, .1) 0 4px 16px -2px, rgba(13, 148, 136, .04) 0 1px 3px;
    transform: translateY(-2px);
  }

  .card-number-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .card-op-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    filter: grayscale(1) opacity(.45);
    transition: filter 200ms ease;
  }

  .card-op-logo svg {
    width: 20px;
    height: 20px;
  }

  .num-card:hover .card-op-logo,
  .num-card:active .card-op-logo {
    filter: grayscale(0) opacity(1);
  }

  .phone-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--neutral);
    line-height: 1;
    white-space: nowrap;
  }

  .phone-number .hl {
    color: var(--primary);
    font-weight: 500;
    background: rgba(13, 148, 136, .1);
    border-radius: 4px;
    padding: 0 3px;
  }

  /* ── STATES ─────────────────────────────────────────────── */
  .state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: var(--text-1);
  }

  .state-icon {
    font-size: 36px;
    margin-bottom: 14px;
    opacity: .35;
  }

  .state-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral);
    margin-bottom: 6px;
  }

  .state-sub {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-1);
  }

  /* spinner */
  .spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 9999px;
    animation: spin 600ms linear infinite;
    margin: 0 auto 12px;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* search progress bar */
  .search-progress {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 9999px;
    margin: 10px auto 8px;
    overflow: hidden;
  }

  .search-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 300ms ease;
    min-width: 4px;
  }

  /* ── PAGINATION ─────────────────────────────────────────── */
  .load-sentinel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 48px;
    min-height: 60px;
  }

  .load-sentinel .spinner {
    margin: 0;
  }

  /* ── FOOTER ─────────────────────────────────────────────── */
  .footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
    font-size: 11px;
    color: var(--text-1);
    letter-spacing: .05em;
    font-weight: 400;
    background: linear-gradient(to bottom, transparent, rgba(239, 249, 247, .5));
  }

  @media (max-width: 600px) {
    .search-row {
      grid-template-columns: 1fr;
    }

    .hero-title {
      font-size: 40px;
    }

    .results-grid {
      grid-template-columns: 1fr 1fr;
    }

    .pattern-row {
      grid-template-columns: 1fr;
    }

    .num-card {
      padding: 16px 9px 12px;
    }

    .phone-number {
      font-size: 13px;
      letter-spacing: .04em;
    }

    .card-op-logo,
    .card-op-logo svg {
      width: 13px;
      height: 13px;
    }

    .btn-ghost {
      display: none;
    }

    /* ── MOBILE CARD STAGE ───────────────────────────────── */
    .stage-arrow {
      display: none;
    }

    .card-stage {
      padding: 32px 0 48px;
      gap: 16px;
    }

    .card-stage-inner {
      justify-content: center;
      gap: 0;
      max-width: none;
      width: 100%;
    }

    .stage-card-wrap {
      flex: none;
      width: min(72vw, 260px);
      position: relative;
      z-index: 1;
    }

    .stage-card-wrap .num-card {
      aspect-ratio: 1;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .stage-card-wrap .phone-number {
      font-size: 18px;
      letter-spacing: .06em;
    }

    .stage-card-wrap .card-op-logo,
    .stage-card-wrap .card-op-logo svg {
      width: 18px;
      height: 18px;
    }

    /* ghost cards stacked behind */
    .stage-card-wrap::before,
    .stage-card-wrap::after {
      content: '';
      position: absolute;
      border-radius: 10px;
      background: rgba(153, 246, 228, .2);
      border: 1px solid rgba(153, 246, 228, .3);
    }

    .stage-card-wrap::before {
      top: 7px;
      left: -7px;
      right: -7px;
      bottom: -6px;
      z-index: -1;
      transform: rotate(-2.5deg);
    }

    .stage-card-wrap::after {
      top: 13px;
      left: -13px;
      right: -13px;
      bottom: -11px;
      z-index: -2;
      transform: rotate(2deg);
    }
  }

  /* swipe-out animation classes */
  @keyframes swipeOutLeft {
    to {
      transform: translateX(-140%) rotate(-12deg);
      opacity: 0;
    }
  }

  @keyframes swipeOutRight {
    to {
      transform: translateX(140%) rotate(12deg);
      opacity: 0;
    }
  }

  @keyframes swipeIn {
    from {
      transform: translateY(18px) scale(.92);
      opacity: 0;
    }
  }

  .stage-anim-out-left {
    animation: swipeOutLeft 200ms ease forwards;
  }

  .stage-anim-out-right {
    animation: swipeOutRight 200ms ease forwards;
  }

  .stage-anim-in {
    animation: swipeIn 200ms ease forwards;
  }

  @media (min-width: 601px) and (max-width: 860px) {
    .results-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

