/*
 * OPC mobile v2 — demand bounty + entrepreneur heat ranking
 * Structural mobile compositions based on the 2026-07-20 visual references.
 * Desktop remains owned by opc-community.css.
 */

.opc-v2-heat,
.opc-v2-demands {
  display: none;
}

@media (max-width: 820px) {
  #heat,
  #demands {
    padding: 0 0 34px;
    background: #f7f9fc;
  }

  #heat > .tcwf-section__inner,
  #demands > .tcwf-section__inner {
    display: none;
  }

  .opc-v2-heat,
  .opc-v2-demands {
    display: block;
    color: #111f3b;
  }

  .opc-v2-heat *,
  .opc-v2-demands * {
    box-sizing: border-box;
  }

  .opc-v2-heat button,
  .opc-v2-heat select,
  .opc-v2-demands button,
  .opc-v2-demands input {
    font: inherit;
  }

  .opc-v2-heat button,
  .opc-v2-demands button {
    cursor: pointer;
  }

  .opc-v2-heat button:active,
  .opc-v2-demands button:active {
    transform: translateY(1px);
  }

  .opc-v2-heat img,
  .opc-v2-demands img {
    display: block;
  }

  .opc-v2-heat .tcwf-visually-hidden,
  .opc-v2-demands .tcwf-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  .opc-v2-heat__inner,
  .opc-v2-demands__inner {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    padding: 10px clamp(12px, 4vw, 18px) 30px;
  }

  /* Heat ranking */

  .opc-v2-heat__note {
    display: grid;
    min-height: 56px;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    border: 1px solid #c8ddff;
    border-radius: 13px;
    background: #f1f6ff;
  }

  .opc-v2-heat__note-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #e0edff;
  }

  .opc-v2-heat__note-icon img {
    filter: invert(35%) sepia(93%) saturate(2641%) hue-rotate(207deg) brightness(99%) contrast(103%);
  }

  .opc-v2-heat__note p {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0;
  }

  .opc-v2-heat__note strong {
    font-size: 14px;
    line-height: 21px;
  }

  .opc-v2-heat__note p span {
    margin-top: 2px;
    color: #64738c;
    font-size: 11px;
    line-height: 17px;
  }

  .opc-v2-heat__status {
    position: relative;
    height: 54px;
    min-width: 0;
    margin: 14px 0 6px;
    padding: 4px 5px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #fff;
  }

  .opc-v2-heat__status legend {
    position: absolute;
    top: -10px;
    left: 9px;
    margin: 0;
    padding-inline: 5px;
    background: #f7f9fc;
    color: #14223c;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
  }

  .opc-v2-heat__status-rail,
  .opc-v2-demand-chips,
  .opc-v2-hot-demand__rail {
    scrollbar-width: none;
  }

  .opc-v2-heat__status-rail::-webkit-scrollbar,
  .opc-v2-demand-chips::-webkit-scrollbar,
  .opc-v2-hot-demand__rail::-webkit-scrollbar {
    display: none;
  }

  .opc-v2-heat__status-rail {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .opc-v2-heat__status-rail button {
    min-width: 62px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0 13px;
    border: 1px solid #dce3ee;
    border-radius: 22px;
    background: #fff;
    color: #55637b;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .opc-v2-heat__status-rail button[aria-pressed="true"] {
    border-color: #1769e0;
    background: #1769e0;
    color: #fff;
    font-weight: 600;
  }

  .opc-v2-heat__tools {
    display: flex;
    gap: 9px;
    margin: 0 4px 5px;
  }

  .opc-v2-heat__tools label {
    position: relative;
    display: grid;
    min-width: 0;
    height: 44px;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    padding-left: 12px;
    border: 1px solid #d9e1ed;
    border-radius: 22px;
    background: #fff;
  }

  .opc-v2-heat__tools label:first-child {
    width: 142px;
  }

  .opc-v2-heat__tools label:last-child {
    width: 126px;
  }

  .opc-v2-heat__tools label > img {
    pointer-events: none;
  }

  .opc-v2-heat__tools select {
    width: 100%;
    height: 44px;
    min-width: 0;
    padding: 0 22px 0 1px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d2c46;
    font-size: 12px;
  }

  .opc-v2-heat__result {
    min-height: 0;
    margin: 0;
    color: #65748d;
    font-size: 11px;
    line-height: 17px;
  }

  .opc-v2-heat__result:not(:empty) {
    margin: -6px 2px 11px;
  }

  .opc-v2-heat__ranking {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    align-items: start;
  }

  .opc-v2-heat-card {
    position: relative;
    min-width: 0;
    padding: 11px 8px 9px;
    border: 1px solid #dce4ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 55, 102, 0.045);
  }

  .opc-v2-heat-card[hidden] {
    display: none !important;
  }

  .opc-v2-heat-card__rank {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 7px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #c9daf5;
    border-radius: 13px;
    background: #eaf2ff;
    color: #1769e0;
    font-size: 11px;
    font-weight: 700;
  }

  .opc-v2-heat-card.is-top {
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .opc-v2-heat-card.is-top .opc-v2-heat-card__identity > img {
    width: 40px;
    height: 40px;
  }

  .opc-v2-heat-card.is-first {
    order: 2;
    border-color: #efc65d;
    background: #fffdf7;
  }

  .opc-v2-heat-card.is-first .opc-v2-heat-card__rank {
    border-color: #f1b735;
    background: #fff2c7;
    color: #b77200;
  }

  .opc-v2-heat-card.is-first .opc-v2-heat-card__identity > img {
    width: 44px;
    height: 44px;
    border-color: #f0bd3d;
  }

  .opc-v2-heat-card.is-second {
    order: 1;
    margin-top: 13px;
    border-color: #adcbff;
    background: #f9fbff;
  }

  .opc-v2-heat-card.is-third {
    order: 3;
    margin-top: 13px;
    border-color: #f3c9ac;
    background: #fffaf7;
  }

  .opc-v2-heat-card__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .opc-v2-heat-card__identity > img {
    width: 46px;
    height: 46px;
    border: 2px solid #d9e1ed;
    border-radius: 50%;
    object-fit: cover;
  }

  .opc-v2-heat-card__identity > div {
    min-width: 0;
  }

  .opc-v2-heat-card__identity p {
    margin: 3px 0 0;
    color: #718096;
    font-size: 9px;
    line-height: 14px;
  }

  .opc-v2-heat-card__identity h3 {
    display: -webkit-box;
    margin: 2px 0 0;
    overflow: hidden;
    color: #13213a;
    font-size: 12px;
    line-height: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .opc-v2-heat-card__identity small {
    display: none;
    overflow: hidden;
    color: #53617a;
    font-size: 9px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-heat-card__intro {
    display: none;
  }

  .opc-v2-heat-card__projects {
    display: grid;
    gap: 3px;
    margin-top: 4px;
  }

  .opc-v2-heat-card__projects button {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 1px;
    padding: 4px 5px;
    border: 1px solid #dfe6f0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.82);
    color: #20304d;
    text-align: left;
  }

  .opc-v2-heat-card__projects span {
    overflow: hidden;
    font-size: 9px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-heat-card__projects em {
    color: #1b70e8;
    font-size: 8px;
    font-style: normal;
    line-height: 12px;
  }

  .opc-v2-heat-card__projects em[data-status="collab"],
  .opc-v2-heat-card__projects em[data-status="profitable"] {
    color: #178757;
  }

  .opc-v2-heat-card footer {
    display: flex;
    min-height: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px solid #edf0f5;
    color: #68768e;
    font-size: 8px;
    line-height: 13px;
  }

  .opc-v2-heat-card footer span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }

  .opc-v2-heat-card footer span img {
    filter: invert(35%) sepia(93%) saturate(2641%) hue-rotate(207deg) brightness(99%) contrast(103%);
  }

  .opc-v2-heat-card footer button {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #0969e8;
    font-size: 9px;
  }

  .opc-v2-heat-card.is-top footer button,
  .opc-v2-heat-card.is-top footer span:nth-child(2) {
    display: none;
  }

  .opc-v2-heat-card.is-top footer {
    position: absolute;
    right: 8px;
    bottom: 2px;
    left: 8px;
    height: 16px;
    min-height: 16px;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .opc-v2-heat-card.is-list {
    grid-column: 1 / -1;
    order: 10;
    height: 84px;
    min-height: 84px;
    overflow: hidden;
    padding: 3px 70px 3px 38px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__rank {
    top: 7px;
    left: 8px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__identity {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    text-align: left;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__identity > img {
    width: 26px;
    height: 26px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__identity p {
    margin-top: 0;
    font-size: 8px;
    line-height: 10px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__identity h3 {
    margin-top: 0;
    font-size: 10px;
    line-height: 13px;
    text-align: left;
    -webkit-line-clamp: 1;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__identity small {
    display: none;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__intro {
    display: none;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__projects button {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    padding-inline: 5px;
  }

  .opc-v2-heat-card.is-list footer {
    position: absolute;
    top: 1px;
    right: 4px;
    display: flex;
    width: 64px;
    height: 80px;
    min-height: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
  }

  .opc-v2-heat-card.is-list footer button {
    min-height: 44px;
    margin-top: -2px;
    padding-inline: 0;
    font-size: 10px;
  }

  .opc-v2-heat__more {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    border: 1px solid #dfe6f0;
    border-radius: 22px;
    background: #fff;
    color: #23324d;
    font-size: 12px;
  }

  .opc-v2-my-heat {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #bcd7ff;
    border-radius: 14px;
    background: #eef5ff;
  }

  .opc-v2-my-heat__score {
    padding: 11px 10px;
  }

  .opc-v2-my-heat h2 {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .opc-v2-my-heat__score > p {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 8px 0 0;
  }

  .opc-v2-my-heat__score > p strong {
    color: #0867e8;
    font-size: 35px;
    line-height: 39px;
  }

  .opc-v2-my-heat__score > p span {
    color: #52627c;
    font-size: 11px;
  }

  .opc-v2-my-heat__score small {
    display: block;
    margin-top: 3px;
    color: #65748d;
    font-size: 10px;
    line-height: 16px;
  }

  .opc-v2-my-heat ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-left: 1px solid #d8e7fb;
    list-style: none;
  }

  .opc-v2-my-heat li {
    display: grid;
    min-width: 0;
    min-height: 54px;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    padding: 8px 6px;
    border-right: 1px solid #d8e7fb;
    border-bottom: 1px solid #d8e7fb;
    background: rgba(255, 255, 255, 0.66);
  }

  .opc-v2-my-heat li:nth-child(n + 3) {
    border-bottom: 0;
  }

  .opc-v2-my-heat li img {
    width: 25px;
    height: 25px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    filter: invert(35%) sepia(93%) saturate(2641%) hue-rotate(207deg) brightness(99%) contrast(103%);
  }

  .opc-v2-my-heat li span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #52627c;
    font-size: 9px;
    line-height: 13px;
  }

  .opc-v2-my-heat li strong {
    margin-top: 2px;
    color: #172a4c;
    font-size: 11px;
  }

  /* Demand bounty */

  .opc-v2-demands__inner {
    padding-top: 4px;
    padding-bottom: 68px;
  }

  .opc-v2-demand-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .opc-v2-demand-search > div {
    display: grid;
    height: 46px;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid #d8e0ec;
    border-radius: 25px;
    background: #fff;
  }

  .opc-v2-demand-search input {
    width: 100%;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #14223d;
    font-size: 13px;
  }

  .opc-v2-demand-search input::placeholder {
    color: #8a97aa;
  }

  .opc-v2-demand-search > button {
    display: inline-flex;
    min-width: 76px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #25334c;
    font-size: 13px;
  }

  .opc-v2-demand-chips {
    display: flex;
    gap: 7px;
    margin: 4px calc(clamp(12px, 4vw, 18px) * -1) 4px;
    padding-inline: clamp(12px, 4vw, 18px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .opc-v2-demand-chips button {
    min-width: max-content;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid #dfe4ec;
    border-radius: 22px;
    background: #fff;
    color: #46546c;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .opc-v2-demand-chips button[aria-pressed="true"] {
    border-color: #0969e8;
    background: #0969e8;
    color: #fff;
    font-weight: 600;
  }

  .opc-v2-demand-board {
    overflow: hidden;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    background: #fff;
  }

  .opc-v2-demand-board__tabs {
    display: grid;
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    padding: 0 10px 0 13px;
    border-bottom: 1px solid #e7ebf1;
  }

  .opc-v2-demand-board__tabs > div {
    display: flex;
    min-width: 0;
    gap: 3px;
  }

  .opc-v2-demand-board__tabs > div button {
    min-width: 44px;
    position: relative;
    min-height: 44px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: #46546c;
    font-size: 12px;
    white-space: nowrap;
  }

  .opc-v2-demand-board__tabs > div button[aria-pressed="true"] {
    color: #15233c;
    font-weight: 700;
  }

  .opc-v2-demand-board__tabs > div button[aria-pressed="true"]::after {
    position: absolute;
    right: 9px;
    bottom: 0;
    left: 9px;
    height: 3px;
    border-radius: 2px;
    background: #0969e8;
    content: "";
  }

  .opc-v2-demand-board__publish {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border: 1px solid #0969e8;
    border-radius: 22px;
    background: #fff;
    color: #0969e8;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  .opc-v2-demand-board__publish img {
    filter: invert(35%) sepia(93%) saturate(2641%) hue-rotate(207deg) brightness(99%) contrast(103%);
  }

  .opc-v2-hot-demand {
    margin: 2px;
    padding: 2px 4px 4px;
    border-radius: 11px;
    background: #fff6f1;
  }

  .opc-v2-hot-demand > header {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .opc-v2-hot-demand h3,
  .opc-v2-hot-demand > header button {
    display: inline-flex;
    align-items: center;
  }

  .opc-v2-hot-demand h3 {
    gap: 4px;
    margin: 0;
    color: #3b2a27;
    font-size: 12px;
    line-height: 18px;
  }

  .opc-v2-hot-demand h3 img {
    filter: invert(35%) sepia(95%) saturate(3140%) hue-rotate(346deg) brightness(104%) contrast(102%);
  }

  .opc-v2-hot-demand > header button {
    min-height: 44px;
    margin-block: -6px;
    gap: 2px;
    padding: 0 2px 0 10px;
    border: 0;
    background: transparent;
    color: #6f7888;
    font-size: 10px;
  }

  .opc-v2-hot-demand__rail {
    display: grid;
    grid-auto-columns: min(42vw, 158px);
    grid-auto-flow: column;
    gap: 7px;
    margin-right: -4px;
    padding-right: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .opc-v2-hot-demand__rail > button {
    display: flex;
    min-height: 80px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 7px 8px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    color: #1c2a43;
    text-align: left;
    scroll-snap-align: start;
  }

  .opc-v2-hot-demand__rail > button > span {
    display: flex;
    max-width: 100%;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-hot-demand__rail > button > span img {
    flex: 0 0 18px;
    padding: 2px;
    border-radius: 50%;
    background: #eaf2ff;
    filter: invert(35%) sepia(93%) saturate(2641%) hue-rotate(207deg) brightness(99%) contrast(103%);
  }

  .opc-v2-hot-demand__rail strong {
    margin-top: 5px;
    color: #57657c;
    font-size: 10px;
    font-weight: 500;
    line-height: 15px;
  }

  .opc-v2-hot-demand__rail em {
    margin-top: 1px;
    color: #f0524b;
    font-size: 10px;
    font-style: normal;
    line-height: 15px;
  }

  .opc-v2-demands__result {
    min-height: 0;
    margin: 0;
    color: #66748b;
    font-size: 11px;
    line-height: 17px;
  }

  .opc-v2-demands__result:not(:empty) {
    margin: 10px 3px 0;
  }

  .opc-v2-demand-list {
    display: grid;
    gap: 3px;
    margin-top: 4px;
  }

  .opc-v2-demand-card {
    padding: 8px 11px 3px;
    border: 1px solid #e2e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 17px rgba(28, 57, 99, 0.035);
  }

  .opc-v2-demand-card[hidden] {
    display: none !important;
  }

  .opc-v2-demand-card > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 9px;
  }

  .opc-v2-demand-card__publisher {
    display: grid;
    min-width: 0;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .opc-v2-demand-card__publisher > img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
  }

  .opc-v2-demand-card__publisher span {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .opc-v2-demand-card__publisher strong {
    overflow: hidden;
    color: #14213a;
    font-size: 13px;
    line-height: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-demand-card__publisher small {
    margin-top: 1px;
    overflow: hidden;
    color: #77849a;
    font-size: 10px;
    line-height: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-demand-card__publisher em {
    align-self: start;
    margin-top: 2px;
    padding: 3px 6px;
    border-radius: 6px;
    background: #edf4ff;
    color: #1769e0;
    font-size: 9px;
    font-style: normal;
    line-height: 14px;
    white-space: nowrap;
  }

  .opc-v2-demand-card dl {
    display: grid;
    gap: 3px;
    margin: 0;
    text-align: right;
  }

  .opc-v2-demand-card dl div {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
  }

  .opc-v2-demand-card dt,
  .opc-v2-demand-card dd {
    margin: 0;
  }

  .opc-v2-demand-card dt {
    color: #65738a;
    font-size: 10px;
  }

  .opc-v2-demand-card dd {
    color: #0b68e8;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
  }

  .opc-v2-demand-card dl div:last-child dd {
    color: #53617a;
    font-size: 11px;
  }

  .opc-v2-demand-card > h3 {
    margin: 5px 0 0;
    color: #111f39;
    font-size: 15px;
    line-height: 20px;
  }

  .opc-v2-demand-card > p {
    display: -webkit-box;
    margin: 1px 0 0;
    overflow: hidden;
    color: #56647b;
    font-size: 10px;
    line-height: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .opc-v2-demand-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
  }

  .opc-v2-demand-card__tags span {
    padding: 2px 6px;
    border-radius: 5px;
    background: #f3f5f8;
    color: #66738a;
    font-size: 9px;
    line-height: 13px;
  }

  .opc-v2-demand-card > footer {
    display: grid;
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    padding-top: 0;
    border-top: 1px solid #edf0f4;
  }

  .opc-v2-demand-card > footer > div {
    display: flex;
    min-width: 0;
    gap: 9px;
  }

  .opc-v2-demand-card > footer span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #66748b;
    font-size: 10px;
    white-space: nowrap;
  }

  .opc-v2-demand-card > footer span img {
    opacity: 0.75;
  }

  .opc-v2-demand-card > footer > button {
    min-height: 44px;
    padding: 0 3px 0 10px;
    border: 0;
    background: transparent;
    color: #0868e8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  .opc-v2-demand-empty {
    margin: 10px 0 0;
    padding: 38px 20px;
    border: 1px dashed #cfd9e7;
    border-radius: 14px;
    background: #fff;
    color: #65738a;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
  }

  .opc-v2-demand-empty[hidden] {
    display: none !important;
  }

  .opc-v2-demand-fab {
    position: fixed;
    z-index: 74;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(var(--opc-mobile-dock) + env(safe-area-inset-bottom) + 12px);
    display: inline-flex;
    min-width: 112px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 0;
    border-radius: 27px;
    background: #0969e8;
    box-shadow: 0 11px 25px rgba(9, 105, 232, 0.28);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  .opc-page:not([data-mobile-view="demands"]) .opc-v2-demand-fab {
    display: none;
  }
}

@media (max-width: 374px) {
  .opc-v2-heat__inner,
  .opc-v2-demands__inner {
    padding-inline: 10px;
  }

  .opc-v2-heat__ranking {
    gap: 5px;
  }

  .opc-v2-heat-card {
    padding-inline: 6px;
  }

  .opc-v2-heat-card.is-top {
    height: 200px;
    min-height: 200px;
  }

  .opc-v2-heat-card.is-list {
    height: 84px;
    min-height: 84px;
    padding-left: 38px;
  }

  .opc-v2-heat-card.is-list .opc-v2-heat-card__projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opc-v2-my-heat {
    grid-template-columns: 1fr;
  }

  .opc-v2-my-heat ul {
    border-top: 1px solid #d8e7fb;
    border-left: 0;
  }

  .opc-v2-demand-search {
    gap: 3px;
  }

  .opc-v2-demand-search > button {
    min-width: 67px;
    padding-inline: 6px;
  }

  .opc-v2-demand-board__tabs {
    padding-inline: 7px;
  }

  .opc-v2-demand-board__tabs > div button {
    padding-inline: 6px;
    font-size: 11px;
  }

  .opc-v2-demand-board__publish {
    width: 44px;
    min-width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .opc-v2-demand-card__publisher {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .opc-v2-demand-card__publisher > img {
    width: 40px;
    height: 40px;
  }

  .opc-v2-demand-card__publisher em {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .opc-v2-demand-card > footer {
    grid-template-columns: 1fr;
  }

  .opc-v2-demand-card > footer > button {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opc-v2-heat__status-rail,
  .opc-v2-demand-chips,
  .opc-v2-hot-demand__rail {
    scroll-behavior: auto;
  }
}
