/* Edit profile (ttc-profile-edit.js): section menu, editor and live preview. */
#ttc-feed-app .tpe-layout{display:block;padding-bottom:96px}
#ttc-feed-app main.tpe-main{padding:0;margin:0;max-width:none;display:block}
.tpe-head{display:flex;align-items:center;gap:14px;margin:4px 0 20px}
#ttc-feed-app .tpe-h1{margin:0;font:700 30px/1.15 'Space Grotesk',Inter,sans-serif;color:#E8F1F3;letter-spacing:0}
#ttc-feed-app .tpe-sub{margin:4px 0 0;font-size:14px;color:#8FA6AD}
.tpe-head-actions{margin-left:auto;display:flex;gap:8px}
.tpe-head-actions .ta-btn{margin:0}
.tpe-back{display:none!important}
.tpe-grid{display:grid;grid-template-columns:232px minmax(0,1fr) 300px;gap:24px;align-items:start}

/* Section menu */
.tpe-nav{position:sticky;top:84px;display:flex;flex-direction:column;gap:2px}
.tpe-nav a{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;color:#C9D8DC!important;text-decoration:none}
.tpe-nav a:hover{background:#111D22}
.tpe-nav a[aria-current]{background:#15242A;color:#E8F1F3!important}
.tpe-nav a[aria-current] .tpe-nav-ic{background:rgba(63,210,232,.16);color:#3FD2E8}
.tpe-nav-ic{width:36px;height:36px;border-radius:10px;background:#111D22;display:flex;align-items:center;justify-content:center;flex:none;color:#B9CCD1}
.tpe-nav-ic .tf-ic{width:18px;height:18px}
.tpe-nav-text{display:flex;flex-direction:column;min-width:0}
.tpe-nav-text strong{font-size:14px;font-weight:600}
.tpe-nav-text small,.tpe-nav-go{display:none}

/* Editor column */
.tpe-content{display:flex;flex-direction:column;gap:16px;min-width:0}
.tpe-section{display:flex;flex-direction:column;gap:16px}
.tpe-card{padding:20px;display:flex;flex-direction:column;gap:16px}
#ttc-feed-app .tpe-card-head h2{margin:0;font:700 18px 'Space Grotesk',Inter,sans-serif;color:#E8F1F3}
#ttc-feed-app .tpe-card-head p{margin:4px 0 0;font-size:13px;color:#8FA6AD;line-height:1.45}
#ttc-feed-app .tpe-field{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
.tpe-label{font-size:13px;font-weight:600;color:#B9CCD1}
#ttc-feed-app .tpe-hint{font-size:12px;color:#7F979E;margin:0;line-height:1.4}
.tpe-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tpe-stack{display:flex;flex-direction:column;gap:8px}
#ttc-feed-app .tpe-card input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),
#ttc-feed-app .tpe-card select,#ttc-feed-app .tpe-card textarea{width:100%;box-sizing:border-box;min-height:44px;border-radius:12px;border:1px solid #23363D;background:#0E191D;color:#E8F1F3;font:15px Inter,sans-serif;padding:0 12px;margin:0;color-scheme:dark}
#ttc-feed-app .tpe-card textarea{padding:10px 12px;min-height:96px;line-height:1.45}
#ttc-feed-app .tpe-card input:focus,#ttc-feed-app .tpe-card select:focus,#ttc-feed-app .tpe-card textarea:focus{outline:2px solid #3FD2E8;outline-offset:1px;border-color:transparent}
.tpe-with-count{position:relative}
.tpe-count{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:11px;color:#6F878E;pointer-events:none}
.tpe-with-count input{padding-right:64px!important}
.tpe-save{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.tpe-save .ta-btn{margin:0}
.tpe-status{font-size:13px;color:#6FDCA0;font-weight:600}
.tpe-status.bad{color:#F28B82}
.tpe-section>.tpe-save{padding:0 4px}

/* Chips and picks */
.tpe-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:44px;box-sizing:border-box;padding:6px;border-radius:12px;border:1px solid #23363D;background:#0E191D;cursor:text}
#ttc-feed-app .tpe-chips input{flex:1;min-width:140px;border:0!important;background:transparent!important;min-height:30px!important;padding:0 6px!important;outline:0!important}
.tpe-chip{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 4px 0 10px;border-radius:15px;background:#15242A;border:1px solid #23363D;font-size:13px;color:#E8F1F3}
#ttc-feed-app .tpe-chip button{width:22px;height:22px;border-radius:11px;border:0;background:transparent;color:#8FA6AD;display:flex;align-items:center;justify-content:center;padding:0;margin:0;cursor:pointer}
.tpe-chip button:hover{background:#23363D;color:#E8F1F3}
.tpe-chip .tf-ic{width:12px;height:12px}
.tpe-picks{display:flex;flex-wrap:wrap;gap:8px}
#ttc-feed-app .tpe-pick{height:36px;padding:0 14px;border-radius:18px;border:1px solid #23363D;background:transparent;color:#C9D8DC;font-size:13px;font-weight:500;cursor:pointer;margin:0}
#ttc-feed-app .tpe-pick:hover{border-color:#2F4A52;color:#E8F1F3}
#ttc-feed-app .tpe-pick[aria-pressed="true"]{background:rgba(63,210,232,.14);border-color:#3FD2E8;color:#3FD2E8;font-weight:600}

/* Switch */
.tpe-routes{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:12px;background:#0F2A30;border:1px solid #1F4A52}
#ttc-feed-app .tpe-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:600;color:#E8F1F3;margin:0}
.tpe-switch input{position:absolute;opacity:0;width:1px;height:1px}
.tpe-track{width:40px;height:24px;border-radius:12px;background:#23363D;position:relative;flex:none;transition:background .15s}
.tpe-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#E8F1F3;transition:transform .15s}
.tpe-switch input:checked+.tpe-track{background:#3FD2E8}
.tpe-switch input:checked+.tpe-track::after{transform:translateX(16px);background:#062026}
.tpe-switch input:focus-visible+.tpe-track{outline:2px solid #3FD2E8;outline-offset:2px}

/* Certifications */
.tpe-certs{display:flex;flex-direction:column;gap:8px}
.tpe-cert{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) 150px auto 36px;gap:8px;align-items:center}
.tpe-cert-status{font-size:12px;font-weight:600;white-space:nowrap;padding:4px 8px;border-radius:6px}
.tpe-cert-status.ok{color:#6FDCA0;background:rgba(86,204,140,.12)}
.tpe-cert-status.warn{color:#F2B26B;background:rgba(242,178,107,.14)}
.tpe-cert-status.bad{color:#F28B82;background:rgba(242,139,130,.14)}
.tpe-cert-status.none{color:#8FA6AD;background:#15242A}
#ttc-feed-app .tpe-x{width:36px;height:36px;border-radius:10px;border:0;background:transparent;color:#8FA6AD;display:flex;align-items:center;justify-content:center;padding:0;margin:0;cursor:pointer}
.tpe-x:hover{background:#15242A;color:#E8F1F3}
.tpe-x .tf-ic{width:16px;height:16px}
.tpe-add{align-self:flex-start;margin:0!important}

/* Featured posts and achievements */
.tpe-fposts{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto;padding-right:2px}
#ttc-feed-app .tpe-fpost{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:12px;border:1px solid #1E2F36;background:#0E191D;color:#E8F1F3;cursor:pointer;margin:0;font:inherit}
#ttc-feed-app .tpe-fpost[aria-pressed="true"]{border-color:#3FD2E8;background:#0F2A30}
.tpe-fpost-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tpe-fpost-text strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tpe-fpost-text small{font-size:12px;color:#7F979E}
.tpe-tick{width:24px;height:24px;border-radius:50%;border:1.5px solid #2F4A52;display:flex;align-items:center;justify-content:center;flex:none;color:transparent}
.tpe-tick .tf-ic{width:14px;height:14px}
[aria-pressed="true"] .tpe-tick{background:#3FD2E8;border-color:#3FD2E8;color:#062026}
.tpe-awards{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
#ttc-feed-app .tpe-award{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border-radius:12px;border:1px solid #1E2F36;background:#0E191D;color:#C9D8DC;font-size:12px;font-weight:600;cursor:pointer;margin:0;text-align:center}
.tpe-award img{width:48px;height:48px;object-fit:contain}
#ttc-feed-app .tpe-award[aria-pressed="true"]{border-color:#3FD2E8;background:#0F2A30;color:#E8F1F3}

/* Links and privacy */
.tpe-linkrow{display:flex;gap:8px;align-items:center}
.tpe-linkrow .ta-btn{margin:0;flex:none}
.tpe-prow{display:flex;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #1E2F36}
.tpe-card-head+.tpe-prow{border-top:0;padding-top:0}
.tpe-prow>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tpe-prow strong{font-size:14px;color:#E8F1F3}
.tpe-prow small{font-size:12px;color:#8FA6AD}
#ttc-feed-app .tpe-prow select{width:190px;flex:none}
.tpe-admin-note{display:flex;align-items:center;gap:8px;padding-top:4px}
.tpe-admin-note .tf-ic{width:16px;height:16px;flex:none;color:#3FD2E8}
#ttc-feed-app .tpe-inline{background:none;border:0;padding:0;margin:0;color:#3FD2E8;font:inherit;cursor:pointer}
.tpe-viewas{display:flex;flex-wrap:wrap;gap:8px}
.tpe-viewas .ta-btn{margin:0}

/* Strength meter */
.tpe-meter{padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.tpe-meter-top{display:flex;align-items:center;gap:12px}
.tpe-meter-top>div{display:flex;flex-direction:column;gap:2px}
.tpe-meter-top strong{font-size:15px;color:#E8F1F3}
.tpe-meter-top span{font-size:13px;color:#8FA6AD}
.tpe-meter-top b{margin-left:auto;font:700 24px 'Space Grotesk',Inter,sans-serif;color:#3FD2E8}
.tpe-bar{height:8px;border-radius:4px;background:#15242A;overflow:hidden}
.tpe-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#3FD2E8,#6FDCA0)}
.tpe-next{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:#8FA6AD}
#ttc-feed-app .tpe-next button{height:30px;padding:0 12px;border-radius:15px;border:1px dashed #2F4A52;background:transparent;color:#C9D8DC;font-size:12px;cursor:pointer;margin:0}
.tpe-next button:hover{border-color:#3FD2E8;color:#3FD2E8}
#ttc-feed-app .tpe-allstar{margin:0;font-size:13px;color:#6FDCA0}

/* Live preview */
.tpe-side{position:sticky;top:84px}
.tpe-pv{overflow:hidden}
.tpe-pv-cover{height:96px;background:linear-gradient(120deg,#123A42,#0F2A30 60%,#15242A)}
.tpe-pv-cover img{width:100%;height:100%;object-fit:cover;display:block}
.tpe-pv-body{padding:0 18px 16px;display:flex;flex-direction:column;gap:6px}
.tpe-pv-av{width:80px;height:80px;border-radius:50%;background:#111D22;padding:4px;margin-top:-40px;display:flex;position:relative}
.tpe-pv-av .tf-av{width:100%!important;height:100%!important;font-size:24px!important}
.tpe-pv-name{font:700 19px/1.2 'Space Grotesk',Inter,sans-serif;color:#E8F1F3;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:4px}
.tpe-pv-pron{font:500 13px Inter,sans-serif;color:#8FA6AD}
#ttc-feed-app .tpe-pv-head{margin:0;font-size:14px;color:#C9D8DC;line-height:1.4}
#ttc-feed-app .tpe-pv-head.muted{color:#5F777E;font-style:italic}
.tpe-pv-facts{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px;color:#B9CCD1}
.tpe-pv-facts li{display:flex;align-items:center;gap:8px}
.tpe-pv-facts .tf-ic{width:15px;height:15px;color:#7F979E;flex:none}
.tpe-pv-facts li.go{color:#6FDCA0;font-weight:600}
.tpe-pv-facts li.go .tf-ic{color:#6FDCA0}
.tpe-pv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.tpe-pv-chips span{font-size:12px;padding:4px 10px;border-radius:12px;background:#15242A;color:#C9D8DC}
#ttc-feed-app .tpe-pv-int{margin:2px 0 0;font-size:12px;color:#8FA6AD}
.tpe-pv-foot{display:flex;justify-content:space-between;gap:8px;padding:12px 18px;border-top:1px solid #1E2F36;font-size:13px;font-weight:600}
.tpe-pv-foot a{display:inline-flex;align-items:center;gap:6px;color:#3FD2E8!important}
.tpe-pv-foot .tf-ic{width:15px;height:15px}

/* The existing editors placed inside the new cards */
#ttc-feed-app .tpe-legacy{background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;width:auto;max-width:none}
#ttc-feed-app .tpe-legacy>h2,#ttc-feed-app .tpe-legacy>h3,#ttc-feed-app .tpe-legacy.about-card>dl,#ttc-feed-app .tpe-legacy.about-card>h2{display:none}
#ttc-feed-app .tpe-legacy label{color:#B9CCD1;font-size:13px}
#ttc-feed-app .tpe-legacy button:not(.tpe-x){min-height:38px;padding:0 14px;border-radius:12px;border:1px solid #23363D;background:#15242A;color:#E8F1F3;font:600 13px Inter,sans-serif;cursor:pointer}
#ttc-feed-app .tpe-legacy button:not(.tpe-x):hover{background:#1E2F36}
#ttc-feed-app .tpe-legacy button.primary,#ttc-feed-app .tpe-legacy button[type=submit]{background:#3FD2E8;border-color:#3FD2E8;color:#062026}
#ttc-feed-app .tpe-legacy input[type=range]{accent-color:#3FD2E8}
#ttc-feed-app .tpe-legacy form>button,#ttc-feed-app .tpe-legacy .community-form>button{align-self:flex-end;justify-self:end;width:auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px}
#ttc-feed-app .tpe-legacy input[type=file]{color:#B9CCD1;font-size:14px}
#ttc-feed-app .tpe-legacy input[type=file]::file-selector-button{height:36px;margin-right:12px;padding:0 14px;border-radius:10px;border:1px solid #23363D;background:#15242A;color:#E8F1F3;font:600 13px Inter,sans-serif;cursor:pointer}
#ttc-feed-app .tpe-legacy a{color:#3FD2E8}

@media(max-width:1180px){
  .tpe-grid{grid-template-columns:220px minmax(0,1fr)}
  .tpe-side{display:none}
}
/* Phone: a list of sections, each opening full screen. */
@media(max-width:759px){
  #ttc-feed-app .tpe-layout{padding:0 16px 96px!important}
  .tpe-app .tf-app-header{display:none!important}
  .tpe-head{margin:14px 0 14px;gap:6px}
  #ttc-feed-app .tpe-h1{font-size:26px}
  .tpe-main:not(.tpe-list-mode) .tpe-back{display:flex!important;margin-left:-10px}
  .tpe-main:not(.tpe-list-mode) .tpe-sub{display:none}
  .tpe-head-actions .ta-btn{height:38px;padding:0 12px;font-size:13px!important}
  .tpe-grid{display:flex;flex-direction:column;gap:14px}
  .tpe-grid>*,.tpe-nav a{min-width:0;width:100%;box-sizing:border-box}
  .tpe-sub{display:none}
  .tpe-main:not(.tpe-list-mode) .tpe-nav,.tpe-main:not(.tpe-list-mode) .tpe-meter-host{display:none}
  .tpe-main.tpe-list-mode .tpe-content{order:-1}
  .tpe-nav{position:static;gap:8px}
  .tpe-nav a{padding:12px 14px;border-radius:16px;background:#111D22;border:1px solid #1E2F36}
  .tpe-nav a[aria-current]{background:#111D22}
  .tpe-nav-text small{display:block;font-size:12px;color:#8FA6AD;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tpe-nav-go{display:flex;margin-left:auto;color:#5F777E}
  .tpe-nav-go .tf-ic{width:18px;height:18px}
  .tpe-nav-text{flex:1}
  .tpe-card{padding:16px}
  .tpe-two{grid-template-columns:1fr}
  .tpe-cert{grid-template-columns:minmax(0,1fr) 36px;grid-template-areas:"name x" "issuer issuer" "date date" "status status";padding-bottom:10px;border-bottom:1px solid #1E2F36}
  .tpe-cert>.tpe-cert-name{grid-area:name}
  .tpe-cert>input:nth-of-type(1){grid-area:issuer}
  .tpe-cert>input:nth-of-type(2){grid-area:date}
  .tpe-cert>.tpe-cert-status{grid-area:status;justify-self:start}
  .tpe-cert>.tpe-x{grid-area:x}
  .tpe-prow{flex-direction:column;align-items:stretch;gap:8px}
  #ttc-feed-app .tpe-prow select{width:100%}
  .tpe-linkrow{flex-wrap:wrap}
  .tpe-linkrow input{flex:1 1 100%}
  .tpe-save{position:sticky;bottom:84px;z-index:3;padding:10px 0!important;background:linear-gradient(transparent,#0B1418 30%)}
}

/* City suggestions under Based in and Hometown (citySuggest) */
.tpe-field{position:relative}
.tpe-suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;padding:6px;border-radius:12px;background:#15242A;border:1px solid #23363D;box-shadow:0 14px 36px #000a}
.tpe-suggest-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;font-size:14px;color:#E8F1F3;cursor:pointer}
.tpe-suggest-opt .tf-ic{width:16px;height:16px;color:#8FA6AD;flex:none}
.tpe-suggest-opt:hover,.tpe-suggest-opt[aria-selected=true]{background:#1E2F36}
.tpe-home{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}
/* Suggestions under chip fields (Interests, Languages) */
.tpe-chips-wrap{position:relative}
.tpe-suggest-head{padding:6px 12px 4px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8FA6AD}
.tpe-chip-suggest{max-height:280px;overflow-y:auto}

/* Status picker */
.tpe-status{display:flex;flex-wrap:wrap;gap:8px}
.tpe-status-opt{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:19px;border:1px solid #23363D;background:#0E191D;color:#C9D8DC;font:600 13px Inter,sans-serif;cursor:pointer;margin:0}
.tpe-status-opt .tf-ic{width:16px;height:16px}
.tpe-status-opt.office{border-style:dashed}
.tpe-status-opt[aria-checked=true]{border-style:solid}
.tpe-status-opt.tone-green[aria-checked=true]{background:#56CC8C22;border-color:#6FDCA0;color:#6FDCA0}
.tpe-status-opt.tone-cyan[aria-checked=true]{background:#3FD2E822;border-color:#3FD2E8;color:#3FD2E8}
.tpe-status-opt.tone-purple[aria-checked=true]{background:#C9A6F522;border-color:#C9A6F5;color:#C9A6F5}
.tpe-status-opt.tone-amber[aria-checked=true]{background:#F5C97F22;border-color:#F5C97F;color:#F5C97F}
.tpe-status-opt.tone-gray[aria-checked=true]{background:#8FA6AD22;border-color:#8FA6AD;color:#E8F1F3}
/* Certs: a wider name box with suggestions */
.tpe-cert-name{position:relative;min-width:0}
.tpe-cert-name input{width:100%}
.tpe-suggest-sub{color:#8FA6AD}
/* Vehicle: year, make, model */
.tpe-vehicle{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px}
.tpe-vfield{position:relative;min-width:0}
.tpe-vfield input{width:100%}
@media(max-width:759px){.tpe-vehicle{grid-template-columns:1fr 1fr}.tpe-vehicle select{grid-column:1/-1}}
.tpe-cert-name .tpe-suggest{right:auto;min-width:min(340px,90vw)}

/* Showcase and the other older editors: tidy, fitted layout on every screen */
#ttc-feed-app .tpe-legacy{display:flex!important;flex-direction:column;gap:12px;min-width:0}
#ttc-feed-app .tpe-legacy *{min-width:0;max-width:100%;box-sizing:border-box}
#ttc-feed-app .tpe-legacy p{font-size:13.5px;line-height:1.45}
#ttc-feed-app .tpe-legacy label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:12.5px!important;letter-spacing:0;color:#8FA6AD!important;font-weight:600}
#ttc-feed-app .tpe-legacy input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),#ttc-feed-app .tpe-legacy select{width:100%;height:44px;border-radius:12px;border:1px solid #23363D;background:#0B161A;color:#E8F1F3;padding:0 12px;font:15px Inter,sans-serif;outline:0;margin:0}
#ttc-feed-app .tpe-legacy input:focus,#ttc-feed-app .tpe-legacy select:focus{border-color:#3FD2E8;box-shadow:0 0 0 3px #3FD2E822}
@media(max-width:759px){#ttc-feed-app .tpe-legacy input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),#ttc-feed-app .tpe-legacy select{font-size:16px}}
#ttc-feed-app .tpe-legacy button.ghost-danger{background:none;border-color:transparent;color:#F28B82}
#ttc-feed-app .tpe-legacy button.ghost-danger:hover{background:#2A1414}
/* Profile anthem */
#ttc-feed-app .anthem-tip{margin:0;font-size:13px;color:#8FA6AD}
#ttc-feed-app .anthem-tip summary{cursor:pointer;color:#3FD2E8;font-weight:600;font-size:13px;list-style:none}
#ttc-feed-app .anthem-tip summary::-webkit-details-marker{display:none}
#ttc-feed-app .anthem-tip summary::before{content:"ⓘ ";}
#ttc-feed-app .anthem-tip p{margin:8px 0 0;color:#8FA6AD;font-size:13px}
#ttc-feed-app .anthem-search-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:0;width:100%}
#ttc-feed-app .anthem-search-form button{height:44px;margin:0;align-self:end}
#ttc-feed-app .anthem-own{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#ttc-feed-app .anthem-own button{min-height:34px!important;font-size:12.5px!important;border-radius:17px!important}
#ttc-feed-app .anthem-results{display:flex;flex-direction:column;gap:6px}
#ttc-feed-app .anthem-results button{justify-content:flex-start;text-align:left;white-space:normal;height:auto;padding:10px 12px}
#ttc-feed-app .tpe-legacy small[role=status]{font-size:12.5px;color:#C9D8DC}
#ttc-feed-app .tpe-legacy small[role=status]:empty{display:none}
#ttc-feed-app .anthem-names{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
#ttc-feed-app .anthem-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#ttc-feed-app .tpe-legacy .ts-card{margin:0}
@media(max-width:600px){#ttc-feed-app .anthem-names{grid-template-columns:1fr}}
/* Top 8 */
#ttc-feed-app .top8-edit{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
#ttc-feed-app .top8-row{display:grid;grid-template-columns:22px 32px minmax(0,1fr) repeat(3,34px);align-items:center;gap:8px;padding:6px 8px;border-radius:12px;background:#0E191D;border:1px solid #1A2A30}
#ttc-feed-app .top8-num{font:700 13px Inter,sans-serif;color:#8FA6AD;text-align:center}
#ttc-feed-app .top8-name{font:600 14px Inter,sans-serif;color:#E8F1F3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ttc-feed-app .tpe-legacy .top8-ib{min-height:34px!important;width:34px;padding:0!important;border-radius:10px!important;font-size:16px!important;display:flex;align-items:center;justify-content:center}
#ttc-feed-app .tpe-legacy .top8-ib:disabled{opacity:.3}
#ttc-feed-app .top8-empty{color:#8FA6AD;font-size:13px;padding:6px 2px}
#ttc-feed-app .tpe-legacy button:not(.tpe-x){display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
#ttc-feed-app .tpe-legacy>button.primary{align-self:flex-start;min-width:140px}
/* Driving and trailering (Work) */
.tpe-driver{display:flex;flex-direction:column;gap:12px}
.tpe-check{display:flex;align-items:center;gap:10px;font-size:14px;color:#E8F1F3;cursor:pointer}
.tpe-check input{width:18px;height:18px;accent-color:#3FD2E8;margin:0}
.tpe-driver select:disabled,.tpe-driver input:disabled{opacity:.75}
.tpe-driver-new{margin:0 0 4px!important;padding:10px 12px;border-radius:10px;background:#3FD2E81A;color:#7FE3F2;font-size:13px;font-weight:600}
.tpe-resume{display:flex;flex-direction:column;gap:10px}
.tpe-resume-file{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #23363D;border-radius:12px;background:#0E191D}
.tpe-resume-file svg{width:22px;height:22px;color:#3FD2E8;flex-shrink:0}
.tpe-resume-file>span{display:flex;flex-direction:column;min-width:0}
.tpe-resume-file a{font-weight:600;color:#E8F1F3!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tpe-resume-file small{font-size:12px;color:#8FA6AD}
.tpe-resume-tools{display:flex;align-items:center;gap:14px}
/* The cover editor's photo must keep its real size (it's bigger than the frame when zoomed), or the preview gets squashed
   and the saved cover looks different on the profile. */
#ttc-feed-app .tpe-legacy .cover-frame .social-cover-photo{max-width:none!important;max-height:none!important}
