/* TitanBot V32 interface refresh | visual layer only: V31 indicators, sessions and APIs untouched. */
:root { --t-bg:#f4f5f9; --t-paper:#ffffff; --t-muted:#64748b; --t-ink:#142238; --t-line:#e4e8ef; --t-berry:#7b254b; --t-berry-dark:#581a3c; --t-focus:#ad3d70; }
html.dark { --t-bg:#090e1a; --t-paper:#111a2c; --t-muted:#a5b2c7; --t-ink:#f3f6ff; --t-line:#28374e; --t-berry:#b74675; --t-berry-dark:#7d2e54; --t-focus:#e17aa7; }
/* AUTH: deliberate wine/plum accent with layered abstract shapes, no outside image calls. */
.titan-auth-screen { isolation:isolate; background:#f5f2f5; color:#152034; padding:70px clamp(14px,3vw,42px) 24px; min-height:100dvh; }
html.dark .titan-auth-screen { background:#0b0d19; color:#f4f5fb; }
.titan-auth-screen::before { content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 90% 5%,#bd9eaf37,transparent 36%),radial-gradient(circle at 5% 95%,#8f416122,transparent 37%); }
.titan-auth-topbar {position:absolute;left:clamp(18px,4vw,58px);top:20px;right:clamp(18px,4vw,58px);justify-content:space-between;z-index:4;}
.titan-auth-topbar a,.titan-auth-topbar button {border-radius:11px!important;padding:10px 14px!important;background:#fff!important;color:#58304a!important;border:1px solid #e9dee6!important;box-shadow:0 4px 12px #41213e10!important;min-height:40px;min-width:42px;}
html.dark .titan-auth-topbar a, html.dark .titan-auth-topbar button {background:#171b2c!important;color:#efe1e9!important;border-color:#313248!important;}
.titan-auth-topbar a:hover,.titan-auth-topbar button:hover {border-color:#b37b98!important;}
.titan-auth-layout {width:min(1120px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);min-height:605px;box-shadow:0 32px 90px #32152928;border:1px solid #eadce5;border-radius:28px;overflow:hidden;isolation:isolate;}
html.dark .titan-auth-layout {border-color:#3b293b;box-shadow:0 20px 90px #0008;}
.titan-auth-hero {position:relative;overflow:hidden;background:linear-gradient(137deg,#40122d 0%,#752847 52%,#a34460 100%);color:white;padding:clamp(30px,5vw,70px);display:flex;flex-direction:column;justify-content:center;gap:20px;isolation:isolate;}
.titan-auth-hero::before {content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background:radial-gradient(circle at 75% 25%,#ffc7b322 0 16%,transparent 17%),radial-gradient(circle at 6% 89%,#ffddb51e 0 13%,transparent 14%),radial-gradient(circle at 97% 86%,#ffffff10 0 27%,transparent 28%);}
.titan-auth-hero::after {content:"";position:absolute;z-index:-1;right:-110px;bottom:-150px;width:350px;height:350px;border:1px solid #ffffff3c;border-radius:50%;box-shadow:0 0 0 44px #ffffff08,0 0 0 95px #ffffff0b;}
.titan-auth-brand{display:flex;align-items:center;gap:11px;color:#ffecf1;font-size:13px;font-weight:900;letter-spacing:2px;margin-bottom:auto;}
.titan-auth-brand b{color:#f7b6ce;}
.titan-auth-brand-mark{width:39px;height:39px;border-radius:12px;display:inline-flex;justify-content:center;align-items:center;background:#ffffff22;border:1px solid #ffffff44;font-size:17px;}
.titan-auth-eyebrow{font-size:10px;font-weight:850;letter-spacing:1.7px;color:#f9b7d2;}
.titan-auth-hero h2{font-weight:900;font-size:clamp(35px,4.7vw,60px);line-height:1.12;letter-spacing:-2px;max-width:460px;}
.titan-auth-hero h2 em{font-style:normal;color:#ffd9a8;}
.titan-auth-hero-description{max-width:460px;line-height:1.85;font-size:clamp(13px,1.45vw,15px);color:#ffe7f0e9;}
.titan-auth-features{display:grid;gap:11px;margin-top:10px;}
.titan-auth-features span{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:750;color:#ffeef6;}
.titan-auth-features i{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:10px;background:#ffffff1c;color:#ffcb91;}
.titan-auth-hero-fine{margin-top:auto;font-size:10px;color:#f7ccdc;line-height:1.7;max-width:420px;}
.titan-auth-card{position:relative;padding:clamp(24px,5vw,65px);display:flex;flex-direction:column;justify-content:center;border:0!important;box-shadow:none!important;background:#fff!important;color:#152138!important;min-width:0;}
html.dark .titan-auth-card{background:#121727!important;color:#f4f6ff!important;}
.titan-auth-card-bar{position:absolute;top:0;left:0;width:100%;height:5px;background:linear-gradient(90deg,#72233e,#b65076,#dfa480);}
.titan-auth-login-mark{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#77304e,#b04b6e);box-shadow:0 8px 22px #872b4c33;}
.titan-auth-title-accent{color:#a33261!important;}
html.dark .titan-auth-title-accent{color:#ec93b6!important;}
.titan-auth-card h1{font-size:28px!important;letter-spacing:-1px;line-height:1.2;font-style:normal!important;}
.titan-auth-card form{max-width:470px;width:100%;}
.titan-auth-card label{letter-spacing:.05em;font-weight:800;}
.titan-auth-card input{border-radius:12px!important;padding:12px 15px!important;font-size:14px!important;font-weight:600!important;outline:0!important;transition:border-color .18s,box-shadow .18s;}
.titan-auth-card input:focus{border-color:#a63d67!important;box-shadow:0 0 0 3px #b7416b20!important;}
.titan-auth-card input::placeholder{color:#94a0af;font-weight:400;}
.titan-auth-card .argon-gradient-btn{background:linear-gradient(110deg,#812748,#b24b72)!important;box-shadow:0 9px 22px #8a31503b!important;letter-spacing:.06em;}
.titan-auth-card button[type="submit"]{min-height:45px;border-radius:13px!important;}
.titan-auth-card .bg-emerald-600{background:#77354e!important;}
.titan-auth-card .text-blue-500,.titan-auth-card .text-blue-600{color:#a53461!important;}
html.dark .titan-auth-card .text-blue-500,html.dark .titan-auth-card .text-blue-600{color:#f2a9c8!important;}
@media(max-width:770px){
  .titan-auth-screen{padding:72px 15px 22px;}
  .titan-auth-layout{display:flex;flex-direction:column;min-height:0;border-radius:22px;max-width:540px;}
  .titan-auth-hero{padding:25px 25px 23px;gap:10px;}
  .titan-auth-brand{margin-bottom:8px;font-size:11px;}
  .titan-auth-eyebrow{font-size:8px;}
  .titan-auth-hero h2{font-size:28px;letter-spacing:-.9px;}
  .titan-auth-hero-description{font-size:12px;line-height:1.5;margin:0;}
  .titan-auth-features,.titan-auth-hero-fine{display:none;}
  .titan-auth-card{padding:25px 23px 29px;gap:17px;}
  .titan-auth-card h1{font-size:24px!important;}
}
@media(max-height:690px) and (min-width:771px){.titan-auth-screen{padding:62px 15px 16px}.titan-auth-layout{min-height:520px}.titan-auth-hero,.titan-auth-card{padding:28px}}
/* APP: light-first workstation; premium neutral surfaces, selective wine accent. */
.titan-app-shell{background:var(--t-bg)!important;color:var(--t-ink)!important;}
.titan-topbar{padding:17px 26px 15px;background:color-mix(in srgb,var(--t-paper),transparent 3%);border-bottom:1px solid var(--t-line);box-shadow:0 2px 15px #1e293b08;backdrop-filter:blur(17px);}
.titan-topbar .titan-membership-countdown{border-color:#e2bfd0;background:#fff0f5;color:#81284e;min-height:40px;justify-content:center;}
html.dark .titan-topbar .titan-membership-countdown{border-color:#723953;background:#301e34;color:#ffcbdd;}
.titan-topbar .text-\[\#11cdef\]{color:var(--t-berry)!important;}
.titan-topbar .titan-header-actions>button {transition:transform .16s,background .16s;}
.titan-topbar .titan-header-actions>button:hover{transform:translateY(-1px);}
.titan-main{padding:0 0 100px;scrollbar-width:thin;scrollbar-color:#a4afc1 transparent;}
.titan-main .max-w-7xl{max-width:1240px;}
.titan-main .argon-glass{box-shadow:0 4px 19px #17223a0a!important;border:1px solid var(--t-line)!important;backdrop-filter:none!important;}
html.dark .titan-main .argon-glass{box-shadow:0 8px 24px #0002!important;}
.titan-main .text-\[\#11cdef\]{color:var(--t-berry)!important;}
.titan-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:0 0 -1px;}
.titan-kicker{color:var(--t-berry);font-weight:900;letter-spacing:1.6px;font-size:10px;}
.titan-section-heading h1{font-size:clamp(24px,2.7vw,34px);line-height:1.25;font-weight:900;letter-spacing:-1.2px;margin-top:5px;}
.titan-section-heading p{font-size:12px;color:var(--t-muted);line-height:1.6;margin-top:4px;}
.titan-section-search{background:var(--t-paper);border:1px solid var(--t-line);padding:11px 16px;border-radius:12px;font-weight:800;font-size:12px;color:var(--t-ink);white-space:nowrap;box-shadow:0 3px 10px #22314409;}
.titan-section-search i{margin-right:6px;color:var(--t-berry);}
.titan-section-search:hover{border-color:var(--t-berry);}
.titan-risk-banner{margin-left:auto!important;margin-right:auto!important;max-width:1240px;padding:10px 14px!important;background:transparent;border:1px solid var(--t-line);border-left:3px solid #aa6b81;color:var(--t-muted);border-radius:10px!important;font-size:10px!important;}
.titan-risk-banner strong{color:var(--t-berry)!important;}
.titan-market-status{background:var(--t-paper)!important;border:1px solid var(--t-line)!important;box-shadow:0 3px 14px #16213908;}
.titan-market-status button{font-size:11px;}
.titan-stat-grid{gap:10px!important;}
.titan-stat-card{background:var(--t-paper)!important;border:1px solid var(--t-line)!important;min-width:0;padding:12px 15px!important;box-shadow:0 2px 12px #16213906;}
.titan-stat-card>div:first-child{font-size:10px!important;font-weight:750;text-transform:uppercase;letter-spacing:.35px;}
.titan-stat-card>div:last-child{font-size:clamp(12px,1.4vw,16px)!important;font-weight:900!important;line-height:1.45;overflow-wrap:anywhere;}
.titan-chart-card{padding:clamp(12px,2.3vw,25px)!important;background:var(--t-paper)!important;border:1px solid var(--t-line)!important;box-shadow:0 10px 30px #1e293b0e!important;border-radius:19px!important;}
.titan-chart-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.titan-chart-card-heading h2{font-size:18px;font-weight:900;letter-spacing:-.4px;margin-top:4px;}
.titan-live-pill{display:inline-flex;align-items:center;gap:7px;color:#18866b;background:#e8faf3;border:1px solid #b8e9d6;border-radius:100px;font-size:10px;font-weight:800;padding:7px 10px;white-space:nowrap;}
html.dark .titan-live-pill{background:#123b35;border-color:#246d60;color:#76edc7;}
.titan-live-dot{width:7px;height:7px;border-radius:100%;background:currentColor;box-shadow:0 0 0 3px #10b98120;}
.titan-intervals{justify-content:flex-start!important;gap:3px!important;padding:5px!important;border-radius:12px!important;}
.titan-intervals button{min-height:31px;flex:1 0 auto;border-radius:8px!important;font-size:11px!important;}
.titan-chart-card .titan-chart-frame{border-radius:13px;}
.titan-market-highlights{gap:10px!important;}
.titan-market-highlights>div{border-radius:15px!important;box-shadow:0 2px 12px #17213b0a!important;padding:14px!important;}
/* Secondary tools remain fully available without crowding the terminal by default. */
.titan-advanced-wrap{margin:0 auto 26px;padding:0 16px;}
.titan-advanced-summary{list-style:none;display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--t-paper);border:1px solid var(--t-line);border-radius:15px;font-size:13px;font-weight:850;color:var(--t-ink);cursor:pointer;box-shadow:0 2px 11px #14223808;}
.titan-advanced-summary::-webkit-details-marker{display:none;}
.titan-advanced-summary>span:first-child i{margin-right:8px;color:var(--t-berry);}
.titan-advanced-note{font-weight:500;font-size:11px;color:var(--t-muted);margin-left:auto;}
.titan-advanced-chevron{color:var(--t-muted);transition:transform .18s;}
.titan-advanced-wrap[open] .titan-advanced-chevron{transform:rotate(180deg);}
.titan-advanced-content{padding:18px 0 0!important;}
.titan-advanced-content>div{border:1px solid var(--t-line)!important;box-shadow:0 2px 15px #1e293b0d;}
/* Navigation stays out of the chart, including the full-screen state. */
.titan-nav-dock{position:fixed;bottom:0;left:0;right:0;z-index:110;padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));background:var(--t-paper);border-top:1px solid var(--t-line);box-shadow:0 -8px 30px #1422380a;}
.titan-nav{max-width:620px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:auto;gap:4px;}
.titan-nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;min-height:53px;border-radius:12px;background:transparent;border:1px solid transparent;color:var(--t-muted);font-size:10px;font-weight:750;cursor:pointer;transition:background .16s,color .16s,transform .16s;}
.titan-nav-item i{font-size:17px;}
.titan-nav-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;}
.titan-nav-item.is-active{background:#faedf3;color:#852e53;border-color:#efd5e2;}
html.dark .titan-nav-item.is-active{background:#332033;color:#f0b0cd;border-color:#6f3a56;}
.titan-nav-item:focus-visible,.titan-section-search:focus-visible,.titan-advanced-summary:focus-visible{outline:3px solid #cf6696;outline-offset:2px;}
@media(min-width:1100px){
  .titan-topbar{padding-left:118px;}
  .titan-main{padding-left:88px;padding-bottom:28px;}
  .titan-nav-dock{top:84px;bottom:0;right:auto;width:90px;padding:24px 7px;background:var(--t-paper);border-right:1px solid var(--t-line);border-top:0;box-shadow:3px 0 20px #14223808;}
  .titan-nav{grid-template-columns:1fr;gap:7px;}
  .titan-nav-item{min-height:72px;gap:8px;}
  .titan-nav-item i{font-size:19px;}
  .titan-nav-item span{font-size:10px;}
}
@media(max-width:1099px){.titan-main{padding-bottom:94px;}}
@media(max-width:670px){
  .titan-topbar{padding:11px 13px 10px;gap:9px;}
  .titan-topbar>div:first-child{width:100%;gap:10px!important;}
  .titan-topbar>div:first-child a{width:34px;height:34px;min-width:34px;}
  .titan-topbar>div:first-child img{width:35px;height:35px;}
  .titan-topbar>div:first-child .text-sm{font-size:12px;}
  .titan-header-actions{justify-content:space-between!important;width:100%;gap:5px;}
  .titan-header-actions>button{min-width:36px;}
  .titan-header-actions .titan-membership-countdown{margin-right:auto;min-width:94px;}
  .titan-main>.titan-risk-banner{margin:9px 12px 2px!important;}
  .titan-home{padding:13px!important;gap:13px!important;}
  .titan-section-heading{align-items:center;margin-bottom:2px;}
  .titan-section-heading h1{font-size:22px;}
  .titan-section-heading p{font-size:11px;}
  .titan-section-search{font-size:0;padding:11px 12px;}
  .titan-section-search i{font-size:16px;margin-right:0;}
  .titan-stat-grid{gap:7px!important;}
  .titan-stat-card{padding:10px 12px!important;min-height:62px;}
  .titan-chart-card{gap:11px!important;}
  .titan-chart-card-heading h2{font-size:15px;}
  .titan-intervals{overflow-x:auto;flex-wrap:nowrap!important;justify-content:flex-start!important;scrollbar-width:none;}
  .titan-intervals button{flex:0 0 auto!important;padding:7px 11px!important;font-size:10px!important;}
  .titan-intervals::-webkit-scrollbar{display:none;}
  .titan-advanced-wrap{padding:0 13px;}
  .titan-advanced-note{display:none;}
  .titan-advanced-chevron{margin-left:auto;}
  .titan-nav-dock{padding:5px 7px calc(5px + env(safe-area-inset-bottom,0px));}
  .titan-nav-item{min-height:51px;gap:4px;padding:3px;}
  .titan-nav-item i{font-size:16px;}
  .titan-nav-item span{font-size:9px;}
}
@media(prefers-reduced-motion:reduce){.titan-auth-screen *, .titan-app-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;}}

/* Subtle coin silhouettes; decorative only and outside the form's hit area. */
.titan-auth-floatcoin{position:absolute;z-index:-1;display:flex;align-items:center;justify-content:center;font-family:Inter,sans-serif;font-weight:900;border:1px solid #ffffff43;border-radius:50%;background:#ffffff10;pointer-events:none;line-height:1;}
.titan-auth-floatcoin-btc{top:18%;right:5%;width:78px;height:78px;font-size:43px;color:#ffd4b1;transform:rotate(19deg);opacity:.45;}
.titan-auth-floatcoin-eth{right:20%;bottom:12%;width:60px;height:60px;font-size:35px;color:#f0cce0;transform:rotate(-15deg);opacity:.35;}
@media(max-width:770px){.titan-auth-floatcoin-btc{top:8%;right:5%;width:58px;height:58px;font-size:30px;opacity:.25}.titan-auth-floatcoin-eth{display:none}}

/* V33: Topluluk sohbeti — mevcut terminal araçları olduğu gibi kalır. */
.titan-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
.titan-nav-chat{text-decoration:none}
.titan-header-chat{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--t-line);border-radius:12px;background:var(--t-paper);color:var(--t-text);text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}
.titan-header-chat:hover{border-color:#a44977;color:#a44977}
@media(min-width:1024px){.titan-nav{grid-template-columns:1fr}}
@media(max-width:700px){.titan-header-chat{display:none}.titan-nav-item span{font-size:8px}}


/* V34 — Timeframes remain reachable in native and CSS fullscreen (both chart tabs). */
.titan-chart-fullscreen-toolbar{display:none;flex:0 0 auto;min-width:0;padding:8px 12px 9px;z-index:12;background:#f0f4fa;border-bottom:1px solid #cbd5e1;color:#192742}
html.dark .titan-chart-fullscreen-toolbar{background:#101827;color:#eaf0fb;border-color:#334155}
.titan-chart-fullscreen-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.titan-chart-fullscreen-title{font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.titan-chart-fullscreen-exit{flex:0 0 auto;border:1px solid #cbd5e1;background:#fff;color:#1e293b;border-radius:9px;padding:7px 11px;font-size:11px;font-weight:800;cursor:pointer}
html.dark .titan-chart-fullscreen-exit{background:#1e293b;color:#e2e8f0;border-color:#475569}
.titan-chart-fullscreen-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.titan-chart-period-option{min-width:0;min-height:34px;padding:6px 3px;border:1px solid #cad5e5;border-radius:9px;background:#fff;color:#334155;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.titan-chart-period-option.is-active{background:#2563eb;color:white;border-color:#2563eb}
html.dark .titan-chart-period-option{background:#1e293b;color:#e2e8f0;border-color:#475569}
html.dark .titan-chart-period-option.is-active{background:#2563eb;color:white;border-color:#60a5fa}
.titan-chart-period-option:focus-visible,.titan-chart-fullscreen-exit:focus-visible{outline:2px solid #818cf8;outline-offset:2px}
.titan-chart-frame:fullscreen .titan-chart-fullscreen-toolbar,
.titan-chart-frame:-webkit-full-screen .titan-chart-fullscreen-toolbar,
.titan-chart-frame.titan-chart-fallback .titan-chart-fullscreen-toolbar{display:block}
/* Ensure the graph itself fills only the remaining space after the fullscreen controls. */
.titan-chart-frame:fullscreen > .w-full.h-full.flex.flex-col,
.titan-chart-frame:-webkit-full-screen > .w-full.h-full.flex.flex-col,
.titan-chart-frame.titan-chart-fallback > .w-full.h-full.flex.flex-col{flex:1 1 auto;min-height:0;height:auto}
.titan-draw-toolbar .titan-draw-magnet{border-color:#b5a2c2;background:#29213e;color:#f4def6}
.titan-draw-toolbar .titan-draw-magnet[aria-pressed="true"]{background:#b45309;color:white;border-color:#f59e0b;box-shadow:inset 0 0 0 1px #fcd34d}
.titan-draw-toolbar .titan-draw-magnet:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}
@media(min-width:650px){.titan-chart-fullscreen-periods{grid-template-columns:repeat(8,minmax(0,1fr))}.titan-chart-fullscreen-toolbar{padding:9px 16px}}
@media(max-width:390px){.titan-chart-fullscreen-toolbar{padding:6px 7px 7px}.titan-chart-fullscreen-head{margin-bottom:5px}.titan-chart-period-option{font-size:9px;min-height:30px;padding:5px 2px}}
@media(orientation:landscape) and (max-height:530px){.titan-chart-fullscreen-periods{grid-template-columns:repeat(8,minmax(0,1fr))}.titan-chart-fullscreen-head{margin-bottom:3px}.titan-chart-fullscreen-toolbar{padding:4px 8px}.titan-chart-period-option{min-height:27px;padding:3px;font-size:9px}}

/* V55: explicit magnet types and transparent chart-pattern explanations */
.titan-draw-toolbar .titan-draw-magnet-label{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:inherit}
.titan-draw-toolbar select.titan-draw-magnet{background:#302b44;color:#fff;border:1px solid #a78bfa;padding:7px 6px;border-radius:10px;max-width:162px;font-weight:700;font-size:12px}
.titan-draw-toolbar button.titan-draw-patterns[aria-pressed=true]{background:#3b3264;color:#fff;border-color:#8b5cf6}
.titan-pattern-info{width:100%;padding:6px 10px;font-size:12px;line-height:1.5;color:#c4b5fd;background:#0b1021;border:1px solid #51456d;border-radius:10px;max-height:110px;overflow-y:auto}
.titan-pattern-info p{margin:4px 0}
