/* rip.so :: shared graveyard stylesheet */

body {
    background-color: #000000;
    color: #00FF00;
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 20px;
    background-image: linear-gradient(180deg, #000000 0%, #0a0014 100%);
}

a:link { color: #FF6600; text-decoration: underline; }
a:visited { color: #FF00FF; text-decoration: underline; }
a:hover { color: #FFFF00; background: #330000; text-decoration: none; }

h1, h2, h3 { color: #FFFFFF; font-family: "Times New Roman", Times, serif; }

hr { border: 0; border-top: 2px ridge #00FFFF; margin: 20px 0; }

.center { text-align: center; }

.blink { }
@media (prefers-reduced-motion: reduce) {
    marquee { -webkit-marquee-play-count: 0; }
}

marquee {
    color: #FF00FF;
    font-weight: bold;
    font-size: 16px;
}

table.tomb {
    margin: 20px auto;
    border: 3px ridge #888888;
    background: #0a0a0a;
    border-collapse: separate;
    border-spacing: 4px;
    width: 100%;
    max-width: 900px;
}

table.tomb td {
    padding: 12px 16px;
    border: 1px solid #333333;
    background: #1a1a1a;
    vertical-align: top;
    font-size: 13px;
    color: #cccccc;
    line-height: 1.5;
}

table.tomb td.tomb-icon {
    background: #2a2a2a;
    text-align: center;
    color: #888888;
    font-family: "Times New Roman", serif;
    font-size: 11px;
    width: 90px;
}

table.tomb td b { color: #FFFFFF; }

table.tomb a.tomb-link {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px dotted #888;
}

table.tomb a.tomb-link:hover {
    color: #FFFF00;
    background: #330000;
    border-bottom-color: #FFFF00;
}

.epitaph {
    color: #888888;
    font-style: italic;
    font-size: 12px;
}

.counter {
    background: #000;
    color: #FF0000;
    border: 2px inset #888;
    padding: 4px 10px;
    font-family: "Courier New", monospace;
    display: inline-block;
}

pre.banner {
    color: #00FFFF;
    text-align: left;
    font-size: 12px;
    line-height: 1.1;
    margin: 0 auto;
    display: inline-block;
}

.section-title {
    color: #FFFF00;
    font-size: 20px;
    border-bottom: 1px dashed #555;
    padding-bottom: 4px;
    margin-top: 40px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.guestbook {
    background: #0d0019;
    border: 2px ridge #444;
    padding: 12px;
    font-size: 12px;
    max-width: 900px;
    margin: 20px auto;
}

.under-construction {
    background: #FFFF00;
    color: #000000;
    padding: 4px 8px;
    font-weight: bold;
    border: 2px outset #FFAA00;
    display: inline-block;
}

.tomb-icon-art {
    color: #666666;
    font-family: monospace;
    line-height: 1.0;
    font-size: 11px;
}

.intro {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Memorial detail page styles === */
.memorial {
    max-width: 760px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.7;
    font-size: 14px;
}

.memorial .grave-logo-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.memorial .grave-logo {
    display: inline-block;
    max-height: 120px;
    max-width: 240px;
    opacity: 0.85;
    filter: grayscale(40%);
}

.memorial h1 {
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-align: center;
}

.memorial .years {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.memorial .verdict {
    text-align: center;
    font-style: italic;
    color: #FFFF00;
    font-size: 16px;
    border: 1px dashed #444;
    padding: 12px 20px;
    margin: 30px auto;
    max-width: 600px;
    background: #1a1a0d;
}

.memorial h2 {
    color: #00FFFF;
    font-size: 22px;
    border-bottom: 1px dashed #444;
    padding-bottom: 4px;
    margin-top: 40px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.memorial p { margin-bottom: 16px; }

.memorial blockquote {
    border-left: 3px solid #FF6600;
    padding-left: 16px;
    color: #aaaaaa;
    font-style: italic;
    margin: 20px 0;
}

.memorial .stat-table {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #333;
    background: #0d0d0d;
    border-collapse: collapse;
    font-size: 13px;
}

.memorial .stat-table th, .memorial .stat-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #222;
    text-align: left;
}

.memorial .stat-table th {
    color: #FF6600;
    width: 35%;
    background: #1a1a1a;
}

.memorial .stat-table td { color: #cccccc; }

.memorial .related {
    margin-top: 50px;
    padding: 16px;
    border: 1px dashed #444;
    background: #0d0d0d;
    font-size: 13px;
}

.memorial .related b { color: #FFFF00; }

.memorial .nav-back {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 13px;
}

.site-header {
    text-align: center;
    border-bottom: 1px ridge #00FFFF;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.site-header a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.site-header a:hover {
    color: #FFFF00;
    background: transparent;
}

.site-header .tagline {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 4px;
}

.site-footer {
    text-align: center;
    font-size: 12px;
    color: #888888;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* "On this day" homepage block */
.today-block {
    max-width: 900px;
    margin: 20px auto;
    padding: 14px 20px;
    background: #0e0e0e;
    border: 1px dashed #5a5a55;
    color: #cccac0;
    font-size: 13px;
    line-height: 1.5;
}
.today-block b { color: #ffeeaa; letter-spacing: 1px; }
.today-block ul { margin: 8px 0; padding-left: 20px; }
.today-block li { margin: 4px 0; }
.today-block a { color: #ffd57f; }
.today-block i { color: #999; }

/* anniversaries archive */
.anniv-list { list-style: none; padding-left: 0; max-width: 900px; margin: 0 auto 24px; }
.anniv-list li { margin: 4px 0; padding: 4px 8px; border-bottom: 1px dotted #333; font-size: 13px; }
.anniv-date { display: inline-block; min-width: 130px; color: #888; font-family: monospace; }
.anniv-list a { color: #ffd57f; }
.anniv-list i { color: #888; }

/* comments section (Remark42) */
.comments-section {
    max-width: 900px;
    margin: 32px auto 16px;
    padding: 18px 22px 24px;
    background: #0e0e0e;
    border: 1px dashed #5a5a55;
}
.comments-section h2 {
    color: #ffeeaa;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    margin: 0 0 6px;
}
.comments-note {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin-bottom: 16px;
    font-style: italic;
}
#remark42 { color-scheme: dark; }

/* ---- mobile ---- */
@media (max-width: 720px) {
    body { padding: 10px; font-size: 16px; }
    pre.banner { font-size: 7px; line-height: 1.05; }
    marquee { font-size: 14px; }
    h1, h2, h3 { line-height: 1.25; }
    .section-title { font-size: 22px; }
    table.tomb { width: 100%; border-spacing: 2px; }
    table.tomb td { font-size: 15px; padding: 10px 12px; line-height: 1.55; }
    table.tomb td.tomb-icon { font-size: 11px; width: 70px; padding: 6px 4px; }
    .tomb-icon-art { font-size: 9px; }
    .epitaph { font-size: 14px; }
    .memorial { font-size: 16px; line-height: 1.65; }
    .memorial h1 { font-size: 36px; }
    .memorial h2 { font-size: 20px; }
    .memorial .years { font-size: 15px; }
    .memorial .verdict { font-size: 17px; padding: 12px 14px; }
    .memorial .stat-table { font-size: 14px; }
    .memorial .stat-table th, .memorial .stat-table td { padding: 6px 8px; }
    .memorial blockquote { font-size: 15px; padding: 10px 14px; }
    .memorial .grave-logo { max-height: 96px; max-width: 200px; }
    .guestbook { font-size: 14px; }
    .today-block, .related, .nav-back { font-size: 15px; }
}
