/* ===== Team Fishing Dashboard Modal ===== */

.fish-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(5, 24, 51, 0.28);
    display: flex;
    flex-direction: column;
    max-height: 88vh;
}

.fish-modal-header {
    background: linear-gradient(135deg, #081529 0%, #123c72 55%, #1b6ca8 100%);
    padding: 20px;
    color: #fff;
    flex-shrink: 0;
}

.fish-modal-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fish-modal-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fish-modal-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    color: #70f29a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.fish-modal-header-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.fish-modal-header-team {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    max-width: 460px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fish-modal-header-summary {
    margin-top: 16px;
}

.fish-modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fish-modal-close-btn:hover,
.fish-modal-close-btn:focus {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.fish-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px;
    background: linear-gradient(180deg, #f4f8fd 0%, #eef4fb 100%);
}

.fish-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 20px;
}

.fish-modal-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #d9e5f3;
    border-top-color: #123c72;
    border-radius: 50%;
    animation: tfd-spin 0.9s linear infinite;
    margin-bottom: 18px;
}

.fish-modal-loading-text {
    color: #65819d;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

@keyframes tfd-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fish-modal-footer {
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #dfe8f3;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
}

.fish-modal-footer-btn {
    min-height: 42px;
    padding: 10px 26px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a1730 0%, #123c72 100%);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fish-modal-footer-btn:hover,
.fish-modal-footer-btn:focus {
    opacity: 0.92;
    transform: translateY(-1px);
    outline: none;
}

.tfd-header-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.tfd-header-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tfd-header-chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(112, 242, 154, 0.16);
    color: #80f2a7;
    flex-shrink: 0;
}

.tfd-header-chip-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tfd-header-chip-body strong {
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tfd-header-chip-body span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tfd-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tfd-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 52, 96, 0.08);
}

.tfd-tab-btn {
    border: none;
    background: transparent;
    color: #53718e;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tfd-tab-btn:hover,
.tfd-tab-btn:focus {
    background: #edf5ff;
    color: #123c72;
    outline: none;
}

.tfd-tab-btn.is-active {
    background: linear-gradient(135deg, #0d2a55 0%, #1b6ca8 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(18, 60, 114, 0.2);
}

.tfd-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 18px;
}

.tfd-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(11, 45, 87, 0.08);
    border: 1px solid rgba(177, 200, 224, 0.28);
}

.tfd-panel-full {
    width: 100%;
}

.tfd-panel-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.tfd-panel-heading h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0d2a55;
}

.tfd-panel-heading span {
    color: #6b88a6;
    font-size: 13px;
}

.tfd-leaderboard-list,
.tfd-contribution-list,
.tfd-angler-grid,
.tfd-fish-grid {
    display: grid;
    gap: 14px;
}

.tfd-leaderboard-item,
.tfd-contribution-row,
.tfd-link-btn {
    cursor: pointer;
}

.tfd-leaderboard-item {
    width: 100%;
    text-align: left;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #d9e7f5;
}

.tfd-leaderboard-item:hover,
.tfd-leaderboard-item:focus,
.tfd-contribution-row:hover,
.tfd-contribution-row:focus,
.tfd-link-btn:hover,
.tfd-link-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 60, 114, 0.12);
    outline: none;
}

.tfd-leaderboard-medal {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(13, 42, 85, 0.08);
    flex-shrink: 0;
}

.tfd-leaderboard-body {
    flex: 1 1 auto;
    min-width: 0;
}

.tfd-leaderboard-name {
    font-size: 16px;
    font-weight: 800;
    color: #0d2a55;
    margin-bottom: 4px;
}

.tfd-leaderboard-meta,
.tfd-contribution-meta,
.tfd-angler-rank,
.tfd-stat-subtext,
.tfd-empty-state p {
    color: #6d88a3;
    font-size: 13px;
}

.tfd-leaderboard-share {
    color: #123c72;
    font-size: 16px;
    font-weight: 800;
}

.tfd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tfd-stat-card {
    border-radius: 18px;
    padding: 18px;
    min-height: 130px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f7fbff;
    border: 1px solid #e0edf9;
}

.tfd-stat-card.is-blue { background: linear-gradient(135deg, #f4f8ff 0%, #e9f3ff 100%); }
.tfd-stat-card.is-green { background: linear-gradient(135deg, #f4fff8 0%, #e6f8ee 100%); }
.tfd-stat-card.is-cyan { background: linear-gradient(135deg, #f3fcff 0%, #e6f6fb 100%); }
.tfd-stat-card.is-gold { background: linear-gradient(135deg, #fffaf1 0%, #fff0cf 100%); }

.tfd-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0d2a55;
    box-shadow: 0 10px 20px rgba(13, 42, 85, 0.08);
    font-size: 18px;
    flex-shrink: 0;
}

.tfd-stat-content {
    min-width: 0;
}

.tfd-stat-label {
    color: #5f7893;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tfd-stat-value {
    color: #0d2a55;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 8px;
}

.tfd-contribution-row {
    width: 100%;
    text-align: left;
    background: #fff;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dfeaf4;
    box-shadow: 0 8px 20px rgba(11, 45, 87, 0.05);
}

.tfd-contribution-row-top,
.tfd-angler-card-top,
.tfd-selected-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tfd-contribution-name,
.tfd-angler-name {
    color: #0d2a55;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.tfd-contribution-percent,
.tfd-angler-share {
    font-size: 18px;
    font-weight: 800;
    color: #17a05d;
    white-space: nowrap;
}

.tfd-progress-track {
    margin-top: 12px;
    width: 100%;
    height: 10px;
    background: #e5edf6;
    border-radius: 999px;
    overflow: hidden;
}

.tfd-progress-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d5ed7 0%, #22c55e 100%);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
}

.tfd-angler-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfd-angler-card {
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    border: 1px solid #dfe8f2;
    box-shadow: 0 14px 28px rgba(12, 42, 83, 0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tfd-angler-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tfd-angler-metric {
    border-radius: 16px;
    background: #f6f9fd;
    padding: 12px 14px;
    border: 1px solid #e2ebf4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tfd-angler-metric span,
.tfd-filter-group span,
.tfd-fish-meta-label {
    color: #64809b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tfd-angler-metric strong,
.tfd-selected-summary strong,
.tfd-fish-meta-item strong {
    color: #0d2a55;
    font-size: 15px;
    font-weight: 800;
}

.tfd-angler-progress-label {
    color: #5d7892;
    font-size: 13px;
    font-weight: 700;
}

.tfd-link-btn {
    align-self: flex-start;
    padding: 11px 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d2a55 0%, #1b6ca8 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(18, 60, 114, 0.18);
}

.tfd-filter-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.tfd-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.tfd-select {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #d4e0ec;
    background: #fff;
    color: #0d2a55;
    font-size: 14px;
    font-weight: 700;
    padding: 0 14px;
    box-shadow: inset 0 1px 2px rgba(13, 42, 85, 0.04);
}

.tfd-selected-summary {
    border-radius: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(18, 60, 114, 0.09) 0%, rgba(34, 197, 94, 0.09) 100%);
    border: 1px solid rgba(18, 60, 114, 0.1);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tfd-selected-summary-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tfd-selected-summary-main span,
.tfd-selected-summary-side {
    color: #56738f;
    font-size: 13px;
    font-weight: 700;
}

.tfd-fish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfd-fish-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    border: 1px solid #dbe5f0;
    box-shadow: 0 12px 26px rgba(11, 45, 87, 0.07);
}

.tfd-fish-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.tfd-fish-weight {
    color: #0d2a55;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.tfd-fish-weight span {
    color: #7b93aa;
    font-size: 16px;
    font-weight: 700;
}

.tfd-fish-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #edf4fb;
    color: #5d7892;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.tfd-fish-meta-grid {
    display: grid;
    gap: 12px;
}

.tfd-fish-meta-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.tfd-fish-meta-label i {
    color: #1b6ca8;
}

.tfd-empty-state {
    text-align: center;
    padding: 56px 22px;
    background: #fff;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(201, 216, 233, 0.5);
}

.tfd-empty-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff5fd 0%, #e3eefb 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #8da7c3;
    margin-bottom: 16px;
}

.tfd-empty-title {
    font-size: 18px;
    color: #0d2a55;
    font-weight: 800;
    margin-bottom: 8px;
}

.mf-error {
    text-align: center;
    padding: 44px 20px;
}

.mf-error-icon {
    font-size: 2.4rem;
    color: #d81d2f;
    display: block;
    margin-bottom: 16px;
}

.mf-error-text {
    color: #7f3030;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

#teamFishingModal .modal-dialog {
    margin-top: 60px;
}

#teamFishingModal .fish-modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#teamFishingModal .fish-modal-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(135deg, #081529 0%, #123c72 55%, #1b6ca8 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 20px;
}

#teamFishingModal .fish-modal-header-top {
    position: relative;
    align-items: center;
    gap: 20px;
}

#teamFishingModal .fish-modal-header-left {
    flex: 1 1 auto;
    padding-right: 56px;
}

#teamFishingModal .fish-modal-close-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 20;
    width: 40px;
    height: 40px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(3px);
    transition: background 0.2s ease;
}

#teamFishingModal .fish-modal-close-btn:hover,
#teamFishingModal .fish-modal-close-btn:focus {
    background: rgba(255, 255, 255, 0.2);
}

#teamFishingModal .fish-modal-header-summary {
    margin-top: 8px;
}

#teamFishingModal .tfd-header-summary-strip-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

#teamFishingModal .tfd-header-chip-desktop {
    min-width: 140px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    backdrop-filter: blur(3px);
}

#teamFishingModal .tfd-header-chip-desktop .tfd-header-chip-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
}

#teamFishingModal .tfd-header-chip-desktop .tfd-header-chip-value {
    margin-top: 8px;
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 4px;
}

#teamFishingModal .tfd-header-chip-desktop .tfd-header-chip-main {
    min-width: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#teamFishingModal .tfd-header-chip-desktop .tfd-header-chip-unit {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

#teamFishingModal .tfd-tabs {
    gap: 10px;
    padding: 8px;
}

#teamFishingModal .tfd-overview-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#teamFishingModal .tfd-overview-metric {
    border-radius: 14px;
    border: 1px solid #dbe7f5;
    background: #fff;
    padding: 12px 14px;
    min-width: 0;
}

#teamFishingModal .tfd-overview-metric-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#teamFishingModal .tfd-overview-metric-value-row {
    margin-top: 8px;
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 4px;
}

#teamFishingModal .tfd-overview-metric-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

#teamFishingModal .tfd-overview-metric-unit {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #64748b;
}

#teamFishingModal .tfd-overview-metric-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#teamFishingModal .tfd-tab-btn {
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

#teamFishingModal .tfd-tab-btn.is-active {
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 6px 14px rgba(30, 58, 138, 0.28);
}

#teamFishingModal .tfd-tab-btn:not(.is-active):hover,
#teamFishingModal .tfd-tab-btn:not(.is-active):focus {
    background: #eff6ff;
    color: #1e3a8a;
}

#teamFishingModal .tfd-fish-meta-grid {
    gap: 10px;
}

#teamFishingModal .tfd-fish-meta-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

#teamFishingModal .tfd-fish-meta-label {
    flex-shrink: 0;
    margin-bottom: 0;
}

#teamFishingModal .tfd-fish-meta-item strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#teamFishingModal .fish-modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 10px 20px;
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(3px);
}

#teamFishingModal .fish-modal-footer-btn {
    min-height: 44px;
    padding: 0 24px;
    border-radius: 12px;
    background: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

#teamFishingModal .fish-modal-footer-btn:hover,
#teamFishingModal .fish-modal-footer-btn:focus {
    background: #1f2937;
    transform: none;
}

#teamFishingModal .modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.25) transparent;
}

#teamFishingModal .modal-scroll::-webkit-scrollbar {
    width: 8px;
}

#teamFishingModal .modal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

#teamFishingModal .modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.25);
    border-radius: 999px;
}

#teamFishingModal .modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.4);
}

#mobileFishModal .modal-dialog {
    position: fixed;
    inset: 8% 0 0 0;
    margin: 0;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding-top: 0;
    display: flex;
    align-items: flex-end;
}

#mobileFishModal .fish-modal-content {
    border-radius: 22px 22px 0 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

#mobileFishModal .fish-modal-body {
    padding: 10px 12px 12px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #f8fafc;
}

#mobileFishModal {
    overflow-x: hidden;
    overflow-y: hidden;
}

body.mobile-fish-modal-open .modal-backdrop.show {
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

#mobileFishModal .fish-modal-header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #0d2a55;
    padding: 6px 10px 8px;
    border-bottom: 1px solid #e2eaf3;
    position: sticky;
    top: 0;
    z-index: 20;
}

#mobileFishModal .fish-modal-drag-handle {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

#mobileFishModal .fish-modal-drag-handle span {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: #c5d4e5;
}

#mobileFishModal .fish-modal-header-top {
    align-items: center;
    gap: 8px;
}

#mobileFishModal .fish-modal-header-left {
    gap: 8px;
}

#mobileFishModal .fish-modal-header-title {
    font-size: 15px;
    line-height: 1.2;
}

#mobileFishModal .fish-modal-header-team {
    margin-top: 2px;
    color: #5f7994;
    font-size: 12px;
}

#mobileFishModal .fish-modal-close-btn {
    background: #f1f5fb;
    border: 1px solid #d7e1ee;
    color: #1e446f;
    width: 32px;
    height: 32px;
}

#mobileFishModal .fish-modal-close-btn:hover,
#mobileFishModal .fish-modal-close-btn:focus {
    background: #e9f1fb;
    transform: none;
}

#mobileFishModal .fish-modal-header-summary {
    margin-top: 6px;
}

#mobileFishModal .tfd-shell-mobile,
#mobileFishModal .tfd-shell-mobile .tfd-panel-mobile-list {
    width: 100%;
    overflow-x: hidden;
}

#mobileFishModal .tfd-shell-mobile .tfd-panel {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#mobileFishModal .tfd-shell-mobile .tfd-fish-grid-mobile {
    grid-template-columns: 1fr;
    gap: 8px;
}

#mobileFishModal .tfd-header-summary-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#mobileFishModal .tfd-header-chip {
    background: #f5f8fc;
    border: 1px solid #dce7f3;
    border-radius: 12px;
    padding: 8px 10px;
    min-height: 52px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#mobileFishModal .tfd-header-chip-icon {
    display: none;
}

#mobileFishModal .tfd-header-chip-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    text-align: left;
    line-height: 1;
    min-width: 0;
    flex: 1 1 auto;
}

#mobileFishModal .tfd-header-chip-main,
#mobileFishModal .tfd-header-chip-unit,
#mobileFishModal .tfd-header-chip-label {
    display: block;
    white-space: nowrap;
}

#mobileFishModal .tfd-header-chip-main {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    word-spacing: 0.06em;
    color: #0d2a55;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mobileFishModal .tfd-header-chip-unit {
    font-size: 11px;
    line-height: 1;
    color: #5f7994;
    opacity: 0.9;
}

#mobileFishModal .tfd-header-chip-label {
    font-size: 11px;
    line-height: 1.1;
    margin-top: 0;
    opacity: 0.9;
    color: #5f7994;
    text-transform: none;
    letter-spacing: 0.04em;
    margin-left: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Mobile Tabs ===== */

#mobileFishModal .tfd-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px 0 8px;
    background: #fff;
    border-radius: 0;
    margin: 0 0 8px;
    position: sticky;
    top: 0;
    z-index: 12;
    border-bottom: 1px solid #e6edf5;
}

#mobileFishModal .tfd-mobile-tab-btn {
    padding: 7px 8px;
    border: 1px solid #d8dfe8;
    border-radius: 999px;
    background: #f8f9fc;
    color: #5a7895;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
}

#mobileFishModal .tfd-mobile-tab-btn:active {
    background: #e8f0f9;
}

#mobileFishModal .tfd-mobile-tab-btn.is-active {
    background: linear-gradient(135deg, #0d2a55 0%, #1b6ca8 100%);
    color: #fff;
    border-color: #0d2a55;
    box-shadow: 0 4px 12px rgba(18, 60, 114, 0.18);
}

/* ===== Mobile Overview Tab ===== */

#mobileFishModal .tfd-mobile-overview-section {
    margin-bottom: 12px;
}

#mobileFishModal .tfd-mobile-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}


#mobileFishModal .tfd-mobile-top-anglers {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #e0e8f0;
}

#mobileFishModal .tfd-mobile-top-anglers-title {
    font-size: 14px;
    font-weight: 700;
    color: #0d2a55;
    margin: 0 0 10px;
}

#mobileFishModal .tfd-mobile-angler-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mobileFishModal .tfd-mobile-angler-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fc;
    border-radius: 10px;
}

#mobileFishModal .tfd-mobile-angler-rank {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2a55 0%, #1b6ca8 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}

#mobileFishModal .tfd-mobile-angler-details {
    flex: 1 1 auto;
    min-width: 0;
}

#mobileFishModal .tfd-mobile-angler-name {
    font-size: 13px;
    font-weight: 700;
    color: #0d2a55;
}

#mobileFishModal .tfd-mobile-angler-meta {
    font-size: 11px;
    color: #6b8aa3;
}

#mobileFishModal .tfd-mobile-angler-contribution {
    font-size: 13px;
    font-weight: 800;
    color: #17a05d;
    white-space: nowrap;
}

/* ===== Mobile Anglers Tab ===== */

#mobileFishModal .tfd-mobile-angler-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mobileFishModal .tfd-mobile-angler-card {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #e0e8f0;
    box-shadow: 0 2px 6px rgba(11, 45, 87, 0.04);
}

#mobileFishModal .tfd-mobile-angler-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

#mobileFishModal .tfd-mobile-angler-card-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    color: #0d2a55;
}

#mobileFishModal .tfd-mobile-angler-card-rank {
    margin-top: 4px;
    font-size: 12px;
    color: #6b8aa3;
    font-weight: 700;
}

#mobileFishModal .tfd-mobile-angler-card-contribution {
    font-size: 18px;
    font-weight: 800;
    color: #17a05d;
}

#mobileFishModal .tfd-mobile-angler-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 14px;
}

#mobileFishModal .tfd-mobile-angler-metric {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#mobileFishModal .tfd-mobile-angler-metric span {
    font-size: 11px;
    color: #6b8aa3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#mobileFishModal .tfd-mobile-angler-metric strong {
    font-size: 18px;
    color: #0d2a55;
    font-weight: 800;
    line-height: 1;
}

#mobileFishModal .tfd-mobile-angler-view-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    margin-top: 12px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d2a55 0%, #1b6ca8 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    touch-action: manipulation;
}

#mobileFishModal .tfd-mobile-angler-view-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ===== Mobile Fish Filter/Sort Controls ===== */

#mobileFishModal .tfd-mobile-fish-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: none;
    border: 1px solid #dfe8f3;
}

#mobileFishModal .tfd-mobile-select {
    width: 100%;
    min-height: 48px;
    padding: 6px 8px;
    border: 1.5px solid #d8dfe8;
    border-radius: 9px;
    background: #fff;
    color: #0d2a55;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%220d2a55%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3e%3cpolyline points=%226 9 12 15 18 9%22%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px;
    padding-right: 22px;
}

#mobileFishModal .tfd-mobile-select:focus {
    border-color: #0d2a55;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
    outline: none;
}

#mobileFishModal .tfd-mobile-selected-summary {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.06) 0%, rgba(27, 108, 168, 0.06) 100%);
    border: 1px solid rgba(15, 52, 96, 0.1);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#mobileFishModal .tfd-mobile-selected-summary strong {
    font-size: 12px;
    font-weight: 700;
    color: #0d2a55;
}

#mobileFishModal .tfd-mobile-selected-summary span {
    font-size: 11px;
    color: #5a7893;
    font-weight: 600;
    line-height: 1.3;
}

#mobileFishModal .tfd-mobile-selected-summary-biggest {
    color: #17a05d;
}

/* ===== Mobile Overview Leaderboard ===== */

#mobileFishModal .tfd-mobile-overview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

#mobileFishModal .tfd-mobile-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #dce7f3;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(11, 45, 87, 0.06);
    justify-content: flex-start;
}

#mobileFishModal .tfd-mobile-stat-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    flex-shrink: 0;
}

#mobileFishModal .tfd-mobile-stat-info {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

#mobileFishModal .tfd-mobile-stat-label {
    color: #6b8aa3;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#mobileFishModal .tfd-mobile-stat-value {
    color: #0d2a55;
    font-weight: 800;
    line-height: 1;
    font-size: 16px;
}

#mobileFishModal .tfd-mobile-stat-unit {
    font-size: 10px;
    font-weight: 600;
    color: #5f7994;
}

#mobileFishModal .tfd-mobile-leaderboard-section {
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    border: 1px solid #e0e8f0;
    box-shadow: 0 2px 8px rgba(11, 45, 87, 0.05);
}

#mobileFishModal .tfd-mobile-leaderboard-title {
    font-size: 13px;
    font-weight: 700;
    color: #0d2a55;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

#mobileFishModal .tfd-mobile-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mobileFishModal .tfd-mobile-leaderboard-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e8eef5;
    position: relative;
    transition: all 0.2s ease;
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-1 {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 235, 59, 0.06) 100%);
    border-color: rgba(255, 193, 7, 0.25);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08) 0%, rgba(221, 221, 221, 0.06) 100%);
    border-color: rgba(192, 192, 192, 0.25);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08) 0%, rgba(210, 140, 69, 0.06) 100%);
    border-color: rgba(205, 127, 50, 0.25);
}

#mobileFishModal .tfd-mobile-leaderboard-medal {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    min-width: 20px;
    text-align: center;
}

#mobileFishModal .tfd-mobile-leaderboard-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

#mobileFishModal .tfd-mobile-leaderboard-name {
    font-size: 13px;
    font-weight: 700;
    color: #0d2a55;
}

#mobileFishModal .tfd-mobile-leaderboard-stats {
    font-size: 11px;
    color: #6b8aa3;
    font-weight: 600;
}

#mobileFishModal .tfd-mobile-leaderboard-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

#mobileFishModal .tfd-mobile-leaderboard-contribution {
    font-size: 13px;
    font-weight: 800;
    color: #17a05d;
}

#mobileFishModal .tfd-mobile-leaderboard-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e8eef5;
    border-radius: 0 0 12px 0;
    overflow: hidden;
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-1 .tfd-mobile-leaderboard-progress-track {
    background: rgba(255, 193, 7, 0.15);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-2 .tfd-mobile-leaderboard-progress-track {
    background: rgba(192, 192, 192, 0.15);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-3 .tfd-mobile-leaderboard-progress-track {
    background: rgba(205, 127, 50, 0.15);
}

#mobileFishModal .tfd-mobile-leaderboard-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #17a05d 0%, #14813e 100%);
    transition: width 0.3s ease;
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-1 .tfd-mobile-leaderboard-progress-bar {
    background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-2 .tfd-mobile-leaderboard-progress-bar {
    background: linear-gradient(90deg, #c0c0c0 0%, #a8a8a8 100%);
}

#mobileFishModal .tfd-mobile-leaderboard-item.is-top-3 .tfd-mobile-leaderboard-progress-bar {
    background: linear-gradient(90deg, #cd7f32 0%, #a0622a 100%);
}

#mobileFishModal .fish-modal-footer {
    display: none;
}

#mobileFishModal .fish-modal-footer-btn {
    width: 100%;
    justify-content: center;
}

#mobileFishModal .tfd-fish-card {
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 6px 14px rgba(11, 45, 87, 0.06);
}

#mobileFishModal .tfd-fish-card-top {
    margin-bottom: 8px;
}

#mobileFishModal .tfd-fish-weight {
    font-size: 20px;
}

#mobileFishModal .tfd-fish-weight span {
    font-size: 12px;
}

#mobileFishModal .tfd-fish-number {
    padding: 4px 8px;
    font-size: 11px;
}

#mobileFishModal .tfd-fish-meta-grid {
    gap: 8px;
}

#mobileFishModal .tfd-fish-meta-label {
    margin-bottom: 0;
    font-size: 11px;
}

#mobileFishModal .tfd-fish-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#mobileFishModal .tfd-fish-meta-item strong {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#mobileFishModal .tfd-empty-state {
    padding: 20px 14px;
    border-radius: 14px;
}

#mobileFishModal .tfd-empty-icon {
    display: none;
}

#mobileFishModal.modal.fade .modal-dialog {
    transform: translateY(80px);
    transition: transform 0.3s ease;
}

#mobileFishModal.modal.show .modal-dialog {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .tfd-header-summary-strip,
    .tfd-overview-grid,
    .tfd-angler-grid,
    .tfd-fish-grid {
        grid-template-columns: 1fr;
    }

    .tfd-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fish-modal-content {
        border-radius: 22px;
        max-height: 92vh;
    }

    .fish-modal-header {
        padding: 16px;
    }

    .fish-modal-header-top {
        align-items: center;
    }

    .fish-modal-header-team {
        max-width: 220px;
    }

    .fish-modal-header-summary {
        margin-top: 12px;
    }

    .tfd-header-summary-strip,
    .tfd-stats-grid,
    .tfd-filter-toolbar,
    .tfd-angler-metrics,
    .tfd-fish-grid {
        grid-template-columns: 1fr;
    }

    .fish-modal-body {
        padding: 16px;
    }

    .tfd-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .tfd-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tfd-tab-btn {
        padding: 10px 8px;
        font-size: 13px;
    }

    .tfd-fish-card-top,
    .tfd-contribution-row-top,
    .tfd-angler-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .tfd-contribution-percent,
    .tfd-angler-share {
        font-size: 16px;
    }

    .tfd-fish-weight {
        font-size: 24px;
    }

    .fish-modal-footer {
        padding: 14px 16px;
    }

    .fish-modal-footer-btn {
        width: 100%;
        justify-content: center;
    }

    #mobileFishModal .fish-modal-content {
        border-radius: 20px 20px 0 0;
        height: 100%;
        max-height: 100%;
    }

    #mobileFishModal .fish-modal-body {
        padding: 8px 10px 10px;
    }

    #mobileFishModal .tfd-mobile-tabs {
        gap: 6px;
        padding: 6px 0 8px;
        margin-bottom: 10px;
    }

    #mobileFishModal .tfd-mobile-tab-btn {
        padding: 7px 8px;
        font-size: 12px;
    }

    #mobileFishModal .tfd-mobile-overview-grid {
        gap: 6px;
    }

    #mobileFishModal .tfd-mobile-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    #mobileFishModal .tfd-mobile-stat-value {
        font-size: 16px;
    }

    #mobileFishModal .tfd-mobile-angler-card-metrics {
        gap: 6px;
    }

    #mobileFishModal .tfd-mobile-fish-controls {
        gap: 6px;
        padding: 6px;
        margin-bottom: 10px;
    }

    #mobileFishModal .tfd-mobile-select {
        min-height: 48px;
        padding: 6px 7px;
        font-size: 12px;
        padding-right: 22px;
        background-size: 14px;
    }

    #mobileFishModal .tfd-mobile-selected-summary {
        padding: 8px 10px;
        margin-bottom: 10px;
        gap: 3px;
    }

    #mobileFishModal .tfd-mobile-selected-summary strong {
        font-size: 12px;
    }

    #mobileFishModal .tfd-mobile-selected-summary span {
        font-size: 11px;
    }

    #mobileFishModal .tfd-mobile-overview-stats {
        gap: 6px;
        margin-bottom: 8px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-section {
        padding: 10px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-list {
        gap: 8px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-item {
        gap: 8px;
        padding: 9px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-medal {
        font-size: 18px;
        min-width: 20px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-name {
        font-size: 12px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-stats {
        font-size: 10px;
    }

    #mobileFishModal .tfd-mobile-leaderboard-contribution {
        font-size: 12px;
    }
}

/* ===== Mobile Bottom Sheet UX Enhancements ===== */

#mobileFishModal .fish-modal-header,
#mobileFishModal .fish-modal-header-summary,
#mobileFishModal .tfd-header-chip,
#mobileFishModal .tfd-header-chip-label,
#mobileFishModal .fish-modal-content {
    transition: all 0.24s ease;
}

#mobileFishModal .fish-modal-content.is-sheet-dragging {
    will-change: transform;
}

#mobileFishModal .fish-modal-drag-handle {
    position: relative;
}

#mobileFishModal .fish-modal-drag-handle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #9fb1c5;
    border-bottom: 1.5px solid #9fb1c5;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -1px;
}

#mobileFishModal.is-header-collapsed .fish-modal-header {
    padding-top: 6px;
    padding-bottom: 6px;
}

#mobileFishModal.is-header-collapsed .fish-modal-header-summary {
    margin-top: 4px;
}

#mobileFishModal.is-header-collapsed .tfd-header-chip {
    min-height: 30px;
    padding: 4px 6px;
}

#mobileFishModal.is-header-collapsed .tfd-header-chip-label {
    opacity: 0;
    width: 0;
    margin-top: 0;
}

#mobileFishModal .tfd-mobile-tabs {
    background: #f4f8fd;
    border: 1px solid #dde7f2;
    border-radius: 999px;
    padding: 4px;
}

#mobileFishModal .tfd-mobile-tab-btn {
    min-height: 40px;
}

#mobileFishModal .tfd-mobile-tab-btn.is-active {
    box-shadow: 0 3px 10px rgba(18, 60, 114, 0.22);
}

#mobileFishModal .tfd-mobile-select,
#mobileFishModal .tfd-mobile-angler-view-btn,
#mobileFishModal .fish-modal-close-btn {
    min-height: 40px;
}

#mobileFishModal .fish-modal-close-btn {
    width: 40px;
    height: 40px;
}

#mobileFishModal .tfd-fish-card,
#mobileFishModal .tfd-mobile-angler-card,
#mobileFishModal .tfd-mobile-leaderboard-item {
    overflow: hidden;
}

#mobileFishModal .tfd-shell-mobile,
#mobileFishModal .tfd-mobile-overview-section,
#mobileFishModal .tfd-mobile-angler-grid,
#mobileFishModal .tfd-panel-mobile-list,
#mobileFishModal .tfd-fish-grid-mobile {
    max-width: 100%;
}

#mobileFishModal .tfd-shell-mobile {
    padding: 0 16px 24px;
}

