/* Base styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Navbar styles */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.navbar-inverse {
    background-color: #222;
    border-color: #080808;
}

.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    top: 0;
    border-width: 0 0 1px;
}

.navbar-header {
    float: left;
}

.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    color: #9d9d9d;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #fff;
}

.navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: visible;
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    clear: both;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #f5f5f5;
    border-radius: 1px;
}

/* Form styles */
.form-inline {
    display: inline-block;
    margin: 10px 0;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.float-right {
    float: right;
}

/* Panel styles */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.panel-default {
    border-color: #ddd;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

.panel-body {
    padding: 15px;
}

/* Table styles */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/* Grid system */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.col-md-8, .col-md-4 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-8 {
    width: 66.66666667%;
    float: left;
}

.col-md-4 {
    width: 33.33333333%;
    float: left;
}

/* Link styles */
a {
    color: #337ab7;
    text-decoration: none;
}

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

/* List styles */
.alikeOnesContainer li {
    margin-bottom: 5px;
    list-style: none;
}

.popular-item {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Footer styles */
footer {
    padding: 20px 0;
    text-align: center;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-8, .col-md-4 {
        width: 100%;
        float: none;
    }
    
    .navbar-header {
        float: none;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    
    .navbar-collapse.collapse {
        display: none !important;
    }
    
    .navbar-collapse.in {
        display: block !important;
    }
    
    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* Specific element styles */
caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
}

/* Content specific styles */
h2 {
    font-size: 1.3em;
    margin: 15px 0 10px;
    color: #444;
}

h3 {
    font-size: 1.1em;
    margin: 10px 0;
}

p {
    margin: 0 0 10px;
}

b {
    font-weight: bold;
    color: #d9534f;
}

/* Hide elements with specific IDs (as seen in PHP logic) */
#pinyin, #shiyi1, #shiyi2, #baike, #yinzheng, #chuchu, 
#cygushi, #zaoju, #jielong, #zuci, #jyc, #fyc, #byzi {
    display: none;
}