.yu-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(15, 98, 68, .24);
  border-radius: 999px;
  color: #123c30;
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 9px 24px rgba(22, 82, 60, .09);
  font-family: Arial, "PingFang SC", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.yu-profile-trigger:hover { border-color: rgba(15, 98, 68, .55); box-shadow: 0 13px 30px rgba(22, 82, 60, .14); transform: translateY(-2px); }
.yu-profile-trigger:focus-visible { outline: 3px solid #f4cb70; outline-offset: 3px; }
.yu-profile-trigger img { width: 39px; height: 39px; flex: 0 0 auto; padding: 4px; border-radius: 12px; background: #edf7ef; }
.yu-profile-trigger span { display: grid; gap: 2px; }
.yu-profile-trigger strong { font-size: 14px; line-height: 1.15; }
.yu-profile-trigger small { color: #646964; font-size: 11px; line-height: 1.25; }
.yu-profile-invite { display: flex; max-width: 100%; align-items: center; gap: 8px; margin-top: 14px; }
.yu-profile-invite .yu-profile-trigger { margin-top: 0; }
.yu-profile-invite .yu-profile-trigger > .yu-profile-feather { width: 39px; height: 39px; }
.yu-orbit-mascot { position: relative; display: grid; width: 94px; height: 94px; flex: 0 0 94px; place-items: center; isolation: isolate; animation: yu-mascot-float 4.8s ease-in-out infinite; filter: drop-shadow(0 12px 13px rgba(15, 98, 68, .18)); }
.yu-orbit-mascot::before { position: absolute; z-index: -1; inset: 7px; border: 2px dashed rgba(207, 157, 53, .54); border-radius: 50%; background: radial-gradient(circle, rgba(239, 248, 241, .9) 0 53%, transparent 55%); content: ""; animation: yu-mascot-ring 8s linear infinite; }
.yu-orbit-mascot::after { position: absolute; z-index: 2; top: 10px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #f4cb70; box-shadow: -68px 45px 0 -2px rgba(22, 132, 91, .75), -5px 68px 0 -1px rgba(244, 203, 112, .68), 0 0 12px rgba(244, 203, 112, .9); content: ""; animation: yu-mascot-spark 2.6s ease-in-out infinite; }
.yu-orbit-mascot img { width: 88px; height: 88px; padding: 0; object-fit: contain; border-radius: 0; background: transparent; transform-origin: 50% 72%; animation: yu-mascot-turn 4.8s ease-in-out infinite; }
.yu-profile-invite:hover .yu-orbit-mascot { animation-duration: 2.8s; }
.yu-profile-invite:hover .yu-orbit-mascot img { animation-duration: 2.8s; }
@keyframes yu-mascot-ring { to { transform: rotate(360deg); } }
@keyframes yu-mascot-float { 0%, 100% { transform: translate3d(0, 2px, 0); } 25% { transform: translate3d(5px, -4px, 0); } 55% { transform: translate3d(0, -8px, 0); } 78% { transform: translate3d(-4px, -2px, 0); } }
@keyframes yu-mascot-turn { 0%, 100% { transform: rotate(-4deg) scale(1); } 35% { transform: rotate(3deg) scale(1.025); } 68% { transform: rotate(-2deg) scale(.985); } }
@keyframes yu-mascot-spark { 0%, 100% { opacity: .55; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.12); } }
.bard-yu-trigger { position: relative; padding-right: 12px; border-color: rgba(179, 132, 32, .28); background: linear-gradient(115deg, rgba(255, 253, 248, .92), rgba(237, 247, 239, .88)); }
.bard-yu-trigger > img { width: 49px; height: 49px; padding: 0; object-fit: contain; background: radial-gradient(circle at 50% 75%, #f5d784, #e7f3e9 65%); }
.persona-chip { align-self: center; margin-left: 5px; padding: 6px 8px; border-radius: 999px; color: #0f6244; background: #e4f2e8; font: 800 9px/1 Arial, sans-serif; letter-spacing: .1em; white-space: nowrap; }

.yu-profile-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 28px;
  color: #101817;
  background: #fbf8f1;
  box-shadow: 0 35px 100px rgba(7, 31, 45, .36);
}
.yu-profile-dialog::backdrop { background: rgba(4, 20, 25, .7); backdrop-filter: blur(8px); }
.yu-profile-dialog-shell { position: relative; padding: clamp(25px, 5vw, 58px); }
.yu-profile-close { position: absolute; top: 18px; right: 18px; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(16, 24, 23, .14); border-radius: 50%; background: rgba(255, 255, 255, .75); font: 25px/1 Arial, sans-serif; cursor: pointer; }
.yu-profile-close:focus-visible { outline: 3px solid #f4cb70; outline-offset: 2px; }
.yu-profile-hero { display: grid; grid-template-columns: 112px 1fr; gap: clamp(20px, 4vw, 42px); align-items: center; padding-right: 42px; }
.yu-profile-logo { position: relative; display: grid; width: 112px; height: 112px; overflow: hidden; place-items: center; border: 1px solid rgba(15, 98, 68, .2); border-radius: 30px; background: radial-gradient(circle at 50% 70%, rgba(244, 203, 112, .4), transparent 42%), linear-gradient(145deg, #fffdf8, #e6f3ea); box-shadow: 0 18px 42px rgba(20, 72, 54, .15); transform: rotate(-2deg); }
.yu-profile-logo img { width: 106px; height: 106px; object-fit: contain; transform: translateY(4px); filter: drop-shadow(0 9px 10px rgba(20, 72, 54, .14)); }
.yu-profile-logo-bard::after { position: absolute; right: 9px; bottom: 11px; width: 31px; height: 7px; content: ""; border-radius: 999px; background: linear-gradient(90deg, #f4cb70, #b17b20); box-shadow: 0 0 12px rgba(244, 203, 112, .64); transform: rotate(-34deg); transform-origin: right center; }
.yu-profile-logo-sage img { width: 118px; height: 138px; object-fit: cover; object-position: center 8%; transform: translateY(13px); }
.yu-profile-eyebrow { margin: 0 0 9px; color: #0f6244; font: 800 11px/1.3 Arial, "PingFang SC", sans-serif; letter-spacing: .18em; }
.yu-profile-hero h2 { margin: 0; font: 700 clamp(40px, 6vw, 66px)/.93 "Times New Roman", "Songti SC", serif; letter-spacing: -.045em; }
.yu-profile-hero h2 em { display: block; margin-top: 8px; color: #16845b; font-size: .56em; font-style: normal; letter-spacing: -.02em; }
.yu-profile-lede { max-width: 760px; margin: 28px 0 0; color: #505652; font: clamp(17px, 2vw, 21px)/1.55 Arial, "PingFang SC", sans-serif; }
.yu-personas { margin-top: 28px; padding: 22px; border: 1px solid rgba(15, 98, 68, .16); border-radius: 21px; background: linear-gradient(135deg, #edf6ef, #fffaf0); }
.yu-personas > header p { margin: 0 0 7px; color: #0f6244; font: 800 10px/1.2 Arial, "PingFang SC", sans-serif; letter-spacing: .16em; }
.yu-personas > header h3 { max-width: 690px; margin: 0; font: 700 clamp(24px, 3.7vw, 35px)/1.08 "Times New Roman", "Songti SC", serif; letter-spacing: -.025em; }
.yu-personas > div { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 18px; }
.yu-persona-card { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; min-height: 118px; overflow: hidden; padding: 14px 18px 14px 12px; border: 1px solid rgba(16, 24, 23, .1); border-radius: 17px; background: rgba(255, 255, 255, .78); }
.yu-persona-art { display: grid; width: 88px; height: 88px; overflow: hidden; place-items: center; border-radius: 22px; background: radial-gradient(circle at 50% 72%, rgba(244, 203, 112, .42), transparent 43%), #eaf4ec; }
.yu-persona-art img { width: 88px; height: 88px; object-fit: contain; transform: translateY(4px); }
.yu-persona-sage .yu-persona-art img { width: 95px; height: 112px; object-fit: cover; object-position: center top; transform: translateY(11px); }
.yu-persona-card small { color: #16845b; font: 800 9px/1.2 Arial, "PingFang SC", sans-serif; letter-spacing: .14em; }
.yu-persona-card h3 { margin: 5px 0 4px; font: 700 24px/1 "Times New Roman", "Songti SC", serif; }
.yu-persona-card p { margin: 0; color: #686d67; font: 12px/1.45 Arial, "PingFang SC", sans-serif; }
.yu-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.yu-training-card { min-height: 190px; padding: 22px; border: 1px solid rgba(16, 24, 23, .12); border-radius: 19px; background: rgba(255, 255, 255, .66); }
.yu-training-card > span { color: #16845b; font: 800 11px Arial, sans-serif; letter-spacing: .15em; }
.yu-training-card h3 { margin: 11px 0 8px; font: 700 25px/1.05 "Times New Roman", "Songti SC", serif; }
.yu-training-card p { margin: 0; color: #626761; font: 14px/1.55 Arial, "PingFang SC", sans-serif; }
.yu-daily-cycle { margin-top: 18px; padding: 22px; border: 1px solid rgba(15, 98, 68, .18); border-radius: 19px; background: linear-gradient(135deg, rgba(231, 246, 237, .9), rgba(255, 253, 248, .92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85); }
.yu-daily-cycle header { display: flex; gap: 13px; align-items: center; }
.yu-daily-cycle header > div { min-width: 0; }
.yu-daily-pulse { position: relative; width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; background: #16845b; box-shadow: 0 0 0 7px rgba(22, 132, 91, .1); }
.yu-daily-pulse::after { position: absolute; inset: -7px; border: 1px solid rgba(22, 132, 91, .24); border-radius: inherit; content: ""; animation: yu-daily-pulse 2.4s ease-out infinite; }
.yu-daily-cycle header p { margin: 0 0 5px; color: #0f6244; font: 800 10px/1.2 Arial, "PingFang SC", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.yu-daily-cycle h3 { margin: 0; font: 700 28px/1.08 "Times New Roman", "Songti SC", serif; }
.yu-daily-copy { max-width: 760px; margin: 15px 0 0; color: #4f5b55; font: 14px/1.6 Arial, "PingFang SC", sans-serif; }
.yu-daily-cycle ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.yu-daily-cycle li { display: grid; gap: 9px; align-content: start; min-height: 88px; padding: 13px; border: 1px solid rgba(15, 98, 68, .12); border-radius: 13px; background: rgba(255, 255, 255, .72); }
.yu-daily-cycle li span { color: #16845b; font: 800 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.yu-daily-cycle li strong { color: #263b34; font: 700 13px/1.35 Arial, "PingFang SC", sans-serif; }
.yu-daily-cycle small { display: block; margin-top: 13px; color: #6b746f; font: 11px/1.45 Arial, "PingFang SC", sans-serif; }
@keyframes yu-daily-pulse { 0% { opacity: .7; transform: scale(.7); } 75%, 100% { opacity: 0; transform: scale(1.35); } }
.yu-profile-proof { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; margin-top: 18px; padding: 18px 20px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #0b3428, #176047); }
.yu-profile-proof img { width: 45px; height: 45px; }
.yu-profile-proof strong { display: block; font: 700 17px/1.25 Arial, "PingFang SC", sans-serif; }
.yu-profile-proof p { margin: 4px 0 0; color: rgba(255, 255, 255, .74); font: 13px/1.5 Arial, "PingFang SC", sans-serif; }
.yu-profile-note { margin: 16px 0 0; color: #6a6e69; font: 12px/1.5 Arial, "PingFang SC", sans-serif; }

.yu-kicker-mark img,
.yu-mark img,
.learning-profile-intro > div > span img { width: 82%; height: 82%; object-fit: contain; }
.yu-mark img { width: 48px; height: 48px; }
.learning-profile-intro > div > span img { width: 34px; height: 34px; }

@media (max-width: 640px) {
  .yu-profile-invite { gap: 2px; }
  .yu-profile-invite .yu-profile-trigger { min-width: 0; padding-right: 12px; }
  .yu-orbit-mascot { width: 76px; height: 76px; flex-basis: 76px; }
  .yu-orbit-mascot img { width: 72px; height: 72px; }
  .yu-orbit-mascot::before { inset: 5px; }
  .yu-profile-dialog { border-radius: 22px; }
  .yu-profile-dialog-shell { padding: 24px 19px 26px; }
  .yu-profile-hero { grid-template-columns: 72px 1fr; gap: 16px; padding-right: 31px; }
  .yu-profile-logo { width: 72px; height: 72px; border-radius: 21px; }
  .yu-profile-logo img { width: 68px; height: 68px; }
  .yu-profile-logo-sage img { width: 76px; height: 90px; transform: translateY(9px); }
  .yu-profile-hero h2 { font-size: clamp(34px, 10vw, 48px); }
  .yu-profile-lede { margin-top: 22px; font-size: 16px; }
  .persona-chip { display: none; }
  .yu-personas { padding: 17px; }
  .yu-personas > div { grid-template-columns: 1fr; }
  .yu-persona-card { grid-template-columns: 72px 1fr; min-height: 96px; padding: 11px; }
  .yu-persona-art { width: 72px; height: 72px; border-radius: 18px; }
  .yu-persona-art img { width: 72px; height: 72px; }
  .yu-persona-sage .yu-persona-art img { width: 78px; height: 92px; }
  .yu-profile-grid { grid-template-columns: 1fr; }
  .yu-training-card { min-height: 0; }
  .yu-daily-cycle { padding: 18px; }
  .yu-daily-cycle h3 { font-size: 23px; }
  .yu-daily-cycle ol { grid-template-columns: 1fr 1fr; }
  .yu-daily-cycle li { min-height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .yu-profile-trigger { transition: none; }
  .yu-orbit-mascot,
  .yu-orbit-mascot::before,
  .yu-orbit-mascot::after,
  .yu-orbit-mascot img { animation: none; }
  .yu-daily-pulse::after { animation: none; }
}
