
.restriction-alert{border:1px solid #d29a4566;border-left:3px solid #efc477;background:#d29a4510;color:#f0d6ab;padding:12px 14px;border-radius:7px;font-size:12px;line-height:1.55;text-align:left}.restriction-alert strong{font-size:12px}.restriction-alert ul{padding-left:18px;margin:7px 0}.restriction-alert p{font-size:11px!important;color:inherit!important;margin:6px 0!important}.restriction-alert small{display:block;font-size:10px;color:#bac7d4}.restriction-alert a{color:#efc477}.restriction-badge{display:inline-block;font-size:10px;font-weight:650;color:#ffdaa0;background:#201708d9;border:1px solid #b97c35;border-radius:4px;padding:3px 7px;margin-top:8px}.selected-restrictions{margin-bottom:20px}.selected-restrictions:empty{display:none}.decklist-restrictions{padding:0 12px 10px}.decklist-restrictions:empty{display:none}#builder-restrictions{margin-bottom:12px}#builder-restrictions:empty{display:none}

/* In the builder, keep the warning as compact as a card row. */
#builder-restrictions .restriction-compact{padding:0;border:1px solid #da646855;border-radius:4px;background:#351b2b;color:#ffb3b3;font-size:11px;overflow:hidden}
.restriction-compact>summary{display:flex;align-items:center;gap:8px;min-height:34px;list-style:none;cursor:pointer;font-weight:750;user-select:none}
.restriction-compact>summary::-webkit-details-marker{display:none}.restriction-compact>summary:hover{background:#ed6c7614}.restriction-compact>summary:focus-visible{outline:2px solid #ffb3b3;outline-offset:-3px}
.restriction-row-icon{align-self:stretch;min-width:29px;display:grid;place-items:center;background:#9d3946;color:#fff0ed;font-size:15px}.restriction-row-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restriction-row-count{font-size:10px;padding:1px 5px;border:1px solid #ffb3b340;border-radius:3px}.restriction-row-chevron{font-size:16px;line-height:1;margin:0 10px 0 1px;transition:transform .15s}.restriction-compact[open] .restriction-row-chevron{transform:rotate(180deg)}
.restriction-row-details{padding:12px;border-top:1px solid #da646833;max-height:210px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.restriction-row-details>strong{display:none}.restriction-row-details ul{margin-top:0}.restriction-row-details a{color:#ffcbcb;text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){.restriction-compact>summary{min-height:42px}.restriction-row-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.restriction-row-chevron{transition:none}}
