    /* ── Search + filter bar ── */
    .fr-search-wrap {
      display: flex;
      gap: 8px;
      margin-bottom: 10px;
    }
    
    .fr-search {
      flex: 1;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--text);
      font-size: 14px;
      padding: 9px 12px;
      outline: none;
    }
    
    .fr-search:focus {
      border-color: var(--gold);
    }
    
    .fr-search::placeholder {
      color: var(--muted);
    }
    
    /* ── Region filter chips ── */
    .fr-filters {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      padding-bottom: 4px;
      margin-bottom: 12px;
      scrollbar-width: none;
    }
    
    .fr-filters::-webkit-scrollbar {
      display: none;
    }
    
    .fr-filter {
      flex-shrink: 0;
      padding: 5px 12px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      border: 1px solid var(--border);
      background: var(--surface2);
      color: var(--muted);
      cursor: pointer;
      transition: all .15s;
    }
    
    .fr-filter.active {
      background: var(--gold);
      color: #000;
      border-color: var(--gold);
    }
    
    /* ── Ring grid ── */
    .fr-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    
    /* ── Ring card ── */
    .fr-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 13px;
      padding: 11px 11px 10px;
      position: relative;
      cursor: pointer;
      transition: border-color .15s;
      overflow: hidden;
      min-height: 90px;
    }
    
    .fr-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--fr-color, var(--gold));
      border-radius: 13px 13px 0 0;
    }
    
    .fr-card:active {
      border-color: var(--gold);
    }
    
    /* Code badge */
    .fr-code {
      font-family: 'Courier New', monospace;
      font-size: 18px;
      font-weight: 800;
      color: var(--fr-color, var(--gold));
      letter-spacing: 3px;
      line-height: 1;
      margin-bottom: 5px;
    }
    
    /* Destination name */
    .fr-dest {
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.25;
      margin-bottom: 5px;
    }
    
    /* Region tag */
    .fr-region {
      display: inline-block;
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .4px;
      color: var(--muted);
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 2px 7px;
    }
    
    /* Note icon button */
    .fr-note-btn {
      position: absolute;
      top: 9px;
      right: 9px;
      background: none;
      border: none;
      font-size: 16px;
      cursor: pointer;
      padding: 2px;
      line-height: 1;
      color: var(--muted);
      transition: transform .15s;
      z-index: 2;
    }
    
    .fr-note-btn:active {
      transform: scale(.9);
    }
    
    /* Note preview text on card */
    .fr-note-preview {
      margin-top: 7px;
      font-size: 10px;
      color: var(--muted);
      line-height: 1.4;
      padding: 5px 8px;
      background: var(--surface2);
      border-left: 2px solid var(--fr-color, var(--gold));
      border-radius: 0 5px 5px 0;
      word-break: break-word;
    }
    
    .fr-card.has-note .fr-note-btn {
      color: var(--gold);
    }
    
    /* Pin button */
    .fr-pin-btn {
      position: absolute;
      top: 9px;
      right: 34px;
      background: none;
      border: none;
      font-size: 15px;
      cursor: pointer;
      padding: 2px;
      line-height: 1;
      color: var(--muted);
      transition: transform .15s;
      z-index: 2;
      opacity: .45;
    }
    
    .fr-pin-btn:active {
      transform: scale(.9);
    }
    
    .fr-pin-btn.active {
      opacity: 1;
      filter: none;
    }
    
    .fr-card.is-pinned {
      border-color: var(--gold);
    }
    
    .fr-card.is-pinned::before {
      background: var(--gold);
    }
    
    /* Pinned section */
    #fr-pinned {
      margin-bottom: 4px;
    }
    
    /* ── Note sheet ── */
    .note-sheet-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .6);
      z-index: 499;
      display: none;
    }
    
    .note-sheet-overlay.show {
      display: block;
    }
    
    .note-sheet {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--surface);
      border-radius: 20px 20px 0 0;
      border-top: 1px solid var(--border);
      z-index: 500;
      transform: translateY(100%);
      transition: transform .3s cubic-bezier(.25, .8, .25, 1);
      padding-bottom: env(safe-area-inset-bottom, 16px);
    }
    
    .note-sheet.show {
      transform: translateY(0);
    }
    
    .note-handle {
      width: 40px;
      height: 4px;
      background: var(--border);
      border-radius: 2px;
      margin: 10px auto 0;
    }
    
    .note-header {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px 12px;
      border-bottom: 1px solid var(--border);
    }
    
    .note-code-badge {
      font-family: 'Courier New', monospace;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 2px;
      padding: 4px 10px;
      border-radius: 8px;
      background: var(--surface2);
      border: 1px solid var(--border);
      color: var(--gold);
      flex-shrink: 0;
    }
    
    .note-header-info {
      flex: 1;
      min-width: 0;
    }
    
    .note-header-dest {
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .note-header-region {
      font-size: 11px;
      color: var(--muted);
      margin-top: 1px;
    }
    
    .note-close {
      background: none;
      border: none;
      color: var(--muted);
      font-size: 20px;
      cursor: pointer;
      flex-shrink: 0;
    }
    
    .note-body {
      padding: 14px 16px 20px;
    }
    
    .note-textarea {
      width: 100%;
      min-height: 110px;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--text);
      font-size: 14px;
      padding: 10px 12px;
      resize: vertical;
      outline: none;
      font-family: inherit;
      line-height: 1.5;
      box-sizing: border-box;
    }
    
    .note-textarea:focus {
      border-color: var(--gold);
    }
    
    .note-textarea::placeholder {
      color: var(--muted);
    }
    
    .note-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    
    .note-save {
      flex: 1;
      padding: 11px;
      background: var(--gold);
      color: #000;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }
    
    .note-delete {
      padding: 11px 16px;
      background: var(--surface2);
      color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 14px;
      cursor: pointer;
    }
    
    .note-delete:disabled {
      opacity: .35;
      cursor: default;
    }
    
    /* ── Count label ── */
    .fr-count {
      font-size: 11px;
      color: var(--muted);
      text-align: right;
      margin-bottom: 8px;
    }
    
    /* ── Empty state ── */
    .fr-empty {
      grid-column: span 2;
      text-align: center;
      padding: 40px 20px;
      color: var(--muted);
      font-size: 13px;
    }