/* ------------------------------------------------------------------------------------------------------------------ */
/* list */

.ct-list-page {
    background: #fff;
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    min-height: 100dvh;
}

.ct-tab-menu {
    display: flex;
    justify-content: space-around;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 5rem !important;
    transition: transform 0.2s ease;
    will-change: transform;
    flex-direction: column;
    background: #F5F5F5;
    background: rgba(245, 245, 245, 0.75);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.ct-tab-menu.ct-tab-hidden {
    transform: translateY(-100%);
}

.ct-tab-title {
    margin: 0;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #E9528E;
}

.ct-tab-switch {
    height: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ct-tab-button {
    flex: 1;
    font-size: 1rem !important;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #AAAAAC;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-tab-button.active {
    color: #7D40A0;
    border-bottom-color: currentColor;
}

.ct-tab-avatar {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid transparent;
}

.ct-tab-button.active .ct-tab-avatar {
  border-color: currentColor;
}

.ct-theralog-card-area {
    color: #535353;
    border: 1px solid #535353;
    text-align: center;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    height: unset;
    line-height: 1;
    padding-block: 0.125rem 0.25rem;
    width: 5.4375rem;    
}

.ct-theralog-card-bsky-icon {
    display: inline-flex;
    align-items: center;
}

.ct-theralog-card-bsky-icon img {
    height: 1rem;
    width: auto;
}

.ct-tab-content {
    background-color: #ffffff;
    padding: 0px;
    border-top: none;
    position: relative;
    z-index: 1;
    flex: 1;
    overflow: auto;
    margin-top: 50px;
}

.ct-post-mylog-button {
    position: fixed;
    bottom: 6.5rem !important;
    right: 20px;
    padding: 4px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 100;
    border-radius: 50%;
    background-color: #E9528E;
    border: none;
}

.ct-post-mylog-button img {
    width: 24px;
    height: 24px;
}

.ct-reaction-mylog-button {
    position: fixed;
    bottom: 6.5rem !important;
    left: 20px;
    padding: 4px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 100;
    border-radius: 50%;
    background: #AAAAAC;
    border: none;
}

.ct-reaction-mylog-button img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.ct-reaction-mylog-button .ct-reaction-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E9528E;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    z-index: 1;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ct-region-slider {
    display: flex;
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.ct-region-slider::-webkit-scrollbar {
    display: none;
}

.ct-region-button {
    padding: 3px 10px;
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    color: #AAAAAC;
    font-size: 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    width: 60px;
    transition: all 0.2s ease-in-out;
}

.ct-region-button.selected {
    background-color: #7D40A0;
    border: none;
    color: #ffffff;
}

.ct-no-mylog,
.ct-no-timeline {
    text-align: center;
    font-size: 1rem;
    color: #AAAAAC;
    margin-top: 40px;
    margin-bottom: 20px;   
}

.ct-login-guidance-button {
    font-size: 1rem;
    background: #E9528E;
    color: #fff;
    border-radius: 100px;
    width: 282px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-login-guidance-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.ct-theralog-card {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 0.9375rem 0.5rem 1.25rem !important;
    border-bottom: 1px solid #AAAAAC;
}

.ct-reported-post {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.ct-reported-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F5F5;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    flex-direction: column;
}

.ct-reported-modal img {
    width: 70px;
    height: auto;

}

.ct-reported-modal-message {
    color: #535353;
    font-size: 1rem;
    text-align: center;
    pointer-events: none;
    margin-top: 20px;
}

.ct-reported-modal-link-message {
    font-size: 0.875rem;
    color: #535353;
    margin-top: 20px;
    position: relative;
}

.ct-reported-modal-link-message::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: -10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #535353;
    border-left: 1px solid #535353;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.ct-theralog-card.ct-user-post {
    background-color: #FDF1FC;
}

.ct-theralog-card-avatar {
    flex: 0 0 50px;
    margin-right: 0px !important;
}

.ct-theralog-card-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-theralog-card-content {
    flex: 1;
    width: calc(100% - 60px);
}


.ct-theralog-card-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-theralog-card-username {
    font-weight: bold;
    color: #535353;
    font-size: 1rem;
}

.ct-theralog-card-content-header-date-and-btn {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.ct-theralog-card-content-header-date-and-btn img {
    width: 14px;
    height: 14px;
}

.ct-theralog-card-post-date {
    font-size: 0.875rem;
    color: #535353;
}

.ct-theralog-card-main-contents {
    font-size: 1rem;
    color: #535353;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ct-theralog-card-main-contents a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    color: #7D40A0;
    word-break: break-word;
}

.ct-theralog-card-image {
    display: block;
    border-radius: 10px;
    margin-top: 10px;
    width: 100%;
    object-fit: cover;
}

.ct-theralog-card-video {

}

.ct-theralog-card-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 5px;
    align-items: center;
}


.ct-theralog-card-like-btn,
.ct-theralog-card-comment-btn,
.ct-theralog-card-share-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}


.ct-theralog-card-like-btn img,
.ct-theralog-card-comment-btn img {
    height: auto;
    margin-right: 0.3125rem;
    width: 1.15rem !important;
}

.ct-theralog-card-share-btn img {
    height: auto;
    width: 1.4375rem;
}

.ct-theralog-card-like-readonly,
.ct-theralog-card-comment-readonly {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ct-theralog-card-like-readonly img, 
.ct-theralog-card-comment-readonly img {
    height: auto;
    margin-right: 0.3125rem;
    width: 1.15rem !important;
}

.ct-theralog-card-like-count,
.ct-theralog-card-comment-count {
    font-size: 0.875rem;
    color: #535353;
}

.ct-list-page .plyr video {
    display: block;
    border-radius: 10px;
    margin-top: 10px;
    width: 100%;
    aspect-ratio: 33 / 25;
    object-fit: cover;
}

.ct-list-page :not(:fullscreen) > .plyr__video-wrapper {
    background: transparent !important;
}

.ct-list-page .plyr__video-wrapper {
    display: flex;
}

.ct-list-page .plyr:fullscreen video {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    object-fit: contain;

}

.ct-list-page .plyr--video .plyr__controls {
    background: transparent !important;
}

.ct-list-page .plyr__control--overlaid
{
    background: #E9528E !important;
}

.ct-list-page .plyr__menu {
    display: none;
}

.ct-list-page .plyr--pip-supported [data-plyr=pip] {
    display: none;
}

.ct-list-page .plyr__volume {
    display: none;
}

.ct-list-page .plyr__control[data-plyr="airplay"] {
    display: none !important;
}

.ct-list-page .plyr--full-ui input[type=range] {
    color: #E9528E !important;
}

.ct-list-page .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #E9528E !important;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ct-list-page .ct-inline-loader{
    width:100%;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom: 40px;
}

.ct-list-page .ct-inline-loader-content{
    width:100%;
    max-width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.ct-list-page .ct-inline-loading-wrapper{
    width:200px;
    height:60px;
    position:relative;
}

.ct-list-page .ct-inline-loading-circle{
    width:20px;
    height:20px;
    position:absolute;
    border-radius:50%;
    background-color:#E9528E;
    left:15%;
    transform-origin:50%;
    animation:ctcircle .5s alternate infinite ease;
}

@keyframes ctcircle{
    0%{
        top:60px;
        height:5px;
        border-radius:50px 50px 25px 25px;
        transform:scaleX(1.7);
    }
    40%{
        height:20px;
        border-radius:50%;
        transform:scaleX(1);
    }
    100%{
        top:0%;
    }
}

.ct-list-page .ct-inline-loading-circle:nth-child(2){
    left:45%;
    animation-delay:.2s;
}

.ct-list-page .ct-inline-loading-circle:nth-child(3){
    left:auto;
    right:15%;
    animation-delay:.3s;
}

.ct-list-page .ct-inline-loading-shadow{
    width:20px;
    height:4px;
    border-radius:50%;
    background-color:rgba(0,0,0,.5);
    position:absolute;
    top:62px;
    transform-origin:50%;
    z-index:-1;
    left:15%;
    filter:blur(1px);
    animation:ctshadow .5s alternate infinite ease;
}

@keyframes ctshadow{
    0%{
        transform:scaleX(1.5);
    }
    40%{
        transform:scaleX(1);
        opacity:.7;
    }
    100%{
        transform:scaleX(.2);
        opacity:.4;
    }
}

.ct-list-page .ct-inline-loading-shadow:nth-child(4){
    left:45%;
    animation-delay:.2s;
}

.ct-list-page .ct-inline-loading-shadow:nth-child(5){
    left:auto;
    right:15%;
    animation-delay:.3s;
}

.ct-list-page .ct-inline-loading-wrapper span{
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    letter-spacing: 5px;
    color: #E9528E;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* post */

.ct-post-page {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

.ct-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.ct-post-header-post-btn {
    width: 90px;
    padding: 5px;
    background-color: #E9528E;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.ct-post-header-post-btn::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.ct-post-header-cancel-btn {
    width: 50px;
    font-size: 0.875rem;
    color: #535353;
    cursor: pointer;
    border: none;
}

#ct-post-upload-progress {
    width: 90%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 12px;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
}

#ct-post-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #7D40A0, #9E6CBB);
    width: 0%;
    border-radius: 8px;
    transition: width 0.4s ease-out;
}

.ct-post-avatar-and-textarea {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow-y: auto;
    flex:1;
    padding-bottom: 40px;
    margin-top: 60px;
}

.ct-post-avatar {
    flex: 0 0 50px;
}

.ct-post-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-post-pic-and-textarea {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.ct-post-textarea-btn-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.ct-post-pic-item {
}


.ct-post-pic-item img {
    height: auto;
    width: 30px;
}

.ct-post-textarea-container {
    flex-grow: 1;
    width: 100%;
}

.ct-post-textarea {
    width: 100%;
    font-size: 1rem;
    resize: none;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    max-height: 30dvh;
    color: #535353;
    padding: 0px;
}

#ct-post-char-count {
    font-size: 0.875rem;
    color: #535353;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 55px;
}

#ct-post-preview-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease;
}

#ct-post-preview-image img,
#ct-post-preview-image video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

.ct-post-page .plyr video {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.ct-post-page :not(:fullscreen) > .plyr__video-wrapper {
    background: #fff !important;
}

.ct-post-page .plyr__video-wrapper {
    display: flex;
}

.ct-post-page .plyr:fullscreen video {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ct-post-page .plyr--video .plyr__controls {
    background: transparent !important;
}

.ct-post-page .plyr__control--overlaid
{
    background: #E9528E !important;
}

.ct-post-page .plyr__menu {
    display: none;
}

.ct-post-page .plyr--pip-supported [data-plyr=pip] {
    display: none;
}

.ct-post-page .plyr__volume {
    display: none;
}

.ct-post-page .plyr__control[data-plyr="airplay"] {
    display: none !important;
}

.ct-post-page .plyr--full-ui input[type=range] {
    color: #E9528E !important;
}

.ct-post-page .plyr--fullscreen-enabled [data-plyr=fullscreen]
 {
    display: none;
}

.ct-post-page .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #E9528E !important;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-mylog-area-label {
    display: flex;
    font-size: 0.875rem;
    color: #7D40A0;
    text-align: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 30px;
    border: 1px solid #7D40A0;
    border-radius: 30px;
    position: relative;
}

.ct-mylog-area-label-name {

}

.ct-mylog-area-label::before {
    border-left: 1px solid #7D40A0;
    border-top: 1px solid #7D40A0;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    right: 10px;
    top: 46%;
    transform: translatey(-50%) rotate(-135deg);
    width: 7px;
}

.ct-bsky-link-button {
    display: flex;
    position: relative;
    background-color: #1185FE;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 1.875rem;
    font-size: 0.875rem;
    gap: 0.15rem;
    padding: 0.45rem 0.8rem;
    width: 10rem;
    height: 1.875rem;
}

.ct-bsky-link-button::before {
    position: absolute;
    content: "";
    top: 50%;
    height: 0.4375rem;
    right: 0.625rem;
    width: 0.4375rem;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: translateY(-50%) rotate(-135deg);
}

.ct-bsky-already-link-button {
    display: flex;
    position: relative;
    background-color: #fff;
    border: solid 1px #1185FE;
    color: #1185FE;
    text-decoration: none;
    font-weight: 500;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 1.875rem;
    font-size: 0.875rem;
    gap: 0.15rem;
    padding: 0.45rem 0.8rem;
    width: 10rem;
    height: 1.875rem;
}

.ct-post-bsky-linked-icon {
    height: 1.25rem;
    width: auto;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* view */

.ct-view-theralog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.ct-view-theralog-modal-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 200;
    touch-action: none;
}

.ct-view-theralog-modal-main-content {
    margin-top: 40px;
}

.ct-view-page {
    background: #fff;
    width: 100%;
    max-width: 1024px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 100px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
}

.ct-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;

}

.ct-view-header-cancel-btn {
    width: 50px;
    font-size: 0.875rem;
    color: #535353;
    cursor: pointer;
    border: none;
}

.ct-view-avatar-and-content {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
    gap: 0px !important;
}

.ct-view-avatar {
    flex: 0 0 50px;
}

.ct-view-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-view-pic-and-textarea {
    display: flex;
    background: white;
    flex-direction: column;
    width: 100%;
}

.ct-view-pic-and-textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-view-pic-and-textarea-header-username,
.ct-view-comment-card-username {
    font-weight: bold;
    color: #535353;
    font-size: 1rem;
}

.ct-view-pic-and-textarea-header-date-and-btn,
.ct-view-comment-card-content-header-date-and-btn {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.ct-view-pic-and-textarea-header-date-and-btn img,
.ct-view-comment-card-content-header-date-and-btn img {
    width: 14px;
    height: 14px;
}

.ct-view-pic-and-textarea-header-date,
.ct-view-comment-card-content-header-date {
    font-size: 0.875rem;
    color: #535353;
}

.ct-view-textarea-container {
    flex-grow: 1;
    width: 100%;
}

.ct-view-text {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    overflow-y: hidden;
    color: #535353;
}

.ct-view-text a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    color: #7D40A0;
    word-break: break-word;
}
  

#ct-view-preview-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease;
}

#ct-view-preview-image img,
#ct-view-preview-image video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

.ct-view-theralog-modal .plyr video {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.ct-view-theralog-modal :not(:fullscreen) > .plyr__video-wrapper {
    background: #fff !important;
}

.ct-view-theralog-modal .plyr__video-wrapper {
    display: flex;
}

.ct-view-theralog-modal .plyr:fullscreen video {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ct-view-theralog-modal .plyr--video .plyr__controls {
    background: transparent !important;
}

.ct-view-theralog-modal .plyr__control--overlaid
{
    background: #E9528E !important;
}

.ct-view-theralog-modal .plyr__menu {
    display: none;
}

.ct-view-theralog-modal .plyr--pip-supported [data-plyr=pip] {
    display: none;
}

.ct-view-theralog-modal .plyr__volume {
    display: none;
}

.ct-view-theralog-modal .plyr__control[data-plyr="airplay"] {
    display: none !important;
}

.ct-view-theralog-modal .plyr--full-ui input[type=range] {
    color: #E9528E !important;
}

.ct-view-theralog-modal .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #E9528E !important;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-view-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.ct-view-like-tab-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #535353;
}

.ct-view-like-tab-btn img {
    width: 23px;
    height: auto;
    margin-right: 5px;
}

.ct-view-comment-tab-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #535353;
}

.ct-view-comment-tab-btn img {
    width: 23px;
    height: auto;
    margin-right: 5px;
}

.ct-view-share-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #535353;
}

.ct-view-share-btn img {
    width: 1.4375rem;
    height: auto;
}

.ct-view-bsky-icon {
    display: inline-flex;
    align-items: center;
}

.ct-view-bsky-icon img {
    height: 1rem;
    width: auto;
}


.ct-view-card-area {
    color: #535353;
    border: 1px solid #535353;
    border-radius: 20px;
    font-size: 0.75rem;
    width: auto;
    text-align: center;
    width: 87px;
    height: 20px;
}

.ct-view-likers {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.ct-view-liker-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #AAAAAC;
    gap: 10px;
    flex-direction: row;
}

.ct-view-liker-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-view-liker-card-name {
    font-weight: bold;
    color: #535353;
    font-size: 1rem;
}

.ct-view-no-likes,
.ct-view-no-comments,
.ct-no-reaction {
    text-align: center;
    font-size: 1rem;
    color: #AAAAAC;
    margin: 40px 0;   
}

.ct-view-comments {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}


.ct-view-comment-card {
    display: flex;
    border-bottom: 1px solid #AAAAAC;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: flex-start;
    gap: 10px;
}

.ct-view-comment-card-header {
    flex: 0 0 50px;
}

.ct-view-comment-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-view-comment-card-content {
    flex: 1;
    width: calc(100% - 60px);
}

.ct-view-comment-card-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-view-comment-text {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    overflow-y: hidden;
    color: #535353;
}

.ct-view-comment-text a {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    color: #7D40A0;
    word-break: break-word;
}

.ct-same-role-user {
    pointer-events: none;
    cursor: default;
    background: #F5F5F5;
}

.ct-view-comment-footer {
    background-color: #fff;
    border-top: 1px solid #AAAAAC;
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;  
}

#ct-view-comment-form {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
}

#ct-view-comment-textarea {
    flex: 1;
    border: 1px solid #AAAAAC;
    padding: 5px;
    border-radius: 8px;
    resize: none;
    font-size: 1rem;
    max-height: 200px;
    overflow-y: auto;
    color: #535353;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

#ct-view-comment-send-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 4px 4px;
}

#ct-view-comment-send-button img {
    width: 100%;
    height: 100%;
}

#ct-view-reply-to {
    text-align: left;
    width: 100%;
    font-size: 1rem;
    color: #AAAAAC;
}

#ct-view-reply-to span {
    color: #9E6CBB;
}

.ct-comment-reply-to {
    text-align: left;
    width: 100%;
    font-size: 1rem;
    color: #AAAAAC;
}

.ct-comment-reply-to-name {
    color: #9E6CBB;
}

#ct-view-comment-progress {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    border-radius: 10px;
}

#ct-view-comment-bar {
    height: 100%;
    background: linear-gradient(to right, #7D40A0, #9E6CBB);
    width: 0%;
    border-radius: 8px;
    transition: width 0.4s ease-out;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* reaction */

.ct-reaction-mylog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.ct-reaction-mylog-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 1024px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.ct-reaction-mylog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.ct-reaction-mylog-header-cancel-btn {
    width: 50px;
    font-size: 0.875rem;
    color: #535353;
    cursor: pointer;
    border: none;
}

.ct-reaction-mylog-modal-main-content {
    height: 100%;
    overflow: auto;
}

.ct-reaction-cards {
    display: flex;
    flex-direction: column;
}

.ct-reaction-card {
    display: flex;
    align-items: flex-start;
    width: 100%;
    border: none;
    border-bottom: 1px solid #AAAAAC;
    text-align: left;
    background: #fff;
    cursor: pointer;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ct-reaction-card-icon-area {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ct-reaction-type-icon {
    width: 30px;
    height: auto;
}

.ct-reaction-card-content-area {
    flex: 1;
    width: calc(100% - 50px);
}

.ct-reaction-card-header {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    color: #535353;
}

.ct-reaction-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ct-reaction-username {
    color: #535353;
    font-weight: bold;
    font-size: 0.875rem;
}

.ct-reaction-card-body {
    color: #535353;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.ct-reaction-card-footer {
    font-size: 0.875rem;
    color: #AAAAAC;
    text-align: right;
    margin-top: 10px;
}

.ct-reaction-unconfirmed {
    background: #FDF1FC;
}
