/* Focused double-entry landing; original authentication and fluid renderer retained. */
.entry-nav-actions { display:flex; align-items:center; gap:20px; }
.entry-login { min-height:44px; padding:9px 18px; border:0; border-radius:10px; color:var(--ink); background:transparent; font:inherit; font-size:15px; font-weight:650; cursor:pointer; }
.entry-login:hover { background:rgba(55,38,28,.06); }
.main { grid-template-columns:minmax(0,1fr); }
.story { min-height:610px; padding:82px clamp(32px,5.4vw,82px) 58px; }
.story-core { width:min(760px,100%); }
.story h1 { max-width:720px; font-size:clamp(64px,6.8vw,104px); line-height:1.1; }
html[lang="en"] .story h1 { max-width:790px; font-size:clamp(54px,5.5vw,82px); }
.story .lead { max-width:600px; margin-top:26px; }
.story::after { background:linear-gradient(90deg,rgba(28,29,28,.94) 0%,rgba(28,29,28,.77) 32%,rgba(28,29,28,.28) 60%,transparent 83%); }
.entry-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.entry-cta { min-height:64px; min-width:204px; padding:16px 28px; display:inline-flex; justify-content:center; align-items:center; gap:18px; border:1px solid transparent; border-radius:12px; font:inherit; font-size:19px; font-weight:650; line-height:1.3; cursor:pointer; transition:background .18s,box-shadow .18s,transform .18s; }
.entry-cta-primary { color:#261b15; background:#edba91; box-shadow:0 3px 0 rgba(255,255,255,.1) inset,0 7px 26px rgba(9,10,10,.15); }
.entry-cta-primary:hover { background:#f6c9a5; box-shadow:0 3px 0 rgba(255,255,255,.1) inset,0 9px 32px rgba(9,10,10,.23); transform:translateY(-1px); }
.entry-cta-secondary { min-width:250px; color:#faf7f2; background:rgba(255,255,255,.07); border-color:rgba(255,241,220,.36); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.entry-cta-secondary:hover { background:rgba(255,255,255,.14); border-color:rgba(255,241,220,.66); transform:translateY(-1px); }
.entry-cta:active { transform:translateY(0); }
.entry-cta:focus-visible { outline:3px solid #fff1dd; outline-offset:4px; }
.entry-cta svg { flex:0 0 auto; opacity:.85; }
.story .story-actions { margin-top:23px; gap:5px 25px; }
.story .story-actions .story-secondary { min-height:40px; min-width:0; padding:0; gap:0; border:0; border-radius:0; color:#d8d2ca; background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; font-size:14px; font-weight:500; }
.story .story-actions .story-secondary:hover { color:#fff7eb; background:transparent; text-decoration:underline; text-underline-offset:5px; }
.story .story-actions .story-secondary span { display:none; }
.entry-auth-dialog,.entry-agent-dialog { position:fixed; max-height:calc(100dvh - 40px); margin:auto; padding:0; border:1px solid rgba(101,75,54,.17); border-radius:25px; color:#30251e; background:#fffdf8; box-shadow:0 30px 120px rgba(18,14,10,.3); overflow:auto; overscroll-behavior:contain; }
.entry-auth-dialog:not([open]),.entry-agent-dialog:not([open]) { display:none; }
.entry-auth-dialog { width:min(476px,calc(100% - 32px)); }
.entry-auth-dialog::backdrop,.entry-agent-dialog::backdrop { background:rgba(19,20,19,.61); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); }
.entry-dialog-close { position:absolute; z-index:3; top:15px; right:15px; width:40px; height:40px; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:#f0ebe4; color:#6c5b4e; font:inherit; font-size:27px; line-height:1; cursor:pointer; }
.entry-dialog-close:hover { background:#e7ded4; }
.entry-dialog-close:disabled { visibility:hidden; }
.entry-auth-dialog .auth { width:100%; min-height:0; padding:38px 34px 28px; border:0; border-radius:0; box-shadow:none; background:transparent; }
.entry-auth-dialog .auth-head { margin:8px 34px 25px 0; }
.entry-auth-dialog .auth-head h2 { font-size:29px; }
.entry-auth-dialog .auth-help { margin-top:28px; padding-top:18px; }
.entry-auth-dialog .member-links { margin-top:28px; }
.entry-auth-dialog .tab { font-size:14px; }
.entry-auth-dialog label,.entry-auth-dialog .field-top a { font-size:14px; }
.entry-auth-dialog .agreement { font-size:13px; }
.entry-auth-dialog .register-notes li { font-size:13px; }
.entry-auth-dialog .modal { position:fixed; inset:0; padding:16px; }
.entry-auth-dialog .modal-card { width:min(400px,100%); padding:26px; }
.entry-auth-dialog .modal-card p { font-size:14px; }
.entry-agent-dialog { width:min(540px,calc(100% - 32px)); padding:38px 34px 28px; }
.entry-dialog-kicker { margin:0 42px 10px 0; color:#926140; font-size:13px; font-weight:650; letter-spacing:.08em; }
.entry-agent-dialog h2 { margin:0 30px 14px 0; font-size:29px; line-height:1.2; letter-spacing:-.035em; }
.entry-dialog-intro { margin:0 0 22px; color:#6b5d54; font-size:15px; line-height:1.7; }
.entry-endpoint { display:grid; gap:7px; padding:15px 17px; border:1px solid #e5dbcf; border-radius:11px; background:#f7f2ec; }
.entry-endpoint span { color:#7d6b5a; font-size:13px; }
.entry-endpoint code { color:#35291f; font-size:16px; overflow-wrap:anywhere; }
.entry-prompt-label { display:block; margin:20px 0 9px; font-size:14px; }
#entry-agent-prompt { display:block; width:100%; min-height:132px; resize:vertical; padding:13px 14px; border:1px solid #e0d6ca; border-radius:10px; color:#514238; background:#fffefa; font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; }
.entry-safety-note { margin:13px 0 20px; color:#746457; font-size:13px; line-height:1.65; }
.entry-copy-button { width:100%; min-height:50px; padding:12px 18px; border:0; border-radius:11px; color:#fffaf2; background:#34251e; font:inherit; font-size:15px; font-weight:650; cursor:pointer; }
.entry-copy-button:hover { background:#543726; }
.entry-copy-status { min-height:21px; margin:9px 0 5px; color:#6f5138; font-size:13px; line-height:1.6; }
.entry-guide-link { display:block; padding:7px 0; color:#875036; text-align:center; font-size:14px; text-decoration:underline; text-underline-offset:4px; }
@media(min-width:1450px) { .story { min-height:670px; } }
@media(max-width:800px) { .story { min-height:590px; } .story h1 { font-size:clamp(54px,8.7vw,74px); } html[lang="en"] .story h1 { font-size:clamp(47px,7.2vw,65px); } .entry-nav-actions { gap:10px; } }
@media(max-width:640px) {
  .nav { flex-wrap:nowrap; gap:8px; }
  .brand-art { width:140px; flex-basis:140px; }
  .entry-nav-actions { gap:2px; }
  .entry-login { padding:8px 9px; font-size:14px; }
  .language-switch { padding:3px; gap:0; border-radius:10px; }
  .language-switch button { min-height:38px; padding:7px 8px; font-size:12px; }
  .main { display:grid; padding-top:14px; }
  .story { display:flex; min-height:630px; padding:84px 24px 33px; }
  .story h1 { font-size:clamp(46px,12.4vw,68px); }
  html[lang="en"] .story h1 { font-size:clamp(37px,9.7vw,56px); }
  .story .lead { margin-top:24px; font-size:16px; }
  .entry-actions { flex-direction:column; gap:11px; margin-top:28px; }
  .entry-cta { width:100%; min-width:0; min-height:57px; padding:14px 16px; font-size:17px; }
  .story .story-actions { margin-top:19px; gap:0 20px; }
  .story .story-actions .story-secondary { min-height:38px; font-size:13px; }
  .entry-auth-dialog .auth { padding:34px 23px 24px; }
  .entry-agent-dialog { padding:35px 23px 23px; }
}
@media(max-width:370px) { .brand-art { width:112px; flex-basis:112px; } .story { padding-inline:21px; } .entry-login { padding-inline:7px; } .language-switch button { padding-inline:7px; } }
@media(prefers-reduced-motion:reduce) { .entry-cta { transition:none; } .entry-cta:hover { transform:none; } }
