/* * PokeRogue Type Effectiveness - Overlay Styles * Dark theme matching PokeRogue's aesthetic */ .poke-ext-overlay { position: fixed; z-index: 999999; min-width: 240px; max-width: 360px; background: rgba(18, 18, 28, 0.94); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 13px; color: #e0e0e0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; transition: opacity 0.2s ease; user-select: none; } /* ─── Header ──────────────────────────────────────────────────── */ .poke-ext-header { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); cursor: grab; } .poke-ext-header:active { cursor: grabbing; } .poke-ext-title { font-size: 12px; font-weight: 600; color: #fff; letter-spacing: 0.3px; flex: 1; } .poke-ext-badge { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; } .poke-ext-minimize { background: none; border: none; color: #888; font-size: 16px; cursor: pointer; padding: 0 4px; line-height: 1; border-radius: 4px; transition: all 0.15s; } .poke-ext-minimize:hover { color: #fff; background: rgba(255, 255, 255, 0.1); } /* ─── Body ────────────────────────────────────────────────────── */ .poke-ext-body { padding: 8px 10px; } .poke-ext-section { margin-bottom: 8px; } .poke-ext-section:last-child { margin-bottom: 0; } .poke-ext-section-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: #777; margin-bottom: 4px; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } /* ─── Waiting State ───────────────────────────────────────────── */ .poke-ext-waiting { text-align: center; padding: 16px 12px; } .poke-ext-status-icon { font-size: 24px; margin-bottom: 6px; } .poke-ext-status-text { font-size: 12px; color: #aaa; margin-bottom: 4px; } .poke-ext-hint { font-size: 11px; color: #666; font-style: italic; } /* ─── Enemy Pokemon ───────────────────────────────────────────── */ .poke-ext-enemy { display: flex; align-items: center; gap: 6px; padding: 4px 0; } .poke-ext-pokemon-name { font-weight: 600; color: #fff; font-size: 13px; } .poke-ext-types { display: flex; gap: 4px; } /* ─── Type Badges ─────────────────────────────────────────────── */ .poke-ext-type-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); white-space: nowrap; } .poke-ext-type-small { padding: 1px 5px; font-size: 10px; border-radius: 3px; } /* ─── Moves List ──────────────────────────────────────────────── */ .poke-ext-moves { display: flex; flex-direction: column; gap: 4px; } .poke-ext-move { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; background: rgba(255, 255, 255, 0.03); border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.15s; } .poke-ext-move:hover { background: rgba(255, 255, 255, 0.06); } .poke-ext-move-status { opacity: 0.6; } .poke-ext-move-info { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; } .poke-ext-move-type { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); white-space: nowrap; flex-shrink: 0; } .poke-ext-move-name { font-size: 12px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .poke-ext-move-cat { font-size: 12px; flex-shrink: 0; } .poke-ext-move-power { font-size: 11px; color: #999; flex-shrink: 0; } .poke-ext-move-power::before { content: 'PWR '; font-size: 9px; color: #666; } .poke-ext-move-pp { font-size: 10px; color: #777; flex-shrink: 0; } .poke-ext-move-pp::before { content: 'PP '; font-size: 9px; color: #555; } .poke-ext-no-moves { font-size: 11px; color: #666; font-style: italic; padding: 4px 0; } /* ─── Effectiveness Display ───────────────────────────────────── */ .poke-ext-move-eff { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; } .poke-ext-eff { display: flex; align-items: center; gap: 4px; } .poke-ext-eff-mult { font-weight: 700; font-size: 14px; min-width: 28px; text-align: right; } .poke-ext-eff-target { font-size: 9px; color: #888; } .poke-ext-eff-status { font-size: 11px; color: #666; font-style: italic; } /* Effectiveness classes for extra styling */ .poke-ext-immune .poke-ext-eff-mult { text-decoration: line-through; opacity: 0.5; } .poke-ext-ultra .poke-ext-eff-mult { text-shadow: 0 0 8px rgba(82, 194, 0, 0.5); } .poke-ext-super .poke-ext-eff-mult { text-shadow: 0 0 6px rgba(74, 165, 0, 0.3); } /* ─── Manual Mode ─────────────────────────────────────────────── */ .poke-ext-manual-grid { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; } .poke-ext-manual-type { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; cursor: pointer; border: 1px solid; background: transparent; transition: all 0.15s; font-family: inherit; } .poke-ext-manual-type:hover { opacity: 0.8; transform: scale(1.05); } .poke-ext-manual-type.selected { box-shadow: 0 0 6px rgba(255, 255, 255, 0.3); } .poke-ext-manual-group { margin-top: 6px; } .poke-ext-manual-label { font-size: 11px; font-weight: 600; margin-bottom: 3px; } .poke-ext-manual-label.ultra { color: #52C200; } .poke-ext-manual-label.super { color: #4AA500; } .poke-ext-manual-label.neutral { color: #CCCCCC; } .poke-ext-manual-label.resist { color: #FE8E00; } .poke-ext-manual-label.double-resist { color: #FF7400; } .poke-ext-manual-label.immune { color: #929292; } .poke-ext-manual-types { display: flex; flex-wrap: wrap; gap: 3px; } /* ─── Scrollbar ───────────────────────────────────────────────── */ .poke-ext-body::-webkit-scrollbar { width: 4px; } .poke-ext-body::-webkit-scrollbar-track { background: transparent; } .poke-ext-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 2px; } .poke-ext-body { max-height: 70vh; overflow-y: auto; }