#game.rows-duel>.hud,#game.rows-duel>.personal-best,#game.rows-duel>.field-challenges,#game.rows-duel>.control-row,#game.rows-duel>.game-bottom>span,#game.rows-duel #help-button,#game.rows-duel #map-button{display:none!important}
#game.rows-duel .stage{height:540px;min-height:360px}
#game.rows-duel:not([data-screen="playing"]) .stage{height:auto;min-height:540px}
#game.rows-duel:not([data-screen="playing"]) .overlay{position:relative;min-height:540px;inset:auto}
#game.rows-duel:not([data-screen="playing"]) .stage>canvas{position:absolute;inset:0}
#game.rows-duel .rows-duel-panel{max-width:820px;max-height:none}
.rows-duel-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}
.rows-duel-fields .choice{min-height:68px}
.rows-duel-fields .choice strong{line-height:1.4}
.rows-duel-rules{display:flex;justify-content:center;gap:18px;margin:18px 0;font-size:10px;color:#687c55}
.rows-duel-rules b{display:block;font-size:23px;color:#345a40;margin-bottom:5px}
.rows-duel-panel .button-row{margin-top:20px}
.rows-duel-countdown h2{font-size:110px;margin:0;color:#557b47}
.rows-duel-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.rows-duel-result{border:1px solid #c9d7b5;background:#e4ebd7;border-radius:10px;padding:18px 10px}
.rows-duel-result:nth-child(2){border-color:#e2c69c;background:#f0e3ce}
.rows-duel-result.winner{box-shadow:inset 0 0 0 2px #9c9e56}
.rows-duel-result h3{margin:0 0 15px;font-size:14px}
.rows-duel-result>strong{display:block;font-size:29px}
.rows-duel-result>span{display:block;font-size:8px;letter-spacing:1px;margin:6px 0 15px}
.rows-duel-result>p{font-size:11px;line-height:1.8;margin:0}
body[data-display-mode="arcade"][data-arcade-game="perfect-rows"] #game.rows-duel{display:flex!important;flex-direction:column}
body[data-display-mode="arcade"][data-arcade-game="perfect-rows"] #game.rows-duel>.stage{flex:1 1 0!important;height:auto!important;min-height:0!important;overflow:hidden}
body[data-display-mode="arcade"][data-arcade-game="perfect-rows"] #game.rows-duel>.stage>.overlay{position:absolute;inset:0;min-height:0;max-height:100%;overflow:auto}
body[data-display-mode="arcade"][data-arcade-game="perfect-rows"] #game.rows-duel .rows-duel-panel{max-height:100%;overflow:auto}
@media(max-width:580px){#game.rows-duel[data-screen="playing"] .stage{height:650px;min-height:520px}#game.rows-duel:not([data-screen="playing"]) .stage,#game.rows-duel:not([data-screen="playing"]) .overlay{min-height:480px}.rows-duel-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.rows-duel-rules{gap:12px;font-size:9px}.rows-duel-rules b{font-size:20px}.rows-duel-result>strong{font-size:23px}.rows-duel-result>span{font-size:7px}.rows-duel-result>p{font-size:10px}}
@media(max-height:540px) and (min-width:600px){#game.rows-duel[data-screen="playing"]{display:block}#game.rows-duel[data-screen="playing"] .stage{height:calc(100svh - 120px);min-height:260px}}
