:root {
    --ft-live-accent: #22d3ee;
    --ft-live-accent-2: #60a5fa;
    --ft-live-chip-bg: rgba(15, 23, 42, 0.86);
    --ft-live-chip-border: rgba(148, 163, 184, 0.32);
}

.ft-brand-badge-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 4px;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.badge-text,
.ft-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .ft-brand-badge-icon {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}

body.ft-live-enabled main {
    position: relative;
    z-index: 2;
}

#ftLivePulseBar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
    z-index: 3400;
    overflow: hidden;
}

#ftLivePulseBar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--ft-live-accent), var(--ft-live-accent-2), transparent);
    animation: ftLiveBarSlide 3.6s linear infinite;
}

.ft-live-chip {
    position: fixed;
    top: calc(68px + env(safe-area-inset-top));
    right: 12px;
    z-index: 3390;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--ft-live-chip-border);
    border-left: 2px solid var(--ft-live-accent);
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.86));
    backdrop-filter: blur(8px);
    color: #e2e8f0;
    box-shadow: 0 7px 18px rgba(2, 6, 23, 0.26);
    user-select: none;
}

.ft-live-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
    animation: ftLiveDotBlink 1.2s steps(1) infinite;
}

.ft-live-chip__body {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.ft-live-chip__title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #f8fafc;
    line-height: 1;
    white-space: nowrap;
}

.ft-live-chip__progress {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #67e8f9;
    line-height: 1;
    min-height: 0;
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 999px;
    padding: 1px 5px;
    white-space: nowrap;
}

.ft-live-chip__sep {
    width: 1px;
    height: 10px;
    background: rgba(148, 163, 184, 0.45);
    border-radius: 1px;
    flex: 0 0 auto;
}

.ft-live-chip__update {
    font-size: 9.5px;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1;
    white-space: nowrap;
}

.ft-auto-sale-modal {
    position: fixed;
    inset: 0;
    z-index: 3700;
    display: grid;
    place-items: center;
}

.ft-auto-sale-modal.is-hidden {
    display: none;
}

.ft-auto-sale-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.56);
    backdrop-filter: blur(2px);
}

.ft-auto-sale-modal__dialog {
    position: relative;
    width: min(540px, calc(100vw - 28px));
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
    box-shadow: 0 20px 44px rgba(2, 6, 23, 0.42);
    color: #f8fafc;
    padding: 16px 16px 14px;
}

.ft-auto-sale-modal__title {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.ft-auto-sale-modal__lead {
    margin: 0 0 10px;
    color: #e2e8f0;
    font-weight: 700;
}

.ft-auto-sale-modal__meta {
    margin: 0;
    display: grid;
    gap: 8px;
}

.ft-auto-sale-modal__meta > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
}

.ft-auto-sale-modal__meta dt {
    margin: 0;
    color: #93c5fd;
    font-size: 0.84rem;
    font-weight: 700;
}

.ft-auto-sale-modal__meta dd {
    margin: 0;
    color: #f8fafc;
    font-weight: 700;
    word-break: break-word;
}

.ft-auto-sale-modal__actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .ft-auto-sale-modal__dialog {
        width: min(480px, calc(100vw - 22px));
        border-radius: 12px;
        padding: 14px 12px 12px;
    }

    .ft-auto-sale-modal__title {
        font-size: 0.95rem;
    }

    .ft-auto-sale-modal__meta > div {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 6px;
    }

    .ft-auto-sale-modal__meta dt,
    .ft-auto-sale-modal__meta dd {
        font-size: 0.83rem;
    }
}

@media (min-width: 769px) {
    .ft-live-chip {
        top: auto;
        right: auto;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 14px;
        transform: none;
        min-width: 186px;
        max-width: 260px;
        align-items: flex-start;
        padding: 6px 9px;
        gap: 7px;
        border-left-width: 2px;
        border-radius: 12px;
    }

    .ft-live-chip__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title progress"
            "update update";
        align-items: center;
        row-gap: 2px;
        column-gap: 6px;
        width: 100%;
    }

    .ft-live-chip__title {
        grid-area: title;
        font-size: 10.5px;
    }

    .ft-live-chip__progress {
        grid-area: progress;
        justify-self: end;
        font-size: 10.5px;
        padding: 1px 5px;
    }

    .ft-live-chip__update {
        grid-area: update;
        font-size: 9.3px;
    }

    .ft-live-chip__sep {
        display: none;
    }
}

body.ft-live-enabled .panel,
body.ft-live-enabled .ft-panel,
body.ft-live-enabled .subpanel,
body.ft-live-enabled .action-box {
    position: relative;
    overflow: hidden;
}

body.ft-live-enabled .panel::after,
body.ft-live-enabled .ft-panel::after,
body.ft-live-enabled .subpanel::after,
body.ft-live-enabled .action-box::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ft-live-accent), var(--ft-live-accent-2));
    opacity: 0;
    pointer-events: none;
}

body.ft-live-enabled .panel.is-live-sweep::after,
body.ft-live-enabled .ft-panel.is-live-sweep::after,
body.ft-live-enabled .subpanel.is-live-sweep::after,
body.ft-live-enabled .action-box.is-live-sweep::after {
    opacity: 1;
    animation: ftLiveTopLine 0.9s ease;
}

body.ft-live-enabled .is-live-flash {
    filter: brightness(1.03) saturate(1.06);
    transform: translateY(-1px);
    transition: transform 0.18s ease, filter 0.18s ease;
}

/* bid list live */
body.ft-live-enabled #bidsTable .bid-row {
    position: relative;
}

body.ft-live-enabled #bidsTable .bid-row.is-live-row-update td {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), rgba(96, 165, 250, 0.03));
    border-bottom-color: rgba(125, 211, 252, 0.5);
}

body.ft-live-enabled #bidsTable .bid-row.is-live-row-update td:first-child {
    box-shadow: inset 3px 0 0 0 rgba(34, 211, 238, 0.86);
}

/* dm thread / message live */
body.ft-live-enabled .thread-list,
body.ft-live-enabled .floating-thread-list,
body.ft-live-enabled .gdm-threads {
    position: relative;
}

body.ft-live-enabled .thread-list.is-live-stream::before,
body.ft-live-enabled .floating-thread-list.is-live-stream::before,
body.ft-live-enabled .gdm-threads.is-live-stream::before {
    content: "";
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ft-live-accent), var(--ft-live-accent-2), transparent);
    animation: ftLiveStreamLine 0.8s ease;
    z-index: 2;
}

body.ft-live-enabled .thread-item.is-live-row-update,
body.ft-live-enabled .gdm-thread.is-live-row-update {
    border-color: rgba(34, 211, 238, 0.5);
    background: linear-gradient(90deg, rgba(236, 254, 255, 0.75), rgba(239, 246, 255, 0.65));
}

body.ft-live-enabled .message-list.is-live-message-update,
body.ft-live-enabled .floating-message-list.is-live-message-update,
body.ft-live-enabled .gdm-messages.is-live-message-update {
    border-color: rgba(56, 189, 248, 0.36);
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(255, 255, 255, 0.96));
}

/* home realtime focus */
body.ft-live-enabled .ft-home .ft-panel.is-live-card-focus {
    border-color: rgba(34, 211, 238, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.26) inset;
}

body.ft-live-enabled .ft-home .ft-panel.is-live-edge-run::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ft-live-accent), var(--ft-live-accent-2), transparent);
    animation: ftLiveEdgeRun 0.85s ease;
    pointer-events: none;
    z-index: 3;
}

body.ft-live-enabled .ft-home .preview-card.is-live-tile-focus {
    border-color: rgba(56, 189, 248, 0.62) !important;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.26) inset;
    transform: translateY(-1px);
}

body.ft-live-enabled .ft-home #marketTable tbody tr.is-live-row-focus td {
    background: linear-gradient(90deg, rgba(236, 254, 255, 0.95), rgba(239, 246, 255, 0.92));
    border-bottom-color: rgba(125, 211, 252, 0.52);
}

body.ft-live-enabled .ft-home #marketTable tbody tr.is-live-row-focus td:first-child {
    box-shadow: inset 3px 0 0 0 rgba(14, 165, 233, 0.78);
}

body.ft-live-enabled .ft-home #recentPreview.is-live-group-focus,
body.ft-live-enabled .ft-home #hotPreview.is-live-group-focus,
body.ft-live-enabled .ft-home #marketTable tbody.is-live-group-focus {
    animation: ftLiveGroupTick 0.52s ease;
}

body.ft-live-enabled .is-countup-live {
    color: #0c4a6e !important;
}

/* premium interactive motion */
body.ft-live-enabled .ft-interactive-target {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s cubic-bezier(0.25, 0.7, 0.2, 1), filter 0.2s ease;
    --ft-hold-progress: 0;
    --ft-sweep-opacity: 0.75;
    --ft-sweep-duration: 0.86s;
    --ft-ring-size: 1.8px;
    --ft-charge-a: #22d3ee;
    --ft-charge-b: #60a5fa;
    --ft-charge-c: #34d399;
    --ft-sweep-box-top: -170%;
    --ft-sweep-box-left: -230%;
    --ft-sweep-box-width: 240%;
    --ft-sweep-box-height: 270%;
    --ft-sweep-angle: 11deg;
    --ft-sweep-travel: 190%;
}

/* Keep DM unread badge visible outside the floating button edge */
body.ft-live-enabled .ft-interactive-target:is(.gdm-toggle, .floating-dm-toggle, #floatingDmToggleBtn) {
    overflow: visible;
}

body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn)::before {
    content: "";
    position: absolute;
    top: var(--ft-sweep-box-top);
    left: var(--ft-sweep-box-left);
    width: var(--ft-sweep-box-width);
    height: var(--ft-sweep-box-height);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: rotate(var(--ft-sweep-angle)) translate3d(0, 0, 0);
    background:
        linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.04) 16%,
            rgba(255, 255, 255, 0.14) 36%,
            rgba(255, 255, 255, 0.68) 52%,
            rgba(255, 255, 255, 0.14) 68%,
            rgba(255, 255, 255, 0.04) 86%,
            rgba(255, 255, 255, 0) 100%
        );
    mix-blend-mode: screen;
}

body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform-origin: left center;
    transform: scaleX(var(--ft-hold-progress));
    background: linear-gradient(90deg, var(--ft-charge-a) 0%, var(--ft-charge-b) 48%, var(--ft-charge-c) 100%);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.36);
}

@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn)::after {
        inset: 0;
        height: auto;
        transform: none;
        border-radius: inherit;
        padding: var(--ft-ring-size);
        background:
            conic-gradient(
                from -90deg,
                var(--ft-charge-a) 0turn,
                var(--ft-charge-b) calc(var(--ft-hold-progress) * 0.5turn),
                var(--ft-charge-c) calc(var(--ft-hold-progress) * 1turn),
                rgba(255, 255, 255, 0.08) calc(var(--ft-hold-progress) * 1turn),
                rgba(255, 255, 255, 0.02) 1turn
            );
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
}

body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn):is(:hover, :focus-visible, .is-hovering)::before {
    opacity: var(--ft-sweep-opacity);
    animation: ftInteractiveGlassSweep var(--ft-sweep-duration) cubic-bezier(0.2, 0.6, 0.2, 1) 1;
}

body.ft-live-enabled .ft-interactive-target.is-pressing {
    transform: translate3d(0, 1px, 0) scale(0.988);
    filter: saturate(1.08);
}

body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn).is-pressing::after {
    opacity: 1;
}

body.ft-live-enabled .ft-interactive-target:not(.gdm-toggle):not(.floating-dm-toggle):not(#floatingDmToggleBtn).is-hold-charged::after {
    opacity: 1;
    animation: ftInteractiveChargePulse 0.34s ease-in-out infinite;
}

body.ft-live-enabled .ft-interactive-target.is-release-pop {
    animation: ftInteractiveReleasePop 0.42s cubic-bezier(0.18, 0.82, 0.23, 1) 1;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-card {
    --ft-sweep-opacity: 0.42;
    --ft-sweep-duration: 1.08s;
    --ft-ring-size: 1.35px;
    --ft-charge-a: #67e8f9;
    --ft-charge-b: #93c5fd;
    --ft-charge-c: #6ee7b7;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn {
    --ft-sweep-opacity: 0.92;
    --ft-sweep-duration: 0.72s;
    --ft-ring-size: 2.25px;
    --ft-orbit-width: 1.35px;
    --ft-orbit-color: rgba(186, 230, 253, 0.92);
    --ft-orbit-final: rgba(125, 211, 252, 0.85);
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn-primary {
    --ft-sweep-opacity: 1;
    --ft-sweep-duration: 0.64s;
    --ft-ring-size: 2.4px;
    --ft-charge-a: #22d3ee;
    --ft-charge-b: #60a5fa;
    --ft-charge-c: #34d399;
    --ft-orbit-color: rgba(186, 230, 253, 0.98);
    --ft-orbit-final: rgba(56, 189, 248, 0.95);
    --ft-sweep-box-top: -214%;
    --ft-sweep-box-left: -296%;
    --ft-sweep-box-width: 332%;
    --ft-sweep-box-height: 360%;
    --ft-sweep-angle: 10deg;
    --ft-sweep-travel: 176%;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn-secondary {
    --ft-sweep-opacity: 0.72;
    --ft-sweep-duration: 0.78s;
    --ft-ring-size: 2px;
    --ft-charge-a: #94a3b8;
    --ft-charge-b: #cbd5e1;
    --ft-charge-c: #60a5fa;
    --ft-orbit-color: rgba(226, 232, 240, 0.9);
    --ft-orbit-final: rgba(148, 163, 184, 0.86);
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn-kakao {
    --ft-sweep-opacity: 0.96;
    --ft-sweep-duration: 0.62s;
    --ft-ring-size: 2.35px;
    --ft-charge-a: #fde047;
    --ft-charge-b: #facc15;
    --ft-charge-c: #f59e0b;
    --ft-orbit-color: rgba(255, 247, 205, 0.96);
    --ft-orbit-final: rgba(250, 204, 21, 0.92);
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-soft {
    --ft-sweep-opacity: 0.6;
    --ft-sweep-duration: 0.82s;
    --ft-ring-size: 1.6px;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-card.is-child-interacting {
    filter: none !important;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-card.is-child-interacting::before,
body.ft-live-enabled .ft-interactive-target.ft-interactive-card.is-child-interacting::after {
    opacity: 0 !important;
    animation: none !important;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit-wrap {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border-radius: inherit;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit {
    --ft-orbit-start: -90deg;
    --ft-orbit-turn: 1turn;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: var(--ft-orbit-width) solid transparent;
    border-top-color: var(--ft-orbit-color);
    opacity: 0;
    transform: rotate(var(--ft-orbit-start)) scale(1);
}

@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit {
        border-color: transparent;
        padding: var(--ft-orbit-width);
        background: conic-gradient(
            from -90deg,
            rgba(255, 255, 255, 0) 0deg,
            var(--ft-orbit-color) 54deg,
            rgba(255, 255, 255, 0) 104deg,
            rgba(255, 255, 255, 0) 360deg
        );
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit-2 {
    inset: 1px;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit-3 {
    inset: 2px;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn.is-orbit-running .ft-orbit-1 {
    animation: ftOrbitRingLap 0.24s linear 0s 1 both;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn.is-orbit-running .ft-orbit-2 {
    animation: ftOrbitRingLap 0.24s linear 0.24s 1 both;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn.is-orbit-running .ft-orbit-3 {
    animation: ftOrbitRingLap 0.24s linear 0.48s 1 both;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-btn.is-orbit-complete {
    box-shadow: 0 0 0 1px var(--ft-orbit-final), 0 6px 14px rgba(2, 132, 199, 0.2);
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-float:is(:hover, :focus-visible, .is-hovering) {
    animation: ftInteractiveFloatBounce 0.52s cubic-bezier(0.2, 0.75, 0.25, 1) 1;
}

body.ft-live-enabled .ft-interactive-target.ft-interactive-float.is-pressing {
    transform: translate3d(0, -2px, 0) scale3d(1.03, 1.02, 1);
}

/* Table rows must remain native table rows; do not apply pseudo interactive layers */
body.ft-live-enabled .trade-table tbody tr.ft-interactive-target {
    transform: none !important;
    filter: none !important;
    overflow: visible !important;
    isolation: auto !important;
}

body.ft-live-enabled .trade-table tbody tr.ft-interactive-target::before,
body.ft-live-enabled .trade-table tbody tr.ft-interactive-target::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* 2-frame fish sprite animation (left frame <-> right frame) */
.market-fish-image,
.preview-fish-image,
.card-fish-image,
.my-item-fish-image,
.detail-fish-image,
.fish-image {
    position: relative;
    z-index: 2;
    transform: translate3d(0, 0, 0);
    transform-origin: left center;
    will-change: transform;
}

.market-fish-image.ft-fish-sprite-ready,
.preview-fish-image.ft-fish-sprite-ready,
.card-fish-image.ft-fish-sprite-ready,
.my-item-fish-image.ft-fish-sprite-ready,
.detail-fish-image.ft-fish-sprite-ready,
.fish-image.ft-fish-sprite-ready {
    animation: pmFishSpriteFlip 1.05s steps(1, end) infinite;
}

/* Ocean-like animated background for fish preview containers */
.market-fish-thumb,
.preview-fish-thumb,
.card-fish-thumb,
.my-item-fish-thumb,
.detail-fish-preview,
.fish-thumb {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(24, 50, 96, 0.94) 0%, rgba(54, 98, 158, 0.9) 48%, rgba(80, 158, 210, 0.84) 100%) !important;
}

.market-fish-thumb::before,
.preview-fish-thumb::before,
.card-fish-thumb::before,
.my-item-fish-thumb::before,
.detail-fish-preview::before,
.fish-thumb::before {
    content: "";
    position: absolute;
    inset: -26%;
    z-index: 0;
    background:
        radial-gradient(56% 44% at 18% 24%, rgba(196, 216, 242, 0.56), transparent 72%),
        radial-gradient(66% 52% at 82% 62%, rgba(112, 191, 230, 0.44), transparent 76%),
        radial-gradient(66% 54% at 54% 94%, rgba(66, 130, 171, 0.4), transparent 74%),
        radial-gradient(60% 52% at 50% 48%, rgba(88, 154, 196, 0.34), transparent 80%);
    transform: translate3d(0, 0, 0) scale(1.02);
    animation: pmOceanDrift 6.2s ease-in-out infinite alternate;
    pointer-events: none;
}

/* subtle hero motion */
body.ft-live-enabled .ft-hero,
body.ft-live-enabled .hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: background-position;
}

body.ft-live-enabled .ft-hero {
    background-size: 142% 142%;
    animation: ftHeroGradientDriftSingle 20s ease-in-out infinite;
}

body.ft-live-enabled .hero {
    background-size: 130% 130%, 126% 126%, 100% 100%;
    animation: ftHeroGradientDriftMulti 23s ease-in-out infinite;
}

body.ft-live-enabled .ft-hero::before,
body.ft-live-enabled .ft-hero::after {
    content: "";
    position: absolute;
    inset: -16%;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

body.ft-live-enabled .ft-hero::before {
    background:
        radial-gradient(50% 42% at 22% 24%, rgba(255, 255, 255, 0.22), transparent 70%),
        radial-gradient(46% 38% at 78% 72%, rgba(125, 211, 252, 0.14), transparent 74%);
    animation: ftHeroAuraShiftA 16s ease-in-out infinite;
}

body.ft-live-enabled .ft-hero::after {
    background:
        radial-gradient(54% 40% at 70% 22%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(42% 36% at 28% 78%, rgba(34, 211, 238, 0.1), transparent 74%);
    animation: ftHeroAuraShiftB 20s ease-in-out infinite;
}

body.ft-live-enabled .ft-hero > :not(.ft-hero__swim-layer),
body.ft-live-enabled .hero > * {
    position: relative;
    z-index: 2;
}

body.ft-live-enabled .ft-hero > .ft-hero__swim-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

body.ft-live-enabled .hero::before {
    animation: ftHeroOrbFloatA 14s ease-in-out infinite;
}

body.ft-live-enabled .hero::after {
    animation: ftHeroOrbFloatB 17s ease-in-out infinite;
}

.market-fish-thumb::after,
.preview-fish-thumb::after,
.card-fish-thumb::after,
.my-item-fish-thumb::after,
.detail-fish-preview::after,
.fish-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.42;
    background:
        repeating-linear-gradient(
            -12deg,
            rgba(255, 255, 255, 0.34) 0 2px,
            rgba(255, 255, 255, 0.03) 2px 16px
        ),
        repeating-linear-gradient(
            14deg,
            rgba(125, 211, 252, 0.24) 0 1px,
            rgba(3, 105, 161, 0.03) 1px 22px
        );
    background-size: 160px 160px, 220px 220px;
    background-position: 0 0, 0 0;
    animation: pmOceanRipple 4.2s linear infinite;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ft-live-chip {
        display: none !important;
    }

    .ft-live-chip {
        top: auto;
        left: 50%;
        right: auto;
        bottom: calc(var(--pm-ft-mobile-nav-height, 72px) + 12px + env(safe-area-inset-bottom));
        transform: translateX(-50%);
        width: fit-content;
        max-width: calc(100vw - 18px);
        min-height: 28px;
        padding: 4px 10px 3px;
        gap: 6px;
        border-left-width: 1px;
        border-radius: 12px;
        z-index: 4990;
    }

    .ft-live-chip__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title progress"
            "update update";
        align-items: center;
        row-gap: 2px;
        column-gap: 7px;
        width: auto;
        min-width: min(252px, calc(100vw - 34px));
        max-width: calc(100vw - 34px);
    }

    .ft-live-chip__title,
    .ft-live-chip__update,
    .ft-live-chip__progress {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ft-live-chip__title {
        grid-area: title;
        font-size: 10.8px;
        line-height: 1.1;
        max-width: none;
    }

    .ft-live-chip__progress {
        grid-area: progress;
        justify-self: end;
        font-size: 11px;
        padding: 1px 5px;
        letter-spacing: 0.11em;
    }

    .ft-live-chip__sep {
        display: none;
    }

    .ft-live-chip__update {
        grid-area: update;
        text-align: left;
        font-size: 10px;
        line-height: 1.15;
    }

    body.ft-live-enabled .ft-home .preview-card.is-live-tile-focus {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-fish-image,
    .preview-fish-image,
    .card-fish-image,
    .my-item-fish-image,
    .detail-fish-image,
    .fish-image,
    .market-fish-thumb::before,
    .preview-fish-thumb::before,
    .card-fish-thumb::before,
    .my-item-fish-thumb::before,
    .detail-fish-preview::before,
    .fish-thumb::before,
    .market-fish-thumb::after,
    .preview-fish-thumb::after,
    .card-fish-thumb::after,
    .my-item-fish-thumb::after,
    .detail-fish-preview::after,
    .fish-thumb::after,
    #ftLivePulseBar::before,
    .ft-live-chip .dot,
    body.ft-live-enabled .panel.is-live-sweep::after,
    body.ft-live-enabled .ft-panel.is-live-sweep::after,
    body.ft-live-enabled .subpanel.is-live-sweep::after,
    body.ft-live-enabled .action-box.is-live-sweep::after,
    body.ft-live-enabled .thread-list.is-live-stream::before,
    body.ft-live-enabled .floating-thread-list.is-live-stream::before,
    body.ft-live-enabled .gdm-threads.is-live-stream::before,
    body.ft-live-enabled .ft-hero,
    body.ft-live-enabled .hero,
    body.ft-live-enabled .ft-hero::before,
    body.ft-live-enabled .ft-hero::after,
    body.ft-live-enabled .hero::before,
    body.ft-live-enabled .hero::after,
    body.ft-live-enabled .ft-interactive-target::before,
    body.ft-live-enabled .ft-interactive-target::after,
    body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit,
    body.ft-live-enabled .ft-interactive-target.is-release-pop,
    body.ft-live-enabled .ft-interactive-target.ft-interactive-float:is(:hover, :focus-visible, .is-hovering) {
        animation: none !important;
    }

    .market-fish-image,
    .preview-fish-image,
    .card-fish-image,
    .my-item-fish-image,
    .detail-fish-image,
    .fish-image {
        transform: translate3d(0, 0, 0) !important;
    }

    body.ft-live-enabled .ft-interactive-target {
        transition: none !important;
    }

    body.ft-live-enabled .ft-interactive-target.ft-interactive-btn .ft-orbit-wrap {
        display: none !important;
    }
}

@keyframes ftLiveBarSlide {
    0% { left: -20%; }
    100% { left: 100%; }
}

@keyframes ftLiveDotBlink {
    0%, 55% { opacity: 1; }
    56%, 100% { opacity: 0.45; }
}

@keyframes ftLiveTopLine {
    0% { width: 0; opacity: 0; }
    30% { opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

@keyframes ftLiveStreamLine {
    0% { opacity: 0; transform: scaleX(0.65); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: scaleX(1); }
}

@keyframes ftLiveEdgeRun {
    0% { transform: translateX(-36%); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: translateX(36%); opacity: 0; }
}

@keyframes ftLiveGroupTick {
    0% { filter: contrast(100%); }
    50% { filter: contrast(106%); }
    100% { filter: contrast(100%); }
}

@keyframes pmFishSpriteFlip {
    0%, 49.999% { transform: translate3d(0, 0, 0); }
    50%, 100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pmOceanDrift {
    0% { transform: translate3d(-8%, -4%, 0) scale(1.03); }
    35% { transform: translate3d(6%, 3%, 0) scale(1.08); }
    70% { transform: translate3d(-3%, 7%, 0) scale(1.06); }
    100% { transform: translate3d(7%, -2%, 0) scale(1.04); }
}

@keyframes pmOceanRipple {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: -96px 0, -132px 0; }
}

@keyframes ftHeroGradientDriftSingle {
    0% { background-position: 0% 0%; }
    35% { background-position: 68% 26%; }
    70% { background-position: 22% 78%; }
    100% { background-position: 0% 0%; }
}

@keyframes ftHeroGradientDriftMulti {
    0% { background-position: 0% 0%, 0% 0%, 50% 50%; }
    35% { background-position: 72% 24%, 20% 76%, 50% 50%; }
    68% { background-position: 18% 82%, 84% 18%, 50% 50%; }
    100% { background-position: 0% 0%, 0% 0%, 50% 50%; }
}

@keyframes ftHeroAuraShiftA {
    0% { transform: translate3d(-6%, 0, 0) scale(1.03); opacity: 0.8; }
    50% { transform: translate3d(6%, -5%, 0) scale(1.08); opacity: 1; }
    100% { transform: translate3d(-6%, 0, 0) scale(1.03); opacity: 0.8; }
}

@keyframes ftHeroAuraShiftB {
    0% { transform: translate3d(5%, -4%, 0) scale(1.03); opacity: 0.72; }
    50% { transform: translate3d(-6%, 5%, 0) scale(1.07); opacity: 0.96; }
    100% { transform: translate3d(5%, -4%, 0) scale(1.03); opacity: 0.72; }
}

@keyframes ftHeroOrbFloatA {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-18px, 10px, 0) scale(1.08); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes ftHeroOrbFloatB {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(15px, -10px, 0) scale(1.07); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes ftInteractiveGlassSweep {
    0% {
        transform: rotate(var(--ft-sweep-angle, 11deg)) translate3d(0, 0, 0);
        opacity: 0;
    }
    18% {
        opacity: var(--ft-sweep-opacity, 0.9);
    }
    100% {
        transform: rotate(var(--ft-sweep-angle, 11deg)) translate3d(var(--ft-sweep-travel, 190%), 0, 0);
        opacity: 0;
    }
}

@keyframes ftInteractiveChargePulse {
    0%, 100% {
        filter: saturate(1) brightness(1);
    }
    50% {
        filter: saturate(1.18) brightness(1.12);
    }
}

@keyframes ftInteractiveReleasePop {
    0% {
        transform: translate3d(0, 1px, 0) scale(0.985);
    }
    45% {
        transform: translate3d(0, -2px, 0) scale(1.018);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes ftInteractiveFloatBounce {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    34% {
        transform: translate3d(0, -6px, 0) scale3d(1.075, 1.035, 1);
    }
    68% {
        transform: translate3d(0, -2px, 0) scale3d(1.035, 1.018, 1);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes ftOrbitRingLap {
    0% {
        opacity: 0.15;
        transform: rotate(var(--ft-orbit-start)) scale(1);
    }
    18% {
        opacity: 0.9;
    }
    82% {
        opacity: 0.72;
    }
    100% {
        opacity: 0;
        transform: rotate(calc(var(--ft-orbit-start) + var(--ft-orbit-turn))) scale(1);
    }
}
