@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?umewm1');
  src:  url('fonts/icomoon.eot?umewm1#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?umewm1') format('truetype'),
    url('fonts/icomoon.woff?umewm1') format('woff'),
    url('fonts/icomoon.svg?umewm1#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-profile-male:before {
  content: "\e904";
}
.icon-profile-female:before {
  content: "\e905";
}
.icon-man:before {
  content: "\e906";
}
.icon-edit-copy:before {
  content: "\e907";
}
.icon-minus-solid:before {
  content: "\e902";
}
.icon-add-solid:before {
  content: "\e903";
}
.icon-search:before {
  content: "\f002";
}
.icon-heart:before {
  content: "\f004";
}
.icon-share-square-o:before {
  content: "\f045";
}
.icon-eye:before {
  content: "\f06e";
}
.icon-heart-o:before {
  content: "\f08a";
}
.icon-copy:before {
  content: "\f0c5";
}
.icon-files-o:before {
  content: "\f0c5";
}
.icon-female:before {
  content: "\f182";
}
.icon-male:before {
  content: "\f183";
}
.icon-thumbs-o-down:before {
  content: "\e900";
}
.icon-thumbs-o-up:before {
  content: "\e901";
}

.vote_green, .color_green  {
    color: #00b41a;
}
.vote_red, .color_red {
    color: #b4610f;
}
.moreNickWeek .one_variant{
    border: 1px solid #dee2e6;
}

.text_main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.symbol-item {
    background: #fff;
    box-shadow: 0 4px 8px rgba(71, 75, 255, 0.075);
    padding: 8px 5px;
    border-radius: 7px;
    border: 1px solid #d7d7d8;
    text-align: center;
    overflow: auto;
}

span.generated-text {
    font-size: 17px;
}

.action-buttons {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button.copy-btn {
    cursor: pointer;
    border: none;
    outline: 0;
    background: #f3f4f7;
    padding: 5px;
    width: 90px;
    border-radius: 5px;
}

button.like-btn {
    cursor: pointer;
    background: 0 0;
    padding: 0;
    margin: 0;
    width: 50px;
    color: #6a737b;
}

/* For tablets (768px and above) */
@media (max-width: 1024px) {
  .text_main {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Adjust full-width box to span 2 columns */
  .full-width {
    grid-column: span 2;
  }
}

/* For mobile devices (767px and below) */
@media (max-width: 767px) {
  .text_main {
    grid-template-columns: 1fr;
  }

  /* Adjust full-width box to span 1 column */
  .full-width {
    grid-column: span 1;
  }
}
/* ============================================================
   NICKNAME FEATURED - BỔ SUNG VÀO nickname.css
   ============================================================ */

/* Override grid: tự co giãn theo nội dung */
.nickname-featured-wrap.text_main {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-template-columns: unset;
}
@media (max-width: 1024px) {
    .nickname-featured-wrap.text_main {
        grid-template-columns: unset;
    }
}
@media (max-width: 767px) {
    .nickname-featured-wrap.text_main {
        grid-template-columns: unset;
    }
}

/* Item card */
.xnf-item {
    cursor: pointer;
    user-select: none;
    padding: 10px 14px 8px;
    border-radius: 10px;
    background: #f7f8fc;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 6px rgba(100,100,180,0.07);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
    position: relative;
    flex-shrink: 0;
    width: auto;
}
.xnf-item:hover {
    transform: translateY(-3px) scale(1.06);
    background: #fff;
    border-color: #c5caff;
    box-shadow: 0 8px 20px rgba(80,80,220,0.13);
    z-index: 2;
}
.xnf-item:active {
    transform: scale(0.97);
}

/* Inner */
.xnf-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    cursor: pointer;
}

/* Text */
.xnf-item .xnf-item-text {
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
    color: #2c2f4a;
    font-weight: 500;
}

/* SVG / img */
.xnf-item-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}
.xnf-item-svg svg {
    width: 38px;
    height: 38px;
    transition: transform 0.15s ease;
}
.xnf-item:hover .xnf-item-svg svg {
    transform: scale(1.1);
}
.xnf-item-svg img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: transform 0.15s ease;
}
.xnf-item:hover .xnf-item-svg img {
    transform: scale(1.1);
}

/* Copy hint */
.xnf-copy-hint {
    font-size: 10px;
    color: #bbb;
    opacity: 0;
    transition: opacity 0.15s ease;
    line-height: 1;
    position: absolute;
    bottom: 4px;
    right: 6px;
}
.xnf-item:hover .xnf-copy-hint {
    opacity: 1;
    color: #7c83ff;
}

/* Copied flash */
.xnf-item.copied {
    background: #edfaef;
    border-color: #68de7c;
}

/* Title */
.nickname-featured-title {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #2c2f4a;
}