/* Shared presentation tokens. Card artwork, compass and animation stay intact. */
:root{
 --ignition-card-aspect:1.65;
 --ignition-card-max-width:640;
 --ignition-card-tilt:7;
 --ignition-card-gutter:24;
}
/* IDs intentionally outrank legacy .stage / .card-wrap !important rules. */
body.participant-home #stage{
 height:clamp(200px,42svh,500px)!important;
 min-height:0!important;
 aspect-ratio:auto!important;
}
body.participant-home #stage>#card-wrap,
body.suzaku-receipt #stage>#card-wrap,
body #receipt-dialog #receipt-stage>#card-wrap,
body.participant-home #line-receipt #desktop-claim-card>#card-wrap,
body.participant-home #line-claim #mobile-claim-card>#card-wrap{
 width:var(--ignition-card-width,min(82%,540px))!important;
 max-width:calc(var(--ignition-card-max-width)*1px)!important;
 aspect-ratio:var(--ignition-card-aspect);
 flex:none;
}
@media(max-width:740px){
 body.participant-home #stage{height:clamp(200px,36svh,340px)!important}
}
/* The LINE invitation gives the card and the QR instructions their own space.
   Short viewports scroll the dialog instead of clipping its controls. */
body.participant-home #line-receipt{
 width:min(1000px,calc(100vw - 32px));
 max-width:1000px;
 max-height:calc(100dvh - 32px);
 padding:26px;
 overflow:auto;
 overscroll-behavior:contain;
}
body.participant-home #line-receipt .claim-layout{
 grid-template-columns:minmax(0,1fr) minmax(280px,.95fr);
 gap:28px;
 align-items:center;
}
body.participant-home #desktop-claim-card{height:clamp(210px,40dvh,340px)}
body.participant-home #mobile-claim-card{height:clamp(145px,27dvh,220px)}
@media(max-width:900px){
 body.participant-home #line-receipt{padding:22px 24px;width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}
 body.participant-home #line-receipt .claim-layout{grid-template-columns:1fr;gap:12px}
 body.participant-home #desktop-claim-card{height:clamp(140px,27dvh,230px)}
 body.participant-home #line-receipt .claim-art>.claim-eyebrow{margin-bottom:4px!important}
 body.participant-home #line-receipt .claim-card-caption{margin:0!important;font-size:10px!important}
 body.participant-home #line-receipt .claim-copy{text-align:center}
 body.participant-home #line-receipt .claim-copy>.claim-eyebrow{display:none}
 body.participant-home #line-receipt .claim-copy h2{font-size:22px!important;margin-bottom:10px!important;line-height:1.45!important}
 body.participant-home #line-receipt .claim-lead{font-size:15px!important;line-height:1.6!important;margin-bottom:8px!important}
 body.participant-home #line-receipt .claim-description{font-size:10px!important;line-height:1.8!important}
 body.participant-home #line-receipt #line-qr{width:150px;margin:12px auto 8px;padding:8px}
 body.participant-home #line-receipt .claim-instruction{font-size:10px!important;line-height:1.7!important;margin-bottom:8px}
 body.participant-home #line-receipt #line-desktop-link{margin-inline:auto;min-height:40px}
 body.participant-home #line-receipt .claim-footnote{font-size:8px!important;margin-top:8px!important}
}
@media(max-height:680px){
 body.participant-home #line-receipt .claim-description{display:none}
 body.participant-home #line-receipt #line-qr{width:130px}
 body.participant-home #line-receipt .claim-copy h2{font-size:19px!important}
}
