/* 출석 보상 패널(계정 탭)과 출석 알림 빨간 점. 테두리 장식은 .panel-card(frame.css)를 그대로 쓴다. */
.attendance-dot{position:absolute;top:2px;right:6px;width:9px;height:9px;border-radius:50%;background:#ff4b3e;box-shadow:0 0 0 2px #14130f;pointer-events:none;animation:att-dot 1.8s ease-in-out infinite}
.bottom-nav .tab-icon{position:relative}
@keyframes att-dot{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.75}}

.attendance-panel{position:relative;border:2px solid #9a8049;border-radius:18px;background:linear-gradient(135deg,#2c2416,#171611);padding:26px 28px;margin-bottom:24px}
.att-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.att-head>div{flex:1}
.att-head h2{font-size:24px;margin:4px 0}
.att-head p{font-size:13px;color:#c4b9a3;line-height:1.6}
.att-head strong{color:#ffda79}
.att-check{position:relative;flex:none;min-width:200px;justify-content:center}
.att-check .attendance-dot{top:-4px;right:-4px}
.att-days{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.att-day{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;border:1px solid #5d4d31;border-radius:10px;background:#13120ed9;text-align:center;overflow:hidden;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px)}
.att-day-label{font-size:11px;color:#a99f8a;font-weight:700;letter-spacing:.04em}
.att-day img{width:40px;height:40px;object-fit:contain}
.att-amount{font-size:14px;color:#f1e3c0}
.att-day.ticket{border-color:#c7973a;background:linear-gradient(180deg,#3a2a12,#1a150d)}
.att-day.ticket .att-amount{color:#ffcf5a;font-size:12px}
.att-day.today{border-color:#ffc928;box-shadow:inset 0 0 0 1px #ffc92866,0 0 14px #ffc92833}
.att-day.done{opacity:.62}
.att-day.done.today{opacity:1}
.att-day .attendance-dot{top:6px;right:6px}
.att-stamp{white-space:nowrap;position:absolute;inset:auto 50% 50% auto;transform:translate(50%,40%) rotate(-14deg);padding:3px 8px;border:2px solid #e2584a;border-radius:6px;color:#ff7b6c;font-size:12px;font-weight:900;letter-spacing:.1em;background:#1b0f0dcc}
.att-ticket{display:grid;place-items:center;width:46px;height:40px;border-radius:6px;background:linear-gradient(135deg,#ffd76a,#c4892a);color:#3a2507;position:relative;box-shadow:0 4px 10px #0006;-webkit-mask:radial-gradient(circle 5px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 5px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat;mask:radial-gradient(circle 5px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 5px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat}
.att-ticket b{font-size:9px;line-height:1;letter-spacing:.08em}
.att-ticket i{font-style:normal;font-weight:900;font-size:16px;line-height:1}
.att-result{min-height:0;margin:14px 0 0;font-size:14px;line-height:1.6}
.att-result:empty{display:none}
.att-result.ok{color:#ffda79}
.att-result.error{color:#ff8b7f}
.att-bonus{margin:14px 0 0;font-size:14px;color:#d8ccb2}
.att-bonus strong{color:#ffda79;font-size:17px}
.att-odds{margin-top:12px;font-size:13px;color:#c4b9a3}
.att-odds summary{cursor:pointer;color:#e8bf59}
.att-odds table{margin:10px 0 6px;border-collapse:collapse;min-width:220px}
.att-odds th,.att-odds td{padding:5px 14px 5px 0;text-align:left;border-bottom:1px solid #4b3f2a}
.att-note{margin:12px 0 0;font-size:12px;color:#9f9683;line-height:1.7}
.att-reveal{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#0d0c0ae6;border-radius:inherit;cursor:pointer}
.att-ticket.big{width:150px;height:100px;border-radius:12px}
.att-ticket.big b{font-size:14px}
.att-ticket.big i{font-size:30px}
.att-ticket.spin{animation:att-shake .18s linear infinite}
.att-reveal-value{font-size:22px;color:#f1e3c0}
.att-reveal.won .att-ticket{animation:att-pop .5s ease-out}
.att-reveal.won .att-reveal-value{color:#ffda79;font-size:26px}
.att-reveal.jackpot .att-ticket{box-shadow:0 0 30px #ffc928aa,0 0 60px #ff6a3a66}
@keyframes att-shake{0%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}100%{transform:rotate(-4deg)}}
@keyframes att-pop{0%{transform:scale(.7)}70%{transform:scale(1.12)}100%{transform:scale(1)}}
@media(max-width:700px){
  .attendance-panel{padding:18px;border-radius:13px}
  .att-head{flex-wrap:wrap;gap:12px}
  .att-head h2{font-size:21px}
  .att-check{width:100%;min-width:0}
  .att-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .att-day.ticket{grid-column:1/-1;flex-direction:row;justify-content:center;gap:14px;padding:12px}
  .att-day img{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.attendance-dot,.att-ticket.spin,.att-reveal.won .att-ticket{animation:none}}
.wallet-bonus{font-size:12px;color:#c9b98f;margin-left:6px;font-weight:600}

.att-history{margin-top:14px}.att-history[hidden]{display:none}.att-history-scroll{overflow-x:auto;border:1px solid #8d7943;border-radius:8px}.att-history table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.att-history caption{text-align:left;padding:12px;color:#ffda65;font-weight:700}.att-history th,.att-history td{padding:12px;text-align:left;border-bottom:1px solid #665a3a}.att-history th{background:#302b20;color:#ffda65}.att-history tr:last-child td{border-bottom:0}.att-history td small{display:block;color:#b9b09b;margin-top:4px}.att-history .expired{color:#ffb39c}.att-history-scroll:focus-visible{outline:2px solid #ffda65;outline-offset:3px}

.att-odds-corner{display:flex;justify-content:flex-end;margin-top:12px}.att-odds-trigger{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:4px 0 4px 8px;border:0;background:none;color:#c4ae77;font:inherit;font-size:11px;cursor:pointer}.att-odds-trigger svg{width:13px;height:13px;flex:none}.att-odds-trigger:hover,.att-odds-trigger[aria-expanded="true"]{color:#f0ce79}.att-odds-trigger:focus-visible{outline:2px solid #e9bd58;outline-offset:3px;border-radius:4px}.att-odds-popover{position:fixed;z-index:1000;left:12px;top:12px;width:280px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;padding:16px 18px;border:1px solid #92773c;border-radius:10px;background:#242017;color:#ded2b8;box-shadow:0 8px 28px #0008;font-size:12px;line-height:1.7}.att-odds-popover>strong{display:block;color:#f1d17e;font-size:13px;margin-bottom:9px}.att-odds-popover table{width:100%;border-collapse:collapse;font-size:12px}.att-odds-popover th,.att-odds-popover td{padding:6px 0;border-bottom:1px solid #57492e;text-align:left}.att-odds-popover th:last-child,.att-odds-popover td:last-child{text-align:right;font-variant-numeric:tabular-nums}.att-odds-popover p{font-size:11px;color:#bbae93;margin:10px 0 0}

/* Match the cut-corner, double gold frame used by the attendance cards. */
.att-odds-popover{isolation:isolate;width:292px;padding:22px 23px 20px;border:0;border-radius:0;background:linear-gradient(125deg,#f1c94f 0%,#b89b50 20%,#71613c 55%,#ae9450 100%);clip-path:polygon(13px 0,calc(100% - 13px) 0,100% 13px,100% calc(100% - 13px),calc(100% - 13px) 100%,13px 100%,0 calc(100% - 13px),0 13px);box-shadow:0 12px 34px #0009;color:#e7dcc4}
.att-odds-popover::before{content:"";position:absolute;inset:2px;z-index:-2;pointer-events:none;background:linear-gradient(145deg,#302a1d,#201d16 65%);clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
.att-odds-popover::after{content:"";position:absolute;inset:6px;z-index:-1;pointer-events:none;background:linear-gradient(135deg,#cbb16b99,#82704555 55%,#cbb16b66);clip-path:polygon(evenodd,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px,8px 0,8.5px 1px,1px 8.5px,1px calc(100% - 8.5px),8.5px calc(100% - 1px),calc(100% - 8.5px) calc(100% - 1px),calc(100% - 1px) calc(100% - 8.5px),calc(100% - 1px) 8.5px,calc(100% - 8.5px) 1px,8.5px 1px)}
.att-odds-popover>strong{margin:0 0 13px;padding-bottom:12px;border-bottom:1px solid #b4984d55;color:#f4d882;font-size:14px;font-weight:800;letter-spacing:.02em}
.att-odds-popover table{font-size:12px}.att-odds-popover th{padding:0 9px 7px;color:#aa9b7c;font-size:10px;font-weight:600;border-bottom:1px solid #8b764144}.att-odds-popover td{padding:8px 9px;border-bottom:1px solid #8b764126}.att-odds-popover tbody tr:nth-child(odd){background:#ddbe6d07}.att-odds-popover tbody tr:last-child td{border-bottom:0}.att-odds-popover td:last-child{color:#efd28a;font-weight:700}.att-odds-popover p{margin:13px 0 0;padding-top:11px;border-top:1px solid #a58b4940;color:#b8aa8c;line-height:1.65;font-size:10px}
@media(max-width:360px){.att-odds-popover{padding:20px;width:280px}}
