/* v178: only the approved five-element diagram. */
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart){min-width:0;max-width:100%;margin:12px auto!important;padding:18px!important;background:#faf7ef!important;color:#173042!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart)>header{display:block!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;text-align:left}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) :is(h1,h2,h3,p,li,span,b){color:#173042!important;text-shadow:none!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) h1{font-size:clamp(26px,4vw,40px)!important;line-height:1.4!important;margin:0!important;letter-spacing:-.04em}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .review{margin:0 0 6px!important;font-size:16px!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .lead{margin:8px 0 0!important;font-size:18px!important;line-height:1.65!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .board{width:100%!important;margin:14px 0 12px!important;aspect-ratio:1;overflow:hidden}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .board-art{width:100%;height:100%;object-fit:cover}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .arrows{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label{width:22%;padding:5px 2px!important;background:#faf7ef!important;border:2px solid #DCC18A;border-radius:6px;font-size:clamp(16px,2.3vw,24px)!important;line-height:1.35!important;z-index:1}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label b{font-size:inherit!important;font-weight:800}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label span{font-size:clamp(12px,1.6vw,18px)!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label:is(.metal,.water){top:89%!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend{font-size:16px!important;line-height:1.6;gap:8px 20px}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .chip{color:#fff!important}
@media(max-width:700px){:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart){margin:8px 0!important;padding:12px!important}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label span{display:none}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .node-label{font-size:16px!important}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend{display:grid;grid-template-columns:1fr}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .flows{display:block}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .flow-section{padding:18px 14px}}

/* v179: compact legend and five matching face cards. */
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 18px!important;margin:0 0 14px!important;padding:0!important;color:#173042!important;font-size:16px!important;font-weight:700;line-height:1.5!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend>span{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;color:#173042!important;font-size:16px!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:break-word}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend i{flex:0 0 20px;width:20px;margin:0!important;border-top:4px solid #996B1D}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend .control-key{border-color:#173042}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-list{gap:10px!important;margin:14px 0 20px!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card{height:auto!important;min-height:0!important;padding:16px!important;background:#173240!important;border-radius:6px}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card .element{margin:0 0 4px!important;color:#DCC18A!important;font-size:21px!important;font-weight:800;line-height:1.4!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card.wood .element{color:#8ED6B1!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card h3{margin:0!important;color:#F4EBDD!important;font-size:19px!important;font-weight:700;line-height:1.5!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card p{margin:5px 0 0!important;color:#F4EBDD!important;font-size:17px!important;line-height:1.6!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card .word{color:inherit!important}
@media(max-width:700px){:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend{display:flex!important;gap:4px!important}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .legend>span{flex-basis:100%}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card{padding:14px 16px!important}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) .face-card+.face-card{margin-top:10px!important}}

/* v180: compact, content-sized face cards; preserve every label and description. */
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions{min-height:0!important;margin:0!important;padding:0!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start!important;gap:8px!important;margin:10px 0 14px!important;padding:0!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-content:start!important;align-items:baseline!important;gap:3px 8px!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0!important;margin:0!important;padding:8px 10px!important;overflow:visible!important;background:#173240!important;text-align:left!important;border-radius:6px}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card .element{margin:0!important;padding:0!important;font-size:20px!important;line-height:1.35!important;font-weight:800!important;color:#DCC18A!important;white-space:nowrap}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card.wood .element{color:#9CE4BE!important}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card h3{min-width:0!important;margin:0!important;padding:0!important;font-size:18px!important;line-height:1.4!important;font-weight:700!important;color:#F6F1E7!important;word-break:keep-all!important;overflow-wrap:anywhere}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card p{grid-column:1/-1!important;margin:0!important;padding:0!important;font-size:17px!important;line-height:1.45!important;color:#F6F1E7!important;word-break:keep-all!important;overflow-wrap:anywhere}
:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card .word{display:inline!important;margin:0!important;padding:0!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;white-space:normal!important}
@media(max-width:950px){:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-list{grid-template-columns:minmax(0,1fr)!important}:is(body.premium-dark #source-original .approved-chart,body.chart-page .approved-chart) #face-descriptions .face-card+.face-card{margin:0!important}}
