body {
    margin-top: 0;
    margin-bottom: 0;
    color: #ff6b9d;
    font-family: 'Comic Sans MS', 'Segoe UI', tahoma,arial,helvetica,sans-serif;
    background: var(--theme-bg-primary);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* 简化的背景装饰 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

:root {
    --theme-primary: #ff6b9d;
    --theme-secondary: #ffc75f;
    --theme-accent: #66d9ef;
    --theme-highlight: #f9ca24;
    --theme-rgb: 255, 107, 157;
    --theme-light: #ffb3d9;
    --theme-gradient: linear-gradient(135deg, #ff6b9d, #ffc75f);
    --theme-gradient-hover: linear-gradient(135deg, #ffc75f, #ff6b9d);
    --theme-candy-gradient: linear-gradient(45deg, #ff6b9d, #feca57, #48dbfb, #ff9ff3);
    --theme-rainbow-gradient: linear-gradient(90deg, #ff6b9d, #feca57, #48dbfb, #ff9ff3, #ff6b9d);
    --theme-bg-primary: linear-gradient(135deg, #ffeef8, #fff9e6, #e6f7ff);
    --theme-bg-secondary: rgba(255, 255, 255, 0.85);
    --theme-bg-glass: rgba(255, 107, 157, 0.15);
    --theme-bg-glass-hover: rgba(255, 107, 157, 0.25);
    --theme-border-dashed: 2px dashed #ff6b9d;
    --theme-border-dotted: 2px dotted #ffc75f;
    --theme-shadow-cute: 0 3px 10px rgba(255, 107, 157, 0.2);
    --theme-shadow-soft: 0 2px 6px rgba(255, 199, 95, 0.15);
    --theme-filter: unset
}

/* 简化动画效果 - 仅保留必要的悬停反馈 */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

.Chevereto {
    background-color: rgba(255,255,255,.66);
    border-radius: 6px;
    font-size: 11px;
    margin-right: 3px;
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 9pt;
    margin-right: 3px
}

.EasyImage {
    background-color: rgba(255,255,255,.66);
    border-radius: 6px;
    font-size: 11px;
    margin-right: 3px;
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 9pt;
    margin-right: 3px
}

table {
    border-color: transparent!important
}

body.inframe {
    background-image: none;
    background-color: transparent
}

body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #ffeef8, #fff9e6);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    border: 2px dotted #ffc75f;
}

body::-webkit-scrollbar-thumb {
    background: var(--theme-candy-gradient);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    box-shadow: 2px 2px 5px rgba(255, 107, 157, 0.3);
}

body::-webkit-scrollbar-thumb:hover {
    opacity: 0.9;
}

table {
    border-right: medium;
    border-top: medium;
    border-left: medium;
    border-bottom: medium;
    border-collapse: collapse
}

table.head {
    background: 0 0;
    height: 100px;
    width: 920px
}

table.main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 250, 0.85));
    border: var(--theme-border-dashed);
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: var(--theme-shadow-cute);
    position: relative;
    overflow: hidden;
}



textarea,input,select {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 250, 0.8));
    border: 2px dotted #ffc75f;
    border-radius: 15px;
    color: #ff6b9d;
    font-family: 'Comic Sans MS', cursive;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--theme-shadow-soft);
}

textarea:focus,input:focus,select:focus {
    outline: none;
    border: 2px solid #ff6b9d;
    border-style: dashed;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 250, 0.9));
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.3);
    transform: scale(1.02);
}

textarea::placeholder,input::placeholder {
    color: #ffb3d9;
    font-style: italic;
}

#footer {
    color: #a78bfa;
    text-shadow: 1px 10px 3px rgba(99, 102, 241, 0.3)
}

#footer a {
    color: var(--theme-light)
}

#nav {
    background: linear-gradient(135deg, rgba(255, 245, 250, 0.95), rgba(255, 250, 240, 0.9));
    border: 3px dashed #66d9ef;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.15);
    position: relative;
    overflow: hidden;
}

#nav::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b9d, #ffc75f, #66d9ef, #ff6b9d);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.3;
}

#info_block {
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 245, 250, 0.7));
    border: var(--theme-border-dotted);
    border-radius: 18px;
    box-shadow: var(--theme-shadow-soft);
    position: relative;
    overflow: hidden;
}

#info_block::before {
    content: "✨";
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 14px;
    color: #ffc75f;
}

#outer {
    background: linear-gradient(135deg, rgba(255, 245, 250, 0.9), rgba(240, 255, 250, 0.85));
    border: 2px dashed #66d9ef;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(102, 217, 239, 0.15);
    position: relative;
}

#outer::after {
    content: "🌟";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 16px;
    color: #66d9ef;
}


table.mainouter {
    background: linear-gradient(135deg, rgba(255, 245, 250, 0.95), rgba(255, 250, 240, 0.9));
    border: 3px dashed #ffc75f;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
    position: relative;
}

table.mainouter::after {
    content: "♡ ★ ♡";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 16px;
    color: #ff6b9d;
}

table.message {
    border-right: #000 1px solid;
    border-top: #000 1px solid;
    border-left: #000 1px solid;
    border-bottom: #000 1px solid
}

table.bottom {
    background: none transparent scroll repeat 0% 0%
}

a.info {
    z-index: 24;
    color: #000;
    position: relative;
    background-color: #ccc;
    text-decoration: none
}

a.info:hover {
    z-index: 25;
    background-color: #ff0
}

a.info span {
    display: none
}

a.info:hover span {
    border-right: #0cf 1px solid;
    border-top: #0cf 1px solid;
    display: block;
    left: 2em;
    border-left: #0cf 1px solid;
    width: 15em;
    color: #000;
    border-bottom: #0cf 1px solid;
    position: absolute;
    top: 2em;
    background-color: #cff;
    text-align: center
}

table.bottom {
    background: none transparent scroll repeat 0% 0%
}

h1 {
}

h2 {
    margin-bottom: 6px
}

.embedded>h2 {
    border-bottom: 1px solid #93b5cf;
    padding-bottom: 6px;
    margin-right: 10px;
    margin-left: 10px
}

h2.transparentbg {
    background-color: transparent;
    background-image: none
}

p {
}

p.sub {
    margin-bottom: 4pt
}

td {
}

td.embedded {
    border-right: medium;
    padding-right: 0;
    border-top: medium;
    padding-left: 0;
    padding-bottom: 0;
    border-left: medium;
    padding-top: 0;
    border-bottom: medium;
    text-align: left
}

td.no_border {
    border-right: medium;
    padding-right: 2px;
    border-top: medium;
    padding-left: 2px;
    padding-bottom: 3px;
    border-left: medium;
    padding-top: 3px;
    border-bottom: medium;
    background-color: transparent;
    text-align: left
}

td.no_border_wide {
    border-right: medium;
    padding-right: 16px;
    border-top: medium;
    padding-top: 0;
    border-left: medium;
    padding-left: 0;
    border-bottom: medium;
    padding-bottom: 0;
    background-color: transparent;
    text-align: left;
    vertical-align: top
}

td.shoutrow {
    border-right: medium;
    border-top: medium;
    border-left: medium;
    padding-bottom: 2px;
    border-bottom: 1px dotted rgba(#93b5cf)
}

td.bottom {
    border-right: medium;
    border-top: medium;
    border-left: medium;
    border-bottom: medium
}

td.heading {
    font-weight: 700
}

td.text {
    padding-right: 10pt;
    padding-left: 10pt;
    padding-bottom: 10pt;
    padding-top: 10pt
}

td.comment {
    padding-right: 10pt;
    padding-left: 10pt;
    padding-bottom: 10pt;
    padding-top: 10pt;
    text-align: left
}

td.colhead {
    white-space: nowrap;
    font-weight: 700;
    background-color: var(--theme-bg-glass);
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: none !important;
}

.nowrap {
    white-space: nowrap
}

td.rowhead_left {
    text-align: left
}

td.rowhead_center {
    text-align: center
}

td.rowhead {
    font-weight: 700;
    vertical-align: top;
    text-align: right
}

td.rowfollow {
}

td.colfollow {
    text-align: center
}

.torrents a:visited {
    /* 你想要的已访问链接颜色，可以是颜色名称、十六进制颜色码等，替换 #70ada7 比如 red */
    color: #70ada7 !important;
}

table.torrents td.colhead {
    text-align: center;
    animation: none !important;
}

table.torrents>tbody>tr:has(td.colhead),
table.torrents>tbody>tr:first-child {
    animation: none !important;
    transition: none !important;
}

table.torrents td.rowfollow {
    text-align: center
}

td.toolbox {
}

td.title {
}

td.navigation {
    border-right: medium;
    border-top: medium;
    font-weight: 700;
    border-left: medium;
    border-bottom: medium
}

td.clear {
    border-right: 0;
    border-top: 0;
    background: none transparent scroll repeat 0% 0%;
    border-left: 0;
    border-bottom: 0
}

form {
    margin-top: 0;
    margin-bottom: 0
}

.sublink {
    font-weight: 400;
    font-style: italic
}

.torrents>tbody>tr {
    transition: background-color 0.2s ease;
    background-color: transparent
}

.torrents>tbody>tr:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(255, 199, 95, 0.1))!important;
}

.embedded>table {
    margin-bottom: 5px
}

font.gray {
    color: #bb9494;
    text-decoration: underline;
    text-shadow: 1px 1px 2px #fff
}

.attach img {
    border: 0;
    width: 16px;
    height: 16px
}

.attach a:link {
    color: #09c;
    text-decoration: underline
}

.attach .size {
    color: gray
}

a:link {
    color: #ff6b9d;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

a:link::after {
    content: "♡";
    position: absolute;
    top: -8px;
    right: -10px;
    font-size: 10px;
    color: #ffc75f;
    opacity: 0;
    transition: opacity 0.2s ease;
}

a:visited {
    color: #ff6b9d;
    text-decoration: none;
}

a:hover {
    color: #ff1493;
    text-shadow: 0 1px 2px rgba(255, 107, 157, 0.2);
}

a:hover::after {
    opacity: 1;
}

a.index {
    font-weight: 700
}

a.biglink {
    font-weight: 700
}

a.altlink:link {
    font-weight: 700;
    color: var(--theme-light);
    text-decoration: none
}

a.altlink:visited {
    font-weight: 700;
    color: var(--theme-light);
    text-decoration: none
}

a.altlink:hover {
    text-decoration: underline
}

a.altlink_blue:link {
    font-weight: 700;
    color: #004e98;
    text-decoration: none
}

a.altlink_blue:visited {
    font-weight: 700;
    color: #004e98;
    text-decoration: none
}

a.altlink_blue:hover {
    text-decoration: underline
}

a.altlink_green:link {
    font-weight: 700;
    color: #007800;
    text-decoration: none
}

a.altlink_green:visited {
    font-weight: 700;
    color: #007800;
    text-decoration: none
}

a.altlink_green:hover {
    text-decoration: underline
}

.important {
    font-weight: 700
}

.red {
    color: #e00
}

.yellow {
    color: #970
}

.green {
    color: #000
}

#shbox_text {
    margin-right: 10px;
    background: 0 0;
    border: none!important;
    border-bottom: 1px dotted #000!important
}

.embedded table>tbody>tr>td {
     padding-left: 8px; 
     padding-right: 8px;
     padding-top: 8px; /* 上间距为 10px */
     padding-bottom: 8px; /* 下间距为 10px */
}


.btn2 {
    background: var(--theme-candy-gradient);
    border: 3px dashed #ffc75f;
    padding: 16px 24px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--theme-shadow-cute);
    text-align: center;
    min-width: 140px;
    display: inline-block;
    font-family: 'Comic Sans MS', cursive;
    position: relative;
    overflow: hidden;
}

.btn2::before {
    content: "♡";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    color: #ff6b9d;
}

.btn2:hover {
    background: var(--theme-rainbow-gradient);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    border-style: solid;
}

.btn2:active {
    transform: translateY(-1px) scale(1.01);
}

.btn {
    background: var(--theme-candy-gradient);
    border: 3px dashed #ffc75f;
    padding: 16px 24px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--theme-shadow-cute);
    text-align: center;
    min-width: 140px;
    display: inline-block;
    font-family: 'Comic Sans MS', cursive;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "★";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    color: #ffc75f;
}

.btn:hover {
    background: var(--theme-rainbow-gradient);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    border-style: solid;
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    background: linear-gradient(135deg, #ffccdd, #ffddee);
    border: 3px dotted #ffb3d9;
    color: #ff6b9d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(255, 107, 157, 0.2);
}

.btn:disabled::before {
    content: "😴";
}

li {
    margin-top: 6pt;
    margin-bottom: 6pt;
    margin-left: 16pt
}

ul {
    margin-top: 0;
    margin-bottom: 0
}

img {
    border: 0
}

img {
  border-radius: 10px;
}


img:hover {
    filter: brightness(1.1);
    transform: scale(1.0);
}

img.border {
    border-right: #000 1px solid;
    border-top: #000 1px solid;
    border-left: #000 1px solid;
    border-bottom: #000 1px solid
}

.gobutton {
    background: #476ba2;
    color: #fff
}

.codetop {
    padding-right: 3px;
    padding-left: 3px;
    font-weight: 700;
    background: url(./code.gif) #f1b000 no-repeat right 50%;
    padding-bottom: 3px;
    margin: 0 auto;
    color: #000;
    padding-top: 3px
}

.codemain {
    border-right: #000 1px solid;
    padding-right: 3px;
    border-top: #000 1px solid;
    padding-left: 3px;
    background: #fff;
    padding-bottom: 3px;
    margin: 0 auto;
    border-left: #000 1px solid;
    color: #000;
    padding-top: 3px;
    border-bottom: #000 1px solid
}

.dropmenu {
    background: #f2f9fd none repeat scroll 0 0;
    border: 3px solid #a6c9d7;
    margin-top: 3px;
    opacity: .9;
    position: absolute;
    text-align: left
}

.dropmenu ul {
    list-style-type: none;
    white-space: nowrap;
    padding: 10px
}

.dropmenu ul li {
    margin-left: 0;
    margin-right: 0
}

ul.menu {
    list-style-image: none;
    list-style-type: none;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 0;
    margin-top: 1px;
    margin-left: 0;
    padding-top: 3px;
    padding-bottom: 3px
}

ul.menu li {
    display: inline;
    margin-left: 0;
    margin-right: 0
}

ul.menu li a {
    color: #ff6b9d;
    border: 2px dotted #ffc75f;
    text-shadow: 0 1px 3px rgba(255, 107, 157, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 245, 250, 0.6));
    padding: 12px 20px;
    border-radius: 15px;
    margin: 0 6px;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive;
    font-variant: normal;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

ul.menu li a::after {
    content: "✨";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    color: #ffc75f;
    opacity: 0;
    transition: opacity 0.2s ease;
}

ul.menu li a:link {
    color: #ff6b9d;
}

ul.menu li a:visited {
    color: #ff6b9d;
}

ul.menu li a:hover {
    color: #fff;
    background: var(--theme-candy-gradient);
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 157, 0.25);
}

ul.menu li a:hover::after {
    opacity: 1;
}

ul.menu li a:active {
    color: #ff9595
}

ul.menu li.selected a {
    background: var(--theme-rainbow-gradient);
    color: #fff;
    border: 2px solid #ff6b9d;
    box-shadow: 0 4px 8px rgba(255, 107, 157, 0.4);
}

ul.menu li.selected a::before {
    content: "❤️";
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 14px;
}

ul.menu li.selected a:hover {
    text-decoration: none
}

a:hover {
    transform: scale(1.05)
}

a {
    transform: scale(1);
    transition: transform 0.2s ease;
}

/* ========== 下拉菜单 (ddlevelsmenu) 可爱风格覆盖 ========== */

.ddsubmenustyle,
.ddsubmenustyle div {
    font-family: 'Comic Sans MS', 'Segoe UI', cursive !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px dotted #ffc75f !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2), 0 2px 6px rgba(255, 199, 95, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    padding: 6px 0 !important;
    margin-top: -3px !important;
}

.dropmenu {
    margin-top: 0 !important;
}

.ddsubmenustyle ul {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: 0;
    top: 0;
    list-style-type: none !important;
    border: none !important;
}

.ddsubmenustyle ul li {
    margin: 0 !important;
    padding: 3px 6px !important;
}

.ddsubmenustyle li a {
    display: block !important;
    width: auto !important;
    min-width: 140px;
    color: #ff6b9d !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 250, 0.7)) !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(255, 107, 157, 0.15) !important;
    transition: all 0.3s ease !important;
    margin: 2px 4px !important;
    text-align: left !important;
}

.ddsubmenustyle li a:hover {
    background: var(--theme-candy-gradient) !important;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 3px 8px rgba(255, 107, 157, 0.25) !important;
}

.downarrowpointer {
    padding-left: 4px;
    border: 0;
}

.rightarrowpointer {
    position: absolute;
    padding-top: 3px;
    left: 120px;
    border: 0;
}

.listitem {
    margin-left: 10px;
    margin-right: 5px
}

/* ========== 首页三列布局卡片样式 ========== */
.home-col {
    padding: 8px !important;
    vertical-align: top;
}

.home-col > h2 {
    font-size: 15px !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
    border-bottom: 2px dotted rgba(255, 107, 157, 0.3) !important;
}

.home-col .home-module {
    margin-bottom: 10px;
}

.home-col .home-module .btn {
    padding: 4px 12px !important;
    min-width: auto !important;
    font-size: 12px !important;
    border-width: 2px !important;
    border-radius: 15px !important;
}

.home-col .home-module .btn::before {
    display: none !important;
}

.home-col .home-module #funvote {
    font-size: 14px !important;
}

.StaffLeader_Name {
    color: #8b0000
}

a.StaffLeader_Name:link {
    color: #8b0000
}

a.StaffLeader_Name:visited {
    color: #8b0000
}

.SysOp_Name {
    color: sienna
}

a.SysOp_Name:link {
    color: sienna
}

a.SysOp_Name:visited {
    color: sienna
}

.Administrator_Name {
    color: indigo
}

a.Administrator_Name:link {
    color: indigo
}

a.Administrator_Name:visited {
    color: indigo
}

.Moderator_Name {
    color: #6495ed
}

a.Moderator_Name:link {
    color: #6495ed
}

a.Moderator_Name:visited {
    color: #6495ed
}

.ForumModerator_Name {
    color: #1cc6d5
}

a.ForumModerator_Name:link {
    color: #1cc6d5
}

a.ForumModerator_Name:visited {
    color: #1cc6d5
}

.Retiree_Name {
    color: #1cc6d5
}

a.Retiree_Name:link {
    color: #1cc6d5
}

a.Retiree_Name:visited {
    color: #1cc6d5
}

.Uploader_Name {
    color: #dc143c
}

a.Uploader_Name:link {
    color: #dc143c
}

a.Uploader_Name:visited {
    color: #dc143c
}

.VIP_Name {
    color: #009f00
}

a.VIP_Name:link {
    color: #009f00
}

a.VIP_Name:visited {
    color: #009f00
}

.NexusMaster_Name {
    color: #38acec
}

a.NexusMaster_Name:link {
    color: #38acec
}

a.NexusMaster_Name:visited {
    color: #38acec
}

.UltimateUser_Name {
    color: #006400
}

a.UltimateUser_Name:link {
    color: #006400
}

a.UltimateUser_Name:visited {
    color: #006400
}

.ExtremeUser_Name {
    color: #ff8c00
}

a.ExtremeUser_Name:link {
    color: #ff8c00
}

a.ExtremeUser_Name:visited {
    color: #ff8c00
}

.VeteranUser_Name {
    color: #483d8b
}

a.VeteranUser_Name:link {
    color: #483d8b
}

a.VeteranUser_Name:visited {
    color: #483d8b
}

.InsaneUser_Name {
    color: #8b008b
}

a.InsaneUser_Name:link {
    color: #8b008b
}

a.InsaneUser_Name:visited {
    color: #8b008b
}

.CrazyUser_Name {
    color: #00bfff
}

a.CrazyUser_Name:link {
    color: #00bfff
}

a.CrazyUser_Name:visited {
    color: #00bfff
}

.EliteUser_Name {
    color: #008b8b
}

a.EliteUser_Name:link {
    color: #008b8b
}

a.EliteUser_Name:visited {
    color: #008b8b
}

.PowerUser_Name {
    color: #daa520
}

a.PowerUser_Name:link {
    color: #daa520
}

a.PowerUser_Name:visited {
    color: #daa520
}

.User_Name {
    color: #999
}

a.User_Name:link {
    color: #999
}

a.User_Name:visited {
    color: #999
}

.Peasant_Name {
    color: #708090
}

a.Peasant_Name:link {
    color: #708090
}

a.Peasant_Name:visited {
    color: #708090
}

.color_bonus {
    color: #ff5d66
}

.color_invite {
    color: #ff5d66
}

.color_slots {
    color: #ff5d66
}

.color_downloaded {
    color: #ff5d66
}

.color_uploaded {
    color: #ff5d66
}

.color_ratio {
    color: #ff5d66
}

.color_active {
    color: #ff5d66
}

.color_connectable {
    color: #ff5d66
}

.logo {
    color: #e6e6e6;
    font-family: tahoma,arial,helvetica,sans-serif
}

.slogan {
    color: #cbd5e1;
    font-family: tahoma,arial,helvetica,sans-serif
}

.free {
    background-color: #f0cc00;
    color: #f5f5f5
}

.twoup {
    background-color: #d2b8b8;
    color: #f5f5f5
}

.twoupfree {
    background-color: #9c6;
    color: #f5f5f5
}

.halfdown {
    background-color: #7c7ff6;
    color: #f5f5f5
}

.twouphalfdown {
    background-color: #7ad6ea;
    color: #f5f5f5
}

.thirtypercent {
    background-color: #70328d;
    color: #f5f5f5
}

.free_bg {
    background-color: #ff9
}

.twoup_bg {
    background-color: #ffecec
}

.twoupfree_bg {
    background-color: #cf9
}

.halfdown_bg {
    background-color: #cccdf8
}

.twouphalfdown_bg {
    background-color: #96dbea
}

.thirtypercentdown_bg {
    background-color: #ddc3ea
}

.hot {
    color: #e78d0f
}

.classic {
    color: #77b300
}

.recommended {
    color: #820084
}

.new {
    color: red
}

.striking {
    color: red
}

/* 搜索箱左侧板块紧凑布局 */
table.searchbox tbody#ksearchboxmain tr td.rowfollow:first-child table tbody tr td {
    padding-bottom: 1px !important;
    padding-top: 1px !important;
}

table.searchbox tbody#ksearchboxmain tr td.rowfollow:first-child table tbody tr td.embedded {
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}

table.searchbox tbody#ksearchboxmain tr td.rowfollow table tbody tr td input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0 2px 0 0;
    cursor: pointer;
}

table.searchbox tbody#ksearchboxmain tr td.rowfollow table tbody tr td label {
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

table.searchbox tbody#ksearchboxmain tr td.rowfollow table tbody tr td label:hover {
    background-color: rgba(255, 107, 157, 0.1);
}

/* 搜索箱全选/全不选按钮样式 - 缩小按钮，放大文字 */
table.searchbox input[type="button"].btn,
table.searchbox input[type="button"][name*="_check"] {
    background: var(--theme-candy-gradient);
    border: 1px dashed #ffc75f;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(255, 107, 157, 0.2);
    text-align: center;
    min-width: auto;
    display: inline-block;
    font-family: 'Comic Sans MS', cursive;
    white-space: nowrap;
    line-height: 1.2;
}

table.searchbox input[type="button"].btn:hover,
table.searchbox input[type="button"][name*="_check"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 157, 0.25);
}

table.searchbox input[type="button"].btn:active,
table.searchbox input[type="button"][name*="_check"]:active {
    transform: translateY(0);
}

/* 搜索箱提交按钮（给我搜）样式 */
table.searchbox input[type="submit"].btn {
    background: var(--theme-candy-gradient);
    border: 2px dashed #ffc75f;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.2);
    text-align: center;
    min-width: auto;
    display: inline-block;
    font-family: 'Comic Sans MS', cursive;
    line-height: 1.4;
    vertical-align: middle;
}

table.searchbox input[type="submit"].btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 157, 0.25);
}

/* 搜索箱标签筛选样式 - 与制作组一致 */
table.searchbox label input[name^="tags["] {
    width: 14px;
    height: 14px;
    margin: 0 4px 0 0;
    cursor: pointer;
    accent-color: #ff6b9d;
    vertical-align: middle;
}

table.searchbox label:has(input[name^="tags["]) {
    cursor: pointer;
    font-size: 12px;
    color: #ff6b9d;
    white-space: nowrap;
}

table.searchbox label:has(input[name^="tags["]:checked) {
    font-weight: 700;
    color: #ff4080;
}

/* 种子列表三行标题样式 */
.torrent-title-line1 {
    line-height: 1.4;
    margin-bottom: 2px;
}

/* 副标题单行显示，超出省略号 */
.torrent-subtitle {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.3;
    margin-bottom: 2px;
    color: #666;
    font-size: 12px;
    display: block !important;
    box-sizing: border-box;
}

/* 确保种子名称表格不会撑开 */
table.torrentname {
    table-layout: fixed !important;
    width: 100% !important;
}

table.torrentname td {
    overflow: hidden !important;
}

table.torrentname td.embedded {
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word;
}

/* 种子列表行宽度限制 */
table.torrents td.rowfollow {
    overflow: hidden;
}

/* 类型列宽度 */
table.torrents td.rowfollow:first-child {
    width: 1%;
    white-space: nowrap;
    min-width: 60px;
}

.torrent-title-line3 {
    line-height: 1.4;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.torrent-title-line3 .torrent-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.torrent-title-line3 .torrent-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.torrent-title-line3 .torrent-meta .rating-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.torrent-title-line3 .torrent-meta .rating a {
    color: #ff6b9d;
    text-decoration: none;
}

.torrent-title-line3 .torrent-meta .rating a:hover {
    text-decoration: underline;
}

.torrent-title-line3 .torrent-meta .torrent-tags {
    display: inline-flex;
    align-items: center;
}

.torrent-title-line3 .torrent-meta .uploader {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.torrent-title-line3 .torrent-meta .uploader a {
    text-decoration: none;
}

.torrent-title-line3 .torrent-meta .uploader a:hover {
    text-decoration: underline;
}

/* 操作列按钮并排显示 */
table.torrents td.rowfollow a {
    display: inline-block;
    margin: 0 3px;
    vertical-align: middle;
}

/* 操作列图标样式 */
table.torrents td.rowfollow img {
    vertical-align: middle;
}

/* 首页最近消息主题标题4号字 */
table.latest-forum-posts td a.latest-topic-title,
table.latest-forum-posts a.latest-topic-title {
    font-size: 14px !important;
}

table.latest-forum-posts td a.latest-topic-title b {
    font-size: 14px !important;
}
