.invite-screen { isolation: isolate; background: #000; }
.invite-screen .status { height: 54px; }
.invite-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.invite-glow img { position: absolute; max-width: none; }
.invite-glow-wide { left: calc(50% - 542.3px); top: -381.33px; }
.invite-glow-core { left: calc(50% - 357.8px); top: -249.83px; mix-blend-mode: plus-lighter; }
.invite-screen .header { min-height: 44px; padding: 0 12px; }
.invite-screen .header h1 { font-size: 16px; font-weight: 500; }
.invite-back-icon { display: block; transform: scaleX(-1); }
.invite-screen .header .text-button { min-width: 44px; min-height: 44px; color: #cbb8ff; font-size: 14px; font-weight: 600; }
.invite-screen .content { padding: 0 16px calc(var(--nav) + 28px); }
.invite-hero { position: relative; isolation: isolate; overflow: clip; min-height: 193px; padding: 22px 5px 22px; }
.invite-hero-copy { position: relative; width: 192px; z-index: 1; }
.invite-hero h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; background: linear-gradient(163deg, #fff 19%, #cbb8ff 78%); background-clip: text; -webkit-text-fill-color: transparent; }
.invite-hero p { margin: 8px 0 0; color: #ffffffb3; font-size: 14px; font-weight: 500; line-height: 1.45; }
.invite-hero p strong { color: #f3cf86; font-weight: inherit; }
.invite-art { position: absolute; z-index: -1; right: 3.26px; top: -29px; width: 203.957px; height: 183.561px; overflow: hidden; pointer-events: none; }
.invite-art > img { position: absolute; width: 252.073px; height: 252.073px; left: -15.53px; top: -53.12px; max-width: none; }
.invite-spark-field { position: absolute; z-index: -1; right: 0; top: 5.75px; width: 210px; height: 169.964px; overflow: hidden; pointer-events: none; }
.invite-spark { position: absolute; max-width: none; mix-blend-mode: plus-lighter; }
.invite-spark-1 { left: 100.859px; top: 35.476px; transform: translate(-50%, -50%) rotate(-154.62deg); }
.invite-spark-2 { left: 43.6875px; top: 99.8575px; transform: translate(-50%, -50%) rotate(178.27deg); }
.invite-spark-3 { left: 54.327px; top: 50.2415px; transform: translate(-50%, -50%) rotate(-6.52deg); }
.invite-spark-4 { left: 154.14px; top: 95.0955px; transform: translate(-50%, -50%) rotate(98.2deg); }
.invite-spark-5 { left: 111.3055px; top: 74.766px; transform: translate(-50%, -50%) rotate(163.86deg); }
.invite-panel { display: grid; gap: 16px; padding: 18px 13px 21px; border: 1px solid #d4c3ff; border-radius: 24px; background: #6a59ff1f; backdrop-filter: blur(10.65px); }
.invite-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 80px; margin-inline: -13px; text-align: center; }
.invite-stats strong { display: block; font-size: 24px; line-height: 1.35; font-weight: 600; font-variant-numeric: tabular-nums; }
.invite-stats span { display: block; margin-top: 2px; color: #919396; font-size: 14px; line-height: 1.5; }
.invite-screen .points { color: #f3cf86; }
.invite-stats-divider { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.invite-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; margin-inline: 2px; padding: 6px 8px 6px 24px; border: 1px solid #ffffff1a; border-radius: 50px; }
.invite-code small { display: block; margin-bottom: 2px; font-size: 11px; line-height: 1.3; color: #fff; }
.invite-code strong { display: block; color: #ffffff80; font-size: 14px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.invite-code button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 40px; border-radius: 50%; }
.invite-code button img { display: block; }
.invite-screen .btn:not(.quiet) { min-height: 56px; border: 1px solid #bea5ff80; border-radius: 18px; color: #fff; font-size: 16px; font-weight: 600; background: linear-gradient(162deg, #5c26e9 22%, #b0b3ff 97%); }
.invite-record-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; margin: 24px 0 16px; border-radius: 9px; background: #ffffff33; }
.invite-record-tabs button { min-height: 28px; padding: 3px 10px; border-radius: 7px; color: #ffffffb3; font-size: 13px; line-height: 18px; }
.invite-record-tabs button[aria-selected="true"] { color: #000; background: #fff; font-weight: 600; box-shadow: 0 3px 8px #0000001f, 0 3px 1px #0000000a; }
.invite-record-tabs button:focus-visible { outline-offset: -2px; }
#invite-record-panel { display: grid; gap: 10px; }
#invite-record-panel:focus-visible { outline: 1px solid var(--purple); outline-offset: 3px; border-radius: 12px; }
.invite-record { display: flex; align-items: center; gap: 8px; min-height: 81px; padding: 14px 11px; border: 1px solid #ffffff99; border-radius: 12px; background: linear-gradient(101deg, #ffffff1a 4%, #99999907 96%); }
.invite-friend-avatar { display: block; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.invite-record .grow { min-width: 0; }
.invite-record h3 { font-size: 16px; line-height: 19px; font-weight: 500; color: #fffffff2; overflow-wrap: anywhere; }
.invite-record p { color: #ffffff66; font-size: 14px; line-height: 16px; margin: 6px 0 0; }
.invite-record-end { flex-shrink: 0; text-align: right; }
.invite-record-end strong { font-size: 16px; line-height: 20px; font-weight: 600; color: #b0b3ff; }
.invite-record-end small { display: block; margin-top: 6px; font-size: 10px; line-height: 14px; color: #ffffff4d; }
.invite-rule-summary { padding: 0; margin: 24px 0 0; color: #ffffff80; font-size: 10px; line-height: 20px; }
.invite-screen .empty { min-height: 230px; padding: 20px 10px; }
.invite-screen .empty .symbol { font-size: 34px; }
.invite-rule-list { padding-left: 20px; color: #c0b8cc; line-height: 1.8; }
.invite-rule-list li + li { margin-top: 10px; }
.demo-panel .invite-demo-note { padding: 5px 12px; font-size: 10px; line-height: 1.6; color: #b4a7c4; }
@media (hover: hover) { .invite-code button:hover { background: #ffffff12; } }
@media (max-width: 360px) {
  .invite-hero { min-height: 184px; }
  .invite-hero-copy { width: 156px; }
  .invite-hero h2 { font-size: 24px; }
  .invite-hero p { font-size: 12px; }
  .invite-art, .invite-spark-field { right: -4px; transform: scale(.76); transform-origin: right top; }
  .invite-stats span { font-size: 12px; }
  .invite-code { padding-left: 16px; }
  .invite-record h3 { font-size: 14px; }
  .invite-record p { font-size: 11px; }
  .invite-record-end strong { font-size: 13px; }
}

/* Optimized invitation layout from SS-agent 4119:92490. */
.invite-screen .content { padding-inline: 16px; }
.invite-screen .header h1 { font-size: 14px; }
.invite-hero { display: flex; flex-direction: column; align-items: center; padding: 0 0 20px; min-height: 215px; overflow: visible; }
.invite-art { position: relative; z-index: 0; order: -1; right: auto; top: auto; width: 220px; height: 142px; overflow: hidden; }
.invite-art > img { width: 280px; height: 280px; left: -26px; top: -70px; }
.invite-hero-copy { width: 100%; text-align: center; }
.invite-hero h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; background: linear-gradient(#fff, #a4a4a4); background-clip: text; }
.invite-hero p { color: #ffffff80; font-size: 12px; margin-top: 4px; }
.invite-panel { border: 1px solid #ffffff30; padding: 0 0 18px; gap: 12px; border-radius: 20px; background: #101010cc; }
.invite-stats { margin: 0; min-height: 86px; border-radius: 18px; background: #ffffff05; }
.invite-stats span { font-size: 12px; }
.invite-code { min-height: 42px; margin: 0 12px; padding-left: 14px; border-radius: 12px; }
.invite-code small { display: inline; margin-right: 10px; color: #777; }
.invite-code strong { display: inline; font-size: 12px; }
.invite-code button { height: 30px; }
.invite-code button img { width: 17px; height: 17px; }
.invite-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
.invite-actions .btn, .invite-screen .btn:not(.quiet) { min-height: 52px; font-size: 13px; padding: 10px 4px; color: white; border: 1px solid #ffffff50; background: linear-gradient(#1c1c1c, #3b3b3b); box-shadow: inset 1px 1px 2px #ffffffb0, inset -1px -1px 2px #ffffff50; }
.invite-actions .btn.quiet { background: transparent; box-shadow: none; }
.invite-record-tabs { display: flex; gap: 26px; background: none; padding: 0; margin: 24px 0 16px; }
.invite-record-tabs button { color: #787e8b; font-size: 17px; padding: 0; }
.invite-record-tabs button[aria-selected="true"] { color: white; background: none; box-shadow: none; }
.invite-record { border: 0; background: none; padding: 12px 0; }
.invite-record p { font-size: 12px; }
.invite-record-end strong { font-size: 14px; font-weight: 400; }
@media(max-width:360px) { .invite-art { transform: none; } .invite-hero-copy { width: 100%; } .invite-hero h2 { font-size: 18px; } }
