/* Page sheet for skill.php. Linked after style.css by includes/css.php,
   so these rules win ties against the shared sheet. */

.char-wrap { animation: charIn 0.45s ease-out; }
@keyframes charIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.item-emblem {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 70%);
    border: 1px solid rgba(201,168,76,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 6px 18px rgba(0,0,0,0.35);
    color: var(--gold);
    overflow: hidden;
}
.item-sub {
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.passive-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 3px;
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.35);
}

.sec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 38px 0 16px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.sec-head::before {
    content: '';
    width: 3px;
    height: 13px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}
.sec-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-light), transparent);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.stat-value {
    min-height: 1.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.prose-box {
    background: rgba(18, 18, 20, 0.5);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 22px;
    line-height: 1.6;
    color: var(--text-mid);
    font-size: 0.95rem;
}

.npc-link { color: var(--accent); text-decoration: none; transition: color 0.15s; }
.npc-link:visited { color: var(--accent); }
.npc-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.skill-link { color: var(--text-mid); text-decoration: none; transition: color 0.15s; }
.skill-link:visited { color: var(--text-mid); }
.skill-link:hover { color: var(--text-main); text-decoration: underline; text-underline-offset: 3px; }

.skill-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
    border: 1px solid var(--border-light);
    color: var(--text-dim);
}
.skill-tag--teach { color: var(--gold); border-color: rgba(201,168,76,0.4); }
.skill-tag--train { color: #7aafc0; border-color: rgba(122,175,192,0.4); }

.gp-cell { color: var(--gold); font-weight: 700; }
.num-cell { color: var(--text-mid); }
.rank-table td.left, .rank-table th.left { text-align: left; }

@media (max-width: 600px) {
    .sec-head { margin: 30px 0 14px; }
    .sec-head::after { display: none; }
}
