/* Scrapbook variant of the course files (default on the homepage via <html data-cover-style>).
   The folder stays; its page becomes a light notebook sheet with at most
   three scraps: a stamped week number, a torn topic strip and a taped print. */
html[data-cover-style=scrapbook] .folder.kc-file{
 --ink:#22242d;
 --sheet:color-mix(in srgb,var(--cover-paper) 7%,#fcfaf4);
 --kc-text:#22242d;--kc-soft:#55565b;--kc-rule:#22242d26;--kc-accent:var(--cover-paper);
 --kc-tape:color-mix(in srgb,var(--cover-paper) 42%,transparent);
 color:#22242d}
html[data-cover-style=scrapbook] .five.kc-file{--sheet:#f7f5ef}
html[data-cover-style=scrapbook] .kc-file .folder-body{background-color:var(--sheet);background-image:repeating-linear-gradient(0deg,transparent 0 31px,#22242d0d 31px 32px);background-position:0 18px}
html[data-cover-style=scrapbook] .kc-file .folder-tab{background:var(--cover-paper);color:#f7f7f2}
html[data-cover-style=scrapbook] .kc-weeknav button,html[data-cover-style=scrapbook] .kc-select{background-color:#fff;border-color:#22242d40;color:#22242d}
html[data-cover-style=scrapbook] .kc-weeknav button:hover:not(:disabled){background:#fff;border-color:#22242d}
html[data-cover-style=scrapbook] .kc-select option{color:#22242d}

/* Scrap 1: the week number as a rubber stamp. */
html[data-cover-style=scrapbook] .kc-meta{order:2;margin-top:4px;font-weight:600}
html[data-cover-style=scrapbook] .kc-dot{background:var(--cover-paper)}
html[data-cover-style=scrapbook] .kc-state{color:var(--cover-paper)}
html[data-cover-style=scrapbook] .kc-number{order:1;align-self:flex-start;margin:0 0 18px 2px;padding:10px 18px 8px;border:4px solid var(--cover-paper);border-radius:10px;color:var(--cover-paper);font-size:clamp(64px,7vw,92px);transform:rotate(-4deg);
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.4 2.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.4 2.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* Scrap 2: the topic on a torn paper strip. */
html[data-cover-style=scrapbook] .kc-topic{order:3;margin-top:16px;padding:14px 22px 15px;background:#fff;color:#22242d;font-size:clamp(17px,1.5vw,19px);max-width:none;transform:rotate(.8deg);box-shadow:0 2px 6px #0000001a;
 clip-path:polygon(0 4%,3% 0,9% 3%,16% 0,24% 2%,33% 0,41% 3%,50% 0,58% 2%,67% 0,75% 3%,84% 0,92% 2%,100% 0,99% 50%,100% 100%,92% 97%,84% 100%,75% 98%,66% 100%,58% 97%,49% 100%,41% 98%,33% 100%,24% 97%,16% 100%,8% 98%,0 100%,1% 50%)}
html[data-cover-style=scrapbook] .kc-codes{order:4}
html[data-cover-style=scrapbook] .kc-codes span{color:#62656d}
html[data-cover-style=scrapbook] .kc-actions{order:5}
html[data-cover-style=scrapbook] .kc-links{order:6}
html[data-cover-style=scrapbook] .kc-go{color:var(--cover-paper);border-bottom-width:3px}
html[data-cover-style=scrapbook] .kc-links a{color:#55565b;text-decoration-color:#22242d40}

/* Scrap 3: the first slide as a taped print with a handwritten caption. */
html[data-cover-style=scrapbook] .kc-figure{transform:rotate(1.4deg)}
html[data-cover-style=scrapbook] .kc-preview{padding:12px 12px 12px;background:#fff;box-shadow:0 14px 24px -16px #0007,0 1px 2px #0000001a}
html[data-cover-style=scrapbook] .kc-tape{height:32px;width:110px;background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--cover-paper) 50%,transparent) 0 7px,color-mix(in srgb,var(--cover-paper) 34%,transparent) 7px 14px)}
html[data-cover-style=scrapbook] .kc-figure figcaption{font-family:'Just Me Again Down Here',cursive;font-size:24px;letter-spacing:0;color:#22242d;margin-top:12px}
html[data-cover-style=scrapbook] .kc-zoom{font-family:'IBM Plex Sans',sans-serif;font-size:13px;font-weight:600;color:#55565b}
html[data-cover-style=scrapbook] .kc-empty{background:#f6f2e8}
html[data-cover-style=scrapbook] .kc-empty strong{font:400 28px/1.15 'Just Me Again Down Here',cursive}
html[data-cover-style=scrapbook] .kc-layout :is(a,button,select):focus-visible{outline-color:#22242d}
@media(max-width:760px){html[data-cover-style=scrapbook] .kc-number{font-size:64px}}

/* Palette trials (default: retro, set on <html>). Tab text follows --tab-ink. */
html[data-cover-style=scrapbook] .kc-file .folder-tab{color:var(--tab-ink,#f7f7f2)}
html[data-palette=retro] .five.kc-file{--cover-paper:#2e4a7d}
html[data-palette=retro] .six.kc-file{--cover-paper:#b5486b}
html[data-palette=retro] .robot-file.kc-file{--cover-paper:#c8642a}
html[data-palette=retro] .ai-file.kc-file{--cover-paper:#6a5aa0}
html[data-palette] .five.kc-file{--sheet:color-mix(in srgb,var(--cover-paper) 7%,#fcfaf4)}

/* Torn paper: the folder holds a page torn from a notebook. Loose, not rigid. */
html[data-cover-style=scrapbook] .kc-file .folder-body{background:color-mix(in srgb,var(--cover-paper) 22%,#f6f1e6);background-image:none}
html[data-cover-style=scrapbook] .kc-layout{margin:20px 22px 28px;padding:34px 40px 44px;background:#fffdf8 repeating-linear-gradient(0deg,transparent 0 31px,#22242d0f 31px 32px);background-position:0 22px;transform:rotate(-.35deg);clip-path:polygon(0.0% 0.65%,2.17% 0.41%,4.35% 1.11%,6.52% 0.3%,8.7% 0.95%,10.87% 0.71%,13.04% 0.28%,15.22% 0.91%,17.39% 0.25%,19.57% 0.81%,21.74% 0.3%,23.91% 0.33%,26.09% 0.79%,28.26% 1.36%,30.43% 0.37%,32.61% 0.51%,34.78% 1.08%,36.96% 1.53%,39.13% 1.01%,41.3% 0.76%,43.48% 1.57%,45.65% 0.27%,47.83% 1.4%,50.0% 0.61%,52.17% 0.4%,54.35% 0.36%,56.52% 0.63%,58.7% 1.34%,60.87% 0.45%,63.04% 1.01%,65.22% 1.09%,67.39% 0.72%,69.57% 0.97%,71.74% 0.29%,73.91% 0.28%,76.09% 0.49%,78.26% 1.15%,80.43% 0.8%,82.61% 0.64%,84.78% 1.02%,86.96% 0.83%,89.13% 0.62%,91.3% 1.31%,93.48% 1.18%,95.65% 0.54%,97.83% 1.0%,100.0% 0.94%,100.0% 98.4%,97.83% 98.63%,95.65% 99.34%,93.48% 98.23%,91.3% 99.61%,89.13% 99.13%,86.96% 98.59%,84.78% 99.56%,82.61% 99.02%,80.43% 99.74%,78.26% 98.73%,76.09% 98.58%,73.91% 98.88%,71.74% 98.4%,69.57% 99.3%,67.39% 98.69%,65.22% 98.85%,63.04% 98.87%,60.87% 99.07%,58.7% 98.46%,56.52% 98.29%,54.35% 99.04%,52.17% 98.74%,50.0% 99.7%,47.83% 98.68%,45.65% 98.76%,43.48% 98.21%,41.3% 98.48%,39.13% 99.34%,36.96% 99.18%,34.78% 98.73%,32.61% 99.76%,30.43% 99.06%,28.26% 99.53%,26.09% 99.61%,23.91% 99.71%,21.74% 98.57%,19.57% 99.59%,17.39% 99.4%,15.22% 99.17%,13.04% 98.41%,10.87% 99.67%,8.7% 99.08%,6.52% 98.92%,4.35% 98.39%,2.17% 98.49%,0.0% 98.42%)}
html[data-cover-style=scrapbook] .kc-head{border-bottom:0;padding-bottom:6px}
html[data-cover-style=scrapbook] .kc-eyebrow{color:#62656d}
html[data-cover-style=scrapbook] .kc-file .kc-head h3{display:inline-block;margin-top:10px;padding:8px 16px 7px;background:color-mix(in srgb,var(--cover-paper) 26%,#fff6dc);font-size:22px;transform:rotate(-1.6deg);clip-path:polygon(0 6%,4% 0,96% 3%,100% 0,98% 50%,100% 100%,95% 95%,5% 100%,0 96%,2% 50%)}
html[data-cover-style=scrapbook] .kc-weeknav button,html[data-cover-style=scrapbook] .kc-select{border-radius:12px}
html[data-cover-style=scrapbook] .kc-weeknav{transform:rotate(.6deg)}
html[data-cover-style=scrapbook] .kc-main{padding-top:22px}
html[data-cover-style=scrapbook] .kc-figure{transform:rotate(2deg)}
html[data-cover-style=scrapbook] .kc-tape-left{transform:rotate(-9deg)}
html[data-cover-style=scrapbook] .kc-tape-right{transform:rotate(7deg)}
@media(max-width:760px){html[data-cover-style=scrapbook] .kc-layout{margin:12px 10px 18px;padding:24px 18px 30px}}

/* Torn folder edges: straight top where the tabs sit, torn sides, bottom and corners. */
html[data-cover-style=scrapbook] .kc-file .folder-body{border-radius:0!important;clip-path:polygon(0 0,100% 0,99.48% 4.17%,99.41% 8.33%,99.15% 12.5%,99.47% 16.67%,99.44% 20.83%,99.39% 25.0%,99.67% 29.17%,99.44% 33.33%,99.36% 37.5%,99.24% 41.67%,99.73% 45.83%,99.59% 50.0%,99.74% 54.17%,99.23% 58.33%,99.31% 62.5%,99.77% 66.67%,99.11% 70.83%,99.12% 75.0%,99.34% 79.17%,99.37% 83.33%,99.69% 87.5%,99.79% 91.67%,99.43% 95.83%,98.6% 98.2%,98.8% 99.53%,97.5% 99.37%,95.0% 99.31%,92.5% 99.56%,90.0% 99.04%,87.5% 99.07%,85.0% 98.59%,82.5% 98.98%,80.0% 98.83%,77.5% 99.0%,75.0% 98.81%,72.5% 99.05%,70.0% 99.27%,67.5% 98.4%,65.0% 98.41%,62.5% 98.59%,60.0% 98.75%,57.5% 99.22%,55.0% 99.32%,52.5% 99.25%,50.0% 99.52%,47.5% 98.68%,45.0% 99.12%,42.5% 98.58%,40.0% 99.14%,37.5% 98.45%,35.0% 98.58%,32.5% 99.6%,30.0% 99.35%,27.5% 98.51%,25.0% 99.04%,22.5% 98.42%,20.0% 99.12%,17.5% 99.51%,15.0% 98.84%,12.5% 98.67%,10.0% 99.28%,7.5% 99.5%,5.0% 99.2%,2.5% 98.44%,1.2% 98.69%,1.1% 98.4%,0.28% 95.83%,0.37% 91.67%,0.27% 87.5%,0.24% 83.33%,0.76% 79.17%,0.32% 75.0%,0.59% 70.83%,0.51% 66.67%,0.33% 62.5%,0.71% 58.33%,0.29% 54.17%,0.65% 50.0%,0.28% 45.83%,0.49% 41.67%,0.35% 37.5%,0.39% 33.33%,0.88% 29.17%,0.76% 25.0%,0.41% 20.83%,0.82% 16.67%,0.35% 12.5%,0.48% 8.33%,0.8% 4.17%)}
html[data-cover-style=scrapbook] .kc-file.ai-file .folder-body{border-top-right-radius:0}
@media(min-width:761px){
 html[data-cover-style=scrapbook] .kc-file.five .folder-tab{border-radius:0;clip-path:polygon(calc(0px + (100% - 40px) * 0.0) 0px,calc(0px + (100% - 40px) * 0.071) 3.2px,calc(0px + (100% - 40px) * 0.143) 0.5px,calc(0px + (100% - 40px) * 0.214) 4.9px,calc(0px + (100% - 40px) * 0.286) 1.1px,calc(0px + (100% - 40px) * 0.357) 1.3px,calc(0px + (100% - 40px) * 0.429) 3.9px,calc(0px + (100% - 40px) * 0.5) 1.6px,calc(0px + (100% - 40px) * 0.571) 1.5px,calc(0px + (100% - 40px) * 0.643) 0.4px,calc(0px + (100% - 40px) * 0.714) 0.5px,calc(0px + (100% - 40px) * 0.786) 2.9px,calc(0px + (100% - 40px) * 0.857) 1.2px,calc(0px + (100% - 40px) * 0.929) 3.0px,calc(0px + (100% - 40px) * 1.0) 0px,100% 100%,0 100%)}
 html[data-cover-style=scrapbook] .kc-file:is(.six,.robot-file,.ai-file) .folder-tab{border-radius:0;clip-path:polygon(calc(40px + (100% - 80px) * 0.0) 0px,calc(40px + (100% - 80px) * 0.071) 1.9px,calc(40px + (100% - 80px) * 0.143) 2.3px,calc(40px + (100% - 80px) * 0.214) 4.8px,calc(40px + (100% - 80px) * 0.286) 2.4px,calc(40px + (100% - 80px) * 0.357) 2.9px,calc(40px + (100% - 80px) * 0.429) 4.3px,calc(40px + (100% - 80px) * 0.5) 0.9px,calc(40px + (100% - 80px) * 0.571) 0.8px,calc(40px + (100% - 80px) * 0.643) 4.5px,calc(40px + (100% - 80px) * 0.714) 4.1px,calc(40px + (100% - 80px) * 0.786) 1.2px,calc(40px + (100% - 80px) * 0.857) 0.9px,calc(40px + (100% - 80px) * 0.929) 3.7px,calc(40px + (100% - 80px) * 1.0) 0px,100% 100%,0 100%)}
}
@media(max-width:760px){html[data-cover-style=scrapbook] .kc-file .folder-tab{border-radius:0;clip-path:polygon(calc(0px + (100% - 32px) * 0.0) 0px,calc(0px + (100% - 32px) * 0.071) 4.7px,calc(0px + (100% - 32px) * 0.143) 1.0px,calc(0px + (100% - 32px) * 0.214) 4.8px,calc(0px + (100% - 32px) * 0.286) 4.4px,calc(0px + (100% - 32px) * 0.357) 3.0px,calc(0px + (100% - 32px) * 0.429) 2.1px,calc(0px + (100% - 32px) * 0.5) 0.5px,calc(0px + (100% - 32px) * 0.571) 0.2px,calc(0px + (100% - 32px) * 0.643) 4.8px,calc(0px + (100% - 32px) * 0.714) 1.2px,calc(0px + (100% - 32px) * 0.786) 3.5px,calc(0px + (100% - 32px) * 0.857) 1.3px,calc(0px + (100% - 32px) * 0.929) 4.1px,calc(0px + (100% - 32px) * 1.0) 0px,100% 100%,0 100%)}}

/* Week picker as one torn paper strip (no rounded UI chrome). */
html[data-cover-style=scrapbook] .kc-weeknav{gap:0;padding:6px 8px;background:color-mix(in srgb,var(--cover-paper) 14%,#fff);transform:rotate(1.2deg);box-shadow:none;
 clip-path:polygon(0 8%,6% 0,14% 6%,23% 1%,31% 7%,40% 0,49% 5%,58% 1%,67% 6%,76% 0,85% 5%,93% 1%,100% 7%,98% 50%,100% 93%,92% 100%,84% 95%,75% 100%,66% 94%,57% 100%,48% 95%,39% 100%,30% 94%,21% 100%,12% 95%,4% 100%,0 92%,2% 50%)}
html[data-cover-style=scrapbook] .kc-weeknav button,html[data-cover-style=scrapbook] .kc-select{border:0!important;border-radius:0!important;background-color:transparent!important;height:42px}
html[data-cover-style=scrapbook] .kc-weeknav button{width:40px;font-size:24px;color:var(--cover-paper)}
html[data-cover-style=scrapbook] .kc-weeknav button:hover:not(:disabled){background:color-mix(in srgb,var(--cover-paper) 12%,transparent)!important}
html[data-cover-style=scrapbook] .kc-select-wrap{border-left:2px dashed #22242d33;border-right:2px dashed #22242d33}
html[data-cover-style=scrapbook] .kc-select{font:400 26px/1 'Just Me Again Down Here',cursive;padding:0 34px 0 14px;min-width:170px}
html[data-cover-style=scrapbook] .kc-weeknav :is(button,select):focus-visible{outline:3px solid var(--cover-paper);outline-offset:-4px}

/* Learning outcome as a torn paper note with a handwritten heading; codes as small stamps. */
html[data-cover-style=scrapbook] .kc-topic{position:relative;margin-top:18px;padding:48px 26px 26px;background:color-mix(in srgb,var(--cover-paper) 10%,#fff);font:500 clamp(17px,1.45vw,19px)/1.5 'IBM Plex Sans',sans-serif;transform:rotate(-.9deg);box-shadow:none;clip-path:polygon(0.0% 5.09%,3.85% 5.22%,7.69% 4.91%,11.54% 0.46%,15.38% 3.26%,19.23% 2.33%,23.08% 2.92%,26.92% 0.72%,30.77% 1.06%,34.62% 2.45%,38.46% 1.22%,42.31% 2.5%,46.15% 0.14%,50.0% 0.47%,53.85% 3.91%,57.69% 2.32%,61.54% 2.82%,65.38% 4.04%,69.23% 1.97%,73.08% 0.32%,76.92% 4.31%,80.77% 3.24%,84.62% 3.62%,88.46% 3.42%,92.31% 5.34%,96.15% 2.0%,100.0% 4.18%,99.56% 30%,99.31% 55%,99.21% 80%,100.0% 98.11%,96.15% 99.49%,92.31% 97.16%,88.46% 95.69%,84.62% 96.46%,80.77% 97.32%,76.92% 96.15%,73.08% 98.91%,69.23% 98.93%,65.38% 98.06%,61.54% 95.1%,57.69% 98.83%,53.85% 99.31%,50.0% 99.41%,46.15% 99.77%,42.31% 98.35%,38.46% 96.56%,34.62% 95.08%,30.77% 98.02%,26.92% 97.78%,23.08% 98.27%,19.23% 98.17%,15.38% 95.33%,11.54% 96.71%,7.69% 98.45%,3.85% 99.36%,0.0% 95.3%,0.85% 80%,0.99% 55%,0.29% 30%)}
html[data-cover-style=scrapbook] .kc-topic:before{content:'Bu hafta öğreniyoruz';position:absolute;left:26px;top:12px;font:400 30px/1 'Just Me Again Down Here',cursive;color:var(--cover-paper)}
html[data-cover-style=scrapbook] .kc-codes{gap:8px;margin-top:12px}
html[data-cover-style=scrapbook] .kc-codes span{padding:5px 9px 4px;border:2px solid var(--cover-paper);border-radius:4px;color:var(--cover-paper);font:600 11px/1 'IBM Plex Mono',monospace;letter-spacing:.06em;transform:rotate(-2.5deg);opacity:.9}
html[data-cover-style=scrapbook] .kc-codes span:nth-child(even){transform:rotate(2deg)}

/* Handwriting trials for the learning outcome (default: Shantell Sans, set on <html>). */
html[data-hand=shantell] .kc-file .kc-topic{font:500 clamp(18px,1.55vw,20px)/1.45 'Shantell Sans',cursive}

/* Folder body matches its tab, so tab and body read as one folder holding the torn page. */
html[data-cover-style=scrapbook] .kc-file .folder-body{background:var(--cover-paper)}
