/* /Components/PuzzleGridView.razor.rz.scp.css */
/* Read-only puzzle viewer. Self-contained (CSS isolation) so it shares nothing with
   the throwaway demo's app.css. Mirrors the demo's grid look but renders static
   letters instead of inputs. */

.gridview[b-2vcd8t6bzo] {
    --cell: 40px;
    --bar: #2a3550;
    color: #101626;
}

.gridcard[b-2vcd8t6bzo] {
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.grid[b-2vcd8t6bzo] {
    border-collapse: collapse;
}

.grid td[b-2vcd8t6bzo] {
    width: var(--cell);
    height: var(--cell);
    padding: 0;
    position: relative;
    border: 1px solid #c9d0de;
    background: #fff;
    text-align: center;
}

.grid td.barR[b-2vcd8t6bzo] {
    border-right: 3px solid var(--bar);
}

.grid td.barB[b-2vcd8t6bzo] {
    border-bottom: 3px solid var(--bar);
}

.grid .num[b-2vcd8t6bzo] {
    position: absolute;
    top: 1px;
    left: 2px;
    font-weight: 700;
    font-size: calc(var(--cell) * 0.26);
    line-height: 1;
    color: #9aa3b6;
    pointer-events: none;
}

.grid .ltr[b-2vcd8t6bzo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    font-weight: 700;
    font-size: calc(var(--cell) * 0.5);
    line-height: 1;
    color: #101626;
}

/* Both clue directions, side by side — no toggle. */
.clues[b-2vcd8t6bzo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.cluecol h3[b-2vcd8t6bzo] {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3b6df6;
}

.clue[b-2vcd8t6bzo] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f8;
    font-size: 14px;
}

.clue .n[b-2vcd8t6bzo] {
    font-weight: 800;
    color: #3b6df6;
    min-width: 22px;
}

.clue .c[b-2vcd8t6bzo] {
    color: #2b3347;
    flex: 1;
}

.clue .a[b-2vcd8t6bzo] {
    color: #9aa3b6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 760px) {
    .gridview[b-2vcd8t6bzo] {
        --cell: min(40px, calc((100vw - 60px) / 12));
    }

    .clues[b-2vcd8t6bzo] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin/Admin.razor.rz.scp.css */
/* Admin console — deliberately distinct from the blue player demo: a calm, paper-toned
   operator surface. Self-contained via CSS isolation. */

.admin[b-8z53ixyn89] {
    min-height: 100vh;
    background: #f4f1ea;
    color: #20242c;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.admin-top[b-8z53ixyn89] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 26px;
    background: #20242c;
    color: #f4f1ea;
}

.brand[b-8z53ixyn89] {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 18px;
}

.brand span[b-8z53ixyn89] {
    color: #c99a55;
    font-weight: 700;
}

.signout[b-8z53ixyn89] {
    all: unset;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 9px;
    background: #2e333d;
    color: #e7e2d6;
}

.signout:hover[b-8z53ixyn89] {
    background: #3a404c;
}

/* login */
.login-wrap[b-8z53ixyn89] {
    display: flex;
    justify-content: center;
    padding: 12vh 20px;
}

.login[b-8z53ixyn89] {
    width: min(360px, 100%);
    background: #fff;
    border: 1px solid #e3ddd0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 24px 48px -34px rgba(40, 36, 24, 0.5);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login h1[b-8z53ixyn89] {
    margin: 0 0 4px;
    font-size: 20px;
}

.login label[b-8z53ixyn89] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5a5446;
}

.login input[b-8z53ixyn89] {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #d6cfbf;
    border-radius: 10px;
    background: #fbfaf6;
}

.login input:focus[b-8z53ixyn89] {
    outline: 2px solid #c99a55;
    border-color: #c99a55;
}

.login button[b-8z53ixyn89] {
    all: unset;
    cursor: pointer;
    text-align: center;
    margin-top: 6px;
    padding: 11px;
    border-radius: 10px;
    background: #20242c;
    color: #f4f1ea;
    font-weight: 800;
}

.login button:disabled[b-8z53ixyn89] {
    opacity: 0.6;
    cursor: default;
}

.err[b-8z53ixyn89] {
    color: #b3261e;
    font-size: 13px;
    font-weight: 700;
}

/* tabs + body */
.tabs[b-8z53ixyn89] {
    display: flex;
    gap: 6px;
    padding: 16px 26px 0;
}

.tab[b-8z53ixyn89] {
    all: unset;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    font-size: 14px;
    color: #6b6456;
    background: #e9e4d8;
}

.tab.on[b-8z53ixyn89] {
    background: #fff;
    color: #20242c;
}

.admin-body[b-8z53ixyn89] {
    background: #fff;
    border-top: 1px solid #e3ddd0;
    min-height: 60vh;
    padding: 24px 26px;
}

.todo[b-8z53ixyn89] {
    color: #8a8475;
    font-weight: 600;
}
/* /Pages/Admin/_archive/PuzzleList.razor.rz.scp.css */
.puzzles[b-4d4x84ii69] {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

/* list pane */
.search[b-4d4x84ii69] {
    width: 100%;
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #d6cfbf;
    border-radius: 10px;
    background: #fbfaf6;
    margin-bottom: 12px;
}

.search:focus[b-4d4x84ii69] {
    outline: 2px solid #c99a55;
    border-color: #c99a55;
}

.list[b-4d4x84ii69] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e3ddd0;
    border-radius: 12px;
    overflow: hidden;
}

.row[b-4d4x84ii69] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-bottom: 1px solid #f0ece1;
    cursor: pointer;
}

.row:last-child[b-4d4x84ii69] {
    border-bottom: 0;
}

.row:hover[b-4d4x84ii69] {
    background: #faf7f0;
}

.row.on[b-4d4x84ii69] {
    background: #f1e9d8;
}

.row .id[b-4d4x84ii69] {
    font-weight: 700;
    flex: 1;
}

.row .ver[b-4d4x84ii69] {
    font-size: 12px;
    color: #a39b88;
    font-weight: 700;
}

/* status badges */
.badge[b-4d4x84ii69] {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.badge.draft[b-4d4x84ii69] {
    background: #ece7da;
    color: #6b6456;
}

.badge.scheduled[b-4d4x84ii69] {
    background: #dce7f5;
    color: #2c5b8f;
}

.badge.published[b-4d4x84ii69] {
    background: #d8ecda;
    color: #2f7a3f;
}

/* detail pane */
.detail-head[b-4d4x84ii69] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-head h2[b-4d4x84ii69] {
    margin: 0 8px 8px 0;
    display: inline-block;
    font-size: 20px;
}

.detail-head .when[b-4d4x84ii69] {
    margin-left: 8px;
    font-size: 13px;
    color: #8a8475;
    font-weight: 600;
}

.actions[b-4d4x84ii69] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.act[b-4d4x84ii69] {
    all: unset;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 13px;
    border-radius: 9px;
    background: #20242c;
    color: #f4f1ea;
}

.act:hover[b-4d4x84ii69] {
    filter: brightness(1.1);
}

.act:disabled[b-4d4x84ii69] {
    opacity: 0.45;
    cursor: default;
}

.act.ghost[b-4d4x84ii69] {
    background: #ece7da;
    color: #5a5446;
}

.act.danger[b-4d4x84ii69] {
    background: #b3261e;
}

.actions input[type="datetime-local"][b-4d4x84ii69] {
    font: inherit;
    padding: 7px 10px;
    border: 1px solid #d6cfbf;
    border-radius: 9px;
    background: #fbfaf6;
}

.confirm[b-4d4x84ii69] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fbf3f2;
    border: 1px solid #efc9c6;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.hint[b-4d4x84ii69] {
    color: #8a8475;
    font-weight: 600;
    padding: 14px 2px;
}

.hint.err[b-4d4x84ii69] {
    color: #b3261e;
}

@media (max-width: 860px) {
    .puzzles[b-4d4x84ii69] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin/_archive/UploadSection.razor.rz.scp.css */
.dropbar[b-ygbtv42ht4] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pick[b-ygbtv42ht4] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 15px;
    border-radius: 10px;
    background: #20242c;
    color: #f4f1ea;
}

.pick:hover[b-ygbtv42ht4] {
    filter: brightness(1.12);
}

.pick input[type="file"][b-ygbtv42ht4] {
    display: none;
}

.schedule[b-ygbtv42ht4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #5a5446;
}

.schedule input[type="datetime-local"][b-ygbtv42ht4] {
    font: inherit;
    padding: 7px 10px;
    border: 1px solid #d6cfbf;
    border-radius: 9px;
    background: #fbfaf6;
}

.batch[b-ygbtv42ht4] {
    all: unset;
    cursor: pointer;
    margin-left: auto;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 15px;
    border-radius: 10px;
    background: #2f7a3f;
    color: #fff;
}

.batch:disabled[b-ygbtv42ht4] {
    opacity: 0.4;
    cursor: default;
}

.mini[b-ygbtv42ht4] {
    all: unset;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #20242c;
    color: #f4f1ea;
}

.mini.ghost[b-ygbtv42ht4] {
    background: #ece7da;
    color: #5a5446;
}

.stage-body[b-ygbtv42ht4] {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.list[b-ygbtv42ht4] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e3ddd0;
    border-radius: 12px;
    overflow: hidden;
}

.row[b-ygbtv42ht4] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-bottom: 1px solid #f0ece1;
    cursor: pointer;
}

.row:last-child[b-ygbtv42ht4] {
    border-bottom: 0;
}

.row:hover[b-ygbtv42ht4] {
    background: #faf7f0;
}

.row.on[b-ygbtv42ht4] {
    background: #f1e9d8;
}

.row .id[b-ygbtv42ht4] {
    font-weight: 700;
    flex: 1;
}

.badge[b-ygbtv42ht4] {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.badge.ok[b-ygbtv42ht4] {
    background: #d8ecda;
    color: #2f7a3f;
}

.badge.missing[b-ygbtv42ht4] {
    background: #f6eccf;
    color: #8a6d1e;
}

.badge.error[b-ygbtv42ht4] {
    background: #f6d9d6;
    color: #b3261e;
}

.ok-tag[b-ygbtv42ht4] {
    font-size: 12px;
    font-weight: 800;
    color: #2f7a3f;
}

.err-tag[b-ygbtv42ht4] {
    font-size: 12px;
    font-weight: 800;
    color: #b3261e;
}

.preview .files[b-ygbtv42ht4] {
    font-size: 13px;
    color: #8a8475;
    font-weight: 600;
    margin-bottom: 12px;
}

.hint[b-ygbtv42ht4] {
    color: #8a8475;
    font-weight: 600;
    padding: 14px 2px;
}

.hint.err[b-ygbtv42ht4] {
    color: #b3261e;
}

@media (max-width: 860px) {
    .stage-body[b-ygbtv42ht4] {
        grid-template-columns: 1fr;
    }

    .batch[b-ygbtv42ht4] {
        margin-left: 0;
    }
}
