body {
    margin: 0;
    padding: 0 0 25px 0;
    background-image: url("https://i2.ytimg.com/bg/Y30JRSgfhYXA6i6xX1erWg/101.jpg");
    background-color: #92B9D6;
    background-repeat: repeat-y;
    background-size: 1035px;
    background-position: center top; 
    background-attachment: scroll;
    font-family: Verdana, sans-serif;
}

#page {
    width: 925px;
    margin: 0 auto;
}

#banner {
    width: 914px;
    height: auto;
    display: block;
    margin: 5px;
}a, a:link, a:visited, a:hover, a:active {
    color: #c0d9e9;
    text-decoration: underline;
}

.banner {
    background: #3f6b88;
    padding: 2px 2px;
    font-size: 11px;
    color: #dfc8b5;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #5aa117;
    padding: 4px 20px 4px 4px; 
    border-radius: 1px 0 0 1px;
    height: 100%;
    clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%);
}

.banner-triangle {
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 10px solid #5aa117;
    position: relative;
    margin-right: 8px;
}
.banner-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-middle {
    flex: 1;
    justify-content: flex-start;
    margin-left: 10px;
}

.banner-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.banner-title {
    font-size: 14px;
    font-weight: 700;
}

.banner-sub {
    font-size: 10px;
    opacity: 0.9;
}

.avatar {
    width: 32px;
    height: 32px;
    border: 1px solid #dfc8b5;
    background: white;
}

.subscribe-btn {
    background: #ffe971;
    background-image: -moz-linear-gradient(top,#fff9c1,#fed81c);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff9c1), to(#fed81c));
    padding: 4px 6px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #ecc101;
    cursor: pointer;
    border-radius: 3px;
}
.subscribe-btn:hover {
    border-color: #4D1207;
    box-shadow:
        0 0 4px #ffffff,
        0 1px 0 #fff inset;
}
.nav-btn {
    background: transparent;
    border: none;
    color: #c0d9e9;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.nav-btn-selected {
    background: #dfc8b5;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #3f6b88;
    padding: 2px 6px;
    font-size: 14px;
    border-radius: 3px;
}
.style-0 {
    opacity: 1;
    box-sizing: border-box;
    position: relative;
    width: 28px;
    height: 18px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 3px;
    top: -1px;
    background: #dfc8b5;
}

.style-1 { position: relative; top: 4px; left: 4px; }

.style-2 {
    width: 14px;
    height: 10px;
    position: absolute;
    background: #3f6b88;
}

.style-3 {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 0;
    height: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #dfc8b5;
}

.style-4, .style-5, .style-6 {
    width: 3px;
    height: 2px;
    position: absolute;
    background: #3f6b88;
}

.style-4 { left: 15px; top: 0px; }
.style-5 { left: 15px; top: 3px; }
.style-6 { left: 15px; top: 6px; }

.grid-icon {
    width: 28px;
    height: 18px;
    display: inline-block;
    border-radius: 3px;
    position: relative;
}

.grid-inner {
    position: absolute;
    top: 3px;
    left: 4px;
}

.grid-inner div {
    width: 4px;
    height: 2px;
    background: #e7ecfa;
    position: absolute;
}

.g1{left:0;top:0;} .g2{left:6px;top:0;} .g3{left:12px;top:0;}
.g4{left:0;top:3px;} .g5{left:6px;top:3px;} .g6{left:12px;top:3px;}
.g7{left:0;top:6px;} .g8{left:6px;top:6px;} .g9{left:12px;top:6px;}

#content {
    display: flex;
    margin-top: 10px;
    justify-content: flex-start;
    gap: 10px;
}

#left {
    width: 620px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#right {
    width: 296px;
}

iframe {
    display: block;
    border: 0;
}

.tabs {
    display: flex;
    gap: 10px;
    font-size: 11px;
    background: transparent;
}

.tab {
    cursor: pointer;
    color: #3d6a87;
    font-weight: bold;
}

.tabs span {
    margin-right: 3px;
    cursor: pointer;
}

.tab.active {
    color: #dfc8b5;
    font-weight: bold;
    text-decoration: none;
}

.panel {
    background: #3F6B88;
    color: #efe5dd;
    position: relative;
    width: 100%;
    border-radius: 2px;
}

.video-box {
    padding: 8px 10px;
    font-size: 11px;
    max-height: 165px;
    overflow-y: auto;
    box-sizing: border-box;
    background: #3f6b88;
    border-radius: 2px;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.video-title {
    font-size: 14px;
    font-weight: bold;
    color: #c0d9e9;
}

.video-title a {
    color: inherit;
    text-decoration: none;
}

.video-meta {
    margin-top: 3px;
    font-size: 10px;
}

.video-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.yt-like-btn {
    background: #f3f3f3;
    border: 1px solid #999999;
    padding: 0 5px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 3px;
    cursor: pointer;
    font: 11px Verdana;
    color: #000;
    box-shadow: #999999 0px 0px 2px 0px;
}

.yt-like-btn:hover {
    border-color: #ffffff;
    box-shadow:
        0 0 4px #ffffff,
        0 1px 0 #fff inset;
}

.sprite {
    width: 16px;
    height: 18px;
    display: inline-block;
    background-image: url("ytimg.png");
    background-repeat: no-repeat;
}

.like-icon {background-position: -242px 0px;}
.dislike-icon {background-position: 0px -20px;}
.yt-like-btn.like:hover .like-icon {background-position: -186px -146px;}
.yt-like-btn.dislike:hover .dislike-icon {background-position: -50px -64px;}

.video-description {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 8px;
}

.video-description p {
    margin: 6px 0;
}

.video-description a {
    color: #cfe8ff;
    text-decoration: none;
    font-weight: bold;
}

.view-more {
    display: block;
    margin-top: 8px;
    color: #cfe8ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.yt-icon {
    background-image: url("channel_sprites.png");
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 9px;
}
.icon-info {background-position: -84px -10px;}
.icon-favorite {background-position: -0px -10px;}
.icon-share {background-position: -12px -10px;}
.icon-playlist {background-position: -32px -10px;}
.icon-flag {background-position: -45px -10px;}
.icon-info:hover {background-position: -84px -0px;}
.icon-favorite:hover {background-position: -0px -0px;}
.icon-share:hover {background-position: -12px -0px;}
.icon-playlist:hover {background-position: -32px -0px;}
.icon-flag:hover {background-position: -45px -0px;}

.playlist-wrapper {
    background: #3f6b88;
    padding: 12px 0 12px 12px;
    border-radius: 4px;
    box-sizing: border-box;
    width: 296px;
}

.playlist-wrapper .search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.playlist-wrapper .search-bar input {
    width: 190px;
    height: 22px;
    border: 1px solid #222;
    padding: 2px 4px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    background: #ffffff;
    color: #333333;
}

.playlist-wrapper .search-bar button {
    height: 22px;
    padding: 0 10px;
    font-size: 12px;
    background: #fcfcfc;
    border: 1px solid #777;
    border-radius: 2px;
    cursor: pointer;
}

.playlist-tabs {
    font-size: 11px;
    color: #b3d1e6;
    padding-bottom: 6px;
    border-bottom: 2px solid #5aa117;
    margin-bottom: 10px;
    margin-right: 12px;
    display: flex;
    gap: 4px;
}

.playlist-tabs span {
    cursor: pointer;
}

.playlist-tabs .active {
    font-weight: bold;
    color: #ffffff;
}

.scrollbox {
    height: 447px;
    overflow-y: scroll;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
}

.video {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    border-bottom: none;
}

.video:last-child {
    border-bottom: none;
}

.thumb-box {
    position: relative;
    width: 100px;
    height: 56px;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    background: #000;
    padding: 0;
    box-sizing: border-box;
}

.video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: black;
    display: block;
}

.info {
    flex: 1;
    min-width: 0;
}

.title {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #c0d9e9;
    line-height: 1.2;
    margin-bottom: 2px;
    text-transform: uppercase;
    display: block;
    word-wrap: break-word;
}

.video:hover .title {
    text-decoration: underline;
}

.meta {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #b2cfe3;
}
.duration {
    position: absolute;
    bottom: 1px;
    right: 1px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 1px 3px;
    border-radius: 1px;
}
.video-box::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 28px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #3f6b88;
}

.dashboard-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 10px;
}

.dash-left-column {
    width: 296px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-right-column {
    width: 619px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-module {
    background: #3f6b88;
    color: #dfc8b5;
    padding: 8px;
    font-size: 11px;
    border-radius: 4px;
}

.box-header {
    font-size: 14px;
    font-weight: bold;
    color: #dfc8b5;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 10px 0;
}
.links-section-title {
    font-size: 10px;
    font-weight: bold;
    color: #b9d3e3;
    margin-top: 8px;
    text-transform: uppercase;
}
.links-list li {
    margin: 3px 0;
    font-size: 11px;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 4px;
}
.profile-table td {
    padding: 4px 0;
    vertical-align: top;
    border-bottom: 1px dotted #5aa117;
}
.profile-table tr:last-child td {
    border-bottom: none;
}
.profile-table .label {
    font-weight: bold;
    color: #b9d3e3;
    width: 120px;
}
.profile-table .value {
    color: #dfc8b5;
}
.profile-table .value-right {
    text-align: right;
    color: #dfc8b5;
}
.profile-about-section {
    margin-top: 8px;
    padding: 6px 0;
    border-bottom: 1px dotted #5aa117;

}
.profile-about-title {
    font-weight: bold;
    color: #b9d3e3;
    margin-bottom: 2px;
}
.profile-about-text {
    color: #dfc8b5;
    line-height: 1.3;
}
.profile-ribbon-icon {
    width: 24px;
    height: 32px;
    background: #fff;
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    border: 1px solid #adadad;
}
.profile-ribbon-icon::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: #ffd700;
    border-radius: 50%;
    border: 1px solid #d4af37;
}

.side-column-image{
    width: 100%;
    height: 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}

.side-column-image img{
    width: 306px;
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.image-profile-card {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.image-profile-avatar-box {
    border: 1px solid #ffffff;
    background: #000;
    width: 76px;
    height: 84px;
    flex-shrink: 0;
}

.image-profile-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-profile-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.image-profile-name {
    font-size: 18px;
    font-weight: normal;
    color: #dfc8b5;
    margin-bottom: 2px;
    line-height: 1;
}

.image-profile-actions {
    font-size: 10px;
    color: #b9d3e3;
    line-height: 1.4;
}

.image-profile-actions a {
    color: #b9d3e3;
    text-decoration: none;
}


.image-profile-pipe {
    color: #dfc8b5;
    margin: 0 2px;
}

.dash-subscribe-btn {
    background: #ffe971;
    background-image: -moz-linear-gradient(top,#fff9c1,#fed81c);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff9c1), to(#fed81c));
    color: #000000;
    text-decoration:none;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #ecc101;
    cursor: pointer;
    border-radius: 3px;
}

.btn-arrow {
    color: #8b5a2b;
}

.dash-subscribe-btn:hover {
    border: 1px solid #ecc101;
    box-shadow:
        0 0 4px #ffffff,
        0 1px 0 #fff inset;
}
.dash-subscribe-btn a {
    color: #000000;
    text-decoration: none;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.grid-item {
    text-align: center;
    font-size: 10px;
}

.grid-pic {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid #2d4f66;
    object-fit: cover;
    display: block;
    margin: 0 auto 2px auto;
}

.channel-row {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dotted #4f82a3;
}

.channel-row:last-child {
    border-bottom: none;
}

.channel-avatar {
    width: 45px;
    height: 44px;
    background: #ccc;
    border: 1px solid #2d4f66;
}

.channel-desc {
    flex: 1;
}

.channel-name {
    font-weight: bold;
    color: #fff;
}

.channel-stats {
    font-size: 10px;
    color: #b9d3e3;
    text-align: right;
}
.stamp-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); 
    gap: 2px;
    padding: 4px 4px;
    width: 100%;
    box-sizing: border-box;
}

.stamp-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}