.jg-page{max-width:1100px;margin:0 auto;padding:2rem 1rem}.jg-hero{text-align:center;margin-bottom:2rem}.jg-hero h1{font-size:1.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#e0e0e0}.jg-hero p{color:#ffffff80;font-size:.8rem;margin-top:.5rem}:global(html.light) .jg-hero h1{color:#222}:global(html.light) .jg-hero p{color:#666}.jg-setup{max-width:520px;margin:0 auto;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:2rem 1.5rem;text-align:center}:global(html.light) .jg-setup{background:#00000008;border-color:#00000014}.jg-setup h2{font-size:.85rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:1.2rem;opacity:.7}.jg-size-opts{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:1rem}.jg-size-opts button{background:#ffffff0d;border:1px solid rgba(255,255,255,.12);color:#ffffffb3;border-radius:10px;padding:10px 18px;font-size:.8rem;font-weight:700;cursor:pointer;transition:all .2s;min-width:60px}:global(html.light) .jg-size-opts button{background:#0000000a;border-color:#0000001a;color:#444}.jg-size-opts button:hover{background:#ffffff1f;color:#fff}:global(html.light) .jg-size-opts button:hover{background:#00000014;color:#000}.jg-size-opts button.active{background:#dcb43c33;border-color:#dcb43c80;color:#f0d870}:global(html.light) .jg-size-opts button.active{background:#b48c1426;border-color:#b48c1466;color:#6a5010}.jg-custom{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:1.5rem;font-size:.7rem;opacity:.7}.jg-custom input[type=number]{width:70px;padding:6px 8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.12);border-radius:6px;color:#fff;font-size:.85rem;text-align:center}:global(html.light) .jg-custom input[type=number]{background:#0000000a;border-color:#0000001a;color:#111}.jg-start{background:linear-gradient(135deg,#c0a030,#e0c050);border:none;color:#1a1a1a;border-radius:10px;padding:14px 36px;font-size:.95rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:all .2s}.jg-start:hover{transform:scale(1.03);box-shadow:0 6px 20px #dcb43c4d}.jg-game{display:none}.jg-game.active{display:block}.jg-score{display:flex;justify-content:center;gap:2rem;margin-bottom:1rem;flex-wrap:wrap}.jg-score-item{text-align:center;padding:8px 18px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:10px;min-width:90px}:global(html.light) .jg-score-item{background:#00000008;border-color:#00000014}.jg-score-item.active{border-color:#dcb43c80;background:#dcb43c14}.jg-score-item .lbl{font-size:.55rem;letter-spacing:.12em;text-transform:uppercase;opacity:.55}.jg-score-item .val{font-size:1.4rem;font-weight:800;margin-top:2px}.jg-turn-msg{text-align:center;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:10px;color:#f0d870;margin-bottom:1rem}:global(html.light) .jg-turn-msg{color:#6a5010}.jg-board{display:grid;grid-template-columns:auto auto;gap:2.5rem;align-items:start;justify-content:center;margin:0 auto 1.5rem}@media(max-width:720px){.jg-board{grid-template-columns:1fr;gap:1.5rem;justify-items:center}}.jg-slot{display:flex;flex-direction:column;align-items:center;gap:.6rem}.jg-slot-lbl{font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;opacity:.6;font-weight:700}:global(html.light) .jg-slot-lbl{color:#555}.jg-card-back{width:220px;height:443px;border-radius:14px;background:radial-gradient(circle at 30% 30%,rgba(220,180,60,.1),transparent 55%),linear-gradient(135deg,#1a2030,#0b0f18);border:1.5px solid rgba(220,180,60,.25);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;box-shadow:0 6px 28px #00000080}.jg-card-back:before{content:"🦖";font-size:5rem;opacity:.18;filter:grayscale(1) sepia(1) hue-rotate(10deg)}.jg-card-back span{position:absolute;bottom:18px;font-size:.55rem;letter-spacing:.3em;color:#dcb43c66;font-weight:800}:global(html.light) .jg-card-back{background:radial-gradient(circle at 30% 30%,rgba(180,140,20,.18),transparent 55%),linear-gradient(135deg,#efe6cf,#d8cfb5)}.st-card.playable .s-row[data-attr],.st-card.playable .bando[data-attr]{cursor:pointer;transition:background .15s;border-radius:4px}.st-card.playable .s-row[data-attr]:hover{background:#dcb43c2e;outline:1px solid rgba(220,180,60,.35)}.st-card.playable .bando[data-attr]:hover{background:#dcb43c38;border-color:#dcb43c8c}.play-hint{text-align:center;font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;opacity:.5;margin-top:.3rem}.jg-result{text-align:center;padding:1rem;margin-bottom:1rem;border-radius:10px;display:none}.jg-result.show{display:block;animation:fadeIn .3s ease}.jg-result.win{background:#50b4641f;border:1px solid rgba(80,180,100,.3)}.jg-result.lose{background:#dc50501f;border:1px solid rgba(220,80,80,.3)}.jg-result.tie{background:#dcb43c1a;border:1px solid rgba(220,180,60,.3)}.jg-result .r-title{font-size:.9rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.jg-result.win .r-title{color:#80e0a0}.jg-result.lose .r-title{color:#e08080}.jg-result.tie .r-title{color:#e0c050}.jg-result .r-desc{font-size:.8rem;margin-top:6px;opacity:.85}@keyframes fadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.jg-next{display:block;margin:0 auto;background:#dcb43c26;border:1px solid rgba(220,180,60,.4);color:#f0d870;border-radius:10px;padding:10px 28px;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:all .2s}.jg-next:hover{background:#dcb43c40}:global(html.light) .jg-next{color:#6a5010;border-color:#b48c144d}.jg-end{display:none;text-align:center;padding:2rem 1rem}.jg-end.active{display:block}.jg-end h2{font-size:1.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}.jg-end.win h2{color:#80e0a0}.jg-end.lose h2{color:#e08080}.jg-end p{opacity:.7;margin-bottom:2rem}.jg-end .jg-start{font-size:.85rem;padding:12px 30px}.card-wrap{width:220px;display:flex;justify-content:center}.st-card{width:220px;border-radius:14px;overflow:hidden;box-shadow:0 6px 28px #00000080;display:flex;flex-direction:column;background:#0f0f1a}.st-card.carnivore{border:1.5px solid rgba(220,70,70,.35)}.st-card.herbivore{border:1.5px solid rgba(70,180,100,.35)}.st-card.piscivore{border:1.5px solid rgba(70,140,210,.35)}.st-card.omnivore{border:1.5px solid rgba(210,180,60,.35)}.card-header{position:relative}.card-num{position:absolute;top:6px;left:10px;font-size:.55rem;font-weight:700;letter-spacing:.1em;color:#fff;z-index:2;background:#0000008c;padding:2px 6px;border-radius:3px}.card-per{position:absolute;top:6px;right:10px;font-size:.5rem;font-weight:600;letter-spacing:.08em;color:#fff;z-index:2;background:#0000008c;padding:2px 6px;border-radius:3px}.dino-hero{width:100%;height:140px;overflow:hidden;display:flex;align-items:center;justify-content:center}.carnivore .dino-hero{background:linear-gradient(180deg,#f5ede8,#e8d8d0)}.herbivore .dino-hero{background:linear-gradient(180deg,#edf5e8,#d8e8d0)}.piscivore .dino-hero{background:linear-gradient(180deg,#e8eef5,#d0d8e8)}.omnivore .dino-hero{background:linear-gradient(180deg,#f5f2e8,#e8e0d0)}.dino-hero img{width:100%;height:100%;object-fit:contain;padding:6px}.card-info{padding:8px 12px 4px;text-align:center}.carnivore .card-name{color:#f0a8a8}.herbivore .card-name{color:#a8e0b8}.piscivore .card-name{color:#a8c8f0}.omnivore .card-name{color:#e0d0a0}.card-name{font-size:.82rem;font-weight:800;line-height:1.2}.card-sci{color:#ffffff59;font-size:.48rem;font-style:italic;margin-top:2px}.diet-badge{display:inline-block;margin-top:5px;padding:2px 8px;border-radius:14px;font-size:.48rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.badge-carnivore{background:#dc464626;color:#f08080;border:1px solid rgba(220,70,70,.25)}.badge-herbivore{background:#46b46426;color:#80d0a0;border:1px solid rgba(70,180,100,.25)}.badge-piscivore{background:#468cd226;color:#80b8e0;border:1px solid rgba(70,140,210,.25)}.badge-omnivore{background:#d2b43c26;color:#d0c060;border:1px solid rgba(210,180,60,.25)}:global(html.light) .badge-carnivore{background:#dc46461a;color:#a03030;border-color:#dc464633}:global(html.light) .badge-herbivore{background:#46b4641a;color:#2a7040;border-color:#46b46433}:global(html.light) .badge-piscivore{background:#468cd21a;color:#2a5a90;border-color:#468cd233}:global(html.light) .badge-omnivore{background:#d2b43c1a;color:#8a7020;border-color:#d2b43c33}.bando-desc{font-size:.4rem;color:#dcb43c73;margin-top:1px;line-height:1.3}:global(html.light) .bando-desc{color:#64501480}.card-stats{padding:7px 11px 5px;display:flex;flex-direction:column;gap:4px;flex:1}.s-row{display:flex;justify-content:space-between;align-items:center}.s-lbl{font-size:.48rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;opacity:.45;color:#fff}.s-val{font-size:.65rem;font-weight:800;color:#fff}.s-unit{font-size:.45rem;font-weight:400;opacity:.4;margin-left:1px}.s-bar-bg{height:3px;background:#ffffff0f;border-radius:2px;overflow:hidden;margin-top:1px}.s-bar{height:100%;border-radius:2px}.s-div{border:none;border-top:1px solid rgba(255,255,255,.05);margin:2px 0}.carnivore .s-bar.main{background:#c05050}.herbivore .s-bar.main{background:#50a068}.piscivore .s-bar.main{background:#5088c0}.omnivore .s-bar.main{background:#b0a040}.s-lbl.atk{color:#f99;opacity:.85}.s-lbl.def{color:#99c4ff;opacity:.85}.s-val.atk{color:#ffb3b3}.s-val.def{color:#b3d4ff}.s-bar.atk{background:#d05050!important}.s-bar.def{background:#4d80d0!important}.bando{margin:3px 11px 7px;padding:5px 9px;border-radius:7px;background:#dcb43c14;border:1px solid rgba(220,180,60,.2);display:flex;align-items:center;gap:7px}.bando-icon{font-size:.85rem;line-height:1}.bando-content{flex:1}.bando-title{font-size:.45rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#e0c050}.bando-val{font-size:.68rem;font-weight:800;color:#f0d870;margin-top:1px}.bando-bar-bg{height:3px;background:#dcb43c1a;border-radius:2px;overflow:hidden;margin-top:3px}.bando-bar{height:100%;border-radius:2px;background:linear-gradient(90deg,#c0a030,#e0c050)}.card-foot{padding:4px;text-align:center;font-size:.4rem;letter-spacing:.06em;opacity:.2;color:#fff;text-transform:uppercase;border-top:1px solid rgba(255,255,255,.04)}:global(html.light) .st-card{background:#f8f8f5;box-shadow:0 4px 16px #0000001a}:global(html.light) .card-sci{color:#00000059}:global(html.light) .s-lbl{color:#333;opacity:.7}:global(html.light) .s-val{color:#111}:global(html.light) .s-bar-bg{background:#00000014}:global(html.light) .s-div{border-top-color:#00000014}:global(html.light) .card-foot{color:#333;border-top-color:#0000000f}:global(html.light) .s-lbl.atk{color:#c04040}:global(html.light) .s-lbl.def{color:#3060a0}:global(html.light) .s-val.atk{color:#b03030}:global(html.light) .s-val.def{color:#2050a0}:global(html.light) .carnivore .card-name{color:#a03030}:global(html.light) .herbivore .card-name{color:#2a7040}:global(html.light) .piscivore .card-name{color:#2a5a90}:global(html.light) .omnivore .card-name{color:#8a7020}:global(html.light) .bando-title{color:#8a7020}:global(html.light) .bando-val{color:#6a5010}:global(html.light) .bando{background:#dcb43c0f;border-color:#dcb43c26}:global(html.light) .bando-bar-bg{background:#dcb43c1a}.s-row.highlight{background:#dcb43c2e;border-radius:4px;padding:2px 4px;margin:0 -4px}.s-row.win-row{background:#50b46438}.s-row.lose-row{background:#dc505038}.jg-back-link{display:block;text-align:center;margin-top:2rem;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:#fff6;text-decoration:none}:global(html.light) .jg-back-link{color:#00000080}.jg-back-link:hover{color:#f0d870}
