/* Card tools share one row on wide displays; the collection gets its own row on narrow ones. */
#screen-lobby .tile-row{grid-template-columns:repeat(3,minmax(0,1fr))}
#screen-lobby .tile-row>button{min-width:0}
body.worlds-ui #screen-lobby .tile-row .tile-sm{gap:10px;font-size:20px}
body.worlds-ui #screen-lobby .tile-row .tile-sm:nth-child(2) .tile-icon:before{content:'';position:absolute;inset:3px 0;border:2px solid currentColor;border-radius:3px 3px 5px 5px;background:linear-gradient(90deg,transparent 46%,currentColor 47%,currentColor 53%,transparent 54%)}
/* Recent matches: clock face with an open arc and rewind arrowhead (history). */
body.worlds-ui #screen-lobby .tile-row .tile-sm:nth-child(3) .tile-icon:before{content:'';position:absolute;left:2px;top:4px;width:24px;height:24px;box-sizing:border-box;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;transform:rotate(-20deg)}
body.worlds-ui #screen-lobby .tile-row .tile-sm:nth-child(3) .tile-icon:after{content:'';position:absolute;left:13px;top:10px;width:6px;height:7px;border-left:2px solid currentColor;border-bottom:2px solid currentColor}
body.worlds-ui #screen-lobby .tile-row .tile-sm:nth-child(3) .tile-icon>i{position:absolute;left:0;top:8px;width:0;height:0;border:4px solid transparent;border-top:6px solid currentColor;border-bottom:0}
body.worlds-ui #screen-lobby .tile-row .tile-alt-art .tile-icon:before{content:'✦';position:static;border:0;background:none;box-shadow:none;font-size:30px;line-height:32px;display:block}
@media(max-width:1199px){#screen-lobby .tile-row{grid-template-columns:repeat(2,minmax(0,1fr))}#screen-lobby .tile-alt-art{grid-column:1/-1;aspect-ratio:auto;min-height:76px;flex-direction:row}body.worlds-ui #screen-lobby .tile-row .tile-sm{font-size:18px}}

#collection-tool{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f5f1e7}#collection-tool[open]{display:flex;flex-direction:column}#collection-tool iframe{width:100%;flex:1;min-height:0;border:0}#collection-tool::backdrop{background:#183344}
