main.tags-page{grid-template-columns:minmax(0,1fr)}.tags-board{align-content:start;gap:8px;min-width:0;max-width:100%;display:grid}.tags-board>*{min-width:0}.tags-controls{flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;display:flex}.tags-board .tags-controls .seg>a{height:36px;min-height:0;padding:0 12px}.tags-controls .seg>a>.thumb,.tags-controls .seg>a{align-items:center;padding:0 12px;display:inline-flex}.tags-board .tags-controls .seg>a[aria-current=true]{background:0 0;padding:0}.tags-controls .seg>a[aria-current=true]>.thumb{background:var(--ink);height:36px;color:var(--bg);border-radius:5px}.tags-board .ui-chip-rail{background:0 0;flex-wrap:wrap;min-width:0;height:auto;min-height:32px;padding:0;position:static;overflow:visible}.tags-field{width:260px;max-width:100%;height:44px}.tags-board .ui-card-board{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.tag-card.ui-card{gap:4px;min-height:0;padding:8px;scroll-margin-top:16px}.tag-card.anchored{box-shadow:inset 0 0 0 2px var(--base)}.tag-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;min-width:0;min-height:0;display:flex}.tag-head h3{font:700 17px/24px var(--sans);color:var(--ui-chalk);flex:1;min-width:0;margin:0}.tag-meta{flex-wrap:wrap;flex:none;gap:4px;display:inline-flex}.tag-meta .ui-tag{pointer-events:none;background:var(--ui-graphite-2);color:var(--ui-chalk-2)}.tag-ruleline{justify-content:space-between;align-items:center;gap:12px;min-width:0;height:40px;display:flex}.tag-rule{font:400 15px/20px var(--sans);color:var(--ui-chalk);min-width:0;margin:0}.tag-rule b{margin:0 3px;font-weight:600}.tag-card.zero .tag-ruleline{height:20px}.tag-players{align-items:center;gap:8px;min-width:0;height:24px;display:flex;overflow:hidden}.tag-player{background:var(--ui-graphite-2);height:24px;color:var(--ui-chalk);font:600 13px/24px var(--sans);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:6px;padding:0 8px 0 0;text-decoration:none;display:inline-flex}.tag-player img,.tag-player .ini{border-radius:6px 0 0 6px;width:24px;height:24px;transition:none!important;animation:none!important}.tag-player:hover{background:var(--ui-ink)}.tag-more{font:600 13px/24px var(--sans);color:var(--ui-chalk-2);flex:none}.tag-more.narrow{display:none}.tags-empty.ui-card{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;height:72px;min-height:0;padding:0 12px}.tags-empty p{font:400 15px/20px var(--sans);color:var(--ui-chalk);margin:0}.tags-note{height:32px;font:400 13px/16px var(--sans);color:var(--dim);align-items:center;margin:0;display:flex}.tag-chips{align-items:center;gap:4px;display:inline-flex}dialog.tag-guide.ui-dialog{width:900px;max-width:calc(100vw - 32px);max-height:min(760px,90vh)}.tag-guide .ui-dialog-body{display:block}.tags-board.compact .ui-card-board{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:1099px){.tags-board .ui-card-board,.tags-board.compact .ui-card-board{grid-template-columns:minmax(0,1fr)}}@media (max-width:639px){.tags-controls{flex-flow:column;align-items:stretch;gap:8px}.tags-controls .seg{display:flex}.tags-controls .seg>a{flex:1;justify-content:center;height:38px}.tags-board .ui-chip-rail{scrollbar-width:none;flex-wrap:nowrap;align-items:center;width:100%;height:44px;min-height:44px;padding:4px 0;overflow-x:auto}.tags-field{width:100%}.tag-card.ui-card>*{flex:none}.tag-head,.tag-meta{flex-wrap:nowrap}.tag-player img,.tag-player .ini{display:none}.tag-player{padding:0 6px}.tag-player:nth-of-type(3),.tag-more.wide{display:none}.tag-more.narrow{display:inline}.tag-head h3{font:700 17px/24px var(--sans)}.tag-card.zero .tag-ruleline{height:auto}.tag-rule{font-size:13px;line-height:16px}.tag-ruleline{height:auto;min-height:0}dialog.tag-guide.ui-dialog.ui-dark{border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0}}.tags-board .ui-card-board>:last-child{grid-column:auto}.tags-board .ui-card-board>:last-child:nth-child(odd){grid-column:1/-1}.tags-idle{gap:8px;display:grid}.tags-idle>summary{cursor:pointer;min-height:44px;color:var(--ink2);align-items:center;gap:8px;font-size:15px;font-weight:600;display:flex}.tags-idle-n{color:var(--ink);font-weight:700}.tag-rule .tag-val{color:var(--ink);font-weight:600}.tag-floor-inline{color:var(--ui-dim)}.tag-head h3 .tag-open{color:inherit;align-items:center;gap:6px;text-decoration:none;display:inline-flex}.tag-head h3 .tag-open:after{content:"";background:var(--ui-chalk-2);flex:none;width:14px;height:14px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/14px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/14px no-repeat}.tag-head h3 .tag-open:hover{text-underline-offset:3px;text-decoration:underline}.tag-head h3 .tag-open:hover:after{background:var(--ui-chalk)}.tag-meta .ui-tag-count{color:var(--ui-chalk-2)}.tags-board:not(.compact) .ui-card-board{grid-template-columns:minmax(0,1fr);gap:4px}.tags-board:not(.compact) .tag-card.ui-card{grid-template-columns:96px minmax(0,1fr) auto;grid-template-areas:"count head players""count rule players";align-items:center;gap:2px 20px;padding:10px 16px;display:grid}.tags-board:not(.compact) .tag-count{grid-area:count;grid-template-columns:auto 1fr;align-items:baseline;gap:6px;display:grid}.tag-count b{font:700 24px/28px var(--sans);color:var(--ui-chalk);font-variant-numeric:tabular-nums}.tag-count-l{color:var(--ui-chalk-2);font-size:13px;line-height:16px}.tag-count-bar{background:var(--ui-graphite-2);border-radius:2px;grid-column:1/-1;height:4px;display:block;overflow:hidden}.tag-count-bar>i{background:var(--ui-chalk-2);border-radius:2px;height:100%;display:block}.tags-board:not(.compact) .tag-card .tag-head{grid-area:head}.tags-board:not(.compact) .tag-card .tag-meta{display:none}.tags-board:not(.compact) .tag-card .tag-ruleline{grid-area:rule;height:auto}.tags-board:not(.compact) .tag-rule{color:var(--ui-chalk-2)}.tags-board:not(.compact) .tag-rule b{color:var(--ui-chalk)}.tags-board:not(.compact) .tag-card .tag-players{grid-area:players;justify-content:flex-end}.tags-board:not(.compact) .tag-card.zero{grid-template-areas:"count head players""count rule players"}.tags-board:not(.compact) .tag-card.zero .tag-count b{color:var(--ui-chalk-2)}@media (max-width:899px){.tags-board:not(.compact) .tag-count{grid-template-columns:minmax(0,1fr)}.tags-board:not(.compact) .tag-count .tag-count-l{display:none}.tags-board:not(.compact) .tag-card.ui-card{grid-template-columns:56px minmax(0,1fr);grid-template-areas:"count head""count rule""count players";column-gap:12px}.tags-board:not(.compact) .tag-card .tag-players{justify-content:flex-start}}@media (max-width:639px){.tags-board:not(.compact) .tag-card.ui-card{grid-template-columns:40px minmax(0,1fr);gap:2px 10px;padding:8px 10px}.tags-board:not(.compact) .tag-count{grid-template-columns:minmax(0,1fr)}.tags-board:not(.compact) .tag-count .tag-count-l{display:none}.tag-count b{font-size:20px;line-height:24px}}
