














































:root {
    --ymk-font-base: 'Meiryo UI', Meiryo, 'MS PGothic', sans-serif;

    --ymk-font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
}

:root,
body {
    font-family: var(--ymk-font-base);
}










.font-mono { font-family: var(--ymk-font-mono) !important; }
.font-sans { font-family: var(--ymk-font-base) !important; }












































:root {
    --ymk-z-content-modal: 100;
    --ymk-z-system-dialog: 200;
    --ymk-z-toast: 300;
}
















:root {

    --ymk-blue-50: #eff6ff;
    --ymk-blue-100: #dbeafe;
    --ymk-blue-200: #bfdbfe;
    --ymk-blue-300: #93c5fd;
    --ymk-blue-400: #60a5fa;
    --ymk-blue-500: #3b82f6;
    --ymk-blue-600: #2563eb;
    --ymk-blue-700: #1d4ed8;
    --ymk-blue-800: #1e40af;
    --ymk-blue-900: #1e3a8a;
    --ymk-blue-950: #172554;





    --ymk-blue-50-rgb: 239, 246, 255;


    --ymk-primary: var(--ymk-blue-600);
    --ymk-primary-hover: var(--ymk-blue-700);
    --ymk-primary-soft: var(--ymk-blue-50);
    --ymk-primary-strong: var(--ymk-blue-800);
    --ymk-border: var(--ymk-blue-200);
    --ymk-border-strong: var(--ymk-blue-300);
    --ymk-link: var(--ymk-blue-600);
    --ymk-link-hover: var(--ymk-blue-700);
    --ymk-table-head-bg: var(--ymk-blue-100);
    --ymk-table-head-fg: var(--ymk-blue-800);
    --ymk-table-line: var(--ymk-blue-300);
    --ymk-focus-ring: var(--ymk-blue-500);



    --ymk-surface: var(--ymk-blue-50);
    --ymk-surface-alt: var(--ymk-blue-100);




    --ymk-sidebar-bg: #0f172a;
    --ymk-sidebar-bg-deep: #020617;



    --ymk-sidebar-fg: #cbd5e1;
    --ymk-sidebar-muted: #94a3b8;
    --ymk-sidebar-muted-2: #64748b;
    --ymk-sidebar-hover: #1e293b;
    --ymk-sidebar-border: #1e293b;
    --ymk-sidebar-border-2: #334155;
    --ymk-sidebar-active-bg: #2563eb;
    --ymk-sidebar-active-fg: #ffffff;




    --ymk-badge: #db2777;
}

input[type="radio"] {


    accent-color: var(--ymk-blue-600); /* blue-600 */
}






::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}
.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}
.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}






.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151; /* gray-700 */
    margin-bottom: 0.25rem;
}






















#search-conditions-section .ymk-combobox-input,
#search-conditions-section .ymk-period-combo-input,
#maintenance-form .ymk-combobox-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 400;          /* .form-input と同じ通常ウェイト（combobox 600 / period 700 を打ち消す） */
    font-family: inherit;      /* period-combo の等幅指定を打ち消し、パネル内の書体を統一 */
    text-align: left;          /* period-combo の中央寄せを打ち消す（コード/名称と同じ左寄せ） */
    color: #111827;            /* .form-input と同色 */
    border-radius: 0.375rem;   /* .form-input と同じ角丸 */
}

#search-conditions-section .ymk-combobox-input,
#maintenance-form .ymk-combobox-input {
    padding-right: 1.75rem;
}


#search-conditions-section .form-input,
#search-conditions-section .ymk-combobox {
    width: 200px;
    box-sizing: border-box;
}
#search-conditions-section .ymk-period-combo-input {
    width: 200px !important;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background-color: #fff;
    border: 1px solid var(--ymk-blue-300); /* blue-300: テーマ切替(--ymk-blue-*)を全面適用するための変数化(2026-09-12) */
    border-radius: 0.375rem;
    font-size: 16px; /* スマホ自動ズーム防止 */
    color: #111827;
    transition: border-color 0.1s, box-shadow 0.1s;
}
@media (min-width: 1024px) {
    .form-input {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}
.form-input:focus {
    outline: none;
    border-color: var(--ymk-blue-500); /* blue-500: テーマ変数化(2026-09-12) */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); /* ponytail: --ymk-blue-500-rgb 未定義のため値のまま維持(blocked) */
    background-color: #fefce8; /* yellow-50 ハイライト */
}
.form-input:disabled,
.form-input[readonly] {
    background-color: #f3f4f6; /* gray-100 */
    color: #6b7280;
    cursor: not-allowed;
    border-color: #d1d5db;
}




.grid-input {
    width: 100%; height: 100%;
    border: 1px solid var(--ymk-blue-300);
    background: transparent;
    padding: 0 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    border-radius: 3px;
    transition: border-color 0.1s, box-shadow 0.1s;
}
select.grid-input { border: 1.5px solid var(--ymk-blue-300); border-radius: 3px; cursor: pointer; appearance: auto; }
.grid-input:disabled, .grid-input[readonly] { color: #6b7280; cursor: default; background: transparent; border: none; }
.grid-input:disabled:focus, .grid-input[readonly]:focus { background: transparent; outline: none; }
.grid-input:not(:disabled):not([readonly]):hover { background: var(--ymk-blue-100); }
select.grid-input:not(:disabled):hover { background: var(--ymk-blue-100); }
.grid-input:not(:disabled):not([readonly]):focus { background: #fefce8; outline: none; border-color: var(--ymk-blue-500); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); z-index: 5; }
select.grid-input:not(:disabled):focus { background: #fefce8; outline: none; border-color: var(--ymk-blue-600); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }




td:focus-visible, td:focus { outline: 2px solid var(--ymk-blue-500); outline-offset: -2px; } /* blue-500: テーマ変数化(2026-09-12) */


.cell-calc .grid-input { background: transparent; border: none; }
.cell-calc .grid-input:not(:disabled):not([readonly]) { border: 1px solid var(--ymk-blue-300); } /* blue-300: テーマ変数化(2026-09-12) */
.cell-readonly { color: #6b7280; }
.cell-readonly .grid-input { background: transparent; border: none; }
.cell-disabled .grid-input { color: #94a3b8; background: transparent; border: none; }









.required-mark::after {
    content: "*";
    color: var(--ymk-blue-700); /* blue-700: テーマ変数化(2026-09-12) */
    margin-left: 0.25rem;
}


.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ymk-blue-900); /* blue-900: テーマ変数化(2026-09-12) */
    border-bottom: 2px solid var(--ymk-blue-200); /* blue-200: テーマ変数化(2026-09-12) */
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}





.search-result-row,
.book-row {
    cursor: pointer;
    transition: background-color 0.15s;
}
.search-result-row:hover,
.book-row:hover {
    background-color: var(--ymk-blue-50); /* blue-50: テーマ変数化(2026-09-12) */
}
.search-result-row.selected {
    background-color: var(--ymk-blue-100); /* blue-100: テーマ変数化(2026-09-12) */
}





.mode-radio-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}





.form-input.email-error {
    background-color: #fce4ec !important;
    border-color: #e91e63 !important;
}
.email-error-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
    background-color: rgba(233, 30, 99, 0.6);
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.email-error-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 12px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(233, 30, 99, 0.6) transparent transparent transparent;
}





#modal-overlay {
    transition: opacity 0.3s ease;
}
#modal-content {
    transition: transform 0.3s ease;
}












#loading-overlay {
    position: fixed;
    inset: 0;

    background: linear-gradient(160deg, rgba(var(--ymk-blue-50-rgb), 0.95) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(var(--ymk-blue-50-rgb), 0.95) 100%);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    animation: ymk-overlay-fade-in 0.35s ease-out forwards;
    transition: opacity 0.4s ease-out;
}

@keyframes ymk-overlay-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#loading-overlay.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
}









#loading-message {
    position: relative;
    padding: 0.6rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ymk-blue-500); /* blue-500: テーマ変数化(2026-09-12) */
    background: transparent;
    text-align: center;
    line-height: 1.7;

    white-space: pre-line;
}

#loading-message::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ymk-blue-500), transparent); /* blue-500: テーマ変数化(2026-09-12) */
    margin: 0 auto 0.75rem;
    animation: loadingLinePulse 2s ease-in-out infinite;
}

@keyframes loadingLinePulse {
    0%, 100% { opacity: 0.3; width: 40px; }
    50% { opacity: 1; width: 80px; }
}


.loading-icon-frame {
    width: 320px;
    height: 320px;
    border: none;
}


#app {
    opacity: 0;
    transition: opacity 0.4s ease-in;
    height: 100%;
}
#app.visible {
    opacity: 1;
}


.book-loader {
    position: relative;
    width: 40px;
    height: 30px;
    transform: rotateX(50deg) rotateZ(-10deg) rotateY(10deg);
    transform-style: preserve-3d;
}
.book-loader .page-left {
    position: absolute; top: 0; left: 0;
    width: 20px; height: 30px;
    background: #e2e8f0; border: 1px solid #6b7c93;
    border-right: none; border-radius: 3px 0 0 3px;
}
.book-loader .page-right {
    position: absolute; top: 0; left: 20px;
    width: 20px; height: 30px;
    background: #fff; border: 1px solid #6b7c93;
    border-left: none; border-radius: 0 3px 3px 0;
}
.book-loader .page-flip {
    position: absolute; top: 0; left: 20px;
    width: 20px; height: 30px;
    background: #fff; border: 1px solid #6b7c93;
    border-left: 1px solid #4a5568;
    border-radius: 0 3px 3px 0;
    transform-origin: left; z-index: 10;
    animation: book-flip 1.8s infinite linear;
}
.book-loader .page-flip:nth-child(3) { animation-delay: 0s; }
.book-loader .page-flip:nth-child(4) { animation-delay: 0.6s; }
.book-loader .page-flip:nth-child(5) { animation-delay: 1.2s; }


.book-loader-lg {
    position: relative;
    width: 80px;
    height: 60px;
    transform: rotateX(50deg) rotateZ(-10deg) rotateY(10deg);
    transform-style: preserve-3d;
}
.book-loader-lg .page-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 60px;
    background: #e2e8f0;
    border: 2px solid #6b7c93;
    border-right: none;
    border-radius: 4px 0 0 4px;
}
.book-loader-lg .page-right {
    position: absolute;
    top: 0;
    left: 40px;
    width: 40px;
    height: 60px;
    background: #fff;
    border: 2px solid #6b7c93;
    border-left: none;
    border-radius: 0 4px 4px 0;
}
.book-loader-lg .page-flip {
    position: absolute;
    top: 0;
    left: 40px;
    width: 40px;
    height: 60px;
    background: #fff;
    border: 2px solid #6b7c93;
    border-left: 2px solid #4a5568;
    border-radius: 0 4px 4px 0;
    transform-origin: left;
    z-index: 10;
    animation: book-flip 1.8s infinite linear;
}
.book-loader-lg .page-flip:nth-child(3) { animation-delay: 0s; }
.book-loader-lg .page-flip:nth-child(4) { animation-delay: 0.6s; }
.book-loader-lg .page-flip:nth-child(5) { animation-delay: 1.2s; }
@keyframes book-flip {
    0% { transform: rotateY(0deg); z-index: 5; background-color: #fff; }
    15% { z-index: 10; }
    50% { background-color: #cbd5e0; }
    100% { transform: rotateY(-180deg); z-index: 5; background-color: #a0aec0; }
}












#ymk-loading-icon-layer {
    position: fixed;
    inset: 0;
    z-index: 150; /* #loading-overlay(100) より前面。ローディング画面と同時に出た場合もアイコンが見える */
    background: transparent;
    cursor: default; /* 下の要素の cursor: pointer 等を打ち消し、押せる状態に見せない */
}





#ymk-loading-icon-layer.passthrough {
    pointer-events: none;
}











#ymk-loading-icon-pos {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

#ymk-loading-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;






    padding: 0.7rem 0.85rem;
    background: #ffffff;
    border: 1px solid #cbd5e1; /* slate-300: 承認済みパレットの区切り線・ボーダー用途 */
    border-radius: 6px;
    perspective: 600px;
    pointer-events: none; /* アイコン自体は当たり判定を持たない（遮断は層の責務） */
    opacity: 0;
    transition: opacity 0.15s ease-out;
    will-change: scale;

    transform-origin: left top;



    animation: ymk-loading-frame-puyo 1.2s ease-in-out infinite; /* 本側と必ず同じ周期にする */
}





@keyframes ymk-loading-frame-puyo {
    0%   { scale: 1 1; }
    18%  { scale: 1.06 0.90; }
    42%  { scale: 0.96 1.11; }
    66%  { scale: 1.025 0.96; }
    85%  { scale: 0.99 1.025; }
    100% { scale: 1 1; }
}
#ymk-loading-icon.visible {
    opacity: 1;
}










.ymk-loading-puyo {
    display: inline-flex;




    transform-origin: center center;





    animation: ymk-loading-puyo 1.2s ease-in-out infinite;
}




@keyframes ymk-loading-puyo {
    0%   { transform: scale(1, 1); }
    18%  { transform: scale(1.55, 0.52); }
    42%  { transform: scale(0.62, 1.62); }
    66%  { transform: scale(1.26, 0.80); }
    85%  { transform: scale(0.88, 1.14); }
    100% { transform: scale(1, 1); }
}

#ymk-loading-icon .ymk-loading-icon-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6b7280; /* gray-500: 承認済みパレットのラベル文字色 */
    white-space: nowrap;
}


.diff-changed-cell {
  background: #fefce8;
}











.ymk-cell-num   { text-align: right;  font-variant-numeric: tabular-nums; }
.ymk-cell-code  { text-align: center; font-family: var(--ymk-font-mono); }
.ymk-cell-text  { text-align: left; }


.ymk-input-num  { text-align: right;  font-variant-numeric: tabular-nums; }
.ymk-input-code { text-align: center; font-family: var(--ymk-font-mono); letter-spacing: 0.05em; }
.ymk-input-text { text-align: left; }


.ymk-th-num   { text-align: right; }
.ymk-th-code  { text-align: center; }
.ymk-th-text  { text-align: left; }







.tab-pane .form-input.ymk-input-code { text-align: left; }




details:not([open]) > summary {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  border-bottom-color: transparent;
}



























#search-conditions-section > details > summary,
#search-results-details > summary,
#master-edit-details > summary {
  transition: background-color 0.15s ease;
}
#search-conditions-section > details > summary > span:first-child::before,
#search-results-details > summary > span:first-child::before,
#master-edit-details > summary > span:first-child::before {
  content: '▶';
  margin-right: 0.5rem;
  font-size: 0.65em;
  color: var(--ymk-blue-400); /* blue-400: 承認済パレット内。html.env-testで--ymk-blue-400がpink-400へ再定義されるため、この1行だけで著者/商品マスタ両画面に反映される */
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#search-conditions-section > details[open] > summary > span:first-child::before,
#search-results-details[open] > summary > span:first-child::before,
#master-edit-details[open] > summary > span:first-child::before {
  transform: rotate(90deg);
}
#search-conditions-section > details[open] > *:not(summary),
#search-results-details[open] > *:not(summary),
#master-edit-details[open] > *:not(summary) {
  animation: ymk-accordion-fade-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ymk-accordion-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
















































#ymk-header-scroll {
    cursor: grab;








    padding-right: 24px;
}












.ymk-icon-btn {
    position: relative;
}
.ymk-icon-btn-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    margin-top: 6px;
    z-index: 20;
    background: #ffffff;
    border: 1px solid #d1d5db;  /* gray-300 */
    color: #374151;             /* gray-700 */
    border-radius: 9px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.14s ease;
}
.ymk-icon-btn:hover .ymk-icon-btn-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ymk-hint-mark {
  position: relative;
  display: inline-block;
  margin-left: 0.2rem;
  width: 0.95rem;
  height: 0.95rem;
  vertical-align: -0.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231d4ed8' stroke-width='1.4'%3E%3Ccircle cx='8' cy='8' r='6.6'/%3E%3Cpath d='M8 7.4v4' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='4.8' r='0.95' fill='%231d4ed8' stroke='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: help;
}
.ymk-hint-mark::after {
  content: attr(data-hint);










  position: fixed;
  top: var(--ymk-hint-top, 0px);
  left: var(--ymk-hint-left, 0px);
  transform: translateY(-100%) translateY(-6px);
  z-index: 60; /* サジェストリスト(z-50)より前面 */
  min-width: 17rem;
  padding: 6px 10px;




  background: rgba(30, 58, 138, 0.8); /* blue-900 #1e3a8a */
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: normal;
  line-height: 1.55;
  text-align: left;





  white-space: pre;
  border-radius: 0.375rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;






  transition: opacity 0.12s ease 0.3s, visibility 0s linear 0.42s;
  pointer-events: none;
}
.ymk-hint-mark:hover::after {
  opacity: 1;
  visibility: visible;




  transition: opacity 0.12s ease, visibility 0s linear;
}








.ymk-hint-mark--below::after {
  top: var(--ymk-hint-bottom, 0px);
  transform: translateY(6px);
}



























html.env-test {
    --ymk-blue-50: #fdf2f8;
    --ymk-blue-100: #fce7f3;
    --ymk-blue-200: #fbcfe8;
    --ymk-blue-300: #f9a8d4;
    --ymk-blue-400: #f472b6;
    --ymk-blue-500: #ec4899;
    --ymk-blue-600: #db2777;
    --ymk-blue-700: #be185d;
    --ymk-blue-800: #9d174d;
    --ymk-blue-900: #831843;
    --ymk-blue-950: #500724;
    --ymk-blue-50-rgb: 253, 242, 248; /* :root 側と同じくカンマ区切り(rgba(var(), a) 用、2026-09-16) */
    --ymk-sidebar-bg: #4a1d33;
    --ymk-sidebar-bg-deep: #3b1628;
    --ymk-sidebar-fg: #fbe7f0;
    --ymk-sidebar-muted: #e7a9c6;
    --ymk-sidebar-muted-2: #c98bab;
    --ymk-sidebar-hover: #5e2642;
    --ymk-sidebar-border: #5e2642;
    --ymk-sidebar-border-2: #5e2642;
    --ymk-sidebar-active-bg: #be185d;
    --ymk-sidebar-active-fg: #ffffff;
}











html.env-test .ymk-hint-mark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23be185d' stroke-width='1.4'%3E%3Ccircle cx='8' cy='8' r='6.6'/%3E%3Cpath d='M8 7.4v4' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='4.8' r='0.95' fill='%23be185d' stroke='none'/%3E%3C/svg%3E") !important; /* pink-700（元: %231d4ed8 blue-700） */
}


html.env-test .grid-input:not(:disabled):not([readonly]):focus {
    border-color: #ec4899 !important; /* pink-500（元: #3b82f6 blue-500） */
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2) !important;
}
html.env-test select.grid-input:not(:disabled):focus {
    border-color: #db2777 !important; /* pink-600（元: #2563eb blue-600） */
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2) !important;
}





















html.env-test .ymk-step-current .ymk-step-number {
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.25) !important; /* pink-600相当、現在ステップ番号の光彩。box-shadowのrgbaがymk-stepper.css側で未var化のため維持 */
}
html.env-test .ymk-step-current .ymk-step-action {
    background: #db2777 !important; /* pink-600、現在ステップのアクションボタン(background自体はvar化済みで冗長だが、box-shadow維持のためルールごと残す) */
    box-shadow: 0 1px 3px rgba(219, 39, 119, 0.3) !important;
}
html.env-test .ymk-step-current .ymk-step-action:hover {
    background: #be185d !important; /* pink-700、同ホバー(background自体はvar化済みで冗長だが、box-shadow維持のためルールごと残す) */
    box-shadow: 0 2px 6px rgba(219, 39, 119, 0.4) !important;
}













html.env-test .loading-icon-frame {
    filter: hue-rotate(113deg); /* ponytail: iframe内Three.js描画の青系30箇所超を個別置換せず一括変換 */
}














html.env-test .env-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.05rem 0.5rem;
    border-radius: 9999px;
    background-color: #db2777; /* pink-600 */
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
html:not(.env-test) .env-badge {
    display: none; /* 本番・localhostでは非表示（JS側は常時出力するため表示制御はCSS側の責務） */
}
