/* Hallmark · existing Diver layout · editorial reading refinement · brand: UZRA · 2026-12-04 */
/* Critique: shorten Japanese lines, soften dark contrast, let photographs keep their original space. */
/* Scope: existing content, navigation, templates and native scrolling are preserved by request. */
/* Hallmark · answered F3: Japanese essay headings use pretty wrapping to retain natural phrase rhythm. */
:root {
    color-scheme: dark;
    --uzra-ground: #161414;
    --uzra-surface: #211e1e;
    --uzra-raised: #2c2727;
    --uzra-ink: #e5dfd9;
    --uzra-heading: #f5f0ea;
    --uzra-muted: #bfb4ae;
    --uzra-rule: #514743;
    --uzra-accent: #ff9a92;
    --uzra-accent-hover: #ffc2bc;
    --uzra-button-ink: #211415;
    --uzra-clear: transparent;
    --uzra-serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
    --uzra-sans: "Noto Sans JP", sans-serif;
    --uzra-body-size: 1.125rem;
    --uzra-leading: 2.05;
    --uzra-measure: 45rem;
}
html, body { overflow-x: clip; }
html, html body {
    background-color: var(--uzra-ground);
    color: var(--uzra-ink);
}
body #container { background: var(--uzra-clear); color: var(--uzra-ink); }
body :is(.header-wrap, #header ul.sub-menu, #header ul.children, #scrollnav,
    .description_sp, #onlynav, #onlynav ul ul, #nav_fixed.fixed, #nav_fixed #nav ul ul,
    .header_small_menu, #bigfooter, #footer, #footer_sticky_menu, .footermenu_col,
    .drawer-nav, #header_search) {
    background: var(--uzra-ground);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
    box-shadow: none;
}
body :is(.header-wrap, #scrollnav, #onlynav, #nav_fixed, .header_small_menu,
    #bigfooter, #footer, .drawer-nav) a,
body :is(.logo_title, .description, .description_sp) { color: var(--uzra-ink); }
body #scrollnav ul li a { background: var(--uzra-raised); color: var(--uzra-ink); }
body #header #onlynav ul li a,
body #nav_fixed #nav ul li a { color: var(--uzra-ink); }
body #header #onlynav .menu_desc { color: var(--uzra-muted); }
body :is(#onlynav, #nav_fixed, .header-wrap) ul li a:hover {
    background-color: var(--uzra-raised);
    color: var(--uzra-heading);
}
body .header-logo #logo img,
body #nav_fixed .logo img { filter: brightness(0) invert(1); }
body .drawer-nav-btn span { background-color: var(--uzra-ink); }
body .drawer-nav-btn::before, body .drawer-nav-btn::after { border-color: var(--uzra-ink); }
body :is(.header-right, .header_right, .nav_inleft, .nav_in_btn) a {
    background: var(--uzra-ground) !important;
    color: var(--uzra-ink) !important;
    border-color: var(--uzra-rule);
}
body .nav_in_btn li { border-color: var(--uzra-rule); }
body .header_message {
    background: var(--uzra-raised) !important;
    color: var(--uzra-ink);
    border-bottom: 1px solid var(--uzra-rule);
}
body .header_message a { color: var(--uzra-ink); }
body .header_message_badge {
    background: var(--uzra-accent) !important;
    color: var(--uzra-button-ink) !important;
}
body :is(.post-box-contents, .hentry, #single-main .post-sub, .navigation,
    .single_thumbnail, .in_loop, #breadcrumb, .pickup-cat-list, .maintop-widget,
    .mainbottom-widget, #share_plz, .sticky-post-box, .catpage_content_wrap,
    .cat-post-main, #sidebar .widget, .content, .post-meta, .article_footer,
    .post-author, .post-sub, .authorbox, .author-box, .related-post,
    .container_top_widget, .container_bottom_widget) {
    background: var(--uzra-surface);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
    box-shadow: none;
}
body :is(#main-wrap, #sidebar, #bigfooter, #footer) a { color: var(--uzra-ink); }
body :is(#main-wrap, #sidebar, #bigfooter, #footer) a:hover { color: var(--uzra-accent); }
body :is(.post_list_cat, .single-post-category, .post-cat, .cat-name) {
    background: var(--uzra-raised) !important;
    color: var(--uzra-ink) !important;
}
body :is(.post_list_date, .post-date, .single-post-date, .post-meta-bottom,
    .post_list_tag, .post-box-excerpt, .post-box-meta, .post-box-date,
    .post-author-name, #copyright, .menu-item-description) { color: var(--uzra-muted); }
body :is(.widget-title, .widgettitle, .wrap-post-title, .single_title,
    .post-box-title, .post_list_title, .page_title) {
    color: var(--uzra-heading);
    background-color: var(--uzra-clear);
    border-color: var(--uzra-rule);
}
body #main-wrap .widget :is(.wrap-post-title, .widget_post_list),
body #main-wrap :is(.navigation-post__item, .p-entry__tw-follow) {
    background: var(--uzra-surface);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
}
body #main-wrap :is(.post_list_thumb, .post-box-thumbnail__wrap, .post_thumbnail, .tag) {
    background: var(--uzra-raised);
    color: var(--uzra-muted);
    border-color: var(--uzra-rule);
}
body #main-wrap .navigation-post__thumb { background: var(--uzra-raised); color: var(--uzra-ink); }
body #main-wrap .p-entry__tw-follow :is(p, span, .p-entry__tw-follow__cont) { color: var(--uzra-ink); }
body :is(.tag a, .tag_area a, a.page-numbers, .pagination .current, #page-top a) {
    background: var(--uzra-raised);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
}
body .pagination .current { background: var(--uzra-accent); color: var(--uzra-button-ink); }
body #sidebar .tagcloud a,
body #sidebar .tag_cloud a,
body .catpage_tag a,
body .post-tag a {
    background: var(--uzra-raised);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
}
body :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
    background-color: var(--uzra-ground);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
}
body :is(input, textarea)::placeholder { color: var(--uzra-muted); opacity: 1; }
body :is(button, input[type="submit"], .button a, .wp-block-button__link) {
    background-color: var(--uzra-raised);
    color: var(--uzra-ink);
    border-color: var(--uzra-rule);
}
body :is(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--uzra-accent);
    outline-offset: 3px;
    transition: none;
}
body :is(a, button, input[type="submit"]):active { color: var(--uzra-accent-hover); }
body :is(h1, h2, h3, h4) { min-width: 0; overflow-wrap: break-word; }

/* Only article prose changes face; photos and Diver's columns retain their width. */
body #single-main .single-post-title {
    font-family: var(--uzra-serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.65;
    letter-spacing: .015em;
    color: var(--uzra-heading);
    text-wrap: pretty;
}
body #single-main .single-post-main .content {
    font-family: var(--uzra-serif);
    font-size: var(--uzra-body-size);
    font-weight: 400;
    line-height: var(--uzra-leading);
    letter-spacing: .025em;
    font-synthesis: none;
    line-break: strict;
    word-break: normal;
    overflow-wrap: anywhere;
    color: var(--uzra-ink);
}
body #single-main .content :is(p, ul, ol, dl, blockquote, h2, h3, h4, h5, h6, .wp-block-table) {
    max-width: var(--uzra-measure);
    margin-inline: auto;
}
body #single-main .content p {
    margin-block: 0 1.5em;
    line-height: inherit;
    font-size: inherit;
    text-align: start;
}
body #single-main .content :is(ul, ol, dl) { margin-block: 1.5em; line-height: inherit; }
body #single-main .content li { margin-block: .4em; line-height: inherit; }
body #single-main .content :is(h2, h3, h4, h5, h6) {
    font-family: var(--uzra-serif);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: .02em;
    background: var(--uzra-clear);
    color: var(--uzra-heading);
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-block: 2.8em 1em;
    text-wrap: pretty;
    box-shadow: none;
}
body #single-main .content h2 { font-size: 1.5em; padding-top: 1em; border-top: 1px solid var(--uzra-rule); }
body #single-main .content h3 { font-size: 1.25em; }
body #single-main .content :is(h4, h5, h6) { font-size: 1.1em; }
body #single-main .content :is(h2, h3, h4, h5, h6)::before,
body #single-main .content :is(h2, h3, h4, h5, h6)::after { content: none; }
body #single-main .content blockquote {
    box-sizing: border-box;
    margin-block: 2.4em;
    padding: .25em 1.5em;
    border: 0;
    border-left: 2px solid var(--uzra-rule);
    background: var(--uzra-clear);
    color: var(--uzra-muted);
    font-style: normal;
    font-size: 1em;
}
body #single-main .content blockquote::before,
body #single-main .content blockquote::after { content: none; }
body #single-main .content blockquote p:last-child { margin-bottom: 0; }
body #single-main .content :is(blockquote cite, figcaption, .wp-caption-text) {
    font-family: var(--uzra-sans);
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: normal;
    color: var(--uzra-muted);
    text-align: start;
}
body #single-main .content :is(figcaption, .wp-caption-text) { margin-block: .8em 0; padding: 0; }
body #single-main .content :is(.wp-block-image, .wp-caption, .wp-block-gallery) { margin-block: 2.5em; }
body #single-main .content p:has(> a > img),
body #single-main .content p:has(> img) { max-width: none; margin-block: 2.5em; }
body #single-main .content img { height: auto; }
body #single-main .content a:not(.wp-block-button__link) {
    color: var(--uzra-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}
body #single-main .content a:not(.wp-block-button__link):hover { color: var(--uzra-accent-hover); }
body #single-main .content a:has(img) { text-decoration: none; }
body #single-main .content :is(strong, b) { font-weight: 600; }
body #single-main .content hr { border: 0; border-top: 1px solid var(--uzra-rule); margin-block: 3em; }
body #single-main .content :is(table, th, td) { border-color: var(--uzra-rule); color: var(--uzra-ink); }
body #single-main .content th { background: var(--uzra-raised); }
@media (max-width: 768px) {
    :root { --uzra-body-size: 1.0625rem; --uzra-leading: 2; }
    body #single-main .single-post-main .content { letter-spacing: .015em; }
    body #single-main .content :is(p, ul, ol, dl, blockquote, h2, h3, h4, h5, h6, .wp-block-table) {
        max-width: calc(100% - 1.5rem);
    }
    body #single-main .content p:has(> a > img),
    body #single-main .content p:has(> img),
    body #single-main .content blockquote p { max-width: 100%; }
    body #single-main .content p { margin-bottom: 1.35em; }
    body #single-main .single-post-title { font-size: 1.5rem; line-height: 1.65; }
    body #single-main .content h2 { font-size: 1.375em; }
    body #single-main .content blockquote { padding-inline: 1em; }
    body :is(input, textarea, select) { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body #content_area { animation: none; opacity: 1; }
}
