* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    -webkit-font-smoothing: none;

}
small {
    padding-left: 10px;
    font-weight: 700;
    font-size: 35px;
}
body {
    font-family: "monospace";
    font-size: 100%;
    background-color: #fff;
}

#wrap {
    color: #000;
    text-align: left;
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;
}

#wrap.historical {
    right: 10px;
}

p {
    font-size: 29px;
    font-weight: 200;
    position: relative;
    text-align: right;
}

a { text-decoration: none; color:#000;}

.bg {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 100%;
    padding-right: 30px;
    text-align: center;
}

.katzen {
    width: 90%;
    margin-top: -80px;
}
#historicalPrices table {
    padding-top: 15px;
    padding-right: 0;
    border-spacing: 0px;
}

#historicalPrices td {
    width: 32%;
    padding-right: 25px;
    text-align: right !important;
    font-size: 50px;
    white-space: nowrap;
    padding-bottom: 2px;
}
#historicalPrices td.head {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 55px;
}
#historicalPrices tr:nth-child(even) td {
    background-color: #efefef;
}

#historicalPrices tr:first-of-type td:last-of-type {
    letter-spacing: 0px !important;
}
#historicalPrices tr td:last-of-type {
    letter-spacing: -3px;
}

table {width:100%;}

td {padding: 0;}

.td_last {
    padding-bottom: 0px;
    position: relative;
}

td.td_vol {
    width: 140px;
}

td.td_fees {
    width: 130px;
}

td.td_hr {
    width: 150px;
}

td.td_height {
    width: 200px;
}

#bitcoinInfo,
#historicalPrices {
    text-align: left;
    box-sizing: border-box;
}

#bitcoinInfo tr {
    display: flex;
    flex-flow: row;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
}

#bitcoinInfo span#last {
    font-size: 220px;
    font-weight: 700;
    text-align: right;
    letter-spacing: -10px;
    line-height: 1em;
    margin-top: 15px;
    display: block;
}

#bitcoinInfo span#percent {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 36px;
    padding-right: 10px;
}

#bitcoinInfo .low, #bitcoinInfo .high {
    height: 140px;
    font-size: 36px;
    text-align: right;
}

#bitcoinInfo .high {
    padding-left: 60px;
}

#bitcoinInfo .highlow_title {
    padding-right: 8px;
    font-weight: 200;
}

#bitcoinInfo .low_title {
    padding-right: 6px;
}

#bitcoinInfo span.fees_title,
#bitcoinInfo span.sats_title {
    font-size: 29px !important;
    font-weight: 200;
}

#bitcoinInfo span#low , #bitcoinInfo span#high  {
    font-size: 90px;
    margin-top: -10px;
    display: block;
    font-weight: 700;
    text-align: right;
    letter-spacing: -2px;

}

i {
    font-style: normal;
}
#bitcoinInfo .vol span, #bitcoinInfo .height span, #bitcoinInfo .fees span, #bitcoinInfo .hr span{
    font-size: 40px;
    font-weight: 700;

}

.small p {
    text-align: right;
}

.small p span {
    text-align: right;
    letter-spacing: -1px;

}
/* ============================================================
   Gemeinsame Seiten-Styles (ath, wetter, bitaxe, metrics)
   ============================================================ */

/* Basis-Layout für alle Nicht-Ticker-Seiten */
.page-base * { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; background: #fff; }
body { color: #000;
    font-family: "monospace";
     }

/* Zweispalten-Layout */
#page {
  display: table;
  width: 630px;
  height: 458px;
  text-align: left;
  overflow: hidden;
  margin: 0 auto;
}
#left {
  display: table-cell;
  vertical-align: top;
  border-right: 1px solid #000;
}
#right {
  display: table-cell;
  vertical-align: middle;
  padding: 0;
}

/* Karten-Grid (Wetter, Bitaxe, ATH) */
.cards-table { border-collapse: collapse; width: 100%; height: 440px; }
.card {
    text-align: center;
    padding: 0px 4px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    width: 50%;
}
.card:last-child { border-right: none; }
.cards-table tr:last-child .card { border-bottom: none; }

/* ---- ATH-Seite ---- */
#page.ath #left {
    width: 230px;
    padding: 33px 0 0 20px;
}
.back  { font-size: 18px; font-weight: 700; text-decoration: none; color: #000; display: block; margin-bottom: 6px; }
.lbl {
    font-size: 30px;
    font-weight: 400;
    color: #000;
    margin-bottom: 2px;
}
.big {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    padding-right: 20px;
}
.sub {
    font-size: 26px;
    font-weight: 700;
}
.med   { font-size: 36px; font-weight: 700; margin-top: 4px; }
.pct {
    font-size: 54px;
    font-weight: 900;
    margin-top: 0;
    line-height: 1em;
}
.sep {
    border-top: 0 solid #b3b3b3;
    margin: 26px 0;
}
#status { font-size: 11px; color: #000; margin-top: 6px; }
.card-lbl { font-size: 25px; font-weight: 700; margin-bottom: 5px; }
.card-val { font-size: 30px; font-weight: 900; margin-top: 4px; }
.card-sub { font-size: 22px; font-weight: 700; color: #000; margin-top: 4px; }

/* ---- Wetter-Seite ---- */
#page.wetter #left { width: 220px; padding: 8px 14px 0 14px; }
#city {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: 10px;
}
#icon-row { display: table; margin-bottom: -35px; }
#icon-row #icon { display: table-cell; vertical-align: middle; }
#icon svg {
    width: 140px;
    height: 140px;
    margin-top: 10px;
}
#temp   { font-size: 108px; font-weight: 900; letter-spacing: -6px; line-height: 1; text-decoration: none; color: #000; display: block; }
#label {
    font-size: 28px;
    font-weight: 900;
    margin-top: 10px;
    line-height: 1.1em;
}
#meta   { font-size: 27px; font-weight: 700; margin-top: 6px; line-height: 1.2; color: #222; }
#updated { font-size: 16px; font-weight: 700; color: #333; margin-top: 0; }
#version { font-size: 28px; font-weight: bold; color: #000; }
.card-day {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
    margin-top: 7px;
}
.card svg {
    width: 70px;
    height: 70px;
    display: block;
    margin: -7px auto 0 auto;
}
.card-max {
    font-size: 30px;
    font-weight: 900;
    margin-top: -10px;
    letter-spacing: -1px;
}
.card-min {
    font-size: 20px;
    font-weight: 700;
    color: #444;
    margin-top: -5px;
    margin-bottom: 5px;
}
/* ---- Bitaxe-Seite ---- */
#page.bitaxe #left { width: 310px; padding: 12px 14px; }
.title  { font-size: 15px; font-weight: 700; border-bottom: 1px solid #000; padding-bottom: 5px; margin-bottom: 10px; }
.bigval { font-size: 90px; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.bigunit { font-size: 20px; font-weight: 700; margin-top: 2px; }
.sublabel { font-size: 12px; color: #555; font-weight: 600; margin-top: 2px; margin-bottom: 10px; }
.avg    { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.block  { margin-bottom: 10px; }
#block_found_banner {
  display: none; font-size: 28px; font-weight: 700;
  border: 2px solid #000; padding: 8px 10px; margin-bottom: 10px; text-align: center;
}
#noip   { font-size: 14px; padding: 20px; }
.card-label { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-val-big { font-size: 38px; font-weight: 700; margin-top: 4px; }
.card-unit  { font-size: 16px; font-weight: 600; color: #444; margin-top: 6px; }

/* ---- Hashrate-Seite ---- */

    /* Old-Android friendly: no flex, no sticky */
    body { margin:0;     font-family: "monospace";
 color:#000; background:#fff; }
    .toolbar { padding:8px 10px; white-space:nowrap; }
    .toolbar .left { display:inline-block; }
    .toolbar .left strong { margin-right:8px; }
    .toolbar .left a { text-decoration:none; color:#000; border:1px solid #000; padding:3px 6px; border-radius:3px; }
    .toolbar .right { float:right; }
    .toolbar .right a { text-decoration:none; color:#000; border:1px solid #000; padding:3px 6px; margin-left:6px; border-radius:3px; }
    .toolbar .right a.active { background:#000; color:#fff; }
    .legend-note { font-size:12px; margin:8px 10px 0; }
#wrap {
    padding: 0;
}
    #chartwrap { height:440px; }
    #c { width:100%; height:100%; display:block; }
    #status { font-size:12px; margin-top:6px; }
    .toolbar:after { content:""; display:block; clear:both; }
  
/* ---- Wetter-Detail-Seite ---- */
#page.wetter-detail #left { width: 220px; padding: 8px 14px; }
#det_weekday { font-size: 30px; font-weight: 900; margin-bottom: 0; }
#det_date    { font-size: 22px; font-weight: 700; margin-bottom: 0; }
#det_max {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: -6px;
    line-height: 1;
    margin-top: -25px;
}
#det_min {
    font-size: 60px;
    font-weight: 700;
    color: #444;
    margin-top: 0;
    letter-spacing: -4px;
    margin-left: 7px;
}
#det_label {
    font-size: 30px;
    font-weight: 900;
    margin-top: 0;
    line-height: 28px;
}
#det_precip  { font-size: 18px; font-weight: 700; margin-top: 10px; }
.card-rain {
    font-size: 18px;
    font-weight: 700;
    height: 16px;
}
.card-wind { font-size: 18px; font-weight: 700; color: #444; }

/* ---- Historical Grid ---- */
#page.historical-grid {
  display: table;
  width: 630px;
  height: 470px;
  margin: 0 auto;
  overflow: hidden;
}
#page.historical-grid .cards-table { height: 470px; }
#page.historical-grid .card { width: 25%; }
.hist-period {
    font-size: 24px;
    font-weight: 700;
}
.hist-open {
    font-size: 25px;
    font-weight: 900;
}
.hist-pct {
    font-size: 30px;
    font-weight: 400;
}

/* ---- Market-Seite ---- */
#page.market {
  display: table;
  width: 630px;
  height: 470px;
  margin: 0 auto;
  overflow: hidden;
}
#page.market .cards-table { height: 470px; }
#page.market .card { width: 50%; cursor: pointer; }
.card-unit-inline { font-size: 18px; font-weight: 700; }
#mkt_status { font-size: 11px; color: #000; text-align: center; }
/* ---- Orderbook-Seite ---- */
#page.orderbook {
    display: block;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#ob_head {
    text-align: center;
    padding: 4px 0 2px 0;
    border-bottom: 1px solid #000;
}
#ob_head a {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
}
#ob_mid {
    display: block;
    text-align: center;
    font-size: 19px;
    font-weight: 400;
}
#ob_table {
    width: 100%;
    border-collapse: collapse;
}
#ob_table td {
    padding: 1px 2px;
    vertical-align: middle;
    white-space: nowrap;
}
.ob_q {
    font-size: 20px;
    font-weight: 700;
    width: 62px;
}
.ob_qb { text-align: left; }
.ob_qa { text-align: right; }
.ob_p {
    font-size: 22px;
    font-weight: 900;
    width: 92px;
    text-align: center;
}
.ob_bar {
    width: 190px;
    height: 30px;
}
.ob_fill {
    height: 26px;
    background: #000;
}
.ob_barb { text-align: right; }
.ob_barb .ob_fill { float: right; }
.ob_bara { text-align: left; }
.ob_bara .ob_fill { float: left; }
#ob_foot {
    border-top: 1px solid #000;
    padding-top: 3px;
    font-size: 19px;
    font-weight: 700;
}
#ob_sum_bid { float: left; }
#ob_sum_ask { float: right; }
#ob_bucket {
    display: block;
    text-align: center;
    font-weight: 400;
}
#ob_status { clear: both; font-size: 12px; text-align: center; }

/* ---- Navigations-Seite ---- */
#page.nav {
    display: table;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#page.nav .cards-table { height: 458px; }
#page.nav .card { width: 25%; }
#page.nav .card a { display: block; }
.nav-title {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1px;
}
.nav-sub {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    margin-top: 4px;
}

/* ---- Difficulty-Seite ---- */
#page.difficulty {
    display: table;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#page.difficulty .cards-table { height: 458px; }
#page.difficulty .card { width: 50%; cursor: pointer; }
#diff_status { font-size: 11px; text-align: center; }

/* ---- Bloecke-Seite ---- */
#page.blocks {
    display: block;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#blk_head {
    text-align: center;
    padding: 2px 0 3px 0;
    border-bottom: 1px solid #000;
}
#blk_head a { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
#blk_table { width: 100%; border-collapse: collapse; }
#blk_table th {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    padding: 2px 4px;
    border-bottom: 1px solid #aaa;
}
#blk_table td {
    font-size: 21px;
    font-weight: 700;
    padding: 4px;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
}
.blk_h { text-align: left;   width: 130px; }
.blk_a { text-align: right;  width: 80px; }
.blk_p { text-align: left;   padding-left: 14px !important; }
.blk_t { text-align: right;  width: 80px; }
.blk_f { text-align: right;  width: 90px; }
#blk_status { font-size: 12px; text-align: center; }

/* ---- Fees-Seite ---- */
#page.fees {
    display: table;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#page.fees .cards-table { height: 458px; }
#page.fees .card { width: 50%; cursor: pointer; }
#fee_status { font-size: 11px; text-align: center; }

/* ---- Fear & Greed-Seite ---- */
#page.fng {
    display: table;
    width: 630px;
    height: 458px;
    margin: 0 auto;
    overflow: hidden;
}
#page.fng #left { width: 300px; padding: 30px 0 0 20px; }
#fng_value {
    font-size: 150px;
    font-weight: 900;
    letter-spacing: -8px;
    line-height: 1;
}
#fng_label { font-size: 34px; font-weight: 900; }
#fng_status { font-size: 11px; margin-top: 6px; }
#page.fng .cards-table { height: 458px; }
