.profile-dialog {
  inset:0; position:fixed; width:100%; height:100%; max-width:none; max-height:none;
  border:0; margin:0; padding:0; background:transparent; overflow:visible; color:#172029;
}
.profile-dialog[open] {display:grid; place-items:center;}
.profile-dialog::backdrop {background:rgb(10 16 17 / .64); backdrop-filter:blur(8px); animation:profile-backdrop .32s ease both;}
.profile-dialog.closing::backdrop {animation:profile-backdrop .39s ease reverse both;}
@keyframes profile-backdrop {from{opacity:0} to{opacity:1}}
.profile-surface {
  position:relative; width:min(470px,calc(100% - 36px)); border:1px solid #e2eaf0;
  border-radius:24px; background:#fff; box-shadow:0 18px 75px #07142035;
}
.profile-content {
  position:relative; overflow:auto; overscroll-behavior:contain; max-height:calc(100vh - 38px); max-height:calc(100dvh - 38px);
  padding:clamp(23px,5vw,38px); border-radius:inherit;
}
.profile-brand {display:block;filter:brightness(0);margin:0 0 24px;}
.profile-close {
  position:absolute; top:15px; right:15px; display:grid; place-items:center;
  width:44px; height:44px; padding:0; border-radius:50%; border:1px solid #cfd8dc;
  background:#f6f8f9; color:#26313a; font:400 25px/1 var(--font-ui, sans-serif);
}
.profile-dialog h2 {margin:0 0 16px; color:#11171a; font-size:clamp(31px,5vw,46px); line-height:1.04; letter-spacing:-.05em; overflow-wrap:anywhere;}
.profile-dialog [data-access] {display:grid; justify-items:start; gap:14px; min-width:0;}
.profile-dialog [data-access-name] {max-width:100%; font-weight:700; font-size:18px; line-height:1.26; overflow-wrap:anywhere;}
.profile-dialog [data-profile-intro] {margin:0; color:#404d57; font-size:16px; line-height:1.48;}
.profile-dialog [data-profile-support] {color:#09648f; text-decoration:underline; text-underline-offset:3px;}
.profile-dialog [data-profile-support][hidden] {display:none;}
.profile-dialog [data-access-status] {color:#394e59;margin:0;}
.profile-dialog .profile-action, .island [data-login] {
  position:relative; background:#fff; color:#13191d; overflow:visible;
  transition:background-color .2s, color .2s, border-color .2s;
}
.profile-action {display:inline-flex; align-items:center; justify-content:center; gap:10px; margin:5px 0 1px; max-width:100%; min-height:48px; padding:10px 17px; border-radius:13px; border:1px solid #86bad2; font:inherit; font-weight:700; cursor:pointer;}
.profile-action svg {width:20px; height:20px;flex:none;fill:currentColor;}
.profile-action:focus-visible,.profile-close:focus-visible,.island [data-login]:focus-visible {outline:3px solid #197da9;outline-offset:3px;}
.access-trace,.sheet-trace {position:absolute;left:-16px;top:-16px;pointer-events:none;border-radius:0;max-width:none; max-height:none;}
#how {height:auto;align-items:start;}
#faq-title {overflow-wrap:anywhere;}
.faq-list,.faq-row {min-width:0;}
.faq-row {border-top:1px solid #afb6a5;}
.faq-row h3 {margin:0;}
.faq-row button {display:flex;justify-content:space-between;align-items:center;gap:14px;padding:21px 1px;width:100%;text-align:start;font:600 clamp(18px,1.75vw,29px)/1.18 var(--font-ui,sans-serif);letter-spacing:-.035em;color:inherit;}
.faq-row i {font-style:normal;font-weight:400;transition:transform .25s;}
.faq-row button[aria-expanded=true] i {transform:rotate(-90deg);}
.faq-answer {display:grid;grid-template-rows:1fr;}
.faq-answer[inert] {display:none;}
.faq-answer>div {min-height:0;overflow:hidden;animation:faq-reveal .24s ease-out both;}
@keyframes faq-reveal {from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.faq-answer p {margin:0 0 18px;max-width:63ch;line-height:1.55;color:#374033;font-size:clamp(15px,1.2vw,18px);}
.faq-answer a {display:inline-block;margin:0 0 22px;text-decoration:underline;text-underline-offset:3px;}
.circle-v2-scene .cv-app-link {display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:66px;max-width:100%;padding:9px 15px;border:1px solid #343a34;border-radius:15px;background:transparent;color:#f0f1ec;font-size:14px;font-weight:620;text-align:start;line-height:1.3;}
.circle-v2-scene .cv-app-link .circle-plane {flex:0 0 40px;}
.circle-v2-scene .cv-app-link .tg-mark {display:block;width:40px;height:40px;}
.circle-v2-scene .cv-app-link i {margin-inline-start:auto;color:#c7ff00;font:400 18px/1 sans-serif;transition:transform .2s;}
.circle-v2-scene .cv-app-link:is([data-pressed],:focus-visible) {border-color:#c7ff00;background:#c7ff0010;}
.circle-v2-scene .cv-app-link:is([data-pressed],:focus-visible) stop {stop-color:#c7ff00;}
.circle-v2-scene .cv-app-link:is([data-pressed],:focus-visible) path {fill:#242824;}
@media(hover:hover) and (pointer:fine){
  .circle-v2-scene .cv-app-link:hover {border-color:#c7ff00;background:#c7ff0010;}
  .circle-v2-scene .cv-app-link:hover stop {stop-color:#c7ff00;}
  .circle-v2-scene .cv-app-link:hover path {fill:#242824;}
  .circle-v2-scene .cv-app-link:hover i {transform:translate(2px,-2px);}
}
@media(hover:none){
  .circle-v2-scene .cv-app-link:hover:not([data-pressed]):not(:focus-visible) {background:transparent;border-color:#343a34;color:#f0f1ec;}
}
@media(prefers-reduced-motion:reduce){
  .profile-dialog::backdrop,.profile-dialog.closing::backdrop {animation:none;}
  .faq-answer>div {animation:none;}
  .faq-row i,.island [data-login] .access-trace {transition:none;}
}
/* Telegram controls share one interaction state for fill, text and perimeter. */
.profile-dialog .profile-action, .island [data-login] {
  --tg-active:0;
  position:relative; isolation:isolate; overflow:visible;
  background:#fff; color:#13191d;
  transition:color .2s ease, border-color .2s ease;
}
.island .sign[data-login]::before,.profile-dialog .profile-action::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border-radius:inherit;background:linear-gradient(105deg,#2aabee,#229ed9 18%,#1577aa 43%,#126991);
  opacity:var(--tg-active);transition:opacity .2s ease;
}
.profile-dialog .profile-action::before {inset:-1px;}
:is(.profile-dialog .profile-action,.island [data-login]) > .access-trace {
  filter:saturate(0) brightness(3);transition:filter .2s ease;
}
.profile-dialog .profile-action > .access-trace {left:-17px;top:-17px;}
:is(.profile-dialog .profile-action,.island [data-login]):is([data-pressed],:focus-visible) {
  --tg-active:1;color:white;
}
:is(.profile-dialog .profile-action,.island [data-login]):is([data-pressed],:focus-visible) > .access-trace {
  filter:saturate(1) brightness(1);
}
@media(hover:hover) and (pointer:fine) {
  :is(.profile-dialog .profile-action,.island [data-login]):hover {--tg-active:1;color:white;}
  :is(.profile-dialog .profile-action,.island [data-login]):hover > .access-trace {filter:saturate(1) brightness(1);}
}
.profile-dialog [data-access-safety],.profile-dialog [data-auth-private] {
  margin:0;color:#485862;font-size:14px;line-height:1.45;
}
.profile-dialog [data-auth-note] {display:grid;gap:4px;}
.profile-dialog [data-auth-note][hidden],.profile-dialog [data-access-safety][hidden] {display:none;}
.profile-dialog .auth-shield {display:flex;align-items:center;gap:7px;color:#34454d;font-size:13px;font-weight:650;}
.auth-shield svg {width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.55;}
.profile-dialog [data-access-status]:empty,.profile-dialog [data-access-name]:empty {display:none;}
@media(max-width:760px) {
  .island .sign[data-login] {
    flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;
    min-width:44px;min-height:44px;padding:0;gap:0;border-radius:11px;
  }
  .island [data-login] svg {width:19px;height:19px;display:block;}
  .island [data-login] > .access-trace {opacity:.58;}
}
@media(prefers-reduced-motion:reduce) {
  .profile-dialog .profile-action,.island [data-login],.island .sign[data-login]::before,
  .profile-dialog .profile-action::before,:is(.profile-dialog .profile-action,.island [data-login]) > .access-trace {transition:none;}
}

