/* Source results: contract → declarer → opening lead → result → table identities. */
.nb-spelres{color:var(--ul-tekst,#1A1D26);min-width:0}
.nb-spelres summary{min-height:44px;cursor:pointer;padding:10px 8px;line-height:1.4;overflow-wrap:anywhere}
.nb-spelres summary:focus-visible,.nb-sr-link:focus-visible{outline:3px solid var(--ul-oranje,#C4501B);outline-offset:2px;border-radius:6px}
.nb-spelres summary::marker{color:var(--ul-gedempt,#5C6472)}
.nb-sr-help,.nb-sr-empty{color:var(--ul-gedempt,#5C6472);font-size:14px;line-height:1.5;margin:0 0 10px}
.nb-sr-contract{border:1px solid var(--ul-rand,#E4DFD5);border-radius:12px;margin-top:8px;background:var(--ul-kaart,#fff)}
.nb-sr-contract>summary{padding:12px;font-size:17px}
.nb-sr-contract-name{font-weight:700}
.nb-sr-distribution{display:block;clear:both;margin:5px 0 0 17px;font-size:13px;font-weight:400;line-height:1.5;color:var(--ul-tekst,#1A1D26);font-variant-numeric:tabular-nums}
.nb-sr-score-distribution{color:var(--ul-gedempt,#5C6472);margin-top:2px}
.nb-sr-double{font-size:.8em;margin-left:2px}
.nb-sr-count{float:right;color:var(--ul-gedempt,#5C6472);font-size:13px;font-weight:400;margin-left:10px;white-space:nowrap}
.nb-sr-direction{margin:0 8px;border-top:1px solid var(--ul-rand2,#EFEBE3)}
.nb-sr-direction>summary{font-size:15px;font-weight:600}
.nb-sr-leads{padding:0 4px 8px}
.nb-sr-lead+.nb-sr-lead{margin-top:12px}
.nb-sr-lead-name{font-size:14px;font-weight:600;margin:2px 8px 4px;color:var(--ul-gedempt,#5C6472)}
.nb-sr-card{display:inline-flex;align-items:baseline;gap:2px;color:var(--ul-tekst,#1A1D26);font-weight:700;margin-left:3px;white-space:nowrap}
.nb-sr-results,.nb-sr-tables{list-style:none;padding:0;margin:0}
.nb-sr-result{border-radius:8px;background:var(--ul-creme,#F6F3EC);margin:4px 0}
.nb-sr-result>summary{font-size:14px}
.nb-sr-result-value{font-weight:700;margin-right:12px}
.nb-sr-score{font-variant-numeric:tabular-nums;white-space:nowrap}
.nb-sr-tables{padding:0 10px 8px}
.nb-sr-table{padding:8px 0;border-top:1px solid var(--ul-rand,#E4DFD5)}
.nb-sr-table-name{margin:0 0 4px;font-size:13px;font-weight:700;overflow-wrap:anywhere}
.nb-sr-side{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;align-items:start}
.nb-sr-side-label{font-size:12px;color:var(--ul-gedempt,#5C6472);padding-top:13px}
.nb-sr-identity{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.nb-sr-link{border:0;background:none;color:var(--ul-oranje-tekst,#a8451a);padding:8px 0;min-height:44px;font:inherit;font-size:14px;font-weight:600;text-align:left;text-decoration:underline;cursor:pointer;overflow-wrap:anywhere;max-width:100%}
.nb-sr-team{display:block;font-size:13px;color:var(--ul-gedempt,#5C6472);overflow-wrap:anywhere}
button.nb-sr-team{color:var(--ul-oranje-tekst,#a8451a);padding-top:4px;padding-bottom:4px}
.nb-sr-muted{display:block;color:var(--ul-gedempt,#5C6472);font-size:14px;padding:12px 0;overflow-wrap:anywhere}
.nb-sr-auction{margin-top:6px;min-width:0}
.nb-sr-auction>summary{font-size:14px;font-weight:600}
.nb-sr-auction .ul-raster{margin:6px 0;max-width:100%}
.nb-sr-auction-text{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:430px){.nb-sr-result>summary{padding-left:6px;padding-right:6px}.nb-sr-result .nb-sr-count{float:none;display:block;margin:2px 0 0 16px}.nb-sr-direction{margin-left:4px;margin-right:4px}.nb-sr-score{font-size:13px}}

/* Keep native disclosure semantics; the chevron and newly opened branch give
   a small response without animating height or moving the summary itself. */
.nb-spelres summary{position:relative;list-style:none;padding-inline-start:30px;transition:background-color .18s ease,color .18s ease}
.nb-spelres summary::-webkit-details-marker{display:none}
.nb-spelres summary::before{content:"";position:absolute;inset-inline-start:12px;top:1.15em;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);color:var(--ul-gedempt,#5C6472)}
.nb-spelres details[open]>summary::before{transform:rotate(45deg);color:var(--ul-oranje-tekst,#a8451a)}
.nb-spelres:dir(rtl) summary::before{transform:rotate(135deg)}
.nb-spelres:dir(rtl) details[open]>summary::before{transform:rotate(45deg)}
.nb-spelres details[open]>summary{background:color-mix(in srgb,var(--ul-oranje,#C4501B) 5%,transparent);border-radius:8px}
.nb-sr-link{transition:color .18s ease,text-decoration-color .18s ease}
@media(hover:hover) and (pointer:fine){
  .nb-spelres summary:hover{background:color-mix(in srgb,var(--ul-oranje,#C4501B) 8%,transparent);border-radius:8px}
  .nb-sr-link:hover{text-decoration-thickness:2px;text-underline-offset:3px}
}
@media(prefers-reduced-motion:no-preference){
  .nb-spelres summary::before{transition:transform .2s cubic-bezier(.2,.8,.3,1),color .18s ease}
  .nb-spelres details[open]>:not(summary){animation:nb-sr-unfold .22s ease-out}
}
@keyframes nb-sr-unfold{from{opacity:.55;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .nb-spelres *,.nb-spelres *::before,.nb-spelres *::after{animation:none!important;transition:none!important}
}
