/* Zephia web Item-Shop — Zephia theme (stone / emerald / gold).
   Written to work in the in-game browser (IE11 engine) as well as modern browsers:
   no CSS variables, no CSS grid, no flex "gap", no object-fit (icons are sized by itemshop.js). */
.ish {
  margin: 0; min-height: 100%; color: #e6e1cc;
  font-family: "Alegreya Sans", "Segoe UI", Tahoma, sans-serif; font-size: 16px; line-height: 1.45;
  background-color: #060d0c;
  background-image: radial-gradient(ellipse 80% 50% at 15% -10%, rgba(95,174,152,.13), rgba(95,174,152,0) 60%),
                    linear-gradient(180deg, #0b1514 0, #060d0c 520px);
  background-repeat: no-repeat;
}
.ish * { box-sizing: border-box; }
.ish a { color: #57d39a; text-decoration: none; }
.ish a:hover { color: #9fd3c3; }
.ish button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
.ish button[disabled] { cursor: default; }
.ish svg { width: 1em; height: 1em; fill: currentColor; overflow: hidden; }
.ish [hidden] { display: none !important; }
.ish.lock { overflow: hidden; }
.coin { width: 1.05em !important; height: 1.05em !important; vertical-align: -.17em; margin-right: .28em; }
.muted { color: #8fa39a; font-size: .9em; }
.ish .fx { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }

/* ---------- top bar ---------- */
.top { position: relative; z-index: 40; background: #070f0e; background: rgba(6,13,12,.92); border-bottom: 1px solid #2b2414; box-shadow: 0 1px 0 rgba(211,184,114,.12), 0 10px 30px rgba(0,0,0,.35); }
@supports (position: sticky) { .top { position: -webkit-sticky; position: sticky; top: 0; } }
.top-in { max-width: 1320px; margin: 0 auto; padding: 10px 20px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
.brand { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; color: #d3b872 !important; margin-right: 22px; }
.brand img { height: 42px; width: auto; margin-right: 12px; }
.brand-t { font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-size: 1.35rem; letter-spacing: .06em; }
.top-nav { display: -ms-flexbox; display: flex; }
.top-nav a, .top-nav .lnk { display: inline-block; padding: 7px 12px; margin-right: 4px; border-radius: 6px; color: #d8d3bc; background: none; border: 0; font-size: .95rem; white-space: nowrap; }
.top-nav .lnk svg { margin-right: 6px; vertical-align: -2px; }
.top-nav a:hover, .top-nav .lnk:hover { background: rgba(95,174,152,.08); color: #fff; }
.top-right { margin-left: auto; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
.top-right > * { margin-left: 10px; }
.bal { display: inline-block; height: 38px; line-height: 36px; padding: 0 14px 0 10px; border: 1px solid #6d5426; border-radius: 19px; background: #0f1b19; background: linear-gradient(180deg, #12201f, #0b1514); white-space: nowrap; }
.bal b { color: #f0d896; font-size: 1.05rem; }
.bal span { color: #8fa39a; font-size: .8rem; letter-spacing: .06em; margin-left: 4px; }
.bal.pulse { -webkit-animation: pulse .9s ease; animation: pulse .9s ease; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(211,184,114,.6); } 100% { box-shadow: 0 0 0 14px rgba(211,184,114,0); } }
.who { color: #8fa39a; font-size: .9rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-gold { display: inline-block; height: 38px; line-height: 36px; padding: 0 16px; border: 1px solid #4fae8f; border-radius: 6px; color: #f3efe0 !important; font-weight: 800; font-size: .92rem; letter-spacing: .02em; white-space: nowrap; text-align: center;
  background: #2f8a6e; background: linear-gradient(180deg, #5fc7a2 0%, #2f8a6e 55%, #1d5244 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 16px rgba(95,174,152,.2); }
.btn-gold:hover { background: linear-gradient(180deg, #74d8b3 0%, #38a080 55%, #226050 100%); }
.btn-gold[disabled] { background: #1b2724; border-color: #2b4741; color: #5f7a72 !important; box-shadow: none; }
.btn-gold.sm { height: 34px; line-height: 32px; padding: 0 14px; font-size: .86rem; }
.btn-ghost { height: 40px; padding: 0 18px; border: 1px solid #2b4741; border-radius: 6px; background: #0f1b19; color: #e3ddc6; }
.btn-ghost:hover { border-color: #57d39a; color: #fff; }

.notice { max-width: 1280px; margin: 14px auto 0; padding: 10px 16px; border: 1px solid #2f5a4f; border-radius: 8px; background: #0d1c19; background: linear-gradient(90deg, rgba(95,174,152,.12), rgba(95,174,152,.03)); color: #d6eee5; }
.notice svg { color: #57d39a; width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.notice.closed { border-color: #6d4b26; background: linear-gradient(90deg, rgba(95,174,152,.14), rgba(95,174,152,.03)); color: #ffe2b8; }
.notice.closed svg { color: #2f8a6e; }
@media (max-width: 1320px) { .notice { margin-left: 20px; margin-right: 20px; } }

.wrap { max-width: 1320px; margin: 0 auto; padding: 18px 20px 40px; }

/* ---------- featured ---------- */
.hero { margin-bottom: 22px; overflow: hidden; }
.hero-head { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; margin-bottom: 10px; }
.hero-head h2, .bar h1 { margin: 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; color: #d3b872; letter-spacing: .04em; }
.hero-head h2 { font-size: 1.25rem; }
.hero-head h2 svg { color: #d3b872; width: 18px; height: 18px; margin-right: 8px; vertical-align: -2px; }
.hero-nav button { width: 34px; height: 34px; margin-left: 6px; border: 1px solid #2b4741; border-radius: 6px; background: #0b1514; color: #d3b872; font-size: 1.3rem; line-height: 1; }
.hero-nav button:hover { border-color: #57d39a; color: #fff; }
.hero-track { display: -ms-flexbox; display: flex; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 6px; margin-right: -16px; -ms-overflow-style: none; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hcard { position: relative; -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333%; width: calc(33.333% - 16px); margin-right: 16px; display: -ms-flexbox; display: flex; min-height: 172px; padding: 18px; border: 1px solid #5b4720; border-radius: 12px; cursor: pointer; overflow: hidden;
  background: #0f1b19; background: radial-gradient(ellipse at 0% 0%, rgba(95,174,152,.18), rgba(95,174,152,0) 60%), linear-gradient(160deg, #173a32 0%, #0d1918 55%, #0a1413 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.35); -webkit-transition: border-color .2s, box-shadow .2s; transition: border-color .2s, box-shadow .2s; }
.hcard:hover { border-color: #d3b872; box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), 0 14px 36px rgba(0,0,0,.45), 0 0 24px rgba(211,184,114,.15); }
.hcard.so { opacity: .7; }
.h-icon { -ms-flex: 0 0 112px; flex: 0 0 112px; width: 112px; height: 112px; margin-right: 16px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; border-radius: 12px; border: 1px solid #33584e;
  background: #0b1514; background: radial-gradient(circle at 50% 40%, rgba(95,174,152,.22), rgba(6,13,12,.9) 70%); box-shadow: inset 0 0 22px rgba(95,174,152,.18); }
.h-icon .ph { width: 48px; height: 48px; color: #5f7a72; }
.h-body { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; min-width: 0; -ms-flex: 1 1 auto; flex: 1 1 auto; }
.h-body h3 { margin: 4px 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 1.2rem; color: #fff; line-height: 1.2; }
.h-body h3 small { color: #8fa39a; font-family: "Alegreya Sans", "Segoe UI", Tahoma, sans-serif; font-size: .85rem; }
.h-body p { margin: 0 0 8px; color: #8fa39a; font-size: .9rem; line-height: 1.35; max-height: 2.7em; overflow: hidden; }
.h-body .mt { -ms-flex-item-align: start; align-self: flex-start; margin-bottom: 6px; }
.h-foot { margin-top: auto; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; }

/* ---------- layout ---------- */
.shop { display: -ms-flexbox; display: flex; -ms-flex-align: start; align-items: flex-start; }
.side { -ms-flex: 0 0 250px; flex: 0 0 250px; width: 250px; margin-right: 20px; }
@supports (position: sticky) { .side { position: -webkit-sticky; position: sticky; top: 78px; } }
.side > * { margin-bottom: 12px; }
.main { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; width: 100%; overflow: hidden; padding-top: 2px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 12px; top: 13px; color: #5f7a72; width: 16px; height: 16px; }
.search input { width: 100%; height: 42px; padding: 0 12px 0 36px; border: 1px solid #2b4741; border-radius: 8px; background: #08110f; color: #e6e1cc; font-family: inherit; font-size: 1rem; }
.search input:focus { border-color: #57d39a; outline: none; }
.cats { padding: 8px 8px 4px; border: 1px solid #1f3330; border-radius: 10px; background: #0b1514; background: rgba(11,21,20,.82); }
.cat { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; width: 100%; height: 40px; margin-bottom: 4px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; background: none; color: #d8d3bc; text-align: left; }
.cat svg { width: 17px; height: 17px; color: #5f7a72; margin-right: 10px; -ms-flex: 0 0 auto; flex: 0 0 auto; }
.cat .cn { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat .cc { font-size: .78rem; color: #5f7a72; margin-left: 8px; }
.cat:hover { background: rgba(95,174,152,.07); color: #fff; }
.cat.on { border-color: #9c8547; color: #fff; background: #1c2230; background: linear-gradient(90deg, rgba(211,184,114,.18), rgba(211,184,114,.03)); box-shadow: inset 3px 0 0 #d3b872; }
.cat.on svg { color: #d3b872; }
.cat.deal svg { color: #2f8a6e; }
.howto { padding: 14px; border: 1px solid #1f3330; border-radius: 10px; background: #0e1a18; }
.howto-t { color: #d3b872; font-weight: 700; margin-bottom: 6px; }
.howto-t svg { margin-right: 8px; vertical-align: -2px; }
.howto p { margin: 0; color: #8fa39a; font-size: .88rem; line-height: 1.45; }
.howto b { color: #e3ddc6; }

.bar { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 14px; }
.bar h1 { font-size: 1.45rem; margin-right: 12px; }
.cnt { color: #5f7a72; font-size: .9rem; }
.sorts { margin-left: auto; }
.sorts button { height: 32px; margin: 3px 0 3px 6px; padding: 0 12px; border: 1px solid #2b4741; border-radius: 16px; background: #08110f; color: #a9bdb4; font-size: .86rem; }
.sorts button:hover { color: #fff; border-color: #3f9a7f; }
.sorts button.on { border-color: #d3b872; color: #d3b872; background: #19180f; }

/* ---------- cards ---------- */
.grid { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -14px; }
.card { position: relative; width: 25%; width: calc(25% - 14px); margin: 0 14px 14px 0; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; padding: 14px 14px 12px; border: 1px solid #243a35; border-radius: 10px; cursor: pointer;
  background: #0f1b19; background: linear-gradient(180deg, #12201f 0%, #0c1716 100%); -webkit-transition: border-color .18s, box-shadow .18s; transition: border-color .18s, box-shadow .18s; }
.card:hover { border-color: #3f9a7f; box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 18px rgba(95,174,152,.12); }
.card.feat { border-color: #5b4720; }
.card.feat:hover { border-color: #d3b872; }
.card.so { opacity: .6; }
.c-badges { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 1; }
.hcard .c-badges, .m-badges { position: static; }
.bd { display: inline-block; margin: 0 4px 4px 0; padding: 2px 7px; border-radius: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; background: #245044; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.bd-disc { background: #e0482c; background: linear-gradient(180deg, #ff8a5c, #e0482c); }
.bd-new { background: #37846b; background: linear-gradient(180deg, #6fe0b3, #37846b); }
.bd-hot { background: #c22b4a; background: linear-gradient(180deg, #ff6b6b, #c22b4a); }
.bd-limited { background: #7a3fd1; background: linear-gradient(180deg, #c58bff, #7a3fd1); }
.bd-best { background: #1d5244; background: linear-gradient(180deg, #5fc7a2, #1d5244); color: #f3efe0; }
.c-icon { position: relative; height: 118px; margin: 4px 0 10px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; border-radius: 8px; border: 1px solid #1f3330;
  background: #0b1514; background: radial-gradient(circle at 50% 45%, rgba(95,174,152,.16), rgba(6,13,12,.85) 72%); }
.c-icon .ph, .m-icon .ph { width: 40px; height: 40px; color: #5f7a72; }
.ish img.fit { display: block; -ms-interpolation-mode: bicubic; }
.c-cnt { position: absolute; right: 7px; bottom: 5px; font-size: .8rem; font-weight: 800; color: #f0d896; text-shadow: 0 1px 2px #000, 0 0 6px #000; }
.c-name { margin: 0; font-size: 1rem; font-weight: 700; color: #f3efe0; line-height: 1.25; height: 2.5em; overflow: hidden; }
.c-meta { min-height: 22px; margin: 6px 0 10px; }
.mt { display: inline-block; margin: 0 4px 4px 0; padding: 1px 7px; border-radius: 10px; font-size: .74rem; color: #a9bdb4; background: #10201d; border: 1px solid #1f3330; white-space: nowrap; }
.mt.hot { color: #ffc98a; border-color: #6d4b26; }
.mt.tm { color: #ffd9a0; }
.mt svg { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
.c-foot { margin-top: auto; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; }
.c-price { line-height: 1.15; margin-right: 8px; }
.c-price s { display: block; color: #5f7a72; font-size: .8rem; }
.c-price b { display: block; color: #f0d896; font-size: 1.12rem; white-space: nowrap; }
.c-btn { height: 32px; padding: 0 14px; border: 1px solid #4fae8f; border-radius: 6px; font-weight: 800; font-size: .85rem; color: #f3efe0; background: #2f8a6e; background: linear-gradient(180deg, #5fc7a2, #2f8a6e 55%, #1d5244); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); white-space: nowrap; }
.c-btn:hover { background: linear-gradient(180deg, #74d8b3, #38a080 55%, #226050); }
.c-btn[disabled] { background: #1b2724; border-color: #2b4741; color: #5f7a72; box-shadow: none; }
.empty { padding: 70px 20px; text-align: center; color: #8fa39a; border: 1px dashed #2b4741; border-radius: 12px; }
.empty svg { width: 40px; height: 40px; color: #5f7a72; }

/* ---------- modal ---------- */
.modal, .drawer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; }
.modal { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; padding: 16px; }
.modal-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(2,6,12,.75); }
.modal-box { position: relative; width: 100%; max-width: 720px; max-height: 96%; overflow: auto; border: 1px solid #9c8547; border-radius: 14px;
  background: #0f1b19; background: radial-gradient(ellipse at 20% 0%, rgba(95,174,152,.14), rgba(95,174,152,0) 55%), linear-gradient(180deg, #12201f, #0a1413);
  box-shadow: 0 0 0 1px #040a09, 0 0 0 4px #152422, 0 30px 80px rgba(0,0,0,.6); }
.modal-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 1px solid #2b4741; border-radius: 8px; background: #08110f; color: #d3b872; line-height: 1; }
.modal-x:hover { border-color: #57d39a; color: #fff; }
.modal-x svg { width: 16px; height: 16px; vertical-align: middle; }
.m-view { display: -ms-flexbox; display: flex; }
.m-art { -ms-flex: 0 0 230px; flex: 0 0 230px; width: 230px; padding: 26px 20px; text-align: center; border-right: 1px solid #1f3330; background: radial-gradient(circle at 50% 35%, rgba(95,174,152,.16), rgba(95,174,152,0) 65%); }
.m-icon { position: relative; width: 168px; height: 168px; margin: 0 auto 12px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; border-radius: 14px; border: 1px solid #33584e;
  background: #0b1514; background: radial-gradient(circle at 50% 42%, rgba(95,174,152,.25), rgba(6,13,12,.92) 70%); box-shadow: inset 0 0 30px rgba(95,174,152,.2), 0 10px 30px rgba(0,0,0,.4); }
.m-icon .c-cnt { font-size: 1rem; right: 10px; bottom: 8px; }
.m-info { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; padding: 24px 24px 22px; }
.m-info h3 { margin: 0 40px 4px 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 1.5rem; color: #fff; line-height: 1.2; }
.m-sub b { color: #f0d896; font-size: 1.2rem; margin-right: 8px; }
.m-sub s { color: #5f7a72; margin-right: 8px; }
.m-sub .per { color: #5f7a72; font-size: .82rem; }
.m-desc { margin: 12px 0 0; color: #c5c9b8; font-size: .95rem; line-height: 1.5; white-space: pre-line; }
.m-facts { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid #1f3330; }
.m-facts li { overflow: hidden; padding: 7px 0; border-bottom: 1px solid #172826; font-size: .9rem; }
.m-facts span { float: left; color: #8fa39a; }
.m-facts b { float: right; color: #e3ddc6; font-weight: 600; text-align: right; }
.m-facts li.bon b { max-width: 70%; }
.m-facts li.bon i { display: block; font-style: normal; color: #9fd3c3; line-height: 1.5; }
.m-buy { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; margin-top: 18px; }
.qty { display: inline-block; white-space: nowrap; border: 1px solid #2b4741; border-radius: 8px; overflow: hidden; background: #08110f; font-size: 0; }
.qty button { width: 38px; height: 40px; border: 0; background: #10201d; color: #d3b872; font-size: 20px; vertical-align: top; }
.qty button:hover { background: #173a32; }
.qty button[disabled] { color: #5f7a72; background: #0b1514; }
.qty input { width: 56px; height: 40px; border: 0; border-left: 1px solid #2b4741; border-right: 1px solid #2b4741; background: #08110f; color: #fff; text-align: center; font-family: inherit; font-size: 16px; font-weight: 700; vertical-align: top; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input::-ms-clear { display: none; }
.m-total { text-align: right; }
.m-total span { display: block; color: #8fa39a; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.m-total b { color: #f0d896; font-size: 1.5rem; }
.m-after { min-height: 22px; margin-top: 8px; color: #8fa39a; font-size: .88rem; text-align: right; }
.m-after b { color: #e3ddc6; }
.m-after .neg { color: #ff7b72; }
.m-err { display: none; margin-top: 10px; padding: 9px 12px; border: 1px solid #7a2f2f; border-radius: 8px; background: #2a1418; color: #ffb4ad; font-size: .9rem; }
.btn-buy { position: relative; display: block; width: 100%; margin-top: 14px; height: 48px; border: 1px solid #4fae8f; border-radius: 8px; font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; color: #f3efe0;
  background: #2f8a6e; background: linear-gradient(180deg, #5fc7a2 0%, #2f8a6e 55%, #1d5244 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 22px rgba(95,174,152,.25); }
.btn-buy:hover { background: linear-gradient(180deg, #74d8b3 0%, #38a080 55%, #226050 100%); }
.btn-buy[disabled] { background: #1b2724; border-color: #2b4741; color: #5f7a72; box-shadow: none; }
.btn-buy .spin { display: none; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid rgba(255,255,255,.3); border-top-color: #f3efe0; border-radius: 50%; -webkit-animation: spin .7s linear infinite; animation: spin .7s linear infinite; }
.btn-buy.busy .spin { display: block; }
@keyframes spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
.m-done { padding: 40px 30px 32px; text-align: center; }
.done-ic { width: 74px; height: 74px; line-height: 74px; margin: 0 auto 14px; border-radius: 50%; color: #08311d; background: #3fbf7f; background: radial-gradient(circle, #9ff5c8, #3fbf7f); box-shadow: 0 0 30px rgba(110,231,168,.45); }
.done-ic svg { width: 38px; height: 38px; vertical-align: middle; }
.m-done h3 { margin: 0 0 8px; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; color: #d3b872; font-size: 1.5rem; }
.m-done p { margin: 0 auto 8px; max-width: 460px; color: #c5c9b8; }
.m-done p b { color: #fff; }
.ish .done-hint { color: #8fa39a; font-size: .9rem; }
.done-actions { margin-top: 18px; }

/* ---------- drawer ---------- */
.drawer-box { position: absolute; right: 0; top: 0; bottom: 0; width: 420px; max-width: 100%; border-left: 1px solid #9c8547; background: #0f1b19; background: linear-gradient(180deg, #12201f, #0a1413); box-shadow: -20px 0 60px rgba(0,0,0,.5); }
.drawer-head { position: relative; height: 64px; padding: 18px 20px; border-bottom: 1px solid #1f3330; }
.drawer-head h3 { margin: 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; color: #d3b872; font-size: 1.3rem; }
.drawer-body { position: absolute; top: 64px; left: 0; right: 0; bottom: 0; overflow: auto; padding: 8px 20px 20px; }
.hrow { overflow: hidden; padding: 12px 0; border-bottom: 1px solid #1f3330; }
.hrow > div:first-child { float: left; max-width: 72%; }
.hrow b { color: #f3efe0; }
.hp { float: right; color: #f0d896; font-weight: 700; white-space: nowrap; }

.foot { max-width: 1320px; margin: 0 auto; padding: 18px 20px 30px; border-top: 1px solid #1f3330; color: #5f7a72; font-size: .85rem; text-align: center; }

/* ---------- in-game window (embed) ---------- */
.ish.embed { font-size: 15px; }
.ish.embed .top-in, .ish.embed .wrap { padding-left: 14px; padding-right: 14px; }
.ish.embed .brand img { height: 34px; }
.ish.embed .wrap { padding-top: 12px; }
.ish.embed .notice { margin: 10px 14px 0; }
.ish.embed .foot { display: none; }
.ish.embed .side { -ms-flex: 0 0 210px; flex: 0 0 210px; width: 210px; margin-right: 14px; }
.ish.embed .howto { display: none; }
.ish.embed .hcard { min-height: 150px; padding: 14px; }
.ish.embed .h-icon { -ms-flex: 0 0 92px; flex: 0 0 92px; width: 92px; height: 92px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .card { width: 33.333%; width: calc(33.333% - 14px); } }
@media (max-width: 1100px) { .hcard { width: 50%; width: calc(50% - 16px); } }
@media (max-width: 960px) { .ish.embed .card, .card { width: 50%; width: calc(50% - 14px); } }
@media (max-width: 860px) {
  .top-in { -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 8px 16px; }
  .top-nav { -ms-flex-order: 3; order: 3; width: 100%; overflow-x: auto; margin-top: 4px; }
  .brand img { height: 34px; }
  .who { display: none; }
  .wrap { padding: 14px 16px 30px; }
  .shop { display: block; }
  .ish .side { width: auto; margin-right: 0; position: static; }
  .cats { white-space: nowrap; overflow-x: auto; padding: 6px; }
  .cat { display: inline-block; width: auto; margin: 0 4px 0 0; line-height: 38px; }
  .cat svg { vertical-align: -3px; }
  .howto { display: none; }
  .hcard { width: 86%; }
  .m-view { display: block; }
  .m-art { width: auto; border-right: 0; border-bottom: 1px solid #1f3330; padding: 22px 16px 16px; }
  .m-icon { width: 130px; height: 130px; }
}
@media (max-width: 520px) {
  .card { width: 50%; width: calc(50% - 10px); margin: 0 10px 10px 0; padding: 10px; }
  .grid { margin-right: -10px; }
  .c-icon { height: 92px; }
  .c-foot { display: block; }
  .c-btn { width: 100%; margin-top: 6px; }
  .hcard { display: block; }
  .h-icon { margin: 0 0 10px; }
  .bal span { display: none; }
  .sorts { margin-left: 0; }
}

/* ---------- package contents ---------- */
.m-cont { margin-top: 14px; padding-top: 12px; border-top: 1px solid #1f3330; }
.mc-head { overflow: hidden; margin-bottom: 8px; }
.mc-head b { float: left; color: #d3b872; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 1.05rem; }
.mc-head .sx { float: right; }
.mc-head .sx button { height: 26px; margin-left: 4px; padding: 0 10px; border: 1px solid #2b4741; border-radius: 13px; background: #08110f; color: #a9bdb4; font-size: .8rem; }
.mc-head .sx button.on { border-color: #d3b872; color: #d3b872; }
.mc-sub { margin: 8px 0 6px; color: #9fd3c3; font-size: .85rem; font-weight: 700; }
.mc-note { margin: 8px 0 6px; color: #8fa39a; font-size: .85rem; }
.mc-note b { color: #e3ddc6; }
.mc-grid { overflow: hidden; margin-right: -6px; }
.ct { float: left; width: 31.333%; width: calc(33.333% - 6px); height: 56px; margin: 0 6px 6px 0; padding: 6px; border: 1px solid #1f3330; border-radius: 8px; background: #0e1a18; overflow: hidden; cursor: default; }
.ct:hover { border-color: #3f9a7f; background: #142824; }
.ct-ic { position: relative; float: left; width: 40px; height: 40px; margin-right: 8px; border-radius: 6px; background: #08110f; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; }
.ct-ic .ph { width: 20px; height: 20px; color: #5f7a72; }
.ct-ic .c-cnt { right: 2px; bottom: 0; font-size: .7rem; }
.ct-n { font-size: .8rem; line-height: 1.2; color: #e3ddc6; max-height: 3.6em; overflow: hidden; padding-top: 2px; }
.ct-n small { display: block; color: #ffc98a; font-size: .74rem; }
.tip { position: fixed; z-index: 200; max-width: 280px; padding: 10px 12px; border: 1px solid #9c8547; border-radius: 8px; background: #0b1514; background: rgba(8,16,15,.97); box-shadow: 0 10px 30px rgba(0,0,0,.6); pointer-events: none; font-size: .85rem; }
.tip b { display: block; color: #f3efe0; margin-bottom: 4px; }
.tip i { display: block; font-style: normal; color: #9fd3c3; line-height: 1.45; }
.tip em { display: block; font-style: normal; color: #ffd9a0; margin-top: 4px; }
@media (max-width: 860px) { .ct { width: 48%; width: calc(50% - 6px); } }

/* ---------- Zephia theme extras ---------- */
.btn-gold, .c-btn, .btn-buy { text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.btn-gold[disabled], .c-btn[disabled], .btn-buy[disabled] { text-shadow: none; }
.notice.closed { border-color: #6d4b26; background: linear-gradient(90deg, rgba(240,166,74,.14), rgba(240,166,74,.03)); color: #ffe2b8; }
.notice.closed svg { color: #f0a64a; }
.cat.deal svg { color: #e0a85a; }

/* Buy DC — next to the balance */
.btn-dc { position: relative; height: 38px; padding: 0 16px 0 12px; border: 1px solid #d3b872; border-radius: 19px; color: #1a1406 !important; font-weight: 800; font-size: .9rem; letter-spacing: .03em; white-space: nowrap; text-shadow: 0 1px 0 rgba(255,255,255,.35);
  background: #d3b872; background: linear-gradient(180deg, #fbe6a6 0%, #e2c57a 45%, #b8913f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 3px rgba(211,184,114,.12), 0 0 18px rgba(211,184,114,.28); }
.btn-dc:hover { background: linear-gradient(180deg, #fff0c2 0%, #ecd08a 45%, #c79f4a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 3px rgba(211,184,114,.2), 0 0 24px rgba(211,184,114,.45); }
.btn-dc:active { -webkit-transform: translateY(1px); transform: translateY(1px); }
.btn-dc .pl { display: inline-block; width: 20px; height: 20px; line-height: 19px; margin-right: 7px; border-radius: 50%; text-align: center; font-size: 16px; font-weight: 800; color: #f3efe0; background: #2f8a6e; background: linear-gradient(180deg, #4fb592, #1d5244); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); text-shadow: none; vertical-align: 1px; }
.top-right .bal + .btn-dc { margin-left: 8px; }

/* preview hint in the item window */
.pv-hint { margin: 10px 0 0; padding: 7px 10px; border: 1px dashed #2f5a4f; border-radius: 8px; color: #9fd3c3; font-size: .82rem; background: rgba(95,174,152,.06); }
.pv-hint b { color: #f3efe0; }
.ct.pv { cursor: pointer; }
.ct.sel { border-color: #57d39a; background: #173a32; box-shadow: inset 0 0 0 1px rgba(87,211,154,.35); }

/* featured: 3 compact cards in the game window, arrows move one card */
.ish.embed .hero { margin-bottom: 16px; }
.ish.embed .hero-track { margin-right: -12px; }
.ish.embed .hcard { width: 33.333%; width: calc(33.333% - 12px); margin-right: 12px; min-height: 0; padding: 10px 12px; border-radius: 10px; }
.ish.embed .h-icon { -ms-flex: 0 0 66px; flex: 0 0 66px; width: 66px; height: 66px; margin-right: 12px; border-radius: 10px; }
.ish.embed .h-body h3 { font-size: 1rem; margin: 2px 0 4px; }
.ish.embed .h-body p { display: none; }
.ish.embed .hcard .c-badges { display: none; }
.ish.embed .h-foot .btn-gold.sm { height: 28px; line-height: 26px; padding: 0 12px; font-size: .8rem; border-radius: 6px; }
.ish.embed .h-foot .c-price b { font-size: 1rem; }
.ish.embed .hero-nav button { width: 28px; height: 28px; font-size: 1.1rem; }

/* scrollbars: thin custom bar in the game window, themed bars elsewhere */
/* in-game window: fixed header + categories, only the item list scrolls (no IE repaint glitches) */
html.emb, html.emb body { height: 100%; overflow: hidden; }
html.emb .wrap { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 12px 14px 0; overflow: hidden; }
html.emb .shop { height: 100%; }
html.emb .side { height: 100%; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 12px; }
html.emb .side::-webkit-scrollbar, html.emb .main::-webkit-scrollbar { display: none; }
html.emb .main { height: 100%; overflow-y: auto; overflow-x: hidden; -ms-overflow-style: none; scrollbar-width: none; padding: 2px 16px 16px 0; }
html.emb .top { position: relative; }
.sbar { position: fixed; z-index: 50; top: 4px; right: 3px; bottom: 6px; width: 8px; border-radius: 4px; background: rgba(255,255,255,.035); opacity: .75; -webkit-transition: opacity .2s, width .15s; transition: opacity .2s, width .15s; }
.sbar:hover, .sbar.drag { opacity: 1; width: 10px; }
.sthumb { position: absolute; left: 0; right: 0; top: 0; min-height: 36px; border-radius: 5px; cursor: pointer; border: 1px solid #3f9a7f;
  background: #2f8a6e; background: linear-gradient(90deg, #4fb592, #245044); box-shadow: 0 0 8px rgba(95,174,152,.35); }
.sbar.drag .sthumb, .sthumb:hover { background: linear-gradient(90deg, #74d8b3, #2f8a6e); }
.modal-box, .drawer-body { scrollbar-face-color: #2b4741; scrollbar-track-color: #0b1514; scrollbar-arrow-color: #57d39a; scrollbar-shadow-color: #0b1514; scrollbar-highlight-color: #0b1514; scrollbar-3dlight-color: #0b1514; scrollbar-darkshadow-color: #0b1514; scrollbar-width: thin; scrollbar-color: #2f8a6e #0b1514; }
html { scrollbar-face-color: #2b4741; scrollbar-track-color: #0b1514; scrollbar-arrow-color: #57d39a; scrollbar-shadow-color: #0b1514; scrollbar-highlight-color: #0b1514; scrollbar-3dlight-color: #0b1514; scrollbar-darkshadow-color: #0b1514; scrollbar-color: #2f8a6e #0b1514; }
.ish ::-webkit-scrollbar { width: 10px; height: 10px; }
.ish ::-webkit-scrollbar-track { background: #0b1514; }
.ish ::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #4fb592, #245044); border-radius: 5px; border: 2px solid #0b1514; }

/* in-game window, small game resolutions / window mode: keep categories on the left */
@media (max-width: 860px) {
  html.emb .shop { display: -ms-flexbox; display: flex; }
  html.emb .ish .side, html.emb .side { -ms-flex: 0 0 168px; flex: 0 0 168px; width: 168px; margin-right: 10px; }
  html.emb .cats { white-space: normal; overflow: visible; padding: 6px; }
  html.emb .cat { display: -ms-flexbox; display: flex; width: 100%; margin: 0 0 3px; line-height: normal; height: 34px; padding: 0 8px; font-size: .9rem; }
  html.emb .top-nav { -ms-flex-order: 0; order: 0; width: auto; margin-top: 0; }
  html.emb .top-in { -ms-flex-wrap: nowrap; flex-wrap: nowrap; }
  html.emb .brand-t { font-size: 1.1rem; }
  html.emb .sorts { margin-left: 0; }
}
@media (max-width: 600px) {
  html.emb .side { -ms-flex: 0 0 128px; flex: 0 0 128px; width: 128px; }
  html.emb .cat .cc, html.emb .brand-t, html.emb .top-nav .lnk svg { display: none; }
  html.emb .cat svg { margin-right: 6px; }
  html.emb .bal span, html.emb .who { display: none; }
  html.emb .card { width: 50%; width: calc(50% - 10px); margin: 0 10px 10px 0; padding: 10px; }
  html.emb .grid { margin-right: -10px; }
  html.emb .c-icon { height: 90px; }
}
@media (max-width: 860px) { html.emb .ish.embed .hcard, .ish.embed .hcard { width: 50%; width: calc(50% - 12px); } }
@media (max-width: 600px) { html.emb .ish.embed .hcard, .ish.embed .hcard { width: 100%; width: calc(100% - 12px); } }

/* ---------- in-game window: compact cards (more per row) ---------- */
.ish.embed .grid { margin-right: -10px; }
.ish.embed .card { width: 16.666%; width: calc(16.666% - 10px); margin: 0 10px 10px 0; padding: 8px 8px 8px; border-radius: 8px; }
.ish.embed .c-badges { top: 6px; left: 6px; right: 6px; }
.ish.embed .bd { font-size: .6rem; padding: 1px 5px; }
.ish.embed .c-icon { height: 74px; margin: 0 0 6px; border-radius: 6px; }
.ish.embed .c-cnt { font-size: .72rem; right: 5px; bottom: 3px; }
.ish.embed .c-name { font-size: .84rem; line-height: 1.2; height: 2.4em; }
.ish.embed .c-meta { min-height: 0; margin: 4px 0 6px; }
.ish.embed .c-meta:empty { margin: 0 0 4px; }
.ish.embed .mt { font-size: .66rem; padding: 0 5px; }
.ish.embed .c-price b { font-size: .92rem; }
.ish.embed .c-price s { font-size: .7rem; }
.ish.embed .c-btn { height: 26px; padding: 0 10px; font-size: .76rem; border-radius: 5px; }
.ish.embed .bar { margin-bottom: 10px; }
.ish.embed .bar h1 { font-size: 1.2rem; }
.ish.embed .sorts button { height: 28px; padding: 0 10px; font-size: .8rem; }
@media (max-width: 1400px) { .ish.embed .card { width: 20%; width: calc(20% - 10px); } }
@media (max-width: 1100px) { .ish.embed .card { width: 25%; width: calc(25% - 10px); } }
@media (max-width: 860px)  { .ish.embed .card, html.emb .card { width: 33.333%; width: calc(33.333% - 10px); margin: 0 10px 10px 0; padding: 8px; } }
@media (max-width: 600px)  { .ish.embed .card, html.emb .card { width: 50%; width: calc(50% - 10px); } html.emb .c-icon { height: 64px; } }
.ish.embed .side { -ms-flex: 0 0 190px; flex: 0 0 190px; width: 190px; margin-right: 12px; }
.ish.embed .cat { height: 34px; padding: 0 10px; font-size: .9rem; margin-bottom: 2px; }
.ish.embed .search input { height: 36px; font-size: .9rem; }
.ish.embed .search svg { top: 10px; }
.ish.embed .hcard { padding: 8px 10px; }
.ish.embed .h-icon { -ms-flex: 0 0 54px; flex: 0 0 54px; width: 54px; height: 54px; margin-right: 10px; }
.ish.embed .h-body h3 { font-size: .92rem; }
.ish.embed .hero-head h2 { font-size: 1.05rem; }
.ish.embed .top-in { padding-top: 6px; padding-bottom: 6px; }
.ish.embed .brand img { height: 30px; }
.ish.embed .brand-t { font-size: 1.15rem; }
.ish.embed .bal, .ish.embed .btn-dc { height: 34px; line-height: 32px; }

/* ---------- sidebar spotlight (rotating special offers) ---------- */
.spot { position: relative; padding: 12px; border: 1px solid #9c8547; border-radius: 10px; overflow: hidden; text-align: center;
  background: #0f1b19; background: radial-gradient(ellipse at 50% 0%, rgba(211,184,114,.16), rgba(211,184,114,0) 60%), linear-gradient(180deg, #12201f, #0a1413);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 18px rgba(211,184,114,.08); }
.spot-head { color: #d3b872; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-size: 1rem; letter-spacing: .05em; margin-bottom: 8px; }
.spot-head svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -1px; color: #d3b872; }
.spot-card { cursor: pointer; -webkit-animation: spotIn .45s ease; animation: spotIn .45s ease; }
@keyframes spotIn { from { opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px); } to { opacity: 1; -webkit-transform: none; transform: none; } }
.spot-ic { position: relative; width: 112px; height: 112px; margin: 2px auto 10px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(211,184,114,.25), rgba(95,174,152,.08) 55%, rgba(0,0,0,0) 72%); }
.spot-ic .ph { width: 40px; height: 40px; color: #5f7a72; }
.spot-off { position: absolute; top: 4px; right: 0; padding: 2px 7px; border-radius: 10px; font-size: .72rem; font-weight: 800; color: #fff; background: #e0482c; background: linear-gradient(180deg, #ff8a5c, #e0482c); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.spot-name { color: #f3efe0; font-weight: 700; font-size: .92rem; line-height: 1.25; min-height: 2.5em; }
.spot-name small { color: #8fa39a; font-weight: 400; }
.spot-price { margin: 6px 0 4px; }
.spot-price s { color: #5f7a72; font-size: .8rem; margin-right: 6px; }
.spot-price b { color: #f0d896; font-size: 1.1rem; }
.spot-tm { margin: 2px auto 6px; }
.spot-btn { display: block; width: 100%; margin-top: 8px; }
.spot-dots { margin-top: 10px; line-height: 0; }
.spot-dots button { width: 7px; height: 7px; margin: 0 3px; padding: 0; border: 0; border-radius: 4px; background: #2b4741; -webkit-transition: width .2s, background .2s; transition: width .2s, background .2s; }
.spot-dots button.on { width: 18px; background: #d3b872; }
html.emb .side { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; }
html.emb .side > * { -ms-flex-negative: 0; flex-shrink: 0; }
/* in-game: compact box at the top of the sidebar, next to "Featured" (height set by itemshop.js) */
html.emb .spot { margin-bottom: 12px; padding: 8px 10px; text-align: left; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: justify; justify-content: space-between; }
html.emb .spot-head { font-size: .9rem; margin-bottom: 4px; }
html.emb .spot-card { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
html.emb .spot-ic { -ms-flex: 0 0 60px; flex: 0 0 60px; width: 60px; height: 60px; margin: 0 10px 0 0; }
html.emb .spot-off { top: -2px; right: -6px; font-size: .62rem; padding: 1px 5px; }
html.emb .spot-info { min-width: 0; -ms-flex: 1 1 auto; flex: 1 1 auto; }
html.emb .spot-name { font-size: .82rem; min-height: 0; max-height: 2.5em; overflow: hidden; }
html.emb .spot-price { margin: 3px 0 0; }
html.emb .spot-price b { font-size: .95rem; }
html.emb .spot-price s { font-size: .7rem; }
html.emb .spot-tm { margin: 3px 0 0; font-size: .64rem; }
html.emb .spot-btn { display: none; }
html.emb .spot-dots { margin-top: 6px; text-align: center; }
html.emb .spot:hover { border-color: #d3b872; }
@media (max-width: 600px) { html.emb .spot { display: none; } }
/* in-game: "Where do my items go?" fills the space under the categories */
html.emb .ish.embed .howto { display: block; margin-top: auto; padding: 10px 12px; font-size: .9rem; }
html.emb .howto-t { font-size: .88rem; margin-bottom: 4px; }
html.emb .howto p { font-size: .78rem; line-height: 1.4; }
@media (max-height: 560px) { html.emb .ish.embed .howto { display: none; } }


/* ================= Emerald premium skin (mosaic background, ribbons, gem buttons, FAQ) ================= */
.ish { background-color: #050d0b;
  background-image: radial-gradient(ellipse 70% 45% at 12% -8%, rgba(63,154,127,.20), rgba(63,154,127,0) 60%),
                    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(211,184,114,.08), rgba(211,184,114,0) 55%),
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%233f9a7f' stroke-opacity='.10' stroke-width='1'%3E%3Cpath d='M32 2 62 32 32 62 2 32Z'/%3E%3Cpath d='M32 14 50 32 32 50 14 32Z'/%3E%3Cpath d='M0 0 14 14M64 0 50 14M0 64 14 50M64 64 50 50'/%3E%3C/g%3E%3Cg fill='%23d3b872' fill-opacity='.10'%3E%3Ccircle cx='32' cy='32' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.4'/%3E%3Ccircle cx='64' cy='0' r='1.4'/%3E%3Ccircle cx='0' cy='64' r='1.4'/%3E%3Ccircle cx='64' cy='64' r='1.4'/%3E%3C/g%3E%3C/svg%3E"),
                    linear-gradient(180deg, #08130f 0, #050d0b 600px);
  background-repeat: no-repeat, no-repeat, repeat, no-repeat; background-attachment: fixed; }
.top { background: rgba(5,13,11,.92); border-bottom: 1px solid #2b2414; box-shadow: 0 1px 0 rgba(211,184,114,.18), 0 8px 26px rgba(0,0,0,.45); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(211,184,114,0), rgba(211,184,114,.55), rgba(87,211,154,.45), rgba(211,184,114,0)); }

/* cards */
.card { overflow: hidden; border: 1px solid #1e3a32; border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 21 11 11 21 1 11Z' fill='none' stroke='%235fae98' stroke-opacity='.08'/%3E%3C/svg%3E"), linear-gradient(180deg, #11231f 0%, #0a1714 100%);
  box-shadow: inset 0 0 0 1px rgba(211,184,114,.05), inset 0 1px 0 rgba(255,255,255,.03), 0 6px 18px rgba(0,0,0,.35);
  -webkit-transition: border-color .2s, box-shadow .2s, -webkit-transform .2s; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card::before { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, rgba(211,184,114,0), rgba(211,184,114,.55), rgba(211,184,114,0)); }
.card:hover { border-color: #3f9a7f; -webkit-transform: translateY(-2px); transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(211,184,114,.10), 0 12px 28px rgba(0,0,0,.45), 0 0 22px rgba(63,154,127,.22); }
.card.feat { border-color: #4a3f22; }
.c-icon { border: 1px solid #1d362f; border-radius: 8px;
  background: radial-gradient(circle at 50% 46%, rgba(87,211,154,.20), rgba(63,154,127,.06) 45%, rgba(4,10,9,.0) 72%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 21 11 11 21 1 11Z' fill='none' stroke='%235fae98' stroke-opacity='.08'/%3E%3C/svg%3E"), #07110e;
  box-shadow: inset 0 0 18px rgba(0,0,0,.55); }
.card:hover .c-icon { background-color: #091712; }
.ish img.fit { -webkit-filter: drop-shadow(0 4px 6px rgba(0,0,0,.55)); filter: drop-shadow(0 4px 6px rgba(0,0,0,.55)); }

/* ribbons (NEW / HOT / LIMITED / BEST) */
.card .c-badges { position: static; }
.card .rb { position: absolute; z-index: 3; top: 20px; left: -34px; width: 130px; margin: 0; padding: 4px 0 3px; border-radius: 0; text-align: center;
  font-size: .62rem; font-weight: 800; letter-spacing: .16em; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.5);
  -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
  background: linear-gradient(180deg, #ef4b44 0%, #c21f25 55%, #9a141a 100%);
  border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 3px 8px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,210,150,.15); }
.card .rb::before, .card .rb::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,214,140,.55); }
.card .rb::before { top: 2px; } .card .rb::after { bottom: 2px; }
.card .rb.bd-hot { background: linear-gradient(180deg, #ff8a3d 0%, #e0482c 55%, #a8291b 100%); }
.card .rb.bd-limited { background: linear-gradient(180deg, #b77bff 0%, #7a3fd1 55%, #55279a 100%); }
.card .rb.bd-best { color: #2a1d06; text-shadow: 0 1px 0 rgba(255,255,255,.4); background: linear-gradient(180deg, #ffe7a3 0%, #e2c57a 50%, #b8913f 100%); }
.card .bd-disc { position: absolute; z-index: 3; top: 8px; right: 8px; margin: 0; padding: 3px 8px; border-radius: 4px 4px 4px 12px; font-size: .7rem; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: linear-gradient(180deg, #ff6b4a, #c9261f); border: 1px solid rgba(255,200,160,.45); box-shadow: 0 3px 8px rgba(0,0,0,.45); }
.ish.embed .card .rb { top: 17px; left: -32px; width: 120px; font-size: .6rem; padding: 3px 0 2px; }
.ish.embed .card .bd-disc { top: 6px; right: 6px; font-size: .64rem; padding: 2px 6px; }

/* gem buttons */
.c-btn, .btn-gold, .btn-buy { position: relative; overflow: hidden; color: #f4fff9 !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid #0b2a20;
  background: linear-gradient(180deg, #6fe0b3 0%, #35a57c 42%, #1f7a5a 52%, #165c44 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1px rgba(211,184,114,.35), 0 3px 8px rgba(0,0,0,.45);
  text-shadow: 0 1px 1px rgba(0,0,0,.55); -webkit-transition: box-shadow .2s, -webkit-filter .2s; transition: box-shadow .2s, filter .2s; }
.c-btn::after, .btn-gold::after, .btn-buy::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); -webkit-transform: skewX(-20deg); transform: skewX(-20deg); }
.c-btn:hover, .btn-gold:hover, .btn-buy:hover { background: linear-gradient(180deg, #8ff0c8 0%, #43b98d 42%, #26906a 52%, #1a6a4f 100%); -webkit-filter: brightness(1.05); filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(211,184,114,.6), 0 4px 12px rgba(0,0,0,.5), 0 0 16px rgba(87,211,154,.45); }
.c-btn:hover::after, .btn-gold:hover::after, .btn-buy:hover::after { left: 130%; -webkit-transition: left .6s ease; transition: left .6s ease; }
.c-btn:active, .btn-gold:active, .btn-buy:active { -webkit-transform: translateY(1px); transform: translateY(1px); }
.c-btn svg { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.c-btn[disabled], .btn-gold[disabled], .btn-buy[disabled] { color: #5f7a72 !important; text-transform: none; letter-spacing: 0; background: #13201d; border-color: #22352f; box-shadow: none; text-shadow: none; -webkit-filter: none; filter: none; }
.c-btn[disabled]::after, .btn-gold[disabled]::after, .btn-buy[disabled]::after { display: none; }
.ish.embed .c-btn { height: 26px; padding: 0 10px; font-size: .68rem; border-radius: 5px; }
.btn-buy { height: 50px; font-size: 1rem; letter-spacing: .1em; border-radius: 8px; }

/* panels: emerald frame */
.cats, .howto, .spot, .hcard { border-color: #22403a; box-shadow: inset 0 0 0 1px rgba(211,184,114,.05), 0 6px 18px rgba(0,0,0,.3); }
.cats { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 21 11 11 21 1 11Z' fill='none' stroke='%235fae98' stroke-opacity='.08'/%3E%3C/svg%3E"), rgba(9,20,17,.88); }
.cat.on { border-color: #9c8547; background: linear-gradient(90deg, rgba(211,184,114,.20), rgba(63,154,127,.06)); box-shadow: inset 3px 0 0 #d3b872, 0 0 12px rgba(211,184,114,.08); }
.cat:hover { background: rgba(63,154,127,.10); }
.modal-box { border-color: #9c8547; background: radial-gradient(ellipse at 20% 0%, rgba(87,211,154,.14), rgba(87,211,154,0) 55%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 21 11 11 21 1 11Z' fill='none' stroke='%235fae98' stroke-opacity='.08'/%3E%3C/svg%3E"), linear-gradient(180deg, #11241f, #08130f); }

/* FAQ */
.howto-faq { display: block; width: 100%; margin-top: 8px; padding: 6px 8px; border: 1px dashed #2f5a4f; border-radius: 6px; background: rgba(63,154,127,.06); color: #9fd3c3; font-size: .78rem; text-align: center; }
.howto-faq:hover { border-style: solid; border-color: #3f9a7f; color: #fff; }
.faq details { margin: 0 0 8px; border: 1px solid #22403a; border-radius: 8px; background: rgba(9,20,17,.75); overflow: hidden; }
.faq summary { position: relative; padding: 11px 34px 11px 14px; cursor: pointer; list-style: none; color: #f3efe0; font-weight: 700; font-size: .92rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 14px; top: 8px; color: #d3b872; font-size: 1.2rem; font-weight: 400; }
.faq details[open] summary { border-bottom: 1px solid #1d362f; background: linear-gradient(90deg, rgba(211,184,114,.10), rgba(211,184,114,0)); }
.faq details[open] summary::after { content: '−'; }
.faq p, .faq ul { margin: 10px 14px; color: #c5c9b8; font-size: .86rem; line-height: 1.5; }
.faq ul { padding-left: 18px; }
.faq li { margin-bottom: 6px; }
.faq b { color: #f3efe0; }
.faq a { color: #57d39a; text-decoration: underline; }

.top-nav .wheel-lnk { color: #f0d896; }
.top-nav .wheel-lnk svg { color: #d3b872; -webkit-animation: wheelSpin 6s linear infinite; animation: wheelSpin 6s linear infinite; }
.top-nav .wheel-lnk:hover { background: rgba(211,184,114,.12); color: #fff; }
@keyframes wheelSpin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

/* ================= top bar: nav pills + Wheel of Fortune buttons ================= */
.top-nav { -ms-flex-align: center; align-items: center; }
.top-nav a, .top-nav .lnk { display: inline-flex; -ms-flex-align: center; align-items: center; height: 34px; padding: 0 12px 0 8px; margin-right: 6px; border: 1px solid transparent; border-radius: 17px; color: #d8d3bc; font-size: .9rem; font-weight: 600; }
.top-nav .lnk svg.nic, .top-nav a svg.nic { width: 22px; height: 22px; margin-right: 7px; vertical-align: middle; -webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.top-nav a:hover, .top-nav .lnk:hover { color: #fff; border-color: #2f5a4f; background: linear-gradient(180deg, rgba(63,154,127,.18), rgba(63,154,127,.06)); }
.top-fortune { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(211,184,114,.18); }
.fw { position: relative; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; height: 40px; margin-right: 8px; padding: 0 12px 0 5px; border-radius: 20px; text-align: left; line-height: 1.05;
  border: 1px solid #3a2a0e; color: #f3efe0; font-weight: 800; font-size: .86rem; text-shadow: 0 1px 2px rgba(0,0,0,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.3), 0 0 0 1px rgba(211,184,114,.25), 0 3px 10px rgba(0,0,0,.4);
  -webkit-transition: -webkit-transform .15s, box-shadow .2s, -webkit-filter .2s; transition: transform .15s, box-shadow .2s, filter .2s; }
.fw svg { width: 32px; height: 32px; margin-right: 7px; -ms-flex: 0 0 32px; flex: 0 0 32px; -webkit-filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); -webkit-transition: -webkit-transform .8s cubic-bezier(.2,.8,.2,1); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.fw span small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }
.fw:hover { -webkit-transform: translateY(-1px); transform: translateY(-1px); -webkit-filter: brightness(1.12); filter: brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.3), 0 0 0 1px rgba(240,216,150,.6), 0 6px 16px rgba(0,0,0,.5), 0 0 18px rgba(211,184,114,.3); }
.fw:hover svg { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
.fw-tok { background: linear-gradient(180deg, #f08a3a 0%, #b9481a 50%, #5a1f30 100%); }
.fw-dc  { background: linear-gradient(180deg, #4fb592 0%, #23795c 50%, #123d31 100%); }
.fw-won { background: linear-gradient(180deg, #6f9be0 0%, #3a62a8 50%, #1b2f55 100%); }
.ish.embed .fw { height: 36px; } .ish.embed .fw svg { width: 28px; height: 28px; -ms-flex-basis: 28px; flex-basis: 28px; }
@media (max-width: 1250px) { .fw span small { display: none; } .fw { padding-right: 10px; } }
@media (max-width: 1050px) { .fw span { display: none; } .fw { padding: 0 3px; margin-right: 5px; } .fw svg { margin: 0; } .top-fortune { margin-left: 8px; padding-left: 8px; } }

/* ================= Wheel of Fortune modal ================= */
.wheel-box { max-width: 900px; padding: 18px 22px 22px; }
.w-head { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; margin-bottom: 12px; }
.w-head .w-logo { width: 40px; height: 40px; margin-right: 10px; }
.w-head h3 { margin: 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 1.6rem; color: #f0d896; letter-spacing: .05em; text-shadow: 0 0 18px rgba(211,184,114,.35); }
.w-tabs { display: -ms-flexbox; display: flex; margin-bottom: 14px; }
.w-tabs button { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; height: 38px; margin-right: 8px; padding: 0 14px; border: 1px solid #2b4741; border-radius: 19px; background: #0b1514; color: #a9bdb4; font-weight: 700; }
.w-tabs button.on { color: #2a1d06; border-color: #f0d896; background: linear-gradient(180deg, #fbe6a6, #d3b872 55%, #b8913f); box-shadow: 0 0 14px rgba(211,184,114,.35); }
.w-tabs .tok, .w-tabs .won { font-size: 1.05rem; margin-right: 7px; } .w-tabs .won { font-weight: 900; }
.w-tabs .coin { margin-right: 7px; }
.w-body { display: -ms-flexbox; display: flex; -ms-flex-align: start; align-items: flex-start; }
.w-stage { position: relative; -ms-flex: 0 0 420px; flex: 0 0 420px; width: 420px; height: 420px; margin-right: 22px; }
.w-rim { position: absolute; top: 18px; left: 18px; right: 18px; bottom: 18px; border-radius: 50%; padding: 12px;
  background: radial-gradient(circle, #3a2a0e 60%, #8a6a2c 72%, #f0d896 74%, #8a6a2c 78%, #2a1d06 100%);
  box-shadow: 0 0 0 3px #1a1206, 0 0 40px rgba(211,184,114,.25), inset 0 0 20px rgba(0,0,0,.7); }
.w-disc { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; will-change: transform;
  background: conic-gradient(from -18deg, #123d31 0 36deg, #1d5244 36deg 72deg, #123d31 72deg 108deg, #1d5244 108deg 144deg, #123d31 144deg 180deg, #1d5244 180deg 216deg, #123d31 216deg 252deg, #1d5244 252deg 288deg, #123d31 288deg 324deg, #1d5244 324deg 360deg);
  box-shadow: inset 0 0 30px rgba(0,0,0,.65); }
.w-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from -18deg, rgba(240,216,150,.55) 0 .6deg, transparent .6deg 36deg), radial-gradient(circle, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
.w-seg { position: absolute; left: 50%; top: 0; width: 0; height: 50%; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; }
.w-it { position: absolute; top: 14px; left: -28px; width: 56px; height: 56px; border-radius: 50%; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center;
  background: radial-gradient(circle, rgba(87,211,154,.28), rgba(0,0,0,.25) 70%); box-shadow: inset 0 0 0 1px rgba(240,216,150,.35); }
.w-it img { max-width: 42px; max-height: 50px; -webkit-filter: drop-shadow(0 3px 4px rgba(0,0,0,.7)); filter: drop-shadow(0 3px 4px rgba(0,0,0,.7)); }
.w-it b { position: absolute; bottom: -4px; right: -4px; padding: 0 4px; border-radius: 6px; font-size: .68rem; color: #f0d896; background: rgba(0,0,0,.75); }
.w-it .ph { width: 22px; height: 22px; color: #5f7a72; }
.w-hub { position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, #fff6d8, #e2c57a 40%, #8a6a2c 100%); box-shadow: 0 0 0 4px #2a1d06, 0 0 0 6px #d3b872, 0 6px 16px rgba(0,0,0,.6); z-index: 2; }
.w-hub svg { width: 30px; height: 30px; color: #5a3d0c; }
.w-pointer { position: absolute; z-index: 4; top: 2px; left: 50%; width: 0; height: 0; margin-left: -18px; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 38px solid #f0d896;
  -webkit-filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.w-pointer::after { content: ''; position: absolute; top: -34px; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: #c21f25; box-shadow: 0 0 6px #ff6b6b; }
.w-lights { position: absolute; inset: 0; pointer-events: none; }
.w-lights i { position: absolute; left: 50%; top: 0; width: 0; height: 50%; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; }
.w-lights i::before { content: ''; position: absolute; top: 22px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff3c8; box-shadow: 0 0 8px #f0d896; opacity: .55; }
.w-lights.on i::before { -webkit-animation: wBlink .5s steps(2) infinite; animation: wBlink .5s steps(2) infinite; }
.w-lights.on i:nth-child(odd)::before { -webkit-animation-delay: .25s; animation-delay: .25s; }
@keyframes wBlink { 0% { opacity: 1; } 100% { opacity: .2; } }
.w-side { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.w-cost { color: #a9bdb4; font-size: .88rem; margin-bottom: 10px; } .w-cost b { color: #f0d896; }
.w-spin { margin-top: 0; height: 56px; font-size: 1.15rem; letter-spacing: .2em; }
.w-skip { display: block; margin: 10px 0 6px; color: #8fa39a; font-size: .84rem; cursor: pointer; } .w-skip input { accent-color: #3f9a7f; vertical-align: -2px; margin-right: 6px; }
.w-msg { min-height: 20px; color: #9fd3c3; font-size: .86rem; } .w-msg.bad { color: #ff9b8f; }
.w-result { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; margin: 8px 0 12px; padding: 12px; border: 1px solid #d3b872; border-radius: 10px;
  background: radial-gradient(ellipse at 0% 50%, rgba(211,184,114,.25), rgba(211,184,114,0) 70%), #12201f; box-shadow: 0 0 24px rgba(211,184,114,.25); -webkit-animation: spotIn .4s ease; animation: spotIn .4s ease; }
.w-result .wr-ic { width: 56px; height: 56px; margin-right: 12px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, rgba(240,216,150,.35), rgba(0,0,0,0) 70%); }
.w-result .wr-ic img { max-width: 44px; max-height: 50px; }
.w-result span { display: block; color: #d3b872; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.w-result b { display: block; color: #fff; font-size: 1.05rem; }
.w-result em { display: block; color: #8fa39a; font-size: .76rem; font-style: normal; }
.w-pool-h { margin: 6px 0 6px; color: #d3b872; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-size: 1rem; }
.w-pool { max-height: 190px; overflow-y: auto; overflow-x: hidden; margin-right: -6px; padding-right: 2px; }
.w-pool .ct { width: calc(50% - 6px); }
@media (max-width: 860px) { .w-body { display: block; } .w-stage { width: 320px; height: 320px; margin: 0 auto 12px; } .w-it { width: 44px; height: 44px; left: -22px; top: 10px; } .w-it img { max-width: 32px; max-height: 38px; } }

/* wheel: keep the spinning disc on its own layer so the rest of the window (reward list + its scrollbar) is not repainted every frame */
.wheel-box { overflow: hidden; }
.w-stage { overflow: hidden; contain: strict; isolation: isolate; -webkit-transform: translateZ(0); transform: translateZ(0); }
.w-rim { overflow: hidden; }
.w-disc { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.w-side { contain: content; -webkit-transform: translateZ(0); transform: translateZ(0); }
.w-pool { scrollbar-width: thin; scrollbar-color: #2f8a6e transparent; overscroll-behavior: contain; }
.w-pool::-webkit-scrollbar { width: 6px; }
.w-pool::-webkit-scrollbar-track { background: transparent; }
.w-pool::-webkit-scrollbar-button { display: none; height: 0; }
.w-pool::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4fb592, #245044); border-radius: 3px; }
.ish ::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

/* toast */
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: 90%; padding: 11px 18px; border: 1px solid #3f9a7f; border-radius: 10px; background: rgba(8,20,16,.96); color: #e6e1cc; font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.55); opacity: 0; pointer-events: none; -webkit-transform: translate(-50%, 12px); transform: translate(-50%, 12px); -webkit-transition: opacity .2s, -webkit-transform .2s; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }
.toast.bad { border-color: #c2453c; color: #ffd2cc; }

/* ================= Buy DC window ================= */
.dc-box { max-width: 820px; padding: 20px 24px 22px; }
.dc-head { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; margin-bottom: 14px; }
.dc-head .dc-coin { width: 44px !important; height: 44px !important; margin-right: 12px; -webkit-filter: drop-shadow(0 0 10px rgba(211,184,114,.45)); filter: drop-shadow(0 0 10px rgba(211,184,114,.45)); }
.dc-head h3 { margin: 0; font-family: "Marcellus SC", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 1.6rem; color: #f0d896; }
.dc-head span { color: #8fa39a; font-size: .86rem; } .dc-head span b { color: #f0d896; }
.dc-step { margin: 12px 0 8px; color: #d3b872; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dc-methods { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -8px; }
.dc-m { position: relative; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; height: 46px; margin: 0 8px 8px 0; padding: 0 14px 0 6px; border: 1px solid #22403a; border-radius: 10px; background: #0b1715; color: #d8d3bc; font-weight: 700; }
.dc-m:hover { border-color: #3f9a7f; }
.dc-m.on { border-color: #d3b872; background: linear-gradient(180deg, rgba(211,184,114,.16), rgba(211,184,114,.04)); color: #fff; box-shadow: 0 0 14px rgba(211,184,114,.18); }
.dc-ml { width: 34px; height: 34px; margin-right: 9px; border-radius: 7px; overflow: hidden; background: #fff; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; }
.dc-ml img { max-width: 100%; max-height: 100%; } .dc-ml.t { background: #173a32; color: #9fd3c3; font-size: .8rem; }
.dc-m i { margin-left: 8px; padding: 1px 6px; border-radius: 8px; font-style: normal; font-size: .7rem; color: #08311d; background: #57d39a; }
.dc-pkgs { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -10px; }
.dc-p { position: relative; width: calc(25% - 10px); margin: 0 10px 10px 0; padding: 18px 8px 12px; border: 1px solid #22403a; border-radius: 12px; text-align: center; color: #f3efe0; overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(211,184,114,.14), rgba(211,184,114,0) 60%), linear-gradient(180deg, #12241f, #0a1613); -webkit-transition: border-color .15s, -webkit-transform .15s; transition: border-color .15s, transform .15s; }
.dc-p:hover { border-color: #3f9a7f; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.dc-p.on { border-color: #f0d896; box-shadow: 0 0 0 1px #f0d896, 0 0 22px rgba(211,184,114,.3); }
.dc-p.low { opacity: .5; }
.dc-p .coin { display: block; width: 34px !important; height: 34px !important; margin: 0 auto 6px; }
.dc-p b { display: block; font-size: 1.35rem; color: #f0d896; line-height: 1.1; } .dc-p small { display: block; color: #8fa39a; font-size: .75rem; margin-bottom: 6px; }
.dc-p em { display: inline-block; padding: 3px 12px; border-radius: 12px; font-style: normal; font-weight: 800; color: #f4fff9; background: linear-gradient(180deg, #4fb592, #1f7a5a); }
.dc-bon { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 6px; font-size: .64rem; font-weight: 800; color: #08311d; background: #57d39a; }
.dc-foot { margin-top: 6px; }
.dc-sum { margin: 6px 0 8px; color: #c5c9b8; font-size: .92rem; } .dc-sum b { color: #f0d896; } .dc-sum .neg { color: #ff9b8f; }
.dc-agree { display: block; margin-bottom: 10px; color: #8fa39a; font-size: .84rem; cursor: pointer; } .dc-agree input { accent-color: #3f9a7f; margin-right: 6px; vertical-align: -2px; } .dc-agree a { color: #57d39a; }
.dc-buy { margin-top: 0; }
.dc-alt { margin-top: 10px; color: #8fa39a; font-size: .8rem; text-align: center; } .dc-alt a { color: #57d39a; }
.dc-done { padding: 6px 2px; color: #c5c9b8; }
.dc-ok { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; margin-bottom: 10px; } .dc-ok svg { width: 34px; height: 34px; margin-right: 10px; padding: 6px; border-radius: 50%; color: #08311d; background: #57d39a; } .dc-ok b { font-size: 1.2rem; color: #fff; }
.dc-rows div { overflow: hidden; padding: 8px 0; border-bottom: 1px solid #1d362f; } .dc-rows span { float: left; color: #8fa39a; } .dc-rows b { float: right; color: #f0d896; cursor: pointer; }
.dc-text { margin: 10px 0; padding: 10px; border: 1px dashed #2f5a4f; border-radius: 8px; white-space: pre-line; font-size: .86rem; }
.dc-link a { color: #57d39a; }
.dc-actions { margin-top: 12px; } .dc-actions button { margin-right: 8px; height: 40px; padding: 0 16px; }
@media (max-width: 860px) { .dc-p { width: calc(33.333% - 10px); } }
@media (max-width: 600px) { .dc-p { width: calc(50% - 10px); } }
.dc-go { display: block; line-height: 48px; text-align: center; text-decoration: none; margin: 4px 0 10px; }

/* wheel: spin refused (not enough tokens / DC / won) */
.w-stage.fail .w-rim { -webkit-animation: wShake .6s cubic-bezier(.36,.07,.19,.97); animation: wShake .6s cubic-bezier(.36,.07,.19,.97); box-shadow: 0 0 0 3px #1a1206, 0 0 40px rgba(194,31,37,.55), inset 0 0 20px rgba(0,0,0,.7); }
.w-stage.fail .w-pointer { border-top-color: #e0482c; }
.w-stage.fail .w-hub { background: radial-gradient(circle at 50% 35%, #ffd0c8, #e0482c 45%, #7a1a14 100%); }
.w-spin.fail { -webkit-animation: wShake .6s; animation: wShake .6s; background: linear-gradient(180deg, #ff7b6b, #b3261e) !important; }
@keyframes wShake { 10%, 90% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); } 20%, 80% { -webkit-transform: translateX(4px) rotate(2deg); transform: translateX(4px) rotate(2deg); } 30%, 50%, 70% { -webkit-transform: translateX(-7px) rotate(-3deg); transform: translateX(-7px) rotate(-3deg); } 40%, 60% { -webkit-transform: translateX(7px) rotate(3deg); transform: translateX(7px) rotate(3deg); } }
.w-msg.bad b { color: #ff9b8f; }

/* Buy DC: methods on the left, packages + buy on the right, no scrolling */
.dc-box { max-width: 1060px; padding: 18px 22px 18px; }
.dc-head { margin-bottom: 8px; }
.dc-form { display: -ms-flexbox; display: flex; -ms-flex-align: stretch; align-items: stretch; }
.dc-left { -ms-flex: 0 0 280px; flex: 0 0 280px; width: 280px; margin-right: 18px; padding-right: 18px; border-right: 1px solid #1d362f; }
.dc-right { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; }
.dc-step { margin: 4px 0 8px; }
.dc-left .dc-methods { display: block; margin: 0; }
.dc-left .dc-m { display: -ms-flexbox; display: flex; width: 100%; height: 50px; margin: 0 0 8px; text-align: left; }
.dc-left .dc-m b { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.dc-left .dc-m.on::after { content: ''; position: absolute; right: -19px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left-color: #d3b872; }
.dc-right .dc-pkgs { margin-right: -10px; }
.dc-right .dc-p { width: calc(33.333% - 10px); padding: 10px 8px 9px; margin-bottom: 10px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; text-align: left; }
.dc-right .dc-p .coin { display: inline-block; width: 30px !important; height: 30px !important; margin: 0 8px 0 2px; -ms-flex: 0 0 30px; flex: 0 0 30px; }
.dc-right .dc-p b { display: inline; font-size: 1.12rem; }
.dc-right .dc-p small { display: inline; margin: 0 0 0 4px; }
.dc-right .dc-p em { margin-left: auto; padding: 3px 9px; font-size: .82rem; }
.dc-right .dc-bon { top: -1px; right: auto; left: 46px; border-radius: 0 0 6px 6px; font-size: .58rem; padding: 0 5px; }
.dc-right .dc-foot { margin-top: auto; padding-top: 6px; border-top: 1px solid #1d362f; }
.dc-right .dc-buy { height: 48px; }
@media (max-width: 860px) { .dc-form { display: block; } .dc-left { width: auto; margin: 0 0 10px; padding: 0; border: 0; } .dc-left .dc-methods { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; } .dc-left .dc-m { width: auto; margin-right: 8px; } .dc-left .dc-m.on::after { display: none; } .dc-right .dc-p { width: calc(50% - 10px); } }
.dc-left { -ms-flex-basis: 300px; flex-basis: 300px; width: 300px; }
.dc-left .dc-m b { white-space: normal; line-height: 1.2; overflow: visible; }

/* ---- item window: smaller and centred (Oct 31) ---- */
#modal .modal-box { max-width: 820px; max-height: 88%; }
.m-art { -ms-flex: 0 0 230px; flex: 0 0 230px; width: 230px; padding: 22px 16px; }
.m-icon { width: 150px; height: 150px; margin-bottom: 10px; }
.m-info { padding: 18px 20px 16px; }
.m-info h3 { font-size: 1.3rem; }
.m-sub b { font-size: 1.08rem; }
.m-desc { margin-top: 8px; font-size: .88rem; line-height: 1.45; }
.m-facts { margin-top: 10px; }
.m-facts li { padding: 5px 0; font-size: .85rem; }
.m-cont { margin-top: 10px; padding-top: 10px; }
.m-cont .ct { height: 52px; padding: 5px; }
.m-cont .ct-ic { width: 36px; height: 36px; }
.m-cont .ct-n { font-size: .72rem; line-height: 1.18; max-height: 3.54em; }
.m-buy { margin-top: 12px; }
@media (min-width: 861px) {
  /* the picture stays in view while the details scroll */
  .m-art { position: -webkit-sticky; position: sticky; top: 0; -ms-flex-item-align: start; align-self: flex-start; }
}
@media (max-height: 640px) { #modal .modal-box { max-height: 94%; } }

/* ---- Oct 31: daily rewards button, Buy DC packages, wheel rewards list ---- */
.btn-daily { position: relative; height: 38px; margin-right: 8px; padding: 0 14px 0 10px; border: 1px solid #3f9a7f; border-radius: 19px; color: #dff7ec; font-weight: 700; font-size: .88rem; cursor: pointer; vertical-align: middle;
  background: linear-gradient(180deg, #17352d, #0c1d19); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); -webkit-transition: border-color .15s, box-shadow .15s; transition: border-color .15s, box-shadow .15s; }
.btn-daily svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; color: #f0d896; }
.btn-daily:hover { border-color: #57d39a; box-shadow: 0 0 14px rgba(87,211,154,.3); }
.ish.embed .btn-daily { height: 34px; }
@media (max-width: 1150px) { .btn-daily span { display: none; } .btn-daily { padding: 0 9px; } .btn-daily svg { margin: 0; } }

/* Buy DC: package cards stacked (bonus ribbon on top, amount, price) */
.dc-right .dc-p { display: block; text-align: center; padding: 22px 6px 9px; min-height: 104px; }
.dc-right .dc-p .coin { display: block; width: 28px !important; height: 28px !important; margin: 0 auto 4px; }
.dc-right .dc-p b { display: block; font-size: 1.15rem; line-height: 1.15; white-space: nowrap; }
.dc-right .dc-p small { display: block; margin: 0 0 6px; font-size: .7rem; }
.dc-right .dc-p em { display: inline-block; margin: 0; padding: 2px 10px; font-size: .8rem; }
.dc-right .dc-bon { top: 0; left: 0; right: 0; border-radius: 0; padding: 0; height: 17px; line-height: 17px; font-size: .64rem; letter-spacing: .03em; text-align: center; text-transform: uppercase;
  background: linear-gradient(90deg, #2fa477, #57d39a, #2fa477); }
.dc-right .dc-p:not(:has(.dc-bon)) { padding-top: 14px; }

/* wheel: rewards as a readable list, wheel shrinks on smaller shop windows */
.w-side { min-width: 270px; }
.w-pool { max-height: 210px; }
.w-pool .ct { float: none; width: auto; height: 42px; margin: 0 6px 6px 0; padding: 4px 8px 4px 4px; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
.w-pool .ct-ic { width: 34px; height: 34px; -ms-flex: 0 0 34px; flex: 0 0 34px; }
.w-pool .ct-n { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; max-height: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; }
@media (max-width: 1080px) { .w-stage { zoom: .86; } }
@media (max-width: 960px) { .w-stage { zoom: .76; } }
@media (max-height: 700px) { .w-stage { zoom: .92; } }
@media (max-width: 860px) { .w-stage { zoom: 1; } .w-side { min-width: 0; } }
/* compact package cards so the whole Buy DC window fits without scrolling */
.dc-right .dc-p { min-height: 0; padding: 22px 6px 8px; }
.dc-right .dc-p .coin { display: inline-block; width: 22px !important; height: 22px !important; margin: 0 5px 0 0; vertical-align: -4px; }
.dc-right .dc-p b { display: inline; font-size: 1.12rem; }
.dc-right .dc-p small { display: inline; margin: 0 0 0 3px; }
.dc-right .dc-p em { display: block; width: -webkit-fit-content; width: fit-content; margin: 6px auto 0; }
.btn-daily { white-space: nowrap; }
@media (max-width: 1300px) { .btn-daily { padding: 0 11px 0 9px; font-size: .8rem; } .btn-daily svg { width: 16px; height: 16px; margin-right: 4px; } }
.dc-right .dc-p .coin { display: none; }
.dc-right .dc-p { padding: 24px 4px 8px; }
.dc-right .dc-p b { font-size: 1.18rem; }
/* package cards: amount never cut (the "DC" label is in the header already) */
.dc-right .dc-p small { display: none; }
.dc-right .dc-p b { font-size: 1.2rem; letter-spacing: -.01em; }
.dc-right .dc-p em { font-size: .78rem; padding: 2px 9px; }
.dc-right .dc-bon { font-size: .6rem; letter-spacing: .02em; }
.brand-t { white-space: nowrap; }
@media (max-width: 1300px) { .ish.embed .brand { margin-right: 14px; } .ish.embed .brand-t { font-size: 1.15rem; letter-spacing: .03em; } }
@media (max-width: 1150px) { .ish.embed .brand-t { display: none; } }

/* wider popups (Oct 31): the item / Buy DC / wheel windows use more of the shop */
.wheel-box { max-width: 1000px; max-height: 94%; }
.dc-box { max-width: 1000px; max-height: 94%; }
.w-side { min-width: 330px; }
.w-pool { max-height: 250px; }
.dc-left { -ms-flex-basis: 330px; flex-basis: 330px; width: 330px; }
.m-cont .ct { height: 54px; }
.m-cont .ct-n { font-size: .78rem; }
.w-pool .ct { float: left; width: calc(50% - 6px); }
.w-pool { overflow: auto; }

/* 3D preview inside the item popup (new client exe draws the model in this box) */
.m-pv { position: relative; margin: 14px auto 0; border: 1px solid #33584e; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(95,174,152,.16), rgba(8,17,15,.9) 70%); display: -ms-flexbox; display: flex; -ms-flex-align: end; align-items: flex-end; -ms-flex-pack: center; justify-content: center; }
.m-pv span { margin-bottom: 10px; color: #5f7a72; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
html.pvh #modal .modal-box { max-height: 92%; }
/* preview box: taller, smaller item picture so everything fits */
html.pvh .m-icon { width: 112px; height: 112px; margin-bottom: 8px; }
html.pvh .m-art { padding: 16px 16px 14px; }
html.pvh .m-pv { margin-top: 10px; border-radius: 0; }
/* short items (skill effects, single costumes): price + Buy sit at the bottom, level with the preview */
html.pvh .m-info { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; }
html.pvh .m-info .m-buy { margin-top: auto; padding-top: 14px; }

/* Buy DC packages v2: amount on the left, a clear euro price on the right */
.dc-right .dc-p.v2 { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; min-height: 0; padding: 12px 12px 12px 12px; text-align: left; }
.dc-right .dc-p.v2 .p-l { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; min-width: 0; }
.dc-right .dc-p.v2 .coin { display: block !important; -ms-flex: 0 0 30px; flex: 0 0 30px; width: 30px !important; height: 30px !important; margin: 0 10px 0 0; }
.dc-right .dc-p.v2 .p-amt { display: block; min-width: 0; line-height: 1.1; }
.dc-right .dc-p.v2 .p-amt b { display: inline; font-size: 1.3rem; color: #f0d896; letter-spacing: -.01em; }
.dc-right .dc-p.v2 .p-amt small { display: inline; margin-left: 4px; font-size: .72rem; font-weight: 700; color: #8fa39a; }
.dc-right .dc-p.v2 .p-amt i { display: block; margin-top: 4px; font-style: normal; font-size: .72rem; font-weight: 700; color: #57d39a; white-space: nowrap; }
.dc-right .dc-p.v2 .p-r { -ms-flex: 0 0 auto; flex: 0 0 auto; margin-left: 10px; }
.dc-right .dc-p.v2 em { display: block; width: auto; margin: 0; padding: 6px 12px; border-radius: 9px; font-style: normal; font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1;
  background: linear-gradient(180deg, #2c6f59, #174a3b); border: 1px solid #3f9a7f; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.dc-right .dc-p.v2 em sup { font-size: .7em; margin-right: 1px; vertical-align: .25em; color: #bfeedd; }
.dc-right .dc-p.v2.on em { color: #1a1406; background: linear-gradient(180deg, #f6e3a8, #d3b872); border-color: #f0d896; }
.dc-right .dc-p.v2.on em sup { color: #4a3a10; }
.dc-right .dc-p.v2 .dc-bon { display: none; }
@media (max-width: 1100px) { .dc-right .dc-p.v2 .coin { display: none !important; } .dc-right .dc-p.v2 .p-amt b { font-size: 1.15rem; } .dc-right .dc-p.v2 em { font-size: 1rem; padding: 5px 9px; } }
/* v2 stacked: amount + bonus on top, a full-width price bar below (fits narrow cards) */
.dc-right .dc-p.v2 { display: block; padding: 12px 10px 10px; text-align: center; }
.dc-right .dc-p.v2 .p-l { -ms-flex-pack: center; justify-content: center; }
.dc-right .dc-p.v2 .coin { -ms-flex: 0 0 24px; flex: 0 0 24px; width: 24px !important; height: 24px !important; margin-right: 7px; }
.dc-right .dc-p.v2 .p-amt { text-align: left; }
.dc-right .dc-p.v2 .p-amt b { font-size: 1.32rem; }
.dc-right .dc-p.v2 .p-amt i { margin-top: 2px; font-size: .7rem; }
.dc-right .dc-p.v2 .p-r { display: block; margin: 9px 0 0; }
.dc-right .dc-p.v2 em { display: block; padding: 6px 0; border-radius: 8px; font-size: 1.12rem; text-align: center; }
@media (max-width: 1100px) { .dc-right .dc-p.v2 .coin { display: none !important; } .dc-right .dc-p.v2 .p-amt { text-align: center; } .dc-right .dc-p.v2 em { font-size: 1.05rem; padding: 5px 0; } }
