/* =====================================================
   FIMIPLAY HELP & SUPPORT
===================================================== */

:root {

  --fimiplay-bg:
    #00162b;

  --fimiplay-bg-deep:
    #000c19;

  --fimiplay-panel:
    #061f38;

  --fimiplay-panel-light:
    #0a2947;

  --fimiplay-border:
    rgba(110, 190, 255, 0.18);

  --fimiplay-blue:
    #00a8ff;

  --fimiplay-blue-light:
    #35c8ff;

  --fimiplay-purple:
    #6b25ff;

  --fimiplay-pink:
    #ff16a8;

  --fimiplay-green:
    #00d796;

  --fimiplay-orange:
    #ff9d00;

  --fimiplay-text:
    #ffffff;

  --fimiplay-muted:
    #a8bdd1;

}


/* =====================================================
   RESET
===================================================== */

* {

  box-sizing:
    border-box;

}


html {

  min-height:
    100%;

  background:
    var(--fimiplay-bg-deep);

}


body {

  margin:
    0;

  min-height:
    100vh;

  background:

    radial-gradient(
      circle at 90% 0%,
      rgba(0, 168, 255, 0.13),
      transparent 32%
    ),

    linear-gradient(
      180deg,
      #001b34 0%,
      #001326 45%,
      #000c19 100%
    );

  color:
    var(--fimiplay-text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

}


button,
input,
a {

  font:
    inherit;

}


button {

  color:
    inherit;

}


a {

  color:
    inherit;

  text-decoration:
    none;

}


/* =====================================================
   APP
===================================================== */

.help-app {

  width:
    min(
      100%,
      760px
    );

  min-height:
    100vh;

  margin:
    0 auto;

  background:

    linear-gradient(
      180deg,
      rgba(0, 29, 54, 0.98),
      rgba(0, 13, 27, 0.99)
    );

  box-shadow:
    0 0 80px rgba(0, 0, 0, 0.55);

}


/* =====================================================
   HEADER
===================================================== */

.help-header {

  position:
    sticky;

  top:
    0;

  z-index:
    50;

  min-height:
    76px;

  display:
    grid;

  grid-template-columns:
    48px 1fr 48px;

  align-items:
    center;

  gap:
    12px;

  padding:

    calc(
      12px +
      env(safe-area-inset-top)
    )

    18px

    12px;

  background:
    rgba(0, 20, 39, 0.96);

  border-bottom:
    1px solid
    rgba(113, 187, 255, 0.16);

  backdrop-filter:
    blur(16px);

}


.header-back,
.header-close {

  width:
    42px;

  height:
    42px;

  border:
    0;

  border-radius:
    12px;

  background:
    transparent;

  color:
    white;

  font-size:
    34px;

  line-height:
    1;

  cursor:
    pointer;

}


.header-back:hover,
.header-close:hover {

  background:
    rgba(255, 255, 255, 0.08);

}


.header-title {

  min-width:
    0;

}


.header-title strong {

  display:
    block;

  font-size:
    24px;

  line-height:
    1.1;

}


.header-title small {

  display:
    block;

  margin-top:
    5px;

  color:
    #74d9ff;

  font-size:
    9px;

  letter-spacing:
    2px;

}


/* =====================================================
   SCREENS
===================================================== */

.help-screen {

  display:
    none;

  padding:
    22px 18px 50px;

}


.help-screen.active {

  display:
    block;

  animation:
    screenIn
    0.22s
    ease;

}


@keyframes screenIn {

  from {

    opacity:
      0;

    transform:
      translateX(12px);

  }

  to {

    opacity:
      1;

    transform:
      translateX(0);

  }

}


/* =====================================================
   HOME INTRO
===================================================== */

.help-intro {

  padding:
    4px 6px 18px;

}


.help-eyebrow {

  color:
    var(--fimiplay-blue-light);

  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    1.7px;

}


.help-intro h1 {

  margin:
    7px 0 6px;

  font-size:
    clamp(
      28px,
      5vw,
      38px
    );

}


.help-intro p {

  max-width:
    590px;

  margin:
    0;

  color:
    var(--fimiplay-muted);

  font-size:
    16px;

  line-height:
    1.55;

}


/* =====================================================
   SEARCH
===================================================== */

.help-search {

  height:
    54px;

  display:
    grid;

  grid-template-columns:
    34px 1fr 34px;

  align-items:
    center;

  margin-bottom:
    18px;

  padding:
    0 13px;

  border:
    1px solid
    rgba(87, 180, 255, 0.45);

  border-radius:
    27px;

  background:
    rgba(10, 43, 74, 0.8);

  box-shadow:
    inset 0 0 20px
    rgba(0, 130, 255, 0.04);

}


.help-search > span {

  font-size:
    26px;

  color:
    white;

}


.help-search input {

  width:
    100%;

  border:
    0;

  outline:
    0;

  background:
    transparent;

  color:
    white;

  font-size:
    16px;

}


.help-search input::placeholder {

  color:
    #b5c6d8;

}


.help-search button {

  border:
    0;

  background:
    transparent;

  color:
    #c5d7e7;

  font-size:
    24px;

  cursor:
    pointer;

}


/* =====================================================
   TOPICS
===================================================== */

.help-topics {

  display:
    grid;

  gap:
    8px;

}


.help-topic {

  width:
    100%;

  min-height:
    78px;

  display:
    grid;

  grid-template-columns:
    58px 1fr 24px;

  align-items:
    center;

  gap:
    13px;

  padding:
    10px 13px;

  border:
    1px solid
    var(--fimiplay-border);

  border-radius:
    14px;

  background:

    linear-gradient(
      135deg,
      rgba(10, 43, 74, 0.96),
      rgba(5, 29, 52, 0.96)
    );

  text-align:
    left;

  cursor:
    pointer;

  transition:
    0.18s ease;

}


.help-topic:hover {

  transform:
    translateY(-1px);

  border-color:
    rgba(53, 200, 255, 0.55);

  background:

    linear-gradient(
      135deg,
      rgba(13, 58, 98, 0.98),
      rgba(7, 36, 64, 0.98)
    );

}


.topic-icon {

  width:
    54px;

  height:
    54px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    13px;

  color:
    white;

  font-size:
    27px;

  font-weight:
    800;

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.18);

}


.icon-start {

  background:
    linear-gradient(
      145deg,
      #22c8ff,
      #0075dd
    );

}


.icon-music {

  background:
    linear-gradient(
      145deg,
      #7554ff,
      #3221dc
    );

}


.icon-radio {

  background:
    linear-gradient(
      145deg,
      #ff37c0,
      #d50086
    );

}


.icon-live {

  background:
    linear-gradient(
      145deg,
      #14e4a1,
      #009c6c
    );

}


.icon-vibe {

  background:
    linear-gradient(
      145deg,
      #b31dff,
      #5415ef
    );

}


.icon-songid {

  background:
    linear-gradient(
      145deg,
      #37cfff,
      #0081ee
    );

}


.icon-notes {

  background:
    linear-gradient(
      145deg,
      #ffc328,
      #ff8700
    );

}


.icon-account {

  background:
    linear-gradient(
      145deg,
      #3576dc,
      #133c87
    );

}


.icon-feedback {

  background:
    linear-gradient(
      145deg,
      #8249f7,
      #42169d
    );

  font-size:
    15px;

}


.icon-support {

  background:
    linear-gradient(
      145deg,
      #13c4ca,
      #08727f
    );

}


.topic-copy {

  min-width:
    0;

}


.topic-copy strong {

  display:
    block;

  margin-bottom:
    3px;

  font-size:
    17px;

}


.topic-copy small {

  display:
    block;

  color:
    #b8c8d8;

  font-size:
    14px;

  line-height:
    1.3;

}


.topic-arrow {

  color:
    #d7e7f4;

  font-size:
    29px;

}


.no-results {

  padding:
    40px 20px;

  text-align:
    center;

  color:
    #a9bfd2;

}


.no-results strong,
.no-results span {

  display:
    block;

}


.no-results strong {

  margin-bottom:
    6px;

  color:
    white;

}


/* =====================================================
   HERO
===================================================== */

.topic-hero {

  position:
    relative;

  min-height:
    180px;

  display:
    grid;

  grid-template-columns:
    1fr 220px;

  align-items:
    center;

  overflow:
    hidden;

  padding:
    24px;

  margin-bottom:
    18px;

  border:
    1px solid
    rgba(113, 126, 255, 0.45);

  border-radius:
    18px;

  background:

    radial-gradient(
      circle at 80% 50%,
      rgba(255, 0, 199, 0.36),
      transparent 34%
    ),

    linear-gradient(
      115deg,
      #2911b9,
      #4b19ed 48%,
      #151579
    );

  box-shadow:
    0 14px 34px
    rgba(0, 0, 0, 0.22);

}


.topic-hero::after {

  content:
    "";

  position:
    absolute;

  inset:
    0;

  pointer-events:
    none;

  background:

    repeating-linear-gradient(
      90deg,
      transparent 0 24px,
      rgba(34, 211, 255, 0.07) 25px,
      transparent 26px
    );

}


.topic-hero > div {

  position:
    relative;

  z-index:
    2;

}


.topic-hero > div:first-child {

  max-width:
    410px;

}


.topic-hero span {

  font-weight:
    900;

  letter-spacing:
    0.4px;

}


.topic-hero h1 {

  margin:
    5px 0 8px;

  font-size:
    clamp(
      30px,
      6vw,
      43px
    );

  line-height:
    1;

}


.topic-hero p {

  margin:
    0;

  color:
    #eef5ff;

  font-size:
    15px;

  line-height:
    1.45;

}


.hero-art {

  justify-self:
    center;

  display:
    grid;

  place-items:
    center;

  width:
    120px;

  height:
    120px;

  border-radius:
    32px;

  background:
    rgba(255, 255, 255, 0.1);

  font-size:
    65px;

  box-shadow:

    0 0 40px
    rgba(0, 204, 255, 0.28),

    inset 0 0 30px
    rgba(255, 255, 255, 0.08);

}


/* =====================================================
   MUSIC HERO ART
===================================================== */

.music-hero-art {

  position:
    relative;

  height:
    150px;

}


.hero-phone {

  position:
    absolute;

  left:
    50%;

  top:
    50%;

  width:
    105px;

  height:
    150px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  transform:
    translate(
      -50%,
      -50%
    )
    rotate(7deg);

  border:
    5px solid
    #051124;

  border-radius:
    19px;

  background:

    radial-gradient(
      circle at 50% 35%,
      #ff167f,
      transparent 33%
    ),

    linear-gradient(
      180deg,
      #161659,
      #06152c
    );

  box-shadow:
    0 18px 30px
    rgba(0, 0, 0, 0.4);

}


.hero-phone small {

  font-size:
    8px;

}


.hero-phone strong {

  margin:
    12px 4px 3px;

  font-size:
    13px;

}


.hero-phone > span {

  font-size:
    32px;

}


.hero-phone button {

  width:
    34px;

  height:
    34px;

  margin-top:
    6px;

  border:
    0;

  border-radius:
    50%;

  background:
    #13baff;

  color:
    white;

}


.hero-note {

  position:
    absolute;

  color:
    #29dcff;

  font-size:
    42px;

  text-shadow:
    0 0 16px
    rgba(0, 222, 255, 0.9);

}


.note-one {

  left:
    10px;

  top:
    18px;

}


.note-two {

  right:
    5px;

  bottom:
    18px;

}


/* =====================================================
   NOTES HERO
===================================================== */

.notes-hero-art {

  position:
    relative;

  min-height:
    140px;

}


.notepad {

  position:
    absolute;

  left:
    50%;

  top:
    50%;

  width:
    95px;

  height:
    115px;

  padding:
    35px 15px 12px;

  transform:
    translate(
      -50%,
      -50%
    )
    rotate(7deg);

  border-radius:
    14px;

  background:
    #f5f5ff;

  box-shadow:
    0 15px 30px
    rgba(0, 0, 0, 0.35);

}


.notepad::before {

  content:
    "";

  position:
    absolute;

  left:
    12px;

  right:
    12px;

  top:
    12px;

  height:
    14px;

  border-radius:
    7px;

  background:

    repeating-linear-gradient(
      90deg,
      #7348ff 0 7px,
      transparent 7px 15px
    );

}


.notepad div {

  height:
    4px;

  margin-bottom:
    9px;

  border-radius:
    4px;

  background:
    #aab0ca;

}


.notepad span {

  position:
    absolute;

  right:
    -17px;

  bottom:
    5px;

  color:
    #7a2cff;

  font-size:
    45px;

}


.notes-music-one,
.notes-music-two {

  position:
    absolute;

  color:
    #1bdfff;

  font-size:
    38px;

}


.notes-music-one {

  left:
    5px;

  top:
    20px;

}


.notes-music-two {

  right:
    5px;

  bottom:
    20px;

}


/* =====================================================
   HERO VARIATIONS
===================================================== */

.hero-start {

  background:
    linear-gradient(
      120deg,
      #006fb3,
      #183fce
    );

}


.hero-radio {

  background:
    linear-gradient(
      120deg,
      #a00083,
      #ef158b
    );

}


.hero-live {

  background:
    linear-gradient(
      120deg,
      #008c68,
      #00c796
    );

}


.hero-vibe {

  background:
    linear-gradient(
      120deg,
      #5a0fd7,
      #b51cff
    );

}


.hero-songid {

  background:
    linear-gradient(
      120deg,
      #006db6,
      #00aef4
    );

}


.hero-account {

  background:
    linear-gradient(
      120deg,
      #173c7b,
      #2864bd
    );

}


.hero-feedback {

  background:
    linear-gradient(
      120deg,
      #4e198e,
      #8628d5
    );

}


.hero-support {

  background:
    linear-gradient(
      120deg,
      #006a77,
      #00aebc
    );

}


/* =====================================================
   GUIDES
===================================================== */

.guide-list {

  display:
    grid;

  gap:
    9px;

}


.guide-card {

  min-height:
    96px;

  display:
    grid;

  grid-template-columns:
    auto auto 1fr;

  align-items:
    center;

  gap:
    14px;

  padding:
    12px 15px;

  border:
    1px solid
    var(--fimiplay-border);

  border-radius:
    14px;

  background:

    linear-gradient(
      135deg,
      rgba(8, 40, 70, 0.98),
      rgba(4, 27, 49, 0.98)
    );

}


.guide-card:not(:has(.guide-preview)) {

  grid-template-columns:
    auto 1fr;

}


.guide-number {

  width:
    29px;

  height:
    29px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #13baf4;

  color:
    white;

  font-size:
    14px;

  font-weight:
    900;

  box-shadow:
    0 0 15px
    rgba(0, 190, 255, 0.25);

}


.guide-card h2 {

  margin:
    0 0 5px;

  font-size:
    17px;

}


.guide-card p {

  margin:
    0;

  color:
    #bfd0df;

  font-size:
    14px;

  line-height:
    1.4;

}


/* =====================================================
   MINI PREVIEWS
===================================================== */

.guide-preview {

  width:
    130px;

  min-height:
    72px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  overflow:
    hidden;

  border-radius:
    11px;

  background:
    #031225;

  box-shadow:
    inset 0 0 0 1px
    rgba(60, 160, 255, 0.15);

}


.search-preview {

  height:
    38px;

  min-height:
    38px;

  justify-content:
    flex-start;

  padding:
    0 12px;

  border:
    1px solid
    #168ae1;

  border-radius:
    20px;

  color:
    #c5d8ea;

  font-size:
    12px;

}


.player-preview {

  gap:
    17px;

  color:
    white;

}


.player-preview strong {

  width:
    43px;

  height:
    43px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #09aef4;

  box-shadow:
    0 0 20px
    rgba(0, 174, 244, 0.55);

}


.vibe-preview {

  gap:
    10px;

  background:

    linear-gradient(
      130deg,
      #ff147f,
      #6624ff
    );

  font-size:
    29px;

}


.vibe-preview strong {

  width:
    43px;

  height:
    43px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #079fe6;

}


.premium-preview {

  gap:
    4px;

  background:
    linear-gradient(
      135deg,
      #160e46,
      #3d146b
    );

}


.premium-preview span {

  width:
    35px;

  height:
    50px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    6px;

  background:
    linear-gradient(
      180deg,
      #b629ff,
      #3d1cc7
    );

}


.credits-preview {

  color:
    #ffd229;

  font-size:
    27px;

  text-shadow:
    0 0 12px
    #ff9d00;

}


.send-preview {

  position:
    relative;

  flex-direction:
    column;

  align-items:
    stretch;

  padding:
    8px;

  color:
    #dcecff;

  font-size:
    9px;

}


.send-preview small,
.send-preview span {

  display:
    block;

  margin:
    2px;

  padding:
    4px 6px;

  border-radius:
    5px;

  background:
    #102942;

}


.send-preview strong {

  position:
    absolute;

  right:
    6px;

  bottom:
    6px;

  width:
    28px;

  height:
    28px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #009de8;

}


.notes-open-preview {

  color:
    white;

  font-size:
    38px;

  text-shadow:
    0 0 15px
    #00a8ff;

}


.note-preview {

  flex-direction:
    column;

  align-items:
    stretch;

  padding:
    8px;

  color:
    white;

  font-size:
    9px;

}


.note-preview strong {

  margin-bottom:
    5px;

}


.note-preview span {

  padding:
    4px;

  background:
    #f5f5f5;

  color:
    #111;

}


.save-preview {

  color:
    white;

  font-weight:
    800;

  background:

    linear-gradient(
      120deg,
      #123bff,
      #5d19ff
    );

}


.note-list-preview {

  flex-direction:
    column;

  align-items:
    stretch;

  padding:
    8px;

  font-size:
    9px;

}


.note-list-preview strong {

  margin-bottom:
    5px;

}


.note-list-preview span {

  margin:
    2px 0;

}


.edit-preview {

  gap:
    15px;

  font-size:
    23px;

}


.edit-preview span,
.edit-preview strong {

  width:
    42px;

  height:
    42px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    7px;

  background:
    #102942;

}


.edit-preview strong {

  background:
    #b41022;

}


/* =====================================================
   TIP
===================================================== */

.help-tip {

  display:
    grid;

  grid-template-columns:
    50px 1fr;

  align-items:
    center;

  gap:
    10px;

  margin-top:
    6px;

  padding:
    15px;

  border:
    1px solid
    rgba(31, 145, 255, 0.28);

  border-radius:
    14px;

  background:
    rgba(13, 57, 99, 0.65);

}


.help-tip > span {

  font-size:
    31px;

}


.help-tip p {

  margin:
    0;

  color:
    #c7d7e6;

  font-size:
    14px;

  line-height:
    1.4;

}


/* =====================================================
   SUPPORT ACTION
===================================================== */

.support-action-card {

  max-width:
    520px;

  margin:
    35px auto;

  padding:
    36px 24px;

  border:
    1px solid
    var(--fimiplay-border);

  border-radius:
    18px;

  background:
    var(--fimiplay-panel);

  text-align:
    center;

}


.support-big-icon {

  display:
    block;

  margin-bottom:
    15px;

  font-size:
    58px;

}


.support-action-card h2 {

  margin:
    0 0 8px;

  font-size:
    25px;

}


.support-action-card p {

  margin:
    0 auto 22px;

  max-width:
    390px;

  color:
    var(--fimiplay-muted);

  line-height:
    1.5;

}


.primary-help-button {

  min-height:
    48px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 24px;

  border-radius:
    24px;

  background:

    linear-gradient(
      120deg,
      #007dff,
      #6a24ff
    );

  color:
    white;

  font-weight:
    800;

  box-shadow:
    0 8px 24px
    rgba(0, 113, 255, 0.3);

}


/* =====================================================
   MOBILE
===================================================== */

@media
(
  max-width:
  620px
) {

  .help-header {

    min-height:
      67px;

    grid-template-columns:
      40px 1fr 40px;

    padding-left:
      10px;

    padding-right:
      10px;

  }


  .header-back,
  .header-close {

    width:
      38px;

    height:
      38px;

  }


  .header-title strong {

    font-size:
      20px;

  }


  .help-screen {

    padding:
      15px 10px 38px;

  }


  .help-intro {

    padding-left:
      4px;

    padding-right:
      4px;

  }


  .help-intro h1 {

    font-size:
      28px;

  }


  .help-intro p {

    font-size:
      14px;

  }


  .help-topic {

    min-height:
      72px;

    grid-template-columns:
      50px 1fr 20px;

    gap:
      10px;

    padding:
      9px 10px;

  }


  .topic-icon {

    width:
      48px;

    height:
      48px;

    font-size:
      24px;

  }


  .topic-copy strong {

    font-size:
      15px;

  }


  .topic-copy small {

    font-size:
      12px;

  }


  .topic-hero {

    min-height:
      155px;

    grid-template-columns:
      1fr 120px;

    padding:
      18px;

  }


  .topic-hero h1 {

    font-size:
      28px;

  }


  .topic-hero p {

    font-size:
      12px;

  }


  .hero-art {

    width:
      88px;

    height:
      88px;

    font-size:
      45px;

  }


  .music-hero-art,
  .notes-hero-art {

    transform:
      scale(0.78);

  }


  .guide-card {

    grid-template-columns:
      90px 27px 1fr;

    gap:
      9px;

    padding:
      10px;

  }


  .guide-card:not(:has(.guide-preview)) {

    grid-template-columns:
      27px 1fr;

  }


  .guide-preview {

    width:
      90px;

    min-height:
      65px;

  }


  .guide-number {

    width:
      25px;

    height:
      25px;

    font-size:
      12px;

  }


  .guide-card h2 {

    font-size:
      15px;

  }


  .guide-card p {

    font-size:
      12px;

  }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media
(
  max-width:
  390px
) {

  .topic-hero {

    grid-template-columns:
      1fr 90px;

  }


  .topic-hero h1 {

    font-size:
      25px;

  }


  .music-hero-art,
  .notes-hero-art {

    transform:
      scale(0.68);

  }


  .guide-card {

    grid-template-columns:
      72px 24px 1fr;

  }


  .guide-preview {

    width:
      72px;

  }

}