/* JX1 TTDC — live UI aligned to the supplied G6923 Website/CMS design.
   Presentation only. The PHP forms, CAPTCHA, RBAC and runtime listeners are unchanged.
   Palette and framing follow BAT_DAU_O_DAY(5).html (not its offline controls). */
:root{--jx-jade-deep:#061e19;--jx-jade-panel:#092c23;--jx-jade-input:#041e19;--jx-jade-border:#426b55;--jx-gold:#e7be6c;--jx-gold-light:#f9dc9b;--jx-cream:#fff4d8;--jx-moss:#bad2c3}
body.ttdc{color:var(--jx-cream)}
body.ttdc .site-header{background:linear-gradient(90deg,#061b16,#12372b 51%,#061d18);border-bottom:1px solid rgba(231,190,108,.65)}
/* A single visual language for homepage, navigation and quick actions. */
body.ttdc :is(#main-nav,#quick-menu) a[data-ttdc-nav]{border-radius:7px;color:#e5ecdf}
body.ttdc :is(#main-nav,#quick-menu) a[data-ttdc-nav]:is(:hover,:focus-visible,[aria-current]){background:#164233;color:#ffdfa0;border-color:rgba(231,190,108,.49)}
body.ttdc .header-actions .g6916-header-account,body.ttdc .header-actions .btn-download{border:1px solid #bfa05d;border-radius:7px;background:#092e25;color:#ffe3a9}
body.ttdc .header-actions :is(.g6916-header-account,.btn-download):hover{background:#174333}
body.ttdc .shortcuts{border:1px solid rgba(231,190,108,.78);background:linear-gradient(145deg,rgba(7,48,36,.98),rgba(4,31,26,.99));border-radius:8px;box-shadow:0 8px 24px #0007,inset 0 1px #e3c38038}
body.ttdc .shortcuts .shortcut:is(:hover,:focus-visible){background:#164333}
/* Hero background remains one immutable image, shared by both account modes. */
body.ttdc .hero-backdrop{background-image:linear-gradient(90deg,rgba(1,20,17,.045),rgba(1,19,15,.055) 50%,rgba(0,12,10,.26)),url('../img/g698-hero-2172.webp')}
/* The approved G6923 wrapper uses an opaque jade plate and a thin, double gold rim.
   No bitmap cropping/stretching and no trial-only QA ribbons. */
body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),
body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){
  border:2px solid var(--jx-gold);
  border-radius:15px;
  background:linear-gradient(150deg,rgba(9,53,41,.985),rgba(5,35,29,.992) 70%,rgba(4,29,25,.998));
  box-shadow:0 0 0 5px #06221a,0 0 0 6px rgba(226,180,93,.80),0 22px 64px rgba(0,0,0,.66),inset 0 0 0 1px #f5dfad32;
  isolation:isolate;
  overflow:hidden;
  /* The block size is determined by R52's fluid geometry, never by either pane. */
}
body.ttdc .login-panel.jx-auth-refined::before{inset:8px;border:1px solid rgba(247,215,149,.20);border-radius:8px;background:none;opacity:1}
body.ttdc .login-panel.jx-auth-refined::after{display:none}
body.ttdc .login-panel.jx-auth-refined .corner,body.ttdc .login-panel.jx-auth-refined .jx-auth-finial{display:none}
body.ttdc .login-panel.jx-auth-refined .jx-auth-kicker{color:#f4d69b;font-size:clamp(.72rem,.70rem + .12vw,.82rem);letter-spacing:.085em;margin:.15rem 0 .85rem;font-weight:700}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs{gap:.5rem;margin-bottom:.55rem;padding:4px;background:#041e19;border:1px solid #64816a;border-radius:9px;box-shadow:none}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button{border-radius:6px;min-height:47px;font-size:clamp(.92rem,.87rem + .15vw,1.05rem);color:#c1d9c7}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button[aria-selected="true"]{color:#241b0f;background:linear-gradient(#f9e3a0,#cf9a4c);border-color:#edca80;box-shadow:inset 0 1px #fff3cb,0 2px 5px #0008}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button:not([aria-selected="true"]):hover{background:#164333;color:#fff1cb}
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes{min-height:0;flex:1;overflow:hidden}
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes>[role="tabpanel"]{padding:clamp(.45rem,.8vw,.7rem) .35rem .6rem;scrollbar-color:#a9874d #092c23}
body.ttdc .login-panel.jx-auth-refined .jx-auth-field-label,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form label{color:#f5dfaf;font-weight:650;font-size:clamp(.87rem,.82rem + .12vw,.96rem)}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell,
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row>input,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form label>input,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha input{
  border:1px solid #5d856f;border-radius:8px;background:var(--jx-jade-input);color:var(--jx-cream);box-shadow:none;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell:focus-within,
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row>input:focus-visible,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form label>input:focus-visible{border-color:#e3c37d;box-shadow:0 0 0 2px #e7be6c2e}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .btn-login,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .btn[type="submit"]{
  background:linear-gradient(#f9e5ae,#d6aa5a 66%,#c18d40);border-color:#ffe4aa;color:#1e2114;border-radius:7px;box-shadow:inset 0 1px #fff4c8,0 4px 13px #0007;font-weight:750
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6917-field-hint{background:#082a23;border-left:2px solid #e7be6c;color:#ceded2;border-radius:0 7px 7px 0}
body.ttdc .login-panel.jx-auth-refined .login-links{border-color:#63704c}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-code,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha img{border:1px solid #c4a66a;border-radius:5px}
/* Member as a real, session-gated modal: dimensions and border from G6923 reference. */
body.ttdc .g6924-member-dialog{
  width:min(1140px,calc(100vw - 48px));height:min(720px,calc(100dvh - 56px));
  border:2px solid #e7be6c;border-radius:15px;background:#071f1a;
  box-shadow:0 0 0 5px #06221a,0 0 0 6px rgba(226,180,93,.75),0 25px 80px rgba(0,0,0,.74),inset 0 0 0 1px #f5dfad55
}
body.ttdc .g6924-member-dialog::backdrop{background:rgba(0,18,13,.72);backdrop-filter:blur(5px) brightness(.7);-webkit-backdrop-filter:blur(5px) brightness(.7)}
body.ttdc .g6924-member-bar{height:auto;min-height:68px;padding:13px 20px;border-bottom:1px solid #8a7449;background:linear-gradient(90deg,#061e17,#154435,#091f1a)}
body.ttdc .g6924-member-brand-title{display:flex;gap:10px;align-items:center;min-width:0}
body.ttdc .g6924-member-title{display:flex;flex-direction:column;min-width:0}
body.ttdc .g6924-member-title strong{font:700 clamp(.92rem,.89rem + .15vw,1.06rem)/1.35 'Segoe UI',Tahoma,Arial,sans-serif;color:#ffe0a1}
body.ttdc .g6924-member-title small{font:400 .72rem/1.5 'Segoe UI',Tahoma,Arial,sans-serif;color:#bbd1c0}
body.ttdc .g6924-member-bar [data-g6924-member-close]{border:1px solid #a48a59;border-radius:7px;background:#143b2d;color:#ffe0a1;padding:9px 12px;min-height:40px;cursor:pointer;white-space:nowrap;font-weight:700}
body.ttdc .g6924-member-bar [data-g6924-member-close]:hover{background:#23503b}
body.ttdc .g6924-member-bar [data-g6924-member-close]:focus-visible{outline:3px solid #fff1c9;outline-offset:2px}
/* Account-management popups match the same real window rather than a QA fixture. */
body.ttdc .g6914-account-dialog{background:#071f1a;border:2px solid #e7be6c;border-radius:13px;box-shadow:0 0 0 4px #06221a,0 0 0 5px #cda358,0 22px 68px #000c}
body.ttdc .g6914-dialog-header{border-bottom:1px solid #8a7449}
body.ttdc .g6914-dialog-header h2{color:#ffe0a1;letter-spacing:.03em}
body.ttdc .g6914-account-dialog :is(input,select){background:#041e19;border:1px solid #5d856f;border-radius:8px;color:#fff4d6}
/* Keep public news, guides and content panels visually related without restyling their logic. */
body.ttdc :is(.content-panel,.news-dialog){border-color:#8e774c;background-color:#071f1a}
body.ttdc .news-dialog{border:2px solid #d9b36e;border-radius:12px;box-shadow:0 0 0 4px #06221a,0 0 0 5px rgba(226,180,93,.68),0 25px 70px #000c}
body.ttdc .news-dialog::backdrop{background:rgba(0,18,13,.72);backdrop-filter:blur(5px)}
@media(max-width:940px){body.ttdc .hero{background:#061e19}}
@media(max-width:760px){
  body.ttdc .g6924-member-dialog{width:calc(100vw - 18px);height:calc(100dvh - 20px);border-radius:11px}
  body.ttdc .g6924-member-bar{padding:10px 12px;min-height:60px}
  body.ttdc .g6924-member-title strong{font-size:.85rem}
  body.ttdc .g6924-member-title small{display:none}
}
@media(max-width:400px){
  body.ttdc .login-panel.jx-auth-refined .jx-auth-kicker{font-size:.69rem}
  body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button{min-height:44px}
  body.ttdc .g6924-member-brand-title{gap:6px}
}
@media(prefers-reduced-motion:reduce){body.ttdc :is(#main-nav,#quick-menu) a[data-ttdc-nav]{transition:none}}
@media(forced-colors:active){body.ttdc .login-panel.jx-auth-refined,body.ttdc .g6924-member-dialog{outline:2px solid CanvasText}}
/* Give the real four-field registration form enough breathing room at desktop sizes.
   Frame height is identical in both tab states; at zoom/mobile panes remain scrollable. */
@media(min-width:941px){
  body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),
  body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){block-size:clamp(41rem,73svh,44rem)}
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form{gap:clamp(.51rem,.85vw,.67rem)}
/* G6923 PATCH10 comparison: independent corner ornaments, never a resized frame bitmap.
   Keep all ornament layers below real controls and preserve the shared pane geometry. */
body.ttdc .login-panel.jx-auth-refined .corner{
  display:block;
  width:clamp(2.75rem,4.1vw,3.75rem);
  height:clamp(2.75rem,4.1vw,3.75rem);
  background:url('../img/jx-premium-corner.svg') center/contain no-repeat;
  opacity:.72;
  filter:drop-shadow(0 1px 2px #0008);
  z-index:0;
  pointer-events:none;
}
body.ttdc .login-panel.jx-auth-refined .corner.lt{top:2px;left:2px;transform:none}
body.ttdc .login-panel.jx-auth-refined .corner.rt{top:2px;right:2px;transform:scaleX(-1)}
body.ttdc .login-panel.jx-auth-refined .corner.lb{bottom:2px;left:2px;transform:scaleY(-1);opacity:.55}
body.ttdc .login-panel.jx-auth-refined .corner.rb{bottom:2px;right:2px;transform:scale(-1);opacity:.55}
body.ttdc .login-panel.jx-auth-refined .jx-auth-finial{display:block;opacity:.75}
/* The original G6923 site marks its active public nav item with a gold underline. */
body.ttdc #main-nav a[data-ttdc-nav][aria-current]{background:transparent;border-color:transparent;color:#ffe2a4}
body.ttdc #main-nav a[data-ttdc-nav][aria-current]::after{inset:auto 6px 2px;height:2px}
@media (prefers-reduced-motion:reduce){body.ttdc .login-panel.jx-auth-refined .corner{transition:none}}


/* RC25 R54 | G6923 PATCH10 is the visual contract, not just a palette.
   Desktop reference at 1440px: shell 1376px, hero and panel 558px, panel 376px.
   The artwork/brand files are SHA-identical to the supplied approved reference.
   No API, validation, JS, CAPTCHA, RBAC or CMS changes are introduced here. */
body.ttdc .site-header{height:76px;background:rgba(1,17,14,.96);border-bottom:1px solid #987b44;box-shadow:0 8px 25px #0004}
body.ttdc .nav-wrap{gap:clamp(10px,1.6vw,24px)}
body.ttdc #main-nav a[data-ttdc-nav]{border-radius:0;background:transparent;border-color:transparent;color:#f0f2e6;font-size:clamp(12px,1.05vw,15px);padding-inline:0}
body.ttdc #main-nav a[data-ttdc-nav][aria-current],
body.ttdc #main-nav a[data-ttdc-nav]:hover{color:#ffe2a4}
body.ttdc #main-nav a[data-ttdc-nav][aria-current]::after{inset:auto 0 2px;height:2px;background:#e5bd6a;box-shadow:0 0 13px 2px rgba(229,183,99,.5)}
body.ttdc .header-actions :is(.g6916-header-account,.btn-download,#nav-toggle){border:1px solid #99783f;border-radius:5px;background:#061b15;color:#ffe0a1;box-shadow:none;font-size:14px}
body.ttdc #nav-toggle{min-height:44px}
body.ttdc .hero{overflow:hidden;min-height:0;height:auto;background:#07342d;border-bottom:1px solid #b89a5c}
body.ttdc .hero-backdrop{background-image:linear-gradient(90deg,rgba(0,19,16,.03) 0%,rgba(0,28,22,.02) 40%,rgba(0,9,8,.13) 100%),url('../img/g698-hero-2172.webp');background-position:center top;background-size:cover;filter:saturate(1.03)}
body.ttdc .hero::after{background:radial-gradient(ellipse at 53% 18%,rgba(255,220,133,.22),transparent 32%),linear-gradient(0deg,rgba(0,20,16,.36),transparent 23%),linear-gradient(90deg,rgba(2,23,18,.03) 28%,rgba(0,22,18,.04) 45%,rgba(1,12,11,.12) 69%,rgba(1,12,12,.18))}
body.ttdc .hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1.12fr) minmax(0,.86fr);align-items:center;gap:24px;padding-block:0;min-height:0}
body.ttdc .hero-spacer{display:block}
body.ttdc .hero-titleblock{align-self:center;padding:16px 0 24px;margin:0;text-align:center}
body.ttdc .hero-titleblock .hero-logo-master{width:min(112%,525px);max-width:none;position:relative;left:50%;transform:translateX(-50%);margin:-2px 0 -14px;object-fit:contain}
body.ttdc .hero-titleblock .hero-tag{font:20px/1.5 Georgia,'Times New Roman',serif;margin:0 auto 12px}
body.ttdc .hero-titleblock .hero-slogan{font-size:clamp(12px,1.05vw,16px);line-height:1.52;margin:15px -12px 0}
/* A single 558px gilt plate on reference desktop. Both tabs share exact geometry. */
body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),
body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){
  height:558px;block-size:558px;min-height:0;min-block-size:0;max-height:none;
  width:100%;margin:0;align-self:center;display:flex;flex-direction:column;
  padding:15px clamp(15px,2.05vw,30px) 14px;
  border:2px solid #cda35f;border-radius:4px;
  background:radial-gradient(ellipse at 8% 2%,rgba(9,91,55,.53),transparent 49%),linear-gradient(145deg,rgba(0,52,34,.97),rgba(1,20,18,.97) 77%);
  box-shadow:inset 0 0 0 4px rgba(8,49,32,.91),inset 0 0 25px rgba(0,0,0,.44),0 8px 37px rgba(0,0,0,.43);
  overflow:hidden;container-type:inline-size;overflow-anchor:none;isolation:isolate
}
body.ttdc .login-panel.jx-auth-refined::before{display:none}
body.ttdc .login-panel.jx-auth-refined::after{display:block;content:'';position:absolute;inset:6px;border:1px solid rgba(231,186,106,.19);border-radius:2px;pointer-events:none;z-index:0}
body.ttdc .login-panel.jx-auth-refined .corner{display:block;width:clamp(45px,4.5vw,70px);height:clamp(52px,5vw,76px);background:url('../img/g6923-auth-corner.svg') left top/contain no-repeat;opacity:.97;filter:none;pointer-events:none;z-index:0}
body.ttdc .login-panel.jx-auth-refined .corner.lt{top:0;left:0;transform:none}
body.ttdc .login-panel.jx-auth-refined .corner.rt{top:0;right:0;transform:scaleX(-1)}
body.ttdc .login-panel.jx-auth-refined .corner.lb{bottom:0;left:0;transform:scaleY(-1);opacity:.97}
body.ttdc .login-panel.jx-auth-refined .corner.rb{bottom:0;right:0;transform:scale(-1);opacity:.97}
body.ttdc .login-panel.jx-auth-refined .jx-auth-finial{display:block;top:1px;width:20px;height:19px;background:none;transform:translateX(-50%);clip-path:polygon(50% 0,75% 50%,50% 100%,25% 50%);background-color:#e9c47c}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0;min-height:35px;margin:0 0 8px;border:0;border-bottom:1px solid #806739;border-radius:0;background:none;box-shadow:none;flex:0 0 auto}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button{min-height:35px;padding:4px 5px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;box-shadow:none;color:#b9d0be;font:700 13px/1.2 'Segoe UI',Arial,sans-serif}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button[aria-selected='true']{color:#ffe3a6;border-bottom-color:#e3b66a;background:none;box-shadow:none;text-shadow:0 0 12px #cda55b50}
body.ttdc .login-panel.jx-auth-refined .g6925-hero-tabs button:not([aria-selected='true']):hover{color:#fff0c8;background:transparent}
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes{min-height:0;flex:1 1 auto;display:grid;overflow:hidden}
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes>[role='tabpanel']{display:flex;flex-direction:column;grid-area:1/1;overflow-y:auto;overflow-x:hidden;padding:3px 2px 6px;scrollbar-gutter:stable;overscroll-behavior:contain;min-height:0;max-height:100%}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields:not([hidden]){justify-content:safe center;padding-bottom:12px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register:not([hidden]){justify-content:flex-start}
body.ttdc .login-panel.jx-auth-refined #login-heading{display:flex;font:19px/1.3 Georgia,'Times New Roman',serif;gap:10px;margin:0 0 9px;color:#fff8de}
body.ttdc .login-panel.jx-auth-refined #login-heading .heading-icon{width:24px;height:24px}
body.ttdc .login-panel.jx-auth-refined .jx-auth-intro{font:12px/1.55 'Segoe UI',Arial,sans-serif;color:#d9dcc7;margin:0 0 13px}
/* Copy approved inputs' spacing and understated focus, keep real form fields. */
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell{height:49px;min-height:49px;margin:0 0 12px;border:1px solid rgba(140,181,155,.28);border-radius:5px;background:rgba(3,27,26,.85);padding:0 12px}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell input{height:100%;min-height:44px;font-size:14px}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 96px 39px;gap:9px;align-items:center;margin:14px 0}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row input{min-height:46px;height:46px;border-radius:5px}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-code{height:46px;min-height:46px;width:96px;max-width:96px;object-fit:contain;background:#163c2c;border:1px solid #dfb86d;border-radius:5px}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-refresh{height:46px;min-height:46px;width:39px;min-width:39px;border-radius:5px}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .btn-login{height:51px;min-height:51px;border-radius:5px;font-size:16px;background:linear-gradient(#fff1b8,#d5a752 70%,#ba853b)}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .login-links{display:flex;flex-direction:column;gap:0;margin-top:14px;padding:6px 0 0;border-top:1px solid rgba(221,178,90,.21)}
body.ttdc .login-panel.jx-auth-refined .jx-login-help-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:33px;font-size:12px;color:#cbdac9}
body.ttdc .login-panel.jx-auth-refined .jx-login-help-row button{min-height:30px;padding:2px 0;font-size:12px;text-align:right;white-space:normal;color:#f4dcaa;text-decoration:underline;text-underline-offset:2px;background:none;border:0;cursor:pointer}
body.ttdc .login-panel.jx-auth-refined .jx-login-help-row:last-child button:first-child{text-align:left}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form{display:grid;gap:5px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form label{font-size:12px;line-height:1.4;margin:0;color:#ead8aa}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register form label>input{height:39px;min-height:39px;margin:4px 0 0;padding:8px 10px;font-size:13px;border-radius:5px;border:1px solid #507360;background:#041c19}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha{grid-template-columns:minmax(0,1fr) 96px 64px;gap:6px;margin:4px 0 0}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha input{height:39px;min-height:39px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha img{width:96px;min-width:96px;height:39px;max-height:39px;object-fit:contain}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha button{min-height:39px;height:39px;font-size:11px;padding:4px;border-radius:5px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6917-field-hint{padding:4px 0;font-size:10px;line-height:1.4;background:none;border:0;color:#c5cbb7}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .btn[type='submit']{min-height:42px;height:42px;font-size:14px;border-radius:5px;padding:8px 12px;background:linear-gradient(#fff1b8,#d5a752 70%,#ba853b)}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6925-switch-footer{margin:7px 0 0;font-size:11px}
/* Reference hero rows: 558 hero + 91 quick links, no extra vertical margin. */
body.ttdc .shortcuts{min-height:91px;margin-top:-1px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 13px;border:1px solid rgba(224,186,97,.57);border-radius:0;background:linear-gradient(180deg,rgba(8,64,44,.95),rgba(2,27,26,.97)),url('../img/g692-strip.svg') center/100% 100% no-repeat;box-shadow:inset 0 1px #ffdc9245,0 7px 26px #0006}
/* Visual fidelity from the supplied image at desktop viewports. */
@media(min-width:1200px){
 body.ttdc .hero{height:558px;min-height:558px}
 body.ttdc .hero-grid{height:558px;min-height:558px;grid-template-columns:minmax(0,1.04fr) minmax(0,1.12fr) minmax(340px,.86fr)}
 body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){height:558px;block-size:558px}
 body.ttdc #nav-toggle{display:inline-flex;align-items:center;justify-content:center}
}
@media(min-width:941px) and (max-width:1199px){
 body.ttdc .hero{height:clamp(558px,58vw,620px)}
 body.ttdc .hero-grid{height:100%;grid-template-columns:minmax(0,1fr) minmax(330px,40%);gap:16px}
 body.ttdc .hero-spacer{display:none}
 body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){height:min(558px,100%);block-size:min(558px,100%)}
 body.ttdc .hero-titleblock .hero-logo-master{width:min(100%,500px)}
}
@media(max-width:940px){
 body.ttdc .hero{height:auto;overflow:visible;background:#031d18}
 body.ttdc .hero-grid{display:flex;flex-direction:column;gap:12px;width:min(calc(100% - 30px),700px);height:auto;padding:0 0 22px}
 body.ttdc .hero-spacer{display:none}
 body.ttdc .hero-backdrop{height:clamp(350px,60vw,500px);background-position:40% top;background-size:cover}
 body.ttdc .hero-titleblock{width:100%;min-height:clamp(285px,45vw,360px);padding:36px 0 10px;margin:0}
 body.ttdc .hero-titleblock .hero-logo-master{width:min(100%,500px);margin:-2px 0 -10px}
 body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){width:min(100%,520px);height:558px;block-size:558px;margin:0 auto;padding:15px clamp(15px,4vw,26px) 14px}
}
@media(max-width:760px){body.ttdc .shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0}}
@media(max-width:400px){
 body.ttdc .hero-grid{width:calc(100% - 22px)}
 body.ttdc .hero-titleblock{min-height:300px}
 body.ttdc .hero-titleblock .hero-tag{font-size:12px}
 body.ttdc .hero-titleblock .hero-slogan{font-size:12px;margin:11px 0 0}
 body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs),body.ttdc .login-panel.jx-auth-refined:has(.g6925-hero-tabs):has(#g6925-hero-register:not([hidden])){height:558px;block-size:558px;padding-inline:15px}
 body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row{grid-template-columns:minmax(0,1fr) 84px 39px;gap:5px}
 body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-code{width:84px;max-width:84px}
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha{grid-template-columns:minmax(0,1fr) 78px 50px;gap:4px}
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha img{width:78px;min-width:78px}
 body.ttdc .shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){body.ttdc .login-panel.jx-auth-refined :is(input,button){transition:none}}

/* R54 same-view retouch: the legacy G6926 container query must not split the
   approved three-column CAPTCHA row on a 376px account plate. */
@media(min-width:401px){
 body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row>input,
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>input{grid-column:1;grid-row:1;min-width:0}
 body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row>.captcha-code,
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>img{grid-column:2;grid-row:1}
 body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row>.captcha-refresh,
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>button{grid-column:3;grid-row:1}
}
@media(min-width:1200px){body.ttdc .site-header #nav-toggle{display:inline-flex;align-items:center;justify-content:center}}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .jx-register-heading{display:flex;align-items:center;gap:9px;flex:none;font:19px/1.25 Georgia,'Times New Roman',serif;color:#fff8de;margin:2px 0 6px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .jx-register-heading .heading-icon{width:23px;height:23px;flex:none}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form label>input{min-height:39px;height:39px;padding:8px 10px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha{height:39px;min-height:39px;align-items:center}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha>img{min-height:39px;max-height:39px;height:39px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha>button{min-width:0;width:64px;min-height:39px;height:39px;font-size:11px}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6925-switch-footer{margin:5px 0 0;font-size:11px;line-height:1.5;flex:none;align-self:center;display:flex;justify-content:center;gap:7px;align-items:center}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6925-switch-footer button{padding:3px 0;min-height:28px;background:none;color:#ffe0a1;border:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:11px}
@media(max-width:400px){
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>input{grid-column:1;grid-row:1;min-width:0}
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>img{grid-column:2;grid-row:1}
 body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .g6914-captcha>button{grid-column:3;grid-row:1;width:50px}
}

/* RC25 R55 — G6923 registration alignment. The underlying PHP form, CAPTCHA
   URL, mutation permission and disabled state are intentionally unchanged. */
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .jx-register-heading {
  margin-bottom:3px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .jx-register-intro {
  flex:none;margin:0 0 9px;color:#d9dcc7;
  font:400 12px/18px 'Segoe UI',Tahoma,Arial,sans-serif;
  overflow-wrap:break-word;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form input::placeholder {
  color:#a6baa9;opacity:1;
}
/* Match the approved reference's input rhythm while retaining responsive
   touch-friendly 16px inputs below the desktop breakpoint. */
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes > [role="tabpanel"] {
  scrollbar-gutter:auto;padding-inline:2.5px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form label {
  font-size:12px;line-height:17.4px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form label > input {
  margin-top:4px;
}
@media(min-width:941px) {
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.g6914-captcha input) {
    font-size:13px;
  }
}
@media(max-width:940px) {
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.g6914-captcha input) {
    font-size:16px;
  }
}
/* Distinguish a locked backend gate without dimming the gold button into
   near-invisibility. This never removes the native disabled attribute. */
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form button[type="submit"]:disabled {
  opacity:.86;filter:saturate(.73);cursor:not-allowed;
}
@media (prefers-contrast:more) {
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register .jx-register-intro {color:#fff4d8;}
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form input::placeholder {color:#e6eddf;}
}


/* RC25 R56 — one real CAPTCHA visual component for both public Hero forms.
   Both images are generated by the original server endpoint with separate
   session scopes; only presentation size, framing and public PNG palette align.
   The register refresh button retains data-g6914-refresh, and the login
   control retains #captcha-refresh; the existing JS binding is unchanged. */
body.ttdc .login-panel.jx-auth-refined {
  --jx-captcha-control:40px;
  --jx-captcha-code-width:96px;
  --jx-captcha-action-width:40px;
  --jx-captcha-spacing:7px;
  --jx-captcha-jade:#082a22;
  --jx-captcha-gold:#c5a468;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha {
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--jx-captcha-code-width) var(--jx-captcha-action-width);
  gap:var(--jx-captcha-spacing);
  align-items:center;
  min-width:0;
  height:var(--jx-captcha-control);
  min-height:var(--jx-captcha-control);
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > input,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > input {
  grid-area:1 / 1;
  min-width:0;
  width:100%;
  height:var(--jx-captcha-control);
  min-height:var(--jx-captcha-control);
  max-height:var(--jx-captcha-control);
  padding:7px 11px;
  margin:0;
  border:1px solid #5d856f;
  border-radius:5px;
  background:#041e19;
  color:#fff4d8;
  box-shadow:none;
  font-size:14px;
  line-height:1.25;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-code,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > img {
  grid-area:1 / 2;
  display:block;
  box-sizing:border-box;
  width:var(--jx-captcha-code-width);
  min-width:0;
  max-width:100%;
  height:var(--jx-captcha-control);
  min-height:var(--jx-captcha-control);
  max-height:var(--jx-captcha-control);
  margin:0;
  padding:0;
  border:1px solid var(--jx-captcha-gold);
  border-radius:5px;
  background:var(--jx-captcha-jade);
  box-shadow:inset 0 0 0 1px #0004;
  object-fit:contain;
  object-position:center;
  filter:none;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-refresh,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > button {
  grid-area:1 / 3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:var(--jx-captcha-action-width);
  min-width:var(--jx-captcha-action-width);
  max-width:var(--jx-captcha-action-width);
  height:var(--jx-captcha-control);
  min-height:var(--jx-captcha-control);
  max-height:var(--jx-captcha-control);
  margin:0;
  padding:6px;
  border:1px solid #b99a5f;
  border-radius:5px;
  background:linear-gradient(180deg,#154537,#092d26);
  color:#ffe0a1;
  cursor:pointer;
  line-height:1;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-refresh img,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > button img {
  display:block;
  box-sizing:content-box;
  width:22px;height:22px;
  min-width:0;min-height:0;
  max-width:22px;max-height:22px;
  padding:0;margin:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;
  object-fit:contain;pointer-events:none;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-refresh:hover,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > button:hover {
  background:#1b5440;border-color:#f1cd83;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-refresh:focus-visible,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > button:focus-visible {
  outline:2px solid #f9dc9b;outline-offset:2px;
}
@media(max-width:400px) {
  body.ttdc .login-panel.jx-auth-refined {
    --jx-captcha-code-width:78px;
    --jx-captcha-spacing:5px;
  }
}
@media(prefers-contrast:more) {
  body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .captcha-row > .captcha-code,
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6914-captcha > img {
    border-color:#ffe1a2;
  }
}


/* RC25 R57 — G6923 real-form consistency. One shared 558px outer frame.
   Register remains the existing G67 form and retains internal scrolling. */
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields:not([hidden]) {
  justify-content:flex-start;
  padding-bottom:6px;
}
/* 44px inputs and 46px primary actions on BOTH tabs; CAPTCHA stays 40px. */
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell {
  height:44px;min-height:44px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell input {
  height:100%;min-height:0;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .btn-login,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .btn[type='submit'] {
  height:46px;min-height:46px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .btn[type='submit'] {
  margin-top:4px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form label>input {
  height:44px;min-height:44px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-password-field {
  position:relative;min-width:0;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-password-field > label {
  display:block;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-password-field input {
  padding-right:47px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-reveal {
  position:absolute;right:4px;bottom:2px;
  width:40px;min-width:40px;height:40px;min-height:40px;
  display:inline-flex;align-items:center;justify-content:center;
  border:0;border-radius:4px;background:transparent;
  padding:8px;cursor:pointer;color:#e7c987;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-reveal img {
  width:21px;height:21px;max-width:100%;object-fit:contain;pointer-events:none;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-reveal[aria-pressed='true']::after {
  content:'';position:absolute;inset:auto;width:23px;height:2px;
  background:#e7c987;border-radius:2px;transform:rotate(-38deg);
  box-shadow:0 1px 1px rgba(0,0,0,.8);pointer-events:none;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .jx-register-reveal:focus-visible {
  outline:2px solid #ffe0a1;outline-offset:1px;background:#174532;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form .g6917-field-hint {
  font-size:11px;line-height:1.45;color:#d8ddc6;padding:2px 0;
}
/* Override legacy muted gray for the account action description. */
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .jx-login-help-row > span {
  color:#d0d9c6;
}
/* Keep assistive status messages in the pane, never expanding the Hero. */
body.ttdc .login-panel.jx-auth-refined .hero-auth-panes>[role='tabpanel'] {
  overflow-wrap:break-word;
}
@media (prefers-reduced-motion:reduce) {
  body.ttdc .login-panel.jx-auth-refined #g6914-register-form .jx-register-reveal {transition:none}
}

/* RC25 R63 - approved minimal V2, exactly the form-only visual contract.
   Keep G6923 Hero, decorative outer frame, page navigation, CAPTCHA,
   form semantics, buttons, and server logic as-is. Reuse the small existing
   gold icon assets; focus creates a single subtle gold halo. */
body.ttdc .login-panel.jx-auth-refined {
  --jx-auth-field-radius: 6px;
  --jx-auth-field-border: rgba(163,196,160,.59);
  --jx-auth-field-surface: linear-gradient(180deg,rgba(0,26,23,.96),rgba(2,38,31,.85));
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.jx-register-password-field input) {
  border: 1px solid var(--jx-auth-field-border);
  border-radius: var(--jx-auth-field-radius);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.35);
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell {
  background: var(--jx-auth-field-surface);
  gap: 9px;
  padding-inline: 12px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell > img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.jx-register-password-field input) {
  background-color: #031e1b;
  background-image: var(--jx-auth-field-surface);
}
/* The real registration inputs gain the same icon family as Login.
   No extra HTML, input label, wrapper, CAPTCHA icon or form duplication. */
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form input[name="username"] {
  background-image: url('../img/g692-icon-user.svg'), var(--jx-auth-field-surface);
  background-repeat: no-repeat, no-repeat;
  background-position: 12px center, center;
  background-size: 18px 18px, cover;
  padding-left: 39px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(input[name="password"],input[name="passwordConfirm"]) {
  background-image: url('../img/g692-icon-lock.svg'), var(--jx-auth-field-surface);
  background-repeat: no-repeat, no-repeat;
  background-position: 12px center, center;
  background-size: 18px 18px, cover;
  padding-left: 39px;
}
body.ttdc .login-panel.jx-auth-refined #g6925-login-fields .input-shell:focus-within,
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.jx-register-password-field input):focus-visible {
  outline: 0;
  border-color: #e8bf70;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.3),0 0 0 2px rgba(231,185,95,.17);
}
body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(label>input,.jx-register-password-field input):focus-visible {
  outline-offset: 0;
}
@media (max-width:400px) {
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form input[name="username"],
  body.ttdc .login-panel.jx-auth-refined #g6925-hero-register #g6914-register-form :is(input[name="password"],input[name="passwordConfirm"]) {
    background-position: 10px center,center;
    background-size: 17px 17px,cover;
    padding-left: 36px;
  }
}
