/* ==========================================================================
   Promo 2 camisetas: bloque en la ficha + ventana para elegir la segunda
   (inc/promo-combo.php, js/promo-combo.js)
   ========================================================================== */
:root {
    --trc-ink: #1f1f1f;
    --trc-muted: #5e5a54;
    --trc-purple: #69408e;
    --trc-purple-soft: #f2edf7;
    --trc-purple-line: #ddd0ea;
    --trc-cream: #fbf9f4;
    --trc-paper: #efece6;
    --trc-line: #e6dfd3;
    --trc-green: #3f6f4d;
    --trc-green-soft: #e9f1ea;
    --trc-gold: #c99a1c;
    --trc-red: #b3261e;
}

/* ---------- Bloque en la ficha ---------- */
.tr-combo {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    margin: 18px 0 6px;
    padding: 14px 14px 12px;
    border: 1px solid var(--trc-purple-line);
    border-radius: 10px;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(195, 174, 222, .28), transparent 60%),
        linear-gradient(135deg, #f7f2fb 0%, var(--trc-cream) 70%);
    color: var(--trc-ink);
}
.tr-combo-pair { position: relative; width: 80px; height: 66px; }
.tr-combo-pair-item {
    position: absolute; top: 0; width: 46px; height: 58px; overflow: hidden;
    border: 2px solid #fff; border-radius: 6px; background: var(--trc-paper);
    box-shadow: 0 3px 10px rgba(58, 36, 80, .18);
}
.tr-combo-pair-item--current { left: 0; transform: rotate(-6deg); }
.tr-combo-pair-item--next { right: 0; top: 6px; transform: rotate(6deg); }
.tr-combo .tr-combo-pair-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-combo .tr-combo-pair-item--next img { opacity: 0; transition: opacity .7s ease; }
.tr-combo .tr-combo-pair-item--next img.is-active { opacity: 1; }
.tr-combo-pair-plus {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
    background: var(--trc-purple); color: #fff; box-shadow: 0 0 0 2px #fff;
    font: 700 15px/22px var(--font-body); text-align: center;
}
.tr-combo-copy { min-width: 0; }
.tr-combo .tr-combo-eyebrow {
    display: flex; align-items: center; gap: 5px; margin: 0 0 3px;
    color: var(--trc-purple); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.tr-combo-eyebrow svg { width: 13px; height: 13px; color: var(--trc-gold); flex: 0 0 auto; }
.tr-combo .tr-combo-title { margin: 0; font-size: .95rem; line-height: 1.35; color: var(--trc-ink); }
.tr-combo-title strong { color: var(--trc-purple); font-weight: 800; white-space: nowrap; }
.tr-combo .tr-combo-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.tr-combo-meta span {
    padding: 2px 9px; border: 1px solid #e4dcec; border-radius: 999px; background: rgba(255, 255, 255, .85);
    color: var(--trc-muted); font-size: .72rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.tr-combo-meta .tr-combo-save { border-color: transparent; background: var(--trc-green); color: #fff; }
.tr-combo .tr-combo-cta {
    grid-column: 1 / -1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 48px; margin: 0; padding: 10px 16px;
    border: 1.5px solid var(--trc-purple); border-radius: 4px; background: #fff; color: var(--trc-purple);
    font: inherit; font-size: .84rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    cursor: pointer; transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.tr-combo-cta svg { width: 18px; height: 18px; transition: transform .18s ease; }
.tr-combo .tr-combo-cta:hover { background: var(--trc-purple); color: #fff; box-shadow: 0 6px 16px rgba(105, 64, 142, .22); }
.tr-combo-cta:hover svg { transform: translateX(3px); }
.tr-combo .tr-combo-cta:focus-visible { outline: 3px solid #8a6e9f; outline-offset: 2px; }
.tr-combo .tr-combo-fineprint { grid-column: 1 / -1; margin: -4px 0 0; color: var(--trc-muted); font-size: .7rem; line-height: 1.4; text-align: center; }

/* ---------- Ventana ---------- */
html.trc-lock { overflow: hidden; }

.tr-combo-dialog {
    width: 100%; max-width: 100%; height: 100%; max-height: 100%;
    margin: 0; padding: 0; border: 0; background: transparent; color: var(--trc-ink);
    font-family: var(--font-body);
}
.tr-combo-dialog[open] {
    position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px; animation: trc-fade .22s ease-out;
}
.tr-combo-dialog::backdrop { background: rgba(33, 24, 41, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.tr-combo-dialog.is-closing { animation: trc-fade-out .18s ease-in forwards; }

.trc-sheet {
    position: relative; display: flex; flex-direction: column;
    width: min(660px, 100%); max-height: min(860px, calc(100dvh - 48px));
    overflow: hidden; border-radius: 16px; background: var(--trc-cream);
    box-shadow: 0 24px 70px rgba(33, 24, 41, .32);
    animation: trc-in .3s cubic-bezier(.2, .8, .2, 1);
}
.tr-combo-dialog.is-closing .trc-sheet { animation: trc-out .18s ease-in forwards; }

.tr-combo-dialog button, .tr-combo-dialog a { font: inherit; -webkit-tap-highlight-color: transparent; }
.tr-combo-dialog button { cursor: pointer; }
.tr-combo-dialog img { display: block; max-width: none; }
.tr-combo-dialog :focus-visible { outline: 3px solid #8a6e9f; outline-offset: 2px; }

.trc-close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--trc-ink);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08); transition: background .15s ease, transform .15s ease;
}
.trc-close:hover { background: #fff; transform: rotate(90deg); }
.trc-close svg { width: 20px; height: 20px; }

.trc-eyebrow {
    display: flex; align-items: center; gap: 6px; margin: 0 0 6px;
    color: var(--trc-purple); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.trc-eyebrow svg { width: 13px; height: 13px; color: var(--trc-gold); }
.tr-combo-dialog .trc-title {
    display: flex; align-items: center; gap: 8px; margin: 0;
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--trc-ink);
}
.trc-leaf { width: 26px; height: 26px; flex: 0 0 auto; }
.tr-combo-dialog .trc-lead { margin: 8px 0 0; color: var(--trc-muted); font-size: .95rem; line-height: 1.5; }
.trc-lead strong { color: var(--trc-ink); }

.trc-primary {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 54px; margin: 0; padding: 12px 20px;
    border: 0; border-radius: 4px; background: var(--trc-purple); color: #fff !important; text-decoration: none;
    font-size: .88rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(105, 64, 142, .28); transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.trc-primary svg { width: 18px; height: 18px; transition: transform .18s ease; }
.trc-primary:hover { background: #56327a; box-shadow: 0 10px 24px rgba(105, 64, 142, .34); }
.trc-primary:hover svg { transform: translateX(3px); }
.trc-primary:active { transform: translateY(1px); }
.trc-secondary {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 10px;
    border: 1.5px solid var(--trc-ink); border-radius: 4px; color: var(--trc-ink) !important; text-decoration: none;
    font-size: .84rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.trc-secondary:hover { background: var(--trc-ink); color: #fff !important; }
.trc-link {
    display: block; margin: 12px auto 0; padding: 6px 10px; border: 0; background: none;
    color: var(--trc-muted); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px;
}
.trc-link:hover { color: var(--trc-ink); }

/* Intro */
.trc-sheet--intro, .trc-sheet--done { width: min(460px, 100%); overflow-y: auto; padding: 0 28px 22px; text-align: center; }
.trc-sheet--intro .trc-eyebrow { justify-content: center; margin-top: 4px; }
.trc-sheet--intro .trc-title, .trc-sheet--done .trc-title { justify-content: center; }

.trc-intro-visual {
    display: flex; align-items: center; justify-content: center; gap: 0;
    margin: 0 -28px 16px; padding: 34px 20px 16px;
    background:
        radial-gradient(60% 80% at 50% 70%, rgba(195, 174, 222, .45), transparent 70%),
        linear-gradient(180deg, #f3ecf8, var(--trc-cream));
}
.trc-shirt { position: relative; margin: 0; width: 132px; }
.trc-shirt:first-child { transform: rotate(-4deg); }
.trc-shirt--mystery { transform: rotate(4deg); }
.trc-shirt-media {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
    border: 3px solid #fff; border-radius: 10px; background: var(--trc-paper);
    box-shadow: 0 10px 24px rgba(58, 36, 80, .2);
}
.trc-shirt-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trc-shirt--mystery .trc-shirt-media { border-style: dashed; border-color: #b89fd0; background: #f4eff8; }
.trc-shirt--mystery .trc-shirt-media img { opacity: 0; transition: opacity .6s ease; filter: saturate(.9); }
.trc-shirt--mystery .trc-shirt-media img.is-active { opacity: .9; }
.trc-shirt-q {
    position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px;
    border-radius: 50%; background: var(--trc-purple); color: #fff; font: 700 1rem/1 var(--font-heading);
    box-shadow: 0 0 0 2px #fff;
}
.trc-shirt figcaption {
    margin-top: 8px; overflow: hidden; color: var(--trc-ink); font-size: .78rem; font-weight: 700;
    white-space: nowrap; text-overflow: ellipsis;
}
.trc-shirt--mystery figcaption { color: var(--trc-purple); }
.trc-shirt-badge {
    position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 8px 3px 5px; border-radius: 999px; background: var(--trc-green); color: #fff;
    font-size: .66rem; font-weight: 700;
}
.trc-shirt-badge svg { width: 12px; height: 12px; }
.trc-plus {
    position: relative; z-index: 2; display: grid; place-items: center; flex: 0 0 auto;
    width: 34px; height: 34px; margin: -22px -10px 0; border-radius: 50%;
    background: var(--trc-purple); color: #fff; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(105, 64, 142, .3);
    font: 700 1.3rem/1 var(--font-body);
}

.trc-offer {
    margin: 18px 0 18px; padding: 14px 16px 16px;
    border: 1px solid var(--trc-purple-line); border-radius: 12px; background: #fff;
}
.tr-combo-dialog .trc-offer-was { margin: 0; color: var(--trc-muted); font-size: .8rem; }
.trc-offer-was del { margin-right: 4px; }
.tr-combo-dialog .trc-offer-now { margin: 2px 0 10px; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.trc-offer-now strong { color: var(--trc-purple); font-size: 1.7rem; font-weight: 900; }
.trc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.trc-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
    background: #f1eee6; color: var(--trc-muted); font-size: .76rem; font-weight: 700;
}
.trc-chip svg { width: 16px; height: 16px; }
.trc-chip--ship { background: var(--trc-green-soft); color: var(--trc-green); }
.trc-chip--save { background: var(--trc-green); color: #fff; }

/* Selector */
.trc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; border-bottom: 1px solid var(--trc-line); }
.trc-head .trc-close { position: static; flex: 0 0 auto; margin: -6px -8px 0 0; background: transparent; box-shadow: none; }
.trc-head .trc-close:hover { background: #f1eee6; }
.trc-head .trc-title { font-size: 1.35rem; }
.trc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 18px; }
.trc-step { padding-top: 18px; }
.tr-combo-dialog .trc-step-title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
    font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--trc-ink);
}
.trc-step-num {
    display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: var(--trc-purple); color: #fff; font-size: .72rem; letter-spacing: 0;
}

.trc-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--trc-line); border-radius: 12px; background: #fff; }
.trc-item-media { position: relative; flex: 0 0 76px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--trc-paper); }
.trc-item-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trc-item-info { flex: 1; min-width: 0; }
.tr-combo-dialog .trc-item-name { margin: 2px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tr-combo-dialog .trc-item-meta { margin: 4px 0 0; color: var(--trc-muted); font-size: .85rem; }
.trc-item--in-cart { align-items: center; }
.trc-in-cart { display: inline-flex; align-items: center; gap: 4px; color: var(--trc-green); font-weight: 700; }
.trc-in-cart svg { width: 16px; height: 16px; }

.trc-options { margin-top: 10px; }
.trc-options--size { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.trc-options--color { display: flex; flex-wrap: wrap; gap: 6px; }
.trc-opt {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 42px; margin: 0; padding: 6px 10px;
    border: 1px solid #d2cbbf; border-radius: 0; background: #fff; color: var(--trc-ink);
    font-size: .88rem; font-weight: 600; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.trc-opt:hover { border-color: var(--trc-ink); }
.trc-options--size .trc-opt.is-selected { border-color: var(--trc-ink); background: var(--trc-ink); color: var(--trc-cream); }
.trc-options--color .trc-opt { min-height: 38px; padding: 5px 12px 5px 7px; border-radius: 999px; }
.trc-options--color .trc-opt.is-selected { border-color: var(--trc-purple); background: var(--trc-purple-soft); box-shadow: inset 0 0 0 1px var(--trc-purple); }
.trc-opt-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.trc-opt.is-unavailable { background: #f1eee6; color: #9a948b; text-decoration: line-through; cursor: not-allowed; }
.trc-options.is-missing, .trc-strip.is-missing { animation: trc-shake .35s ease; border-radius: 6px; box-shadow: 0 0 0 2px var(--trc-red); }

.trc-strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 12px;
    margin: 0 -24px; padding: 4px 24px 10px; overflow-x: auto; scroll-snap-type: x proximity;
    scroll-padding: 0 24px; scrollbar-width: thin; scrollbar-color: #cfc5d9 transparent; overscroll-behavior-x: contain;
}
@media (hover: none) {
    .trc-strip { scrollbar-width: none; }
    .trc-strip::-webkit-scrollbar { display: none; }
}
.trc-strip.is-missing { margin: 0 -18px; padding: 4px 18px 10px; }
.trc-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0;
    border: 0; background: none; color: var(--trc-ink); text-align: left; scroll-snap-align: start;
}
.trc-card-media {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px;
    background: var(--trc-paper); box-shadow: 0 0 0 1px var(--trc-line);
    transition: box-shadow .18s ease, transform .18s ease;
}
.trc-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.trc-card:hover .trc-card-media img { transform: scale(1.04); }
.trc-card.is-selected .trc-card-media { box-shadow: 0 0 0 2.5px var(--trc-purple), 0 8px 18px rgba(105, 64, 142, .22); }
.trc-card-check {
    position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 26px; height: 26px;
    border-radius: 50%; background: var(--trc-purple); color: #fff; box-shadow: 0 0 0 2px #fff;
    opacity: 0; transform: scale(.4); transition: opacity .18s ease, transform .22s cubic-bezier(.3, 1.6, .5, 1);
}
.trc-card-check svg { width: 15px; height: 15px; }
.trc-card.is-selected .trc-card-check { opacity: 1; transform: none; }
.trc-card-name {
    display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    font-size: .82rem; font-weight: 700; line-height: 1.3;
}
.trc-card-tag {
    position: absolute; left: 7px; top: 7px; z-index: 1; padding: 2px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--trc-purple); font-size: .66rem; font-weight: 800;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.trc-second { margin-top: 10px; padding: 14px; border: 1px solid var(--trc-purple-line); border-radius: 12px; background: #fff; animation: trc-rise .22s ease-out; }
.tr-combo-dialog .trc-second-name { margin: 0; font-size: .95rem; font-weight: 700; }
.trc-second-name span { color: var(--trc-muted); font-weight: 600; }
.tr-combo-dialog .trc-hint { margin: 8px 0 0; color: var(--trc-muted); font-size: .8rem; }

.trc-foot {
    flex: 0 0 auto; padding: 14px 24px 18px; border-top: 1px solid var(--trc-line); background: #fff;
    box-shadow: 0 -8px 20px rgba(33, 24, 41, .05);
}
.trc-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.trc-mini-pair { display: flex; flex: 0 0 auto; }
.trc-mini {
    position: relative; display: grid; place-items: center; width: 40px; height: 50px; overflow: hidden;
    border: 2px solid #fff; border-radius: 6px; background: var(--trc-paper); box-shadow: 0 2px 8px rgba(33, 24, 41, .16);
    color: var(--trc-purple); font: 700 1rem/1 var(--font-heading);
}
.trc-mini + .trc-mini { margin-left: -10px; transform: rotate(5deg); }
.trc-mini:first-child { transform: rotate(-4deg); }
.trc-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trc-mini--empty { border: 2px dashed #b89fd0; background: #f4eff8; box-shadow: none; }
.trc-summary-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.trc-summary-price { font-size: .95rem; }
.trc-summary-price del { margin-right: 4px; color: var(--trc-muted); font-size: .85rem; }
.trc-summary-price strong { color: var(--trc-purple); font-size: 1.2rem; font-weight: 900; }
.trc-summary-note { margin-top: 2px; color: var(--trc-green); font-size: .78rem; font-weight: 700; }
.tr-combo-dialog .trc-error { margin: -4px 0 10px; color: var(--trc-red); font-size: .86rem; font-weight: 700; }

.trc-add { position: relative; }
.trc-spinner {
    display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
    border-radius: 50%; animation: trc-spin .7s linear infinite;
}
.trc-add.is-busy { pointer-events: none; opacity: .88; }
.trc-add.is-busy .trc-spinner { display: inline-block; }

/* Hecho */
.trc-sheet--done { padding-top: 36px; }
.trc-done-pair { position: relative; display: flex; justify-content: center; margin: 0 0 30px; }
.trc-done-pair .trc-shirt-media { width: 104px; }
.trc-done-pair .trc-shirt-media:first-child { transform: rotate(-5deg) translateX(8px); }
.trc-done-pair .trc-shirt-media:nth-child(2) { transform: rotate(5deg) translateX(-8px); }
.trc-done-check {
    position: absolute; left: 50%; bottom: -18px; z-index: 2; display: grid; place-items: center;
    width: 50px; height: 50px; margin-left: -25px; border-radius: 50%;
    background: var(--trc-green); color: #fff; box-shadow: 0 0 0 4px var(--trc-cream), 0 8px 18px rgba(63, 111, 77, .35);
    animation: trc-pop .45s .1s cubic-bezier(.3, 1.6, .5, 1) both;
}
.trc-done-check svg { width: 26px; height: 26px; }
.trc-sheet--done .trc-lead { margin-bottom: 22px; }

/* Móvil: hoja inferior */
@media (max-width: 640px) {
    .tr-combo-dialog[open] { align-items: flex-end; padding: 0; }
    .trc-sheet {
        width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        animation: trc-up .34s cubic-bezier(.2, .8, .2, 1);
    }
    .tr-combo-dialog.is-closing .trc-sheet { animation: trc-down .2s ease-in forwards; }
    .trc-sheet::before {
        content: ''; position: absolute; top: 8px; left: 50%; z-index: 4; width: 40px; height: 4px; margin-left: -20px;
        border-radius: 2px; background: rgba(31, 31, 31, .18);
    }
    .trc-sheet--intro, .trc-sheet--done { width: 100%; padding: 0 20px calc(18px + env(safe-area-inset-bottom)); }
    .trc-sheet--done { padding-top: 32px; }
    .trc-intro-visual { margin: 0 -20px 14px; padding-top: 30px; }
    .trc-shirt { width: 118px; }
    .tr-combo-dialog .trc-title { font-size: 1.3rem; }
    .trc-head { padding: 22px 18px 12px; }
    .trc-head .trc-title { font-size: 1.2rem; }
    .trc-body { padding: 0 18px 16px; }
    .trc-strip { grid-auto-columns: 108px; margin: 0 -18px; padding: 4px 18px 10px; scroll-padding: 0 18px; }
    .trc-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
    .trc-sheet--pick { padding-bottom: 0; }
}

@keyframes trc-fade { from { opacity: 0; } }
@keyframes trc-fade-out { to { opacity: 0; } }
@keyframes trc-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes trc-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes trc-up { from { transform: translateY(100%); } }
@keyframes trc-down { to { transform: translateY(100%); } }
@keyframes trc-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes trc-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes trc-spin { to { transform: rotate(360deg); } }
@keyframes trc-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
    .tr-combo-dialog[open], .tr-combo-dialog.is-closing, .trc-sheet, .tr-combo-dialog.is-closing .trc-sheet,
    .trc-second, .trc-done-check, .trc-options.is-missing, .trc-strip.is-missing { animation: none; }
    .trc-card-media img, .trc-card-check, .tr-combo-cta svg, .trc-primary svg, .trc-close { transition: none; }
}
