BskyB / Youtube Gaming Fullscreen Darker

// ==UserScript==
// @name          Youtube Gaming Fullscreen Darker
// @icon        http://i.imgur.com/vD67sda.jpg
// @namespace     http://userstyles.org
// @description	  Hide chat and search - all hidden elements are accessible on mouse hover. Open any video in gaming mode https://openuserjs.org/scripts/BskyB/Open_any_YouTube_video_in_Gaming_mode
// @author        bskyb
// @homepage      https://userstyles.org/styles/118163
// @run-at        document-start
// @version       0.20150929064539
// @grant       GM_getValue
// @grant       GM_log
// @grant       GM_openInTab
// @grant       GM_registerMenuCommand
// @grant       GM_setValue
// @grant       GM_xmlhttpRequest
// @grant       GM_addStyle
// @include        https://www.youtube.com/*
// @include        https://gaming.youtube.com/*
// @exclude        https://www.youtube.com/tv#/*
// @run-at         document-start
// ==/UserScript==
(function() {var css = "";
css += "@namespace url(http://www.w3.org/1999/xhtml);";
if (false || (document.domain == "youtube.com" || document.domain.substring(document.domain.indexOf(".youtube.com") + 1) == "youtube.com"))
	css += [
		".watch-stage-mode #player-playlist .watch-playlist {",
		"    top: 360px !important;",
		"    }",
		".ytg-search-results-page-0 .fixed.ytg-search-results-page, ytg-tabbed-header.ytg-tabbed-header-0[docked] #tab-bar.ytg-tabbed-header {",
		"    top: 6px !important;",
		"}",
		"    .ytg-app-0 ytg-game-sidebar.ytg-app, .ytg-app-0 ytg-channel-sidebar.ytg-app {",
		"    top: 11px;",
		"    height: calc(100vh - 11px);",
		"}",
		"    .layout.vertical.flex.style-scope.ytg-watch-footer > .video-title.ytg-watch-footer, .layout.vertical.flex.style-scope.ytg-watch-footer > .byline.ytg-watch-footer, .layout.vertical.flex.style-scope.ytg-watch-footer > .description.ytg-watch-footer  {",
		"        width: 50% !important;",
		"    }",
		"    .layout.vertical.flex.style-scope.ytg-watch-footer >.actions.ytg-watch-footer {",
		"        width: 49% !important;",
		"    margin-top: -40px !important;",
		"    margin-left: 50% !important;",
		"    }",
		"   /*#movie_player.html5-video-player {",
		"            height: auto !important;",
		"    }*/",
		"     .html5-video-player .video-stream {    ",
		"        width: 100% !important;",
		"    height: auto !important;",
		"    top: 0px !important;",
		"    left: 0px !important;",
		"    position: relative !important;",
		"}",
		"    #player-container {",
		"            margin-top: 7px !important;",
		"        width: 100% !important;",
		"    height: 100% !important;",
		"    }",
		"    .ytg-app-0 #contentLayer.ytg-app {",
		"    padding-top: 0px !important;",
		"}",
		"    .margin.ytg-watch-footer {",
		"    margin: 0px 24px !important;",
		"}",
		"    body {/*",
		"    margin-top: 0px !important;",
		"    margin-bottom: -29px !important;*/",
		"}",
		"  ytg-watch-page.ytg-watch-page-1 {",
		"    height: calc(100vh - 0px) !important;",
		"}",
		".video-title {",
		"    background: rgba(0, 0, 0, 0.01) none repeat scroll 0% 0% !important;",
		"}",
		"    .description:hover .date.ytg-watch-footer {",
		"    display: block !important;",
		"}",
		"    .date.ytg-watch-footer, .description .ellipsis-1 {",
		"        transition: all 0.2s ease-in-out 0s !important;",
		"    }",
		"   .description:hover .ellipsis-1 {",
		"    max-height: unset !important;",
		"}",
		"    .expand.ytg-watch-footer, .layout.center-center.margin.ytg-watch-footer {",
		"    margin: 0px !important;",
		"        display: none !important;",
		"}",
		"    .ytg-subscribe-button-1 paper-button.ytg-subscribe-button {",
		"        background-color: transparent !important;",
		"    }",
		"    .content.paper-button {",
		"        padding: 0px !important;",
		"    }",
		"    .html5-video-content, .footer.ytg-comment {",
		"        display: none !important;",
		"    }",
		"   .ytg-watch-footer.layout.horizontal .active.ytg-like-widget {",
		"    color: #377DFA !important;",
		"}",
		"    ytg-watch-sidebar.ytg-watch-page {",
		"    width: 5px !important;",
		"    transition: width 0.15s ease 0s !important;",
		"}  ",
		"    ytg-watch-sidebar.ytg-watch-page:hover {",
		"        ",
		"    width: 360px !important;",
		"    }",
		"    .footer.ytg-watch-footer {",
		"    height: 0px !important;",
		"        margin-top: 0px !important;",
		"        margin-bottom: 1px !important;",
		"        ",
		"    transition: height 0.15s ease 0s !important;",
		"    }",
		"    .details.ytg-watch-footer {",
		"        margin-top: 4px !important;",
		"        height:50px !important;",
		"        margin-bottom: 0px !important;",
		"    }",
		".footer.ytg-watch-footer:hover {",
		"        padding-bottom: 10px !important;",
		"    height: 60px !important;",
		"    }",
		"/*    .ytg-toolbar-0 #content.ytg-toolbar {",
		"    height: 20px !important;",
		"    transition: height 0.15s ease 0s !important;",
		"}",
		"    ytg-toolbar-0 #content.ytg-toolbar:hover {",
		"    height: 36px !important;",
		"}*/",
		"#content.ytg-toolbar {",
		"    padding: 0px 0px !important;",
		"}",
		"    #search-container.ytg-toolbar {",
		"    margin: 0px 0px !important;",
		"}",
		"    .ytg-toolbar-0 #content.ytg-toolbar {",
		"    height: 36px !important;",
		"}",
		"    #topBar.ytg-app {",
		"    top: -25px !important;",
		"    transition: top 0.15s ease 0s !important;",
		"        }",
		"     #topBar.ytg-app:hover {",
		"    top: 0px !important;",
		"        }",
		"    .ytg-watch-page-0 .main.ytg-watch-page {",
		"    padding-top: 0px !important;",
		"}",
		"    .details.ytg-watch-footer, .style-scope.ytg-watch-footer.x-scope.ytg-nav-endpoint-1, .style-scope.ytg-watch-footer.layout.horizontal, .flex-none.style-scope.ytg-watch-footer.x-scope.ytg-subscribe-button-1 {",
		"        margin-top: 0px !important;",
		"    }",
		"/*    .video-stream.html5-main-video {",
		"        width: 1423px !important;",
		"height: 800px !important;",
		"    }",
		"    .ytp-chrome-bottom{",
		"                width: 1423px !important;",
		"left: 0px !important;",
		"    }*/",
		"* {",
		"-moz-user-select: text !important;",
		"}",
		".pl-video-title-link {",
		"    color: rgb(191,191,191) !important;",
		"}",
		"#yt-masthead-container {",
		"  margin-top:-4px !important;",
		"    padding-top: 0px !important;",
		"    padding-bottom: 0px !important;",
		"/*    margin-top: -5px !important;*/",
		"    ",
		"-moz-transform: translateZ(0) !important;",
		"-moz-transition:margin-top 0.2s !important;",
		"}",
		"    .watch-stage-mode #player .player-width {",
		"    left: 0px !important;",
		"}",
		".watch-stage-mode #player .player-api {",
		"    margin-left: 0px !important;",
		"}",
		"    .watch-stage-mode #placeholder-player .player-api {",
		"    margin-left: -180px !important;",
		"}",
		" /*   #yt-masthead-container:hover {",
		"        ",
		"    margin-top:-7px !important;",
		"    }*/",
		"    #yt-masthead .yt-masthead-logo-container {",
		"    margin-top: -4px;",
		"    }",
		"    .appbar-flexwatch .watch-stage-mode #player, .appbar-flexwatch-mini .watch-stage-mode #player, #player {",
		"        margin-top: 0px !important;",
		"        ",
		"    margin-bottom:0px !important;",
		"        bottom: 0px !important;",
		"    }",
		"   .player-height {",
		"  height: 720px !important;",
		"} ",
		"    .player-width {",
		"        width: 1280px !important;",
		"    }",
		"#masthead-positioner {",
		"    position: static !important;",
		"  /*  margin-top: -5px !important;*/",
		"}",
		"    #page-container{margin-top:0px !important;    }",
		".yt-ui-menu-content, html, body, #watch-frame-bottom, #content-container,",
		" .playnav-video-panel-inner.border-box-sizing, #playnav-left-panel, .outer-box.yt-rounded,",
		"  .outer-box, .comments-post-alert, .watch-branded #watch-main-container, .watch-branded #watch-sidebar,",
		"  #watch7-content, #watch7-user-header, #watch7-headline, .search-header, #masthead-expanded-container, ",
		"  .branded-page-v2-primary-col, #masthead-appbar-container, .exp-css-ellipsis .yt-ui-ellipsis, .yt-uix-expander-ellipsis {",
		" background: #181818 !important; ",
		"}",
		"",
		"/* Video Page */",
		"",
		" #watch7-sidebar, .watch-branded #watch7-sidebar, .watch-branded-banner, #page.watch #guide-container.branded, .watch-editable:hover {",
		" background-color: #181818 !important; ",
		"}",
		"    ",
		" #watch7-creator-bar {",
		"      background: #1b1b1b !important;",
		" }",
		"    ",
		"#non-appbar-vm-video-actions-bar, #non-appbar-vm-video-actions-bar .vm-video-actions-bar, .vm-list-view .vm-video-item-content, #vm-pagination {",
		"      background: #000 !important;",
		" }",
		"",
		".comments-post-alert {",
		" border: none !important; ",
		" }",
		"",
		"",
		"#watch-panel-slider, #watch-panel-slider > DIV > DIV > DIV:first-child, ",
		".yt-subscription-button-subscriber-count-branded-horizontal, .yt-subscription-button-subscriber-count-unbranded-horizontal, ",
		"    .yt-alert-panel, .yt-alert.yt-alert-default.yt-alert-info",
		" {",
		" background: #333333 !important; ",
		"}",
		"",
		".yt-subscription-button-subscriber-count-branded-horizontal:after, ",
		".yt-subscription-button-subscriber-count-unbranded-horizontal:after {",
		" border-color: transparent #333333 !important; ",
		"}",
		"",
		".yt-subscription-button-subscriber-count-branded-horizontal:before {",
		"    border-color: transparent #333333 !important; ",
		"}",
		"",
		".lohp-large-shelf-container, .lohp-medium-shelves-container, .lohp-newspaper-shelf, ",
		".lohp-shelf-cell-container.lohp-category-shelf.last-shelf-in-line, ",
		".lohp-shelf-cell-container.lohp-category-shelf, .lohp-vbox-list.lohp-right-vbox-list, .context-data-container, ",
		".branded-page-v2-col-container, #watch7-action-panel-footer,",
		"    #appbar-guide-menu, .guide-flyout, #masthead-appbar, .branded-page-v2-primary-col .branded-page-box, ",
		"    .feed-list li:hover, .site-center-aligned .yt-card",
		" {",
		" background: #181818 !important; ",
		"}",
		"    ",
		".feed-list li:hover {",
		"    border-radius: 0 !important; ",
		"}    ",
		" ",
		".share-panel-url, .share-panel-start-at-time {",
		" -moz-appearance: none !important; ",
		"}",
		"",
		".feed-author-bubble {",
		" background-image: none !important; ",
		"}",
		"",
		"",
		".yt-uix-button-group .end, .yt-uix-button-group .end:hover {",
		" background: none !important; ",
		" box-shadow: none !important; ",
		"}",
		"",
		"/* Home Page Feed Units Padding */",
		"  ",
		".flex-width-enabled .feed-item-container .feed-item-main.feed-item-no-author {",
		"    padding-bottom: 15px !important;",
		"}",
		"  ",
		".branded-page-box, .branded-page-box-padding {",
		"    padding: 10px 15px !important;",
		"}",
		"  ",
		"",
		"/* Menu Button */",
		"",
		" button.end > img:nth-child(1) {",
		"  background-image: linear-gradient(#cccccc, #cccccc 20%, transparent 21%, transparent 40%, #cccccc 41%, #cccccc 60%, transparent 61%, transparent 80%, #cccccc 81%, #cccccc 100%) !important; ",
		"   border: 0px solid #000000 !important; ",
		"   border-radius: 2px !important; ",
		"   transition: opacity .4s;",
		"   height: 16px !important;",
		"   width: 20px !important;",
		"   opacity: .8 !important; ",
		"   transition: opacity 1s;",
		"}",
		"",
		" button.end:hover > img:nth-child(1) {",
		"   opacity: 1 !important; ",
		"   transition: opacity 1s;",
		"}",
		"",
		"",
		"* {",
		" color: #CCCCCC !important; ",
		"}",
		"",
		"* {",
		" border-color: #181818 !important; ",
		"}",
		"",
		"* {",
		" outline: none !important; ",
		"}",
		"",
		"",
		"/*   #######################    Alternative Images - Inverted Icons - Hitchhicker    #################################   */",
		"",
		".yt-uix-button-icon-watch-like, .yt-uix-button-icon-watch-dislike, .yt-uix-button-icon-action-panel-stats, ",
		".yt-uix-button-icon-action-panel-report, #masthead-search .search-btn-component .yt-uix-button-content, ",
		".yt-uix-button .yt-uix-button-icon-action-panel-transcript {",
		" /*  background-image: url(\"https://farm3.staticflickr.com/2948/15349954755_6ef4d3a083_o_d.png\") !important; */",
		"}",
		"",
		"",
		"  ",
		"button:not([id=\"search-btn\"]), .context-link, .item-badge-label, ",
		".feed-item-content-wrapper.playlist-promo, .feed-item-content-wrapper.channel-lockup {",
		" /*background: linear-gradient(#555555, #181818) !important; */",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		"li.feed-list-item:hover, .watch-playlists-drawer ul, .yt-ui-ellipsis {",
		" background: transparent !important; ",
		" box-shadow: none !important; ",
		"}",
		"",
		".item-badge-label {",
		" margin: 1px !important; ",
		" }",
		"",
		"",
		"#yt-masthead-content #masthead-upload-button-group, #yt-masthead-signin {",
		"    float: right;",
		"    margin-top: 4px !important;",
		"    margin-left: 25px;",
		"}",
		"",
		"",
		"#search-btn { ",
		" box-shadow: 0 0 3px #555555 !important;  ",
		" background: linear-gradient(to top, #555555, #181818) !important; ",
		" margin-top: 1px !important; ",
		" height: 28px !important; ",
		"}",
		"",
		"",
		"button:not([id=\"search-btn\"]):hover {",
		" background: linear-gradient(#666666, #222222) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		"",
		"a:hover, .title:hover, #masthead-user-button:hover {",
		" text-shadow: 0 0 3px #FFFFFF !important; ",
		" text-decoration: none !important; ",
		"}",
		"",
		".title {",
		" text-decoration: none !important; ",
		"}",
		"",
		"/* Header Bars */",
		".yt-alert.yt-alert-promo.yt-rounded, #masthead-search-bar, ",
		"#user-navbar, .comments-textarea, #watch-actions-area {",
		" -moz-appearance: none !important; ",
		" outline: none !important; ",
		" background: -moz-linear-gradient(#555555, #181818) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		" border: 0px !important; ",
		" border-radius: 5px !important;  ",
		"}",
		"",
		"#masthead-container, #yt-masthead-container, #yt-masthead-container:hover {",
		" background: -moz-linear-gradient(#555555, #181818) !important; ",
		" border-bottom: 2px solid !important; ",
		" -moz-border-bottom-colors: #333333 #000000 !important; ",
		" box-shadow: none !important; ",
		" }",
		" ",
		" .guide-context-item a:hover, .guide-context-item.context-playing a {",
		"   background: -moz-linear-gradient(#555555, #181818) !important; ",
		"   box-shadow: none !important; ",
		" }",
		" ",
		" #feed-main-all > DIV:first-child { ",
		"  background: transparent !important;  ",
		"  }",
		"",
		"#guide-builder-promo {",
		" margin-top: 8px !important; ",
		"   border-top-right-radius: 6px !important; ",
		" }",
		"",
		".feed-item-main, #masthead-expanded-container {",
		" border-bottom: 2px solid !important; ",
		" -moz-border-bottom-colors: #333333 #000000 !important; ",
		" }",
		"",
		".feed-item-container, .yt-horizontal-rule {",
		" border-color: transparent !important; ",
		" }",
		"",
		"",
		"#user-navbar {",
		" margin-left: 3px !important; ",
		" margin-right: 3px !important; ",
		" border-radius: 5px !important;  ",
		"}",
		"",
		"/* All activity Subscriptions Recommendations */",
		"",
		"#user-navbar-sections > LI:nth-child(2) > A, #user-navbar-sections > LI:last-child > A, ",
		"#user-navbar-sections > LI:first-child > A {",
		" background: linear-gradient(to top, #555555, #181818) !important; ",
		" border: 1px solid #555555 !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		"/* Search Input */",
		"",
		"#masthead-search-terms, #watch-actions-share .share-panel-url",
		"{",
		" background: linear-gradient(to top, #555555, #181818) !important; ",
		" border: 1px solid #555555 !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		" margin-left: 5px !important; ",
		" border-top: 0px !important; ",
		" margin-top: 1px !important; ",
		" margin-bottom: -1px !important; ",
		"}",
		"",
		" #masthead-search-term {",
		"  -moz-appearance: none !important; ",
		"    border: none !important; ",
		"  }",
		"",
		"",
		"input, textarea, select, input[type=\"checkbox\"] {",
		"-moz-appearance: none !important; ",
		" background: linear-gradient(to top, #555555, #181818) !important; ",
		" border: 1px solid #555555 !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		" opacity: 1 !important; ",
		" color: #dcdcdc !important; ",
		"}",
		"",
		"#masthead-search-bar {",
		"  -moz-appearance: none !important; ",
		" outline: none !important; ",
		" background: -moz-linear-gradient(top, #555555, #181818) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		" border: 0px !important; ",
		" border-radius: 5px !important;  ",
		" margin-bottom: 3px !important; ",
		"}",
		"",
		"",
		".left-pane {",
		" background-color: #181818 !important; ",
		"}",
		"",
		"",
		"/* Video Items */",
		"",
		".video-list-item-link {",
		" border: 1px solid transparent !important; ",
		" border-radius: 8px !important; ",
		"}",
		"",
		".video-list-item-link.selected {",
		" background: transparent !important; ",
		"}",
		"",
		"",
		".video-list-item-link:hover, .watch-related-video-item a, .result-item:hover, ",
		".yt-grid-box:hover, #search-results > LI:hover {",
		" background: -moz-linear-gradient(top, #555555, #181818) !important; ",
		" border: 0px solid #555555 !important; ",
		" box-shadow: 0 0px 3px #555555 !important; ",
		"}",
		"",
		".clip {",
		" box-shadow: none !important; ",
		"}",
		"",
		".video-thumb {",
		" background: transparent !important; ",
		" padding: 2px !important; ",
		"}",
		"",
		"#logo {",
		" background-image: url(\"http://farm8.staticflickr.com/7412/8990137019_4b28f9382f_o.png\") !important;",
		" width: 102px !important; ",
		" height: 40px !important; ",
		" background-position: 0px 0px !important; ",
		" opacity: .6 !important; ",
		" transition: opacity 1s; ",
		"}",
		"",
		"#logo:hover {",
		" opacity: 1 !important; ",
		" transition: opacity 1s; ",
		" }",
		"",
		".fm-title-underlined, .module-title, #content-container {",
		" border-bottom: 2px solid !important; ",
		" -moz-border-bottom-colors: #333333 #000000 !important; ",
		"}",
		"",
		"#content-container {",
		" margin-bottom: -1px !important; ",
		"}",
		"",
		"/* Upload Video */",
		"",
		".upload-outer-box, .yt-alert.yt-alert-info.yt-rounded {",
		" background: -moz-linear-gradient(left, #333333, #222222 2%, #222222 98%, #333333) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		"#autoshare-sharing, .starting-box.upload-inner-box, .upload-inner-box {",
		" background-color: transparent !important; ",
		" box-shadow: none !important; ",
		" border: 1px solid transparent !important; ",
		"}",
		"",
		"#instructions {",
		" background: -moz-linear-gradient(left, #333333, #222222 5%, #222222 95%, #333333) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		"/* Channel */",
		"",
		".tab-content-body {",
		" background: rgba(24, 24, 24, .95) !important; ",
		"}",
		"",
		".single-video.tile.tile-link-block, .tile.playlist, .tile.tile-link-block {",
		" background: -moz-linear-gradient(left, #333333, #222222 2%, #222222 98%, #333333) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		".channel-tile.tile.tile-link-block {",
		" background: -moz-linear-gradient(left, #333333, #222222 5%, #222222 95%, #333333) !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		"}",
		"",
		".section {",
		" border-bottom: 2px solid !important; ",
		" -moz-border-bottom-colors: #333333 #000000 !important; ",
		" border-top: none !important; ",
		"}",
		"",
		"",
		"#masthead-subnav, #vm-pageheader-container > H1, #vm-page-subheader, #vm-video-actions-inner, ",
		"#footer-hh-container {",
		" background: linear-gradient(#181818, #000000) !important; ",
		" border-top: 2px solid !important; ",
		" -moz-border-top-colors: #000000 #333333 !important;  ",
		"}",
		"  ",
		" #footer-container {",
		"   background: #181818 !important;",
		"   border-top: 2px solid !important; ",
		"   -moz-border-top-colors: #000000 #333333 !important;  ",
		" }   ",
		"   ",
		"   ",
		"#footer ul, ",
		"#footer-main BUTTON { ",
		"text-shadow: none !important; ",
		"}",
		"",
		".horizontal-rule {",
		" border-color: transparent !important; ",
		" }",
		"",
		"",
		".yt-uix-button-arrow,",
		"#masthead-user-wrapper, ",
		".yt-uix-button.yt-uix-button-text.yt-uix-button-toggle, ",
		".guide-item, .feed-item-title, .feed-item-show-aggregate, .feed-item-sub-items, .feed-item-visual",
		" {",
		"background: transparent !important; ",
		" border-color: transparent !important; ",
		" box-shadow: none !important; ",
		" text-shadow: none !important; ",
		"}",
		"",
		"#guide-builder-promo, .feed-header.before-feed-content, ",
		".guide-item-action.guide-item-connect {",
		" background: rgb(38,38,38) !important; ",
		" }",
		"",
		".guide-item-container {",
		" border-top: 1px solid #333333 !important; ",
		" border-bottom: 1px solid #181818 !important; ",
		" }",
		"",
		"#channel {",
		" border-bottom: 1px solid #181818 !important; ",
		" }",
		" ",
		"#channel .guide-item-container {",
		"border-color: transparent !important; ",
		"}",
		"",
		".related-video  {",
		"  border: 0px solid transparent !important; ",
		" }",
		" ",
		" ",
		".video-list-item {",
		"  background: transparent !important; ",
		"  border: 0px !important; ",
		"  margin-right: 3px !important;",
		"   margin-left: 3px !important;",
		" }",
		" ",
		" .feed-item-container:hover .feed-item-main{",
		"",
		" }",
		" ",
		" .feed-item-container {",
		"  margin: 0 !important; ",
		"    border: 0px !important;  ",
		"  }",
		" ",
		"/* #################################################     Removed Some Hovers   ##########################################  */",
		"",
		"",
		".comment.yt-tile-default:hover, .related-video:hover, .feed-item-container:hover, .related-playlist:hover {",
		"  background: transparent !important; ",
		"  box-shadow:  0 0px 0px #555555 !important; ",
		"  border-color: transparent !important;",
		"  border-radius: 4px !important; ",
		" }",
		" ",
		"",
		" ",
		" #watch-description-expand,#watch-description-collapse {",
		" background: #181818 !important; ",
		" border-top: 0px solid #333333 !important; ",
		" }",
		" ",
		" .video-list-item.yt-tile-default, .guide-item-container {",
		"  background: transparent !important; ",
		"  border: 0px !important; ",
		"  box-shadow: none !important; ",
		"  }",
		" ",
		" #playlist-bar-bar {",
		"  background: -moz-linear-gradient(top, #444444, #181818) !important;  ",
		"  padding-top: 2px !important; ",
		"  }",
		"",
		"    ",
		"#watch-context, .context-body, .context-foot {",
		"background: transparent !important;  ",
		" border: none !important; ",
		" border-image: none !important; ",
		" }",
		"  ",
		" .context-head {",
		" border: 1px solid #333333 !important;",
		" border-radius: 6px !important; ",
		" box-shadow: 0 0 3px #555555 !important; ",
		" }",
		"",
		".yt-tile-default:hover {",
		"  box-shadow: none !important; ",
		"  }",
		"   ",
		" ",
		" .yt-uix-button, .channels-featured-video-details.yt-tile-visible.clearfix, ",
		" .playlist.yt-tile-visible.yt-uix-tile, .yt-tile-visible.yt-uix-tile, .yt-tile-visible {",
		"  background: linear-gradient(#555555, #181818) !important; ",
		"  border: 0px solid #444 !important; ",
		"  box-shadow: 0 0px 0px #555555 !important; ",
		"   border-radius: 3px !important;",
		"   margin-right: 1px !important;",
		"   margin-left: 1px !important;",
		" }",
		" ",
		" .video-item-content {",
		"  padding: 18px !important; ",
		"  }",
		" ",
		".yt-uix-button.yt-uix-pager-page-num.yt-uix-pager-button.yt-uix-button-toggled.yt-uix-button-default {",
		"  background: linear-gradient(#777777, #222222) !important; ",
		"  border: 0px !important; ",
		"  box-shadow: 0 0px 0px #555555 !important; ",
		" }",
		" ",
		" #ppv-container, .yt-badge-std {",
		"  background: transparent !important; ",
		"  }",
		" ",
		" .yt-badge-std {",
		"  box-shadow: none !important; ",
		"  }",
		" ",
		" /* Search Filter */ ",
		" ",
		"#filter-dropdown {",
		" box-shadow: 0 0px 5px #555555 !important; ",
		"   background: -moz-linear-gradient(#050505, #222222) !important; ",
		"   border-radius: 3px !important; ",
		" }",
		"",
		".filter-content:hover { ",
		"  background: -moz-linear-gradient(top, #555555, #222222) !important; ",
		"  border: 0px !important; ",
		"  box-shadow: 0 0px 3px #555555 !important; ",
		" }",
		" ",
		" ",
		".gssb_m, .yt-uix-clickcard-card-body, .yt-uix-hovercard-card-body {",
		"    background: #282828 !important; ",
		"    box-shadow: 0 5px 15px #000000 !important; ",
		"    border: 1px solid #444444 !important; ",
		"    margin-top: 0px !important; ",
		"}",
		"",
		"",
		".gssb_m td:hover, .gssb_m:hover .gssb_i td{",
		"    background: #333333 !important; ",
		"}",
		" ",
		" ",
		".playlist-video-item.odd, .playlist-video-item:nth-child(2n+1), .secondary-pane, #playlist-pane-container {",
		"    background: #181818 !important;",
		"}",
		"",
		".playlist-video-item, #playlist-actions {",
		"    border-bottom: 2px solid !important;",
		"     -moz-border-bottom-colors: #333333 #000000 !important; ",
		"    background: #181818 !important;",
		"    font-size: 16px;",
		"}",
		"",
		"/* Comment Text Area */",
		"",
		".inactive textarea {",
		" background: #181818 !important; ",
		" border: 2px solid !important;",
		"     -moz-border-top-colors: #000000 #333333 !important; ",
		"     -moz-border-bottom-colors: #000000 #333333 !important; ",
		"     -moz-border-left-colors: #000000 #333333 !important;",
		"     -moz-border-right-colors: #000000 #333333 !important; ",
		"     box-shadow: inset 0 0px 10px #000000 !important; ",
		"     padding: 7px 9px !important; ",
		" }",
		"",
		".channel-horizontal-menu {",
		" background: linear-gradient(#181818, #282828) !important; ",
		" }",
		" ",
		"#channel-search > BUTTON {",
		" height: 24px !important; ",
		" margin-top: 0px !important; ",
		" }",
		" ",
		" #channel-search > INPUT {",
		"  border: 1px solid #333333 !important; ",
		"  }",
		"  ",
		" #yt-masthead-dropdown {",
		"  border-radius: 10px !important; ",
		"  background: radial-gradient(#666666, #000000) !important; ",
		"  width: 12px !important; ",
		"  height: 12px !important; ",
		"   border: 0px solid #444444 !important; ",
		"  }",
		"  ",
		"   #yt-masthead-dropdown:hover {",
		"  background: -moz-radial-gradient(#888888,#000000) !important; ",
		"  }",
		"  ",
		"#yt-masthead button.yt-uix-button {",
		" height: 27px !important; ",
		" border-top-right-radius: 4px !important; ",
		" }",
		" ",
		"#yt-masthead #masthead-search-terms  {",
		" padding: 0px !important; ",
		" height: 28px !important;  ",
		" }",
		" ",
		"ul.yt-uix-button-menu, .yt-uix-button-menu {",
		" background: #282828 !important; ",
		" border-radius: 4px !important; ",
		" box-shadow: 0 0 5px #444444 !important; ",
		" }",
		" ",
		" #yt-masthead-user .yt-masthead-user-icon:hover {",
		"    -moz-transform: rotatey(360deg); ",
		"    -moz-transition: all 1s;",
		"}"
	].join("\n");
if (false || (document.location.href.indexOf("https://plus.googleapis.com") == 0) || (document.location.href.indexOf("https://apis.google.com") == 0) || (new RegExp("^https://plus.google.com/.*/widget/render/comments?.*$")).test(document.location.href) || (new RegExp("^https://plus.google.com/.*/notifications/frame?.*$")).test(document.location.href))
	css += [
		"a, .Ub, .vy, .bS {",
		"   color: #ccc !important; ",
		"   text-decoration: none !important; ",
		"}",
		"",
		"a:hover, .Ub:hover, .vy:hover, .bS:hover {",
		"   color: #fff !important; ",
		"   text-decoration: none !important; ",
		"}",
		"",
		".yJa, .BJa, .mj {",
		"background: transparent !important;",
		"}",
		"",
		".yDa {",
		"background-color: #181818 !important;",
		"}",
		"  ",
		".DJa {",
		"background-color: transparent !important;",
		"color: #999 !important;",
		"}",
		"",
		".E5, .e4 {",
		"background-color: #111 !important;",
		"border-color: #333 !important;",
		"border-top: 1px solid #303030 !important;",
		"}",
		"  ",
		".Jea {",
		"border-color: #333 !important;",
		"border-bottom-color: transparent !important;",
		"border-left-color: transparent !important;",
		"}",
		"",
		".Mga {",
		"display: none !important;",
		"}",
		"  ",
		".dn, .ve.oba, .Aq,.OF, .e4, .cp {",
		"color: #aaa !important;",
		"}",
		"  ",
		".gj.d-s, .qg {",
		"color: #777 !important;",
		"}",
		"      ",
		".g9 .Xa.va .vy, .g9 .Xa.va .dp.d-s, .g9 .Xa.va .ot-anchor, .g9 .Xa.va .ot-hashtag, .g9 .Xa.va .proflink, .g9 .Xa.va .proflinkPrefix, .g9 .Xa.va .gj.d-s, .Xa.va .qg, .Xa.va .mi.d-s {",
		"color: #ccc !important;",
		"}",
		"",
		".ot-hashtag, .proflink, .zDa {",
		"color: #ccc !important;",
		"}",
		"",
		".d-A, .d-Kl, .d-A-yb .d-A-B, .d-A-u .d-A-B {",
		"color: #ccc !important;",
		"}",
		"",
		".bmd {",
		"color: #ccc !important; ",
		"}",
		"",
		".r3 .r0 {",
		"border-color: #333 !important;",
		"background: #181818 !important;",
		"color: #aaa !important;",
		"}",
		"    ",
		".d-y-r-c {",
		"-webkit-border-radius: 0px !important;",
		"border-radius: 0px !important;",
		"background-color: #181818 !important;",
		"background-image: linear-gradient(#000, #333) !important;",
		"border-color: #444 !important;",
		"color: #bbb !important;",
		"}",
		"    ",
		".xN .d-y-r-c-ha, .Pga.d-A .d-A-B {",
		"color: #ccc !important;",
		"}",
		"    ",
		"",
		"",
		".d-r {",
		"background: #181818 !important;",
		"border: 1px solid #444 !important;",
		"}",
		"",
		".d-A-yb, .d-A-u {",
		"background-color: #333 !important;",
		"border-style: solid !important;",
		"border-color: #333 !important",
		"}",
		"",
		".Hma .Pga.d-A-yb {",
		"border: none !important;",
		"}",
		"",
		".ot-anchor {",
		"color: #ccc !important;",
		"}",
		"",
		".dga {",
		"background-color: #181818 !important;",
		"border-color: #333 !important;",
		"}",
		"",
		".mj .g-h-f-vc-B {",
		"border-color: #333 !important;",
		"}",
		"    ",
		"",
		".g-h-f-k .g-h-f-V-nb {",
		"border-color: #333 !important;",
		"}",
		"    ",
		".g-h-f-V-nb {",
		"background: #181818 !important;",
		"}",
		"  ",
		".d-cm {",
		"border-top-color: #333 !important;",
		"}",
		"",
		"",
		".jbgcdb {",
		"color: #aaa !important;",
		"}",
		"",
		"",
		".FnlLyd:hover {",
		"background-color: #282828 !important;",
		"border-color: #444 !important;",
		"}",
		"    ",
		".FnlLyd:active {",
		"background-color: #2a2a2a !important;",
		"border-color: #444 !important;",
		"}",
		"        ",
		".Kgb, .Y8b .TD {",
		"background-color: #333 !important;",
		"}"
	].join("\n");
if (false || (document.location.href.indexOf("https://plus.googleapis.com") == 0) || (new RegExp("^https://apis.google.com/.*/widget/render/comments?.*&first_party_property=YOUTUBE.*$")).test(document.location.href) || (new RegExp("^https://plus.google.com/.*/widget/render/comments?.*$")).test(document.location.href) || (new RegExp("^https://plus.google.com/.*/notifications/frame?.*$")).test(document.location.href))
	css += [
		".yJa, .uPa.BJa, .Mza.mj, .DJa, .tvb {background-color: black !important;}",
		".dga, .nbc.xta, .zbHZJb",
		"{",
		"background: black !important;",
		"border-color: black !important;",
		"}",
		".Uk.vKa, .wi.we.Wva, .go, .ho, .nbc.xta {border: 1px #222 solid !important; border-radius: 3px !important;}",
		".xPa, .yPa, .d-s.L5.r0, .dP.PA, .Hma, .b-c-Ba, .zVeWr.FnlLyd, .d-k-l.b-c.b-c-R:not(.vSH9Nc), .t-Pa-mb-c-oa.t-Pa-mb-c",
		"{",
		"    background: black !important;",
		"    background: -moz-linear-gradient(center top , #333333, #000000) repeat scroll 0 0 #000000 !important;",
		"    background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#000000)) !important;",
		"    border: 1px #444 solid !important;",
		"    border-radius: 3px !important;",
		"}",
		".esw.eswd.qk.Gc, .Dg.Ut, .Dt.wu, .IO, .KPc.tQb, .sk {border-color: #555 !important;}",
		".Hma .Pga.d-A:hover, .zVeWr.FnlLyd:hover, .d-k-l.b-c.b-c-R:not(.vSH9Nc):hover, .Kza, .IO, .esw.eswd.qk.Gc, .Dg.Ut",
		"{background: #444 !important;}",
		".KPc.tQb {background: #333 !important;}",
		".G-q-B, .YH.WD.d-r, .WD.d-r, .G-q, .G-q-O, .QOb, .ROb, .g-h-f-vc-B, .g-h-f-V-Lb, .zta.f4a, .ki.ve,",
		".qac.kPa, .mac, .Oub.d-r-Gk.d-r, .Rzc, .DM .Cx.fr, .Y8b .TD, .sk, .g-h-f-p-aa, .d-r.d-r-ih",
		"{background: #222 !important;}",
		".Nza, .Dwa.e4, .cp, .WD .d-A:hover, .vQ.ur, .g-h-f-V-Lb .d-A:hover, .d-A.d-A-yb.X, .MNn0h.UtvBtc,",
		".aac, .IPc.nfe, .Dt.wu, .Pub.d-A:hover, .d-A.osa:hover, .Up.Dr.tw.Yt",
		"{background-color: #111 !important;}",
		".Ub {background: none !important;}",
		".Mga, .xac {display: none !important;}",
		".zVeWr.FnlLyd, .Ub, .M7Fqc, .vQ.ur, .d-k-l.b-c, .YGETNc:hover {color: #ccc !important;}",
		".Ig.At.dn.mea, a, .Aq.DK.Bt.UR.gA, .d-s.L5.r0, .Hma, .xPa, .dP.PA, .d-k-l.d-y-r-c-ha,",
		".d-A-B, .d-s.LEa, .Mpa, .DJa, .df, .d-s.vy, .Ct, .dga, .d-s, .YGETNc, .Y9b .Jub, .Y9b .Hub {color: #999 !important;}",
		"a:visited, a:visited font, a:visited .title, a:visited span, .zbHZJb, .d-s.nq, .d-s.mq {color: #6294df !important;}",
		".uPc {color: #339900 !important;}",
		".Kub .vwa {background: #555 !important; border-radius: 5px !important;}",
		".swb.vac.vwa {padding-right: 10px !important;}",
		".G-q-Ya {background: rgba(0,0,0,1) !important;}",
		".RQb, .SQb {background-image: url(\'http://i.imgur.com/NX77Deg.png\') !important;}"
	].join("\n");
if (false || (new RegExp("^https://plus.google.com/.*/notifications/frame?.*$")).test(document.location.href))
	css += ".WR, .TR, .vy {background: #222 !important;}";
if (false || (document.location.href.indexOf("https://apis.google.com") == 0))
	css += ".nbc {background-color: #000 !important; border-color: #333 !important;}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node); 
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();