/* link-box.css — the "put this on your site" box in the results step (T-PALINKBOX.1).
   Built from polyatic.css tokens only, so light and dark follow the site theme. */
.lb-box{margin:.75rem 0 0;border:1px solid var(--line);border-radius:.5rem;background:var(--surface-2)}
.lb-box>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem;min-height:2.75rem;padding:.5rem .75rem;font-size:.875rem;font-weight:600;color:var(--ink)}
.lb-box>summary::-webkit-details-marker{display:none}
.lb-box>summary::before{content:"+";font-family:var(--mono);font-weight:600;color:var(--accent);width:.75rem;flex:none}
.lb-box[open]>summary::before{content:"\2212"}
.lb-box>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:.5rem}
.lb-body{padding:0 .75rem .75rem}
.lb-label{display:block;font-size:.8125rem;color:var(--muted);margin:0 0 .25rem}
.lb-code{display:block;width:100%;box-sizing:border-box;resize:vertical;font-family:var(--mono);font-size:.8125rem;line-height:1.4;padding:.5rem;border:1px solid var(--line-2);border-radius:.375rem;background:var(--surface);color:var(--ink);overflow-wrap:anywhere}
.lb-code:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.lb-row{display:flex;gap:.5rem;margin:.5rem 0 0}
.lb-note{font-size:.8125rem;color:var(--muted);margin:.5rem 0 0}
/* T-PALINKBOX.2: the elf and village result steps sit on a dark "mat" whose ghost buttons are light-on-dark; inside the
   box the site's own ghost button look comes back, and the snippet box is sized to its three wrapped lines, not to the
   site's 8.75rem textarea minimum. */
.lb-box .lb-row .btn.ghost.lb-copy{background:var(--surface);color:var(--ink);border:1px solid var(--line-2)}
.lb-box .lb-row .btn.ghost.lb-copy:hover{border-color:var(--ink)}
.lb-box .lb-code{min-height:6.25rem}
