/*!
 * © 2025 パソコンサロンゆうらく (Pasokon Salon Yuuraku). All rights reserved.
 * Project: ゆうらく学習トレーニングポータルYuuraku Leaning station
 * File: passgene
 * BUILD_ID: YR-2025-0903-K11                 // ← 公開用の可視ビルドID
 * CANARY_ZW
 * SPDX-License-Identifier: LicenseRef-Yuuraku-Proprietary
 * Contact: yuurakunomori@gmail.com  |  URL: https://yuurakus.jp/
 *
 * 重要
 * 
* [日本語 / Japanese]
 * 本スタイルシートおよび関連ファイルの著作権（著作権法上の権利）は、パソコンサロンゆうらくに専属します。
 * 法令で明示的に認められる場合を除き、当社の事前の書面許諾なく、複製・複写・転載・転用・編集・改変・翻案・
 * 逆コンパイル／リバースエンジニアリング・再配布・商用利用・公衆送信（Webへのアップロードを含む）・
 * 自動取得／スクレイピング等の二次利用を固く禁じます。侵害が判明した場合、警告なく直ちに
 * 差止請求・損害賠償請求等の法的措置を厳格に行います。
 * 【重要】本スタイルシートには検証用のBUILD IDおよび不可視の「カナリア文字（ウォーターマーク）」が埋め込まれ、
 * ソースには識別用IDが隠されています。これらの削除・改変は契約違反・不正競争・著作権侵害等として追及します。
 *
 * [English]
 * Copyright in this stylesheet and related files is owned exclusively by
 * Pasokon Salon Yuuraku unless otherwise stated. Except as expressly permitted by law,
 * any reproduction, modification, adaptation, reverse engineering, redistribution,
 * commercial use, public transmission (including posting on the web), or automated
 * collection/scraping without prior written permission is strictly prohibited.
 * Upon detection of infringement, we will immediately pursue legal remedies including
 * injunctive relief and damages. IMPORTANT: This stylesheet embeds a verifiable BUILD ID
 * and invisible “canary” watermark characters, and an identification ID is hidden in the source.
 * Removal or alteration will be treated as a violation and strictly enforced.
 *
 * [中文 / Chinese (Simplified)]
 * 本样式表及相关文件之著作权，除非另有说明，专属于「Pasokon Salon Yuuraku」。
 * 未经事先书面许可，严禁复制、转载、修改、改编、逆向工程、再分发、商业使用、
 * 公开传播（含上传至网络）及自动抓取/爬取等二次利用。一经发现侵权，将立即采取包括
 * 禁令与损害赔偿在内的法律措施。重要：本样式表内已嵌入可验证的BUILD ID与不可见
 * “金丝雀”水印字符，且源代码中隐藏有识别用ID。擅自删除或篡改将被视为违规并依法追究。
 *
 * [한국어 / Korean]
 * 본 스타일시트 및 관련 파일의 저작권은 별도 고지가 없는 한
 * ‘파소콘 살롱 유우라쿠(Pasokon Salon Yuuraku)’에 전속됩니다.
 * 사전 서면 허가 없이 복제, 전재, 전용, 수정, 각색, 리버스 엔지니어링,
 * 재배포, 상업적 이용, 공중송신(웹 게시 포함), 자동 수집·스크래핑 등의 2차 이용을 엄격히 금합니다.
 * 위반 시 예고 없이 즉시 금지청구 및 손해배상 청구 등 법적 조치를 취합니다.
 * 중요: 본 스타일시트에는 검증 가능한 BUILD ID와 보이지 않는 ‘카나리아(워터마크) 문자’가 포함되며,
 * 소스 내부에는 식별용 ID가 숨겨져 있습니다. 이를 삭제·변조하는 행위는 위반으로 간주되어 엄정 대응합니다.
 */

/*==================================================================
 style.css passgene
==================================================================*/

:root{
  --bg:#0b1020;
  --ink:#e8eef6;
  --muted:#b7c0ce;
  --panel:#101827;
  --panel2:#0f172a;
  --accent:#33cab1;
  --accent-2:#ef4444;
  --surface:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Roboto, sans-serif;
  line-height:1.6;
  color:var(--ink);
  background:linear-gradient(135deg, #33cab1, #1e9e8d 55%) fixed;
}

/* ===== Hero ===== */
.hero{
  padding:40px 16px 24px;
}
.hero-inner{
  max-width:1100px;
  margin:0 auto;
}
.hero h1{
  margin:0 0 12px;
  font-weight:800;
  letter-spacing:.02em;
  text-shadow:0 2px 0 rgba(0,0,0,.15);
}
.result-card{
  background:var(--surface);
  color:#111827;
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
  display:grid;
  gap:14px;
}
.pw-input-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
}
.pw-input{
  width:100%;
  font-size:clamp(22px, 4vw, 28px);
  padding:14px 16px;
  border-radius:14px;
  border:2px solid #e5e7eb;
  outline:none;
}
.pw-input:focus{border-color:#33cab1; box-shadow:0 0 0 3px rgba(37,99,235,.25)}
.icon-btn{
  display:inline-grid; place-items:center;
  width:44px; height:44px;
  border:2px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}
.icon-btn:hover{background:#f3f4f6}
.primary-btn, .ghost-btn, .mini-btn{
  cursor:pointer;
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  letter-spacing:.02em;
  border:none;
}
.primary-btn{
  background:#ff8a00;       /* ← オレンジ */
  color:#fff;
  box-shadow:0 6px 16px rgba(255,138,0,.35);
}
.primary-btn:hover{ filter:brightness(1.05); }

.primary-btn:hover{filter:brightness(1.05)}
.ghost-btn{
  background:transparent; color:#fff;
  border:2px solid rgba(255,255,255,.7);
}
.mini-btn{
  background:#0f172a; color:#fff; padding:6px 10px; font-size:.9rem;
}

.hint{margin:0;color:#6b7280;font-size:.9rem}

.cand-wrap{margin-top:18px}
.cand-head{display:flex;align-items:center;justify-content:space-between;color:#fff}
.cand-list{
  list-style:none; margin:12px 0 0; padding:0;
  display:grid; gap:10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.cand-item{
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,.92);
  color:#111827;
  padding:10px 12px; border-radius:14px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.cand-text{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; font-size:1rem; overflow:auto}

/* ===== Controls ===== */
.controls{
  background:linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.25));
  padding:28px 16px 60px;
}
.controls form{
  max-width:1100px; margin:0 auto;
  background:var(--panel);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:20px;
}
fieldset{border:1px solid #1f2937; padding:14px 16px; border-radius:12px; margin:14px 0; background:var(--panel2); color:#dbe3f1}
legend{padding:0 8px; font-weight:800}
.grid-rows{display:flex; flex-wrap:wrap; gap:18px; align-items:center}
.grid-cols{display:grid; gap:10px; grid-template-columns: repeat(auto-fit,minmax(230px, 1fr))}
.custom-len{display:flex; align-items:center; gap:10px}
.custom-len input[type=number]{width:92px; padding:6px 8px; border-radius:8px; border:1px solid #334155; background:#0b1220; color:#dbe3f1}
.note{font-size:.85rem; color:#9ca3af}
.block{display:block}

.actions{display:flex; justify-content:flex-end; margin-top:8px}

/* Toast */
#toast{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:22px; padding:10px 14px; border-radius:999px;
  background:#111827; color:#fff; box-shadow:var(--shadow);
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
#toast.show{opacity:1}
