@font-face {
    font-family: "a";
    /*中文字体*/
    src: url();
    font-display: swap;
}


@font-face {
    font-family: "b";

    src: url(../fonts/Ubuntu-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: "title";
    /*英文字体*/
    src: url(../fonts/Pacifico-Regular.ttf);
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    transition: background-color 0.2s ease;
}

a:hover,
a:link,
a:visited,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main_text_color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background-color: var(--main_bg_color, linear-gradient(50deg, #a2d0ff, #ffffff));
}



html[data-theme="Dark"] {
    
    --main_text_color: #fff;
    --gradient:linear-gradient(120deg, rgb(133, 62, 255), #f76cc6 30%, rgb(255, 255, 255) 60%);
    --purple_text_color: #747bff;
    --text_bg_color: rgb(26, 4, 48);
    --item_bg_color: rgb(19, 20, 24);
    --item_hover_color: rgb(19, 23, 27);
    --item_left_title_color: rgb(255, 255, 255);
    --item_left_text_color: rgb(142, 142, 142);
    --footer_text_color: #646464;
    --left_tag_item: linear-gradient(50deg, #1f2327, #000000);
    --card_filter: 0px;
    --back_filter: 0px;
    --back_filter_color: #000000;
    --fill:#ffffff;
}






body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    position: relative;
    font-family: "b",  "a", sans-serif;
    background: var(--main_bg_color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: color 0.1s ease;
    color: var(--main_text_color);

}

#zyyo-loading {
    background: radial-gradient(white, #d8eaff);
    background-size: 100%;
    background-position: center;

    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    margin-top: 0px;
    top: 0px;
    pointer-events: none;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



#zyyo-loading-center {
    height: 150px;
    width: 150px;
    position: relative;
    border-radius: 50%;
    background: #472eff;

    animation: zoom 1s linear infinite;
}

@keyframes zoom {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}




.zyyo-filter {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--back_filter_color);
    backdrop-filter:  blur(var(--back_filter));
    -webkit-backdrop-filter: blur(var(--back_filter));
    z-index: -99999999;
   
}

.zyyo-main {
    width: 100%;
    margin: 0 auto;
    transition: transform 0.5s ease;
    max-width: 1150px;
    position: relative;
    display: flex;
    flex-direction: row;
}


.zyyo-left {
    overflow-y: scroll;
    width: 230px;
    height: 100vh;
    display: flex;
    padding: 0 15px;
    position: sticky;
    top: 0;
    left: 0;
    align-items: center;
    flex-direction: column;
}


.zyyo-left::-webkit-scrollbar {
    display: none;
}


.logo {
    flex-shrink: 0;
    width: 90%;
    position: relative;
    aspect-ratio: 1/1;
    margin-top: 50px;
    background-size: cover;
    border-radius: 50%;
}



.left-div {
    flex-shrink: 0;
    width: 100%;
    border-radius: 13px;
    margin-top: 15px;
    padding: 20px;
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
}

.left-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-des-item {
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 15px;
    margin-bottom: 5px;
    overflow: hidden;
}

.left-des-item i,.left-des-item svg{
    width: 16px;
    height: 16px;
    fill:var(--fill);
   font-size: 18px;
    margin-right: 10px;
}
.left-tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;
}

.left-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    margin: 0px 5px 5px 0;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--left_tag_item);
}

#line {
    width: 100%;
    height: 200px;
    font-size: 13px;
    padding-left: 8px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

#line li {
    list-style: none;
    position: relative;
    padding: 15px 0px 0px 15px;
    border-left: 2px solid #d5d5d5;
    border-radius: 0;
    scroll-snap-align: end;
    color: var(--main_text_color);
}



.focus {
    width: 8px;
    height: 8px;
    border-radius: 22px;
    background-color: rgb(255 255 255);
    border: 2px solid #fff;
    position: absolute;
    left: -5px;
    top: 50%;
}

#line li:first-child .focus:first-child {
    background-color: #aaffcd;
    animation: focus 1.8s ease infinite;
}

#line::-webkit-scrollbar {
    display: none;
}



.zyyo-right {
    width: calc(100% - 230px);
    display: flex;
    padding: 20px;
  position: relative;
    padding-bottom: 50px;
    flex-direction: column;
}
.welcome {

    font-size: 65px;
    font-weight: 800;
    margin: 30px 0;
}

.index-logo {
    flex-shrink: 0;
    width: 40%;
    margin-top: 30px;
    position: relative;
    max-width: 200px;
    aspect-ratio: 1/1;
    background-size: cover;
    border-radius: 50%;
    border: 0.5px solid #ffffff;
}
.description {

    font-size: 20px;
    margin-top: 7px;
}



.gradientText {

    display: inline-block;
    padding-right: 0.12em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    background-position: 0%;
    font-family: "title";
    animation: backgroundSizeAnimation 10s ease-in-out infinite;
      background-image:  var(--gradient);
}

@keyframes backgroundSizeAnimation {
    0% {
        background-position: 100%;
    }

    25% {
        background-position: 50%;
    }

    50% {
        background-position: 0%;
    }

    75% {
        background-position: 50%;
    }

    100% {
        background-position: 100%;
    }

}

.purpleText {
    color: var(--purple_text_color);
    font-weight: 800;
}

.textBackground {
    font-weight: 800;
    background: var(--text_bg_color);
    border-radius: 5px;
    font-size: 17px;
    margin: 0 3px;
    padding: 2px 4px;
}

.quote-rotator {
    display: grid;
    line-height: 1.55;
    perspective: 900px;
}

.quote-layer {
    grid-area: 1 / 1;
    visibility: hidden;
    pointer-events: none;
    transform-style: preserve-3d;
}

.quote-layer--current,
.quote-layer--entering,
.quote-layer--leaving {
    visibility: visible;
}

.quote-word {
    display: inline-block;
    white-space: nowrap;
}

.quote-char {
    display: inline-block;
    transform-origin: center center;
    backface-visibility: hidden;
}

.quote-layer--entering .quote-char,
.quote-layer--leaving .quote-char {
    will-change: transform, opacity;
}

.quote-layer--entering .quote-char {
    animation: quoteCardIn 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
    animation-delay: var(--quote-delay);
}

.quote-layer--leaving .quote-char {
    animation: quoteCardOut 760ms cubic-bezier(0.55, 0, 0.8, 0.25) both;
    animation-delay: var(--quote-delay);
}

@keyframes quoteCardIn {
    0% {
        opacity: 0;
        transform: translateY(-0.2em) rotateX(-90deg) scale(0.94);
    }
    70% {
        opacity: 1;
        transform: translateY(0) rotateX(10deg) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

@keyframes quoteCardOut {
    0% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0.2em) rotateX(90deg) scale(0.94);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quote-layer--entering .quote-char,
    .quote-layer--leaving .quote-char {
        animation: none;
    }
}

.iconContainer {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    margin-top: 20px;

}

.iconContainer::-webkit-scrollbar {
    display: none;
}



.iconItem {
    width: 49px;
    height: 43px;
    box-sizing: border-box;
    border-radius: 7px;
    display: flex;
    margin-left: 10px;

    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.iconItem i,.iconItem svg{
    width: 22px;
    height: 22px;
    fill:var(--fill);
    font-size: 22px;
     margin-right: 3px;
}
.switch {
    width: 55px;
    height: 43px;
    box-sizing: border-box;
    border-radius: 7px;
    display: flex;
    margin-left: 10px;
    backdrop-filter: blur(var(--card_filter));-webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);

    align-items: center;
    justify-content: center;
    transition: width 1s ease, opacity 1s ease, transform 1s ease;
    flex-shrink: 0;
}

.iconTip {
    white-space: nowrap;
    display: none;
}





.iconItem:hover {
    width: 95px;
    transform: translateY(-2px);
    background: var(--item_hover_color);
}


.iconItem:hover .iconTip {
    display: block;
}

.switch:hover {
    width: 55px;
    /* transform: translateY(-2px); */
    background: var(--item_hover_color);
}

.tanChiShe {
    width: 85%;
}

.tanChiShe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 800;
    margin: 20px 0;
    transition: transform 0.4s ease;
}
.title i ,.title svg{
    margin-right: 8px;
    height: 26px;
    width: 26px;
   fill:var(--fill);
}
.title:hover {
    transform: translateY(-5px);
}

.projectList {
    display: flex;
    flex-wrap: wrap;
}

.projectItem {
    margin: 7px;
    display: flex;
    background-color: var(--item_bg_color);
    border-radius: 8px;
    padding: 15px;
    height: 95px;
    width: calc(25% - 15px);
    backdrop-filter: blur(var(--card_filter));-webkit-backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));-webkit-backdrop-filter: blur(var(--card_filter));
    transition: opacity 0.3s ease, background-color 0.3s ease, border 0.3s ease, transform 0.2s ease;


}

.projectItem {
    display: flex;
    background-color: var(--item_bg_color);
    border-radius: 8px;
    padding: 15px;
    height: 100px;
    width: calc(25% - 15px);
    backdrop-filter: blur(var(--card_filter));-webkit-backdrop-filter: blur(var(--card_filter));
    transition: opacity 0.5s ease, background-color 0.2s ease, border 0.2s ease, transform 0.3s ease;

}


.projectItem:hover {
    box-shadow: 0 8px 16px -4px #2c2d300c;
    transform: translateY(-2px);

}

.projectItem.pressed {
    transform: scale(0.9);
    /* 缩小到原来的0.9倍 */
    background-color: var(--item_hover_color);
}

.projectItem:hover .projectItemLeft {
    width: 100%;
}

.projectItem:hover .projectItemRight {
    width: 0%;
}

.projectItem:hover .projectItemRight img {
    transform: rotate(40deg);
}

.projectItem:hover h1 {
    font-size: 18px;
}

.projectItemLeft p {
    font-size: 12px;
    margin-top: 15px;
    color: var(--item_left_text_color);
}


.projectItemLeft h1 {
    font-weight: normal;
    font-size: 16px;
    margin: 0px;

    transition: font-size 0.4s ease;
    color: var(--item_left_title_color);
}

.projectItemLeft {
    transition: width 0.4s ease;
    height: 100%;
    width: 80%;
}


.projectItemRight {
    overflow: hidden;
    transition: width 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 100%;
}

.projectItemRight img {

    height: 39px;
    width: 39px;

}

.skill {
    padding: 25px;
    width: 100%;
}

.skill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill #skillWap {
    display: none;
}

footer {
    position: absolute;
    padding: 10px;
    text-align: center;
    width: 100%;
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
    color: var(--footer_text_color);
    font-size: 13px;
    bottom: 0;
}

@media (min-width: 800px) {

    .index-logo {
        display: none;
    }
}

@media (max-width: 1150px) {
    .a {
        width: calc(50% - 20px);
    }
.projectItem{
    margin: 10px;
}
    .b {

        width: calc(50% - 20px);


    }
}

@media (max-width: 800px) {
    .zyyo-left {
        display: none;
    }

    .a .projectItemRight {
        display: none;

    }

    .a .projectItemRight img {
        display: none;

    }

    .a .projectItemLeft {
        width: 100%;
    }

    .a {

        width: calc(50% - 18px);
  margin: 9px;

    }

    .b {
        height: 110px;
        margin: 8px 15px;
        width: calc(100% - 30px);
    }



    .zyyo-right {
        width: 100%;
    }

    .tanChiShe {
        width: 100%;
    }

    .description {
        font-size: 4vw;
    }

    .welcome {
        font-size: 10vw;
        margin: 2vw 0;

    }
    .iconContainer {
  
     margin-top: 4vw;

}
.projectItem{
    padding: 10px;
}
    .projectItemLeft p {
        font-size: 13px;
    }

    .projectItemLeft h1 {

        font-size: 18px;
    }

    .projectItem:hover h1 {

        font-size: 20px;

    }

    .skill #skillWap {
        display: block;
    }

    .skill #skillPc {
        display: none;
    }













}





.tc {
    position: fixed;
   
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(20, 20, 20, 0.5);
    z-index: 99999;
    align-items: center;
    top: 0;
    justify-content: center;
    flex-direction: column;
}

.tc-main {
    z-index: 100000;
    
    width: 80%;
    max-width: 300px;
    min-height: 200px;
    background-color: #ffffff;
    border-radius: 15px;

    display: flex;
    transition: transform 0.2s linear;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(30%) scale(0.5);

}

.tc-img {
    width: 100%;
    height: 100%;
}

.tc.active {
    visibility: visible;
}

.tc-main.active {

    transform: translateY(0) scale(1);

}

.crypto-trigger {
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.crypto-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 18px;
    background: rgba(6, 15, 30, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.crypto-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.crypto-dialog {
    width: min(560px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(3, 13, 29, 0.34);
    color: #172033;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.crypto-modal.is-open .crypto-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

html[data-theme="Dark"] .crypto-dialog {
    border-color: #2b3443;
    background: #111827;
    color: #f3f6fb;
}

body.crypto-modal-open {
    overflow: hidden;
}

.crypto-dialog-header {
    display: flex;
    height: 36px;
    justify-content: flex-end;
}

.crypto-close {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f4f8;
    color: inherit;
    cursor: pointer;
    font: 23px/1 Arial, sans-serif;
}

.crypto-close:hover,
.crypto-close:focus-visible {
    background: #e6ebf2;
    outline: 2px solid #1d68f0;
    outline-offset: 2px;
}

html[data-theme="Dark"] .crypto-close {
    background: #273244;
}

.crypto-coin-section {
    margin-top: 8px;
}

.crypto-section-label,
.crypto-field > span:first-child {
    display: block;
    color: #637083;
    font-size: 12px;
    font-weight: 700;
}

html[data-theme="Dark"] .crypto-section-label,
html[data-theme="Dark"] .crypto-field > span:first-child {
    color: #9ba7b8;
}

.crypto-currency-list {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.crypto-currency-list::-webkit-scrollbar {
    display: none;
}

.crypto-currency-option {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px 0 8px;
    border: 1px solid #dfe4ec;
    border-radius: 21px;
    background: #ffffff;
    color: #3b4657;
    cursor: pointer;
    font: 13px "b", "a", sans-serif;
    font-weight: 700;
}

.crypto-currency-option:hover {
    border-color: #b8c3d2;
    background: #f8fafc;
}

.crypto-currency-option.is-selected {
    border-color: #1d68f0;
    background: #edf4ff;
    color: #1454c5;
    box-shadow: inset 0 0 0 1px #1d68f0;
}

.crypto-currency-option:focus-visible {
    outline: 2px solid #1d68f0;
    outline-offset: 2px;
}

html[data-theme="Dark"] .crypto-currency-option {
    border-color: #344054;
    background: #1b2534;
    color: #dce3ed;
}

html[data-theme="Dark"] .crypto-currency-option.is-selected {
    border-color: #4388ff;
    background: #162d52;
    color: #bcd5ff;
    box-shadow: inset 0 0 0 1px #4388ff;
}

.crypto-coin-icon,
.crypto-selected-symbol {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #1652f0;
    color: #ffffff;
    font: 700 10px/1 Arial, sans-serif;
}

.crypto-coin-icon {
    width: 26px;
    height: 26px;
}

.crypto-selected-symbol {
    width: 22px;
    height: 22px;
    font-size: 8px;
}

.crypto-coin-icon[data-symbol="BTC"],
.crypto-selected-symbol[data-symbol="BTC"] {
    background: #f7931a;
}

.crypto-coin-icon[data-symbol="ETH"],
.crypto-selected-symbol[data-symbol="ETH"] {
    background: #627eea;
}

.crypto-coin-icon[data-symbol="USDT"],
.crypto-selected-symbol[data-symbol="USDT"] {
    background: #26a17b;
}

.crypto-coin-icon[data-symbol="USDC"],
.crypto-selected-symbol[data-symbol="USDC"] {
    background: #2775ca;
}

.crypto-native-currency {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.crypto-network-section {
    margin-top: 18px;
}

.crypto-field {
    display: grid;
    gap: 7px;
}

.crypto-select-wrap {
    position: relative;
    display: block;
}

.crypto-field select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 42px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #172033;
    cursor: pointer;
    font: 14px "b", "a", sans-serif;
    font-weight: 700;
}

.crypto-network-mark {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    width: 12px;
    height: 12px;
    border: 3px solid #1d68f0;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

html[data-theme="Dark"] .crypto-field select {
    border-color: #344054;
    background: #1b2534;
    color: #eef2f7;
}

.crypto-field select:focus-visible {
    outline: 2px solid #1d68f0;
    outline-offset: 2px;
}

.crypto-payment-details {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    background: #f8fafc;
}

html[data-theme="Dark"] .crypto-payment-details {
    border-color: #2d394b;
    background: #182231;
}

.crypto-qr-column {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.crypto-qr {
    display: grid;
    width: 184px;
    aspect-ratio: 1;
    place-items: center;
    padding: 10px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #ffffff;
    color: #7a8595;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.crypto-qr img,
.crypto-qr canvas {
    display: block;
    width: 164px;
    height: 164px;
}

.crypto-selected-asset {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3d485a;
    font-size: 12px;
    font-weight: 700;
}

html[data-theme="Dark"] .crypto-selected-asset {
    color: #dce3ed;
}

.crypto-payment-data {
    min-width: 0;
}

.crypto-data-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
}

.crypto-data-row[hidden] {
    display: none;
}

.crypto-data-row + .crypto-data-row {
    margin-top: 18px;
}

.crypto-data-label {
    grid-column: 1 / -1;
    color: #637083;
    font-size: 12px;
    font-weight: 700;
}

html[data-theme="Dark"] .crypto-data-label {
    color: #aeb4bf;
}

.crypto-data-row code {
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    font: 12px/1.45 Consolas, monospace;
    overflow-wrap: anywhere;
    user-select: text;
}

html[data-theme="Dark"] .crypto-data-row code {
    border-color: #344054;
    background: #111827;
}

.crypto-copy {
    min-width: 64px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #1d68f0;
    color: #ffffff;
    cursor: pointer;
    font: 13px "b", "a", sans-serif;
    font-weight: 700;
}

.crypto-copy:hover:not(:disabled),
.crypto-copy:focus-visible:not(:disabled) {
    background: #1658cd;
    outline: 2px solid #1d68f0;
    outline-offset: 2px;
}

.crypto-copy:disabled {
    background: #a9adb6;
    cursor: not-allowed;
    opacity: 0.65;
}

.crypto-network-warning {
    margin-top: 16px;
    padding: 11px 12px;
    border: 1px solid #f0d99f;
    border-radius: 8px;
    background: #fffaf0;
    color: #735512;
    font-size: 12px;
    line-height: 1.55;
}

html[data-theme="Dark"] .crypto-network-warning {
    border-color: #5a4924;
    background: #2b261b;
    color: #e8cf91;
}

.crypto-copy-status {
    min-height: 20px;
    margin-top: 8px;
    color: #168452;
    font-size: 12px;
}

@media (max-width: 600px) {
    .crypto-modal {
        padding: 12px;
    }

    .crypto-dialog {
        max-height: calc(100vh - 24px);
        padding: 16px;
    }

    .crypto-payment-details {
        grid-template-columns: 1fr;
    }

    .crypto-qr {
        width: 174px;
        justify-self: center;
    }

    .crypto-qr img,
    .crypto-qr canvas {
        width: 154px;
        height: 154px;
    }

    .crypto-payment-details {
        padding: 14px;
    }

    .crypto-data-row {
        grid-template-columns: minmax(0, 1fr) 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crypto-modal,
    .crypto-dialog {
        transition: none;
    }
}









.onoffswitch {
    position: relative;
    width: 38px;
    height: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border-radius: 50px;
}

.onoffswitch-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200%;
    height: 100%;
    margin-left: -100%;
    transition: margin 0.2s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 50%;
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "";
    background-color: rgb(110 110 110 / 50%);
    color: #FFFFFF;
    text-align: left;
}

.onoffswitch-inner:after {
    content: "";
    background-color: #272727;
    color: #FAFAFA;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    height: 70%;
    aspect-ratio: 1/1;
    background: #FFFFFF;
    position: absolute;
    top: 12.5%;
    bottom: 12.5%;
    right: 5px;

    border-radius: 20px;
    transition: right 0.2s ease-in 0s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 50%;
}
