/* Sign in with Octa · the button · v2 · 19 October 2026 (v1 · 9 October 2026) · Octa Account Brand Book, chapter 07
   One Octa Account for the whole Octa network. The mark is Octa Account's: Octa Exchange's Eight (Octa Account is a Fruit of Octa Exchange;
   Master, 19 Oct 2026), lying, 92% of the button's height wide ("Bigger"). Until v2 it was Octa Platform's solid octagon.
   Colours are Octa's own: night #121319, cream #F2F0E9, the eight aspects, Mental on day paper #4A4842,
   the focus ring Spiritual #EA9244. Nothing is invented.
   Label: Plus Jakarta Sans 600 (load it on the page: fonts.googleapis.com … family=Plus+Jakarta+Sans:wght@600). */

.octa-signin{
  --os-bg:#121319; --os-fg:#F2F0E9; --os-bd:rgba(242,240,233,.16); --os-hover:#191a21; --os-men:#D8D8D8;
  --os-h:44px; --os-mark:40px; --os-fs:15px; --os-px:20px; --os-gap:10px; --os-r:999px;
  display:inline-flex; align-items:center; justify-content:center; gap:var(--os-gap);
  box-sizing:border-box; height:var(--os-h); min-width:var(--os-h); padding:0 var(--os-px);
  border:1px solid var(--os-bd); border-radius:var(--os-r);
  background:var(--os-bg); color:var(--os-fg);
  font:600 var(--os-fs)/1 'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif; letter-spacing:-.005em;
  text-decoration:none; white-space:nowrap; cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent;
  transition:background-color .18s ease, border-color .18s ease, transform .12s ease, opacity .18s ease;
}
.octa-signin:hover{background:var(--os-hover)}
.octa-signin:active{transform:scale(.98)}
.octa-signin:focus-visible{outline:2px solid #EA9244; outline-offset:3px}

/* the mark: Octa Exchange's Eight, lying, its width 92% of the button's height (--os-mark), never below 24px wide; its colours flow
   through the line once every 16 s, as Octa Exchange's own Eight does (Mental #D8D8D8 by night, #4A4842 on day paper) */
.octa-signin .os-mark{width:var(--os-mark); height:calc(var(--os-mark) / 2); flex:none; display:block; overflow:visible}
.octa-signin .os-eight line{stroke:#8C8958; animation:var(--os-flow, osEightN) 16s linear infinite}
@keyframes osEightN{0%{stroke:#8C8958}6.25%{stroke:#3A7F8F}12.5%{stroke:#8C7058}18.75%{stroke:#4C9A6A}25%{stroke:#FACF5E}31.25%{stroke:#C9A23F}37.5%{stroke:#6A8C99}43.75%{stroke:#A9C3CC}50%{stroke:#DA614B}56.25%{stroke:#9C6A3E}62.5%{stroke:#7B6580}68.75%{stroke:#5F8FA3}75%{stroke:#D8D8D8}81.25%{stroke:#A24B3C}87.5%{stroke:#EA9244}93.75%{stroke:#6E7468}100%{stroke:#8C8958}}
@keyframes osEightD{0%{stroke:#8C8958}6.25%{stroke:#3A7F8F}12.5%{stroke:#8C7058}18.75%{stroke:#4C9A6A}25%{stroke:#FACF5E}31.25%{stroke:#C9A23F}37.5%{stroke:#6A8C99}43.75%{stroke:#A9C3CC}50%{stroke:#DA614B}56.25%{stroke:#9C6A3E}62.5%{stroke:#7B6580}68.75%{stroke:#5F8FA3}75%{stroke:#4A4842}81.25%{stroke:#A24B3C}87.5%{stroke:#EA9244}93.75%{stroke:#6E7468}100%{stroke:#8C8958}}
.octa-signin.os-still .os-eight line{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.octa-signin .os-eight line{animation-play-state:paused}.octa-signin{transition:none}.octa-signin:active{transform:none}}

/* styles */
.octa-signin.os-day{--os-bg:#F2F0E9; --os-fg:#121319; --os-bd:rgba(18,19,25,.18); --os-hover:#E7E4DA; --os-men:#4A4842; --os-flow:osEightD}
.octa-signin.os-outline{--os-bg:transparent; --os-fg:#121319; --os-bd:#121319; --os-hover:rgba(18,19,25,.06); --os-men:#4A4842; --os-flow:osEightD}
.octa-signin.os-outline-light{--os-bg:transparent; --os-fg:#F2F0E9; --os-bd:#F2F0E9; --os-hover:rgba(242,240,233,.08); --os-men:#D8D8D8}
/* v1.2 · 19 Oct 2026 (Master: "Why sign in with Octa doesn't have a day view?"): the button with no style of its own follows the page —
   night on a night page, the Day style on a day page (data-theme="day" or "light", or the visitor's light setting when the page names
   no theme). data-style="night" keeps it night anywhere; the other styles stay as chosen. The same colours as the Day style: nothing new. */
:is([data-theme="day"],[data-theme="light"],[data-octa-theme="day"],[data-octa-theme="light"]) .octa-signin:not(.os-night):not(.os-day):not(.os-outline):not(.os-outline-light){--os-bg:#F2F0E9; --os-fg:#121319; --os-bd:rgba(18,19,25,.18); --os-hover:#E7E4DA; --os-men:#4A4842; --os-flow:osEightD}
@media (prefers-color-scheme:light){:root:not([data-theme]):not([data-octa-theme]) .octa-signin:not(.os-night):not(.os-day):not(.os-outline):not(.os-outline-light){--os-bg:#F2F0E9; --os-fg:#121319; --os-bd:rgba(18,19,25,.18); --os-hover:#E7E4DA; --os-men:#4A4842; --os-flow:osEightD}}

/* sizes: large 56 · medium 44 (the default) · small 36 */
.octa-signin.os-l{--os-h:56px; --os-mark:52px; --os-fs:17px; --os-px:26px; --os-gap:12px}
.octa-signin.os-s{--os-h:36px; --os-mark:33px; --os-fs:13.5px; --os-px:15px; --os-gap:8px}
/* the mark alone, for tight spaces (always with an aria-label) */
.octa-signin.os-icon{padding:0; width:var(--os-h); gap:0}
/* in the round mark-only button the Eight stands, 60% of the button's height tall */
.octa-signin .os-mark.os-mark-8{width:calc(var(--os-h) * .3); height:calc(var(--os-h) * .6)}
.octa-signin.os-icon .os-label{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
/* the softer corner, to sit with Octa Platform's own form buttons */
.octa-signin.os-rect{--os-r:10px}
.octa-signin.os-rect.os-l{--os-r:12px}
.octa-signin.os-rect.os-s{--os-r:8px}
/* full width, for phones and forms */
.octa-signin.os-block{display:flex; width:100%}

/* states */
.octa-signin[aria-disabled="true"], .octa-signin:disabled{opacity:.38; cursor:not-allowed; pointer-events:none}
.octa-signin[aria-busy="true"]{cursor:progress; pointer-events:none}
/* each stroke's place in the flow, as the mark's own style="animation-delay" had it (moved here so a page with a strict style-src
   'self' takes it; the same 96 values, in order; the Debugger, 1 Dec 2026) */
.octa-signin .os-eight line:nth-child(1){animation-delay:-15.03s}.octa-signin .os-eight line:nth-child(2){animation-delay:-14.87s}.octa-signin .os-eight line:nth-child(3){animation-delay:-14.70s}.octa-signin .os-eight line:nth-child(4){animation-delay:-14.53s}.octa-signin .os-eight line:nth-child(5){animation-delay:-14.37s}.octa-signin .os-eight line:nth-child(6){animation-delay:-14.20s}.octa-signin .os-eight line:nth-child(7){animation-delay:-14.03s}.octa-signin .os-eight line:nth-child(8){animation-delay:-13.87s}.octa-signin .os-eight line:nth-child(9){animation-delay:-13.70s}.octa-signin .os-eight line:nth-child(10){animation-delay:-13.53s}.octa-signin .os-eight line:nth-child(11){animation-delay:-13.37s}.octa-signin .os-eight line:nth-child(12){animation-delay:-13.20s}.octa-signin .os-eight line:nth-child(13){animation-delay:-13.03s}.octa-signin .os-eight line:nth-child(14){animation-delay:-12.87s}.octa-signin .os-eight line:nth-child(15){animation-delay:-12.70s}.octa-signin .os-eight line:nth-child(16){animation-delay:-12.53s}.octa-signin .os-eight line:nth-child(17){animation-delay:-12.37s}.octa-signin .os-eight line:nth-child(18){animation-delay:-12.20s}.octa-signin .os-eight line:nth-child(19){animation-delay:-12.03s}.octa-signin .os-eight line:nth-child(20){animation-delay:-11.87s}.octa-signin .os-eight line:nth-child(21){animation-delay:-11.70s}.octa-signin .os-eight line:nth-child(22){animation-delay:-11.53s}.octa-signin .os-eight line:nth-child(23){animation-delay:-11.37s}.octa-signin .os-eight line:nth-child(24){animation-delay:-11.20s}.octa-signin .os-eight line:nth-child(25){animation-delay:-11.03s}.octa-signin .os-eight line:nth-child(26){animation-delay:-10.87s}.octa-signin .os-eight line:nth-child(27){animation-delay:-10.70s}.octa-signin .os-eight line:nth-child(28){animation-delay:-10.53s}.octa-signin .os-eight line:nth-child(29){animation-delay:-10.37s}.octa-signin .os-eight line:nth-child(30){animation-delay:-10.20s}.octa-signin .os-eight line:nth-child(31){animation-delay:-10.03s}.octa-signin .os-eight line:nth-child(32){animation-delay:-9.87s}.octa-signin .os-eight line:nth-child(33){animation-delay:-9.70s}.octa-signin .os-eight line:nth-child(34){animation-delay:-9.53s}.octa-signin .os-eight line:nth-child(35){animation-delay:-9.37s}.octa-signin .os-eight line:nth-child(36){animation-delay:-9.20s}.octa-signin .os-eight line:nth-child(37){animation-delay:-9.03s}.octa-signin .os-eight line:nth-child(38){animation-delay:-8.87s}.octa-signin .os-eight line:nth-child(39){animation-delay:-8.70s}.octa-signin .os-eight line:nth-child(40){animation-delay:-8.53s}.octa-signin .os-eight line:nth-child(41){animation-delay:-8.37s}.octa-signin .os-eight line:nth-child(42){animation-delay:-8.20s}.octa-signin .os-eight line:nth-child(43){animation-delay:-8.03s}.octa-signin .os-eight line:nth-child(44){animation-delay:-7.87s}.octa-signin .os-eight line:nth-child(45){animation-delay:-7.70s}.octa-signin .os-eight line:nth-child(46){animation-delay:-7.53s}.octa-signin .os-eight line:nth-child(47){animation-delay:-7.37s}.octa-signin .os-eight line:nth-child(48){animation-delay:-7.20s}.octa-signin .os-eight line:nth-child(49){animation-delay:-7.03s}.octa-signin .os-eight line:nth-child(50){animation-delay:-6.87s}.octa-signin .os-eight line:nth-child(51){animation-delay:-6.70s}.octa-signin .os-eight line:nth-child(52){animation-delay:-6.53s}.octa-signin .os-eight line:nth-child(53){animation-delay:-6.37s}.octa-signin .os-eight line:nth-child(54){animation-delay:-6.20s}.octa-signin .os-eight line:nth-child(55){animation-delay:-6.03s}.octa-signin .os-eight line:nth-child(56){animation-delay:-5.87s}.octa-signin .os-eight line:nth-child(57){animation-delay:-5.70s}.octa-signin .os-eight line:nth-child(58){animation-delay:-5.53s}.octa-signin .os-eight line:nth-child(59){animation-delay:-5.37s}.octa-signin .os-eight line:nth-child(60){animation-delay:-5.20s}.octa-signin .os-eight line:nth-child(61){animation-delay:-5.03s}.octa-signin .os-eight line:nth-child(62){animation-delay:-4.87s}.octa-signin .os-eight line:nth-child(63){animation-delay:-4.70s}.octa-signin .os-eight line:nth-child(64){animation-delay:-4.53s}.octa-signin .os-eight line:nth-child(65){animation-delay:-4.37s}.octa-signin .os-eight line:nth-child(66){animation-delay:-4.20s}.octa-signin .os-eight line:nth-child(67){animation-delay:-4.03s}.octa-signin .os-eight line:nth-child(68){animation-delay:-3.87s}.octa-signin .os-eight line:nth-child(69){animation-delay:-3.70s}.octa-signin .os-eight line:nth-child(70){animation-delay:-3.53s}.octa-signin .os-eight line:nth-child(71){animation-delay:-3.37s}.octa-signin .os-eight line:nth-child(72){animation-delay:-3.20s}.octa-signin .os-eight line:nth-child(73){animation-delay:-3.03s}.octa-signin .os-eight line:nth-child(74){animation-delay:-2.87s}.octa-signin .os-eight line:nth-child(75){animation-delay:-2.70s}.octa-signin .os-eight line:nth-child(76){animation-delay:-2.53s}.octa-signin .os-eight line:nth-child(77){animation-delay:-2.37s}.octa-signin .os-eight line:nth-child(78){animation-delay:-2.20s}.octa-signin .os-eight line:nth-child(79){animation-delay:-2.03s}.octa-signin .os-eight line:nth-child(80){animation-delay:-1.86s}.octa-signin .os-eight line:nth-child(81){animation-delay:-1.70s}.octa-signin .os-eight line:nth-child(82){animation-delay:-1.53s}.octa-signin .os-eight line:nth-child(83){animation-delay:-1.36s}.octa-signin .os-eight line:nth-child(84){animation-delay:-1.20s}.octa-signin .os-eight line:nth-child(85){animation-delay:-1.03s}.octa-signin .os-eight line:nth-child(86){animation-delay:-0.86s}.octa-signin .os-eight line:nth-child(87){animation-delay:-0.70s}.octa-signin .os-eight line:nth-child(88){animation-delay:-0.53s}.octa-signin .os-eight line:nth-child(89){animation-delay:-0.36s}.octa-signin .os-eight line:nth-child(90){animation-delay:-0.20s}.octa-signin .os-eight line:nth-child(91){animation-delay:-0.03s}.octa-signin .os-eight line:nth-child(92){animation-delay:-15.47s}.octa-signin .os-eight line:nth-child(93){animation-delay:-15.30s}.octa-signin .os-eight line:nth-child(94){animation-delay:-15.13s}.octa-signin .os-eight line:nth-child(95){animation-delay:-15.88s}.octa-signin .os-eight line:nth-child(96){animation-delay:-15.72s}
