.pf-main { padding-bottom: 8px; }
.pf-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .pf-hero { grid-template-columns: 1fr; } }
.pf-kicker { color: #0f766e; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 6px 0 4px; }
.pf-title { font-size: 44px; line-height: 1.05; margin: 0 0 12px; color: #232048; }
.pf-title span { color: #0f766e; }
.pf-rule { font-size: 19px; line-height: 1.45; color: #33305a; margin: 0 0 10px; }
.pf-note { color: #5d5980; line-height: 1.5; margin: 0; }
.pf-console { min-width: 0; background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 16px; padding: 16px; }
.pf-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #115e59; font-size: 15px; }
.pf-stats strong { color: #232048; }
.pf-boards { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
.pf-board-label { font-size: 13px; font-weight: 700; color: #5d5980; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.pf-grid { display: grid; gap: 4px; justify-content: center; }
.pf-cols-1 { grid-template-columns: repeat(1, minmax(0, 64px)); }
.pf-cols-2 { grid-template-columns: repeat(2, minmax(0, 64px)); }
.pf-cols-3 { grid-template-columns: repeat(3, minmax(0, 64px)); }
.pf-cols-4 { grid-template-columns: repeat(4, minmax(0, 64px)); }
.pf-sheet { background: #ffffff; border: 1px solid #ccfbf1; border-radius: 12px; padding: 8px; }
.pf-target-grid { background: #ffffff; border: 1px dashed #5eead4; border-radius: 12px; padding: 8px; }
.pf-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 6px; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 700; }
.pf-red { background: #dc2626; }
.pf-blue { background: #2563eb; }
.pf-green { background: #16a34a; }
.pf-gold { background: #d97706; }
.pf-purple { background: #7c3aed; }
.pf-teal { background: #0d9488; }
.pf-fold-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.pf-fold-btn { width: 52px; height: 52px; border-radius: 12px; border: 2px solid #0f766e; background: #ffffff; color: #0f766e; font-size: 22px; cursor: pointer; padding: 0; }
.pf-fold-btn:disabled { opacity: .45; cursor: default; }
.pf-controls { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pf-controls button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #0f766e; background: #ffffff; color: #0f766e; padding: 10px 18px; }
.pf-controls .pf-primary { background: #0f766e; border-color: #0f766e; color: #ffffff; }
.pf-controls button:disabled { opacity: .45; cursor: default; }
.pf-status { color: #5d5980; min-height: 24px; margin: 12px 0 0; }
.pf-hint { color: #5d5980; font-size: 14px; margin: 8px 0 0; }
@media (max-width: 760px) { .pf-console { display: flex; flex-direction: column; } .pf-stats { order: 1; } .pf-boards { order: 2; } .pf-fold-row { order: 3; } .pf-controls { order: 4; } .pf-status { order: 5; } .pf-hint { order: 6; } }
@media (max-width: 390px) { .pf-title { font-size: 36px; } .pf-console { padding: 12px; } .pf-fold-btn { width: 46px; height: 46px; } .pf-cell { font-size: 13px; } }
