/* Sinho's sign-in and sign-up page (24 Oct 2026). On a wide screen a picture fills the left, under the logo and the headline, and
   the form sits in a column on the right, faded into the picture. At 1024 px and under the picture is a short band above the form.
   The picture is "The calm one" in cyan, the owner's pick (24 Oct 2026, take 3 of four: "ship this, remove the others"): a trader
   in a cyan jacket and magenta tie standing still in a roaring pit, lit by his phone. Fonts, logo and picture are local (authd's
   CSP: self only); the picture is assets/calm-cyan-*, its making in calm.credits.json. */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url('/auth/assets/poppins-400.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url('/auth/assets/poppins-500.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url('/auth/assets/poppins-600.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url('/auth/assets/poppins-700.woff2') format('woff2')}
/* The headline's face, subset to its capitals and stops (barlow-condensed-OFL.txt beside it). */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url('/auth/assets/barlow-condensed-800.woff2') format('woff2')}

:root{
  --bg:#070706;--ink:#f1eee7;--ink-2:rgba(241,238,231,.68);--ink-3:rgba(241,238,231,.55);--ink-4:rgba(241,238,231,.42);--line:rgba(241,238,231,.1);
  --gold:#f2ba60;--link:#69e3fc;--cyan:#00e5ff;
  --control:rgba(241,238,231,.04);--control-hover:rgba(241,238,231,.075);--control-border:rgba(241,238,231,.16);--control-border-hover:rgba(241,238,231,.28);
  --field-border:rgba(241,238,231,.18);--field-focus:rgba(105,227,252,.75);--field-ring:rgba(105,227,252,.14);--autofill:#141412;
  --cta:#f1eee7;--cta-hover:#fff;--cta-ink:#070706;
  --danger:#ff5ccf;--danger-ring:rgba(226,28,205,.18);
  --font:Poppins,'Apple SD Gothic Neo','Noto Sans KR','Noto Sans CJK KR','Malgun Gothic',system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:'Barlow Condensed',Poppins,sans-serif;
  --radius:12px;--h-control:50px;--h-icon:46px;--h-cta:52px;
  /* The form's column: 37.5% of a wide screen (the owner's board's "form +50%"); on a narrower one 1.25 times the earlier
     480-600 px column, leaving the picture at least 600 px. */
  --panel-w:min(max(calc(clamp(480px,41.67vw,600px)*1.25),37.5vw),calc(100vw - 600px));
  --fade-w:clamp(110px,14vw,320px);--art-x:86%;--art-y:40%;--band-y:25%;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* auth.js draws the view's words before the page shows (data-mode on <html>, which keeps its exact '<html lang="en">' for the
   private relay's prefix): no English or Sign in flash. The page shows anyway after 3 s should the script never run. */
html:not([data-mode]) body{visibility:hidden;animation:auth-reveal 0s 3s forwards}
@keyframes auth-reveal{to{visibility:visible}}
/* A-16 (10 Nov 2026): with JavaScript off the page waited 3 s, then said "Connecting…" for good. It now shows at once with the <noscript>
   line in place of the skeleton and "Connecting…". */
@media (scripting:none){html:not([data-mode]) body{visibility:visible;animation:none}.auth-content>.auth-skeleton,.auth-content>.auth-progress{display:none}}
body{margin:0;min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--ink);font:400 15px/1.5 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
button,input{font:inherit;color:inherit;letter-spacing:inherit}
button{-webkit-tap-highlight-color:transparent}
a{color:inherit}
html:lang(ko) .auth-card{word-break:keep-all;overflow-wrap:anywhere}
.auth-provider--icon .auth-provider__label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* The page: the scene (picture, logo, headline) on the left, the form's column on the right. The scene stays in place while a
   short window scrolls the form. */
.auth{position:relative;isolation:isolate;display:flex;min-height:100vh;min-height:100dvh;overflow-x:clip}
.auth-scene{position:sticky;top:0;z-index:0;align-self:flex-start;flex:1 1 auto;min-width:0;height:100vh;height:100dvh;display:flex;flex-direction:column;justify-content:space-between;padding:40px 56px;container-type:inline-size}
/* The picture reaches 80 px under the form's column, so the column's fade always has the pit under it. --art-x keeps the trader
   clear of the headline and before the fade. */
.auth-art{position:absolute;inset:0 -80px 0 0;z-index:-1;display:block;overflow:hidden;pointer-events:none}
.auth-art__img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--art-x) var(--art-y)}
/* The board's scrim: dark from the top left, under the logo and the type. */
.auth-art::after{content:"";position:absolute;inset:0;background:radial-gradient(75% 52% at 0% 0%,rgba(7,7,6,.86) 0%,rgba(7,7,6,.6) 45%,rgba(7,7,6,0) 82%)}
.auth-scene__top{display:flex;flex-direction:column;align-items:flex-start;gap:72px}
.auth-brand{display:block;line-height:0}
.auth-brand__logo{display:block;width:auto;height:28px}
.auth-hero{display:flex;flex-direction:column;gap:18px}
.auth-kicker{margin:0;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2)}
/* A narrow picture (a smaller screen) sets the headline smaller, so it stays clear of the trader. */
.auth-headline{margin:0;font-family:var(--display);font-weight:800;font-size:min(clamp(58px,5.28vw,100px),11cqi);line-height:.92;letter-spacing:.004em;text-transform:uppercase;color:var(--ink)}
.auth-headline span{color:var(--gold)}
.auth-free{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:13px;color:var(--ink-2)}
.auth-free svg{flex:none;width:16px;height:16px}
/* Each language its own headline: Korean's the owner's pick of 28 Oct 2026, "이제 / 껄무새는 그만." (no more "should've bought"), set in a
   Korean face (Barlow Condensed has no Hangul) a size down, its lines a little apart for Hangul's height. Korean shows no English kicker. */
html:lang(ko) .auth-kicker,html:lang(ko) .auth-free,html:lang(ko) .auth-headline--en,html:not(:lang(ko)) .auth-headline--ko{display:none}
.auth-headline--ko{font-family:'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',Poppins,sans-serif;font-size:min(clamp(50px,4.6vw,88px),9.6cqi);line-height:1.08;letter-spacing:-.02em}

.auth-main{position:relative;z-index:1;flex:0 0 var(--panel-w);display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:var(--bg)}
.auth-main::before{content:"";position:absolute;top:0;bottom:0;left:calc(-1 * var(--fade-w));width:var(--fade-w);background:linear-gradient(90deg,rgba(7,7,6,0),rgba(7,7,6,.82) 65%,var(--bg));pointer-events:none}
.auth-close{position:absolute;top:30px;right:28px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink-2);cursor:pointer;transition:color .15s,background .15s}
.auth-close:hover{background:rgba(241,238,231,.08);color:var(--ink)}
.auth-close svg{width:20px;height:20px}
.auth-panel{position:relative;flex:1 0 auto;display:flex;align-items:center;justify-content:center;padding:96px 40px 32px}
.auth-foot{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:0 40px 28px;color:var(--ink-3);font-size:13px;line-height:1.4}
.auth-foot a{color:var(--ink-3);text-decoration:none;transition:color .15s}
.auth-foot a:hover{color:var(--ink)}
.auth-language{display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 0;border:0;background:none;color:var(--ink-2);font-size:13px;cursor:pointer;transition:color .15s}
.auth-language:hover{color:var(--ink)}
.auth-language svg{width:14px;height:14px}

/* The form. */
.auth-card{position:relative;display:flex;flex-direction:column;gap:24px;width:100%;max-width:400px}
.auth-head{display:flex;flex-direction:column;gap:8px}
.auth-title{margin:0;font-size:40px;font-weight:600;line-height:1.1;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.auth-sub{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2);text-wrap:pretty}
.auth-progress{margin:0;color:var(--ink-2);font-size:14px}

/* Access Pass (docs/2026-10-25-ACCESS-PASS, the owner's decision 5): a pass link's sign-up or sign-in says so first, in a gold-bordered
   box with a ticket, so it stands out on the cyan page. */
.auth-pass{position:relative;display:flex;flex-direction:column;gap:3px;padding:14px 16px 14px 50px;border:1.5px solid rgba(242,186,96,.62);
  border-radius:var(--radius);background:rgba(242,186,96,.08);box-shadow:0 0 0 4px rgba(242,186,96,.06);animation:auth-in .25s ease-out}
.auth-pass::before{content:"";position:absolute;left:16px;top:15px;width:22px;height:22px;background:var(--gold);
  -webkit-mask:var(--ticket) center/contain no-repeat;mask:var(--ticket) center/contain no-repeat;
  --ticket:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2M13 17v2M13 11v2'/%3E%3C/svg%3E")}
.auth-pass strong{font-size:15.5px;font-weight:600;line-height:1.35;color:var(--ink)}
.auth-pass span{font-size:13.5px;line-height:1.5;color:var(--ink-2)}

/* Notices: an error, a confirmation or a note, each with its icon. */
.auth-notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid;border-radius:var(--radius);font-size:13.5px;line-height:1.5;animation:auth-in .25s ease-out}
.auth-notice:empty{display:none}
.auth-notice::before{content:"";flex:none;width:18px;height:18px;margin-top:1px;background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.auth-notice[data-tone="error"]{border-color:rgba(226,28,205,.42);background:rgba(226,28,205,.1);color:#ffc4f2;--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E")}
.auth-notice[data-tone="ok"]{border-color:rgba(0,229,255,.36);background:rgba(0,229,255,.08);color:#c4f8ff;--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.5 2.7 2.7L16 9.8'/%3E%3C/svg%3E")}
.auth-notice[data-tone="info"]{border-color:rgba(241,165,43,.4);background:rgba(241,165,43,.09);color:#ffe2b3;--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5M12 7.5v.01'/%3E%3C/svg%3E")}

/* Providers: the first two side by side, the rest a row of their marks, then "or with email". */
.auth-providers{display:flex;flex-direction:column;gap:10px}
.auth-providers:empty{display:none}
.auth-providers__main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.auth-providers__main>:only-child{grid-column:1/-1}
.auth-providers__more{display:flex;gap:10px}
.auth-provider{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;height:var(--h-control);padding:0 14px;border:1px solid var(--control-border);border-radius:var(--radius);background:var(--control);color:var(--ink);font-size:15px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.auth-provider:hover{background:var(--control-hover);border-color:var(--control-border-hover)}
.auth-provider:active{transform:translateY(1px)}
.auth-provider:disabled{cursor:progress}
.auth-provider__icon{flex:none;width:18px;height:18px}
.auth-provider__label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.auth-provider--icon{flex:1 1 0;height:var(--h-icon);padding:0}
.auth-provider--icon .auth-provider__icon{width:22px;height:22px}
.auth-provider--icon.auth-provider--x .auth-provider__icon,.auth-provider--icon.auth-provider--apple .auth-provider__icon{width:18px;height:18px}
.auth-provider__icon--apple,.auth-provider__icon--x{fill:currentColor}
.auth-provider__icon--discord{fill:#5865f2}
.auth-provider__icon--telegram{fill:#26a5e4}
.auth-providers__wait{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.auth-providers__wait i{display:block;height:var(--h-control);border-radius:var(--radius);background:linear-gradient(90deg,rgba(241,238,231,.035) 30%,rgba(241,238,231,.08) 50%,rgba(241,238,231,.035) 70%) 0 0/300% 100%;animation:auth-shimmer 1.4s linear infinite}
.auth-providers__wait i:last-child{grid-column:1/-1;height:var(--h-icon)}
.auth-divider{display:flex;align-items:center;gap:14px;margin-top:14px;color:var(--ink-3);font-size:13px;line-height:1}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--line)}

/* Fields: label above (the forgot link beside it), show/hide inside the password box, the rule below. */
.auth-content{display:flex;flex-direction:column;gap:16px}
.auth-field{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label aside" "box box" "hint hint";align-items:end;column-gap:12px;row-gap:8px}
.auth-field__label{grid-area:label;color:var(--ink-2);font-size:13px;font-weight:500;line-height:1.3}
.auth-field__aside{grid-area:aside;font-size:13px}
.auth-field__box{grid-area:box;position:relative}
.auth-field input{display:block;width:100%;height:var(--h-control);margin:0;padding:0 16px;border:1px solid var(--field-border);border-radius:var(--radius);background:var(--control);color:var(--ink);font-size:16px;font-weight:400;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.auth-field input::placeholder{color:var(--ink-4);opacity:1}
.auth-field input:hover{border-color:var(--control-border-hover)}
.auth-field input:focus{border-color:var(--field-focus);background:rgba(241,238,231,.05);box-shadow:0 0 0 4px var(--field-ring)}
.auth-field input[aria-invalid="true"]{border-color:var(--danger);box-shadow:0 0 0 4px var(--danger-ring)}
.auth-field input:-webkit-autofill{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);-webkit-box-shadow:0 0 0 60px var(--autofill) inset;transition:background-color 99999s}
.auth-field input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 60px var(--autofill) inset,0 0 0 4px var(--field-ring)}
.auth-field--password input{padding-right:52px}
.auth-eye{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:none;color:var(--ink-3);cursor:pointer;transition:color .15s,background .15s}
.auth-eye:hover{color:var(--ink);background:rgba(241,238,231,.07)}
.auth-eye .auth-icon{width:18px;height:18px}
.auth-eye__slash{opacity:0;transition:opacity .15s}
.auth-eye[aria-pressed="true"] .auth-eye__slash{opacity:1}
.auth-eye[aria-pressed="true"]{color:var(--ink)}
.auth-icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-hint{grid-area:hint;display:flex;gap:8px;margin:0;color:var(--ink-3);font-size:12.5px;line-height:1.5}
.auth-hint::before{content:"";flex:none;width:13px;height:13px;margin-top:3px;border-radius:50%;border:1.5px solid currentColor;opacity:.7;transition:background .2s,border-color .2s}
.auth-hint.is-met{color:#8ff3ff}
.auth-hint.is-met::before{opacity:1;border-color:var(--cyan);background:var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011417' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/10px no-repeat}

/* The main button, links, the fine print. */
.auth-submit{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:var(--h-cta);margin-top:8px;padding:0 20px;border:0;border-radius:var(--radius);background:var(--cta);color:var(--cta-ink);font-size:16px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,transform .15s}
.auth-submit:hover{background:var(--cta-hover)}
.auth-submit:active{transform:translateY(1px)}
.auth-submit:disabled{cursor:progress}
.auth-submit[aria-busy="true"] span{opacity:0}
.auth-submit[aria-busy="true"]::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:auth-spin .7s linear infinite}
.auth-link{display:inline;margin:0;padding:0;border:0;background:none;color:var(--link);font-weight:500;cursor:pointer;text-decoration:none;text-underline-offset:3px}
.auth-link:hover{text-decoration:underline}
.auth-link--back::before{content:"←";display:inline-block;margin-right:6px;transition:transform .15s}
.auth-link--back:hover::before{transform:translateX(-3px)}
.auth-switch{margin:4px 0 0;color:var(--ink-2);font-size:14px}
.auth-legal{margin:0;color:var(--ink-3);font-size:12.5px;line-height:1.65;text-wrap:balance}
.auth-legal a{color:var(--ink-2);text-decoration:underline;text-decoration-color:rgba(241,238,231,.3);text-underline-offset:2px}
.auth-legal a:hover{color:var(--ink)}

/* The first paint, while the session check runs: the form's outline, shimmering. */
.auth-skeleton{display:grid;gap:12px}
.auth-skeleton i{display:block;height:var(--h-control);border-radius:var(--radius);background:linear-gradient(90deg,rgba(241,238,231,.035) 30%,rgba(241,238,231,.08) 50%,rgba(241,238,231,.035) 70%) 0 0/300% 100%;animation:auth-shimmer 1.4s linear infinite}
.auth-skeleton i:nth-child(3){margin-top:14px}
.auth-skeleton+.auth-progress{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.auth-card>*,.auth-content>*{animation:auth-in .3s ease-out both}

@keyframes auth-in{from{opacity:0;transform:translateY(4px)}}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@keyframes auth-shimmer{from{background-position:100% 0}to{background-position:0 0}}

/* Narrower desktops: the type comes down a little and the scene's margins with it. */
@media (max-width:1279px){
  .auth-scene{padding:36px 40px}
  .auth-scene__top{gap:56px}
}
/* Short desktop windows: less air above and around the form. */
@media (min-width:1025px) and (max-height:820px){
  .auth-panel{padding-top:80px;padding-bottom:24px}
  .auth-card{gap:20px}
  .auth-title{font-size:36px}
}

/* 1024 px and under: the picture is a short band at the top, the logo and the close button on it, and the form below. */
@media (max-width:1024px){
  .auth{flex-direction:column}
  /* The band keeps the trader's face below the logo's row and above its fade (--band-y). */
  .auth-scene{position:relative;align-self:stretch;flex:none;height:clamp(120px,min(46vw,40vh),320px);padding:max(14px,env(safe-area-inset-top)) 16px 14px;justify-content:flex-start}
  .auth-art{inset:0}
  .auth-art__img{object-position:50% var(--band-y)}
  .auth-art::after{background:linear-gradient(180deg,rgba(7,7,6,.6) 0%,rgba(7,7,6,0) 30%,rgba(7,7,6,0) 72%,var(--bg) 100%)}
  .auth-scene__top{gap:0}
  .auth-brand__logo{height:22px}
  .auth-hero,.auth-free{display:none}
  .auth-main{position:static;flex:1 0 auto;min-height:0;background:none}
  .auth-main::before{display:none}
  .auth-close{top:max(6px,calc(env(safe-area-inset-top) - 4px));right:6px}
  .auth-panel{align-items:flex-start;padding:4px 20px 32px}
  .auth-card{max-width:440px}
  .auth-title{font-size:32px}
  .auth-foot{gap:8px 20px;padding:0 20px max(24px,env(safe-area-inset-bottom))}
}
/* A phone on its side: the band is a strip, so it shows the lighthouse and its beam. */
@media (max-width:1024px) and (max-height:500px){
  .auth-art__img{object-position:50% 50%}
}
/* Small phones: Korean's first two ("카카오로 계속하기", "네이버로 계속하기") stack so their words fit; English's two names sit side by side. */
@media (max-width:419px){
  html:lang(ko) .auth-providers__main{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:399px){
  .auth-providers__more{gap:8px}
  .auth-panel{padding-left:16px;padding-right:16px}
  .auth-title{font-size:30px}
}

/* No focus outlines or rings (the owner, 7 Oct 2026; D293, AGENTS.md), as at the end of the website's web/src/style.css: a
   focused element shows no outline, whichever rule or browser default would draw it. Text input boxes keep their focus styling. */
:focus:not(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=url],input[type=tel],textarea,[contenteditable]:not([contenteditable=false])){outline:none!important}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .auth-submit[aria-busy="true"]::after{animation-duration:1.4s!important;animation-iteration-count:infinite!important}
}
