:root{font-family:Arial,"Myanmar Sangam MN",sans-serif;color:#292b25;background:#eae9e3;--green:#4c6338;--deep:#35492a;--cream:#fbf5ee;--peach:#f1d7c1;--muted:#7a7b70;--line:#e8e7df;--white:#fff;--gold:#a77632;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b5c49b;outline-offset:2px}a{color:var(--deep);text-decoration:none}.app-shell{max-width:520px;min-height:100dvh;margin:auto;background:#fcfcf8;box-shadow:0 0 65px #44410d08;position:relative}header{height:78px;display:flex;justify-content:space-between;align-items:center;padding:12px 22px;background:var(--cream);border-bottom:1px solid #ece8e0;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px}.brand img{width:64px;height:48px;object-fit:contain;border-radius:7px}.brand strong{font-size:16px;letter-spacing:-.3px}.brand small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.icon-button{width:40px;height:40px;background:#fff9f1;border:1px solid #e8e1d5;border-radius:50%;display:grid;place-items:center;color:var(--deep);font-size:24px;flex-shrink:0}.icon{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}main{padding:22px 20px 100px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.25;letter-spacing:-.8px;margin-bottom:6px;font-weight:700}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:14px}h3{font-size:15px;line-height:1.4;margin-bottom:7px}.muted{font-size:12px;color:var(--muted);line-height:1.6}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:1.6px;font-weight:700;color:#8c754c;margin-bottom:9px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.primary,.secondary,.quiet{padding:13px 16px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;min-height:44px}.primary{background:var(--green);color:white}.secondary{background:#f0f2e9;color:var(--deep)}.quiet{background:transparent;color:var(--muted)}.full{width:100%}.small{font-size:11px;padding:9px 12px;min-height:38px;border-radius:9px}.text-button{background:none;color:var(--green);font-size:12px;font-weight:600;padding:8px 0}.danger{color:#a04c3a}.section{margin-top:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.section-heading h2{font-size:16px;margin:0}.event-card{border-radius:17px;background:linear-gradient(120deg,#f7e2d1,#f9eddf);padding:20px;position:relative;overflow:hidden}.event-card h2{font-size:22px;margin:12px 0 8px;line-height:1.25;max-width:85%}.event-card p{margin-bottom:13px}.event-card .primary{padding:11px 15px;min-height:42px}.event-card:after{content:'✦';position:absolute;right:14px;top:30px;font-size:70px;color:#bc895725;pointer-events:none}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:30px;font-size:9px;letter-spacing:.4px;font-weight:700;text-transform:uppercase;padding:6px 9px;background:#fff8ed;color:#8f6835;white-space:nowrap}.pill.live{background:#e6eddc;color:#476037}.pill.closed{background:#ecebe5;color:#77796f}.pill.pending{background:#fff1d9;color:#937233}.dot{height:5px;width:5px;background:currentColor;border-radius:50%;display:inline-block}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 10px;text-align:center}.metric strong{font-size:23px;display:block;color:var(--deep);margin-bottom:5px;font-weight:600}.metric span{font-size:10px;color:var(--muted)}.card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:15px}.compact-list{display:flex;flex-direction:column;gap:9px}.list-item{display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:13px;padding:13px;width:100%;text-align:left;color:inherit}.list-item strong{display:block;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.list-item small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}.item-icon{width:43px;height:43px;display:grid;place-items:center;background:#f5eee3;color:#8b704c;border-radius:11px;font-size:22px;flex-shrink:0}.item-icon.green{background:#edf1e6;color:var(--green)}.arrow{font-size:20px;color:#959888}.notice{padding:11px 14px;background:#f9eedb;border-radius:11px;font-size:11px;line-height:1.6;color:#886b3d;margin-top:13px}.notice.success{background:#eef2e8;color:var(--green)}.empty{padding:20px 15px;text-align:center;background:#f5f5ed;border-radius:13px;font-size:12px;color:var(--muted);line-height:1.7}.empty .item-icon{margin:0 auto 9px}.rules{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted);margin-top:15px;line-height:1.5}.rules .icon{width:15px;height:15px;flex-shrink:0}#navigation{display:none;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;z-index:20;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:8px 17px calc(9px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,1fr);gap:15px}#navigation.visible{display:grid}#navigation button{background:none;color:#97988d;border-radius:12px;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 4px}#navigation button.active{color:var(--green);background:#edf1e7}#navigation .icon{width:21px;height:21px}.auth{padding-top:16px}.auth-brand{width:108px;height:auto;border-radius:13px;display:block;margin:0 auto 20px}.auth h1,.auth>p{text-align:center}.auth .form-card{margin-top:24px}.auth .muted{max-width:280px;margin:0 auto;line-height:1.7}.auth-note{text-align:center;font-size:10px;color:var(--muted);margin-top:22px;line-height:1.7}.form-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f2f3eb;padding:4px;border-radius:11px;margin-bottom:19px;gap:4px}.segmented button{padding:10px 5px;border-radius:8px;background:none;color:var(--muted);font-size:12px}.segmented button.active{background:#fff;color:var(--deep);box-shadow:0 2px 5px #00000006}label{display:block;font-size:11px;font-weight:600;margin:14px 0 7px;color:#676b5c}input,select,textarea{width:100%;min-height:44px;border:1px solid #dedfd5;border-radius:10px;background:#fffefb;color:#2c3327;padding:11px 12px;font-size:14px}input:focus,select:focus,textarea:focus{outline:2px solid #c2cfac;outline-offset:1px}textarea{resize:vertical;min-height:70px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}form .primary{margin-top:18px}.form-note{color:var(--muted);font-size:10px;line-height:1.6;margin:12px 0 0}.error{font-size:12px;color:#a44834;line-height:1.5;margin:10px 0 0}.error:empty{display:none}dialog{width:calc(100% - 24px);max-width:496px;max-height:88dvh;border:0;border-radius:22px;padding:22px;color:#292b25;background:#fcfcf8;box-shadow:0 20px 100px #0002}dialog::backdrop{background:#242c2280;backdrop-filter:blur(3px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;position:sticky;top:-22px;background:#fcfcf8;padding:5px 0 10px;z-index:2}.sheet-head h2{margin:0}.sheet-head .icon-button{border:0;background:#eeeee6;width:33px;height:33px}.sheet-head+.muted{margin-bottom:15px}#sheet-body{padding-bottom:3px}#sheet-body>.compact-list{max-height:60dvh;overflow-y:auto}.sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-list-item{display:flex;gap:13px;align-items:center}.date-tile{min-width:49px;width:49px;background:#f5e7d8;border-radius:10px;text-align:center;padding:10px 5px;color:#8b6746;font-size:9px;text-transform:uppercase}.date-tile strong{display:block;font-size:21px;margin-top:3px}.event-list-item .grow strong{font-size:14px}.profile-card{text-align:center;padding:22px 16px;background:#f4ede2;border-radius:17px;margin-bottom:20px}.avatar{width:62px;height:62px;background:var(--green);color:white;border-radius:50%;display:grid;place-items:center;font-size:24px;margin:0 auto 12px}.profile-card h2{margin-bottom:5px}.profile-card p{margin-bottom:9px}.profile-menu{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.profile-menu>button{width:100%;background:white;padding:16px;display:flex;gap:12px;align-items:center;text-align:left;border-bottom:1px solid var(--line);color:inherit}.profile-menu>button:last-child{border:0}.profile-menu strong{font-size:12px;display:block}.profile-menu small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.profile-foot{text-align:center;font-size:10px;color:var(--muted);margin-top:20px}.wheel-panel{text-align:center;background:#eef2e8;border:1px solid #d9e2cb;border-radius:17px;padding:22px 16px;margin-bottom:14px}.wheel-panel h3{font-size:19px;margin:10px 0 6px}.wheel{width:148px;height:148px;margin:14px auto 20px;border:7px solid #d0b48c;border-radius:50%;background:conic-gradient(#879963 0 45deg,#f3d5b5 45deg 90deg,#a7b38e 90deg 135deg,#ede5ce 135deg 180deg,#879963 180deg 225deg,#f3d5b5 225deg 270deg,#a7b38e 270deg 315deg,#ede5ce 315deg);position:relative;box-shadow:0 0 0 5px #d9ddcf}.wheel:after{content:'✦';position:absolute;inset:42px;border-radius:50%;background:#fff9ee;display:grid;place-items:center;color:#85694a;font-size:26px}.spinning{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.celebrate{text-align:center;padding:5px 2px}.celebration-logo{width:80px;border-radius:9px}.gift-symbol{font-size:64px;margin:20px 0}.celebrate h2{font-size:29px}.celebrate p{line-height:1.6}.celebrate .primary{margin-top:13px}#notification-prompt{text-align:center;padding:29px 25px}.prompt-icon{font-size:38px;width:68px;height:68px;border-radius:50%;background:#eef2e5;color:var(--green);display:grid;place-items:center;margin:0 auto 17px}#notification-prompt h2{font-size:23px}#notification-prompt .primary{margin-top:13px}#toast{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);padding:13px 17px;background:#34452c;color:white;border-radius:11px;z-index:100;max-width:calc(100% - 32px);width:max-content;font-size:12px;line-height:1.6;display:none}#toast.visible{display:block}.result-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:12px}.gift-detail-value{font-size:30px;font-weight:600;color:var(--deep);margin:17px 0 5px}.scroll-list{max-height:56dvh;overflow:auto}.loading{padding:50px;text-align:center;color:var(--muted);font-size:13px}.report{background:white;padding:25px;font-size:12px}.report table{width:100%;border-collapse:collapse}.report th,.report td{text-align:left;vertical-align:top;padding:8px;border-bottom:1px solid #ddd;overflow-wrap:anywhere}.report th{background:#f4e7d7}.divider{height:1px;background:var(--line);margin:17px 0}.event-tabs{display:flex;gap:7px;overflow:auto;margin:16px 0}.event-tabs button{background:#f1f2e9;color:var(--muted);border-radius:20px;padding:8px 12px;font-size:11px}.event-tabs button.active{background:var(--green);color:white}.tiny{font-size:10px}.break{overflow-wrap:anywhere}.install-note{font-size:11px;line-height:1.7;color:var(--muted);padding:14px;background:#f1f3ea;border-radius:11px}.offline{text-align:center;max-width:420px;margin:15vh auto;padding:25px}.offline img{width:100px;border-radius:12px}.offline h1{font-size:24px;margin-top:25px}@media(max-width:360px){header{padding:10px 16px}main{padding:18px 16px 95px}.brand strong{font-size:14px}.brand img{width:57px;height:43px}h1{font-size:24px}}@media(min-width:600px){.app-shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}dialog{max-height:85dvh}}@media(max-width:599px){#sheet{margin:auto auto 0;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%;max-width:520px;padding-bottom:calc(22px + env(safe-area-inset-bottom));max-height:90dvh}}@media(prefers-reduced-motion:reduce){.spinning{animation-duration:4s}}@media print{@page{size:A4 landscape;margin:14mm}.report{padding:0}tr{break-inside:avoid}thead{display:table-header-group}}
