.pp-lock, .pp-lock body { overflow: hidden; }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pp-panel { position: relative; display: grid; gap: 0; }
.pp-kick { color: var(--red); display: flex; gap: 12px; }
.pp-kick span { color: var(--ink-3); }
.pp-title { position: relative; margin: 12px 0 10px; font-size: clamp(52px, 13vw, 76px); line-height: .86; }
.pp-lead { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.pp-prov { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-btn {
  position: relative; flex: 1 1 100%;
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 2px; background: rgba(255, 255, 255, .025);
  color: var(--ink); font: 600 14.5px var(--f-ui); text-align: left; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .25s, opacity .2s;
}
.pp-btn:hover, .pp-btn:focus-visible { outline: none; border-color: var(--red); background: rgba(255, 42, 20, .06); box-shadow: 0 0 0 1px var(--red) inset, 0 0 30px rgba(255, 42, 20, .2); }
.pp-btn svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.pp-btn__go { margin-left: auto; color: var(--ink-3); font: 600 10.5px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.pp-btn:hover .pp-btn__go { color: var(--red); }
.pp-btn.is-busy { pointer-events: none; opacity: .45; }
.pp-prov .pp-btn { justify-content: center; gap: 12px; min-height: 48px; border-radius: 8px; border: 0; font: 700 15px/1 var(--f-ui); letter-spacing: .01em; transition: transform .14s, filter .14s, background .14s; }
.pp-prov .pp-btn__go { display: none; }
.pp-prov .pp-btn:hover, .pp-prov .pp-btn:focus-visible { transform: translateY(-1px); box-shadow: none; filter: brightness(1.07); }
.pp-prov .pp-btn:active { transform: translateY(1px); }
.pp-prov .pp-btn--discord { background: #5865F2; color: #fff; }
.pp-prov .pp-btn--telegram { background: #2AABEE; color: #fff; }
.pp-prov .pp-btn--google { background: #fff; color: #1F1F1F; border: 1px solid #747775; font: 500 15px/1 "Google Sans", Roboto, Arial, sans-serif; letter-spacing: .005em; }
.pp-prov .pp-btn--google:hover, .pp-prov .pp-btn--google:focus-visible { filter: none; background: #F2F2F2; }
.pp-btn svg.pp-d { width: 24px; height: auto; }
.pp-btn svg.pp-g { width: 20px; height: 20px; }
.pp-btn svg.pp-t { width: 22px; height: 22px; margin-left: -3px; }
.pp-tgslot { flex: 1 1 100%; display: flex; justify-content: center; min-height: 52px; align-items: center; border: 1px dashed rgba(255, 255, 255, .1); }
.pp-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.pp-note:empty { display: none; }
.pp-note.is-warn { color: #ffb4a6; }
.pp-small { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.pp-empty { margin: 0; padding: 16px; border: 1px dashed var(--line); color: var(--ink-2); font-size: 14px; }

.pp-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pp-modal[hidden] { display: none; }
.pp-modal__scrim { position: fixed; inset: 0; background: rgba(3, 2, 1, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pp-modal__box {
  position: relative; width: min(440px, 100%); padding: 30px 22px 22px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, #17100e, #0b0807);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 80px -40px rgba(255, 42, 20, .5);
  animation: pp-in .3s var(--ease);
}
.pp-modal__box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); box-shadow: 0 0 14px var(--glow); }
.pp-modal__box::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px); }
.pp-modal__box > * { position: relative; z-index: 1; }
@keyframes pp-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.pp-x { position: absolute; top: 8px; right: 10px; z-index: 2; width: 36px; height: 36px; font-size: 26px; line-height: 1; color: var(--ink-3); }
.pp-x:hover { color: var(--ink); }

.pp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; max-width: calc(100vw - 32px); transform: translate(-50%, 20px); opacity: 0; padding: 11px 16px; border: 1px solid var(--line); background: #110a09; color: var(--ink); font-size: 13.5px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.pp-toast::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--glow); vertical-align: 2px; }
.pp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.settings-page main { padding: clamp(104px, 12vw, 150px) 0 clamp(64px, 8vw, 110px); }
.st-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.st-title { font-size: clamp(56px, 11vw, 150px); line-height: .86; margin: 12px 0 0; }
.st-lede { max-width: 440px; margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.st-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; align-items: start; }
.st-app.is-out { grid-template-columns: minmax(0, 520px); }
.st-app.is-loading { min-height: 240px; }
.st-card { position: relative; padding: 22px; border: 1px solid var(--line-soft); background: rgba(12, 7, 6, .72); }
.st-card--signin { border-color: var(--line); background: linear-gradient(180deg, rgba(255, 42, 20, .06), rgba(12, 7, 6, .8) 45%); }
.st-card h2 { margin: 0 0 16px; font-size: 34px; }
.st-card .label.st-k { color: var(--ink-3); display: block; margin-bottom: 14px; }

.st-profile { display: flex; align-items: center; gap: 16px; }
.st-av { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255, 42, 20, .14); color: var(--red); font: 900 28px var(--f-display); border: 1px solid var(--line); }
.st-av img { width: 100%; height: 100%; object-fit: cover; }
.st-name { min-width: 0; flex: 1; }
.st-name b { display: block; font-size: 22px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.st-name small { color: var(--ink-3); font-size: 12.5px; }
.st-edit { display: grid; gap: 10px; margin-top: 16px; }
.st-edit[hidden] { display: none; }
.st-edit input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: 2px; background: rgba(5, 3, 3, .8); color: var(--ink); font: 500 16px var(--f-ui); }
.st-edit input:focus { outline: none; border-color: rgba(255, 60, 40, .6); }
.st-edit__row { display: flex; gap: 8px; flex-wrap: wrap; }
.st-edit__hint { margin: 0; color: var(--ink-3); font-size: 12.5px; }

.st-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, background .2s, color .2s; }
.st-ghost:hover { border-color: rgba(255, 60, 40, .6); background: rgba(255, 42, 20, .08); }
.st-ghost:disabled { opacity: .35; cursor: not-allowed; background: none; border-color: var(--line); }
.st-solid { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 16px; border: 1px solid var(--red); border-radius: 2px; background: var(--red); color: #000; font: 700 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 24px rgba(255, 42, 20, .35); transition: background .2s; }
.st-solid:hover { background: var(--red-hot); }
.st-cta { margin-top: 16px; }
.st-out { width: 100%; margin-top: 18px; padding: 12px; border: 1px solid rgba(255, 42, 20, .35); color: var(--red); font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; transition: background .2s; }
.st-out:hover { background: rgba(255, 42, 20, .1); }

.st-list { display: grid; gap: 8px; }
.st-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.st-row.is-on { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.st-row__ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.st-row.is-on .st-row__ic { border-color: var(--red); box-shadow: 0 0 16px -4px var(--glow); }
.st-row__ic svg { width: 20px; height: 20px; fill: #fff; }
.st-row__ic svg.is-stroke { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-row__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.st-row__txt b { font-size: 15px; font-weight: 600; }
.st-row__txt small { color: var(--ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-row.is-on .st-row__txt small { color: var(--ink-2); }
.st-row__txt small em { font-style: normal; color: var(--ink); }
.st-row__act { flex: none; }
.st-row--soon { opacity: .5; border-style: dashed; }
.st-row--soon .st-row__txt small { white-space: normal; }
.st-tag { font: 600 10px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .12); }
.st-private { margin: 14px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.55; }
.st-msg { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.st-msg:empty { display: none; }
.st-msg.is-warn { color: #ffb4a6; }

.st-merge__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.st-save { display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025); text-align: left; transition: border-color .2s, box-shadow .25s, background .2s; }
.st-save:hover, .st-save:focus-visible { outline: none; border-color: var(--red); background: rgba(255, 42, 20, .06); box-shadow: 0 0 0 1px var(--red) inset, 0 0 30px rgba(255, 42, 20, .2); }
.st-save .label { color: var(--ink-3); }
.st-save b { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.st-save span { color: var(--ink-2); font-size: 13px; }
.st-save i { font-style: normal; margin-top: 4px; color: var(--red); font: 600 10.5px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.st-merge p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.st-merge .st-warn { color: var(--ink-3); font-size: 12.5px; }

@media (min-width: 480px) { .pp-modal__box { padding: 34px 28px 24px; } }
@media (max-width: 900px) {
  .st-app { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .st-merge__cols { grid-template-columns: minmax(0, 1fr); }
  .st-row { flex-wrap: wrap; row-gap: 12px; }
  .st-row__txt { flex: 1 1 calc(100% - 56px); }
  .st-row__txt small { white-space: normal; overflow-wrap: anywhere; }
  .st-row__act { margin-left: 56px; }
}
@media (prefers-reduced-motion: reduce) { .pp-modal__box { animation: none; } }
