





































.dashboard { padding: 0.5em 0; }


.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-l);
  padding-bottom: var(--sp-l);
  border-bottom: 1px solid var(--line);
}
.dash-id { display: flex; flex-direction: column; }

.dash-name { font-size: var(--fs-h2); font-weight: 600; color: var(--text); }

.dash-handle { color: var(--muted); font-size: var(--fs-small); }

.dash-stats { display: flex; gap: var(--sp-m); flex-wrap: wrap; }




@media (max-width: 600px) {
  .dash-header { flex-direction: column; align-items: flex-start; }
}














@media (max-width: 600px) {
































  .dashboard .dash-tab,
  .profile-page .dash-tab {
    flex: 1 1 0;
    min-width: 0;



    padding: 0.9em 0.2em;
    justify-content: center;
    gap: 0;
    position: relative;
  }
  .dashboard .dash-tab .tab-icon,
  .profile-page .dash-tab .tab-icon {




    font-size: 1.35em;
  }




  .dashboard .dash-tab .tab-label--mobile,
  .profile-page .dash-tab .tab-label--mobile {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }





  .dashboard .dash-tab.active,
  .profile-page .dash-tab.active {
    flex: 0 0 auto;
    padding: 0.9em 0.55em;
    gap: 0.4em;
  }



  .dashboard .dash-tab.active .tab-label--mobile,
  .profile-page .dash-tab.active .tab-label--mobile {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-size: 0.9em;
    white-space: nowrap;
  }








  .dashboard .ref-cluster,
  .profile-page .ref-cluster { display: none; }





  :where(.dashboard) .cs-inv-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 6px;
    row-gap: 16px;
  }


  :where(.dashboard) .cs-panel { padding: 14px; }



  :where(.dashboard) .cs-draw-hint { text-align: center; max-width: none; font-size: 13px; }
  :where(.dashboard) .cs-draw-hint-text { display: none; }

  :where(.dashboard) .cs-draw-hint[data-empty="1"] .cs-draw-hint-text { display: block; margin-bottom: 4px; }
  :where(.dashboard) .cs-draw-hint .cs-draw-achv-link:not([hidden]) { display: inline-flex; margin-right: 1.2em; }



















  :where(.dashboard) .build-step-row,
  :where(.profile-page) .build-step-row { row-gap: 0.45em; }
  :where(.dashboard) .build-step-head { min-width: min(100%, 220px); }
  :where(.dashboard) .build-step-select { max-width: 100%; min-width: 0; }


  :where(.dashboard) .build-es-grid,
  :where(.profile-page) .build-es-grid {
    grid-template-columns: 1fr;
  }









  :where(.dashboard) .build-weapon-panel.is-active {
    scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 52px);
  }









  .dashboard .hs-table { font-size: 0.88em; }
  .dashboard .hs-table th, .dashboard .hs-table td { padding: 0.42em 0.6em; }



  :where(.dashboard) .cs-sort-btn {
    min-height: 44px;
    padding: 10px 14px;
  }


  :where(.dashboard) .achievement-claim-btn {
    min-height: 44px;
    padding: 0.55em 1em;
  }





}


@media (max-width: 480px) {





























  :where(.dashboard) .cs-draw-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  :where(.dashboard) .cs-draw-counter { justify-content: center; }
  :where(.dashboard) .draw-btn { width: 100%; justify-content: center; }
  :where(.dashboard) .draw-result {
    margin-left: 0;
    align-self: center;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 32px);
    -webkit-mask-image: linear-gradient(to right, transparent, black 32px);
  }

  .dash-stats { gap: 0.5em; }













  :where(.dashboard) .build-stage,
  :where(.profile-page) .build-stage { padding: 0.8em 0.7em; gap: 0.6em; }
  :where(.dashboard) .build-dot,
  :where(.profile-page) .build-dot { width: 24px; height: 24px; font-size: var(--fs-caption); }
  :where(.dashboard) .build-spine,
  :where(.profile-page) .build-spine { flex: 0 0 24px; }
  :where(.dashboard) .build-spine-line,
  :where(.profile-page) .build-spine-line { top: 24px; }


  :where(.dashboard) .build-es-cell,
  :where(.profile-page) .build-es-cell { padding: 0.35em 0.5em; }
  :where(.dashboard) .build-es-bar,
  :where(.profile-page) .build-es-bar { flex: 0 0 40px; }
  :where(.dashboard) .build-es-v,
  :where(.profile-page) .build-es-v { min-width: 48px; }




}







































@media (max-width: 600px) {




















  .dashboard .dash-tabs,
  .profile-page .dash-tabs {
    position: sticky;




    top: env(safe-area-inset-top, 0px);
    z-index: 30;













    margin: 0 -1em 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;


    background: var(--bg);
  }





  .dashboard .dash-tab .tab-label--full,
  .profile-page .dash-tab .tab-label--full { display: none; }
  .dashboard .dash-tab .tab-label--mobile,
  .profile-page .dash-tab .tab-label--mobile { display: inline; }













  .dashboard .dash-tab .tab-badge--sp,
  .dashboard .dash-tab .tab-badge--draw,
  .dashboard .dash-tab .tab-badge--ach,
  .dashboard .dash-tab .tab-badge--shop,
  .dashboard .dash-tab .tab-badge--invite,
  .profile-page .dash-tab .tab-badge--sp,
  .profile-page .dash-tab .tab-badge--draw,
  .profile-page .dash-tab .tab-badge--ach,
  .profile-page .dash-tab .tab-badge--shop,
  .profile-page .dash-tab .tab-badge--invite {
    position: absolute;
    top: 4px;
    right: 8%;
    margin-left: 0;
  }



  .dashboard .dash-tab.active .tab-badge--sp,
  .dashboard .dash-tab.active .tab-badge--draw,
  .dashboard .dash-tab.active .tab-badge--ach,
  .dashboard .dash-tab.active .tab-badge--shop,
  .dashboard .dash-tab.active .tab-badge--invite,
  .profile-page .dash-tab.active .tab-badge--sp,
  .profile-page .dash-tab.active .tab-badge--draw,
  .profile-page .dash-tab.active .tab-badge--ach,
  .profile-page .dash-tab.active .tab-badge--shop,
  .profile-page .dash-tab.active .tab-badge--invite {
    position: static;
    margin-left: 0.35em;
  }























  .embed-surface:has(.dash-header) .dash-tabs {
    --embed-fixed-header-h: 84px;
    top: var(--embed-fixed-header-h);
    margin-top: var(--embed-fixed-header-h);
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }






  .embed-surface.ct-embed-mount .dash-tabs {
    top: 0;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

















  .dashboard .dash-header,
  .profile-page .pf-account-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5em;
    padding: 0.5em 0.7em;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 8, 15, 0.92);
    backdrop-filter: blur(6px);
  }
  .dashboard .dash-header::-webkit-scrollbar,
  .profile-page .pf-account-bar::-webkit-scrollbar { display: none; }








  .dashboard .dash-id {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: baseline;
    gap: 0.35em;
    white-space: nowrap;
  }
  .dashboard .dash-name { font-size: 0.95em; }
  .dashboard .dash-handle { font-size: 0.75em; }
  .dashboard .dash-stats,
  .profile-page .pf-account-bar .dash-stats {
    flex-wrap: nowrap;
    gap: 0.4em;
  }
  .dashboard .stat-pill,
  .profile-page .pf-account-bar .stat-pill {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 0.3em;
    min-width: 0;
    padding: 0.3em 0.55em;
  }



  .dashboard .stat-num,
  .profile-page .pf-account-bar .stat-num { font-size: 0.85em; }
  .dashboard .stat-label,
  .profile-page .pf-account-bar .stat-label { display: none; }













  .embed-surface .dash-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }





















  .embed-surface .dash-header.pf-account-bar {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
  }













































  :where(.dashboard) .cs-card {
    --card-min-fs: 11px;
    --card-name-fs: 12px;
  }
  :where(.dashboard) .cs-card-surface {
    padding: 9px 7px 7px;
  }
  :where(.dashboard) .cs-card-icon {
    font-size: 39px;
  }
  :where(.dashboard) .cs-card-body {
    padding-right: 22px;
  }

  .dashboard .cs-card.is-heal .cs-card-effect--mechanic {
    margin-right: -22px;
  }
  :where(.dashboard) .cs-card-name {
    font-size: var(--card-name-fs);
  }
  :where(.dashboard) .cs-card-bonus {
    font-size: 13px;
  }
  :where(.dashboard) .cs-card-effect {
    font-size: var(--card-name-fs);
  }
  :where(.dashboard) .cs-card-sub {
    font-size: var(--card-min-fs);
  }





  :where(.dashboard) .cs-card-tier-badge {
    font-size: var(--card-min-fs);
    bottom: 5px;
    right: 5px;
    padding: 3px 6px;
  }
  :where(.dashboard) .cs-card-count {
    min-width: 20px;
    height: 20px;
    font-size: var(--card-min-fs);
    top: 4px;
    right: 4px;
  }
  :where(.dashboard) .cs-upgrade-chevron {
    font-size: 17px;
    --chev-top: 2px;
    --chev-left: 5px;
  }
  :where(.dashboard) .cs-click-hint {


    font-size: var(--card-min-fs);
  }
  :where(.dashboard) .cs-upgrade-cta {


    font-size: var(--card-min-fs);
  }
  :where(.dashboard) .cs-card-touch-preview {
    font-size: var(--card-min-fs);
    padding: 4px 5px;
  }





























  :where(.dashboard) .cs-bl-hdr {
    padding: 6px 6px 0;
  }
  :where(.dashboard) .cs-bl-icon {
    width: 20px;
    height: 20px;
  }
  :where(.dashboard) .cs-bl-icon svg {
    width: 18px;
    height: 18px;
  }
  :where(.dashboard) .cs-bl-name {


    font-size: var(--card-name-fs);
  }
  :where(.dashboard) .cs-bl-accent {
    margin: 5px 6px 0;
  }
  :where(.dashboard) .cs-bl-body {
    gap: 5px;
    padding: 6px;
  }
  :where(.dashboard) .cs-bl-effect {


    font-size: var(--card-name-fs);
  }
  :where(.dashboard) .cs-bl-runglobal {


    font-size: var(--card-min-fs);
  }





  :where(.dashboard) .cs-view-rows { gap: 10px; }
  :where(.dashboard) .cs-head-panel { position: static; }
  :where(.dashboard) .cs-head-body { max-height: none; overflow: visible; padding-right: 0; }

  :where(.dashboard) .cs-head-pickwrap { display: none; }
  :where(.dashboard) .cs-head-mpick { display: block; }
  :where(.dashboard) .cs-head-others { flex: 1 1 100%; }
}







.ob-wt {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.ob-wt.ob-wt--hidden { display: none; }


.ob-spot {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 0 0 3px var(--cyan), 0 0 22px 4px rgba(56,225,255,.30);
  transition: all .2s ease;
  pointer-events: none;
  animation: ob-spot-pulse 1.6s ease-in-out infinite;
}
@keyframes ob-spot-pulse {
  0%,100% { box-shadow: 0 0 0 3px var(--cyan), 0 0 18px 2px rgba(56,225,255,.30); }
  50%      { box-shadow: 0 0 0 3px var(--cyan), 0 0 28px 8px rgba(56,225,255,.30); }
}


.ob-card {
  position: absolute;
  width: min(320px, 86vw);
  pointer-events: auto;
  background: var(--bg2, #121826);
  border: 1px solid var(--cyan, #38e1ff);
  border-radius: var(--r-cont, 10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  padding: 14px 16px;
  animation: ob-card-pop .22s ease-out;
}
@keyframes ob-card-pop {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.ob-kick {
  color: var(--cyan, #38e1ff);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.ob-step {
  float: right;
  color: var(--muted, #6b7a96);
  font-size: 11px;
}
.ob-card .ob-title {
  margin: 6px 0 4px;
  font-size: 15px;
}
.ob-card .ob-body {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text, #e8eef7);
}
.ob-card .ob-body b    { color: var(--cyan, #38e1ff); }
.ob-card .ob-body .ob-m { color: var(--magenta, #ff5cf0); }


















.ob-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
}
.ob-cta {
  background: var(--cyan, #38e1ff);
  color: #04222b;
  border: 0;
  border-radius: var(--r-box, 8px);
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
  font-size: 13px;
}

.ob-cta:hover {
  box-shadow: 0 0 16px rgba(56,225,255,.4);
}
.ob-back {
  background: none;
  border: 0;
  color: var(--muted, #6b7a96);
  font-size: 12px;
  cursor: pointer;
  padding: 6px;
  min-height: 28px;
}
.ob-skip {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--muted, #6b7a96);
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px;
  min-height: 28px;
}

