/* A compact invitation; the game itself loads only after a deliberate click. */
.jg-card{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #626254;border-radius:8px;background:#242822}
.jg-art{position:relative;min-height:300px;background:#243238;overflow:hidden}
.jg-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.jg-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 65%,#24282255),linear-gradient(0deg,#17201e66,transparent 55%);pointer-events:none}
.jg-art-label{position:absolute;z-index:1;left:22px;bottom:19px;color:#f1e8d5;font:600 13px/1.6 var(--sans);letter-spacing:.08em}
.jg-copy{padding:32px 34px;align-self:center}
.jg-copy .eyebrow{font-size:12px;letter-spacing:.07em;color:#cbb4da}
.jg-copy h2{margin:9px 0 13px;color:#e8deca;font:600 clamp(25px,2.8vw,32px)/1.5 var(--serif);letter-spacing:-.04em}
.jg-copy p{color:#c9c9bb;font:400 15px/1.85 var(--sans)}
.jg-modes{margin:17px 0 21px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 15px;color:#d7c2e4;font:500 13px/1.7 var(--sans)}
.jg-modes li::before{content:"·";margin-right:6px;color:#9f8aaa}
.jg-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.jg-copy .jg-launch{min-height:50px;padding:11px 24px;font:600 16px/1.6 var(--sans);background:#725487;border:1px solid #9c7eb0;color:#fff5ff;border-radius:5px;transition:background .2s,border-color .2s}
.jg-copy .jg-launch:hover{background:#846299;border-color:#b8a0c7}
.jg-standalone{display:inline-flex;align-items:center;min-height:44px;font:500 13px/1.6 var(--sans);color:#d3cbbf;text-decoration:underline;text-underline-offset:5px}
.jg-note{margin-top:13px!important;font-size:12px!important;color:#aeb3a4!important}
body.jg-open{overflow:hidden}
.jg-dialog{width:min(1200px,calc(100% - 40px));height:min(880px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:0;overflow:hidden;color:#eee7d9;background:#14222b;border:1px solid #6b6273;border-radius:10px;box-shadow:0 24px 90px #0008}
.jg-dialog::backdrop{background:#101510d9}
.jg-dialog[open]{display:flex;flex-direction:column}
.jg-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:64px;padding:8px 20px;border-bottom:1px solid #59605a;background:#252b27}
.jg-dialog-head h3{font:600 17px/1.5 var(--sans);color:#e6ddcc}
.jg-dialog-head p{font:400 12px/1.6 var(--sans);color:#b9c4b2}
.jg-close{flex:none;min-height:44px;padding:8px 16px;border:1px solid #7b7184;border-radius:5px;color:#f0e5f8;background:#39313e;font:600 14px/1.5 var(--sans)}
.jg-frame-wrap{position:relative;flex:1;min-height:0;overflow:hidden}
.jg-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#14222b}
.jg-loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;text-align:center;background:#14222b;font:400 16px/1.8 var(--sans)}
.jg-loading[hidden]{display:none}
.jg-loading a{color:#d4b9e7;text-decoration:underline;text-underline-offset:5px;min-height:44px;display:inline-flex;align-items:center}
.jg-dialog-foot{flex:none;padding:8px 18px;color:#bdc5b5;background:#252b27;font:400 12px/1.6 var(--sans);text-align:center}
@media(max-width:700px){.jg-card{grid-template-columns:minmax(0,1fr)}.jg-art{min-height:0;aspect-ratio:2.25}.jg-art img{object-position:50% 50%}.jg-art-label{font-size:12px;left:20px;bottom:14px}.jg-copy{padding:23px 22px 25px}.jg-copy h2{font-size:26px}.jg-copy p{font-size:15px}.jg-modes{margin:13px 0 17px}.jg-actions{gap:9px 17px}.jg-dialog{width:100%;height:100dvh;border:0;border-radius:0}.jg-dialog-head{min-height:62px;padding:8px 12px}.jg-dialog-head h3{font-size:15px}.jg-dialog-head p{font-size:11px}.jg-dialog-foot{padding:7px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.jg-copy .jg-launch{transition:none}}
@media print{#game,.jg-dialog{display:none!important}}
