/* Trang Hồ sơ đội */
body { overflow-x: clip; min-height: 100dvh; }
[hidden] { display: none !important; }
.pnav__link { padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--cream); background: rgba(255,255,255,.08); transition: background .5s var(--ease); }
.pnav__link:hover { background: rgba(255,255,255,.16); }
.pglow { position: fixed; left: 50%; top: -22%; width: min(1000px, 150vw); height: 560px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 60%, rgba(18,190,98,.34), rgba(2,103,57,.16) 44%, transparent 70%); pointer-events: none; }
.pwrap { position: relative; width: min(860px, 100% - 2rem); margin-inline: auto; padding: clamp(6.4rem, 12vw, 8rem) 0 4rem; }
.pcenter { display: grid; justify-items: center; }
.pcenter .pshell { width: min(500px, 100%); }
.pshell { padding: .45rem; border-radius: var(--r-xl); background: rgba(18,190,98,.1); border: 1px solid rgba(18,190,98,.28); }
.pcard { display: grid; gap: 1rem; padding: clamp(1.3rem, 4vw, 2rem); border-radius: calc(var(--r-xl) - .45rem); background: linear-gradient(165deg, var(--ink-3), var(--ink-2) 62%); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); animation: pup .9s var(--ease-out) both; min-width: 0; }
@keyframes pup { from { opacity: 0; transform: translateY(22px); } }
.pcard .eyebrow { justify-self: start; margin-bottom: 0; }
.ptitle { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ptitle em { font-style: normal; color: var(--green); }
.ptitle--sm { font-size: clamp(1.35rem, 4.4vw, 2rem); }
.plead { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.plead b { color: var(--cream); font-weight: 600; }
.pgoogle { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; padding: .9rem 1.2rem; border-radius: 999px; font-weight: 600; color: #1f2a24; background: #fff; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .4s; }
.pgoogle:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(255,255,255,.5); }
.pgoogle:disabled { opacity: .55; cursor: not-allowed; }
.pgoogle svg { width: 22px; height: 22px; flex: 0 0 auto; }
.pinapp { display: grid; gap: .7rem; padding: 1rem; border-radius: var(--r-md); background: rgba(243,130,43,.1); border: 1px solid rgba(243,130,43,.45); }
.pinapp b { font-weight: 700; color: var(--white); }
.pinapp p { font-size: .9rem; color: var(--cream); }
.pinapp small { font-size: .78rem; color: var(--muted); }
.perr { padding: .7rem .9rem; border-radius: var(--r-md); font-size: .88rem; color: var(--ink); background: var(--orange); }
.prow { display: flex; flex-wrap: wrap; gap: .6rem; }
.plink { justify-self: start; font-size: .84rem; font-weight: 600; color: var(--green); }
.pteams { display: grid; gap: .5rem; }
.pteam { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .6rem .9rem .6rem .6rem; text-align: left; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .5s var(--ease); }
.pteam:hover { border-color: var(--green); }
.pteam__logo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; }
.pteam__logo img { width: 100%; height: 100%; object-fit: contain; }
.pteam__txt { display: grid; min-width: 0; }
.pteam__txt b { overflow-wrap: anywhere; }
.pteam__txt small { color: var(--muted); }
.pteam em { font-style: normal; color: var(--green); }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem; }
.phead > div:first-child { display: grid; gap: .35rem; justify-items: start; min-width: 0; }
.pstatus { padding: .28rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--cream); background: rgba(255,255,255,.1); }
.pstatus.is-ok { color: var(--ink); background: var(--green); }
.pmeta { font-size: .88rem; color: var(--muted); }
.pwho { display: grid; justify-items: end; gap: .1rem; flex: 0 0 auto; max-width: 46%; }
.pwho small { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.pwho .plink { justify-self: end; }
.pnote { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: var(--r-md); font-size: .9rem; color: var(--cream); background: rgba(243,130,43,.12); border: 1px solid rgba(243,130,43,.45); }
.pfields { display: grid; gap: 1rem; border: 0; min-width: 0; }
.pfields:disabled { opacity: .65; }
.psec { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--white); }
.pcard--form .field input { min-width: 0; }
.roster { max-height: none; overflow: visible; padding-right: 0; }
.psave { display: grid; gap: .9rem; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.psave .btn { justify-self: end; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.ptoast { position: fixed; left: 50%; bottom: 24px; z-index: 900; max-width: min(92vw, 460px); padding: .75rem 1.2rem; border-radius: 999px; text-align: center; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--green); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ptoast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ptoast.is-bad { background: var(--orange); }
.pboot { display: grid; place-items: center; min-height: 50dvh; }
.pboot i { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); animation: pbounce .7s cubic-bezier(.3,0,.7,1) infinite alternate; }
@keyframes pbounce { to { transform: translateY(-26px); } }
@media (max-width: 560px) {
  .phead { flex-direction: column; align-items: stretch; }
  .pwho { justify-items: start; max-width: none; }
  .pwho small { text-align: left; }
  .pwho .plink { justify-self: start; }
  .psave .btn { justify-self: stretch; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .pcard, .pboot i { animation: none; } }
.pdoc h2 { margin-top: .4rem; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--white); }
.pdoc p, .pdoc li { font-size: .94rem; color: var(--cream); }
.pdoc ul { display: grid; gap: .35rem; padding-left: 1.1rem; }
.pdoc a { color: var(--green); font-weight: 600; }
.pposter { margin-bottom: 1rem; }
