/* TTC profile from the approved mockups (Profile desktop and phone). Uses the shell in ttc-feed.css and ttc-app.css. */
.tp-main{gap:20px}
.tp-dim{color:#8FA6AD}
.tp-label{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8FA6AD}
.tp-label.sm{font-size:11px}
.tp-label.accent{color:#3FD2E8}
.tp-head{display:flex;align-items:center;gap:8px}
.tp-head>:last-child:not(:first-child){margin-left:auto}
.tp-aside{font-size:12px;color:#8FA6AD;margin-left:0!important}
.tp-head .tp-aside+*{margin-left:auto}
.tp-edit{border:0;background:none;padding:0;color:#3FD2E8!important;font-size:13px!important;font-weight:600!important}
.tp-link{font-size:14px;font-weight:600}
.tp-section{padding:18px}

/* Header card */
.tp-card{overflow:hidden}
.tp-cover{height:150px;background:#123A42;position:relative;overflow:hidden}
.tp-cover svg{width:100%;height:100%;display:block}
.tp-cover img{width:100%;height:100%;object-fit:cover;display:block}
/* Only the profile picture overlaps the cover. The name, details and buttons sit below the cover so they stay readable on any photo. */
.tp-id{padding:0 24px 22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:20px;align-items:start;margin-top:-56px;position:relative}
.tp-avatar{width:120px;height:120px;border-radius:50%;background:#111D22;padding:5px;display:flex;position:relative;z-index:1;flex:none}
.tp-avatar .tf-av{width:100%!important;height:100%!important;font-size:36px!important}
.tp-who{min-width:0;padding-top:68px}
#ttc-feed-app .tp-name{margin:0;font:700 30px/1.2 'Space Grotesk',Inter,sans-serif;color:#E8F1F3;letter-spacing:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#ttc-feed-app .tp-name .tf-pres{font:600 12px Inter,sans-serif;margin-left:0}
.tp-role{font-size:14px;color:#8FA6AD;margin-top:4px}
.tp-stats{display:flex;gap:18px;margin-top:10px;font-size:14px;flex-wrap:wrap}
.tp-stats a{color:#E8F1F3!important}
.tp-stats a:hover strong{color:#3FD2E8}
.tp-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:72px;align-items:center;justify-content:flex-end}
@media(max-width:1179px){.tp-id{grid-template-columns:auto minmax(0,1fr)}.tp-actions{grid-column:1/-1;padding-top:16px;justify-content:flex-start}}
.tp-actions .ta-btn.on{border-color:#2F4A52}
.tp-more{position:relative}
.tp-more>summary.ta-btn{width:44px;padding:0;justify-content:center;list-style:none;cursor:pointer}
.tp-more>summary::-webkit-details-marker{display:none}
.tp-more .tf-menu{min-width:220px}
.tp-extras{padding:0 24px 20px;display:flex;gap:12px;flex-wrap:wrap;align-items:stretch}
.tp-anthem{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:14px;background:#0E191D;border:1px solid #1E2F36;min-width:0}
.tp-play{width:40px;height:40px;border-radius:50%;border:0;background:#3FD2E8;color:#062026!important;display:flex;align-items:center;justify-content:center;flex:none;padding:0}
.tp-play .tf-ic{width:18px;height:18px}
.tp-play.sm{width:26px;height:26px}
.tp-play.sm .tf-ic{width:13px;height:13px}
.tp-anthem-title{display:block;font-size:14px;font-weight:600;margin-top:2px;color:#E8F1F3!important}
.tp-note{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:14px;background:#0F2A30;border:1px solid #1F4A52;font-size:14px;max-width:420px;color:#E8F1F3}
.tp-bio{flex:1 1 100%;font-size:14px;line-height:1.5;color:#C9D8DC!important;white-space:pre-wrap}
.tp-tabs{display:flex;gap:4px;padding:0 16px;border-top:1px solid #1E2F36}
.tp-tabs button{height:48px;padding:0 14px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8FA6AD!important;font-weight:500;font-size:15px!important}
.tp-tabs button[aria-current]{color:#E8F1F3!important;font-weight:600;border-bottom-color:#3FD2E8}

/* Columns */
.tp-split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.tp-col{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.tp-col.wide{flex:1.4 1 360px;gap:16px}
.tp-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tp-chip{font-size:13px;color:#C9D8DC;background:#15242A;border-radius:8px;padding:6px 10px}
.tp-dl{margin-top:16px!important}
.tp-empty{margin-top:10px!important;font-size:14px}
.tp-top8{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;margin-top:14px}
.tp-t8{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#B9CCD1!important;min-width:0}
.tp-t8 span:last-child:not(.tf-av):not(.tp-emp){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tp-emp{width:56px;height:56px;border-radius:50%;border:1.5px dashed #2A3F46;display:block}
.tp-count{font-size:13px;color:#C9D8DC}
.tp-bar{height:8px;border-radius:4px;background:#23363D;margin-top:12px;overflow:hidden}
.tp-bar-fill{height:8px;border-radius:4px;background:#3FD2E8}
.tp-badges{display:flex;gap:10px;margin-top:14px;align-items:center}
.tp-badge{width:48px;height:48px;border-radius:14px;background:#15242A;border:1px solid #1F4A52;display:flex;align-items:center;justify-content:center;overflow:hidden}
.tp-badge img{width:38px;height:38px;object-fit:contain}
.tp-badges .tp-link{margin-left:4px}
.tp-composer{padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.tp-composer-row{display:flex;gap:12px;align-items:center}
.tp-composer .tf-pill{height:44px;font-size:14px;padding:0 16px}
.tp-composer-foot{display:flex;justify-content:flex-end;gap:8px}
.tp-composer-foot:has(> [hidden]:only-child),.tp-composer-foot:not(:has(> :not([hidden]))){display:none}
.tp-list{display:flex;flex-direction:column;gap:16px}
.tp-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-radius:12px;overflow:hidden}
.tp-photos a{display:block;aspect-ratio:1;background:#0E191D}
.tp-photos img{width:100%;height:100%;object-fit:cover;display:block}
.tp-award-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px}
.tp-award{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:12px;border-radius:12px;background:#0E191D;font-size:12px}
.tp-award img{width:56px;height:56px;object-fit:contain}
.tp-award strong{font-size:13px}
.tp-loading{padding:16px 0}
.tp-field-dialog form{max-height:80vh;overflow:auto}
#ttc-feed-app .tp-checks{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#ttc-feed-app .tp-checks legend{font-size:13px;color:#8FA6AD;margin-bottom:6px;padding:0}

@media(max-width:1099px){.tp-split{flex-direction:column;align-items:stretch}.tp-col,.tp-col.wide{flex-basis:auto}}

/* Phone */
@media(max-width:759px){
  .tp-app .ta-phone.tp-phone{padding:0!important;gap:0}
  .tp-pcover{position:relative}
  .tp-pcover .tp-cover{height:110px}
  .tp-back{position:absolute;top:10px;left:8px;width:44px;height:44px;border-radius:22px;border:0;background:rgba(11,20,24,.6);display:flex;align-items:center;justify-content:center;color:#E8F1F3!important;padding:0}
  .tp-back .tf-ic{width:22px;height:22px}
  .tp-ptools{position:absolute;top:10px;right:8px;display:flex;align-items:center;gap:8px}
  .tp-pmore{position:static}
  .tp-pchat{position:relative;width:44px!important;height:44px!important;border-radius:22px!important;background:rgba(11,20,24,.6)!important;color:#E8F1F3!important;display:flex!important;align-items:center;justify-content:center}
  .tp-pchat .tf-ic{width:22px;height:22px}
  .tp-pchat.flat{margin-left:auto;background:#1A2B31!important}
  .tp-pchat .tf-badge{top:-3px;right:-4px;background:#F23A55;color:#fff;border:2px solid #0B1418;height:20px;min-width:20px;border-radius:10px}
  .tp-pmore summary.ta-btn{border-radius:22px;background:rgba(11,20,24,.6);border:0}
  .tp-pid{padding:0 16px;margin-top:-44px;display:flex;align-items:flex-end;gap:12px;position:relative}
  .tp-avatar.sm{width:92px;height:92px;padding:4px;background:#0B1418}
  .tp-avatar.sm .tf-av{font-size:28px!important}
  .tp-anthem-pill{margin-left:auto;height:36px;padding:0 12px 0 6px;border-radius:18px;border:1px solid #1E2F36;background:#111D22;color:#E8F1F3!important;font-size:12px!important;font-weight:600!important;display:flex;align-items:center;gap:8px;max-width:220px;min-width:0}
  .tp-anthem-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tp-pbody{padding:10px 16px 0}
  #ttc-feed-app .tp-name.phone{font-size:24px}
  .tp-pbody .tp-role{font-size:13px;margin-top:2px}
  .tp-pnote{margin-top:10px;padding:10px 12px;border-radius:12px;background:#0F2A30;border:1px solid #1F4A52;font-size:14px}
  .tp-pbody .tp-stats{gap:16px;margin-top:12px;font-size:13px}
  .tp-pactions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
  .tp-pactions .ta-btn{justify-content:center;padding:0 6px;font-size:14px!important;overflow:hidden;text-overflow:ellipsis}
  .tp-psection{padding:16px 16px 0}
  .tp-psection .tp-chips{gap:6px;margin-top:8px}
  .tp-psection .tp-chip{font-size:12px;padding:5px 9px}
  .tp-pline{font-size:13px;color:#C9D8DC;margin-top:8px}
  .tp-top8.phone{display:flex;gap:10px;margin-top:10px}
  .tp-top8.phone .tp-emp{width:44px;height:44px}
  .tp-tabs.phone{margin:14px 0 0;padding:0 8px;border-top:0;border-bottom:1px solid #1E2F36}
  .tp-tabs.phone button{flex:1;height:44px;padding:0;font-size:14px!important}
  .tp-plist{display:flex;flex-direction:column}
  .tp-ppost{display:flex;gap:10px;padding:12px 16px 0;color:#E8F1F3!important}
  .tp-ppost-main{min-width:0}
  .tp-ppost-who{font-size:14px;font-weight:600}
  .tp-ppost-who .tp-dim{font-weight:400}
  .tp-ppost-body{font-size:14px;line-height:1.45;color:#C9D8DC;margin-top:2px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .tp-pempty{padding:16px}
  .tp-plist .tp-photos{margin:12px 16px 0}
}

/* Profile details from Edit profile: pronouns, headline, open to routes, intro, credentials and gear, featured posts, View as. */
#ttc-feed-app .tp-pron{font:500 15px Inter,sans-serif;color:#8FA6AD}
#ttc-feed-app .tp-headline{margin:6px 0 0;font-size:15px;line-height:1.4;color:#C9D8DC;max-width:640px}
.tp-routes{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;background:rgba(86,204,140,.14);color:#6FDCA0;font:700 12px Inter,sans-serif;white-space:nowrap}
.tp-routes .tf-ic{width:14px;height:14px}
.tp-facts{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#B9CCD1}
.tp-facts li{display:flex;align-items:center;gap:10px}
.tp-facts .tf-ic{width:18px;height:18px;color:#7F979E;flex:none}
.tp-facts strong{color:#E8F1F3;font-weight:600}
.tp-chip.soft{background:#15242A;border-color:#1E2F36;color:#C9D8DC;font-weight:500}
.tp-certs{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.tp-cert{display:flex;align-items:center;gap:10px}
.tp-cert-ic{width:34px;height:34px;border-radius:10px;background:#0F2A30;color:#3FD2E8;display:flex;align-items:center;justify-content:center;flex:none}
.tp-cert-ic .tf-ic{width:16px;height:16px}
.tp-cert-text{display:flex;flex-direction:column;min-width:0;flex:1}
.tp-cert-text strong{font-size:14px;color:#E8F1F3}
.tp-cert-text small{font-size:12px;color:#8FA6AD}
.tp-cert-flag{font-size:11px;font-weight:700;padding:3px 7px;border-radius:6px}
.tp-cert-flag.warn{color:#F2B26B;background:rgba(242,178,107,.14)}
.tp-cert-flag.bad{color:#F28B82;background:rgba(242,139,130,.14)}
.tp-sub{display:flex;flex-direction:column;gap:6px;margin-top:14px;font-size:14px;color:#E8F1F3}
.tp-sublabel{font-size:12px;font-weight:600;color:#8FA6AD;letter-spacing:.02em}
.tp-sub .tp-chips{margin-top:0}
.tp-featured-head{display:flex;align-items:center;gap:8px;font:700 13px Inter,sans-serif;color:#8FA6AD;letter-spacing:.04em;text-transform:uppercase;padding:4px 2px}
.tp-featured-head .tf-ic{width:15px;height:15px;color:#F2B26B}
.tp-viewas{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:#0F2A30;border:1px solid #1F4A52;color:#E8F1F3;font-size:14px;margin-bottom:16px}
.tp-viewas .tf-ic{width:18px;height:18px;color:#3FD2E8;flex:none}
.tp-viewas span{flex:1}
.tp-viewas .ta-btn{margin:0}
.tp-private{cursor:default}
@media(max-width:759px){
  .tp-top8.phone{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px;margin-top:12px}
  .tp-top8.phone .tp-t8{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
  .tp-top8.phone .tp-t8 span{font-size:12px;color:#C9D8DC;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tp-top8.phone .tp-emp{width:52px;height:52px}
  .tp-pbody .tp-headline{font-size:14px;margin-top:4px}
  .tp-pbody .tp-routes{margin-top:8px}
  .tp-viewas{margin:12px 16px 0;flex-wrap:wrap}
  .tp-plist .tf-post{margin:0 16px}
  .tp-plist .tp-featured-head{padding:8px 16px}
}

/* Phone: In the field and Credentials and gear fold up */
.tp-fold>summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;padding:2px 0}
.tp-fold>summary::-webkit-details-marker{display:none}
.tp-fold-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tp-fold-sub{font-size:14px;color:#8FA6AD;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-fold-ic{width:20px;height:20px;color:#8FA6AD;transform:rotate(90deg);transition:transform .2s}
.tp-fold[open] .tp-fold-ic{transform:rotate(-90deg)}
.tp-fold-body{display:flex;flex-direction:column;gap:12px;padding-top:12px}
.tp-fold-edit{display:flex;justify-content:flex-end}
@media(prefers-reduced-motion:reduce){.tp-fold-ic{transition:none}}

/* Status badge tones */
.tp-routes.tone-cyan{color:#3FD2E8!important;background:#3FD2E81a!important}
.tp-routes.tone-purple{color:#C9A6F5!important;background:#C9A6F51a!important}
.tp-routes.tone-amber{color:#F5C97F!important;background:#F5C97F1a!important}
.tp-routes.tone-gray{color:#8FA6AD!important;background:#8FA6AD1a!important}

/* Note bubble above the profile picture, like Instagram notes */
.tp-notebub{position:absolute;left:-2px;bottom:calc(100% - 26px);z-index:3;display:flex;align-items:center;gap:6px;width:max-content;max-width:240px;padding:9px 15px;border-radius:20px;background:#1A2B31;border:1px solid #2E4A52;color:#E8F1F3!important;font:600 13.5px/1.3 Inter,sans-serif;text-align:left;box-shadow:0 10px 26px #000a;cursor:pointer;transform-origin:30px 100%;animation:tp-notebub-in .5s cubic-bezier(.2,1.5,.4,1) both,tp-notebub-float 4.5s ease-in-out .6s infinite;text-decoration:none!important}
.tp-notebub:hover{border-color:#3FD2E8}
.tp-notebub-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tp-notebub-music{color:#3FD2E8;font-size:15px}
.tp-notebub::before,.tp-notebub::after{content:"";position:absolute;border-radius:50%;background:#1A2B31;border:1px solid #2E4A52}
.tp-notebub::before{left:34px;bottom:-9px;width:12px;height:12px}
.tp-notebub::after{left:28px;bottom:-18px;width:6px;height:6px}
@keyframes tp-notebub-in{0%{opacity:0;transform:translateY(10px) scale(.6)}}
@keyframes tp-notebub-float{50%{transform:translateY(-4px)}}
.tp-notebub.sm{left:76px;bottom:calc(100% - 30px);max-width:min(220px,calc(100vw - 110px));padding:7px 12px;font-size:12.5px;transform-origin:0 100%}
.tp-notebub.sm::before{left:2px;bottom:-6px;width:10px;height:10px}
.tp-notebub.sm::after{left:-5px;bottom:-13px;width:5px;height:5px}
@media(prefers-reduced-motion:reduce){.tp-notebub{animation:none}}

/* The profile song button follows the song card: pause icon and a moving equalizer while it plays */
.tp-play-btn{border:0;background:none;padding:0;margin:0;cursor:pointer;display:flex;border-radius:50%}
.tp-eq{display:none;align-items:flex-end;gap:2px;height:14px;margin:0 2px;flex:none}
.tp-eq i{width:3px;height:30%;border-radius:2px;background:#3FD2E8}
.playing .tp-eq{display:inline-flex}
.playing .tp-eq i{animation:tp-eq 0.9s ease-in-out infinite}
.playing .tp-eq i:nth-child(2){animation-delay:-.3s}.playing .tp-eq i:nth-child(3){animation-delay:-.6s}.playing .tp-eq i:nth-child(4){animation-delay:-.15s}
@keyframes tp-eq{0%,100%{height:25%}50%{height:100%}}
.tp-anthem .tp-label .tp-eq{margin-left:8px;vertical-align:middle}
.tp-anthem-pill.playing{border-color:#3FD2E8;box-shadow:0 0 0 1px #3FD2E855,0 0 14px #3FD2E833}
.blocked .tp-play{animation:tp-blocked 1.3s ease-in-out infinite}
@keyframes tp-blocked{0%,100%{box-shadow:0 0 0 0 #3FD2E8aa}50%{box-shadow:0 0 0 8px #3FD2E800}}
@media(prefers-reduced-motion:reduce){.playing .tp-eq i{animation:none;height:70%}.blocked .tp-play{animation:none}}

/* Phones: the song video's picture between the profile picture and the song button */
.tp-song-thumb{position:relative;flex:none;width:76px;height:50px;margin:0 0 4px;padding:0;border:1px solid #2E4A52;border-radius:12px;overflow:hidden;background:#000;cursor:pointer;box-shadow:0 6px 16px #0008}
.tp-song-thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.85;transition:opacity .3s}
.tp-song-thumb.playing{border-color:#3FD2E8;box-shadow:0 0 0 1px #3FD2E855,0 0 14px #3FD2E844}
.tp-song-thumb.playing img{opacity:1;animation:tp-thumb-drift 9s ease-in-out infinite alternate}
@keyframes tp-thumb-drift{from{transform:scale(1.05) translate(-3%,-2%)}to{transform:scale(1.22) translate(3%,2%)}}
.tp-song-thumb .tp-eq{position:absolute;left:6px;bottom:5px;height:12px;filter:drop-shadow(0 1px 2px #000)}
.tp-song-thumb .tp-eq i{background:#fff}
@media(prefers-reduced-motion:reduce){.tp-song-thumb.playing img{animation:none}}

/* Phone song pill: play button plus the song name (which pulls up the video) */
.tp-anthem-pill button{border:0;background:none;color:inherit;font:inherit;padding:0;margin:0;cursor:pointer;display:flex;align-items:center;gap:6px;min-width:0}
.tp-anthem-pill .tp-pill-title{flex:1;min-width:0}
.tp-anthem-pill .tp-anthem-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tp-pill-watch{flex:none;color:#3FD2E8;font-size:14px}
/* Profile picture opens the photo viewer; Photos section links. */
.tp-av-open{cursor:zoom-in}
.tp-av-open:focus-visible{outline:3px solid #3FD2E8;outline-offset:3px}
.tp-photo-links{display:flex;gap:14px}
.tp-phone .tp-photo-links{padding:4px 16px 10px}
