/* Ferramentas novas: raio-x, link, pix copia e cola, conversa e palavra-código */
.fx { display: grid; gap: var(--s-4, 20px); }
.fx-card { padding: 22px 18px; }
.fx-card h2 { font-size: var(--t-lg, 1.3rem); margin: 0 0 8px; }
.fx-tag { display: inline-block; font: 600 .72rem/1 var(--f-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan, #7dd3fc); margin-bottom: 10px; }
.fx textarea, .fx input[type=text], .fx input[type=url] { width: 100%; box-sizing: border-box; background: rgba(2, 6, 23, .55); color: var(--text, #fff); border: 1px solid var(--line-strong, #334); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; }
.fx textarea { min-height: 110px; resize: vertical; }
.fx-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fx-out { margin-top: 16px; display: grid; gap: 10px; }
.fx-item { border-radius: 14px; padding: 12px 14px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line, #223) inset; }
.fx-item b { display: block; margin-bottom: 4px; }
.fx-item.alto { box-shadow: 0 0 0 1px rgba(255, 77, 141, .55) inset, 0 0 24px -10px rgba(255, 77, 141, .8); }
.fx-item.medio { box-shadow: 0 0 0 1px rgba(251, 191, 36, .5) inset, 0 0 24px -12px rgba(251, 191, 36, .7); }
.fx-item.ok { box-shadow: 0 0 0 1px rgba(52, 211, 153, .5) inset, 0 0 24px -12px rgba(52, 211, 153, .7); }
.fx-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .95rem; }
.fx-kv dt { color: var(--text-dim, #aab); } .fx-kv dd { margin: 0; word-break: break-all; font-weight: 600; }
.fx-note { font-size: .86rem; color: var(--text-dim, #aab); }
.fx-drop { display: grid; place-items: center; text-align: center; min-height: 130px; border: 1.5px dashed rgba(152, 16, 250, .55); border-radius: 18px; padding: 16px; cursor: pointer; background: radial-gradient(closest-side, rgba(152, 16, 250, .12), transparent); }
.fx-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fx-stage { position: relative; margin-top: 14px; border-radius: 14px; overflow: hidden; transform: perspective(900px) rotateX(2deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(120, 80, 255, .7); }
.fx-stage img { display: block; width: 100%; height: auto; }
.fx-mark { position: absolute; border-radius: 6px; border: 2px solid; animation: fxPulse 1.8s ease-in-out infinite; pointer-events: none; }
.fx-mark span { position: absolute; left: -2px; top: -22px; font: 700 .68rem/1 var(--f-mono, monospace); padding: 4px 6px; border-radius: 6px; color: #fff; white-space: nowrap; }
.fx-mark.c0 { border-color: #ff4d8d; box-shadow: 0 0 14px #ff4d8d; } .fx-mark.c0 span { background: #ff4d8d; }
.fx-mark.c1 { border-color: #a78bfa; box-shadow: 0 0 14px #a78bfa; } .fx-mark.c1 span { background: #7c3aed; }
.fx-mark.c2 { border-color: #38bdf8; box-shadow: 0 0 14px #38bdf8; } .fx-mark.c2 span { background: #0284c7; }
.fx-mark.c3 { border-color: #fbbf24; box-shadow: 0 0 14px #fbbf24; } .fx-mark.c3 span { background: #b45309; }
@keyframes fxPulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .fx-mark { animation: none; } }
.fx-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fx-bar i { display: block; height: 100%; width: 0; background: var(--grad-brand, linear-gradient(90deg, #ff4d8d, #9810fa, #38bdf8)); transition: width .3s; }
.fx-chat { display: grid; gap: 8px; margin-top: 12px; }
.fx-msg { max-width: 85%; padding: 10px 12px; border-radius: 14px; font-size: .95rem; }
.fx-msg.ele { background: rgba(255, 255, 255, .07); justify-self: start; border-bottom-left-radius: 4px; }
.fx-msg.voce { background: linear-gradient(135deg, rgba(152, 16, 250, .55), rgba(56, 189, 248, .35)); justify-self: end; border-bottom-right-radius: 4px; }
.fx-msg.dica { max-width: 100%; justify-self: stretch; font-size: .88rem; background: rgba(52, 211, 153, .08); box-shadow: 0 0 0 1px rgba(52, 211, 153, .35) inset; }
.fx-msg.dica.ruim { background: rgba(255, 77, 141, .08); box-shadow: 0 0 0 1px rgba(255, 77, 141, .4) inset; }
.fx-opts { display: grid; gap: 8px; margin-top: 10px; }
.fx-opts button { text-align: left; }
.fx-canvas { width: 100%; max-width: 420px; height: auto; display: block; margin: 14px auto 0; border-radius: 18px; box-shadow: 0 0 60px -20px rgba(152, 16, 250, .8); }
.fx-frase { font: 600 clamp(1.4rem, 6vw, 2rem)/1.2 var(--f-display, sans-serif); text-align: center; padding: 18px 10px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-list { margin: 8px 0 0; padding-left: 20px; } .fx-list li { margin: 4px 0; }
.fx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fx-grid a.glass { display: block; padding: 18px; text-decoration: none; color: inherit; transition: transform .2s; }
.fx-grid a.glass:hover { transform: translateY(-3px) perspective(600px) rotateX(3deg); }
.fx-grid a.glass strong { display: block; font-size: 1.05rem; margin: 4px 0; }
.hidden { display: none !important; }
