.dnsmap-root { width:100%; box-sizing:border-box; }
.dnsmap-root *, .dnsmap-root *::before, .dnsmap-root *::after { box-sizing:border-box; }
.dnsmap-root ul { list-style:none; padding:0; margin:0; }
.dnsmap-root .dnsmap-grid { display:grid; grid-template-columns:repeat(var(--dnsmap-columns,2),minmax(0,1fr)); gap:18px; align-items:start; }
.dnsmap-root.dnsmap-layout-compact .dnsmap-grid { display:block; column-count:var(--dnsmap-columns,2); column-gap:24px; }
.dnsmap-root .dnsmap-card { display:block; min-width:0; padding:22px 25px; margin:0; background:var(--dnsmap-bg); border:1px solid rgba(128,128,128,.25); border-radius:10px; break-inside:avoid; transition:border-color .2s,box-shadow .2s; }
.dnsmap-root.dnsmap-layout-compact .dnsmap-card { display:inline-block; width:100%; margin:0 0 16px; }
.dnsmap-root .dnsmap-card:hover { border-color:var(--dnsmap-color); box-shadow:0 4px 14px rgba(0,0,0,.06); }
.dnsmap-root .dnsmap-heading { display:block; color:var(--dnsmap-color); font-size:21px; font-weight:700; line-height:1.4; text-decoration:none; overflow-wrap:anywhere; }
.dnsmap-root .dnsmap-branch > .dnsmap-heading { padding-bottom:12px; margin-bottom:12px; border-bottom:2px solid var(--dnsmap-color); }
.dnsmap-root .dnsmap-leaf > a.dnsmap-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.dnsmap-root .dnsmap-leaf > a.dnsmap-heading::after { content:'\2192'; flex-shrink:0; }
.dnsmap-root .dnsmap-subitem { margin:0; padding:0; }
.dnsmap-root .dnsmap-link { display:flex; align-items:baseline; gap:10px; color:var(--dnsmap-text); font-size:16px; font-weight:400; line-height:1.5; padding:9px 0; text-decoration:none; overflow-wrap:anywhere; }
.dnsmap-root .dnsmap-link::before { content:'\203a'; color:var(--dnsmap-color); flex-shrink:0; }
.dnsmap-root .dnsmap-sublist .dnsmap-sublist { padding-inline-start:18px; border-inline-start:1px solid rgba(128,128,128,.25); margin-inline-start:4px; }
.dnsmap-root a:hover { text-decoration:underline; }
.dnsmap-root a:focus-visible { outline:2px solid var(--dnsmap-color); outline-offset:4px; border-radius:2px; }
@media(max-width:1024px) { .dnsmap-root .dnsmap-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .dnsmap-root.dnsmap-layout-compact .dnsmap-grid { column-count:2; } }
@media(max-width:767px) { .dnsmap-root .dnsmap-grid { grid-template-columns:1fr; gap:12px; } .dnsmap-root.dnsmap-layout-compact .dnsmap-grid { column-count:1; } .dnsmap-root .dnsmap-card { padding:18px 20px; } }
@media(prefers-reduced-motion:reduce) { .dnsmap-root .dnsmap-card { transition:none; } }
@media(min-width:768px) and (max-width:1024px) { .dnsmap-root[style*="--dnsmap-columns:1;"] .dnsmap-grid { grid-template-columns:1fr; } .dnsmap-root.dnsmap-layout-compact[style*="--dnsmap-columns:1;"] .dnsmap-grid { column-count:1; } }
