/* topic-modulo-operator-remainder-so-useful */
.topic-modulo-operator-remainder-so-useful-story {
    color: var(--article-text-color);
    font-size: 14px;
    line-height: 1.65;
}
.topic-modulo-operator-remainder-so-useful-story * { box-sizing: border-box; }
.topic-modulo-operator-remainder-so-useful-story p { margin: 0 0 12px; }
.topic-modulo-operator-remainder-so-useful-story strong { color: var(--article-heading-color); }
.topic-modulo-operator-remainder-so-useful-story code, .topic-modulo-operator-remainder-so-useful-story pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.topic-modulo-operator-remainder-so-useful-section { margin-top: 22px; scroll-margin-top: 110px; }
.topic-modulo-operator-remainder-so-useful-section > h2 {
    display:flex; align-items:center; gap:14px; margin:0 0 8px;
    color:var(--article-heading-color); font-size:20px; line-height:1.35; font-weight:900;
}
.topic-modulo-operator-remainder-so-useful-number {
    display:inline-flex; flex:0 0 38px; height:38px; align-items:center; justify-content:center;
    border-radius:50%; background:#0752ff; color:#fff; font-size:16px; font-weight:700;
}
.topic-modulo-operator-remainder-so-useful-story pre {
    margin:14px 0; padding:16px; border-radius:14px; overflow:auto;
    background:#152033; color:#f4f7ff; line-height:1.6; font-size:12px;
}
.topic-modulo-operator-remainder-so-useful-story pre code { color:inherit; white-space:pre; }
.topic-modulo-operator-remainder-so-useful-story .cards { display:grid; gap:10px; margin-top:14px; }
.topic-modulo-operator-remainder-so-useful-story .cards.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.topic-modulo-operator-remainder-so-useful-story .cards.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.topic-modulo-operator-remainder-so-useful-story .cards.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.topic-modulo-operator-remainder-so-useful-story .cards article {
    padding:14px 10px; border:1px solid #e1ebff; border-radius:14px;
    background:#f9fbff; text-align:center;
}
.topic-modulo-operator-remainder-so-useful-story .cards h3 { margin:0 0 4px; font-size:13px; color:var(--article-heading-color); }
.topic-modulo-operator-remainder-so-useful-story .cards p { margin:0; color:#617296; font-size:10px; }
.topic-modulo-operator-remainder-so-useful-story .flow {
    display:grid; grid-template-columns:1fr 34px 1fr 34px 1fr;
    gap:7px; align-items:center; margin-top:14px;
}
.topic-modulo-operator-remainder-so-useful-story .flow span {
    display:flex; min-height:120px; align-items:center; justify-content:center;
    padding:12px; border-radius:14px; background:#eef5ff; text-align:center;
    font-weight:800; color:#1d3d75;
}
.topic-modulo-operator-remainder-so-useful-story .flow span:nth-of-type(2) { background:#fff6df; }
.topic-modulo-operator-remainder-so-useful-story .flow span:nth-of-type(3) { background:#eef9f0; }
.topic-modulo-operator-remainder-so-useful-story .flow b { color:#4f82ff; text-align:center; font-size:22px; }
.topic-modulo-operator-remainder-so-useful-story .compare {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px;
}
.topic-modulo-operator-remainder-so-useful-story .compare > div {
    padding:15px; border-radius:15px; background:#eef5ff; text-align:center;
}
.topic-modulo-operator-remainder-so-useful-story .compare > div:nth-child(2) { background:#eef9f0; }
.topic-modulo-operator-remainder-so-useful-story .compare h3 { margin:0 0 5px; font-size:14px; color:var(--article-heading-color); }
.topic-modulo-operator-remainder-so-useful-story .compare p { margin:0; color:#617296; font-size:10px; }
.topic-modulo-operator-remainder-so-useful-story .tip, .topic-modulo-operator-remainder-so-useful-story .warn {
    margin-top:14px; padding:14px 16px; border-radius:14px;
}
.topic-modulo-operator-remainder-so-useful-story .tip { background:#eaf5ff; }
.topic-modulo-operator-remainder-so-useful-story .warn { background:#fff2f6; border:1px solid #ffd0dc; }
.topic-modulo-operator-remainder-so-useful-story .tip h3, .topic-modulo-operator-remainder-so-useful-story .warn h3 { margin:0 0 4px; font-size:15px; }
.topic-modulo-operator-remainder-so-useful-story .tip h3 { color:#0752ff; }
.topic-modulo-operator-remainder-so-useful-story .warn h3 { color:#d83265; }
.topic-modulo-operator-remainder-so-useful-story .memory-row, .topic-modulo-operator-remainder-so-useful-story .cycle {
    display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; padding:14px;
    border-radius:14px; background:#f7f8fc;
}
.topic-modulo-operator-remainder-so-useful-story .memory-row span, .topic-modulo-operator-remainder-so-useful-story .cycle span {
    padding:9px 10px; border-radius:9px; background:#fff; color:#1d3d75; font-size:10px; font-weight:800;
}
.topic-modulo-operator-remainder-so-useful-story .cycle b { display:flex; align-items:center; color:#6049b8; font-size:10px; }
.topic-modulo-operator-remainder-so-useful-story .range-box {
    display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap;
    margin-top:14px; padding:16px; border-radius:14px; background:#eef5ff;
}
.topic-modulo-operator-remainder-so-useful-story .range-box strong { color:#0752ff; font-size:16px; }
.topic-modulo-operator-remainder-so-useful-story table {
    width:100%; margin-top:14px; border-collapse:collapse; overflow:hidden;
    border-radius:12px; background:#fff;
}
.topic-modulo-operator-remainder-so-useful-story th, .topic-modulo-operator-remainder-so-useful-story td {
    border:1px solid #e1ebff; padding:8px; text-align:center;
}
.topic-modulo-operator-remainder-so-useful-story th { background:#eef5ff; color:#1d3d75; }
.topic-modulo-operator-remainder-so-useful-summary {
    margin-top:22px; padding:18px; border-radius:16px; background:#e9f3ff; scroll-margin-top:110px;
}
.topic-modulo-operator-remainder-so-useful-summary h2 { margin:0 0 7px; color:#0752ff; font-size:19px; }
.topic-modulo-operator-remainder-so-useful-summary ul { margin:0; padding-left:20px; line-height:1.75; }
.topic-modulo-operator-remainder-so-useful-summary .next { margin:10px 0 0; padding-top:10px; border-top:1px dashed #b8d3f6; }
.topic-modulo-operator-remainder-so-useful-pagination {
    display:flex; justify-content:space-between; gap:18px; margin-top:14px;
}
.topic-modulo-operator-remainder-so-useful-pagination a {
    display:flex; align-items:center; gap:10px; max-width:49%;
    padding:10px 13px; border:1px solid #d9e7ff; border-radius:12px;
    background:#ffffffb3; text-decoration:none;
}
.topic-modulo-operator-remainder-so-useful-pagination a:last-child { text-align:right; }
.topic-modulo-operator-remainder-so-useful-pagination strong { display:block; color:#0752ff; font-size:16px; }
.topic-modulo-operator-remainder-so-useful-pagination small { display:block; color:#576b9f; font-size:12px; }

@media (max-width:900px) {
    .topic-modulo-operator-remainder-so-useful-story .cards.four { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
    .topic-modulo-operator-remainder-so-useful-story { font-size:12px; }
    .topic-modulo-operator-remainder-so-useful-section > h2 { gap:9px; font-size:16px; }
    .topic-modulo-operator-remainder-so-useful-number { flex-basis:31px; height:31px; font-size:14px; }
    .topic-modulo-operator-remainder-so-useful-story .cards.two, .topic-modulo-operator-remainder-so-useful-story .cards.three, .topic-modulo-operator-remainder-so-useful-story .cards.four,
    .topic-modulo-operator-remainder-so-useful-story .compare, .topic-modulo-operator-remainder-so-useful-story .flow { grid-template-columns:minmax(0,1fr); }
    .topic-modulo-operator-remainder-so-useful-story .flow b { transform:rotate(90deg); }
    .topic-modulo-operator-remainder-so-useful-pagination { gap:9px; }
    .topic-modulo-operator-remainder-so-useful-pagination a { flex:1; min-width:0; padding:8px 6px; }
    .topic-modulo-operator-remainder-so-useful-pagination strong { font-size:13px; }
    .topic-modulo-operator-remainder-so-useful-pagination small { font-size:10px; line-height:1.35; }
}
