/* ============================================================
   RESET & ROOT VARIABLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0b0c11;
  --bg-panel:    rgba(16, 17, 24, 0.88);
  --border:      rgba(255, 182, 0, 0.18);
  --border-h:    rgba(255, 182, 0, 0.45);
  --accent:      #ffb600;
  --accent-dim:  rgba(255, 182, 0, 0.55);
  --accent-glow: rgba(255, 182, 0, 0.15);
  --blue:        #3aafff;
  --text:        #d4c9a8;
  --text-dim:    rgba(212, 201, 168, 0.45);
  --text-bright: #f0e8cc;
  --radius:      12px;
  --shadow:      0 8px 48px rgba(0,0,0,0.7), 0 2px 12px rgba(0,0,0,0.5);
  --font-mono:   'Space Mono', 'Courier New', monospace;
  --font-serif:  'Cinzel', Georgia, serif;

  --wheel-outer-d: 440px;
  --wheel-inner-d: 320px;
}

/* ============================================================
   BACKGROUND
   ============================================================ */
html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,182,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,182,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(11,12,17,0.85) 100%);
}

/* ============================================================
   ROMAN RED BACKGROUND & LAUREL DECOR
   ============================================================ */
.bg-roman-red {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 42% 100% at -2% 50%,  rgba(148, 18, 22, 0.52) 0%, rgba(100, 10, 14, 0.18) 45%, transparent 100%),
    radial-gradient(ellipse 42% 100% at 102% 50%, rgba(148, 18, 22, 0.40) 0%, rgba(100, 10, 14, 0.14) 45%, transparent 100%),
    radial-gradient(ellipse 100% 18% at 50% 0%,   rgba(90,  8,  8,  0.18) 0%, transparent 70%),
    radial-gradient(ellipse 100% 18% at 50% 100%, rgba(90,  8,  8,  0.14) 0%, transparent 70%);
}

.deco-laurel {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 90px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.13;
}

.deco-laurel-left  { left: 0; }
.deco-laurel-right { right: 0; transform: scaleX(-1); }

/* ============================================================
   BUY ME A COFFEE BUTTON
   ============================================================ */
.bmc-btn {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 100;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 20px rgba(255,182,0,0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bmc-btn:hover {
  color: var(--accent);
  border-color: var(--border-h);
  background: var(--accent-glow);
  box-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 28px rgba(255,182,0,0.18);
}

/* ============================================================
   HEADER & FOOTER
   ============================================================ */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 32px 18px;
  letter-spacing: 0.25em;
  font-size: 11px;
  color: var(--accent-dim);
  border-bottom: 1px solid var(--border);
}

.header-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.35em;
  text-shadow: 0 0 18px var(--accent-dim);
}

.header-divider {
  color: var(--accent);
  opacity: 0.5;
}

.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 18px 32px 24px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 201, 168, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 32px 32px;
  min-height: calc(100vh - 120px);
}

/* ============================================================
   FLOATING PANELS
   ============================================================ */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,182,0,0.07);
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,182,0,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.panel:focus-within {
  border-color: var(--border-h);
  box-shadow: var(--shadow), 0 0 32px var(--accent-glow), inset 0 1px 0 rgba(255,182,0,0.12);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-align: center;
}

.panel-icon {
  color: var(--accent-dim);
  font-size: 12px;
}

.panel-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.text-area {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.75;
  padding: 20px;
  caret-color: var(--accent);
}

.text-area::placeholder {
  color: var(--text-dim);
  font-style: italic;
  font-size: 13px;
}

.text-area-output {
  color: var(--accent);
  letter-spacing: 0.06em;
  cursor: default;
  font-size: 15px;
}

.text-area-output::placeholder {
  color: var(--text-dim);
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.char-count {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.mode-badge {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.copy-btn.copied {
  border-color: #3aff8a;
  color: #3aff8a;
  background: rgba(58,255,138,0.07);
}

/* ============================================================
   WHEEL COLUMN
   ============================================================ */
.wheel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
}

.wheel-wrapper {
  position: relative;
  width: var(--wheel-outer-d);
  height: var(--wheel-outer-d);
  filter: drop-shadow(0 0 48px rgba(255,182,0,0.18)) drop-shadow(0 24px 64px rgba(0,0,0,0.85));
}

/* ============================================================
   WHEEL CONTAINER
   ============================================================ */
.wheel-container {
  position: relative;
  width: var(--wheel-outer-d);
  height: var(--wheel-outer-d);
}

.wheel-ring {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---- OUTER RING ---- */
.wheel-outer {
  width: var(--wheel-outer-d);
  height: var(--wheel-outer-d);
  background:
    radial-gradient(ellipse at 35% 28%, rgba(255,220,120,0.18) 0%, transparent 55%),
    conic-gradient(
      from 0deg,
      #2a2115 0deg,
      #3d3220 30deg,
      #2e2618 60deg,
      #4a3d28 90deg,
      #2a2115 120deg,
      #3d3220 150deg,
      #2e2618 180deg,
      #4a3d28 210deg,
      #2a2115 240deg,
      #3d3220 270deg,
      #2e2618 300deg,
      #4a3d28 330deg,
      #2a2115 360deg
    );
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.6),
    inset 0 0 8px rgba(255,210,80,0.12),
    0 0 0 3px rgba(255,182,0,0.35),
    0 0 0 6px rgba(180,130,0,0.15),
    0 0 0 8px rgba(255,182,0,0.08);
}

.ring-texture {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.ring-decorative-outer {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 182, 0, 0.3);
  box-shadow: inset 0 0 0 3px rgba(180,130,0,0.15);
  pointer-events: none;
}

.ring-border-outer {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,182,0,0.25);
  pointer-events: none;
}

.ring-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ---- INNER RING ---- */
.wheel-inner {
  width: var(--wheel-inner-d);
  height: var(--wheel-inner-d);
  background:
    radial-gradient(ellipse at 40% 35%, rgba(255,230,140,0.15) 0%, transparent 60%),
    conic-gradient(
      from 15deg,
      #1e1a10 0deg,
      #302818 40deg,
      #1e1a10 80deg,
      #2a2214 120deg,
      #1e1a10 160deg,
      #302818 200deg,
      #1e1a10 240deg,
      #2a2214 280deg,
      #1e1a10 320deg,
      #302818 360deg
    );
  box-shadow:
    inset 0 0 24px rgba(0,0,0,0.7),
    inset 0 0 6px rgba(255,210,80,0.08),
    0 0 0 2px rgba(200,160,40,0.4),
    0 0 0 5px rgba(100,80,20,0.2);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
}

.ring-texture-inner {
  opacity: 0.5;
}

/* ---- CENTER DECORATION ---- */
.wheel-center-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  text-align: center;
  z-index: 5;
}

.center-initials {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 210, 100, 0.85);
  letter-spacing: 0.18em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 0 12px rgba(255,182,0,0.3);
  line-height: 1;
}

.center-subtitle {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 200, 80, 0.6);
  letter-spacing: 0.18em;
  margin-top: 5px;
}

/* ---- PIN ---- */
.wheel-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  z-index: 10;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #c89820 40%, #6b4f00 100%);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.8),
    0 0 0 2px rgba(255,182,0,0.5),
    0 0 12px rgba(255,182,0,0.3);
}

.pin-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff8d6, #d4a017);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.pin-shine {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 5px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: rotate(-30deg);
}

/* ---- ALIGNMENT MARKER ---- */
.alignment-marker {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
  z-index: 20;
}

/* ============================================================
   CONTROLS
   ============================================================ */
.controls-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 28px 22px;
  width: var(--wheel-outer-d);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mode toggle */
.mode-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 9px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.toggle-btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--border);
}

.toggle-btn:last-child::after { display: none; }

.toggle-btn.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.toggle-btn:hover:not(.active) {
  background: rgba(255,182,0,0.05);
  color: var(--text);
}

/* Slider */
.slider-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.slider-track-wrap {
  position: relative;
  height: 4px;
}

.key-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,182,0,0.1);
  border-radius: 2px;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.key-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #c89820 50%, #7a5f10);
  border: 2px solid rgba(255,182,0,0.6);
  box-shadow: 0 0 8px rgba(255,182,0,0.4), 0 2px 6px rgba(0,0,0,0.6);
  cursor: grab;
  margin-top: -7px;
  transition: box-shadow 0.15s ease;
}

.key-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow: 0 0 16px rgba(255,182,0,0.6), 0 2px 8px rgba(0,0,0,0.7);
}

.key-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #c89820 50%, #7a5f10);
  border: 2px solid rgba(255,182,0,0.6);
  box-shadow: 0 0 8px rgba(255,182,0,0.4);
  cursor: grab;
}

.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #7a5f10, var(--accent));
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
  transition: width 0.1s ease;
}

.key-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.key-value-label {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.key-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent-dim);
  min-width: 52px;
  text-align: right;
  letter-spacing: 0.05em;
  transition: transform 0.15s ease;
}

/* ============================================================
   FLOAT ANIMATIONS
   ============================================================ */
@keyframes floatY {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatYSlow {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow), 0 0 20px var(--accent-glow); }
  50%       { box-shadow: var(--shadow), 0 0 40px rgba(255,182,0,0.22); }
}

.float-anim {
  animation: floatY 6s ease-in-out infinite;
}

.panel-left  { animation-delay: 0s; }
.panel-right { animation-delay: 1.5s; }
.controls-block { animation-delay: 0.8s; }

.float-anim-slow {
  animation: floatYSlow 8s ease-in-out infinite;
  animation-delay: 0.4s;
}

/* ============================================================
   BRUTE FORCE BUTTON
   ============================================================ */
.brute-btn-wrap {
  padding-top: 4px;
  display: none;
}

.brute-btn-wrap.visible {
  display: block;
}

.brute-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(148, 18, 22, 0.45);
  color: rgba(210, 70, 70, 0.85);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  padding: 11px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.brute-btn:hover {
  background: rgba(148, 18, 22, 0.14);
  border-color: rgba(220, 60, 60, 0.7);
  color: rgba(255, 110, 110, 1);
  box-shadow: 0 0 18px rgba(148, 18, 22, 0.22), inset 0 1px 0 rgba(255,80,80,0.08);
}

.brute-btn:active {
  transform: scale(0.98);
}

/* ============================================================
   BRUTE FORCE RESULTS SECTION
   ============================================================ */
.brute-section {
  position: relative;
  z-index: 10;
  max-width: 1300px;
  margin: 0 auto 48px;
  padding: 0 32px;
  animation: fadeSlideUp 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brute-panel {
  background: var(--bg-panel);
  border: 1px solid rgba(148, 18, 22, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 0 40px rgba(148, 18, 22, 0.1);
  overflow: hidden;
}

.brute-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 13px;
  border-bottom: 1px solid rgba(148, 18, 22, 0.2);
  gap: 16px;
}

.brute-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brute-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brute-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(220, 70, 70, 0.9);
}

.brute-hint {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-style: italic;
}

.brute-count {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(210, 70, 70, 0.7);
  background: rgba(148, 18, 22, 0.1);
  border: 1px solid rgba(148, 18, 22, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.brute-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 11px;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  line-height: 1;
}

.brute-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.brute-col-labels {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 20px;
  padding: 7px 20px 6px;
  border-bottom: 1px solid rgba(255,182,0,0.08);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.brute-results {
  max-height: 420px;
  overflow-y: auto;
}

.brute-results::-webkit-scrollbar { width: 4px; }
.brute-results::-webkit-scrollbar-track { background: transparent; }
.brute-results::-webkit-scrollbar-thumb {
  background: rgba(148, 18, 22, 0.3);
  border-radius: 2px;
}

.brute-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 20px;
  padding: 9px 20px;
  border-bottom: 1px solid rgba(255,182,0,0.05);
  cursor: pointer;
  transition: background 0.15s ease;
  align-items: baseline;
}

.brute-row:last-child { border-bottom: none; }

.brute-row:hover {
  background: rgba(255, 182, 0, 0.04);
}

.brute-row.brute-row-active {
  background: rgba(255, 182, 0, 0.07);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.brute-row.brute-row-active .brute-key {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 182, 0, 0.12);
}

.brute-key {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(200, 60, 60, 0.8);
  background: rgba(148, 18, 22, 0.1);
  border: 1px solid rgba(148, 18, 22, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.brute-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  word-break: break-all;
}

.brute-row.brute-row-active .brute-text {
  color: var(--text-bright);
}

/* ============================================================
   KEY VALUE BUMP ANIMATION
   ============================================================ */
@keyframes bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.key-value.bump {
  animation: bump 0.2s ease-out;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root {
    --wheel-outer-d: 360px;
    --wheel-inner-d: 262px;
  }

  .layout {
    gap: 0 16px;
    padding: 24px 16px 24px;
  }

  .panel { height: 480px; }
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px 0;
    padding: 20px 16px;
  }

  .wheel-column {
    order: -1;
  }

  .controls-block {
    width: 100%;
    max-width: var(--wheel-outer-d);
  }

  .panel { height: 260px; }

  .bmc-btn {
    top: auto;
    bottom: 20px;
    right: 16px;
  }
}
