/* TamerCore visual system — one responsive surface shared by web and WebView. */
:root{
  --tc-ink:#07111b;
  --tc-ink-raised:#0b1926;
  --tc-panel:#0d1d2b;
  --tc-panel-soft:#102535;
  --tc-line:rgba(152,215,233,.13);
  --tc-line-strong:rgba(91,211,235,.32);
  --tc-text:#edf8fc;
  --tc-muted:#93adbb;
  --tc-cyan:#4ed8ef;
  --tc-gold:#f1ae48;
  --tc-radius:16px;
  --tc-ease:cubic-bezier(.2,.8,.2,1);
  --tc-display:"Segoe UI Variable Display","Aptos Display","Segoe UI",sans-serif;
  --tc-body:"Segoe UI Variable Text","Inter",system-ui,-apple-system,sans-serif;
  --tc-native-safe-top:0px;
  --tc-native-safe-bottom:0px;
  --tc-safe-top:max(env(safe-area-inset-top,0px),var(--tc-native-safe-top));
  --tc-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--tc-native-safe-bottom));
}
html.tc-native-system-bars{--tc-safe-top:0px;--tc-safe-bottom:0px}

body{background:radial-gradient(1200px 760px at 72% -16%,rgba(26,92,116,.2),transparent 56%),linear-gradient(145deg,#07111b 0%,#08121d 48%,#050a11 100%)!important;color:var(--tc-text)!important;font-family:var(--tc-body)!important}
button,input,select,textarea{font:inherit}
.ui-hotfix-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tc-nav-image{display:block!important;object-fit:contain!important}
button,a,input,select,textarea{max-width:100%}
/* A connection card is the recovery surface; keep the app shell out of its way. */
body.tc-auth-open #app,body.tc-auth-open #tc-shell-nav,body.tc-auth-open #tc-home,body.tc-auth-open #tc-utility,body.tc-auth-open #tamercore-app-nav,body.tc-auth-open #tc-fullscreen-toggle{display:none!important}
:focus-visible{outline:2px solid #8cf4df!important;outline-offset:3px!important}
.server-card-delete,.server-card-pair,.server-actions button,.server-action-row button{appearance:none!important;border:1px solid rgba(241,174,72,.38)!important;border-radius:9px!important;background:rgba(241,174,72,.1)!important;color:#ffe0a7!important;font:700 11px/1.1 var(--tc-body)!important;letter-spacing:.04em!important;padding:10px 12px!important;cursor:pointer!important;box-shadow:none!important}
.server-card-delete:hover,.server-card-pair:hover,.server-actions button:hover,.server-action-row button:hover{background:rgba(241,174,72,.2)!important;border-color:#f6c36b!important;color:#fff!important}
.server-card-delete{border-color:rgba(255,105,105,.3)!important;background:rgba(255,105,105,.07)!important;color:#ffaaa6!important}
.server-card-delete:focus-visible,.server-card-pair:focus-visible,.server-actions button:focus-visible,.server-action-row button:focus-visible{outline:2px solid #8cf4df!important;outline-offset:2px!important}
@keyframes tc-brand-pulse{0%,100%{filter:drop-shadow(0 7px 18px rgba(241,174,72,.2))}50%{filter:drop-shadow(0 9px 24px rgba(78,216,239,.34))}}@keyframes tc-surface-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.tc-shell-brand img,.tc-brand-lockup,.ref-brand-lockup img{animation:tc-brand-pulse 7s ease-in-out infinite}.tc-home-hero,.auth-card,.tc-brand{animation:tc-surface-in .55s var(--tc-ease) both}

/* Shared app chrome */
#app>header{min-height:72px!important;background:linear-gradient(180deg,rgba(9,21,32,.94),rgba(7,16,26,.86))!important;border-bottom:1px solid var(--tc-line)!important;backdrop-filter:blur(18px)}
.tc-brand,.ref-top,.tc-utility-top{border-color:var(--tc-line)!important}
.tc-home-card,.server-section,.server-metric,.server-setting-row,.ref-browser,.ref-detail,.popup,.auth-card{border-color:var(--tc-line)!important;box-shadow:0 14px 38px rgba(0,0,0,.2)!important}
.tc-home-card,.server-section,.ref-browser,.ref-detail{background:linear-gradient(145deg,rgba(15,34,49,.9),rgba(8,20,31,.9))!important}
.tc-home-card:hover,.server-section:hover,.ref-row:hover{border-color:var(--tc-line-strong)!important;transform:translateY(-2px)}
.tc-home-card,.server-section,.ref-row{transition:border-color .2s var(--tc-ease),transform .2s var(--tc-ease),background .2s var(--tc-ease)}
.tc-library-card{display:flex!important;flex-direction:column!important;padding-bottom:78px!important}
.tc-library-note{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;align-items:start!important;gap:8px!important;margin-top:14px!important;color:var(--tc-muted)!important;font-size:10px!important;line-height:1.45!important}
.tc-library-note b{color:var(--tc-text)!important;font-size:10px!important;white-space:nowrap!important}
.tc-library-note span{min-width:0!important;color:var(--tc-muted)!important;overflow-wrap:anywhere!important}

/* Desktop navigation: integrated identity, generous iconography, clear rhythm. */
@media (min-width:1024px){
  #tc-shell-nav{width:272px!important;padding:18px 14px 16px!important;background:linear-gradient(180deg,#0a1723 0%,#07121c 56%,#050c13 100%)!important;border-right:1px solid var(--tc-line)!important;box-shadow:18px 0 58px rgba(0,0,0,.22)!important}
  .tc-shell-brand{height:72px!important;min-height:72px!important;padding:0 7px 13px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--tc-line)!important;justify-content:flex-start!important}
  .tc-shell-brand img{width:232px!important;height:54px!important;max-height:54px!important;filter:drop-shadow(0 7px 16px rgba(7,20,31,.42))!important}
  .tc-shell-links{gap:7px!important;padding:18px 0!important}
  .tc-shell-links button{min-height:62px!important;grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;column-gap:12px!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:14px!important;color:var(--tc-muted)!important}
  .tc-shell-links button>span{width:44px!important;height:44px!important;border-radius:13px!important;background:linear-gradient(145deg,rgba(86,203,228,.09),rgba(255,255,255,.025))!important;color:var(--tc-cyan)!important;box-shadow:inset 0 1px rgba(255,255,255,.05)!important}
  .tc-shell-links button>span .tc-nav-image,.tc-shell-links button>span img{width:28px!important;height:28px!important}
  .tc-shell-links button b{align-self:end!important;color:#e6f3f8!important;font-size:13px!important;line-height:1.1!important;font-weight:760!important;letter-spacing:.01em!important}
  .tc-shell-links button small{align-self:start!important;margin-top:3px!important;color:#7893a2!important;font-size:11px!important;line-height:1.2!important}
  .tc-shell-links button:hover{background:rgba(78,216,239,.065)!important;border-color:rgba(78,216,239,.18)!important;transform:translateX(3px)!important}
  .tc-shell-links button.active{background:linear-gradient(100deg,rgba(241,174,72,.15),rgba(78,216,239,.055))!important;border-color:rgba(241,174,72,.46)!important;box-shadow:inset 3px 0 var(--tc-gold),0 8px 24px rgba(0,0,0,.15)!important}
  .tc-shell-links button.active>span{background:linear-gradient(145deg,rgba(241,174,72,.25),rgba(78,216,239,.09))!important;color:#fff3c9!important;box-shadow:0 0 0 1px rgba(241,174,72,.19),0 7px 20px rgba(241,174,72,.08)!important}
  #tc-shell-nav .tc-shell-foot{border-top-color:var(--tc-line)!important}
  #tc-shell-nav .tc-fullscreen-toggle{min-height:48px!important;margin-bottom:9px!important;border-color:var(--tc-line)!important;background:rgba(255,255,255,.025)!important}
  #tc-shell-nav .tc-shell-account{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:70px!important;padding:12px!important;border-color:rgba(78,216,239,.24)!important;background:linear-gradient(145deg,rgba(20,59,76,.52),rgba(9,23,34,.6))!important;text-decoration:none!important}
  #tc-shell-nav .tc-shell-account>span:first-child{width:40px!important;height:40px!important;border-radius:12px!important;background:rgba(78,216,239,.11)!important;color:var(--tc-cyan)!important}
  #tc-shell-nav .tc-shell-account>span:first-child img{width:22px!important;height:22px!important}
  #tc-shell-nav .tc-shell-account-copy{display:block!important;min-width:0!important;overflow:hidden!important}
  #tc-shell-nav .tc-shell-account-copy b{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;color:var(--tc-text)!important}
  #tc-shell-nav .tc-shell-account-copy small{display:block!important;margin-top:4px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;color:var(--tc-muted)!important}
  #tc-shell-nav .tc-shell-foot>a.tc-shell-legal,#tc-shell-nav .tc-shell-foot>a.tc-shell-site{color:#88a9b8!important;font-size:9px!important}
  #tc-shell-nav .tc-shell-foot>a.tc-shell-legal:hover,#tc-shell-nav .tc-shell-foot>a.tc-shell-site:hover{color:var(--tc-cyan)!important}
}

/* Reference, card, and form surfaces share the same depth and readable rhythm. */
.ref-top,.tc-home-top,.tc-utility-top{background:rgba(8,20,31,.78)!important;backdrop-filter:blur(18px)}
.ref-heading h1,.tc-home-top h1,.tc-utility-top h1{letter-spacing:-.035em!important}
.ref-row{border-color:rgba(150,211,227,.1)!important;background:rgba(10,25,37,.58)!important}
.ref-row strong{color:var(--tc-text)!important}.ref-row small,.ref-heading p,.tc-home-card p{color:var(--tc-muted)!important}
.auth-card{border-radius:22px!important;background:linear-gradient(145deg,rgba(10,29,43,.97),rgba(6,16,27,.98)),url('/brand-surface-v2.png') center/cover!important}.auth-status{margin:12px 0 0!important;padding:10px 12px!important;border:1px solid rgba(241,174,72,.38)!important;border-radius:12px!important;background:rgba(241,174,72,.10)!important;color:#ffe0a7!important;font-size:12px!important;line-height:1.45!important}
.auth-card .tc-auth-brand img{filter:drop-shadow(0 10px 20px rgba(78,216,239,.22))!important}
.auth-card button,.popup button,.server-primary{border-radius:11px!important;background:linear-gradient(135deg,#f4bd61,#e8882d)!important;color:#17202a!important;box-shadow:0 8px 20px rgba(241,174,72,.16)!important}

/* Mobile keeps one large, thumb-first visual vocabulary. */
@media (max-width:767px){
  #app>header{min-height:60px!important}
  .tc-brand-lockup{width:178px!important;max-height:42px!important}
  .auth-card{width:min(420px,calc(100vw - 24px))!important;padding:28px 20px!important}
  #tamercore-app-nav{padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;background:rgba(7,17,27,.94)!important;border-top:1px solid var(--tc-line)!important;backdrop-filter:blur(18px)}
  #tamercore-app-nav button{min-height:58px!important;padding:7px 3px!important;border-radius:12px!important;color:var(--tc-muted)!important}
  #tamercore-app-nav button>span{width:31px!important;height:31px!important;border-radius:10px!important;background:rgba(78,216,239,.09)!important}
  #tamercore-app-nav button>span .tc-nav-image,#tamercore-app-nav button>span img{width:25px!important;height:25px!important}
  #tamercore-app-nav button b{font-size:11px!important;line-height:1.1!important;color:#dbeef4!important}
  #tamercore-app-nav button.active{background:linear-gradient(145deg,rgba(241,174,72,.18),rgba(78,216,239,.07))!important;box-shadow:inset 0 0 0 1px rgba(241,174,72,.35)!important}
  .tc-home-hero{min-height:320px!important;padding:28px 20px!important;background-position:68% center!important}
  .tc-home-card,.server-section,.ref-browser,.ref-detail{border-radius:14px!important}
  .tc-library-note{grid-template-columns:1fr!important;gap:3px!important;margin-top:12px!important;font-size:10px!important}
  .ref-row{min-height:70px!important;padding:12px!important}
  .ref-row strong{font-size:13px!important}.ref-row small{font-size:10px!important}
}

@media (max-width:680px){
  .tc-home-scroll,.tc-utility-scroll{overflow-x:hidden!important}
  .tc-home-card,.tc-workspace-row>*{min-width:0!important;max-width:100%!important}
  #tamercore-app-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  #tamercore-app-nav button{min-width:0!important;overflow-wrap:anywhere!important}
  .server-actions,.server-action-row{flex-wrap:wrap!important}
  .server-actions>*,.server-action-row>*{min-width:0!important;max-width:100%!important}
}

/* Tablet deliberately uses an icon rail; it avoids the cramped, half-sized desktop rail. */
@media (min-width:768px) and (max-width:1023px){
  #tc-shell-nav{width:80px!important;padding:16px 10px!important;background:linear-gradient(180deg,#0a1723,#06101a)!important;border-right:1px solid var(--tc-line)!important}
  .tc-shell-brand{height:62px!important;min-height:62px!important;padding:0 0 14px!important;justify-content:center!important;border-bottom:1px solid var(--tc-line)!important}
  .tc-shell-brand img{width:48px!important;height:48px!important;object-fit:cover!important;object-position:left!important;border-radius:14px!important}
  .tc-shell-links{padding:16px 0!important;gap:9px!important}.tc-shell-links button{min-height:56px!important;display:grid!important;place-items:center!important;padding:7px!important;border-radius:14px!important}.tc-shell-links button>span{width:42px!important;height:42px!important;border-radius:13px!important;background:rgba(78,216,239,.09)!important}.tc-shell-links button>span img{width:27px!important;height:27px!important}.tc-shell-links button b,.tc-shell-links button small{display:none!important}
  #tc-shell-nav .tc-shell-foot{display:none!important}#tc-home,#tc-utility,#reference-view{left:80px!important}.ref-attribution{left:80px!important}#map{left:80px!important;width:calc(100vw - 80px)!important}.leaflet-left{left:94px!important}.coord-readout{left:calc(50% + 40px)!important}
}

/* Phone first: no desktop rail appears in the touch viewport, even on large phones. */
@media (min-width:681px) and (max-width:767px){
  #tc-shell-nav{display:none!important}#tamercore-app-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important}
  #reference-view,#tc-utility,#map{left:0!important;width:100%!important}.ref-attribution{left:0!important}
}

@media (prefers-reduced-motion:reduce){
  .tc-home-card,.server-section,.ref-row,.tc-shell-links button{transition:none!important}.tc-shell-brand img,.tc-brand-lockup,.ref-brand-lockup img,.tc-home-hero,.auth-card,.tc-brand{animation:none!important}
  .tc-home-card:hover,.server-section:hover,.ref-row:hover,.tc-shell-links button:hover{transform:none!important}
}

/* Workspace and map surfaces: readability before decoration. */
.ref-heading h1,.detail-hero h2,.server-detail-head h2,.server-intro h2,.tc-home-top h1,.tc-home-hero h2{font-family:var(--tc-display)!important;color:var(--tc-text)!important}
.ref-heading small,.explore-hero small,.server-intro>span,.server-detail-head>div>small,.tc-home-eyebrow{color:var(--tc-gold)!important}
.ref-heading p,.detail-description,.server-intro p,.server-detail-head p{color:var(--tc-muted)!important;line-height:1.65!important}
.ref-search input,.server-setting-row>input,.server-setting-row>select,.tc-cloud-fields input{min-height:46px!important;border-color:var(--tc-line)!important;border-radius:12px!important;background:rgba(5,14,23,.82)!important;color:var(--tc-text)!important}
.ref-segments button,.ref-filters button,.server-tabs button,.server-actions button,.server-player-actions button{min-height:42px!important;border-color:var(--tc-line)!important;border-radius:11px!important;background:rgba(17,40,55,.72)!important;color:var(--tc-text)!important}
.ref-segments button.active,.ref-filters button.active,.server-tabs button.active{border-color:rgba(241,174,72,.5)!important;background:linear-gradient(135deg,rgba(241,174,72,.22),rgba(78,216,239,.09))!important;color:var(--tc-text)!important}
.server-live-strip,.server-gate,.server-security-note,.server-guild-cap,.server-guild-card,.server-access-card,.server-discord-share,.server-metric,.server-setting-row{border-color:var(--tc-line)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(15,34,49,.94),rgba(7,18,28,.97))!important;box-shadow:0 14px 38px rgba(0,0,0,.18)!important}
.server-primary,.server-announce button,.dialog-actions button:last-child{border:1px solid rgba(241,174,72,.55)!important;background:linear-gradient(135deg,#f6c36b,#e48b35)!important;color:#17202a!important}
.tc-cloud-panel{border-color:var(--tc-line)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(15,34,49,.94),rgba(7,18,28,.97))!important}.tc-cloud-panel-head small,.tc-cloud-user small,.tc-cloud-meta small{color:var(--tc-gold)!important}.tc-cloud-state,.tc-cloud-user,.tc-cloud-meta>div{border-color:var(--tc-line)!important;background:rgba(8,23,35,.58)!important}.tc-cloud-state>span,.tc-cloud-user>span{border-color:rgba(78,216,239,.3)!important;background:rgba(78,216,239,.1)!important;color:var(--tc-cyan)!important}.tc-cloud-buttons button{min-height:42px!important;border-color:var(--tc-line)!important;background:rgba(17,40,55,.72)!important;color:var(--tc-text)!important;font-size:11px!important}.tc-cloud-buttons button:first-child{border-color:rgba(241,174,72,.48)!important;background:rgba(241,174,72,.13)!important;color:#ffe5b1!important}
.map-time-card{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}.map-time-copy{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important}.map-time-copy strong,.map-time-copy small{display:block!important}.map-time-copy small{color:var(--tc-muted)!important;text-align:right!important}.map-time-switch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.map-time-switch button{min-height:44px!important;padding:0 10px!important;border:1px solid var(--tc-line)!important;border-radius:10px!important;background:rgba(19,47,65,.76)!important;color:var(--tc-text)!important;font-size:12px!important}.map-time-switch button.active{border-color:rgba(241,174,72,.52)!important;background:linear-gradient(135deg,rgba(241,174,72,.25),rgba(78,216,239,.13))!important;color:#ffe8b8!important}.map-region-switch button,.layer-heading-actions button,.panel-actions button,#connect-server{min-height:44px!important}
.tc-workspace-row button>span img{width:30px!important;height:30px!important;display:block!important;object-fit:contain!important}.tc-shell-account>span:first-child img{display:block!important;object-fit:contain!important}

/* The account card is deliberately anchored rather than inheriting the legacy flex footer. */
@media (min-width:681px){
  #tc-shell-nav .tc-shell-account{position:relative!important;display:block!important;min-height:70px!important;padding:12px 12px 12px 64px!important}
  #tc-shell-nav .tc-shell-account>span:first-child{position:absolute!important;left:12px!important;top:50%!important;display:grid!important;place-items:center!important;transform:translateY(-50%)!important}
  #tc-shell-nav .tc-shell-account-copy{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;overflow:visible!important}
  #tc-shell-nav .tc-shell-account-copy b,#tc-shell-nav .tc-shell-account-copy small{display:block!important;width:auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}

@media (min-width:1024px){
  #tc-home,#tc-utility,#reference-view{left:272px!important}.ref-attribution{left:272px!important}#map{left:272px!important;width:calc(100vw - 272px)!important}.leaflet-left{left:290px!important}.coord-readout{left:calc(50% + 136px)!important}
  #reference-view .ref-top{height:84px!important;padding:0 34px!important}.ref-layout{height:calc(100dvh - 84px)!important;padding:22px 28px 54px!important;grid-template-columns:minmax(360px,430px) minmax(0,1fr)!important;gap:18px!important}.ref-browser{padding:24px 20px!important}.ref-row{min-height:72px!important;padding:12px 14px!important}.ref-row strong{font-size:14px!important}.ref-row small{font-size:11px!important}
  #panel{border-color:var(--tc-line)!important;background:linear-gradient(180deg,rgba(10,25,37,.97),rgba(6,16,26,.98))!important}.panel-title h1{font-size:20px!important}.panel-title p,.hint{font-size:11px!important;color:var(--tc-muted)!important}.map-time-card,.server-connect-row,.map-3d-toggle{border-color:var(--tc-line)!important;background:rgba(12,31,44,.75)!important}.map-3d-toggle b{color:var(--tc-gold)!important}
  .tc-home-top{height:88px!important;padding:0 clamp(34px,4vw,64px)!important}.tc-home-top>div:first-child small{font-size:10px!important;color:var(--tc-cyan)!important}.tc-home-top h1{font-size:25px!important}.tc-home-scroll{height:calc(100dvh - 88px)!important;padding:42px clamp(34px,4vw,64px) 78px!important}.tc-home-hero{min-height:338px!important;padding:52px 58px!important;border-color:var(--tc-line)!important;border-radius:24px!important;background:linear-gradient(105deg,rgba(7,20,31,.96) 0%,rgba(7,20,31,.8) 47%,rgba(7,20,31,.12) 100%),url('/brand-hero-v1.png') center/cover!important}.tc-home-hero h2{font-size:clamp(46px,4.8vw,70px)!important}.tc-home-hero p{font-size:14px!important;color:var(--tc-muted)!important}.tc-home-quick button,.tc-home-card>button{min-height:46px!important;font-size:11px!important;border-color:var(--tc-line)!important}.tc-home-quick button:first-child{background:linear-gradient(135deg,#f6c36b,#e48b35)!important;color:#17202a!important}.tc-home-card{min-height:280px!important;padding:26px!important;border-color:var(--tc-line)!important;border-radius:18px!important}.tc-card-head span,.tc-card-head b{font-size:10px!important}.tc-workspace-row button{min-height:102px!important;border-color:var(--tc-line)!important;border-radius:16px!important;background:rgba(13,32,45,.76)!important}.tc-workspace-row button>span{width:46px!important;height:46px!important;border-radius:14px!important;color:var(--tc-cyan)!important;background:rgba(78,216,239,.1)!important}.tc-workspace-row b{font-size:13px!important}.tc-workspace-row small{font-size:10px!important;color:var(--tc-muted)!important}
}

@media (max-width:767px){
  #app>header{top:var(--tc-safe-top)!important;min-height:64px!important}.tc-brand{min-height:58px!important}.tc-brand-lockup{width:152px!important;max-height:42px!important}.status{font-size:11px!important}.icon-button{width:44px!important;height:44px!important}
  #panel{top:calc(76px + var(--tc-safe-top))!important;bottom:calc(82px + var(--tc-safe-bottom))!important}.leaflet-control-zoom{margin-top:calc(74px + var(--tc-safe-top))!important}.coord-readout{bottom:calc(84px + var(--tc-safe-bottom))!important}
  #reference-view{position:fixed!important;inset:0!important;left:0!important;width:100vw!important;max-width:100vw!important;overflow:hidden!important}.ref-attribution{left:0!important}#reference-view .ref-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}#reference-view .ref-top-actions{display:flex!important;flex:0 0 auto!important;margin-left:auto!important}#reference-view .ref-legal-link{display:none!important}.ref-brand-lockup{display:flex!important;flex:0 1 178px!important;min-width:0!important;overflow:visible!important}.ref-brand-lockup img{display:block!important;width:178px!important;max-width:calc(100vw - 82px)!important;height:42px!important;max-height:42px!important;object-fit:contain!important}
  #reference-view .ref-top{height:calc(68px + var(--tc-safe-top))!important;padding:var(--tc-safe-top) 16px 0!important}.ref-layout{display:block!important;width:100%!important;height:calc(100dvh - 68px - var(--tc-safe-top))!important;grid-template-columns:none!important;padding:0 0 84px!important;overflow:hidden!important}.ref-browser{box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;padding:18px 14px 96px!important;overflow:auto!important}.ref-detail{box-sizing:border-box!important;width:100%!important;max-width:100%!important}.ref-heading h1{font-size:29px!important}.ref-heading p,.detail-description{font-size:13px!important}.ref-row{min-height:72px!important;padding:12px!important}.ref-row strong{font-size:14px!important}.ref-row small{font-size:11px!important}
  .auth-card{box-sizing:border-box!important;inset:auto!important;top:50%!important;bottom:auto!important;left:12px!important;right:auto!important;width:calc(100vw - 24px)!important;max-width:none!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:28px 20px!important;overflow:auto!important;transform:translateY(-50%)!important}.auth-card form{display:flex!important;width:100%!important;gap:8px!important}.auth-card input{flex:1 1 0!important;min-width:0!important;width:0!important;max-width:100%!important}.auth-card form button{flex:0 0 96px!important;width:96px!important;min-width:0!important;padding:12px 8px!important}.auth-card .auth-status{font-size:11px!important}
  #tamercore-app-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important;padding:7px 5px calc(7px + var(--tc-safe-bottom))!important;border-radius:0!important}.tc-home-scroll{padding-bottom:104px!important}.tc-home-hero{min-height:270px!important}.tc-home-hero h2{font-size:38px!important}.tc-home-hero p{font-size:12px!important;line-height:1.6!important}.tc-workspace-row button{min-height:86px!important}.tc-workspace-row b{font-size:11px!important}.tc-workspace-row small{font-size:9px!important}.tc-cloud-panel{padding:18px!important}.tc-cloud-fields,.tc-cloud-meta{grid-template-columns:1fr!important}
}

/* Navigation artwork stands on its own; the control retains its hit area and selected state. */
#tc-shell-nav .tc-shell-links button>span,
#tamercore-app-nav button>span,
.tc-workspace-row button>span,
#tc-shell-nav .tc-shell-account>span:first-child,
.tc-utility-grid article>span{
  background:transparent!important;
  border-color:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
#tc-shell-nav .tc-shell-links button>span .tc-nav-image,
#tc-shell-nav .tc-shell-links button>span img{width:32px!important;height:32px!important}
.tc-workspace-row button>span .tc-nav-image,
.tc-workspace-row button>span img{width:34px!important;height:34px!important}
@media (max-width:767px){
  #tamercore-app-nav button>span .tc-nav-image,
  #tamercore-app-nav button>span img{width:28px!important;height:28px!important}
}


/* v1.2.0 mobile release hardening: give Command Center cards a complete phone layout. */
@media (max-width:767px){
  .tc-home-quick button{
    min-width:0!important;min-height:48px!important;padding:0 12px!important;
    border:1px solid var(--tc-line)!important;border-radius:11px!important;
    background:rgba(17,40,55,.82)!important;color:var(--tc-text)!important;
    font:750 11px/1.25 var(--tc-body)!important;text-align:center!important;
  }
  .tc-home-quick button:first-child{
    border-color:rgba(241,174,72,.58)!important;
    background:linear-gradient(135deg,#f6c36b,#e48b35)!important;color:#17202a!important;
  }
  .tc-card-head{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;gap:8px 12px!important;min-width:0!important;
  }
  .tc-card-head span,.tc-card-head b{
    display:block!important;min-width:0!important;margin:0!important;
    font:800 10px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace!important;
  }
  .tc-card-head span{color:#7896a6!important;letter-spacing:.14em!important}
  .tc-card-head b{color:#a9bbc5!important;text-align:right!important;overflow-wrap:anywhere!important}
  .tc-world-time{display:grid!important;gap:7px!important;margin:22px 0 16px!important}
  .tc-world-time strong{
    display:block!important;margin:0!important;
    font:800 43px/1 var(--tc-display)!important;letter-spacing:-.045em!important;
    color:var(--tc-text)!important;
  }
  .tc-world-time span{
    display:block!important;margin:0!important;color:var(--tc-gold)!important;
    font:800 10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace!important;
    letter-spacing:.1em!important;
  }
  .tc-night-note{
    display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;
    align-items:start!important;gap:12px!important;max-width:none!important;
    padding:13px!important;border:1px solid rgba(78,216,239,.17)!important;
    border-radius:12px!important;background:rgba(78,216,239,.055)!important;
  }
  .tc-night-note i{
    display:grid!important;place-items:center!important;width:38px!important;height:38px!important;
    border-radius:10px!important;background:rgba(241,174,72,.1)!important;
    color:#f6c36b!important;font-style:normal!important;
  }
  .tc-night-note>div{min-width:0!important}
  .tc-night-note b,.tc-night-note small{display:block!important;min-width:0!important;margin:0!important}
  .tc-night-note b{color:var(--tc-text)!important;font-size:11px!important;line-height:1.35!important}
  .tc-night-note small{margin-top:5px!important;color:var(--tc-muted)!important;font-size:10px!important;line-height:1.45!important}
  .tc-progress-ring{display:grid!important;gap:3px!important;margin-top:26px!important}
  .tc-progress-ring strong{display:block!important;margin:0!important;color:var(--tc-text)!important;font:800 43px/1 var(--tc-display)!important;letter-spacing:-.04em!important}
  .tc-progress-ring span{display:block!important;color:var(--tc-muted)!important;font-size:10px!important;line-height:1.4!important}
  .tc-progress-bar{height:6px!important;margin-top:18px!important;border-radius:999px!important;background:rgba(147,173,187,.16)!important;overflow:hidden!important}
  .tc-progress-bar i{display:block!important;width:0;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,var(--tc-gold),var(--tc-cyan))!important}
  .tc-library-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:18px!important}
  .tc-library-stats>div{min-width:0!important;padding:13px!important;border:1px solid var(--tc-line)!important;border-radius:11px!important;background:rgba(8,23,35,.58)!important}
  .tc-library-stats strong,.tc-library-stats span{display:block!important;margin:0!important}
  .tc-library-stats strong{color:var(--tc-text)!important;font-size:21px!important;line-height:1.1!important}
  .tc-library-stats span{margin-top:4px!important;color:var(--tc-muted)!important;font-size:9px!important;line-height:1.35!important}
  .tc-server-card h3{margin:22px 0 10px!important;color:var(--tc-text)!important;font:800 28px/1.08 var(--tc-display)!important;letter-spacing:-.035em!important}
  .tc-server-card p{margin:0!important;color:var(--tc-muted)!important;font-size:11px!important;line-height:1.55!important}
  .tc-home-card{padding:18px!important;gap:0!important}
  .tc-home-card>button{
    position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;
    min-height:48px!important;margin-top:auto!important;padding:0 14px!important;
    border:1px solid rgba(241,174,72,.34)!important;border-radius:11px!important;
    background:linear-gradient(135deg,rgba(241,174,72,.15),rgba(78,216,239,.08))!important;
    color:#ffe4b0!important;font:800 11px/1.25 var(--tc-body)!important;text-align:left!important;
  }
  .tc-home-card>button span{float:right!important;margin-left:12px!important}
  #reference-view .ref-detail{
    background:linear-gradient(180deg,#0b1c29 0%,#07131f 62%,#050d16 100%)!important;
    opacity:1!important;box-shadow:none!important;
  }
  #reference-view.detail-open .ref-browser{visibility:hidden!important;pointer-events:none!important}
}

/* v1.2.0 narrow-phone Command Center header: preserve title and controls without collisions. */
@media (max-width:390px){
  .tc-home-top{padding-left:12px!important;padding-right:12px!important;gap:8px!important}
  .tc-home-top .tc-surface-title{flex:1 1 auto!important;gap:8px!important;overflow:hidden!important}
  .tc-home-top .tc-surface-brand{width:min(142px,38vw)!important;max-height:38px!important}
  .tc-home-top .tc-surface-title>div{flex:1 1 auto!important;min-width:0!important}
  .tc-home-top .tc-surface-title small{display:none!important}
  .tc-home-top .tc-surface-title h1{max-width:88px!important;margin:0!important;font-size:16px!important;line-height:1.04!important;letter-spacing:-.35px!important}
  .tc-home-top .tc-home-actions{flex:0 0 auto!important;min-width:0!important}
  .tc-home-top .tc-home-actions .tc-fullscreen-toggle{width:38px!important;min-width:38px!important;height:38px!important}
}
