html,
body.v2-body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body.v2-body {
  background: #070809;
  letter-spacing: 0.2px;
}

.v2-page {
  position: relative;
  width: 100%;
  max-width: 1024px;
  height: 768px;
  margin: 0 auto;
  padding: 22px 8px 6px;
  overflow: hidden;
  background: #070809;
}

.v2-page .fullscreen-btn {
  top: 34px;
  right: 12px;
  z-index: 8;
}

.v2-page-weather-bg {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 200px;
  opacity: 0.8;
}

.v2-page-weather-bg:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  content: "";
  background: -webkit-linear-gradient(top, rgba(7, 8, 9, 0) 58%, rgba(7, 8, 9, 0.18) 72%, rgba(7, 8, 9, 0.58) 86%, #070809 100%), -webkit-linear-gradient(left, rgba(7, 8, 9, 0.82) 0%, rgba(7, 8, 9, 0.74) 18%, rgba(7, 8, 9, 0.54) 34%, rgba(7, 8, 9, 0.3) 48%, rgba(7, 8, 9, 0.08) 61%, rgba(7, 8, 9, 0) 70%);
  background: linear-gradient(to bottom, rgba(7, 8, 9, 0) 58%, rgba(7, 8, 9, 0.18) 72%, rgba(7, 8, 9, 0.58) 86%, #070809 100%), linear-gradient(to right, rgba(7, 8, 9, 0.82) 0%, rgba(7, 8, 9, 0.74) 18%, rgba(7, 8, 9, 0.54) 34%, rgba(7, 8, 9, 0.3) 48%, rgba(7, 8, 9, 0.08) 61%, rgba(7, 8, 9, 0) 70%);
  pointer-events: none;
}

.v2-header {
  position: relative;
  display: table;
  width: 100%;
  height: 178px;
  table-layout: fixed;
  margin-bottom: 8px;
  overflow: hidden;
  z-index: 2;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.v2-header-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  border-radius: 9px;
  display: none;
  pointer-events: none;
}

.v2-clock-cell,
.v2-info-cell {
  position: relative;
  z-index: 2;
  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
}

.v2-clock-cell {
  width: 50%;
  padding: 5px 4px 5px 10px;
}

.v2-clock-cell .clock-face {
  font-size: 150px;
}

.v2-clock-cell .seconds-wrap {
  width: 54px;
  margin-left: 20px;
}

.v2-clock-cell #clock-seconds {
  font-size: 40px;
}

.v2-clock-cell #clock-ampm {
  font-size: 28px;
}

.v2-info-cell {
  width: 50%;
  padding: 8px 0 8px 6px;
}

.v2-info-card {
  position: relative;
  display: table;
  width: 100%;
  height: 160px;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid rgba(118, 133, 142, 0.28);
  border-radius: 10px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 9px 20px rgba(0, 0, 0, 0.24);
}

.v2-info-card:before,
.v2-info-card:after {
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  z-index: 0;
  display: block;
  content: "";
  pointer-events: none;
}

.v2-info-card:before {
  opacity: 0;
  background-image: url("/weather/clouds.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-filter: blur(8px);
  filter: blur(8px);
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.weather-clear .v2-info-card:before { background-image: url("/weather/clear-day.jpg"); }
.weather-clear-night .v2-info-card:before { background-image: url("/weather/clear-night.jpg"); }
.weather-partly .v2-info-card:before { background-image: url("/weather/partly.jpg"); }
.weather-partly-night .v2-info-card:before { background-image: url("/weather/partly-night.jpg"); }
.weather-clouds .v2-info-card:before { background-image: url("/weather/clouds.jpg"); }
.weather-fog .v2-info-card:before { background-image: url("/weather/fog.jpg"); }
.weather-rain .v2-info-card:before { background-image: url("/weather/rain.jpg"); }
.weather-storm .v2-info-card:before { background-image: url("/weather/storm.jpg"); }
.weather-snow .v2-info-card:before { background-image: url("/weather/snow.jpg"); }

.v2-info-card:after {
  background: rgba(5, 8, 10, 0.28);
  background: -webkit-linear-gradient(left, rgba(4, 7, 9, 0.32) 0%, rgba(7, 11, 14, 0.24) 52%, rgba(4, 7, 9, 0.3) 100%);
  background: linear-gradient(to right, rgba(4, 7, 9, 0.32) 0%, rgba(7, 11, 14, 0.24) 52%, rgba(4, 7, 9, 0.3) 100%);
}

.v2-day-pane,
.v2-month-pane {
  position: relative;
  z-index: 2;
  display: table-cell;
  vertical-align: top;
}

.v2-day-pane {
  width: 48%;
  padding: 13px 14px 10px;
}

.v2-day-pane .date-line {
  height: 20px;
  margin-bottom: 2px;
  color: #f2f6f7;
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  text-transform: uppercase;
}

.v2-date-block {
  display: table;
  width: 100%;
  height: 54px;
  table-layout: fixed;
}

.v2-date-number,
.v2-date-details {
  display: table-cell;
  vertical-align: middle;
}

.v2-date-number {
  width: 64px;
  color: #f7fafb;
  font-size: 48px;
  font-weight: 700;
  line-height: 54px;
}

.v2-date-details {
  padding-left: 10px;
}

.v2-date-details span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-date-details .full-date-line {
  color: #c8d1d6;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  text-transform: uppercase;
}

.v2-date-details .weather-line {
  color: #f0f4f5;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}

.v2-agenda-events {
  margin-top: 7px;
}

.v2-agenda-event {
  position: relative;
  height: 21px;
  padding: 3px 2px 3px 0;
  overflow: hidden;
  color: #f2f6f7;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-agenda-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ffbf69;
  box-shadow: 0 0 10px rgba(255, 191, 105, 0.35);
}

.v2-month-title {
  display: none;
}

.v2-month-pane {
  width: 52%;
  padding: 22px 11px 10px 14px;
  border-left: 1px solid rgba(113, 129, 137, 0.34);
}

.v2-month-grid {
  width: 100%;
  font-size: 0;
}

.v2-month-weekday,
.v2-month-day {
  display: inline-block;
  width: 14.285%;
  height: 16px;
  color: #dbe2e5;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  vertical-align: top;
}

.v2-month-weekday {
  height: 17px;
  color: #8f9ba2;
  font-size: 10px;
  font-weight: 700;
}

.v2-month-day.empty {
  color: transparent;
}

.v2-month-day.today {
  border-radius: 8px;
  background: #ffbf69;
  color: #12110d;
  box-shadow: 0 0 9px rgba(255, 191, 105, 0.3);
}

.v2-columns {
  position: relative;
  z-index: 1;
  display: table;
  width: 100%;
  height: 544px;
  table-layout: fixed;
}

.v2-column {
  display: table-cell;
  width: 50%;
  height: 544px;
  vertical-align: top;
}

.v2-column-left {
  padding-right: 6px;
}

.v2-column-right {
  padding-left: 6px;
}

.v2-server-mount {
  width: 100%;
  height: 432px;
  margin-bottom: 8px;
}

.v2-server-mount .server-card {
  position: relative;
  display: block;
  width: 100%;
  height: 432px;
  margin: 0;
  padding: 11px 11px 8px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(10, 14, 16, 0.82);
  background: -webkit-linear-gradient(top, rgba(10, 14, 16, 0.88) 0%, rgba(8, 11, 13, 0.76) 100%);
  background: linear-gradient(to bottom, rgba(10, 14, 16, 0.88) 0%, rgba(8, 11, 13, 0.76) 100%);
}

.v2-server-mount .server-head {
  margin-bottom: 8px;
  padding-right: 0;
}

.v2-server-mount .server-name {
  font-size: 21px;
}

.v2-server-mount .server-status-cell {
  width: 112px;
  vertical-align: middle;
}

.v2-server-mount .server-status-cell .status-dot {
  width: 8px;
  height: 8px;
  margin: 0 6px 0 0;
  vertical-align: middle;
}

.v2-server-mount .state-pill {
  min-width: 76px;
  padding: 5px 7px;
  border-radius: 8px;
  vertical-align: middle;
}

.v2-metric-grid {
  width: 100%;
  margin-bottom: 0;
  font-size: 0;
}

.v2-metric-tile {
  position: relative;
  display: inline-block;
  width: 32%;
  height: 60px;
  margin: 0 2% 6px 0;
  padding: 6px 7px;
  overflow: hidden;
  border: 1px solid #252a2f;
  border-radius: 8px;
  background: rgba(7, 10, 12, 0.68);
  background: -webkit-linear-gradient(top, rgba(12, 17, 20, 0.76), rgba(6, 9, 11, 0.62));
  background: linear-gradient(to bottom, rgba(12, 17, 20, 0.76), rgba(6, 9, 11, 0.62));
  vertical-align: top;
}

.v2-metric-tile:nth-child(3n) {
  margin-right: 0;
}

.v2-metric-value {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8fbfc;
  font-size: 17px;
  font-weight: 700;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-metric-tile .bar {
  height: 6px;
  margin-top: 5px;
}

.v2-metric-tile .bar-fill {
  height: 6px;
}

.v2-server-mount .disk-smart {
  width: 72px;
  padding-left: 6px;
  font-size: 11px;
  white-space: nowrap;
}

.v2-server-mount .summary-grid {
  margin-bottom: 5px;
}

.v2-server-mount .summary-box {
  padding: 5px 7px 6px;
  border-radius: 8px;
  background: rgba(7, 10, 12, 0.68);
}

.v2-server-mount .battery-panel,
.v2-server-mount .network-panel {
  border-radius: 8px;
  background: rgba(7, 10, 12, 0.68);
  background: -webkit-linear-gradient(left, rgba(10, 15, 18, 0.76), rgba(6, 9, 11, 0.62));
  background: linear-gradient(to right, rgba(10, 15, 18, 0.76), rgba(6, 9, 11, 0.62));
}

.v2-server-mount .network-lanes {
  width: 62%;
  padding-right: 8px;
}

.v2-server-mount .network-spark {
  width: 38%;
}

.v2-server-mount .spark-bar {
  position: static;
  display: inline-block;
  width: 6px;
  min-height: 3px;
  margin: 0 0 0 3px;
  vertical-align: bottom;
  opacity: 0.94;
  box-shadow: none;
}

.v2-server-mount .summary-value {
  font-size: 19px;
}

.v2-server-mount .quick-box {
  padding: 5px 7px;
}

.v2-server-mount .quick-value {
  font-size: 16px;
}

.v2-server-mount .disk-list {
  min-height: 0;
}

.v2-server-mount .disk-row {
  height: 18px;
  margin-bottom: 0;
}

.v2-server-mount .section-title {
  margin: 7px 0 4px;
  padding-top: 0;
}

.v2-server-mount .last-known-disk .disk-name,
.v2-server-mount .last-known-disk .disk-pct {
  color: #b4bdc2;
}

.v2-server-mount .last-known-disk .bar-fill {
  opacity: 0.55;
}

.v2-server-mount .error-line {
  margin-top: 2px;
}

#oracle-mount,
#oracle-mount .server-card {
  height: 320px;
}

.v2-jellyfin-panel {
  position: relative;
  width: 100%;
  height: 104px;
  min-height: 104px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid #292b35;
  border-left: 4px solid #aa5cc3;
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0, 0, 0, 0.25);
}

.jellyfin-bg,
.jellyfin-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.jellyfin-bg {
  opacity: 0.56;
  background-repeat: no-repeat;
  background-position: center 36%;
  background-size: cover;
}

.jellyfin-shade {
  background: rgba(8, 9, 13, 0.58);
  background: -webkit-linear-gradient(left, rgba(8, 9, 13, 0.94) 0%, rgba(8, 9, 13, 0.68) 52%, rgba(8, 9, 13, 0.86) 100%);
  background: linear-gradient(to right, rgba(8, 9, 13, 0.94) 0%, rgba(8, 9, 13, 0.68) 52%, rgba(8, 9, 13, 0.86) 100%);
}

.jellyfin-inner {
  position: relative;
  z-index: 2;
  display: table;
  width: 100%;
  height: 102px;
  table-layout: fixed;
  padding: 9px 9px 9px 8px;
}

.jellyfin-art,
.jellyfin-copy,
.jellyfin-controls {
  display: table-cell;
  vertical-align: middle;
}

.jellyfin-art {
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 1px solid rgba(225, 231, 238, 0.16);
  border-radius: 9px;
  background: rgba(8, 10, 14, 0.74);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.48);
}

.jellyfin-art img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: cover;
}

.jellyfin-art img.jellyfin-logo {
  width: 58px;
  height: 58px;
  margin: 12px;
  object-fit: contain;
}

.jellyfin-copy {
  padding: 0 9px;
  overflow: hidden;
}

.jellyfin-kicker {
  overflow: hidden;
  color: #c6a6d8;
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.jellyfin-title,
.jellyfin-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jellyfin-title {
  margin-top: 3px;
  color: #fbfdff;
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.jellyfin-meta {
  margin-top: 2px;
  color: #c9d0d7;
  font-size: 11px;
  line-height: 14px;
}

.jellyfin-controls {
  width: 46px;
  text-align: right;
}

.jellyfin-btn {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #aa5cc3;
  border-radius: 50%;
  background: #aa5cc3;
  color: #100b14;
  box-shadow: 0 0 18px rgba(170, 92, 195, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.jellyfin-btn.disabled {
  border-color: #343440;
  background: #171820;
  color: #626573;
  box-shadow: none;
}

.jellyfin-progress {
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(197, 205, 216, 0.2);
}

.jellyfin-progress-fill {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: #aa5cc3;
}

.jellyfin-idle .jellyfin-progress,
.jellyfin-idle .jellyfin-controls {
  display: none;
}

.v2-spotify-panel {
  width: 100%;
  height: 104px;
  min-height: 104px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(9, 13, 15, 0.9);
  background: -webkit-linear-gradient(left, rgba(9, 13, 15, 0.95), rgba(7, 10, 12, 0.86));
  background: linear-gradient(to right, rgba(9, 13, 15, 0.95), rgba(7, 10, 12, 0.86));
  border-left-color: #1db954;
}

.v2-spotify-panel.spotify-auth {
  border-left-color: #ffbf69;
}

.v2-spotify-panel .spotify-art,
.v2-spotify-panel .spotify-art img,
.v2-spotify-panel .spotify-art .spotify-logo-placeholder {
  width: 82px;
  height: 82px;
}

.v2-spotify-panel .spotify-art {
  line-height: 80px;
  border-radius: 9px;
}

.v2-spotify-panel .spotify-copy {
  padding: 0 7px;
}

.v2-spotify-panel .spotify-controls {
  width: 126px;
}

.v2-spotify-panel .spotify-btn {
  margin-left: 4px;
  border-color: #34484b;
  background: #11191b;
  background: -webkit-linear-gradient(top, #182326 0%, #0b1113 100%);
  background: linear-gradient(to bottom, #182326 0%, #0b1113 100%);
  color: #c7d8d6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 5px 12px rgba(0, 0, 0, 0.28);
}

.v2-spotify-panel .spotify-btn.main {
  border-color: #477a72;
  background: #17322f;
  background: -webkit-linear-gradient(top, #21443f 0%, #122a27 100%);
  background: linear-gradient(to bottom, #21443f 0%, #122a27 100%);
  color: #d8f2ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 14px rgba(0, 0, 0, 0.3);
}

.v2-spotify-progress {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(146, 158, 166, 0.25);
}

.v2-spotify-progress-fill {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: #1db954;
}

.v2-monitor-mount {
  width: 100%;
  height: 104px;
}

.v2-monitor-mount .widget-grid {
  height: 104px;
  margin: 0;
}

.v2-monitor-mount .small-widget {
  height: 104px;
  min-height: 104px;
  padding: 12px 8px 8px;
  border-radius: 10px;
  background: rgba(8, 12, 14, 0.91);
  background: -webkit-linear-gradient(top, rgba(10, 15, 17, 0.96), rgba(6, 9, 11, 0.86));
  background: linear-gradient(to bottom, rgba(10, 15, 17, 0.96), rgba(6, 9, 11, 0.86));
}

.v2-monitor-mount .qbit-widget {
  position: relative;
  border-left-color: #2f67ba;
}

.tiny-brand-badge {
  position: absolute;
  top: 9px;
  right: 16px;
  z-index: 5;
  display: block;
  width: 34px;
  height: 24px;
  padding: 4px 6px;
  overflow: hidden;
  border: 1px solid rgba(74, 103, 105, 0.72);
  border-radius: 8px;
  background: #10191b;
  background: -webkit-linear-gradient(top, rgba(24, 36, 39, 0.96), rgba(9, 15, 17, 0.96));
  background: linear-gradient(to bottom, rgba(24, 36, 39, 0.96), rgba(9, 15, 17, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 4px 9px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.tiny-brand-badge img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  object-fit: contain;
}

.cpu-brand-badge {
  top: 6px;
  right: 10px;
  width: 48px;
  height: 20px;
  padding: 4px 6px;
  border-radius: 7px;
}

.cpu-brand-badge img {
  -webkit-transform: scale(3);
  transform: scale(3);
}

.v2-monitor-mount .widget-value {
  margin-top: 9px;
  font-size: 15px;
}

.v2-monitor-mount .widget-meta {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.25;
  white-space: normal;
}

.v2-monitor-mount .plug-widget {
  padding: 12px 58px 8px 10px;
}

.v2-monitor-mount .plug-widget .widget-value {
  margin-top: 7px;
}

.v2-monitor-mount .plug-widget .widget-meta {
  max-height: 36px;
  margin-top: 5px;
  overflow: hidden;
  line-height: 12px;
}

.v2-monitor-mount .plug-btn {
  right: 8px;
  bottom: 8px;
  border-radius: 8px;
  border-color: #477a72;
  background: #17322f;
  background: -webkit-linear-gradient(top, #21443f 0%, #122a27 100%);
  background: linear-gradient(to bottom, #21443f 0%, #122a27 100%);
  color: #d8f2ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 5px 12px rgba(0, 0, 0, 0.28);
}

.v2-monitor-mount .plug-btn.disabled {
  border-color: #2d343a;
  background: #12171a;
  color: #59646c;
  box-shadow: none;
}

.v2-page .footer {
  z-index: 2;
  right: 9px;
  bottom: 2px;
  left: 9px;
  font-size: 9px;
}

.v2-route-mark {
  float: left;
  color: #58636a;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  html,
  body.v2-body {
    height: auto;
    overflow: auto;
  }

  .v2-page {
    height: auto;
    min-height: 0;
    padding: 10px;
    overflow: visible;
  }

  .v2-header,
  .v2-clock-cell,
  .v2-info-cell,
  .v2-columns,
  .v2-column {
    display: block;
    width: 100%;
    height: auto;
  }

  .v2-clock-cell,
  .v2-info-cell {
    padding: 12px;
    border-top: 1px solid rgba(113, 129, 137, 0.24);
  }

  .v2-clock-cell {
    border-top: 0;
  }

  .v2-clock-cell .clock-face {
    font-size: 72px;
  }

  .v2-column-left,
  .v2-column-right {
    padding: 0;
    border-right: 0;
  }

  .v2-server-mount {
    height: auto;
    margin-bottom: 10px;
  }

  .v2-server-mount .server-card {
    height: auto;
    min-height: 0;
  }

  #oracle-mount,
  #oracle-mount .server-card {
    height: auto;
  }

  .v2-spotify-panel,
  .v2-jellyfin-panel,
  .v2-monitor-mount,
  .v2-monitor-mount .widget-grid,
  .v2-monitor-mount .small-widget {
    height: auto;
  }

  .v2-column {
    margin-bottom: 12px;
  }

  .v2-page .footer {
    position: static;
    padding: 4px 0 8px;
  }
}
