/* FINAL-20261003: scoped target row rules. No legacy card DOM overrides. */
.ct-final-row{--ink:#191f28;--sub:#6b7684;--blue:#3182f6;--blue-ink:#1b64da;--soft:#f7f8fa;--sky:#eaf3ff;box-sizing:border-box;min-width:0;color:var(--ink);background:white;border:0;box-shadow:none;text-decoration:none;word-break:keep-all}
.ct-final-row *{box-sizing:border-box;min-width:0}.ct-final-row:is(.product-row,.entity-row) .product-link{position:static;display:inline;color:inherit;text-decoration:none}.ct-final-row:is(.product-row,.entity-row) .product-link::after{content:none}.ct-final-row:is(.product-row,.entity-row) .product-info h3{margin:3px 0 8px}.ct-final-row:is(.product-row,.entity-row) .favorite{border:0;box-shadow:none;color:var(--sub)}.ct-final-row:is(.product-row,.entity-row) .favorite svg{width:24px;height:24px}.ct-final-row :is(a,button):focus-visible,.ct-final-row:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
body .ct-final-row.product-row{display:grid;grid-template-columns:92px minmax(0,1fr) 170px 40px;gap:24px;align-items:center;padding:30px 0;border-bottom:1px solid #f0f2f4}
body .ct-final-row.product-row.rank{grid-template-columns:46px 92px minmax(0,1fr) 170px 40px}
.ct-final-row:is(.product-row,.entity-row) .plate{width:82px;height:130px;position:relative;display:block;margin:auto}
.ct-final-row:is(.product-row,.entity-row) .plate img{width:82px;height:130px;object-fit:contain}
.ct-final-row:is(.product-row,.entity-row) .plate.landscape img{position:absolute;width:130px;height:82px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg);max-width:none}
.ct-final-row:is(.product-row,.entity-row) :is(.product-info,.entity-info){text-align:left}
.ct-final-row:is(.product-row,.entity-row) .product-info .issuer{font-size:13px;color:var(--sub)}
.ct-final-row:is(.product-row,.entity-row) .product-info h3{font-size:20px;margin:3px 0 8px;line-height:1.4;text-align:left}
.ct-final-row:is(.product-row,.entity-row) .meta,.ct-final-row:is(.product-row,.entity-row) .benefits{font-size:13px;color:var(--sub);margin:6px 0}
.ct-final-row:is(.product-row,.entity-row) .benefits{color:#4e5968}
.ct-final-row:is(.product-row,.entity-row) .event{font-size:12px;color:var(--blue-ink);display:inline-block;padding:4px 8px;background:var(--sky);border-radius:6px}
.ct-final-row:is(.product-row,.entity-row) .amount{text-align:right}
.ct-final-row:is(.product-row,.entity-row) .amount strong{font-size:27px;letter-spacing:-.7px;color:var(--blue-ink);white-space:nowrap}
.ct-final-row:is(.product-row,.entity-row) .amount small{font-size:14px;font-weight:600}
.ct-final-row:is(.product-row,.entity-row) .amount .label,.ct-final-row:is(.product-row,.entity-row) .amount .platform,.ct-final-row:is(.product-row,.entity-row) .amount .extra{display:block;color:var(--sub);font-size:12px}
.ct-final-row:is(.product-row,.entity-row) .amount .extra{margin-top:5px}
.ct-final-row:is(.product-row,.entity-row) .favorite{background:transparent;font-size:26px;font-weight:300;padding:4px;min-width:40px;min-height:44px}
.ct-final-row:is(.product-row,.entity-row) .favorite[aria-pressed=true]{color:var(--blue)}
.ct-final-row:is(.product-row,.entity-row) .rank-no{font-size:29px;font-weight:750;color:#8b95a1;align-self:center}
.ct-final-row:is(.product-row,.entity-row) .rank-no.top{color:var(--blue-ink)}
.ct-final-row:is(.product-row,.entity-row) .rank-no.first{background:var(--sky);width:44px;height:44px;border-radius:14px;display:grid;place-items:center}
.ct-final-row:is(.product-row,.entity-row) .rank-change{display:block;font-size:11px;line-height:1.4;color:var(--sub);font-weight:500;margin-top:4px}
body .ct-final-row.entity-row{display:grid;grid-template-columns:52px 52px minmax(0,1fr) 160px;gap:24px;align-items:center;padding:27px 8px;border-bottom:1px solid #f0f2f4}
.ct-final-row:is(.product-row,.entity-row) .entity-info h3{font-size:20px;margin:0 0 5px}
.ct-final-row:is(.product-row,.entity-row) .entity-info p{margin:0;color:var(--sub);font-size:13px}
body .ct-final-row.entity-row .amount strong{color:var(--ink)}
body .ct-final-row.entity-row:first-child .amount strong{color:var(--blue-ink)}
.ct-final-row:is(.product-row,.entity-row) .share-bar{height:5px;background:var(--soft);border-radius:5px;margin-top:10px;overflow:hidden}
.ct-final-row:is(.product-row,.entity-row) .share-bar i{display:block;height:100%;background:#b5d7ff}
@media(max-width:700px){body .ct-final-row.product-row{grid-template-columns:66px minmax(0,1fr) 32px;gap:14px;padding:24px 0}
body .ct-final-row.product-row.rank{grid-template-columns:30px 58px minmax(0,1fr) 28px;gap:9px}
.ct-final-row:is(.product-row,.entity-row) .plate{width:58px;height:92px}
.ct-final-row:is(.product-row,.entity-row) .plate img{width:58px;height:92px}
.ct-final-row:is(.product-row,.entity-row) .plate.landscape img{width:92px;height:58px}
body .ct-final-row.product-row .product-info{align-self:start}
.ct-final-row:is(.product-row,.entity-row) .product-info h3{font-size:16px;margin:3px 0 6px}
.ct-final-row:is(.product-row,.entity-row) .product-info .issuer{font-size:11px}
.ct-final-row:is(.product-row,.entity-row) .meta,.ct-final-row:is(.product-row,.entity-row) .benefits{font-size:11px;margin:5px 0}
.ct-final-row:is(.product-row,.entity-row) .event{font-size:10px}
body .ct-final-row.product-row .amount{grid-column:2;grid-row:2;text-align:left;margin-top:-7px}
body .ct-final-row.product-row.rank .amount{grid-column:3}
body .ct-final-row.product-row .plate{grid-row:1/3;align-self:start;margin-top:10px}
body .ct-final-row.product-row .favorite{grid-column:3;grid-row:1;font-size:22px;min-width:28px}
body .ct-final-row.product-row.rank .favorite{grid-column:4}
.ct-final-row:is(.product-row,.entity-row) .rank-no{grid-row:1/3;align-self:start;font-size:22px;margin-top:10px}
.ct-final-row:is(.product-row,.entity-row) .rank-no.first{width:28px;height:34px;border-radius:9px}
body .ct-final-row.product-row .amount strong{font-size:22px}
.ct-final-row:is(.product-row,.entity-row) .amount small{font-size:12px}
body .ct-final-row.product-row .amount .label{display:inline;margin-right:7px;font-size:11px}
body .ct-final-row.product-row .amount .platform{display:inline;font-size:11px;margin-left:5px}
body .ct-final-row.product-row .amount .extra{font-size:10px}
body .ct-final-row.entity-row{grid-template-columns:28px 40px minmax(0,1fr);gap:12px;padding:23px 0}
body .ct-final-row.entity-row .rank-no{grid-row:auto}
.ct-final-row:is(.product-row,.entity-row) .entity-info h3{font-size:17px}
.ct-final-row:is(.product-row,.entity-row) .entity-info p{font-size:11px}
body .ct-final-row.entity-row .amount{grid-column:3;text-align:left}
body .ct-final-row.entity-row .amount strong{font-size:23px}}
.ct-final-row:is(.product-row,.entity-row) .empty-plate{border:0;border-radius:8px;background:var(--soft)}
body .ct-final-row.entity-row.no-logo{grid-template-columns:52px minmax(0,1fr) 160px}.ct-final-row:is(.product-row,.entity-row) .entity-logo{width:52px;height:52px}.ct-final-row:is(.product-row,.entity-row) .entity-logo img{width:100%;height:100%;object-fit:contain}.ct-final-row:is(.product-row,.entity-row) .il-values{display:flex;flex-direction:column;gap:10px}.ct-final-row:is(.product-row,.entity-row) .il-value{display:flex;flex-direction:column;gap:3px;color:var(--blue-ink);text-decoration:none}.ct-final-row:is(.product-row,.entity-row) .il-value span{font-size:12px;color:var(--sub)}.ct-final-row:is(.product-row,.entity-row) .il-value b{font-size:27px;white-space:nowrap}.ct-final-row:is(.product-row,.entity-row) .il-pick b{font-size:16px}
@media(max-width:700px){body .ct-final-row.entity-row.no-logo{grid-template-columns:28px minmax(0,1fr)}body .ct-final-row.entity-row.no-logo .amount{grid-column:2}.ct-final-row:is(.product-row,.entity-row) .il-value b{font-size:22px}.ct-final-row:is(.product-row,.entity-row) .il-pick b{font-size:14px}.ct-final-row:is(.product-row,.entity-row) .il-value span{font-size:10px}.ct-final-row:is(.product-row,.entity-row) .entity-logo{width:40px;height:40px}}

:is(.ct-design,.il) .results-grid:has(>.ct-final-row),.results-grid:has(>.ct-final-row){display:block;grid-template-columns:none;gap:0}
.ct-final-row:is(.product-row,.entity-row) .plate>img.plate-landscape{position:absolute;width:130px;height:82px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg);max-width:none}@media(max-width:700px){.ct-final-row:is(.product-row,.entity-row) .plate>img.plate-landscape{width:92px;height:58px}}

.ct-final-row:is(.product-row,.entity-row) .plate[data-orientation="unknown"]{background:var(--soft);border-radius:8px}.ct-final-row:is(.product-row,.entity-row) .plate[data-orientation="unknown"] img{visibility:hidden}
.ct-final-offer{border:0;border-bottom:1px solid #f0f2f4;background:#fff;box-shadow:none;margin:0;padding:0;min-width:0}
.ct-final-offer>.ct-final-row.product-row{border-bottom:0}
.ct-final-offer .ct-final-members{border:0;background:transparent;box-shadow:none;padding:0 0 12px;margin:0}
.ct-final-offer .ct-final-members>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 12px;color:#6b7684;font-size:12px;cursor:pointer}
.ct-final-offer .ct-final-members>summary b{font-weight:600;white-space:nowrap}
.ct-final-offer .ct-final-member-list{padding:0 20px;background:#f7f8fa;border:0;border-radius:12px}
.ct-final-offer .ct-final-member-list>.ct-final-row{background:transparent}
.ct-final-offer .ct-final-member-list>.ct-final-row:last-child{border-bottom:0}
.ct-final-row .ct-final-money3{display:grid;gap:8px;margin:0;padding:0}
.ct-final-row .ct-final-money3 dt{font-size:11px;color:#6b7684;font-weight:400;margin:0}
.ct-final-row .ct-final-money3 dd{font-size:16px;color:#6b7684;font-weight:600;margin:0}
.ct-final-row .ct-final-money3 .is-selected dd{font-size:27px;color:#1b64da}
@media(max-width:700px){.ct-final-row .ct-final-money3{display:flex;flex-wrap:wrap;gap:8px 12px}.ct-final-row .ct-final-money3 .is-selected dd{font-size:22px}.ct-final-row .ct-final-money3 dd{font-size:13px}.ct-final-offer .ct-final-member-list{padding:0 12px}}
/* 랭킹 행 RK-ALIGN(랭킹 리디자인 SPEC §6-1 · O6) — 모든 랭킹 변형(card·chart·product·platform·issuer)이 한 벌 격자. `.rank` 행에만 걸린다(업종 목록 행은 영향 없음).
   순위 칸 48px(모바일 32px) · 상자 `.rk-box` 44×44(32×32) 전부 같은 크기 · 상자 세로 중심 = 이름(h3) 첫 줄 중심(margin-top = name-top + name-lh/2 − box/2) · 변동은 상자 밖 아래.
   --rk-name-top·--rk-name-lh 는 `.issuer`·h3·`.entity-info` 줄 높이와 한 묶음이다 — 하나를 바꾸면 변수도 같이. */
body .ct-final-row.rank{--rk-box:44px;--rk-name-top:24px;--rk-name-lh:28px;align-items:start}
body .ct-final-row.rank.product-row{grid-template-columns:48px 92px minmax(0,1fr) 170px 40px}
body .ct-final-row.rank.entity-row{--rk-name-top:8px;grid-template-columns:48px 52px minmax(0,1fr) 160px}
body .ct-final-row.rank.entity-row.no-logo{grid-template-columns:48px minmax(0,1fr) 160px}
body .ct-final-row.rank .rank-no.rank-no{display:flex;flex-direction:column;align-items:center;gap:4px;align-self:start;justify-self:stretch;width:48px;margin:calc(var(--rk-name-top) + var(--rk-name-lh) / 2 - var(--rk-box) / 2) 0 0;background:none;border-radius:0;height:auto;font-size:inherit;color:#8b95a1}
body .ct-final-row.rank .rank-no .rk-box{display:grid;place-items:center;width:var(--rk-box);height:var(--rk-box);border-radius:14px;font-size:29px;font-weight:750;line-height:1;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#8b95a1;background:none}
body .ct-final-row.rank .rank-no .rk-box.two{font-size:24px}
body .ct-final-row.rank .rank-no.top .rk-box{color:#1b64da}
body .ct-final-row.rank .rank-no.first .rk-box{background:#eaf3ff}
body .ct-final-row.rank .rank-no .rank-change{display:block;margin:0;font-size:11px;line-height:14px;font-weight:600;color:#6b7684;white-space:nowrap}
body .ct-final-row.rank .rank-no .rank-change.up{color:#d92d20}body .ct-final-row.rank .rank-no .rank-change.down{color:#1b64da}
body .ct-final-row.rank.product-row .product-info .issuer{display:block;line-height:20px;height:20px;overflow:hidden}
body .ct-final-row.rank.product-row .product-info h3{margin:4px 0 8px;line-height:var(--rk-name-lh)}
body .ct-final-row.rank.entity-row .entity-info{padding-top:8px}
body .ct-final-row.rank.entity-row .entity-info h3{margin:0 0 5px;line-height:var(--rk-name-lh)}
body .ct-final-row.rank .plate{align-self:start;margin:0 auto}
body .ct-final-row.rank .amount{align-self:center}
body .ct-final-row.rank .favorite{align-self:center}
@media(max-width:700px){body .ct-final-row.rank{--rk-box:32px;--rk-name-top:19px;--rk-name-lh:22px;gap:9px}
body .ct-final-row.rank.product-row{grid-template-columns:32px 58px minmax(0,1fr) 28px}
body .ct-final-row.rank.entity-row{--rk-name-top:6px;--rk-name-lh:24px;grid-template-columns:32px 40px minmax(0,1fr)}
body .ct-final-row.rank.entity-row.no-logo{grid-template-columns:32px minmax(0,1fr)}
body .ct-final-row.rank .rank-no.rank-no{width:32px;grid-row:1/3;margin-top:calc(var(--rk-name-top) + var(--rk-name-lh) / 2 - var(--rk-box) / 2)}
body .ct-final-row.rank .rank-no .rk-box{border-radius:10px;font-size:22px}
body .ct-final-row.rank .rank-no .rk-box.two{font-size:18px}
body .ct-final-row.rank .rank-no .rank-change{font-size:10px}
body .ct-final-row.rank.product-row .product-info .issuer{line-height:16px;height:16px}
body .ct-final-row.rank.product-row .product-info h3{margin:3px 0 6px}
body .ct-final-row.rank.entity-row .entity-info{padding-top:6px}
body .ct-final-row.rank.entity-row .entity-info h3{line-height:24px}
body .ct-final-row.rank.product-row .amount strong+.label{margin-left:6px;margin-right:0}
body .ct-final-row.rank.product-row .plate{margin-top:0}
}
body .ct-final-row.rank .plate>img.plate-landscape{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg);max-width:none}
