
:root{--bg:#f8fbff;--ink:#20304b;--muted:#6b7891;--blue:#3169e7;--sky:#e5f3ff;--purple:#8d6beb;--mint:#d8f8eb;--peach:#fff1df;--pink:#ffe7f3;--border:#e7edf7;--shadow:0 13px 36px rgba(45,78,133,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:13px/1.72 'Segoe UI',Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.frame{max-width:1190px;margin:0 auto;padding:0 28px}.topline{height:5px;background:linear-gradient(90deg,#4ca9ff,#a18aff 30%,#ffb0cf 65%,#78ddbe)}.header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:9}.nav{height:76px;display:flex;gap:24px;justify-content:space-between;align-items:center}.logo{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:-.6px;font-weight:600}.logo em{font-style:normal;color:#725be2}.logo-mark{width:36px;height:36px;background:linear-gradient(145deg,#38a5f4,#8c83ee);display:grid;place-items:center;border-radius:11px;color:white;font:600 15px monospace;box-shadow:0 6px 15px #8f9ef035}.nav-links{display:flex;align-items:center;gap:26px;color:#65738b;font-size:12.5px}.nav-links a:hover,.text-link:hover{color:var(--blue)}.small-button{background:#edf4ff;border:1px solid #dce9ff;border-radius:9px;color:#3264bc;padding:8px 13px;font-size:12px}.hero-band{background:radial-gradient(circle at 90% 15%,#e6f2ff 0,transparent 26%),linear-gradient(120deg,#fff 10%,#f2f7ff 80%);border-bottom:1px solid #edf3fc}.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center;padding:79px 0 82px}.eyebrow{font-size:11px;letter-spacing:1px;color:#6079b9;text-transform:uppercase;font-weight:500}.badge-dot{display:inline-block;width:7px;height:7px;background:#5fd9b1;border-radius:100%;margin-right:6px}h1{font-size:clamp(27px,3.4vw,40px);line-height:1.19;font-weight:550;letter-spacing:-1.9px;margin:18px 0 20px;max-width:560px}h1 .highlight{color:#5c75db;background:linear-gradient(90deg,#4d99df,#9570e0,#e879aa);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.hero p{color:var(--muted);font-size:14px;max-width:520px;margin:0 0 26px}.btns{display:flex;flex-wrap:wrap;gap:10px}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;padding:11px 17px;font-size:12.5px;border-radius:9px;line-height:1.3}.btn.primary{background:#3378e4;color:#fff}.btn.secondary{background:white;color:#4f6694;border-color:#dde7f4}.btn:hover{filter:brightness(.97)}.mini-tech{display:flex;gap:7px;flex-wrap:wrap;margin-top:26px}.mini-tech span{font-size:11px;color:#637b97;border:1px solid #e2eaf6;background:white;border-radius:100px;padding:4px 10px}.graphic{border-radius:22px;background:linear-gradient(140deg,#ddebff,#ede8ff 53%,#ffebf3);padding:23px;position:relative;overflow:hidden;min-height:352px}.graphic:after{content:'';position:absolute;width:125px;height:125px;border:26px solid #ffffff44;border-radius:50%;right:-60px;top:-50px}.editor{position:relative;z-index:1;background:#fff;border:1px solid #e0e7f6;border-radius:15px;box-shadow:0 20px 38px #8fa4d92d;overflow:hidden;transform:rotate(1.5deg);margin:10px 8px 0}.editor-bar{height:43px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef1fa;padding:0 15px;font:11px monospace;color:#8392aa}.circles{display:flex;gap:5px}.circles i{display:block;width:8px;height:8px;border-radius:50%;background:#ffa7b7}.circles i:nth-child(2){background:#ffe3a1}.circles i:nth-child(3){background:#9ee8cb}.editor pre{margin:0;padding:20px 21px 22px;line-height:2;color:#6b6f9e;font:12px/1.95 Consolas,monospace;white-space:pre-wrap}.editor .bl{color:#3578dc}.editor .pr{color:#9568c8}.editor .gr{color:#28a889}.floating{position:absolute;right:1px;bottom:11px;z-index:2;background:#fff;padding:10px 14px;border:1px solid #e7ecf8;border-radius:11px;box-shadow:0 10px 22px #7089b727;font-size:11px;color:#61718b}.floating strong{font-weight:600;color:#318e79}.section{padding:69px 0}.section.tint{background:#f9fbff}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:25px}.section-label{font-size:11px;color:#6784bb;letter-spacing:1.2px;text-transform:uppercase}.section h2,.page-hero h1{font-size:clamp(22px,2.5vw,28px);font-weight:550;letter-spacing:-.8px;line-height:1.24;margin:7px 0 0}.section-sub{max-width:600px;color:#738199;margin:11px 0 0;font-size:13px}.text-link{font-size:12px;color:#397bd1;white-space:nowrap}.search{margin:0 0 19px;display:flex;align-items:center;gap:11px;padding:11px 14px;border:1px solid #dde7f4;border-radius:10px;max-width:390px;background:white;color:#8b98ac}.search input{border:0;outline:0;min-width:0;width:100%;color:var(--ink);font-size:12.5px;background:transparent}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{background:white;border:1px solid var(--border);border-radius:14px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column}.card:hover{transform:translateY(-2px);transition:transform .2s}.illustration{height:126px;border-radius:10px;margin-bottom:17px;display:grid;place-items:center;font:400 44px 'Segoe UI Symbol',sans-serif;overflow:hidden}.ill-1{background:linear-gradient(130deg,#e0f0ff,#deedff)}.ill-2{background:linear-gradient(135deg,#e5f9ec,#daf8f9)}.ill-3{background:linear-gradient(135deg,#fff1df,#ffe3e4)}.ill-4{background:linear-gradient(135deg,#f2eaff,#e6efff)}.category{color:#738bb5;text-transform:uppercase;letter-spacing:.85px;font-size:10px;margin-bottom:7px}.card h3{font-size:15px;font-weight:540;letter-spacing:-.25px;line-height:1.38;margin:0 0 9px}.card p{font-size:12.5px;color:#75829a;margin:0 0 20px;flex:1}.card .read{font-size:12px;color:#326fca}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature{padding:26px;border:1px solid #e1eafb;border-radius:14px;background:linear-gradient(120deg,#f4f8ff,#fff)}.feature.green{background:linear-gradient(120deg,#f2fdf7,#fff);border-color:#e1f3e8}.feature.pink{background:linear-gradient(120deg,#fff2f8,#fff);border-color:#f8e6ef}.feature .ico{font-size:26px;margin-bottom:10px}.feature h3{font-size:16px;font-weight:550;margin:0 0 8px}.feature p{font-size:12.8px;color:#6f7e96;margin:0 0 16px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{font-size:11px;color:#5f7190;border-radius:50px;padding:4px 10px;background:#fff;border:1px solid #e4eaf3}.ad-slot{padding:22px;background:#fafcff;border:1px dashed #cad9ef;border-radius:12px;min-height:116px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#98a7bb;text-align:center;gap:5px}.ad-slot small{letter-spacing:1px;text-transform:uppercase;font-size:9px}.ad-slot span{font-size:12px}.ad-wrap{padding:22px 0}.footer{background:#f8fbff;border-top:1px solid #e7eef9}.footer-in{padding:43px 0 24px}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.footer p{font-size:12px;color:#7c89a0;max-width:360px}.footer h4{font-weight:560;font-size:12.5px;margin:0 0 12px}.footer ul{list-style:none;padding:0;margin:0}.footer li{padding:3px 0;font-size:12px;color:#72829c}.copyright{border-top:1px solid #e6edf9;margin-top:28px;padding-top:18px;color:#98a5b9;font-size:11px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.page-hero{background:linear-gradient(120deg,#f8fbff,#eff7ff);padding:53px 0 50px;border-bottom:1px solid #eaf1fc}.page-hero h1{font-size:31px;margin:10px 0 15px}.page-hero p{max-width:700px;color:#75849d;font-size:13px}.article{max-width:840px;margin:0 auto;padding:48px 24px 72px}.article h2{font-size:22px;letter-spacing:-.4px;margin-top:35px;font-weight:560}.article h3{font-size:15px;font-weight:540;margin-top:24px}.article p,.article li{font-size:14px;color:#596a85;line-height:1.88}.article a{color:#3473cf}.article code:not(pre code){font-size:.91em;background:#eef5ff;border-radius:4px;padding:2px 5px}.codebox{border-radius:12px;border:1px solid #dce7f6;overflow:hidden;margin:20px 0;background:#f8fbff}.codebox .codebar{display:flex;justify-content:space-between;padding:8px 14px;background:#e9f2ff;font-size:11px;color:#6380ac}.codebox button{font-size:11px;border:0;color:#376fbd;background:#fff;padding:3px 9px;border-radius:6px}.codebox pre{font:12px/1.75 Consolas,monospace;padding:18px;margin:0;overflow:auto;white-space:pre;color:#37536e}.note{padding:15px 18px;background:#ecf9f4;border-left:3px solid #67cdad;border-radius:8px;color:#4f7a71;font-size:13px;margin:19px 0}.contact-box{padding:28px;border:1px solid #e0eaf7;background:#f7faff;border-radius:15px;margin:30px 0}.contact-box p{color:#6e7e95;font-size:13px}.narrow{max-width:700px}.empty{display:none;padding:17px;color:#8291a8;font-size:13px}.cta-panel{padding:32px;border-radius:16px;background:linear-gradient(120deg,#ecf6ff,#f2efff,#fff4fa);border:1px solid #e8e5fc;display:flex;justify-content:space-between;align-items:center;gap:20px}.cta-panel h3{font-size:20px;font-weight:550;margin:0 0 8px}.cta-panel p{font-size:12.5px;color:#77839a;margin:0}.visually-hidden{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:24px;padding:55px 0}.graphic{max-width:620px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.frame{padding:0 18px}.nav{height:auto;min-height:67px;gap:10px;flex-wrap:wrap;padding:12px 0}.nav-links{gap:12px;flex-wrap:wrap}.nav-links a{font-size:11px}.nav-links .optional{display:none}h1{font-size:29px;letter-spacing:-.9px}.section{padding:47px 0}.section h2{font-size:26px}.section-heading{align-items:start;flex-direction:column;gap:8px}.cards,.grid-two,.footer-main{grid-template-columns:1fr}.graphic{min-height:320px;padding:15px}.editor pre{font-size:10.5px;padding:14px}.cta-panel{flex-direction:column;align-items:start}.ad-slot{min-height:96px}.footer-main{gap:24px}}

/* CodeMaster editorial layout — version 2026-10-16 */
.cards{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.card{overflow:hidden}.card h3{font-weight:560;line-height:1.4;font-size:15px}.card p{line-height:1.75}
.card-thumb{display:block;height:148px;overflow:hidden;background:#edf5ff;margin:-20px -20px 19px}
.card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.card-thumb:hover img{transform:scale(1.035)}
.article-shell{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:34px;align-items:start;max-width:1160px;margin:0 auto;padding:36px 0 70px}
.article-main{min-width:0}.article-top h1{font-size:clamp(25px,2.9vw,36px);font-weight:550;letter-spacing:-.7px;line-height:1.25;margin:15px 0;max-width:820px}
.article-top .section-label{font-size:11px}.article-lead{font-size:15px;color:#64738d;line-height:1.85;max-width:790px}
.article-author{display:flex;align-items:center;gap:10px;color:#74849b;font-size:12px;margin:20px 0 24px}
.author-badge{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#e6edff;color:#5066c9;font-size:11px}
.article-banner{margin:0 0 22px}.article-banner img{display:block;width:100%;height:auto;max-height:400px;object-fit:cover;border:1px solid #e5edf7;border-radius:16px;background:#f4f8fd}
.article-banner figcaption,.article-figure figcaption{font-size:11px;color:#8794aa;margin:9px 0 0;line-height:1.6}
.article-copy{max-width:840px}.article-copy p,.article-copy li{font-size:13.5px;line-height:1.92;color:#52657f}.article-copy p{margin:14px 0 16px}
.article-copy h2{font-size:21px;font-weight:560;letter-spacing:-.35px;line-height:1.35;margin:36px 0 14px;scroll-margin-top:110px;color:#2e435d}
.article-copy h3{font-size:15.5px;font-weight:550;margin-top:25px;line-height:1.55;color:#314a65}
.article-copy a{color:#3469d3;text-decoration:underline;text-decoration-color:#ced9f7;text-underline-offset:3px}
.article-copy li{padding-left:3px;margin:8px 0}.article-copy ol,.article-copy ul{padding-left:24px}
.article-copy code:not(pre code){color:#476391;font-size:.94em;background:#eef4ff;padding:2px 5px;border-radius:5px}
.article-toc{background:linear-gradient(115deg,#f4f9ff,#faf7ff);border:1px solid #e7eafa;border-radius:14px;padding:19px 22px;margin:20px 0 30px}
.article-toc span{display:block;font-size:13px;color:#37577e;font-weight:550}.article-toc ol{columns:2;column-gap:20px;margin-bottom:0;padding-left:22px}.article-toc li{font-size:12px;margin:8px 0;break-inside:avoid}
.article-toc li a{color:#516b91;text-decoration:none}.article-toc li a:hover{color:#376de0}
.article-figure{margin:25px 0}.article-figure img{width:100%;height:auto;border-radius:14px;border:1px solid #e5edf7;background:#f3faff}
.article-side{position:sticky;top:100px;display:grid;gap:20px}.side-panel{background:linear-gradient(130deg,#f5faff,#fff);border:1px solid #e4ebf6;border-radius:16px;padding:19px;color:#6a7992;font-size:12px}
.side-panel h3{font-size:17px;font-weight:560;color:#355274;margin:10px 0 8px}.side-panel p{line-height:1.8}
.side-label{color:#5975bb;font-size:10px;letter-spacing:1.4px;text-transform:uppercase}
.side-panel ul{margin:16px 0 0;padding-left:15px}.side-panel li{line-height:1.6;margin:8px 0}.side-panel a:hover{color:#386bd4}
.related{margin-top:39px;padding-top:13px;border-top:1px solid #e6eef9}.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.related-grid a{display:flex;flex-direction:column;padding:15px;border:1px solid #e6edf8;border-radius:12px;text-decoration:none;background:#fafcff;gap:5px}
.related-grid a strong{font-weight:550;color:#344a67;font-size:13px;line-height:1.5}.related-grid a span,.related-grid a small{color:#7992bc;font-size:11px}
.responsive-table{overflow-x:auto;border-radius:10px;border:1px solid #e5ecf6;margin:22px 0}.responsive-table table{width:100%;border-collapse:collapse;min-width:600px;font-size:12px}.responsive-table th{text-align:left;color:#4f6b90;background:#edf5ff;font-weight:550}.responsive-table td,.responsive-table th{padding:12px 14px;border-bottom:1px solid #e9eef7}.responsive-table td{color:#576b82}.responsive-table tr:last-child td{border-bottom:0}
.article-shell .codebox pre{white-space:pre;max-width:100%;overflow-x:auto}.article-shell .codebox code{font-size:12px}
.breadcrumb{font-size:11px;color:#567fb3;display:inline-block;margin-bottom:14px}.article-copy .note{font-size:12px;line-height:1.7}
@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.article-shell{grid-template-columns:1fr}.article-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.cards{grid-template-columns:1fr}.article-shell{padding:24px 0 48px}.article-toc ol{columns:1}.article-side,.related-grid{grid-template-columns:1fr}.article-top h1{font-size:27px}.article-copy h2{font-size:19px}.card-thumb{height:185px}}
