:root {
    --text-light: #ffffff;
    --text-dark: #333333;
}
.circle-num {
    /* 1. 变成正方形（长宽必须完全一致） */
    width: 2rem;
    height: 2rem;

    /* 2. 变成完美的圆形 */
    border-radius: 50%;

    /* 3. 颜色设置 */
    background-color: #2ecc71; /* 绿色背景 */
    color: var(--text-light);

    /* 4. 让数字在圆形正中心上下左右对齐 */
    display: flex;
    justify-content: center;
    align-items: center;

    /* 5. 字体样式（根据需要调整） */
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0; /* 清除 p 标签默认的外边距 */
}
rt {
    color: #00f;
    font-size: 1.0rem;
}
li::marker {
    color: #2ecc71; 
}
ol,ul,li {
    /* list-style: none; */
    font-size: 1.5rem;
}
a,a:visited {
    text-decoration: none;
    color: #333;
}
a:hover {
    color: #ef4a48;
}
img {
    border: none;
    height: auto;
    width: auto;
    max-width: 100%
}
.red {
    color: #ef4a48;
}
.hanzi-item {
    display: block;
	cursor: pointer;
    user-select: none;
    background-image: url(/res/img/grid.png);
    background-size: cover;
    border: 0.15rem solid #eee;
    text-align: center;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    margin: 0.2rem;
    font-size: 2.5rem;
}
.hanzi-item:hover, .hanzi-item-selected {
    color: #ffad17;
    border: 0.15rem solid #ffca7b !important;
}
.word-item {
    display: inline-flex;
	cursor: pointer;
    user-select: none;
    border: 0.15rem solid #eee;
    text-align: center;
    margin: 0.3rem;
    font-size: 1.5rem;
}
.word-char {
    width: 3rem; 
    line-height: 3rem; 
    align-content: center; 
    font-size: 2rem;
}
.word-delimiter {
    width:0.15rem;
    height:100%;
    background:#eee;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    vertical-align: middle;
}
.icon-button:hover {
    background:#efefef;
}
input[type="radio" i] {
    margin: 0.3em 0.3em 0 1em;
    width: 1.5em;
    height: 1.5em;
}

body {
    font-size: 1.25rem;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Segoe UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
}

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m:
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

.clear {
	clear: both;
}

.paper {
    max-width: 1200px;
    margin: 0 auto;
}

.header-grid {
	float: left;
}

.grid {
	margin: 0 auto;
}

.grid-20 { width: 20% }
.grid-80 { width: 80% }
.grid-100 { width: 100%; }

.logo {
	margin: 10px 10px 0 10px;
    width: 72px;
    height: 72px;
}

.small-logo {
	display:none;
	width: 3em;
	height: 3em;
	float: left;
}

.description {
    padding: 0 10px;
    line-height: 72px;
    text-align: right;
    color: #fff
}

.footer {
    font-size: 1rem;
    line-height: 60px;
    margin-left: 10px;
    margin-right: 10px
}

.text-center {
    text-align: center;
}

#menu_button {
	display: none;
	float: right;
	margin: 12px;
	color: #fff;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none
}

.menu-icon {
    display: none
}

.menu-list {
    float: right;
    margin: 0 auto
}

.menu-list li {
    display: inline-block;
	cursor: pointer;
}

.menu-list li a {
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding: 0 20px;
    line-height: 72px
}

.menu-list li a:hover {
    color: #ef4a48
}

.search-box {
	display: flex;
    width: 100%;
	max-width: 50rem;
    height: 4.5rem;
    margin: 0 auto;
    padding: 0.8rem 0.8rem 1rem 0.8rem;
    box-sizing: border-box;
}

.search-textinput:focus {
    border: 2px solid #ef4a48;
}

.search-textinput {
	width: calc(100% - 5rem);
	height: 100%;
	padding-left: 1em;
	padding-right: 1em;
    font-size: 1.25rem;
    border: 2px solid #ccc;
	border-right-width: 0;
	border-radius: 0;
    vertical-align: middle;
	outline: none;
    float: left;
}

.search-button {
    width: 5rem;
    height: 100%;
    background: #ef4a48;
    color: #fff;
    border: none;
    border-radius: 0 9px 9px 0;
    float: left;
}

.search-button:hover {
	border: 2px solid #ef4a48;
	color: #ef4a48;
	background: #fff;
}

.hw-toggle-off {
    width: 5rem;
    height: 100%;
    background: #ccc;
    color: #fff;
	border: 2px solid #ccc;
    border-radius: 9px 0 0 9px;
    float: left;
}

.hw-toggle-off:hover {
	border: 2px solid #ef4a48;
	color: #ef4a48;
}

.hw-toggle-on {
    background: #ef4a48;
	border: 2px solid #ef4a48;
}

.hw-toggle-on:hover {
    background: #fff;
	color: #ef4a48;
}

.hw-button {
	width: 6rem;
    height: 2.5rem;
	font-size: 1.25rem;
    border: 2px solid #b6b6b6;
    border-radius: 9px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .16);
    margin-bottom: 1rem;
}
.hw-button:hover {
    border: 2px solid #ef4a48;
}
.hw-button:active {
    box-shadow: none;
    border: 2px solid #ef4a48;
	color: #ef4a48;
}
.hw-line {
	height: 5.5rem;
	line-height: 5.5rem;
}
.hw-candidate {
	display: inline-block;
}
.hw-canvas {
	border: 1px solid #333;
	background: url(/res/img/grid.png) no-repeat;
    background-size: cover;
}
.card {
    box-shadow: 1px 1px 3px #e2e1e1;
    border-radius: 6px;
    color: #333;
    margin: 10px;
	background: #fff;
	margin-bottom: 20px;
}
.card-body {
    padding: 1rem 1.5rem;
}
.card-title {
    height: 36px;
    font-size: 1.25rem;
	font-weight: bold;
    line-height: 36px;
	background-color:#fff3b4;
    color: #333;
    text-align: left;
    border-radius: 6px;
    overflow: hidden;
    padding-left: 1em;
}
.article-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    overflow: hidden
}
.article-content {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.article-chapter {
	background: #e9f4f0;
    border-radius: 6px 6px 0 0;
    padding-left: 6px;
    line-height: 36px;
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 1.25rem;
	font-weight: bold;
    text-align: left;
    overflow: hidden
}
.index-list {
    display: flex;
    width:100%;
    flex-wrap: wrap;
    padding:0 0 1rem 0;
}
.index-list li {
    min-width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    margin: 0.2rem;
    padding: 0.5rem;
    user-select: none;
    border: 1px solid #0e0;
	cursor: pointer;
}
.index-list li:hover, .index-item-selected {
    background-color: #0c0;
    color: #fff;
}
.radical-row {
    display: flex;
}
.radical-row-left {
    min-width: 6rem;
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem;
}
.radical-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 0 1rem 0;
}
.hanzi-content {
    display: flex;
    flex-wrap: wrap;
}
.hz-ani-img{
    max-width: 512px;
    max-height: 512px; 
    min-width: 256px;
    min-height: 256px; 
}
.hanzi-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 0 1rem 0;
    row-gap: 0.3rem;
    column-gap: 0.2rem;
}
.hanzi-list li {
    list-style: none; 
    user-select: none;
	cursor: pointer;
}
.hidden {
    display: none;
}
.vhide {
    visibility: hidden;
}
.header {
	background-color: #fff;
	box-shadow: 0 4px 10px -3px rgba(0, 0, 0, 0.10196); 
	margin-bottom: 1em;
}
.header-line {
	display: flex;
}
.svg-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    fill: currentColor
}
.hz-table {
	border-spacing: 0.5em;
    border-collapse: separate;
    max-height:240px;
}
.hz-table-left {
    width: 100px;
    margin-right: 20px;
    text-align: center;
    background-color: #e9f4f0;
    padding: 6px 10px;
    border-radius: 6px
}
.hz-table-right {
    padding: 6px;
	border-bottom: 1px dotted #f5f9fb;
}
.key-pron {
    display: inline-block;
    text-align: center;
    background-color: #e9f4f0;
    padding: 0.3rem 2rem;
    border-radius: 6px
}
.sample-img {
    width: 128px;
    height: 128px;
}
.app-badge {
	display: inline-block;
	text-align: center;
    padding: 0.5rem;
    margin: 0.5rem;
    border: 1px solid #eee;
}
.app-badge img {
    width: 128px;
    height: 128px;
}
.app-badge a img {
    width: 202px;
    height: 60px;
}
.store-badge {
    background-image: url(/res/img/badges.webp);
    width: 202px;
    height: 60px;
}
.apple-badge {
    background-position: 0px 0px;
}
.google-badge {
    background-position: 0px -60px;
}
.amazon-badge {
    background-position: 0px -120px;
}
.samsung-badge {
    background-position: 0px -180px;
}
.huawei-badge {
    background-position: 0px -240px;
}

.hamburger {
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity,-webkit-filter;
    transition-property: opacity,filter;
    transition-property: opacity,filter,-webkit-filter;
    transition-duration: .15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: .9
}
.hamburger-box {
    -webkit-tap-highlight-color: transparent;
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative
}
.hamburger-inner {
    -webkit-tap-highlight-color: transparent;
    display: block;
    top: 50%;
    margin-top: -2px
}
.hamburger-inner,.hamburger-inner::before,.hamburger-inner::after {
    width: 30px;
    height: 4px;
    background-color: #000;
    color: #000;
    border-radius: 4px;
    position: absolute;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform,-webkit-transform;
    transition-duration: .15s;
    transition-timing-function: ease
}
.hamburger-inner::before,.hamburger-inner::after {
    content: "";
    display: block
}
.hamburger-inner::before {
    top: -10px
}
.hamburger-inner::after {
    bottom: -10px
}
.hamburger-spin .hamburger-inner {
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.55,.055,.675,.19)
}
.hamburger-spin .hamburger-inner::before {
    transition: top .1s .34s ease-in,opacity .1s ease-in
}
.hamburger-spin .hamburger-inner::after {
    transition: bottom .1s .34s ease-in,-webkit-transform .3s cubic-bezier(.55,.055,.675,.19);
    transition: bottom .1s .34s ease-in,transform .3s cubic-bezier(.55,.055,.675,.19);
    transition: bottom .1s .34s ease-in,transform .3s cubic-bezier(.55,.055,.675,.19),-webkit-transform .3s cubic-bezier(.55,.055,.675,.19)
}
.hamburger-spin.is-active .hamburger-inner {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    transition-delay: .14s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1)
}
.hamburger-spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top .1s ease-out,opacity .1s .14s ease-out
}
.hamburger-spin.is-active .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: bottom .1s ease-out,-webkit-transform .3s .14s cubic-bezier(.215,.61,.355,1);
    transition: bottom .1s ease-out,transform .3s .14s cubic-bezier(.215,.61,.355,1);
    transition: bottom .1s ease-out,transform .3s .14s cubic-bezier(.215,.61,.355,1),-webkit-transform .3s .14s cubic-bezier(.215,.61,.355,1)
}
.lang-selector {
	display: none;
	text-align: center;
    background: #ffe0e0;
    border-radius: 0 0 1em 1em;
}
.lang-selector a {
	display: inline-block;
	margin: 10px;
}
.screenshot-box {
	display:flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.screenshot-box picture img {
    width: 240px;
    height: 480px;
}
.watch-screenshot-box picture img {
    width: 300px;
    height: 375;
}
#strokes-box {
    display:flex; 
    flex-wrap:wrap;
}
.def-examples {
    color: #00f;
}
.def-text{
	font-weight: bold;
}
@media(max-width: 720px) {
	.hidden-sm {
		display: none
	}
    .paper {
        padding-left: 0;
        padding-right: 0
    }
    .article-box {
        padding: 6px 6px 16px 6px
    }
    .menu-icon {
    }
    #menu_button {
        display: inline-block;
    }
    #menu_button:hover {
        cursor: pointer
    }
    .menu-list li {
        display: block
    }
    .menu-list li a {
        width: 100%
    }
    .menu-list li a:hover {
        background: #ef4a48;
        color: #fff
    }
    .grid-sm-100 {
        width: 100%
    }
	.margin-sm-10 {
		margin: 10px;
	}
    .show-sm {
        display: block
    }
    .footer {
        line-height: 30px;
        margin-top: 30px;
        margin-bottom: 30px
    }
    #strokes-box {
        zoom: 0.8;
    }
}
