.qoo-earn-monitor{display:grid;gap:18px}.qoo-earn-monitor__hero{padding:22px;border:1px solid var(--qoo-border,#e6e8ec);border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.06),rgba(16,185,129,.05))}.qoo-earn-monitor__hero-main{max-width:1040px}.qoo-earn-monitor__hero h2{margin:4px 0 16px;font-size:clamp(22px,3vw,32px);line-height:1.15}.qoo-earn-monitor__eyebrow{margin:0!important;font-size:11px!important;font-weight:800;letter-spacing:.12em;color:#64748b}.qoo-earn-monitor__wallet-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:860px}.qoo-earn-monitor__wallet-form input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d8dee8;border-radius:12px;padding:12px 14px;background:#fff;color:#0f172a;font:inherit;box-shadow:0 1px 2px rgba(15,23,42,.03)}.qoo-earn-monitor__wallet-form input:focus{outline:2px solid rgba(16,185,129,.18);border-color:#94d8c5}.qoo-earn-monitor__refresh{min-width:112px;white-space:nowrap}.qoo-earn-monitor__notice{padding:11px 14px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-size:13px}.qoo-earn-monitor__notice.is-error,.qoo-earn-errors{background:#fff1f2;color:#be123c}.qoo-earn-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.qoo-earn-summary-card{padding:16px;border:1px solid var(--qoo-border,#e6e8ec);border-radius:16px;background:#fff;min-width:0}.qoo-earn-summary-card span,.qoo-earn-position__metrics span{display:block;color:#64748b;font-size:12px;font-weight:700}.qoo-earn-summary-card strong{display:block;margin-top:7px;font-size:22px;line-height:1.1}.qoo-earn-summary-card small,.qoo-earn-position__metrics small{display:block;margin-top:5px;color:#94a3b8;font-size:11px}.qoo-earn-summary-card.is-positive strong,.qoo-earn-position .is-positive strong{color:#059669}.qoo-earn-summary-card.is-negative strong,.qoo-earn-position .is-negative strong{color:#dc2626}.qoo-earn-meta-row{display:flex;justify-content:space-between;gap:12px;color:#94a3b8;font-size:11px;padding:0 2px}.qoo-earn-position-list{display:grid;gap:14px}.qoo-earn-position{border:1px solid var(--qoo-border,#e6e8ec);border-radius:18px;background:#fff;overflow:hidden}.qoo-earn-position__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px 14px;border-bottom:1px solid #eef1f5}.qoo-earn-position__title-row{display:flex;gap:9px;align-items:center}.qoo-earn-position__header h3{margin:0;font-size:18px}.qoo-earn-position__header p{margin:5px 0 0;color:#94a3b8;font-size:11px}.qoo-earn-protocol{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:800}.qoo-earn-position__external{font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.qoo-earn-position__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.qoo-earn-position__metrics>div{padding:15px 18px;border-right:1px solid #f0f2f5;border-bottom:1px solid #f0f2f5;min-height:88px}.qoo-earn-position__metrics>div:nth-child(4n){border-right:0}.qoo-earn-position__metrics strong{display:block;margin-top:6px;font-size:17px}.qoo-earn-basis{padding:13px 18px 16px;background:#fbfcfe}.qoo-earn-basis summary{cursor:pointer;font-size:12px;font-weight:800;color:#475569}.qoo-earn-basis form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:10px;align-items:end;margin-top:12px}.qoo-earn-basis label span{display:block;margin-bottom:5px;color:#64748b;font-size:11px;font-weight:700}.qoo-earn-basis input{width:100%;box-sizing:border-box;border:1px solid #dbe0e8;border-radius:10px;padding:9px 10px;background:#fff}.qoo-earn-basis p{margin:9px 0 0;color:#94a3b8;font-size:11px}.qoo-earn-empty{padding:28px;border:1px dashed #cbd5e1;border-radius:18px;text-align:center;background:#fff}.qoo-earn-empty--compact{padding:22px}.qoo-earn-empty strong{font-size:17px}.qoo-earn-empty p{max-width:720px;margin:8px auto 14px;color:#64748b}.qoo-earn-errors{margin:14px auto 0;max-width:720px;padding:10px 14px;border-radius:12px;text-align:left}.qoo-earn-errors p{margin:3px 0;color:inherit}.qoo-earn-history{border:1px solid var(--qoo-border,#e6e8ec);border-radius:18px;background:#fff;overflow:hidden}.qoo-earn-section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;padding:17px 20px;border-bottom:1px solid #eef1f5}.qoo-earn-section-head h3{margin:3px 0 0;font-size:17px}.qoo-earn-section-head>span{font-size:11px;color:#94a3b8}.qoo-earn-history__table-wrap{overflow:auto}.qoo-earn-history__table{width:100%;border-collapse:collapse;min-width:620px}.qoo-earn-history__table th,.qoo-earn-history__table td{padding:11px 16px;text-align:right;border-bottom:1px solid #f1f3f6;font-size:12px}.qoo-earn-history__table th:first-child,.qoo-earn-history__table td:first-child{text-align:left}.qoo-earn-history__table th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.qoo-earn-method-note{padding:15px 18px;border-radius:15px;background:#f8fafc;color:#475569;font-size:12px;line-height:1.6}.qoo-earn-method-note strong{color:#0f172a}.qoo-earn-method-note p{margin:5px 0 0}.qoo-earn-monitor-sidebar-tabs{margin-top:-4px}
@media(max-width:1100px){.qoo-earn-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.qoo-earn-position__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.qoo-earn-position__metrics>div:nth-child(4n){border-right:1px solid #f0f2f5}.qoo-earn-position__metrics>div:nth-child(2n){border-right:0}}
@media(max-width:700px){.qoo-earn-position__header,.qoo-earn-section-head,.qoo-earn-meta-row{flex-direction:column}.qoo-earn-summary-grid{grid-template-columns:1fr 1fr}.qoo-earn-position__metrics{grid-template-columns:1fr 1fr}.qoo-earn-basis form{grid-template-columns:1fr}.qoo-earn-monitor__wallet-form{grid-template-columns:1fr}.qoo-earn-monitor__refresh{width:100%}}
@media(max-width:460px){.qoo-earn-summary-grid,.qoo-earn-position__metrics{grid-template-columns:1fr}.qoo-earn-position__metrics>div{border-right:0!important}}
.qoo-earn-discovery,.qoo-earn-adapter-section{display:grid;gap:14px}.qoo-earn-discovery-alert{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:13px 15px;border-radius:14px;font-size:12px;line-height:1.5}.qoo-earn-discovery-alert strong{font-size:13px}.qoo-earn-discovery-alert a{margin-left:auto;font-weight:800;text-decoration:none}.qoo-earn-discovery-alert.is-info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.qoo-earn-discovery-alert.is-warning{background:#fff8e6;color:#8a5a00;border:1px solid #f4dfad}.qoo-earn-discovery-alert.is-error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.qoo-earn-section-head--plain{padding:0 2px;border:0;background:transparent}.qoo-earn-wallet-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.qoo-earn-wallet-assets,.qoo-earn-zerion-defi{border:1px solid var(--qoo-border,#e6e8ec);border-radius:18px;background:#fff;overflow:hidden}.qoo-earn-assets-table-wrap{overflow:auto}.qoo-earn-assets-table{width:100%;border-collapse:collapse;min-width:760px}.qoo-earn-assets-table th,.qoo-earn-assets-table td{padding:12px 16px;border-bottom:1px solid #f1f3f6;text-align:right;vertical-align:middle;font-size:12px}.qoo-earn-assets-table th{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#94a3b8}.qoo-earn-assets-table th:first-child,.qoo-earn-assets-table td:first-child{text-align:left}.qoo-earn-assets-table tbody tr:last-child td{border-bottom:0}.qoo-earn-wallet-asset.is-unverified{background:#fffdf7}.qoo-earn-asset-name{display:flex;align-items:center;gap:10px;min-width:240px}.qoo-earn-asset-name img,.qoo-earn-asset-icon-fallback{width:34px;height:34px;border-radius:50%;flex:0 0 34px}.qoo-earn-asset-name img{object-fit:cover;background:#f8fafc}.qoo-earn-asset-icon-fallback{display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-weight:900}.qoo-earn-asset-name>div{display:grid;gap:2px}.qoo-earn-asset-name strong{font-size:13px;color:#0f172a}.qoo-earn-asset-name span{color:#64748b;font-size:11px}.qoo-earn-asset-name code{font-size:9px;color:#94a3b8;background:transparent;padding:0}.qoo-earn-chain-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:10px;font-weight:800}.qoo-earn-unverified-label{display:block;margin-top:3px;color:#a16207;font-size:9px}.qoo-earn-empty--inline{margin:14px;padding:18px}.qoo-earn-defi-discovery-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.qoo-earn-defi-discovery-card{display:grid;gap:10px;padding:14px;border:1px solid #eef1f5;border-radius:14px;background:#fbfcfe}.qoo-earn-defi-discovery-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.qoo-earn-defi-discovery-card__head>div{display:grid;gap:3px}.qoo-earn-defi-discovery-card__head>div>strong{font-size:14px;color:#0f172a}.qoo-earn-defi-discovery-card__head span{font-size:10px;color:#94a3b8}.qoo-earn-defi-discovery-card__head>strong{font-size:15px}.qoo-earn-defi-tags{display:flex;gap:6px;flex-wrap:wrap}.qoo-earn-defi-tags span{padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:9px;font-weight:800}.qoo-earn-defi-components{display:grid;gap:5px}.qoo-earn-defi-components>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#64748b}.qoo-earn-defi-components strong{color:#334155}.qoo-earn-defi-discovery-card>a{font-size:10px;font-weight:800;text-decoration:none}.qoo-earn-adapter-section{padding-top:2px}.qoo-earn-adapter-section>.qoo-earn-empty{margin:0}
@media(max-width:1100px){.qoo-earn-wallet-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qoo-earn-defi-discovery-list{grid-template-columns:1fr}}
@media(max-width:700px){.qoo-earn-wallet-overview-grid{grid-template-columns:1fr 1fr}.qoo-earn-discovery-alert{align-items:flex-start}.qoo-earn-discovery-alert a{margin-left:0;width:100%}.qoo-earn-assets-table th,.qoo-earn-assets-table td{padding:10px 12px}}
@media(max-width:460px){.qoo-earn-wallet-overview-grid{grid-template-columns:1fr}}

.qoo-earn-price-source {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.3;
    color: #728198;
    font-weight: 500;
}

/* v0.14.49 — compact optional tooltips, aligned numeric columns and native date picker. */
.qoo-earn-tooltip,
.qoo-earn-inline-tooltip{position:relative}
.qoo-earn-tooltip{display:inline-grid!important;place-items:center;width:16px;height:16px;min-width:16px;margin-left:5px;border:1px solid #cbd5e1;border-radius:50%;background:#f8fafc;color:#64748b!important;font-size:10px!important;font-weight:800!important;line-height:1;cursor:help;vertical-align:middle}
.qoo-earn-tooltip::after,
.qoo-earn-inline-tooltip::after{content:attr(data-qoo-tooltip);position:absolute;z-index:9999;right:0;bottom:calc(100% + 9px);width:max-content;max-width:min(340px,70vw);padding:8px 10px;border-radius:9px;background:#0f172a;color:#fff;font-family:inherit;font-size:11px;font-weight:500;line-height:1.45;letter-spacing:normal;text-transform:none;text-align:left;white-space:normal;box-shadow:0 10px 28px rgba(15,23,42,.18);opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .12s ease,transform .12s ease,visibility .12s ease}
.qoo-earn-tooltip::before,
.qoo-earn-inline-tooltip::before{content:"";position:absolute;z-index:10000;right:5px;bottom:calc(100% + 4px);border:5px solid transparent;border-top-color:#0f172a;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}
.qoo-earn-tooltip:hover::after,.qoo-earn-tooltip:focus::after,.qoo-earn-tooltip:hover::before,.qoo-earn-tooltip:focus::before,
.qoo-earn-inline-tooltip:hover::after,.qoo-earn-inline-tooltip:focus::after,.qoo-earn-inline-tooltip:hover::before,.qoo-earn-inline-tooltip:focus::before{opacity:1;visibility:visible;transform:translateY(0)}
.qoo-earn-tooltip:focus,.qoo-earn-inline-tooltip:focus{outline:2px solid rgba(37,99,235,.2);outline-offset:2px}
.qoo-earn-inline-tooltip{cursor:help}
.qoo-earn-value-with-help{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;white-space:nowrap}
.qoo-earn-metric-label{display:flex!important;align-items:center;gap:2px}
.qoo-earn-cell-help{display:inline-flex;margin-left:4px;vertical-align:middle}
.qoo-earn-section-help{display:inline-flex!important;align-items:center}
.qoo-earn-basis-help{display:flex;align-items:center;gap:6px;margin-top:9px;color:#94a3b8;font-size:11px}
.qoo-earn-basis-help .qoo-earn-tooltip{margin-left:0}

/* Prevent explanatory text from stretching the Wallet Assets table. */
.qoo-earn-assets-table{table-layout:fixed;min-width:680px}
.qoo-earn-assets-table th:nth-child(1){width:38%}
.qoo-earn-assets-table th:nth-child(2){width:12%}
.qoo-earn-assets-table th:nth-child(3){width:18%}
.qoo-earn-assets-table th:nth-child(4){width:16%}
.qoo-earn-assets-table th:nth-child(5){width:16%}
.qoo-earn-asset-name{min-width:0}
.qoo-earn-asset-name>div{min-width:0}
.qoo-earn-asset-name>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.qoo-earn-price-source{display:none}

/* Global dashboard CSS removes native appearance; restore date controls here. */
@media(max-width:700px){.qoo-earn-assets-table{min-width:620px}.qoo-earn-assets-table th:nth-child(1){width:36%}}

/* v0.14.49 — Price cells stay text-only so numeric columns line up cleanly. */
.qoo-earn-assets-table td:nth-child(3),
.qoo-earn-assets-table td:nth-child(4),
.qoo-earn-assets-table td:nth-child(5){font-variant-numeric:tabular-nums}
.qoo-earn-assets-table td:nth-child(4)>strong,
.qoo-earn-assets-table td:nth-child(5)>strong{display:inline-block;min-width:0}

/* v0.14.50 — monitor-only: growth/decline comes from snapshots, not manual cost basis. */
.qoo-earn-history__table td.is-positive{color:#059669;font-weight:700}.qoo-earn-history__table td.is-negative{color:#dc2626;font-weight:700}

/* v0.14.55: consumer-first value display. */
.qoo-earn-summary-grid--simple{grid-template-columns:repeat(3,minmax(0,1fr))}
.qoo-earn-thb-value{display:block;margin-top:4px;color:#94a3b8!important;font-size:11px!important;font-weight:500!important;line-height:1.35}
.qoo-earn-assets-table td:nth-child(5) .qoo-earn-thb-value{text-align:right}
.qoo-earn-history__table td .qoo-earn-thb-value{text-align:right}
@media(max-width:700px){.qoo-earn-summary-grid--simple{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.qoo-earn-summary-grid--simple{grid-template-columns:1fr}}

/* v0.14.56 — token history is opened on demand; Daily Snapshot is no longer shown. */
.qoo-earn-section-subtext{display:block;margin-top:4px;color:#94a3b8;font-size:10px;line-height:1.45;font-weight:500}
.qoo-earn-asset-open{appearance:none!important;-webkit-appearance:none!important;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.qoo-earn-asset-open:hover strong,.qoo-earn-asset-open:focus-visible strong{color:#087f65;text-decoration:underline;text-underline-offset:3px}
.qoo-earn-asset-open:focus-visible{outline:2px solid rgba(8,127,101,.22);outline-offset:4px;border-radius:10px}
.qoo-earn-asset-open code{font-size:9px;color:#94a3b8;background:transparent;padding:0}
.qoo-earn-summary-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.qoo-earn-position__metrics--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.qoo-earn-position__metrics--compact>div{border-right:1px solid #f0f2f5!important}
.qoo-earn-position__metrics--compact>div:last-child{border-right:0!important}

.qoo-earn-token-modal[hidden]{display:none!important}
.qoo-earn-token-modal{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:24px}
.qoo-earn-token-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.56);backdrop-filter:blur(2px)}
.qoo-earn-token-modal__dialog{position:relative;z-index:1;width:min(1040px,calc(100vw - 32px));max-height:88vh;overflow:auto;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.qoo-earn-token-modal__close{position:sticky;z-index:3;top:14px;float:right;margin:14px 14px -48px 0;width:38px;height:38px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;color:#475569;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.08)}
.qoo-earn-token-modal__close:hover{color:#0f172a;background:#f8fafc}
.qoo-earn-token-modal__content{padding:26px 28px 30px;clear:both}
.qoo-earn-token-modal__loading{padding:70px 20px;text-align:center;color:#64748b;font-size:14px}
.qoo-earn-token-detail{display:grid;gap:18px}
.qoo-earn-token-detail__head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-right:48px}
.qoo-earn-token-detail__identity{display:flex;align-items:center;gap:12px;min-width:0}
.qoo-earn-token-detail__identity img,.qoo-earn-token-detail__identity>.qoo-earn-asset-icon-fallback{width:44px;height:44px;flex:0 0 44px}
.qoo-earn-token-detail__identity h3{margin:0;color:#0f172a;font-size:24px;line-height:1.15}
.qoo-earn-token-detail__identity p{margin:4px 0 0;color:#64748b;font-size:12px}
.qoo-earn-token-detail__explorer{flex:0 0 auto;color:#0f8b6d;font-size:12px;font-weight:800;text-decoration:none}
.qoo-earn-token-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.qoo-earn-token-summary-grid article{padding:15px 16px;border:1px solid #e8edf2;border-radius:15px;background:#fbfcfe;min-width:0}
.qoo-earn-token-summary-grid span{display:block;color:#64748b;font-size:10px;font-weight:800}
.qoo-earn-token-summary-grid strong{display:block;margin-top:7px;color:#0f172a;font-size:20px;line-height:1.15;font-variant-numeric:tabular-nums}
.qoo-earn-token-summary-grid small{display:block;margin-top:5px;color:#94a3b8;font-size:10px;line-height:1.4}
.qoo-earn-token-summary-grid .is-positive strong,.qoo-earn-token-history-table .is-positive{color:#059669}
.qoo-earn-token-summary-grid .is-negative strong,.qoo-earn-token-history-table .is-negative{color:#dc2626}
.qoo-earn-token-pnl-breakdown{display:flex;gap:18px;flex-wrap:wrap;padding:0 2px;color:#64748b;font-size:11px}
.qoo-earn-token-note{padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#64748b;font-size:11px;line-height:1.55}
.qoo-earn-token-note.is-warning{border-color:#f6dfaa;background:#fffaf0;color:#8a5a00}
.qoo-earn-token-note.is-error{border-color:#fecdd3;background:#fff1f2;color:#be123c}
.qoo-earn-token-history-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:2px}
.qoo-earn-token-history-head h4{margin:2px 0 0;color:#0f172a;font-size:17px}
.qoo-earn-token-history-head>span{color:#94a3b8;font-size:10px}
.qoo-earn-token-history-table-wrap{overflow:auto;border:1px solid #e8edf2;border-radius:15px}
.qoo-earn-token-history-table{width:100%;border-collapse:collapse;min-width:760px}
.qoo-earn-token-history-table th,.qoo-earn-token-history-table td{padding:11px 13px;border-bottom:1px solid #eef2f6;text-align:right;vertical-align:middle;font-size:11px;font-variant-numeric:tabular-nums}
.qoo-earn-token-history-table tr:last-child td{border-bottom:0}
.qoo-earn-token-history-table th{color:#94a3b8;font-size:9px;letter-spacing:.05em;text-transform:uppercase;background:#fbfcfe}
.qoo-earn-token-history-table th:first-child,.qoo-earn-token-history-table td:first-child{text-align:left}
.qoo-earn-token-history-table td:first-child strong{display:block;font-size:11px}
.qoo-earn-token-history-table td:first-child small{display:block;margin-top:2px;color:#94a3b8;font-size:9px}
.qoo-earn-token-history-table td:first-child a{display:inline-block;margin-top:3px;color:#0f8b6d;font-size:9px;font-weight:800;text-decoration:none}
.qoo-earn-token-history-table td:last-child small{display:block;margin-top:3px;color:#94a3b8;font-size:9px}
.qoo-earn-token-history-more{margin:0;color:#94a3b8;font-size:10px;text-align:right}
body.qoo-earn-modal-open{overflow:hidden}
@media(max-width:900px){.qoo-earn-token-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.qoo-earn-summary-grid--compact{grid-template-columns:1fr 1fr}.qoo-earn-position__metrics--compact{grid-template-columns:1fr 1fr}.qoo-earn-position__metrics--compact>div:nth-child(2n){border-right:0!important}.qoo-earn-position__metrics--compact>div:last-child{border-right:1px solid #f0f2f5!important}.qoo-earn-token-modal{padding:10px}.qoo-earn-token-modal__dialog{width:calc(100vw - 20px);max-height:94vh;border-radius:18px}.qoo-earn-token-modal__content{padding:22px 16px 24px}.qoo-earn-token-detail__head{align-items:flex-start;flex-direction:column;padding-right:44px}.qoo-earn-token-detail__explorer{margin-top:-4px}}
@media(max-width:460px){.qoo-earn-summary-grid--compact,.qoo-earn-token-summary-grid,.qoo-earn-position__metrics--compact{grid-template-columns:1fr}.qoo-earn-position__metrics--compact>div{border-right:0!important}}


/* v0.14.57 — responsive token-detail modal. Mounts at <body> via JS so dashboard transforms cannot clip it. */
.qoo-earn-token-modal{box-sizing:border-box;width:100vw;height:100vh;height:100dvh;max-width:none;overflow:hidden;padding:clamp(12px,2vw,24px)}
.qoo-earn-token-modal__dialog{box-sizing:border-box;width:min(1120px,100%);max-width:100%;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:0;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.qoo-earn-token-modal__close{position:absolute;top:14px;right:14px;float:none;margin:0;flex:0 0 auto}
.qoo-earn-token-modal__content{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-top:26px}
.qoo-earn-token-detail,.qoo-earn-token-detail>*{min-width:0;max-width:100%;box-sizing:border-box}
.qoo-earn-token-summary-grid article strong{overflow-wrap:anywhere}
.qoo-earn-token-history-table-wrap{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}

@media(max-width:700px){
  .qoo-earn-token-modal{padding:8px;place-items:stretch}
  .qoo-earn-token-modal__dialog{width:100%;height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:none;border-radius:16px;align-self:stretch}
  .qoo-earn-token-modal__content{padding:20px 14px 24px}
  .qoo-earn-token-modal__close{top:10px;right:10px;width:36px;height:36px}
  .qoo-earn-token-detail__head{padding-right:42px}
  .qoo-earn-token-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  .qoo-earn-token-modal{padding:0}
  .qoo-earn-token-modal__dialog{height:100vh;height:100dvh;border-radius:0}
  .qoo-earn-token-modal__content{padding:18px 12px 28px}
  .qoo-earn-token-detail{gap:14px}
  .qoo-earn-token-detail__identity h3{font-size:21px}
  .qoo-earn-token-summary-grid{grid-template-columns:1fr 1fr;gap:8px}
  .qoo-earn-token-summary-grid article{padding:12px}
  .qoo-earn-token-summary-grid strong{font-size:17px}
  .qoo-earn-token-pnl-breakdown{gap:8px 14px}
  .qoo-earn-token-history-head{align-items:flex-start}
  .qoo-earn-token-history-table-wrap{overflow:visible;border:0;border-radius:0}
  .qoo-earn-token-history-table{display:block;width:100%;min-width:0}
  .qoo-earn-token-history-table thead{display:none}
  .qoo-earn-token-history-table tbody{display:grid;gap:10px}
  .qoo-earn-token-history-table tr{display:grid;gap:0;border:1px solid #e8edf2;border-radius:14px;background:#fff;overflow:hidden}
  .qoo-earn-token-history-table td{display:grid;grid-template-columns:minmax(92px,38%) minmax(0,1fr);align-items:start;gap:10px;width:100%;box-sizing:border-box;padding:9px 11px!important;text-align:right!important;border-bottom:1px solid #eef2f6;font-size:11px;overflow-wrap:anywhere}
  .qoo-earn-token-history-table td:last-child{border-bottom:0}
  .qoo-earn-token-history-table td::before{content:attr(data-label);color:#94a3b8;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;text-align:left}
  .qoo-earn-token-history-table td:first-child{text-align:right!important}
  .qoo-earn-token-history-table td:first-child strong,.qoo-earn-token-history-table td:first-child small,.qoo-earn-token-history-table td:first-child a{grid-column:2}
  .qoo-earn-token-history-table td:last-child small{grid-column:2}
  .qoo-earn-token-history-more{text-align:left;line-height:1.5}
}

@media(max-width:380px){
  .qoo-earn-token-summary-grid{grid-template-columns:1fr}
}


/* v0.14.63 — compact tiny-token price notation, e.g. $0.0₄20095. */
.qoo-earn-compact-price{display:inline-flex;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums}
.qoo-earn-compact-price sub{position:relative;bottom:-.08em;margin:0 .02em;font-size:.58em;line-height:1;font-weight:800;vertical-align:baseline}

/* v0.14.64 — direct GMTrade wallet-level earned fees from the protocol's Subsquid feed. */
.qoo-earn-position__metrics--with-fees{grid-template-columns:repeat(5,minmax(0,1fr))}
.qoo-earn-position__metrics--with-fees>div{border-right:1px solid #f0f2f5!important}
.qoo-earn-position__metrics--with-fees>div:last-child{border-right:0!important}
.qoo-earn-position__metrics .is-positive-value{color:#059669}
@media(max-width:1300px){.qoo-earn-position__metrics--with-fees{grid-template-columns:repeat(3,minmax(0,1fr))}.qoo-earn-position__metrics--with-fees>div:nth-child(3n){border-right:0!important}.qoo-earn-position__metrics--with-fees>div:last-child{border-right:1px solid #f0f2f5!important}}
@media(max-width:760px){.qoo-earn-position__metrics--with-fees{grid-template-columns:repeat(2,minmax(0,1fr))}.qoo-earn-position__metrics--with-fees>div:nth-child(3n){border-right:1px solid #f0f2f5!important}.qoo-earn-position__metrics--with-fees>div:nth-child(2n){border-right:0!important}}
@media(max-width:460px){.qoo-earn-position__metrics--with-fees{grid-template-columns:1fr}.qoo-earn-position__metrics--with-fees>div{border-right:0!important}}
