/* Profile artwork and spacing from companion-v2. All business controls retain their original handlers. */
html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile {
  --fp-gutter:20px;
  box-sizing:border-box;
  min-height:100dvh;
  padding:max(16px,env(safe-area-inset-top)) max(var(--fp-gutter),env(safe-area-inset-right)) calc(98px + env(safe-area-inset-bottom)) max(var(--fp-gutter),env(safe-area-inset-left))!important;
  background:radial-gradient(ellipse at 100% 0,#f0e8fa 0,transparent 34%),#fdfcfe;
  color:#4d385b;
}
.fp-profile .fp-icon {
  flex:none;
  display:block;
  width:1em;
  height:1em;
  fill:currentColor;
  stroke:none;
}
html .fp-profile .ni-profile-header {
  box-sizing:border-box;
  padding:0!important;
  margin:0 0 24px;
  min-height:0;
  background:transparent!important;
}
.fp-profile > .ce-login-banner {display:none;}
.fp-profile .ni-profile-title {min-height:38px;}
.fp-profile .ni-profile-title h1 {gap:9px;font-size:22px;line-height:1.4;font-weight:650;letter-spacing:1px;color:#44334f;}
.fp-profile .ni-profile-title h1 .fp-icon {width:27px;height:27px;color:#9a7cb7;}
.fp-profile .ni-profile-actions .ni-profile-tool {
  box-sizing:border-box;
  width:38px;height:38px;padding:0;
  background:#ffffff99;border:1px solid #ebe2f2;border-radius:13px;color:#9b86ad;
}
.fp-profile .ni-profile-tool .fp-icon {width:21px;height:21px;}
html .fp-profile .ni-profile-header .ce-profile-identity {gap:16px;margin-top:26px;}
.fp-profile .fp-avatar {
  display:grid;place-items:center;flex:none;position:relative;
  width:72px;height:72px;border-radius:21px;outline:3px solid #fff;
  background:#ece4f5;box-shadow:0 0 0 4px #e9e0f3,0 7px 16px #82629813;
  color:#ac96bf;text-decoration:none;
}
.fp-profile .fp-avatar > .fp-icon {width:42px;height:42px;}
html .fp-profile .fp-avatar .ce-profile-avatar {width:100%;height:100%;border:0;border-radius:inherit;box-shadow:none;}
.fp-profile .fp-avatar .cp-avatar-host:not(.has-frame) .cp-avatar-photo {border-radius:21px;}
.fp-profile .ni-profile-person {flex:1;min-width:0;gap:8px;}
html .fp-profile .ni-profile-header .ce-name-line {flex-wrap:nowrap;gap:9px;}
html .fp-profile .ni-profile-header .ce-name-line strong {
  font-size:23px;font-weight:650;line-height:1.4;letter-spacing:.5px;color:#4d385b;
}
.fp-profile .ce-name-line > :not(strong) {flex:none;}
.fp-profile .fp-login,.fp-profile .ni-profile-meta {font-size:11px;line-height:1.5;color:#877391;text-decoration:none;}
.fp-profile .ni-profile-meta {gap:9px;}
.fp-profile .ni-profile-meta > span:first-child {padding:2px 6px;background:#f0ebf6;border-radius:4px;color:#826a94;font-size:10px;}
.fp-profile .ni-profile-meta > span + span {letter-spacing:.5px;}
html[data-frontend-theme="companion_island"] .fp-profile .island-vip-entry {
  width:100%;max-width:none;min-height:70px;margin:0 0 12px;padding:10px 16px;
}
html .fp-profile .ni-profile-cards {
  width:100%;max-width:none;display:block;margin:0;padding:0!important;background:transparent!important;
}
html[data-frontend-theme="companion_island"] .fp-profile .ni-profile-cards .ce-summary-card {
  box-sizing:border-box;display:block;overflow:hidden;
  margin:0;padding:19px 18px 0;border:1px solid #e5d9f2;border-radius:22px;
  background:linear-gradient(118deg,#eee5f8,#f6f0fc);box-shadow:0 8px 22px #86669d07;
}
.fp-profile .ni-group-title h2 {gap:7px;font-size:16px;font-weight:600;color:#56415f;letter-spacing:.4px;}
.fp-profile .ni-group-title h2 .fp-icon {width:19px;height:19px;color:#a58bb8;}
.fp-profile .ce-summary-card .ni-group-title h2 {gap:6px;font-size:12px;font-weight:500;letter-spacing:0;color:#806190;}
.fp-profile .ce-summary-card .ni-group-title h2 .fp-icon {width:18px;height:18px;color:inherit;}
html .fp-profile .ni-group-title a.ni-more {
  display:inline-flex;flex-direction:row;align-items:center;
  min-height:30px;gap:3px;padding:0;font-size:11px;text-decoration:none;color:#856e92;
}
.fp-profile .ni-group-title .ni-more .fp-icon,.fp-profile .ni-coupon small .fp-icon {width:12px;height:12px;}
html .fp-profile .ce-summary-card .ni-group-title a.ni-more {min-height:24px;}
.fp-profile .ce-summary-card .ni-wallet-amount {margin:0;padding:9px 0 20px;flex-wrap:wrap;gap:9px 12px;}
html .fp-profile .ni-profile-cards .ce-summary-card .ni-balance {display:block;flex:0 1 auto;max-width:100%;}
html .fp-profile .ni-profile-cards .ce-summary-card .ni-balance strong {
  color:#74528b;font-size:37px;font-weight:550;line-height:1.25;letter-spacing:-1px;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
html .fp-profile .ni-profile-cards .ce-summary-card .ni-balance strong.fp-long {font-size:28px;}
.fp-profile .ni-balance .fp-icon {display:inline-block;width:26px;height:26px;margin-left:.3em;vertical-align:calc((.72em - 26px)/2);}
html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile .ce-summary-card .ni-money-action {
  min-height:36px;margin-left:auto;flex:none;flex-direction:row;gap:6px;padding:7px 13px;
  box-sizing:border-box;border:0;border-radius:999px;background:#6b507e;
  color:#fffaf8;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none;
}
.fp-profile .ni-money-action .fp-icon {width:19px;height:19px;}
html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile .ce-summary-card .ni-coupon {
  min-height:46px;padding:0;border:0;border-top:1px solid #e5d9ee;
  color:#80698e;text-decoration:none;
}
.fp-profile .ni-coupon > * {display:inline-flex;align-items:center;gap:6px;}
.fp-profile .ni-coupon span {font-size:12px;}
.fp-profile .ni-coupon small {font-size:11px;color:#877292;}
.fp-profile .ni-coupon .fp-icon {width:17px;height:17px;}
.fp-profile .ni-profile-panel {border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;}
.fp-profile .ni-order-panel {margin-top:27px;}
.fp-profile .ni-services-panel {margin-top:24px;}
html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile .ni-order-panel .ce-order-icons {
  margin:0;padding:19px 0 23px;border:0;border-bottom:1px solid #eee7f3;gap:0;min-height:0;
}
html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile .ni-services-panel .ce-profile-services {
  margin:0;padding:22px 0 0;gap:23px 8px;min-height:0;
}
.fp-profile .ni-profile-panel .ce-icon-link {
  justify-content:flex-start;min-height:58px;gap:9px;margin:0;padding:0;
  background:none;border:0;color:#806b8e;text-align:center;text-decoration:none;
}
.fp-profile .ni-profile-panel .ce-icon-link > span:last-child {font-size:11px;line-height:1.45;}
.fp-profile .fp-order-icon {position:relative;display:block;width:30px;height:30px;color:#a18ab6;}
.fp-profile .fp-order-icon .fp-icon {width:100%;height:100%;color:inherit;}
.fp-profile .fp-count {
  position:absolute;top:-5px;right:-6px;box-sizing:border-box;min-width:15px;height:15px;padding:0 3px;
  border:2px solid #fdfcfe;border-radius:10px;background:#a281b7;color:#fff;font-size:9px;font-weight:500;line-height:11px;
}
.fp-profile .ni-services-panel .ce-icon-link {gap:8px;}
.fp-profile .fp-tool-icon {
  box-sizing:border-box;display:grid;place-items:center;width:40px;height:40px;
  border:1px solid #e9e0f1;border-radius:13px;background:linear-gradient(140deg,#f4eff9,#ece3f4);
}
.fp-profile .ce-icon-link:nth-child(3n+2) .fp-tool-icon {background:#f3edf5;}
.fp-profile .fp-tool-icon .fp-icon {width:23px;height:23px;color:#a48ab9;}
.fp-profile .ni-workbench-card {
  box-sizing:border-box;min-height:76px;margin-top:22px;padding:13px 17px;gap:13px;
  border:1px solid #e5d9ed;border-radius:17px;background:linear-gradient(106deg,#f4edf8,#fbf8fc);
}
.fp-profile .ni-workbench-card .fp-work-icon {
  display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eadcf2;color:#765287;
}
.fp-profile .fp-work-icon .fp-icon {width:27px;height:27px;}
.fp-profile .ni-workbench-card > .fp-icon {margin-left:auto;width:19px;height:19px;}
.fp-profile .ni-profile-cards .ce-credits {font-size:10px;letter-spacing:.6px;}
.fp-profile :is(a,button):focus-visible {outline:2px solid #78568e;outline-offset:3px;}
@media(max-width:360px) {
  html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile {--fp-gutter:16px;}
  html .fp-profile .ni-profile-header .ce-profile-identity {gap:12px;margin-top:22px;}
  .fp-profile .fp-avatar {width:66px;height:66px;}
  .fp-profile .ni-profile-title h1 {font-size:20px;}
  html .fp-profile .ni-profile-header .ce-name-line strong {font-size:21px;}
  html[data-frontend-theme="companion_island"] .fp-profile .ni-profile-cards .ce-summary-card {padding-inline:15px;}
  html .fp-profile .ni-profile-cards .ce-summary-card .ni-balance strong {font-size:34px;}
  html .fp-profile .ni-profile-cards .ce-summary-card .ni-balance strong.fp-long {font-size:26px;}
}
@media(max-width:319px) {
  html[data-frontend-theme="companion_island"][data-companion-page="profile"] .fp-profile {--fp-gutter:12px;}
  html[data-frontend-theme="companion_island"] .fp-profile .island-vip-entry {gap:8px;padding-inline:10px;}
  .fp-profile .island-vip-entry > picture {width:34px;}
}
