.fc-library{margin:32px 0 64px}.fc-intro{max-width:720px;margin:0 auto 24px;text-align:center}.fc-intro h1{font-size:clamp(28px,4vw,42px);line-height:1.3;margin:12px 0}.fc-intro p{line-height:1.7;color:#56758a}.fc-nav{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:25px}.fc-nav a{background:#e9f5fc;color:#24506a;border-radius:30px;padding:9px 18px;text-decoration:none;font-weight:700}.fc-filters{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px;padding:20px;background:white;border:1px solid #dce9f0;border-radius:20px}.fc-filters label{display:flex;flex-direction:column;gap:5px;font-weight:700}.fc-filters input,.fc-filters select{min-height:45px;width:100%;border:1px solid #cbdce5;border-radius:10px;padding:8px 12px;color:#24506a;background:#f8fbfd;font:inherit}.fc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.fc-card{background:white;border:1px solid #dce9f0;border-radius:20px;overflow:hidden;box-shadow:0 6px 20px #24506a06;display:flex;flex-direction:column}.fc-cover{position:relative;padding:18px 12px;background:#e9f5fc;aspect-ratio:1.25;overflow:hidden}.fc-cover svg{width:100%;height:100%}.fc-cover span{position:absolute;top:9px;right:10px;background:white;border-radius:20px;padding:3px 10px;font-size:12px;font-weight:700}.fc-story,.fc-order{background:#fff4d7}.fc-card-copy{padding:18px;display:flex;flex:1;flex-direction:column}.fc-card h2{font-size:19px;line-height:1.3;margin:8px 0;color:#24506a}.fc-card small{color:#6b8090}.fc-card p{font-size:14px;line-height:1.5;margin:0 0 16px;color:#56758a}.fc-card button{margin-top:auto;border:0;cursor:pointer;justify-content:center;font:inherit;font-weight:700;min-height:44px}.fc-note{font-size:14px;color:#56758a;line-height:1.6;margin-top:25px}#fc-dialog{width:min(920px,calc(100% - 24px));max-height:90dvh;margin:auto;border:1px solid #cddfe9;border-radius:22px;padding:0;background:#f6fafc;color:#24506a;font-family:Tajawal,sans-serif;text-align:right;direction:rtl;overflow:auto}#fc-dialog::backdrop{background:#132d47aa;backdrop-filter:blur(4px)}.fc-dialog-bar{display:flex;align-items:center;justify-content:space-between;padding:15px 24px;background:white;position:sticky;top:0;z-index:1;border-bottom:1px solid #dce9f0}.fc-dialog-bar h2{font-size:23px;margin:0}.fc-dialog-bar button{border:0;background:#e9f5fc;color:#24506a;width:42px;height:42px;border-radius:50%;font-size:28px;cursor:pointer}.fc-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 20px}.fc-controls button{background:#24506a;border:0;border-radius:10px;padding:10px 15px;color:white;font:inherit;cursor:pointer;min-height:42px}.fc-controls button:disabled{opacity:.4;cursor:default}.fc-controls label{font-size:14px}.fc-controls #fc-print{background:#f7c85b;color:#18374b}.fc-controls [hidden]{display:none!important}#fc-message{padding:0 20px;color:#56758a;font-size:14px}#fc-content{padding:0 20px 20px}.fc-story-page{background:white;padding:22px;border-radius:18px;border:1px solid #dce9f0}.fc-story-picture{max-width:480px;margin:auto;background:#edf7fc;border-radius:15px}.fc-story-page p{font-size:clamp(20px,3vw,26px);line-height:1.8;max-width:720px;margin:22px auto 0;color:#193c52}.fc-story-page details{padding:15px;border-bottom:1px solid #dce9f0}.fc-story-page summary{font-size:20px;cursor:pointer}.fc-story-page details p{font-size:18px}.fc-art svg{display:block;width:100%;height:auto}.fc-paper{background:white;color:#172f40;padding:24px 30px;max-width:740px;margin:12px auto;border:1px solid #dce9f0;box-sizing:border-box;font-size:17px;line-height:1.5}.fc-paper header{border-bottom:2px solid #24506a;margin-bottom:15px}.fc-paper header span{font-size:13px}.fc-paper h1{font-size:28px;margin:8px 0}.fc-paper h2{font-size:19px}.fc-paper .fc-art{max-width:580px;margin:auto}.fc-paper .fc-mini-art{max-width:270px;margin:auto}.fc-writing{height:40px;border-bottom:1px dashed #85949e}.fc-question{margin-top:15px}.fc-draw-box{height:110px;border:1px dashed #84949e;border-radius:10px;padding:8px;color:#718592}.fc-find-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.fc-find-grid div{border:1px solid #85949e;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:15px}.fc-paste-grid,.fc-cut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.fc-paste-grid>div{border:1px solid #85949e;min-height:100px;display:flex;flex-direction:column;gap:15px;padding:8px}.fc-cut-grid>div{border:1px dashed #85949e;min-height:160px;font-size:14px;text-align:center;padding:8px}.fc-step-art svg{width:100%;height:105px}.fc-paper footer{font-size:11px;margin-top:18px;color:#647887}.fc-maze svg,.fc-symmetry svg{width:100%;max-height:490px;display:block}.fc-answer{page-break-before:always}.fc-story-print p{font-size:20px;line-height:1.8}.fc-story-print .fc-art{max-width:360px}.fc-paper [hidden],.fc-story-page[hidden]{display:none!important}#fc-print-root{display:none}.fc-no-print{display:none!important}#fc-count{margin:20px 0}.fx-library-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.fc-cover.fc-has-photo{padding:0;background:#e9f5fc}.fc-cover.fc-has-photo img{display:block;width:100%;height:100%;object-fit:cover}.fc-cover.fc-has-photo span{z-index:1;box-shadow:0 2px 8px #18374b1f}.fc-story-picture .fc-story-cover{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:15px}
@media(max-width:950px){.fc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.fc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fc-filters{grid-template-columns:1fr 1fr}.fc-filters label:last-child{grid-column:1/-1}.fc-card-copy{padding:12px}.fc-card h2{font-size:17px}.fc-card p{font-size:13px}.fc-paper{padding:16px}.fc-paste-grid,.fc-cut-grid{grid-template-columns:repeat(2,1fr)}.fc-find-grid{gap:5px}.fc-story-page{padding:15px}.fc-dialog-bar{padding:12px}.fc-dialog-bar h2{font-size:20px}.fx-library-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@page{size:A4;margin:12mm}
@media print{body.fc-printing>*{display:none!important}body.fc-printing #fc-print-root{display:block!important}body.fc-printing .fc-paper{width:100%;max-width:none;border:0;margin:0;box-shadow:none;padding:0;break-after:page;font-family:Tajawal,sans-serif;font-size:15px}body.fc-printing .fc-paper:last-child{break-after:auto}body.fc-printing .fc-paper h1{font-size:25px}body.fc-printing .fc-art{max-width:560px}body.fc-printing .fc-mini-art{max-width:200px}body.fc-printing .fc-paste-grid,body.fc-printing .fc-cut-grid{grid-template-columns:repeat(4,1fr)}body.fc-printing .fc-paper .fc-draw-box{height:80px}body.fc-printing .fc-story-print .fc-art{max-width:330px}body.fc-printing .fc-no-print{display:none!important}body.fc-printing *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
