.references-card-demo{--reference-card-width: 94px;margin-top:52px;padding-top:28px;border-top:1px solid var(--card-line)}.references-card-demo h2{margin-top:0}.references-card-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;width:min(100%,560px);margin:26px auto 0;font-family:var(--mono);font-size:.72rem;line-height:1.5}.references-card-control output{color:var(--suit-red);font-variant-numeric:tabular-nums}.references-card-control input[type=range]{grid-column:1 / -1;width:100%;height:24px;margin:0;accent-color:var(--gold);cursor:pointer}.references-card-control input[type=range]:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.references-card-stage{display:flex;width:100%;margin-top:30px;align-items:flex-start;justify-content:center;gap:clamp(10px,3vw,24px);overflow:visible}.references-fixed-card{width:min(var(--reference-card-width),calc((100% - clamp(10px,3vw,24px))/2));flex:0 1 var(--reference-card-width);min-width:0}.references-fixed-card .community-card{width:100%;transform:rotate(0)}.references-fixed-card .community-card:hover{transform:translateY(-6px) rotate(0)}.prose details.references-card-gallery{margin:38px 0 0;padding:16px 0 0}.prose details.references-card-gallery>summary{position:relative;display:block;padding-right:28px;color:var(--ink);cursor:pointer;font-size:.78rem;letter-spacing:.05em;line-height:1.5;list-style:none}.prose details.references-card-gallery>summary::-webkit-details-marker{display:none}.prose details.references-card-gallery>summary:after{position:absolute;top:50%;right:0;color:var(--suit-red);content:"+";font-family:var(--mono);font-size:1rem;line-height:1;transform:translateY(-50%)}.prose details.references-card-gallery[open]>summary:after{content:"−"}.prose details.references-card-gallery>summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.references-card-gallery-note{margin:18px 0 0;color:var(--muted-dark);font-family:var(--mono);font-size:.7rem;line-height:1.6}.references-card-gallery-grid{display:grid;align-items:start;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));grid-auto-rows:max-content;gap:clamp(6px,1.8vw,16px);margin-top:24px;padding:0 clamp(0px,1vw,8px) 8px}.references-card-gallery-grid .community-card{width:100%;min-width:0;min-height:0;align-self:start;max-width:78px;justify-self:center;transform:rotate(0)}.references-card-gallery-grid .community-card:hover{transform:translateY(-6px) rotate(0)}.references-fixed-mahjong .community-card-surface{--mahjong-inset: clamp(4px, 3cqi, 12px);--mahjong-depth-x: clamp(3px, 4cqi, 10px);--mahjong-depth-y: clamp(4px, 5cqi, 12px);border-color:var(--mahjong-edge);border-radius:clamp(6px,3.8cqi,14px);background:var(--mahjong-face);color:var(--mahjong-ink);box-shadow:1px 1px 0 var(--mahjong-edge),3px 3px 0 var(--mahjong-edge),calc(var(--mahjong-depth-x) * .75) calc(var(--mahjong-depth-y) * .75) 0 var(--mahjong-edge),var(--mahjong-depth-x) var(--mahjong-depth-y) 0 var(--mahjong-edge),calc(var(--mahjong-depth-x) + 2px) calc(var(--mahjong-depth-y) + 3px) 0 var(--mahjong-edge-deep);overflow:hidden}.references-fixed-mahjong .community-card-surface:before{display:none;content:none}.references-fixed-mahjong :is(.community-card-corner,.community-card-suit){display:none}.references-fixed-mahjong .community-card-surface>.mahjong-card-mark{inset:0;display:grid;place-items:center;z-index:2;overflow:hidden;border-radius:inherit;transform:translateZ(14px)}.references-fixed-mahjong .community-card:hover .community-card-surface{border-color:var(--gold);background:var(--mahjong-face-strong);box-shadow:2px 2px 0 var(--mahjong-edge),4px 4px 0 var(--mahjong-edge),calc(var(--mahjong-depth-x) * .85) calc(var(--mahjong-depth-y) * .85) 0 var(--mahjong-edge),calc(var(--mahjong-depth-x) + 1px) calc(var(--mahjong-depth-y) + 2px) 0 var(--mahjong-edge-deep),calc(var(--mahjong-depth-x) + 3px) calc(var(--mahjong-depth-y) + 4px) 0 var(--mahjong-edge-deep)}.references-fixed-poker .mahjong-card-mark,html[data-card-mode=mahjong] .references-fixed-poker .mahjong-card-mark{display:none}html[data-card-mode=mahjong] .references-fixed-poker .community-card-surface{border-color:var(--card-line);border-radius:7px;background:var(--mahjong-face);color:inherit;box-shadow:0 0 0 transparent}html[data-card-mode=mahjong] .references-fixed-poker .community-card-surface:before{display:none;content:none}html[data-card-mode=mahjong] .references-fixed-poker .community-card-corner{display:grid}html[data-card-mode=mahjong] .references-fixed-poker .community-card-suit{display:block}html[data-card-mode=mahjong] .references-fixed-poker .community-card:hover .community-card-surface{border-color:var(--gold);background:var(--mahjong-face-strong);box-shadow:7px 8px 0 var(--felt-deep)}
