#tmp-login-form{}
.tmp-login-widget-form{}
.message{ 
	background:#dcefff; 
	margin-bottom: 1em;
    padding: 1em;
    color: #6bb6ff;
    font-weight: bold;
    border-radius: 3px;
}
.tmp-error-msg,.login_error{
    background: #ffebeb;
    margin-bottom: 1em;
    padding: 1em;
    color: #ff8376;
    font-weight: bold;
    border-radius: 3px;
}
.tmp-error-msg p,.login_error p,.tmp-pw-reset-widget-form div.message p{ margin-bottom: 0;}
.tmp-login-form-inner{}
.tmp-mail-label,.tmp-password-label{ margin-top: 0.5em; }
.tmp-mail-input input,.tmp-password-input input,.tmp-pw-reset-email-input input{
	display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid #eee;
    border-radius: 3px;
    background-color: #eaedf2;
    box-shadow: none;
    color: #5c6b80;
    font-size: 1em;
    vertical-align: middle;
    line-height: 45px;
    transition: background-color .24s ease-in-out;
}
label.tmp-rember-label{ font-weight: 100; font-size:0.9em;}
.tmp-pw-reset-email-input{ margin-bottom: 1em; }
.tmp-login-form-pw-reset-link{ font-size:0.9em; }
.tmp-login-submit,.tmp-pw-reset-submit-button{ text-align: center; margin-bottom: 0.5em;}
#tmp-login-form-pw-reset-box{ text-align: center; }

/* パスワード表示切替。余白を含めて両入力欄の幅を揃える。 */
.tmp-login-widget-form .tmp-mail-field,
.tmp-login-widget-form .tmp-password-field { box-sizing: border-box; }
.tmp-login-widget-form .tmp-password-input { position: relative; }
.tmp-login-widget-form .tmp-password-field { padding-right: 48px; }
.tmp-login-widget-form .tmp-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.tmp-login-widget-form .tmp-password-toggle[hidden] { display: none; }
.tmp-login-widget-form .tmp-password-toggle svg { display: block; }
.tmp-login-widget-form .tmp-password-toggle[aria-pressed="true"] .tmp-password-eye-slash { display: none; }
.tmp-paywall-login-body .tmp-password-toggle { height: 38px; }

/* パスキー作成画面の主操作。既存のログインフォームの外観は変更しない。 */
.tmp-passkey-flow .tmp-login-submit .tmp-login-form-submit {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1em;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
}
.tmp-passkey-flow .tmp-login-submit { margin-top: 1.25em; }
.tmp-passkey-flow .tmp-passkey-help { margin-top: 1em; font-size: .9em; }
.tmp-passkey-flow summary { cursor: pointer; }
.tmp-passkey-flow button:disabled { opacity: .6; cursor: wait; }
/* ===== 記事ペイウォール（既定スタイル。テーマで上書き可） ===== */
.tmp-paywall{
	max-width: 560px;
	margin: 2.5em auto;
	padding: 2em 1.6em 1.4em;
	border: 1px solid #e6e9ee;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(20,40,60,.04), 0 12px 32px -20px rgba(20,40,60,.3);
	text-align: center;
}
.tmp-paywall-lock{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: .7em;
	border-radius: 50%;
	background: #eef4fb;
	color: #2ea3f2;
}
.tmp-paywall-lead{
	margin: 0 0 .3em;
	font-weight: 700;
	font-size: 1.2em;
	line-height: 1.4;
}
.tmp-paywall-price{
	margin: .15em 0 .35em;
	font-weight: 700;
	font-size: 1.9em;
	line-height: 1;
	color: #1a1a1a;
}
.tmp-paywall-price .tmp-paywall-yen{ font-size: .5em; font-weight: 700; margin-left: .15em; }
.tmp-paywall-sub{
	margin: 0 0 1.3em;
	color: #6b7280;
	font-size: .92em;
}
.tmp-paywall-actions{ margin: 0 0 1em; }
.tmp-paywall .tmp-buy{
	display: inline-block;
	min-width: 260px;
	max-width: 100%;
	padding: .95em 2em;
	border-radius: 8px;
	background: #2ea3f2;
	color: #fff;
	font-weight: 700;
	font-size: 1.02em;
	text-decoration: none;
	box-shadow: 0 6px 16px -6px rgba(46,163,242,.6);
	transition: background-color .2s ease, transform .05s ease;
}
.tmp-paywall .tmp-buy:hover{ background: #1b8fe0; color: #fff; }
.tmp-paywall .tmp-buy:active{ transform: translateY(1px); }
/* ハイブリッド（会員登録＋単品購入）の2択用 */
.tmp-paywall-or{ margin: .6em 0; color: #787c82; font-size: .85em; }
.tmp-paywall .tmp-buy-secondary{
	background: #fff;
	color: #2ea3f2;
	border: 1px solid #2ea3f2;
	box-shadow: none;
}
.tmp-paywall .tmp-buy-secondary:hover{ background: #eef4fb; color: #1b8fe0; }
.tmp-paywall-note{ color: #6b7280; }

/* 購入済みログイン（既定は折りたたみ） */
.tmp-paywall-login{
	margin-top: .4em;
	padding-top: .8em;
	border-top: 1px solid #eef0f3;
	text-align: left;
}
.tmp-paywall-login > summary{
	list-style: none;
	cursor: pointer;
	text-align: center;
	color: #2ea3f2;
	font-size: .9em;
	font-weight: 600;
	padding: .3em 0;
}
.tmp-paywall-login > summary::-webkit-details-marker{ display: none; }
.tmp-paywall-login > summary:hover{ text-decoration: underline; }
.tmp-paywall-login[open] > summary{ color: #6b7280; margin-bottom: .6em; }
.tmp-paywall-login-body{ max-width: 340px; margin: 0 auto; }
.tmp-paywall-login-body .tmp-mail-input input,
.tmp-paywall-login-body .tmp-password-input input{
	height: 40px;
	line-height: 40px;
	margin-bottom: 10px;
}
.tmp-paywall-login-body .tmp-login-submit{ margin-top: .4em; }
.tmp-paywall-login-body .tmp-login-submit input{
	width: 100%;
	height: 42px;
	border: 1px solid #cfd6de;
	border-radius: 6px;
	background: #f3f5f8;
	color: #384150;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s ease;
}
.tmp-paywall-login-body .tmp-login-submit input:hover{ background: #e9edf2; }
.tmp-paywall-login-body #tmp-login-form-pw-reset-box{ margin-top: .6em; }
.tmp-paywall-more a{ font-weight: 700; }

/* 認証方法を選びやすいよう、両ボタンの寸法を揃えて間隔を設ける。 */
.tmp-login-with-passkey .tmp-login-submit .tmp-login-form-submit {
    display: inline-block;
    box-sizing: border-box;
    float: none;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    border-width: 1px;
    border-style: solid;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    white-space: normal;
}
#tmp-passkey-enroll-fallback {
    text-align: center;
}
.tmp-login-with-passkey .tmp-login-submit.tmp-passkey-auth {
    clear: both;
    margin-top: 24px;
}
.tmp-login-with-passkey .tmp-passkey-auth .tmp-login-form-submit {
    border-color: #aaa;
    background: #fff;
    color: #333;
    box-shadow: none;
    text-shadow: none;
    cursor: pointer;
}
.tmp-login-with-passkey .tmp-passkey-auth .tmp-login-form-submit:hover {
    border-color: #666;
    background: #f5f5f5;
    color: #333;
}
.tmp-login-with-passkey .tmp-passkey-auth .tmp-login-form-submit:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}
.tmp-login-with-passkey .tmp-passkey-auth .tmp-login-form-submit:disabled {
    opacity: .6;
    cursor: wait;
}

/* パスキー登録時の名前入力 */
.tmp-passkey-name-dialog {
    box-sizing: border-box;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #333;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
    text-align: left;
    overflow: auto;
}
.tmp-passkey-name-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.tmp-passkey-name-dialog h3 { margin: 0 0 16px; font-size: 20px; }
.tmp-passkey-name-dialog label { display: block; margin-bottom: 8px; font-weight: 600; }
.tmp-passkey-name-dialog input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 4px;
    font-size: 16px;
}
.tmp-passkey-name-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.tmp-passkey-name-actions button { min-height: 44px; padding: 10px 16px; cursor: pointer; }
.tmp-passkey-name-dialog :focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
