@charset "utf-8";
/* ==========================================================================
   auth.css —— 摸鱼小游戏专属「账号」界面样式（登录 / 注册）
   --------------------------------------------------------------------------
   与站点主站完全解耦：不引 theme.css / style.css，不套三栏骨架。
   只与 fish.css 搭配使用（借用它的设计变量与竖版画布规格）：
     <body class="摸鱼体"> → <div class="摸鱼应用 账号画布"> → <div class="账号页">
   账号体系仍是 /account 那一套（users 表 + verify_credentials），仅界面重做。
   ========================================================================== */

.账号画布{ background: var(--底); }

.账号页{
    flex: 1 1 auto; min-height: 0;
    display: flex; flex-direction: column;
    padding: calc(14px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}

/* ---------------------------- 页头 ---------------------------- */
.账号页头{
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.返回鱼{ font-size: 13px; color: var(--主色深); text-decoration: none; }
.返回鱼:hover{ text-decoration: underline; }
.账号页名{ font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--主色深); }

/* ---------------------------- 卡片 ---------------------------- */
/* margin: auto 0 让卡片在竖屏里上下居中；内容超高时仍可从顶部滚动，不会被裁 */
.账号卡{
    margin: auto 0;
    background: var(--面);
    border: 1px solid var(--线);
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: 0 12px 30px rgba(12,80,95,.14);
}
.账号标题{
    margin: 0; text-align: center;
    font-size: 22px; font-weight: 800; color: var(--字); letter-spacing: 1px;
}
.账号副标题{
    margin: 6px 0 18px; text-align: center;
    font-size: 12px; line-height: 1.6; color: var(--字浅);
}

/* ---------------------------- 表单 ---------------------------- */
.账号表单{ display: flex; flex-direction: column; gap: 12px; }
.账号表单 label{
    display: flex; flex-direction: column; gap: 6px;
    font-size: 12px; color: var(--字浅);
}
.账号表单 input{
    width: 100%; box-sizing: border-box;
    border: 1px solid var(--线); border-radius: 12px;
    padding: 12px; font-family: inherit; font-size: 15px; color: var(--字);
    background: #f7fcfd; outline: none;
    -webkit-appearance: none; appearance: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.账号表单 input:focus{
    border-color: var(--主色); background: #fff;
    box-shadow: 0 0 0 3px rgba(18,165,184,.14);
}
.账号提交{
    width: 100%; margin-top: 4px;
    border: 0; border-radius: 14px; padding: 14px;
    font-family: inherit; font-size: 16px; font-weight: 700; color: #fff;
    background: linear-gradient(160deg, #14b3c7, #0b8291);
    box-shadow: 0 6px 14px rgba(11,130,145,.26);
    cursor: pointer;
    transition: transform .1s, filter .1s;
}
.账号提交:hover{ filter: brightness(1.06); }
.账号提交:active{ transform: translateY(1px); }

/* ---------------------------- 提示与消息 ---------------------------- */
.账号提示{
    margin: 14px 0 0; text-align: center;
    font-size: 12px; line-height: 1.7; color: var(--字浅);
}
.账号提示 a{ color: var(--主色深); font-weight: 700; text-decoration: none; }
.账号提示 a:hover{ text-decoration: underline; }

.账号消息{
    margin: 0 0 12px; border-radius: 10px; padding: 9px 11px;
    font-size: 12.5px; line-height: 1.6;
    background: #e6f7ee; color: #12734a;
}
.账号消息.错{ background: #fdeaea; color: #b3261e; }
.账号消息.提示{ background: #fff5e6; color: #9a5a10; }

/* --------------------- 注册成功：展示发放的登录账号 --------------------- */
.账号发号{
    margin: 0 0 14px; padding: 14px; text-align: center;
    border: 2px dashed var(--主色); border-radius: 14px;
    background: #f0fbfd;
}
.账号发号 .签{ display: block; font-size: 12px; color: var(--字浅); margin-bottom: 6px; }
.账号发号 .号{
    display: block; word-break: break-all;
    font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--主色深);
}
