#reg {
    width:90%;
}
#reg-desc {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 10px;
}
.register-button {
    display: block;
    font-size: 1em;
    color: #fff;
    background-color: #000;
    border: solid #fff 1px;
    border-radius: 3px; 
    width: 80%;
    height: 2em;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 5px;
}
.register-button-h:hover {
    color: #000;
    background-color: #fff;
    transform: translateY(4px);
}

#timetable {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

#timetable h1 {
    margin: 10px;
    margin-bottom: 30px;
    text-align: center;
}

#timetable-container {
    width: 90%;
    max-width: 1000px;
    margin: 10px;
    margin-top: 20px;
    gap: 20px;
}

.timetable-empty-mess {
    text-align: center;
    line-height: 5em;
    overflow-x: hidden;
    white-space: nowrap;
}

.timetable-date {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.timetable-date-header {
    width: 100%;
    border-bottom: solid #fff 3px;
}
.timetable-date-header h2 {
    margin: 10px auto 15px 10px;
}
.timetable-date-container {
    width: 98%;
}

.timetable-video {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px;
    width: 100%;
    height: 3.5em;
    /* border-top: solid 1.5px #fff3; */
    position: relative;
}
.timetable-video.timetable-items {
    background-color: #000;
    border-bottom: solid 1px #555;
}
.unverified {
    color: #888a;
}
.timetable-date-container .timetable-items.timetable-video:last-child {
    /* border-bottom: solid 1.5px #fff3; */
    border-bottom: none;
}
.timetable-video-time {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 3px;
    margin-left: 5px;
    font-size: 0.9em;
}
.timetable-video-ptime {
    justify-self: center;
    font-size: 1.25em;
}
.timetable-video-dur {
    align-self: flex-end;
    font-size: 0.9em;
    color: #aaa;
}
.unverified .timetable-video-dur {
    color: #666a;
}
.timetable-video-details {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
}
.timetable-video-title {
    font-size: 1em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
    margin-right: 0.25em;
    padding-right: 2em;
    margin-bottom: 0px;
    gap: 5px;
    position: relative;
    line-height: 1.5;
    height: 1.5em;
}
.timetable-video-title::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 2em;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    background: linear-gradient(
        to right,
        #00000000 0%,
        #000000ff 100%
    );
}
.timetable-video-channel {
    font-size: 0.75em;
    gap: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    height: 1.2em;
    line-height: 1.5;
    height: 1.65em;
}
.timetable-video-button {
    margin-left: auto;
    gap: 10px;
    display: flex;
}

.video-icons {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.7em;
    height: 1.7em;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    border: none;
    background-color: #000;
    border-radius: 100%;
    user-select: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.video-icons * {
    display: block;
    margin: auto;
    text-align: center;
    transition: color 0.15s ease;
}

.video-icons-unverified {
    width: auto;
    min-width: 6em;
    border-radius: 0.85em;
    height: 1.7em;
    gap: 0.3em;
}

.video-icons:hover {
    background-color: #fff;
}

.video-icons:hover * {
    color: #000;
    text-align: center;
}

/* 動画情報ダイアログ */
#video-info-dialog {
    width: 50%;
}
#video-info-dialog p {
    margin-left: 0;
}

#video-info-dialog-iframe {
    display: block;
    flex-grow: 1;
    margin-right: 0;
    width: 48%;
    aspect-ratio: 16 / 9;
    display: block;
    background-color: #000;
}
#video-info-dialog-title {
    font-size: 1.5em;
    margin: 9px auto;
}
#video-info-dialog-publish-datetime {
    font-size: 0.95em;
}
#video-info-dialog-publish-datetime i {
    font-size: 1em;
}
#video-info-dialog-details {
    padding-top: 15px;
    display: flex;
}
#video-info-dialog-details h4 {
    margin: 5px auto;
    font-size: 1.05em;
}
#video-info-dialog-comment {
    margin: 5px 0 20px 0;
    font-size: 0.9em;
    width: 52%;
}

@media screen and (max-width: 1000px) {
    #video-info-dialog {
        width: 85%;
    }
}

/* 共有ダイアログ */
#video-share-dialog {
    width: 50%;
    min-width: 500px;
}
#video-share-dialog p {
    font-size: 0.8em;
    margin-bottom: 10px;
    color: #aaa;
    text-align: center;
}
#video-share-input {
    background: none;
    color: #fff;
    border: #555 1px solid;   
    border-radius: 5px;
    font-size: 0.85em;
    width: 100%;
    height: 2.5em;
}

.page-message {
    padding: 23px;
    margin: auto;
    border-radius: 4px;
    font-weight: bold;
    width: 80%;
    text-align: center;
}

.success {
    background-color: #e6ffe605;
    color: #3f3;
    border: 1px solid #222;
}

.error {
    background-color: #ffe6e605;
    color: #f00;
    border: 1px solid #222;
}

@media screen and (max-width: 650px) {
    .timetable-video-details {
        /* flex-direction: column; */
        align-items: start;
        /* gap: 5px */
    }
    .timetable-video-title {
        width: 100%;
    }
    .timetable-video-channel {
        margin-top: 0;
    }
    .timetable-video-button {
        gap: 14px;
    }
    .video-icons {
        margin-top: 1px;
    }
    #video-info-dialog-iframe {
        width: 90%;
        margin: auto;
    }
    #video-info-dialog-details {
        flex-direction: column;
    }
    #video-info-dialog-comment {
        width: 100%;
    }
    #video-share-dialog {
        min-width: 0;
        width: 95%;
    }
}
