.text-red {
    color: var(--p-red-500) !important;
}
.event-public-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--p-gray-50);
  }
  
  .event-public-wrapper>.p-card>.p-card-body {
    padding: var(--p-card-body-padding) 0.25rem !important;
  }
  
  h1.p-text-lg {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    text-align: center;
  }
  
  h2.p-text-lg span.p-tag {
    margin-left: 0.25rem !important;
  }
  
  .event-title-inline {
    display: inline-flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
  }
  
  @media (max-width: 767px) {
    .event-public-wrapper {
      max-width: 98vw;
      padding: 0 2vw;
    }
  }
  
  .event-password-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0 32px 0;
    border-radius: 12px;
  
  
    min-height: 280px;
  }
  
  .event-password-lock {
    font-size: 2.5rem !important;
  
    margin-bottom: 16px;
  }
  
  .event-password-input {
    width: 220px;
  }
  
  .event-password-btn {
    width: 220px;
  }
  
  
  
  .event-password-form .pi-lock {
    font-size: 2.8rem !important;
  
    margin-bottom: 16px;
  }
  
  .event-password-form .p-text-lg {
    font-size: 1.14rem;
  
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.6;
  }
  
  .event-password-form .p-inputtext {
    font-size: 1.1rem;
    padding: 10px 14px;
    border-radius: 8px;
  
    margin-bottom: 8px;
    width: 220px;
  
    transition: border 0.2s;
  }
  
  .event-password-form .p-inputtext:focus {
  
    outline: none;
  }
  
  .event-password-form .p-button {
    width: 220px;
    font-size: 1.1rem;
    border-radius: 8px;
    margin-bottom: 8px;
  
    border: none;
  }
  
  .event-password-form .p-error {
    font-size: 1rem;
    margin-top: 2px;
    font-weight: 500;
    text-align: center;
    color: var(--p-red-500);
  }
  
  .info-row {
    margin-bottom: 4px !important;
    color: var(--p-gray-700);
  }
  
  .info-under-name {
    font-size: 14px;
    margin-top: 2px;
    color: var(--p-gray-700);
  }
  
  .status-cancel {
    font-weight: 600;
    color: var(--p-red-500);
  }
  
  .status-pending {
  
    font-weight: 600;
  }
  
  .payment-unpaid {
    font-weight: 600;
    color: var(--p-red-500);
  }
  
  .member-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .member-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
  
    padding: 10px 0;
    font-size: 1.22rem;
  }
  
  .member-row:last-child {
    border-bottom: none;
  }
  
  .member-info-block {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .member-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
  }
  
  .member-meta {
    font-size: 14px;
    color: var(--p-gray-700);
  }
  
  .score-inputs-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
  }
  
  .score-input {
    width: 60px !important;
    height: 22px !important;
    padding: 0 6px !important;
    font-size: 15px !important;
    text-align: center;
    border-radius: 6px !important;
  
  
    box-shadow: none !important;
  }
  
  .score-gray {
    color: var(--p-gray-500);
  }
  .score-blue {
    color: var(--p-blue-500);
  }
  .score-red {
    color: var(--p-red-500);
  }
  .score-black {
    color: var(--p-black-500);
  }
  
  .team-hc-small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
  
    font-weight: 400;
    line-height: 1.2;
  }
  
  
  
  .team-total-row {
    display: flex;
    align-items: center;
    margin-top: 8px;
  }
  
  .team-total-main {
    width: 100%;
    text-align: right;
    margin-top: 3px;
    font-size: 1.5rem;
  }
  
  .team-total-label {
    margin-right: 10px;
    letter-spacing: 0.5px;
    color: var(--p-blue-500);
  }
  
  .team-total-scores {
    margin-left: 12px;
    letter-spacing: 2px;
    margin: 0 16px 0 8px;
    color: var(--p-blue-500);
    font-size: 2rem;
    font-weight: 900;
  }
  
  .team-score-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    padding: 0
  }
  
  .team-score-table-wrapper .p-card-body {
    padding: 0;
  }
  
  .event-public-card {
    width: 100%;
    max-width: 700px;
    position: relative;
  }
  
  .score-flex-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
  }
  
  .score-main {
    font-size: 15px;
    font-weight: 600;
  }
  
  /* 순위별 색상 */
  .rank-badge.rank-1 {
    color: gold;
    font-weight: 900;
  }
  .rank-badge.rank-2 {
    color: silver;
    font-weight: 900;
  }
  .rank-badge.rank-3 {
    color: #cd7f32;
    font-weight: 900;
  }
  /* 필요시 더 추가 가능 */
  
  .team-score-table {
  
  
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  
  }
  
  .team-score-table th,
  .team-score-table td {
    text-align: center !important;
  }
  .team-score-table td .score-main,
  .team-score-table td .rank-badge {
    font-weight: normal !important;
  }
  .team-score-table th,
  .team-score-table .p-datatable-thead > tr > th > .p-datatable-column-header-content {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .rank-badge {
    letter-spacing: 0.5px;
    color: var(--p-black-500);
  }
  
  .score-table th,
  .score-table td {
    font-size: 12px !important;
    padding: 3px 2px !important;
    min-width: unset !important;
    word-break: keep-all;
    white-space: normal;
    line-height: 1.3;
  }
  
  .score-table tr {
    height: auto !important;
  }
  
  .score-table th,
  .score-table td {
    text-align: center;
  }
  
  .team-card {
    border-radius: 16px;
    margin-bottom: 12px;
  
  }
  
  .member-row {
    padding: 8px 0;
    font-size: 1.22rem;
  
  }
  
  .member-row:last-child {
    border-bottom: none;
  }
  
  .team-total-row-block {
    margin-top: 12px;
    margin-bottom: 6px;
  }
  
  .team-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 12px;
    margin-top: 2px;
    width: 100%;
  }
  
  .team-game-cell {
  
  
    font-size: 1.13rem;
  
    font-weight: 600;
    text-align: center;
    min-width: 0;
    white-space: nowrap;
    padding: 2px 0 0 0;
  }
  
  .team-game-cell b {
  
    font-weight: 700;
    margin-right: 2px;
  }
  
  .team-game-cell .rank-badge {
    font-size: 1.05rem;
    font-weight: 700;
    margin-left: 3px;
    vertical-align: middle;
  }
  
  .team-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 7px;
  }
  
  .team-name-strong {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2px;
    color: var(--p-blue-500);
  }
  
  .team-hc {
    font-size: 1.15rem;
    font-weight: 500;
  
    margin-top: 2px;
    margin-left: 2px;
    letter-spacing: 0.2px;
  }
  
  .member-meta {
    font-size: 0.98rem;
  
    margin-top: 1px;
  }
  
  .team-total-row-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  .score-input-hc-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    margin-bottom: 2px;
  }
  
  .score-input-status-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 110px;
    justify-content: flex-end;
  }
  
  .score-status-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
  }
  
  
  
  .score-input-hc-wrap > .score-input,
  .score-input-hc-wrap > .score-hc-value {
    margin-bottom: 0;
  }
  
  
  .score-input {
    flex: 0 0 60px;
    min-width: 48px;
    max-width: 70px;
    text-align: right;
    margin-bottom: 0;
  }
  
  .score-hc-value {
    flex: 0 0 auto;
    min-width: 32px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    padding-right: 0;
    white-space: nowrap;
  }
  
  .score-status-icon {
    flex-shrink: 0;
    min-width: 18px;
    margin-left: 2px;
    vertical-align: middle;
    font-size: 1em;
  }
  
  .score-hc-value:empty {
    visibility: hidden;
  }
  
  .member-score-summary {
    margin-top: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
  
    font-weight: 600;
  }
  
  .member-score-avg {
    margin-left: 8px;
  
    font-weight: 400;
    font-size: 13px;
  }
  