2042 lines
40 KiB
CSS
2042 lines
40 KiB
CSS
@import '@dukang/shared-ui/base.css';
|
|
|
|
/* ── Shared shop utilities ── */
|
|
.shop-fill-icon {
|
|
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
|
|
.shop-card-shadow {
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
/* ── Login (shop/02 + shop/14) ── */
|
|
.shop-login-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 var(--space-page) 40px;
|
|
background: var(--color-background);
|
|
background-image:
|
|
radial-gradient(at 0% 0%, rgba(166, 29, 36, 0.03) 0, transparent 50%),
|
|
radial-gradient(at 100% 100%, rgba(255, 191, 0, 0.05) 0, transparent 50%);
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.shop-login-page::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
opacity: 0.35;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.shop-login-hero {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 64px 0 40px;
|
|
}
|
|
|
|
.shop-login-logo-wrap {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: var(--color-surface);
|
|
box-shadow: var(--shadow-card);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shop-login-logo-wrap .app-image,
|
|
.shop-login-logo-wrap img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
padding: 8px;
|
|
}
|
|
|
|
.shop-login-brand {
|
|
font-family: var(--font-headline);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.15em;
|
|
color: var(--color-ink-black);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.shop-login-tagline {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--color-on-surface-variant);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.shop-login-main {
|
|
position: relative;
|
|
z-index: 1;
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.shop-login-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 32px;
|
|
border: 1px solid rgba(226, 190, 188, 0.3);
|
|
box-shadow: 0 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
|
|
.shop-login-field {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.shop-login-field label {
|
|
display: block;
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
color: var(--color-on-surface-variant);
|
|
margin-bottom: 8px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.shop-login-input-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1px solid var(--color-outline-variant);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-surface);
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.shop-login-input-wrap:focus-within {
|
|
border-color: var(--color-heritage-red);
|
|
box-shadow: 0 0 0 1px rgba(166, 29, 36, 0.1);
|
|
}
|
|
|
|
.shop-login-input-wrap .material-symbols-outlined {
|
|
margin-left: 12px;
|
|
color: var(--color-on-surface-variant);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.shop-login-input-wrap input {
|
|
flex: 1;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 14px 16px 14px 8px;
|
|
font-size: 14px;
|
|
color: var(--color-on-surface);
|
|
outline: none;
|
|
}
|
|
|
|
.shop-login-input-wrap input::placeholder {
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-login-code-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.shop-login-code-row .shop-login-input-wrap {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.shop-login-code-btn {
|
|
flex-shrink: 0;
|
|
align-self: stretch;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 48px;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
padding: 0 14px;
|
|
background: #ffdad7;
|
|
color: var(--color-heritage-red);
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
line-height: 1.2;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.shop-login-code-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.shop-login-submit {
|
|
width: 100%;
|
|
margin-top: 32px;
|
|
padding: 16px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
background: linear-gradient(135deg, #a61d24 0%, #820012 100%);
|
|
color: var(--color-on-primary);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.shop-login-submit:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.shop-login-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.shop-login-divider-line {
|
|
flex: 1;
|
|
height: 1px;
|
|
background: rgba(226, 190, 188, 0.3);
|
|
}
|
|
|
|
.shop-login-divider-text {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shop-login-wechat {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border: 1px solid rgba(166, 29, 36, 0.2);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(166, 29, 36, 0.05);
|
|
color: var(--color-heritage-red);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-login-agreement {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
max-width: 280px;
|
|
margin: 32px auto 0;
|
|
}
|
|
|
|
.shop-login-agreement input {
|
|
margin-top: 4px;
|
|
accent-color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-login-agreement span {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: var(--color-on-surface-variant);
|
|
}
|
|
|
|
.shop-login-agreement a {
|
|
color: var(--color-heritage-red);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.shop-login-footer {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: auto;
|
|
padding: 40px 0 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.shop-login-footer-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
font-family: var(--font-label);
|
|
font-size: 10px;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-login-footer-brand::before,
|
|
.shop-login-footer-brand::after {
|
|
content: '';
|
|
width: 32px;
|
|
height: 1px;
|
|
background: var(--color-outline-variant);
|
|
}
|
|
|
|
.shop-login-msg {
|
|
color: var(--color-heritage-red);
|
|
font-size: 13px;
|
|
margin-bottom: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Quick login (shop/14) */
|
|
.shop-quick-login-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-quick-header {
|
|
padding: 64px var(--space-page) 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.shop-quick-logo {
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.shop-quick-logo .app-image,
|
|
.shop-quick-logo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.shop-quick-welcome {
|
|
font-family: var(--font-headline);
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: var(--color-heritage-red);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.shop-quick-welcome-line {
|
|
width: 48px;
|
|
height: 2px;
|
|
background: var(--color-heritage-red);
|
|
opacity: 0.3;
|
|
margin: 8px auto 0;
|
|
}
|
|
|
|
.shop-quick-store-card {
|
|
margin: 0 var(--space-page) var(--space-lg);
|
|
padding: 32px;
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid rgba(226, 190, 188, 0.3);
|
|
box-shadow: var(--shadow-card);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shop-quick-store-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -40px;
|
|
right: -40px;
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
background: rgba(166, 29, 36, 0.03);
|
|
}
|
|
|
|
.shop-quick-store-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.shop-quick-store-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: #ffdad7;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-quick-store-icon .material-symbols-outlined {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.shop-quick-store-name {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-ink-black);
|
|
}
|
|
|
|
.shop-quick-store-phone {
|
|
font-size: 16px;
|
|
color: var(--color-on-surface-variant);
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.shop-quick-verified {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 12px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(45, 106, 79, 0.1);
|
|
color: var(--color-success-green);
|
|
border: 1px solid rgba(45, 106, 79, 0.2);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shop-quick-switch {
|
|
width: 100%;
|
|
padding-top: 32px;
|
|
margin-top: 8px;
|
|
border-top: 1px solid rgba(226, 190, 188, 0.5);
|
|
}
|
|
|
|
.shop-quick-switch button {
|
|
border: none;
|
|
background: none;
|
|
color: var(--color-on-surface-variant);
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
margin: 0 auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-quick-actions {
|
|
padding: 0 var(--space-page);
|
|
margin-top: auto;
|
|
}
|
|
|
|
.shop-quick-login-btn {
|
|
width: 100%;
|
|
height: 56px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-heritage-red);
|
|
color: var(--color-on-primary);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 8px 24px rgba(166, 29, 36, 0.2);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-quick-secure {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
opacity: 0.6;
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-on-surface-variant);
|
|
}
|
|
|
|
.shop-quick-footer {
|
|
padding: 40px var(--space-page);
|
|
text-align: center;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
/* ── Home (shop/12) ── */
|
|
.shop-home-page {
|
|
min-height: 100vh;
|
|
padding-bottom: 80px;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-home-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 var(--space-page);
|
|
background: var(--color-surface);
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.shop-home-content {
|
|
padding: 16px var(--space-page) 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.shop-home-hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: var(--color-heritage-red);
|
|
border-radius: var(--radius-md);
|
|
padding: 24px;
|
|
color: var(--color-on-primary);
|
|
box-shadow: 0 8px 24px rgba(166, 29, 36, 0.25);
|
|
}
|
|
|
|
.shop-home-hero-store {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 24px;
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.shop-home-stats {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.shop-home-stat {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(4px);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: var(--radius-sm);
|
|
padding: 16px;
|
|
}
|
|
|
|
.shop-home-stat-label {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.shop-home-stat-value {
|
|
font-family: var(--font-headline);
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.shop-home-scan {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.shop-home-scan-btn {
|
|
position: relative;
|
|
width: 128px;
|
|
height: 128px;
|
|
border-radius: 50%;
|
|
border: 4px solid var(--color-card);
|
|
background: var(--color-aged-amber);
|
|
box-shadow: 0 10px 30px rgba(255, 191, 0, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.shop-home-scan-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
background: var(--color-aged-amber);
|
|
opacity: 0.2;
|
|
animation: shop-scan-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
}
|
|
|
|
.shop-home-scan-btn:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.shop-home-scan-btn .material-symbols-outlined {
|
|
font-size: 48px;
|
|
color: var(--color-heritage-red);
|
|
font-variation-settings: 'FILL' 1;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@keyframes shop-scan-ping {
|
|
0% { transform: scale(1); opacity: 0.2; }
|
|
75%, 100% { transform: scale(1.4); opacity: 0; }
|
|
}
|
|
|
|
.shop-home-scan-label {
|
|
margin-top: 16px;
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-home-scan-msg {
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
color: var(--color-heritage-red);
|
|
text-align: center;
|
|
max-width: 280px;
|
|
}
|
|
|
|
.shop-scan-auth-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.shop-scan-auth-card {
|
|
width: 100%;
|
|
max-width: 320px;
|
|
padding: 28px 24px 24px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-card);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
text-align: center;
|
|
}
|
|
|
|
.shop-scan-auth-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: 0 auto 16px;
|
|
border-radius: 50%;
|
|
background: rgba(166, 29, 36, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-scan-auth-icon .material-symbols-outlined {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.shop-scan-auth-title {
|
|
margin: 0 0 8px;
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-scan-auth-desc {
|
|
margin: 0 0 16px;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: var(--color-on-surface-variant);
|
|
}
|
|
|
|
.shop-scan-auth-error {
|
|
margin: 0 0 12px;
|
|
font-size: 13px;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-scan-auth-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-scan-auth-cancel,
|
|
.shop-scan-auth-confirm {
|
|
flex: 1;
|
|
min-height: 44px;
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-label);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-scan-auth-cancel {
|
|
border: 1px solid var(--color-outline-variant);
|
|
background: var(--color-surface);
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-scan-auth-confirm {
|
|
border: none;
|
|
background: var(--color-heritage-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.shop-scan-auth-cancel:disabled,
|
|
.shop-scan-auth-confirm:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.shop-home-status {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 20px;
|
|
border: 1px solid rgba(226, 190, 188, 0.3);
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-home-status-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-home-status-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(45, 106, 79, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-success-green);
|
|
}
|
|
|
|
.shop-home-status-icon.closed {
|
|
background: rgba(153, 153, 153, 0.1);
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-home-status-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-home-status-sub {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.shop-home-switch {
|
|
position: relative;
|
|
width: 44px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.shop-home-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.shop-home-switch-track {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--color-surface-container-highest);
|
|
border-radius: var(--radius-full);
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.shop-home-switch-track::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: var(--color-card);
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.shop-home-switch input:checked + .shop-home-switch-track {
|
|
background: var(--color-success-green);
|
|
}
|
|
|
|
.shop-home-switch input:checked + .shop-home-switch-track::after {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
.shop-home-records-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.shop-home-records-title {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-ink-black);
|
|
}
|
|
|
|
.shop-home-records-link {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--color-heritage-red);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.shop-home-record-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.shop-home-record-item {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 16px;
|
|
border: 1px solid rgba(226, 190, 188, 0.2);
|
|
box-shadow: 0 4px 20px rgba(166, 29, 36, 0.03);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.shop-home-record-time {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-home-record-value {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--color-on-surface);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.shop-home-record-amount {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
/* ── Redeem confirm (shop/08) ── */
|
|
.shop-redeem-page {
|
|
min-height: 100vh;
|
|
background: var(--color-background);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.shop-redeem-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
max-width: 480px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 var(--space-page);
|
|
background: var(--color-surface);
|
|
z-index: 50;
|
|
}
|
|
|
|
.shop-redeem-back {
|
|
position: absolute;
|
|
left: var(--space-page);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
border: none;
|
|
background: none;
|
|
padding: 4px;
|
|
color: var(--color-heritage-red);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-redeem-main {
|
|
flex: 1;
|
|
margin-top: 56px;
|
|
padding: var(--space-lg) var(--space-page);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.shop-redeem-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
border: 1px solid rgba(166, 29, 36, 0.05);
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.shop-redeem-banner {
|
|
background: var(--color-success-green);
|
|
padding: 16px var(--space-page);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-redeem-banner-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-on-primary);
|
|
}
|
|
|
|
.shop-redeem-banner-label {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.shop-redeem-banner-name {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-on-primary);
|
|
}
|
|
|
|
.shop-redeem-body {
|
|
padding: var(--space-page);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.shop-redeem-user {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: var(--color-surface-container-low);
|
|
padding: 16px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.shop-redeem-user-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: var(--color-on-surface-variant);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.shop-redeem-amount-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16px 0;
|
|
border-top: 1px dashed var(--color-outline-variant);
|
|
border-bottom: 1px dashed var(--color-outline-variant);
|
|
}
|
|
|
|
.shop-redeem-notch {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 16px;
|
|
height: 32px;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-redeem-notch--left {
|
|
left: -20px;
|
|
border-radius: 0 16px 16px 0;
|
|
border-right: 1px solid rgba(226, 190, 188, 0.2);
|
|
}
|
|
|
|
.shop-redeem-notch--right {
|
|
right: -20px;
|
|
border-radius: 16px 0 0 16px;
|
|
border-left: 1px solid rgba(226, 190, 188, 0.2);
|
|
}
|
|
|
|
.shop-redeem-amount-label {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-on-surface-variant);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.shop-redeem-amount {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 4px;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-redeem-amount-symbol {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.shop-redeem-amount-value {
|
|
font-family: var(--font-headline);
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.shop-redeem-benefit {
|
|
margin-top: 16px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(255, 191, 0, 0.1);
|
|
border: 1px solid rgba(255, 191, 0, 0.2);
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: #574500;
|
|
}
|
|
|
|
.shop-redeem-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-redeem-detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.shop-redeem-detail-row span:first-child {
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-redeem-detail-row span:last-child {
|
|
color: var(--color-ink-black);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shop-redeem-confirm-btn {
|
|
width: 100%;
|
|
height: 56px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-heritage-red);
|
|
color: var(--color-on-primary);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 8px 24px rgba(166, 29, 36, 0.2);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-redeem-confirm-btn:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.shop-redeem-confirm-btn.success {
|
|
background: var(--color-success-green);
|
|
}
|
|
|
|
.shop-redeem-hint {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-redeem-dev {
|
|
margin-top: 8px;
|
|
border: 1px dashed var(--color-outline-variant);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shop-redeem-dev summary {
|
|
padding: 12px 16px;
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
|
|
.shop-redeem-dev summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.shop-redeem-dev-body {
|
|
padding: 0 16px 16px;
|
|
}
|
|
|
|
.shop-redeem-dev-body input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid var(--color-outline-variant);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.shop-redeem-error {
|
|
color: var(--color-error);
|
|
font-size: 13px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.shop-redeem-ornament {
|
|
margin-top: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-bottom: 32px;
|
|
opacity: 0.1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ── Redeem success (shop/06) ── */
|
|
.shop-success-page {
|
|
min-height: 100vh;
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.shop-success-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 56px;
|
|
padding: 0 var(--space-page);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.shop-success-header .shop-redeem-back {
|
|
position: absolute;
|
|
left: var(--space-page);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.shop-success-hero {
|
|
text-align: center;
|
|
padding: 40px var(--space-page) 32px;
|
|
background: radial-gradient(circle at center, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
|
|
border-radius: 0 0 40px 40px;
|
|
}
|
|
|
|
.shop-success-icon-wrap {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 24px;
|
|
border-radius: 50%;
|
|
background: rgba(45, 106, 79, 0.1);
|
|
box-shadow: 0 0 0 8px rgba(45, 106, 79, 0.05);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-success-green);
|
|
}
|
|
|
|
.shop-success-icon-wrap .material-symbols-outlined {
|
|
font-size: 48px;
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
|
|
.shop-success-title {
|
|
font-family: var(--font-headline);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--color-ink-black);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.shop-success-amount {
|
|
font-family: var(--font-headline);
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--color-aged-amber);
|
|
}
|
|
|
|
.shop-success-sub {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--color-subtle-gray);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.shop-success-note {
|
|
font-size: 14px;
|
|
color: var(--color-subtle-gray);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.shop-success-details {
|
|
margin: 32px var(--space-page);
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-md);
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.shop-success-detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.shop-success-detail-row + .shop-success-detail-row {
|
|
border-top: 1px solid var(--color-surface-container-highest);
|
|
}
|
|
|
|
.shop-success-detail-label {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.shop-success-detail-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--color-ink-black);
|
|
text-align: right;
|
|
}
|
|
|
|
.shop-success-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.shop-success-user-avatar {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: var(--color-surface-container-highest);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-success-user-avatar .material-symbols-outlined {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.shop-success-actions {
|
|
padding: 0 var(--space-page);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.shop-success-primary-btn {
|
|
width: 100%;
|
|
height: 56px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-heritage-red);
|
|
color: var(--color-on-primary);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-success-outline-btn {
|
|
width: 100%;
|
|
height: 56px;
|
|
border: 1px solid var(--color-heritage-red);
|
|
border-radius: var(--radius-md);
|
|
background: transparent;
|
|
color: var(--color-heritage-red);
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-success-brand {
|
|
margin-top: 64px;
|
|
padding-bottom: 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.shop-success-brand-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--color-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 8px;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.shop-success-brand-text {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
letter-spacing: 0.2em;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* ── Records (shop/10) ── */
|
|
.shop-records-page {
|
|
min-height: 100vh;
|
|
padding-bottom: 80px;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-records-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
max-width: 480px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 var(--space-page);
|
|
background: rgba(250, 249, 247, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
z-index: 50;
|
|
}
|
|
|
|
.shop-records-filters {
|
|
position: sticky;
|
|
top: 56px;
|
|
z-index: 40;
|
|
background: var(--color-surface);
|
|
border-bottom: 1px solid var(--color-surface-container-highest);
|
|
}
|
|
|
|
.shop-records-range-tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid rgba(227, 226, 224, 0.5);
|
|
}
|
|
|
|
.shop-records-range-tab {
|
|
flex: 1;
|
|
border: none;
|
|
background: none;
|
|
padding: 12px;
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
color: var(--color-subtle-gray);
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.shop-records-range-tab.active {
|
|
color: var(--color-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.shop-records-range-tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 20%;
|
|
right: 20%;
|
|
height: 3px;
|
|
background: var(--color-heritage-red);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.shop-records-status-chips {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.shop-records-status-chips::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.shop-records-chip {
|
|
flex-shrink: 0;
|
|
border: none;
|
|
border-radius: var(--radius-full);
|
|
padding: 4px 16px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
background: var(--color-surface-container-highest);
|
|
color: var(--color-on-surface-variant);
|
|
}
|
|
|
|
.shop-records-chip.active {
|
|
background: var(--color-primary);
|
|
color: var(--color-on-primary);
|
|
}
|
|
|
|
.shop-records-main {
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.shop-records-summary {
|
|
margin: var(--space-md) var(--space-page);
|
|
padding: var(--space-page);
|
|
background: rgba(255, 218, 215, 0.3);
|
|
border: 1px solid rgba(255, 179, 174, 0.2);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 4px 20px rgba(166, 29, 29, 0.08);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shop-records-summary::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -16px;
|
|
right: -16px;
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
background: rgba(130, 0, 18, 0.05);
|
|
filter: blur(16px);
|
|
}
|
|
|
|
.shop-records-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.shop-records-summary-label {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: rgba(130, 0, 18, 0.7);
|
|
}
|
|
|
|
.shop-records-summary-value {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.shop-records-summary-note {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(130, 0, 18, 0.1);
|
|
font-size: 14px;
|
|
color: var(--color-on-surface-variant);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.shop-records-list-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 var(--space-page);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.shop-records-list-title {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-records-list-count {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-records-list {
|
|
padding: 0 var(--space-page);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.shop-record-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 16px;
|
|
border: 1px solid var(--color-surface-container-highest);
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.shop-record-card-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.shop-record-order {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shop-record-time {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.shop-record-badge {
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.shop-record-badge.paid {
|
|
background: rgba(45, 106, 79, 0.1);
|
|
color: var(--color-success-green);
|
|
}
|
|
|
|
.shop-record-badge.pending {
|
|
background: rgba(255, 191, 0, 0.1);
|
|
color: var(--color-aged-amber);
|
|
}
|
|
|
|
.shop-record-amounts {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: rgba(250, 249, 247, 0.5);
|
|
border-radius: var(--radius-sm);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.shop-record-amount-label {
|
|
font-size: 10px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-record-amount-value {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-record-amount-value.red {
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.shop-record-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-records-end {
|
|
text-align: center;
|
|
padding: var(--space-lg) var(--space-page);
|
|
}
|
|
|
|
.shop-records-end-line {
|
|
width: 48px;
|
|
height: 1px;
|
|
background: var(--color-surface-container-highest);
|
|
margin: 0 auto 8px;
|
|
}
|
|
|
|
.shop-records-empty {
|
|
text-align: center;
|
|
padding: 48px var(--space-page);
|
|
color: var(--color-subtle-gray);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ── Status (shop/04) ── */
|
|
.shop-status-page {
|
|
min-height: 100vh;
|
|
padding-bottom: 80px;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-status-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
}
|
|
|
|
.shop-status-logout {
|
|
border: none;
|
|
background: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--color-on-surface-variant);
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
width: auto;
|
|
height: auto;
|
|
padding: 4px;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.shop-status-content {
|
|
padding: 24px var(--space-page);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.shop-status-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 32px;
|
|
text-align: center;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.shop-status-icon-wrap {
|
|
position: relative;
|
|
width: 96px;
|
|
height: 96px;
|
|
margin: 0 auto 24px;
|
|
}
|
|
|
|
.shop-status-icon-outer {
|
|
width: 96px;
|
|
height: 96px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.shop-status-icon-outer.open {
|
|
background: rgba(45, 106, 79, 0.1);
|
|
animation: shop-status-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.shop-status-icon-outer.closed {
|
|
background: rgba(153, 153, 153, 0.1);
|
|
}
|
|
|
|
.shop-status-icon-inner {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-on-primary);
|
|
}
|
|
|
|
.shop-status-icon-inner.open {
|
|
background: var(--color-success-green);
|
|
}
|
|
|
|
.shop-status-icon-inner.closed {
|
|
background: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-status-icon-inner .material-symbols-outlined {
|
|
font-size: 32px;
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
|
|
.shop-status-check {
|
|
position: absolute;
|
|
bottom: -4px;
|
|
right: -4px;
|
|
background: var(--color-card);
|
|
border: 1px solid var(--color-surface-container);
|
|
border-radius: 50%;
|
|
padding: 4px;
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes shop-status-pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.85; transform: scale(1.03); }
|
|
}
|
|
|
|
.shop-status-label {
|
|
font-family: var(--font-headline);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.shop-status-label.open {
|
|
color: var(--color-success-green);
|
|
}
|
|
|
|
.shop-status-label.closed {
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-status-switch {
|
|
position: relative;
|
|
display: inline-flex;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.shop-status-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.shop-status-switch-track {
|
|
width: 80px;
|
|
height: 40px;
|
|
background: var(--color-surface-variant);
|
|
border-radius: var(--radius-full);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.shop-status-switch-track::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--color-card);
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.shop-status-switch input:checked + .shop-status-switch-track {
|
|
background: var(--color-success-green);
|
|
}
|
|
|
|
.shop-status-switch input:checked + .shop-status-switch-track::after {
|
|
transform: translateX(40px);
|
|
}
|
|
|
|
.shop-status-hours-label {
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.shop-status-hours {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-on-surface);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.shop-status-updated {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.shop-status-hint {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
padding: 16px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.shop-status-hint.open {
|
|
background: #eff6ff;
|
|
border: 1px solid #dbeafe;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-status-hint.closed {
|
|
background: var(--color-surface-container);
|
|
border: 1px solid var(--color-surface-variant);
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-status-hint .material-symbols-outlined {
|
|
color: var(--color-status-blue);
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
|
|
.shop-status-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 200;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-page);
|
|
}
|
|
|
|
.shop-status-modal-card {
|
|
width: 100%;
|
|
max-width: 360px;
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
padding: 24px;
|
|
}
|
|
|
|
.shop-status-modal-title {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.shop-status-modal-desc {
|
|
font-size: 14px;
|
|
color: var(--color-subtle-gray);
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.shop-status-modal-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shop-status-modal-cancel {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border: 1px solid var(--color-surface-container);
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.shop-status-modal-confirm {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-primary);
|
|
color: var(--color-on-primary);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* ── Mine (shop/04 mine tab) ── */
|
|
.shop-mine-page {
|
|
min-height: 100vh;
|
|
padding-bottom: 80px;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.shop-mine-header {
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--color-surface);
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.shop-mine-content {
|
|
padding: 24px var(--space-page);
|
|
}
|
|
|
|
.shop-mine-section-title {
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--color-subtle-gray);
|
|
padding: 0 4px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.shop-mine-info-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.shop-mine-info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
padding: 16px 8px;
|
|
}
|
|
|
|
.shop-mine-info-row + .shop-mine-info-row {
|
|
border-top: 1px solid var(--color-surface-container);
|
|
}
|
|
|
|
.shop-mine-info-label {
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.shop-mine-info-value {
|
|
font-size: 16px;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.shop-mine-info-value.name {
|
|
font-family: var(--font-headline);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.shop-mine-lock {
|
|
color: var(--color-on-surface-variant);
|
|
opacity: 0.3;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.shop-mine-help {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 16px 0;
|
|
font-family: var(--font-label);
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.shop-mine-logout {
|
|
margin-top: 24px;
|
|
width: 100%;
|
|
height: 48px;
|
|
border: 1px solid var(--color-heritage-red);
|
|
border-radius: var(--radius-md);
|
|
background: transparent;
|
|
color: var(--color-heritage-red);
|
|
font-family: var(--font-headline);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.session-boot {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.session-boot-text {
|
|
color: var(--color-muted);
|
|
font-size: 14px;
|
|
}
|