@charset "UTF-8";
/*
 * アプリ風UI（Web版をアプリの画面に寄せるための部品）
 *
 * - 新しい画面だけで読み込む（ページ側で $useAppUi = true; を設定すると commonHead.php が読み込む）
 * - すべて .appUi の中だけに効くようにして、既存ページのCSSには影響させない
 * - 色はアプリ（ios/Filmog/Assets.xcassets）の定義に合わせている
 */

.appUi {
	--app-bg: #FFFFFF;            /* BackgroundColor2 */
	--app-input-area: #f1f1f1;    /* 入力部分の背景。アプリの InputAreaBackground（#F5F6FA）ではなく、Web版はサイト共通の薄いグレーにそろえる */
	--app-card: #FFFFFF;          /* CardBackground */
	--app-blue: #29ABE1;          /* AccentColorBlue / AccentColor */
	--app-orange: #FF9C00;        /* AccentColorOrange */
	--app-gray1: #DEDEDE;         /* ColorGray1 */
	--app-divider: #E3E3E8;
	--app-text: #1C1C1E;
	--app-text-sub: #8E8E93;

	max-width: 560px;
	margin: 0 auto 60px;
	background: var(--app-input-area);
	color: var(--app-text);
	font-size: 16px;
	line-height: 1.5;
}
.appUi *,
.appUi *::before,
.appUi *::after {
	box-sizing: border-box;
}

/* 上部バー（キャンセル / 記録する） */
.appUi__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: var(--app-bg);
	border-bottom: 1px solid var(--app-divider);
}
.appUi__bar__cancel {
	color: var(--app-blue);
	text-decoration: none;
}

/* 上部バーの右側に2つ並べるとき（ノートの「下書き｜投稿」） */
.appUi__bar__right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* 作品名 */
.appUi__title {
	padding: 20px 15px 10px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	background: var(--app-bg);
}
.appUi__subtitle {
	padding: 0 15px 10px;
	text-align: center;
	color: var(--app-text-sub);
	background: var(--app-bg);
}

/* 入力のまとまり */
.appUi__section {
	padding: 24px 20px;
	border-top: 1px solid var(--app-divider);
}
.appUi__section:first-of-type {
	border-top: none;
}
.appUi__label {
	display: block;
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: bold;
}
.appUi__label--small {
	font-size: 15px;
	font-weight: normal;
}
.appUi__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.appUi__row + .appUi__row {
	margin-top: 10px;
}
.appUi__item {
	display: flex;
	align-items: center;
	gap: 6px;
}
.appUi__note {
	margin-top: 4px;
	text-align: right;
	font-size: 12px;
	color: var(--app-text-sub);
}
.appUi__note.is-limit {
	color: #FF3B30;
}
.appUi__alert {
	margin: 0;
	padding: 12px 20px 0;
	color: var(--app-orange);
	font-size: 15px;
	text-align: center;
}

.appUi__label--spaced {
	margin-top: 16px;
}
.appUi__label--inline {
	margin-bottom: 0;
}
/* 見出しと右側のボタンを1行に並べる（ノートの「画像」） */
.appUi__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

/* 1行の入力（ノートのタイトル） */
.appUi-input {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--app-gray1);
	border-radius: 5px;
	background: var(--app-bg);
	color: var(--app-text);
	font-size: 16px;
	font-family: inherit;
}
.appUi-input:focus {
	outline: none;
	border-color: var(--app-blue);
}

/* 星の評価（アプリの Slider：0.5〜5、両端に Bad / Good） */
.appUi-star__value {
	display: block;
	min-height: 40px;
	text-align: center;
	font-size: 28px;
	line-height: 40px;
}
.appUi-star__slider {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 30px;
	background: var(--app-card);
	font-size: 14px;
	color: var(--app-text-sub);
}
.appUi-star__slider input[type="range"] {
	flex: 1;
	min-width: 0;
	accent-color: var(--app-blue);
	cursor: pointer;
}

/* 画像（ノート）。選択・縮小の動きは映画と同じ note-image.js を使うので .entryImage を付けている。その既存の見た目は打ち消す */
.appUi .appUi__section.entryImage {
	width: auto;
	margin: 0;
	background: transparent;
}
.appUi-image {
	position: relative;
	margin-top: 12px;
}
.appUi-image img {
	display: block;
	max-width: 100%;
	max-height: 360px;
	margin: 0 auto;
	border-radius: 6px;
}
.appUi-image__clear {
	display: block;
	margin: 8px auto 0;
	padding: 0;
	border: none;
	background: none;
	color: var(--app-blue);
	font-size: 14px;
	cursor: pointer;
}
.appUi-image__remove {
	margin-top: 10px;
	font-size: 14px;
}

/* オン・オフの切り替え（アプリの Toggle） */
.appUi-switch {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
}
.appUi-switch + .appUi-switch {
	margin-top: 16px;
}
.appUi-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.appUi-switch__label {
	font-size: 15px;
}
.appUi-switch__note {
	display: block;
	font-size: 12px;
	color: var(--app-text-sub);
}
.appUi-switch__track {
	position: relative;
	flex: none;
	width: 51px;
	height: 31px;
	border-radius: 31px;
	background: #E9E9EB;
	transition: background .2s;
}
.appUi-switch__track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	transition: transform .2s;
}
.appUi-switch input:checked + .appUi-switch__track {
	background: #34C759;
}
.appUi-switch input:checked + .appUi-switch__track::after {
	transform: translateX(20px);
}
.appUi-switch input:focus-visible + .appUi-switch__track {
	outline: 2px solid var(--app-blue);
	outline-offset: 2px;
}

/* チェックボックス（アプリの checkmark.square.fill） */
.appUi-check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.appUi-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.appUi-check__box {
	flex: none;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--app-blue);
	border-radius: 4px;
	background: var(--app-card);
}
.appUi-check input:checked + .appUi-check__box {
	background: var(--app-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.appUi-check input:focus-visible + .appUi-check__box {
	outline: 2px solid var(--app-blue);
	outline-offset: 2px;
}

/* セレクト（アプリの角丸メニュー） */
.appUi-select {
	min-width: 70px;
	height: 34px;
	padding: 0 10px;
	border: none;
	border-radius: 8px;
	background: var(--app-card);
	color: var(--app-text);
	font-size: 16px;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.appUi-select:disabled {
	background: transparent;
	color: var(--app-text-sub);
	cursor: default;
}
.appUi-select:focus-visible {
	outline: 2px solid var(--app-blue);
}

/* テキスト入力 */
.appUi-textarea {
	display: block;
	width: 100%;
	height: 60px;
	padding: 8px;
	border: 1px solid var(--app-gray1);
	border-radius: 5px;
	background: var(--app-bg);
	color: var(--app-text);
	font-size: 16px;
	font-family: inherit;
	resize: none;
}
.appUi-textarea--tall {
	height: 170px;
	resize: vertical;
}
.appUi-textarea:focus {
	outline: none;
	border-color: var(--app-blue);
}

/* 選択リスト（アプリの白いカード＋丸いラジオ） */
.appUi-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 10px;
	background: var(--app-card);
	overflow: hidden;
}
.appUi-list__item {
	margin: 0 16px;
}
.appUi-list__item + .appUi-list__item {
	border-top: 1px solid var(--app-divider);
}
.appUi-radio {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 0;
	cursor: pointer;
}
.appUi-radio input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.appUi-radio__mark {
	flex: none;
	width: 22px;
	height: 22px;
	border: 1.5px solid var(--app-blue);
	border-radius: 50%;
}
.appUi-radio input:checked + .appUi-radio__mark {
	background: var(--app-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.appUi-radio input:focus-visible + .appUi-radio__mark {
	outline: 2px solid var(--app-blue);
	outline-offset: 2px;
}
.appUi-radio__sub {
	margin-left: auto;
	font-size: 13px;
	color: var(--app-text-sub);
}
.appUi-list--nested {
	margin-top: 8px;
}

/* 映画館を選んだときの劇場の選択（都道府県・劇場名） */
.appUi-theater {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 14px 32px;
}
.appUi-select--wide {
	width: 100%;
	padding-right: 30px;
	text-align: left;
	background: var(--app-input-area) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238E8E93' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 10px no-repeat;
}
.appUi-select--wide:disabled {
	background-color: var(--app-input-area);
}
.appUi__note--left {
	margin: 0;
	text-align: left;
}

/* ボタン */
.appUi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 16px;
	border: none;
	border-radius: 999px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}
.appUi-btn--primary {
	background: var(--app-orange);
	color: #FFFFFF;
}
.appUi-btn--primary:disabled {
	opacity: .5;
	cursor: default;
}
.appUi-btn--secondary {
	background: var(--app-card);
	color: var(--app-blue);
	border: 1px solid var(--app-blue);
}
.appUi-btn--text {
	padding: 6px 8px;
	background: transparent;
	color: var(--app-blue);
	font-weight: normal;
}
.appUi-btn--small {
	min-height: 30px;
	padding: 4px 14px;
	font-size: 14px;
	font-weight: normal;
}
.appUi-btn--danger {
	background: transparent;
	color: #FF3B30;
	border: 1px solid #FF3B30;
}
.appUi-btn--block {
	display: flex;
	width: 100%;
	min-height: 48px;
}
.appUi__actions {
	padding: 24px 20px 30px;
}
.appUi__actions .appUi-btn + .appUi-btn {
	margin-top: 12px;
}
/* 変更画面の削除ボタン（送信ボタンと離して置く） */
.appUi__actions--delete {
	padding-top: 0;
}

/* 完了画面（アプリの WatchlogCompleteView：作品名・「記録が完了しました」・ボタンを縦に並べる） */
.appUi__title__sub {
	display: block;
}
.appUi__complete {
	padding: 60px 20px;
	text-align: center;
	font-size: 22px;
}
.appUi--done .appUi__actions {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

@media screen and (min-width: 561px) {
	.appUi {
		margin-top: 30px;
		border-radius: 12px;
		overflow: hidden;
	}
}

/* 入力画面（body.appUiModal）：アプリの全画面モーダルと同じく、スマホでは共通ヘッダー・フッターを出さない。
   PCではサイト内の移動に使うので残す。フッターのリンクはほかのページとスマホのメニューから行ける */
@media only screen and (max-width: 1020px) {
	.appUiModal .header,
	.appUiModal .footer {
		display: none;
	}
	/* 入力が短い画面（評価など）でも、下の余白をサイトの灰色ではなく入力部分と同じ色にする */
	body.appUiModal {
		background: #f1f1f1; /* サイト共通の薄いグレー（.appUi の --app-input-area と同じ色） */
	}
	/* アプリと同じく「キャンセル｜記録する」のバーを画面上部に固定する。
	   overflow: hidden があると固定（sticky）が効かないので、角丸のカード表示もやめてアプリと同じ全面表示にする */
	.appUiModal .appUi {
		margin-top: 0;
		border-radius: 0;
		overflow: visible;
	}
	.appUiModal .appUi__bar {
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 100;
	}
}

/* 送信ボタンの位置：スマホはアプリと同じ右上、パソコンはフォームの下（サイト共通の切り替え幅 1020px に合わせる） */
@media only screen and (max-width: 1020px) {
	.appUi__actions--pc {
		display: none;
	}
}
@media only screen and (min-width: 1021px) {
	.appUi__bar__submit {
		display: none;
	}
	/* 横幅いっぱいだと長すぎるので、PCでは程よい幅で中央に置く */
	.appUi__actions--delete .appUi-btn--block,
	.appUi__actions--pc .appUi-btn--block {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
	/* 入力画面のPC表示：ページ全体の背景を入力部分と同じ薄いグレーにして、外側との境目をなくす。
	   上部バーと作品名の白背景、バーの下線も出さない */
	body.appUiModal {
		background: #f1f1f1; /* サイト共通の薄いグレー（.appUi の --app-input-area と同じ色） */
	}
	.appUiModal .appUi__bar,
	.appUiModal .appUi__title,
	.appUiModal .appUi__subtitle {
		background: transparent;
	}
	.appUiModal .appUi__bar {
		border-bottom: none;
	}
}
/* 入力画面のタブレット幅（561〜1020px）：スマホと同じ見た目を画面幅いっぱいに広げる。
   白いバー・作品名・区切り線は端から端まで出し、中身だけ幅560pxの列に収めて間延びさせない */
@media only screen and (min-width: 561px) and (max-width: 1020px) {
	body.appUiModal {
		background: #f1f1f1; /* サイト共通の薄いグレー（.appUi の --app-input-area と同じ色） */
	}
	.appUiModal .appUi {
		max-width: none;
	}
	.appUiModal .appUi__bar {
		padding-left: calc((100% - 560px) / 2 + 16px);
		padding-right: calc((100% - 560px) / 2 + 16px);
	}
	.appUiModal .appUi__title,
	.appUiModal .appUi__subtitle {
		padding-left: calc((100% - 560px) / 2 + 15px);
		padding-right: calc((100% - 560px) / 2 + 15px);
	}
	.appUiModal .appUi__alert,
	.appUiModal .appUi__section,
	.appUiModal .appUi__actions--delete {
		padding-left: calc((100% - 560px) / 2 + 20px);
		padding-right: calc((100% - 560px) / 2 + 20px);
	}
}

/* 完了画面のスマホ・タブレット幅（〜1020px）：アプリと同じく画面全体を白にして、中身を上下中央に置く */
@media only screen and (max-width: 1020px) {
	body.appUiModal .appUi--done {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 100vh;
		min-height: 100dvh;
		margin-bottom: 0;
		background: var(--app-bg);
	}
	.appUiModal .appUi--done .appUi__title {
		padding-left: 15px;
		padding-right: 15px;
	}
}
/* 完了画面のPC表示：入力画面と同じく、ページの背景（#f1f1f1）にそのままのせる */
@media only screen and (min-width: 1021px) {
	.appUi--done {
		background: transparent;
	}
	.appUi--done .appUi-btn--block {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ==========================================================================
   設定画面（アプリの Form：グループ化したリスト）
   見出し・白い角丸のまとまり・行（左に項目名、右に値）・下の注記
========================================================================== */
/* 上部バーの中央の画面名（アカウント設定など） */
.appUi__bar--titled {
	position: relative;
}
.appUi__bar__title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 17px;
	font-weight: bold;
	white-space: nowrap;
	pointer-events: none;
}
/* 左上の「＜ 戻る」 */
.appUi__bar__back {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: var(--app-blue);
	text-decoration: none;
}
.appUi__bar__back::before {
	content: "";
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
/* バーの右の文字だけのボタン（アプリのナビゲーションバーの「保存」） */
.appUi__bar__save {
	padding: 0;
	border: none;
	background: none;
	color: var(--app-blue);
	font-size: 17px;
	font-weight: bold;
	font-family: inherit;
	cursor: pointer;
}
.appUi__bar__save:disabled {
	opacity: .4;
	cursor: default;
}

.appUi-groups {
	padding: 20px 16px 40px;
}
.appUi-group {
	margin-top: 32px;
}
.appUi-groups > :first-child {
	margin-top: 0;
}
.appUi-group__header {
	padding: 0 16px 6px;
	font-size: 13px;
	color: var(--app-text-sub);
}
.appUi-group__body {
	border-radius: 10px;
	background: var(--app-card);
	overflow: hidden;
}
.appUi-group__footer {
	padding: 6px 16px 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--app-text-sub);
}
.appUi-group__row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 6px 16px;
	color: var(--app-text);
	text-decoration: none;
}
/* 行の区切り線（アプリと同じく左を空ける） */
.appUi-group__row + .appUi-group__row::before {
	content: "";
	position: absolute;
	top: 0;
	left: 16px;
	right: 0;
	border-top: 1px solid var(--app-divider);
}
.appUi-group__label {
	flex: none;
}
.appUi-group__value {
	flex: 1;
	min-width: 0;
	text-align: right;
	color: var(--app-text-sub);
}
/* 行の中の入力（右寄せの灰色の文字） */
.appUi-group__input {
	flex: 1;
	min-width: 0;
	height: 34px;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--app-text-sub);
	font-size: 16px;
	font-family: inherit;
	text-align: right;
}
.appUi-group__input:focus {
	outline: none;
	color: var(--app-text);
}
.appUi-group__input--left {
	text-align: left;
}
/* 行の中の選択（アプリのメニューの Picker：選んだ値と上下の矢印） */
.appUi-group__select {
	position: relative;
	flex: 1;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}
.appUi-group__select select {
	max-width: 100%;
	height: 34px;
	padding: 0 18px 0 0;
	border: none;
	background: transparent;
	color: var(--app-text-sub);
	font-size: 16px;
	font-family: inherit;
	text-align: right;
	text-align-last: right;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.appUi-group__select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 2px;
	width: 8px;
	height: 12px;
	margin-top: -6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M1 4.2L4 1.2l3 3M1 7.8l3 3 3-3' fill='none' stroke='%238E8E93' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.appUi-group__select select:focus-visible {
	outline: 2px solid var(--app-blue);
	outline-offset: 2px;
}
/* 別の画面へ進む行（右に「>」） */
.appUi-group__row--link::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-left: auto;
	border-top: 2px solid #C4C4C7;
	border-right: 2px solid #C4C4C7;
	transform: rotate(45deg);
}
.appUi-group__row--link:hover {
	background: #F2F2F7;
}
/* 危険な操作（退会する）：赤い文字を中央に */
.appUi-group__row--danger {
	justify-content: center;
	color: #FF3B30;
}
.appUi-group__row--danger:hover {
	background: #F2F2F7;
}

/* プロフィール画像（アカウント画面の一番上：丸い画像と「画像を変更」） */
.appUi-avatar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-top: 4px;
}
.appUi-avatar img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	background: #E5E5EA;
}
.appUi-avatar a,
.appUi-avatar label {
	font-size: 15px;
	color: var(--app-blue);
	text-decoration: none;
	cursor: pointer;
}
.appUi-avatar--large img {
	width: 180px;
	height: 180px;
}

/* 保存などの結果（アプリのアカウント画面の一番上のメッセージ） */
.appUi-result {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--app-card);
	font-size: 14px;
	color: var(--app-text-sub);
}
.appUi-result--error {
	color: #FF3B30;
}

/* 枠付きのまとめ（退会画面の「見られなくなるデータ」） */
.appUi-box {
	padding: 15px;
	border: 1px solid rgba(142, 142, 147, .4);
	border-radius: 6px;
	background: var(--app-card);
	font-size: 15px;
	font-weight: bold;
	line-height: 1.8;
}
.appUi__text {
	margin: 0 0 15px;
	font-size: 15px;
	line-height: 1.7;
}
.appUi__caption {
	margin: 15px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--app-text-sub);
}
.appUi-avatar__caption {
	margin: 0 0 16px;
	text-align: center;
	font-size: 13px;
	color: var(--app-text-sub);
}
.appUi-avatar .appUi-avatar__pick {
	margin-top: 16px;
	color: var(--app-blue);
}

/* 退会画面（アプリの SettingWithdrawView） */
.appUi-btn--strong {
	width: 100%;
	min-height: 52px;
	border-radius: 7px;
}
.appUi-withdraw__field {
	margin-top: 28px;
}
.appUi-withdraw__label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
}
.appUi-withdraw__reasons {
	margin: 0;
	padding: 0;
	list-style: none;
}
.appUi-withdraw__reasons li {
	padding: 6px 0;
}
.appUi-withdraw__reasons .appUi-check {
	font-size: 15px;
}
.appUi-withdraw__comment {
	height: 110px;
	resize: vertical;
}
.appUi-withdraw__error {
	margin: 10px 0 0;
	font-size: 13px;
	color: #FF3B30;
}
.appUi-withdraw__block {
	margin-top: 24px;
}
.appUi-withdraw__block a {
	color: inherit;
	text-decoration: underline;
}
.appUi-withdraw__submit {
	margin-top: 30px;
}
@media only screen and (min-width: 1021px) {
	.appUi-withdraw__submit .appUi-btn--strong {
		display: flex;
		max-width: 320px;
		margin: 0 auto;
	}
}
.appUi-withdrawDone__text {
	padding: 20px 15px 40px;
	text-align: center;
}
/* バーのすぐ下に来るまとまり（パスワード・プロフィール画像）：上の区切り線を出さない */
.appUi__section--plain {
	border-top: none;
}

/* パスワード欄（右端に「表示する」の目のボタン。表示・非表示で高さが変わらないよう固定） */
.appUi-pwField {
	position: relative;
}
.appUi-pwField .appUi-input {
	height: 44px;
	padding-right: 48px;
	line-height: normal;
}
.appUi-pwField .appUi-pwField__eye {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	color: var(--app-text-sub);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}
.appUi-pwField__eye svg {
	width: 22px;
	height: 22px;
}
.appUi-pwField__eye .appUi-pwField__off {
	display: none;
}
.appUi-pwField__eye[aria-pressed="true"] .appUi-pwField__on {
	display: none;
}
.appUi-pwField__eye[aria-pressed="true"] .appUi-pwField__off {
	display: block;
}
.appUi__note--hint {
	margin-top: 6px;
}
.appUi__forgot {
	margin: 16px 0 0;
	font-size: 14px;
	text-align: center;
}
.appUi__forgot a {
	color: var(--app-blue);
	text-decoration: none;
}
/* 入力のエラー（オレンジの文字だけだと読みにくいので、赤系の枠で出す。入力のまとまりの中の一番上に置く） */
.appUi__alertBox {
	margin: 0 0 16px;
	padding: 12px 16px;
	border: 1px solid #f5c2c0;
	border-radius: 6px;
	background: #fdecea;
	color: #b3261e;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}

.appUi__alertBox--success {
	border-color: #bfe3cb;
	background: #e8f5ec;
	color: #1e6b3a;
}
/* 再設定画面の説明文（入力欄の上） */
.appUi__lead {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--app-text-sub);
}
/* 再設定の完了画面などのボタン：PCでは程よい幅で中央に置く（スマホは横幅いっぱい） */
@media only screen and (min-width: 1021px) {
	.appUi__actions--center .appUi-btn--block {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}
/* 左右にボタンがないバー（再設定の完了画面）：ボタンがあるバーと同じ高さにする */
.appUi__bar--solo {
	min-height: 57px;
}

/* 記録する（/record/、アプリの「記録する」タブ = WatchlogTopView）
   見た目は記録の入力画面（body.appUiModal）と同じ。タブの画面なので body に appUiTab を付け、スマホでもヘッダー・フッターを残す */
@media only screen and (max-width: 1020px) {
	.appUiModal.appUiTab .header {
		display: flex;
	}
	.appUiModal.appUiTab .footer {
		display: block;
	}
	/* サイトのヘッダーが上に固定されるので、上部バーは固定しない */
	.appUiModal.appUiTab .appUi__bar {
		position: static;
	}
}
.appUi--record .appUi__bar__title {
	margin: 0;
	font-size: 17px;
}
.appUi-record__top {
	padding-bottom: 0;
	border-bottom: 2px solid var(--app-blue);
}
/* 検索結果は入力画面の選択リストと同じ白い角丸のカード */
.appUi-record__resultArea {
	padding: 16px 20px 24px;
}
@media only screen and (min-width: 561px) and (max-width: 1020px) {
	.appUiModal .appUi-record__resultArea {
		padding-left: calc((100% - 560px) / 2 + 20px);
		padding-right: calc((100% - 560px) / 2 + 20px);
	}
}
/* 話題の作品：アプリと同じ4列のポスター */
.appUi-record__pickup {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0 10px;
	list-style: none;
}
.appUi-record__pickup a {
	display: block;
	transition: opacity 0.2s ease;
}
.appUi-record__pickup a:hover {
	opacity: 0.7;
}
.appUi-record__pickup img {
	display: block;
	width: 100%;
	aspect-ratio: 80 / 113;
	object-fit: cover;
	background: var(--app-gray1);
	color: transparent; /* 画像が読めないときに代わりの文字を出さない */
	font-size: 0;
}
/* 検索欄（アプリの SearchBarView：入力欄の右に検索ボタン） */
.appUi-record__search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 14px;
}
.appUi-record__search input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--app-gray1);
	border-radius: 8px;
	background: var(--app-card);
	font-size: 16px; /* 16px未満だとiPhoneで入力時に拡大される */
	color: var(--app-text);
	-webkit-appearance: none;
	appearance: none;
}
.appUi-record__search button {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--app-text);
	cursor: pointer;
}
.appUi-record__search button svg {
	width: 22px;
	height: 22px;
}
/* 映画／ドラマ・アニメの切り替え（アプリの SearchTypeToggleView） */
.appUi-record__types {
	display: flex;
	justify-content: center;
}
.appUi-record__type {
	width: 175px;
	max-width: 50%;
	padding: 7px 0;
	border: 0;
	border-radius: 7px 7px 0 0;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	color: var(--app-text-sub);
	text-decoration: none;
	cursor: pointer;
}
.appUi-record__type.is-active {
	color: #FFF;
	background: var(--app-blue);
}
.appUi-record__message {
	margin: 0;
	padding: 8px 0 16px;
	text-align: center;
	font-size: 15px;
	color: var(--app-text-sub);
}
.appUi-record__builder {
	margin: 0;
	padding: 0 15px 24px;
	text-align: center;
	font-size: 13px;
	color: var(--app-text-sub);
}
.appUi-record__builder a {
	color: var(--app-blue);
}
.appUi-record__count {
	margin: 0;
	padding: 0 4px 8px;
	font-size: 13px;
	color: var(--app-text-sub);
}
/* 検索結果：作品名・公開年が左、ポスターが右（アプリの SearchResultListView） */
.appUi-record__results {
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 10px;
	background: var(--app-card);
	overflow: hidden;
}
.appUi-record__results li + li {
	border-top: 1px solid var(--app-divider);
}
.appUi-record__result {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 15px;
	color: var(--app-text);
	text-decoration: none;
	transition: background 0.2s ease;
}
.appUi-record__result:hover {
	background: #F2F2F7;
}
.appUi-record__resultText {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.appUi-record__resultName {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
}
.appUi-record__resultSub {
	font-size: 12px;
	color: var(--app-text-sub);
}
.appUi-record__sep {
	margin: 0 6px;
}
.appUi-record__resultImg {
	flex: none;
	width: 45px;
	height: 66px;
	object-fit: cover;
	background: var(--app-gray1);
	color: transparent;
	font-size: 0;
}
@media only screen and (max-width: 560px) {
	.appUi--record {
		margin-bottom: 0;
	}
}
