/* ALGOTAKE — deep space navy, nova ice-to-violet light, electric blue glow, green for buys, red for sells
   type: Cairo (Arabic display) / Alexandria (Arabic UI) / Montserrat italic (Latin wordmark) / Geist Mono (numbers) */
:root {
  --ink: #050A14; --ink-2: #0A1120; --ink-3: #111B2D;
  --line: rgba(255, 255, 255, .075); --line-2: rgba(255, 255, 255, .14);
  --gold: #F2C14E; --gold-2: #FFE7A3; --gold-ink: #071226;
  --aether: #3DA8FF; --aether-dim: rgba(61, 168, 255, .14);
  --buy: #2BD99A; --buy-dim: rgba(43, 217, 154, .13);
  --sell: #E2475B; --sell-dim: rgba(226, 71, 91, .14);
  --text: #EEF3FA; --mercury: #A3AFC2; --mercury-2: #67748B;
  --gold-grad: linear-gradient(135deg, #FFF3C4 0%, #F2C14E 45%, #C98A22 100%);
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #DDE4EE 38%, #8C97A8 52%, #F4F7FB 60%, #AEB8C6 100%);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)), rgba(10, 18, 32, .72);
  --r-lg: 22px; --r-md: 14px; --r-sm: 9px;
  --f-ui: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --f-ruqaa: "Cairo", "Alexandria", sans-serif;
  --f-lat: "Montserrat", "Segoe UI", sans-serif;
  --f-num: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 700px at 80% -10%, rgba(61, 155, 255, .11), transparent 60%), radial-gradient(1000px 700px at -10% 110%, rgba(61, 155, 255, .10), transparent 60%), var(--ink);
  background-attachment: fixed; color: var(--text); font: 400 15px/1.7 var(--f-ui); -webkit-font-smoothing: antialiased;
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: var(--gold-2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aether); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(61, 155, 255, .35); }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; letter-spacing: -.01em; }
.lat { font-family: var(--f-lat); direction: ltr; unicode-bidi: isolate; letter-spacing: .04em; }
.buy, .up { color: var(--buy); } .sell, .dn { color: var(--sell); }
.muted { color: var(--mercury); } .hide { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
h1 { font-family: var(--f-ruqaa); font-weight: 800; font-size: clamp(38px, 5.6vw, 80px); line-height: 1.3; }
h2 { font-family: var(--f-ruqaa); font-weight: 800; font-size: clamp(26px, 3vw, 40px); }
h3 { font-family: var(--f-ui); font-weight: 600; font-size: 17px; }
p { margin: 0; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); }
.btn.primary { background: var(--gold-grad); border-color: transparent; color: var(--gold-ink); font-weight: 700; box-shadow: 0 12px 34px -12px rgba(61, 155, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.aether { background: linear-gradient(135deg, #8CC4FF, #1F6FFF); color: #04122B; border-color: transparent; font-weight: 700; }
.btn.ghost { background: transparent; } .btn.sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn.danger { border-color: rgba(226, 71, 91, .45); color: var(--sell); background: transparent; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: grid; gap: 7px; font-size: 13px; color: var(--mercury); min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; height: 42px; padding: 0 13px; border-radius: 11px; background: rgba(2, 6, 14, .55); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; }
.field textarea { height: auto; min-height: 110px; padding: 11px 13px; line-height: 1.6; font-family: var(--f-num); font-size: 12.5px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aether); outline: none; box-shadow: 0 0 0 4px rgba(61, 155, 255, .13); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.seg { display: inline-flex; padding: 4px; background: rgba(2, 6, 14, .55); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--mercury); font-size: 13px; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .09); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .06); color: var(--mercury); white-space: nowrap; }
.chip.buy { background: var(--buy-dim); color: var(--buy); } .chip.sell { background: var(--sell-dim); color: var(--sell); }
.chip.gold { background: rgba(242, 193, 78, .13); color: var(--gold-2); } .chip.aether { background: var(--aether-dim); color: var(--aether); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: currentColor; }
.dot.live { animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 217, 154, .6); } 100% { box-shadow: 0 0 0 10px rgba(43, 217, 154, 0); } }
.panel { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -50px rgba(0, 0, 0, .95); }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hint { font-size: 13px; color: var(--mercury); }

/* brand */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg, .brand .logo { flex: none; border-radius: 50%; filter: drop-shadow(0 4px 16px rgba(61, 155, 255, .45)); }
.brand b { font-family: var(--f-lat); font-weight: 800; font-size: 22px; letter-spacing: .03em; line-height: 1; display: block; white-space: nowrap; direction: ltr; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { display: block; font-family: var(--f-lat); font-style: italic; font-weight: 800; font-size: 9.5px; letter-spacing: .2em; color: var(--gold); direction: ltr; text-align: end; margin-top: 4px; white-space: nowrap; }

/* forex sessions ribbon (24h in the viewer's time) */
.sess { position: relative; }
.sess-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; font-size: 13px; }
.sess-top b { font-family: var(--f-num); font-weight: 500; }
.sess-track { position: relative; height: 54px; border-radius: 12px; background: rgba(2, 6, 14, .6); border: 1px solid var(--line); overflow: hidden; direction: ltr; }
.sess-bar { position: absolute; height: 10px; border-radius: 5px; opacity: .35; }
.sess-bar.open { opacity: 1; box-shadow: 0 0 14px currentColor; }
.sess-lbl { position: absolute; font-size: 10.5px; color: var(--mercury); transform: translateY(-1px); white-space: nowrap; }
.sess-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--gold-2); box-shadow: 0 0 12px 2px rgba(241, 245, 250, .7); }
.sess-scale { position: relative; height: 16px; font-size: 10.5px; color: var(--mercury-2); font-family: var(--f-num); direction: ltr; }
.sess-scale span { position: absolute; transform: translateX(-50%); }

/* signal card */
.sig { --side: var(--gold); --sideDim: rgba(61, 155, 255, .15); position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(420px 150px at 100% 0%, var(--sideDim), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .012)), #0B1324; border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -46px rgba(0, 0, 0, .95); transition: transform .25s ease-out; }
.sig.s-buy { --side: var(--buy); --sideDim: rgba(43, 217, 154, .15); } .sig.s-sell { --side: var(--sell); --sideDim: rgba(226, 71, 91, .16); }
.sig::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--side), transparent); }
.sig-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 10px; }
.sig-sym { font-family: var(--f-num); font-weight: 600; font-size: 22px; direction: ltr; letter-spacing: -.02em; }
.sig-sub { font-size: 12px; color: var(--mercury); margin-top: 4px; }
.sig-side { font-weight: 700; color: var(--side); font-size: 15px; }
.sig-lv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 4px 16px 12px; border-radius: 12px; overflow: hidden; background: var(--line); }
.sig-lv div { background: rgba(2, 6, 14, .7); padding: 8px 8px; text-align: center; }
.sig-lv small { display: block; font-size: 10.5px; color: var(--mercury); }
.sig-lv b { font-family: var(--f-num); font-weight: 500; font-size: 13px; direction: ltr; display: block; }
.sig-lv .hit b { color: var(--buy); text-decoration: line-through; text-decoration-color: rgba(43, 217, 154, .5); }
.sig-lv .sl b { color: var(--sell); }
.sig-read { padding: 0 20px 12px; font-size: 13px; color: #CFCADC; line-height: 1.85; }
.sig-read li { margin-bottom: 2px; }
.sig-read ul { margin: 0; padding-inline-start: 18px; }
.sig-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; align-items: center; }
.sig.locked .sig-lv b, .sig.locked .sig-read { filter: blur(5px); user-select: none; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: start; font-weight: 400; color: var(--mercury); font-size: 12px; padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: #0B1324; z-index: 1; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .03); }
.tbl-wrap { overflow: auto; max-height: 640px; border-radius: var(--r-md); }
.strip { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: hidden; }
.strip div { padding: 15px 20px; border-inline-start: 1px solid var(--line); min-width: 130px; flex: 1; }
.strip div:first-child { border-inline-start: 0; }
.strip small { display: block; color: var(--mercury); font-size: 12px; }
.strip b { font-family: var(--f-num); font-size: 22px; font-weight: 500; letter-spacing: -.02em; unicode-bidi: plaintext; }

/* misc */
.mtf { display: inline-flex; gap: 3px; direction: ltr; }
.mtf i { width: 9px; height: 9px; border-radius: 2px; background: var(--mercury-2); display: inline-block; }
.mtf i.u { background: var(--buy); } .mtf i.d { background: var(--sell); }
.gauge { display: inline-flex; align-items: center; gap: 8px; }
.gauge span { width: 70px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--sell), var(--mercury-2) 50%, var(--buy)); position: relative; }
.gauge span::after { content: ""; position: absolute; top: -4px; width: 3px; height: 14px; border-radius: 2px; background: #fff; left: var(--p); box-shadow: 0 0 8px rgba(255, 255, 255, .7); }
.tv-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #050A14; }
.tv-tape { border-block: 1px solid var(--line); background: rgba(2, 6, 14, .7); min-height: 46px; direction: ltr; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; }
.toast { background: rgba(13, 22, 38, .94); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 17px; font-size: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.empty { padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--mercury); background: rgba(2, 6, 14, .4); }
pre.msg { white-space: pre-wrap; background: rgba(2, 6, 14, .6); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font: 13.5px/1.75 var(--f-ui); margin: 0; max-height: 420px; overflow: auto; }
code.k { font-family: var(--f-num); font-size: 12.5px; background: rgba(2, 6, 14, .6); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* TradingView frames keep the light scheme of their own page, so a transparent frame is not painted white */
.tradingview-widget-container iframe { color-scheme: normal; }
/* options contract on a signal card */
.sig-opt { margin: -4px 16px 12px; padding: 8px 12px; border-radius: 10px; background: rgba(61, 155, 255, .07); border: 1px solid rgba(61, 155, 255, .22); font-size: 12.5px; line-height: 1.75; }
/* the market bulletin on the news page */
.bulletin { white-space: pre-wrap; font: 14px/1.95 var(--f-ui); max-height: 560px; overflow: auto; color: var(--text); }
.bulletin b { color: var(--gold, #A9C4FF); }
.bulletin i { color: var(--mercury); font-style: normal; font-size: 12.5px; }
/* tighter brand on phones */
@media (max-width: 640px) { .brand { gap: 9px; } .brand .logo { width: 36px; height: 36px; } .brand b { font-size: 16px; } .brand small { font-size: 7.5px; letter-spacing: .12em; margin-top: 3px; } }
@media (max-width: 380px) { .brand small { display: none; } .brand b { font-size: 15px; } }
/* "install the app" pill (phones) */
.app-pill { position: fixed; z-index: 60; inset-inline-start: 14px; bottom: 14px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(10, 18, 32, .92); border: 1px solid rgba(169, 196, 255, .28); box-shadow: 0 14px 40px -10px rgba(61, 155, 255, .55); backdrop-filter: blur(10px); }
[hidden] { display: none !important; }
.app-pill.hide { display: none; }
@media (max-width: 760px) { body:has(.rail) .app-pill { bottom: 86px; } }
.app-pill .app-go { border: 0; border-radius: 999px; padding: 9px 16px; font: 700 13.5px var(--f-ui, sans-serif); color: #071226; background: var(--gold-grad); cursor: pointer; }
.app-pill .app-x { border: 0; background: transparent; color: var(--mercury, #A3AFC2); font-size: 20px; width: 32px; height: 32px; cursor: pointer; }

/* language switch + visitor counter (bottom corner, opposite side to the install pill) */
.kh-dock { position: fixed; z-index: 59; inset-inline-end: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: calc(100vw - 28px); pointer-events: none; }
.kh-dock > * { pointer-events: auto; }
.kh-lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(10, 18, 32, .92); border: 1px solid rgba(169, 196, 255, .25); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.kh-lang button { border: 0; background: transparent; color: var(--mercury, #A3AFC2); font: 700 12px var(--f-ui, sans-serif); padding: 6px 11px; border-radius: 999px; cursor: pointer; min-width: 38px; }
.kh-lang button[aria-pressed="true"] { background: var(--gold-grad, #A9C4FF); color: #071226; }
.kh-vis { display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(10, 18, 32, .92); border: 1px solid rgba(169, 196, 255, .25); color: var(--mercury, #A3AFC2); font: 600 12px var(--f-ui, sans-serif); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); white-space: nowrap; }
.kh-vis[hidden] { display: none; }
.kh-vis b { color: var(--text, #E8EEF7); font-size: 13px; }
.kh-vis .kh-sep { opacity: .35; }
@media (max-width: 760px) { body:has(.rail) .kh-dock { bottom: 86px; } .kh-vis { font-size: 11px; padding: 6px 10px; } }
/* 🎁 the open days (in the corner dock) */
.kh-open { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; text-decoration: none; color: #071226; font: 600 12px var(--f-ui, sans-serif); background: linear-gradient(135deg, #FFE7A3, #E8C46A 55%, #C9962E); box-shadow: 0 6px 22px rgba(232, 196, 106, .35); animation: khGlow 2.6s ease-in-out infinite; max-width: calc(100vw - 28px); }
.kh-open b { font-weight: 800; } .kh-open .kh-sep { opacity: .45; }
@keyframes khGlow { 50% { box-shadow: 0 6px 30px rgba(232, 196, 106, .7); } }
/* 💬 the moderators on WhatsApp */
.kh-wa { position: relative; }
.kh-wa-b { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #4ef08a, #19a855 70%); box-shadow: 0 8px 24px rgba(25, 168, 85, .45), inset 0 -3px 0 rgba(0, 0, 0, .18); cursor: pointer; transition: transform .2s; }
.kh-wa-b:hover { transform: translateY(-2px) scale(1.05); }
.kh-wa-m { position: absolute; bottom: calc(100% + 10px); inset-inline-end: 0; min-width: 240px; display: grid; gap: 6px; padding: 12px; border-radius: 16px; background: rgba(8, 14, 28, .97); border: 1px solid rgba(37, 211, 102, .35); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.kh-wa-m[hidden] { display: none; }
.kh-wa-m b { font-size: 13px; color: var(--text, #E8EEF7); }
.kh-wa-m a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text, #E8EEF7); background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .25); font-size: 13px; }
.kh-wa-m a:hover { background: rgba(37, 211, 102, .18); }
.kh-wa-m small { color: #4ef08a; font-size: 12px; }
@media (max-width: 520px) { .kh-open { font-size: 11px; padding: 6px 10px; } .kh-open-x { display: none; } .kh-wa-b { width: 42px; height: 42px; } }
/* the terminal on a phone says it in its header already: the corner stays small */
@media (max-width: 760px) { body:has(.rail) .kh-open { display: none; } }
@media (max-width: 520px) { .kh-lang button { padding: 6px 8px; min-width: 32px; } }

/* ---------- AlgoTake 2090: the WhatsApp button on its own corner, the languages in a glass capsule ---------- */
.kh-wa-fab { position: fixed; z-index: 61; inset-inline-start: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
body:has(.app-pill:not(.hide)) .kh-wa-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 761px) { body:has(.rail) .kh-wa-fab { inset-inline-start: 112px; } }
.kh-wa-fab .kh-wa-m { inset-inline-start: 0; inset-inline-end: auto; }
.kh-wa-fab .kh-wa-b { width: 54px; height: 54px; box-shadow: 0 14px 34px rgba(25, 168, 85, .5), 0 0 0 6px rgba(37, 211, 102, .12), inset 0 -4px 0 rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .35); }
.kh-wa-fab .kh-wa-b::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(78, 240, 138, .5); animation: waRing 2.6s ease-out infinite; pointer-events: none; }
.kh-wa-fab .kh-wa-b { position: relative; }
@keyframes waFloat { 50% { transform: translateY(-4px); } }
@keyframes waRing { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
@media (max-width: 760px) { body:has(.rail) .kh-wa-fab, body:has(.rail):has(.app-pill:not(.hide)) .kh-wa-fab { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); } .kh-wa-fab .kh-wa-b { width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .kh-wa-fab .kh-wa-b, .kh-wa-fab .kh-wa-b::after { animation: none; } }
.kh-lang { background: linear-gradient(160deg, rgba(61, 168, 255, .16), rgba(5, 12, 28, .92)) !important; border: 1px solid rgba(127, 192, 255, .35) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .14); }
.kh-lang::before { content: '🌐'; display: inline-grid; place-items: center; padding: 0 4px 0 6px; font-size: 14px; }
.kh-lang button[aria-pressed="true"] { background: var(--gold-grad) !important; color: var(--gold-ink) !important; }

/* ---------- AlgoTake 2090: chrome titles, holographic sheen, 3D icon tiles ---------- */
.holo { background: linear-gradient(100deg, #FFFFFF 0%, #DDE4EE 22%, #F2C14E 38%, #FFFFFF 50%, #9FD0FF 64%, #DDE4EE 80%, #FFFFFF 100%) !important; background-size: 250% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; animation: holo 7s linear infinite; }
@keyframes holo { to { background-position: -250% 0; } }
.tile3d { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; font-size: 26px; background: linear-gradient(160deg, rgba(61, 168, 255, .32), rgba(8, 26, 63, .92)); border: 1px solid rgba(127, 192, 255, .5); box-shadow: 0 12px 26px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .3); transform: perspective(500px) rotateX(10deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
a:hover > .tile3d, button:hover > .tile3d, .tile3d:hover { transform: perspective(500px) rotateX(0deg) rotateY(-14deg) translateY(-4px) scale(1.06); box-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 0 26px rgba(61, 168, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
@media (prefers-reduced-motion: reduce) { .holo { animation: none; } }

/* v36: page to page in one smooth fade (browsers that know cross-document view transitions; others just open the page) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s ease both; } ::view-transition-new(root) { animation: vtIn .42s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(.985); filter: blur(3px); } } @keyframes vtIn { from { opacity: 0; transform: scale(1.015); filter: blur(3px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- V36.6: the languages on top of the page, the WhatsApp button alone on the side ---------- */
.kh-dock.kh-top { position: relative; inset: auto !important; bottom: auto !important; z-index: 58; width: 100%; max-width: none; box-sizing: border-box; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 12px; pointer-events: auto;
  background: linear-gradient(90deg, rgba(61, 168, 255, 0), rgba(61, 168, 255, .10) 30%, rgba(242, 193, 78, .07) 70%, rgba(61, 168, 255, 0)), rgba(3, 8, 18, .72); border-bottom: 1px solid rgba(127, 192, 255, .14); }
.kh-dock.kh-top::after { content: ''; position: absolute; inset-inline: 10%; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 193, 78, .55), rgba(61, 168, 255, .55), transparent); pointer-events: none; }
.kh-dock.kh-top .kh-lang { box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .14); }
.kh-dock.kh-top .kh-lang button { padding: 5px 11px; }
.kh-dock.kh-top .kh-vis { padding: 5px 11px; box-shadow: none; }
@media (max-width: 520px) { .kh-dock.kh-top { padding: 6px 8px; gap: 6px; } .kh-dock.kh-top .kh-vis { padding: 4px 9px; font-size: 11px; } .kh-dock.kh-top .kh-vis span:not(.kh-sep) { display: none; } .kh-dock.kh-top .kh-vis::before { content: '👁'; } .kh-dock.kh-top .kh-lang button { padding: 5px 9px; } }
.kh-wa-fab { inset-inline-start: auto !important; inset-inline-end: 12px; top: 62%; bottom: auto !important; }
.kh-wa-fab .kh-wa-m { inset-inline-end: 0; inset-inline-start: auto; }
@media (max-width: 760px) { .kh-wa-fab { inset-inline-end: 6px; top: 60%; } .kh-wa-fab .kh-wa-b { width: 46px !important; height: 46px !important; } }
@media print { .kh-dock.kh-top, .kh-wa-fab { display: none !important; } }
