/* Tekke only: restrained gold, deep teal and emerald selection. */
html body #tk[data-tk-ux="r992"] {--tkux-gold:#ddbc7a;--tkux-ink:#f6ead2;--tkux-mint:#8ff0c7;--tkux-panel:rgba(5,24,33,.96);color:var(--tkux-ink)}
html body #tk[data-tk-ux="r992"] [hidden]{display:none!important}
#tk[data-tk-ux="r992"] button:focus-visible,#tk[data-tk-ux="r992"] input:focus-visible,#tk[data-tk-ux="r992"] select:focus-visible,#tk[data-tk-ux="r992"] [role="button"]:focus-visible{outline:2px solid var(--tkux-mint);outline-offset:3px}
#tk[data-tk-ux="r992"] #gate{display:flex;align-items:stretch;justify-content:flex-start;padding:32px max(18px,calc((100vw - 440px)/2)) calc(30px + env(safe-area-inset-bottom));gap:16px;background:linear-gradient(180deg,rgba(2,17,26,.26),rgba(2,17,26,.78));overflow-y:auto;touch-action:pan-y}
#tk[data-tk-ux="r992"] #gLogo{display:none}#tk[data-tk-ux="r992"] #gT{font-size:28px;text-align:center;letter-spacing:8px;margin-top:22px}
#tk[data-tk-ux="r992"] #gWhat,#tk[data-tk-ux="r992"] #gSteps,#tk[data-tk-ux="r992"] #gS,#tk[data-tk-ux="r992"] #gNote,#tk[data-tk-ux="r992"] #gVakit,#tk[data-tk-ux="r992"] #gDefter{display:none!important}
#tk[data-tk-ux="r992"] .r992Purpose h2{font-family:inherit;font-size:15px;font-weight:400;line-height:1.5;text-align:center;margin:0 0 20px}
#tk[data-tk-ux="r992"] .r992PurposeBtn{display:flex;align-items:center;gap:16px;width:100%;min-height:86px;margin:0 0 12px;padding:16px 18px;text-align:left;border:1px solid #a6957c;border-radius:18px;background:linear-gradient(120deg,rgba(9,33,41,.93),rgba(17,24,40,.92));color:var(--tkux-ink);font-family:inherit}
#tk[data-tk-ux="r992"] .r992PurposeBtn[aria-pressed="true"]{border-color:var(--tkux-mint);background:linear-gradient(120deg,#043a32eb,#052d35e8);box-shadow:inset 0 0 20px #54eeb715,0 0 12px #45dfa524}
#tk[data-tk-ux="r992"] .r992PurposeSymbol{font-size:34px;width:40px;text-align:center;color:var(--tkux-gold)}
#tk[data-tk-ux="r992"] .r992PurposeBtn strong{display:block;font:600 22px/1.25 Georgia,serif}#tk[data-tk-ux="r992"] .r992PurposeBtn small{display:block;font-size:14px;color:#d0d9d8;margin-top:7px;line-height:1.4}
#tk[data-tk-ux="r992"] .r992PurposeCheck{margin-left:auto;font-size:25px;color:var(--tkux-mint)}
#tk[data-tk-ux="r992"] #gSetSettings{margin:0;padding:14px 0;border:0;border-top:1px solid #ddbc7a60;border-radius:0;background:none}
#tk[data-tk-ux="r992"] #gSetSettings h3{display:none}#tk[data-tk-ux="r992"] #gSetSelect{min-height:48px;background:#071d27;color:var(--tkux-ink);border:1px solid #a6957c;border-radius:12px;padding:10px;font:inherit;width:100%}
#tk[data-tk-ux="r992"] #r992RecordingSummary{font-size:13px;color:#d0d9d8;margin:12px 0 18px;line-height:1.6}
#tk[data-tk-ux="r992"] #gSetSettings>p:not(#r992RecordingSummary){font-size:12px;line-height:1.5}#tk[data-tk-ux="r992"] #gSetSettings>p:last-child{display:none}
#tk[data-tk-ux="r992"] #gBtn,#tk[data-tk-ux="r992"] .r992GoldBtn{min-height:58px;width:100%;padding:14px 18px;border:1px solid #f4ce83;border-radius:16px;background:linear-gradient(135deg,#987536,#284939 48%,#9c7733);color:#fff1cb;box-shadow:inset 0 0 0 3px #e6bf6b33,0 0 15px #e5bc6155;font:700 20px/1.4 Georgia,serif;letter-spacing:1px;white-space:normal}
#tk[data-tk-ux="r992"] .r992SettingsBtn{min-height:48px;width:100%;border:1px solid #b9a785;border-radius:14px;background:#071d27dc;color:var(--tkux-ink);font:inherit;padding:10px}
#tk[data-tk-ux="r992"][data-tk-purpose="set"] #gContext,#tk[data-tk-ux="r992"][data-tk-purpose="set"] .gPick,#tk[data-tk-ux="r992"][data-tk-purpose="set"] #gEst,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #gContext,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] .gPick,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #gEst,#tk[data-tk-ux="r992"]:not([data-tk-purpose="set"]) #gSetSettings{display:none!important}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard[data-preview="1"]{display:none!important}
#tk[data-tk-ux="r992"] #top{left:16px;right:16px;top:calc(14px + env(safe-area-inset-top));align-items:center;gap:8px}#tk[data-tk-ux="r992"] #brand{font-size:15px;letter-spacing:4px}#tk[data-tk-ux="r992"] #topR{gap:6px}
#tk[data-tk-ux="r992"] #top .iBtn,#tk[data-tk-ux="r992"] .r992IconBtn{min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border:1px solid #c3b38977;border-radius:50%;background:#051e2bea;color:var(--tkux-ink);font-size:24px;display:grid;place-items:center;touch-action:manipulation}
#tk[data-tk-ux="r992"] #top #sesT,#tk[data-tk-ux="r992"] #top #tkGoal,#tk[data-tk-ux="r992"] #top #r436TekkePlayerBtn,#tk[data-tk-ux="r992"] #top #muteBtn{display:none}
#tk[data-tk-ux="r992"] #backSukun{font-size:13px;padding:8px 10px;min-height:44px}#tk[data-tk-ux="r992"] #panelBtn{font-size:0}#tk[data-tk-ux="r992"] #panelBtn:after{content:'⚙';font-size:25px}
#tk[data-tk-ux="r992"] #r992SessionBadge{position:absolute;top:calc(66px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);margin:0;padding:6px 14px;z-index:92;font-size:12px;line-height:1.5;border:1px solid #67cfa544;border-radius:999px;background:#072532ec}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard[data-preview="0"]{top:calc(110px + env(safe-area-inset-top));left:16px;right:16px;max-width:600px;padding:12px 110px 12px 16px;border-radius:16px;border:1px solid #d9be8366;background:linear-gradient(110deg,#06232aed,#102132ed);max-height:calc(100dvh - 330px);overflow-y:auto;touch-action:pan-y;box-shadow:0 8px 25px #0004}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r990SetHeading,html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r990SetActions{display:none!important}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r990SetName{font:600 19px/1.3 Georgia,serif;margin:0;padding:0;min-height:0}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r990SetStatus{font-size:13px;line-height:1.5;margin:6px 0 0}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r991SetDismiss{top:12px;right:12px;border:1px solid #c3b38988;min-height:44px;min-width:44px}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard .r992SetExpand{position:absolute;right:62px;top:12px;width:44px;height:44px;min-width:44px;min-height:44px}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard.r992Collapsed .r990SetStep,html body #tk[data-tk-ux="r992"] #r990TekkeSetCard.r992Collapsed .r990SetHint{display:none}
html body #tk[data-tk-ux="r992"]:not([data-tk-purpose="set"]) #r990TekkeSetCard{display:none!important}
#tk[data-tk-ux="r992"][data-tk-purpose="set"] #phase,#tk[data-tk-ux="r992"][data-tk-purpose="set"] #zk,#tk[data-tk-ux="r992"][data-tk-purpose="set"] #tkGuide,#tk[data-tk-ux="r992"][data-tk-purpose="set"] #telkin,#tk[data-tk-ux="r992"][data-tk-purpose="set"] #bArc,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #phase,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #zk,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #tkGuide,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #telkin,#tk[data-tk-ux="r992"][data-tk-purpose="quiet"] #bArc{display:none!important}
#tk[data-tk-ux="r992"] .r992ReflectionGuide{position:absolute;bottom:calc(190px + env(safe-area-inset-bottom));left:18px;right:18px;text-align:center;z-index:4;pointer-events:auto}#tk[data-tk-ux="r992"] .r992ReflectionGuide p{font:400 23px/1.3 Georgia,serif;text-shadow:0 2px 4px #000;margin:12px 0}
#tk[data-tk-ux="r992"] .r992StepButton{min-height:44px;padding:10px 16px;border:1px solid #c6b08088;border-radius:999px;background:#072533e8;color:var(--tkux-ink);font:inherit;touch-action:manipulation}
#tk[data-tk-ux="r992"] .r992Transport{position:absolute;bottom:0;left:0;right:0;z-index:90;padding:16px max(16px,calc((100vw - 600px)/2)) calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#062732ed,#051b25);border-top:1px solid #d9be8388;border-radius:28px 28px 0 0;color:var(--tkux-ink);touch-action:pan-y}
#tk[data-tk-ux="r992"] .r992TransportTitle{text-align:center;font-size:13px;letter-spacing:2px;color:var(--tkux-gold);margin-bottom:12px}#tk[data-tk-ux="r992"] .r992TransportControls{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(70px,.7fr) minmax(86px,1fr);gap:8px}
#tk[data-tk-ux="r992"] .r992TransportControls button{min-height:62px;border:1px solid #d9be8355;border-radius:16px;background:#0a2630;color:var(--tkux-ink);font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;padding:8px}#tk[data-tk-ux="r992"] .r992TransportControls .r992PauseBtn{border-color:#d5bf86;background:linear-gradient(120deg,#145748,#082934)}
#tk[data-tk-ux="r992"] .r992TransportVolume{min-width:0;border:1px solid #d9be8355;border-radius:16px;padding:8px 10px;font-size:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;align-items:center}#tk[data-tk-ux="r992"] .r992TransportVolume input{grid-column:1/-1;width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:30px;accent-color:#ddbc7a;touch-action:pan-y}#tk[data-tk-ux="r992"] #r992NavigationHint{font-size:11px;color:#d0d9d8;text-align:center;line-height:1.5;margin:10px 0 0}
#tk[data-tk-ux="r992"][data-tk-purpose="dhikr"] #tkGuide{bottom:calc(174px + env(safe-area-inset-bottom));font-size:12px}#tk[data-tk-ux="r992"][data-tk-purpose="dhikr"] #center{transform:translateY(-40px)}
#tk[data-tk-ux="r992"] #panel{z-index:110;max-height:85dvh;bottom:0;padding:0 18px;border:1px solid #d9be8388;border-bottom:0;border-radius:28px 28px 0 0;background:var(--tkux-panel);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;box-shadow:0 -8px 36px #0005}
#tk[data-tk-ux="r992"] #pGrip,#tk[data-tk-ux="r992"] #panelDurum{display:none}#tk[data-tk-ux="r992"] .r992SheetHead{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:16px 0 12px}#tk[data-tk-ux="r992"] .r992SheetHead h2{font:400 25px/1.3 Georgia,serif;margin:0}
#tk[data-tk-ux="r992"] #r992PanelTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;position:sticky;top:0;background:#081e29;z-index:3;border-bottom:1px solid #d9be8344;padding:2px 0}#tk[data-tk-ux="r992"] #r992PanelTabs button{min-height:48px;background:none;color:#ccd8d7;border:0;border-bottom:2px solid transparent;font:inherit;padding:6px 2px;font-size:14px}#tk[data-tk-ux="r992"] #r992PanelTabs button[aria-selected="true"]{color:var(--tkux-mint);border-bottom-color:var(--tkux-mint)}
#tk[data-tk-ux="r992"] .r992SheetFoot{position:sticky;bottom:0;background:#081e29;z-index:3;padding:12px 0 10px;border-top:1px solid #d9be8344}#tk[data-tk-ux="r992"] .r992SheetFoot p{font-size:12px;margin:8px 0 0;text-align:center;color:#c8d5d3}#tk[data-tk-ux="r992"] #panel .pSec{margin:14px 0;padding:14px;border:1px solid #d9be8333;border-radius:16px}#tk[data-tk-ux="r992"] #panel .pSec .pT{font-size:14px;line-height:1.5;min-height:44px}#tk[data-tk-ux="r992"] #panel .pD{font-size:13px;line-height:1.6;color:#c4d3d1}#tk[data-tk-ux="r992"] #panel .pHead{margin:12px 0}#tk[data-tk-ux="r992"] #panel .row{gap:8px;min-height:52px}#tk[data-tk-ux="r992"] #panel .opt{gap:12px;min-height:56px}#tk[data-tk-ux="r992"] #panel .opt>span{flex:1;min-width:0;line-height:1.5}#tk[data-tk-ux="r992"] #panel .sw{flex:0 0 44px;min-width:44px;min-height:44px}#tk[data-tk-ux="r992"] #panel select{min-height:44px}
#r992HomeSession{max-width:600px;margin:16px auto;padding:16px;border:1px solid #bb9a62;border-radius:16px;background:#082532;color:#f6ead2}#r992HomeSession[hidden]{display:none!important}#r992HomeSession button{min-height:44px;width:100%;border:1px solid #aa997e;border-radius:12px;background:#133c3a;color:#f6ead2;font:inherit;padding:10px}
@media(max-width:360px){#tk[data-tk-ux="r992"] #brand{font-size:12px;letter-spacing:2px}#tk[data-tk-ux="r992"] #topR{gap:4px}#tk[data-tk-ux="r992"] #top .iBtn{width:44px;min-width:44px}#tk[data-tk-ux="r992"] .r992PurposeBtn{padding:14px 10px;gap:10px}#tk[data-tk-ux="r992"] .r992PurposeBtn strong{font-size:20px}#tk[data-tk-ux="r992"] #r992PanelTabs button{font-size:12px}}
@media(max-height:620px){#tk[data-tk-ux="r992"] .r992ReflectionGuide{bottom:156px}#tk[data-tk-ux="r992"] .r992ReflectionGuide p{font-size:18px}#tk[data-tk-ux="r992"] .r992Transport{padding-top:10px}#tk[data-tk-ux="r992"] .r992TransportControls button{min-height:48px}}
@media(prefers-reduced-motion:reduce){#tk[data-tk-ux="r992"] .r992PurposeBtn{transition:none}}

html body #tk[data-tk-ux="r992"] #r990TekkeSetCard.r992Collapsed:not([data-reason=""]) .r990SetHint{display:block}
#tk[data-tk-ux="r992"] #r992PanelBody{outline-offset:-2px}

/* Override the older full-screen repair's important gate alignment. */
html body.r821-tekke-open #tk[data-tk-ux="r992"] #gate:not(.bye){align-items:stretch!important;padding:calc(64px + env(safe-area-inset-top)) max(18px,calc((100vw - 440px)/2)) calc(30px + env(safe-area-inset-bottom))!important}
html body.r821-tekke-open #tk[data-tk-ux="r992"] #gT{font-size:28px!important;letter-spacing:8px!important}
#tk[data-tk-ux="r992"] #r992PanelBody .pSec .pT{letter-spacing:1px}
#tk[data-tk-ux="r992"] #r992PanelFooter{padding-bottom:calc(12px + env(safe-area-inset-bottom))}

html body.r436-tekke-gate #tk[data-tk-ux="r992"] #top{z-index:95!important}

/* The stable small viewport owns height. Toolbar scroll animations must not
   stretch the grid; JavaScript supplies a keyboard/legacy pixel fallback. */
html body.r821-tekke-open #tk[data-tk-ux="r992"]{
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:100%!important;height:var(--tkux-view-height,100svh)!important;
 min-height:0!important;max-height:var(--tkux-view-height,100svh)!important;
 display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;
 padding:env(safe-area-inset-top) 0 0;box-sizing:border-box!important;
}
html body #tk[data-tk-ux="r992"] #top{
 position:relative!important;inset:auto!important;width:auto!important;margin:0!important;
 grid-row:1;padding:8px 12px;min-height:60px;z-index:95!important;pointer-events:auto!important;
 background:linear-gradient(180deg,#031d29f5,#052432de);border-bottom:1px solid #ddbc7a33;
}
html body #tk[data-tk-ux="r992"] #brand{display:none!important}
html body #tk[data-tk-ux="r992"] #topR{width:100%;gap:8px!important;pointer-events:auto!important}
html body #tk[data-tk-ux="r992"] #backSukun.tkBackBtn{
 position:relative!important;inset:auto!important;min-width:88px!important;max-width:130px!important;
 width:auto!important;height:44px!important;min-height:44px!important;margin-right:auto!important;
 padding:0 12px!important;font-size:12px!important;letter-spacing:1px!important;
}
html body #tk[data-tk-ux="r992"] #panelBtn,
html body #tk[data-tk-ux="r992"] #r992GateSettings{
 min-width:100px!important;width:auto!important;max-width:180px;min-height:44px!important;
 height:auto!important;padding:8px 12px!important;border-radius:12px!important;
 font-size:13px!important;line-height:1.4;letter-spacing:0;white-space:normal;
}
html body #tk[data-tk-ux="r992"] #panelBtn:after{content:none!important}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #panelBtn{display:none!important}
html body #tk[data-tk-ux="r992"][data-tk-entered="1"] #panelBtn{display:grid!important}
html body #tk[data-tk-ux="r992"] #r992SessionBadge{
 position:relative;inset:auto;transform:none;grid-row:2;justify-self:center;
 width:auto;max-width:calc(100% - 24px);padding:4px 12px;margin:6px 0;
 font-size:11px;line-height:1.5;text-align:center;
}
html body #tk[data-tk-ux="r992"] #stage{
 position:relative!important;inset:auto!important;grid-row:3;min-height:0;min-width:0;
 overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;
 padding:8px 16px 16px;scroll-padding:12px;
}
html body #tk[data-tk-ux="r992"] #center{
 position:relative;inset:auto;min-height:100%;width:100%;padding:8px 0;gap:8px;
 transform:none!important;justify-content:center;box-sizing:border-box;
}
html body #tk[data-tk-ux="r992"] #center>*{flex-shrink:0}
html body #tk[data-tk-ux="r992"] #huZone{
 width:min(70vw,34vh,260px);height:min(70vw,34vh,260px);
 width:min(70vw,34dvh,260px);height:min(70vw,34dvh,260px);min-width:100px;min-height:100px;
}
html body #tk[data-tk-ux="r992"] #hu{font-size:clamp(68px,20vh,148px);font-size:clamp(68px,20dvh,148px)}
html body #tk[data-tk-ux="r992"] #huWrap{display:grid;place-items:center;width:100%;height:100%}
html body #tk[data-tk-ux="r992"] #zk{min-height:0;margin:0}
html body #tk[data-tk-ux="r992"] #zkAr{font-size:26px;line-height:1.4}
html body #tk[data-tk-ux="r992"] #zkHand{font-size:12px;line-height:1.5}
html body #tk[data-tk-ux="r992"] #tkGuide,
html body #tk[data-tk-ux="r992"] #telkin{
 position:relative!important;inset:auto!important;min-height:0;padding:0 4px!important;
 font-size:12px;line-height:1.6;width:100%;max-width:520px;margin:0 auto;
}
html body #tk[data-tk-ux="r992"] #r992Transport{
 position:relative;inset:auto;grid-row:4;width:100%;min-width:0;
 max-height:calc(var(--tkux-view-height,100vh) - 124px);overflow-y:auto;overscroll-behavior:contain;
 padding:10px max(12px,calc((100vw - 600px)/2)) calc(10px + env(safe-area-inset-bottom));
 border-radius:20px 20px 0 0;
}
html body #tk[data-tk-ux="r992"] .r992TransportTitle{margin-bottom:8px;font-size:12px;letter-spacing:1px}
html body #tk[data-tk-ux="r992"] .r992TransportControls{
 grid-template-columns:minmax(0,1.3fr) minmax(60px,.7fr) minmax(76px,1fr);gap:6px;
}
html body #tk[data-tk-ux="r992"] .r992TransportControls button{min-height:56px;font-size:14px;padding:8px 4px;overflow-wrap:anywhere}
html body #tk[data-tk-ux="r992"] .r992TransportVolume{padding:6px 8px;font-size:11px;gap:1px}
html body #tk[data-tk-ux="r992"] .r992TransportVolume input{min-height:32px}
html body #tk[data-tk-ux="r992"] #r992NavigationHint{margin-top:6px;font-size:10px}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard[data-preview="0"]{
 position:relative;inset:auto;max-height:none!important;width:100%;max-width:600px;margin:0 auto 12px;
}
html body #tk[data-tk-ux="r992"] .r992ReflectionGuide{
 position:relative;inset:auto!important;padding:8px 0;margin:0 auto;width:100%;max-width:520px;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #center,
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #tkGuide,
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #telkin,
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] .r992ReflectionGuide{visibility:hidden;pointer-events:none}
html body.r821-tekke-open #tk[data-tk-ux="r992"] #gate:not(.bye){
 padding:76px max(16px,calc((100vw - 440px)/2)) calc(24px + env(safe-area-inset-bottom))!important;
 gap:12px;background:linear-gradient(180deg,#041d29b8,#041b28ed);scroll-padding-top:76px!important;
}
html body #tk[data-tk-ux="r992"] .r992PurposeBtn{min-height:72px;padding:12px 14px;margin-bottom:8px;gap:12px}
html body #tk[data-tk-ux="r992"] .r992PurposeBtn strong{font-size:20px}
html body #tk[data-tk-ux="r992"] .r992PurposeBtn small{font-size:12px;margin-top:4px}
html body #tk[data-tk-ux="r992"] #gT{margin-top:0}
html body #tk[data-tk-ux="r992"] #gEst{font-size:12px;line-height:1.6}
html body #tk[data-tk-ux="r992"] #panel{max-height:calc(100% - 64px);position:absolute;width:100%;max-width:640px!important;left:0;right:0;margin:0 auto;box-sizing:border-box}
html body #tk[data-tk-ux="r992"] #panel .r992SheetHead{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) 44px;background:#081e29;padding:10px 0;min-height:64px}
html body #tk[data-tk-ux="r992"] #r992PanelTabs{grid-column:1/-1;position:static;top:auto;min-width:0}
html body #tk[data-tk-ux="r992"] #r993StepNav{margin-bottom:6px;gap:4px}
html body #tk[data-tk-ux="r992"] #r993StepNav button{min-height:44px;padding:6px;font-size:12px;flex:1 1 80px}
@media(max-height:540px){
 html body #tk[data-tk-ux="r992"] #r992NavigationHint{display:none}
 html body #tk[data-tk-ux="r992"] .r992TransportControls button{min-height:44px}
 html body #tk[data-tk-ux="r992"] #r993StepNav button:last-child{flex-basis:auto}
 html body #tk[data-tk-ux="r992"] #tkGuide,html body #tk[data-tk-ux="r992"] #telkin{font-size:11px}
}

/* r997: help is a single opaque, scrollable dialog above the entire scene.
   Closing it restores the scene; hidden layers cannot intercept a touch. */
html body #tk[data-tk-ux="r992"] #tkHelp{
 position:absolute!important;inset:0!important;z-index:120!important;
 width:100%!important;height:100%!important;max-height:100%!important;
 display:none;overflow:hidden;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
 background:#061b27;color:var(--tkux-ink);touch-action:pan-y;overscroll-behavior:contain;
 user-select:text;-webkit-user-select:text;box-sizing:border-box;
}
html body #tk[data-tk-ux="r992"] #tkHelp.show{display:flex;flex-direction:column;align-items:center}
html body #tk[data-tk-ux="r992"] #r997HelpHeader{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 flex:none;width:100%;max-width:640px;padding:12px 0;border-bottom:1px solid #ddbc7a44;
}
html body #tk[data-tk-ux="r992"] #r997HelpHeader h3{margin:0;font-size:14px;line-height:1.5;letter-spacing:.12em}
html body #tk[data-tk-ux="r992"] #r997HelpClose{
 flex:0 0 44px;min-width:44px;width:44px;min-height:44px;height:44px;
 margin:0;padding:0;border-radius:50%;font-size:26px;line-height:1;letter-spacing:0;
}
html body #tk[data-tk-ux="r992"] #tkHelp .hIn{
 flex:1 1 0;min-height:0;min-width:0;max-width:640px;width:100%;margin:0;
 overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;
 padding:18px 4px 24px;scroll-padding:16px;overflow-wrap:anywhere;
}
html body #tk[data-tk-ux="r992"] #tkHelp p{font-size:14px;line-height:1.8}
html body #tk[data-tk-ux="r992"] #tkHelp .hK{font-size:12px;line-height:1.6}
html body #tk[data-tk-ux="r992"] #tkHelp button{min-height:44px;line-height:1.5}
html body #tk[data-tk-ux="r992"][data-tk-overlay="help"] > :not(#tkHelp){visibility:hidden!important;pointer-events:none!important}
html body #tk[data-tk-ux="r992"] [inert]{pointer-events:none!important}

/* One measured square owns the SVG and the unbroken Arabic glyph. The stage
   reserves the set card before centering; long text uses normal native scroll. */
html body #tk[data-tk-ux="r992"] #stage{display:flex;flex-direction:column;align-items:center;gap:0}
html body #tk[data-tk-ux="r992"] #center{flex:1 0 auto;min-height:0;gap:8px;padding:16px 0;align-self:stretch;justify-content:flex-start}
html body #tk[data-tk-ux="r992"] #huZone{
 display:block;flex:none;position:relative;margin:0 auto;
 width:var(--tkux-hu-size,min(64vw,30svh,240px));height:var(--tkux-hu-size,min(64vw,30svh,240px));
 min-width:0;min-height:0;pointer-events:auto;touch-action:pan-y;
}
html body #tk[data-tk-ux="r992"] #bArcSvg{
 position:absolute;inset:0;width:100%;height:100%;display:block;transform-origin:50% 50%;pointer-events:none;
}
html body #tk[data-tk-ux="r992"] #huWrap{
 position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;transform-origin:50% 50%;pointer-events:none;
}
html body #tk[data-tk-ux="r992"] #hu{
 display:block;width:max-content;max-width:none;white-space:nowrap;word-break:normal;overflow-wrap:normal;
 direction:rtl;unicode-bidi:isolate;text-align:center;letter-spacing:0;
 font-size:calc(var(--tkux-hu-size,min(64vw,30svh,240px)) * .52);line-height:1.4;
}
html body #tk[data-tk-ux="r992"] #phase{bottom:6px;font-size:10px;line-height:1.4;letter-spacing:.16em}
html body #tk[data-tk-ux="r992"] #bArcBg{stroke:color-mix(in srgb,var(--ink) 18%,transparent)}
html body #tk[data-tk-ux="r992"] #r990TekkeSetCard[data-preview="0"],
html body #tk[data-tk-ux="r992"] #r992ReflectionGuide{flex:none}

/* r1013: the full-screen viewport owns the only grid column. An implicit
   auto column could grow to a header/text intrinsic width and clip the right
   side of the entrance. Wrapping text remains inside that same column. */
html body.r821-tekke-open #tk[data-tk-ux="r992"]{
 grid-template-columns:minmax(0,1fr);
}
html body.r821-tekke-open #tk[data-tk-ux="r992"] #top,
html body.r821-tekke-open #tk[data-tk-ux="r992"] #center{
 min-width:0;max-width:100%!important;
}
html body #tk[data-tk-ux="r992"] #topR{
 width:auto;min-width:0;flex:1 1 0;
}
html body.r821-tekke-open #tk[data-tk-ux="r992"] #gate>*{
 min-width:0;max-width:100%!important;
}
html body #tk[data-tk-ux="r992"] .r992Purpose{
 width:100%;min-width:0;
}
html body #tk[data-tk-ux="r992"] .r992PurposeBtn{
 min-width:0;max-width:100%;
}
html body #tk[data-tk-ux="r992"] .r992PurposeBtn>span:nth-child(2){
 flex:1 1 0;min-width:0;overflow-wrap:anywhere;
}
html body #tk[data-tk-ux="r992"] .r992PurposeSymbol,
html body #tk[data-tk-ux="r992"] .r992PurposeCheck{flex:none}
html body #tk[data-tk-ux="r992"] #gT,
html body #tk[data-tk-ux="r992"] #gEst{overflow-wrap:anywhere}

/* r1018: the shared entrance stays within one viewport column for 99 Esma,
   Berhetiyye and reflection purposes. Paint and session owners stay separate. */
html body.r821-tekke-open #tk[data-tk-ux="r992"]{
 grid-template-columns:minmax(0,1fr)!important;
}
html body #tk[data-tk-ux="r992"] :is(#top,#stage,#r992SessionBadge,#r992Transport){
 grid-column:1;min-width:0;box-sizing:border-box;
}
html body.r821-tekke-open #tk[data-tk-ux="r992"][data-tk-entered="0"] #gate:not(.bye){
 min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 align-items:center!important;flex-direction:column!important;
}
html body.r821-tekke-open #tk[data-tk-ux="r992"][data-tk-entered="0"] #gate>*{
 flex:none!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #gate :is(.r992Purpose,#gContext,.gPick,#gSetSettings,#gEst,#gBtn){
 width:100%!important;max-width:520px!important;min-width:0!important;box-sizing:border-box!important;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #topR{
 display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px!important;
 width:100%;min-width:0;max-width:100%;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #backSukun{grid-column:1;grid-row:1;margin-right:0!important}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #r992GateSettings{
 grid-column:2;grid-row:1;justify-self:end;min-width:0!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] .r992PurposeBtn{
 width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #gate :is(strong,small,#gContextName,#gContextMeta,#gContextMean,#gEst){
 white-space:normal;overflow-wrap:anywhere;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] :is(#gDur,#gMode){
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;
}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #gDur{grid-template-columns:repeat(4,minmax(0,1fr))}
html body #tk[data-tk-ux="r992"][data-tk-entered="0"] :is(#gDur,#gMode) .chip{
 min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;
}
@media(max-width:360px){
 html body #tk[data-tk-ux="r992"][data-tk-entered="0"] #gDur{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* r1014: captions grow below a fixed breath square, never recenter the scene.
   Controls keep equal touch targets, and the slider owns a full mobile row. */
html body #tk[data-tk-ux="r992"] #tkGuide,
html body #tk[data-tk-ux="r992"] #telkin{min-height:3.2em}
@media(max-width:600px){
 html body #tk[data-tk-ux="r992"] .r992TransportControls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body #tk[data-tk-ux="r992"] .r992TransportVolume{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;padding:6px 12px}
 html body #tk[data-tk-ux="r992"] .r992TransportVolume input{grid-column:1/-1;min-width:0;max-width:100%;min-height:30px}
}
/* r1014 geometry end */

/* r1014 Cabir Tekkesi: a live, scoped Berhetiyye presentation.
   The palace is one root background; gemstone paint never owns interaction. */
/* Keep the artwork on #tk itself. A body pseudo-element can fall behind an
   isolated, paint-contained fullscreen root on some mobile compositors. */
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"]{
 --tkux-gold:#eed598;--tkux-ink:#fff1d7;--tkux-mint:#bcf5dd;
 --tkux-panel:#071525;--gold:#eed598;
 background-color:#071327!important;
 background-image:linear-gradient(180deg,#020d2226,#020d2261 48%,#020d2226),url('../scenes/tekke-r1014/berhet-billur.webp')!important;
 background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;
 color:var(--tkux-ink);
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#top,#r992Transport){
 background:linear-gradient(140deg,#041425e8,#071521ec)!important;
 border:1px solid #d3b477b3!important;box-shadow:inset 0 0 0 3px #b98d3d1c;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #top{margin:4px 8px!important;padding:6px!important;border-radius:16px}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(button,select):not(.sw){
 --cabir-art:var(--r933-gem-sapphire);--cabir-face:#081e36;
 border:1px solid transparent!important;border-image:var(--cabir-art) 330 fill / 8px / 0 stretch!important;
 background:var(--cabir-face)!important;color:#fff1d7!important;
 text-shadow:0 1px 3px #000!important;box-shadow:none!important;
 font-family:inherit;touch-action:pan-y;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#backSukun,#helpBtn,.r992IconBtn,#r997HelpClose){
 --cabir-art:var(--r933-gem-amethyst);--cabir-face:#251238;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#r992Pause,#gBtn,.r992PurposeBtn[aria-pressed="true"]){
 --cabir-art:var(--r933-gem-emerald);--cabir-face:#073429;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992Finish{
 --cabir-art:var(--r933-gem-ruby);--cabir-face:#410c24;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#panelBtn,#r992GateSettings,#r1014CabirChange){
 --cabir-art:var(--r933-gem-sapphire);--cabir-face:#071c37;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(button,select):disabled{opacity:.55}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(button,select,input):focus-visible{outline:2px solid #ffebac!important;outline-offset:3px!important}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992SessionBadge{
 background:#061b30eb;border-color:#d6b477a3;border-radius:8px;color:#f8ebce;
 min-height:24px;box-sizing:border-box;max-width:calc(100% - 32px);
}
#tk #r1014CabirIdentity[hidden],#tk #r1014CabirSelection[hidden]{display:none!important}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirIdentity{
 width:100%;max-width:440px;flex:none;text-align:center;padding:4px 8px 8px;margin:0 auto;
 color:#ffe2a4;text-shadow:0 2px 6px #030817;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirIdentity :is(h1,h2){
 font:500 clamp(20px,6vw,30px)/1.3 Georgia,serif;letter-spacing:.12em;margin:0 0 4px;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirIdentity p{font-size:12px;line-height:1.4;margin:0}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #huZone{
 border-radius:50%;background:radial-gradient(circle,#06132ca6 35%,#073c4a40 65%,transparent 73%);
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#ebruC,#muk,#tkEfekt){display:none!important}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #huZone::before{
 content:'';position:absolute;inset:4%;border:1px solid #f0d594a3;border-radius:50%;pointer-events:none;
 box-shadow:0 0 12px #ab57c34d,inset 0 0 10px #4dc6bb33;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #bArcBg{stroke:#b49add55}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #bArc{stroke:#ffe4a3;filter:drop-shadow(0 0 3px #d6b268)}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #hu{color:#ffe6bd!important;text-shadow:0 0 18px #d7a6506b,0 2px 4px #031326!important}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #phase{color:#fff0d2;text-shadow:0 1px 4px #000}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zk{width:100%;max-width:440px;margin:0 auto;text-shadow:0 1px 4px #000}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zkAr{color:#ffe2aa;font-size:27px;line-height:1.5}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zkTr{display:none}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelection{
 display:block;pointer-events:auto;
 border:1px solid #d3b477a3;border-radius:14px;background:linear-gradient(140deg,#05172bea,#071a24eb);
 padding:8px 10px;width:100%;box-sizing:border-box;margin:6px 0 8px;min-height:60px;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelectionRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelectionHint{font-size:10px;line-height:1.5;color:#d8d4cb;margin:4px 0 0;text-align:start}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirGateSubtitle{text-align:center;font-size:13px;margin:0;color:#f4d59a}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelectedName{
 min-width:0;font:500 19px/1.4 Georgia,serif;overflow-wrap:anywhere;text-align:start;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirChange{
 min-width:86px;min-height:44px;padding:9px 12px;font-size:13px;white-space:normal;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zkPill{
 display:inline-flex;flex-direction:column;gap:2px;min-width:106px;min-height:52px;justify-content:center;
 border:1px solid #d3b477b3;border-radius:16px;background:#061425eb;padding:5px 16px;
 font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums;color:#fff0cc;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zkPill::before{content:'TEKRAR';font:11px/1.3 Georgia,serif;letter-spacing:.1em;color:#efcd8b}
html[lang="en"] body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #zkPill::before{content:'REPETITIONS'}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#tkGuide,#telkin,#zkHand){color:#f6ead6;text-shadow:0 1px 5px #030714}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992Transport{
 width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;min-width:0;box-sizing:border-box;
 margin:0 8px 6px;border-radius:18px;padding:10px 10px calc(8px + env(safe-area-inset-bottom));
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992TransportTitle{display:none}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r992TransportControls button{min-height:54px;font-size:17px;font-family:Georgia,serif;padding:10px 8px}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r992TransportVolume{
 border-color:#d3b4779c;background:#05182dd9;border-radius:12px;color:#ffefd4;
 grid-template-columns:auto minmax(0,1fr) auto;gap:10px;min-height:44px;padding:4px 10px;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r992TransportVolume input{
 grid-column:auto;min-width:0;width:100%;max-width:100%;accent-color:#e6c878;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992VolumeValue{font-variant-numeric:tabular-nums;min-width:3.5em;text-align:end}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r992NavigationHint{color:#e8dec9;font-size:10px;margin-top:6px}
html body.r821-tekke-open #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #gate:not(.bye){
 background:linear-gradient(180deg,#04132670,#041326b8)!important;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #gT{color:#ffe1a3;letter-spacing:.12em!important}
/* The entrance must reveal the selected artwork while retaining a readable
   dark veil. Paint on the fullscreen Tekke root for both visual families. */
html body.r821-tekke-open #tk[data-tk-ux="r992"]:not([data-tk-scene-family="berhet"]){
 background-color:#041017!important;
 background-image:var(--r717-veil),url('../sukun-nur-sanctuary-r757.png')!important;
 background-position:center top!important;background-size:cover!important;background-repeat:no-repeat!important;
}
html body.r821-tekke-open #tk[data-tk-ux="r992"]:not([data-tk-scene-family="berhet"]) #gate:not(.bye){
 background:linear-gradient(180deg,rgba(3,19,29,.20),rgba(3,16,27,.58))!important;
}
html body.r821-tekke-open #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #gate:not(.bye){
 background:linear-gradient(180deg,rgba(4,19,38,.24),rgba(4,19,38,.58))!important;
}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#gContext,#panel .pSec,#r990TekkeSetCard){background:#071a2be8;border-color:#d3b47788}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(#panel,#tkHelp){background:#061426!important;border-color:#d3b4779c;color:#fff0d4}
html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] :is(.r992SheetHead,.r992SheetFoot,#r992PanelTabs,#r997HelpHeader){background:#061426!important;border-color:#d3b47760}
@media(max-width:360px){
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelectedName{font-size:16px}
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] #r1014CabirSelection{padding:6px 8px}
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r992TransportControls button{font-size:15px}
}

/* r1158: discovery stays reachable on the Tekke entrance and beneath its
   active transport. It does not own or change the running Tekke session. */
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery {
 box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:520px!important;
 margin:10px auto 0!important;padding:14px!important;border:1px solid #bf9a5c88!important;
 border-radius:14px!important;background:linear-gradient(150deg,#09271ff0,#061720f2)!important;
 color:#f4e3be!important;box-shadow:inset 0 0 0 3px #c69c5d19!important;
}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery :is(h3,summary) {
 margin:0 0 10px!important;padding:0!important;color:#e7c988!important;
 font:650 12px/1.4 system-ui,sans-serif!important;letter-spacing:.08em!important;
 text-align:center!important;overflow-wrap:anywhere!important;
}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery summary {cursor:pointer!important;min-height:40px!important;display:grid!important;place-items:center!important;list-style:none!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery summary::-webkit-details-marker {display:none!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryGrid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn {
 box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important;height:auto!important;
 margin:0!important;padding:8px 10px!important;border:1px solid #c8a565!important;border-radius:10px!important;
 background:linear-gradient(150deg,#16394a,#071b2d 70%,#102c37)!important;color:#fff3d7!important;
 font:600 12px/1.3 system-ui,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {background:linear-gradient(140deg,#13644c,#07362c 55%,#031d1b)!important;border-color:#d5b879!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn:focus-visible,html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery summary:focus-visible {outline:2px solid #fff0be!important;outline-offset:2px!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryScene {max-width:600px!important;padding:4px 10px 10px!important}
html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryScene:not([open]) {padding-bottom:4px!important}
@media(forced-colors:active){html body #tk[data-tk-ux="r992"] .r1158TekkeDiscovery,html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn {background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important}}

/* Match the transparent, compact discovery links in the shared footer. */
@layer sukun-r1149-berhet-hero {
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn,
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
  min-height:44px!important;height:auto!important;padding:6px 5px!important;
  border:0!important;border-image:none!important;background:transparent!important;background-image:none!important;
  box-shadow:none!important;filter:none!important;
  color:#fff2d9!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:0 1px 3px #000,0 0 5px #000!important;
 }
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
  color:#b9f6d4!important;-webkit-text-fill-color:currentColor!important;
 }
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn:focus-visible {
  outline:2px solid #fff0be!important;outline-offset:2px!important;
 }
 @media(forced-colors:active) {
  html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn,
  html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
   color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;text-shadow:none!important;
  }
 }
}

/* r1162: mirror the Berhetiyye discovery jewels in the Tekke surface. */
@layer sukun-r1149-berhet-hero {
 html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn,
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r1158TekkeDiscoveryBtn {
  min-height:52px!important; height:auto!important; padding:9px 18px!important;
  border:1px solid transparent!important;
  border-image:url('../berhetiyye-premium/r1133/gem-sapphire.webp') 210 540 fill / 28% min(22px,17%) / 0 stretch!important;
  background:transparent!important; box-shadow:none!important;
  color:#fff2dc!important; -webkit-text-fill-color:currentColor!important;
  font:650 11px/1.25 system-ui,sans-serif!important; text-align:center!important;
  white-space:normal!important; overflow-wrap:break-word!important;
  text-shadow:0 1px 3px #000,0 0 5px #000!important;
 }
 html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"],
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
  border-image-source:url('../berhetiyye-premium/r1133/gem-emerald.webp')!important;
  color:#f2fff3!important; -webkit-text-fill-color:currentColor!important;
 }
 @media(forced-colors:active) {
  html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn,
  html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"],
  html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r1158TekkeDiscoveryBtn,
  html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
   border:1px solid ButtonText!important; border-image:none!important; background:ButtonFace!important;
   color:ButtonText!important; -webkit-text-fill-color:ButtonText!important; text-shadow:none!important;
  }
 }
}

/* r1164: one actual miniature gate beside the three discovery buttons. */
@layer sukun-r1149-berhet-hero {
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryGrid {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:repeat(3,minmax(44px,auto))!important;align-items:stretch!important;
 }
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn:not([data-discovery="berhet"]) {grid-column:1!important;min-height:44px!important}
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"],
 html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"],
 html body #tk[data-tk-ux="r992"][data-tk-scene-family="berhet"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {
  grid-column:2!important;grid-row:1 / span 3!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:5px!important;
  min-height:44px!important;width:100%!important;padding:4px!important;
  border:0!important;border-image:none!important;border-radius:0!important;background:transparent!important;background-image:none!important;
  box-shadow:none!important;filter:none!important;color:#f7e5b8!important;-webkit-text-fill-color:currentColor!important;
  font:650 11px/1.25 system-ui,sans-serif!important;text-align:center!important;white-space:normal!important;
 }
 html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"]::before {
  content:''!important;display:block!important;position:static!important;flex:0 0 auto!important;
  box-sizing:border-box!important;width:68px!important;height:100px!important;
  border:2px solid #d5b46f!important;border-radius:50% 50% 4px 4px / 32% 32% 4px 4px!important;
  background:#10382d url('../berhetiyye-gate/portal.webp') 50% 43% / 180% auto no-repeat!important;
  box-shadow:inset 0 0 0 2px #36200e99,0 2px 7px #000b!important;pointer-events:none!important;
 }
 @media(forced-colors:active) {
  html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"]::before {background:Canvas!important;border-color:CanvasText!important;box-shadow:none!important}
  html body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"],
  html[data-r1074-theme="berhet"] body #tk[data-tk-ux="r992"] .r1158TekkeDiscoveryBtn[data-discovery="berhet"] {color:ButtonText!important;-webkit-text-fill-color:ButtonText!important}
 }
}
