/*
Theme Name: 轩驿魔力 (Cross Gate 1:1)
Theme URI: https://www.xuanyimoli.com/
Author: 轩驿魔力
Author URI: https://www.xuanyimoli.com/
Description: 1:1 复刻 cg.softstar.com.tw 版式的游戏官网主题；公告/新闻由 WordPress 后台发布，账号注册、修改密码、找回密码直连原有游戏数据库。主题代码采用 GPL 授权；视觉素材版权归原权利人所有，仅作自用，详见 readme.txt。
Version: 1.1.7
Requires at least: 6.0
Tested up to: 7.1.4
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xuanyi-cg
Tags: custom-menu, featured-images, translation-ready, news, three-columns
Copyright (C) 2026 轩驿魔力
*/

/* 页面样式由 functions.php 按原版顺序依次载入 assets/ 下的 CSS。
   本文件只保留 WordPress 要求的主题头，以及核心生成类的基础样式；
   这些类不出现在原版 DOM 中，因此不会影响 1:1 版式。
   部署与授权说明见 readme.txt。 */

/* --- 可访问性 --- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: static !important; width: auto; height: auto;
  clip: auto; overflow: visible; white-space: normal;
  display: block; z-index: 100000; padding: 12px 18px;
  background: #fff; color: #1b2f5c; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* --- 编辑器与正文对齐类 --- */
.alignleft       { float: left;  margin: 0 1.5em 1em 0; }
.alignright      { float: right; margin: 0 0 1em 1.5em; }
.aligncenter     { display: block; margin-left: auto; margin-right: auto; }
.wp-caption      { max-width: 100%; }
.wp-caption-text,
.gallery-caption { font-size: .9em; color: #5d6472; text-align: center; }
.sticky          { position: relative; }
.bypostauthor    { font-weight: 600; }

