/* ==================================================
   iOS / Mac 風 モダンデザイン（全ライブラリ商用利用可OSS）
   ================================================== */

:root {
  --ios-bg: #f2f2f7;
  --ios-card-bg: rgba(255, 255, 255, 0.75);
  --ios-card-border: rgba(255, 255, 255, 0.4);
  --ios-text-main: #1c1c1e;
  --ios-text-sub: #8e8e93;
  --ios-accent: #007aff;
  --ios-accent-hover: #0056b3;
  --ios-radius: 18px;
  --ios-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* 全体背景 */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--ios-bg);
  color: var(--ios-text-main);
  line-height: 1.6;
}

/* --- ナビゲーションバー (iOS すりガラス効果) --- */
.ios-blur {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  color: var(--ios-text-main) !important;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--ios-text-sub) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ios-accent) !important;
}

/* --- iOS風カードコンポーネント --- */
.ios-card {
  background: var(--ios-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ios-card-border);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ios-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* --- フォーム・ボタン --- */
.ios-input {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  color: var(--ios-text-main) !important;
}

.ios-input:focus {
  border-color: var(--ios-accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25) !important;
}

.ios-btn {
  background-color: var(--ios-accent) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.ios-btn:hover {
  background-color: var(--ios-accent-hover) !important;
}

.ios-btn:active {
  transform: scale(0.98);
}

/* --- OBSプレビュー枠 (PC画面取り込み想定サイズ) --- */
.obs-preview-container {
  background: #000;
  color: #00ff66;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
}

/* --- ユーティリティクラス --- */
.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.75rem; }

/* アコーディオン全体枠 */
.dice-accordion-container {
  margin-top: 20px;
  border: 2px solid #333;
  border-radius: 8px;
  overflow: hidden;
  background-color: #111;
  transition: all 0.3s ease;
}

.dice-tool-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

/* iframe のサイズ調整 */
.dice-frame {
  width: 100%;
  border: none;
  border-radius: 4px;
}

.stage-container .dice-frame {
  height: 450px; /* 3D舞台の高さ */
}

.control-container .dice-frame {
  height: 300px; /* 操作盤の高さ */
}

/* =========================================
   Base & Layout
========================================= */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background-color: #f4f6fb;
  color: #0f172a;
  line-height: 1.65;
}

[data-site-main] {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

[data-section] {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

[data-section] > h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* =========================================
   Global Navigation & Icons
========================================= */
[data-site-nav] {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-site-nav] .navbar-brand {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

[data-site-nav] .navbar-toggler {
  border: 0;
}

[data-nav-list] {
  margin-left: auto;
  text-align: center;
  gap: 0.25rem;
}

[data-nav-list] .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #475569;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease;
}

[data-nav-list] .nav-link:hover,
[data-nav-list] .nav-link.is-active {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
  font-weight: 600;
}

.nav-icon-slot {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.nav-icon-slot[data-icon="home"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9.5z'/%3E%3C/svg%3E");
}

.nav-icon-slot[data-icon="app"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4M14 5l-4 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4M14 5l-4 14'/%3E%3C/svg%3E");
}

.nav-icon-slot[data-icon="request"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8l-4 3V6a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8l-4 3V6a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.nav-icon-slot[data-icon="link"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.nav-icon-slot[data-icon="terms"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5M8 12h8M8 16h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5M8 12h8M8 16h6'/%3E%3C/svg%3E");
}

/* =========================================
   iOS-style Cards
========================================= */
[data-card] {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

[data-card] > h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

[data-card="hero"] {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

[data-card="hero"] h1 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

[data-card="hero"] p {
  color: #64748b;
  margin: 0;
}

/* =========================================
   News Toolbar & Unique Class Jump
========================================= */
[data-news-toolbar] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.news-filter-select,
.news-search-input,
.news-sort-btn {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  background: #f8fafc;
  color: #0f172a;
}

.news-sort-btn {
  cursor: pointer;
  font-weight: 600;
}

[data-news-list] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.news-row:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.4);
}

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #475569;
}

.news-page-badge {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.news-summary {
  flex: 1 1 14rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.news-jump-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
}

.is-news-focused {
  outline: 2px solid #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
  transition: background-color 0.6s ease, outline-color 0.6s ease;
}

/* =========================================
   App Card & Engagement Widgets (Tags / Stars / Like)
========================================= */
[data-card="app"] + [data-card="app"] {
  margin-top: 1.5rem;
}

[data-app-header] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

[data-app-header] h3 {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0.5rem 0 0;
}

[data-app-badge] {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
}

[data-app-header] p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

[data-app-widgets] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
}

.app-tags-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.app-tag-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #fef9c3;
  color: #713f12;
  border: 1px solid rgba(113, 63, 18, 0.16);
}

.app-tag-chip.is-highlight {
  background: #dcfce7;
  color: #14532d;
  border-color: rgba(20, 83, 45, 0.18);
}

.app-tag-add-btn {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.app-tag-add-btn:hover {
  background: #f1f5f9;
}

.app-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.app-star-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.12s ease, color 0.12s ease;
}

.app-star-btn.is-active,
.app-star-btn:hover {
  color: #eab308;
  transform: scale(1.1);
}

.app-rating-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.app-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.app-like-btn.is-liked {
  background: #fdf2f8;
  border-color: #f472b6;
  color: #db2777;
}

[data-preview-frame] {
  width: 100%;
  height: 300px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

[data-preview-frame] iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

[data-app-cta] {
  text-align: right;
}

[data-app-cta] a {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.16s ease;
}

[data-app-cta] a:hover {
  background: #1d4ed8;
}

[data-app-note] {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

[data-app-note] a {
  text-decoration: none;
  color: #2563eb;
}

/* =========================================
   Request Form & Anonymous Log
========================================= */
[data-card="request"] > p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

[data-field-group] {
  margin-bottom: 1rem;
}

[data-field-group] label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

[data-field-group] input,
[data-field-group] select,
[data-field-group] textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.94rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
}

[data-submit-btn] {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
}

[data-submit-btn]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

[data-sequence-status] {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

[data-sequence-status][data-state="sending"] {
  color: #2563eb;
}

[data-sequence-status][data-state="accepted"] {
  color: #059669;
}

[data-sequence-status][data-state="error"] {
  color: #dc2626;
}

[data-receipt-box] {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.88rem;
}

[data-receipt-box].is-error {
  border-color: rgba(220, 38, 38, 0.35);
  background: #fef2f2;
  color: #991b1b;
}

[data-anon-log-wrap] {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-anon-log-wrap] h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

[data-anon-log-list] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.anon-log-item {
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.86rem;
}

.anon-log-num {
  font-weight: 700;
  color: #2563eb;
}

/* =========================================
   Link & Terms Lists (CSS-only Icons)
========================================= */
[data-link-list] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

[data-link-list] a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.75rem;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

[data-link-list] a:hover {
  background: #f8fafc;
}

[data-link-list] a span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

[data-link-list] a span::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

[data-external-link="youtube"] span::before {
  background-color: #dc2626;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.4 31.4 0 0 0 0 12a31.4 31.4 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.4 31.4 0 0 0 24 12a31.4 31.4 0 0 0-.5-5.8zM9.6 15.6V8.4l6.3 3.6-6.3 3.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.4 31.4 0 0 0 0 12a31.4 31.4 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.4 31.4 0 0 0 24 12a31.4 31.4 0 0 0-.5-5.8zM9.6 15.6V8.4l6.3 3.6-6.3 3.6z'/%3E%3C/svg%3E");
}

[data-external-link="x"] span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.2 2H21l-6.5 7.4L22 22h-6l-4.7-6.1L5.9 22H3.1l7-8L2 2h6.1l4.2 5.6L18.2 2zm-1 18h1.7L7.2 3.9H5.4L17.2 20z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.2 2H21l-6.5 7.4L22 22h-6l-4.7-6.1L5.9 22H3.1l7-8L2 2h6.1l4.2 5.6L18.2 2zm-1 18h1.7L7.2 3.9H5.4L17.2 20z'/%3E%3C/svg%3E");
}

[data-internal-link="terms"] span::before {
  background-color: #64748b;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5M8 12h8M8 16h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5M8 12h8M8 16h6'/%3E%3C/svg%3E");
}

[data-external-link]::after {
  content: "↗";
  color: #64748b;
  font-size: 0.9rem;
}

[data-internal-link]::after {
  content: "›";
  color: #64748b;
  font-size: 1.15rem;
}

/* =========================================
   Footer
========================================= */
[data-site-footer] {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8rem;
  color: #64748b;
}

[data-site-footer] p {
  margin: 0;
}