/* Original YING and YANG artwork, presented as two distinct decks. */
.chance-cards{border-top:1px solid #dcba7d20;isolation:isolate}
.chance-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:64px}
.chance-heading h2{font-size:clamp(65px,7.2vw,112px)}
.chance-heading h2 span{color:var(--gold)}
.chance-heading>p{max-width:480px;font-size:16px;line-height:1.9;padding-bottom:5px}
.chance-decks{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,85px)}
.chance-deck{min-width:0}
.chance-deck-copy{display:grid;grid-template-columns:auto 1fr;gap:25px;align-items:start;align-content:start;border-top:1px solid #dcba7d44;padding-top:25px;min-height:166px}
.chance-deck-copy h3{font-size:48px;color:var(--gold);padding-top:3px}
.chance-deck-copy strong{font-size:14px;font-weight:600;color:var(--ink)}
.chance-deck-copy p{font-size:13px;line-height:1.85;margin-top:8px;max-width:420px}
.chance-display{position:relative;width:100%;aspect-ratio:1.14;isolation:isolate}
.chance-display:before{content:'';position:absolute;inset:12% -4% -3%;z-index:-1;background:radial-gradient(ellipse,#ad7b2525,transparent 67%);pointer-events:none}
.chance-card{position:absolute;display:block;filter:drop-shadow(0 20px 19px #0009);transition:transform .35s ease,filter .35s ease;outline-offset:7px;border-radius:10px}
.chance-card img{width:100%;height:auto;border-radius:inherit}
.chance-landscapes .chance-card{width:78%}
.chance-landscapes .chance-card-first{left:2%;top:5%;transform:rotate(-6deg)}
.chance-landscapes .chance-card-second{right:1%;bottom:2%;transform:rotate(5deg)}
.chance-portraits .chance-card{width:53%}
.chance-portraits .chance-card-first{left:2%;top:1%;transform:rotate(-8deg)}
.chance-portraits .chance-card-second{right:2%;bottom:1%;transform:rotate(7deg)}
.chance-enlarge{position:absolute;right:10px;bottom:10px;width:32px;height:32px;display:grid;place-items:center;background:#111210e8;border:1px solid #dcba7d80;border-radius:50%;color:#f0dfbb;box-shadow:0 3px 12px #0006;font-size:18px;opacity:0;transition:opacity .2s}
.chance-card:focus-visible{z-index:3;filter:drop-shadow(0 22px 24px #000b);transform:translateY(-8px) rotate(0)}
.chance-card:focus-visible .chance-enlarge{opacity:1}
@media(hover:hover){.chance-card:hover{z-index:3;transform:translateY(-8px) rotate(0);filter:drop-shadow(0 22px 24px #000b)}.chance-card:hover .chance-enlarge{opacity:1}}
.chance-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:45px;padding-top:24px;border-top:1px solid #dcba7d20;font-size:12px}
.chance-footer p{color:#b8b3a3}
.chance-gallery{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;background:#0d0e0cf0;border:0;overflow:hidden;color:var(--ink);box-shadow:none}
.chance-gallery::backdrop{background:#000d;backdrop-filter:blur(10px)}
.chance-close{position:absolute;top:max(20px,env(safe-area-inset-top));right:24px;z-index:2;display:grid;place-items:center;width:46px;height:46px;border:1px solid #dcba7d66;border-radius:50%;background:#111210d9;font-size:18px}
.chance-viewport{position:absolute;inset:60px 0 112px;overflow:hidden;touch-action:pan-y}
.chance-stage{display:flex;align-items:center;justify-content:center;min-height:100%;padding:12px 60px}
.chance-zoom{display:block;padding:0;background:transparent;line-height:0;cursor:zoom-in;flex-shrink:0;max-width:100%;border-radius:8px}
.chance-zoom img{display:block;width:auto;height:auto;max-width:min(1100px,calc(100vw - 120px));max-height:calc(100vh - 196px);max-height:calc(100dvh - 196px);border-radius:8px;box-shadow:0 18px 60px #0008}
.chance-viewport.is-enlarged{overflow:auto;touch-action:pan-x pan-y}
.chance-viewport.is-enlarged .chance-stage{display:block;padding:18px;width:max-content;min-width:100%;min-height:100%}
.chance-viewport.is-enlarged .chance-zoom{margin:auto;cursor:zoom-out;max-width:none}
.chance-viewport.is-enlarged img{width:min(1300px,185vw);max-width:none;max-height:none}
.chance-loading{position:absolute;inset:45% 20px auto;text-align:center;color:var(--gold)}
.chance-loading a{text-decoration:underline}
.chance-gallery-controls{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 40px));display:grid;grid-template-columns:48px 1fr 48px;gap:20px;align-items:center;text-align:center}
.chance-gallery-controls>button{width:48px;height:48px;background:transparent;border:1px solid #dcba7d66;border-radius:50%;font-size:22px;transition:background .2s,border-color .2s}
.chance-gallery-controls>button:hover:enabled,.chance-close:hover{background:#dcba7d18;border-color:var(--gold)}
.chance-gallery-controls>button:disabled{opacity:.25;cursor:default}
.chance-gallery-controls h2{font:600 15px/1.5 Inter,Arial,sans-serif;letter-spacing:0}
#chance-status{display:inline-block;font-size:12px;color:var(--gold);margin-top:3px}
.chance-zoom-hint{display:inline-block;font-size:11px;color:#99988e;margin-left:14px}
.chance-gallery [hidden]{display:none!important}
@media(max-width:1100px) and (min-width:701px){.chance-heading{gap:35px}.chance-decks{gap:36px}.chance-deck-copy{grid-template-columns:1fr;gap:12px;min-height:235px}.chance-deck-copy h3{font-size:43px}.chance-display{aspect-ratio:1.04}.chance-landscapes .chance-card{width:80%}}
@media(max-width:700px){.chance-heading{grid-template-columns:1fr;gap:25px;margin-bottom:40px}.chance-heading h2 br{display:none}.chance-heading h2 span:before{content:' '}.chance-heading h2{font-size:clamp(53px,12vw,80px)}.chance-heading>p{font-size:14px;line-height:1.85;max-width:520px}.chance-decks{grid-template-columns:1fr;gap:40px}.chance-deck-copy{min-height:0;padding-top:21px;gap:20px;margin-bottom:25px}.chance-deck-copy h3{font-size:43px}.chance-deck-copy strong{font-size:13px}.chance-deck-copy p{font-size:12px}.chance-display{width:95%;margin:auto;max-width:500px}.chance-landscapes{aspect-ratio:1.1}.chance-portraits{aspect-ratio:1.05}.chance-enlarge{opacity:1;width:29px;height:29px;font-size:16px;right:8px;bottom:8px}.chance-footer{margin-top:30px;flex-direction:column;align-items:flex-start;gap:10px}.chance-close{right:16px;top:16px;width:42px;height:42px}.chance-stage{padding:10px 18px}.chance-zoom img{max-width:calc(100vw - 36px)}.chance-zoom-hint{display:block;margin:2px 0 0}.chance-gallery-controls{gap:10px}.chance-gallery-controls h2{font-size:13px}.chance-gallery-controls>button{width:44px;height:44px}.chance-gallery-controls{grid-template-columns:44px 1fr 44px}}
@media(prefers-reduced-motion:reduce){.chance-card,.chance-enlarge,.chance-gallery-controls>button{transition:none}}
html[data-motion=paused] .chance-card{transition:none}
