body{font-family:Inter,sans-serif;margin:0;padding:0;background-color:#f3f4f6;color:#1f2937}.container{max-width:1200px;margin:0 auto;padding:1.5rem}h1{font-size:1.6rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;grid-auto-flow:dense}.lottery-card-item{grid-row:1}@media (min-width: 1024px){.lottery-card-item{grid-column:4}}@media (max-width: 1023px) and (min-width: 769px){.lottery-card-item{grid-column:3}}@media (max-width: 768px){.lottery-card-item{grid-column:3;grid-row:1}}.product-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #00000026}.product-image{width:100%;height:180px;object-fit:contain;background-color:#f9fafb}.product-image-placeholder{width:100%;height:180px;background:linear-gradient(135deg,#e5e7eb,#d1d5db);display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:.8rem}.product-info{padding:.85rem;flex-grow:1;display:flex;flex-direction:column}.product-card h2{font-size:1rem;font-weight:600;margin:0 0 .4rem;color:#1f2937;line-height:1.3;height:2.6rem;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.official-price{font-size:.8rem;color:#6b7280;margin:0 0 .6rem}.max-price{background:linear-gradient(135deg,#059669,#10b981);color:#fff;padding:.6rem;border-radius:6px;margin-bottom:.6rem;display:flex;justify-content:space-between;align-items:center}.max-price .label{font-size:.8rem;font-weight:500}.max-price .value{font-size:1.15rem;font-weight:700}.shop-prices{border-top:1px solid #e5e7eb;padding-top:.6rem;margin-top:auto}.price-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem;font-size:.8rem}.shop-name{font-weight:500;color:#6b7280}.price-value{font-weight:600;color:#059669}.controls-wrapper label{font-size:.85rem}.controls-wrapper input,.controls-wrapper select,.view-mode-btn{font-size:.85rem!important;padding:.4rem .75rem!important}button,.button-link{font-size:.85rem;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:500;transition:all .2s}@media (max-width: 768px){.container{padding:.75rem}.product-grid{grid-template-columns:repeat(3,1fr);gap:.4rem}.product-image{height:85px}.product-info{padding:.4rem}.product-card h2{font-size:.65rem;height:1.6rem}.official-price{font-size:.55rem}.max-price{padding:.9rem .2rem .3rem!important}.max-price .label{font-size:.5rem!important}.max-price .value{font-size:1rem!important}.max-price .premium-rate{display:none!important}.price-item{font-size:.6rem}.change-label{font-size:.6rem!important}.change-value,.lottery-item-title{font-size:.55rem!important}h1{font-size:1.2rem}.price-table{font-size:.65rem!important}.price-table th,.price-table td{padding:.3rem!important}}.icon{width:14px;height:14px;display:inline-block;vertical-align:-2px;margin-right:4px;color:currentColor}.panelIcon{background:linear-gradient(currentColor 0 0) 1px 1px / 5px 5px no-repeat,linear-gradient(currentColor 0 0) 8px 1px / 5px 5px no-repeat,linear-gradient(currentColor 0 0) 1px 8px / 5px 5px no-repeat,linear-gradient(currentColor 0 0) 8px 8px / 5px 5px no-repeat;border-radius:2px}.tableIcon{position:relative;border:1.5px solid currentColor;border-radius:2px;box-sizing:border-box}.tableIcon:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(currentColor 0 0) 0 3px / 100% 1.2px no-repeat,linear-gradient(currentColor 0 0) 0 7px / 100% 1.2px no-repeat,linear-gradient(currentColor 0 0) 4px 0 / 1.2px 100% no-repeat}.price-table{font-size:.8rem}.price-table th,.price-table td{padding:.6rem}.admin-menu a{font-size:1.1rem}.delete-button{background-color:#ef4444;color:#fff}
