/* Layout only. The original colors, typography and visual styles stay in style.css. */
.result-group{
 display:grid;
 grid-template-columns:286px minmax(160px,1fr) minmax(160px,1fr);
 gap:10px;
 width:calc(100% - 10px);
 max-width:726px;
 align-items:stretch;
}
.result-group>.result-board,
.result-group>.head-tail{
 width:100%;
 min-width:0;
 min-height:370px;
 height:100%;
}
.result-group>.head-tail td{
 white-space:normal;
 overflow-wrap:anywhere;
}
.result-group:has(>.result-board:only-child){
 grid-template-columns:286px;
}
.result-group:has(>.result-board:only-child)>.result-board{
 min-height:0;
 height:auto;
}
@media(max-width:660px){
 .result-group{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
 }
 .result-group>.result-board{grid-column:1/-1}
 .result-group:has(>.result-board:only-child){grid-template-columns:minmax(0,1fr)}
}
@media print{
 .result-group{
  grid-template-columns:286px minmax(0,1fr) minmax(0,1fr);
  width:726px;
  max-width:100%;
 }
 .result-group>.result-board{grid-column:auto}
}

/* Policy pages and footer use the original site's fonts and colors. */
.legal-links{display:flex;flex-wrap:wrap;gap:8px 18px;line-height:1.6;margin:4px 0 18px}
.legal-links a[aria-current=page]{font-weight:bold}
.policy-document{max-width:900px}
.policy-document h1{margin-top:8px}
.policy-document h2{margin-top:24px;scroll-margin-top:15px}
.policy-document p,.policy-document li{overflow-wrap:anywhere}
.policy-contents{margin:18px 0;padding:12px 16px;border:1px solid #bfd2eb;background:#f0f5fd}
.policy-contents ol{margin:8px 0 0;padding-left:20px}
.policy-contents li{margin:0 0 5px}
.policy-contact{margin-top:25px;padding-top:12px;border-top:1px solid #ddd}
.operator-details{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px 16px}
.operator-details dt{font-weight:bold}
.operator-details dd{margin:0;overflow-wrap:anywhere}
.legal-footer{height:auto;min-height:78px;padding:12px 10px}
.legal-footer .footer-brand-name,.legal-footer .footer-operator{text-align:center;line-height:1.7}
.legal-footer .legal-links{justify-content:center;gap:5px 16px;margin:8px 0}
.legal-footer .footer-operator{font-size:11px}
.legal-footer p{margin:9px 0 0}
.support-form{max-width:650px;margin:20px 0}
.support-form p>label:not(.support-consent){display:block;margin-bottom:5px}
.support-form input:not([type=checkbox]),.support-form select,.support-form textarea{width:100%}
.support-form textarea{resize:vertical}
.support-form .support-consent{line-height:1.7}
.support-form .support-consent input{margin-right:5px}
.support-body{white-space:pre-wrap;overflow-wrap:anywhere;max-width:550px;line-height:1.6}
.support-admin-table{min-width:650px}
.support-admin-table td{vertical-align:top}
.support-admin-table select{max-width:140px}
@media(min-width:700px){.policy-contents ol{columns:2;column-gap:32px}}
@media(max-width:540px){
 .legal-links{gap:7px 12px}
 .operator-details{grid-template-columns:1fr;gap:4px}
 .operator-details dd{margin-bottom:8px}
 .policy-contents{padding:10px 12px}
 .legal-footer .legal-links{gap:6px 12px}
 .support-form input[type=email],.support-form input[type=text],.support-form textarea{font-size:16px}
}
