/*
2026.02.14 validation checked
*/

p, label{
    font-family: "Oswald", sans-serif;
    font-weight: 198;
    font-style: normal;
    font-size: 18px;
    color: white;
}
a {
  display: flex;
  font-family: "Oswald", sans-serif;
  align-items: flex-end;
  text-decoration: none;
  font-weight: 300;
  font-size: 12px;
  height: 30px;
  color: black;
}
a:hover{
    color:brown;
}

button{
    font-family: "Oswald", sans-serif;
    font-weight: 299;
    font-style: normal;
    font-size: 13px;
    color: white;
    background-color: black;
    border: none;
    padding: 4px 10px;
    cursor: pointer;
    gap: 9px;

    width:119px;
    height: 34px;
}
button:hover{
    background-color: brown;
}
/* ── Curriculum floating panel ── */
#curriculum-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
    min-width: 160px;
}

#curriculum-links.dragging {
    user-select: none;
    cursor: grabbing;
}

.curriculum-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2px;
}

.curriculum-drag-handle {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    cursor: grab;
    line-height: 1;
    flex: 1;
}

.curriculum-drag-handle:active {
    cursor: grabbing;
}

.curriculum-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
    line-height: 1;
    transition: color 0.15s;
}

.curriculum-close-btn:hover {
    background: none;
    color: white;
}

.curriculum-panel-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4px;
    padding-top: 8px;
}

.curriculum-hide-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    height: auto;
}

.curriculum-hide-label input[type="checkbox"] {
    width: auto;
    height: auto;
    cursor: pointer;
    margin: 0;
}

.curriculum-index-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.curriculum-btn {
    display: block;
    height: auto;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    background-color: #111;
    border: none;
    /* border-radius: 8px; */
    padding: 9px 14px;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.curriculum-btn:hover {
    background-color: brown;
    color: white;
}

@media (max-width: 600px) {
    #curriculum-links {
        bottom: 16px;
        right: 16px;
        min-width: 120px;
        padding: 10px 12px;
        gap: 6px;
    }
    .curriculum-btn {
        font-size: 11px;
        padding: 7px 10px;
    }
}

/* ── Wiki mini-map (curriculum detail views) ── */
.wmm-box {
  width: 100%;
  height: 200px;
  background: #0a0a0a;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.wmm-box .wmm-svg { display: block; }

.wmm-node { cursor: pointer; }
.wmm-node circle { transition: opacity 0.15s; }
.wmm-node:hover circle { opacity: 0.75; }
