:root {
  --color-calendar-graph-day-bg: #dddbdba0;
  --color-calendar-graph-day-L1-bg: #c6f0e8a6;
  --color-calendar-graph-day-L2-bg: #9bf5e3b7;
  --color-calendar-graph-day-L3-bg: #66f1dab2;
  --color-calendar-graph-day-L4-bg: #17e8ccba;
}

.ContributionCalendar-day[data-level='0'] {
    --calendar-day-color: var(--color-calendar-graph-day-bg);
}

.ContributionCalendar-day[data-level='1'] {
    --calendar-day-color: var(--color-calendar-graph-day-L1-bg);
}

.ContributionCalendar-day[data-level='2'] {
    --calendar-day-color: var(--color-calendar-graph-day-L2-bg);
}

.ContributionCalendar-day[data-level='3'] {
    --calendar-day-color: var(--color-calendar-graph-day-L3-bg);
}

.ContributionCalendar-day[data-level='4'] {
    --calendar-day-color: var(--color-calendar-graph-day-L4-bg);
}

td.ContributionCalendar-day {
    position: relative;
    border-radius: 0;
    background-color: transparent !important;
    cursor: pointer;
    isolation: isolate;
    overflow: visible;
    filter: brightness(1);
    transition: filter 1000ms ease-out !important;
}

td.ContributionCalendar-day .calendar-day-core,
td.ContributionCalendar-day .calendar-day-glow {
    position: absolute;
    display: block;
    pointer-events: none;
    transform-origin: center center;
    /* 出 hover：慢 */
    transition:
        filter 5000ms ease,
        opacity 1000ms ease,
        transform 2000ms ease !important;
}
/* 入 hover */
td.ContributionCalendar-day:hover .calendar-day-core,
td.ContributionCalendar-day:hover .calendar-day-glow {
    transition:
        filter 10ms cubic-bezier(0.16, 1, 0.3, 1) ,
        opacity 300ms cubic-bezier(0.16, 1, 0.3, 1) ,
        transform 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

td.ContributionCalendar-day:not([data-date]) .calendar-day-core,
td.ContributionCalendar-day:not([data-date]) .calendar-day-glow {
    display: none;
}

td.ContributionCalendar-day .calendar-day-core {
    inset: 24%;
    border-radius: 0;
    background: var(--calendar-day-color, var(--color-calendar-graph-day-bg));
    z-index: 2;
}

td.ContributionCalendar-day .calendar-day-glow {
    background: var(--calendar-day-color, var(--color-calendar-graph-day-bg));
    border-radius: 0;
    filter: blur(0px);
    opacity: 0.75;
    z-index: 1;
}

td.ContributionCalendar-day .calendar-day-glow-x {
    left: -38%;
    right: -38%;
    top: 19%;
    bottom: 19%;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--calendar-day-color) 20%,
        var(--calendar-day-color) 50%,
        transparent 100%
    );
}

td.ContributionCalendar-day .calendar-day-glow-y {
    left: 19%;
    right: 19%;
    top: -38%;
    bottom: -38%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--calendar-day-color) 20%,
        var(--calendar-day-color) 80%,
        transparent 100%
    );
}

td.ContributionCalendar-day:hover {
    filter: brightness(1.52);
}

td.ContributionCalendar-day:hover .calendar-day-core {
    filter: blur(0.6px);
    transform: scale(2);
}

td.ContributionCalendar-day:hover .calendar-day-glow {
    filter: blur(1.3px);
    opacity: 0.8;
    transform: scale(2);
}

td.ContributionCalendar-day:hover .calendar-day-glow-x {
    left: -40%;
    right: -40%;
}

td.ContributionCalendar-day:hover .calendar-day-glow-y {
    top: -40%;
    bottom: -40%;
}

table.ContributionCalendar-grid {
    margin-bottom: 0pt;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
}

table.ContributionCalendar-grid td {
    padding: 4pt;
}

table.ContributionCalendar-grid td span.sr-only {
    display: none;
}

td.ContributionCalendar-label span[aria-hidden='true'] {
    font-size: 8pt;
    left: -1pt;
}

tool-tip {
    display: none;
}

.calendar .width-full > .float-left {
    display: none;
}

.calendar {
    width: 750px;
    font-family: Helvetica, arial;
    border: 1px solid #333333;
    border-radius: 3px;
    min-height: 243px;
    text-align: center;
    margin: 0 auto;
    background: #333;
}

.calendar-graph text.wday,
.calendar-graph text.month {
    font-size: 10px;
    fill: #aaa;
}

div.px-md-5 {
    height: 2rem;
}

div.float-right {
    text-align: right;
    padding: 0 14px 10px 0;
    display: inline-block;
    float: right;
}

div.float-right div {
    display: inline-block;
    list-style: none;
    margin: 0 5px;
    position: relative;
    bottom: -1px;
    padding: 0;
}

div.float-right span.sr-only {
    display: none;
}

.contrib-legend .legend li {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.text-small {
    font-size: 12px;
    color: #767676;
}

.calendar-graph {
    padding: 5px 0 0;
    height: 126px;
    text-align: center;
}

.contrib-column {
    padding: 15px 0;
    text-align: center;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    font-size: 11px;
}

.contrib-column-first {
    border-left: 0;
}

.table-column {
    display: table-cell;
    width: 1%;
    padding-right: 10px;
    padding-left: 10px;
    vertical-align: top;
}

.contrib-number {
    font-weight: 300;
    line-height: 1.3em;
    font-size: 24px;
    display: block;
    color: #333;
}

.calendar img.spinner {
    width: 70px;
    margin-top: 50px;
    min-height: 70px;
}

.monospace {
    text-align: center;
    color: #000;
    font-family: monospace;
}

.monospace a {
    color: #1D75AB;
    text-decoration: none;
}

.contrib-footer {
    font-size: 11px;
    padding: 0 10px 12px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    height: 26px;
}

.left.text-muted {
    float: left;
    margin-left: 9px;
    color: #767676;
}
.left.text-muted a {
    color: #4078c0;
    text-decoration: none;
}
.left.text-muted a:hover,
.monospace a:hover {
    text-decoration: underline;
}

h2.f4.text-normal.mb-3 {
    display: none;
}

.float-left.text-gray {
    float: left;
}
#user-activity-overview{
    display:none;
}

.day-tooltip {
    white-space: nowrap;
    position: absolute;
    z-index: 99999;
    padding: 10px;
    font-size: 12px;
    color: #959da5;
    text-align: center;
    background: rgba(0,0,0,.85);
    border-radius: 3px;
    display: none;
    pointer-events: none;
}
.day-tooltip strong {
    color: #dfe2e5;
}
.day-tooltip.is-visible {
    display: block;
}
.day-tooltip:after {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 5px;
    height: 5px;
    box-sizing: border-box;
    margin: 0 0 0 -5px;
    content: " ";
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,.85)
}

text.ContributionCalendar-label {
    fill: #ccc;
    font-size: 11px;
}

caption.sr-only {
    display: none;
}
