/* Tsukiro 3.6.33 — return to gradient UI, warm rose palette, remove stray pink tabs. */
:root{
  --accent:#ff4fa3!important;
  --accent-2:#ff8ac6!important;
  --accent-soft:rgba(255,79,163,.14)!important;
  --discovery-accent:#ff5aa9!important;
  --discovery-accent-2:#ff90cc!important;
}
html[data-candy-ui="true"]{
  --c292-pink:#ef5aa8!important;
  --c292-violet:#ff8fca!important;
}

/* Restore dimensional buttons with a cleaner pink gradient. */
.button-primary,.auth-submit,.premium-buy-button,
.watch-next-toast button,.community-chat-form button,
.hero-actions .button,.premium-trial-action{
  background:linear-gradient(135deg,#ff559f 0%,#ff63af 50%,#ff8bca 100%)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 36px rgba(255,79,163,.22)!important;
}
.button-primary:hover,.auth-submit:hover,.premium-buy-button:hover,
.watch-next-toast button:hover,.community-chat-form button:hover,
.hero-actions .button:hover,.premium-trial-action:hover{
  background:linear-gradient(135deg,#ff63ab 0%,#ff71ba 50%,#ff98d0 100%)!important;
  box-shadow:0 18px 40px rgba(255,79,163,.26)!important;
}
.button-primary:active,.auth-submit:active,.premium-buy-button:active,
.watch-next-toast button:active,.community-chat-form button:active,
.hero-actions .button:active,.premium-trial-action:active{
  transform:translateY(0)!important;
  box-shadow:0 10px 24px rgba(255,79,163,.20)!important;
}

/* Keep all generic controls rounded and clean so sharp square bleed disappears. */
button,.button,a.button,input[type="button"],input[type="submit"],
.icon-button,.small-button,.button-small,.auth-tab,.auth-password-toggle,
.auth-forgot-link,.premium-nav-button,.watch-control-button,.watch-source-button,
.watch-franchise-button,.watch-editor-button,.watch-settings-button,.watch-settings-back,
.watch-center-play,.watch-skip-button,.watch-last-episode-button,.party-ready-button,
.discovery-bell,.discovery-roulette__spin-button,.profile-logout,.community-commands-button,
.community-chat-fab,.account-delete-open,.telegram-hub-unlink,.text-button,
.filters-mobile-toggle,.filters-mobile-close,.room-create-button,
.catalog-roulette-launch,.catalog-presets-v351__random,.oauth-provider-row{
  border-radius:14px!important;
  overflow:hidden!important;
  background-clip:padding-box!important;
}

/* Remove decorative side slivers/"tongues" that started appearing near controls. */
button::before,button::after,
.button::before,.button::after,
a.button::before,a.button::after,
.icon-button::before,.icon-button::after,
.small-button::before,.small-button::after,
.button-small::before,.button-small::after,
.auth-tab::before,.auth-tab::after,
.premium-nav-button::before,.premium-nav-button::after,
.watch-control-button::before,.watch-control-button::after,
.watch-source-button::before,.watch-source-button::after,
.watch-franchise-button::before,.watch-franchise-button::after,
.watch-editor-button::before,.watch-editor-button::after,
.watch-settings-button::before,.watch-settings-button::after,
.watch-settings-back::before,.watch-settings-back::after,
.discovery-bell::before,.discovery-bell::after,
.community-chat-fab::before,.community-chat-fab::after,
.oauth-provider-row::before,.oauth-provider-row::after,
[class*="-button"]::before,[class*="-button"]::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
  filter:none!important;
}

/* Restore gradient accents across active states. */
.level-progress span,.rooms-live-pills span::before,.hero-loading-indicator i,
.v240-genre-bars b,.v240-progress i,.loader-line span,.progress span,.progress-bar span,
.premium-progress span{
  background:linear-gradient(90deg,#ff4fa3,#ff73b8,#ff8ac6)!important;
  box-shadow:none!important;
}

.episode-button.active,.profile-button.is-admin,.chronology-item.is-current,.premium-plan-best,
.collection-card-v7.is-open,.profile-title-badge,.v240-achievement.is-unlocked,
.level-rank-card.rank-1,.level-rank-card.rank-2,.level-rank-card.rank-3,
.search-type-tabs button.active,.schedule-tabs button.active,
.discovery-schedule-tabs button.active,.premium-nav-button.is-active,
.admin-tab.active{
  background-image:linear-gradient(135deg,rgba(255,79,163,.18),rgba(255,138,198,.10))!important;
  border-color:rgba(255,79,163,.32)!important;
}

/* Keep hero/rooms/premium visuals dimensional, just recolor them. */
.hero-command-core{
  background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.15),rgba(55,24,43,.91) 48%,rgba(9,8,14,.96))!important;
  box-shadow:0 28px 70px rgba(0,0,0,.5),0 0 70px rgba(255,79,163,.18),inset 0 1px rgba(255,255,255,.14)!important;
}
.hero-command-core strong,
body[data-page="premium"] .premium-hero-copy h1 em,
body[data-page="premium"] .premium-float-card b,
body[data-page="premium"] .premium-core strong{
  background:linear-gradient(135deg,#ff86c3,#ff4fa3,#ff9fd6)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}
body[data-page="rooms"] .rooms-hero-v352,
body[data-page="premium"] .premium-hero-v352{
  background:radial-gradient(circle at 79% 31%,rgba(255,104,174,.16),transparent 31%),
             radial-gradient(circle at 8% 92%,rgba(255,92,168,.12),transparent 31%),
             linear-gradient(135deg,rgba(24,21,34,.97),rgba(8,8,13,.96))!important;
}
.rooms-signal-ring::after,.premium-orbit::after,.hero-command-ring::after{
  background:#ff70b8!important;
  box-shadow:0 0 18px rgba(255,92,168,.30)!important;
}
.rooms-signal-core,.premium-core{
  background:radial-gradient(circle at 35% 27%,rgba(255,255,255,.15),rgba(48,23,39,.94) 52%,rgba(8,8,13,.98))!important;
}
.rooms-signal-core b{color:#ff93c8!important;filter:none!important;text-shadow:none!important}

/* Fix hard square surfaces introduced by broad overrides and keep cards soft. */
.section,.home-sections>section,.page-main,.catalog-layout,.anime-detail-layout,
.profile-dashboard-v6,.profile-overview-grid{background:transparent!important}
.panel,.modal,.dialog,.sheet,.drawer,.auth-card,.profile-card,.profile-settings-card,
.admin-panel,.admin-owner-tools,.premium-card,.premium-plan,.premium-benefit,
.collection-story-card,.collection-page-hero,.rooms-card,.room-card,.roulette-panel,
.level-rank-card,.v240-achievement,.premium-hero-v352,.rooms-hero-v352,
.quick-start-card,.info-grid>div,.watch-player-shell,.watch-options-card,
.watch-episode-card,.search-result,.collection-choice{
  border-radius:18px!important;
  overflow:hidden!important;
  background-clip:padding-box!important;
}

/* Home hero progress strip should stretch cleanly instead of breaking awkwardly. */
body[data-page="home"] .hero-rotation-progress{
  width:min(520px,100%)!important;
  margin-top:18px!important;
  gap:12px!important;
  align-items:center!important;
}
body[data-page="home"] .hero-rotation-progress__track{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:4px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
body[data-page="home"] .hero-rotation-progress__track::before,
body[data-page="home"] .hero-rotation-progress__track::after{
  content:none!important;
  display:none!important;
}
body[data-page="home"] #heroRotationProgressFill,
body[data-page="home"] .hero-rotation-progress__track i{
  background:linear-gradient(90deg,#ff4fa3 0%,#ff6db6 55%,#ff8ac6 100%)!important;
  box-shadow:0 0 14px rgba(255,79,163,.26)!important;
}
body[data-page="home"] .hero-rotation-progress__label{
  color:rgba(235,221,229,.56)!important;
}

/* Footer/social hover keeps the same palette. */
html[data-candy-ui="true"] .tsukiro-social-button:hover,
html[data-candy-ui="true"] body[data-page="anime"] .info-grid>div:hover,
.discovery-notification,
.discovery-notification__icon,
.translation-modal-icon{
  background-image:linear-gradient(135deg,rgba(255,92,168,.12),rgba(255,143,202,.08))!important;
}
