/* 즉시출고: 기존 파란색과 차량 사진을 유지한 순위 목록 / 가로 탐색. */

.stock-visual{padding-top:0;overflow:hidden}
.stock-visual .inner{display:flex;align-items:center;justify-content:space-between;margin:0 auto;width:1200px;height:100%}
.stock-visual h1{font-size:44px;font-weight:700;line-height:1.3;letter-spacing:-1px;color:#fff}
.stock-visual p{margin-top:16px;font-size:18px;font-weight:400;color:#fff}
.stock-visual img{align-self:flex-end;margin:0 40px 6px 0;width:480px;height:auto}

.stock-head{display:flex;align-items:flex-end;justify-content:space-between}
.stock-asof{padding-bottom:8px;font-size:15px;font-weight:400;color:#535353;font-variant-numeric:tabular-nums}
.stock-asof b{font-size:18px;font-weight:700;color:#111}

.stock-sec-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.stock-sec-head h2{font-size:24px;font-weight:700;letter-spacing:-.5px}

.stock-top{margin-top:24px}
.stock-top .stock-sec-head{display:block;margin-bottom:18px}
.stock-texttab{display:flex;gap:8px;min-width:0;margin-top:16px;padding:2px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;scroll-padding-inline:36px}
.stock-texttab::-webkit-scrollbar,.stock-brands::-webkit-scrollbar{display:none}
.stock-texttab li{flex:none;padding:0;border:0;line-height:1}
.stock-texttab a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid #e1e7ef;border-radius:10px;background:#fff;font-size:14px;font-weight:500;color:#526078;transition:background .15s,color .15s}
.stock-texttab a.on{border-color:#2b88ff;background:#2b88ff;color:#fff;font-weight:700}
.stock-texttab a:focus-visible,.stock-rank a:focus-visible,.stock-brands .brand:focus-visible,.stock-rail-button:focus-visible{outline:2px solid #176dde;outline-offset:-3px}

/* TOP 5: PC 비교 카드, 모바일 순위 목록. 분류별 숨김은 기존 필터가 담당한다. */
.stock-rank{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;border:0;overflow:hidden}
.stock-rank li{min-width:0;border:1px solid #e1e7ef;border-radius:12px;overflow:hidden;background:#f8fafc}
.stock-rank a{position:relative;display:block;padding:18px 16px;height:100%}
.stock-rank a:hover{background:#f7fbff}
.stock-rank .nm{display:block;min-height:48px;font-size:16px;font-weight:700;line-height:1.5;word-break:keep-all;color:#17243b}
.stock-rank .nm i{display:block;margin-bottom:8px;font-style:normal;font-size:24px;line-height:1;font-weight:700;color:#2b88ff;font-variant-numeric:tabular-nums}
.stock-rank img,.stock-rank .noimg{display:block;object-fit:contain;margin:14px auto;width:100%;max-width:190px;height:100px}
.stock-rank dl{display:flex;justify-content:space-between;font-size:14px;font-weight:400;color:#535353;font-variant-numeric:tabular-nums}
.stock-rank dl+dl{margin-top:4px}
.stock-rank dt{font-size:14px;font-weight:400;color:#535353}
.stock-rank dd{font-size:15px;font-weight:700;color:#111}
.stock-rank dd.pr{color:#2b88ff}
.stock-rank li.none{flex:1;padding:60px 0;text-align:center;font-weight:400;color:#999}
.noimg{aspect-ratio:2 / 1;background:#f4f7fb;font-size:13px;font-weight:400;line-height:1;color:#9698a5;display:flex;align-items:center;justify-content:center}

.stock-finder{margin-top:40px}
.stock-finder .brand em{margin-left:3px;font-style:normal;font-size:12px;font-weight:400;color:#9698a5}
.stock-finder .stock-brands{justify-content:flex-start;flex-wrap:nowrap;gap:10px;padding:14px 2px;min-width:0;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:36px;border:0;background:#fff}
.stock-finder .stock-brands .brand{flex:0 0 96px;width:96px;min-width:96px;height:82px;border:1px solid #e1e7ef;border-radius:12px;color:#334155}
.stock-finder .stock-brands .brand img{width:46px;height:32px;object-fit:contain;margin:10px auto 5px}
.stock-finder .stock-brands .brand-on{border-color:#2b88ff;background:#f1f7ff;box-shadow:inset 0 0 0 1px #2b88ff;color:#176dde}
.stock-rail{position:relative;min-width:0}
.stock-rail[hidden]{display:none}
.stock-rail-button{position:absolute;top:0;z-index:1;display:grid;place-items:center;width:32px;height:100%;padding:0;border:0;border-radius:0;background:#fff;color:#738399;box-shadow:none;cursor:pointer}
.stock-rail-button[hidden]{display:none}
.stock-rail-button.prev{left:0}
.stock-rail-button.prev svg{transform:rotate(180deg)}
.stock-rail-button:hover{color:#2b88ff}
.stock-rail-button.next{right:0}
.stock-rail.has-next::after,.stock-rail.has-prev::before{content:'';position:absolute;top:0;bottom:0;width:40px;pointer-events:none;z-index:1}
.stock-rail.has-next::after{right:0;background:linear-gradient(90deg,#ffffff00,#fff 80%)}
.stock-rail.has-prev::before{left:0;background:linear-gradient(90deg,#fff 20%,#ffffff00)}
.stock-rail .stock-rail-button{z-index:2}
@media(hover:hover){.stock-texttab a:not(.on):hover{background:#f1f7ff;border-color:#b8d6ff;color:#176dde}.stock-finder .stock-brands .brand:hover{border-color:#2b88ff;background:#f1f7ff}}

.stock-toolbar{display:flex;align-items:center;justify-content:space-between}
.stock-count{font-size:18px;font-variant-numeric:tabular-nums}
.stock-count span{color:#2b88ff}
.stock-controls{display:flex;gap:10px}
.stock-seg{display:flex}
.stock-seg a{margin-left:-1px;padding:0 18px;height:40px;border:1px solid #e0e0e0;background:#fff;font-size:15px;font-weight:400;line-height:38px}
.stock-seg a:first-child{margin-left:0}
.stock-seg a.on{position:relative;border-color:#2b88ff;background:#2b88ff;color:#fff;font-weight:500}
.stock-controls select{padding:0 10px;height:40px;border:1px solid #e0e0e0;border-radius:0;background:#fff;font-family:inherit;font-size:15px;color:#111}
.stock-search{display:flex}
.stock-search input{padding:0 12px;width:150px;height:40px;border:1px solid #e0e0e0;border-right:none;border-radius:0;font-size:15px;font-weight:400;outline:none;-webkit-appearance:none}
.stock-search input:focus{border-color:#2b88ff}
.stock-search input::placeholder{color:#999}
.stock-search button{padding:0 16px;height:40px;border:1px solid #111;border-radius:0;background:#111;font-size:15px;color:#fff;cursor:pointer}

/* 목록 — PC 는 표 */
.stock-table{border-top:2px solid #111}
.stock-tr{display:grid;grid-template-columns:190px 1fr 120px 190px 90px 230px;align-items:center;column-gap:20px;padding:18px 20px 18px 10px;border-bottom:1px solid #e0e0e0}
.stock-th{padding-top:0;padding-bottom:0;height:46px;background:#f4f7fb}
.stock-th span{font-size:14px;font-weight:400;color:#535353}
.stock-th .c-car{grid-column:1 / 3;padding-left:10px}
.stock-tr .im img{display:block;width:100%;height:auto}
.stock-tr .nm{font-size:20px;font-weight:700}
.stock-tr .tr{margin-top:4px;font-size:14px;font-weight:400;color:#666}
.stock-tr .ct{font-size:15px;font-weight:400}
.stock-tr .pr{font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums}
.stock-tr .pr span{margin-right:5px;font-size:14px}
.stock-tr .pr b{font-size:20px;font-weight:700;color:#2b88ff}
.stock-tr .st{font-size:16px;font-variant-numeric:tabular-nums}
.stock-tr .st b{font-size:20px;font-weight:700}
.stock-tr .st small{display:block;margin-top:2px;font-size:13px;font-weight:400}
.stock-tr .st.low,.stock-tr .st.low b,.stock-tr .st.low small{color:#f44a6e}
.stock-tr .bt{display:flex;gap:10px}
.stock-tr .bt a{flex:1;height:46px;line-height:45px}
.stock-tr:not(.stock-th):hover{background:#fafcfe}

.stock-empty{padding:70px 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;text-align:center;font-weight:400;color:#535353}
.stock-notice{padding-top:24px;border-top:1px solid #e0e0e0}
.stock-notice li{position:relative;padding-left:10px;font-size:14px;font-weight:400;line-height:1.8;color:#666}
.stock-notice li::before{content:"·";position:absolute;left:0}

/* 1200px 이하 — 같은 마크업을 /cars 목록과 같은 모양의 카드로 접는다 */
@media screen and (max-width:1200px){
    .stock-visual .inner{padding:0 20px;width:100%}
    .stock-visual img{margin-right:0;width:380px}

    .stock-table{border-top:none}
    .stock-th{display:none}
    .stock-tr{grid-template-columns:1fr 160px;grid-template-areas:"info im" "pr im" "st ct" "bt bt";align-items:start;column-gap:0;margin-bottom:30px;padding:20px;border:1px solid #e0e0e0;border-radius:10px}
    .stock-tr:not(.stock-th):hover{background:none}
    .stock-tr .im{grid-area:im;align-self:center;padding-left:12px}
    .stock-tr .info{grid-area:info}
    .stock-tr .pr{grid-area:pr;margin-top:6px}
    .stock-tr .st,.stock-tr .ct{margin-top:16px;padding-top:12px;border-top:1px solid #ebebeb}
    .stock-tr .st{grid-area:st}
    .stock-tr .st::before{content:"재고 ";font-weight:400} /* 표 머리글이 없어지므로 */
    .stock-tr .st b{font-size:17px}
    .stock-tr .st small{display:inline;margin-left:6px}
    .stock-tr .ct{grid-area:ct;text-align:right;line-height:24px;color:#535353}
    .stock-tr .bt{grid-area:bt;gap:16px;margin-top:12px}
}

/* Inventory cards keep the vehicle, monthly cost and next action together. */
.stock-toolbar{gap:20px;margin:20px 0;padding:0;background:transparent}
.stock-controls{align-items:center}
.stock-seg{gap:2px;padding:3px;border:1px solid #e1e7ef;border-radius:10px;background:#f5f7fa}
.stock-seg a{display:flex;align-items:center;justify-content:center;height:34px;margin:0;padding:0 16px;border:0;border-radius:7px;background:transparent;line-height:1.3;color:#526078;font-size:14px}
.stock-seg a.on{background:#fff;color:#176dde;box-shadow:0 1px 4px #17243b12}
.stock-controls select{height:42px;border-color:#e1e7ef;border-radius:10px;font-size:14px;color:#334155}
#stockSort{appearance:none;-webkit-appearance:none;padding-inline:14px 38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;cursor:pointer}
.stock-search{height:42px;border:1px solid #e1e7ef;border-radius:10px;overflow:hidden;background:#fff}
.stock-search:focus-within{border-color:#2b88ff;box-shadow:0 0 0 2px #2b88ff15}
.stock-search input{width:135px;height:40px;border:0;font-size:14px;background:transparent}
.stock-search button{height:40px;border:0;background:#edf4ff;color:#176dde;font-size:14px;font-weight:600}
.stock-table{border:0}
.stock-table .stock-th{display:none}
#stockList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#stockList .stock-tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info info" "im im" "pr pr" "st ct" "bt bt";align-items:start;gap:0;margin:0;padding:24px;border:1px solid #e1e7ef;border-radius:16px;background:#fff;transition:border-color .15s,box-shadow .15s}
#stockList .info{grid-area:info}
#stockList .nm{font-size:20px;line-height:1.4;color:#17243b;word-break:keep-all}
#stockList .tr{margin-top:4px;color:#7a889c;font-size:13px}
#stockList .im{grid-area:im;align-self:center;padding:8px 12px;margin:8px 0}
#stockList .im img{width:100%;height:140px;object-fit:contain}
#stockList .pr{grid-area:pr;min-height:66px;margin:0;padding:0;font-size:13px;line-height:1.6;color:#526078}
#stockList .pr span{display:inline-block;min-width:30px;margin-right:6px;font-size:13px}
#stockList .pr b{font-size:23px;letter-spacing:-.4px}
#stockList .st,#stockList .ct{margin-top:16px;padding-top:14px;border-top:1px solid #edf1f6;font-size:13px;line-height:24px}
#stockList .st{grid-area:st;color:#526078}
#stockList .st::before{content:'재고 ';font-weight:400}
#stockList .st b{font-size:17px;color:#17243b}
#stockList .st small{display:inline;margin-left:6px;font-size:12px}
#stockList .st.low,#stockList .st.low b{color:#f44a6e}
#stockList .ct{grid-area:ct;text-align:right;color:#718096}
#stockList .bt{grid-area:bt;gap:10px;margin-top:14px}
#stockList .bt a{display:flex;align-items:center;justify-content:center;height:44px;line-height:1.3;border-radius:10px;font-size:14px}
#stockList .bt .btn-white{border-color:#dce3ed;color:#526078;background:#fff}
@media(hover:hover){#stockList .stock-tr:hover{background:#fff;border-color:#b8d6ff;box-shadow:0 6px 20px #17243b08}}
@media screen and (min-width:601px){.stock-rank .nm{min-height:80px}}
@media screen and (min-width:1201px){
    #stockList{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
    #stockList .stock-tr{padding:14px;border-radius:12px}
    #stockList .info{min-height:60px}
    #stockList .nm{font-size:17px;line-height:1.4}
    #stockList .tr{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
    #stockList .im{padding:0;margin:0 0 6px}
    #stockList .im img{height:88px}
    #stockList .pr{min-height:54px;font-size:12px;line-height:1.35;white-space:nowrap}
    #stockList .pr span{min-width:24px;margin-right:3px;font-size:12px}
    #stockList .pr b{font-size:20px}
    #stockList .st,#stockList .ct{margin-top:8px;padding-top:8px;font-size:12px}
    #stockList .st b{font-size:16px}
    #stockList .bt{gap:6px;margin-top:8px}
    #stockList .bt a{height:38px;font-size:12px;white-space:nowrap}
}
@media screen and (max-width:1200px){
    .stock-toolbar{align-items:flex-start;flex-direction:column;gap:12px}
    .stock-controls{flex-wrap:wrap;width:100%}
}
@media screen and (min-width:601px) and (max-width:1000px){
    #stockList{grid-template-columns:repeat(2,minmax(0,1fr))}
    .stock-rank{gap:8px}
    .stock-rank a{padding:14px 10px}
    .stock-rank .nm{font-size:14px}
    .stock-rank dl{flex-wrap:wrap}
}
@media screen and (max-width:600px){
    .stock-toolbar{display:block;margin:16px 0}
    .stock-controls{margin-top:12px;gap:10px}
    .stock-controls select{flex:1;min-width:0}
    .stock-search{flex:1.2;min-width:0}
    .stock-search input{min-width:0;width:0;flex:1}
    .stock-seg{width:100%}
    #stockList{grid-template-columns:minmax(0,1fr);gap:16px}
    #stockList .stock-tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info info" "im im" "pr pr" "st ct" "bt bt";padding:18px;border-radius:14px}
    #stockList .nm{font-size:18px}
    #stockList .im{padding:0;margin:8px 0 12px}
    #stockList .im img{max-width:260px;height:140px;margin:0 auto}
    #stockList .pr{min-height:54px;margin-top:0;font-size:12px;white-space:nowrap}
    #stockList .pr span{min-width:0;margin-right:3px;font-size:12px}
    #stockList .pr b{font-size:20px}
    #stockList .st,#stockList .ct{margin-top:14px;padding-top:12px;font-size:12px}
    #stockList .st b{font-size:16px}
}
@media screen and (max-width:600px){
    .stock-visual h1{font-size:24px;letter-spacing:-.5px}
    .stock-visual p{margin-top:8px;font-size:13px}
    .stock-visual img{align-self:center;margin:0 -50px 0 -30px;width:210px}

    .stock-head{display:block}
    .stock-asof{padding:4px 0 0;font-size:13px}
    .stock-asof b{font-size:15px}

    .stock-sec-head{display:block;margin-bottom:12px}
    .stock-sec-head h2{font-size:20px}
    .stock-texttab{margin-top:14px}
    .stock-texttab a{font-size:14px}

    /* Native horizontal swipe; the next card remains visible as a cue. */
    .stock-rank{display:flex;gap:12px;border:0;border-radius:0;background:transparent;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
    .stock-rank::-webkit-scrollbar{display:none}
    .stock-rank li{flex:0 0 76%;max-width:280px;margin:0;border:1px solid #e1e7ef;border-radius:12px;background:#f8fafc;scroll-snap-align:start}
    .stock-rank a{display:block;padding:14px}
    .stock-rank img,.stock-rank .noimg{margin:8px auto;width:100%;max-width:190px;height:96px}
    .stock-rank .nm{min-height:64px;font-size:16px;line-height:1.4;letter-spacing:-.3px}
    .stock-rank .nm i{position:static;display:block;margin:0 0 8px;transform:none;font-size:22px;text-align:left}
    .stock-rank dl{display:flex;justify-content:space-between;align-items:baseline;gap:5px;font-size:12px;line-height:1.4}
    .stock-rank dl+dl{margin-top:4px;text-align:left}
    .stock-rank dt{font-size:12px;color:#718096}
    .stock-rank dd{font-size:13px;font-weight:500;color:#526078}
    .stock-rank dd.pr{font-size:17px;font-weight:700;letter-spacing:-.3px}
    .stock-top .stock-sec-head{margin-bottom:14px}
    .stock-finder{margin-top:32px}

    .stock-toolbar{display:block}
    .stock-count{font-size:16px}
    .stock-controls{flex-wrap:wrap;gap:8px;margin-top:12px}
    .stock-seg{width:100%}
    .stock-seg a{flex:1;padding:0;text-align:center;font-size:14px}
    .stock-controls select{flex:1;min-width:0;font-size:14px}
    .stock-search{flex:1.2;min-width:0}
    .stock-search input{flex:1;width:auto;min-width:0;font-size:14px}
    .stock-search button{padding:0 12px;font-size:14px}

    .stock-tr{grid-template-columns:1fr 128px;margin-bottom:24px;padding:16px;border-radius:8px}
    .stock-tr .nm{font-size:18px}
    .stock-tr .tr{font-size:13px}
    .stock-tr .pr{font-size:14px}
    .stock-tr .ct{font-size:14px}
    .stock-tr .st{font-size:14px}
    .stock-tr .st b{font-size:16px}
    .stock-notice li{font-size:13px;line-height:1.7}
}
@media screen and (max-width:480px){
    .stock-visual{height:auto;min-height:180px}
    .stock-visual .inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;padding:24px 20px;height:auto;min-height:180px}
    .stock-visual .copy{display:contents}
    .stock-visual h1{grid-column:1;grid-row:1;font-size:clamp(20px,6.4vw,24px);word-break:keep-all}
    .stock-visual p{grid-column:1 / -1;grid-row:2;margin:0;line-height:1.5;word-break:keep-all}
    .stock-visual img{grid-column:2;grid-row:1;width:calc(100% + 20px);max-width:none;min-width:0;margin:0 -20px 0 0;align-self:center}
}

/* Ranked cards reuse the inventory content and visual hierarchy. */
#stockTop.stock-rank-cards > li{background:#fff}
#stockTop.stock-rank-cards > li > a{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info info" "image image" "price price" "stock contract" "cta cta";padding:14px;align-content:start}
#stockTop .stock-top-position{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:2px;min-height:24px;margin:0;padding:4px 10px;border-radius:99px;background:#f44a6e;color:#fff;font-size:12px;line-height:16px;font-style:normal;font-weight:900}
#stockTop .stock-top-position::after{content:'위'}
#stockTop .stock-top-info{grid-area:info;min-height:60px;padding-right:46px}
#stockTop .stock-top-info .nm{min-height:0;font-size:17px;line-height:1.4}
#stockTop .stock-top-info .tr{margin-top:4px;font-size:12px;line-height:1.5;color:#7a889c;overflow-wrap:anywhere}
#stockTop .stock-top-image{grid-area:image;align-self:center;width:100%;max-width:190px;height:88px;margin:0 auto 6px;object-fit:contain}
#stockTop .stock-top-price{grid-area:price;min-height:54px;font-size:12px;line-height:1.35;color:#526078;white-space:nowrap}
#stockTop .stock-top-price span{display:inline-block;min-width:24px;margin-right:3px;font-size:12px}
#stockTop .stock-top-price b{font-size:20px;font-weight:700;letter-spacing:-.4px;color:#2b88ff}
#stockTop .stock-top-stock,#stockTop .stock-top-contract{margin-top:8px;padding-top:8px;border-top:1px solid #edf1f6;font-size:12px;line-height:24px;color:#718096}
#stockTop .stock-top-stock{grid-area:stock}
#stockTop .stock-top-stock::before{content:'재고 '}
#stockTop .stock-top-stock b{font-size:16px;color:#17243b}
#stockTop .stock-top-contract{grid-area:contract;text-align:right}
#stockTop .stock-top-cta{grid-area:cta;display:flex;align-items:center;justify-content:center;height:38px;margin-top:8px;border-radius:10px;background:#2b88ff;color:#fff;font-size:13px;font-weight:600}
.stock-top-pagination{display:none}
@media screen and (min-width:601px){
    /* Fallback reserves room for a two-line model name and trim. */
    #stockTop .stock-top-info{min-height:88px}
    @supports(grid-template-rows:subgrid){
        /* Share content rows so the longest heading sets the height for every card. */
        #stockTop.stock-rank-cards{row-gap:0}
        #stockTop.stock-rank-cards > li:not(.none){display:grid;grid-row:span 5;grid-template-rows:subgrid}
        #stockTop.stock-rank-cards > li > a{grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
        #stockTop .stock-top-info{min-height:60px}
    }
}
@media screen and (max-width:600px){
    #stockTop.stock-rank-cards > li{flex-basis:calc(100% - 28px);max-width:none;border-radius:12px;scroll-snap-stop:always}
    /* Leave a peek of the next card and enough trailing space to align the last one. */
    #stockTop.stock-rank-cards::after{content:"";flex:0 0 16px}
    #stockTop.stock-rank-cards > li > a{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info info" "image image" "price price" "stock contract" "cta cta";padding:12px}
    #stockTop .stock-top-position{top:12px;right:12px;padding:3px 8px;min-height:22px}
    #stockTop .stock-top-info{min-height:46px;padding-right:42px}
    #stockTop .stock-top-info .nm{font-size:16px;overflow-wrap:anywhere}
    #stockTop .stock-top-image{align-self:center;margin:2px auto 6px;width:90%;max-width:260px;height:auto;aspect-ratio:1.85;max-height:140px}
    #stockTop .stock-top-price{margin-top:0}
}
    /* Balance the icon's invisible 10px side padding against the visible dots. */
    .stock-top-pagination:not([hidden]){position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:28px;margin-top:10px;padding-left:10px}
    .stock-top-dots{display:flex;align-items:center;gap:6px}
    .stock-top-dots button{position:relative;display:block;width:6px;height:6px;padding:0;border:0;border-radius:99px;background:#d7dfea;cursor:pointer;transition:width .25s ease,background .25s ease}
    .stock-top-dots button::before{content:'';position:absolute;inset:-10px -3px}
    .stock-top-dots button[aria-current=true]{width:18px;background:#2a88ff}
    .stock-top-play{position:relative;flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:#2a88ff;cursor:pointer}
    .stock-top-play::before{content:'';box-sizing:border-box;width:8px;height:10px;border-left:3px solid currentColor;border-right:3px solid currentColor}
    .stock-top-play.is-paused::before{width:0;height:0;margin-left:2px;border:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor}
    .stock-top-pagination button:focus-visible{outline:2px solid #176dde;outline-offset:1px}
@media(prefers-reduced-motion:reduce){.stock-top-dots button{transition:none}}
:is(#stockTop .stock-top-price,#stockList .pr) .stock-payment{display:flex;align-items:center;gap:4px;min-height:30px;margin:0;line-height:24px}
:is(#stockTop .stock-top-price,#stockList .pr) :is(.stock-payment-label,.stock-payment-value){display:inline-flex;align-items:center;height:24px;min-width:0;margin:0;font-size:12px;font-weight:400;line-height:24px;white-space:nowrap}
:is(#stockTop .stock-top-price,#stockList .pr) .stock-payment-label{flex:0 0 36px}
:is(#stockTop .stock-top-price,#stockList .pr) .stock-payment-value b{line-height:24px}
:is(#stockTop .stock-top-price,#stockList .pr) .stock-price-pending{color:#8a97aa}
@media(max-width:600px){
    :is(#stockTop .stock-top-price,#stockList .pr) .stock-payment{min-height:26px}
    #stockTop .stock-top-price{min-height:52px}
    #stockTop .stock-top-stock,#stockTop .stock-top-contract{margin-top:6px;padding-top:6px}
    #stockList .stock-tr{padding:14px;border-radius:12px}
    #stockList .nm{font-size:17px}
    #stockList .tr{font-size:12px}
    #stockList .im{margin:2px 0 6px}
    #stockList .im img{width:90%;height:auto;aspect-ratio:1.85;max-height:140px;max-width:260px}
    #stockList .pr{min-height:52px}
    #stockList .st,#stockList .ct{margin-top:8px;padding-top:8px;font-size:12px}
    #stockList .bt{margin-top:10px;gap:8px}
    #stockList .bt a{height:40px;font-size:13px}
}
