.rules-intro{margin:3px 0 27px}.rules-title-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.rules-title-row .section-title{font-size:37px;line-height:1.3;margin-top:10px}.rules-title-row .section-intro{max-width:640px;line-height:1.95;margin:15px 0 0}.rules-emblem{width:82px;height:82px;display:grid;place-items:center;border:1px solid var(--line);border-radius:21px;background:var(--panel);color:var(--gold);transform:rotate(-5deg);flex-shrink:0;margin:0 18px 0 5px}.rules-emblem svg{width:40px;height:40px;transform:rotate(5deg);stroke-width:1}.rules-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:27px;border:1px solid var(--line);background:var(--paper);border-radius:12px;overflow:hidden}.rules-stats>div{padding:19px 24px;display:flex;flex-direction:column;gap:3px}.rules-stats>div+div{border-left:1px solid var(--line)}.rules-stats strong{font-family:Georgia,serif;font-size:32px;font-weight:400;color:var(--green);line-height:1.3}.rules-stats strong small{font-family:Manrope,Arial,sans-serif;font-size:13px}.rules-stats span{font-size:11px;color:var(--muted)}.rules-mode{display:flex;gap:4px;padding:4px;background:var(--panel);border-radius:9px;width:max-content;margin-bottom:20px;max-width:100%}.rules-mode button{padding:9px 19px;min-height:41px;border-radius:6px;font-size:12px;color:var(--muted)}.rules-mode button.active{background:var(--paper);color:var(--green);font-weight:600;box-shadow:0 1px 5px #243c3410}.rules-discovery{margin:0 0 27px}.rules-search{display:flex;gap:13px;align-items:center;background:var(--paper);padding:13px 16px;border:1px solid var(--line);border-radius:10px}.rules-search:focus-within{border-color:var(--gold)}.rules-search>svg{color:var(--gold);width:19px}.rules-search input{width:100%;min-width:0;background:none;outline:none;border:0;font-size:13px}.rules-filter-row{display:flex;align-items:flex-end;gap:12px;margin:13px 0 19px;flex-wrap:wrap}.rules-filter-row label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted);min-width:170px}.rules-filter-row select{min-height:40px;border:1px solid var(--line);border-radius:7px;padding:8px 30px 8px 10px;font-size:12px;max-width:100%}.rules-filter-row>.text-button{margin-left:auto;min-height:40px;font-size:11px}.rules-filter-row>.text-button svg{width:14px}.rules-category-list{display:flex;flex-wrap:wrap;gap:7px}.rules-category-list>button{display:flex;align-items:center;gap:7px;padding:8px 12px;min-height:36px;background:var(--paper);border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:10px}.rules-category-list>button>span{opacity:.65;font-size:9px}.rules-category-list>button.active{background:var(--green);border-color:var(--green);color:var(--paper)}.rules-category-list>button:hover{border-color:var(--gold)}.rules-results-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 16px}.rules-results-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:400;scroll-margin-top:25px}.rules-results-heading>span{color:var(--muted);font-size:11px;text-align:right}.rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.rule-card{position:relative;display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:22px;min-width:0;transition:border-color .15s,box-shadow .15s}.rule-card:hover{border-color:var(--gold);box-shadow:0 5px 20px #203c3008}.rule-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;font-size:9px;color:var(--gold);line-height:1.8}.rule-card-top>span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}.rule-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.45;margin:12px 0 10px}.rule-card h3 a{color:var(--ink);text-decoration:none}.rule-card h3 a:hover{color:var(--green);text-decoration:underline;text-decoration-thickness:1px}.rule-card>p{font-size:12px;line-height:1.95;color:var(--muted);margin-bottom:17px}.rule-chips{display:flex;flex-wrap:wrap;gap:5px}.rule-chip{display:inline-block;font-size:9px;padding:3px 8px;background:var(--panel);border-radius:4px;line-height:1.7;color:var(--muted)}.rule-type-yasak{color:#9b5145;background:#f7ebe6}.rule-type-izin{color:#3d694c;background:#eaf1e7}.rule-type-kefaret,.rule-type-yaptirim{color:#896724;background:#f4eedf}.rule-card .rule-chips{margin-top:auto}.rule-card-bottom{margin-top:17px;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;color:var(--muted)}.rule-card-bottom>a{font-size:10px;white-space:nowrap;text-decoration:none;display:flex;align-items:center;gap:7px}.rule-card-bottom>a svg{width:15px;height:15px}.rules-scope-label{font-size:12px;color:var(--muted);margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.rules-scope-label a{font-size:11px;white-space:nowrap}.rules-pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin:27px 0}.rules-pagination>.pill{min-height:41px;min-width:100px}.rules-pagination>span{font-size:12px;color:var(--muted)}.rules-method{margin:32px 0 0;border:1px solid var(--line);border-radius:9px;background:var(--panel);font-size:12px;line-height:1.95}.rules-method>summary{padding:17px 20px;cursor:pointer;font-weight:600}.rules-method>div{border-top:1px solid var(--line);padding:15px 20px 20px;color:var(--muted)}.rules-method p+p{margin-top:12px}.rules-method strong{color:var(--ink);font-weight:600}.rules-loading{min-height:45vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--muted);font-size:13px}.rule-detail-nav{display:flex;justify-content:space-between;gap:15px;margin-bottom:25px}.rule-detail-nav .text-button{font-size:11px;min-height:37px}.rule-detail header .section-title{font-size:36px;line-height:1.4;margin:11px 0 18px}.rule-summary{margin:24px 0 16px;background:var(--green-light);border-radius:10px;padding:21px 24px;border-left:3px solid var(--gold)}.rule-summary p{font-size:15px;line-height:1.95}.rule-editorial-label{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.7px;color:var(--muted);margin-bottom:8px}.rule-reference-links{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:27px}.rule-reference-links button{border:1px solid var(--line);border-radius:5px;padding:5px 10px;font-size:11px;text-decoration:none;background:var(--paper)}.rule-info{padding:20px 22px;background:var(--paper);border:1px solid var(--line);border-radius:9px;margin:15px 0}.rule-info h2{font-size:13px;font-weight:600;margin:0 0 9px}.rule-info p{font-size:13px;line-height:1.95;color:var(--muted);white-space:pre-line}.rule-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.rule-info-grid .rule-info{margin:0}.rule-info-grid .rule-info:last-child:nth-child(odd){grid-column:1/-1}.rule-consequence{border-left:2px solid var(--gold)}.rule-evidence{margin-top:34px}.rule-evidence-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:11px}.rule-evidence-heading h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin-top:7px}.rule-evidence-heading>span{font-size:10px;color:var(--muted);text-align:right}.rules-helper{font-size:11px;color:var(--muted);line-height:1.9;margin:9px 0 17px}.rule-evidence-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:23px 26px;margin:13px 0;scroll-margin-top:20px}.rule-evidence-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.rule-evidence-card-head h3{font-size:12px;color:var(--gold);font-weight:500}.rule-evidence-card-head a{font-size:10px;white-space:nowrap}.rule-arabic{font-family:AmiriQuran,serif;font-size:var(--arabic);line-height:2.35;text-align:right;margin:15px 0 19px;white-space:pre-wrap;overflow-wrap:break-word}.rule-arabic>span{font-size:21px;color:var(--gold)}.rule-meal-label{display:block;font-size:9px;color:var(--gold);letter-spacing:.4px;margin-bottom:9px}.rule-meal{font-size:var(--translation);line-height:2;white-space:pre-wrap}.rule-evidence-actions{display:flex;flex-wrap:wrap;gap:21px;margin-top:17px;padding-top:12px;border-top:1px solid var(--line)}.rule-evidence-actions>.text-button{font-size:10px;min-height:32px}.rule-tafsir{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:24px;margin:27px 0}.rule-tafsir>div:first-child{display:flex;gap:11px;align-items:center}.rule-tafsir h2{font-size:17px;font-weight:500}.rule-tafsir p{color:var(--muted);font-size:12px;line-height:1.95;margin:13px 0 16px}.rule-tafsir>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.rule-tafsir a{font-size:11px;background:var(--paper);border:1px solid var(--line);padding:8px 11px;border-radius:6px;text-decoration:none;display:flex;align-items:center;gap:9px;min-height:39px}.rule-tafsir svg{width:16px}.rule-example{border-left:2px solid var(--gold)}.rule-example-note{margin-top:-4px}.rule-related-verses{margin:26px 0}.rule-related-verses h2{font-size:16px;margin-bottom:12px}.rule-related-verses>div{display:flex;gap:16px;flex-wrap:wrap}.rule-related-verses .text-button{font-size:12px}.rules-related{margin-top:39px;padding-top:28px;border-top:1px solid var(--line)}.rules-related>h2{font-family:Georgia,serif;font-weight:400;font-size:25px;margin-bottom:17px}.rules-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rules-linked-topics{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.rules-linked-topics>span{font-size:10px;color:var(--gold);width:100%}.rules-linked-topics>a{font-size:10px;background:var(--panel);border-radius:4px;padding:4px 8px;text-decoration:none}.rule-verse-result .result-heading a{font-size:10px}.verse-bottom .verse-rules-link{margin-left:auto;font-size:9px;gap:5px;display:inline-flex;align-items:center;text-decoration:none}.verse-rules-link svg{width:13px;height:13px}.rules-verse-list{display:grid;gap:12px}.rules-verse-list .result-card{margin:0}
body.dark .rule-type-yasak{color:#efb0a1;background:#422f29}body.dark .rule-type-izin{color:#bed9b8;background:#293f2c}body.dark .rule-type-kefaret,body.dark .rule-type-yaptirim{color:#e2c887;background:#453d28}body.dark .rules-category-list>button.active{color:var(--bg)}
@media(min-width:1500px){.rules-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rule-card h3{font-size:24px}}
@media(max-width:1000px){.rules-title-row .section-title{font-size:32px}.rules-stats>div{padding:17px}.rules-stats span{font-size:10px}.rules-emblem{width:65px;height:65px;margin-right:0}.rule-card{padding:20px}.rule-card h3{font-size:22px}.rule-card-top{font-size:8px}.rules-filter-row label{min-width:150px}.rules-filter-row>.text-button{font-size:10px}.rule-summary p{font-size:14px}.rule-detail header .section-title{font-size:32px}}
@media(max-width:760px){.topbar .nav{gap:12px}.topbar .nav-button{font-size:10px;gap:4px}.topbar .nav-button svg{width:15px;height:15px}.topbar{gap:9px;padding-left:14px;padding-right:14px}.rules-title-row .section-title{font-size:30px;line-height:1.35}.rules-title-row .section-intro{font-size:12px;line-height:1.9;margin-top:12px}.rules-title-row .section-intro br{display:none}.rules-emblem{display:none}.rules-stats{margin-top:23px;border-radius:9px}.rules-stats>div{padding:15px 12px}.rules-stats strong{font-size:27px}.rules-stats strong small{font-size:10px}.rules-stats span{font-size:9px;line-height:1.7}.rules-intro>.eyebrow{font-size:8px}.rules-mode{margin-bottom:18px}.rules-mode button{font-size:11px;padding:8px 14px;min-height:39px}.rules-search{gap:9px;padding:11px}.rules-search input{font-size:11px}.rules-search svg{width:16px}.rules-filter-row{gap:10px;margin-bottom:17px}.rules-filter-row label{flex:1;min-width:130px;font-size:9px}.rules-filter-row select{font-size:11px;padding-right:20px;min-height:41px;width:100%}.rules-filter-row>.text-button{margin-left:0;font-size:10px;min-height:25px}.rules-category-list{gap:6px}.rules-category-list>button{font-size:9px;padding:7px 9px;min-height:35px}.rules-category-list>button>span{font-size:8px}.rules-grid{gap:11px}.rule-card{padding:18px}.rule-card h3{font-size:23px}.rule-card-top{font-size:9px}.rule-card>p{font-size:12px}.rules-results-heading h2{font-size:24px}.rules-results-heading>span{font-size:10px}.rules-scope-label{font-size:11px}.rules-method>summary{padding:15px 17px;font-size:11px}.rules-method>div{padding:15px 17px;font-size:11px}.rules-pagination{gap:19px}.rules-pagination>.pill{min-width:90px}.rule-detail-nav{margin-bottom:18px;gap:10px}.rule-detail-nav .text-button{font-size:10px}.rule-detail header .section-title{font-size:30px;line-height:1.4;margin-top:11px}.rule-summary{padding:17px 19px;margin-top:22px}.rule-summary p{font-size:14px}.rule-reference-links button{font-size:10px}.rule-info-grid{grid-template-columns:1fr}.rule-info{padding:18px 20px}.rule-info p{font-size:12px}.rule-evidence-heading h2{font-size:25px}.rule-evidence-heading>span{font-size:9px}.rule-evidence-card{padding:18px 19px}.rule-evidence-card-head{align-items:flex-start;gap:12px}.rule-evidence-card-head h3{font-size:10px}.rule-evidence-card-head a{font-size:9px}.rule-arabic{font-size:calc(var(--arabic) - 3px);line-height:2.3}.rule-meal{font-size:calc(var(--translation) - 1px);line-height:1.95}.rule-tafsir{padding:20px}.rule-tafsir p{font-size:11px}.rule-tafsir a{font-size:10px}.rules-related-grid{grid-template-columns:1fr}.rule-verse-result .result-heading{align-items:flex-start;gap:12px}.rule-verse-result .result-heading strong{font-size:11px}.verse-bottom{flex-wrap:wrap}.verse-bottom .verse-rules-link{font-size:8px}.rules-grid{grid-template-columns:1fr}}
@media(max-width:390px){.topbar .nav{gap:8px}.topbar .nav-button{font-size:9px}.topbar .nav-button svg{display:none}.rules-stats>div{padding:13px 9px}.rules-stats strong{font-size:25px}.rules-stats span{font-size:8px}.rules-title-row .section-title{font-size:28px}.rules-filter-row label{min-width:120px}.rule-detail header .section-title{font-size:28px}.rule-detail-nav .text-button{font-size:9px}.rule-evidence-card{padding:16px}.verse-bottom .verse-rules-link{margin-left:0}}
@media(max-width:480px){.topbar .nav{gap:10px;min-width:0}.topbar .nav-button{gap:0;padding-left:2px;padding-right:2px}.topbar .nav-button svg{display:none}.topbar .top-actions{flex-shrink:0}.topbar .mobile-menu{flex-shrink:0}}

.meal-source-note{display:block;font-family:Manrope,Arial,sans-serif;font-size:11px;line-height:1.9;color:var(--muted);margin-top:13px;padding-top:10px;border-top:1px solid var(--line)}.meal-source-note a{font-size:11px}.rule-source-examples{margin:30px 0}.rule-source-examples>h2{font-size:21px;margin:8px 0 18px}.rule-example-refs{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.rule-example-refs .text-button{font-size:11px}.rule-source-examples .rule-info p{color:var(--ink)}
