/* abkürzung.com — dictionary styles */

.abk-home h1 { font-size: 2rem; margin-bottom: .25rem; }
.abk-subtitle { color: #666; margin-bottom: 2rem; }

.abk-search-main { margin: 1.5rem 0 2rem; }

.abk-stats { display: flex; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.stat-card { background: #f0f7ff; border: 1px solid #cce0ff; border-radius: 8px;
             padding: 1rem 1.5rem; text-align: center; min-width: 120px; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 700; color: #0073aa; }
.stat-label { font-size: .8rem; color: #555; }

/* Abkürzung des Tages */
.abk-dotd { background: linear-gradient(135deg, #e8f0fe, #f0f7ff); border: 2px solid #1a56d6;
  border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; position: relative; }
.dotd-label { font-size: .75rem; font-weight: 700; text-transform: uppercase;
  color: #1a56d6; letter-spacing: .05em; margin-bottom: .4rem; }
.dotd-abbr { font-size: 2.5rem; font-weight: 800; color: #0073aa; line-height: 1; }
.dotd-expansion { font-size: 1rem; color: #333; margin: .4rem 0 .75rem; }
.dotd-link { color: #1a56d6; font-weight: 600; text-decoration: none; font-size: .9rem; }
.dotd-link:hover { text-decoration: underline; }

.az-grid { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 2rem; }
.az-cell { display: flex; flex-direction: column; align-items: center;
           width: 52px; padding: .5rem; border: 1px solid #ddd; border-radius: 6px;
           text-decoration: none; color: inherit; background: #fff; transition: background .15s; }
.az-cell:hover { background: #f0f7ff; border-color: #0073aa; }
.az-letter { font-size: 1.2rem; font-weight: 700; color: #0073aa; }
.az-count { font-size: .7rem; color: #888; }

.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .75rem; margin: 1rem 0; }
.tag-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: .75rem 1rem;
            text-decoration: none; color: inherit; transition: box-shadow .15s; }
.tag-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); border-color: #0073aa; }
.tag-name { display: block; font-weight: 600; color: #0073aa; }
.tag-count { font-size: .8rem; color: #888; }

/* Entry page */
.abk-entry h1.abk-abbr { font-size: 3rem; color: #0073aa; margin-bottom: 1.5rem; }
.abk-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.abk-table th { background: #f5f5f5; text-align: left; padding: .6rem .75rem;
                border-bottom: 2px solid #ddd; font-size: .85rem; color: #555; }
.abk-table td { padding: .75rem; border-bottom: 1px solid #eee; vertical-align: top; }
.abk-expansion { font-size: 1.1rem; font-weight: 500; }
.abk-lang { font-size: .85rem; white-space: nowrap; }
.abk-tags { display: flex; flex-wrap: wrap; gap: .3rem; }

.tag { display: inline-block; background: #e8f0fe; color: #1a56d6; border-radius: 4px;
       padding: .15rem .5rem; font-size: .78rem; text-decoration: none; }
.tag:hover { background: #1a56d6; color: #fff; }

.abk-nav { display: flex; justify-content: space-between; align-items: center;
           margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #eee; }
.abk-nav a { color: #0073aa; text-decoration: none; font-size: .9rem; }
.abk-nav a:hover { text-decoration: underline; }

/* Letter / tag list pages */
.abk-letter-nav { margin: .5rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .25rem; }
.abk-letter-nav a { display: inline-block; width: 28px; text-align: center; padding: .2rem;
                    border: 1px solid #ddd; border-radius: 4px; text-decoration: none;
                    color: #0073aa; font-weight: 600; }
.abk-letter-nav a:hover, .abk-letter-nav a.active { background: #0073aa; color: #fff; border-color: #0073aa; }

.abk-list-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.abk-list-table th { background: #f5f5f5; text-align: left; padding: .5rem .75rem;
                     border-bottom: 2px solid #ddd; color: #555; font-size: .82rem; }
.abk-list-table td { padding: .45rem .75rem; border-bottom: 1px solid #eee; }
.abk-list-table tr:hover td { background: #f9fbff; }
.abk-link { color: #0073aa; font-weight: 600; text-decoration: none; }
.abk-link:hover { text-decoration: underline; }

.count { color: #999; font-size: .8rem; }

/* A–Z overview */
.az-overview { columns: 4; column-gap: 2rem; }
@media (max-width: 700px) { .az-overview { columns: 2; } .az-grid { } }
