/* ====================== PROFILE TOP ACTIONS ====================== */

.profile-top-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  margin: 4px 0 12px;
}

.profile-top-actions-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  margin-left: auto;
}
.profile-top-actions-left{display:flex;align-items:flex-start;margin-right:auto}

/* Кубок и шестерёнка */

.profile-corner-action {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lime);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.profile-corner-action svg {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-corner-action:active {
  opacity: 0.65;
  transform: scale(0.9);
}

.profile-settings-action {
  margin-right: -8px;
}

/* Settings use the same quiet sheet language as weight and measurement editors. */
#settings{background:#000}
#settings .app-back-row{width:min(100%,720px);margin:0 auto}
.settings-sheet{position:relative;width:min(100%,720px);margin:14px auto 110px;padding:40px 26px 24px;border:1px solid var(--af-sheet-border);border-radius:34px;background:var(--af-sheet-bg);box-shadow:var(--af-sheet-shadow);box-sizing:border-box}
.settings-sheet-handle{position:absolute;top:13px;left:50%;width:52px;height:5px;border-radius:999px;background:var(--af-sheet-handle);transform:translateX(-50%)}
.settings-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}
.settings-sheet-head h2{margin:0;color:#fff;font-size:28px;line-height:1.08;font-weight:1000;letter-spacing:-.035em}
.settings-sheet-close{flex:0 0 auto}
.settings-avatar-upload{margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid #292b2f}
.settings-avatar-upload small{color:#858d99}
.avatar-crop-backdrop{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:var(--af-sheet-backdrop);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.avatar-crop-sheet{position:relative;width:min(420px,100%);padding:42px 22px 22px;border:1px solid var(--af-sheet-border);border-radius:34px;background:var(--af-sheet-bg);box-shadow:var(--af-sheet-shadow)}
.avatar-crop-handle{position:absolute;top:14px;left:50%;width:52px;height:5px;border-radius:999px;background:var(--af-sheet-handle);transform:translateX(-50%)}
.avatar-crop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.avatar-crop-head small{display:block;margin-bottom:5px;color:var(--lime);font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.avatar-crop-head h2{margin:0;color:#fff;font-size:26px;line-height:1.05;letter-spacing:-.045em}
.avatar-crop-close{position:relative;top:auto;right:auto;flex:0 0 auto}
.avatar-crop-viewport{position:relative;width:min(292px,78vw);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:50%;background:#050505;box-shadow:0 0 0 1px #36393e,0 0 0 999px rgba(0,0,0,.08);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.avatar-crop-viewport:active{cursor:grabbing}
.avatar-crop-image{position:absolute;top:50%;left:50%;max-width:none;width:auto;height:auto;transform-origin:center;pointer-events:none;-webkit-user-drag:none}
.avatar-crop-mask{position:absolute;inset:0;border:2px solid rgba(255,255,255,.82);border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.7);pointer-events:none}
.avatar-crop-zoom{display:grid;grid-template-columns:24px 1fr 24px;align-items:center;gap:10px;width:min(292px,78vw);margin:18px auto 2px;color:#858d99;font-size:20px;font-weight:800;text-align:center}
.avatar-crop-zoom input{width:100%;height:26px;margin:0;padding:0;border:0;background:transparent;accent-color:var(--lime)}
.avatar-crop-save{display:block;min-height:44px;margin:8px auto 0;padding:8px 12px;border:0;background:transparent;color:var(--lime);font-size:16px;font-weight:900;cursor:pointer}
.avatar-crop-save:active{transform:scale(.96)}
.settings-fields{display:grid;gap:12px}
.settings-grid{gap:12px}
.settings-sheet .input,.settings-sheet select{height:58px;min-height:58px;margin:0;padding:0 16px;border:1px solid #303236;border-radius:20px;background:rgba(0,0,0,.14);color:#f7f7f8;box-shadow:none;font-size:15px;font-weight:750}
.settings-sheet .password-field>.input{padding-right:52px}
.settings-sheet .password-toggle{right:9px}
.settings-sheet-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px 28px;margin-top:24px;padding-top:18px;border-top:1px solid #292b2f}
.settings-sheet-actions button{min-height:42px;padding:8px 10px;border:0;background:transparent;font-size:16px;font-weight:900;cursor:pointer}
.settings-save{color:var(--lime)}
.settings-logout{color:#ff6658}
@media(max-width:620px){.settings-sheet{margin-top:8px;padding:38px 16px 20px}.settings-sheet-head{margin-bottom:18px}.settings-sheet-head h2{font-size:25px}.settings-avatar-upload{margin-bottom:16px;padding-bottom:16px}.settings-grid{grid-template-columns:1fr 1fr;gap:9px}.settings-fields{gap:9px}.settings-sheet .input,.settings-sheet select{height:54px;min-height:54px;border-radius:18px;padding-left:13px;padding-right:13px}.settings-sheet .password-field>.input{padding-right:50px}.settings-sheet-actions{margin-top:18px;padding-top:12px}.avatar-crop-backdrop{padding:14px}.avatar-crop-sheet{padding:40px 16px 18px;border-radius:30px}.avatar-crop-head{margin-bottom:17px}.avatar-crop-head h2{font-size:24px}.avatar-crop-viewport,.avatar-crop-zoom{width:min(276px,76vw)}}

.profile-awards-title{margin:24px 4px 13px;color:#fff;font-size:22px!important;line-height:1.1;font-weight:900}
.profile-awards-rail{display:flex;align-items:flex-start;gap:22px;overflow-x:auto;margin:0 0 30px;padding:2px 4px 10px;scrollbar-width:none;scroll-snap-type:x proximity}
.profile-awards-rail::-webkit-scrollbar{display:none}
.profile-award-button{width:92px;min-width:92px;padding:0;border:0;background:transparent;color:#fff;display:grid;justify-items:center;gap:9px;scroll-snap-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}
.profile-award-button:active{transform:scale(.96)}
.profile-award-button>b{max-width:100%;color:#8f96a4;font-size:11px!important;line-height:1.15;text-align:center}
.profile-medal{position:relative;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;isolation:isolate;box-sizing:border-box}
.profile-medal>img{width:100%;height:100%;display:block;object-fit:contain;transform-origin:50% 50%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.35))}
.profile-medal.is-rhythm>img{transform:scale(1.24)}
.profile-medal.is-workouts>img{transform:translate(1.3%,-2.4%) scale(1.146)}
.profile-medal.is-volume>img{transform:scale(1.24)}
.profile-medal.is-strength>img{transform:scale(1.24)}
.profile-medal>em{position:absolute;right:-5px;bottom:-5px;min-width:34px;height:23px;padding:0 7px;border-radius:999px;display:grid;place-items:center;background:#0a0a0a;border:1px solid #353535;color:#b7bdc8;font-size:11px;font-style:normal;font-weight:900;box-sizing:border-box}
.profile-medal.is-large{width:156px;height:156px}.profile-medal.is-large>em{right:8px;bottom:3px;min-width:54px;height:32px;font-size:15px}
.profile-medal-progress{--achievement-progress:0%;position:relative;width:84px;height:84px;display:grid;place-items:center;isolation:isolate}
.profile-medal-progress::before{content:"";position:absolute;z-index:3;inset:0;width:100%;height:100%;border-radius:50%;background:conic-gradient(var(--lime) var(--achievement-progress),#292c31 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));pointer-events:none}
.profile-medal-progress>.profile-medal{position:relative;z-index:1;width:74px;height:74px;margin:0}.profile-medal-progress-count{position:absolute;z-index:4;right:-5px;bottom:-5px;min-width:34px;height:23px;padding:0 7px;border:1px solid #353535;border-radius:999px;background:#0a0a0a;color:#b7bdc8;display:grid;place-items:center;font-size:11px;font-style:normal;font-weight:900;line-height:1;white-space:nowrap;box-sizing:border-box}.profile-medal-progress.is-large{width:170px;height:170px}.profile-medal-progress.is-large::before{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px))}.profile-medal-progress.is-large>.profile-medal{width:156px;height:156px;margin:0}.profile-medal-progress.is-large>.profile-medal-progress-count{right:8px;bottom:3px;min-width:54px;height:32px;font-size:15px}
.profile-achievement-backdrop{position:fixed;inset:0;z-index:1200;padding:16px;background:var(--af-sheet-backdrop);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.profile-achievement-backdrop[hidden]{display:none!important}
.profile-achievement-sheet{width:min(100%,410px);max-height:calc(100dvh - 32px);overflow:auto;padding:12px 26px 24px;border:1px solid var(--af-sheet-border);border-radius:34px;background:var(--af-sheet-bg);box-shadow:var(--af-sheet-shadow);display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box}
.profile-achievement-handle{width:52px;height:5px;border-radius:999px;background:var(--af-sheet-handle);margin:0 auto 28px}
.profile-achievement-sheet h2{margin:24px 0 6px;color:#fff;font-size:28px}.profile-achievement-sheet>p{margin:0;color:#959ca9;font-size:15px}
.profile-achievement-sheet>button{margin-top:30px;padding:10px 24px;border:0;background:transparent;color:var(--lime);font-size:16px!important;font-weight:900;cursor:pointer}
.profile-achievement-sheet>.profile-achievement-goal{max-width:440px;margin:18px auto 0;color:#d8dce2;font-size:18px;font-weight:800;line-height:1.35}
.profile-achievement-progress-text{margin:8px 0 0!important;color:var(--lime)!important;font-size:15px!important;font-weight:900;letter-spacing:.01em}
.profile-achievement-medal-preview{min-height:174px;margin:4px 0 34px;display:grid;place-items:center}.profile-achievement-medal-preview>.profile-medal{filter:drop-shadow(0 18px 28px rgba(0,0,0,.45))}
.profile-achievement-sheet>.profile-achievement-description{max-width:390px;margin:-18px auto 24px;color:#7f8794;font-size:12px;line-height:1.35;font-weight:650}
.profile-achievement-linear{width:100%;margin-top:2px}.profile-achievement-linear-track{position:relative;width:100%;height:4px;border-radius:999px;background:#282b30;overflow:hidden}.profile-achievement-linear-track>i{position:absolute;inset:0 auto 0 0;width:var(--achievement-linear-progress);border-radius:inherit;background:var(--lime)}.profile-achievement-linear-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:24px;text-align:left}.profile-achievement-linear-summary>span{display:grid;gap:5px;min-width:0}.profile-achievement-linear-summary small{color:#8f96a2;font-size:13px;font-weight:800}.profile-achievement-linear-summary b{color:var(--lime);font-size:18px;line-height:1.15}.profile-achievement-linear-summary strong{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;white-space:nowrap;font-size:25px;line-height:1}.profile-achievement-linear-summary strong>em{color:var(--lime);font-style:normal}.profile-achievement-linear-summary strong>i{color:#69717e;font-size:11px;font-style:normal;font-weight:800;line-height:1}.profile-achievement-linear-summary strong>span{color:#8f96a2}
.profile-award-celebration{position:fixed;inset:0;z-index:1400;padding:24px;display:grid;place-items:center;background:rgba(0,0,0,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-sizing:border-box;animation:awardBackdropIn .24s ease-out both}
.profile-award-celebration-card{position:relative;width:min(100%,520px);max-height:calc(100dvh - 48px);overflow:auto;padding:38px 26px 26px;border:1px solid #30343a;border-radius:34px;background:radial-gradient(circle at 50% 18%,rgba(150,255,0,.09),transparent 32%),linear-gradient(160deg,#17191b,#080909 72%);box-shadow:0 30px 90px rgba(0,0,0,.7);text-align:center;box-sizing:border-box;animation:awardCardIn .4s cubic-bezier(.2,.9,.24,1.15) both}
.profile-award-celebration-glow{position:absolute;top:70px;left:50%;width:180px;height:180px;border-radius:50%;background:rgba(150,255,0,.08);filter:blur(35px);transform:translateX(-50%);pointer-events:none}
.profile-award-celebration-card>h2{position:relative;margin:0 0 28px;color:#fff;font-size:26px}
.profile-award-celebration-list{position:relative;display:flex;align-items:flex-start;justify-content:center;gap:22px}.profile-award-celebration-item{flex:1 1 0;min-width:0;display:grid;justify-items:center}.profile-award-celebration-item .profile-medal.is-large{width:126px;height:126px}.profile-award-celebration-item:only-child .profile-medal.is-large{width:156px;height:156px}.profile-award-celebration-item h3{margin:18px 0 5px;color:#fff;font-size:18px}.profile-award-celebration-item p{margin:0;color:#969da8;font-size:13px;line-height:1.35}
.profile-award-celebration-card>button{position:relative;width:100%;min-height:52px;margin-top:30px;border:0;border-radius:999px;background:var(--lime);color:#071000;font-size:16px;font-weight:1000;cursor:pointer}.profile-award-celebration-card>button:active{transform:scale(.98)}
body.profile-award-celebration-open{overflow:hidden}
@keyframes awardBackdropIn{from{opacity:0}to{opacity:1}}@keyframes awardCardIn{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}
.achievement-demo-panel{position:fixed;right:18px;bottom:18px;z-index:1300;width:min(360px,calc(100vw - 28px));padding:16px;border:1px solid #30343a;border-radius:26px;background:rgba(13,14,15,.96);box-shadow:0 24px 70px rgba(0,0,0,.68);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-sizing:border-box;color:#fff}
.achievement-demo-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.achievement-demo-panel header span{display:grid;gap:2px}.achievement-demo-panel header small{color:var(--lime);font-size:10px;font-weight:1000;letter-spacing:.12em}.achievement-demo-panel header b{font-size:18px}.achievement-demo-panel header button{width:34px;height:34px;border:0;border-radius:50%;background:#222529;color:#aab0b8;font-size:22px;cursor:pointer}
.achievement-demo-panel section{padding:13px 0;border-top:1px solid #292c30}.achievement-demo-panel section>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.achievement-demo-panel section small{color:#8f96a2;font-size:12px;font-weight:800}.achievement-demo-ring{--demo-progress:0%;position:relative;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lime) var(--demo-progress),#292c31 0)}.achievement-demo-ring::before{content:"";position:absolute;inset:3px;border-radius:50%;background:#0d0e0f}.achievement-demo-ring strong{position:relative;color:#fff;font-size:10px;font-weight:900;white-space:nowrap}.achievement-demo-panel section>button{width:100%;min-height:42px;margin-top:11px;border:1px solid rgba(150,255,0,.35);border-radius:999px;background:rgba(150,255,0,.1);color:var(--lime);font-size:13px;font-weight:900;cursor:pointer}.achievement-demo-panel>p{margin:3px 0 0;color:#656c76;font-size:10px;text-align:center}
body.profile-achievement-open{overflow:hidden}
@media(max-width:420px){.profile-awards-title{margin-top:18px}.profile-awards-rail{justify-content:center;gap:4px;margin-top:-6px;padding-left:0;padding-right:0;overflow:visible}.profile-award-button{width:calc((100vw - 48px)/4);min-width:0;max-width:78px;gap:6px}.profile-medal-progress{width:min(18vw,72px);height:min(18vw,72px)}.profile-medal-progress>.profile-medal{width:88%;height:88%}.profile-medal-progress-count{right:-2px;bottom:-3px;min-width:30px;height:20px;padding:0 6px;font-size:10px}.profile-award-button>b{font-size:10px!important}.profile-achievement-sheet{padding-left:22px;padding-right:22px}.profile-achievement-sheet>.profile-achievement-goal{font-size:16px}.profile-award-celebration{padding:14px}.profile-award-celebration-card{padding:32px 16px 20px;border-radius:28px}.profile-award-celebration-list{gap:10px}.profile-award-celebration-item .profile-medal.is-large{width:112px;height:112px}.profile-award-celebration-item:only-child .profile-medal.is-large{width:148px;height:148px}.profile-award-celebration-item h3{font-size:16px}.profile-award-celebration-card>h2{font-size:27px}.achievement-demo-panel{right:14px;bottom:14px}}
@media(max-width:420px){.profile-achievement-medal-preview{min-height:162px;margin-bottom:28px}.profile-achievement-sheet>.profile-achievement-description{margin-top:-14px;margin-bottom:22px;font-size:11px}.profile-achievement-linear-summary{gap:12px;margin-top:20px}.profile-achievement-linear-summary b{font-size:16px}.profile-achievement-linear-summary strong{gap:6px;font-size:22px}.profile-achievement-linear-summary strong>i{font-size:10px}}
@media(min-width:760px){.profile-achievement-sheet{margin-bottom:0;border-radius:34px}.profile-awards-rail{gap:30px}}

.profile-trainer-action:active {
  opacity: 0.65;
  transform: scale(0.92);
}

@media (max-width: 370px) {
  .profile-top-actions-right {
    gap: 0;
  }

  .profile-corner-action {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .profile-corner-action svg {
    width: 22px;
    height: 22px;
  }

}
.profile-announcement{position:relative;margin:8px 0 26px;padding:22px 24px;overflow:hidden;border-radius:24px;background:linear-gradient(125deg,#141414,#202020);color:#fff}.profile-announcement::after{content:"";position:absolute;right:-35px;top:-50px;width:150px;height:150px;border:1px solid rgba(163,255,18,.28);border-radius:50%;box-shadow:0 0 0 18px rgba(163,255,18,.035),0 0 0 38px rgba(163,255,18,.025)}.profile-announcement.is-challenge{background:linear-gradient(125deg,#17250d,#10150d)}.profile-announcement>span{position:relative;z-index:1;color:var(--lime);font-size:11px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}.profile-announcement h3{position:relative;z-index:1;margin:8px 0 0;max-width:75%;font-size:clamp(22px,5vw,34px);line-height:1.05}.profile-announcement p{position:relative;z-index:1;margin:10px 0 0;max-width:72%;color:#b4b8c1;line-height:1.4}@media(min-width:900px){.profile-announcement{padding:28px 32px}.profile-announcement h3{max-width:68%}}

/* Optional trainer-uploaded wide announcement banner. */
.profile-announcement-copy{position:relative;z-index:2}
.profile-announcement-copy>span{display:block;color:var(--lime);font-size:11px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.profile-announcement-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-announcement.has-image{min-height:150px;display:flex;align-items:flex-end;padding:24px}
.profile-announcement.has-image::before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.63) 55%,rgba(0,0,0,.12) 100%)}
.profile-announcement.has-image::after{display:none}
.profile-announcement.has-image h3,.profile-announcement.has-image p{max-width:min(72%,620px)}
@media(min-width:900px){.profile-announcement.has-image{min-height:230px;padding:34px}}

.profile-announcement-close{position:absolute;z-index:5;right:12px;top:12px;width:30px;height:30px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:rgba(20,20,20,.42);color:rgba(255,255,255,.76);font-size:21px;line-height:1;display:grid;place-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.profile-announcement.is-poll{background:linear-gradient(125deg,#12151a,#181c23)}
.profile-publication-response{position:relative;z-index:3;width:min(100%,520px);margin-top:18px;border-top:1px solid rgba(255,255,255,.14)}
.profile-publication-response>summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;width:100%;list-style:none;outline:0;color:#f2f3f5;font-size:14px;font-weight:680;letter-spacing:-.01em;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-publication-response>summary::-webkit-details-marker{display:none}.profile-publication-response>summary::after{content:"";width:7px;height:7px;margin-right:4px;border-right:1.5px solid #949aa5;border-bottom:1.5px solid #949aa5;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}.profile-publication-response>summary:focus-visible{color:var(--lime)}.profile-publication-response[open]>summary::after{transform:rotate(225deg) translate(-1px,-1px)}
.profile-publication-response-body{display:grid;gap:16px;padding:2px 0 5px}.profile-publication-choices{display:grid}
.profile-publication-choice{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:16px;min-height:48px;width:100%;border-bottom:1px solid rgba(255,255,255,.1);color:#f4f4f5;font-size:15px;font-weight:590;letter-spacing:-.012em;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-publication-choice:first-child{border-top:1px solid rgba(255,255,255,.1)}.profile-publication-choice input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-publication-choice i{position:relative;width:20px;height:20px;border:1.5px solid #6f7580;border-radius:50%;transition:border-color .16s ease,transform .16s ease}.profile-publication-choice i::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--lime);opacity:0;transform:scale(.3);transition:opacity .16s ease,transform .16s ease}.profile-publication-choice input:checked~span{color:var(--lime)}.profile-publication-choice input:checked~i{border-color:var(--lime);transform:scale(1.03)}.profile-publication-choice input:checked~i::after{opacity:1;transform:scale(1)}
.profile-challenge-field>span{display:block;margin:4px 0 5px;color:#9197a2;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.profile-challenge-input{display:flex;align-items:baseline;width:min(100%,360px);border-bottom:1px solid rgba(255,255,255,.22);transition:border-color .18s ease}.profile-challenge-input:focus-within{border-color:var(--lime)}.profile-challenge-input input{min-width:0;width:100%;margin:0;padding:6px 0 9px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:#fff;font-size:clamp(30px,8vw,42px)!important;font-weight:680;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.profile-challenge-input input::placeholder{color:#565b64}.profile-challenge-input small{padding-left:12px;color:#9ca1aa;font-size:14px;font-weight:650;white-space:nowrap}
.profile-challenge-time{display:grid;grid-template-columns:minmax(0,112px) 20px minmax(0,112px);align-items:start;width:min(100%,260px);border-bottom:1px solid rgba(255,255,255,.22);transition:border-color .18s ease}.profile-challenge-time:focus-within{border-color:var(--lime)}.profile-challenge-time label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline}.profile-challenge-time input{min-width:0;width:100%;margin:0;padding:6px 0 9px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:#fff;font-size:clamp(30px,8vw,42px)!important;font-weight:680;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.profile-challenge-time small{padding-left:5px;color:#9ca1aa;font-size:11px;font-weight:650}.profile-challenge-time>b{padding-top:7px;color:#777e89;font-size:28px;line-height:1;text-align:center}
.profile-publication-submit{display:inline-flex;align-items:center;gap:10px;width:max-content;min-height:44px;padding:0;border:0;background:transparent;color:var(--lime);font-size:14px;font-weight:780;letter-spacing:-.01em}.profile-publication-submit svg{width:26px;height:26px;padding:5px;border:1px solid rgba(163,255,18,.68);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:background .16s ease,transform .16s ease}.profile-publication-submit:active svg{background:rgba(163,255,18,.14);transform:scale(.94)}
.profile-announcement.has-image .profile-publication-response{border-top-color:rgba(255,255,255,.22)}
@media(max-width:520px){
  .profile-announcement{width:100%;max-width:100%;padding:18px 18px 15px;border-radius:20px}
  .profile-announcement-copy{width:100%;min-width:0}
  .profile-announcement h3,.profile-announcement p,.profile-announcement.has-image h3,.profile-announcement.has-image p{max-width:calc(100% - 30px);overflow-wrap:break-word;word-break:normal}
  .profile-announcement h3{margin-top:5px;font-size:clamp(18px,5.3vw,23px);line-height:1.08;display:block;overflow:visible}
  .profile-announcement p{margin-top:6px;font-size:12.5px;line-height:1.3;display:block;overflow:visible}
  .profile-announcement.has-image{height:auto;min-height:clamp(156px,42vw,184px);padding:18px 18px 14px;align-items:flex-end}
  .profile-announcement.has-image::before{background:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.58) 68%,rgba(0,0,0,.15) 100%)}
  .profile-announcement-close{right:9px;top:9px;width:27px;height:27px;font-size:19px}
  .profile-publication-response{width:100%;margin-top:8px}
  .profile-publication-response>summary{min-height:34px;font-size:12.5px}
  .profile-publication-choice{font-size:14px}
  .profile-challenge-input{width:100%}
}
