/* Terry's Comics - Clean Mobile Layout with tvto1011.css Wallpaper */
* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    line-height: 1.45;
    text-align: center;
    font-family: "Arial Rounded MT Bold", Arial, Helvetica, sans-serif;
    color: #ffffff;
}

.toon-shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 16px 28px;
}

/* Upper-left SiteLock badge */
.top-utility-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.top-utility-bar img.sitelock-badge {
    max-height: 40px;
    width: auto;
    display: block;
    border-radius: 6px;
}

/* Top navigation buttons: no outer box, border, or background around the button images */
.legacy-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.legacy-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.legacy-nav a:hover {
    background: transparent !important;
    border: none !important;
    transform: scale(1.03);
}

.legacy-nav a img {
    height: 44px;
    width: auto;
    max-width: 130px;
    display: block;
    border: none !important;
    background: transparent !important;
}

/* Status & social bar */
.toon-panel-blue {
    border: 2px solid rgb(51, 51, 153);
    border-radius: 8px;
    padding: 12px 14px;
    background: rgba(0, 102, 153, 0.55);
    margin-bottom: 16px;
}

.status-social-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.update-badge {
    color: rgb(255, 204, 0);
    font-size: 1.05rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid rgb(51, 51, 153);
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover {
    background: rgb(204, 255, 102);
}

.social-links .fa {
    font-size: 1.55rem;
    line-height: 1;
}

.social-links .icon-insta {
    color: #d6249f;
}

.social-links .icon-fb {
    color: #1877f2;
}

.social-links .icon-x {
    filter: invert(1);
}

.social-links .icon-yt {
    color: #ff0000;
}

.social-links .whatnot-img {
    height: 22px;
    width: auto;
    max-width: 30px;
    display: block;
}

/* Hero Logo */
.hero-logo-wrap {
    margin: 12px 0 16px;
}

.hero-logo-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 2px solid rgb(51, 51, 153);
    border-radius: 8px;
}

/* Comic Cover Showcase Grid */
.comic-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width: 600px) {
    .comic-showcase {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 820px) {
    .comic-showcase {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.cgc-card,
.comic-card {
    border: 2px solid rgb(51, 51, 153);
    border-radius: 8px;
    padding: 8px 6px;
    background: rgba(0, 102, 153, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cgc-label {
    color: rgb(255, 204, 0);
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 6px;
    font-weight: bold;
}

.cgc-card img.logo {
    max-height: 44px;
    width: auto;
    max-width: 100%;
    border-radius: 4px;
}

.comic-card img {
    width: 100%;
    max-width: 112px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Main TV Cartoon Box (Clean tvtoons colors, high-contrast text) */
.tv-toon-box {
    border: 3px solid rgb(0, 153, 204);
    border-radius: 14px;
    padding: 18px 14px;
    margin-bottom: 16px;
    background-color: rgba(12, 34, 96, 0.88);
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 153, 204, 0.08) 0px,
        rgba(0, 153, 204, 0.08) 2px,
        transparent 2px,
        transparent 6px
    );
}

.tv-channel-tag {
    display: inline-block;
    background: rgb(51, 51, 153);
    color: rgb(204, 255, 102);
    border: 1.5px solid rgb(0, 153, 204);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.welcome-header-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
}

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

.welcome-banner h1 {
    margin: 4px 0;
    letter-spacing: 1px;
    font-size: clamp(20pt, 6vw, 28pt);
    color: rgb(255, 204, 0);
    text-align: center;
}

.auction-alert {
    display: block;
    text-decoration: none !important;
    margin: 10px auto;
}

.auction-alert h2 {
    margin: 4px 0;
    font-size: clamp(14pt, 4.5vw, 18pt);
    color: #ffff00;
    font-weight: bold;
    text-align: center;
}

.auction-alert:hover h2 {
    color: rgb(204, 255, 102);
}

/* Primary lime-green button matching Codes5 .btn */
.new-inventory-link {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
    margin: 8px 4px;
}

.new-inventory-link:hover {
    background: rgb(255, 204, 0);
    color: #000000 !important;
}

.sub-note {
    font-size: 1rem;
    line-height: 1.45;
    margin: 10px auto;
    max-width: 680px;
    color: #ffffff;
    font-weight: bold;
}

.schedule-pill {
    margin: 10px 0 6px;
}

.schedule-pill a {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
}

.schedule-pill a:hover {
    background: rgb(255, 204, 0);
}

.adobe-note {
    color: rgb(255, 204, 0);
    font-size: 0.95rem;
    font-weight: bold;
    margin-top: 8px;
}

/* Content Cards matching Codes5 .code cards */
.toon-panel {
    border: 2px solid rgb(51, 51, 153);
    border-radius: 8px;
    padding: 14px;
    background: rgba(0, 102, 153, 0.55);
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-card {
    margin-bottom: 14px;
}

.feature-card.last-feature {
    margin-bottom: 0;
}

.feature-card .store-label {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(255, 204, 0);
    margin-bottom: 6px;
}

.feature-card a {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
    margin: 4px;
}

.feature-card a:hover {
    background: rgb(255, 204, 0);
}

.info-links-box {
    line-height: 1.8;
    font-size: 1rem;
    font-weight: bold;
}

.info-links-box strong {
    color: rgb(255, 204, 0);
}

.info-links-box a {
    color: #ffff00;
    text-decoration: underline;
    padding: 2px 4px;
    display: inline-block;
}

.info-links-box a:hover {
    color: rgb(204, 255, 102);
}

.ebay-btn {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
    margin-top: 10px;
}

.ebay-btn:hover {
    background: rgb(255, 204, 0);
    color: #000000 !important;
}

/* Inventory Grids */
.general-inv-header {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.general-inv-header:hover {
    background: rgb(255, 204, 0);
}

.alpha-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 700px) {
    .alpha-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.alpha-grid a {
    display: block;
    border: 2px solid rgb(51, 51, 153);
    border-radius: 8px;
    padding: 10px 6px;
    background: rgba(0, 102, 153, 0.75);
    color: rgb(255, 204, 0);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
}

.alpha-grid a:hover {
    background: rgb(204, 255, 102);
    color: #000000;
}

.category-inv-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.category-inv-bar span {
    color: rgb(255, 204, 0);
}

.category-inv-bar a {
    display: inline-block;
    background: rgb(204, 255, 102);
    border: 2px solid rgb(0, 153, 204);
    color: #000000 !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none !important;
}

.category-inv-bar a:hover {
    background: rgb(255, 204, 0);
}

/* Contact Footer matching Codes5 */
.contact-card {
    margin-top: 16px;
}

.contact-email {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 6px;
    word-break: break-word;
    color: #ffff00;
}

.contact-card address {
    font-size: 1rem;
    font-weight: bold;
    font-style: normal;
    color: #ffffff;
    margin: 2px 0;
}

.address-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}
