/*
TsuboSuke 閲覧側の基本のスタイル

このファイルは更新のたびに上書きされます。見た目を変えるときは、テーマ（子テーマ）のフォルダに
「gigpress.css」というファイルを作り、そこに変えたいところだけを書きます（このファイルの後に読み込まれます）。

  1. 共通（色の変数、表示の切り替えボタン）
  2. テーブル版（GigPress と同じ骨組み。クラス名は gigpress-*）
  3. タイル版（クラス名は tsubosuke-*）
  4. テキスト版
  5. サイドバー、関連公演、購読リンク

色などは、テーマの gigpress.css で次のように変えられます（3つの形式すべてに効きます）。

  .tsubosuke-views {
      --tsubosuke-accent: #568abf;
      --tsubosuke-head-bg: #e8f1fa;
  }
*/


/* ==================================================================
   1. 共通
   ================================================================== */

.tsubosuke-views {
	--tsubosuke-accent: #2f5d8a;          /* アクセント（見出しの帯、予約ボタン、日付の線など） */
	--tsubosuke-accent-text: #ffffff;     /* アクセントの上の文字 */
	--tsubosuke-text: #1f2933;            /* 本文 */
	--tsubosuke-muted: #5f6b7a;           /* 補足の文字 */
	--tsubosuke-bg: #ffffff;              /* 背景 */
	--tsubosuke-head-bg: #f3f5f8;         /* 公演の1行目（タイル版は上の部分）の背景 */
	--tsubosuke-tour-bg: #eef5f0;         /* ツアー中の公演の背景 */
	--tsubosuke-tour-accent: #2e6b46;     /* ツアーの見出しの色 */
	--tsubosuke-border: #dde2e8;          /* 枠線 */
	--tsubosuke-sun: #c62828;             /* 日曜・祝日 */
	--tsubosuke-sat: #1f5fbf;             /* 土曜 */
	--tsubosuke-radius: 10px;             /* 角の丸み */
	--tsubosuke-gap: 16px;                /* タイルの間隔 */
	--tsubosuke-flyer-width: 200px;       /* 広い画面での画像の幅（タイル版） */
	--tsubosuke-divider: #8fa6bd;          /* テーブル版: 公演と公演のあいだの線の色 */
	--tsubosuke-divider-width: 3px;       /* テーブル版: その線の太さ */
	--tsubosuke-flyer-fold: 1.5;          /* スマホのタイル版で、縦長のフライヤーを畳む高さ（見出し部分の高さの何倍か）。0 で畳まない */
	--tsubosuke-date-width: 9.5em;        /* 日付の列の幅（テーブル版） */

	margin: 1em 0 1.5em;
	color: var(--tsubosuke-text);
}

.tsubosuke-views .tsubosuke-view[hidden],
.tsubosuke-views [hidden] {
	display: none !important;
}

/* 表示の切り替えボタン */
.tsubosuke-switch {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	font-size: 0.85em;
}

.tsubosuke-switch__label {
	margin-right: 2px;
	color: var(--tsubosuke-muted);
}

.tsubosuke-views button.tsubosuke-switch__button {
	appearance: none;
	margin: 0;
	padding: 4px 14px;
	border: 1px solid var(--tsubosuke-accent);
	border-radius: 999px;
	background: var(--tsubosuke-bg);
	color: var(--tsubosuke-accent);
	font: inherit;
	font-weight: bold;
	line-height: 1.5;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tsubosuke-views button.tsubosuke-switch__button:hover {
	background: var(--tsubosuke-head-bg);
}

.tsubosuke-views button.tsubosuke-switch__button[aria-pressed="true"] {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text);
	cursor: default;
}

.tsubosuke-views button.tsubosuke-switch__button:focus-visible {
	outline: 2px solid var(--tsubosuke-accent);
	outline-offset: 2px;
}

/* 年月で選ぶメニュー */
.gigpress-menu-container {
	padding: 5px 0;
	text-align: right;
}

/* アーティスト別のまとめ表示の見出し */
/* アーティストごとにまとめるときの見出し（0.8.2: 見出しタグをやめ、テーマの飾りを受けないようにした） */
.tsubosuke-views .gigpress-artist-heading {
	margin: 1.6em 0 0.6em;
	padding: 0 0 4px;
	border-bottom: 2px solid var(--tsubosuke-accent);
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.4;
	color: var(--tsubosuke-text);
}

.tsubosuke-views .gigpress-artist-heading:first-child {
	margin-top: 0;
}

span.gigpress-artist-subscriptions {
	margin-left: 5px;
	float: right;
}


/* ==================================================================
   2. テーブル版
   ------------------------------------------------------------------
   骨組みは GigPress と同じ（1公演 = <tbody>。1行目 tr.gigpress-row、詳細 tr.gigpress-info）。
   テーマの表のスタイル（枠線や縞模様）に負けないよう、.tsubosuke-views の中だけで指定する。
   ================================================================== */

.tsubosuke-views table.gigpress-table {
	width: 100%;
	margin: 0;
	border: 1px solid var(--tsubosuke-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--tsubosuke-radius);
	overflow: hidden;
	background: var(--tsubosuke-bg);
	color: var(--tsubosuke-text);
	line-height: 1.6;
	table-layout: auto;
}

.tsubosuke-views table.gigpress-table tr,
.tsubosuke-views table.gigpress-table tbody {
	background: none;
	border: none;
}

.tsubosuke-views table.gigpress-table th,
.tsubosuke-views table.gigpress-table td {
	padding: 10px 14px;
	border: none;
	background: none;
	vertical-align: top;
	text-align: left;
	color: inherit;
}

/* 見出しの行 */
.tsubosuke-views table.gigpress-table tr.gigpress-header th {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text);
	font-size: 0.85em;
	font-weight: bold;
	letter-spacing: 0.08em;
	vertical-align: middle;
}

/* ツアー名の見出し */
.tsubosuke-views table.gigpress-table th.gigpress-heading {
	padding: 7px 12px;
	border-top: 1px solid var(--tsubosuke-border);
	background: var(--tsubosuke-tour-accent);
	color: #ffffff;
	font-size: 0.9em;
	font-weight: bold;
	letter-spacing: 0.04em;
}

.tsubosuke-views table.gigpress-table th.gigpress-heading h1,
.tsubosuke-views table.gigpress-table th.gigpress-heading h2,
.tsubosuke-views table.gigpress-table th.gigpress-heading h3,
.tsubosuke-views table.gigpress-table th.gigpress-heading h4,
.tsubosuke-views table.gigpress-table th.gigpress-heading h5 {
	margin: 0;
}

/* 公演の1行目（日付・出演・会場）。上の太い線で、公演ごとの区切りをはっきりさせる */
.tsubosuke-views table.gigpress-table tr.gigpress-row td {
	padding-top: 13px;
	padding-bottom: 13px;
	border-top: var(--tsubosuke-divider-width) solid var(--tsubosuke-divider);
	background: var(--tsubosuke-head-bg);
	font-weight: bold;
	vertical-align: middle;
}

.tsubosuke-views table.gigpress-table tr.gigpress-row td.gigpress-date {
	width: var(--tsubosuke-date-width);
	border-left: 4px solid var(--tsubosuke-accent);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.tsubosuke-views table.gigpress-table tr.gigpress-tour td {
	background-color: var(--tsubosuke-tour-bg);
}

.tsubosuke-views table.gigpress-table tr.gigpress-tour.gigpress-row td.gigpress-date {
	border-left-color: var(--tsubosuke-tour-accent);
}

.tsubosuke-views table.gigpress-table tr.gigpress-info.gigpress-tour td {
	background-color: var(--tsubosuke-bg);
}

/* 日付の色（日曜・祝日は赤、土曜は青） */
.tsubosuke-views table.gigpress-table td.gigpress-date.is-sat { color: var(--tsubosuke-sat); }
.tsubosuke-views table.gigpress-table td.gigpress-date.is-sun,
.tsubosuke-views table.gigpress-table td.gigpress-date.is-holiday { color: var(--tsubosuke-sun); }

.tsubosuke-views table.gigpress-table td.gigpress-date .gigpress-time-value {
	color: var(--tsubosuke-muted);
	font-size: 0.85em;
}

.tsubosuke-views table.gigpress-table td.gigpress-date .gigpress-holiday {
	font-size: 0.75em;
	font-weight: normal;
}

/* 日付: 広い画面では長い形式、狭い画面では短い形式 */
.gigpress-date-short { display: none; }

/* 出演 */
.tsubosuke-views table.gigpress-table td.gigpress-artist {
	font-size: 1.05em;
}

.tsubosuke-views table.gigpress-table td.gigpress-artist .gigpress-admittance {
	display: inline-block;
	color: var(--tsubosuke-accent);
	font-size: 0.8em;
}

.tsubosuke-views table.gigpress-table td.gigpress-artist a {
	color: inherit;
}

/* 会場 */
.tsubosuke-views table.gigpress-table td.gigpress-venue {
	color: var(--tsubosuke-text);
	font-size: 0.95em;
}

/* 詳細の行 */
.tsubosuke-views table.gigpress-table tr.gigpress-info td {
	padding-top: 9px;
	padding-bottom: 9px;
	background: var(--tsubosuke-bg);
	font-size: 0.92em;
}

.tsubosuke-views table.gigpress-table tr.gigpress-info + tr.gigpress-info td {
	border-top: 1px dashed var(--tsubosuke-border);
}

.tsubosuke-views table.gigpress-table tr.gigpress-info td.description {
	visibility: visible !important;
}

span.gigpress-info-item {
	white-space: pre-line;
	overflow-wrap: anywhere;
}

/* 「会場情報」「ライブ配信」の見出しのセル */
.tsubosuke-views table.gigpress-table td.gigpress-info-label {
	color: var(--tsubosuke-muted);
	font-size: 0.8em;
	letter-spacing: 0.06em;
}

.tsubosuke-views table.gigpress-table td.gigpress-info-label b {
	font-weight: bold;
}

/* 会場情報 */
.gigpress-venue-info .gigpress-venue-link {
	font-size: 0.85em;
}

.gigpress-venue-phone,
.gigpress-venue-address {
	color: var(--tsubosuke-muted);
}

/* フライヤー（とカレンダーに追加） */
.tsubosuke-views table.gigpress-table td.gigpress-flyer {
	font-size: 0.85em;
}

td.gigpress-flyer img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 6px;
	border: 1px solid var(--tsubosuke-border);
	border-radius: 6px;
}

/* 予約・詳細・関連記事のリンクはボタンの形に */
.tsubosuke-views table.gigpress-table a.gigpress-tickets-link,
.tsubosuke-views table.gigpress-table a.gigpress-external-link,
.tsubosuke-views table.gigpress-table .gigpress-related-item a {
	display: inline-block;
	margin: 6px 6px 0 0;
	padding: 4px 14px;
	border: 1px solid var(--tsubosuke-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--tsubosuke-accent) !important;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.5;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tsubosuke-views table.gigpress-table a.gigpress-tickets-link {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text) !important;
}

.tsubosuke-views table.gigpress-table a.gigpress-external-link:hover,
.tsubosuke-views table.gigpress-table .gigpress-related-item a:hover {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text) !important;
}

.tsubosuke-views table.gigpress-table a.gigpress-tickets-link:hover {
	filter: brightness(1.12);
}

/* ボタンの前の改行（テンプレートの <br />）は使わない */
.tsubosuke-views table.gigpress-table tr.gigpress-info span.gigpress-info-item > br:first-child {
	display: none;
}

/* 完売・中止の表示 */
strong.gigpress-cancelled,
strong.gigpress-soldout {
	display: inline-block;
	margin-top: 6px;
	padding: 1px 10px;
	border-radius: 999px;
	background: #6b7280;
	color: #ffffff;
	font-size: 0.85em;
	font-weight: bold;
	letter-spacing: 0.05em;
}

strong.gigpress-soldout {
	background: #b45309;
}

/* 中止の公演は灰色に */
.tsubosuke-views table.gigpress-table tr.gigpress-row.cancelled td,
.tsubosuke-views table.gigpress-table tr.gigpress-info.cancelled td {
	color: #9aa3ad;
}

.tsubosuke-views table.gigpress-table tr.gigpress-row.cancelled td.gigpress-artist {
	text-decoration: line-through;
	text-decoration-color: rgba(0, 0, 0, 0.35);
}

/* カレンダーに追加 */
.gigpress-calendar-add {
	position: relative;
}

.tsubosuke-views table.gigpress-table a.gigpress-links-toggle::before { content: "+ "; }
.tsubosuke-views table.gigpress-table a.gigpress-link-active::before { content: "− "; }

div.gigpress-calendar-links {
	display: none;
}

.tsubosuke-views table.gigpress-table .gigpress-calendar-links-inner {
	margin-top: 4px;
	padding: 6px 8px;
	border-radius: 6px;
	background: var(--tsubosuke-head-bg);
	line-height: 1.7;
}

div.gigpress-calendar-links span {
	display: block;
}

/* 狭い画面（スマホ）: 列はそのままで、余白と文字を小さくする */
@media (max-width: 600px) {
	.tsubosuke-views table.gigpress-table .gigpress-date-long { display: none; }
	.tsubosuke-views table.gigpress-table .gigpress-date-short { display: inline; }

	.tsubosuke-views table.gigpress-table {
		font-size: 0.9em;
	}

	.tsubosuke-views table.gigpress-table th,
	.tsubosuke-views table.gigpress-table td {
		padding: 8px 8px;
	}

	.tsubosuke-views table.gigpress-table tr.gigpress-row td {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	/* 日付・フライヤー・「会場情報」の列は、全体の4分の1くらいに */
	.tsubosuke-views table.gigpress-table tr.gigpress-row td.gigpress-date,
	.tsubosuke-views table.gigpress-table td.gigpress-flyer,
	.tsubosuke-views table.gigpress-table td.gigpress-info-label {
		width: 25%;
	}

	.tsubosuke-views table.gigpress-table tr.gigpress-row td.gigpress-date {
		border-left-width: 3px;
		white-space: normal;
	}

	.tsubosuke-views table.gigpress-table td.gigpress-artist {
		font-size: 1em;
	}

	.tsubosuke-views table.gigpress-table td.gigpress-flyer {
		font-size: 0.8em;
	}

	.tsubosuke-views table.gigpress-table td.gigpress-flyer img {
		width: 100%;
	}

	.tsubosuke-views table.gigpress-table a.gigpress-tickets-link,
	.tsubosuke-views table.gigpress-table a.gigpress-external-link,
	.tsubosuke-views table.gigpress-table .gigpress-related-item a {
		padding: 3px 12px;
	}
}


/* ==================================================================
   3. タイル版（クラス名は tsubosuke-*）
   ================================================================== */

.tsubosuke-list {
	display: flex;
	flex-direction: column;
	gap: var(--tsubosuke-gap);
	margin: 0;
	color: var(--tsubosuke-text);
	line-height: 1.6;
}

.tsubosuke-list * {
	box-sizing: border-box;
}

/* ツアー名の見出し */
.tsubosuke-tour-heading {
	margin-top: 0.5em;
	padding: 0.2em 0 0.2em 0.75em;
	border-left: 4px solid var(--tsubosuke-tour-accent);
	color: var(--tsubosuke-tour-accent);
	font-weight: bold;
	line-height: 1.4;
}

.tsubosuke-tour-heading__label {
	display: block;
	font-size: 0.75em;
	letter-spacing: 0.08em;
	opacity: 0.8;
}

/* カード */
.tsubosuke-card {
	background: var(--tsubosuke-bg);
	border: 1px solid var(--tsubosuke-border);
	border-radius: var(--tsubosuke-radius);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.tsubosuke-card__head {
	display: flex;
	align-items: stretch;
	gap: 14px;
	padding: 14px 16px;
	background: var(--tsubosuke-head-bg);
	border-bottom: 1px solid var(--tsubosuke-border);
}

.tsubosuke-card.is-tour .tsubosuke-card__head {
	background: var(--tsubosuke-tour-bg);
}

/* 日付のかたまり */
.tsubosuke-card__date {
	flex: 0 0 auto;
	min-width: 4.6em;
	padding-right: 14px;
	border-right: 3px solid var(--tsubosuke-accent);
	text-align: center;
	line-height: 1.15;
}

.tsubosuke-card__year {
	display: block;
	font-size: 0.75em;
	color: var(--tsubosuke-muted);
	letter-spacing: 0.05em;
}

.tsubosuke-card__md {
	display: block;
	font-size: 1.6em;
	font-weight: bold;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}

.tsubosuke-card__dow {
	display: inline-block;
	margin-top: 3px;
	font-size: 0.85em;
	font-weight: bold;
}

.tsubosuke-card__date.is-sat .tsubosuke-card__md,
.tsubosuke-card__date.is-sat .tsubosuke-card__dow { color: var(--tsubosuke-sat); }
.tsubosuke-card__date.is-sun .tsubosuke-card__md,
.tsubosuke-card__date.is-sun .tsubosuke-card__dow,
.tsubosuke-card__date.is-holiday .tsubosuke-card__md,
.tsubosuke-card__date.is-holiday .tsubosuke-card__dow { color: var(--tsubosuke-sun); }

.tsubosuke-card__holiday,
.tsubosuke-card__enddate {
	display: block;
	margin-top: 3px;
	font-size: 0.7em;
	color: var(--tsubosuke-sun);
}

.tsubosuke-card__enddate {
	color: var(--tsubosuke-muted);
}

/* 出演・会場 */
.tsubosuke-card__heading {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tsubosuke-list .tsubosuke-card__meta,
.tsubosuke-list .tsubosuke-card__venue {
	margin: 0;
	color: var(--tsubosuke-muted);
	font-size: 0.85em;
}

.tsubosuke-card__meta > span + span::before {
	content: "／";
	margin: 0 0.25em;
	color: var(--tsubosuke-border);
}

.tsubosuke-card__meta > .tsubosuke-badge + span::before {
	content: none;
}

.tsubosuke-card__time {
	font-weight: bold;
	color: var(--tsubosuke-text);
	font-variant-numeric: tabular-nums;
}

.tsubosuke-views .tsubosuke-card__title {
	margin: 2px 0;
	padding: 0;
	border: none;
	background: none;
	font-size: 1.15em;
	font-weight: bold;
	line-height: 1.35;
	color: var(--tsubosuke-text);
}

.tsubosuke-views .tsubosuke-card__title::before,
.tsubosuke-views .tsubosuke-card__title::after {
	content: none;
}

.tsubosuke-views .tsubosuke-card__title a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.tsubosuke-card__city {
	font-weight: bold;
	margin-right: 0.3em;
}

.tsubosuke-card__venue-name a {
	color: inherit;
}

/* タイトル（公演の「タイトル」欄） */
.tsubosuke-list .tsubosuke-card__lead {
	margin: 0;
	font-size: 0.9em;
	font-weight: bold;
	color: var(--tsubosuke-accent);
	line-height: 1.4;
}

/* 完売・中止のしるし */
.tsubosuke-badge {
	display: inline-block;
	margin-right: 0.5em;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0.05em;
	line-height: 1.6;
	vertical-align: 1px;
	background: #111;
	color: #fff;
}

.tsubosuke-badge--soldout { background: #b45309; }
.tsubosuke-badge--cancelled { background: #6b7280; }

.tsubosuke-card.is-cancelled .tsubosuke-card__title,
.tsubosuke-card.is-cancelled .tsubosuke-card__md {
	text-decoration: line-through;
	text-decoration-color: rgba(0, 0, 0, 0.45);
}

.tsubosuke-card.is-cancelled .tsubosuke-card__body {
	opacity: 0.7;
}

/* 本文（画像と詳細） */
.tsubosuke-card__body {
	display: flex;
	gap: 16px;
	padding: 14px 16px 16px;
}

.tsubosuke-list .tsubosuke-card__flyer {
	flex: 0 0 var(--tsubosuke-flyer-width);
	margin: 0;
}

.tsubosuke-card__flyer a {
	display: block;
}

.tsubosuke-card__flyer img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--tsubosuke-radius) * 0.6);
	border: 1px solid var(--tsubosuke-border);
}

/* アーティストの画像・代わりの画像（フライヤーがないとき）は、正方形に切り抜いて少し控えめに */
.tsubosuke-card__flyer.is-artist img,
.tsubosuke-card__flyer.is-fallback img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.tsubosuke-card.is-past .tsubosuke-card__flyer.is-fallback img {
	opacity: 0.8;
}

.tsubosuke-card__detail {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.92em;
}

.tsubosuke-card__notes {
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.tsubosuke-list .tsubosuke-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}

.tsubosuke-list a.tsubosuke-button {
	display: inline-block;
	margin: 0;
	padding: 7px 16px;
	border: 1px solid var(--tsubosuke-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--tsubosuke-accent) !important;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tsubosuke-list a.tsubosuke-button:hover,
.tsubosuke-list a.tsubosuke-button:focus-visible {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text) !important;
	transform: none;
}

.tsubosuke-list a.tsubosuke-button--primary {
	background: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent-text) !important;
}

.tsubosuke-list a.tsubosuke-button--primary:hover,
.tsubosuke-list a.tsubosuke-button--primary:focus-visible {
	filter: brightness(1.12);
}

/* 配信・会場情報 */
.tsubosuke-card__section {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px dashed var(--tsubosuke-border);
}

.tsubosuke-views .tsubosuke-card__section-title {
	margin: 0 0 2px;
	padding: 0;
	border: none;
	background: none;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0.08em;
	color: var(--tsubosuke-muted);
}

.tsubosuke-views .tsubosuke-card__section-title::before,
.tsubosuke-views .tsubosuke-card__section-title::after {
	content: none;
}

.tsubosuke-card__detail > .tsubosuke-card__section:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.tsubosuke-card__section p {
	margin: 0;
}

.tsubosuke-card__stream-text {
	white-space: pre-line;
}

.tsubosuke-card__venue-line {
	font-weight: bold;
}

.tsubosuke-card__link {
	display: inline-block;
	margin-left: 0.4em;
	font-size: 0.85em;
}

.tsubosuke-card__address,
.tsubosuke-card__phone {
	color: var(--tsubosuke-muted);
	font-size: 0.9em;
}

/* カレンダーに追加 */
.tsubosuke-card__calendar {
	margin-top: 12px;
	font-size: 0.85em;
}

.tsubosuke-card__calendar a.gigpress-links-toggle::before {
	content: "+ ";
}

.tsubosuke-card__calendar a.gigpress-link-active::before {
	content: "− ";
}

.tsubosuke-card__calendar div.gigpress-calendar-links {
	display: none;
}

.tsubosuke-card__calendar .gigpress-calendar-links-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 6px;
	padding: 8px 12px;
	border-radius: 6px;
	background: var(--tsubosuke-head-bg);
}

/* 過去の公演は控えめに */
.tsubosuke-card.is-past .tsubosuke-card__head {
	background: var(--tsubosuke-bg);
}

.tsubosuke-card.is-past .tsubosuke-card__date {
	border-right-color: var(--tsubosuke-border);
}

/* 狭い画面（スマホ） */
@media (max-width: 600px) {
	.tsubosuke-card__head {
		padding: 12px;
		gap: 12px;
	}
	.tsubosuke-card__date {
		min-width: 3.9em;
		padding-right: 12px;
	}
	.tsubosuke-card__md {
		font-size: 1.35em;
	}
	.tsubosuke-card__body {
		flex-direction: column;
		padding: 12px;
	}
	.tsubosuke-list .tsubosuke-card__flyer {
		flex-basis: auto;
		max-width: 320px;
		width: 100%;
		margin: 0 auto;
	}
	.tsubosuke-list .tsubosuke-card__flyer.is-artist,
	.tsubosuke-list .tsubosuke-card__flyer.is-fallback {
		max-width: 200px;
	}
}

/* スマホで縦長のフライヤーを畳む（0.8.2）。高さは JS が見出し部分の高さから決める。
   フライヤーだけが対象で、アーティストの画像・代わりの画像は畳まない。 */
.tsubosuke-card__flyer.is-folded:not(.is-open) > a {
	max-height: var(--tsubosuke-fold-height, 200px);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.tsubosuke-card__flyer.is-folded:not(.is-open) > a img {
	border-bottom: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.tsubosuke-views .tsubosuke-card__unfold {
	display: block;
	width: auto;
	margin: 4px auto 0;
	padding: 3px 14px;
	border: 1px solid var(--tsubosuke-border);
	border-radius: 999px;
	background: var(--tsubosuke-bg);
	color: var(--tsubosuke-accent);
	font: inherit;
	font-size: 0.8em;
	font-weight: bold;
	line-height: 1.6;
	box-shadow: none;
	cursor: pointer;
}

.tsubosuke-views .tsubosuke-card__unfold:hover,
.tsubosuke-views .tsubosuke-card__unfold:focus-visible {
	border-color: var(--tsubosuke-accent);
}

.tsubosuke-views .tsubosuke-card__unfold[hidden] {
	display: none !important;
}


/* 記事の中の「関連ライブ情報」（0.8.4〜 タイル版と同じ見た目） */
.tsubosuke-views.tsubosuke-related {
	margin: 2em 0;
}

.tsubosuke-views .tsubosuke-related__heading {
	margin: 0 0 0.8em;
	padding: 0 0 4px;
	border-bottom: 2px solid var(--tsubosuke-accent);
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.4;
	color: var(--tsubosuke-text);
}

/* ==================================================================
   4. テキスト版
   ================================================================== */

.tsubosuke-text {
	border: 1px solid var(--tsubosuke-border);
	border-radius: var(--tsubosuke-radius);
	background: var(--tsubosuke-bg);
	overflow: hidden;
}

.tsubosuke-text__tools {
	display: flex;
	justify-content: flex-end;
	padding: 6px 10px;
	border-bottom: 1px solid var(--tsubosuke-border);
	background: var(--tsubosuke-head-bg);
}

.tsubosuke-text__tools:not(:has(button:not([hidden]))) {
	display: none;
}

.tsubosuke-views button.tsubosuke-text__copy {
	appearance: none;
	margin: 0;
	padding: 3px 12px;
	border: 1px solid var(--tsubosuke-border);
	border-radius: 6px;
	background: var(--tsubosuke-bg);
	color: var(--tsubosuke-text);
	font: inherit;
	font-size: 0.8em;
	line-height: 1.5;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}

.tsubosuke-views button.tsubosuke-text__copy:hover {
	border-color: var(--tsubosuke-accent);
	color: var(--tsubosuke-accent);
}

.tsubosuke-text__body {
	padding: 14px 18px 4px;
	font-size: 0.95em;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.tsubosuke-views .tsubosuke-text__body p {
	margin: 0 0 1.2em;
	padding: 0;
}

.tsubosuke-text__first {
	font-weight: bold;
}

.tsubosuke-views .tsubosuke-text__body p.tsubosuke-text__tour {
	margin-bottom: 0.6em;
	color: var(--tsubosuke-tour-accent);
	font-weight: bold;
}

.tsubosuke-text__show.is-cancelled {
	color: var(--tsubosuke-muted);
}


/* ==================================================================
   5. サイドバー、関連公演、購読リンク
   ================================================================== */

/* RSS・iCal の購読リンク */
p.gigpress-subscribe {
	text-align: left;
	color: #999;
}

p.gigpress-subscribe a {
	display: inline-block;
	text-indent: -9999px;
	width: 12px;
	margin: 0 3px;
}

a.gigpress-rss, a.gigpress-rss:hover {
	background: transparent url(../images/feed-icon-12x12.png) no-repeat left center;
}

a.gigpress-ical, a.gigpress-ical:hover {
	background: transparent url(../images/icalendar-icon.gif) no-repeat left center;
}

/* サイドバー */
span.gigpress-list-tour-heading {
	font-weight: bold;
	font-size: 110%;
}

span.gigpress-sidebar-date {
	font-weight: bold;
	display: block;
}

ul.gigpress-listing strong.gigpress-soldout, ul.gigpress-listing a.gigpress-tickets-link {
	display: block;
}

/* 投稿の中に出す関連公演 */
ul.gigpress-related-show {
	margin: 0 0 2em;
}

ul.gigpress-related-show ul, ul.gigpress-related-show li {
	list-style: none outside none;
	margin: 0;
	padding: 0;
}

.gigpress-related-label {
	font-weight: bold;
}

.hide {
	display: none;
}
