html body[for="html-export"]:not([data-presentation-mode]) > div.crossnote.markdown-preview {
    padding-top: 0px !important;
    container-type: inline-size;
}

html body #my-cat.is-bgm-title,
html body code {
    color: #c7254e;
    background-color: #f9f2f4;
}

html body p a > img,
html body li a > img,
html body strong a > img {
    vertical-align: -0.125em;
}

html body h1 {
    margin-top: 0px;
}

html body table {
    margin: 0 auto;
    table-layout: fixed;
}

html body ul,
html body .markdown-preview ul {
    list-style: none !important;
}

html body .markdown-preview > ul {
    padding-left: 0;
}

/*     */
/*     */
/*     */
/*     */

.life-clear {
    clear: both;
}

.life-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.life-divider hr {
    flex: 1;
    margin: 0;
    height: 1px;
}

.life-divider span {
    padding: 0 14px;
}

.site-footer {
    text-align: center;
}

.site-footer hr {
    margin: 0;
    height: 1px;
}

/*     */
/*     */
/*     */
/*     */

#links + p a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: top;
}

#links + p a > img {
    flex: 0 0 auto;
}

#github-contribution-stats-link {
    float: right;
}


#tangYuan-cell,
#yinJuan-cell {
    text-align: center;
    vertical-align: top;
    border: none;
    padding: 5px;
    width: 50%;
}

#tangYuan-img,
#tangYuan-goodbye-img,
#yinJuan-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

#tangYuan-epitaph,
#tangYuan-spring-summer {
    overflow-wrap: anywhere;
}

h6,
#tangYuan-goodbye-img,
#tangYuan-spring-summer {
    display: none;
}

#my-cat-heading {
    display: flex;
    /* align-items: baseline; */
    align-items: center;
    gap: 12px;
}

#my-cat-heading #myCatVisualizer {
    flex: 1 1 0;
    min-width: 0;
    height: 1em;
    opacity: 0;
}

#my-cat-heading #myCatVisualizer.is-active {
    opacity: 1;
}

#my-cat-heading #myCatVisualizer canvas {
    display: block;
}

#favorites-columns {
    display: flex;
    flex-wrap: nowrap;
    margin: 16px 0;
}

#favorites-columns > section {
    flex: 1 1 0;
    min-width: 0;
}


@container (max-width: 600px) {
    #favorites-columns {
        flex-wrap: wrap;
    }

    #favorites-columns > section {
        flex: 0 0 50%;
    }
}

@container (max-width: 360px) {
    #favorites-columns {
        flex-direction: column;
    }

    #favorites-columns > section {
        flex: 1 1 100%;
    }
}

#favorites-columns details > summary h5 {
    display: inline;
}

#favorites-columns details > summary {
    cursor: pointer;
}

#favorites-columns ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

#favorites-columns a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    min-width: 0;
    text-decoration: none;
    white-space: nowrap;
}

#favorites-columns a > span {
    min-width: 0;
    color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*  */
/*  */
/*  */
my-web-page,
my-career-origin,
my-favorites,
my-galaxy,
my-salute {
    display: block;
    unicode-bidi: isolate;
}
