@font-face{font-family:SG Nastaliq;src:url(/fonts/nastaliq-v1.woff2)format("woff2");font-display:swap;unicode-range:U+6??,U+200C-200D}@font-face{font-family:SG Naskh;src:url(/fonts/naskh-v1.woff2)format("woff2");font-display:optional;unicode-range:U+6??,U+200C-200D}:root{--bg:#fbf9f4;--surface:#f4f0e7;--ink:#1a1714;--muted:#5f574e;--faint:#8a8076;--rule:#e6dfd2;--accent:#7a2e1f;--accent-ink:#fff;--focus:#7a2e1f;--ok:#2f5d3a;--warn:#8a5a12;--bad:#8f2a1d;--nastaliq:"SG Nastaliq", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "SG Naskh", serif;--naskh:"SG Naskh", "Noto Naskh Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--serif:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;--wrap:46rem;--wide:68rem;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121110;--surface:#1b1917;--ink:#ece6dc;--muted:#b3a99c;--faint:#8f867b;--rule:#2c2925;--accent:#e09a83;--accent-ink:#1a0d08;--focus:#e09a83;--ok:#8cc79a;--warn:#e0b66b;--bad:#f08f7f}}*,:before,:after{box-sizing:border-box}html{-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font-family:var(--naskh);text-rendering:optimizelegibility;margin:0;font-size:1.0625rem;line-height:1.85}[lang=en],[dir=ltr]{font-family:var(--sans);line-height:1.6}a{color:var(--accent);text-underline-offset:.2em;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}h1,h2,h3{margin:0 0 .5em;font-weight:600;line-height:1.5}h1{font-size:1.75rem}h2{font-size:1.3rem}h3{font-size:1.1rem}p{margin:0 0 1em}img,canvas{max-width:100%;height:auto}.skip{position:absolute;inset-inline-start:-999px}.skip:focus{inset-inline-start:1rem;background:var(--bg);z-index:10;padding:.5rem 1rem;top:1rem}.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:1rem}.wide{max-width:var(--wide);margin-inline:auto;padding-inline:1rem}.muted{color:var(--muted)}.small{font-size:.9rem}.en{font-family:var(--sans)}.site-header{border-bottom:1px solid var(--rule)}.site-header .wide{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;min-height:3.75rem;display:flex}.brand{color:var(--ink);font-family:var(--nastaliq);align-items:baseline;gap:.6rem;font-size:1.35rem;line-height:2.4;text-decoration:none;display:inline-flex}.brand small{font-family:var(--sans);color:var(--muted);letter-spacing:.04em;font-size:.75rem}.nav{flex-wrap:wrap;gap:.25rem 1.1rem;font-size:.95rem;display:flex}.nav a{color:var(--ink);padding-block:.6rem;text-decoration:none;display:inline-block}.nav a:hover,.nav a[aria-current=page]{color:var(--accent)}.site-footer{border-top:1px solid var(--rule);color:var(--muted);margin-top:4rem;padding-block:2rem 3rem;font-size:.92rem}.site-footer nav{flex-wrap:wrap;gap:.25rem 1.25rem;margin-bottom:1rem;display:flex}.site-footer a{color:var(--muted);padding-block:.35rem;text-decoration:none;display:inline-block}.site-footer nav a:hover{color:var(--ink);text-decoration:underline}.site-footer p{max-width:40rem}.foot-brand{color:var(--ink);align-items:baseline;gap:.6rem;margin-bottom:.75rem;display:flex}.foot-brand span[lang=ur]{font-family:var(--nastaliq);font-size:1.25rem;line-height:2.2}main{padding-top:2rem;display:block}.crumbs{color:var(--muted);margin-bottom:1.25rem;font-size:.88rem}.crumbs a{color:var(--muted)}.eyebrow{color:var(--muted);margin-bottom:.25rem;font-size:.85rem}.lede{color:var(--muted);font-size:1.05rem}.sher{border-bottom:1px solid var(--rule);padding-block:2rem}.sher:last-of-type{border-bottom:0}.misre{font-family:var(--nastaliq);text-align:center;margin:0 0 .75rem;font-size:clamp(1.3rem,4.6vw,1.75rem)}.misre span{text-wrap:balance;line-height:2.45;display:block}.sher-lg .misre,.misre.sher-lg{font-size:clamp(1.5rem,6vw,2.3rem)}.roman{text-align:center;font-family:var(--serif);color:var(--muted);margin:0 0 1.25rem;font-style:italic;line-height:1.6}.roman span{display:block}.words{background:var(--surface);border-radius:8px;gap:.1rem;margin:0 0 1.5rem;padding:.5rem 1rem;font-size:.92rem;list-style:none;display:grid}.words li{flex-wrap:wrap;align-items:baseline;gap:0 .6rem;padding-block:.3rem;line-height:1.9;display:flex}.words li+li{border-top:1px solid var(--rule)}.words .wt{white-space:nowrap}.words .wd{color:var(--ink)}.words b{font-weight:600}.words .r{font-family:var(--serif);color:var(--muted);font-size:.85rem;font-style:italic}.words .e{font-family:var(--sans);color:var(--muted);font-size:.85rem}.meaning .mh{color:var(--muted);margin:0 0 .2rem;font-size:.9rem;font-weight:600}.meaning p{margin-bottom:.9rem}.meaning .en-meaning{font-family:var(--serif);font-size:1rem;line-height:1.65}.sher-foot{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;font-size:.88rem;display:flex}.actions{flex-wrap:wrap;gap:.5rem;display:flex}.btn{appearance:none;border:1px solid var(--rule);min-height:2.75rem;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:0 1rem;font-size:.92rem;text-decoration:none;display:inline-flex}.btn:hover{border-color:var(--faint)}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-primary:hover{filter:brightness(1.08);border-color:var(--accent)}.chip{border-radius:999px;min-height:2.5rem;padding:0 .85rem;font-size:.88rem}.chip[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--bg)}.grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem;padding:0;list-style:none;display:grid}.card{border:1px solid var(--rule);color:var(--ink);background:var(--bg);border-radius:12px;padding:1.1rem 1.2rem;text-decoration:none;display:block}a.card:hover{border-color:var(--faint);background:var(--surface)}.card .t{font-family:var(--nastaliq);font-size:1.3rem;line-height:2.3}.card .s{color:var(--muted);font-size:.88rem;display:block}.poet-card .t{display:block}.poet-card .pn{color:var(--muted);letter-spacing:.01em;font-size:.82rem;display:block}.sher-card{text-align:center;height:100%}.sher-card .t{margin-bottom:.25rem;font-size:1.1rem;display:block}.sher-card .t span{text-wrap:balance;display:block}.grid-sher{grid-template-columns:repeat(auto-fill,minmax(19rem,1fr))}@media (max-width:640px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.grid-sher{grid-template-columns:1fr}.card{padding:.8rem .9rem}.poet-card .t{font-size:1.12rem;line-height:2.2}.poet-card .pn,.poet-card .s{font-size:.78rem}.poem-list a:has(.pm){flex-direction:column;align-items:stretch;gap:.1rem}.poem-list .pm{white-space:normal}}.poem-list{margin:0;padding:0;list-style:none}.poem-list li{border-bottom:1px solid var(--rule)}.poem-list a{color:var(--ink);justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 0;text-decoration:none;display:flex}.poem-list a:hover .pt{color:var(--accent)}.poem-list .pt{font-family:var(--nastaliq);font-size:1.2rem;line-height:2.3}.poem-list .pm{color:var(--muted);white-space:nowrap;font-size:.85rem}.section{margin-top:3rem}.section>h2{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.section>h2 a{white-space:nowrap;align-items:center;gap:.3rem;font-size:.9rem;font-weight:500;text-decoration:none;display:inline-flex}.section>h2 a:hover{text-decoration:underline}.section>h2 a:after{content:"";background:currentColor;width:.9em;height:.9em;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/contain no-repeat}[dir=rtl] .section>h2 a:after{transform:scaleX(-1)}.hero{border-bottom:1px solid var(--rule);padding-block:.5rem 2.5rem}.hero-intro{text-align:center;max-width:38rem;margin:0 auto 1.75rem}.hero-intro h1{text-wrap:balance;margin-bottom:.4rem;font-size:clamp(1.35rem,4.4vw,1.9rem);line-height:1.55}.hero-intro .lede{text-wrap:pretty;margin-bottom:.6rem;font-size:1rem;line-height:1.9}[dir=ltr] .hero-intro .lede{line-height:1.6}.stats{color:var(--muted);margin:0;font-size:.85rem}.featured{border:1px solid var(--rule);background:var(--surface);text-align:center;border-radius:16px;margin:0;padding:1.5rem 1.25rem}.hero .label{color:var(--accent);border:1px solid var(--rule);background:var(--bg);border-radius:999px;margin:0 0 .75rem;padding:0 .75rem;font-size:.8rem;font-weight:600;line-height:1.9;display:inline-block}.featured .misre{margin-bottom:.5rem}.featured .roman{margin-bottom:1rem;font-size:.95rem}.hero .attrib{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:0 .75rem;margin:0 0 1rem;font-size:.88rem;display:flex}.hero .attrib .poet{color:var(--ink);font-weight:600}.t-meaning{color:var(--muted);text-wrap:pretty;max-width:34rem;margin:0 auto 1.25rem;font-size:.98rem}[dir=ltr].t-meaning{font-family:var(--serif)}.hero .actions{justify-content:center}.hero-search{align-items:center;gap:.5rem;max-width:34rem;margin:1.25rem auto 0;display:flex;position:relative}.hero-search svg{color:var(--faint);pointer-events:none;position:absolute;inset-inline-start:.85rem}.hero-search input{border-color:var(--rule);background:var(--bg);flex:1;min-width:0;min-height:2.9rem;padding-inline-start:2.5rem}.hero-search input:focus{border-color:var(--accent);outline:2px solid color-mix(in srgb, var(--accent) 25%, transparent);outline-offset:0}.hero-search .btn{min-height:2.9rem}@media (min-width:641px){.featured{padding:2.25rem 2.5rem 2rem}.hero{padding-block:1.5rem 3rem}}.note{border:1px solid var(--rule);border-inline-start:3px solid var(--faint);color:var(--muted);background:var(--surface);border-radius:8px;padding:.9rem 1.1rem;font-size:.92rem}.source{font-size:.92rem}.source dt{color:var(--muted);font-size:.85rem}.source dd{margin:0 0 .6rem}.verdict{white-space:nowrap;border:1px solid;border-radius:999px;flex-shrink:0;padding:.1rem .6rem;font-size:.85rem;font-weight:600;display:inline-block}.v-genuine{color:var(--ok)}.v-not_found,.v-other_poet{color:var(--bad)}.v-altered{color:var(--warn)}textarea,input,select{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--faint);border-radius:8px;width:100%;padding:.65rem .8rem}textarea{resize:vertical;min-height:7rem;line-height:2}label{margin-bottom:.35rem;font-size:.92rem;display:block}.field{margin-bottom:1rem}.result{margin-top:1.5rem}.prose h2{margin-top:2rem}.prose li{margin-bottom:.4rem}.table{border-collapse:collapse;width:100%;font-size:.9rem}.table th,.table td{text-align:start;border-bottom:1px solid var(--rule);vertical-align:top;padding:.5rem .4rem}.cardmaker{border:1px solid var(--rule);border-radius:12px;margin-top:2rem;padding:1rem}.cardmaker .preview{background:var(--surface);border-radius:8px;justify-content:center;min-height:16rem;margin-block:1rem;padding:1rem;display:flex}.cardmaker canvas{border-radius:4px;width:auto;max-height:26rem;box-shadow:0 1px 2px #00000014,0 6px 20px #00000014}.opts{flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.6rem;display:flex}.opts .k{color:var(--muted);min-width:4.5rem;font-size:.85rem}.toast{inset-inline:0;background:var(--ink);width:max-content;max-width:calc(100% - 2rem);color:var(--bg);z-index:20;border-radius:8px;margin-inline:auto;padding:.6rem 1rem;font-size:.92rem;position:fixed;bottom:1.5rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:no-preference){.btn,.card,.nav a,.site-footer a,.hero-search input{transition:border-color .15s,background-color .15s,color .15s,filter .15s}}@media print{.site-header,.site-footer,.actions,.cardmaker{display:none}}.site-header .nav{margin-inline-start:auto}.lang{color:var(--ink);padding:.6rem 0;font-size:.92rem}@media (max-width:640px){.site-header .nav{order:3;margin-inline-start:0}.site-header .wide{justify-content:space-between;gap:0;padding-bottom:.25rem}.nav{scrollbar-width:none;flex-wrap:nowrap;gap:.8rem;width:100%;font-size:.86rem;overflow-x:auto}.nav a{white-space:nowrap;padding-block:.5rem}}.poem-list .small[dir=ltr]{padding-bottom:.15rem;line-height:1.5;display:block}[dir=rtl] .poem-list .small[dir=ltr]{text-align:right}
