@media(orientation:landscape)and (max-height:480px){html.rp-sideways body.in-game{--lm-row:calc(46dvh - env(safe-area-inset-bottom,0px));--lm-cw:calc((var(--lm-row) - 55px - max(6px,env(safe-area-inset-bottom,0px))) * .75);--lm-hand:calc(var(--lm-cw) * 3 + 32px);--lm-l:env(safe-area-inset-left,0px);--lm-r:env(safe-area-inset-right,0px)}html.rp-sideways body.in-game #about{display:none}html.rp-sideways body.in-game main{padding:0}html.rp-sideways body.in-game .match-window{width:100%;max-width:none;height:100%;margin:0;padding-inline:var(--lm-l) var(--lm-r);border:0;border-radius:0;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);overflow:hidden}html.rp-sideways body.in-game .match-window>.arena-toolbar{grid-column:1;grid-row:1;padding:2px 8px;border-bottom:0;gap:10px}html.rp-sideways body.in-game .match-window>.duel-banner{grid-column:2;grid-row:1}html.rp-sideways body.in-game .match-window>.canvas-wrap{grid-column:1/-1;grid-row:2;min-width:0}html.rp-sideways body.in-game .arena-logo{height:24px}html.rp-sideways body.in-game .arena-brand small{display:none}html.rp-sideways body.in-game .tb-btn{min-height:40px!important;width:40px;height:40px}html.rp-sideways body.in-game .match-window .duel-banner{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:0 10px;padding:3px 10px;background:linear-gradient(90deg,#1c3f57,#14202a 50%,#4c2a27)}html.rp-sideways body.in-game .duel-banner:before,html.rp-sideways body.in-game .duel-divider,html.rp-sideways body.in-game .duel-rank,html.rp-sideways body.in-game .duel-side{display:none}html.rp-sideways body.in-game .duel-friendly{grid-column:1;grid-row:1}html.rp-sideways body.in-game .duel-enemy{grid-column:3;grid-row:1}html.rp-sideways body.in-game .duel-banner .winbar{grid-column:2;grid-row:1;width:100%;row-gap:2px;padding-top:0}html.rp-sideways body.in-game .duel-avatar{width:34px;height:40px;font-size:18px}html.rp-sideways body.in-game .duel-commander{gap:8px}html.rp-sideways body.in-game .duel-name{font-size:13px;max-width:none}html.rp-sideways body.in-game .duel-hearts{font-size:12px;letter-spacing:2px;margin-top:1px}html.rp-sideways body.in-game .duel-status{margin-top:0}html.rp-sideways body.in-game .wb-track{height:14px}html.rp-sideways body.in-game .wb-round{height:14px;min-width:28px;font-size:10px}html.rp-sideways body.in-game .wb-side b,html.rp-sideways body.in-game .wb-crest{display:none}html.rp-sideways body.in-game .wb-pct{font-size:15px}html.rp-sideways body.in-game .duel-report,html.rp-sideways body.in-game .duel-avatar-button{position:relative}html.rp-sideways body.in-game .duel-enemy .duel-mode{position:absolute;top:1px;right:calc(100% + 14px);margin:0;transform:none}@media(max-width:759px){html.rp-sideways body.in-game .duel-enemy .duel-mode{display:none}}html.rp-sideways body.in-game .arena-dock.draft-dock{position:fixed;left:50%;right:auto;top:auto;bottom:var(--pbar-h,0px);transform:translateX(-50%);z-index:3;width:var(--lm-hand);height:var(--lm-row);max-height:none;box-sizing:border-box;padding:6px 8px max(6px,env(safe-area-inset-bottom,0px));border-radius:10px 10px 0 0;border-width:1px 1px 0;border-color:#d4b475aa;background:linear-gradient(180deg,rgba(var(--tl-0b1316),.85),rgba(var(--tl-0b1316),.95));overflow:hidden}html.rp-sideways body.in-game .draft-dock .draft-panel{height:100%;display:flex;justify-content:center}html.rp-sideways body.in-game .draft-dock .draft-cards,html.rp-sideways body.in-game .draft-dock .draft-cards.two,html.rp-sideways body.in-game .draft-dock .draft-cards.one{display:flex;width:auto;height:100%;margin:0;gap:8px;justify-content:center;align-items:stretch}html.rp-sideways body.in-game .draft-dock .ucard-pick{flex:0 0 var(--lm-cw);width:var(--lm-cw);height:100%;min-width:0;position:relative;overflow:hidden;display:block}html.rp-sideways body.in-game .draft-dock .ucard-face{position:absolute;left:0;bottom:44px;width:100%}html.rp-sideways body.in-game .draft-dock .ucard-more{display:none}html.rp-sideways body.in-game .draft-dock .ucard-pick>.card-action{position:absolute;z-index:7;left:4%;right:4%;bottom:2px;margin:0;min-height:40px;padding:2px;font-size:13px;white-space:normal;line-height:1.1}html.rp-sideways body.in-game .status-stack{top:6px;bottom:auto}html.rp-sideways body.in-game .arena-status{bottom:auto;top:calc(var(--row,0) * var(--row-h))}html.rp-sideways body.in-game .pick-flips{display:none}html.rp-sideways .coach:is([data-dock=top],[data-dock=bottom]) .coach-card{left:calc(var(--lm-l) + 6px)!important;top:auto!important;bottom:calc(max(4px,env(safe-area-inset-bottom,0px)) + 4px + var(--pbar-h,0px));width:calc(50% - var(--lm-hand) / 2 - var(--lm-l) - 14px);max-width:none;max-height:calc(var(--lm-row) - 8px);overflow:hidden;padding:6px 8px;gap:3px}html.rp-sideways .coach:is([data-dock=top],[data-dock=bottom]) .mica-row{flex-direction:column;align-items:flex-start;gap:4px}html.rp-sideways .coach:is([data-dock=top],[data-dock=bottom]) .mica-face{width:34px;height:34px}html.rp-sideways .coach:is([data-dock=top],[data-dock=bottom]) .coach-body{min-height:0;font-size:12px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}html.rp-sideways .coach:is([data-dock=top],[data-dock=bottom]) .mica-chip{font-size:10px;padding:0 6px}html.rp-sideways body.in-game .deck-screen.deck-draft{width:100%;max-width:none;height:100%;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;padding:0 max(10px,var(--lm-r)) max(2px,env(safe-area-inset-bottom,0px)) max(10px,var(--lm-l))}html.rp-sideways body.in-game .deck-screen .session-head{flex:none;padding:2px 0}html.rp-sideways body.in-game .deck-screen .session-head .eyebrow{display:none}html.rp-sideways body.in-game .deck-screen .session-head h2{font-size:17px;margin:0}html.rp-sideways body.in-game .deck-screen .tb-btn{min-height:40px!important;width:40px;height:40px}html.rp-sideways body.in-game .deck-draft-status{flex:none;margin-bottom:4px;padding:3px 10px;font-size:11px}html.rp-sideways body.in-game .deck-offers{flex:1 1 0;min-height:0;container-type:size;display:flex;justify-content:center;gap:8px}html.rp-sideways body.in-game .deck-offers .deck-wait{align-self:center}html.rp-sideways body.in-game .deck-offer{--cw:min(calc((100cqw - 24px) / 4),calc((100cqh - 48px) * .75));flex:0 0 var(--cw);width:var(--cw);height:100%;min-width:0}html.rp-sideways body.in-game .deck-offer .ucard-pick{position:relative;width:100%;max-width:none;height:100%;margin:0;overflow:hidden;display:block}html.rp-sideways body.in-game .deck-offer .ucard-face{position:absolute;left:0;bottom:44px;width:100%}html.rp-sideways body.in-game .deck-offer .ucard-more{display:none}html.rp-sideways body.in-game .deck-offer .ucard-pick>.card-action{position:absolute;z-index:7;left:4%;right:4%;bottom:2px;margin:0;min-height:40px;padding:2px;font-size:13px}html.rp-sideways body.in-game .deck-offer .ucard-pick>.card-action::after{inset:-4px 0}html.rp-sideways body.in-game .deck-lanes{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:4px 0 0;padding:0}html.rp-sideways body.in-game .deck-lane{padding:2px 6px}html.rp-sideways body.in-game .lane-label{margin-bottom:2px;font-size:10px}html.rp-sideways body.in-game .lane-label small{font-size:10px}html.rp-sideways body.in-game .lane-slots{grid-template-columns:repeat(5,34px);gap:4px;justify-content:center}html.rp-sideways body.in-game .deck-lane .ucard-seal,html.rp-sideways body.in-game .deck-lane .ucard-banner{display:none}html.rp-sideways body.in-game .deck-note{display:none}html.rp-sideways body.in-game:has(.coach.shown:is([data-dock=top],[data-dock=bottom])) .deck-screen.deck-draft{padding-left:calc(50% - var(--lm-hand) / 2 + 4px)}html.rp-sideways body.in-game .arena-logo,html.rp-sideways body.in-game .arena-brand{display:none!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b{--did-m:56px;--bandh:64px;--nb:13px;--did-key:40px;--gut:0px;--did-heart:13px;--did-bar:12px;height:64px;min-height:0;box-sizing:border-box;grid-template-columns:var(--did-m) minmax(max-content,1fr) minmax(40px,1.4fr) minmax(max-content,1fr) var(--did-m)!important;grid-template-rows:repeat(3,auto)!important;align-content:center;column-gap:8px!important;row-gap:1px!important;padding:3px 8px!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b::before{left:calc(8px + var(--did-m)*.5);right:calc(8px + var(--did-m)*.5);top:2px;bottom:2px}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .did-zoom{display:contents!important;--did-m:inherit!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-window{grid-row:1/4!important;margin:0!important;align-self:center}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-window{grid-column:1!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-enemy .duel-window{grid-column:5!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-name,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-rank,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-hearts{top:0!important;margin:0!important;justify-self:start}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-name{grid-row:1!important;overflow:visible;max-width:none!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-rank{grid-row:2!important;--idn-rh:18px;--idn-tt:10px}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-hearts{grid-row:3!important;justify-content:flex-start}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-name,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-rank,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-hearts{grid-column:2!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-enemy .duel-name,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-enemy .duel-rank,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-enemy .duel-hearts{grid-column:4!important;justify-self:end;justify-content:flex-end}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-rank .idn-title,html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-enemy .duel-rank .idn-title{margin-left:0;margin-right:0}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .winbar{position:relative!important;grid-column:3!important;grid-row:1/4!important;align-self:center;left:auto!important;right:auto!important;top:auto!important;width:auto!important;margin:0!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-emote-badge{bottom:0!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-friendly .duel-hearts{padding-inline-start:calc(var(--did-m)*.26 + 2px)}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .wb-mark[data-lead=you],html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .wb-mark[data-lead=even]{transform:translateX(max(calc(var(--share,.5)*100cqw),calc(50cqw + var(--did-key)/2 + 5px + var(--did-bar)*.92 + 1px))) rotate(45deg)!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .wb-mark[data-lead=foe]{transform:translateX(min(calc(var(--share,.5)*100cqw),calc(50cqw - var(--did-key)/2 - 5px - var(--did-bar)*.92 - 1px))) rotate(45deg)!important}html.rp-sideways body.in-game .match-window .duel-banner.did.did-b.did-b.did-b.did-b.did-b .duel-divider{left:50%!important;top:50%!important;width:var(--did-key)!important;height:var(--did-key)!important;z-index:5}}
