/* Matches #help-interface's chrome (base .interface padding/border-radius/h2 bar, untouched) so it
   reads consistently with the rest of the game's interfaces. Width widened past the 332px default,
   same as #help-interface, since a table needs more room than a typical alert. */
.interface.creator-points-guide-interface {
    width: calc(100% - 65px);
    max-width: 480px;
}

.creator-points-guide-interface,
.creator-points-guide-interface *,
.creator-points-guide-interface *::before,
.creator-points-guide-interface *::after {
    box-sizing: border-box;
}

.creator-points-guide-subtitle {
    font-size: 13px;
    color: #000;
    line-height: 1.2em;
    margin: 10px 0;
    text-align: center;
    background: #f0f0f0;
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 10px;
}

.creator-points-guide-table-wrap {
    max-height: 420px;
    overflow-y: auto;
	padding-right: 3px;
	height: calc(100vh - 300px);
}

/* Matches #help-accordion's scrollbar colors */
.creator-points-guide-table-wrap::-webkit-scrollbar { width: 5px; }
.creator-points-guide-table-wrap::-webkit-scrollbar-track { background-color: #ababab; border-radius: 5px; }
.creator-points-guide-table-wrap::-webkit-scrollbar-thumb { background-color: #333333; border-radius: 4px; }

.creator-points-guide-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
	border-radius: 6px;
    overflow: hidden;
}

.creator-points-guide-table thead th {
    position: sticky;
    top: 0;
    background: #00a7ec;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 10px;
}

.creator-points-guide-table thead th:last-child { text-align: right; }

.creator-points-guide-table tbody td {
    font-size: 13px;
    color: #14141f;
    padding: 9px 10px;
    border-bottom: 1px solid #e7e9f2;
}

.creator-points-guide-table tbody tr:last-child td { border-bottom: none; }
.creator-points-guide-table tbody tr:nth-child(even) td { background: #f7f8fc; }

.creator-points-guide-table tbody td:last-child {
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0e9161;
    white-space: nowrap;
}

@media (max-width: 600px) {
	#creator-points-guide-interface h2 {
		font-size: 18px;
	}
}