@charset "UTF-8";

/* =========================================
   JE6HUB Design System (jh-theme)
   ========================================= */

:root {
    /* Typography — システムフォント優先のフォントスタック。
       SF Pro はライセンス上ウェブフォントとして配布できないため埋め込まず、
       Apple 端末では OS 標準の SF Pro / ヒラギノ (= SF Pro JP の和文) がそのまま使われる。
       見出し (20px 以上) は Display、本文は Text の光学サイズを使う。 */
    --jh-font-text: "SF Pro JP", "SF Pro Text", "SF Pro Icons", -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Helvetica Neue", Helvetica, Arial,
        "メイリオ", Meiryo, sans-serif;
    --jh-font-display: "SF Pro JP", "SF Pro Display", "SF Pro Icons", -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Helvetica Neue", Helvetica, Arial,
        "メイリオ", Meiryo, sans-serif;
    --jh-font-serif: "New York", ui-serif, "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
    --jh-font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

    /* MDB (Bootstrap) の Roboto 指定を上書き */
    --mdb-body-font-family: var(--jh-font-text);
    --mdb-btn-font-family: var(--jh-font-text);
    --mdb-font-roboto: var(--jh-font-text);
    --mdb-font-monospace: var(--jh-font-mono);

    /* Colors — カラースキーム「ミッドナイト」(既定)。
       ほかのスキームは下の html[data-jh-scheme="..."] で同じ変数を上書きする。
       どのスキームも暗い背景なので、白の半透明 (rgba(255, 255, 255, x)) の線や面はそのまま使える。
       スキームを足すときは accounts/color_schemes.py にも追加する。 */
    --jh-bg: #000000;
    --jh-bg-rgb: 0, 0, 0; /* rgba(var(--jh-bg-rgb), x): 背景へ溶かすグラデーション用 */
    --jh-surface-sunken: #0b0b0c;
    --jh-surface: #111113;
    --jh-card-bg: #1c1c1e; /* 枠線なしカード用: 背景から面の明度差で浮かせる */
    --jh-card-hover: #242426;
    --jh-card-bg-2: #2c2c2e;
    --jh-card-bg-3: #3a3a3c;
    --jh-line: #424245;
    --jh-line-strong: #48484a;
    --jh-text: #f5f5f7;
    --jh-text-rgb: 245, 245, 247;
    --jh-text-body: #e8e8ed; /* 記事本文など長い文章の文字 */
    --jh-text-muted: #86868b;
    --jh-fg-rgb: 255, 255, 255; /* rgba(var(--jh-fg-rgb), x): 背景に重ねる薄い線や面 (ダークでは白、ライトでは黒) */
    --jh-card-border: rgba(var(--jh-fg-rgb), 0.1);
    --jh-accent: #2997ff; /* アクセント (リンク / ダーク背景) */
    --jh-accent-rgb: 41, 151, 255;
    --jh-button: #0071e3; /* ボタン */
    --jh-button-hover: #0077ed;
    --jh-glass-rgb: 28, 28, 30; /* rgba(var(--jh-glass-rgb), x): 半透明のパネル */
    --jh-nav-bg: rgba(var(--jh-bg-rgb), 0.72);
    --jh-glass: rgba(var(--jh-glass-rgb), 0.6);
    --jh-glass-border: rgba(var(--jh-fg-rgb), 0.15);
    /* 固定の明るい色 (記事のアクセント、緑やオレンジのバッジなど) を文字に使うときに混ぜる黒の割合。
       color-mix(in srgb, <色>, #000 var(--jh-accent-shade)) で使う。ダークでは 0% (元の色のまま) */
    --jh-accent-shade: 0%;
    --jh-on-tint: #fff; /* 淡い色の面 (頭文字のアバターなど) に載せる文字色 */
    /* 文字やアイコンに使う固定の色 (エラー・注意・成功など)。ライトでは --jh-accent-shade の分だけ暗くなる */
    --jh-red: color-mix(in srgb, #ff453a, #000 var(--jh-accent-shade));
    --jh-orange: color-mix(in srgb, #ff9f0a, #000 var(--jh-accent-shade));
    --jh-green: color-mix(in srgb, #30d158, #000 var(--jh-accent-shade));
    --jh-purple: color-mix(in srgb, #bf5af2, #000 var(--jh-accent-shade));
    --jh-pink: color-mix(in srgb, #ff375f, #000 var(--jh-accent-shade));
    color-scheme: dark; /* スクロールバーやフォーム部品もスキームに合わせる */
}

/* =========================================
   Color schemes (設定 → カラースキーム)
   ダーク: midnight (既定) / ocean / forest / ember / sakura / amethyst
   ライト: daylight / sky / mint / sand / blossom / lavender
   ========================================= */
html[data-jh-scheme="ocean"] {
    --jh-bg: #03101d;
    --jh-bg-rgb: 3, 16, 29;
    --jh-surface-sunken: #061423;
    --jh-surface: #0a1a2c;
    --jh-card-bg: #102338;
    --jh-card-hover: #162b43;
    --jh-card-bg-2: #1b3250;
    --jh-card-bg-3: #26405f;
    --jh-line: #2f4a69;
    --jh-line-strong: #3a5677;
    --jh-text-muted: #8a9bb0;
    --jh-accent: #4cc2ff;
    --jh-accent-rgb: 76, 194, 255;
    --jh-button: #0a7fd0;
    --jh-button-hover: #168ddf;
    --jh-glass-rgb: 16, 35, 56;
}
html[data-jh-scheme="forest"] {
    --jh-bg: #050f0a;
    --jh-bg-rgb: 5, 15, 10;
    --jh-surface-sunken: #08140d;
    --jh-surface: #0c1a12;
    --jh-card-bg: #13241a;
    --jh-card-hover: #182c20;
    --jh-card-bg-2: #1e3527;
    --jh-card-bg-3: #294433;
    --jh-line: #314d3b;
    --jh-line-strong: #3a5a45;
    --jh-text-muted: #87a090;
    --jh-accent: #4fd18b;
    --jh-accent-rgb: 79, 209, 139;
    --jh-button: #188a50;
    --jh-button-hover: #1f995a;
    --jh-glass-rgb: 19, 36, 26;
}
html[data-jh-scheme="ember"] {
    --jh-bg: #120a06;
    --jh-bg-rgb: 18, 10, 6;
    --jh-surface-sunken: #170d08;
    --jh-surface: #1d120c;
    --jh-card-bg: #271912;
    --jh-card-hover: #2f1f17;
    --jh-card-bg-2: #38261c;
    --jh-card-bg-3: #483226;
    --jh-line: #523a2c;
    --jh-line-strong: #5e4434;
    --jh-text-muted: #a8968a;
    --jh-accent: #ff9f5a;
    --jh-accent-rgb: 255, 159, 90;
    --jh-button: #cc5512;
    --jh-button-hover: #db611c;
    --jh-glass-rgb: 39, 25, 18;
}
html[data-jh-scheme="sakura"] {
    --jh-bg: #12070d;
    --jh-bg-rgb: 18, 7, 13;
    --jh-surface-sunken: #170a11;
    --jh-surface: #1e0e17;
    --jh-card-bg: #28141f;
    --jh-card-hover: #301a26;
    --jh-card-bg-2: #3a202e;
    --jh-card-bg-3: #4a2b3c;
    --jh-line: #553245;
    --jh-line-strong: #613a50;
    --jh-text-muted: #ad91a0;
    --jh-accent: #ff85b8;
    --jh-accent-rgb: 255, 133, 184;
    --jh-button: #c93673;
    --jh-button-hover: #d84481;
    --jh-glass-rgb: 40, 20, 31;
}
html[data-jh-scheme="amethyst"] {
    --jh-bg: #0a0718;
    --jh-bg-rgb: 10, 7, 24;
    --jh-surface-sunken: #0e0a1f;
    --jh-surface: #130f28;
    --jh-card-bg: #1b1634;
    --jh-card-hover: #221c3f;
    --jh-card-bg-2: #2a2349;
    --jh-card-bg-3: #362e5b;
    --jh-line: #3e3566;
    --jh-line-strong: #483e74;
    --jh-text-muted: #9590b0;
    --jh-accent: #a58bff;
    --jh-accent-rgb: 165, 139, 255;
    --jh-button: #6a46e0;
    --jh-button-hover: #7754ec;
    --jh-glass-rgb: 27, 22, 52;
}

/* ライトの共通部分: 白いカードと濃い文字。写真や地図の上の文字は白のまま (各 CSS で変数を使っていない) */
html:is([data-jh-scheme="daylight"], [data-jh-scheme="sky"], [data-jh-scheme="mint"],
        [data-jh-scheme="sand"], [data-jh-scheme="blossom"], [data-jh-scheme="lavender"]) {
    color-scheme: light;
    --jh-card-bg: #ffffff;
    --jh-fg-rgb: 0, 0, 0;
    --jh-glass-rgb: 255, 255, 255;
    --jh-nav-bg: rgba(var(--jh-bg-rgb), 0.78);
    --jh-accent-shade: 45%; /* 明るい背景でも読めるよう、固定の明るい色を暗くする */
    --jh-on-tint: var(--jh-text);
}
html[data-jh-scheme="daylight"] {
    --jh-bg: #f5f5f7;
    --jh-bg-rgb: 245, 245, 247;
    --jh-surface-sunken: #e8e8ed;
    --jh-surface: #efeff2;
    --jh-card-hover: #f2f2f5;
    --jh-card-bg-2: #e8e8ed;
    --jh-card-bg-3: #dcdce1;
    --jh-line: #d2d2d7;
    --jh-line-strong: #c7c7cc;
    --jh-text: #1d1d1f;
    --jh-text-rgb: 29, 29, 31;
    --jh-text-body: #333336;
    --jh-text-muted: #6e6e73;
    --jh-accent: #0066cc;
    --jh-accent-rgb: 0, 102, 204;
    --jh-button: #0071e3;
    --jh-button-hover: #0077ed;
}
html[data-jh-scheme="sky"] {
    --jh-bg: #eef5fb;
    --jh-bg-rgb: 238, 245, 251;
    --jh-surface-sunken: #dfeaf5;
    --jh-surface: #e8f1f9;
    --jh-card-hover: #f1f7fc;
    --jh-card-bg-2: #e1ecf6;
    --jh-card-bg-3: #d3e2f0;
    --jh-line: #c3d5e6;
    --jh-line-strong: #b5cadf;
    --jh-text: #0d1b2a;
    --jh-text-rgb: 13, 27, 42;
    --jh-text-body: #22344a;
    --jh-text-muted: #5b6b7d;
    --jh-accent: #0070b8;
    --jh-accent-rgb: 0, 112, 184;
    --jh-button: #0a7fd0;
    --jh-button-hover: #168ddf;
}
html[data-jh-scheme="mint"] {
    --jh-bg: #eff7f2;
    --jh-bg-rgb: 239, 247, 242;
    --jh-surface-sunken: #deede4;
    --jh-surface: #e8f3ec;
    --jh-card-hover: #f2f9f4;
    --jh-card-bg-2: #e1efe6;
    --jh-card-bg-3: #d2e6d9;
    --jh-line: #c2dacb;
    --jh-line-strong: #b3cebd;
    --jh-text: #0f2418;
    --jh-text-rgb: 15, 36, 24;
    --jh-text-body: #23392c;
    --jh-text-muted: #5a6f62;
    --jh-accent: #12804a;
    --jh-accent-rgb: 18, 128, 74;
    --jh-button: #188a50;
    --jh-button-hover: #1f995a;
}
html[data-jh-scheme="sand"] {
    --jh-bg: #faf4ee;
    --jh-bg-rgb: 250, 244, 238;
    --jh-surface-sunken: #f0e3d6;
    --jh-surface: #f6ede4;
    --jh-card-hover: #fbf6f1;
    --jh-card-bg-2: #f2e6da;
    --jh-card-bg-3: #e9d8c8;
    --jh-line: #e0cdb9;
    --jh-line-strong: #d5bfa9;
    --jh-text: #2a1a10;
    --jh-text-rgb: 42, 26, 16;
    --jh-text-body: #3d2b1f;
    --jh-text-muted: #7a6656;
    --jh-accent: #b84a0a;
    --jh-accent-rgb: 184, 74, 10;
    --jh-button: #cc5512;
    --jh-button-hover: #db611c;
}
html[data-jh-scheme="blossom"] {
    --jh-bg: #fbf1f5;
    --jh-bg-rgb: 251, 241, 245;
    --jh-surface-sunken: #f2dfe8;
    --jh-surface: #f8eaf0;
    --jh-card-hover: #fcf4f8;
    --jh-card-bg-2: #f4e2ea;
    --jh-card-bg-3: #ecd2de;
    --jh-line: #e4c3d2;
    --jh-line-strong: #d9b2c4;
    --jh-text: #2a0f1c;
    --jh-text-rgb: 42, 15, 28;
    --jh-text-body: #3d2230;
    --jh-text-muted: #7d5f6c;
    --jh-accent: #b82a66;
    --jh-accent-rgb: 184, 42, 102;
    --jh-button: #c93673;
    --jh-button-hover: #d84481;
}
html[data-jh-scheme="lavender"] {
    --jh-bg: #f3f1fb;
    --jh-bg-rgb: 243, 241, 251;
    --jh-surface-sunken: #e5e0f4;
    --jh-surface: #eeebf8;
    --jh-card-hover: #f6f4fc;
    --jh-card-bg-2: #e7e3f6;
    --jh-card-bg-3: #dad4f0;
    --jh-line: #ccc4e8;
    --jh-line-strong: #bdb3df;
    --jh-text: #1a1433;
    --jh-text-rgb: 26, 20, 51;
    --jh-text-body: #2d2648;
    --jh-text-muted: #66607f;
    --jh-accent: #5f3dd6;
    --jh-accent-rgb: 95, 61, 214;
    --jh-button: #6a46e0;
    --jh-button-hover: #7754ec;
}

/* Bootstrap の文字色クラスは暗い背景前提なので、スキームの文字色に合わせる */
.text-light { color: var(--jh-text) !important; }
.text-muted { color: var(--jh-text-muted) !important; }

/* スキームを切り替えた瞬間の演出 (color-scheme.js)。
   View Transitions に対応したブラウザでは、切り替え前後のページ全体をゆっくりクロスフェードする。
   グラデーションや画像の上の色まで一度に移り変わる。 */
html.jh-scheme-changing::view-transition-old(root),
html.jh-scheme-changing::view-transition-new(root) {
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/* View Transitions のないブラウザでは、色のプロパティにだけ一時的にトランジションをかける */
html.jh-scheme-fallback,
html.jh-scheme-fallback *,
html.jh-scheme-fallback *::before,
html.jh-scheme-fallback *::after {
    transition: background-color 0.9s ease, color 0.9s ease, border-color 0.9s ease,
        fill 0.9s ease, stroke 0.9s ease, box-shadow 0.9s ease, outline-color 0.9s ease !important;
}

html { background-color: var(--jh-bg); } /* スクロールの引っ張り (オーバースクロール) 部分も同じ色に */

body {
    background-color: var(--jh-bg);
    color: var(--jh-text);
    font-family: var(--jh-font-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.022em;
    line-height: 1.47059;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================================
   Typography
   ========================================= */

/* 大きな文字 (見出し類) は SF Pro Display、それ以外は SF Pro Text */
h1, h2, h3,
.jh-hero-title,
.jh-hero-subtitle,
.jh-section-title {
    font-family: var(--jh-font-display);
}
code, kbd, pre, samp { font-family: var(--jh-font-mono); }

.jh-hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 0.2em;
}

.jh-hero-subtitle {
    font-size: clamp(21px, 4vw, 28px);
    font-weight: 400;
    letter-spacing: 0.004em;
    color: var(--jh-text-muted);
    margin-bottom: 1em;
}

.jh-section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.1;
    margin-bottom: 0.5em;
}

.jh-eyebrow {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.012em;
    color: var(--jh-text-muted);
    margin-bottom: 0.4em;
    display: block;
}

/* 本文サイズのリード文 */
.jh-subhead {
    font-size: 19px;
    line-height: 1.42;
    letter-spacing: 0.012em;
    color: var(--jh-text-muted);
}

/* 以前のグラデーション文字は使わない (単色) */
.jh-text-gradient { color: inherit; }

/* 技術名などの補足: タグではなく本文中の短い語として並べる */
.jh-chip {
    display: inline;
    font-size: 14px;
    color: var(--jh-text-muted);
}
.jh-chip + .jh-chip::before { content: " · "; }

/* 「詳しく見る ›」形式のテキストリンク */
.jh-link {
    color: var(--jh-accent);
    text-decoration: none;
    font-size: 17px;
}
.jh-link:hover { text-decoration: underline; color: var(--jh-accent); }
.jh-link::after { content: " ›"; }

/* 和文は字間を詰めない */
html[lang="ja"] body { letter-spacing: 0; }

/* =========================================
   Global Header (jh-globalnav)
   ========================================= */
.jh-globalnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--jh-nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(var(--jh-fg-rgb), 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.jh-globalnav.jh-globalnav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* =========================================
   Condensed Glass Nav (shown on scroll)
   Native CSS backdrop-filter, tuned to the same
   frosted-glass tone as the LiquidGlass preset
   ({ blurAmount: 0.25 } ≈ heavy blur, dark tint)
   from liquidglass_reference.md. This nav floats
   over the real, live page as it scrolls, and
   only backdrop-filter blurs what's actually
   behind it in real time — LiquidGlass instead
   samples a fixed sibling snapshot, which looked
   visually disconnected from the real page here.
   ========================================= */
.jh-glass-navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 28px;
    background: var(--jh-glass);
    backdrop-filter: saturate(180%) blur(20px) brightness(0.85);
    -webkit-backdrop-filter: saturate(180%) blur(20px) brightness(0.85);
    border: 1px solid var(--jh-glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jh-glass-navbar.jh-glass-navbar-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.jh-glass-navbar-link {
    color: var(--jh-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    opacity: 0.85;
    padding: 8px 14px;
    border-radius: 20px;
    white-space: nowrap;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5));
    transition: opacity 0.2s ease, background 0.2s ease;
}

.jh-glass-navbar-link:hover {
    opacity: 1;
    background: rgba(var(--jh-fg-rgb), 0.1);
}

.jh-globalnav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    width: 100%;
}

.jh-globalnav-item {
    margin: 0 1rem;
}

.jh-globalnav-link {
    color: var(--jh-text);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.jh-globalnav-link:hover {
    opacity: 1;
}

/* ── ユーザー画像 ── */
/* 頭文字のアバター (.blog-avatar など) の中に入れる画像。丸い切り抜きは外側の border-radius に合わせる */
.jh-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
/* ヘッダーのアカウントアイコン */
.jh-nav-avatar {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

/* ヘッダー右側のアイコン (アカウント・ダッシュボード・設定・サインアウト)。
   文字リンクと同じ 12px だと小さすぎるため、押しやすい大きさの枠に入れる */
.jh-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.jh-nav-action:hover { background: rgba(var(--jh-fg-rgb), 0.1); }

/* ── Logo ── */
.jh-logo-link { display: inline-flex; align-items: center; }
.je6hub-logo { display: block; width: auto; height: 20px; color: inherit; }
.jh-glass-navbar .je6hub-logo { height: 16px; }

/* =========================================
   Buttons
   ========================================= */
.jh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.jh-btn-primary {
    background-color: var(--jh-button);
    color: #fff;
}
.jh-btn-primary:hover {
    background-color: var(--jh-button-hover);
    color: #fff;
}

.jh-btn-accent {
    background-color: var(--jh-accent);
    color: #fff;
}
.jh-btn-accent:hover {
    background-color: #1a7fd9;
}

.jh-btn-outline {
    background-color: transparent;
    color: var(--jh-accent);
    border: 1px solid var(--jh-accent);
}
.jh-btn-outline:hover {
    background-color: var(--jh-accent);
    color: #fff;
}

/* =========================================
   Bento Grid (jh-bento)
   ========================================= */
.jh-bento-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.jh-bento-card {
    background: var(--jh-card-bg);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jh-bento-card:hover {
    transform: scale(1.02);
}

.jh-bento-card-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-top: 24px;
    object-fit: cover;
}

/* =========================================
   Glass Card (For Forms / Content)
   ========================================= */
.jh-glass-panel {
    background: var(--jh-card-bg);
    border: none;
    border-radius: 28px;
    padding: 40px;
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */
.jh-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jh-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility layout */
.jh-section {
    padding: 120px 20px;
    text-align: center;
}

/* Form Elements */
.jh-input {
    width: 100%;
    background: var(--jh-bg);
    border: 1px solid var(--jh-line);
    color: var(--jh-text);
    padding: 16px;
    border-radius: 12px;
    font-size: 17px;
    transition: all 0.2s ease;
}
.jh-input:focus {
    outline: none;
    border-color: var(--jh-accent);
    box-shadow: 0 0 0 3px rgba(var(--jh-accent-rgb), 0.35);
}
.jh-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--jh-text);
    margin-bottom: 8px;
}

/* LiquidGlass Button — matches official site pattern */
.liquid-glass-btn {
    /* Glass elements get a <canvas> injected as first child */
}

.liquid-glass-btn .label {
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    filter: drop-shadow(0px 0px 6px #000000);
    color: #fff;
}

/* ── 読み込み中のガラス ──
   WebGL のガラスは、ライブラリの読み込み・フォント埋め込み・背景のキャプチャが終わるまで
   描かれない。その間も同じ形に見えるよう、CSS のすりガラスを先に出しておき、
   準備ができたら (.liquid-glass-ready) WebGL の canvas とクロスフェードする。
   WebGL が使えないとき (.liquid-glass-fallback) は CSS のガラスのまま残る。 */
.liquid-glass-root > .liquid-glass-btn,
.liquid-glass-root > .liquid-glass-panel {
    /* WebGL 側の brightness: -0.15 前後に合わせて、少し暗めのすりガラスにする */
    background-color: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.4) brightness(0.8);
    backdrop-filter: blur(8px) saturate(1.4) brightness(0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 4px 14px rgba(0, 0, 0, 0.28);
    transition:
        background-color 0.5s ease,
        box-shadow 0.5s ease,
        -webkit-backdrop-filter 0.5s ease,
        backdrop-filter 0.5s ease;
}
.liquid-glass-root > .liquid-glass-btn { border-radius: 28px; }
.liquid-glass-root > .liquid-glass-panel { border-radius: 40px; }
.liquid-glass-ready > .liquid-glass-btn,
.liquid-glass-ready > .liquid-glass-panel {
    background-color: rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(0px) saturate(1) brightness(1);
    backdrop-filter: blur(0px) saturate(1) brightness(1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0),
        inset 0 0 0 1px rgba(255, 255, 255, 0),
        0 4px 14px rgba(0, 0, 0, 0);
}
.liquid-glass-btn > canvas,
.liquid-glass-panel > canvas {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.liquid-glass-ready > .liquid-glass-btn > canvas,
.liquid-glass-ready > .liquid-glass-panel > canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .liquid-glass-root > .liquid-glass-btn,
    .liquid-glass-root > .liquid-glass-panel,
    .liquid-glass-btn > canvas,
    .liquid-glass-panel > canvas { transition-duration: 0.01s; }
}

/* ── Glass motion (static/js/glass-motion.js) ──
   ばねで動くガラスボタン。transform と CSS 変数は JS が毎フレーム書き換える。
   ::after はポインタを追う光、::before は押した位置から広がる波紋。
   どちらも border-radius: inherit の内側だけに描くので、WebGL の影 (canvas) は切らない。 */
@property --jh-ripple-r {
    syntax: '<length>';
    inherits: false;
    initial-value: 0px;
}
.jh-glass-motion {
    --jh-glass-shine-rgb: 255, 255, 255;
    --jh-glass-shine-blend: plus-lighter;
    position: relative;
    isolation: isolate;
    border-radius: 999px;
    transform-origin: 50% 50%;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}
.jh-glass-motion::after,
.jh-glass-motion::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
}
.jh-glass-motion::after {
    background:
        radial-gradient(circle at var(--jh-glass-x, 50%) var(--jh-glass-y, 20%),
            rgba(var(--jh-glass-shine-rgb), 0.42) 0%,
            rgba(var(--jh-glass-shine-rgb), 0.12) 32%,
            transparent 62%);
    mix-blend-mode: var(--jh-glass-shine-blend);
    opacity: var(--jh-glass-glow, 0);
}
.jh-glass-motion::before {
    opacity: 0;
    background: radial-gradient(circle at var(--jh-ripple-x, 50%) var(--jh-ripple-y, 50%),
        transparent calc(var(--jh-ripple-r) - 18px),
        rgba(var(--jh-glass-shine-rgb), 0.5) calc(var(--jh-ripple-r) - 6px),
        transparent var(--jh-ripple-r));
    mix-blend-mode: var(--jh-glass-shine-blend);
}
.jh-glass-motion.jh-glass-rippling::before {
    animation: jh-glass-ripple 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes jh-glass-ripple {
    from { --jh-ripple-r: 0px; opacity: 1; }
    to { --jh-ripple-r: 220px; opacity: 0; }
}
.jh-glass-motion .label,
.jh-glass-motion > :not(canvas) { position: relative; z-index: 2; }
.liquid-glass-btn.jh-glass-motion:focus-visible,
.lounge-btn--glass.jh-glass-motion:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}
/* 画面の色に乗るガラス (ラウンジのボタン・縮小ナビ): 明るいスキームでは白い光が見えないので、アクセント色で照らす */
html:is([data-jh-scheme="daylight"], [data-jh-scheme="sky"], [data-jh-scheme="mint"],
        [data-jh-scheme="sand"], [data-jh-scheme="blossom"], [data-jh-scheme="lavender"])
    :is(.lounge-btn--glass, .jh-glass-navbar-link).jh-glass-motion {
    --jh-glass-shine-rgb: var(--jh-accent-rgb);
    --jh-glass-shine-blend: normal;
}
html:is([data-jh-scheme="daylight"], [data-jh-scheme="sky"], [data-jh-scheme="mint"],
        [data-jh-scheme="sand"], [data-jh-scheme="blossom"], [data-jh-scheme="lavender"])
    .lounge-btn--glass.jh-glass-motion:focus-visible {
    outline-color: var(--jh-accent);
}
/* JS が transform を受け持つので、CSS の :active 縮小は重ねない */
.lounge-btn--glass.jh-glass-motion { transition: background 0.2s ease, border-color 0.2s ease; }
.lounge-btn--glass.jh-glass-motion:active { transform: none; }

/* 縮小ナビのしずく: ホバー中のリンクの下へ滑っていくガラス */
.jh-glass-navbar-drop {
    position: absolute;
    top: 50%;
    left: 0;
    height: 32px;
    width: 0;
    border-radius: 999px;
    background: rgba(var(--jh-fg-rgb), 0.12);
    border: 1px solid rgba(var(--jh-fg-rgb), 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 14px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    opacity: 0;
    transform: translate(0, -50%);
    transform-origin: 50% 50%;
    will-change: transform, width;
}
.jh-glass-navbar--drop .jh-glass-navbar-link:hover { background: none; }

@media (prefers-reduced-motion: reduce) {
    .jh-glass-motion { will-change: auto; }
    .jh-glass-motion.jh-glass-rippling::before { animation: none; }
}

/* ── Mobile menu (スマートフォン用ヘッダー) ──
   734px 以下ではナビ項目を並べきれないため、ロゴ + アカウント + メニューボタンだけを
   表示し、残りは全画面メニューにまとめる。 */
.jh-globalnav-mobile-actions,
.jh-mobile-menu { display: none; }

.jh-nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: none;
    color: var(--jh-text);
    font-size: 19px;
    cursor: pointer;
}

.jh-menu-btn { position: relative; opacity: 0.8; }
.jh-menu-btn:hover { opacity: 1; }
.jh-menu-btn-bar {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.jh-menu-btn-bar:first-child { transform: translateY(-3.5px); }
.jh-menu-btn-bar:last-child { transform: translateY(3.5px); }
.jh-menu-btn[aria-expanded="true"] .jh-menu-btn-bar:first-child { transform: rotate(45deg); }
.jh-menu-btn[aria-expanded="true"] .jh-menu-btn-bar:last-child { transform: rotate(-45deg); }

@keyframes jh-menu-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 734px) {
    .jh-globalnav-list {
        justify-content: space-between;
        padding: 0 4px 0 16px;
    }
    .jh-globalnav-item { margin: 0; }
    .jh-globalnav-item:not(:first-child):not(.jh-globalnav-mobile-actions) { display: none !important; }
    .jh-globalnav-mobile-actions { display: flex; align-items: center; }

    /* スマートフォンではスクロールしてもヘッダーを隠さず、横長のガラスナビは使わない */
    .jh-glass-navbar { display: none; }
    .jh-globalnav.jh-globalnav-hidden { transform: none; opacity: 1; }

    .jh-mobile-menu:not([hidden]) {
        position: fixed;
        inset: 48px 0 0;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 24px 32px calc(32px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        animation: jh-menu-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .jh-mobile-menu-list { list-style: none; margin: 0; padding: 0; }
    .jh-mobile-menu-list a {
        display: block;
        padding: 8px 0;
        color: var(--jh-text);
        font-family: var(--jh-font-display);
        font-size: 28px;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
    }
    .jh-mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 20px;
        border-top: 1px solid rgba(var(--jh-fg-rgb), 0.12);
    }
    .jh-mobile-menu-sub {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        padding: 0;
        border: none;
        background: none;
        color: var(--jh-text-muted);
        font-size: 17px;
        text-decoration: none;
    }
    .jh-mobile-menu-sub i { width: 18px; text-align: center; }
    .jh-mobile-menu-sub .jh-nav-avatar { width: 20px; height: 20px; margin: 0 -1px; }
    .jh-mobile-menu-lang {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        margin: 0;
        color: var(--jh-text-muted);
    }
    .jh-mobile-menu-lang i { width: 18px; text-align: center; }
    .jh-mobile-menu-lang select {
        border: none;
        background: transparent;
        color: var(--jh-text-muted);
        font-size: 17px; /* 16px 未満だと iOS がフォーカス時に拡大する */
    }
    .jh-mobile-menu-lang option { color: #000; }
    body.jh-menu-open { overflow: hidden; }

    /* 汎用パネルの余白を画面幅に合わせて詰める */
    .jh-glass-panel { padding: 28px 20px; border-radius: 24px; }
}

/* 見出し・リード文の改行を整える (行長をそろえ、和文は文節で折り返す) */
.jh-hero-title, .jh-hero-subtitle, .jh-section-title, .jh-subhead {
    text-wrap: balance;
    word-break: auto-phrase;
}


/* =========================================
   共通コンポーネント
   ========================================= */
/* セグメントコントロール (iOS の UISegmentedControl 風) */
.blog-segmented {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px;
    border-radius: 9px;
    background: var(--jh-card-bg-2);
}
.blog-segmented label { position: relative; cursor: pointer; }
.blog-segmented input { position: absolute; opacity: 0; pointer-events: none; }
.blog-segmented span {
    display: block;
    padding: 6px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: var(--jh-text-muted);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.blog-segmented input:checked + span { background: #636366; color: #fff; }
.blog-segmented input:focus-visible + span { outline: 2px solid var(--jh-accent); }

/* ヘッダーのダッシュボードアイコン */
.jh-dashboard-link { position: relative; }
.jh-dashboard-badge { position: absolute; top: -2px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff453a; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600; }

.jh-nav-icon-btn .jh-dashboard-badge { top: 4px; right: 2px; }

/* ── プロフィール設定 / 個人設定の切り替え ── */
.jh-settings-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; text-align: left; }
.jh-settings-avatar {
    flex-shrink: 0;
    width: 64px; height: 64px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 600; color: var(--jh-text); background: var(--jh-card-bg-2);
    overflow: hidden;
}
.jh-settings-names { min-width: 0; }
.jh-settings-name { margin: 0; font-size: 24px; font-weight: 600; color: var(--jh-text); overflow-wrap: anywhere; }
.jh-settings-handle { margin: 0; font-size: 15px; color: var(--jh-text-muted); }
.jh-settings-tabs {
    display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px;
    border-radius: 999px; background: var(--jh-card-bg);
}
.jh-settings-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 999px;
    font-size: 15px; font-weight: 500; text-decoration: none;
    color: var(--jh-text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.jh-settings-tab:hover { color: var(--jh-text); }
.jh-settings-tab[aria-current="page"] { background: var(--jh-card-bg-3); color: var(--jh-text); }

/* ── @メンション (本文中のリンクと入力補完) ── */
.jh-mention { color: var(--jh-accent); font-weight: 500; text-decoration: none; }
.jh-mention:hover { text-decoration: underline; }
.msg-bubble-self .jh-mention { color: inherit; text-decoration: underline; }
.jh-mention-menu {
    position: absolute;
    z-index: 2000;
    margin: 0;
    padding: 6px;
    list-style: none;
    max-height: 264px;
    overflow-y: auto;
    border-radius: 14px;
    background: rgba(var(--jh-glass-rgb), 0.96);
    box-shadow: 0 0 0 1px var(--jh-glass-border), 0 18px 40px -12px rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.jh-mention-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    cursor: pointer;
}
.jh-mention-menu li[aria-selected="true"] { background: rgba(var(--jh-fg-rgb), 0.1); }
.jh-mention-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jh-card-bg-3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.jh-mention-avatar img { width: 100%; height: 100%; object-fit: cover; }
.jh-mention-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.jh-mention-text strong { color: var(--jh-text); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-mention-text span { color: var(--jh-text-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 通知 (ヘッダーのベルのアイコンとドロップダウン) ── */
.jh-notif-btn { position: relative; }
.jh-nav-action .jh-notif-badge { top: 1px; right: -2px; }
.jh-notif-panel {
    position: fixed;
    top: var(--jh-notif-top, 52px);
    right: var(--jh-notif-right, 16px);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    width: 380px;
    max-height: min(560px, calc(100vh - var(--jh-notif-top, 52px) - 16px));
    border: 1px solid var(--jh-glass-border);
    border-radius: 16px;
    background: rgba(var(--jh-glass-rgb), 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    color: var(--jh-text);
    overflow: hidden;
    animation: jh-menu-in 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.jh-notif-panel[hidden] { display: none; }
.jh-notif-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--jh-card-border);
}
.jh-notif-title { margin: 0; font-size: 17px; font-weight: 600; color: var(--jh-text); }
.jh-notif-all { font-size: 13px; color: var(--jh-accent); text-decoration: none; }
.jh-notif-all:hover { text-decoration: underline; }
.jh-notif-list { margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.jh-notif-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--jh-text);
    text-decoration: none;
    transition: background 0.15s ease;
}
.jh-notif-link:hover, .jh-notif-link:focus-visible { background: rgba(var(--jh-fg-rgb), 0.08); color: var(--jh-text); }
.jh-notif-item.is-unread .jh-notif-link { background: rgba(var(--jh-accent-rgb), 0.1); }
.jh-notif-item.is-unread .jh-notif-link:hover { background: rgba(var(--jh-accent-rgb), 0.16); }
.jh-notif-avatar {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--jh-card-bg-3);
    color: var(--jh-text);
    font-size: 16px;
    font-weight: 600;
}
.jh-notif-avatar .jh-avatar-img { border-radius: 50%; }
.jh-notif-kind {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--jh-card-bg);
    border-radius: 50%;
    background: var(--jh-button);
    color: #fff; /* 色付きの丸の上のアイコン (どのカラースキームでも背景はアクセント色) */
    font-size: 9px;
}
.jh-notif-kind-reply { background: #30d158; }
.jh-notif-kind-comment { background: #ff9f0a; }
.jh-notif-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jh-notif-message { font-size: 14px; line-height: 1.45; color: var(--jh-text); overflow-wrap: anywhere; }
.jh-notif-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: var(--jh-text-muted);
    overflow-wrap: anywhere;
}
.jh-notif-time { font-size: 12px; color: var(--jh-text-muted); }
.jh-notif-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--jh-accent); }
.jh-notif-empty { padding: 28px 18px; font-size: 14px; line-height: 1.6; color: var(--jh-text-muted); text-align: center; }

/* 通知の一覧ページ */
.jh-notif-page { max-width: 640px; margin: 0 auto; text-align: left; }
.jh-notif-page-title { margin: 0 0 16px; font-size: 32px; font-weight: 600; color: var(--jh-text); }
.jh-notif-page .jh-notif-list { padding: 6px; border-radius: 18px; background: var(--jh-card-bg); }
.jh-notif-page-foot { margin-top: 16px; font-size: 13px; }
.jh-notif-page-foot a { color: var(--jh-accent); }

/* スマートフォン: ヘッダーの下に画面いっぱいの一覧として出す (指で押しやすい大きさ) */
@media (max-width: 734px) {
    .jh-nav-icon-btn .jh-notif-badge { top: 5px; right: 3px; }
    .jh-notif-panel {
        top: 48px;
        right: 0;
        left: 0;
        bottom: 0;
        width: auto;
        max-height: none;
        border: none;
        border-top: 1px solid var(--jh-card-border);
        border-radius: 0;
        background: var(--jh-bg);
        box-shadow: none;
    }
    .jh-notif-head { padding: 16px 20px 12px; }
    .jh-notif-title { font-size: 21px; }
    .jh-notif-all { font-size: 15px; }
    .jh-notif-list { padding: 6px 8px calc(16px + env(safe-area-inset-bottom)); }
    .jh-notif-link { padding: 14px 12px; }
    .jh-notif-message { font-size: 15px; }
    .jh-notif-avatar { width: 44px; height: 44px; }
    html.jh-notif-open, html.jh-notif-open body { overflow: hidden; }
}

/* ── 管理者バッジ (profiles の admin_badge タグ)。名前のすぐ後ろに、文字の大きさに合わせて付く ── */
.jh-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.jh-admin-badge {
    display: inline-block;
    flex-shrink: 0;
    width: 1.05em;
    height: 1.05em;
    margin-left: 0.25em;
    vertical-align: -0.16em;
    /* 明るい背景でも縁が見えるよう、ごく薄い影を付ける */
    filter: drop-shadow(0 0 0.5px rgba(120, 80, 0, 0.55));
}
.jh-admin-badge use { pointer-events: none; }
/* 大きな見出しでは文字に比べて小さめにする */
.pf-hero-name .jh-admin-badge { width: 0.7em; height: 0.7em; margin-left: 0.18em; vertical-align: 0; }
.pf-card-name .jh-admin-badge,
.jh-settings-name .jh-admin-badge { width: 0.85em; height: 0.85em; vertical-align: -0.08em; }
/* ヘッダーのアカウントアイコンでは、アイコンの右下に重ねる */
.jh-nav-action[data-nav-account],
.jh-nav-icon-btn[data-nav-account] { position: relative; }
.jh-nav-action[data-nav-account] > .jh-admin-badge,
.jh-nav-icon-btn[data-nav-account] > .jh-admin-badge {
    position: absolute;
    right: -1px;
    bottom: 0;
    width: 15px;
    height: 15px;
    margin: 0;
}
.jh-nav-icon-btn[data-nav-account] > .jh-admin-badge { right: 6px; bottom: 7px; }
