/* Three matching physical cards share the existing flip animation. */
#v106-match-mode-modal[data-v196-local-only="true"] #v187-select-room-match[hidden]{display:none!important}
#v106-match-mode-modal.v187-has-room .v106-mode-panel{width:min(1030px,96vw)!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-grid{gap:clamp(10px,3vw,34px)!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice{flex:0 0 auto!important;width:min(25vw,230px,calc((var(--v128-app-height,100dvh) - 178px)*.68))!important;height:min(36.75vw,338px,calc(var(--v128-app-height,100dvh) - 178px))!important;min-width:0!important;min-height:0!important;max-height:calc(var(--v128-app-height,100dvh) - 178px)!important}
#v106-match-mode-modal:not([hidden]) .v187-room-card .v120-card-inner{animation:v120DealRight .68s .2s cubic-bezier(.16,.82,.18,1) backwards}
#v106-match-mode-modal .v187-room-card .v120-card-front{isolation:isolate;justify-content:flex-start;gap:0;padding:23px 22px 19px;background:repeating-linear-gradient(135deg,rgba(43,34,18,.026) 0 1px,transparent 1px 5px),linear-gradient(145deg,#f4ecd7,#d9c9a6 68%,#c8b58b);color:#17221f;border-radius:15px;border-color:rgba(147,117,48,.92);box-shadow:0 24px 52px rgba(0,0,0,.82),inset 0 0 0 5px #eadbb5,inset 0 0 0 7px #7b612c}
#v106-match-mode-modal .v187-room-card .v120-card-front::before{inset:10px;z-index:-1;border:1px solid #78622f;border-radius:9px}
#v106-match-mode-modal .v187-room-card .v120-card-corner{top:16px;left:16px;font-size:20px;color:#17221f}
#v106-match-mode-modal .v187-room-card .v120-card-corner.bottom{top:auto;left:auto;right:16px;bottom:16px}
#v106-match-mode-modal .v187-room-pips{display:flex;flex:0 1 52%;min-height:0;flex-direction:column;justify-content:space-evenly;align-items:center;width:100%;margin:0 auto 9px;font:normal clamp(20px,4vw,40px)/1 Georgia,serif}
#v106-match-mode-modal .v187-room-pips i{font-style:normal}
#v106-match-mode-modal .v187-room-pips i:last-child{transform:rotate(180deg)}
#v106-match-mode-modal .v187-room-card .v106-mode-choice-title{font-size:clamp(16px,2.2vw,21px)!important;margin:6px 0 4px!important}
#v106-match-mode-modal .v187-room-card .v106-mode-choice-copy{min-height:2.8em;font-size:8px!important;line-height:1.5!important}
#v106-match-mode-modal .v187-room-card .v106-mode-choice-meta{margin-top:8px!important;padding:6px 8px!important}
@media(max-width:680px){
#v106-match-mode-modal.v187-has-room .v106-mode-choice-grid{gap:8px!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice{width:min(28vw,180px,calc((96vw - 46px)/3))!important;height:min(41.16vw,265px,calc(var(--v128-app-height,100dvh) - 160px))!important}
#v106-match-mode-modal.v187-has-room .v120-card-front{padding:18px 11px 15px!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-title{font-size:clamp(11px,2.7vw,16px)!important;letter-spacing:0!important;white-space:nowrap}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-copy{font-size:7px!important;line-height:1.4!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-meta{font-size:6px!important;letter-spacing:0!important;padding:5px 2px!important;margin-top:5px!important}
#v106-match-mode-modal .v187-room-card .v120-card-corner{top:12px;left:12px;font-size:14px}
#v106-match-mode-modal .v187-room-card .v120-card-corner.bottom{top:auto;left:auto;right:12px;bottom:12px}
}
@media(max-width:420px){
#v106-match-mode-modal.v187-has-room .v120-card-front{padding:16px 9px 13px!important}
#v106-match-mode-modal.v187-has-room .v156-joker-crest{width:65%;margin-bottom:0}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-copy{display:none!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-kicker{font-size:5px!important;letter-spacing:.07em!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-meta{font-size:5.5px!important}
#v106-match-mode-modal .v187-room-pips{font-size:24px;margin-bottom:4px}
}
@media(max-height:500px) and (orientation:landscape){
#v106-match-mode-modal.v187-has-room .v106-mode-choice{width:min(25vw,128px,calc((var(--v128-app-height,100dvh) - 128px)*.68))!important;height:min(36.75vw,188px,calc(var(--v128-app-height,100dvh) - 128px))!important;max-height:calc(var(--v128-app-height,100dvh) - 128px)!important}
#v106-match-mode-modal.v187-has-room .v120-card-front{padding:15px 12px 12px!important}
#v106-match-mode-modal.v187-has-room .v106-mode-choice-copy{display:none!important}
#v106-match-mode-modal .v187-room-pips{font-size:24px;margin-bottom:3px}
}
@media(prefers-reduced-motion:reduce){#v106-match-mode-modal .v187-room-card .v120-card-inner{transition:none!important}}
/* The rulebook shows the same three queue cards as the battle chooser. */
.v156-rulebook-jokers .v156-guide-joker{width:min(27%,135px)}
.v156-rulebook-jokers .v156-guide-joker:nth-child(2){color:#7d1420;transform:none}
.v156-rulebook-jokers .v188-guide-room:last-child{color:#17221f;transform:rotate(4deg)}
.v156-rulebook-jokers .v188-guide-room b{font-size:clamp(24px,4vw,43px)}
