.seo-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:20px; align-items:start;}
.sx-serp{background:linear-gradient(160deg,#f7f6ff,#fdf6fa); border:1px solid var(--line); border-radius:14px; padding:14px;}
.sx-list{position:relative; height:calc(5 * 74px); list-style:none; margin-top:10px;}
.sx-list li{position:absolute; left:0; right:0; top:0; height:68px; background:#fff; border:1px solid var(--line); border-radius:11px; padding:9px 12px; transition:transform .55s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; overflow:hidden;}
.sx-list .r-t{font-size:14px; font-weight:600; color:#4f46e5; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-right:110px;}
.sx-list .r-d{font-size:12px; color:var(--muted); margin-top:3px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.sx-list li.mine{z-index:2; border-color:#d7d3f7;}
.sx-list .t-after{display:none;}
.sx-list[data-ph="after"] .t-before{display:none;}
.sx-list[data-ph="after"] .t-after{display:inline; animation:fadeIn .5s ease;}
.sx-list[data-ph="after"] li.mine{border-color:transparent; background:linear-gradient(#fff,#fff) padding-box, var(--accent-gradient) border-box; border:1px solid transparent; box-shadow:0 12px 28px -12px rgba(99,102,241,.5);}
@keyframes fadeIn{from{opacity:0;} to{opacity:1;}}
.rank-chip{position:absolute; top:8px; right:10px; font-size:10.5px; font-weight:700; padding:3px 9px; border-radius:999px; background:#fde8e8; color:#b91c1c; transition:background .3s ease, color .3s ease;}
.rank-chip.good{background:#dcfce7; color:#15803d;}
.bars12{display:flex; align-items:flex-end; gap:5px; height:74px; margin:14px 0 4px; padding:0 2px; border-bottom:1px solid var(--line);}
.bars12 i{flex:1; display:block; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#a855f7,#6366f1); min-height:4px;}
.fixlist{list-style:none; margin-top:10px; display:grid; gap:6px;}
.fixlist li{display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--ivory); transition:color .3s ease;}
.fixlist li i{width:18px; height:18px; border-radius:50%; flex-shrink:0; background:#fde8e8; position:relative; transition:background .3s ease;}
.fixlist li i::after{content:'!'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; color:#b91c1c; font-style:normal;}
.fixlist li.fixed{color:var(--muted); text-decoration:line-through; text-decoration-color:#9ca3af;}
.fixlist li.fixed i{background:#dcfce7;}
.fixlist li.fixed i::after{content:'\2713'; color:#15803d;}
.sx-ctrl{display:flex; align-items:center; gap:18px; margin-top:18px; flex-wrap:wrap;}
.sx-range{flex:1; min-width:200px;}
.chart-wrap{margin-top:16px;}
#gChart{width:100%; height:auto; display:block;}
.legend{display:flex; gap:18px; flex-wrap:wrap; font-size:12px; color:var(--muted); margin-top:6px;}
.legend i{display:inline-block; width:18px; height:3px; border-radius:3px; margin-right:6px; vertical-align:middle;}
.legend .l1{background:var(--accent-gradient);}
.legend .l2{background:repeating-linear-gradient(90deg,#b9b5c9 0 5px,transparent 5px 9px);}

/* Journey */
.jr-nav{display:grid; grid-template-columns:repeat(6,1fr); gap:8px;}
.jr-btn{display:flex; align-items:center; gap:8px; justify-content:center; font-family:'Inter',sans-serif; font-size:13px; font-weight:600; padding:10px 8px; border-radius:12px; cursor:pointer; background:var(--forest); border:1px solid transparent; color:var(--muted); transition:all .2s ease;}
.jr-btn span{width:22px; height:22px; border-radius:7px; background:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-family:'Space Grotesk',sans-serif; font-weight:700;}
.jr-btn:hover{color:var(--ivory);}
.jr-btn.on{background:linear-gradient(#fff,#fff) padding-box, var(--accent-gradient) border-box; border:1px solid transparent; color:var(--ivory); box-shadow:0 10px 24px -14px rgba(99,102,241,.5);}
.jr-btn.on span{background:var(--accent-gradient); color:#fff;}
.jr-body{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:16px; align-items:center;}
.jr-text h3{font-size:22px; letter-spacing:-.02em; margin-bottom:8px;}
.jr-text p{color:var(--muted); font-size:14.5px; line-height:1.6; margin-bottom:12px;}
.jr-viz{position:relative; min-height:220px; background:linear-gradient(160deg,#f7f6ff,#fdf6fa); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.vz{position:absolute; inset:0; display:none; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:16px;}
.jr-viz[data-s="0"] .v0, .jr-viz[data-s="1"] .v1, .jr-viz[data-s="2"] .v2, .jr-viz[data-s="3"] .v3, .jr-viz[data-s="4"] .v4, .jr-viz[data-s="5"] .v5{display:flex;}
.vz-cap{font-size:12px; font-weight:600; color:var(--muted);}
/* v0 audit */
.v0 .pg{width:58%; background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px; display:grid; gap:7px; position:relative;}
.v0 .pg i{height:8px; border-radius:4px; background:#e3e0ec; display:block;} .v0 .pg i:nth-child(2){width:80%;} .v0 .pg i:nth-child(3){width:60%;} .v0 .pg i:nth-child(4){width:90%;} .v0 .pg i:nth-child(5){width:45%;}
.v0 .scan{position:absolute; left:21%; width:58%; height:3px; top:34px; background:linear-gradient(90deg,transparent,#a855f7,transparent); box-shadow:0 0 14px 3px rgba(168,85,247,.5); opacity:0;}
.v0 .dots u{position:absolute; width:14px; height:14px; border-radius:50%; background:#ef4444; box-shadow:0 0 0 4px rgba(239,68,68,.2); transform:scale(0);}
.v0 .dots u:nth-child(1){left:31%; top:46px;} .v0 .dots u:nth-child(2){left:62%; top:66px;} .v0 .dots u:nth-child(3){left:40%; top:92px;} .v0 .dots u:nth-child(4){left:55%; top:114px;}
.jr-viz.play .v0 .scan{animation:scanY 1.8s ease-in-out forwards;}
.jr-viz.play .v0 .dots u{animation:pop .3s ease forwards;}
.jr-viz.play .v0 .dots u:nth-child(1){animation-delay:.35s;} .jr-viz.play .v0 .dots u:nth-child(2){animation-delay:.7s;} .jr-viz.play .v0 .dots u:nth-child(3){animation-delay:1.1s;} .jr-viz.play .v0 .dots u:nth-child(4){animation-delay:1.45s;}
@keyframes scanY{0%{opacity:1; transform:translateY(0);} 90%{opacity:1;} 100%{opacity:0; transform:translateY(100px);}}
@keyframes pop{to{transform:scale(1);}}
/* v1 technical */
.v1 .gauge{width:70%; height:14px; border-radius:999px; background:#e7e4f3; overflow:hidden;}
.v1 .gfill{height:100%; width:18%; border-radius:999px; background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);}
.jr-viz.play .v1 .gfill{animation:fillG 1.8s cubic-bezier(.16,1,.3,1) forwards;}
@keyframes fillG{to{width:96%;}}
.ticks{list-style:none; display:flex; gap:12px; flex-wrap:wrap; justify-content:center;}
.ticks li{font-size:12px; font-weight:600; padding:5px 11px; border-radius:999px; background:#fff; border:1px solid var(--line); color:var(--muted); opacity:.4;}
.ticks li::before{content:'\2713 '; color:#22c55e; font-weight:800;}
.jr-viz.play .ticks li{animation:lit .4s ease forwards;}
.jr-viz.play .ticks li:nth-child(1){animation-delay:.6s;} .jr-viz.play .ticks li:nth-child(2){animation-delay:1.1s;} .jr-viz.play .ticks li:nth-child(3){animation-delay:1.6s;}
@keyframes lit{to{opacity:1; color:var(--ivory);}}
/* v2 keywords */
.kwc{width:86%; display:grid; gap:8px;}
.kwc span{font-size:12.5px; font-weight:600; padding:8px 12px; border-radius:10px; background:#fff; border:1px solid var(--line); background-image:linear-gradient(90deg,rgba(99,102,241,.22),rgba(236,72,153,.22)); background-repeat:no-repeat; background-size:0 100%; opacity:0;}
.jr-viz.play .kwc span{animation:kw .9s ease forwards;}
.jr-viz.play .kwc span:nth-child(2){animation-delay:.25s;} .jr-viz.play .kwc span:nth-child(3){animation-delay:.5s;} .jr-viz.play .kwc span:nth-child(4){animation-delay:.75s;}
@keyframes kw{from{opacity:0; background-size:0 100%;} 30%{opacity:1;} to{opacity:1; background-size:var(--w) 100%;}}
/* v3 on-page */
.ttl{background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px 14px; width:88%; font-size:13px;}
.ttl s{display:block; color:#9ca3af;}
.ttl b{display:block; color:#4f46e5; max-width:0; overflow:hidden; white-space:nowrap; margin-top:4px;}
.jr-viz.play .ttl b{animation:typeW 1.8s steps(34) .4s forwards;}
@keyframes typeW{to{max-width:100%;}}
.lnk{display:flex; gap:8px; width:88%;}
.lnk i{flex:1; height:6px; border-radius:3px; background:var(--accent-gradient); transform:scaleX(0); transform-origin:left;}
.jr-viz.play .lnk i{animation:grow .7s ease forwards;}
.jr-viz.play .lnk i:nth-child(2){animation-delay:.4s;} .jr-viz.play .lnk i:nth-child(3){animation-delay:.8s;}
@keyframes grow{to{transform:scaleX(1);}}
/* v4 local */
.map{width:82%; height:120px; border-radius:12px; position:relative; background:linear-gradient(#e9e7f5 1px,transparent 1px) 0 0/26px 26px, linear-gradient(90deg,#e9e7f5 1px,transparent 1px) 0 0/26px 26px, #fff; border:1px solid var(--line); overflow:hidden;}
.pin{position:absolute; left:50%; top:46%; width:18px; height:18px; margin-left:-9px; border-radius:50% 50% 50% 0; background:var(--accent-gradient); transform:rotate(-45deg) translateY(-90px); opacity:0;}
.jr-viz.play .pin{animation:drop .7s cubic-bezier(.34,1.56,.64,1) .2s forwards;}
@keyframes drop{to{transform:rotate(-45deg) translateY(0); opacity:1;}}
.pulse{position:absolute; left:50%; top:58%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; border:2px solid #a855f7; opacity:0;}
.jr-viz.play .pulse{animation:pulseR 1.8s ease-out 1s infinite;} .jr-viz.play .pulse.p2{animation-delay:1.7s;}
@keyframes pulseR{0%{transform:scale(.5); opacity:.9;} 100%{transform:scale(5); opacity:0;}}
.mapcard{background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 14px; font-size:13px; font-weight:600; transform:translateY(10px); opacity:0;}
.mapcard small{display:block; font-weight:500; color:var(--muted); font-size:11.5px;}
.jr-viz.play .mapcard{animation:fadeUp .5s ease 1s forwards;}
@keyframes fadeUp{to{opacity:1; transform:none;}}
/* v5 reporting */
.rb{display:flex; align-items:flex-end; gap:12px; height:120px; width:70%; border-bottom:1px solid var(--line);}
.rb u{flex:1; border-radius:6px 6px 0 0; background:linear-gradient(180deg,#ec4899,#6366f1); height:0; display:block;}
.jr-viz.play .rb u{animation:bar .9s cubic-bezier(.16,1,.3,1) forwards;}
.jr-viz.play .rb u:nth-child(2){animation-delay:.12s;} .jr-viz.play .rb u:nth-child(3){animation-delay:.24s;} .jr-viz.play .rb u:nth-child(4){animation-delay:.36s;} .jr-viz.play .rb u:nth-child(5){animation-delay:.48s;}
@keyframes bar{to{height:var(--h);}}
@media (max-width:860px){
  .seo-grid, .jr-body{grid-template-columns:1fr;}
  .jr-nav{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:480px){ .jr-btn{font-size:12px; padding:9px 4px;} .rank-chip{position:static; display:inline-block; margin-top:4px;} .sx-list .r-t{padding-right:0;} }
@media (prefers-reduced-motion:reduce){
  .jr-viz .v0 .dots u{transform:scale(1);} .jr-viz .v1 .gfill{width:96%;} .jr-viz .ticks li{opacity:1;} .jr-viz .kwc span{opacity:1; background-size:var(--w) 100%;} .jr-viz .ttl b{max-width:100%;} .jr-viz .lnk i{transform:none;} .jr-viz .pin{transform:rotate(-45deg); opacity:1;} .jr-viz .mapcard{opacity:1; transform:none;} .jr-viz .rb u{height:var(--h);}
}
