.ff-main { padding-bottom: 8px; }
.ff-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .ff-hero { grid-template-columns: 1fr; } }
.ff-kicker { color: #0284c7; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 6px 0 4px; }
.ff-title { font-size: 44px; line-height: 1.05; margin: 0 0 12px; color: #232048; }
.ff-title span { color: #0284c7; }
.ff-rule { font-size: 19px; line-height: 1.45; color: #33305a; margin: 0 0 10px; }
.ff-note { color: #5d5980; line-height: 1.5; margin: 0; }
.ff-console { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 16px; padding: 16px; }
.ff-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #4c4a8a; font-size: 15px; }
.ff-stats strong { color: #232048; }
.ff-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; width: 100%; max-width: 360px; margin: 0 auto 12px; }
.ff-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 6px; border: 2px solid rgba(0, 0, 0, .12); font-size: 20px; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.ff-cell-0 { background: #f59e0b; }
.ff-cell-1 { background: #0ea5e9; }
.ff-cell-2 { background: #22c55e; }
.ff-cell-3 { background: #ec4899; }
.ff-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.ff-color { min-height: 48px; border-radius: 12px; border: 3px solid rgba(0, 0, 0, .15); cursor: pointer; font: inherit; color: #16132e; font-weight: 700; }
.ff-color:disabled { opacity: .45; cursor: default; }
.ff-color-0 { background: #f59e0b; }
.ff-color-1 { background: #0ea5e9; }
.ff-color-2 { background: #22c55e; }
.ff-color-3 { background: #ec4899; }
.ff-controls { display: flex; gap: 10px; margin-bottom: 12px; }
.ff-controls button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #0284c7; background: #ffffff; color: #075985; padding: 10px 18px; }
.ff-controls .ff-primary { background: #0284c7; border-color: #0284c7; color: #ffffff; }
.ff-controls button:disabled { opacity: .45; cursor: default; }
.ff-status { color: #5d5980; min-height: 24px; margin: 12px 0 0; }
.ff-hint { color: #5d5980; font-size: 14px; margin: 8px 0 0; }
@media (max-width: 760px) { .ff-console { display: flex; flex-direction: column; } .ff-stats { order: 1; } .ff-controls { order: 2; } .ff-board { order: 3; } .ff-colors { order: 4; } .ff-status { order: 5; } .ff-hint { order: 6; } }
@media (max-width: 390px) { .ff-title { font-size: 36px; } .ff-console { padding: 12px; } .ff-cell { font-size: 16px; } .ff-color { font-size: 12px; line-height: 1.25; padding: 6px 2px; text-align: center; } }
