/* Five additional television compositions. Every table uses the shared loop. */
html[data-style=vault]{--bg:#101113;--surface:#1c1d20;--alternate:#151619;--line:#3d3b36;--text:#f5f2eb;--muted:#b2afa8;--accent:#e2be74;--price:#f3cd7c;--buy:#f3f2f0}
html[data-style=gallery]{--bg:#fafbfc;--surface:#fff;--alternate:#f0f2f5;--line:#d7dbe1;--text:#1c2532;--muted:#657183;--accent:#273b55;--price:#1b2c45;--buy:#1b2c45}
html[data-style=carmine]{--bg:#210e16;--surface:#321821;--alternate:#27121b;--line:#623546;--text:#fff5f7;--muted:#d2b0be;--accent:#ebce8c;--price:#f2cf89;--buy:#f9eef1}
html[data-style=terminal]{--bg:#0a1329;--surface:#111f3a;--alternate:#0c1930;--line:#2d4164;--text:#f1f6ff;--muted:#a3b5d3;--accent:#8eb4ff;--price:#f3f7ff;--buy:#c9dcff}
html[data-style=onyx]{--bg:#161719;--surface:#24262a;--alternate:#24262a;--line:#46494f;--text:#f5f6f7;--muted:#b1b5bd;--accent:#dfe1e6;--price:#f8f9fa;--buy:#e2e5eb}
.miniature.vault{background:#111214;color:#e2be74;grid-template-columns:1fr 2fr}.miniature.vault b{grid-row:span 4}.miniature.gallery{background:#fafbfc;color:#273b55}.miniature.carmine{background:#741c3a;color:#ebce8c;grid-template-columns:2fr 1fr}.miniature.terminal{background:#0a1329;color:#8eb4ff;grid-template-columns:2fr 1fr}.miniature.onyx{background:#161719;color:#dfe1e6;grid-template-columns:1fr 1fr}.miniature.onyx b{grid-column:1/-1}
@media(min-width:801px){
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=terminal],[data-style=onyx]) .masthead{min-height:12vh}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=terminal],[data-style=onyx]) .amount{font-size:2.35vw;font-weight:500}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=terminal],[data-style=onyx]) .product strong{font-size:1.55vw}
 html:is([data-style=vault],[data-style=carmine]) .dashboard{grid-template-columns:24% minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;padding-top:1.5vh}
 html:is([data-style=vault],[data-style=carmine]) .feature{display:flex;flex-direction:column;position:relative;isolation:isolate;padding:2vh 1.5vw;min-height:0;border:1px solid var(--line);overflow:hidden}
 html:is([data-style=vault],[data-style=carmine]) .feature:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 10%,var(--bg) 65%),var(--scene) center top/cover}
 html[data-style=vault] .feature{--scene:url('/assets/themes/21-nocturne-exchange.webp')}
 html[data-style=vault] .masthead{border-bottom:2px solid #b89758}
 html:is([data-style=vault],[data-style=carmine]) .feature .metal-symbol{visibility:hidden;height:9vh;margin:1vh 0}
 html:is([data-style=vault],[data-style=carmine]) .feature-price{font-size:4vw}
 html:is([data-style=vault],[data-style=carmine]) .feature-label{margin-top:1vh}
 html:is([data-style=vault],[data-style=carmine]) .feature-bottom{margin-top:1vh;padding-top:1vh}
 html:is([data-style=vault],[data-style=carmine]) .markets{grid-column:1/-1}
 html:is([data-style=vault],[data-style=carmine]) .quote-row{min-height:10vh}
 html:is([data-style=vault],[data-style=carmine]) .range{gap:.8vw}
 html:is([data-style=vault],[data-style=carmine]) .range span{font-size:1.35vw}
 html[data-style=carmine] .masthead{background:#741c3a;border-bottom:1px solid #c2859b}
 html[data-style=carmine] .dashboard{grid-template-columns:minmax(0,1fr) 23%}
 html[data-style=carmine] .feature{grid-column:2;grid-row:1;--scene:url('/assets/themes/23-garnet-jewel.webp')}
 html[data-style=carmine] .quote-panel{grid-column:1;grid-row:1}
 html[data-style=carmine] .table-head{background:#741c3a;color:#fff5f7}
 html[data-style=gallery] .masthead{background:#fff;border-bottom:3px solid #273b55}
 html[data-style=gallery] .emblem{color:#273b55}
 html[data-style=gallery] .quote-row{min-height:10.5vh;border-bottom:1px solid #c5ccd6}
 html[data-style=gallery] .table-head{background:#e5eaf0;color:#273b55;border-top:1px solid #273b55;border-bottom:1px solid #b8c2cf}
 html[data-style=gallery] .range .high{color:#ba3434!important}
 html[data-style=gallery] .range .low{color:#207047!important}
 html[data-style=gallery] .market-grid{border:0;border-top:2px solid #273b55;background:#fff}
 html[data-style=gallery] .market-card{padding:1.5vh 1vw}
 html[data-style=gallery] .market-value strong{font-size:1.65vw}
 html[data-style=gallery] .market-range span:first-child{color:#a43434}
 html[data-style=gallery] .market-range span:last-child{color:#28623e}
 html[data-style=terminal] .masthead{background:#123a8b;border-color:#3a6ab8}
 html[data-style=terminal] .dashboard{grid-template-columns:minmax(0,1fr) 27%;grid-template-rows:minmax(0,1fr);padding-top:1.5vh}
 html[data-style=terminal] .quote-row{min-height:11.4vh}
 html[data-style=terminal] .table-head{background:#203b6a;color:#e4eeff}
 html[data-style=terminal] .table-head,html[data-style=terminal] .quote-row{grid-template-columns:1.1fr 1fr 1fr 1.15fr}
 html[data-style=terminal] .spread-cell{display:none}
 html[data-style=terminal] .markets{border:1px solid var(--line);padding:1.3vh 1vw;overflow:auto}
 html[data-style=terminal] .markets-heading{display:block;padding:1vh 0}
 html[data-style=terminal] .markets-heading>span{display:block;margin-top:.5vh}
 html[data-style=terminal] .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));border:0;gap:1.3vh .8vw}
 html[data-style=terminal] .market-card{padding:1vh .4vw;border:0;border-top:1px solid var(--line)}
 html[data-style=terminal] .market-value{flex-wrap:wrap}
 html[data-style=terminal] .market-value strong{font-size:1.65vw}
 html[data-style=terminal] .market-range{flex-wrap:wrap;gap:0}
 html[data-style=terminal] .market-source{font-size:.49vw}
 html[data-style=terminal][data-markets=hidden] .dashboard{grid-template-columns:1fr}
 html[data-style=onyx] .masthead{border-bottom:1px solid #92969f}
 html[data-style=onyx] .table-head{display:none}
 html[data-style=onyx] .tv-quote-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2vh 1vw;padding-bottom:1.2vh}
 html[data-style=onyx] .quote-row{display:grid;grid-template-columns:1.15fr 1fr 1fr;min-height:18vh;padding:1.2vh .7vw;border:1px solid var(--line);gap:0 .5vw;align-content:center}
 html[data-style=onyx] .quote-row>div{padding:.5vh .6vw}
 html[data-style=onyx] .product strong{font-size:1.65vw}
 html[data-style=onyx] .buy:before,html[data-style=onyx] .sell:before{display:block;font-size:.7vw;color:var(--muted);margin-bottom:.8vh}
 html[data-style=onyx] .buy:before{content:'回购价'}html[data-style=onyx] .sell:before{content:'销售价'}
 html[data-style=onyx] .range{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin-top:1vh;padding:1vh .6vw 0;gap:1vw}
 html[data-style=onyx] .range span{display:flex;align-items:baseline;justify-content:space-between;font-size:1.4vw}
 html[data-style=onyx] .range small{font-size:.7vw}
 html[data-style=onyx] .spread-cell{display:none}
 html[data-style=onyx] .market-grid{background:#1e2023}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine]) .quote-row{min-height:7.4vh}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=onyx]) .dashboard>.markets .market-source{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=onyx]) .dashboard>.markets .market-card{padding:.8vh .9vw}
 html[data-style=onyx] .quote-row{min-height:15.5vh}
}
@media(max-width:800px){
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=terminal],[data-style=onyx]) .feature{display:none}
 html:is([data-style=vault],[data-style=gallery],[data-style=carmine],[data-style=terminal],[data-style=onyx]) .quote-row{height:calc((100dvh - 253px)/10);min-height:38px;max-height:none}
}
