/* Games page (games.html): the Find projection puzzle.
   Neutral text is white. The score is the largest figure. Rows stay
   one line. The board uses the full width. */

.find-panel {
    width: 100%;
    color: #fff;
    text-align: left;
}

.find-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.find-intro {
    flex: 1 1 16rem;
    min-width: 0;
}

.find-intro h2 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.find-lead {
    margin: 8px 0 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.find-clear {
    margin-top: 12px;
}

.find-score-block {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}

.find-score-caption {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.find-score {
    color: #fff;
    font-size: clamp(3.2rem, 14vw, 5.4rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 0.85;
}

.find-board {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(40px, 1fr) minmax(44px, 56px);
    align-items: stretch;
    width: 100%;
    margin-top: 18px;
}

.find-constraints,
.find-slots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.find-gutter {
    min-width: 0;
}

.find-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.find-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
}

.find-cells {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.find-cells .text-input {
    width: clamp(1.7rem, 6vw, 2.2rem);
    height: clamp(2rem, 7vw, 2.5rem);
    padding: 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.find-points {
    flex: 0 0 auto;
    min-width: 1.4rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: right;
}

.find-category {
    flex: 0 0 auto;
    font-size: clamp(0.82rem, 3.1vw, 1.05rem);
    font-weight: 800;
    line-height: 1;
}

.find-puzzles {
    width: 100%;
    margin-top: 14px;
}

.find-puzzles .segment-row {
    flex-wrap: nowrap;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.find-puzzles .segment-row .vf-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.find-slot .text-input {
    width: 100%;
    height: 48px;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}
