/* Reward cards use the same illustrated resources and premiums as the game. */
.player-rewards{container-type:inline-size;container-name:reward-panel;min-width:0;color:#463c2a}
.player-rewards .reward-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 11px}
.player-rewards .reward-section-title:first-child{margin-top:0}
.player-rewards .reward-section-title h3{display:flex;align-items:center;gap:8px;margin:0;font:500 20px Georgia,serif}
.reward-section-title .icon{width:21px;height:21px;color:#99702d}
.reward-cycle{font-size:18px;font-weight:750;color:#3c5a3f;font-variant-numeric:tabular-nums}
.reward-cycle small{font-size:12px;color:#887750}
.reward-progress{display:block;appearance:none;width:100%;height:4px;border:0;border-radius:4px;background:#d6c7a7;margin:0 0 13px;overflow:hidden}
.reward-progress::-webkit-progress-bar{background:#d6c7a7}.reward-progress::-webkit-progress-value{background:#6a8852;border-radius:4px}.reward-progress::-moz-progress-bar{background:#6a8852;border-radius:4px}
.login-reward-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;align-items:stretch}
.login-reward{position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:9px 5px 12px;border:1px solid #cbbb94;border-radius:9px;background:linear-gradient(150deg,#faf4e5,#e7d8b7);box-shadow:inset 0 1px #fff9e9,0 2px 4px #59401c0c;text-align:center}
.reward-day{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:700;color:#766347;white-space:nowrap;margin-bottom:8px}
.reward-day .icon{width:12px;height:12px;color:#3c7044}
.reward-resource-bundle{display:grid;grid-template-columns:repeat(2,26px);gap:3px;margin:0 auto 7px;transform:rotate(-4deg)}
.reward-resource-bundle .resource-portrait{width:26px;height:26px;border-radius:5px;box-shadow:0 1px 3px #392d2244,inset 0 0 0 1px #b29455}
.reward-amount{font-size:19px;line-height:1.1;font-weight:750;color:#4d3e24;font-variant-numeric:tabular-nums;white-space:nowrap}
.reward-amount small{font-size:10px;font-weight:600;color:#8b754d}
.reward-premium{grid-column:span 2;background:radial-gradient(ellipse at 50% 45%,#edcf8066,transparent 75%),linear-gradient(150deg,#faf3df,#e7d2a2);border-color:#b39450}
.reward-premium .reward-day{color:#876227}
.reward-premium-art{display:flex;align-items:center;justify-content:center;min-height:55px;margin:-2px 0 4px;isolation:isolate}
.reward-premium-art img{width:51px;height:51px;object-fit:cover;border-radius:50%;border:1px solid #bda16b;box-shadow:0 2px 5px #4c361e33}
.reward-premium-art img+img{margin-left:-15px}.reward-premium-art img:nth-child(2){width:60px;height:60px;z-index:1;box-shadow:0 2px 8px #7d581d55}
.reward-item-label{font-size:10px;color:#7a6035;margin-top:4px;line-height:1.3}
.login-reward.is-next{border:2px solid #b58b35;padding:8px 4px 11px;background:radial-gradient(ellipse at 50% 45%,#f2d78488,transparent 80%),linear-gradient(150deg,#fff8e6,#edddb5);box-shadow:0 0 0 2px #cba34b22,0 3px 8px #83602b20}
.reward-today{position:absolute;bottom:-7px;background:#425b38;color:#fff5d5;border:1px solid #d7bc7c;border-radius:7px;padding:1px 7px;font-size:9px;font-weight:650}
.login-reward.is-claimed{background:linear-gradient(150deg,#e9e8d6,#dce0c5);border-color:#a8b493}
.login-reward.is-claimed .reward-resource-bundle{opacity:.65}.login-reward.is-claimed .reward-amount{color:#627052}
.reward-button{white-space:normal;margin:0;line-height:1.3}
.player-rewards .reward-claim{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:16px 0 0;border-radius:7px;font-size:13px;font-weight:700}
.reward-claim.primary{background:linear-gradient(#496344,#2d4935);border-color:#334f35;color:#fff3cf;box-shadow:inset 0 1px #b9d49a33,0 2px 6px #30462d22}
.reward-claim .icon{width:19px;height:19px}
.reward-build,.reward-npc{margin:0;min-width:0}
.reward-ad-action{display:grid;grid-template-columns:48px minmax(0,1fr)auto;align-items:center;gap:12px;width:100%;min-height:78px;padding:12px 14px;border:1px solid #ae9560;border-radius:9px;background:linear-gradient(125deg,#f9f0db,#e8d9b5);box-shadow:inset 0 1px #fff8e7,0 2px 5px #664e1f0e;text-align:left;color:#443a26}
.reward-ad-action:hover:not(:disabled){border-color:#8e733e;background:linear-gradient(125deg,#fff5dc,#ebddb8)}
.reward-ad-action:disabled{opacity:.65}
.reward-play,.reward-npc-emblem,.reward-discord-emblem{display:grid;place-items:center;width:48px;height:48px;border:1px solid #b79b5b;border-radius:12px;background:linear-gradient(145deg,#516848,#2d4837);color:#f9e3a6;box-shadow:inset 0 1px #cfda9f33,0 2px 5px #263c2f33}
.reward-play .icon{width:28px;height:28px}
.reward-action-copy{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}
.reward-action-copy strong{font-size:19px;line-height:1.2;font-weight:750;letter-spacing:-.4px}
.reward-action-copy small{font-size:11px;line-height:1.35;color:#88724a}
.reward-quota{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:43px;padding-left:10px;border-left:1px solid #b8a17155;font-variant-numeric:tabular-nums}
.reward-quota b{font-size:20px;line-height:1.1;color:#43583b}.reward-quota b small{font-size:11px;font-weight:500;color:#8b7958}.reward-quota>span{font-size:9px;color:#89734d}
.reward-status{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1.5;color:#827251;margin:7px 2px 0}
.reward-status .icon{width:13px;height:13px}
.reward-credit{display:flex;align-items:center;gap:7px;justify-content:center;font-size:11px;width:100%;min-height:40px;margin-top:7px;padding:7px}.reward-credit .icon{width:17px;height:17px}.reward-credit b{margin-left:auto;white-space:nowrap}
.reward-privacy{background:none;border:0;box-shadow:none;padding:8px 2px;min-height:36px;text-decoration:underline;color:#6d7053;font-size:10px}
.reward-npc-summary{display:grid;grid-template-columns:42px minmax(0,1fr)auto;align-items:center;gap:11px;margin-top:8px;padding:11px 13px;border:1px solid #cbb993;border-radius:9px;background:#eadfc744}
.reward-npc-emblem{width:42px;height:42px;border-radius:10px;background:linear-gradient(145deg,#88744a,#655337);color:#f6e4b6}.reward-npc-summary .reward-action-copy strong{font-size:16px}.reward-npc-summary .reward-action-copy small{font-size:10px}
.reward-discord{margin-top:20px;padding:13px;background:linear-gradient(130deg,#ede7db,#dcdccf);border:1px solid #b5b59e;border-radius:9px}
.reward-discord-heading{display:flex;align-items:center;gap:10px}.reward-discord-heading>span:nth-child(2){min-width:0;flex:1}.reward-discord-heading h3{font:500 19px Georgia,serif;margin:0 0 4px}.reward-discord-heading small{display:block;font-size:10px;line-height:1.3;color:#76725d}
.reward-discord-emblem{width:39px;height:39px;border-radius:10px;background:linear-gradient(135deg,#6e7491,#49566e);border-color:#9ba0ac;color:#f3ecd7}
.reward-gold{display:flex;align-items:center;gap:5px;flex-shrink:0;color:#8b6327;font-size:21px}.reward-gold .resource-portrait{width:27px;height:27px;border-radius:50%}
.reward-discord-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.reward-discord-actions .button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:7px;font-size:11px;text-align:center;text-decoration:none}.reward-discord-actions .icon{width:15px;height:15px}
.reward-rules{margin-top:15px;border-top:1px solid #c9b89688;font-size:11px;color:#7b6a4b}.reward-rules>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:40px;font-size:11px}.reward-rules>summary::-webkit-details-marker{display:none}.reward-rules>summary:after{content:'+';margin-left:auto;font-size:17px}.reward-rules[open]>summary:after{content:'−'}.reward-rules>summary .icon{width:15px;height:15px}.reward-rules ul{padding-left:18px;margin:0 0 6px;font-size:11px;line-height:1.55}.reward-rules li+li{margin-top:5px}
.reward-claimed{display:flex;align-items:center;gap:7px;color:#386640;font-size:12px;font-weight:650;margin-top:12px}.reward-claimed .icon{width:17px;height:17px}
.reward-empty{text-align:center;padding:20px 0}.reward-empty>.icon{width:48px;height:48px;color:#a37b36;margin-bottom:10px}.reward-empty p{font-size:12px}
/* Construction speed-up: one building portrait and clear, compact choices. */
.speedup-hero{display:flex;align-items:center;gap:13px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #c8b38b66}
.speedup-hero .building-thumb{width:96px;height:82px;flex-shrink:0;background:radial-gradient(ellipse,#d3c18777,transparent 72%);object-fit:contain;border:0;padding:0;margin:0}
.speedup-heading{min-width:0;flex:1}.speedup-heading h3{font:500 23px Georgia,serif;line-height:1.2;margin:0 0 7px}.speedup-level{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#907446}.speedup-time{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:13px;font-variant-numeric:tabular-nums;color:#586744}.speedup-time .icon{width:16px;height:16px}
.speedup-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:11px}.speedup-options>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:83px;padding:10px 8px;border-radius:9px}.speedup-options>button:only-child{flex-direction:row;justify-content:space-between;grid-column:1/-1;padding:14px 17px;min-height:66px}.speedup-option-label{font-size:12px;font-weight:650}.speedup-price{display:flex;align-items:center;justify-content:center;gap:7px;font-size:22px;font-weight:750;line-height:1}.speedup-price .resource-portrait{width:28px;height:28px}.speedup-options .primary{background:linear-gradient(#496344,#2d4935);border-color:#334f35;color:#fff3cf}.speedup-options .primary .resource-portrait{box-shadow:0 1px 4px #1b2d1c88}
.speedup-section-label{display:block;margin-bottom:7px;color:#8a7652;font-size:10px;text-transform:uppercase;letter-spacing:.7px}
.speedup-pricing{margin:10px 0 0;font-size:10px;color:#8c7956;text-align:center}
.speedup-pricing .resource-portrait{width:14px;height:14px;margin-right:2px;border-radius:3px}
dialog[data-panel="rewards"]{width:min(640px,calc(100vw - 24px))}dialog[data-panel="shorten"]{width:min(470px,calc(100vw - 24px))}
dialog[data-panel="rewards"] .dialog-head,dialog[data-panel="shorten"] .dialog-head{padding:12px 16px}
dialog[data-panel="rewards"] .dialog-head h2,dialog[data-panel="shorten"] .dialog-head h2{font-size:22px}
dialog[data-panel="rewards"] .dialog-body,dialog[data-panel="shorten"] .dialog-body{padding:16px}
.settings-group-body .player-rewards{margin-top:18px;padding-top:16px;border-top:1px solid #c9b58b}.settings-group-body .reward-section-title h3{margin:0;font-size:18px}.settings-group-body .reward-button{font-size:12px}.settings-group-body .reward-ad-action{padding:11px;min-height:76px}
@container reward-panel (min-width:540px){.login-reward-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.reward-premium{grid-column:auto}.reward-premium-art img{width:30px;height:30px}.reward-premium-art img+img{margin-left:-15px}.reward-premium-art img:nth-child(2){width:40px;height:40px}.reward-premium-art{min-height:55px}.reward-item-label{font-size:9px}}
@media(max-width:359px){.login-reward-grid{gap:5px}.reward-day{font-size:10px}.reward-resource-bundle{grid-template-columns:repeat(2,22px);gap:2px}.reward-resource-bundle .resource-portrait{width:22px;height:22px}.reward-amount{font-size:17px}.reward-ad-action{gap:9px;padding:11px;grid-template-columns:42px minmax(0,1fr)auto}.reward-play{width:42px;height:42px}.reward-action-copy strong{font-size:17px}.reward-discord{padding:10px}.reward-discord-heading{gap:7px}.reward-gold{font-size:18px}.reward-npc-summary{grid-template-columns:34px minmax(0,1fr)auto;gap:8px;padding:10px}.reward-npc-emblem{width:34px;height:34px}.reward-npc-summary .reward-action-copy strong{font-size:15px}.reward-premium-art img{width:42px;height:42px}.reward-premium-art img:nth-child(2){width:52px;height:52px}.speedup-hero .building-thumb{width:78px;height:72px}.speedup-heading h3{font-size:21px}}
