/* GIF STUDIO development journal — scoped styles; other app pages unchanged. */
.gif-log-page .gif-log-hero{background:radial-gradient(ellipse at 75% 50%,rgba(24,130,206,.14),transparent 55%)}
.gif-log-page .gif-log-hero-art{min-height:270px;background:radial-gradient(circle at 52% 32%,rgba(61,161,255,.18),transparent 61%),linear-gradient(145deg,#102944,#0a1d34)}
.gif-log-page .gif-log-hero-art img{height:235px;width:200px;border-radius:22px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(3,8,21,.4))}
.gif-log-article{max-width:1100px}
.gif-log-article b{color:#eff9ff}
.gif-log-article .app-story-intro{padding-bottom:17px}
.gif-log-meta{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 28px}
.gif-log-meta span{padding:8px 12px;font-size:11px;letter-spacing:.5px;font-weight:800;color:#a6d9f3;border:1px solid rgba(98,165,214,.32);border-radius:999px;background:rgba(11,51,83,.6)}
.gif-log-toc{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 30px;padding:18px;background:#091c33;border:1px solid #335573;border-radius:16px;align-items:center}
.gif-log-toc strong{color:#eff6fe;font-size:13px;letter-spacing:.4px;margin-right:8px}
.gif-log-toc a{color:#b0d3ef;font-size:12px;font-weight:800;border:1px solid #365b7c;border-radius:8px;padding:7px 9px;background:#102a45;transition:background .15s,border-color .15s}
.gif-log-toc a:hover,.gif-log-toc a:focus-visible{background:#1d5680;border-color:#5dd6ff;color:white}
.gif-log-feature-shot,.gif-log-figure,.gif-log-image-grid figure{margin:24px 0 28px;border-radius:18px;overflow:hidden;border:1px solid #315476;background:#061729}
.gif-log-feature-shot img,.gif-log-figure img,.gif-log-image-grid img{display:block;width:100%;height:auto;object-fit:contain}
.gif-log-feature-shot figcaption,.gif-log-figure figcaption,.gif-log-image-grid figcaption{padding:15px 17px;color:#a8c4df;font-size:13px;line-height:1.7;background:#0b243d}
.gif-log-feature-shot figcaption b,.gif-log-figure figcaption b,.gif-log-image-grid figcaption b{color:#9aeaff}
.gif-log-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 10px}
.gif-log-principles>div{display:flex;flex-direction:column;gap:8px;border:1px solid #315476;background:linear-gradient(145deg,#0e3153,#0b213a);padding:20px;border-radius:14px;min-width:0}
.gif-log-principles b{color:#a9edff!important;font-size:14px}.gif-log-principles span{color:#bdd3e9;font-size:13px;line-height:1.7;word-break:keep-all}
.gif-log-pipeline{margin:25px 0 23px;display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:6px;padding:20px;border:1px solid #2a567a;border-radius:17px;background:linear-gradient(130deg,#08233d,#103452)}
.gif-log-pipeline>div{display:flex;flex-direction:column;gap:7px;min-width:0;text-align:center}
.gif-log-pipeline>div span{color:#67dcf4;font-size:10px;font-weight:900;letter-spacing:1.4px}
.gif-log-pipeline>div b{font-size:14px;line-height:1.5;word-break:keep-all}
.gif-log-pipeline>div small{color:#9dbbd9;font-size:11px;line-height:1.55;word-break:keep-all}
.gif-log-pipeline i{font-size:19px;color:#6bd3fc;font-style:normal;text-align:center}
.gif-log-article p.gif-log-subnote{border-left:3px solid #46b9ed;padding:9px 0 9px 16px;color:#94b8d4;background:rgba(14,59,87,.25);font-size:14px}
.gif-log-figure-mobile{max-width:100%;margin:24px auto 26px}
.gif-log-figure-narrow{max-width:440px;margin:28px auto}
.gif-log-tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:22px 0 24px}
.gif-log-tool-list>div{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:14px;padding:18px;background:linear-gradient(145deg,#0c2949,#0a1d35);border:1px solid rgba(103,159,207,.28);border-radius:14px}
.gif-log-tool-list>div>span{display:grid;place-items:center;border-radius:12px;width:40px;height:40px;font-size:13px;font-weight:900;color:#071e39;background:linear-gradient(130deg,#82eafc,#5aa8ff)}
.gif-log-tool-list>div b{font-size:17px}
.gif-log-article .gif-log-tool-list p{font-size:14px;line-height:1.7;margin:6px 0 0;color:#b3cce2}
.gif-log-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 20px}
.gif-log-image-grid figure{display:flex;flex-direction:column;margin:0;min-width:0}
.gif-log-image-grid figure:last-child{grid-column:1/-1}
.gif-log-image-grid figure>a{display:grid;place-items:center;min-height:150px;padding:14px;background:#051629}
.gif-log-image-grid figure img{width:100%;max-width:660px}
.gif-log-image-grid figure:nth-child(2) img{width:min(100%,450px);margin:auto}
.gif-log-image-grid figure figcaption{margin-top:auto}
.gif-log-math{display:flex;flex-direction:column;gap:9px;margin:24px 0;padding:18px 23px;border:1px solid #3a7fa2;border-radius:14px;background:linear-gradient(120deg,#123a55,#102746)}
.gif-log-math strong{font-size:19px;color:#85eaff}.gif-log-math span{font-size:14px;color:#c3d9e8;line-height:1.7}
.gif-log-problem{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:23px 0 0}
.gif-log-problem div{display:flex;flex-direction:column;gap:7px;border:1px solid #305774;border-radius:12px;padding:16px;background:#0c2946}
.gif-log-problem b{font-size:13px;color:#8de1f4}.gif-log-problem span{font-size:12px;color:#afc9dd;line-height:1.6;word-break:keep-all}
.gif-log-screen-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:24px 0}
.gif-log-screen-compare div{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid #365d82;border-radius:15px;background:linear-gradient(150deg,#103454,#0b1f39)}
.gif-log-screen-compare strong{font-size:13px;letter-spacing:1.1px;color:#6edcff}
.gif-log-screen-compare span{font-weight:800;font-size:16px;line-height:1.55;word-break:keep-all;color:#e6f7ff}
.gif-log-screen-compare small{color:#a3bfd8;font-size:12px}
.gif-log-end-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;padding-top:21px;border-top:1px solid rgba(119,166,202,.25)}
.gif-log-end-actions .btn{font-size:14px}
.gif-log-page .gif-log-article .app-story-index{color:#76ddf5}
@media(max-width:880px){
 .gif-log-principles,.gif-log-problem{grid-template-columns:1fr}
 .gif-log-article .app-story-section h3{font-size:24px}
 .gif-log-pipeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .gif-log-pipeline i{display:none}
 .gif-log-pipeline>div{padding:12px;border:1px solid #315575;border-radius:12px}
}
@media(max-width:640px){
 .gif-log-page .gif-log-hero-art{min-height:210px}.gif-log-page .gif-log-hero-art img{width:150px;height:180px}
 .gif-log-article .app-story-intro h2{font-size:28px}
 .gif-log-toc{padding:13px;margin:15px 0 19px;gap:7px}.gif-log-toc strong{flex-basis:100%}.gif-log-toc a{font-size:11px;padding:8px}
 .gif-log-feature-shot,.gif-log-figure{border-radius:13px;margin:17px 0 22px}
 .gif-log-feature-shot figcaption,.gif-log-figure figcaption,.gif-log-image-grid figcaption{font-size:12px;padding:12px}
 .gif-log-tool-list,.gif-log-image-grid,.gif-log-screen-compare{grid-template-columns:1fr}
 .gif-log-image-grid figure:last-child{grid-column:auto}
 .gif-log-tool-list>div{padding:14px}
 .gif-log-math{padding:17px}.gif-log-math strong{font-size:16px}
 .gif-log-end-actions{flex-direction:column}.gif-log-end-actions .btn{width:100%;text-align:center}
}

.gif-log-issue-matrix{margin:24px 0;border:1px solid #37607e;border-radius:15px;overflow:hidden;background:#0b223c}
.gif-log-issue-heading{padding:16px 20px;background:#123451;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center}
.gif-log-issue-heading strong{color:#dff6ff;font-size:15px}.gif-log-issue-heading small{color:#79d4f6;font-size:11px;letter-spacing:.5px;font-weight:800}
.gif-log-issue-matrix dl{margin:0}.gif-log-issue-matrix dl>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:18px;padding:14px 20px;border-top:1px solid #2b4b67}
.gif-log-issue-matrix dt{color:#d7eafd;font-weight:800;font-size:13px;line-height:1.5}.gif-log-issue-matrix dd{margin:0;color:#a3c5de;font-size:13px;line-height:1.6}
@media(max-width:640px){.gif-log-issue-matrix dl>div{grid-template-columns:1fr;gap:5px;padding:13px 16px}.gif-log-issue-heading{padding:14px 16px}}
