
/* =========================================================
   DEBUG CONTENT
========================================================= */

.debug-page {
    width: min(600px, calc(100% - 20px));
    margin: 0 auto;
    padding-bottom: 40px;
    box-sizing: border-box;
}


/* =========================================================
   DEBUG HERO
========================================================= */

.debug-hero {
    width: 100%;
    margin-bottom: 12px;
    padding: 22px 16px;

    border: 1px solid var(--wire-border);
    border-radius: 6px;

    background: var(--wire-bg);

    text-align: center;
    overflow: hidden;
}


/* =========================================================
   DEBUG ICON
========================================================= */

.debug-icon {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1;
    color: var(--wire-accent);
}


/* =========================================================
   DEBUG HERO TITLE
========================================================= */

.debug-hero h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--wire-text-dim);
}

.debug-hero p {
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--wire-text-muted);
}


/* =========================================================
   DEBUG INTRO
========================================================= */

.debug-intro {
    width: 100%;
    margin-bottom: 12px;
    padding: 15px 16px;

    border: 1px solid var(--wire-border);
    border-radius: 6px;

    background: var(--wire-bg);
}

.debug-intro h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.4px;
    color: var(--wire-text-dim);
}

.debug-intro p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--wire-text-muted);
}


/* =========================================================
   DEBUG CATEGORIES
========================================================= */

.debug-categories {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =========================================================
   DEBUG CARDS
========================================================= */

.debug-card {
    width: 100%;
    padding: 15px 16px;

    border: 1px solid var(--wire-border);
    border-radius: 6px;

    background: var(--wire-bg);
    overflow: hidden;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease;
}

.debug-card:hover {
    border-color: var(--wire-border-accent);
    background: var(--wire-active);
}


/* =========================================================
   DEBUG CARD ICON
========================================================= */

.debug-card-icon {
    display: block;
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1;
    color: var(--wire-accent);
}


/* =========================================================
   DEBUG CARD TITLE
========================================================= */

.debug-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.3px;
    color: var(--wire-text-dim);
}


/* =========================================================
   DEBUG CARD DESCRIPTION
========================================================= */

.debug-card p {
    margin: 6px 0 12px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--wire-text-muted);
}


/* =========================================================
   DEBUG CARD BUTTON
========================================================= */

.debug-card button {
    min-height: 30px;
    padding: 0 13px;

    border: 1px solid var(--wire-border-accent);
    border-radius: 4px;

    background: transparent;
    color: var(--wire-text);

    font-family: inherit;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.debug-card button:hover {
    border-color: var(--wire-accent);
    background: var(--wire-hover-surface);
}


/* =========================================================
   DEBUG SCENARIO
========================================================= */

.debug-scenario {
    width: 100%;
    padding: 15px 16px;

    border: 1px solid var(--wire-border);
    border-radius: 6px;

    background: var(--wire-bg);
}

.debug-scenario h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.4px;
    color: var(--wire-text-dim);
}

.debug-scenario p {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--wire-text-muted);
}


/* =========================================================
   SCENARIO CHOICES
========================================================= */

.scenario-choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.scenario-choice,
.scenario-back {
    min-height: 36px;
    padding: 8px 12px;

    border: 1px solid var(--wire-border);
    border-radius: 4px;

    background: transparent;
    color: var(--wire-text);

    font-family: inherit;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.scenario-choice:hover,
.scenario-back:hover {
    border-color: var(--wire-border-accent);
    background: var(--wire-hover-surface);
}


/* =========================================================
   SCENARIO FEEDBACK
========================================================= */

.scenario-feedback {
    margin-top: 12px !important;
    padding: 10px 12px;
    border: 1px solid var(--wire-border);
    border-radius: 4px;
}

.scenario-feedback.correct {
    color: var(--wire-text-dim);
    border-color: rgba(80, 180, 120, 0.55);
}

.scenario-feedback.incorrect {
    color: var(--wire-text-muted);
    border-color: rgba(210, 90, 90, 0.45);
}


/* =========================================================
   SCENARIO BACK BUTTON
========================================================= */

.scenario-back {
    margin-top: 14px;
    text-align: center;
    letter-spacing: 0.5px;
}





/* =========================================================
   DEBUG — VISIBLE CONTENT BOXES
========================================================= */

.debug-hero,
.debug-intro,
.debug-card,
.debug-scenario {
    background: #15181C;
    border: 1px solid #30343A;
    border-radius: 6px;
}