/* tpl/tools-palm-reading-8dd0beeb.css — page CSS shared by 1 page(s) of this template.
   Auto-extracted from inline <style> by scripts/refactor_css.py.
   Loaded after components.css; per-page :root{} stays inline. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); font-family: 'DM Sans', sans-serif; color: var(--text); }
.topbar { height: 3px; background: var(--accent); }
nav:not(.v3-nav) { max-width: 960px; margin: 0 auto; padding: 0.7rem 1.5rem; font-size: 0.8rem; color: #A09990; }
nav:not(.v3-nav) a { color: #A09990; text-decoration: none; }
.hero { background: var(--accent-light); padding: 2.5rem 1.5rem 2rem; text-align: center; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,5vw,3rem); font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.hero p { font-size: 0.95rem; color: var(--muted); max-width: 500px; margin: 0 auto; line-height: 1.65; }
.tool-layout {
      max-width: 960px; margin: 2rem auto; padding: 0 1.5rem 3rem;
      display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
    }
@media (max-width: 680px) { .tool-layout { grid-template-columns: 1fr; } }
.hand-panel { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.hand-panel h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; text-align: center; }
.hand-panel p.hint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-bottom: 1rem; }
#hand-svg { width: 100%; max-width: 340px; display: block; margin: 0 auto; cursor: pointer; }
.zone { cursor: pointer; transition: opacity 0.15s; }
.zone:hover { opacity: 0.75; }
.zone.active { opacity: 1 !important; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.reading-panel { position: sticky; top: 1.5rem; }
.reading-card {
      background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem;
      min-height: 300px;
    }
.empty-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 250px; color: var(--muted); text-align: center; gap: 0.75rem; }
.empty-msg .big-icon { font-size: 3rem; }
.empty-msg p { font-size: 0.88rem; line-height: 1.6; max-width: 240px; }
.reading-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.reading-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.reading-title-block .category { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.reading-title-block h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--text); }
.attributes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.attr-chip { background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 20px; }
.reading-section { margin-bottom: 1rem; }
.reading-section h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.reading-section p { font-size: 0.9rem; color: #3D3633; line-height: 1.72; }
.reading-link { display: inline-block; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.reading-link::after { content: " →"; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.reading-card.animate { animation: fadeIn 0.3s ease-out; }
.tool-content { max-width: 760px; margin: 3.5rem auto 1rem; padding: 0 1.5rem; }
.tool-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 600; color: var(--text); margin: 2.5rem 0 0.9rem; }
.tool-content h2:first-child { margin-top: 0; }
.tool-content h3 { font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 1.6rem 0 0.45rem; }
.tool-content p { font-size: 0.95rem; line-height: 1.75; color: var(--text); margin-bottom: 0.95rem; }
.tool-content .tc-lead { font-size: 1.05rem; color: var(--muted); }
.tool-content ul { margin: 0 0 1.1rem 1.15rem; }
.tool-content li { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 0.45rem; }
.tool-content a { color: var(--accent); text-decoration: none; font-weight: 600; }
.tool-content a:hover { text-decoration: underline; }
.faq-item { border-top: 1px solid var(--border); padding: 1.05rem 0; }
.faq-item:last-of-type { border-bottom: 1px solid var(--border); }
.faq-q { font-weight: 600; color: var(--text); font-size: 0.97rem; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.93rem; line-height: 1.7; color: var(--muted); margin: 0; }
.xlinks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; }
.xlinks a { padding: 0.5rem 0.95rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card-bg); font-size: 0.85rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: border-color .15s, transform .15s; }
.xlinks a:hover { border-color: var(--accent); transform: translateY(-1px); }
