:root{color-scheme:light;--bg:#f5f7fb;--surface:#fff;--text:#182436;--muted:#8c9aab;--line:#e9edf2;--mint:#129b80;--navy:#152943;--shadow:0 8px 28px rgba(34,59,88,.045)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--text);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.shell{max-width:480px;min-height:100dvh;margin:auto;padding:22px 19px 100px;background:var(--bg)}.topbar{display:flex;align-items:center;gap:10px;margin-bottom:27px}.brand-icon{width:39px;height:39px;border-radius:13px;background:var(--navy);color:#fff;font-size:25px;display:grid;place-items:center}.brand-title{display:flex;flex-direction:column;gap:1px;line-height:1.25}.brand-title strong{font-size:16px;letter-spacing:-.6px}.brand-title span{font-size:9px;color:#8593a4;font-weight:800;letter-spacing:1.6px}.status{margin-left:auto;border:1px solid #dce7e4;color:#538779;background:#ecf7f3;border-radius:15px;padding:6px 10px;font-size:10px;letter-spacing:.7px;font-weight:800}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;font-weight:700;font-size:15px;letter-spacing:-.5px}.date{font-size:11px;color:#9ba8b7;font-weight:500}.page{display:flex;flex-direction:column;gap:14px}.card{background:var(--surface);border:1px solid #ecf0f4;border-radius:18px;padding:19px;box-shadow:var(--shadow)}.balance-card{background:linear-gradient(112deg,#173450,#18344a 58%,#15534e 135%);border-radius:22px;padding:23px 24px;min-height:198px;color:#fff;position:relative;overflow:hidden;box-shadow:0 15px 30px rgba(19,54,76,.14)}.balance-top{display:flex;justify-content:space-between;align-items:center;color:#c7d7df;font-size:12px;position:relative;z-index:1}.balance-mark{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#8ee2c8}.balance-line{display:flex;align-items:baseline;gap:9px;margin-top:25px;position:relative;z-index:1}.balance-line strong{font-size:44px;letter-spacing:-2.8px;font-weight:760;font-variant-numeric:tabular-nums;line-height:1.1}.balance-line span{font-size:18px;color:#d0e0e3}.balance-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px;font-size:11px;color:#a9c0cf;position:relative;z-index:1}.up-pill{background:rgba(83,218,176,.14);padding:8px 10px;border-radius:20px;color:#a6f2d8;font-weight:750}.balance-glow{position:absolute;background:radial-gradient(circle at center,rgba(21,191,139,.24),transparent 70%);width:320px;height:300px;right:-170px;top:-135px;transform:rotate(-10deg)}.section-row{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:14px}.small-kicker{display:block;font-size:9px;font-weight:850;color:#92a0ae;letter-spacing:1.5px;margin-bottom:6px}.section-row h3,.admin-panel h3{margin:0;font-size:15px;letter-spacing:-.5px}.subtle{font-size:12px;color:#8b98a8;font-weight:600;white-space:nowrap}.meter{height:9px;background:#edf2f4;border-radius:20px;overflow:hidden}.meter>span{height:100%;width:0%;display:block;background:linear-gradient(90deg,#39c5ac,#168c8b);border-radius:20px;transition:width .3s}.info-line{display:flex;justify-content:space-between;gap:8px;margin-top:13px;color:#9aa6b4;font-size:10px}.info-line>span:last-child{color:#1a9b82;font-weight:800;white-space:nowrap}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:11px}.metric{display:flex;flex-direction:column;padding:17px;min-height:158px}.metric-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;font-size:21px;margin-bottom:13px}.metric-icon.mint{color:#18a78e;background:#e9faf4}.metric-icon.blue{color:#558ae3;background:#edf4fe}.metric-label{font-size:11px;color:#8897a8}.metric strong{font-size:23px;margin-top:5px;letter-spacing:-1px}.metric small{margin-top:5px;font-size:10px;color:#9aa8b6}.history-card{padding-bottom:5px}.text-button{background:none;color:#25a78d;font-size:11px;font-weight:800;padding:5px}.history-list{display:flex;flex-direction:column}.history-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #f0f3f6;gap:8px}.history-row:last-child{border-bottom:0}.history-left{display:flex;align-items:center;gap:11px;min-width:0}.record-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#f7ebde;color:#92583a;font-size:20px;flex-shrink:0;overflow:hidden;border:1px solid #ecdcca}.record-icon img{width:24px;height:24px;display:block;object-fit:contain}.record-icon.negative{background:#f8ece9;color:#b26155}.record-icon.negative img{filter:saturate(.92)}.record-text strong{display:block;font-weight:730;font-size:12px}.record-text span{display:block;margin-top:4px;color:#a1adb8;font-size:10px}.record-amount{font-weight:800;font-size:13px;color:#15a083;white-space:nowrap}.record-amount.negative{color:#d26868}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);height:78px;padding:8px 10px max(12px,env(safe-area-inset-bottom));display:flex;justify-content:space-around;align-items:flex-start;background:#fff;border-top:1px solid #edf0f4;box-shadow:0 -8px 20px rgba(27,50,73,.035)}.bottom-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;background:transparent;color:#a5b0bf;min-width:64px;font-size:10px;font-weight:750}.bottom-nav button.active{color:#188e7d}.nav-icon{font-size:22px;line-height:28px;font-weight:500}.page-head{padding:4px 1px 5px}.page-head h2{margin:0;font-size:22px;letter-spacing:-1px}.page-head p{margin:9px 0 0;color:#94a0b0;font-size:12px}.outline{background:#fff;border:1px solid #d9e0e9;color:#334456;border-radius:11px;padding:12px;font-weight:750}.full{width:100%;margin-top:15px}.account-card{display:flex;gap:14px;align-items:center}.account-card p{font-size:11px;color:#9ba5b1}.avatar{border-radius:50%;width:46px;height:46px;background:#e6f6f0;color:#17a388;display:grid;place-items:center;font-size:23px;font-weight:800}.account-stats{display:flex;flex-direction:column;gap:3px}.account-stats>div{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.account-stats>div:last-child{border-bottom:0}.account-stats span{color:#748399}.account-stats strong{font-weight:800}.admin-title-badge{font-size:9px;background:#e6f4ed;color:#218b77;padding:5px 8px;border-radius:7px;letter-spacing:.5px;vertical-align:middle}.admin-tabs{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:1px 0 2px}.admin-tabs button{border-radius:11px;padding:11px 13px;white-space:nowrap;font-weight:750;color:#8b98aa;background:#e9eef3;font-size:11px}.admin-tabs button.selected{background:var(--navy);color:white}.admin-panel{margin-top:0;padding:19px}.setting-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:15px;font-weight:800}.detail-badge{font-weight:700;font-size:10px;padding:6px 8px;border-radius:8px;background:#eff5f6;color:#60918a}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:16px;color:#748299;font-size:11px;font-weight:700}.field input,.searchline input{width:100%;outline:none;border:1px solid #e6ebf0;border-radius:11px;background:#f8fafc;color:#233447;padding:13px 14px;font-weight:750;font-size:15px;transition:border-color .2s}.field input:focus,.searchline input:focus{border-color:#22b294}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-panel hr{border:0;border-top:1px solid var(--line);margin:7px 0 20px}.primary{background:linear-gradient(115deg,#16997e,#117a74);color:white;padding:14px 17px;border-radius:12px;font-size:13px;font-weight:780;box-shadow:0 7px 14px rgba(18,131,111,.12)}.primary:disabled{opacity:.5;cursor:default}.hint{color:#9ca8b3;font-size:11px;line-height:1.65;margin:7px 0 12px}.toggle{position:relative;width:40px;height:24px}.toggle input{opacity:0;position:absolute}.toggle i{position:absolute;inset:0;background:#c9d3df;border-radius:20px;transition:.2s}.toggle i:before{content:'';position:absolute;width:18px;height:18px;border-radius:100%;background:#fff;left:3px;top:3px;transition:.2s}.toggle input:checked+i{background:#179b7d}.toggle input:checked+i:before{transform:translateX(16px)}.choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.choice label{cursor:pointer}.choice input{position:absolute;opacity:0}.choice span{display:block;padding:13px 10px;text-align:center;border-radius:11px;border:1px solid #dce5eb;font-size:12px;color:#7a8b9b;font-weight:750}.choice input:checked+span{border-color:#25a58b;background:#effaf6;color:#128b73}.searchline{display:flex;gap:8px;margin-top:14px}.searchline input{min-width:0;flex:1}.searchresults{display:flex;flex-direction:column;gap:9px;margin-top:16px}.user-result{border:1px solid #eaf0f4;border-radius:12px;padding:13px;display:flex;justify-content:space-between;align-items:center;gap:8px}.user-result strong{font-size:12px;display:block}.user-result small{font-size:10px;color:#99a5b2}.user-result button{background:#e7f7ef;color:#169782;border-radius:8px;padding:8px;font-size:11px;font-weight:800}.role-list{font-size:12px;line-height:2.2;color:#667a88}.role-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.role-actions button{padding:12px}.access{margin-top:80px;padding:25px;text-align:center}.access-icon{font-size:48px}.access h2{font-size:20px}.access p{line-height:1.8;color:#708295}.access .fine{font-size:11px;color:#9aabba}.modal{position:fixed;z-index:30;inset:0;background:#17233891;display:flex;align-items:center;justify-content:center;padding:18px}.modal-card{max-width:360px;width:100%;border-radius:20px;background:#fff;padding:25px;text-align:center;box-shadow:0 25px 60px #0002}.modal-icon{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#fff2e3;color:#d48f32;margin:auto;font-size:23px;font-weight:800}.modal-card h3{font-size:20px}.modal-card p{font-size:13px;color:#68788a;white-space:pre-line;line-height:1.8}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.modal-actions button{padding:13px}#toast{position:fixed;bottom:98px;left:50%;transform:translateX(-50%);max-width:380px;min-width:210px;z-index:80;background:#23364b;color:#fff;display:none;border-radius:12px;padding:12px 19px;text-align:center;font-size:12px;box-shadow:0 8px 20px #0003}#toast.show{display:block}@media(max-width:360px){.shell{padding:15px 12px 100px}.balance-card{padding:18px}.balance-line strong{font-size:37px}.metric{padding:13px}.admin-panel{padding:14px}}

/* v1.1 — refined mobile-first control center */
:root{--bg:#f3f5f9;--surface:#ffffff;--text:#192637;--muted:#8494a7;--line:#e8edf2;--mint:#118f78;--navy:#11263b;--shadow:0 10px 32px rgba(32,55,80,.04)}
body{background:linear-gradient(180deg,#eaf0f5 0,#f5f7fa 340px);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif}
.shell{max-width:480px;min-height:100dvh;background:transparent;padding:22px 19px 118px}
.topbar{margin-bottom:28px}
.brand-icon{background:linear-gradient(135deg,#173953,#102337);border-radius:14px;box-shadow:0 7px 18px #1c3b5430;width:43px;height:43px;font-size:24px}
.brand-title strong{font-size:17px;font-weight:850;letter-spacing:-.8px}.brand-title span{color:#8795a6;letter-spacing:1.9px;font-size:9px;margin-top:3px}
.status{background:#e8f5ef;border:1px solid #ceebde;color:#177d67;padding:8px 10px;font-size:10px;letter-spacing:.9px}
.greeting{margin-bottom:16px}.greeting>div{display:flex;flex-direction:column;gap:5px}.greeting small{font-weight:820;letter-spacing:1.3px;font-size:9px;color:#87a2a8}.greeting #hello{font-size:17px;font-weight:820}.date{align-self:end;padding-bottom:3px}
.balance-card{background:radial-gradient(ellipse at 110% -45%,#317b7c 0,transparent 53%),linear-gradient(118deg,#162f49,#142d44 66%,#15584e);min-height:208px;border-radius:23px;padding:23px 24px;box-shadow:0 20px 33px #15334f27}
.balance-line{margin-top:29px}.balance-line strong{font-size:47px;font-weight:810;letter-spacing:-2.5px}.balance-top,.balance-footer{z-index:2}.hero-stamp{position:absolute;right:-18px;bottom:-55px;color:#ffffff0d;font-size:220px;font-family:Georgia,serif;transform:rotate(-17deg);user-select:none;pointer-events:none}.balance-mark{color:#a0edca}
.card{border-color:#e8eef2;border-radius:19px;box-shadow:0 8px 28px #16354a06}.small-kicker{font-size:9px;letter-spacing:1.65px;color:#8ca4a8;font-weight:850}
.section-row h3,.admin-panel h3{font-size:16px;font-weight:830}.cap-card{padding:21px}.meter{height:9px;background:#eaf1f1}.metric{min-height:151px}
.page-head{padding:7px 1px 6px}.page-head h2{font-size:24px;font-weight:850}.page-head p{font-size:12px}.admin-banner{border-radius:19px;background:linear-gradient(125deg,#183348,#163f45);padding:21px 22px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 15px 26px #173a471a;color:white;overflow:hidden;position:relative}.admin-banner>div{display:flex;flex-direction:column;gap:6px;z-index:1}.admin-banner small{font-size:9px;letter-spacing:1.5px;color:#84c7b5;font-weight:850}.admin-banner strong{font-size:16px;letter-spacing:-.5px}.admin-banner span:not(.banner-mark){color:#afc2c9;font-size:11px}.banner-mark{font-family:Georgia,serif;font-size:90px;position:absolute;right:13px;top:-29px;color:#ffffff17}
.admin-tabs{gap:7px;padding-bottom:6px;scroll-snap-type:x proximity}.admin-tabs button{background:#e7ecf1;padding:12px 15px;scroll-snap-align:start;border-radius:12px;font-size:12px;color:#6b7d90}.admin-tabs button.selected{background:#18364a;box-shadow:0 5px 14px #1b385a20;color:white}
.admin-panel{padding:21px}.admin-panel.card{border-radius:18px}.admin-panel h3{margin:0;font-size:16px}.field{font-size:11px}.field input,.searchline input{border:1px solid #e0e8ef;background:#f7f9fb;box-shadow:inset 0 1px 2px #00000003;border-radius:12px;padding:14px;color:#1f3245;font-size:14px}.field input:focus,.searchline input:focus{border-color:#2da992;box-shadow:0 0 0 3px #3fb99b1c}.primary{background:linear-gradient(120deg,#159e83,#087e74);border-radius:12px;box-shadow:0 8px 19px #127e6c25;font-weight:800;transition:transform .12s}.primary:active,.member-row:active{transform:scale(.987)}.outline{border-color:#dbe5eb;font-weight:800}
.bottom-nav{border-radius:18px 18px 0 0;padding-top:12px;background:#fffefef7;backdrop-filter:blur(12px);box-shadow:0 -8px 30px #19293e0b}
/* Member directory */
.member-heading{margin-bottom:5px}.members-count{font-size:11px;background:#e9f7f1;color:#13846e;border:1px solid #d0eade;border-radius:30px;padding:7px 10px;font-weight:800}
.member-search{margin-top:15px}.member-search input{font-weight:600;font-size:12px}.member-search .primary{padding:11px 16px;font-size:12px;flex-shrink:0}
.sortbar{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px;color:#94a3b3;font-size:11px;font-weight:700}.sortbar select{font:inherit;color:#537081;background:#f1f5f7;border:1px solid #e7edf2;padding:8px 11px;border-radius:9px;outline:none}
.member-list{display:flex;flex-direction:column;gap:9px;margin-top:12px}.member-row{display:flex;width:100%;text-align:left;align-items:center;gap:12px;border-radius:14px;border:1px solid #e9eef2;background:linear-gradient(120deg,#fff,#fcfdfd);padding:12px 10px;transition:transform .12s,box-shadow .12s;min-height:74px;box-shadow:0 2px 5px #17293802}.member-row:hover{box-shadow:0 9px 19px #1837460b;border-color:#cde4db}
.member-avatar,.profile-avatar{display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#d7f1e9,#e9f5f6);color:#147a70;font-size:16px;font-weight:850;width:44px;height:44px;flex-shrink:0}.member-row:nth-child(5n+2) .member-avatar{color:#4770a0;background:#e7f0fb}.member-row:nth-child(5n+3) .member-avatar{color:#9a6b43;background:#f8eee2}.member-row:nth-child(5n+4) .member-avatar{color:#8d6e9a;background:#f2eafb}
.member-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.member-main strong{font-size:13px;color:#1c3043;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-main small{font-size:10px;color:#99a6b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-points{display:flex;align-items:flex-end;flex-direction:column;gap:6px;flex-shrink:0}.member-points strong{font-size:12px;color:#1b3845;font-variant-numeric:tabular-nums}.member-points small{font-size:10px;color:#17947b;font-weight:800}.member-empty{padding:50px 0;text-align:center;color:#93a4af}
.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.pager button{font-size:11px;padding:10px 13px;border-radius:10px}.pager button:disabled{opacity:.4;cursor:not-allowed}.pager span{font-size:11px;font-weight:800;color:#708299}
/* Member wallet / actions */
.back-link{display:flex;align-items:center;background:transparent;color:#5e7c8d;font-weight:800;font-size:12px;padding:5px 0 3px}.member-profile{padding:21px}.profile-person{display:flex;align-items:center;gap:12px}.profile-avatar{width:52px;height:52px;border-radius:17px;font-size:21px}.profile-person h3{font-size:18px;margin:0;font-weight:850}.profile-person p{color:#98a6b3;font-size:11px;margin:5px 0 0}.profile-person .small-kicker{font-size:8px;margin-bottom:4px}.active-chip{margin-left:auto;border-radius:20px;color:#158871;background:#edf8f2;padding:7px 9px;font-size:9px;font-weight:850}
.profile-balance{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:23px 20px;border-radius:17px;background:linear-gradient(125deg,#183348,#164c4c);color:#b8cfd4}.profile-balance>span:first-child{font-size:12px}.profile-balance strong{font-size:34px;color:#fff;letter-spacing:-1px;line-height:1}.profile-balance small{font-size:16px;font-weight:500;color:#c4dfd9}.profile-balance .daily-positive{color:#86e6c6;font-size:11px;font-weight:750}.profile-meta{display:flex;justify-content:space-between;align-items:center;padding:19px 2px;border-bottom:1px solid #edf2f4}.profile-meta span{color:#93a2b0;font-size:11px}.profile-meta strong{font-size:12px;color:#516474}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:19px 0 13px}.profile-stats div{display:flex;flex-direction:column;align-items:center;gap:8px}.profile-stats span{font-size:10px;color:#92a2ae;text-align:center}.profile-stats strong{font-size:13px;color:#1d3346}.member-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.member-quick-actions button{padding:14px 8px;font-size:12px}
.member-picker{display:flex;align-items:center;gap:11px;width:100%;background:#f0f8f5;border:1px solid #ceebdd;color:#184d43;padding:12px;margin:14px 0 18px;border-radius:14px;text-align:left}.picker-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#d9eee4;color:#12836c;font-size:21px}.member-picker>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.member-picker strong{font-size:12px}.member-picker small{font-size:10px;color:#689e90}.member-picker b{font-size:24px;color:#319f82;font-weight:500}
@media(max-width:380px){.shell{padding-left:13px;padding-right:13px}.admin-panel{padding:15px}.member-row{gap:8px;padding:10px 8px}.member-points strong{font-size:11px}.member-main strong{font-size:12px}.profile-stats span{font-size:9px}}

/* v1.2 announcements - main user tab and operations */
.bottom-nav { justify-content: space-between; padding-left:6px; padding-right:6px; }
.bottom-nav button { flex:1; min-width:0; padding:0 2px; font-size:10px; white-space:nowrap; }
.bottom-nav .nav-icon { font-size:21px; }
.notice-heading{margin-bottom:5px}
.notice-list{display:flex;flex-direction:column;gap:11px}
.notice-item{width:100%;background:#fff;border:1px solid #e5eaf1;box-shadow:0 7px 24px #16354a08;border-radius:17px;text-align:left;padding:19px 17px;display:flex;gap:12px;align-items:center}
.notice-item-body{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.notice-item-top{font-size:9px;font-weight:850;letter-spacing:1px;color:#18977a}
.notice-item-title{font-size:14px;color:#172c40;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:850}
.notice-item-preview{font-size:11px;color:#8e9bad;line-height:1.65;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
.notice-item-date{font-size:10px;color:#a4aebb}
.notice-item-arrow{color:#90a9af;font-size:22px;flex-shrink:0}
.notice-empty{text-align:center;background:#fff;border:1px solid #ecf0f4;border-radius:17px;padding:45px 15px;color:#8696a3;font-size:12px}
.notice-detail-card{padding:24px 20px;margin-top:12px}
.notice-detail-tag{font-weight:850;font-size:10px;color:#118f78;letter-spacing:1px}
.notice-detail-card h2{font-size:21px;line-height:1.5;margin:12px 0 10px;word-break:break-word;white-space:pre-wrap}
.notice-detail-meta{font-size:11px;color:#92a0ad;border-bottom:1px solid #e9eef2;padding-bottom:17px}
.notice-detail-body{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.9;color:#344759;font-size:13px;padding-top:19px;min-height:100px}
.notice-new-btn{padding:10px 12px;font-size:11px;flex-shrink:0}
.notice-admin-list{display:flex;flex-direction:column;gap:9px}
.notice-admin-item{border:1px solid #e9eef2;border-radius:13px;padding:14px 12px}
.notice-admin-title{display:block;font-size:12px;font-weight:850;overflow-wrap:anywhere;color:#24384a}
.notice-admin-meta{font-size:10px;color:#9aabb7;margin:7px 0 12px}
.notice-admin-actions{display:flex;gap:8px}
.notice-admin-actions button{flex:1;font-size:11px;border-radius:9px;padding:9px 7px;font-weight:800}
.notice-admin-actions .edit{color:#17866f;background:#ecf8f3}
.notice-admin-actions .delete{color:#ba595d;background:#fcf0f0}
.notice-editor{border-top:1px solid #e8eef1;margin-top:19px;padding-top:19px}
.notice-editor-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.notice-editor .field textarea{font:inherit;font-size:13px;line-height:1.7;padding:14px;border-radius:11px;background:#f8fafc;border:1px solid #e6ebf0;color:#273b50;resize:vertical;min-height:165px;outline:none}
.notice-editor .field textarea:focus{border-color:#22b294}
.notice-editor-footer{display:flex;justify-content:space-between;gap:10px;color:#94a3af;font-size:10px;margin-bottom:16px}
@media(max-width:380px){.bottom-nav button{font-size:9px}.bottom-nav .nav-icon{font-size:19px}.notice-admin-item{padding:12px 10px}}

/* v1.2.1: wallet / notice primary navigation at the TOP, within the first viewport. */
.quick-nav{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px;margin:-5px 0 23px}
.quick-tab{display:flex;align-items:center;gap:10px;text-align:left;min-height:76px;min-width:0;border:1px solid #e0e8ec;border-radius:18px;background:#fff;color:#374d60;padding:13px 12px;box-shadow:0 3px 12px rgba(19,49,72,.035);transition:background .15s,border-color .15s,box-shadow .15s}
.quick-tab .quick-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:12px;background:#f1f5f8;color:#6f8a9b;font-size:24px;line-height:1}
.quick-tab .quick-content{display:flex;flex-direction:column;min-width:0;gap:4px}
.quick-tab strong{font-size:14px;white-space:nowrap;letter-spacing:-.3px}
.quick-tab small{font-size:10px;font-weight:650;color:#97a4b0;white-space:nowrap}
.quick-tab.active{border-color:#9fdccc;background:linear-gradient(135deg,#edfaf4,#f8fffc);color:#126e5e;box-shadow:0 6px 18px rgba(19,142,115,.09)}
.quick-tab.active .quick-icon{background:#d9f2e9;color:#158a73}
.quick-tab.active small{color:#529988}
.quick-tab:focus-visible{outline:3px solid #29a98d;outline-offset:2px}
.quick-tab:active{transform:scale(.99)}
.greeting{margin-bottom:2px}
@media(max-width:375px){.quick-nav{gap:8px}.quick-tab{gap:8px;padding:11px 9px;min-height:70px}.quick-tab .quick-icon{flex-basis:34px;width:34px;height:34px;font-size:21px}.quick-tab strong{font-size:13px}.quick-tab small{font-size:9px}}


/* SPONINE v1.3 — warm champagne, copper, espresso.
   Inspired by the reference video, restrained for small-screen legibility. */
:root{--bg:#f7f3ed;--surface:#fffdfa;--text:#281e1a;--muted:#77665c;--line:#e9ddd1;--mint:#92543b;--navy:#301f1a;--shadow:0 10px 28px rgba(62,32,21,.065);--copper:#a35e40;--champagne:#ecd1a5;--espresso:#281711;--cream:#fff8ef}
body{color:var(--text);background:linear-gradient(180deg,#eee2d5 0,#f8f4ef 390px);}
.shell{background:transparent}
.topbar{margin-bottom:24px}
.brand-icon{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#4b2c21,#211410);color:#f5d3a2;font-size:23px;font-family:Georgia,serif;font-weight:700;border:1px solid #875a42;box-shadow:0 8px 17px #4a241b25}
.brand-icon em{font-size:14px;font-style:normal;vertical-align:super;margin-left:1px;color:#e9b985}
.brand-title strong{color:#291e19;font-size:18px;letter-spacing:-.8px}
.brand-title span{color:#9a7560;letter-spacing:1.8px}
.status,.active-chip,.members-count,.detail-badge{background:#f6e8d7;border:1px solid #e6caaa;color:#70402c}
.greeting small,.small-kicker{color:#977356}
.greeting #hello,.page-head h2,.section-row h3,.admin-panel h3{color:#2d201a}
.date,.page-head p,.subtle,.hint,.member-row small{color:#806f64}
.quick-tab{background:#fffdf9;border-color:#e8d9ca;color:#5a4438;box-shadow:0 4px 13px #53332409}
.quick-tab .quick-icon{color:#a16b4e;background:#f5ebdf}
.quick-tab small{color:#816b5d}
.quick-tab.active{border-color:#bd8b64;background:linear-gradient(140deg,#fff4e3,#f6e2ca);color:#5b311f;box-shadow:0 7px 16px #8c4d2d19}
.quick-tab.active .quick-icon{color:#ffe6bf;background:linear-gradient(140deg,#8c4e36,#663623)}
.quick-tab.active small{color:#78503b}
.quick-tab:focus-visible,.field input:focus,.searchline input:focus,.notice-editor .field textarea:focus{outline:2px solid #a96846;outline-offset:2px;border-color:#a96846}
.card{background:#fffdfa;border-color:#eae0d6;box-shadow:0 8px 25px #4f2a1b0a}
.balance-card{min-height:208px;background:radial-gradient(ellipse at 110% -35%,#a26545 0%,transparent 56%),linear-gradient(115deg,#2a1a16 0%,#3b251d 65%,#6d3b28 100%);color:#fffaf1;border:1px solid #79513d;box-shadow:0 20px 38px #4d2c212c}
.balance-top{color:#e4d3c1}
.balance-line strong{color:#fffaf1}
.balance-line span{color:#efcfaa}
.balance-mark{color:#f2c895}
.balance-footer{color:#ebd8ca}
.up-pill{color:#ffe4b9;background:#7f4d355f;border:1px solid #c6986c55}
.balance-glow{background:radial-gradient(circle at center,rgba(225,160,100,.20),transparent 70%)}
.hero-stamp{color:#f1c49811;font-family:Georgia,serif;font-weight:bold;font-size:180px;bottom:-40px;right:-15px}
.meter{background:#efe8df}.meter>span{background:linear-gradient(90deg,#d8a774,#945236)}
.info-line{color:#8f7a6d}.info-line>span:last-child{color:#805038}
.metric-icon.mint,.record-icon{background:#f5e5d5;color:#96563a}
.metric-icon.blue{background:#f2ebdf;color:#9a6c42}
.metric-label,.metric small{color:#89796e}
.metric strong{color:#30201a}
.text-button,.record-amount,.member-points small,.notice-item-top,.notice-detail-tag{color:#8c4a2d}
.record-icon.negative{background:#f6e6e4;color:#ab5553}.record-amount.negative{color:#ad4846}
.history-row{border-color:#efe5db}.record-text span{color:#897a70}
.bottom-nav{background:#fffdfaf2;border-color:#e7d8c7;box-shadow:0 -8px 30px #43291a0d}
.bottom-nav button{color:#917f71}.bottom-nav button.active{color:#8c492e}
.outline{background:#fffdfa;border-color:#d9c4b2;color:#684532}
.avatar,.member-avatar,.profile-avatar{background:linear-gradient(145deg,#f1ddc9,#fff5e7);color:#84503a}
.account-card p,.account-stats span{color:#817064}
.admin-title-badge{background:#f4e3ce;color:#7e452e}
.admin-banner{background:linear-gradient(120deg,#2b1c16,#71432d);color:#fff6e9;box-shadow:0 9px 24px #5a2c2418}
.admin-banner small{color:#edc698}.admin-banner span{color:#e0c9b5}
.admin-tabs button{color:#705849;background:#eee2d5}.admin-tabs button.selected{background:#3b261e;color:#fff3df}
.field{color:#745e4e}
.field input,.searchline input,.notice-editor .field textarea{background:#fdf8f2;border-color:#e5d5c5;color:#35251e}
.field input::placeholder,.searchline input::placeholder,.notice-editor textarea::placeholder{color:#978577}
.primary{background:linear-gradient(110deg,#986043,#6e3b2b);color:#fff9f0;box-shadow:0 8px 18px #8f553123}
.primary:hover{filter:brightness(1.07)}
.detail-badge{background:#f5eadb}
.toggle i{background:#cbb9a9}.toggle input:checked+i{background:#a65d3d}
.choice span{border-color:#e4d4c4;color:#745f51;background:#fffdfa}.choice input:checked+span{background:#f5e6d6;border-color:#b07951;color:#6b3825}
.user-result{background:#fffdf9;border-color:#eadfd4}.user-result button{background:#f2e4d3;color:#75412b}
.member-row{background:linear-gradient(110deg,#fffdfa,#fdf8f2);border-color:#eaddd0;box-shadow:0 3px 12px #41241408}
.member-row:hover{border-color:#c49a79;box-shadow:0 7px 20px #53301e16}
.member-row:nth-child(5n+2) .member-avatar{background:#f5e9db;color:#8e6446}
.member-row:nth-child(5n+3) .member-avatar{background:#f7e6d4;color:#8b4d36}
.member-row:nth-child(5n+4) .member-avatar{background:#eee2d7;color:#745447}
.member-main strong,.member-points strong,.notice-item-title,.notice-admin-title{color:#31211a}
.sortbar{color:#836c5b}.sortbar select{background:#f7eee4;color:#6f4b37;border-color:#e4d3c2}
.profile-balance{background:linear-gradient(117deg,#2c1d17,#65402c);color:#efdbc5}
.profile-balance .daily-positive{color:#f6cea0}.profile-meta{border-color:#ecdfd1}
.profile-meta span,.profile-stats span{color:#89766a}.profile-meta strong,.profile-stats strong{color:#513729}
.member-picker{background:#faeee1;border-color:#e4c9ad;color:#613a29}
.picker-avatar{background:#f2d9bd;color:#8d4c2c}.member-picker small{color:#80614e}.member-picker b{color:#9b603e}
.notice-item,.notice-empty{background:#fffdfa;border-color:#eaded1;box-shadow:0 7px 18px #3f24180b}
.notice-item-preview,.notice-item-date,.notice-admin-meta,.notice-detail-meta{color:#88776c}
.notice-item-arrow{color:#a87e60}.notice-detail-body{color:#4c382f}
.notice-admin-item{border-color:#e8d9c9;background:#fffcf7}
.notice-admin-actions .edit{background:#f3e2cb;color:#764528}.notice-admin-actions .delete{background:#f8e8e6;color:#aa4844}
.notice-editor{border-color:#e8dacf}
.notice-editor-footer{color:#887669}
.modal{background:#21120bc2}.modal-card{background:#fff9f0;box-shadow:0 25px 60px #170b0859}
.modal-icon{background:#f4e0c6;color:#8c4e30}.modal-card p{color:#665248}
.back-link{color:#7e5037}
#toast{background:#39271f;color:#fff7ed}
:focus-visible{outline-color:#a96846}

/* v1.4 readability, accessible actions and status indicators */
body{font-size:15px;line-height:1.5}
.brand-title span,.small-kicker{font-size:11px;letter-spacing:.7px}
.status{font-size:12px;padding:7px 11px}
.quick-tab small,.date,.metric small,.record-text span,.hint,.page-head p,.notice-item-date,.notice-admin-meta{font-size:12px}
.metric-label,.record-text strong,.notice-item-preview{font-size:13px}
.metric{min-height:144px}.metric strong{font-size:24px}
.history-row{min-height:62px}.record-amount{font-size:14px}
.quick-tab{position:relative;min-height:72px}.notice-dot{position:absolute;top:6px;right:7px;background:#ad5143;color:#fff;border:2px solid #fff7ed;min-width:19px;height:19px;padding:0 4px;border-radius:12px;display:grid;place-items:center;font-size:10px;font-weight:900}
.overview-card{margin:12px 0 16px}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.overview-grid>div{padding:12px;border-radius:12px;background:#f7eee5;display:flex;flex-direction:column;gap:4px}.overview-grid span{font-size:12px;color:#775c4c}.overview-grid strong{font-size:18px;color:#3e271d;font-variant-numeric:tabular-nums}.overview-status{margin-top:12px;padding:10px 12px;border-radius:11px;background:#ebf4e9;color:#286844;font-weight:800;font-size:13px}.overview-status.is-paused{background:#ffeadf;color:#a34f36}
.pause-panel{padding:15px 12px;background:#fff1e9;border:1px solid #e9c8b5;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:16px}.pause-panel>div{display:flex;flex-direction:column;gap:6px}.pause-panel strong{font-size:14px}.pause-panel small{font-size:12px;color:#865c47;line-height:1.5}
.quick-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:-7px 0 15px}.quick-amounts button{background:#f2e3d3;border:1px solid #e7cbb0;border-radius:9px;padding:10px 2px;color:#704331;font-size:12px;font-weight:800}
.member-restriction{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;border-top:1px solid #eee0d2;padding-top:14px}.member-restriction span{font-size:13px;font-weight:750;color:#684737}.member-restriction button{font-size:12px;padding:9px}
.audit-target{display:block;margin-top:5px;color:#7a6051;font-size:12px}.checkline{display:flex;align-items:center;gap:9px;margin:6px 0 15px;font-size:13px;font-weight:800;color:#67422f}.checkline input{width:19px;height:19px;accent-color:#955e40}
#admin-audit select{width:100%;border:1px solid #e0d1c1;background:#fff8f0;border-radius:11px;padding:12px;font-size:14px}
.admin-tabs button,.primary,.outline,.text-button{font-size:13px;min-height:42px}
.primary:focus-visible,.outline:focus-visible,.quick-amounts button:focus-visible{outline:3px solid #ab704b;outline-offset:2px}
@media(max-width:365px){.quick-amounts button{font-size:11px}.overview-grid strong{font-size:16px}.quick-tab small{font-size:11px}}

.audit-dates{margin-top:12px}.audit-dates input{min-width:0;font-size:14px}.audit-dates .field{margin-bottom:4px}


/* SPONINE v1.4.1 — restrained, identity-led logotype system */
.brand-icon{width:46px;height:46px;flex:0 0 46px;border:0;border-radius:15px;background:transparent;box-shadow:none;display:block;overflow:hidden}
.brand-icon svg{display:block;width:100%;height:100%}
.brand-title strong{font-size:19px;font-weight:800;letter-spacing:-.85px;color:#30231d}
.brand-title span{font-size:10px;letter-spacing:1.25px;color:#896f5b;font-weight:700}
.topbar{gap:11px;margin-bottom:23px}
.balance-card{background:#34241d;border:1px solid #48342a;box-shadow:0 12px 27px rgba(62,36,23,.13)}
.balance-glow,.hero-stamp{display:none!important}
.balance-mark{font-family:system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;color:#d1ae87;font-size:10px;letter-spacing:1.15px;font-weight:750}
.balance-top{color:#e7d7c8}
.balance-line strong{color:#fff9ef}
.up-pill{background:#534032;color:#f5d4af;border:1px solid #705440}
.quick-tab .quick-icon{font-size:inherit;display:grid;place-items:center}
.quick-tab .quick-icon svg{display:block;width:22px;height:22px}
.metric-icon{font-size:inherit}
.metric-icon svg{display:block;width:21px;height:21px}
.banner-mark{font-family:system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;font-size:59px;font-weight:850;letter-spacing:-4px;right:17px;top:3px;opacity:.65;color:#f2d2a824}
@media(max-width:375px){.brand-icon{width:42px;height:42px;flex-basis:42px}.brand-title strong{font-size:17px}.quick-tab .quick-icon svg{width:20px;height:20px}}

/* v1.4.2: long Telegram display names fit the compact wallet greeting. */
.greeting>div{min-width:0;flex:1}.greeting #hello{display:block;overflow-wrap:anywhere;line-height:1.35}.greeting .date{flex-shrink:0;margin-left:12px}


/* v1.5 overall UI refinement */

.greeting{align-items:flex-end;gap:14px;margin-bottom:18px}
.greeting small{font-size:12px;letter-spacing:.3px;color:#98765f;font-weight:800}
.greeting #hello{font-size:18px;font-weight:900;color:#2f1f18;letter-spacing:-.8px}
.quick-tab{border-width:2px}
.quick-tab .quick-content strong{font-size:14px}
.quick-tab .quick-content small{margin-top:2px;display:block}
.history-card .section-row,.account-stats-rich .section-row{align-items:flex-end}
.profile-summary-card{padding:22px}
.profile-summary-top{display:flex;align-items:center;gap:14px}
.profile-avatar-lg{width:64px;height:64px;border-radius:20px;font-size:28px}
.profile-summary-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.profile-summary-copy strong{font-size:28px;line-height:1.1;letter-spacing:-1.2px;color:#2f1f18}
.profile-summary-copy p{margin:0;color:#896f5a;font-size:13px;overflow-wrap:anywhere}
.profile-summary-copy .active-chip{width:max-content;margin-left:0}
.profile-summary-balance{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.summary-balance-card,.summary-cap-card{border-radius:18px;padding:18px 16px;display:flex;flex-direction:column;gap:8px;min-height:124px}
.summary-balance-card{background:linear-gradient(117deg,#2c1d17,#65402c);color:#efdbc5}
.summary-balance-card span,.summary-cap-card span{font-size:12px;font-weight:700}
.summary-balance-card strong{font-size:31px;line-height:1.05;letter-spacing:-1.5px;color:#fff9ef}
.summary-balance-card small{font-size:12px;color:#f6cea0;font-weight:800}
.summary-cap-card{background:linear-gradient(180deg,#fffaf4,#f9efe4);border:1px solid #ead9c8;color:#6b4b3b}
.summary-cap-card strong{font-size:22px;line-height:1.1;color:#35241d}
.summary-cap-card small{font-size:12px;color:#8c6b56;font-weight:700}
.account-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-meta-grid>div{background:#fffaf4;border:1px solid #eaded1;border-radius:16px;padding:16px 14px;display:flex;flex-direction:column;gap:8px}
.account-meta-grid span{font-size:12px;color:#90796a;font-weight:700}
.account-meta-grid strong{font-size:15px;color:#33231c;line-height:1.35;overflow-wrap:anywhere}
.account-stats-rich{padding:20px}
.account-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-stat-box{background:linear-gradient(180deg,#fffdfa,#f9f1e8);border:1px solid #eadfd4;border-radius:16px;padding:16px 14px;display:flex;flex-direction:column;gap:7px;min-height:132px}
.account-stat-box.wide{grid-column:1/-1;background:linear-gradient(120deg,#fff7ef,#f5e7d8)}
.account-stat-box span{font-size:12px;color:#856f5f;font-weight:700}
.account-stat-box strong{font-size:28px;color:#2f1f18;letter-spacing:-1.1px;line-height:1.1}
.account-stat-box small{font-size:12px;color:#9a8575;line-height:1.45}
#account-history-link{white-space:nowrap}
.page-head h2{font-size:24px}
.page-head p{line-height:1.65}
.notice-heading p{max-width:28em}
@media(max-width:390px){
  .profile-summary-balance,.account-meta-grid,.account-stats-grid{grid-template-columns:1fr}
  .account-stat-box.wide{grid-column:auto}
  .profile-summary-copy strong{font-size:24px}
}


/* v1.5.1 premium profile screen */

.account-page{gap:18px}
.profile-page-head h2{font-size:28px;letter-spacing:-1.2px}
.profile-page-head p{font-size:14px;color:#8f7a69;font-weight:700;margin-top:10px}
.profile-hero-card{padding:26px 22px;border-radius:28px;background:#fffdfb;border:1px solid #e7d8c8;box-shadow:0 10px 24px rgba(76,45,23,.06)}
.profile-hero-top{display:flex;gap:18px;align-items:center}
.profile-hero-avatar{width:122px;height:122px;border-radius:999px;background:linear-gradient(180deg,#efe2d3,#e9dccb);color:#916c53;display:grid;place-items:center;font-size:46px;font-weight:800;flex:0 0 auto}
.profile-hero-copy{min-width:0;display:flex;flex-direction:column;gap:8px}
.profile-hero-copy strong{font-size:34px;line-height:1.05;letter-spacing:-1.4px;color:#30211c}
.profile-hero-copy p{margin:0;font-size:18px;line-height:1.35;color:#9a826f;font-weight:700;overflow-wrap:anywhere}
.profile-connect{display:flex;align-items:center;gap:10px;color:#2c8b63;font-size:17px;font-weight:800;margin-top:2px}
.connect-dot{width:24px;height:24px;border-radius:50%;border:2px solid #2c8b63;display:grid;place-items:center;font-size:14px;line-height:1}
.profile-detail-list{margin-top:22px;padding-top:22px;border-top:1px solid #e8ddd2;display:flex;flex-direction:column;gap:18px}
.profile-detail-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.profile-detail-row span{font-size:16px;color:#998675;font-weight:700}
.profile-detail-row strong{font-size:20px;color:#35251e;font-weight:850;text-align:right;overflow-wrap:anywhere}
.profile-point-strip{background:linear-gradient(110deg,#3a251c,#4c2f20 48%,#523321);color:#f8e1be;border-radius:30px;padding:26px 26px 24px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;box-shadow:0 14px 28px rgba(77,46,27,.16)}
.profile-point-copy{display:flex;flex-direction:column;gap:10px}
.profile-point-copy span{font-size:18px;font-weight:800;color:#e6caa6}
.profile-point-copy strong{font-size:64px;line-height:1;letter-spacing:-2.4px;color:#fff7ea}
.profile-point-copy small{font-size:17px;font-weight:800;color:#efc796}
.profile-point-icon{color:#d8ae79;opacity:.96;flex:0 0 auto}
.profile-point-icon svg{width:34px;height:34px;display:block}
.profile-stats-section{display:flex;flex-direction:column;gap:14px}
.compact-section-row{margin-bottom:0;align-items:flex-end}
.compact-section-row h3{font-size:28px;letter-spacing:-1px;color:#30211c}
.profile-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.profile-stat-card{background:#fffdfb;border:1px solid #eadfd4;border-radius:24px;padding:22px 20px;display:flex;flex-direction:column;gap:10px;min-height:176px;box-shadow:0 8px 18px rgba(69,40,21,.045)}
.profile-stat-icon{font-size:30px;line-height:1;color:#a27958}
.profile-stat-label{font-size:16px;color:#9b846f;font-weight:700}
.profile-stat-card strong{font-size:32px;line-height:1.15;letter-spacing:-1.1px;color:#31211a}
.profile-stat-card small{font-size:13px;color:#9d8775;font-weight:700}
#account-history-link{font-size:14px}
@media (max-width: 420px){
 .profile-hero-card{padding:22px 18px;border-radius:24px}
 .profile-hero-top{gap:14px;align-items:flex-start}
 .profile-hero-avatar{width:96px;height:96px;font-size:38px}
 .profile-hero-copy strong{font-size:30px}
 .profile-hero-copy p{font-size:16px}
 .profile-connect{font-size:15px}
 .connect-dot{width:22px;height:22px}
 .profile-detail-row span{font-size:14px}
 .profile-detail-row strong{font-size:18px}
 .profile-point-strip{padding:22px 20px;border-radius:26px}
 .profile-point-copy span{font-size:16px}
 .profile-point-copy strong{font-size:48px}
 .profile-point-copy small{font-size:15px}
 .compact-section-row h3{font-size:24px}
 .profile-stat-grid{gap:12px}
 .profile-stat-card{border-radius:20px;padding:18px 16px;min-height:148px}
 .profile-stat-card strong{font-size:27px}
 .profile-stat-label{font-size:15px}
}



/* v1.5.2 premium admin and member refinements */
.admin-tabs{gap:8px;padding:2px 0 4px;margin-bottom:2px}
.admin-tabs button{background:#f6eee6;border:1px solid #e6d3c2;color:#7b5947;border-radius:14px;padding:12px 14px;box-shadow:0 2px 8px rgba(60,34,18,.04)}
.admin-tabs button.selected{background:linear-gradient(120deg,#3c271d,#6f432d);border-color:#6f432d;color:#fff3e3;box-shadow:0 10px 18px rgba(83,45,25,.18)}
.admin-panel.card{border-radius:24px;padding:22px 20px;border-color:#eadbce;box-shadow:0 10px 28px rgba(76,45,23,.06)}
.member-heading{margin-bottom:8px}.members-count{background:#f5e8da;color:#754a37;border:1px solid #e5d1bf;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:850}
.member-search input,.searchline input{min-height:48px}.searchline .primary{min-width:72px}
.member-row{padding:14px 13px;border-radius:18px;border-color:#eadfd4;background:linear-gradient(180deg,#fffdfa,#fcf6ef);box-shadow:0 5px 14px rgba(76,45,23,.04)}
.member-avatar{width:46px;height:46px;border-radius:16px;background:linear-gradient(180deg,#ede0d1,#e5d6c5);color:#7f614f;display:grid;place-items:center;font-size:20px;font-weight:900;flex:0 0 auto}
.member-main{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.member-main strong{font-size:14px;color:#34241d}.member-main small{font-size:11px;color:#8e7a6e;overflow-wrap:anywhere}
.member-points{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.member-points strong{font-size:14px;color:#3e2a20}.member-points small{font-size:11px;color:#9a816f;font-weight:800}
.pager{margin-top:16px;background:#fff8f1;border:1px solid #ecdccf;border-radius:16px;padding:10px 12px}.pager span{font-size:12px;color:#735a4a}
.premium-member-profile{padding:24px 20px;border-radius:28px;border-color:#eadfd4;box-shadow:0 14px 30px rgba(76,45,23,.06)}
.member-identity{min-width:0;display:flex;flex-direction:column;gap:4px}
.member-identity .small-kicker{margin-bottom:2px}.member-identity h3{font-size:24px;letter-spacing:-.9px}.member-identity p{font-size:13px;color:#8e7868;overflow-wrap:anywhere}
.member-balance-premium{border-radius:22px;background:linear-gradient(120deg,#3b261d,#6a402b);padding:18px 18px 16px;margin-top:16px;color:#faebd8}.member-balance-premium span{color:#e8ccac}.member-balance-premium strong{color:#fff7eb;font-size:34px;letter-spacing:-1.4px}.member-balance-premium .daily-positive{color:#f2cc9d;font-size:13px;font-weight:800}
.member-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.member-meta-grid>div{background:#fffaf5;border:1px solid #eaded2;border-radius:16px;padding:14px 13px;display:flex;flex-direction:column;gap:7px}.member-meta-grid span{font-size:12px;color:#8e7a6b;font-weight:700}.member-meta-grid strong{font-size:15px;color:#34241d;line-height:1.35;overflow-wrap:anywhere}
.member-stats-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:14px}.member-stats-grid>div{border-radius:18px;background:linear-gradient(180deg,#fffdfa,#f9f1e7);border:1px solid #eadfd4;padding:16px 14px;min-height:104px}.member-stats-grid span{font-size:12px;color:#8d7a6b}.member-stats-grid strong{font-size:22px;color:#32221b;letter-spacing:-.8px;margin-top:8px;display:block}
.premium-restriction{margin-top:16px;padding:14px 15px;border-radius:16px;background:#fcf6ee;border:1px solid #eadacc}.premium-restriction span{font-weight:800;color:#6b4a39}
.member-quick-actions{margin-top:14px}
.notice-admin-list{gap:12px}.notice-admin-item{background:linear-gradient(180deg,#fffdfa,#fbf5ee);border:1px solid #eadccf;border-radius:18px;padding:15px 16px;box-shadow:0 6px 14px rgba(76,45,23,.04)}
.notice-admin-title{display:block;font-size:15px;color:#34241d;margin-bottom:6px}.notice-admin-meta{font-size:11px;color:#8f7968;line-height:1.5}.notice-admin-actions{display:flex;gap:8px;margin-top:12px}.notice-admin-actions button{border-radius:11px;padding:10px 12px;font-size:12px;font-weight:800}.notice-admin-actions .edit{background:#f5e7d8;color:#6b4734}.notice-admin-actions .delete{background:#fff1ef;color:#a84a40}
.notice-editor{margin-top:20px;padding-top:20px;border-top:1px solid #eadccf}.notice-editor-top h3{font-size:18px;color:#30211c}.notice-editor .field textarea{min-height:210px;border-radius:16px;padding:16px}
.notice-editor-footer{font-size:11px}.checkline{padding:12px 13px;background:#fff7ee;border:1px solid #ead9c8;border-radius:14px}
#admin-audit .history-list{margin-top:10px}.audit-target{display:block;margin-top:6px;line-height:1.55;color:#83695a}
.role-list{background:#fff8f1;border:1px solid #eadccf;border-radius:16px;padding:14px 15px;font-size:13px;line-height:1.95;color:#614939}
.role-actions{margin-top:12px}
.modal-card{border-radius:26px;padding:26px 24px}
@media(max-width:420px){
  .member-meta-grid{grid-template-columns:1fr 1fr}
  .member-stats-grid{grid-template-columns:1fr}
}


/* v1.5.3 – Sponine unified finishing pass */
:root{--ui-ink:#33241d;--ui-copper:#906246;--ui-line:#e8d9c9;--ui-soft:#fffaf4;--ui-cream:#f6eee6}
body{background:linear-gradient(180deg,#f2e9df 0,#f7f2ec 280px,#f6f1eb 100%);color:var(--ui-ink)}
.shell{padding-top:20px}
.topbar{padding-bottom:12px;border-bottom:1px solid #e9dacb;margin-bottom:17px}
.quick-nav{gap:10px;margin-bottom:24px}
.quick-tab{border-radius:21px;min-height:78px;padding:13px 12px;gap:11px;box-shadow:0 4px 16px #5938210a;transition:transform .14s,box-shadow .14s}
.quick-tab:active,.admin-quick-grid button:active{transform:scale(.985)}
.quick-tab .quick-icon{border-radius:14px;min-width:39px;min-height:39px}
.quick-tab .quick-content strong{font-size:15px;letter-spacing:-.4px}
.quick-tab .quick-content small{font-size:11px;white-space:nowrap}
.greeting #hello{font-size:22px;line-height:1.32}
.greeting small{font-size:11px}
.balance-card{min-height:190px;border-radius:26px;padding:25px 24px;background:linear-gradient(112deg,#34231c,#493125);box-shadow:0 15px 28px #48301f1e}
.balance-line strong{font-size:46px}
.balance-mark{font-size:10px;letter-spacing:1.3px}
.card{border-color:#ebdfd1;border-radius:22px;box-shadow:0 9px 22px #52351c0b}
.cap-card{padding:22px}.section-row h3{font-size:17px;letter-spacing:-.5px}
.meter{background:#ede2d6}.meter>span{background:#a5734f}
.metric{min-height:139px}.metric-label{font-size:13px}.metric strong{font-size:26px}
.history-row{padding:15px 0;gap:10px}.record-text strong{font-size:13px}.record-text span{font-size:12px}
.history-list:empty::before{content:'포인트 내역이 없습니다';display:block;color:#947f6c;text-align:center;padding:24px 0}
.text-button{color:#885637;font-size:12px;font-weight:800;padding:9px 5px}
.text-button:hover{text-decoration:underline}
.bottom-nav{height:82px;align-items:center;padding-top:7px;padding-bottom:max(12px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0}
.bottom-nav button{flex:1;font-size:11px;min-height:54px;gap:3px;justify-content:center;line-height:1.1}
.nav-icon{display:grid;place-items:center;width:23px;height:24px}.nav-icon svg{width:22px;height:22px}
.bottom-nav button.active .nav-icon{color:#8d5a3d}
.page-head{margin:3px 0 0}.page-head h2{font-size:27px;letter-spacing:-1.1px}
.admin-banner{border-radius:24px;background:linear-gradient(112deg,#32221b,#62402e);padding:23px 22px;min-height:106px}
.admin-banner strong{font-size:18px}.admin-banner small{font-size:10px}.admin-banner span:not(.banner-mark){font-size:12px}
.banner-mark{font-size:62px;top:14px;opacity:.16}
.overview-card{margin:0;padding:20px;border-radius:23px}
.overview-grid{gap:10px}.overview-grid>div{border:1px solid #e8d7c7;background:#f9efe4;border-radius:17px;padding:17px 14px}
.overview-grid span{font-size:12px;color:#7a5e4c}.overview-grid strong{font-size:22px;letter-spacing:-.7px}
.overview-status{border-radius:14px;padding:13px;font-size:13px}
.admin-quick-actions{margin:3px 0 5px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;gap:8px}
.dashboard-heading h3{font-size:17px;color:#35241e;margin:0;letter-spacing:-.6px}
.dashboard-heading>span{font-size:12px;color:#998471}
.admin-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-quick-grid button{min-width:0;text-align:left;border:1px solid #e7d7c9;background:linear-gradient(130deg,#fffefa,#fcf5ed);box-shadow:0 5px 14px #46301e0b;border-radius:19px;min-height:117px;padding:14px 13px;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto 1fr;column-gap:10px;row-gap:7px;transition:transform .12s,border .12s}
.dashboard-shortcut-icon{width:34px;height:34px;background:#f1e3d3;color:#805339;font-size:22px;font-weight:800;display:grid;place-items:center;border-radius:12px;grid-column:1;grid-row:1}
.shortcut-copy{display:flex;flex-direction:column;grid-column:1 / span 2;gap:4px;min-width:0}
.shortcut-copy strong{color:#3a281e;font-size:14px;letter-spacing:-.4px;line-height:1.35}
.shortcut-copy small{font-size:12px;color:#917664}
.shortcut-arrow{grid-column:2;grid-row:1;justify-self:end;color:#ab917c;font-size:21px}
.admin-tabs{scroll-padding-inline:5px;padding-bottom:9px}
.admin-tabs button{font-size:13px;min-height:44px}
.admin-panel-head{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #ebdccd}
.admin-panel-head h3{font-size:20px;letter-spacing:-.7px;margin:0 0 7px}.admin-panel-head p{font-size:12px;color:#8d7562;line-height:1.5;margin:0}
#admin-notices>.section-row{align-items:flex-end;gap:10px}
#admin-notices .section-row h3{font-size:19px}
.notice-new-btn{font-size:13px;padding:12px 14px;min-height:43px;white-space:nowrap}
.notice-editor{background:#fcf7f0;border-radius:19px;padding:20px 16px 16px;border:1px solid #e8d8c8}
.notice-editor-top{margin-bottom:16px}.notice-editor-top h3{font-size:19px}
.notice-editor .field{font-size:13px;font-weight:800}
.notice-editor .field textarea{font-size:14px;line-height:1.7;background:#fffdfa}
.notice-admin-item{padding:17px 15px}.notice-admin-title{font-size:15px}
.notice-admin-actions button{min-height:40px;padding:10px 16px}
.notice-admin-actions button:focus-visible,.admin-quick-grid button:focus-visible,.member-row:focus-visible{outline:3px solid #b78b63;outline-offset:2px}
#admin-audit .history-row{align-items:flex-start}
.member-row{min-height:82px}.member-main strong{font-size:15px}.member-points strong{font-size:15px}
.premium-member-profile{border-radius:25px}.member-identity h3{font-size:22px}
.member-meta-grid{gap:9px}.member-meta-grid>div{min-width:0}
.member-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.member-stats-grid>div{min-width:0;min-height:104px;padding:13px 9px}
.member-stats-grid span{font-size:11px;line-height:1.5}
.member-stats-grid strong{font-size:17px;line-height:1.28;overflow-wrap:anywhere}
.member-quick-actions button{font-size:13px;min-height:47px}
#confirm-text{text-align:left;background:#fbf2e7;border:1px solid #ead9c8;padding:15px;border-radius:14px;overflow-wrap:anywhere}
#toast{font-size:13px;line-height:1.5}
@media (max-width:380px){
 .quick-tab{padding:12px 10px;gap:8px}.quick-tab .quick-icon{min-width:34px;min-height:34px}
 .quick-tab .quick-content strong{font-size:13px}.quick-tab .quick-content small{font-size:10px}
 .balance-line strong{font-size:41px}.greeting #hello{font-size:20px}
 .admin-quick-grid{gap:8px}.admin-quick-grid button{padding:13px 10px}.shortcut-copy strong{font-size:13px}
 .overview-grid strong{font-size:19px}.member-stats-grid strong{font-size:15px}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v1.5.3 mobile polish: consistent line icons and readable member statistics */
.profile-stat-icon{display:grid;place-items:center;width:29px;height:29px;color:#996e50}
.profile-stat-icon svg{width:25px;height:25px;display:block}
#member-status-today{font-size:13px;word-break:keep-all;overflow-wrap:break-word}
@media(max-width:420px){
 .member-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-stats-grid>div:last-child{grid-column:1/-1;min-height:85px}
 .member-stats-grid strong{font-size:19px}
}

/* v1.5.4 restrained navigation icons and copy */
.dashboard-shortcut-icon svg{width:22px;height:22px;display:block}
.shortcut-arrow,.select-indicator{width:9px;height:9px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);display:inline-block;flex:none}
.notice-item-arrow:empty{width:9px;height:9px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);display:inline-block;flex:none}
.access-icon svg{color:#8c5d40}
.record-icon{font-size:12px;font-weight:850}

/* v1.5.5 recent group activity */
.member-meta-grid .member-last-chat{grid-column:1 / -1}


/* v1.5.6 operation insights */
.admin-stats-section{border-top:1px solid #e8d8c9;margin-top:24px;padding-top:22px}
.stats-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.stats-tiles>div{min-width:0;background:#f8eee4;border:1px solid #e9d9ca;border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:7px}
.stats-tiles span{font-size:11px;font-weight:700;color:#896f5e}
.stats-tiles strong{font-size:20px;letter-spacing:-.7px;color:#352319;overflow-wrap:anywhere}
.mini-filter{margin-top:14px}.mini-filter select{border:1px solid #e4d3c4;background:#fffaf4;border-radius:12px;padding:13px;font:inherit;color:#483124}
.stats-actor-list{display:flex;flex-direction:column;gap:9px;margin-top:12px}
.stats-actor{background:#fffcf7;border:1px solid #e6d6c6;border-radius:15px;padding:15px;text-align:left;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.stats-actor strong{font-size:13px;color:#35251b;display:block}.stats-actor small{display:block;font-size:11px;color:#937866;margin-top:5px;line-height:1.5}
.stats-actor .stats-actor-amount{font-size:13px;font-weight:850;white-space:nowrap;color:#65412d}
.stats-detail{margin-top:20px;border-top:1px solid #e6d8c8;padding-top:16px}
.earning-list{display:flex;flex-direction:column;gap:8px;margin-top:11px}
.earning-row{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fffcf8;border:1px solid #eaded2;border-radius:15px;padding:13px 14px}
.earning-main{display:flex;align-items:center;gap:11px;min-width:0}.earning-row>div{min-width:0}.earning-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#f7ebde;border:1px solid #ecdcca;flex-shrink:0;overflow:hidden}.earning-icon img{width:24px;height:24px;display:block;object-fit:contain}.earning-icon.skipped{opacity:.72;filter:saturate(.75)}.earning-row strong{display:block;font-size:13px;color:#34251e}.earning-row small{display:block;color:#987e6b;font-size:11px;line-height:1.5;margin-top:4px}.earning-row b{white-space:nowrap;font-size:13px;color:#5b3b29}.earning-row.is-skipped b{color:#a26b43}
.status-rows{display:flex;flex-direction:column;gap:11px;margin-top:14px}.status-row{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center;border:1px solid #e8d9cb;background:#fffcf7;border-radius:16px;padding:15px}.status-row span{font-weight:800;color:#4b3426;font-size:13px}.status-row strong{font-size:13px;color:#27734d}.status-row strong.is-warning{color:#bd5f3f}.status-row small{grid-column:1 / -1;color:#988171;font-size:11px}
.status-subheading{margin-top:22px!important}
@media(max-width:375px){.stats-tiles strong{font-size:17px}.stats-tiles>div{padding:13px}}


/* v1.5.6.4 – unified warm-cream activity assets */
.record-icon,.earning-icon{width:34px;height:34px;min-width:34px;border:0;border-radius:10px;background:transparent;overflow:visible;display:grid;place-items:center;padding:0;filter:saturate(.90)}
.record-icon img,.earning-icon img{width:33px;height:33px;max-width:100%;max-height:100%;object-fit:contain;display:block}
.record-icon.negative,.earning-icon.skipped{background:transparent}
.record-icon.negative img{filter: none}
.earning-main{display:flex;align-items:center;gap:9px;min-width:0}
.earning-row .earning-icon{flex-shrink:0}
.metric-icon,.profile-stat-icon{width:32px;height:32px;min-width:32px;border:0;background:transparent!important;color:#8e6448;display:grid;place-items:center;padding:0}
.metric-icon img,.profile-stat-icon img{width:32px;height:32px;display:block;object-fit:contain;filter:saturate(.90)}
.profile-stat-icon svg{width:23px;height:23px}
.dashboard-shortcut-icon{width:33px;height:33px;min-width:33px;display:grid;place-items:center;background:#f4e8da;color:#805339;border-radius:11px}
.dashboard-shortcut-icon img{width:32px;height:32px;display:block;object-fit:contain;filter:saturate(.90)}
#admin-adjust .choice span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:8px 5px}
.choice-icon{width:30px;height:30px;flex-shrink:0;object-fit:contain;filter:saturate(.90)}
.member-quick-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.member-quick-actions .member-action-icon{width:29px;height:29px;flex-shrink:0;object-fit:contain}
.settings-title-with-icon{display:inline-flex;align-items:center;gap:8px}
.settings-title-with-icon img{width:31px;height:31px;object-fit:contain;filter:saturate(.90)}
.summary-label-with-icon{display:inline-flex;align-items:center;gap:4px;min-width:0}
.summary-label-with-icon img{width:25px;height:25px;object-fit:contain}
#admin-audit .stats-tiles>div:has(.summary-label-with-icon){padding-top:11px}
@media (max-width: 375px){#admin-adjust .choice span{font-size:12px;gap:4px}.choice-icon{width:26px;height:26px}}
