/*
 * Coding Ireland proprietary interactive activity
 * Copyright (c) 2017-2026 Coding Ireland. All rights reserved.
 *
 * Part of the Coding Ireland online learning platform. Licensed for use only
 * as delivered on the platform. Copying, redistributing, or adapting this
 * file, in whole or in part, for use in any other product or service is not
 * permitted. Ref: CI-maths-float-or-sink
 */

.fs-stage { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.fs-left { flex: 0 1 132px; }
.fs-scene { flex: 1 1 320px; min-width: 260px; height: auto; }
.fs-side { flex: 0 1 214px; display: flex; flex-direction: column; gap: 10px; }

.fs-tank { fill: #f8fbff; stroke: #7c9cb8; stroke-width: 3; }
.fs-water { fill: #bfe0f5; }
.fs-surface { stroke: #5b9bd5; stroke-width: 3; }
.fs-obj { font-size: 34px; }

/* The tray keeps every object visible with what the class said about it, so the
   predictions stay on screen instead of living in the teacher's memory. */
.fs-tray { display: flex; flex-direction: column; gap: 6px; }
.fs-item {
    display: flex; align-items: center; gap: 6px; width: 100%;
    border: 2px solid #cbd5e1; background: #fff; border-radius: 10px;
    padding: 5px 7px; cursor: pointer; text-align: left;
}
.fs-item.is-on { border-color: #1565c0; box-shadow: 0 0 0 2px rgba(21,101,192,.15); }
.fs-item.is-done { background: #f1f5f9; }
.fs-item-emoji { font-size: 20px; }
.fs-item-name { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px; color: #163a5f; }
.fs-item-tag { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #64748b; white-space: nowrap; }

.fs-picked { background: #fff; border: 2px solid #d9e6f2; border-radius: 10px; padding: 6px 10px; }
.fs-picked-label { font-size: 11px; font-weight: 700; color: #64748b; }
.fs-picked-name { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 21px; color: #163a5f; }

.fs-predict { display: flex; flex-direction: column; gap: 6px; }
.fs-btn {
    border: 2px solid #cbd5e1; background: #fff; border-radius: 10px; padding: 8px 6px;
    font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; color: #334155; cursor: pointer;
}
.fs-btn--float.is-on { background: #dcfce7; border-color: #15803d; color: #14532d; }
.fs-btn--sink.is-on { background: #dbeafe; border-color: #1d4ed8; color: #1e3a8a; }
.fs-btn:disabled { opacity: .55; cursor: default; }
.fs-drop { width: 100%; }
.fs-drop:disabled { opacity: .5; cursor: default; }
/* No score, no ticks, no streak: one plain sentence about what happened. */
.fs-result { margin: 0; font-size: 13.5px; line-height: 1.45; color: #334155; }

.fs-guided { background: #f8fafc; border-left: 4px solid #1565c0; border-radius: 8px; padding: 10px 12px; }
.fs-guided-text { margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: #1e293b; }
.fs-guided-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fs-guided-count { font-size: 12px; color: #64748b; white-space: nowrap; }

.fs-your-turn {
    margin-top: 16px; background: #fffaf0; border-left: 4px solid #dd6b20;
    border-radius: 8px; padding: 10px 14px;
}
.fs-your-turn-label { font-weight: 800; color: #9a3412; font-size: 13px; margin-bottom: 4px; }
#yourTurnList { margin: 0; padding-left: 18px; font-size: 14px; color: #334155; }

body.display-mode .activity-header,
.activity-container.display-mode .activity-header { display: none; }
body.display-mode .fs-scene { flex-basis: 460px; }
body.display-mode .fs-result { font-size: 16px; }

@media (max-width: 620px) {
    .fs-left, .fs-side { flex-basis: 100%; }
    .fs-tray { flex-direction: row; flex-wrap: wrap; }
    .fs-item { width: auto; }
}
