/* Build 964: authoritative move explanations and animated area previews. */
#pokedex-detail .dex-move-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:12px!important;padding-bottom:26px!important;overflow:visible!important}
#pokedex-detail .dex-move-card{--move-tone:#80b8bd;position:relative!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;min-height:270px!important;padding:13px!important;border:1px solid #315760!important;border-radius:12px!important;background:radial-gradient(circle at 12% 0,color-mix(in srgb,var(--move-tone) 15%,transparent),transparent 34%),linear-gradient(150deg,#0b232a,#07171e)!important;box-shadow:inset 0 0 0 1px #ffffff05,0 8px 20px #0003!important;overflow:visible!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;outline:0!important}
#pokedex-detail .dex-move-card.type-fire{--move-tone:#ff7354}#pokedex-detail .dex-move-card.type-water{--move-tone:#54b7ff}#pokedex-detail .dex-move-card.type-electric{--move-tone:#ffe168}#pokedex-detail .dex-move-card.type-grass{--move-tone:#65dfa0}#pokedex-detail .dex-move-card.type-ice{--move-tone:#8ce9f1}#pokedex-detail .dex-move-card.type-fighting{--move-tone:#e48962}#pokedex-detail .dex-move-card.type-poison{--move-tone:#cd79e9}#pokedex-detail .dex-move-card.type-ground{--move-tone:#d6a65f}#pokedex-detail .dex-move-card.type-flying{--move-tone:#91c7ef}#pokedex-detail .dex-move-card.type-psychic{--move-tone:#ef76b6}#pokedex-detail .dex-move-card.type-bug{--move-tone:#a8d766}#pokedex-detail .dex-move-card.type-rock{--move-tone:#c7ae6d}#pokedex-detail .dex-move-card.type-ghost{--move-tone:#9c83dc}#pokedex-detail .dex-move-card.type-dragon{--move-tone:#8c8cf2}#pokedex-detail .dex-move-card.type-dark{--move-tone:#8791a0}#pokedex-detail .dex-move-card.type-steel{--move-tone:#91bac5}#pokedex-detail .dex-move-card.type-fairy{--move-tone:#f5a6d6}
#pokedex-detail .dex-move-card:hover,#pokedex-detail .dex-move-card:focus-within,#pokedex-detail .dex-move-card.previewing{z-index:3;border-color:var(--move-tone)!important;box-shadow:inset 0 0 0 1px #ffffff0c,0 12px 26px #0008,0 0 18px color-mix(in srgb,var(--move-tone) 22%,transparent)!important;transform:translateY(-2px)!important}
#pokedex-detail .dex-move-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:0 0 9px!important;border:0!important;border-bottom:1px solid #2d4b51!important;background:none!important}
#pokedex-detail .dex-move-title{display:flex;align-items:center;gap:9px;min-width:0}
#pokedex-detail .dex-move-icon{flex:none;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--move-tone) 52%,#26444c);border-radius:8px;background:#06151b;image-rendering:pixelated;box-shadow:inset 0 0 12px color-mix(in srgb,var(--move-tone) 15%,transparent)}
#pokedex-detail .dex-move-title>span{display:grid;gap:3px;min-width:0}
#pokedex-detail .dex-move-title b{overflow:hidden;color:#f4faf7;font:900 12px/1 Arial;text-overflow:ellipsis;white-space:nowrap}
#pokedex-detail .dex-move-title small{color:var(--move-tone);font:900 7px/1 Arial;letter-spacing:.1em;text-transform:uppercase}
#pokedex-detail .dex-move-card>header>i{flex:none;padding:5px 7px;border:1px solid color-mix(in srgb,var(--move-tone) 52%,#2b4b51);border-radius:999px;background:color-mix(in srgb,var(--move-tone) 10%,#07171e);color:var(--move-tone);font:900 6px/1 Arial;font-style:normal;letter-spacing:.11em}
#pokedex-detail .dex-move-card>p{min-height:36px;margin:0!important;color:#b8cbc9!important;font-size:9px!important;line-height:1.45!important}
#pokedex-detail .dex-move-negative{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:8px 9px;border:1px solid color-mix(in srgb,var(--move-tone) 45%,#29434a);border-radius:8px;background:color-mix(in srgb,var(--move-tone) 9%,#06151b)}
#pokedex-detail .dex-move-negative>b{padding:5px 7px;border-radius:5px;background:var(--move-tone);color:#071217;font:900 7px/1 Arial;letter-spacing:.07em}
#pokedex-detail .dex-move-negative>span{color:#acc1bf;font-size:7px;line-height:1.35}
#pokedex-detail .dex-move-negative.none{border-color:#2a464d;background:#081a20}
#pokedex-detail .dex-move-negative.none>b{background:#233b42;color:#93aaa8}
#pokedex-detail .dex-move-negative.none>span{color:#718e8d}
#pokedex-detail .dex-move-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0!important}
#pokedex-detail .dex-move-facts>span{display:grid!important;align-content:start!important;gap:4px!important;min-height:43px!important;padding:7px!important;border:1px solid #28454c!important;border-radius:7px!important;background:#06171d!important;color:inherit!important}
#pokedex-detail .dex-move-facts small{color:#688c8c;font:900 6px/1 Arial;letter-spacing:.08em}
#pokedex-detail .dex-move-facts b{color:#dbe8e5;font:800 8px/1.25 Arial}
#pokedex-detail .dex-move-hover-hint{display:block;margin-top:auto;color:var(--move-tone);font:900 6px/1 Arial;letter-spacing:.12em;text-align:center;opacity:.75}
#pokedex-detail .dex-move-preview{position:fixed!important;left:var(--dex-preview-left,50%)!important;top:var(--dex-preview-top,50%)!important;width:var(--dex-preview-width,440px)!important;z-index:91050!important;display:grid!important;grid-template-rows:auto 178px auto!important;overflow:hidden!important;border:1px solid var(--move-tone)!important;border-radius:13px!important;background:#06151b!important;box-shadow:0 22px 70px #000d,0 0 28px color-mix(in srgb,var(--move-tone) 25%,transparent),inset 0 0 0 1px #fff1!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(7px) scale(.98)!important;transform-origin:top left!important;transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important}
#pokedex-detail .dex-move-card.previewing>.dex-move-preview{opacity:1!important;visibility:visible!important;transform:translateY(0) scale(1)!important}
#pokedex-detail .dex-move-preview>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #294950!important;background:linear-gradient(90deg,color-mix(in srgb,var(--move-tone) 12%,#0a2027),#07171d)!important}
#pokedex-detail .dex-move-preview>header span{display:grid;gap:3px;min-width:0}
#pokedex-detail .dex-move-preview>header small{color:var(--move-tone);font:900 6px/1 Arial;letter-spacing:.14em}
#pokedex-detail .dex-move-preview>header b{color:#f5faf7;font:900 12px/1 Arial}
#pokedex-detail .dex-move-preview>header i{max-width:55%;color:#9bb5b3;font:800 7px/1.25 Arial;font-style:normal;text-align:right}
#pokedex-detail .dex-move-preview-canvas{display:block!important;width:100%!important;height:178px!important;background:#06151b;image-rendering:pixelated}
#pokedex-detail .dex-move-preview>footer{display:block!important;margin:0!important;padding:9px 12px!important;border:0!important;border-top:1px solid #294950!important;background:#071a20!important}
#pokedex-detail .dex-move-preview>footer span{display:grid;gap:3px}
#pokedex-detail .dex-move-preview>footer b{color:var(--move-tone);font:900 7px/1 Arial;letter-spacing:.08em}
#pokedex-detail .dex-move-preview>footer small{color:#7e9c9a;font-size:7px;line-height:1.35}
@media(max-width:1120px){#pokedex-detail .dex-move-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){#pokedex-detail .dex-move-grid{grid-template-columns:1fr!important}#pokedex-detail .dex-move-card{min-height:0!important}#pokedex-detail .dex-move-preview{left:12px!important;right:12px!important;width:auto!important;top:max(10px,var(--dex-preview-top,80px))!important}#pokedex-detail .dex-move-hover-hint{font-size:7px}}
@media(hover:none){#pokedex-detail .dex-move-hover-hint:after{content:" OU TOQUE"}}
@media(prefers-reduced-motion:reduce){#pokedex-detail .dex-move-card,#pokedex-detail .dex-move-preview{transition:none!important}}
