.market-quotes {width:100%;min-width:0;margin:24px 0 2px;color:#202631;font-size:13px;line-height:1.4;}
.market-quotes *, .market-quotes *::before, .market-quotes *::after {box-sizing:border-box;}
.market-quotes [hidden] {display:none!important;}
.market-quotes__header {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;}
.market-quotes .market-quotes__title {min-width:0;margin:0;}
.market-quotes .market-quotes__title h2 {margin:0;font-size:18px;line-height:1.3;font-weight:400;}
.market-quotes__controls {display:flex;flex:0 0 auto;gap:8px;margin-left:auto;}
.market-quotes .market-quotes__arrow {display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-height:0;margin:0;padding:0;border:1px solid #e0e4e9;border-radius:50%;background:#fff;color:#252d38;font-family:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background .2s,color .2s,border-color .2s,opacity .2s;}
.market-quotes .market-quotes__arrow:hover:not(:disabled) {background:#202631;border-color:#202631;color:#fff;}
.market-quotes .market-quotes__arrow:disabled {opacity:.35;cursor:default;}
.market-quotes__viewport {width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid #e3e6ea;border-radius:8px;scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.market-quotes__viewport::-webkit-scrollbar {display:none;}
.market-quotes__track {--mq-visible:8;display:flex;align-items:stretch;gap:0;min-width:100%;}
.market-quotes .market-quotes__card {display:flex;flex:0 0 calc(100% / var(--mq-visible));flex-direction:column;min-width:0;margin:0;padding:14px 12px;border:0;border-right:1px solid #e3e6ea;border-radius:0;background:#fff;color:inherit;text-decoration:none!important;scroll-snap-align:start;transition:background .2s;}
.market-quotes .market-quotes__card:last-child {border-right:0;}
.market-quotes a.market-quotes__card:hover {background:#f7f9fb;}
.market-quotes__caption {display:block;overflow:hidden;color:#858c97;font-size:10px;line-height:14px;white-space:nowrap;text-overflow:ellipsis;}
.market-quotes__name-row {display:flex;align-items:flex-start;gap:6px;min-height:38px;margin:7px 0 8px;}
.market-quotes__dot {display:inline-block;flex:0 0 7px;width:7px;height:7px;margin-top:6px;border-radius:50%;background:#a8afb8;cursor:help;}
.market-quotes__dot.is-on {background:#28a35a;}
.market-quotes__name {display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:14px;font-weight:600;line-height:18px;overflow-wrap:anywhere;}
.market-quotes__price {display:block;font-size:21px;font-weight:700;line-height:27px;letter-spacing:-.45px;white-space:nowrap;font-variant-numeric:tabular-nums;}
.market-quotes__unit {display:block;min-height:15px;overflow:hidden;color:#858c97;font-size:10px;line-height:15px;white-space:nowrap;text-overflow:ellipsis;}
.market-quotes__change {display:block;min-height:21px;margin:4px 0 9px;color:#858c97;font-size:13px;font-weight:600;line-height:20px;font-variant-numeric:tabular-nums;}
.market-quotes .is-positive {color:#208345;}
.market-quotes .is-negative {color:#c23b3b;}
.market-quotes .is-neutral {color:#777;}
.market-quotes__range {display:flex;flex-direction:column;gap:4px;margin-top:auto;padding-top:8px;border-top:1px solid #eef0f2;}
.market-quotes__range-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:5px;font-size:12px;line-height:16px;}
.market-quotes__range-label {color:#858c97;}
.market-quotes__range-value {color:#555;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
.market-quotes__status {margin:8px 0 0;color:#858c97;font-size:12px;}
.market-quotes__status:empty {display:none;}
.market-quotes__skeleton {min-height:193px;gap:14px;}
.market-quotes__skeleton span {display:block;width:85%;height:13px;border-radius:3px;background:#edf0f3;}
.market-quotes__skeleton span:nth-child(2) {width:70%;height:24px;}
.market-quotes__skeleton span:nth-child(3) {width:80%;height:27px;}
.market-quotes__skeleton span:nth-child(4) {width:60%;}
.market-quotes .market-quotes__card:focus-visible, .market-quotes .market-quotes__arrow:focus-visible, .market-quotes__viewport:focus-visible {outline:2px solid #2f80c0;outline-offset:-3px;}
@media(max-width:1100px) {.market-quotes__track {--mq-visible:6;}}
@media(max-width:820px) {.market-quotes__track {--mq-visible:4;}}
@media(max-width:560px) {
    .market-quotes__track {--mq-visible:2;}
    .market-quotes .market-quotes__title h2 {font-size:18px;}
    .market-quotes__header {gap:10px;}
    .market-quotes__controls {gap:6px;}
    .market-quotes .market-quotes__arrow {flex-basis:32px;width:32px;height:32px;}
    .market-quotes .market-quotes__card {padding:12px 10px;}
    .market-quotes__price {font-size:20px;}
}
@media(prefers-reduced-motion:reduce) {.market-quotes * {transition:none!important;scroll-behavior:auto!important;}}
/* Учитываем и реальную ширину блока, если главная содержит боковую колонку. */
@supports (container-type:inline-size) {
    .market-quotes {container-type:inline-size;container-name:market-quotes;}
    @container market-quotes (max-width:1100px) {.market-quotes__track {--mq-visible:6;}}
    @container market-quotes (max-width:820px) {.market-quotes__track {--mq-visible:4;}}
    @container market-quotes (max-width:560px) {.market-quotes__track {--mq-visible:2;}}
}
