#root,#react-app{display:contents}#react-app>header{background:var(--paper)!important;border-color:var(--line)}.react-utilities{position:absolute;z-index:10;top:27px;right:max(24px,calc((100vw - 1480px)/2));display:flex;gap:8px}.react-utilities button{display:flex;align-items:center;gap:9px;min-width:42px;min-height:42px;padding:9px 12px;border:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:9px;font-size:12px}.react-utilities svg{width:20px;height:20px}.react-utilities kbd{font-size:10px}.react-site header{padding-right:230px!important}.react-disclosure{border:1px solid var(--line);border-radius:9px;background:var(--surface);margin-block:16px}.react-disclosure-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;color:var(--green);text-align:left;padding:18px;font-weight:600;min-height:48px}.react-disclosure-trigger>span{font-size:22px}.react-disclosure-content{padding:0 20px 20px}.course-shortcuts.react-disclosure{border:0;border-top:1px solid var(--line);margin:0;padding:0 18px}.react-detail-slot{min-width:0}.react-outline-toggle{display:none}.react-step-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.react-step-nav button{min-height:44px}.react-site .panel textarea{display:block;width:100%;min-height:150px;margin-block:14px;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:16px}.course-progress{height:6px;background:var(--surface-soft);overflow:hidden;border-radius:6px;margin-block:12px 24px}.course-progress-fill{height:100%}.vivid-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}.vivid-metrics strong{font:400 2.7rem AtelierLora,Georgia,serif;color:var(--green)}.react-site .vivid-today select{margin:15px;padding:12px;max-width:100%}.react-site.bk-focus .layout{grid-template-columns:1fr}.react-site.bk-focus .layout>aside{display:none}.miras-reader{max-width:1100px;margin-inline:auto}.react-site .source-note{margin-top:20px}.react-site .article p,.react-site .hr-body p{font-size:var(--reading-size,18px);line-height:1.85}.react-site .atelier-book-stage{width:100%;box-sizing:content-box}.react-site .bk-resume,.react-site .vivid-dashboard,.react-site .vivid-today{margin-block:30px}.react-site #app .hero{overflow:hidden}.react-site #app .hero .atelier-book-stage{min-width:0;max-width:100%;margin-inline:0;height:280px}.react-site #app .hero .atelier-book{width:170px;height:215px}.react-site .case-stage .speech-bubble p{min-height:50px}.react-site .evidence-note{position:relative}.react-site .case-stage{isolation:isolate}.react-site .score-stars span{display:inline-block}.react-site .react-detail-slot .panel{scroll-margin-top:24px}.react-book-journey{position:fixed;inset:0;z-index:9999;display:grid;place-content:center;background:#642c3b;perspective:950px;overflow:hidden;pointer-events:all}.journey-book-stage{position:relative;width:230px;height:310px;transform-style:preserve-3d;perspective:900px}.journey-book-cover{position:absolute;inset:0;background:linear-gradient(100deg,#3c1a23,#642c3b 12%,#754450);border:1px solid #b79a64;border-radius:3px 10px 10px 3px;box-shadow:0 20px 65px #200e1377;transform-origin:left;backface-visibility:visible;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;color:#f5f0e8;padding:25px;text-align:center;transform-style:preserve-3d}.journey-book-cover>strong{font:400 3.3rem AtelierLora,Georgia,serif;color:#dcceb3}.journey-book-cover>span:first-child{font-size:10px;letter-spacing:.14em}.journey-book-cover>span{font-size:13px}.journey-book-cover img{width:48px;height:48px;object-fit:contain}.journey-book-pages,.journey-flying-page{position:absolute;inset:7px 4px 7px 9px;border-radius:2px 8px 8px 2px;background:#f5f0e8;transform-origin:left;box-shadow:2px 2px 12px #200e1344}.journey-book-pages{background:repeating-linear-gradient(90deg,#f5f0e8 0 3px,#d8c9c5 3px 4px)}.journey-flying-page{padding:35px 22px;display:flex;flex-direction:column;gap:15px;backface-visibility:visible}.journey-flying-page i{display:block;height:2px;background:#b4989a}.journey-flying-page i:nth-child(2n){width:75%}.journey-flying-page span{font-size:9px;color:#642c3b;letter-spacing:.12em;margin-top:auto}.react-book-journey>p{text-align:center;color:#f5f0e8;position:absolute;bottom:12%;left:0;right:0;font-size:14px;letter-spacing:.06em}.react-site .atelier-book{animation:none!important}.react-site .bk-book-leaf{animation:none!important}
@media(max-width:900px){.react-utilities{top:22px;right:20px}.react-utilities span,.react-utilities kbd{display:none!important}.react-site header{padding-right:125px!important}.react-site header nav{padding-right:0}.react-site .vivid-metrics{gap:12px}.react-site .vivid-metrics strong{font-size:2rem}}
@media(max-width:760px){.react-site .layout{display:grid;grid-template-columns:minmax(0,1fr)!important}.react-outline-toggle{display:block;text-align:left;background:var(--surface-soft);padding:16px;border:1px solid var(--line);color:var(--ink);width:100%}.react-site .layout>.list{display:none;max-height:260px}.react-site .layout.bk-outline-open>.list{display:flex}.react-site .react-step-nav{position:sticky;bottom:0;background:var(--surface);padding:12px 0;margin-bottom:0;z-index:5}.react-site .react-step-nav button{font-size:13px;padding:11px 13px}.react-site .react-step-nav>span{font-size:11px}.react-site .hero{grid-template-columns:1fr}.react-site #app .hero .atelier-book-stage{height:220px}.react-site #app .hero .atelier-book{width:140px;height:180px}.react-site .react-disclosure-trigger{padding:16px;font-size:14px}.react-site .react-disclosure-content{padding-inline:16px}.react-site .course-shortcuts{padding-inline:10px}.react-site .quick-links{flex-wrap:wrap}.journey-book-stage{width:180px;height:245px}.journey-book-cover{gap:14px;padding:20px}.journey-book-cover>strong{font-size:2.5rem}}


.react-site header nav{flex-wrap:wrap}.react-site .vivid-dashboard,.react-site .vivid-today,.react-site .bk-resume{padding:30px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
html body.react-site #detail .article h3,html body.react-site #detail .article h4,html body.react-site #detail .hr-body h3{color:var(--green)!important}html body.react-site #detail .pill{background:var(--surface-soft)!important;color:var(--green)!important}html body.react-site .list button{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}html body.react-site .list button.selected{background:var(--surface-soft)!important;border-color:var(--green)!important}
html body.react-site .language{background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;padding:3px;display:flex;gap:3px}html body.react-site .language button{background:transparent;color:var(--muted);padding:9px 12px;min-width:44px;min-height:40px;border:0;font-size:12px}html body.react-site .language button[aria-pressed=true]{background:#642c3b;color:#f5f0e8;border-radius:5px}html body.react-site .hero h1 em{color:var(--green)!important}html body.react-site header nav a{color:var(--muted)!important}html body.react-site header nav a.active{color:var(--ink)!important;background:var(--surface-soft)}html body.react-site header nav a.nav-games{color:#f5f0e8!important}
@media(max-width:760px){.react-site header{align-items:center;flex-wrap:wrap;gap:14px;padding:18px!important;padding-right:115px!important;min-height:135px}.react-site header .brand{min-width:0;max-width:100%;font-size:14px}.react-site header .brand span{max-width:215px}.react-site header .brand small{font-size:8px;letter-spacing:.07em}.react-site header nav{width:calc(100vw - 36px)!important;order:3;display:flex;overflow-x:auto;flex-wrap:nowrap;gap:3px;flex-shrink:0;margin:0!important;padding:0;white-space:nowrap}.react-site header nav a{font-size:12px;padding:8px}.react-site header .language{order:4;margin:0!important}.react-site .react-utilities{top:20px;right:18px}.react-site .hr-header{min-height:185px}}
html body.react-site #detail h2{color:var(--ink)!important}.react-loading{padding:60px;font-family:Georgia,serif;color:#642c3b;text-align:center}
@media(max-width:760px){html body.react-site header nav,html body.react-site .hr-header nav{flex-basis:100%!important;width:calc(100vw - 36px)!important;max-width:calc(100vw - 36px)!important;min-width:0;justify-content:flex-start!important}html body.react-site .hr-header .language{order:4;flex-basis:auto}}
@media(max-width:760px){html body.react-site header nav,html body.react-site .hr-header nav{flex-basis:calc(100vw - 36px)!important;flex-shrink:0!important}}
html[data-theme=dark] body.react-site button:where(:not(.primary,.quiz-option,.clue-choice,.decision-choice,.selected)){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
.three-book-host{position:absolute;inset:0;pointer-events:none}.three-book-canvas{display:block;width:100%;height:100%}.react-book-journey[data-book-engine=loading] .journey-book-stage{transform:scale(.85) rotateY(-15deg)}.react-book-journey[data-book-engine=css-gsap] .journey-book-stage{transform:scale(.85) rotateY(-15deg)}.react-book-journey>p{pointer-events:none}.react-site{caret-color:var(--green);scrollbar-color:var(--green) var(--paper);scrollbar-width:thin}.react-site input:focus-visible,.react-site textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}.react-site .course-grid .course-shell{border-radius:12px}.react-site .course-grid .course-shell:hover{transform:none!important}.react-site .course-shell>.choice{transition:box-shadow .18s ease-out}.react-site .course-shell>.choice:focus-visible{outline:3px solid var(--green);outline-offset:-3px}
.react-portal{display:contents}

.react-book-journey>p{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Unslop craft pass: retain BK's book world; quiet, readable navigation and controls. */
html body.react-site .eyebrow{font-size:14px!important;line-height:1.5;letter-spacing:.02em!important;text-transform:none!important;font-weight:500}
html body.react-site .brand small,html body.react-site .game-brand small{font-size:12px!important;letter-spacing:.02em!important;line-height:1.4}
html body.react-site header nav a{font-size:14px!important;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;font-weight:500}
html body.react-site .react-utilities button{min-width:44px;min-height:44px;font-size:14px;padding:8px 12px}
html body.react-site .react-utilities svg{width:18px;height:18px;flex:none}
html body.react-site .react-utilities kbd{font-size:12px}
html body.react-site .course-shell>.choice{padding:0 24px 16px;transform:none!important}
html body.react-site .course-shell>.choice:after{content:none!important}
html body.react-site .course-shell .atelier-book-stage{width:calc(100% + 48px)!important;max-width:none;margin:0 -24px 24px;box-sizing:border-box}
html body.react-site .course-top{margin-bottom:16px;gap:12px}
html body.react-site .course-meta{display:flex;gap:8px 16px;flex-wrap:wrap;margin:24px 0 16px}
html body.react-site .course-meta span{background:transparent!important;border:0!important;padding:0!important;font-size:14px;font-weight:400;color:var(--muted)!important}
html body.react-site .course-meta span+span:before{content:'·';margin-right:12px;color:var(--muted)}
html body.react-site .course-code{border-radius:4px;padding:8px 12px;letter-spacing:.04em;font-size:14px}
html body.react-site .course-progress{margin:12px 0 24px}
html body.react-site .course-cta{padding-block:16px;font-size:16px}
html body.react-site .course-shortcuts{padding-inline:8px}
html body.react-site .course-shortcuts .react-disclosure-trigger{min-height:48px;padding:16px;font-size:16px}
html body.react-site .course-shortcuts .quick-links a{min-height:44px;display:inline-flex;align-items:center;font-size:14px;padding:8px 12px;border-radius:8px}
html body.react-site .study-board{box-shadow:0 8px 24px #200e1322!important;border:1px solid #d0bc9955;backdrop-filter:none!important}
html body.react-site .board-row{display:flex;gap:12px;align-items:center;min-height:56px;padding-block:12px}
html body.react-site .board-row>span:first-child{flex:1}
html body.react-site .board-row strong{font-size:16px;font-weight:500}
html body.react-site .board-top,html body.react-site .board-link{font-size:14px}
html body.react-site .board-top{padding-bottom:16px;margin-bottom:8px}
html body.react-site #hukuk-oyunlari{background:#642c3b!important}
html body.react-site .portal-hero .hero-copy>*,html body.react-site .portal-hero .hero-buttons{animation:none!important}
html body.react-site :is(.toolbar input,.toolbar select,.bk-search-field input,.bk-search-filters select,.question textarea){font-size:16px;min-height:44px}
html body.react-site :is(.tools p,.tools button,footer,footer small,.legal-nav a,.list button small,.pill){font-size:14px!important;letter-spacing:0;text-transform:none}
html body.react-site .vivid-metrics{font-variant-numeric:tabular-nums}
html body.react-site .bk-search-dialog{max-height:calc(100dvh - 32px);padding:24px;overflow:auto}
html body.react-site .bk-search-heading{gap:16px;align-items:start}
html body.react-site .bk-search-heading h2{font-size:28px;margin:8px 0 16px}
html body.react-site .bk-search-heading>button{min-width:44px;min-height:44px;flex:none}
html body.react-site .bk-search-result{border-radius:8px;padding:16px;transition:background-color .16s ease-out,border-color .16s ease-out}
html body.react-site .bk-search-result:hover{background:var(--surface-soft)}
html body.react-site .search-empty{color:var(--muted);padding-block:16px}
html body.react-site :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--green)!important;outline-offset:3px}
@media(max-width:760px){
 html body.react-site header{padding:16px!important;padding-right:120px!important;min-height:128px;gap:12px}
 html body.react-site header .brand{max-width:calc(100vw - 144px);font-size:16px;gap:8px}
 html body.react-site header .brand span{min-width:0}
 html body.react-site header .brand small{font-size:12px!important;max-width:160px;white-space:normal}
 html body.react-site header nav,html body.react-site .hr-header nav{flex-basis:calc(100vw - 32px)!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;gap:4px}
 html body.react-site .react-utilities{top:16px;right:16px;gap:8px}
 html body.react-site .react-utilities button{padding:8px;min-width:44px}
 html body.react-site .course-shell h2{font-size:32px}
 html body.react-site .section-top{margin-bottom:24px}
 html body.react-site .bk-resume,html body.react-site .vivid-dashboard,html body.react-site .vivid-today{padding:24px;margin-block:24px}
 html body.react-site .vivid-today select{margin:12px 0;display:block;width:100%}
 html body.react-site .bk-search-dialog{width:calc(100vw - 24px);padding:20px;max-width:none}
 html body.react-site .bk-search-filters{display:grid;grid-template-columns:1fr;gap:12px}
 html body.react-site .bk-search-filters select{min-width:0;width:100%}
 html body.react-site .bk-search-field input{min-width:0;width:100%}
}
html body.react-site .section-top>p{font-size:16px!important;line-height:1.6;color:var(--muted)!important;opacity:1;max-width:38rem}
html body.react-site .bk-search-field:focus-within{outline:2px solid var(--green)!important;outline-offset:3px;box-shadow:none!important}
html body.react-site .bk-search-field input:focus-visible{outline:0!important;box-shadow:none!important}
html body.react-site .bk-search-dialog::backdrop{background:#200e13a6;backdrop-filter:blur(4px)}
html body.react-site .react-utilities button:hover{background:var(--surface-soft)!important;color:var(--ink)!important;border-color:var(--green)!important}
@media(max-width:760px){
 html body.react-site.portal-page .portal-hero{display:flex;flex-direction:column;align-items:stretch;gap:24px;min-height:0;padding:32px 24px}
 html body.react-site.portal-page .portal-hero .hero-copy{max-width:none;padding:0}
 html body.react-site.portal-page .study-board{position:relative;inset:auto;width:100%;margin:0;padding:20px}
 html body.react-site.portal-page .hero-signature{margin:24px 0 0;font-size:14px;line-height:1.6}
}
@media(min-width:901px){html body.react-site header{padding-right:272px!important}html body.react-site header nav{gap:8px}}

/* Canonical brand roles: burgundy, ivory, brass and their tonal mixtures. */
:root{--brand-burgundy:#642c3b;--brand-ivory:#f5f0e8;--brand-brass:#b79a64;--soft-sand:var(--brand-ivory);--mocha-green:var(--brand-burgundy);--watermelon-pink:var(--brand-brass);--paper:var(--brand-ivory);--surface:var(--brand-ivory);--surface-soft:color-mix(in srgb,var(--brand-burgundy) 7%,var(--brand-ivory));--ink:var(--brand-burgundy);--navy:var(--ink);--muted:color-mix(in srgb,var(--brand-burgundy) 80%,var(--brand-ivory));--text-soft:var(--muted);--green:var(--brand-burgundy);--teal:var(--green);--line:color-mix(in srgb,var(--brand-burgundy) 22%,var(--brand-ivory));--accent:var(--brand-brass);--at-lime:var(--brand-brass);--at-forest:var(--brand-burgundy);--course-color:var(--green);--course-button:var(--brand-burgundy);--course-soft:var(--surface-soft)}
:root[data-theme=dark]{--paper:#2d141b;--surface:#3c1a23;--surface-soft:#5a2835;--ink:var(--brand-ivory);--navy:var(--ink);--green:var(--brand-ivory);--teal:var(--green);--muted:color-mix(in srgb,var(--brand-ivory) 80%,var(--brand-burgundy));--text-soft:var(--muted);--line:color-mix(in srgb,var(--brand-brass) 45%,var(--brand-burgundy));--course-color:var(--brand-ivory);--course-soft:var(--surface-soft)}
html body.react-site :is(button,.button,.choice,.quick-links a,.file-card,.list button):hover{border-color:var(--brand-brass)!important}
html body.react-site :is(button,.button):not(.primary,.quiz-option,.clue-choice,.decision-choice):hover{background:var(--surface-soft)!important;color:var(--ink)!important}
html body.react-site :is(.quiz-feedback,.solution,.topic-example,.topic-tip,.event,.read,.basis){color:var(--ink)!important}
html body.react-site :is(.quiz-option.correct,.quiz-option.wrong,.quiz-option.selected,.grade button.chosen){color:var(--ink)!important;background:var(--surface-soft)!important;border-color:var(--brand-brass)!important}
html body.react-site :is(.stats,.stats strong,.stats span,.tools,.tools p,.tools button,.section-top>p,.legal-nav a){color:var(--muted)!important}
html body.react-site .hero-photo img{filter:sepia(1) saturate(.35)!important}
html body.react-site .atelier-book>strong{background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;color:var(--brand-brass)!important}
html body.react-site :is(.game-header,.game-brand,.archive-heading,.archive-tools,.journey,.file-grid){color:var(--ink)}
html body.react-site :is(button,.button).primary{background:var(--brand-burgundy)!important;color:var(--brand-ivory)!important;border-color:var(--brand-burgundy)!important}
html[data-theme=dark] body.react-site :is(button,.button).primary{background:var(--brand-brass)!important;color:#2d141b!important;border-color:var(--brand-brass)!important}
html body.react-site :is(input,select,textarea){accent-color:var(--brand-burgundy)}
html[data-theme=dark] body.react-site :is(input,select,textarea){accent-color:var(--brand-brass)}

/* Gold leads actions; burgundy carries readable ink and the surrounding structure. */
html body.react-site :is(button,.button).primary,
html[data-theme=dark] body.react-site :is(button,.button).primary,
html body.react-site .react-step-nav>button:last-child:not(:disabled),
html[data-theme=dark] body.react-site .react-step-nav>button:last-child:not(:disabled){background:var(--brand-brass)!important;color:#2d141b!important;border-color:var(--brand-brass)!important;box-shadow:0 2px 0 #642c3b33;transition:background-color .16s ease-out,border-color .16s ease-out,box-shadow .16s ease-out}
html body.react-site :is(button,.button).primary:not(:disabled):hover,
html[data-theme=dark] body.react-site :is(button,.button).primary:not(:disabled):hover,
html body.react-site .react-step-nav>button:last-child:not(:disabled):hover{background:color-mix(in srgb,var(--brand-brass) 82%,var(--brand-ivory))!important;color:#2d141b!important;border-color:var(--brand-brass)!important;box-shadow:0 3px 8px #642c3b33}
html body.react-site .course-shell .course-cta{display:block;text-align:center;background:var(--brand-brass)!important;color:#2d141b!important;border:1px solid var(--brand-brass)!important;border-radius:8px;padding:12px 16px;margin-bottom:8px;font-weight:600}
html body.react-site .course-shell:hover .course-cta{background:color-mix(in srgb,var(--brand-brass) 82%,var(--brand-ivory))!important}
html body.react-site .quick-links a{background:color-mix(in srgb,var(--brand-brass) 20%,var(--surface))!important;border-color:var(--brand-brass)!important;color:var(--ink)!important}
html body.react-site .quick-links a:hover,
html[data-theme=dark] body.react-site .quick-links a:hover{background:var(--brand-brass)!important;color:#2d141b!important}
html body.react-site header nav a.nav-games,
html[data-theme=dark] body.react-site header nav a.nav-games{background:var(--brand-brass)!important;color:#2d141b!important;border-color:var(--brand-brass)!important}
html body.react-site :is(button,.button):disabled{opacity:.45;box-shadow:none!important;cursor:not-allowed}
/* Course-specific legacy button rules must share the same gold action role. */
html body.react-site #react-app :is(button,.button).primary,
html[data-theme=dark] body.react-site #react-app :is(button,.button).primary{background:var(--brand-brass)!important;color:#2d141b!important;border-color:var(--brand-brass)!important}
html body.react-site #react-app :is(button,.button).primary:not(:disabled):hover,
html[data-theme=dark] body.react-site #react-app :is(button,.button).primary:not(:disabled):hover{background:color-mix(in srgb,var(--brand-brass) 82%,var(--brand-ivory))!important;color:#2d141b!important}

/* Apple-design pass: immediate feedback, continuous surfaces, optical typography. */
html body.react-site{font-optical-sizing:auto}
html body.react-site :is(h1,h2,h3){font-optical-sizing:auto;text-wrap:balance}
html body.react-site :is(button,.button,a){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html body.react-site :is(button,.button):not(:disabled):active{scale:.97;transition:scale 80ms ease-out}
html body.react-site :is(button,.button){transition:background-color .16s ease-out,color .16s ease-out,border-color .16s ease-out,scale .22s cubic-bezier(.2,.8,.2,1)}
html body.react-site .react-disclosure-trigger{border-radius:10px;transform-origin:50% 50%;user-select:none}
html body.react-site .react-disclosure-trigger:active{background:var(--surface-soft)!important}
html body.react-site .bk-search-dialog{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;max-height:none;max-width:760px;width:calc(100vw - 48px)}
html body.react-site .apple-search-surface{padding:28px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--ink);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 24px 64px #642c3b33;max-height:calc(100dvh - 64px);overflow:auto;overscroll-behavior:contain;transform-origin:50% 100%}
html body.react-site .apple-sheet-handle{display:none}
html body.react-site .bk-search-dialog::backdrop{background:#2d141b99;backdrop-filter:blur(5px)}
html body.react-site .bk-search-heading>button{border-radius:50%;font-size:24px;line-height:1;background:var(--surface-soft)!important}
html body.react-site .bk-reading-tools{position:sticky;top:12px;z-index:4;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--surface) 94%,transparent)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);gap:12px}
html body.react-site .bk-reading-tools button{min-width:44px;min-height:44px;border-radius:10px}
html body.react-site .bk-reading-label{font-size:12px;letter-spacing:.03em;white-space:nowrap}
html body.react-site .bk-type-controls{border-radius:10px;overflow:hidden;gap:8px}
html body.react-site .bk-search-result{min-height:64px}
html body.react-site .react-utilities button{border-radius:12px}
html body.react-site .course-shell>.choice{justify-content:flex-start;min-height:0}
@media(max-width:760px){
 html body.react-site .bk-search-dialog{position:fixed;inset:auto 0 0;margin:0;width:100vw!important;max-width:none!important}
 html body.react-site .apple-search-surface{padding:8px 20px max(24px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;max-height:88dvh;border-bottom:0}
 html body.react-site .apple-sheet-handle,html[data-theme=dark] body.react-site .apple-sheet-handle{display:flex;align-items:center;justify-content:center;width:100%;height:32px;min-height:32px;padding:0;margin:0 0 8px;border:0!important;background:transparent!important;box-shadow:none;touch-action:none;cursor:grab}
 html body.react-site .apple-sheet-handle span{display:block;width:40px;height:4px;border-radius:2px;background:var(--muted);opacity:.7}
 html body.react-site .apple-sheet-handle:active{cursor:grabbing;scale:1}
 html body.react-site .bk-search-heading h2{font-size:28px;line-height:1.15;margin:8px 0 20px;letter-spacing:-.02em}
 html body.react-site .bk-reading-tools{top:8px;padding:12px;flex-wrap:wrap}
 html body.react-site .react-step-nav{padding:12px 0 max(12px,env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 94%,transparent)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
}
@media(prefers-reduced-transparency:reduce){html body.react-site .apple-search-surface,html body.react-site .bk-reading-tools,html body.react-site .react-step-nav{background:var(--surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(prefers-contrast:more){html body.react-site .apple-search-surface,html body.react-site .bk-reading-tools{background:var(--surface)!important;border-color:var(--ink)!important}}
@media(max-width:760px){html body.react-site.portal-page .portal-hero h1{font-size:clamp(2.5rem,8vw,3.5rem);max-width:13ch;line-height:1.05;letter-spacing:-.025em}html body.react-site.portal-page .hero-intro{max-width:36ch}}

/* Practice is the gold learning path on every course, in both themes. */
html body.react-site #app a.choice.green,
html[data-theme=dark] body.react-site #app a.choice.green,
html body.react-site #app a.choice.practice-card,
html[data-theme=dark] body.react-site #app a.choice.practice-card{background:var(--brand-brass)!important;background-image:none!important;border-color:var(--brand-brass)!important;color:#2d141b!important}
html body.react-site #app a.choice:is(.green,.practice-card) :is(h2,h3,p,span,strong,small,.number,.arrow){color:#2d141b!important;opacity:1}
html body.react-site #app a.choice:is(.green,.practice-card):hover,
html[data-theme=dark] body.react-site #app a.choice:is(.green,.practice-card):hover{background:color-mix(in srgb,var(--brand-brass) 86%,var(--brand-ivory))!important;border-color:var(--brand-brass)!important;color:#2d141b!important}

.atelier-book strong.book-full-title{font-size:.9rem;line-height:1.12;letter-spacing:0;margin-top:17px}.journey-book-cover strong.book-full-title{font-size:1.8rem;line-height:1.15;letter-spacing:0}

/* Reference-led editorial layout; existing BK palette and motion engines remain canonical. */
html body.portal-page.react-site main{max-width:1480px;padding:12px 12px 64px!important}
html body.portal-page.react-site .portal-hero{display:flex!important;flex-direction:column;justify-content:center;align-items:stretch;position:relative;isolation:isolate;overflow:hidden;min-height:650px;height:calc(100svh - 128px);max-height:980px;padding:64px 56px 88px!important;border-radius:24px;gap:0;margin:0 0 16px;border:0;background:var(--brand-burgundy)!important;color:var(--brand-ivory)!important}
html body.portal-page.react-site .portal-hero .hero-photo{position:absolute!important;inset:-48px 0!important;width:100%;height:calc(100% + 96px);z-index:-2;opacity:1;translate:0 var(--reference-parallax,0px)}
html body.portal-page.react-site .portal-hero .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:60% 50%}
html body.portal-page.react-site .portal-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#2d141be8,#642c3b99 60%,#2d141b66);pointer-events:none}
html body.portal-page.react-site .portal-hero .hero-copy{max-width:1100px;width:100%;padding:0;position:relative;z-index:1}
html body.portal-page.react-site .portal-hero h1{font-size:clamp(3.25rem,6.4vw,6rem)!important;font-weight:400;line-height:1.03;letter-spacing:-.04em;max-width:none;margin:0 0 32px;color:var(--brand-ivory)!important;text-wrap:initial}
html body.portal-page.react-site .portal-hero h1 em{color:#dcceb3!important;font-weight:400}
.reference-title-line{display:block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.08em}
.reference-title-line>span{display:block}
html body.portal-page.react-site .hero-intro{font-size:18px;line-height:1.7;max-width:44ch;margin:0 0 32px;color:var(--brand-ivory)!important}
html body.portal-page.react-site .hero-buttons{display:flex;gap:24px;align-items:center;margin:0;flex-wrap:wrap}
html body.portal-page.react-site .hero-buttons .primary{border-radius:40px;min-height:56px;padding:16px 28px;font-size:16px}
html body.portal-page.react-site .hero-signature{display:flex;align-items:center;gap:24px;margin-top:48px;padding-top:24px;border-top:1px solid #f5f0e840;font-size:14px;color:#dcceb3;max-width:600px}
html body.portal-page.react-site .hero-signature strong{font-size:14px;font-weight:500;color:var(--brand-ivory)}
.reference-hero-foot{position:absolute;inset:auto 56px 28px;display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#dcceb3}
.reference-hero-foot a{color:var(--brand-ivory);min-height:44px;display:inline-flex;align-items:center}
html body.portal-page.react-site #hukuk-oyunlari{margin:16px 0 0;padding:56px;grid-template-columns:1.1fr 1fr;border:0;border-radius:24px;box-shadow:none;gap:56px}
html body.portal-page.react-site #hukuk-oyunlari h2{font-size:clamp(2.5rem,4.3vw,4rem);font-weight:400;margin:0 0 24px}
html body.portal-page.react-site #hukuk-oyunlari .eyebrow{display:none}
html body.portal-page.react-site .studio-game-side{max-width:520px;width:100%}
html body.portal-page.react-site .studio-live-case{background:#4b212c!important;border:1px solid #b79a6473;border-radius:16px;box-shadow:none;padding:28px;color:var(--brand-ivory)}
html body.portal-page.react-site .studio-live-case h3{font-size:24px;color:var(--brand-ivory)}
html body.portal-page.react-site .studio-case-label{font-size:14px;color:#dcceb3}
html body.portal-page.react-site #dersler{padding:88px 44px 64px;scroll-margin-top:24px}
html body.portal-page.react-site #dersler .section-top{display:flex;align-items:end;justify-content:space-between;margin:0 0 48px;gap:32px}
html body.portal-page.react-site #dersler .section-top h2{font-size:clamp(2.5rem,4.2vw,4rem);font-weight:400;max-width:15ch;margin:0}
html body.portal-page.react-site #dersler .section-top p{max-width:32ch;margin:0}
html body.portal-page.react-site .course-grid{display:grid!important;grid-template-columns:1fr!important;gap:24px!important}
html body.portal-page.react-site .course-shell{border-radius:16px;overflow:hidden;box-shadow:none;background:var(--surface)!important;border:1px solid var(--line)}
html body.portal-page.react-site .course-shell>.choice{display:grid!important;grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);align-items:stretch;gap:0;border:0!important;background:var(--surface)!important;padding:0!important;border-radius:0;margin:0!important}
html body.portal-page.react-site .course-shell .atelier-book-stage{height:100%!important;min-height:390px;width:100%!important;max-width:100%;margin:0!important;border:0;border-radius:0}
html body.portal-page.react-site .reference-course-copy{padding:36px 40px;min-width:0;display:flex;flex-direction:column}
html body.portal-page.react-site .course-shell .course-top{margin-bottom:20px}
html body.portal-page.react-site .course-shell h2{font-size:clamp(1.8rem,2.5vw,2.5rem);margin:0 0 20px;font-weight:400;line-height:1.15;max-width:22ch}
html body.portal-page.react-site .course-shell .reference-course-copy>p{font-size:16px;line-height:1.65;margin:0;color:var(--muted)}
html body.portal-page.react-site .course-shell .reference-course-copy>p:last-of-type{font-size:14px;margin-top:4px}
html body.portal-page.react-site .course-meta{margin:20px 0 12px}
html body.portal-page.react-site .course-progress{margin:12px 0 24px;height:4px}
html body.portal-page.react-site .course-shell .course-cta{border-radius:32px;max-width:260px;margin:0;font-size:15px;padding:12px 24px}
html body.portal-page.react-site .course-shortcuts{border-top:1px solid var(--line);padding:0 24px!important;border-radius:0}
html body.portal-page.react-site .course-shortcuts .react-disclosure-trigger{padding:16px 0}
html body.portal-page.react-site .course-shortcuts .quick-links{padding:0 0 20px;gap:12px}
.reference-totals{padding:64px 56px;border-radius:24px;background:var(--brand-burgundy);color:var(--brand-ivory);margin:0 0 16px}
.reference-totals h2{color:inherit;font-size:clamp(2.5rem,4vw,4rem);font-weight:400;margin:0 0 56px}
.reference-totals dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:0}
.reference-totals dl>div{display:flex;flex-direction:column-reverse;align-items:start;padding-top:20px;border-top:1px solid #f5f0e840;gap:12px}
.reference-totals dt{font-size:15px;color:#dcceb3}.reference-totals dd{font:400 clamp(3rem,5vw,4.5rem)/1 AtelierLora,Georgia,serif;margin:0;font-variant-numeric:tabular-nums;color:var(--brand-ivory)}
.reference-preview{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;padding:88px 56px;align-items:center}
.reference-preview h2{font-size:clamp(2.5rem,4.3vw,4rem);font-weight:400;margin:0 0 24px}
.reference-preview-heading>p{font-size:16px;color:var(--muted);line-height:1.7;margin-bottom:32px}
.reference-page-slot{min-width:0;perspective:1000px}
.reference-page{padding:36px;background:var(--surface);border:1px solid var(--line);border-radius:16px;min-height:440px;box-shadow:0 16px 40px #642c3b14;display:flex;flex-direction:column;align-items:start}
.reference-page-header{display:flex;justify-content:space-between;gap:20px;width:100%;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.reference-page-header>span:last-child{font:24px AtelierLora,Georgia,serif}
.reference-page h3{font:400 28px/1.25 AtelierLora,Georgia,serif;margin:28px 0 20px}
.reference-page>p{font-size:16px;line-height:1.75;margin:0 0 28px;color:var(--muted)}
.reference-page .button{margin-top:auto;border-radius:32px;padding:12px 24px}
.reference-slider-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:330px}
.reference-slider-controls>button{font-size:14px;min-height:44px;border:1px solid var(--line);padding:8px 14px;border-radius:24px;background:transparent;color:var(--ink)}
.reference-slider-dots{display:flex;align-items:center}.reference-slider-dots button{display:grid;place-items:center;width:32px;height:44px;min-width:32px;padding:4px;border:0;background:transparent;border-radius:0}
.reference-slider-dots span{display:block;width:6px;height:6px;border-radius:4px;background:var(--muted);transition:width .2s ease-out,background-color .2s ease-out}
.reference-slider-dots button[aria-current=true] span{width:20px;background:var(--brand-brass)}
html body.portal-page.react-site :is(.vivid-dashboard,.vivid-today,.bk-resume){border-radius:16px;box-shadow:none;margin:16px 44px;padding:40px;background:var(--surface);border:1px solid var(--line)}
html body.portal-page.react-site :is(.vivid-dashboard,.vivid-today)>.eyebrow{display:none}
html body.portal-page.react-site .vivid-dashboard h2{font-size:36px;font-weight:400}
html body.portal-page.react-site .vivid-today h2{font-size:32px;font-weight:400}
html body.portal-page.react-site .portal-method{margin:64px 44px;padding:48px 0;border-block:1px solid var(--line);display:grid;grid-template-columns:1fr 1.15fr;gap:64px;background:transparent;border-radius:0}
html body.portal-page.react-site .portal-method .eyebrow{display:none}
html body.portal-page.react-site .portal-method h2{font-size:clamp(2.5rem,4vw,4rem);font-weight:400;line-height:1.05;margin-top:0}
html body.portal-page.react-site .method-steps>div{padding:24px 0;border-top:1px solid var(--line)}
html body.portal-page.react-site .method-steps h3{font-size:22px;margin:0 0 12px}
html body.portal-page.react-site .portal-note{margin:32px 44px 0;border-radius:16px;box-shadow:none;border:1px solid var(--line);border-left-width:1px}
html body.portal-page.react-site footer.reference-footer{background:var(--brand-burgundy)!important;color:var(--brand-ivory)!important;border:0;border-radius:24px;max-width:1456px;margin:0 auto 12px;padding:56px!important;display:block}
.reference-footer-cta{display:flex;justify-content:space-between;align-items:end;gap:32px;padding-bottom:48px;border-bottom:1px solid #f5f0e840}
html body.portal-page.react-site .reference-footer h2{font-size:clamp(3rem,5vw,4.5rem);font-weight:400;line-height:1.05;color:var(--brand-ivory);margin:0}
.reference-footer-cta .button{border-radius:32px;white-space:nowrap}
.reference-footer-content{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;padding-top:40px;align-items:start}
.reference-footer-brand{display:flex;align-items:center;gap:16px;color:var(--brand-ivory)!important;text-decoration:none;font-size:20px}
.reference-footer-content>p{color:#dcceb3;font-size:14px;margin:0;line-height:1.8}
html body.portal-page.react-site .reference-footer .legal-nav{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0;border:0}
html body.portal-page.react-site .reference-footer .legal-nav a{color:var(--brand-ivory)!important;min-height:36px}
.reference-intro{position:fixed;inset:0;z-index:10000;background:var(--brand-burgundy);color:var(--brand-ivory);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:32px;pointer-events:none}
.reference-intro>div{display:flex;gap:16px;align-items:center;font-size:24px;font-weight:500;letter-spacing:.08em}
.reference-intro-line{height:1px;width:160px;background:var(--brand-brass);transform-origin:left}
html body.react-site .reference-menu-trigger{position:absolute;top:24px;right:272px;display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);font-size:14px}
.reference-menu-trigger>span{width:16px;display:grid;gap:5px}.reference-menu-trigger i{display:block;height:1px;background:currentColor}
html body.react-site .reference-menu-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:var(--brand-burgundy);color:var(--brand-ivory);overflow:auto}
.reference-menu-dialog::backdrop{background:var(--brand-burgundy)}
.reference-menu-inner{min-height:100dvh;padding:40px max(32px,calc((100vw - 1280px)/2));display:flex;flex-direction:column}
.reference-menu-top{display:flex;align-items:center;justify-content:space-between;font-size:22px;letter-spacing:.04em}
html body.react-site .reference-menu-top button{display:grid;place-items:center;flex:0 0 48px;padding:0;line-height:1;width:48px;height:48px;border:1px solid #f5f0e840;background:transparent;color:var(--brand-ivory);border-radius:50%;font-size:30px}
.reference-menu-links{display:flex;flex-direction:column;align-items:start;gap:16px;padding-block:64px;flex:1;justify-content:center}
.reference-menu-links a{color:var(--brand-ivory)!important;font:400 clamp(2.5rem,6vw,5rem)/1.1 AtelierLora,Georgia,serif;text-decoration:none;min-height:56px}
.reference-menu-links a:hover{color:#dcceb3!important}
.reference-menu-bottom{border-top:1px solid #f5f0e840;padding-top:24px;display:flex;justify-content:space-between;align-items:end;gap:24px;color:#dcceb3}
.reference-menu-bottom p{margin:0;font-size:14px}.reference-menu-bottom a{color:var(--brand-ivory)!important;font-size:14px;min-height:44px;display:flex;align-items:center}
body:has(.reference-menu-dialog[open]){overflow:hidden}
@media(min-width:901px){html body.portal-page.react-site header{padding-right:380px!important}}
@media(max-width:900px){html body.react-site .reference-menu-trigger{right:120px;top:16px;padding:8px 12px}html body.portal-page.react-site header .brand{max-width:calc(100vw - 236px)}html body.portal-page.react-site header nav{padding-top:8px}}
@media(max-width:760px){
 html body.portal-page.react-site main{padding:8px 8px 40px!important}
 html body.portal-page.react-site .portal-hero{height:auto;min-height:620px;max-height:none;padding:48px 24px 88px!important;border-radius:20px;justify-content:center}
 html body.portal-page.react-site .portal-hero h1{font-size:clamp(2.25rem,8.2vw,3.5rem)!important;line-height:1.08;letter-spacing:-.035em}
 html body.portal-page.react-site .hero-intro{font-size:16px;max-width:33ch}
 html body.portal-page.react-site .hero-intro br{display:none}
 html body.portal-page.react-site .hero-buttons{gap:20px;align-items:start;flex-direction:column}
 html body.portal-page.react-site .hero-signature{align-items:start;flex-direction:column;gap:8px;margin-top:36px;padding-top:20px}
 .reference-hero-foot{inset:auto 24px 20px;font-size:12px;align-items:center}.reference-hero-foot>a{max-width:14ch;line-height:1.4}
 html body.portal-page.react-site #hukuk-oyunlari{padding:32px 24px;grid-template-columns:1fr;gap:28px;border-radius:20px;margin-top:8px}
 html body.portal-page.react-site #hukuk-oyunlari h2{font-size:38px}
 html body.portal-page.react-site .studio-live-case{padding:24px}
 html body.portal-page.react-site #dersler{padding:56px 16px 40px}
 html body.portal-page.react-site #dersler .section-top{display:block;margin-bottom:32px}
 html body.portal-page.react-site #dersler .section-top h2{font-size:38px;margin-bottom:20px;max-width:14ch}
 html body.portal-page.react-site .course-shell>.choice{grid-template-columns:1fr}
 html body.portal-page.react-site .course-shell .atelier-book-stage{height:240px!important;min-height:0}
 html body.portal-page.react-site .reference-course-copy{padding:28px 24px}
 html body.portal-page.react-site .course-shell h2{font-size:30px}
 html body.portal-page.react-site .course-shell .course-cta{max-width:none;width:100%}
 html body.portal-page.react-site .course-shortcuts{padding:0 24px!important}
 .reference-totals{padding:40px 24px;border-radius:20px}.reference-totals h2{font-size:38px;margin-bottom:36px}.reference-totals dl{grid-template-columns:1fr 1fr;gap:32px 24px}.reference-totals dd{font-size:48px}
 .reference-preview{padding:56px 16px;grid-template-columns:1fr;gap:32px}.reference-preview h2{font-size:38px}.reference-preview-heading>p{margin-bottom:24px}.reference-page{padding:28px 24px;min-height:480px}.reference-page h3{font-size:26px}
 html body.portal-page.react-site :is(.vivid-dashboard,.vivid-today,.bk-resume){padding:28px 24px;margin:16px;border-radius:16px}
 html body.portal-page.react-site .portal-method{margin:40px 16px;grid-template-columns:1fr;padding:40px 0;gap:32px}
 html body.portal-page.react-site .portal-method h2{font-size:38px}
 html body.portal-page.react-site .portal-note{margin:24px 16px 0}
 html body.portal-page.react-site footer.reference-footer{margin:0 8px 8px;padding:36px 24px!important;border-radius:20px}
 .reference-footer-cta{align-items:start;flex-direction:column;padding-bottom:32px;gap:28px}html body.portal-page.react-site .reference-footer h2{font-size:42px}.reference-footer-content{grid-template-columns:1fr;gap:28px;padding-top:32px}
 .reference-menu-inner{padding:24px}.reference-menu-links{padding-block:40px}.reference-menu-links a{font-size:38px}.reference-menu-bottom{align-items:start;flex-direction:column}
}
html body.portal-page.react-site .bk-game-invite .studio-live-case h3{color:var(--brand-ivory)!important}
html body.portal-page.react-site .bk-game-invite .studio-live-case p{color:#dcceb3!important}
@media(max-width:760px){html body.portal-page.react-site .portal-hero h1{font-size:clamp(1.85rem,7.4vw,3.5rem)!important}.reference-title-line{overflow:clip;overflow-wrap:normal}html body.portal-page.react-site .portal-hero h1 em{white-space:normal!important}html body.portal-page.react-site .hero-intro br:after{content:' '}}
/* Responsive refinement: compact phones, touch controls and tablet composition. */
@media(max-width:1100px) and (min-width:761px){
 html body.portal-page.react-site .portal-hero{height:auto;min-height:min(820px,calc(100svh - 100px));padding:56px 40px 88px!important}
 html body.portal-page.react-site #dersler{padding:64px 24px 48px}
 html body.portal-page.react-site .reference-course-copy{padding:28px 24px}
 html body.portal-page.react-site .course-shell>.choice{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}
 html body.portal-page.react-site #hukuk-oyunlari{padding:40px 32px;gap:32px}
 .reference-preview{grid-template-columns:1fr;gap:32px;padding:64px 32px}
 .reference-preview-heading{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;align-items:center}
 .reference-preview-heading h2{grid-row:span 2;margin:0}
 .reference-preview-heading>p{margin:0 0 20px}
 .reference-totals{padding:48px 32px}.reference-totals dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.portal-page.react-site .portal-method{gap:32px;margin-inline:24px}
 .reference-footer-content{grid-template-columns:1fr 1fr}.reference-footer-content>.legal-nav{grid-column:1/-1}
}
@media(max-width:380px){
 html body.portal-page.react-site header .brand{max-width:calc(100vw - 204px);gap:8px}
 html body.portal-page.react-site header .brand small{display:none}
 html body.portal-page.react-site header .brand span{white-space:nowrap;font-size:12px}
 html body.portal-page.react-site header .brand-emblem{width:30px;height:auto}
 html body.portal-page.react-site .reference-menu-trigger{padding-inline:10px;gap:0;right:116px;min-width:62px}
 html body.portal-page.react-site .reference-menu-trigger>span{display:none}
 html body.portal-page.react-site .reference-slider-controls{gap:4px}
 .reference-slider-dots button{width:36px;min-width:36px}
 html body.portal-page.react-site .reference-slider-controls>button{padding-inline:10px}
}
@media(max-width:760px){
 html body.react-site .react-step-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;padding-bottom:max(12px,env(safe-area-inset-bottom));}
 html body.react-site .react-step-nav button{width:100%;min-width:0;min-height:44px;padding:10px 6px;line-height:1.35;white-space:normal;}
 html body.react-site .react-step-nav>span{font-size:12px;white-space:nowrap;}
 html body.react-site #detail{padding:20px 16px;}
 html body.react-site .bk-reading-tools{gap:12px;}
 .reference-menu-inner{padding-bottom:max(24px,env(safe-area-inset-bottom));}
 .reference-slider-dots button{min-width:36px;width:36px;}
 html body.react-site input,html body.react-site select,html body.react-site textarea{font-size:16px;}
}
@media(pointer:coarse){
 html body.react-site :is(button,.button,header nav a,.quick-links a){min-height:44px;touch-action:manipulation;}
 .reference-slider-dots button{width:44px;min-width:44px;}
}
@media(max-height:500px) and (orientation:landscape){
 .reference-menu-inner{padding:16px 24px;}.reference-menu-links{padding-block:20px;gap:12px;}.reference-menu-links a{font-size:32px;min-height:40px;}.reference-menu-bottom{padding-top:12px;}
}
@media(max-width:380px){.reference-slider-controls{flex-wrap:wrap}.reference-slider-dots{order:3;width:100%;justify-content:center}}

/* Motion pass 26.11.2026: reading line, quiz check, counting figures */
.bk-reading-progress{position:fixed;inset:0 0 auto 0;height:3px;background:var(--brand-brass);transform:scaleX(0);transform-origin:left center;z-index:60;pointer-events:none}
.quiz-option{position:relative}
.quiz-option .quiz-mark{width:20px;height:20px;flex:none;margin-left:auto;color:currentColor}
.bk-count{font-variant-numeric:tabular-nums}

/* Course shelf: two compact columns on wide screens, same order and content */
@media(min-width:1101px){
 html body.portal-page.react-site .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
 html body.portal-page.react-site .course-shell>.choice{grid-template-columns:minmax(200px,.72fr) minmax(0,1.28fr)}
 html body.portal-page.react-site .course-shell .atelier-book-stage{min-height:340px}
 html body.portal-page.react-site .reference-course-copy{padding:28px 28px 24px}
 html body.portal-page.react-site .course-shell .course-top{margin-bottom:12px}
 html body.portal-page.react-site .course-shell h2{font-size:clamp(1.5rem,1.9vw,1.9rem);margin:0 0 12px}
 html body.portal-page.react-site .course-shell .reference-course-copy>p{font-size:15px;line-height:1.6}
 html body.portal-page.react-site .course-shell .course-cta{margin-top:auto}
}

/* Motion pass 2, 26.11.2026 */
/* Read seal next to the read button */
.actions .read-seal{position:relative;display:inline-grid;place-items:center;width:64px;height:64px;color:var(--brand-burgundy,#642c3b)!important;opacity:1;flex:none;margin-left:4px}
html[data-theme=dark] .actions .read-seal{color:var(--brand-brass)}
.read-seal svg{width:64px;height:64px;display:block}
.read-seal svg text{font-family:inherit}
.read-seal-ink{position:absolute;inset:4px;border-radius:50%;border:2px solid currentColor;pointer-events:none}
/* Highlighter under statute numbers */
.pill.law-mark{position:relative;isolation:isolate}
.law-mark .law-ink{position:absolute;left:4px;right:4px;bottom:3px;height:45%;background:color-mix(in srgb,var(--brand-brass) 45%,transparent);border-radius:2px;transform-origin:left center;z-index:-1}
/* Gavel in the verdict */
.verdict-visual{position:relative}
.verdict-gavel{position:absolute;top:20px;right:20px;width:56px;height:56px;color:var(--brand-brass);pointer-events:none}
/* Theme switch: the new theme spreads from the button, no crossfade */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}

/* Motion pass 3, 26.11.2026 */
/* 3D shelf (desktop with mouse); the course cards stay for phones and as fallback */
.bk-shelf{margin:8px 0 32px}
.bk-shelf-stage{position:relative;height:min(540px,62vh);min-height:440px;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--brand-burgundy) 6%,var(--surface)) 0%,var(--surface) 100%);border:1px solid var(--line)}
.bk-shelf-canvas{display:block;width:100%;height:100%}
.bk-shelf:not(.is-ready) .bk-shelf-tabs,.bk-shelf:not(.is-ready) .bk-shelf-panel{display:none}
.bk-shelf-stage{transition:opacity .4s ease}.bk-shelf:not(.is-ready) .bk-shelf-stage{opacity:0}
.bk-shelf-tabs{display:flex;gap:8px;justify-content:center;margin:16px 0}
.bk-shelf-tabs button{min-height:36px;padding:0 16px;border-radius:18px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:14px;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.bk-shelf-tabs button[aria-pressed=true]{background:var(--brand-burgundy);border-color:var(--brand-burgundy);color:var(--brand-ivory)}
.bk-shelf-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:40px;align-items:center;padding:28px 32px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.bk-shelf-panel .course-code{display:inline-block;width:auto}
.bk-shelf-panel h3{font:400 clamp(1.6rem,2.2vw,2.2rem)/1.15 AtelierLora,Georgia,serif;margin:12px 0}
.bk-shelf-panel .bk-shelf-copy>p{color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 16px}
.bk-shelf-side{display:flex;flex-direction:column;gap:12px}
.bk-shelf-side>p{margin:0;font-size:14px;color:var(--muted)}
.bk-shelf-side .button.primary{background:var(--brand-brass)!important;border-color:var(--brand-brass)!important;color:#2d141b!important;text-align:center;border-radius:24px;padding:12px 24px}
.bk-shelf-side .quick-links{display:flex;flex-wrap:wrap;gap:8px}
html body.portal-page.react-site.bk-shelf-on .courses-section .course-grid{display:none!important}
html[data-theme=dark] .bk-shelf-stage{background:linear-gradient(180deg,#3c1a23 0%,#2d141b 100%)}

/* Book grows with progress: thicker page edge, longer ribbon, foil shine when complete */
.atelier-book-stage .atelier-book:after{width:calc(5px + var(--bk-progress,0) * 9px);right:calc(-5px - var(--bk-progress,0) * 9px);transition:width .6s cubic-bezier(.23,1,.32,1),right .6s cubic-bezier(.23,1,.32,1)}
.atelier-book-stage .atelier-book-ribbon{height:calc(25px + var(--bk-progress,0) * 34px);transition:height .6s cubic-bezier(.23,1,.32,1)}
.atelier-book-foil-clip{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:3}
.atelier-book-foil{position:absolute;inset:-20% auto -20% 0;width:60%;background:linear-gradient(105deg,transparent 0%,color-mix(in srgb,var(--brand-brass) 0%,transparent) 30%,color-mix(in srgb,#dcceb3 70%,transparent) 50%,transparent 70%);mix-blend-mode:screen}

/* Lamp light on the hero photo */
.bk-lamp{position:absolute;left:-380px;top:-380px;width:760px;height:760px;border-radius:50%;pointer-events:none;z-index:1;opacity:0;background:radial-gradient(circle,color-mix(in srgb,#dcceb3 30%,transparent) 0%,color-mix(in srgb,var(--brand-brass) 12%,transparent) 34%,transparent 64%);mix-blend-mode:screen;transition:opacity .5s ease}
.bk-lamp.is-on{opacity:1}
.portal-hero .hero-copy{position:relative;z-index:2}

/* Game files: a note peeks out on hover */
.file-card .file-peek{position:absolute;left:20px;right:20px;bottom:64px;padding:12px 16px;background:var(--brand-ivory);color:#3c1a23;border-radius:4px;font-size:14px;line-height:1.45;box-shadow:0 8px 20px #2d141b1f;opacity:0;transform:translateY(14px) rotate(-1.5deg);transition:opacity .2s ease,transform .26s cubic-bezier(.23,1,.32,1);pointer-events:none;z-index:2}
.file-card .file-peek small{display:block;font-size:12px;color:#754450;margin-bottom:4px}
@media(hover:hover) and (pointer:fine){.file-card:hover .file-peek,.file-card:focus-visible .file-peek{opacity:1;transform:translateY(0) rotate(-1deg)}.file-card .file-excerpt{transition:opacity .2s ease}.file-card:hover .file-excerpt{opacity:.15}}

/* Completion certificate */
.bk-cert-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px;background:color-mix(in srgb,#2d141b 55%,transparent)}
.bk-cert{position:relative;overflow:hidden;width:min(520px,100%);text-align:center;padding:48px 40px 36px;border-radius:12px;background:var(--brand-ivory);color:#3c1a23;border:1px solid var(--brand-brass);box-shadow:0 24px 60px #2d141b40,inset 0 0 0 8px var(--brand-ivory),inset 0 0 0 9px color-mix(in srgb,var(--brand-brass) 60%,transparent)}
.bk-cert-seal{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 16px;border-radius:50%;border:2px solid var(--brand-burgundy);color:var(--brand-burgundy);font:600 22px/1 AtelierLora,Georgia,serif;box-shadow:inset 0 0 0 4px var(--brand-ivory),inset 0 0 0 5px var(--brand-burgundy)}
.bk-cert-kicker{margin:0 0 8px;font-size:14px;color:#754450}
.bk-cert h2{margin:0 0 12px;font:400 2rem/1.15 AtelierLora,Georgia,serif;color:var(--brand-burgundy)}
.bk-cert p{margin:0 0 8px;line-height:1.55}
.bk-cert-date{font-variant-numeric:tabular-nums;color:#754450}
.bk-cert small{display:block;margin:16px 0 24px;color:#885d66;font-size:12px}
.bk-cert button.primary{background:var(--brand-brass)!important;border-color:var(--brand-brass)!important;color:#2d141b!important;border-radius:24px;padding:12px 32px}
.bk-cert-foil{position:absolute;top:-20%;bottom:-20%;left:0;width:45%;background:linear-gradient(105deg,transparent 0%,color-mix(in srgb,#dcceb3 75%,transparent) 50%,transparent 100%);mix-blend-mode:multiply;transform:translateX(-160%) skewX(-12deg);animation:bk-foil 1.2s .4s cubic-bezier(.4,0,.2,1) forwards;pointer-events:none}
@keyframes bk-foil{to{transform:translateX(320%) skewX(-12deg)}}

/* Dark mode: thin ivory outline that follows the logo's arch so it does not sink into the burgundy header */
html[data-theme=dark] img[src*="bk-logo-header"]{filter:drop-shadow(1px 0 0 #f5f0e8) drop-shadow(-1px 0 0 #f5f0e8) drop-shadow(0 1px 0 #f5f0e8) drop-shadow(0 -1px 0 #f5f0e8)}

/* Mobile and reading pass, 26.11.2026 */
/* Page turn: perspective on the parent so the page keeps no transform once it settles */
.react-detail-slot{perspective:1400px}

/* Reading tools: only the focus button, no longer sticky over the text */
html body.react-site .bk-reading-tools{position:static;display:flex;justify-content:flex-end;padding:0 0 16px;margin:0 0 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html body.react-site .bk-focus-toggle{margin-left:0;font-size:13px!important;padding:10px 16px!important;min-height:44px}

/* Focus mode: only the text. The exit button sits quietly in the corner */
html body.react-site.bk-focus .react-utilities,html body.react-site.bk-focus .react-outline-toggle,html body.react-site.bk-focus .bk-lamp{display:none!important}
html body.react-site.bk-focus .bk-reading-tools{position:fixed;top:12px;right:12px;z-index:60;padding:0;margin:0;border:0;background:none}
html body.react-site.bk-focus .bk-focus-toggle{opacity:.55;transition:opacity .2s ease;box-shadow:0 2px 10px #2d141b14}
html body.react-site.bk-focus .bk-focus-toggle:hover,html body.react-site.bk-focus .bk-focus-toggle:focus-visible{opacity:1}
html body.react-site.bk-focus .react-step-nav{position:static!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

@media(max-width:760px){
 /* Home hero fits the first screen: shorter frame, photo shows the lamp and books, no repeated link row */
 html body.portal-page.react-site .portal-hero{height:auto!important;min-height:calc(100svh - 172px)!important;padding:32px 20px 28px!important;display:flex!important;flex-direction:column;justify-content:center}
 html body.portal-page.react-site .portal-hero .reference-hero-foot{display:none!important}
 html body.portal-page.react-site .portal-hero .hero-photo img{object-position:80% 50%!important}
 html body.portal-page.react-site .portal-hero .hero-signature{margin-top:24px}
 /* Nothing readable below 11px on phones */
 .choice .number,.game-stats span,.file-card .folder-tab,.game-footer span,.case-toolbar span,.board-label,.board-label span,.question-budget{font-size:12px!important}
 .scene-case-number{font-size:11px!important}
}

/* Shelf pass 2: course colour dots on the tabs */
.bk-shelf-tabs button{display:inline-flex;align-items:center;gap:8px}
.bk-shelf-dot{width:10px;height:10px;border-radius:50%;box-shadow:inset 0 0 0 1px color-mix(in srgb,#2d141b 25%,transparent);flex:none}
.bk-shelf-tabs button[aria-pressed=true] .bk-shelf-dot{box-shadow:0 0 0 2px var(--brand-ivory)}

/* Course opening in the course's own colours */
.react-book-journey{animation:bk-journey-in .18s ease-out both}
@keyframes bk-journey-in{from{opacity:0}}
.react-book-journey[data-course=mohuk]{background:radial-gradient(ellipse at 50% 45%,#642c3b 0%,#3c1a23 60%,#200e13 100%)}
.react-book-journey[data-course=is]{background:radial-gradient(ellipse at 50% 45%,#8e6350 0%,#5a2835 58%,#2d141b 100%)}
.react-book-journey[data-course=miras]{background:radial-gradient(ellipse at 50% 45%,#b79a64 0%,#8e6350 50%,#3c1a23 100%)}
.react-book-journey[data-course=cmk]{background:radial-gradient(ellipse at 50% 45%,#4b212c 0%,#2d141b 55%,#200e13 100%)}
.react-book-journey[data-course=kiymetli]{background:radial-gradient(ellipse at 50% 45%,#c3ab7e 0%,#8e6350 55%,#4b212c 100%)}
.react-book-journey[data-course=hr]{background:radial-gradient(ellipse at 50% 45%,#885d66 0%,#5a2835 58%,#2d141b 100%)}
.journey-flash{position:absolute;inset:0;background:#f5f0e8;pointer-events:none;z-index:3}
html[data-theme=dark] .journey-flash{background:#2d141b}
/* No-3D fallback covers follow the course too */
.react-book-journey[data-course=is] .journey-book-cover{background:linear-gradient(100deg,#5a2835,#794845 12%,#8e6350)}
.react-book-journey[data-course=miras] .journey-book-cover{background:linear-gradient(100deg,#a27e5a,#b79a64 12%,#c3ab7e);color:#2d141b}
.react-book-journey[data-course=miras] .journey-book-cover>strong{color:#2d141b}
.react-book-journey[data-course=cmk] .journey-book-cover{background:linear-gradient(100deg,#200e13,#2d141b 12%,#3c1a23)}
.react-book-journey[data-course=kiymetli] .journey-book-cover{background:linear-gradient(100deg,#dcceb3,#e9dfce 12%,#f1eae3);color:#642c3b}
.react-book-journey[data-course=kiymetli] .journey-book-cover>strong{color:#642c3b}
.react-book-journey[data-course=hr] .journey-book-cover{background:linear-gradient(100deg,#5a2835,#754450 12%,#885d66)}

/* CSS books (cards, course pages) use the same course colours as the shelf and the opening */
html body .atelier-book-stage[data-course=is] .atelier-book{background:linear-gradient(95deg,#5a2835,#8e6350 12%,#794845 17%,#8e6350 85%,#794845)!important}
html body .atelier-book-stage[data-course=miras] .atelier-book{background:linear-gradient(95deg,#a27e5a,#c3ab7e 12%,#b79a64 17%,#c3ab7e 85%,#a27e5a)!important;color:#2d141b!important}
html body .atelier-book-stage[data-course=cmk] .atelier-book{background:linear-gradient(95deg,#200e13,#3c1a23 12%,#2d141b 17%,#3c1a23 85%,#200e13)!important}
html body .atelier-book-stage[data-course=kiymetli] .atelier-book{background:linear-gradient(95deg,#dcceb3,#f1eae3 12%,#e9dfce 17%,#f1eae3 85%,#dcceb3)!important;color:#642c3b!important}
html body .atelier-book-stage[data-course=hr] .atelier-book{background:linear-gradient(95deg,#5a2835,#885d66 12%,#754450 17%,#885d66 85%,#5a2835)!important}
html body .atelier-book-stage[data-course=miras] .atelier-book :is(strong,span),html body .atelier-book-stage[data-course=kiymetli] .atelier-book :is(strong,span){color:inherit!important}
html body .atelier-book-stage[data-course=miras] .atelier-book-emblem,html body .atelier-book-stage[data-course=kiymetli] .atelier-book-emblem{color:#642c3b!important}
html body .atelier-book-stage[data-course=miras] .atelier-book:before,html body .atelier-book-stage[data-course=kiymetli] .atelier-book:before{border-color:#a27e5a!important}

/* Shelf on phones and tablets: one book in focus, swipe to move */
.bk-shelf.is-compact .bk-shelf-stage{height:min(420px,58svh);min-height:320px}
.bk-shelf-hint{margin:8px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.bk-shelf.is-compact .bk-shelf-tabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;margin:12px -2px}
.bk-shelf.is-compact .bk-shelf-tabs::-webkit-scrollbar{display:none}
.bk-shelf.is-compact .bk-shelf-tabs button{flex:none}
.bk-shelf.is-compact .bk-shelf-panel{grid-template-columns:1fr;gap:20px;padding:20px}
.bk-shelf.is-compact .bk-shelf-side .button.primary{width:100%}

/* Olive accent, 26.11.2026: only for things that are done or correct */
:root{--olive:#4f5b3f;--olive-mid:#7d8766;--olive-pale:#e3e5d8;--olive-deep:#2f3826;--olive-light:#b5bd9e}
html body.react-site #detail .quiz-option.correct{border-color:var(--olive)!important;background:var(--olive-pale)!important;color:var(--ink)!important}
html body.react-site #detail .quiz-option.correct .letter{background:var(--olive)!important;color:#f5f0e8!important}
html body.react-site .quiz-option .quiz-mark{color:var(--olive)}
html body.react-site #detail .quiz-feedback:not(.incorrect){border-color:var(--olive-mid)!important;background:var(--olive-pale)!important}
html body.react-site #detail .quiz-feedback:not(.incorrect) h3{color:var(--olive)!important}
html body.react-site #detail .actions .primary.is-read{background:var(--olive)!important;border-color:var(--olive)!important;color:#f5f0e8!important}
html body.react-site .actions .read-seal{color:var(--olive)!important}
html body .course-progress-fill{background:var(--olive-mid)!important}
html[data-theme=dark] body.react-site #detail .quiz-option.correct{background:var(--olive-deep)!important;border-color:var(--olive-light)!important;color:#f1eae3!important}
html[data-theme=dark] body.react-site #detail .quiz-option.correct .letter{background:var(--olive-light)!important;color:var(--olive-deep)!important}
html[data-theme=dark] body.react-site .quiz-option .quiz-mark{color:var(--olive-light)}
html[data-theme=dark] body.react-site #detail .quiz-feedback:not(.incorrect){background:var(--olive-deep)!important;border-color:var(--olive-mid)!important}
html[data-theme=dark] body.react-site #detail .quiz-feedback:not(.incorrect) h3{color:var(--olive-light)!important}
html[data-theme=dark] body.react-site #detail .actions .primary.is-read{background:var(--olive-light)!important;border-color:var(--olive-light)!important;color:var(--olive-deep)!important}
html[data-theme=dark] body.react-site .actions .read-seal{color:var(--olive-light)!important}
html[data-theme=dark] body .course-progress-fill{background:var(--olive-light)!important}

/* Phone install card and guide */
.bk-install{display:flex;align-items:center;gap:16px;margin:24px 0;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.bk-install img{border-radius:12px;flex:none}
.bk-install-copy{flex:1;min-width:0}
.bk-install h2{margin:0 0 4px;font:400 1.25rem/1.25 AtelierLora,Georgia,serif}
.bk-install p{margin:0;color:var(--muted);font-size:14px}
.bk-install>.primary{flex:none;border-radius:24px;padding:12px 20px}
@media(max-width:520px){.bk-install{flex-wrap:wrap}.bk-install>.primary{width:100%}}
.bk-install-sheet{position:fixed;inset:0;z-index:300;display:grid;align-items:end;justify-items:center;padding:16px;background:color-mix(in srgb,#2d141b 50%,transparent)}
.bk-install-card{width:min(440px,100%);padding:24px;border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 20px 50px #2d141b33}
.bk-install-card h3{margin:0 0 12px;font:400 1.4rem/1.2 AtelierLora,Georgia,serif}
.bk-install-card ol{margin:0 0 16px;padding-left:20px;line-height:1.9}
.bk-install-card svg{vertical-align:-3px;margin-left:4px}
.bk-install-note{font-size:13px;color:var(--muted);margin:0 0 16px;line-height:1.5}
.bk-install-card>button{width:100%}
@media(min-width:761px){.bk-install-sheet{align-items:center}}

/* Term explanations */
html body.react-site .article .bk-term{all:unset;cursor:pointer;color:inherit;font:inherit;text-decoration:underline dotted color-mix(in srgb,var(--brand-brass) 85%,transparent);text-decoration-thickness:2px;text-underline-offset:4px;border-radius:3px;transition:background-color .15s ease}
html body.react-site .article .bk-term:hover,html body.react-site .article .bk-term[aria-expanded=true]{background:color-mix(in srgb,var(--brand-brass) 18%,transparent)}
html body.react-site .article .bk-term:focus-visible{outline:2px solid var(--brand-brass);outline-offset:2px}
.bk-term-card{position:fixed;z-index:120;display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 12px 32px #2d141b26;font-size:15px;line-height:1.55}
.bk-term-card strong{font:400 1.05rem/1.2 AtelierLora,Georgia,serif;color:var(--brand-burgundy)}
.bk-term-card small{font-size:12px;color:var(--muted)}
html[data-theme=dark] .bk-term-card{background:#3c1a23;color:#f1eae3;border-color:#754450}
html[data-theme=dark] .bk-term-card strong{color:#dcceb3}
html body.react-site.bk-focus .bk-term{text-decoration-color:color-mix(in srgb,var(--brand-brass) 45%,transparent)}

/* Visitor statistics consent */
.bk-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:150;max-width:560px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 12px 32px #2d141b26;font-size:14px;line-height:1.5}
.bk-consent p{margin:0;flex:1}
.bk-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.bk-consent-actions{display:flex;gap:8px;flex:none}
.bk-consent-actions button{min-height:40px;padding:8px 16px;border-radius:20px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:14px}
.bk-consent-actions button:last-child{background:var(--brand-burgundy);border-color:var(--brand-burgundy);color:#f5f0e8}
@media(max-width:560px){.bk-consent{flex-direction:column;align-items:stretch}.bk-consent-actions button{flex:1}}
html body.react-site.bk-focus .bk-consent{display:none}
.bk-consent-settings{max-width:760px;margin:24px auto;padding:20px 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.bk-consent-settings h2{margin:0 0 8px;font:400 1.3rem/1.25 AtelierLora,Georgia,serif}
.bk-consent-settings p{margin:0 0 12px}
.bk-consent-settings .bk-consent-actions button[aria-pressed=true]{background:var(--brand-burgundy);border-color:var(--brand-burgundy);color:#f5f0e8}
.bk-consent-settings .bk-consent-actions button:last-child:not([aria-pressed=true]){background:var(--surface);border-color:var(--line);color:var(--ink)}

/* Book covers: proportional rows so the name never runs into the emblem or footer, at any book size */
html body .atelier-book-stage .atelier-book .atelier-book-series{top:7%!important;line-height:1.2!important}
html body .atelier-book-stage .atelier-book>strong{position:absolute!important;top:20%!important;left:12%!important;right:10%!important;margin:0!important;text-align:center;line-height:1.05!important}
html body .atelier-book-stage .atelier-book>strong.book-full-title{top:18%!important;font-size:1.05rem!important}
html body .atelier-book-stage .atelier-book .atelier-book-emblem{top:40%!important;left:calc(50% - 15%)!important;width:30%!important;height:auto!important;aspect-ratio:1}
html body .atelier-book-stage .atelier-book .atelier-book-emblem svg{width:62%!important;height:62%!important}
html body .atelier-book-stage .atelier-book .atelier-book-title{top:auto!important;bottom:21%!important;line-height:1.3!important}
html body .atelier-book-stage .atelier-book .atelier-book-footer{top:auto!important;bottom:6%!important;padding-top:5px!important}
html body .atelier-book-stage[data-course=kiymetli] .atelier-book .atelier-book-emblem{top:41%!important;width:26%!important;left:calc(50% - 13%)!important}

/* Site menu (26.11.2026): courses with spine colour and progress, study shortcuts, legal footer */
html:has(dialog.bk-menu[open]){overflow:hidden}
dialog.bk-menu{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#f5f0e8;overflow:hidden}
dialog.bk-menu::backdrop{background:transparent}
.bk-menu-panel{position:absolute;inset:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:20px clamp(20px,5vw,64px) 24px;background:radial-gradient(ellipse at 85% 0%,#4b212c 0%,#2d141b 55%,#200e13 100%);scrollbar-color:#754450 transparent}
.bk-menu-panel ::selection{background:#b79a64;color:#2d141b}
.bk-menu-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid color-mix(in srgb,#f5f0e8 12%,transparent)}
.bk-menu-brand{display:inline-flex;align-items:center;gap:12px;color:#f5f0e8;text-decoration:none;font-weight:500;font-size:15px;line-height:1;font-family:inherit;letter-spacing:.06em}
.bk-menu-brand img{filter:drop-shadow(1px 0 0 #f5f0e8) drop-shadow(-1px 0 0 #f5f0e8) drop-shadow(0 1px 0 #f5f0e8) drop-shadow(0 -1px 0 #f5f0e8)}
.bk-menu-close{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid color-mix(in srgb,#f5f0e8 22%,transparent);background:transparent;color:#f5f0e8;cursor:pointer;transition:background-color .16s ease,transform .16s cubic-bezier(.23,1,.32,1)}
.bk-menu-close:hover{background:color-mix(in srgb,#f5f0e8 10%,transparent)}
.bk-menu-close:active{transform:scale(.95)}
.bk-menu-grid{flex:1;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:clamp(32px,6vw,96px);padding:clamp(24px,5vh,56px) 0;align-content:start}
.bk-menu h2{margin:0 0 12px;font-weight:400;font-size:14px;line-height:1.4;font-family:inherit;letter-spacing:.02em;color:#cab5b4}
.bk-menu ul{list-style:none;margin:0;padding:0}
.bk-menu-courses a{position:relative;display:grid;grid-template-columns:10px minmax(0,1fr) auto 18px;align-items:center;gap:16px;padding:14px 4px;border-bottom:1px solid color-mix(in srgb,#f5f0e8 10%,transparent);color:#f5f0e8;text-decoration:none;transition:color .16s ease,padding-left .2s cubic-bezier(.23,1,.32,1)}
.bk-menu-courses li:first-child a{border-top:1px solid color-mix(in srgb,#f5f0e8 10%,transparent)}
.bk-menu-spine{width:10px;height:30px;border-radius:2px 3px 3px 2px;box-shadow:inset 0 0 0 1px color-mix(in srgb,#f5f0e8 28%,transparent)}
.bk-menu-name{font:400 clamp(1.35rem,2.4vw,2rem)/1.15 AtelierLora,Georgia,serif;letter-spacing:-.01em}
.bk-menu-meta{font-size:13px;color:#cab5b4;font-variant-numeric:tabular-nums;white-space:nowrap}
.bk-menu-arrow{color:#b79a64;opacity:0;transform:translateX(-6px);transition:opacity .16s ease,transform .2s cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){.bk-menu-courses a:hover{padding-left:12px}.bk-menu-courses a:hover .bk-menu-arrow{opacity:1;transform:none}.bk-menu-courses a:hover .bk-menu-name{color:#dcceb3}}
.bk-menu-courses a[aria-current=page] .bk-menu-name,.bk-menu-links a[aria-current=page]{color:#d0bc99}
.bk-menu-courses a[aria-current=page] .bk-menu-arrow{opacity:1;transform:none}
.bk-menu-side{display:flex;flex-direction:column;gap:28px}
.bk-menu-resume{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-radius:14px;background:color-mix(in srgb,#f5f0e8 7%,transparent);border:1px solid color-mix(in srgb,#b79a64 40%,transparent);color:#f5f0e8;text-decoration:none;transition:background-color .16s ease}
.bk-menu-resume:hover{background:color-mix(in srgb,#f5f0e8 11%,transparent)}
.bk-menu-resume span{font-size:13px;color:#d0bc99}
.bk-menu-resume strong{font:400 1.2rem/1.3 AtelierLora,Georgia,serif}
.bk-menu-resume small{font-size:13px;color:#cab5b4}
.bk-menu-links li{border-bottom:1px solid color-mix(in srgb,#f5f0e8 10%,transparent)}
.bk-menu-links li:first-child{border-top:1px solid color-mix(in srgb,#f5f0e8 10%,transparent)}
.bk-menu-links a,.bk-menu-links button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 4px;background:none;border:0;color:#f5f0e8;font-weight:400;font-size:17px;line-height:1.3;font-family:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:color .16s ease}
.bk-menu-links a:hover,.bk-menu-links button:hover{color:#dcceb3}
.bk-menu-links kbd{font-weight:500;font-size:12px;line-height:1;font-family:inherit;padding:5px 8px;border-radius:6px;border:1px solid color-mix(in srgb,#f5f0e8 22%,transparent);color:#cab5b4}
.bk-menu-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:20px;border-top:1px solid color-mix(in srgb,#f5f0e8 12%,transparent);font-size:13px}
.bk-menu-foot nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.bk-menu-foot a{color:#cab5b4;text-decoration:none;text-underline-offset:4px}
.bk-menu-foot a:hover{color:#f5f0e8;text-decoration:underline}
.bk-menu a:focus-visible,.bk-menu button:focus-visible{outline:2px solid #b79a64;outline-offset:3px;border-radius:6px}
@media(max-width:860px){.bk-menu-grid{grid-template-columns:1fr;gap:32px;padding:24px 0}.bk-menu-courses a{padding:12px 2px;gap:14px}.bk-menu-name{font-size:1.3rem}.bk-menu-foot{flex-direction:column;align-items:flex-start}}
@media(max-width:400px){.bk-menu-meta{font-size:12px}.bk-menu-courses a{grid-template-columns:10px minmax(0,1fr) auto}.bk-menu-arrow{display:none}}

/* Menu: keep site-wide link/button rules out of the panel */
html body dialog.bk-menu nav,html body dialog.bk-menu ul,html body dialog.bk-menu li{display:block;margin:0;padding:0;background:none;border-radius:0;box-shadow:none}
html body dialog.bk-menu .bk-menu-foot nav{display:flex!important}
html body dialog.bk-menu a{color:#f5f0e8!important;background:none!important;box-shadow:none!important;font-weight:400}
html body dialog.bk-menu .bk-menu-meta,html body dialog.bk-menu .bk-menu-foot a,html body dialog.bk-menu .bk-menu-resume small{color:#cab5b4!important}
html body dialog.bk-menu .bk-menu-resume span,html body dialog.bk-menu a[aria-current=page] .bk-menu-name,html body dialog.bk-menu .bk-menu-links a[aria-current=page]{color:#d0bc99!important}
html body dialog.bk-menu .bk-menu-resume{background:color-mix(in srgb,#f5f0e8 7%,transparent)!important;border:1px solid color-mix(in srgb,#b79a64 40%,transparent)!important}
html body dialog.bk-menu .bk-menu-links button{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 4px;color:#f5f0e8;font-weight:400;font-size:17px;line-height:1.3;font-family:inherit;cursor:pointer}
html body dialog.bk-menu .bk-menu-close{all:unset;box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid color-mix(in srgb,#f5f0e8 22%,transparent);color:#f5f0e8;cursor:pointer;transition:background-color .16s ease,transform .16s cubic-bezier(.23,1,.32,1)}
html body dialog.bk-menu .bk-menu-close:hover{background:color-mix(in srgb,#f5f0e8 10%,transparent)}
html body dialog.bk-menu .bk-menu-links button:hover{color:#dcceb3}
html body dialog.bk-menu .bk-menu-links button:focus-visible,html body dialog.bk-menu .bk-menu-close:focus-visible{outline:2px solid #b79a64;outline-offset:3px}
html body dialog.bk-menu h2{color:#cab5b4!important;font-weight:400!important;font-size:14px!important;line-height:1.4!important;font-family:inherit!important;letter-spacing:.02em;margin:0 0 12px!important}
html body dialog.bk-menu footer.bk-menu-foot{max-width:none!important;width:100%!important;margin:0!important;padding:20px 0 0!important;background:none!important;text-align:left!important;justify-content:space-between!important}
html body dialog.bk-menu .bk-menu-links a{font-size:17px!important;line-height:1.3!important;min-height:52px!important;padding:0 4px!important;display:flex!important;align-items:center!important}
html body dialog.bk-menu .bk-menu-foot a{font-size:13px!important;line-height:1.4!important}
@media(pointer:coarse){html body dialog.bk-menu .bk-menu-links kbd{display:none}}

/* Home order: course library, then the games invite. Even spacing around the games block */
html body.portal-page.react-site #hukuk-oyunlari.bk-game-invite{margin-top:24px!important;margin-bottom:24px!important}

/* Address move notice: same card as the consent question, shown at the top */
.bk-consent.bk-move{top:16px;bottom:auto;z-index:155}
