/* Screenshots are part of the page; opening a card only enlarges its image. */
.pillars.tool-showcase { display:block; }
.tool-library.pillar { padding:32px; }
.tool-library.pillar:hover { transform:none; box-shadow:none; border-color:var(--line); }
.tool-library h3 { font-size:clamp(25px,3vw,32px); }
.tool-preview-hint { margin:8px 0 24px!important; color:#c6bacf; line-height:1.5; }
.tool-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; list-style:none; padding:0; margin:24px 0 8px; }
.tool-gallery > li { min-width:0; display:flex; }
.tool-card { display:flex; flex-direction:column; width:100%; min-width:0; overflow:hidden; border:1px solid #4e3d59; border-radius:12px; background:#1c1523; text-decoration:none; color:inherit; transition:border-color .18s ease,box-shadow .18s ease; }
.tool-card:hover { border-color:#b99c64; box-shadow:0 8px 24px #0003; }
.tool-preview-link:focus-visible { outline:3px solid #e7cf95; outline-offset:4px; }
.tool-card-media { display:flex; align-items:center; position:relative; flex:1; min-height:230px; padding:14px 14px 42px; background:#0c0a10; }
.tool-image-stage { position:relative; display:block; width:100%; }
.tool-card-image { display:block; width:100%; height:auto; border-radius:5px; }
.tool-card-enlarge { position:absolute; right:15px; bottom:13px; color:#e7cf95; font:500 12px/1.3 var(--sans); }
.tool-card-enlarge > span { margin-left:5px; }
.tool-card-copy { display:block; padding:20px 22px 23px; border-top:1px solid #4e3d5966; }
.tool-card-copy > strong { display:block; color:#e7cf95; font:600 20px/1.3 var(--sans); margin-bottom:8px; }
.tool-card-copy > span { display:block; color:#ddd2e4; font:400 15px/1.6 var(--sans); }
.tool-language-summary { margin-top:24px; }
.tool-language-summary p { max-width:75ch; }
.tool-image-stage img.voice-microphone { position:absolute; left:50%; top:50.7%; transform:translate(-50%,-50%); width:auto; height:13%; max-height:none; aspect-ratio:96/140; background:none; border:0; border-radius:0; pointer-events:none; }
.tool-image-dialog { box-sizing:border-box; width:min(1600px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:18px; color:#f7f0fa; background:#151019; border:1px solid #57415e; border-radius:14px; box-shadow:0 30px 100px #000b; }
.tool-image-dialog::backdrop { background:#08050de8; }
.tool-dialog-header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.tool-dialog-header h2 { margin:0; color:#e7cf95; font:600 22px/1.3 system-ui,sans-serif; }
.tool-dialog-close { flex:none; padding:10px 14px; border:1px solid #6e5977; border-radius:8px; color:#f8f1fc; background:#2c2033; font:14px/1.4 system-ui,sans-serif; cursor:pointer; }
.tool-dialog-close:focus-visible { outline:2px solid #e7cf95; outline-offset:3px; }
.tool-image-dialog img { display:block; width:100%; height:auto; max-height:calc(100dvh - 180px); object-fit:contain; background:#09070c; border-radius:7px; }
.tool-image-dialog p { margin:12px 0 0; color:#c9bfce; font:14px/1.5 system-ui,sans-serif; }
@media(max-width:680px) {
  .tool-library.pillar { padding:24px 16px; }
  .tool-gallery { grid-template-columns:minmax(0,1fr); gap:20px; }
  .tool-card-media { min-height:0; padding:10px 10px 38px; }
  .tool-card-copy { padding:18px; }
  .tool-image-dialog { padding:12px; width:calc(100vw - 16px); max-height:calc(100dvh - 16px); }
  .tool-dialog-header h2 { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) { .tool-card { transition:none; } }
