body {
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
    background: #fff;
    color: #000;
    font-size: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    visibility: hidden;
    opacity: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #00b;
    text-decoration: none;
}

a:hover {
    color: #f00;
    text-decoration: underline;
}

.red {
    color: #f00;
}

/*---------------------------------------------------------- 頁 首*/

header {
    padding-top: 10px;
    height: 70px;
    position: relative;
}

header h1 {
    margin: 0;
    padding: 0;
    margin-left: 18px;
    float: left;
}

header h1 a img {
    width: 160px;
    height: 70px;
}

header:after {
    content: "";
    position: absolute;
    z-index: -10;
    top: 40px;
    right: 0;
    background: linear-gradient(-90deg, #c3e26d 0%, #c3e26d 95%, transparent);
    width: 620px;
    height: 6px;
    opacity: 1;
}

/*---------------------------------------------------------- 快 捷*/

header nav {
    float: right;
    margin-left: 30px;
    margin-right: 40px;
    width: 530px;
}

header nav ul {
    display: flex;
    justify-content: space-around;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    padding: 54px 0 4px;
    display: inline-block;
    /*border: 1px solid rgba(0,0,0,.2);*/
    text-align: center;
    width: 60px;
    font-size: 13px;
}

.nav-icon {
    background: url(../img/nav_20240401.png) no-repeat;
    background-size: 480px auto;
    width: 60px;
    height: 60px;
}

.n_mail {
    background-position: 0 0;
}

.n_mail:hover {
    background-position: 0 -60px;
}

.n_plurk {
    background-position: -60px 0;
}

.n_plurk:hover {
    background-position: -60px -60px;
}

.n_twitter {
    background-position: -120px 0;
}

.n_twitter:hover {
    background-position: -120px -60px;
}

.n_youtube {
    background-position: -180px 0;
}

.n_youtube:hover {
    background-position: -180px -60px;
}

.n_twitch {
    background-position: -240px 0;
}

.n_twitch:hover {
    background-position: -240px -60px;
}

.n_beanu {
    background-position: -420px 0;
}

.n_beanu:hover {
    background-position: -420px -60px;
}

.n_facebook {
    background-position: -300px 0;
}

.n_facebook:hover {
    background-position: -300px -60px;
}

.n_no {
    background-position: -360px 0;
}

.n_no:hover {
    background-position: -360px -60px;
}

/*---------------------------------------------------------- 搜 尋*/

#search {
    clear: both;
    margin: 10px 0;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #dfe1e5;
    border-bottom: 1px solid #d0d3d9;
    box-shadow: 0 1px 1px #fff inset, 0 2px 2px #eff1f5 inset, 0 -1px 2px #e5e7ec inset;
    background: #f6f7f9;
    /* display: flex;
    justify-content: space-between; */
    opacity: 1;
}

button {
    font-size: 11px;
    color: #000;
    box-sizing: border-box;
    border: 1px solid #003c74;
    background: linear-gradient(180deg,#fff,#ecebe5 86%,#d8d0c4);
    box-shadow: none;
    border-radius: 3px;
    min-width: 75px;
    min-height: 26px;
    padding: 0 12px;
}

button:not(:disabled):hover {
    box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
}

button.focused, button:focus {
    box-shadow: inset -1px 1px #cee7ff, inset 1px 2px #98b8ea, inset -2px 2px #bcd4f6, inset 1px -1px #89ade4, inset 2px -2px #89ade4;
    outline: 1px dotted #000;
    outline-offset: -4px;
}

button:not(:disabled).active, button:not(:disabled):active {
    box-shadow: none;
    background: linear-gradient(180deg,#cdcac3,#e3e3db 8%,#e5e5de 94%,#f2f2f1);
}

/* #search input[type="text"] {
    width: 200px;
} */

input[type=text] {
    padding: 3px 4px;
    max-width: 260px;
    width: 40vw;
    border: 1px solid #7f9db9;
    background-color: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    height: 21px;
    line-height: 2;
}

input[type=email]:focus, input[type=password]:focus, input[type=text]:focus {
    outline: none;
}

select {
    border: 1px solid #7f9db9;
    font-size: 11px;
    background-color: #fff;
    box-sizing: border-box;
    height: 21px;
    position: relative;
    padding: 3px 20px 3px 3px;
    border-radius: 0;
}

input[type=text], select {
    height: 26px;
}

#search .hot {
    margin: 0 auto;
    width: 100%;
    font-size: 13px;
    text-align: center;
    line-height: 26px;
}

#search .hot .left {
    float: left;
    margin-left: 60px;
    width: 120px;
}

#search .hot .right {
    float: right;
    margin-right: 60px;
    width: 120px;
}

.searchinput {
    display: inline-block;
    position: relative;
}

#suggestions {
    position: absolute;
    font-size: small;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .3);
    z-index: 3;
}

#suggestions li {
    list-style-type: none;
    padding: 0.4em 1em;
    line-height: 1.4em;
    cursor: pointer;
    text-align: left;
    color: #333;
}
#suggestions li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

#suggestions li.selected,
#suggestions li:hover {
    background-color: #f4f4f4;
}

.swiper.box {
    margin-bottom: 8px;
    height: 28px;
	border: 1px solid #bbb;
}

.swiper .heading {
    width: 68px;
    text-shadow: 0 1px rgb(0 0 0 / 30%);
    background: linear-gradient(73deg, #04529d 90%, transparent 90.2%);
    padding: 8px 4px 8px 10px;
    position: absolute;
    z-index: 9000;
}

.pts_m {
    display: none;
}

.swiper .heading a {
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
}

.swiper-wrapper {
    margin: 7px 0;
}

.swiper-slide {
	padding-left: 90px;
	width: 100%;
    height: 28px;
}


/*---------------------------------------------------------- 左 邊*/

main {
    float: left;
    width: 520px;
    margin-right: 10px;
    font-size: 13px;
}

.bars.start {
    border-top: 4px solid #7ac700;
}

.bars, .bars2 {
    border: 1px solid #bbb;
    padding: 4px;
    margin-bottom: 8px;
}

.news {
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 4rem 1fr;
}
.news .from {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news .from li {
    height: 100%;
    border: 1px solid #bbb;
}
.news .from li.current {
    border-right: 0;
    font-weight: bold;
}
.news .from li:not(.current) {
    background: #fbfbfb;
    box-shadow: -2px 0 0 #e9ebee inset;
}
.news .from a {
    padding: 0 10px;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    color: #333;
    text-align: center;
    font-size: 12px;
}
.news .from li:not(:last-child) {
    border-bottom: 0;
}
.news .list {
    display: inline-grid;
    padding: 4px;
    padding-top: 8px;
    border: 1px solid #bbb;
    border-left: 0;
    min-height: 116px;
}
.news .list li {
    position: relative;
    height: 1.8rem;
    opacity: 0; /* 初始為隱藏 */
    transition: opacity 0.5s ease; /* 淡入效果 */
}

.news .list li.fade-in {
    opacity: 1; /* 淡入顯示 */
}
.news .list li a {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    position: absolute;
    left: 0;
    right: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news .list li:last-child a {
    border-bottom: 0;
}

.bars li, .bars2 li {
    padding: .5rem 0;
    width: 100%;
    color: #bbb;
    /* line-height: 28px; */
}

.bars a, .bars2 a {
    font-size: 13px;
}

.bars li:not(:last-child), .bars2 li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.bars li:hover, .bars2 li:hover {
    background: #f8f8f8;
}

.bars h3, .bars2 h3 {
    margin: 0;
    padding: 0;
    display: inline-block;
    color: #333;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .5px;
}

.bars2 h3.writes {
    color: #ff6905;
}

.bars2 h3.shops {
    color: #f83f6d;
}

.bars2 h3.books {
    color: #009b00;
}

.bars2 h3.traffic {
    color: #19a3e5;
}

.bars2 h3.travel {
    color: #8652ff;
}

.bars2 img {
    display: block;
    box-sizing: border-box;
    width: 100%;
}

/*---------------------------------------------------------- 報 導 者*/

.newsList h3 {
    margin: 6px;
    padding-bottom: 6px;
    display: block;
    max-width: 500px;
    letter-spacing: .2em;
    border-bottom: 1px dotted #c71b0a;
}

.newsList h3 a {
    color: #c71b0a;
    font-weight: bold;
    text-decoration: none;
}

.newsList span {
    text-align: right;
    color: #62656d;
    float: right;
    margin-top: -28px;
    margin-right: 6px;
    font-size: smaller;
}

.newsList div {
    padding-left: 8px;
    line-height: 28px;
    max-width: 520px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.newsList div:hover {
    background: #f8f8f8;
}

.newsList div:not(:last-child){
    border-bottom: 1px solid #eee;
}

.newsList div:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    vertical-align: top;
    margin-right: 6px;
    vertical-align: 2px;
    background: #a67a44;
}

/*---------------------------------------------------------- 右 邊*/

aside {
    float: right;
    width: 270px;
}

aside .date {  /* date */
    float: right;
    font-size: 11px;
    color: #000;
}

aside .date p:not(:last-child) {
    margin-bottom: 8px;
}

aside .normal {
    margin-bottom: 8px;
    font-size: 13px;
}

aside .normal .box {
    border: 1px solid #64a0ff;
    padding: 2px 10px;
}

aside .normal h3 {
    margin: 0;
    padding: 0;
    padding: 4px 0 4px 12px;
    color: #fff;
    text-shadow: 0 1px rgb(0 0 0 / 30%);
    background: linear-gradient(60deg, #64a0ff 45%, transparent 45.2%);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 4px;
}

aside .normal h3:after {
    content: "";
    display: block;
    position: relative;
    background: #64a0ff;
    box-shadow: 0px -1px 1px #aacbff inset;
    height: 4px;
    margin-bottom: -4px;
    margin-left: -12px;
}

aside .normal.news ul {
    margin: 6px 0;
}

aside .normal.news ul li {
    margin-left: 10px;
    margin-bottom: 4px;
    text-indent: -10px;
    text-align: justify;
    line-height: 18px;
}

aside .normal.news ul li:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    vertical-align: top;
    margin-right: 6px;
    vertical-align: 2px;
    background: #7ac700;
}

aside .normal .moreLinks ul {
    color: #bbb;
}

aside .normal .moreLinks ul li {
    padding: 6px 0;
}

aside .normal .moreLinks ul li:not(:last-child) {
    border-bottom: 1px solid lightgray;
}

aside .normal .moreLinks ul li b, aside .normal.news .more b {
    letter-spacing: 4px;
    padding-right: 4px;
    margin-right: 4px;
    border-right: 1px solid lightgray;
    color: #333;
    font-size: 11px;
    font-weight: bold;
}

aside .normal.news .more {
    padding: 6px 0;
    border-top: 1px solid lightgray;
    color: #bbb;
}

aside .bn {
    margin-bottom: 8px;
    border: 1px solid #ff7fa650;
}
aside .bn a {
    display: flex;
}
aside .bn img {
    width: 100%;
}

div.box.binBox {
    padding: 0;
}

.bin {
    line-height: 18px;
    min-height: 36px;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bin a {
    padding: 0px 4px;
    min-width: 2rem;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    background: #a2c939;
    color: #fff;
    text-align: center;
}

/*---------------------------------------------------------- 頁 尾*/

footer:before {
    content: "";
    display: block;
    background: #bdd6ff;
    height: 2px;
}

footer {
    clear: both;
    margin-bottom: 20px;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
}

.banners {
    clear: both;
}

.banners img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.footerNav {
    margin-top: 10px;
    line-height: 20px;
}

.footerNavTxt {
    color: lightgray;
}

footer #links {
    margin: 10px 0;
}

footer #copyrights {
    line-height: 20px;
    color: gray;
}

/*---------------------------------------------------------- 計 數 器*/

.counter {
    margin-top: 10px;
    margin-bottom: -5px;
}

.counter b {
    font-weight: bold;
}

.counter div {
    display: inline-block;
    padding: 0.1em 0.5em;
    margin-bottom: 4px;
    background: #000;
    color: limegreen;
    border: 3px ridge darkgray;
}

/*---------------------------------------------------------- 偏 好 設 定*/

.setting {
    position: relative;
}

.settingBtn {
    float: right;
    padding: 2px 4px;
    margin-top: -3px;
    margin-bottom: -12px;
    border: 1px solid #bbb;
    color: gray;
    user-select: none;
    font-size: x-small;
    cursor: pointer;
}

.settingBtn:hover {
    border: 1px solid #70747c;
    color: #333;
}

.settingBox {
    position: absolute;
    width: 120px;
    right: 0;
    /* top: 1.09em; */
    bottom: 2px;
    background: #fff;
    padding: 10px;
    border: 1px solid #bbb;
    font-size: small;
    text-align: center;
    z-index: 1;
}

.darkmodeBtn {
    display: inline-block;
    margin-bottom: 10px;
    cursor: pointer;
}

/*---------------------------------------------------------- 投票倒數*/

#vote2024 {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 13px;
    border: 1px solid rgb(255 95 99 / 50%);
}
#vote2024 a {
    margin-right: 4px;
    padding: 2px 4px;
    font-size: small;
}
#vote2024box {
    display: inline-block;
}

/*---------------------------------------------------------- 手 機*/

@media only screen and (max-width: 820px) {
    body {
        margin: 0 auto;
        padding-bottom: 40px;
    }

    header {
        padding-top: 0;
    }

    header h1 {
        margin: 0 auto;
        display: flex;
        width: 100%;
        height: 80px;
        position: fixed;
        z-index: 9999;
        padding-top: 20px;
        background: rgba(255,255,255,.8);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    header h1:after {
        content: "";
        display: block;
        position: fixed;
        background: linear-gradient(-90deg, transparent 0%, transparent 3%,#c3e26d 5%,#c3e26d 95%,transparent 97%, transparent 100%);
        top: 94px;
        width: 100%;
        height: 6px;
        margin: 0 auto;
    }

    header h1 a {
        margin: 0 auto;
    }

    header nav {
        display: block;
        width: 100%;
        margin: 20px auto;
        text-align: center;
        margin-top: 100px;
    }

    /* header nav ul {
        display: inline-block;
    } */

    header:after {
        display: none;
    }

    .nav-icon {
        /* background-size: 530px auto; */
        width: 56px;
        height: 56px;
    }

    #search .hot {
        margin: 0 auto;
    }

    #search .hot .left {
        margin-left: 0;
        width: 49%;
        border-right: 1px solid #d5d5d5;
    }

    #search .hot .right {
        margin-right: 0;
        width: 49%;
    }

    form#frm_search {
        clear: both;
        line-height: 28px;
        padding-top: 6px;
    }

    main {
        width: 100%;
    }

    aside {
        width: 100%;
    }
    
    header nav ul,
    #search,
    .bars, .bars2,
    .news,
    .ticker-wrapper-h,
    .swiper, aside .normal,
    .friendsLinks, footer {
        margin-right: 20px;
        margin-left: 20px;
    }

    .news {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: max-content 1fr;
    }

    .news .list {
        border-left: 1px solid #bbb;
        border-top: 0;
    }

    .news .from {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .news .from a {
        padding: 0 10px;
        line-height: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .news .from li:not(.current) {
        border-bottom: 1px solid #bbb;
        border-right: 0;
    }

    .news .from li:not(.current) {
        box-shadow: 0 -2px 0 #e9ebee inset;
    }

    .news .from li:last-child {
        border-right: 1px solid #bbb;
    }

    .news .from li:last-child.current {
        border-bottom: 0;
    }

    .pts_pc {
        display: none;
    }

    .pts_m {
        display: inline-block;
    }

    .swiper .heading {
        margin: 0;
        width: 40px;
        background: linear-gradient(80deg, #04529d 90%, transparent 90.2%);
    }

    .swiper-wrapper {
        margin-left: 50px;
    }
    
    .swiper-slide {
        width: 280px;
        padding: 0;
        padding-left: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .settingBtn {
        margin-bottom: 8px;
    }

}