@charset "utf-8";
/*
    Theme Name: 币行情模板
    Theme URI: https://www.soubtc.com/
    Author: 阿叶
    Author URI: https://www.soubtc.com/
    Description:
    Version: 0.0.1
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
:root {
	--bg-c: #f8fafc;
	--pm-c: #2354e6;
	--br-c: #e2e8f0;
	--md-c: #909399;
}
a,a:hover {
	color: #333;
	text-decoration: none
}
body,html {
	background: var(--bg-c);
}
ul,ol {
	list-style: none;
	padding: 0;
}

.line-1 {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line-2 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
}
.line-3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	-webkit-line-clamp: 3;
}
.icon img {
	width: 100%;
	height: 100%;
}
.flex {
	display: flex;
}
.flex-middle {
	align-items: center;
}
.flex-cover {
	overflow: hidden;
	flex: 1;
	position: relative;
}


.app {
	max-width: 888px;
	margin: 0 auto;
	padding: 1.5rem;
}

header {
    display: flex;
    align-items: center;
}
header h1 {
	font-size: 20px;
	margin: 0;
	flex: 1;
    line-height: normal;
}
header h1:first-letter {
    text-transform: uppercase;
}
.fall {
    color: #ef4444;
    background: #fee2e2;
}
.rise {
	background: #01c875;
	color: #fff;
}

.c-fall {
    color: #ef4444;
}
.c-rise {
	color: #01c875;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    transform: translateY(1px);
    border-radius: 50%;
}
.update-time {
	color: #C0C4CC;
	font-size: 12px;
}

.part-box {
	background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.part-title {
    margin: 20px 0;
    display: flex;
    align-items: center;
}
.part-title .title {
    font-size: 20px;
    font-weight: bold;
    color: #111;
}
.part-title .more {
    color: #C0C4CC;
    font-size: 13px;
    margin-left: 5px;
}
.part-title .cats {}
.part-title .cats a {
    font-size: 13px;
    color: #C0C4CC;
    margin-left: 10px;
}
.part-title .cats .active {
    font-weight: bold;
    color: var(--pm-c);
}

.pt {
    margin-top: 0 !important;
    position: relative;
}
.pt .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
}
.pt .top {
    display: flex;
    align-items: center;
}
.pt .top .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
    text-transform: capitalize;
}
.pt .top .info {
    display: flex;
    align-items: center;
}
.pt .top .info span {
    color: var(--md-c);
    font-size: 13px;
}
.pt .top .info span:after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: #C0C4CC;
    margin: 0 10px;
}
.pt .top .info span:last-child:after {
    display: none;
}
.pt .right {
    flex: 1;
    overflow: hidden;
    position: relative;
} 
.pt .desc {
    margin-top: 20px;
    color: var(--md-c);
    font-size: 15px;
    line-height: 1.65;
    border-left: 4px solid #eee;
    padding-left: 20px;
}

.pt .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.85rem;
    color: #ffffff;
    background: #1a1a1a;
    height: 24px;
    line-height: 26px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-group {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px
}
.btn-group a {
    align-items: center;
    border-radius: 5px;
    flex: 1;
    text-align: center;
    line-height: 42px;
    transition: all .3s;
    font-weight: bold;
    font-size: 14px;
}
.btn-group a:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.btn-group .primary {
    background: var(--pm-c);
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.btn-group .secondary {
    background: #f8f8f8;
    color: #303133;
    border: 1px solid #ddd;
}

.post-news {
    padding-bottom: 10px;
}
.post-news .thumb {
    display: block;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.post-news .item {
    margin-top: 0;
    display: block;
    padding: 20px !important;
}
.post-news .item .title {
    color: #303133;
    font-size: 15px;
    margin-top: 12px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.coin-tab {}
.coin-tab .item {
	border-bottom: 1px dashed var(--br-c);
	padding: 15px;
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #303133
}
.coin-tab .item:hover {
	background: #fafafa
}
.coin-tab .tab-head {
	font-size: 13px;
	color: #909399;
	border-bottom: 1px solid var(--br-c);
}
.coin-tab .tab-head:hover {
    background: #fff;
}
.coin-tab .item .rank {
	width: 40px;
	text-align: left;
}
.coin-tab .item>div {
	width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
    text-align: right;
    font-family: Arial;
}
.coin-tab .item .coin {
    display: flex;
    flex: 1;
    overflow: hidden;
    align-items: center;
    text-align: left;
}
.coin-tab .item .coin img {
	width: 26px;
	height: 26px;
	margin-right: 10px;
}
.coin-tab .item .price {
}
.coin-tab .item .coin .name {
	margin-bottom: 3px;
	font-size: 13px;
	font-weight: bold;
}
.coin-tab .item .coin span {
	color: var(--md-c);
	font-size: 12px;
}

.coin-tab .item .percent {}
.coin-tab .item .percent span {
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
    font-family: Arial;
    background: transparent !important;
}
.coin-tab .item .trade {}
.coin-tab .item .trade span {
    border-radius: 20px;
    display: inline-block;
    background: #f5f5f5;
    padding: 0 16px;
    font-size: 12px;
    color: var(--md-c);
    height: 33px;
    line-height: 34px;
}
.coin-tab .item:hover .trade span {
    background: var(--pm-c);
    color: #fff;
}


.coin-tab .more {
	font-weight: bold;
	margin-top: 20px;
	display: block;
	text-align: center;
	line-height: 42px;
	font-size: 14px;
	background: var(--pm-c);
	color: #fff;
	border-radius: 4px;
}



.fenye {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 13px;
    color: #C0C4CC;
}
.fenye a {
    color: #C0C4CC;
    font-size: 13px;
}
.fenye a:hover,
.fenye .current {
    color: var(--pm-c);
}

.links {}
.links a {
    color: var(--md-c);
    font-size: 11px;
    margin: 0 3px;
}

.footer {
    padding: 10px;
    text-align: center;
    color: var(--md-c);
    font-size: 11px;
}
.footer p {
    margin: 20px 0;
}
@media (max-width: 760px) {
    .app {
        max-width: 100%;
        padding: 10px;
    }
    header {
        flex-wrap: wrap;
        margin: 10px 0 20px 0;
    }
    .update-time {
        margin-top: 10px;
        width: 100%;
        padding-left: 35px;
    }
    .part-box {
        padding: 20px;
        margin: 10px 0;
    }
    .btn-group {
        gap: 6px
    }
    .pt .icon {
        width: 48px;
        height: 48px;
        margin-right: 10px;
    }
    .pt .top .title {
        font-size: 17px;
        margin-bottom: 15px;
    }
    .coin-tab .item>div {
        width: 80px;
    }
    .coin-tab .item .rank {
        width: 25px;
    }
    .price-box,
    .trade,
    .price-cny,
    .coin-ltl,
    .pt .badge,
    .pt .top .info span:nth-child(2):after,
    .pt .top .info span:last-child:after,
    .pt .top .info span:last-child {
        display: none;
    }
    .pt .top .title {
        font-size: 17px;
    }
    .pt .desc {
        border-left: 0;
        padding-left: 0;
        margin-top: 20px;
        color: var(--md-c);
        font-size: 14px;
        line-height: 24px;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
    }
    .pt .desc p {
        margin: 0;
    }
    .post-news {
        width: 68%;
    }
    .post-news .thumb {
        height: 120px;
    }
    .post-news .item {
        padding: 10px !important;
    }
    .coin-tab .item {
        padding: 15px 0;
    }
    .footer p {
        margin: 15px 0;
        line-height: 18px;
    }
    
}