:root{--bg:#fff;--surface:#fff;--surface-2:#f8f8fc;--surface-hover:#e8f1fd;--line:#dfe1eb;--text:#1d1e28;--muted:#686b7b;--blue:#0967e6;--blue-soft:#dceaff;--accent:#0967e6;--input-bg:#fff;--output-bg:#f8f8fc;--shadow:0 12px 34px rgba(9,103,230,.09)}
[data-theme="dark"]{--bg:#000;--surface:#000;--surface-2:#202027;--surface-hover:#202d40;--line:#373842;--text:#f0f0f4;--muted:#aaabb7;--blue:#5fa1f5;--blue-soft:#102b51;--accent:#0967e6;--input-bg:#000;--output-bg:#16161b;--shadow:0 16px 48px rgba(0,0,0,.6);color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Google Sans","Roboto Flex",Roboto,"Noto Sans Sinhala",Arial,sans-serif;background:var(--bg);color:var(--text)}html{zoom:.92;scroll-behavior:smooth}body{min-height:100vh;transition:background .2s,color .2s}button{font:inherit;color:inherit}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
.icon{font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;font-size:24px;line-height:1;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 10px}
.brand-wrap,.top-actions{display:flex;align-items:center}.brand-wrap{gap:6px}.top-actions{gap:8px}
.brand{display:flex;align-items:baseline;gap:1px;font-family:"Google Sans","Roboto Flex",Roboto,sans-serif;font-size:23px;letter-spacing:-.65px;white-space:nowrap;text-decoration:none}.brand:hover{text-decoration:none}.brand-name{font-weight:680;color:#0c2b76}.brand-dot{font-weight:700;color:#ff0b78}.brand-type{font-weight:330;color:#0967e6}[data-theme="dark"] .brand-name{color:#e5ebff}[data-theme="dark"] .brand-type{color:#69a8ff}
.icon-btn{border:0;background:transparent;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:var(--muted);transition:background .15s,color .15s,transform .15s}.icon-btn:hover{background:var(--surface-hover);color:var(--text)}.icon-btn:active{transform:scale(.94)}
.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s;z-index:40}.drawer-backdrop.open{opacity:1;visibility:visible}
.side-drawer{position:fixed;top:0;bottom:0;left:0;width:min(320px,82vw);z-index:41;background:var(--output-bg);transform:translateX(-102%);transition:transform .24s ease;box-shadow:18px 0 50px rgba(0,0,0,.24);display:flex;flex-direction:column;overflow-y:auto}.side-drawer.open{transform:translateX(0)}
.drawer-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 22px;border-bottom:1px solid var(--line)}#closeMenuBtn{display:none}.drawer-brand{font-family:"Google Sans","Roboto Flex",Roboto,sans-serif;font-size:22px;letter-spacing:-.8px;display:flex;align-items:baseline;gap:1px}
.drawer-nav{padding:6px 0}.drawer-link{min-height:54px;padding:0 22px;display:flex;align-items:center;gap:14px;color:var(--text);font-size:16px;font-weight:300;text-decoration:none;transition:background .15s}.drawer-link:hover,.drawer-link:focus-visible{background:var(--surface-hover);outline:0;text-decoration:none}.drawer-link .icon{font-size:23px;color:var(--muted)}.drawer-separator{height:1px;background:var(--line);margin:6px 0}.drawer-note{margin-top:auto;padding:14px 24px;color:var(--muted);font-size:12px;line-height:1.6;text-align:left}
.subnav{position:relative;display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.subnav::-webkit-scrollbar{display:none}
.subnav a{position:relative;color:var(--muted);font-size:14px;font-weight:500;padding:15px 12px;white-space:nowrap;text-decoration:none;transition:color .28s}.subnav a:hover{color:var(--text);text-decoration:none}.subnav a.active{color:var(--text)}
.subnav-bar{position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--blue);border-radius:2px 2px 0 0;transition:left .3s cubic-bezier(.4,0,.2,1),width .3s cubic-bezier(.4,0,.2,1)}
.subnav+h1{margin-top:34px}
main{max-width:820px;margin:0 auto;padding:0 24px 80px}
h1{font-family:"Poppins","Noto Sans Sinhala",sans-serif;font-size:42px;font-weight:600;letter-spacing:-.8px;line-height:1.2;margin:56px 0 14px}
.lede{font-size:16px;color:var(--muted);line-height:1.85;margin:0 0 14px;max-width:680px;text-align:justify;text-justify:inter-word;hyphens:auto}
.updated{font-size:13px;color:var(--muted);margin:-6px 0 20px}
.copy{font-size:15px;line-height:1.9;color:var(--text);margin:0 0 14px;max-width:760px;text-align:justify;text-justify:inter-word;hyphens:auto}
section{border-top:1px solid var(--line);padding:40px 0}
section:first-of-type{border-top:0;padding-top:36px}
h2{font-family:"Poppins","Noto Sans Sinhala",sans-serif;font-size:27px;font-weight:600;letter-spacing:-.4px;line-height:1.3;margin:0 0 14px}
section p{font-size:15px;line-height:1.85;color:var(--text);margin:0 0 14px;max-width:720px}
section p.dim{color:var(--muted)}
section p.route{margin-bottom:10px}
section code{background:var(--surface-hover);padding:1px 6px;border-radius:5px;font-size:13px}
.readlink{display:inline-block;font-size:14px;font-weight:500;margin-top:4px}
.social-grid{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 4px}
.social-link{width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:16px;color:var(--muted);background:var(--surface-2);transition:color .15s,background .15s,transform .15s}
.social-link:hover{background:var(--surface-hover);transform:translateY(-2px);text-decoration:none}
.social-link svg{width:22px;height:22px;fill:currentColor;display:block}
.social-link.tiktok:hover{color:#000}
.social-link.facebook:hover{color:#1877f2}
.social-link.youtube:hover{color:#ff0000}
.social-link.github:hover{color:#181717}
.social-link.linkedin:hover{color:#0a66c2}
.social-link.x:hover{color:#000}
.social-link.instagram:hover{color:#e1306c}
[data-theme="dark"] .social-link.tiktok:hover,[data-theme="dark"] .social-link.github:hover,[data-theme="dark"] .social-link.x:hover{color:#ffffff}
.keymap{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:12px 0 4px}
.keymap-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border:0;border-radius:12px;background:var(--surface-2)}
.keymap-item .uni{font-family:"Noto Sans Sinhala",Roboto,sans-serif;font-size:19px;line-height:1.2;color:var(--text)}
.keymap-item .rom{font-size:13px;color:var(--muted);text-align:right}
.q{font-weight:500;margin-bottom:4px}
.a{color:var(--muted)}
@media(max-width:640px){.topbar{height:64px;padding:0 10px 0 6px}.brand{font-size:19px}h1{font-size:31px;margin-top:36px}h2{font-size:23px}main{padding:0 18px 60px}}