/* Illusion City article: follows the Hinotori article's cards and tables. */
.ic-rom-article { --ic-line: #b8c9d5; }
.ic-rom-article section { scroll-margin-top: 290px; }
.article-content .ic-rom-article p { text-align: left; hyphens: none; }
.ic-rom-article a { color: #245b83; text-decoration: underline; text-underline-offset: 3px; }
.ic-rom-article a:hover { color: #a72d35; }
.ic-rom-article a:focus-visible { outline: 3px solid #a72d35; outline-offset: 4px; }
.ic-contents { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 22px 24px; margin-bottom: 40px; background: #edf3f7; border: 1px solid var(--ic-line); border-radius: 7px; }
.ic-contents strong { flex-basis: 100%; color: var(--ink); }
.ic-contents a { font-size: 14px; }
.ic-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0; border-block: 1px solid var(--ic-line); padding: 22px 0; }
.ic-facts strong { display: block; font-size: 29px; color: var(--ink); }
.ic-facts span { display: block; margin-top: 5px; font-size: 13px; color: #435c6f; }
.ic-note { padding: 22px 24px; margin: 26px 0; background: #edf3f7; border-left: 4px solid #315675; }
.ic-note strong { color: var(--ink); }
.ic-note p { margin-top: 8px; }
.ic-table-wrap { overflow-x: auto; margin: 25px 0; border: 1px solid var(--ic-line); border-radius: 7px; }
.ic-table-wrap table { border-collapse: collapse; width: 100%; min-width: 580px; color: #435c6f; font-size: 14px; line-height: 1.6; }
.ic-table-wrap caption { padding: 15px; text-align: left; font-weight: bold; color: var(--ink); }
.ic-table-wrap th, .ic-table-wrap td { padding: 15px; border-top: 1px solid var(--ic-line); text-align: left; vertical-align: top; }
.ic-table-wrap thead { background: #e7eef3; color: var(--ink); }
.ic-table-wrap tbody tr:nth-child(even) { background: #f2f6f9; }
.ic-rom-article code { overflow-wrap: anywhere; color: #24445d; font-size: .9em; }
.article-content .ic-rom-article figcaption, .article-content .ic-rom-article .ic-small { font-size: 13px; color: #435c6f; line-height: 1.75; }
.article-content .ic-rom-article img { height: auto; max-width: 100%; }
.article-content .ic-wide-figure { max-width: 889px; margin: 30px auto; }
.article-content .ic-screen-figure { max-width: 640px; margin: 30px auto; }
.ic-screen-figure img, .ic-art-grid img { width: 100%; image-rendering: pixelated; background: #071119; }
.ic-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 12px; }
.article-content .ic-example { margin: 0; padding: 18px; border: 1px solid var(--ic-line); border-radius: 7px; background: #f2f6f9; }
.article-content .ic-example h3 { margin: 0 0 15px; font-size: 20px; }
.ic-tile-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.ic-tile-grid span { aspect-ratio: 1; background: #44718d; border-radius: 2px; }
.ic-tile-grid .ic-tile-repair { background: #bd632c; outline: 1px solid #6c330f; }
.ic-tile-grid .ic-tile-new { background: repeating-linear-gradient(135deg, #26453b 0 4px, #9ac5ab 4px 8px); }
.ic-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0; gap: 18px; }
.ic-flow > div { border: 1px solid var(--ic-line); background: #edf3f7; padding: 20px; border-radius: 7px; }
.ic-flow strong { color: var(--ink); }
.article-content .ic-flow p { margin: 10px 0 0; font-size: 15px; }
.ic-art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin: 28px 0; }
.article-content .ic-art-grid figure { margin: 0; }
@media (max-width: 740px) {
    .ic-rom-article section { scroll-margin-top: 160px; }
    .ic-examples, .ic-flow, .ic-art-grid { grid-template-columns: minmax(0, 1fr); }
    .ic-facts { gap: 12px; }
    .ic-facts strong { font-size: 23px; }
    .ic-contents, .ic-note { padding: 18px; }
    .ic-tile-grid { max-width: 320px; }
}
