/* Anti-Attention Covenant page styles */

/* Hero canvas */
.covenant-hero {
    margin: 1.75rem 0 0.5rem;
    position: relative;
}
#covenant-canvas-wrap {
    aspect-ratio: 100 / 38;
    max-height: 260px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(0, 200, 83, 0.18);
}
#covenant-canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.covenant-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.9rem 1rem;
    gap: 0.15rem;
}
.covenant-pe-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}
.covenant-pe-label {
    font-size: 0.72rem;
    color: rgba(0, 200, 83, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: monospace;
}
.covenant-pe-value {
    font-size: 1.1rem;
    font-family: monospace;
    font-weight: 700;
    color: #00e85f;
    letter-spacing: 0.04em;
}
.covenant-status-label {
    font-size: 0.68rem;
    color: rgba(0, 200, 83, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: monospace;
}
.covenant-wall-label {
    position: absolute;
    right: 1rem;
    font-size: 0.65rem;
    color: rgba(0, 232, 95, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: monospace;
    /* Wall is at WALL_Y=0.22 → CSS top = (1-0.22)/2 * 100 = 39% from top */
    top: 38%;
    transform: translateY(-50%);
}
.covenant-zone-above {
    position: absolute;
    right: 1rem;
    top: 10%;
    font-size: 0.62rem;
    color: rgba(180, 40, 40, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: monospace;
}

/* Commitment list */
.covenant {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}
.covenant h3 { color: var(--accent); margin-bottom: 0.75rem; }
.commitment {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.commitment:last-child { border-bottom: none; }
.commitment h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}
.commitment h4::before {
    content: "—";
    color: var(--green, #00c853);
    font-weight: 700;
    flex-shrink: 0;
}
.commitment p { color: var(--text-dim); font-size: 0.9rem; margin-left: 1.25rem; }
.check-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    background: rgba(0,200,83,0.12);
    color: var(--green, #00c853);
    border: 1px solid rgba(0,200,83,0.25);
    white-space: nowrap;
}
.check-label.amber {
    background: rgba(255,180,0,0.1);
    color: #ffb400;
    border-color: rgba(255,180,0,0.25);
}

/* Violation box */
.violation {
    background: rgba(255,61,0,0.08);
    border: 1px solid rgba(255,61,0,0.25);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}
.violation h4 { color: #ff3d00; margin-bottom: 0.35rem; }
