#tecpon-interest[hidden],
#tecpon-interest [hidden],
#tecpon-header .tecpon-interest-header[hidden],
.tecpon-interest-badge[hidden] {
    display: none !important;
}

#tecpon-header .hd-icon-btn.tecpon-interest-header {
    position: relative;
    flex: 0 0 38px;
    border-radius: 50%;
}

#tecpon-header .hd-icon-btn.tecpon-interest-header:hover {
    color: #ff0000;
}

.tecpon-interest-badge {
    position: absolute;
    top: 0;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 15px;
    text-align: center;
}

.tecpon-interest {
    position: fixed;
    right: 24px;
    bottom: 152px;
    z-index: 9997;
    display: grid;
    justify-items: end;
    gap: 10px;
    width: min(342px, calc(100vw - 48px));
    pointer-events: none;
    color: #111827;
    font-size: 14px;
}

.tecpon-interest-panel.is-expanded,
.tecpon-interest-toggle {
    pointer-events: auto;
    box-shadow: 0 8px 28px rgba(17, 24, 39, .16);
}

.tecpon-interest-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ff0000;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tecpon-interest-toggle:hover {
    background: #fff5f5;
}

.tecpon-interest-toggle svg {
    flex-shrink: 0;
    color: #ff0000;
}

.tecpon-interest-toggle__label {
    line-height: 1.1;
    text-align: start;
    white-space: nowrap;
}

.tecpon-interest-toggle[aria-expanded="true"] .tecpon-interest-toggle__arrow {
    transform: rotate(180deg);
}

.tecpon-interest-toggle__count {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff0000;
    color: #fff;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.tecpon-interest-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 208px;
    transition: max-width .22s ease-out;
}

.tecpon-interest-panel.is-expanded {
    max-width: 342px;
    max-height: max(96px, calc(100vh - 220px));
    max-height: max(96px, calc(100dvh - 220px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 15px;
    border: 1px solid #e7e9ed;
    border-radius: 16px;
    background: #fff;
}

.tecpon-interest-panel.is-expanded :is(.tecpon-interest-panel__header, .tecpon-interest-actions) {
    animation: tecpon-interest-detail-in .22s ease-out;
}

@keyframes tecpon-interest-detail-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .tecpon-interest-panel { transition: none; }
    .tecpon-interest-panel.is-expanded :is(.tecpon-interest-panel__header, .tecpon-interest-actions) {
        animation: none;
    }
}

.tecpon-interest-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.tecpon-interest-panel__header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
}

.tecpon-interest-panel__header p {
    margin: 5px 0 0;
    color: #4b5563;
    font-size: 13px;
}

.tecpon-interest-panel__close,
.tecpon-interest-remove {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ff0000;
    cursor: pointer;
}

.tecpon-interest-panel__close:hover,
.tecpon-interest-remove:hover {
    background: #fff5f5;
}

.tecpon-interest-items {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.tecpon-interest-items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding-inline-start: 2px;
    border-block-start: 1px solid #e7e9ed;
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.tecpon-interest-panel:not(.is-expanded) .tecpon-interest-items {
    margin-top: 0;
}

.tecpon-interest-panel:not(.is-expanded) .tecpon-interest-items li {
    display: block;
    min-height: 0;
    padding: 3px 0;
    border-color: #9ca3af;
    font-size: 12px;
    line-height: 1.3;
    text-align: end;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tecpon-interest-panel:not(.is-expanded) .tecpon-interest-items li:first-child {
    border-block-start: 0;
}

.tecpon-interest-preview-more {
    margin: 0;
    padding-block: 3px;
    border-block-start: 1px solid #9ca3af;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: end;
}

.tecpon-interest-panel:not(.is-expanded) .tecpon-interest-items li,
.tecpon-interest-preview-more {
    -webkit-text-stroke: 2px #fff;
    paint-order: stroke fill;
}

.tecpon-interest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    border-block-start: 1px solid #e7e9ed;
    padding-top: 12px;
}

.tecpon-interest-explore,
.tecpon-interest-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: 999px;
    padding: 7px 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow: none;
}

.tecpon-interest-explore {
    flex: 1;
    background: #25d366;
    text-decoration: none;
}

.tecpon-interest-explore:hover {
    background: #20ba5a;
    color: #fff;
}

.tecpon-interest-clear {
    border: 0;
    background: #ff0000;
    cursor: pointer;
}

.tecpon-interest-clear:hover {
    text-decoration: underline;
}

.tecpon-interest :focus-visible,
#tecpon-header .tecpon-interest-header:focus-visible {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

.tecpon-interest-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
